/* Customer file browser: directory headings and compact, indented file rows. */
#chat-hd.has-stage-tabs #agent-history{display:none}
#chat-hd.has-stage-tabs #stage-materials-button{display:inline-flex;align-items:center;border:1px solid #dce5f1;border-radius:7px;padding:8px 12px;background:#fff;color:#6682a6;font-size:12px}
#chat-hd.has-stage-tabs #stage-status{display:inline;margin-left:9px;font-size:10px;min-width:0}
.project-conversation #stage-tools:has(#stage-chat-button[hidden]){display:none}
.project-conversation .c3-body>.mats:not(.hide){display:none;position:absolute;inset:0 auto 0 0;width:min(340px,90%);z-index:26;box-shadow:8px 0 22px #17283c24}
.project-conversation .stage-materials-open>.mats:not(.hide){display:block}
.project-conversation .stage-materials-open>.stage-materials-scrim{display:block;position:absolute;inset:0;border:0;border-radius:0;background:#17283c40;z-index:25}
.project-conversation .stage-materials-close{display:block;margin:0 0 12px auto}
.customer-files-workspace .ws-kind-area>.ws-tree-children{border:0;margin-left:0;padding-left:0}
.customer-files-workspace .ws-kind-area>.ws-folder-row .ws-folder-icon,.customer-files-workspace .ws-kind-area>.ws-folder-row .ws-caret{display:none}
.customer-files-workspace .ws-kind-area>.ws-folder-row .ws-folder-name{font-weight:600}
.customer-files-workspace .ws-file-item{border-bottom:1px solid #edf1f6;min-width:0}
.customer-files-workspace .ws-file-item:last-child{border-bottom:0}
.customer-files-workspace .ws-file-history{margin:0 0 8px 36px;padding:0 0 0 10px;border-left:2px solid #e5edf8}
.customer-files-workspace .ws-file-history[hidden]{display:none}
.customer-files-workspace .ws-file-history .ws-file-row{background:#fafbfd}
.customer-files-workspace .ws-file-row .ops{flex-wrap:wrap;max-width:150px;justify-content:flex-end}
.customer-files-workspace .ws-kind-stage>.ws-folder-row{padding-left:8px;padding-right:8px;background:#f2f6fc}
.customer-files-workspace .ws-kind-project{border:0;border-radius:0}
#ws.customer-files-workspace{width:min(600px,100vw)}
#ws.customer-files-workspace>.hd{min-height:68px;padding:16px 22px;border-bottom:1px solid #e4eaf3}
#ws.customer-files-workspace>.hd b{font-size:16px;line-height:1.6;color:#263b56;min-width:0;overflow-wrap:anywhere}
#ws.customer-files-workspace .body{padding:14px 20px 24px;scrollbar-gutter:stable}
.ws-browser-note{margin:0 2px 16px;font-size:12px;color:#7c8da5;line-height:1.8}
.ws-tree-folder{min-width:0}
.ws-kind-project{border:1px solid #dfe7f1;border-radius:11px;margin:0 0 16px;overflow:hidden}
.ws-folder-row{display:flex;align-items:center;gap:8px;min-height:40px;padding:4px 2px;border-radius:7px}
.ws-kind-project>.ws-folder-row{padding:8px 12px;background:#f3f6fb;border-radius:0}
.ws-kind-area>.ws-folder-row{margin-top:2px;min-height:44px}
.ws-folder-toggle{display:flex;align-items:center;gap:8px;flex:1;min-width:0;align-self:stretch;border:0;background:transparent;padding:0;text-align:left;border-radius:5px;color:#40546f;line-height:1.6}
.ws-folder-toggle:hover{border-color:transparent;background:transparent;color:#245cba}
.ws-folder-row:hover{background:#f7f9fc}
.ws-kind-project>.ws-folder-row:hover{background:#edf2fa}
.ws-folder-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.ws-kind-project>.ws-folder-row .ws-folder-name{font-size:14px;font-weight:650;color:#243a56}
.ws-kind-area>.ws-folder-row .ws-folder-name{font-size:13px;font-weight:600}
.ws-kind-stage>.ws-folder-row .ws-folder-name{font-weight:600;color:#364c69}
.ws-kind-period>.ws-folder-row .ws-folder-name{font-size:12px;color:#7184a0}
.ws-project-type{font-size:10px;font-weight:400;color:#8898ad;flex:none}
.ws-caret{display:flex;align-items:center;justify-content:center;width:12px;flex:none;color:#8d9db0;transition:transform .15s}
.ws-caret svg{width:12px;height:12px}
.ws-folder-toggle[aria-expanded=true] .ws-caret{transform:rotate(90deg)}
.ws-folder-icon{display:flex;flex:none;color:#b58a48}
.ws-folder-icon svg{width:18px;height:18px}
.ws-kind-project>.ws-folder-row .ws-folder-icon,.ws-kind-area>.ws-folder-row .ws-folder-icon{color:#6685af}
.ws-kind-period>.ws-folder-row .ws-folder-icon{color:#96a6bd}
.ws-count{font-size:10px;color:#8c9bb0;white-space:nowrap;flex:none;font-variant-numeric:tabular-nums}
.ws-tree-children{margin-left:14px;padding-left:12px;border-left:1px solid #e6ecf4}
.ws-tree-children[hidden]{display:none}
.ws-kind-project>.ws-tree-children{margin:0;border:0;padding:4px 12px 12px}
.customer-files-workspace .ws-zip-small{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:none;min-height:28px;padding:3px 7px;border:1px solid #dce5f0;border-radius:6px;background:white;color:#5c7290;font-size:11px;line-height:18px;white-space:nowrap}
.ws-zip-small svg{width:14px;height:14px}
.customer-files-workspace .ws-zip-small:hover:not(:disabled){color:#245cba;background:#eef4fd;border-color:#a9c2e4}
.customer-files-workspace .ws-zip-small:disabled{color:#a1adbc;background:#fafbfd;border-color:#e7edf4;opacity:.65}
.customer-files-workspace .ws-files{margin:0;padding:0}
.customer-files-workspace .ws-file-row{gap:10px;margin:0;padding:8px 4px;min-height:52px;border:0;border-bottom:1px solid #edf1f6;border-radius:0;background:white;align-items:center}
.customer-files-workspace .ws-file-row:last-child{border-bottom:0}
.customer-files-workspace .ws-file-row:hover{background:#f8fafd}
.ws-file-type{display:flex;align-items:center;justify-content:center;flex:none;width:34px;height:32px;border:1px solid #e4eaf2;border-radius:5px;background:#f5f7fb;color:#7a8da6;font-size:9px;line-height:1;font-weight:650;letter-spacing:.1px}
.ws-file-type.ws-type-docx,.ws-file-type.ws-type-doc{background:#edf4ff;color:#4774b5;border-color:#dfeaf9}
.ws-file-type.ws-type-xlsx,.ws-file-type.ws-type-xls,.ws-file-type.ws-type-csv{background:#eef7f1;color:#4e8665;border-color:#e0eee4}
.ws-file-type.ws-type-pdf{background:#fdf1f0;color:#b26660;border-color:#f4e3df}
.ws-file-type.ws-type-pptx,.ws-file-type.ws-type-ppt{background:#fff4eb;color:#b18354;border-color:#f4e7da}
.customer-files-workspace .ws-file-row .fnm b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;overflow-wrap:anywhere;line-height:1.65;color:#354b68;font-size:13px;font-weight:400}
.customer-files-workspace .ws-file-row .fnm>span{display:block;margin-top:3px;color:#97a4b7;font-size:10px;line-height:1.5}
.customer-files-workspace .ws-file-row .ops{gap:3px}
.customer-files-workspace .ws-file-row .ops button{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:3px 5px;font-size:11px;border-radius:5px;color:#8595aa}
.customer-files-workspace .ws-file-row .ops svg{display:block;width:16px;height:16px}
.customer-files-workspace .ws-file-row .ops button:hover{color:#245cba;background:#edf3fc}
.ws-folder-toggle:focus-visible,.ws-zip-small:focus-visible{outline:2px solid #9cb7dc;outline-offset:2px}
.customer-files-workspace .ws-empty{margin:0;padding:9px 4px 12px;font-size:11px;color:#a0acbd}
@media(max-width:600px){#ws.customer-files-workspace>.hd{min-height:60px;padding:12px 14px}#ws.customer-files-workspace .body{padding:12px 10px 20px}.ws-browser-note{font-size:11px;margin-bottom:12px}.ws-kind-project>.ws-folder-row{padding:7px 9px}.ws-kind-project>.ws-tree-children{padding:3px 8px 10px}.ws-tree-children{margin-left:8px;padding-left:8px}.ws-folder-row{gap:5px}.ws-folder-toggle{gap:5px}.ws-project-type{display:none}.ws-folder-name{font-size:12px}.ws-kind-project>.ws-folder-row .ws-folder-name{font-size:13px}.ws-count{font-size:9px}.customer-files-workspace .ws-zip-small{padding:3px 5px;font-size:10px;gap:3px}.customer-files-workspace .ws-file-row{gap:7px;padding:8px 2px}.ws-file-type{width:30px;height:30px;font-size:8px}.customer-files-workspace .ws-file-row .ops{flex-direction:column;gap:0}.customer-files-workspace .ws-file-row .ops button{min-height:25px;font-size:10px}}
/* Project actions share the normal agent composer. */
.project-conversation #btn-next{display:none!important}
.project-conversation #chat-hd{padding:12px 20px;gap:10px}
.project-conversation #ag-client{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.project-conversation #stage-tools{padding:8px 20px;background:#fff}
.project-conversation #steps{gap:8px;margin:0 0 10px}
.project-conversation #steps .project-step{min-height:30px;font-size:12px;padding:4px 12px 4px 5px;border-color:#dce5f1;background:#fff;color:#60748e}
.project-conversation #steps .project-step .n{background:#edf2f9;color:#6380a4;font-size:11px}
.project-conversation #steps .project-step:hover:not(:disabled),.project-conversation #steps .project-step.on{border-color:#a9c2e4;background:#edf4ff;color:#245cba}
.project-conversation #steps .project-step.on .n{background:#2c62ba;color:#fff}
.project-conversation #steps .project-step.done .n{background:#e8f4ed;color:#438265}
.project-conversation #steps .project-step:disabled{opacity:.6;cursor:wait}
.sintro.project-stage-intro{max-width:760px;margin:24px auto 30px;padding:0 8px;text-align:left;color:#243751;overflow-wrap:anywhere}
.guide-header{display:flex;align-items:center;gap:14px}
.guide-brand{display:grid;place-items:center;flex:none;width:52px;height:56px;border:1px solid #dae6f7;border-radius:15px;background:#edf4ff}
.guide-brand img{width:34px;height:40px;object-fit:contain}
.guide-eyebrow{font-size:11px;font-weight:600;letter-spacing:1px;color:#7087a5;margin-bottom:5px}
.project-stage-intro h2{font-size:26px;line-height:1.3;letter-spacing:.5px;color:#21344d}
.guide-purpose{margin:15px 0 22px;font-size:14px;line-height:1.85;color:#5c718e}
.project-intro-detail{padding:21px 24px 0;background:#fff;border:1px solid #e1e9f4;border-radius:14px;box-shadow:0 3px 12px #25477904}
.guide-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.guide-section-title h3{font-size:14px;line-height:1.5;font-weight:650;margin:0;color:#263d5a}
.guide-section-title>span{font-size:11px;color:#8393aa;line-height:1.6}
.guide-steps{list-style:none;padding:0;margin:18px 0 20px;display:grid;gap:18px}
.guide-steps li{display:flex;gap:14px;align-items:flex-start;position:relative}
.guide-number{display:grid;place-items:center;flex:none;width:30px;height:30px;background:#edf4ff;border:1px solid #dfebfc;border-radius:9px;font-family:Calibri,Arial,sans-serif;font-size:14px;font-weight:700;color:#3773c9}
.guide-steps h4,.guide-output-list h4{margin:0;font-size:13px;line-height:1.6;font-weight:650;color:#2a405e}
.guide-steps p{margin:4px 0 0;font-size:13px;line-height:1.85;color:#60748e}
.guide-preparation{display:flex;gap:14px;border-top:1px solid #edf1f7;padding:13px 0 15px;font-size:11px;line-height:1.8}
.guide-preparation>span{flex:none;color:#8797ac}
.guide-preparation p{margin:0;color:#6d819a}
.guide-results{margin-top:22px}
.guide-output-list{list-style:none;padding:0;margin:12px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.guide-output-list li{display:flex;align-items:flex-start;gap:10px;background:#f9fbfe;border:1px solid #e3eaf4;border-radius:10px;padding:14px 12px}
.guide-file-icon{flex:none;color:#7294c1;display:flex;padding-top:2px}
.guide-file-icon svg{width:19px;height:19px}
.guide-output-list p{margin:5px 0 0;font-size:12px;color:#6a7e98;line-height:1.8}
.guide-no-output{font-size:12px;line-height:1.8;color:#667b96}
.guide-current{font-size:12px;color:#56779f;margin:16px 0 0;line-height:1.8}
.guide-start{display:flex;gap:11px;margin-top:20px;padding:14px 16px;background:#edf3fc;border-radius:10px}
.guide-start-icon{color:#5b80b4;font-size:22px;line-height:1.2}
.guide-start strong{font-size:12px;color:#3d5d88;font-weight:600}
.guide-start p{font-size:12px;line-height:1.8;margin:4px 0 0;color:#5b7597}
.guide-start .project-intro-hint{font-size:11px;color:#7b8fa9;margin-top:5px}
#project-generation-status{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:0 0 10px;padding:9px 12px;border-radius:8px;background:#fff8e9;color:#8a651d;font-size:12px;line-height:1.6}
#project-generation-status[hidden]{display:none}
#project-generation-status button{flex:none;border:1px solid #dbbf82;background:#fff;border-radius:6px;padding:5px 8px;color:#805d19;cursor:pointer;font-size:11px}
@media(max-width:700px){.project-conversation #chat-hd{padding:10px 12px;gap:8px}.project-conversation #stage-tools{padding:8px 12px}.sintro.project-stage-intro{margin:12px auto 22px;padding:0}.project-stage-intro h2{font-size:23px}.guide-purpose{font-size:13px;margin:13px 0 18px}.project-intro-detail{padding:17px 16px 0}.guide-section-title>span{display:none}.guide-preparation{display:block}.guide-preparation p{margin-top:3px}.guide-output-list{grid-template-columns:1fr}.guide-output-list li{padding:12px}.guide-start{padding:12px}.guide-steps{gap:16px}#project-generation-status{flex-wrap:wrap}.project-conversation #steps{gap:6px}.project-conversation #steps .project-step{font-size:11px;padding-right:9px}}
