:root{--ink:#252a27;--brand:#355b4c;--line:#e6e8e4;--muted:#6b7365;--sidebar:240px;--paper:#fff;--soft:#f5f6f3;--focus:#729083}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:none;color:#183c2c}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:0;border-radius:9px;background:transparent;color:#656d66;padding:8px}.icon-button:hover{background:#eceee9;color:var(--ink)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.workspace-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:27px 18px 18px;background:#f6f7f4;border-right:1px solid #eaece7;display:flex;flex-direction:column;z-index:40;transition:transform .2s}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;padding:0 9px 24px}.brand{display:flex;align-items:center;gap:8px;color:#263f34;font-size:22px;font-weight:650;letter-spacing:.5px;white-space:nowrap}.brand-mark{width:29px;height:29px}.brand small{font-size:11px;letter-spacing:1px;font-weight:450;color:#6c6f6a;margin:4px 0 0 6px}.new-chat{margin:0 0 23px}.new-chat button{width:100%;border:1px solid #dce1d8;border-radius:11px;background:white;display:flex;align-items:center;gap:11px;padding:12px;color:#354e40;font-weight:550;font-size:14px;box-shadow:0 1px 2px #1e302005}.new-chat button:hover{border-color:#aebfaf;background:#fff}.new-chat kbd{margin-left:auto;font-family:inherit;font-size:11px;font-weight:400;background:none;color:#6a7068;padding:0}.workspace-sidebar nav{display:flex;flex-direction:column;gap:4px}.workspace-sidebar nav a{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:9px;color:#676f67;font-size:14px;white-space:nowrap}.workspace-sidebar nav a:hover{background:#ebeee7}.workspace-sidebar nav a.active{color:#304d3d;background:#e6ebe2;font-weight:600}.workspace-sidebar nav a .icon{width:19px;height:19px}.workspace-search{display:flex;align-items:center;gap:9px;margin:24px 7px 14px;color:#696f68}.workspace-search .icon{width:17px;height:17px}.workspace-search input{padding:5px 0;border:0;background:transparent;width:100%;min-width:0;font-size:13px}.workspace-search input:focus{outline:0}.workspace-search kbd{font-size:11px;color:#6a7066;background:#ebeee7;border:1px solid #e1e5dc;border-radius:4px}.conversation-history{margin:13px 0 16px;overflow-y:auto;min-height:0;flex:1}.conversation-history h2{font-size:11px;font-weight:500;color:#6c7067;margin:0 13px 11px;letter-spacing:.5px}.conversation-history a{display:block;padding:9px 13px;border-radius:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#676f65;margin-bottom:3px}.conversation-history a:hover,.conversation-history a.active{background:#e9ece5;color:#354b3a}.conversation-history p{font-size:12px;color:#6c6f69;padding:0 13px}.sidebar-bottom{margin-top:auto;padding:15px 8px 0}.system-link{display:flex;align-items:center;gap:8px;font-size:12px;color:#677066;padding:8px 0}.system-link .icon{width:12px;margin-left:auto}.status-dot{width:6px;height:6px;border-radius:100%;background:#959f93;display:inline-block}.status-dot.warning{background:#bb8256}.sidebar-bottom>small{display:block;font-size:10px;color:#6a6f66;margin-top:9px;letter-spacing:.4px}.workspace-main{margin-left:var(--sidebar);min-height:100dvh;transition:margin-left .2s}.workspace-header{display:flex;align-items:center;justify-content:space-between;padding:16px 28px;height:72px;background:rgba(255,255,255,.96);position:sticky;top:0;z-index:25}.header-left{display:flex;align-items:center;gap:13px}.workspace-caption{font-size:14px;color:#696f69;font-weight:500}.account-menu{position:relative}.account-menu>summary{list-style:none;cursor:pointer;padding:0;min-height:0}.account-menu>summary::-webkit-details-marker{display:none}.avatar{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;background:#e9eee5;color:#617258;border:1px solid #e0e6db;border-radius:50%;font-size:12px;font-weight:600}.account-popover{position:absolute;right:0;top:43px;width:180px;padding:10px;border:1px solid var(--line);border-radius:12px;background:white;box-shadow:0 10px 30px #172b1512;z-index:60}.account-popover strong,.account-popover a,.account-popover button{display:flex;align-items:center;gap:8px;font-size:13px;padding:9px 10px;width:100%;border:0;background:transparent;color:var(--ink);text-align:left;border-radius:7px}.account-popover strong{color:var(--muted);font-size:12px;font-weight:400}.account-popover a:hover,.account-popover button:hover{background:var(--soft)}.page-content{width:100%;max-width:1240px;padding:28px 38px 60px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}h1{font-size:28px;letter-spacing:-.6px;line-height:1.35;margin:5px 0 10px;font-weight:600}h2{font-size:18px;font-weight:600;margin:0 0 18px}h3{font-size:16px;line-height:1.5}.eyebrow{color:#697263;font-size:11px;letter-spacing:1.6px;margin-bottom:10px}.muted{color:var(--muted)}.card{background:white;border:1px solid var(--line);border-radius:13px;padding:24px;margin-bottom:20px;box-shadow:none;display:flex;flex-direction:column;gap:5px}.two-col{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px}.login{max-width:420px;margin:10vh auto;border:0}.signed-out .workspace-main{margin-left:0}.signed-out .workspace-header{padding-left:40px}.signed-out .page-content{padding-top:0}form p{margin-bottom:16px}label{display:block;font-weight:500;margin-bottom:7px;font-size:14px}input,select,textarea{border:1px solid #d6dcd3;border-radius:8px;padding:10px 12px;max-width:100%;background:#fff;color:#303c30}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%}input[type=checkbox]{width:18px;height:18px;vertical-align:middle;accent-color:var(--brand)}textarea{min-height:90px}input:focus,select:focus,textarea:focus{outline:2px solid var(--focus);outline-offset:1px}.btn{min-height:40px;border-radius:8px;padding:8px 15px;display:inline-flex;justify-content:center;align-items:center;gap:7px;font-size:14px}.btn-primary{background:var(--brand);border-color:var(--brand)}.btn-primary:hover{background:#264b3c;border-color:#264b3c}.btn-outline-primary{border-color:#cdd7ca;color:var(--brand)}.btn-outline-primary:hover{background:#edf1e9;color:#294532;border-color:#9db198}.errorlist{color:#a44332;padding-left:18px;font-size:13px}.helptext{color:var(--muted);font-size:12px;display:block;margin-top:5px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.table{font-size:14px;vertical-align:middle;--bs-table-border-color:var(--line)}.table th{background:#f7f8f5;color:#697265;white-space:nowrap;font-weight:500;font-size:12px;padding:12px 8px}.table td{padding-top:14px;padding-bottom:14px}.badge{font-weight:500;padding:6px 9px;background:#f0f2ec;color:#687260;border-radius:6px;font-size:11px}.badge-ready,.badge-exact,.badge-confirmed,.badge-signed{background:#edf3e8;color:#50773d}.badge-needs_param,.badge-not_found,.badge-inquiry,.badge-conflict,.badge-price_missing{background:#fcf3e1;color:#89692d}.metrics{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:24px}.metric{flex:1;min-width:145px;background:#fafbf8;border:1px solid var(--line);padding:18px 20px;border-radius:11px;font-size:12px;color:#697262}.metric strong{font-size:27px;font-weight:550;margin-top:7px;display:block;color:#354530;letter-spacing:-.5px}.tabs{display:flex;gap:23px;overflow:auto;white-space:nowrap;border-bottom:1px solid var(--line);padding:15px 0;margin-bottom:24px;position:sticky;top:72px;background:white;z-index:5;font-size:13px}section[id]{scroll-margin-top:125px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.form-grid p{margin:0}.small{font-size:12px}.nowrap{white-space:nowrap}.alert{padding:14px 16px;border:0;border-radius:9px;background:#f0f3ed;font-size:13px;line-height:1.7}.alert-error,.alert-danger{background:#fcf0ec;color:#a04c39}.alert-success{background:#edf4e9;color:#4d783f}.alert-warning{background:#fff6e5;color:#86692e}details summary{cursor:pointer;min-height:40px;padding:8px 0;font-weight:500}.raw{font-size:12px;color:#697163;background:#f6f7f3;padding:9px;border-radius:5px;white-space:pre-wrap}.empty{padding:25px;text-align:center;color:var(--muted)}.mobile-only{display:none}.todo-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.todo-item:last-child{border:0}.todo-item p{margin:6px 0 0}.todo-item strong{font-size:14px;font-weight:550}.activity{padding:12px 0;border-bottom:1px solid var(--line)}.activity p{font-size:13px;line-height:1.8;margin:5px 0}.notifications{position:fixed;right:22px;top:20px;max-width:min(560px,92vw);z-index:100}.notifications:empty{display:none}.notifications .alert{position:relative;padding-right:48px;box-shadow:0 6px 24px #1c311b17;border:1px solid #dfe6d9}.notice-close{position:absolute;right:0;top:0;min-width:42px;min-height:42px;background:none;border:0;font-size:22px;color:inherit}[hidden]{display:none!important}
/* The assistant owns the canvas; business records are a separate destination. */
.chat-page .workspace-main{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.chat-main{padding:0;max-width:none;flex:1;min-height:0}.chat-screen{height:100%;display:flex;flex-direction:column;min-height:0}.chat-landing{width:100%;flex:1;min-height:0;overflow:auto;padding:18px 36px 80px;display:flex;flex-direction:column;justify-content:center;align-items:center}.welcome{text-align:center;margin-bottom:30px}.welcome-mark{margin:0 auto 22px;width:45px;height:45px;display:flex;align-items:center;justify-content:center;color:#56765e}.welcome-mark .icon{width:36px;height:36px}.welcome-kicker{font-size:14px;color:#667261;letter-spacing:1px;margin:0 0 14px}.welcome h1{font-size:40px;font-weight:500;line-height:1.4;letter-spacing:-1.6px;color:#2e392d;margin:0 0 15px}.welcome-subtitle{font-size:14px;color:#6b7166;font-weight:400;letter-spacing:.3px;margin:0}.landing-composer{width:min(730px,100%)}.composer{position:relative;width:100%;background:#fff;border:1px solid #dce2d6;border-radius:25px;padding:18px 16px 13px;box-shadow:0 4px 30px #314b2b08,0 1px 3px #253a2104;transition:border-color .15s,box-shadow .15s}.composer:focus-within{border-color:#aabc9f;box-shadow:0 4px 30px #314b2b0a}.composer textarea{padding:0 8px;display:block;min-height:43px;max-height:190px;height:43px;border:0;outline:none!important;border-radius:0;background:transparent;resize:none;color:#35422f;font-size:16px;line-height:1.7;box-shadow:none;width:100%;overflow:auto}.composer textarea::placeholder{color:#6b7064;font-size:15px;font-weight:400}.composer-actions{display:flex;align-items:center;gap:10px;margin-top:13px}.attachment-menu{position:relative}.attachment-menu summary{list-style:none;min-height:38px;padding:8px}.attachment-menu summary::-webkit-details-marker{display:none}.attachment-menu[open] summary{background:#edf1e8}.attachment-popover{position:absolute;bottom:46px;left:0;width:220px;border:1px solid #e3e8dc;border-radius:13px;padding:7px;background:white;box-shadow:0 8px 36px #273b2117;z-index:20}.attachment-popover button{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:8px;padding:12px;background:none;color:#4b5f40;text-align:left;font-size:14px}.attachment-popover button:hover{background:#f2f5ed}.attachment-popover small{display:block;color:#687162;font-size:10px;border-top:1px solid #eef1e9;margin:4px 5px 0;padding:10px 2px 6px}.composer-hint{font-size:11px;color:#6b7163}.send-button{margin-left:auto;border:0;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#35563e;color:white;padding:8px;transition:background .2s,opacity .2s}.send-button:hover{background:#25472e}.send-button:disabled{background:#e7ece0;color:#66715e;opacity:1}.send-button .icon{width:21px;height:21px;stroke-width:1.8}.suggestion-chips{display:flex;justify-content:center;gap:10px;margin-top:24px;flex-wrap:wrap}.suggestion-chips button,.answer-options button{display:flex;align-items:center;gap:7px;padding:9px 13px;background:transparent;border:1px solid #e7ebe1;border-radius:20px;font-size:12px;color:#67735e;white-space:nowrap;transition:background .15s,color .15s}.suggestion-chips button:hover,.answer-options button:hover{background:#f4f7ef;border-color:#cbd8c0;color:#496536}.suggestion-chips .icon{width:15px;height:15px;stroke-width:1.6}.composer-status{font-size:12px;color:#7e6a4c;text-align:center;margin:18px 0 0}.drop-prompt{position:absolute;inset:0;display:none;border:1px dashed #799564;border-radius:25px;background:#f7fbf2ef;color:#4c7036;z-index:15;align-items:center;justify-content:center;flex-direction:column;gap:10px;pointer-events:none}.drop-prompt .icon{width:28px;height:28px}.composer.dragging .drop-prompt{display:flex}.upload-selection{padding:12px 6px 4px;display:flex;gap:7px;flex-wrap:wrap;font-size:12px}.file-chip{display:inline-flex;align-items:center;gap:7px;max-width:240px;padding:7px 8px 7px 10px;background:#f4f6ef;border:1px solid #e5eadd;border-radius:9px;color:#627356}.file-chip span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-chip .icon{width:15px;height:15px}.file-chip button{display:flex;align-items:center;background:none;border:0;padding:3px;color:#68715d}.file-chip button:hover{color:#313f29}.upload-error{width:100%;color:#a45b44;font-size:12px}.upload-count{width:100%;font-size:10px;color:#6a7260}.thread-scroll{flex:1;overflow-y:auto;min-height:0;scrollbar-gutter:stable}.thread-column{max-width:800px;margin:0 auto;padding:20px 35px 26px}.chat-message{padding:0;margin:0 0 26px;overflow-wrap:anywhere;line-height:1.85;font-size:15px}.chat-user{background:#f4f6f0;border-radius:20px 20px 4px 20px;padding:12px 18px;margin-left:auto;max-width:88%;width:fit-content;font-size:14px;line-height:1.85;color:#3d4a33}.chat-user .chat-text>br:last-child{display:none}.assistant-byline{display:flex;align-items:center;gap:8px;font-weight:600;font-size:12px;color:#62745c;margin-bottom:12px}.assistant-byline .icon{width:23px;height:23px}.chat-text{font-size:15px;line-height:1.9;color:#3f493a}.chat-user .chat-text{font-size:14px}.chat-text strong{font-weight:600;color:#35462d}.chat-text a{color:#5a7642;border-bottom:1px solid #cbd8c0}.chat-table{max-width:100%;overflow-x:auto;margin:15px 0}.chat-table table{width:100%;font-size:13px;line-height:1.7}.chat-table td{padding:11px;border-bottom:1px solid #e8eddf;vertical-align:top;min-width:90px}.chat-table tr:first-child{font-weight:600;background:#f7f9f1}.message-files{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.message-files a{border:1px solid #e0e7d6;border-radius:9px;padding:8px 11px;background:#f9fbf5;display:flex;align-items:center;gap:7px;font-size:12px;color:#617258;max-width:100%}.message-files a span{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-group{border:1px solid #e4eadd;border-radius:12px;margin:0 0 24px;overflow:hidden;background:#fbfcf9}.activity-group>summary{display:flex;align-items:center;gap:9px;font-size:12px;color:#65725c;padding:12px 15px;list-style:none;font-weight:450}.activity-group>summary::-webkit-details-marker{display:none}.activity-group>summary .icon{width:15px;height:15px}.activity-group .disclosure{margin-left:auto;transition:transform .15s}.activity-group[open] .disclosure{transform:rotate(90deg)}.activity-steps{padding:0 17px 13px}.activity-step{display:flex;gap:11px;font-size:12px;padding:8px 0;color:#63715c;line-height:1.7}.step-dot{width:5px;height:5px;background:#a7b89a;border-radius:50%;margin-top:8px;flex-shrink:0}.activity-step a{display:block;font-size:11px;margin-top:3px;color:#5a7642}.activity-step small{font-size:10px;margin-left:8px;color:#7e6d4a}.step-error{color:#976149}.step-error .step-dot{background:#bb8062}.agent-progress{display:flex;gap:10px;align-items:center;font-size:12px;line-height:1.8;color:#627258;margin:0 0 20px}.working-dot{width:6px;height:6px;border-radius:50%;background:#829e6c;animation:breathing 1.5s infinite}.agent-progress form{margin-left:auto}.stop-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:none;border:1px solid #dfe8d5;border-radius:50%}.stop-button span{display:block;width:9px;height:9px;background:#829575;border-radius:2px}.agent-error{display:flex;gap:12px;align-items:flex-start;background:#fff8ed;border:1px solid #f1e5d1;border-radius:12px;padding:16px;margin-bottom:20px;color:#886a42;font-size:13px;line-height:1.8}.agent-error .icon{width:17px;height:17px;margin-top:3px}.agent-error button{border:0;background:none;padding:6px 0 0;color:#936637;font-size:12px}.answer-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.answer-options button{white-space:normal;text-align:left;line-height:1.7;color:#5e734f}.conversation-composer{width:min(800px,100%);margin:0 auto;padding:8px 35px 15px;flex-shrink:0}.conversation-footnote{font-size:10px;text-align:center;color:#696f61;margin:10px 0 0}.conversation-footnote a{color:#657259}.history-page{display:block;text-align:center;font-size:12px;color:#657456;margin-bottom:18px}.sidebar-scrim{display:none}.sidebar-collapsed .workspace-sidebar{transform:translateX(-100%);visibility:hidden}.sidebar-collapsed .workspace-main{margin-left:0}@keyframes breathing{50%{opacity:.3}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:1050px){:root{--sidebar:220px}.workspace-sidebar{padding-left:14px;padding-right:14px}.page-content{padding:24px}.brand small{display:none}.chat-main{padding:0}.chat-landing{padding-left:28px;padding-right:28px}.welcome h1{font-size:36px}.suggestion-chips{gap:7px}.suggestion-chips button{font-size:11px;padding:8px 10px}.workspace-header{padding:14px 22px}}
@media(max-width:800px){.workspace-sidebar{width:258px;transform:translateX(-100%);visibility:hidden;z-index:70}.workspace-main,.sidebar-collapsed .workspace-main{margin-left:0}.nav-open .workspace-sidebar{transform:none;visibility:visible}.nav-open .sidebar-scrim{display:block;position:fixed;inset:0;border:0;background:#14200d45;z-index:60}.workspace-header{height:58px;padding:10px 17px}.workspace-caption{font-size:13px}.header-left{gap:10px}.avatar{width:30px;height:30px}.mobile-only{display:block}.workspace-sidebar .mobile-only{display:flex}.desktop-only{display:none!important}.page-content{padding:20px 16px 40px}.chat-main{padding:0}.page-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:22px}h1{font-size:25px}.two-col,.form-grid{grid-template-columns:minmax(0,1fr);gap:12px}.card{padding:18px}.responsive-cards thead{display:none}.responsive-cards tr{display:block;padding:14px;margin:0 0 12px;border:1px solid var(--line);border-radius:10px;background:white}.responsive-cards td{display:block;border:0;padding:5px 0}.responsive-cards td[data-label]:before{content:attr(data-label) ' ';font-size:12px;color:var(--muted);display:inline-block;min-width:70px}.metric{min-width:42%;padding:15px}.metric strong{font-size:23px}.btn{min-height:43px}.tabs{top:58px;gap:18px;font-size:12px}.chat-landing{padding:20px 20px 70px;justify-content:center}.welcome{margin-bottom:26px}.welcome-mark{margin-bottom:21px}.welcome-kicker{font-size:12px}.welcome h1{font-size:31px;letter-spacing:-.9px}.welcome-subtitle{font-size:12px}.composer{border-radius:23px;padding:17px 13px 11px}.composer textarea{font-size:16px;min-height:47px}.composer textarea::placeholder{font-size:13px}.composer-hint{font-size:10px}.send-button{width:36px;height:36px}.suggestion-chips{gap:8px;margin-top:21px}.suggestion-chips button{font-size:11px;padding:9px 11px}.suggestion-chips .icon{width:14px;height:14px}.thread-column{padding:16px 20px 18px}.conversation-composer{padding:8px 15px max(12px,env(safe-area-inset-bottom))}.conversation-footnote{font-size:9px}.chat-user{max-width:94%;padding:11px 16px}.chat-text{font-size:14px}.chat-table{max-width:calc(100vw - 40px)}.chat-table td{font-size:12px}.activity-group{margin-bottom:21px}.activity-step{font-size:11px}.message-files a span{max-width:190px}.source-files{padding-left:14px}.signed-out .workspace-header{padding-left:22px}.login{margin:7vh auto}.notifications{right:12px;top:12px}}
@media(max-height:650px){.chat-landing{justify-content:flex-start;padding-top:28px;padding-bottom:28px}.welcome-mark{display:none}.welcome{margin-bottom:22px}.welcome h1{font-size:32px}.welcome-kicker{margin-bottom:8px}.suggestion-chips{margin-top:18px}}
.file-list-toggle{border:0;border-radius:9px;padding:7px 10px;font-size:11px;background:#edf2e6;color:#5e7353}.upload-selection{max-height:180px;overflow:auto}.sidebar-scrim[hidden]{display:none!important}

@media(max-width:800px){.icon-button{min-width:44px;min-height:44px}.send-button{width:40px;height:40px}.suggestion-chips button{min-height:44px}.attachment-menu summary{min-height:44px}.stop-button{min-width:40px;min-height:40px}}
.chat-table td{font-size:14px}.message-attachments{margin-top:8px}.message-attachments>summary{display:flex;align-items:center;gap:7px;min-height:32px;font-size:12px;color:#69795d;list-style:none}.message-attachments>summary:after{content:'⌄';font-size:14px}.message-attachments[open]>summary:after{transform:rotate(180deg)}.message-attachments>summary .icon{width:15px;height:15px}.message-files a span{display:flex;flex-direction:column;gap:3px}.message-files strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis}.message-files small{display:block;font-size:10px;color:#69795d;overflow:hidden;text-overflow:ellipsis;max-width:220px}@media(max-width:800px){.chat-text{font-size:15px}.chat-table td{font-size:14px}}
.workspace-sidebar{overflow-y:auto}.conversation-history{flex-shrink:0;min-height:80px}
/* Project workspaces keep manual work in one business context. */
.project-breadcrumb{display:flex;align-items:center;gap:10px;font-size:13px;min-width:0;color:#798270}.project-breadcrumb>a{color:#64725b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}.project-breadcrumb>a:first-child{flex-shrink:0}.breadcrumb-order{font-size:12px;color:#65705d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-left{min-width:0}.project-search{display:flex;align-items:center;gap:12px;margin:8px 0 28px;flex-wrap:wrap}.project-search-input{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:0 13px;flex:1;min-width:240px;background:#fff}.project-search-input .icon{width:18px;color:#6c7962}.project-search-input input{border:0;padding:12px 0;background:none;outline:0}.project-search select{width:210px;padding:11px 12px;font-size:13px}.all-orders-link{font-size:12px;color:#64705c;margin-left:auto}.active-filter{font-size:13px;color:#4f6642}.active-filter a{margin-left:14px}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.project-card{border:1px solid #e1e7da;border-radius:15px;padding:22px 24px;background:white;transition:border-color .15s,box-shadow .15s}.project-card:hover{border-color:#c1cfb7;box-shadow:0 5px 24px #25351a06}.project-card-title{display:flex;align-items:center;gap:13px;min-width:0}.project-card-title>div{min-width:0;flex:1}.project-card-title h2{font-size:19px;color:#35452c;margin:7px 0 0;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.project-symbol{width:40px;height:44px;display:flex;align-items:center;justify-content:center;background:#f4f7ef;border-radius:10px;color:#607650;flex-shrink:0}.project-symbol .icon{width:23px;height:23px}.project-customer{font-size:12px;color:#65715d}.project-arrow{width:15px;color:#718268}.project-address{font-size:12px;color:#68735e;margin:19px 0 24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-card-stats{display:flex;gap:22px;flex-wrap:wrap;font-size:11px;color:#6a775e;padding-bottom:18px}.project-card-stats strong{font-size:14px;font-weight:550;color:#3e512f}.project-card-bottom{border-top:1px solid #edf0e8;padding-top:14px;display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#69765e}.project-card-bottom a{font-weight:500}.task-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#8e975a;margin:0 6px 2px 0}.project-empty{grid-column:1/-1;border:1px dashed #dce5d3;border-radius:14px;padding:52px 24px;text-align:center;color:#6b795f}.project-empty>.icon{width:34px;height:34px;margin-bottom:18px}.project-empty h2,.project-empty h3{font-size:18px;color:#3e512f;margin:0 0 12px}.project-empty p{font-size:13px;line-height:1.8;margin-bottom:22px}.project-empty.compact{padding:30px 20px;border:0}.project-pagination{display:flex;gap:20px;justify-content:center;font-size:12px;color:#637257;margin:20px 0}.project-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:28px}.project-heading h1{font-size:29px;margin:10px 0 12px;overflow-wrap:anywhere}.project-heading p{font-size:12px;margin:0}.project-heading p a{margin-left:14px}.project-heading .actions{padding-top:8px;flex-shrink:0}.project-tabs{display:flex;gap:26px;overflow:auto;border-bottom:1px solid #e4eadf;white-space:nowrap;margin-bottom:25px;position:sticky;top:72px;background:#fff;z-index:10}.project-tabs a{padding:12px 0 14px;font-size:13px;color:#6d7b60;border-bottom:2px solid transparent}.project-tabs a.active{color:#354e27;border-bottom-color:#5c7b45;font-weight:600}.project-tabs small{background:#edf2e7;color:#556e42;font-size:10px;border-radius:5px;padding:2px 5px;margin-left:6px}.project-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:4px 0 24px;margin-bottom:27px;border-bottom:1px solid #e9ede3;gap:22px}.project-summary>div,.project-summary>a{padding-left:20px;border-left:1px solid #e9ede3}.project-summary>:first-child{padding-left:0;border-left:0}.project-summary span{display:block;font-size:11px;color:#69775e;margin-bottom:10px}.project-summary strong{font-size:24px;color:#3b502e;font-weight:500;letter-spacing:-.6px;overflow-wrap:anywhere}.project-summary strong small{font-size:13px;color:#637458;font-weight:400}.project-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:28px}.project-section{border:1px solid #e4eadd;border-radius:13px;padding:22px;margin-bottom:22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-heading h2,.section-heading h3{margin:0}.section-heading>a,.section-heading>span{font-size:11px;color:#5e704e}.project-section h2{font-size:17px}.project-section>p{font-size:13px;line-height:1.9}.project-order-row{padding:17px 0;border-bottom:1px solid #e9eee3}.project-order-row:last-child{border:0;padding-bottom:0}.order-row-main{display:flex;justify-content:space-between;gap:16px}.order-number{font-weight:550;font-size:14px;color:#365027}.order-state{font-size:10px;padding:3px 6px;margin-left:7px;background:#f0f4e9;color:#637951;border-radius:5px;white-space:nowrap}.order-row-main p{font-size:11px;color:#65745a;margin:9px 0 0}.order-row-money{text-align:right;flex-shrink:0}.order-row-money small{display:block;font-size:10px;color:#6c775f;margin-bottom:5px}.order-row-money strong{font-size:14px;font-weight:550;color:#435a34}.order-shortcuts{display:flex;gap:15px;align-items:center;margin-top:15px;flex-wrap:wrap}.order-shortcuts a{font-size:11px;color:#677b57}.order-shortcuts a:hover{color:#2c4e1b;text-decoration:underline}.order-shortcuts .order-continue{margin-left:auto;color:#3d602b}.project-task{display:flex;align-items:flex-start;gap:10px;padding:13px 0;border-bottom:1px solid #e9eee3}.project-task:last-child{border:0}.project-task>div{flex:1;min-width:0}.project-task strong{display:block;font-size:12px;font-weight:500;line-height:1.7;color:#465b37}.project-task small{display:block;font-size:10px;color:#65785a;margin-top:4px}.project-task>span:last-child{color:#6f825f}.task-type{border-radius:5px;background:#f0f4e8;font-size:10px;color:#5a7448;padding:3px 5px;flex-shrink:0;margin-top:2px}.task-type.late{background:#fbede0;color:#8b633e}.project-help-card{padding:20px 22px;background:#f6f8f1;border-radius:12px;color:#526945}.project-help-card h3{font-size:14px;margin:12px 0 8px}.project-help-card p{font-size:12px;line-height:1.8;margin-bottom:12px}.project-help-card>a{font-size:12px}.project-event{display:flex;gap:16px;padding:12px 0;border-bottom:1px solid #edf0e8;font-size:12px}.project-event:last-child{border:0}.project-event time{font-size:10px;color:#6e7d62;flex-shrink:0;padding-top:3px}.project-event p{font-size:12px;margin:5px 0 0;line-height:1.8;color:#55694a}.inline-search{display:flex;gap:7px;max-width:340px}.inline-search input{font-size:12px;min-width:0}.inline-search .btn{font-size:12px;white-space:nowrap}.project-batch{padding:17px 0;border-bottom:1px solid #e8eddf}.project-batch:last-child{border:0}.project-batch .section-heading>div>a{font-size:11px}.project-batch h3{font-size:16px;margin-top:7px}.project-batch .actions a{font-size:12px}.shipment-row{display:flex;gap:15px;justify-content:space-between;padding:12px 0;font-size:12px;border-top:1px solid #eef2e8}.shipment-row span{color:#667a59}.ledger-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #e9eee2;gap:15px}.ledger-row:last-child{border:0}.ledger-row a{font-size:13px}.ledger-row p{font-size:11px;margin:6px 0 0;color:#65775a}.ledger-row strong{font-size:16px;font-weight:500;color:#3b582e}.project-file{display:flex;align-items:flex-start;gap:14px;padding:18px 0;border-bottom:1px solid #e9eee2}.project-file>.icon{color:#657c55;margin-top:4px}.project-file>div{min-width:0;flex:1}.project-file a{font-size:13px;overflow-wrap:anywhere}.project-file p{font-size:11px;color:#647657;margin:6px 0}.project-file p a{font-size:11px}.project-file small{font-size:11px;color:#66765b;line-height:1.7}.project-file .file-download{font-size:11px;white-space:nowrap;margin-left:auto;padding-top:4px}
/* Short examples introduce real capabilities without turning the home into a manual. */
.assistant-starters{margin:24px 0 0}.starter-heading{display:flex;align-items:center;justify-content:space-between;margin:0 3px 10px}.starter-heading h2{font-size:12px;font-weight:500;color:#627456;margin:0}.starter-heading>button{border:0;padding:4px;background:none;color:#5c744e;font-size:11px}.starter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px}.starter-grid>button{border:0;background:none;border-radius:10px;padding:12px;display:flex;gap:11px;text-align:left;align-items:flex-start}.starter-grid>button:hover{background:#f4f7ee}.starter-grid .icon{width:18px;height:18px;color:#63834d;margin-top:2px}.starter-grid strong{display:block;font-size:13px;font-weight:500;color:#455f34;line-height:1.6}.starter-grid small{font-size:11px;color:#67795a;display:block;line-height:1.7;margin-top:3px}.starter-note{font-size:10px;color:#68775d;text-align:center;margin:13px 0 0}.assistant-project-context{font-size:12px;color:#5b7449;text-align:center;margin:14px 0 0}.assistant-help{border:1px solid #dce6d1;border-radius:18px;padding:26px;max-width:760px;width:calc(100% - 36px);max-height:85dvh;color:#374e29;box-shadow:0 20px 80px #2537192c}.assistant-help::backdrop{background:#1d2d1859}.help-header{display:flex;align-items:flex-start;gap:15px;justify-content:space-between}.help-header h2{font-size:22px;line-height:1.5;margin:0}.help-intro{font-size:13px;line-height:1.9;color:#5c714d;margin:18px 0}.capability-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}.capability-list section{padding:13px 0;border-top:1px solid #e6ecde}.capability-list h3{font-size:14px;margin-bottom:7px}.capability-list p{font-size:12px;color:#5b704e;line-height:1.9}.capability-list button{border:0;background:#f4f7ef;border-radius:7px;padding:9px 11px;text-align:left;font-size:11px;color:#3f622d;line-height:1.9;width:100%}.help-boundary{background:#f8f9f3;border-radius:9px;padding:14px;font-size:11px;line-height:1.9;color:#657657;margin-top:16px}.conversation-footnote button{border:0;background:none;padding:0;color:inherit;font-size:inherit}.chat-landing{padding-bottom:45px}
@media(max-width:1050px){.project-columns{grid-template-columns:minmax(0,1fr)}.project-heading{flex-direction:column}.project-heading .actions{padding-top:0}.project-grid{gap:15px}.project-card{padding:20px}.project-card-stats{gap:12px}.project-breadcrumb>a{max-width:240px}.breadcrumb-order{display:none}}
@media(max-width:800px){.project-grid{grid-template-columns:minmax(0,1fr)}.project-search{gap:9px}.project-search-input{min-width:100%}.project-search select{width:auto;flex:1}.all-orders-link{font-size:11px}.project-card-title h2{font-size:18px}.project-heading h1{font-size:25px}.project-heading .actions{gap:8px}.project-heading .btn{font-size:12px;padding:9px 12px}.project-tabs{top:58px;gap:22px;margin-bottom:20px}.project-tabs a{font-size:12px}.project-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px;padding-bottom:21px}.project-summary>:nth-child(3){border:0;padding-left:0}.project-summary strong{font-size:23px}.project-summary span{font-size:10px}.project-section{padding:18px}.project-columns{gap:0}.section-heading{flex-wrap:wrap}.section-heading h2{font-size:16px}.order-row-main{gap:8px}.order-number{font-size:13px}.order-state{font-size:9px}.order-row-money strong{font-size:13px}.order-shortcuts{gap:14px}.order-shortcuts a{font-size:11px}.order-shortcuts .order-continue{margin-left:0}.shipment-row{flex-direction:column;gap:7px}.project-file{gap:9px}.project-file .file-download{font-size:10px}.project-breadcrumb{font-size:12px;gap:7px}.project-breadcrumb>a{max-width:205px}.assistant-starters{margin-top:18px}.starter-grid{gap:3px}.starter-grid>button{padding:9px 5px;gap:7px}.starter-grid strong{font-size:12px}.starter-grid small{font-size:10px}.starter-grid .icon{width:16px;height:16px}.starter-note{font-size:9px}.assistant-help{padding:20px}.help-header h2{font-size:19px}.capability-list{grid-template-columns:minmax(0,1fr)}.chat-landing{padding-bottom:30px}.assistant-project-context{font-size:11px}.inline-search{width:100%;max-width:none}}
.order-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.order-heading h1{font-size:28px;margin:7px 0 10px}.order-heading p{font-size:12px;color:#65745a;margin:0}.order-closed-label{font-size:11px;background:#eff3e8;color:#5c7450;border-radius:6px;padding:6px 9px;vertical-align:middle}.order-flow-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 12px}.order-flow-rail>a{display:flex;align-items:flex-start;gap:9px;padding:16px 10px;border-bottom:3px solid #e9eee5;border-radius:9px 9px 0 0;color:#687362}.rail-number{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #dce5d2;border-radius:50%;font-size:11px;flex-shrink:0}.order-flow-rail strong{display:block;font-size:12px;line-height:1.6;font-weight:550}.order-flow-rail small{display:block;font-size:11px;line-height:1.6;margin-top:5px;color:#66755c}.order-flow-rail em{display:block;font-size:10px;font-style:normal;margin-top:4px;color:#6c785e}.order-flow-rail>a.done .rail-number{background:#edf3e5;color:#56783c}.order-flow-rail>a.active{border-bottom-color:#355b4c;background:#f1f5ee;color:#284e3c}.order-flow-rail>a.active .rail-number{background:#355b4c;color:#fff;border-color:#355b4c}.order-reference-tabs{display:flex;justify-content:flex-end;gap:18px;border-bottom:1px solid #e7ebe3;padding:0 0 13px;margin-bottom:22px}.order-reference-tabs a{font-size:12px;color:#6d7668;padding:6px 0}.order-reference-tabs a[aria-current]{color:#294f3d;font-weight:600;box-shadow:0 2px #355b4c}.order-tab-panel{min-width:0}.selected-stage-summary{display:flex;align-items:center;gap:12px;margin-bottom:18px}.selected-stage-summary p{font-size:12px;line-height:1.7;color:#73806a;margin:0}.step-status{font-size:11px;color:#6f7e62;background:#f1f4eb;padding:5px 9px;border-radius:6px;white-space:nowrap}.step-status.complete{color:#4d7434;background:#edf4e5}.step-status.attention{color:#936531;background:#fdf3e5}.order-tab-panel>.card>h2,.order-tab-panel>.card>.page-heading h2{font-size:18px}.order-tab-panel section[id]{scroll-margin-top:95px}.order-audit{max-height:380px;overflow:auto;margin:20px 0;border-top:1px solid #e8edde;padding-top:18px}.order-audit p{font-size:12px;line-height:1.8}.workflow-next{display:flex;justify-content:space-between;gap:20px;margin:24px 0;font-size:13px}
@media(max-width:1050px){.order-flow-rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 12px}}
@media(max-width:800px){.order-heading{flex-direction:column;gap:13px}.order-heading h1{font-size:25px}.order-flow-rail{gap:8px 5px}.order-flow-rail>a{padding:11px 5px;gap:5px}.order-flow-rail strong{font-size:11px}.order-flow-rail small{font-size:10px}.rail-number{width:21px;height:21px;font-size:10px}.order-reference-tabs{justify-content:flex-start;gap:20px;margin-bottom:18px}.selected-stage-summary{align-items:flex-start;flex-direction:column;gap:7px}.selected-stage-summary p{font-size:11px}.workflow-next{font-size:12px}.order-tab-panel .table-responsive{max-width:100%}}

.stage-history{margin-top:20px;border-top:1px solid #e6ecde;padding-top:6px}.stage-history>summary{font-size:13px;color:#526b43}.delivery-batch{border:1px solid #e3ead9;border-radius:10px;margin-bottom:10px}.delivery-batch>summary{display:flex;align-items:center;gap:15px;padding:15px;list-style:none;font-size:12px}.delivery-batch>summary strong{font-size:14px;color:#405d30}.delivery-batch>summary span{color:#607652}.delivery-batch>summary .icon{margin-left:auto;width:13px;height:13px}.delivery-batch[open]>summary .icon{transform:rotate(90deg)}.batch-detail{padding:8px 17px 18px}.batch-dates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.batch-dates p{font-size:11px;color:#647857}.batch-dates strong{display:block;font-size:12px;font-weight:500;margin-top:7px}.current-contract{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}.current-contract strong{font-size:16px}.current-contract p{font-size:12px;color:#647a57;margin:10px 0 0}.contract-version{padding:13px 0;display:flex;gap:15px;font-size:12px;flex-wrap:wrap}.contract-version span{color:#617756}@media(max-width:800px){.delivery-batch>summary{gap:8px;flex-wrap:wrap}.delivery-batch>summary span{font-size:11px}.batch-dates{grid-template-columns:repeat(2,minmax(0,1fr))}.current-contract{align-items:flex-start;flex-direction:column}.workflow-body .shipment-row{padding-bottom:18px}}
.workflow-next{border-top:1px solid #e7ecdf;padding-top:17px}.workflow-next a:last-child{margin-left:auto}
/* A document family shows its latest content and seal state; evidence stays one click away. */
.document-card{border:1px solid var(--line,#e5e7eb);border-radius:14px;padding:20px;margin:16px 0;background:#fff;min-width:0}.document-current{display:flex;align-items:center;justify-content:space-between;gap:20px}.document-current h3{font-size:18px;margin:5px 0 10px}.document-current p{margin:6px 0 0}.document-current>div{min-width:0}.document-current>.btn{flex-shrink:0}.document-filename{overflow-wrap:anywhere}.seal-state{font-size:12px;font-weight:500;border-radius:6px;background:#f0f2f4;color:#57606d;padding:4px 7px;display:inline-block;vertical-align:middle;margin-left:8px}.seal-both{background:#e7f2e9;color:#287143}.seal-ours,.seal-theirs{background:#eef1fa;color:#4b5e9b}.seal-unverified{background:#fff4df;color:#86601e}.document-effective{font-size:13px;color:#697282;margin:12px 0}.document-actions{display:flex;gap:14px;font-size:13px;margin-top:14px}.document-actions span{color:#77808c}.document-history{border-top:1px solid #eef0f3;margin-top:16px;padding-top:12px}.document-history summary{font-size:13px;color:#727a88}.document-history-row{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #f0f1f4;font-size:13px}.document-history-row p{margin:6px 0 0;color:#7c8490;font-size:12px}.document-history-row>a{overflow-wrap:anywhere}.document-upload-links{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:13px;align-items:center;padding:12px 0}.document-upload-links>span{font-weight:600;color:#343e4a}@media(max-width:640px){.document-card{padding:16px}.document-current{display:block}.document-current>.btn{margin-top:14px}.document-current h3 .seal-state{margin:8px 0 0;display:table}.document-history-row{display:block}.document-history-row>a{display:block;margin-top:8px}.document-actions{flex-wrap:wrap}}
.match-suggestion{border-left:3px solid #cbd9bf;padding:8px 10px;margin:10px 0;background:#f7f9f4;font-size:12px;line-height:1.7}.match-suggestion p{margin:5px 0}.quote-matching td:nth-child(2),.quote-matching td:nth-child(4){max-width:320px;overflow-wrap:anywhere}#quote-ai-progress:empty{display:none}#quote-ai-progress{padding:5px 0}.quote-matching .btn{font-size:12px;white-space:nowrap}
/* Project context, resumable conversations and visible file results. */
.chat-screen.is-empty{display:block;overflow-y:auto;scrollbar-gutter:stable}
.workspace-landing.chat-landing{display:flex;overflow:visible;flex:none;padding:clamp(26px,5vh,64px) 36px 0;min-height:auto}
.workspace-landing .welcome{margin-bottom:28px}
.workspace-landing .welcome-kicker{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;letter-spacing:1px;margin-bottom:16px}
.workspace-landing .welcome-kicker .icon{width:23px;height:23px}
.workspace-landing .welcome h1{font-size:36px;font-weight:500;letter-spacing:-1px;margin-bottom:13px}
.workspace-landing .welcome-subtitle{font-size:14px;color:#737b70;letter-spacing:0}
.workspace-landing .landing-composer{width:min(780px,100%)}
.composer-context{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:#7a8276;margin:0 6px 12px;line-height:1.6}
.composer-context>a{white-space:nowrap}
.composer-context .context-project{display:flex;align-items:center;gap:8px;white-space:normal;width:100%;background:#f2f5ef;border:1px solid #e2e8dc;padding:10px 13px;border-radius:10px;color:#435a38}
.context-project .icon{width:16px;height:16px}.context-project span{margin-left:auto;white-space:nowrap;color:#6e7e60;font-size:11px}
.workspace-landing .assistant-starters{margin-top:20px}
.workspace-landing .starter-grid{gap:3px 18px}.workspace-landing .starter-grid>button{padding:10px 9px}
.workspace-landing .starter-grid small{font-size:11px}.workspace-landing .starter-heading{padding:0 8px}
.home-projects{width:min(930px,calc(100% - 72px));margin:36px auto 42px;padding-top:28px;border-top:1px solid #eceee7}
.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}
.section-heading h2{font-size:16px;margin:0 0 7px;font-weight:550}.section-heading p{font-size:12px;color:#7a8274;margin:0}.section-heading>a{font-size:12px;white-space:nowrap;padding-top:3px}
.home-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-project-card{border:1px solid #e4e8df;border-radius:14px;padding:18px 18px 14px;min-width:0;background:#fff;transition:border-color .15s,box-shadow .15s}
.home-project-card:hover{border-color:#b6c5aa;box-shadow:0 4px 16px #2c472506}
.home-project-card>small{display:block;font-size:11px;color:#7d8477;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px}
.home-project-card .project-name{font-size:16px;line-height:1.6;font-weight:550;color:#35432f;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-project-card>p{font-size:12px;color:#6d7c60;margin:11px 0 20px}
.home-project-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #eef0ea;padding-top:12px;font-size:11px}
.project-chat{display:flex;align-items:center;gap:5px}.project-chat .icon{height:15px;width:15px}
.project-start{grid-column:1/-1;padding:24px;border:1px dashed #cfd9c5;border-radius:14px;text-align:center}.project-start p{color:var(--muted);font-size:13px;margin:12px 0}
.history-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.history-heading h2{margin-bottom:0}.history-heading>a{display:flex;margin:0 8px 0 0;padding:5px;border-radius:5px}.history-heading .icon{width:15px;height:15px}
.conversation-history .all-history{font-size:11px;color:#7a8371;margin-top:8px}.all-history span{float:right}
.conversation-heading{width:min(840px,100%);margin:0 auto;padding:8px 35px 18px;display:flex;justify-content:space-between;gap:18px;flex-shrink:0}
.conversation-heading>div{min-width:0}.conversation-heading h1{font-size:17px;letter-spacing:0;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 5px;max-width:660px;line-height:1.6}
.conversation-heading>div>a,.conversation-heading>div>span{font-size:11px;color:#7a8373}.conversation-options{position:relative}.conversation-options>summary{list-style:none;min-height:0;padding:4px 8px;letter-spacing:2px;color:#6d7766;cursor:pointer}.conversation-options>summary::-webkit-details-marker{display:none}
.conversation-options>form{position:absolute;right:0;top:35px;z-index:30;background:#fff;border:1px solid #e0e6d9;box-shadow:0 10px 30px #263a1712;border-radius:12px;padding:18px;width:290px;display:grid;gap:10px}.conversation-options label{margin:0;font-size:12px}.conversation-options input{font-size:13px}.conversation-options form>a{font-size:12px;padding:7px 0;text-align:center}
.chat-deliverables{display:grid;gap:9px;margin:18px 0 24px}.chat-file-card{display:flex;align-items:center;gap:13px;border:1px solid #dee6d7;border-radius:13px;padding:15px 17px;background:#fbfcf9}
.file-format{flex:0 0 40px;border:1px solid #dce5d5;border-radius:8px;background:#edf3e8;color:#5d7650;font-size:9px;font-weight:650;letter-spacing:.3px;height:45px;display:flex;align-items:center;justify-content:center}
.file-card-detail{flex:1;min-width:0}.file-card-detail strong{display:block;font-size:13px;font-weight:550;color:#34452b;overflow-wrap:anywhere;line-height:1.6}.file-card-detail small{font-size:11px;color:#7b856f;display:block;margin-top:4px}
.file-card-actions{display:flex;gap:13px;font-size:12px;flex-shrink:0}.file-card-actions a{padding:6px 0}
.history-search{display:flex;align-items:center;gap:12px;border:1px solid #dfe5d8;border-radius:12px;padding:7px 8px 7px 17px;max-width:850px;margin-bottom:28px}.history-search .icon{color:#7b8771;width:18px;height:18px}.history-search input{border:0;background:transparent;padding:9px 0;outline:none!important}.history-search>a{font-size:12px;white-space:nowrap;padding:0 8px}
.history-results{max-width:920px}.history-result{display:flex;align-items:center;gap:17px;border-bottom:1px solid #edf0e8;padding:20px 10px;border-radius:8px;color:var(--ink)}.history-result:hover{background:#f8faf4;color:var(--ink)}.history-result-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:#f0f4eb;color:#7a8b6d;border-radius:10px;flex-shrink:0}.history-result-icon .icon{width:18px;height:18px}.history-result>div:nth-child(2){flex:1;min-width:0}.history-result strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;font-weight:500;line-height:1.7}.history-result p{font-size:11px;color:#859077;margin:7px 0 0}.history-result>span{color:#9aa68d}.history-empty{text-align:center;padding:60px 20px;color:#78856b}.history-empty h2{font-size:18px}.history-empty p{font-size:13px}.history-pagination{display:flex;gap:24px;align-items:center;justify-content:center;font-size:12px;max-width:920px;margin:28px 0}
@media(max-width:1100px){.home-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-project-card:last-child{grid-column:1/-1}.conversation-heading h1{max-width:540px}}
@media(max-width:800px){.workspace-landing.chat-landing{padding:24px 20px 0}.workspace-landing .welcome h1{font-size:29px}.workspace-landing .welcome-subtitle{font-size:12px}.composer-context{font-size:10px;gap:10px}.home-projects{width:calc(100% - 40px);margin:28px auto}.home-project-grid{grid-template-columns:1fr;gap:10px}.home-project-card:last-child{grid-column:auto}.home-project-card{padding:15px 17px}.home-project-card>p{margin:7px 0 12px}.home-project-card .project-name{font-size:15px}.conversation-heading{padding:2px 20px 12px}.conversation-heading h1{font-size:14px;max-width:calc(100vw - 100px)}.conversation-heading>div>span{display:none}.file-card-actions{gap:10px}.chat-file-card{padding:12px;gap:10px}.file-card-detail strong{font-size:12px}.file-card-detail small{font-size:10px}.history-search{gap:8px;padding-left:10px}.history-search input{font-size:12px}.history-result{padding:17px 0;gap:12px}.history-result strong{font-size:13px}}

/* Resume the employee's own tasks without exposing global work queues. */
.home-ongoing:empty{display:none}
.home-ongoing{width:100%;max-width:930px;margin:0 auto 28px}
.home-ongoing h2{display:flex;align-items:center;gap:10px}
.ongoing-list{border:1px solid var(--line);border-radius:16px;overflow:hidden}
.ongoing-item{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 20px;color:var(--ink);text-decoration:none}
.ongoing-item+.ongoing-item{border-top:1px solid var(--line)}
.ongoing-item:hover{background:var(--soft)}
.ongoing-item>div{min-width:0}
.ongoing-item strong{display:block;max-width:620px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500}
.ongoing-item small{display:block;margin-top:5px;color:var(--muted);font-size:12px}
.ongoing-item>span{flex-shrink:0;font-size:12px;color:var(--brand)}
.conversation-heading h1{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:600px){.home-ongoing{margin-bottom:22px}.ongoing-item{padding:13px 14px;gap:12px}.ongoing-item strong{max-width:230px}.ongoing-item>span{font-size:0}.ongoing-item>span:after{content:'→';font-size:16px}}
.home-ongoing>details{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:6px 18px}
.home-ongoing summary{display:flex;align-items:center;gap:12px;font-size:13px}
.home-ongoing summary strong{font-weight:500;flex:1}
.home-ongoing summary>span:last-child{font-size:12px;color:var(--muted)}
.home-ongoing .ongoing-list{background:white;margin-bottom:10px}
.delivery-entry td{vertical-align:top}.delivery-entry td:first-child{min-width:210px}.delivery-entry td:nth-child(2){width:160px;min-width:130px}.delivery-entry input[type=number]{max-width:145px}.delivery-entry details p{margin:10px 0}.delivery-entry td label{font-size:12px;color:var(--muted)}.delivery-entry td input,.delivery-entry td select{margin-top:5px}
.project-event .event-detail summary{padding:4px 0;min-height:0;font-size:13px;line-height:1.65;font-weight:400;color:var(--ink)}
