/* Isolated compact workspace: existing actions and permission checks are retained. */
.home-page .home-project-tile.sp-project-card { padding:0; border:0; border-bottom:1px solid var(--line); border-radius:0; }
.home-page .home-project-tile:last-child { border-bottom:0; }
.home-page .home-project-tile .project-card-content { display:grid; grid-template-columns:minmax(0,1fr) 118px 78px; gap:4px 12px; padding:12px 16px; align-items:center; }
.home-page .home-project-tile h3 { grid-column:1; grid-row:1; margin:0; font-size:14px; line-height:1.4; }
.home-page .home-project-tile h3 a { color:var(--ink); text-decoration:none; position:relative; z-index:2; }
.home-page .home-project-tile h3 a:hover { color:var(--accent); text-decoration:underline; }
.home-page .home-project-tile .project-context { grid-column:2; grid-row:1; font-size:12px; }
.home-page .home-project-tile .home-project-signals { grid-column:1/3; grid-row:2; margin:0; font-size:11px; gap:8px; }
.home-page .home-project-tile .student-fast-action { grid-column:3; grid-row:1/3; width:auto; min-height:36px; margin:0; padding:6px 10px; background:transparent; border:1px solid var(--line); font-size:12px; z-index:2; }
.home-page .home-project-tile .student-fast-action svg { display:none; }
.home-page .home-project-tile .project-priority-note { grid-column:1/3; margin:0; padding:4px 0; border:0; background:none; font-size:12px; }
.compact-home-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; align-items:center; }
.compact-home-filters input { min-width:150px; flex:1; min-height:38px; border:1px solid var(--line); border-radius:8px; padding:8px 12px; font:inherit; background:white; }
.compact-home-filters button { min-height:38px; padding:8px 12px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--ink); font:inherit; font-size:12px; }
.compact-home-filters button[aria-pressed=true] { background:var(--accent-soft); color:var(--accent); }
.compact-home-count { font-size:12px; color:var(--muted); }
.home-page .home-project-tile[hidden] { display:none!important; }
body.rwt-simple[data-route=project] .project-heading { grid-template-columns:64px minmax(0,1fr) 250px; border-radius:12px; }
body.rwt-simple[data-route=project] .project-heading .project-identity-art { width:44px; height:52px; margin:16px 0 0 16px; border-radius:8px; }
body.rwt-simple[data-route=project] .project-heading .project-identity-art .art-glyph { font-size:24px; }
body.rwt-simple[data-route=project] .project-heading-copy { padding:14px 16px 10px 12px; }
body.rwt-simple[data-route=project] .project-heading h1 { font-size:23px; margin:0 0 5px; }
body.rwt-simple[data-route=project] .project-heading-copy>p:not(.eyebrow) { font-size:12px; margin:0; line-height:1.4; }
body.rwt-simple[data-route=project] .project-state-preview { margin-top:8px; }
body.rwt-simple[data-route=project] .project-source-links { margin-top:6px; }
body.rwt-simple[data-route=project] .publication-actions { margin-top:8px; gap:8px; }
body.rwt-simple[data-route=project] .project-actions { padding:8px 16px; border-top:1px solid var(--line); }
body.rwt-simple[data-route=project] #simple-quick { padding:14px; gap:8px; }
body.rwt-simple[data-route=project] #simple-quick .simple-phase-label strong { font-size:17px; }
body.rwt-simple[data-route=project] .phase-sequence { display:none; }
body.rwt-simple[data-route=project] .desk-phase-options > summary { display:list-item; cursor:pointer; font-size:12px; }
body.rwt-simple[data-route=project] .desk-phase-options { border:0; padding:0; }
body.rwt-simple[data-route=project] #simple-nav { display:flex; gap:4px; padding:4px; margin:12px 0; }
body.rwt-simple[data-route=project] #simple-nav [data-simple-tab] { display:block; flex:0 1 auto; min-height:40px; padding:8px 20px; text-align:center; }
body.rwt-simple[data-route=project] #simple-nav [data-project-section] { display:none; }
body.rwt-simple[data-route=project] .project-heading .button,body.rwt-simple[data-route=project] .publication-actions select { min-height:34px; font-size:12px; padding:6px 10px; }
body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid { grid-template-columns:minmax(0,1fr) 260px; gap:16px; }
body.rwt-simple[data-route=project][data-simple-tab=overview] .project-desk-aside .team-card { display:none; }
.project-desk-composer { padding:16px 18px; }
.project-desk #update-form>label { font-size:15px; margin-bottom:8px; }
.project-desk [data-desk-work] { padding:16px 18px 0; }
.project-desk-focus { margin-bottom:12px; padding-bottom:10px; }
.project-desk-task { padding:10px 0; }
.grouped-documents>details { background:white; border-bottom:1px solid var(--line); }
.grouped-documents>details>summary { cursor:pointer; padding:16px; font-size:16px; font-weight:650; color:var(--ink); }
.grouped-documents>details>div { padding:0 16px 16px; }
.grouped-documents #reference-fields { margin:0; border:0; padding:0; }
@media(max-width:1000px) { body.rwt-simple[data-route=project] .project-heading { grid-template-columns:64px minmax(0,1fr); } body.rwt-simple[data-route=project] #simple-quick { grid-column:1/-1; grid-row:3; display:flex; flex-wrap:wrap; border-left:0; border-top:1px solid var(--line); } body.rwt-simple[data-route=project] .desk-phase-options { flex:1; } }
@media(max-width:800px) { body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid { grid-template-columns:1fr; } }
@media(max-width:600px) { .home-page .home-project-tile .project-card-content { grid-template-columns:minmax(0,1fr) 68px; padding:10px 12px; gap:4px 8px; } .home-page .home-project-tile .project-context { grid-column:1; grid-row:2; } .home-page .home-project-tile .home-project-signals { grid-column:1; grid-row:3; } .home-page .home-project-tile .student-fast-action { grid-column:2; grid-row:1/4; min-height:44px; } body.rwt-simple[data-route=project] .project-heading { grid-template-columns:1fr; } body.rwt-simple[data-route=project] .project-heading .project-identity-art { display:none; } body.rwt-simple[data-route=project] .project-heading-copy { grid-column:1; padding:14px; } body.rwt-simple[data-route=project] .project-actions { grid-column:1; } body.rwt-simple[data-route=project] #simple-nav [data-simple-tab] { flex:1; padding:8px; min-height:44px; } .compact-home-filters button,.compact-home-filters input { min-height:44px; } }

body.rwt-simple[data-route=project] .desk-phase-options[open] .phase-sequence { display:grid; }

.home-page .home-next-task { grid-column:1/3; margin:0; font-size:11px; color:var(--muted); }
body.rwt-simple[data-route=project] .project-heading-copy .eyebrow { display:none; }
body.rwt-simple[data-route=project] .project-heading-copy .project-source-links a { min-height:26px; padding:3px 6px; }
body.rwt-simple[data-route=project] .project-heading-copy .project-members { margin-top:6px; }
@media(max-width:600px) { .home-page .home-next-task { grid-column:1; } }

.compact-project-publishing { margin-top:8px; font-size:12px; }
.compact-project-publishing>summary { cursor:pointer; color:var(--accent); font-weight:650; }
body.rwt-simple[data-route=project] #simple-quick .simple-phase-label { margin:0; }
@media(max-width:600px) { body.rwt-simple[data-route=project] #simple-quick { padding:10px 14px; gap:6px; align-items:center; } body.rwt-simple[data-route=project] #simple-quick .simple-phase-label { flex:1 0 100%; } body.rwt-simple[data-route=project] #simple-quick .simple-phase-label small { display:inline; margin-right:8px; } body.rwt-simple[data-route=project] #simple-quick .simple-phase-label strong { display:inline; font-size:15px; } }

/* Checkbox filters keep multiple choices compact and usable without modifier keys. */
.project-multifilter { position:relative; min-width:135px; max-width:220px; }
.project-multifilter > summary { padding:10px 28px 10px 12px; border:1px solid #d8dfe3; border-radius:10px; background:#fff; cursor:pointer; list-style:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:13px; color:var(--ink,#253f52); }
.project-multifilter > summary::-webkit-details-marker { display:none; }
.project-multifilter > summary::after { content:'⌄'; position:absolute; right:11px; }
.project-multifilter > summary:focus-visible { outline:2px solid #8c2045; outline-offset:2px; }
.project-multifilter-options { position:absolute; top:calc(100% + 5px); left:0; z-index:30; width:250px; max-width:calc(100vw - 36px); max-height:320px; overflow-y:auto; padding:8px; background:#fff; border:1px solid #d8dfe3; border-radius:10px; box-shadow:0 6px 20px #18334b20; }
.project-multifilter-options label { display:flex!important; align-items:center; gap:9px; padding:9px 6px; white-space:normal!important; font-size:13px; cursor:pointer; }
.project-multifilter-options input[type=checkbox] { width:16px!important; height:16px; min-width:16px; accent-color:#8c2045; }
.project-multifilter-options button { width:100%; text-align:left; border:0; background:#f7f4f3; padding:9px; border-radius:6px; color:#8c2045; font-weight:600; cursor:pointer; }
.browse-filters { flex-wrap:wrap; }
.browse-filters .project-multifilter { flex:0 1 auto; }
@media(max-width:600px) { .project-multifilter { max-width:none; min-width:0; flex:0 1 auto; } .project-multifilter-options { width:100%; min-width:140px; } }

/* Project identity and team remain visible without overwhelming the work area. */
body.rwt-simple[data-route=project] .project-heading { grid-template-columns:clamp(180px,22vw,280px) minmax(0,1fr) 240px; }
body.rwt-simple[data-route=project] .project-heading .project-identity-art { display:grid; width:auto; height:auto; min-height:180px; margin:0; border-radius:0; grid-row:1 / span 2; align-self:stretch; }
body.rwt-simple[data-route=project] .project-heading .project-identity-art .art-glyph { font-size:58px; }
body.rwt-simple[data-route=project] .project-actions { grid-column:2; }
body.rwt-simple[data-route=project] .project-team-strip { display:flex; align-items:center; gap:18px; position:sticky; top:8px; z-index:6; margin:0 0 12px; padding:10px 16px; background:var(--surface,#fff); border:1px solid var(--line); border-radius:10px; }
body.rwt-simple[data-route=project] .project-team-strip[hidden] { display:none; }
.project-team-label { font-size:12px; color:var(--muted); flex:none; }
.project-team-names { display:flex; flex-wrap:wrap; gap:10px 22px; min-width:0; }
.project-team-person { min-width:0; font-size:13px; }
.project-team-person a,.project-team-person strong { display:block; color:var(--ink); font-weight:650; overflow-wrap:anywhere; text-decoration:none; }
.project-team-person a:hover { text-decoration:underline; color:var(--accent); }
.project-team-person a:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.project-team-person small { display:block; font-size:11px; color:var(--muted); margin-top:2px; }
@media(max-width:1100px) { body.rwt-simple[data-route=project] .project-heading { grid-template-columns:180px minmax(0,1fr); } body.rwt-simple[data-route=project] #simple-quick { grid-column:1/-1; grid-row:3; display:flex; flex-wrap:wrap; border-left:0; border-top:1px solid var(--line); } }
@media(max-width:600px) { body.rwt-simple[data-route=project] .project-heading { grid-template-columns:1fr; } body.rwt-simple[data-route=project] .project-heading .project-identity-art { grid-column:1; grid-row:1; min-height:130px; height:130px; } body.rwt-simple[data-route=project] .project-heading-copy { grid-column:1; grid-row:2; } body.rwt-simple[data-route=project] .project-actions { grid-column:1; grid-row:3; } body.rwt-simple[data-route=project] #simple-quick { grid-row:4; } body.rwt-simple[data-route=project] .project-team-strip { position:static; align-items:flex-start; gap:12px; padding:12px; } .project-team-names { gap:8px 16px; } }

/* Focused project sections and readable phase controls. */
body.rwt-simple[data-route=project] #simple-quick .phase-sequence { grid-template-columns:1fr; gap:8px; }
body.rwt-simple[data-route=project] #simple-quick .phase-sequence li { display:flex; align-items:center; gap:10px; text-align:left; padding:0; font-size:12px; }
body.rwt-simple[data-route=project] #simple-quick .phase-sequence li>span:last-child { flex:1; min-width:0; overflow-wrap:anywhere; }
body.rwt-simple[data-route=project] #simple-quick .phase-sequence-dot { flex:none; margin:0; }
body.rwt-simple[data-route=project] #simple-quick .simple-phase-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.project-team-person>a,.project-team-person>strong { display:flex; align-items:center; gap:8px; }
.project-team-person>small { margin-left:42px; }
.project-member-portrait { position:relative; display:grid; place-items:center; width:34px; height:34px; flex:none; border:1px solid var(--control-border,#858c87); border-radius:50%; overflow:hidden; background:var(--surface-muted,#f9f9f7); color:var(--ink); }
.project-member-portrait img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.project-member-portrait b { font-size:15px; font-weight:500; }
body.rwt-simple[data-route=project][data-simple-tab=work] .project-grid { display:block; max-width:1180px; }
body.rwt-simple[data-route=project][data-simple-tab=work] .project-grid>.card:not(.project-desk),body.rwt-simple[data-route=project][data-simple-tab=work] .project-desk-aside { display:none; }
body.rwt-simple[data-route=project] .project-desk[hidden] { display:none; }
body.rwt-simple[data-route=project][data-simple-tab=overview] .project-grid { max-width:1040px; }
body.rwt-simple[data-route=project] #candidate-tab-content { max-width:1060px; }
.project-desk-board { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; padding-bottom:18px; }
.project-desk-column { min-width:0; background:var(--surface-muted,#f9f9f7); padding:12px; border-radius:8px; }
.project-desk-column h3 { font-size:13px; margin:0 0 12px; }
.project-desk-board .project-desk-task { flex-wrap:wrap; padding:12px; margin-bottom:10px; background:var(--surface,#fff); border:1px solid var(--line); border-radius:8px; gap:8px; }
.project-desk-board .project-desk-task-copy { flex-basis:100%; }
.project-desk-board .project-desk-task select { margin-left:auto; }
.project-desk-board .project-desk-empty { padding:12px 0; font-size:12px; }
@media(max-width:750px) { .project-desk-board { grid-template-columns:1fr; } }

[data-inbox-mark-all] { margin-left:12px; min-height:40px; }
body.rwt-simple[data-route=project] #simple-nav #project-compliance-link { display:flex; align-items:center; padding:8px 14px; margin-left:auto; color:var(--accent); font-size:13px; }
.project-people-preview .project-team-person>a>span:not(.project-member-portrait),.project-people-preview .project-team-person>strong>span:not(.project-member-portrait) { display:block; width:auto; height:auto; margin:0; border:0; border-radius:0; background:none; color:inherit; font-size:13px; font-weight:650; }
.project-people-preview .project-team-person .project-member-portrait { margin:0; border:1px solid var(--control-border,#858c87); background:var(--surface-muted,#f9f9f7); color:var(--ink); }
body.rwt-simple[data-route=project][data-simple-tab=work] .project-grid .card:not(.project-desk) { display:none; }
/* Overview uses the workspace: explanation and activity beside updates and dates. */
body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell>.project-grid { max-width:none; display:grid; grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr); align-items:start; gap:16px; }
body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.primary-column { grid-column:1; grid-row:1/span 2; display:grid; gap:16px; min-width:0; }
body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.project-desk { grid-column:2; grid-row:1; }
body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.project-desk-aside { grid-column:2; grid-row:2; }
body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.secondary-column { display:none; }
body.rwt-simple[data-route=project][data-simple-tab=overview] .explainer-card { display:block; margin:0; }
body.rwt-simple[data-route=project][data-simple-tab=overview] .explainer-card[hidden] { display:none; }
body.rwt-simple[data-route=project][data-simple-tab=overview] .primary-column>.resources-card { display:none; }
body.rwt-simple[data-route=project] #candidate-tab-content { max-width:none; }
body.rwt-simple[data-route=project][data-simple-tab=authorship] .rwt-authorship { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:16px; }
body.rwt-simple[data-route=project][data-simple-tab=authorship] .rwt-authorship>header,body.rwt-simple[data-route=project][data-simple-tab=authorship] .rwt-authorship>.rwt-citation { grid-column:1/-1; }
body.rwt-simple[data-route=project][data-simple-tab=authorship] .rwt-authorship>.team-card { margin:0; grid-area:auto; order:0; }
body.rwt-simple[data-route=project][data-simple-tab=authorship] .rwt-authorship>.rwt-tab-card { margin:0; min-width:0; }
@media(max-width:850px) {
 body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell>.project-grid,body.rwt-simple[data-route=project][data-simple-tab=authorship] .rwt-authorship { grid-template-columns:minmax(0,1fr); }
 body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.primary-column,body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.project-desk,body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.project-desk-aside { grid-column:1; grid-row:auto; }
 body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.primary-column { order:-1; }
}

body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .primary-column>.explainer-card,body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .primary-column>.updates-card { grid-area:auto; order:0; }
body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.side-rail { display:none; }
body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-desk-aside>.dates-card { grid-area:auto; }
body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.primary-column { grid-row:auto; }
body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.project-desk-aside { grid-row:1; display:grid; align-content:start; gap:16px; }
body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-desk-aside>.project-desk { grid-area:auto; }
body.rwt-simple[data-route=project][data-simple-tab=overview] .explainer-card iframe { min-height:160px; }
.project-desk-board { grid-template-columns:repeat(4,minmax(0,1fr)); }
.project-desk-task[draggable=true] { cursor:grab; }
.project-desk-task[aria-busy=true] { opacity:.6; }
.project-desk-task:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@media(max-width:1000px) { .project-desk-board { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:850px) { body.rwt-simple[data-route=project][data-simple-tab=overview] main.page-shell .project-grid>.project-desk-aside { grid-row:auto; } }
@media(max-width:600px) { .project-desk-board { grid-template-columns:minmax(0,1fr); } }
.project-desk-task .rwt-task-completion { width:100%; font-size:12px; }
.project-desk-task .rwt-task-completion>summary { cursor:pointer; }
.project-desk-task .rwt-task-completion p { margin:6px 0; }
.project-desk-task .rwt-task-completion button { margin:6px 8px 0 0; }
