/* Shared application shell. Never loaded inside review/prototype iframes. */
:is(.workspace-shell,.central-shell){--ink:#252b37;--text:#252b37;--muted:#647083;--text-muted:#647083;--line:#e3e6eb;--border:#e3e6eb;--soft:#f5f6f8;--canvas:#f5f6f8;--surface:#fff;--primary:#c7470e;--primary-hover:#ad3c0a;--primary-soft:#fff0e5;--brand-soft:#fff0e5;background:var(--canvas);font-size:14px;line-height:1.55}
:is(.workspace-shell,.central-shell) h1{font-size:25px;letter-spacing:-.6px;line-height:1.35}
:is(.workspace-shell,.central-shell) h2{font-size:18px;line-height:1.4}
:is(.workspace-shell,.central-shell) h3{font-size:15px;line-height:1.5}
:is(.workspace-shell,.central-shell) button,:is(.workspace-shell,.central-shell) a.btn{min-height:36px;border-radius:8px;font-size:13px;font-weight:550;box-shadow:none;padding:7px 12px}
:is(.workspace-shell,.central-shell) button.primary,:is(.workspace-shell,.central-shell) a.btn.primary{background:var(--primary);color:#fff;border-color:var(--primary)}
:is(.workspace-shell,.central-shell) button.primary:hover,:is(.workspace-shell,.central-shell) a.btn.primary:hover{background:var(--primary-hover)}
:is(.workspace-shell,.central-shell) input,:is(.workspace-shell,.central-shell) select,:is(.workspace-shell,.central-shell) textarea{border-radius:7px;background:#fff;border-color:#d8dde5;line-height:1.5;padding:8px 10px}
:is(.workspace-shell,.central-shell) textarea{height:calc(4.5em + 18px);min-height:calc(3em + 18px);resize:vertical}
:is(.workspace-shell,.central-shell) .card{padding:18px;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px #25304403;margin-bottom:14px}
:is(.workspace-shell,.central-shell) .card .card{box-shadow:none;background:#fafbfc}
:is(.workspace-shell,.central-shell) .cardhead{margin-bottom:12px;align-items:center}
:is(.workspace-shell,.central-shell) .pagehead{margin-bottom:18px;align-items:center}
:is(.workspace-shell,.central-shell) .pagehead .eyebrow{display:none}
:is(.workspace-shell,.central-shell) .stack{gap:12px}
:is(.workspace-shell,.central-shell) .formgrid{gap:12px 16px}
:is(.workspace-shell,.central-shell) label{font-size:13px;gap:5px;color:#4e596b;font-weight:550}
:is(.workspace-shell,.central-shell) .table-scroll{padding:0;border-radius:10px;overflow:auto}
:is(.workspace-shell,.central-shell) table{font-size:13px}
:is(.workspace-shell,.central-shell) th{font-size:12px;font-weight:600;color:#586476;background:#f8f9fb;white-space:nowrap}
:is(.workspace-shell,.central-shell) th,:is(.workspace-shell,.central-shell) td{padding:11px 14px;border-color:#edf0f3}
:is(.workspace-shell,.central-shell) tbody tr:hover{background:#fffaf6}
:is(.workspace-shell,.central-shell) .tag{padding:3px 7px;font-size:12px;border-radius:5px}
:is(.workspace-shell,.central-shell) .listrow{padding:12px 0}
:is(.workspace-shell,.central-shell) details{border-color:var(--line);border-radius:8px}
:is(.workspace-shell,.central-shell) summary{color:#526075;font-size:13px}
:is(.workspace-shell,.central-shell) .prewrap{line-height:1.65}
:is(.workspace-shell,.central-shell) #dialog{width:min(780px,calc(100vw - 32px));max-width:900px;max-height:90dvh;padding:20px;border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 80px #17223330}
:is(.workspace-shell,.central-shell) #dialog form{padding:0}
:is(.workspace-shell,.central-shell) .dialoghead{margin-bottom:16px;padding-bottom:12px}
:is(.workspace-shell,.central-shell) .dialoghead .eyebrow{display:none}
:is(.workspace-shell,.central-shell) .dialoghead h2{font-size:20px;margin:0}
:is(.workspace-shell,.central-shell) .formfooter{padding-top:12px;bottom:-20px;background:white}
/* Project navigation stays stable while the content changes. */
.workspace-shell .layout{grid-template-columns:220px minmax(0,1fr)}
.workspace-shell .project-workbench .sidebar{background:#fff;border-right:1px solid var(--line);padding:22px 14px}
.workspace-shell .project-workbench .brand{font-size:17px;gap:8px;padding:0 6px 16px;color:var(--ink)}
.workspace-shell .brand small{display:none}
.workspace-shell .brand-mark{width:32px;height:32px;border-radius:8px}
.workspace-shell .project-workbench .project-label{margin:4px 0 18px;background:#f6f7f9;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:12px;font-weight:650}
.workspace-shell .project-workbench .project-label small{color:var(--muted);font-weight:400}
.workspace-shell .project-workbench .nav a{padding:9px 10px;color:#505c6e;border-radius:7px;font-size:13px}
.workspace-shell .project-workbench .nav a.active{background:#fff0e5;color:#b34210;box-shadow:inset 3px 0 var(--primary);font-weight:650}
.workspace-shell .project-workbench .project-nav-tools{border-top:0;margin-top:10px;padding:0}
.workspace-shell .project-nav-tools>summary{padding:7px 8px;color:#7c8795;font-size:11px;font-weight:600}
.workspace-shell .project-workbench .topbar{min-height:58px;padding:10px 24px;border-color:var(--line);background:#fff}
.workspace-shell .project-workbench .content{max-width:1560px;padding:24px 28px 40px}
.workspace-shell .topbar button{background:#fff;border:1px solid var(--line);font-size:12px}
.workspace-shell .project-dash-metrics{background:white;border-color:var(--line);border-radius:10px}
.workspace-shell .project-dash-metrics a{padding:14px 18px;border-color:var(--line)}
.workspace-shell .project-dash-metrics strong{font-size:26px;color:var(--ink)}
.workspace-shell .project-dash-metrics span{color:var(--muted)}
.workspace-shell .project-dash-columns{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px}
.workspace-shell .project-dashboard .cardhead{background:transparent;margin:0 0 8px;padding:0 0 12px;border-bottom:1px solid var(--line);color:var(--ink)}
.workspace-shell .project-decision{border-top:3px solid var(--primary)}
.workspace-shell .project-progress{border-top:3px solid #6b7d96}
.workspace-shell .project-focus-row{padding:12px 0;border-color:var(--line)}
.workspace-shell .project-focus-row small{color:var(--muted);font-size:12px}
.workspace-shell .project-dash-entries a{padding:14px;border-color:var(--line)}
/* Central overview is a project switchboard, not another project workspace. */
.central-shell .central-header{padding:14px 28px;min-height:68px;border-top:3px solid #f97316;background:#fff;gap:20px}
.central-shell .central-brand{font-size:18px;white-space:nowrap;gap:9px;color:var(--ink)}
.central-shell .central-brand .brand-mark{width:34px;height:34px}
.central-shell .central-header>.actions{font-size:12px;gap:6px}
.central-shell .central-main{max-width:1520px;padding:24px 32px 48px}
.central-shell .central-hero h1{font-size:25px;margin:0}
.central-shell .central-home{--home-border:var(--line);--home-ink:var(--ink);--home-muted:var(--muted)}
.central-shell .home-overview-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.central-shell .home-overview-heading h1{margin:0 0 5px}
.central-shell .home-overview-heading p{margin:0;color:var(--muted);font-size:13px}
.central-shell .home-overview-counts{display:flex;gap:24px;font-size:12px;color:var(--muted)}
.central-shell .home-overview-counts strong{display:block;font-size:24px;color:var(--ink)}
.central-shell .central-home .home-project-bar{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 12px;margin-bottom:12px}
.central-shell .central-home .home-project-tabs button{font-size:13px;padding:8px 16px;min-height:36px;color:#526075}
.central-shell .central-home .home-project-tabs button[aria-pressed=true]{background:#fff0e5;color:#b34210;box-shadow:none}
.central-shell .central-home .home-project-entry{background:transparent;border:0}
.central-shell .central-home .home-project-entry>.home-panel-head{padding:0 0 10px;background:transparent}
.central-shell .central-home .home-project-entry-list{padding:0;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.central-shell .central-home .home-project-entry-card{padding:20px;border-color:var(--line);background:#fff;box-shadow:none;border-radius:10px}
.central-shell .central-home .home-project-entry-card:before{display:none}
.central-shell .central-home .home-project-entry-card strong{font-size:16px;color:var(--ink)}
.central-shell .central-home .home-project-entry-card span{font-size:12px;color:var(--muted)}
.central-shell .central-home .home-project-entry-card b{font-size:12px;background:#fff1e6;color:#b34210;border:0}
.central-shell .central-home .home-panel-head{background:#fff;padding:14px 18px;border-color:var(--line)}
.central-shell .central-home .home-panel-head h2{font-size:15px;color:var(--ink)}
.central-shell .central-home .home-panel-head h2:before{display:none}
.central-shell .central-home .home-task-columns{gap:16px;margin-top:18px}
.central-shell .central-home .home-task-columns>.home-panel{border-color:var(--line)}
.central-shell .central-home .home-task-columns>.home-panel:first-child>.home-panel-head{background:#fff4eb;border-color:#f5e3d5}
.central-shell .central-home .home-task-columns>.home-panel:nth-child(2)>.home-panel-head{background:#f5f7fa;border-color:var(--line)}
.central-shell .central-home .home-task-columns .home-attention{padding:14px 18px}
.central-shell .central-home .home-task-columns .home-attention strong{font-size:14px;color:var(--ink)}
.central-shell .central-home .home-task-columns .home-attention p,.central-shell .central-home .home-task-meta small{font-size:12px;color:var(--muted)}
.central-shell .central-home .home-task-meta a{font-size:12px}
.central-shell .central-home .home-refresh{font-size:12px;color:var(--muted)}
.central-shell .central-home .home-empty,.central-shell .central-home .home-task-columns>.home-panel>p{font-size:13px;color:var(--muted);padding:16px}
.central-shell .central-home>details.home-panel>summary{font-size:13px;color:#526075}
/* Long documents and template previews retain their own content dimensions. */
:is(.workspace-shell,.central-shell) pre{overflow:auto;max-width:100%}
:is(.workspace-shell,.central-shell) :focus-visible{outline:2px solid #2866ac;outline-offset:3px}
.wo-view-tabs button[aria-selected=true]{border-bottom:2px solid var(--primary);border-radius:7px 7px 0 0;background:#fff0e5!important}
@media(max-width:1050px){.central-shell .central-header{flex-wrap:wrap;gap:10px}.workspace-shell .project-dash-columns{grid-template-columns:1fr}}
@media(max-width:760px){
 .workspace-shell .layout{display:block}.workspace-shell .project-workbench .sidebar{padding:12px;border-right:0}
 .workspace-shell .project-workbench .brand{padding:0}.workspace-shell .project-workbench .project-label{margin:8px 0 0;padding:8px 10px}
 .workspace-shell .project-workbench .topbar{padding:10px 12px;gap:8px;flex-wrap:wrap}
 .workspace-shell .project-workbench .content{padding:16px 12px 32px}
 .central-shell .central-header{padding:12px 14px;gap:10px}.central-shell .central-main{padding:18px 12px 32px}
 .central-shell .home-overview-heading{align-items:flex-start;gap:12px}.central-shell .home-overview-counts{gap:12px}.central-shell .home-overview-counts strong{font-size:20px}
 .central-shell .central-home .home-task-columns{grid-template-columns:1fr}.central-shell .central-home .home-project-entry-list{grid-template-columns:1fr}
 :is(.workspace-shell,.central-shell) button,:is(.workspace-shell,.central-shell) a.btn{min-height:44px}
 :is(.workspace-shell,.central-shell) input,:is(.workspace-shell,.central-shell) select,:is(.workspace-shell,.central-shell) textarea{font-size:16px}
 :is(.workspace-shell,.central-shell) #dialog{padding:14px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
 :is(.workspace-shell,.central-shell) .formfooter{bottom:-14px}
 :is(.workspace-shell,.central-shell) .card{padding:14px}
 .central-shell .central-home .home-project-tabs button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){:is(.workspace-shell,.central-shell) *{scroll-behavior:auto;transition:none!important}}

/* Work orders: compact intake and task-first detail. */
#dialog:has(.wo-form-marker){width:min(760px,calc(100vw - 32px));padding:20px;max-height:90dvh}
#dialog:has(.wo-form-marker) .dialoghead{padding-bottom:12px;margin-bottom:14px}
#dialog:has(.wo-form-marker) .eyebrow{display:none}
#dialog:has(.wo-form-marker) .stack{gap:12px}
#dialog:has(.wo-form-marker) p:empty{display:none}
#dialog:has(.wo-form-marker) textarea{min-height:0;height:auto;line-height:1.5;padding:8px 10px;resize:vertical}
#dialog:has(.wo-form-marker) .formfooter{padding-top:12px;bottom:-20px}
#dialog:has(.wo-form-marker) fieldset{padding:10px;margin:0}
#dialog:has(.wo-form-marker) .work-workflow-options{gap:6px}
#dialog:has(.wo-form-marker) .work-workflow-option{padding:8px}
#dialog:has(.wo-form-marker) .wo-task-picker{margin-top:8px;padding:8px 10px}
#dialog:has(.wo-form-marker) .wo-task-picker fieldset{border:0;padding:10px 0 0}
#dialog:has(.wo-form-marker) [data-reset-brief]{justify-self:start}
#work-orders .wo-detail-head{align-items:center;gap:12px;margin-bottom:14px}
#work-orders .wo-detail-head h1{font-size:22px;line-height:1.4;margin-bottom:6px}
#work-orders .backlink{margin-bottom:10px}
#work-orders .work-order-row{padding:14px 18px;margin-bottom:8px}
#work-orders .work-order-row h3{font-size:15px;margin-bottom:4px}
#work-orders .wo-goal-preview{margin:4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#work-orders .wo-taskboard>header{padding:12px 16px;background:var(--soft)}
.wo-overall-progress{display:block;width:100%;height:4px;border:0;accent-color:var(--primary);margin:0}
.wo-overall-progress::-webkit-progress-bar{background:var(--line)}
.wo-overall-progress::-webkit-progress-value{background:var(--primary)}
#work-orders .wo-tasktabs{padding:10px;gap:6px}
#work-orders .wo-tasktabs button{min-width:138px;padding:10px 12px;min-height:64px;white-space:normal;text-align:left;align-items:flex-start}
#work-orders .wo-tasktabs button strong{font-size:13px;display:flex;align-items:center;gap:6px}
.wo-step-number{display:inline-grid;place-items:center;width:20px;height:20px;flex-shrink:0;border-radius:50%;background:var(--line);font-size:11px}
#work-orders .wo-tasktabs button[data-status=completed] .wo-step-number{background:#e3f2e9;color:#286349}
#work-orders .wo-tasktabs button[aria-selected=true] .wo-step-number{background:var(--primary);color:white}
#work-orders .wo-taskfocus{padding:16px}
#work-orders .wo-taskfocus h2{font-size:18px}
#work-orders .wo-taskcolumns{gap:16px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
#work-orders .wo-taskcolumns h3{font-size:14px;margin-bottom:10px}
#work-orders .wo-taskscroll{max-height:44vh;min-height:150px}
#work-orders .wo-all-details{margin-top:12px}
@media(max-width:700px){
 #dialog:has(.wo-form-marker){padding:14px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
 #dialog:has(.wo-form-marker) .formfooter{bottom:-14px}
 #dialog:has(.wo-form-marker) textarea{font-size:16px}
 #work-orders .wo-detail-head{display:block}
 #work-orders .wo-detail-head .actions{margin-top:10px;gap:6px}
 #work-orders .wo-detail-head button{min-height:44px}
 #work-orders .wo-taskcolumns{grid-template-columns:1fr}
 #work-orders .wo-tasktabs button{min-width:140px}
 #work-orders .wo-taskscroll{max-height:none;min-height:0}
 #work-orders .wo-taskfocus{padding:12px}
}
.wo-view-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:12px 0 16px;padding-bottom:8px}
.wo-view-tabs button{border:0;background:transparent;padding:10px 18px;font-weight:650}
.wo-view-tabs button[aria-selected=true]{background:#fff1e5;color:var(--primary)}
#work-orders [hidden]{display:none!important}
.wo-result-view>#work-deliverables{padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wo-result-view>#work-deliverables>h2{grid-column:1/-1;font-size:18px;margin:0}
.wo-result-view>#work-deliverables>.card{margin:0;padding:12px;box-shadow:none}
.wo-result-view .wo-taskcolumns{display:block!important}
.wo-result-view .wo-taskcolumns>section+section{display:none}
.wo-result-view .wo-taskboard{height:auto;min-height:0}
.wo-result-view .wo-taskscroll{height:auto;max-height:36vh;min-height:0!important}
.wo-process-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}
.wo-process-event{position:relative;padding:16px 12px 16px 22px;border-left:2px solid var(--line);margin-left:6px}
.wo-process-event:before{content:'';position:absolute;width:8px;height:8px;background:var(--primary);border-radius:50%;left:-5px;top:22px}
.wo-process-event>div{min-width:0;width:100%}.wo-process-event strong{display:block;margin-top:6px}.wo-process-event small{overflow-wrap:anywhere}
@media(max-width:700px){.wo-result-view>#work-deliverables{grid-template-columns:1fr;padding:12px}.wo-process-filters{grid-template-columns:1fr;gap:8px}.wo-view-tabs button{min-height:44px;flex:1}.wo-process-event{padding:12px}}
.wo-summary-strip{display:flex;align-items:center;gap:14px;padding:12px 16px;background:white;border:1px solid var(--line);border-radius:10px;font-size:13px}
.wo-summary-strip progress{flex:1;min-width:60px;height:6px;accent-color:var(--primary)}
.wo-summary-strip>span{color:var(--muted)}
.wo-result-view .wo-taskboard>header{display:none}
.wo-result-view .wo-overall-progress{display:none}
@media(max-width:700px){.wo-summary-strip{flex-wrap:wrap;gap:8px}.wo-summary-strip progress{flex-basis:100%;order:3}}
.central-shell .central-home .home-layout{grid-template-columns:1fr}
.central-shell .central-home .home-secondary{display:block}
.central-shell .central-home .home-panel-head>span{font-size:12px;color:var(--muted)}
.central-shell .central-home .home-audit small,.central-shell .central-home .home-audit time{font-size:12px;color:var(--muted)}
/* First-screen overview: decisions and live task progress precede navigation. */
.central-shell .home-overview-heading{margin-bottom:12px}
.central-shell .home-refresh{margin:8px 0 12px}
.central-shell .home-task-columns{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:16px;margin-bottom:16px}
.central-shell .home-task-columns>.home-panel{max-height:390px;overflow:auto;scrollbar-gutter:stable}
.central-shell .home-task-columns .home-panel-head{position:sticky;top:0;background:#fff;z-index:1}
.central-shell .home-task-columns .home-attention{padding:12px 16px}
.central-shell .home-task-columns .home-attention p{margin:5px 0;font-size:12px}
.central-shell .home-task-progress{display:grid;grid-template-columns:1fr auto;gap:5px 12px;font-size:12px;margin:8px 0}
.central-shell .home-task-progress progress{grid-column:1/-1;width:100%;height:5px;accent-color:var(--wb-accent,#c7470e)}
.central-shell .home-task-meta{margin-top:6px}
.central-shell .home-project-entry .home-panel-head span{display:none}
.workspace-shell .project-dash-heading{margin-bottom:12px}
.workspace-shell .project-dash-metrics{margin-bottom:14px}
.workspace-shell .project-dash-columns:has(.project-progress)>.card{max-height:420px;overflow:auto;scrollbar-gutter:stable}
.workspace-shell .project-progress .project-focus-row{padding:12px 0}
.workspace-shell .project-progress .project-focus-row small{margin-top:4px}
@media(max-width:760px){
 .central-shell .home-task-columns{grid-template-columns:1fr}
 .central-shell .home-task-columns>.home-panel{max-height:340px}
 .central-shell .home-overview-counts{flex-wrap:wrap;gap:10px}
 .workspace-shell .project-dash-columns:has(.project-progress)>.card{max-height:380px}
}
.central-shell .work-inbox{margin-bottom:16px}
.central-shell .work-inbox table{width:100%;table-layout:fixed}
.central-shell .work-inbox th:first-child{width:35%}
.central-shell .work-inbox th:nth-child(2){width:28%}
.central-shell .work-inbox td{vertical-align:middle}
.central-shell .work-inbox small{display:block;margin-top:4px}
.central-shell .work-inbox-scroll{max-height:430px;overflow:auto}
.central-shell .work-inbox>.actions{padding:10px 16px;border-top:1px solid var(--line)}
.central-shell .work-inbox [aria-pressed=true]{color:var(--primary);background:var(--primary-soft)}
@media(max-width:760px){.central-shell .work-inbox table,.central-shell .work-inbox tbody,.central-shell .work-inbox tr,.central-shell .work-inbox td{display:block;width:auto}.central-shell .work-inbox thead{display:none}.central-shell .work-inbox td{padding:7px 14px;border:0}.central-shell .work-inbox tr{padding:10px 0;border-bottom:1px solid var(--line)}.central-shell .work-inbox tr[hidden]{display:none}.central-shell .work-inbox-scroll{max-height:none}}
.work-order-row{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(160px,.8fr) minmax(150px,.6fr);gap:20px;align-items:center}.wo-queue-progress{display:grid;gap:5px}.wo-queue-progress progress{width:100%;height:7px;accent-color:var(--primary)}.work-order-row>div:last-child{display:grid;justify-items:end;gap:8px}.wo-goal-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-order-row h3{margin:0 0 6px}
@media(max-width:700px){.work-order-row{grid-template-columns:1fr!important;gap:10px}.work-order-row>div:last-child{display:flex;justify-content:space-between;flex-wrap:wrap}.wo-goal-preview{white-space:normal}.work-order-tabs{display:flex;overflow:auto;gap:6px}.work-order-tabs a{white-space:nowrap}}
/* Execution history: expanded content, compact metadata, one reading column. */
#wo-process{max-width:1120px;margin:0 auto}
.wo-log-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 14px}
.wo-log-head h2{font-size:19px;margin:0 0 6px}.wo-log-head span,.wo-log-head small{color:var(--muted);font-size:13px}
#wo-process .wo-process-filters{display:flex;gap:12px;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:20px}
#wo-process .wo-process-filters label{display:flex;align-items:center;gap:8px;flex:1;font-size:12px;margin:0;min-width:0;white-space:nowrap}
#wo-process .wo-process-filters select{min-width:0;flex:1;padding:8px;font-size:13px;margin:0}
.wo-log-timeline{padding-left:16px;border-left:2px solid #e9e2dc;margin-left:5px}
#wo-process .wo-log-card{display:block;background:white;border:1px solid var(--line);border-radius:12px;margin:0 0 14px;padding:0;box-shadow:0 2px 5px #16202a03;min-width:0}
#wo-process .wo-log-card:before{left:-23px;top:22px;border:3px solid #f6f7f9;width:10px;height:10px}
.wo-log-card>header{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid #f0f1f3;align-items:center}
.wo-log-card>header>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#wo-process .wo-log-card strong{display:inline;margin:0;font-size:14px}.wo-log-kind{color:var(--primary);background:#fff3e9;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:600}
.wo-log-actor,.wo-log-card time{color:var(--muted);font-size:12px}.wo-log-card time{white-space:nowrap}
.wo-log-body{padding:4px 18px 10px}.wo-log-block{margin:12px 0}.wo-log-block>span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.wo-log-block>span:empty{display:none}
.wo-log-block p{font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:var(--text,#263445)}
.wo-log-user{background:#f6f7f9;padding:10px 14px;border-radius:8px}.wo-log-question{border-left:3px solid #eab760;padding-left:12px}
.wo-log-receipt{border-top:1px solid #f0f1f3;padding:8px 18px;font-size:12px;color:var(--muted)}.wo-log-receipt summary{font-size:12px;font-weight:400}.wo-log-receipt pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto}
@media(max-width:700px){.wo-log-head{align-items:flex-start}.wo-log-head>small{display:none}#wo-process .wo-process-filters{flex-wrap:wrap;padding:10px;gap:8px}#wo-process .wo-process-filters label{flex:1 1 100%}.wo-log-timeline{padding-left:12px}.wo-log-card>header{align-items:flex-start;flex-direction:column;gap:7px;padding:12px}.wo-log-body{padding:0 12px 8px}.wo-log-receipt{padding:8px 12px}#wo-process .wo-log-card:before{left:-19px}.wo-log-user{padding:9px 10px}}

/* Work card: shared consensus, deliverables and public process. */
.wo-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.wo-journey-step{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #e1e6ee;background:#fff;border-radius:12px;min-width:0}
.wo-journey-step>span{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#edf0f5;color:#536174;font-weight:700}
.wo-journey-step strong,.wo-journey-step small{display:block}.wo-journey-step small{color:#66758a;margin-top:4px;font-size:12px}
.wo-journey-step[aria-current]{border-color:#e86b20;background:#fff7ed}.wo-journey-step[aria-current]>span{background:#c94a08;color:white}
.wo-journey-step[data-state=completed]>span{background:#e5f3ed;color:#237554}.wo-journey-step[data-state=not_selected]{opacity:.55}
.wo-now{display:grid;grid-template-columns:1fr 2fr auto;gap:24px;background:#fff;border:1px solid #e1e6ee;border-radius:12px;padding:16px 20px;margin-bottom:16px}
.wo-now>div{min-width:0}.wo-now small,.wo-now strong,.wo-now span{display:block}.wo-now strong{font-size:15px;line-height:1.6;overflow-wrap:anywhere}.wo-now small,.wo-now span{font-size:12px;color:#66758a}
.wo-consensus-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:16px;align-items:start}
.wo-consensus-grid .card{margin:0;padding:20px;min-width:0}.wo-consensus-grid h2{font-size:18px}.wo-consensus-grid h3{font-size:14px;margin:18px 0 8px}.wo-consensus-grid p,.wo-consensus-grid li{font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.wo-consensus-fields{display:grid;grid-template-columns:70px minmax(0,1fr);gap:12px;font-size:14px;line-height:1.7}.wo-consensus-fields dt{color:#66758a}.wo-consensus-fields dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.wo-decisions{border-top:3px solid #e86b20!important}.wo-task-details{margin-top:16px}.wo-task-details>.wo-taskboard{margin-top:16px}.wo-intake-options{margin-top:16px}.wo-intake-options summary{margin-bottom:12px}
#wo-consensus[hidden],#wo-results[hidden],#wo-process[hidden]{display:none!important}
@media(max-width:700px){.wo-journey{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.wo-journey-step{padding:12px;gap:8px}.wo-journey-step strong{font-size:14px}.wo-now{grid-template-columns:1fr auto;gap:12px;padding:14px}.wo-now>div:nth-child(2){grid-row:2;grid-column:1/-1}.wo-consensus-grid{grid-template-columns:minmax(0,1fr)}.wo-consensus-grid .card{padding:16px}.wo-consensus-fields{grid-template-columns:60px minmax(0,1fr)}}

@media(max-width:480px){.wo-journey-step{flex-direction:column;align-items:flex-start;padding:10px;gap:6px}.wo-journey-step strong{font-size:13px}.wo-journey-step small{font-size:11px}}

.wo-artifact-scroll{max-height:240px;overflow:auto}.wo-artifact-history,.wo-retained{margin-top:12px;border-top:1px solid #e1e6ee;padding-top:12px}.wo-retention{max-height:260px;overflow:auto}.wo-retention .check{margin:8px 0}
