/* Project-centred work keeps decisions and their next action in context. */
.nav-secondary{border-top:1px solid var(--line,#e8e8e8);margin-top:18px;padding-top:12px}
.section-nav{display:flex;gap:5px;flex-wrap:wrap;padding:0 0 22px;margin-bottom:14px;border-bottom:1px solid #e9e9e9}
.section-nav-link{border:0;border-radius:7px;background:transparent;color:#686868;padding:9px 13px;font:inherit;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.section-nav-link:hover{background:#f5f5f5;color:#111}.section-nav-link.active{background:#eeeeed;color:#111;font-weight:600}
.section-nav-count{border-radius:20px;background:#ddd;padding:1px 6px;font-size:10px}
.section-nav-link:focus-visible,.project-action:focus-visible{outline:2px solid #333;outline-offset:3px}
.project-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;align-items:start}
.project-page>.button{margin-bottom:12px}.project-page .page-heading{margin-top:0}
.project-brief>p{font-size:15px;line-height:1.7;margin:18px 0}.project-brief .note-box{margin-top:12px;font-size:12px}
.project-sources{margin-top:22px}.project-sources summary,.project-record summary{cursor:pointer;font-size:13px;color:#555}
.project-record>summary{padding:20px}.project-actions{display:flex;flex-direction:column}
.project-action{display:flex;align-items:center;gap:14px;text-align:left;background:white;border:0;border-bottom:1px solid #eee;padding:18px 20px;color:#222;cursor:pointer;font:inherit;width:100%;min-width:0}
.project-action:last-child{border-bottom:0}.project-action:hover{background:#fafafa}.project-action>svg{width:18px;height:18px;flex-shrink:0}.project-action>span{flex:1;min-width:0}.project-action strong{display:block;font-weight:500;font-size:13px}.project-action small{display:block;font-size:11px;color:#747474;line-height:1.5;margin-top:4px}
.project-page .panel-body{padding:22px}.project-page .note{font-size:11px}
.assistant-welcome{min-height:0;padding:25px 24px;text-align:left}.assistant-welcome .empty-icon{display:none}.assistant-welcome h2{font-size:24px;margin:8px 0}.assistant-welcome p{margin:8px 0;max-width:540px;font-size:13px}.assistant-welcome .prompt-options{justify-content:flex-start;margin-top:16px}
.assistant-main{display:flex;flex-direction:column}.assistant-main .transcript{min-height:0;max-height:520px}.assistant-main:has(.assistant-welcome) .assistant-composer{order:-1;margin-top:0}.assistant-composer textarea{min-height:100px}
.composer-settings{margin-top:10px}.composer-settings>summary{font-size:12px;color:#666;cursor:pointer}.composer-settings .composer-options{padding-top:12px}
.project-brief+.preparation-summary{margin-top:22px}.project-brief .review-detail-meta{flex-wrap:wrap}
@media(max-width:1000px){.project-layout{grid-template-columns:1fr}.project-layout>.stack:last-child{grid-row:1}.project-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.project-action{border-bottom:1px solid #eee}.project-action:last-child{border-bottom:1px solid #eee}.section-nav{padding-bottom:16px;margin-bottom:10px}}
@media(max-width:600px){.section-nav{gap:2px}.section-nav-link{font-size:12px;padding:8px 10px}.project-layout{gap:18px}.project-actions{grid-template-columns:1fr}.project-action{padding:15px 17px}.project-page .panel-body{padding:17px}.project-page .page-heading h1{overflow-wrap:anywhere}.assistant-welcome{padding:18px 16px}.assistant-main .transcript{max-height:420px}}
.review-document .document-content{padding:0;max-width:none}.review-sources{margin:22px 0}.review-sources summary{cursor:pointer;font-size:12px;color:#666}.review-sources .source-grid{margin-top:14px}.review-journey{margin-top:24px;padding-top:18px;border-top:1px solid #e8e8e8}
.project-archive{margin-top:28px}.project-archive>summary{font-size:13px;padding:18px 0;color:#666;cursor:pointer}.project-archive>.cards{margin-top:12px}
@media(max-width:1000px){.project-layout>.stack{display:contents}.project-layout>.stack:first-child>.panel:first-child{grid-row:1}.project-layout>.stack:last-child>.panel:first-child{grid-row:2}.project-layout>.stack:last-child>.panel:last-child{grid-row:3}.project-layout>.stack:first-child>.panel:nth-child(2){grid-row:4}.project-layout .project-record{grid-row:5}}

/* The dated brief and shared next steps lead the project workspace. */
.project-operating-layout>*{min-width:0}
.project-operating-layout>.project-record{grid-column:1 / -1}
.project-open-points{background:#faf9f6;border:1px solid #e8e2d6;border-radius:7px;padding:16px;margin-top:18px}
.project-open-points h3{font-size:13px;font-weight:550;color:#49443b;margin:0 0 10px}
.project-open-points ul{margin:0;padding-left:18px;font-size:12px;line-height:1.7;color:#5b554b}
.project-open-points li{padding-left:2px;margin:0 0 10px;overflow-wrap:anywhere}
.project-open-points li:last-child{margin-bottom:0}
.project-tools>summary,.project-completed-tasks>summary{cursor:pointer;padding:18px 20px;font-size:13px;color:#555;line-height:1.6}
.project-tools[open]>summary{border-bottom:1px solid #eee}
.project-tools>summary:focus-visible,.project-completed-tasks>summary:focus-visible,.project-sources>summary:focus-visible,.project-record>summary:focus-visible{outline:2px solid #555;outline-offset:-4px;border-radius:6px}
.project-completed-tasks{border-top:1px solid #eee;background:#fafafa}
.project-next-task{align-items:flex-start;text-align:left}
.project-next-task .row-body h3{font-size:13px;line-height:1.55;white-space:normal;overflow-wrap:anywhere}
.project-next-task .row-body p{font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.project-next-task .project-task-waiting{color:#716144;margin-top:7px}
.project-next-task>.pill{flex-shrink:0;margin-top:2px}
.project-task-note{font-size:12px;line-height:1.65;color:#666;margin:16px 0;padding-top:14px;border-top:1px solid #eee}
.project-card .card-meta{flex-wrap:wrap}
.project-card .card-meta>.pill,.project-brief .review-detail-meta>.pill{white-space:normal;max-width:100%;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:600px){.project-next-task{padding:16px;gap:10px}.project-next-task>.pill{font-size:10px}.project-open-points{padding:14px}.project-tools>summary,.project-completed-tasks>summary{padding:16px}.project-sources .button{white-space:normal;text-align:left;line-height:1.5}}

.project-question-action{padding:0 20px 20px}
.project-next-task .project-task-dependency{font-size:11px;line-height:1.65;color:#716144;margin-top:7px}

/* Reviewed operations excerpts remain readable on narrow screens. */
.ops-content { white-space: pre-wrap; overflow-wrap: anywhere; }
.personal-company-update { margin-top: 1.5rem; }

.personal-preparation { margin-top: 1.5rem; }
.personal-preparation .personal-plan { margin: 1rem 0; }
.personal-preparation-draft { padding: 1rem 0; border-top: 1px solid var(--line, #e5e7eb); }
.personal-preparation-draft label { display: block; margin-bottom: .5rem; font-weight: 500; }
.personal-preparation-draft textarea { display: block; width: 100%; min-height: 120px; padding: .85rem; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; font: inherit; resize: vertical; }
.personal-preparation .button-row { flex-wrap: wrap; }

#operations-workspace .panel-body h2 { margin: .55rem 0 .8rem; }
#operations-workspace .panel-body h3, .ops-preview h3 { margin-top: 1.5rem; margin-bottom: .5rem; }
#operations-workspace .panel-body details { margin: 1.5rem 0; }
#operations-workspace .form-actions, .ops-preview .form-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 1rem; }
#operations-workspace .panel + .panel { margin-top: 1.25rem; }
.ops-preview { padding: 1.5rem; }
.ops-preview .note { margin-top: 1rem; }
.company-update-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: .75rem 0 1.25rem; }
.company-submissions article.note-box { display: block; font-size: 14px; line-height: 1.6; }
.company-submissions article.note-box > p { margin: .8rem 0; }
.company-submissions article.note-box .note { font-size: 12px; }
.company-submissions .row-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.company-submissions .status { color: var(--muted, #737b70); font-size: 12px; }
.company-submissions .panel-header { gap: 1rem; align-items: flex-start; }
.company-submissions .panel-header > div { min-width: 0; }
.company-submissions .panel-header > .button { flex-shrink: 0; white-space: nowrap; }
@media(max-width:700px){.company-submissions .panel-header{flex-direction:column;align-items:flex-start}.company-submissions .panel-header > .button{padding:10px 16px}.company-submissions article.note-box .button-row{flex-wrap:wrap}}
