:root{--navy:#182f3f;--navy-light:#27485e;--yellow:#eed16d;--paper:#fff;--bg:#f3f5f7;--ink:#1f303e;--muted:#5f6e79;--line:#dce2e7;--danger:#a82e2b;--green:#377259;--radius:5px;font-family:"Avenir Next","Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}[hidden]{display:none!important}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.58;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid var(--navy-light);outline-offset:2px}textarea,input,select{border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);color:var(--ink)}textarea{resize:vertical;line-height:1.7;padding:16px;width:100%}input{padding:13px 14px;min-width:0}label{font-weight:600;display:block}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.2px;line-height:1.2;font-weight:600;margin-bottom:12px}h2{font-size:18px;font-weight:600;letter-spacing:-.3px}h3{font-size:15px;font-weight:600}p{line-height:1.6}.muted,.lead{color:var(--muted)}.lead{font-size:15px;max-width:760px;margin:0}.eyebrow,.small-label{font-family:"SFMono-Regular",Consolas,monospace;font-size:12px;letter-spacing:.04em;font-weight:500}.eyebrow{margin-bottom:17px}.small-label{color:var(--muted);font-size:12px;letter-spacing:.04em}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:44px;border-radius:4px;padding:11px 19px;font-weight:600;font-size:13px;border:1px solid transparent;transition:background .15s,transform .15s;white-space:nowrap}.button:hover:not(:disabled){transform:translateY(-1px)}.primary{color:white;background:var(--navy)}.primary:hover{background:var(--navy-light)}.secondary{background:white;color:var(--navy);border-color:var(--line)}.wordmark{display:flex;align-items:center;gap:11px;font-size:20px;letter-spacing:.04em;font-weight:600;text-decoration:none}.brand-symbol{display:flex;align-items:center;justify-content:center;border:1px solid currentColor;height:32px;width:29px;font-size:21px;letter-spacing:-3px;padding-right:3px}.login-view{display:grid;grid-template-columns:1.06fr 1fr;min-height:100vh}.login-brand{background:var(--navy);color:white;padding:52px 64px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-brand:after{content:"";position:absolute;right:-100px;bottom:110px;width:330px;height:330px;border:1px solid #ffffff12;box-shadow:0 0 0 45px #ffffff04,0 0 0 90px #ffffff04;transform:rotate(35deg);pointer-events:none}.login-title{margin:auto 0;position:relative;z-index:1;padding:70px 0}.login-title .eyebrow{color:var(--yellow)}.login-title h1{font-size:clamp(38px,4vw,59px);line-height:1.12;font-weight:500;letter-spacing:-2px;margin-bottom:30px}.login-title>p:last-child{color:#b9c7d0;max-width:335px;font-size:16px}.login-footer{font-size:12px;letter-spacing:.04em;color:#bdc9d0}.login-panel{display:grid;place-items:center;padding:50px;background:white}.login-panel form{max-width:365px;width:100%}.login-panel h2{font-size:30px;letter-spacing:-1px;margin-bottom:12px}.login-panel .muted{margin-bottom:35px}.login-panel label{font-size:12px;margin-bottom:9px}.login-panel input,.login-panel button{width:100%;margin-bottom:17px}.login-panel button{justify-content:space-between}.login-note{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.error{color:var(--danger);font-size:13px}.app-shell{display:flex;min-height:100vh}.sidebar{width:232px;background:var(--navy);color:white;padding:32px 22px;display:flex;flex-direction:column;position:fixed;height:100vh;z-index:2}.sidebar .wordmark{font-size:17px;gap:10px;letter-spacing:.04em}.sidebar .brand-symbol{height:29px;width:25px;font-size:19px}.sidebar-caption{font-size:12px;letter-spacing:.04em;color:#9bb0bc;margin-top:15px}.sidebar nav{display:flex;flex-direction:column;gap:7px;margin-top:52px}.nav-button{min-height:44px;display:flex;align-items:center;text-align:left;gap:12px;color:#c2cfd7;border:0;border-radius:4px;background:transparent;padding:15px 12px;font-size:12px}.nav-number{font-family:Consolas,monospace;font-size:12px;opacity:1}.nav-arrow{margin-left:auto;opacity:0;font-size:16px}.nav-button:hover{background:#ffffff0c}.nav-button.active{background:var(--yellow);color:var(--navy);font-weight:600}.nav-button.active .nav-arrow{opacity:1}.sidebar-bottom{margin-top:auto;padding-top:35px}.sidebar-bottom .small-label{color:#91a8b7;font-size:12px;letter-spacing:.04em}.sidebar-bottom p{font-size:13px;margin:12px 0}.base-note{color:#9cb0bd;font-size:12px;line-height:1.65;display:block;border-top:1px solid #ffffff15;padding-top:15px}.logout{border:0;background:transparent;color:#bed0da;text-align:left;padding:28px 0 0;font-size:12px}.workspace{margin-left:232px;flex:1;min-width:0;display:flex;flex-direction:column;min-height:100vh}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fafbfc;display:flex;align-items:center;justify-content:space-between;padding:0 40px;font-size:12px;letter-spacing:.04em}.slash{padding:0 14px;color:#5f6e79}.connection{letter-spacing:0;color:var(--muted);display:flex;align-items:center;gap:7px;font-size:12px}.connection:before{content:"";width:6px;height:6px;border-radius:50%;background:#b5a359}.connection.ready:before{background:var(--green)}main{padding:42px 40px 54px;flex:1;max-width:1700px;width:100%;margin:0 auto}.page-heading{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:32px}.heading-index{font-size:72px;font-weight:300;color:#71808b;letter-spacing:-5px;line-height:1}.page-heading .eyebrow{color:var(--muted)}.consult-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:27px;align-items:start}.question-panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 22px}.panel-heading h2{font-size:13px;margin:0}.panel-heading label{font-size:13px}.question-panel textarea{border:0;border-radius:0;padding:0 22px 18px;min-height:132px;font-size:14px;resize:vertical}.question-panel textarea:focus{outline:none}.question-panel:focus-within{border-color:#768e9d}.question-panel textarea::placeholder{color:#5f6e79}.form-footer{border-top:1px solid var(--line);padding:15px 20px;display:flex;justify-content:space-between;gap:16px;align-items:center}.filter-label{font-size:12px;font-weight:400;color:var(--muted)}.scope-filter{display:block;border:0;padding:4px 16px 0 0;color:var(--ink);font-size:12px;max-width:230px;background:white;font-weight:500;cursor:pointer}.suggestions{display:flex;gap:8px;flex-wrap:wrap;margin:23px 0 32px}.suggestions>.small-label{width:100%;margin-bottom:4px}.suggestions button{background:transparent;border:1px solid #d5dde3;padding:10px 13px;border-radius:3px;font-size:12px;color:#485e6c}.suggestions button span{padding-left:14px}.suggestions button:hover{border-color:#718a9b;background:white}.history-panel{background:#fff;border:1px solid var(--line)}.history-panel .panel-heading{padding:19px 18px}.count-tag{font-family:Consolas,monospace;color:var(--muted);font-size:12px;border:1px solid var(--line);border-radius:3px;padding:3px 6px;white-space:nowrap}.budget-entry{padding:17px 18px;border-top:1px solid var(--line)}.budget-entry-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;color:var(--muted)}.budget-entry-top strong{font-family:Consolas,monospace;color:var(--navy);font-size:12px}.budget-entry h3{font-size:12px;line-height:1.5;margin:0 0 6px;font-weight:500}.budget-entry p{font-size:12px;color:var(--muted);margin:0}.history-footnote{font-size:12px;margin:0;padding:18px;background:#eef2f4;color:var(--muted);line-height:1.7}.empty-note{display:flex;gap:18px;padding:28px 0;border-top:1px solid var(--line);margin-top:6px;max-width:610px}.empty-mark{font-size:29px;color:#5f6e79;line-height:1}.empty-note h2{font-size:13px;color:#536775;margin-bottom:6px}.empty-note p{font-size:12px;color:#5f6e79;max-width:430px;margin:0}.workspace-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:18px 40px;color:#5f6e79;font-size:12px;letter-spacing:.04em}.answer-panel{background:white;border:1px solid var(--line);border-radius:5px;margin-bottom:25px;animation:appear .25s}.answer-panel>.panel-heading{border-bottom:1px solid var(--line)}.answer-body{padding:25px 24px 13px;line-height:1.85;white-space:pre-wrap;font-size:14px;overflow-wrap:anywhere}.limitations{font-size:12px;color:#7a6541;padding:0 24px 15px;line-height:1.7}.limitations p{margin:7px 0}.sources-heading{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:18px 24px 12px}.sources-heading h3{font-size:12px;margin:0}#citations{padding:0 24px 22px}.source{border-top:1px solid var(--line);padding:11px 0;font-size:12px}.source summary{cursor:pointer;line-height:1.6;font-weight:500;overflow-wrap:anywhere}.source-content{font-size:12px;color:var(--muted);line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;padding:13px 0 2px}.source-content p{margin-bottom:7px}.notice{background:#fff5dd;border:1px solid #ead8b4;padding:16px 18px;border-radius:4px;margin-bottom:24px;font-size:12px;line-height:1.7}.notice.error{background:#fff4f1;border-color:#ebc7bf}.create-panel{max-width:1040px}.create-panel textarea{min-height:170px}.workflow-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;max-width:1040px;margin-top:40px;border-top:1px solid var(--line);padding-top:27px}.workflow-strip>div>span{font-family:Consolas,monospace;font-size:12px;color:#5f6e79;display:block;margin-bottom:16px}.workflow-strip h2{font-size:13px;margin-bottom:7px}.workflow-strip p,.quiet-note{font-size:12px;color:var(--muted)}.quiet-note{max-width:810px;margin-top:25px;padding-top:22px;border-top:1px solid var(--line);line-height:1.8}.draft-list{border-top:1px solid var(--line)}.draft-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px;background:white;border-bottom:1px solid var(--line)}.draft-card h2{font-size:16px;margin-bottom:8px}.draft-card p{font-size:12px;color:var(--muted);margin:0}.draft-card-right{text-align:right;display:flex;gap:30px;align-items:center}.draft-card-right strong{font-size:18px;font-weight:500;font-variant-numeric:tabular-nums}.text-button{background:none;border:0;padding:0;margin-bottom:26px;color:var(--muted);font-size:12px}.editor-heading{align-items:flex-start}.editor-heading h1{font-size:28px}.draft-badge{font-size:12px;font-family:Consolas,monospace;letter-spacing:.04em;white-space:nowrap;padding:9px 11px;border:1px solid #ddc984;background:#fff7db;margin-top:36px}.editor-summary{background:var(--navy);color:white;padding:24px 28px;display:flex;justify-content:space-between;gap:25px;align-items:center}.editor-summary .small-label{color:#b5c6d0}.editor-summary strong{display:block;font-size:32px;letter-spacing:-.7px;font-weight:500;margin:10px 0 6px;font-variant-numeric:tabular-nums}.editor-summary p{margin:0;color:#b5c6d0;font-size:12px}.editor-summary-right{text-align:right;font-size:12px;color:var(--yellow);display:flex;flex-direction:column;gap:12px}.table-scroll{position:relative;overflow-x:auto;background:white;border:1px solid var(--line);border-top:0}.budget-table{width:100%;border-collapse:collapse;min-width:840px;font-variant-numeric:tabular-nums}.budget-table th{text-align:left;background:#eaf0f3;padding:14px 12px;font-size:12px;letter-spacing:.3px;font-weight:500;color:#536775;white-space:nowrap}.budget-table td{padding:20px 12px;border-top:1px solid var(--line);font-size:12px;vertical-align:top}.budget-table th:first-child,.budget-table td:first-child{padding-left:23px;width:38%}.budget-table th:nth-child(n+4),.budget-table td:nth-child(n+4){text-align:right}.budget-table td:nth-child(2){color:var(--muted);padding-top:29px}.budget-table td:nth-child(4),.budget-table td:nth-child(5),.budget-table td:nth-child(6){white-space:nowrap;padding-top:29px}.line-description{line-height:1.6;display:block;margin-bottom:8px}.line-source{font-size:12px;color:var(--muted);line-height:1.6}.line-source summary{cursor:pointer}.line-source p{margin:8px 0 0;font-size:12px;overflow-wrap:anywhere}.quantity-input{width:105px;padding:9px 10px;text-align:right;font-size:12px}.remove-line{background:transparent;border:0;color:#5f6e79;padding:8px;font-size:18px}.remove-line:hover{color:var(--danger)}.line-removed{opacity:.35}.editor-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:35px;margin-top:30px}.editor-bottom label{font-size:12px;margin-bottom:12px}.editor-bottom textarea{font-size:12px}.review-checklist{padding:20px 23px;background:#ebeef0;border:1px solid var(--line)}.review-checklist h2{font-size:12px}.review-checklist ul{padding-left:17px;font-size:12px;color:#5a6c79;line-height:1.8}.review-checklist li{padding-left:4px;margin-bottom:5px}.editor-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding-top:24px;margin-top:28px}.editor-actions>div{display:flex;gap:12px}.editor-actions>.muted{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:1500px){.consult-layout{grid-template-columns:minmax(0,1fr) 300px}main{padding:48px 56px}.question-panel textarea{min-height:170px}.page-heading h1{font-size:42px}}
@media(max-width:1190px){.sidebar{width:205px;padding:30px 17px}.workspace{margin-left:205px}main{padding:32px 25px}.topbar{padding:0 25px}.consult-layout{grid-template-columns:minmax(0,1fr) 225px;gap:18px}h1{font-size:30px}.form-footer{align-items:flex-start;flex-direction:column}.form-footer>.button{align-self:flex-end}.panel-heading>.small-label{display:none}.scope-filter{max-width:290px}.editor-bottom{gap:20px}.workspace-footer{padding:17px 25px}}
@media(max-width:900px){.consult-layout{grid-template-columns:1fr}.history-panel{margin-top:15px}#budget-list{display:grid;grid-template-columns:repeat(2,1fr)}.history-panel .panel-heading{justify-content:flex-start;gap:12px}.history-footnote{padding:13px 18px}.heading-index{font-size:58px}.editor-heading{flex-direction:column;gap:5px}.draft-badge{margin-top:0}.editor-actions{align-items:flex-start;flex-direction:column}.editor-actions>div{align-self:flex-end}.login-brand{padding:40px}.login-panel{padding:35px}}
@media(max-width:660px){.login-view{grid-template-columns:1fr}.login-brand{padding:27px}.login-title{padding:36px 0 0}.login-title h1{font-size:35px;letter-spacing:-1.2px}.login-title>p:last-child,.login-footer{display:none}.login-panel{padding:38px 27px;place-items:start center}.login-panel h2{font-size:25px}.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:18px 20px 0}.sidebar .wordmark{font-size:15px}.sidebar-caption,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;margin-top:20px;gap:0;justify-content:space-between}.nav-button{padding:13px 10px;border-radius:4px 4px 0 0;font-size:12px;gap:7px}.nav-number{font-size:12px}.nav-arrow{display:none}.workspace{margin-left:0}.topbar{height:51px;padding:0 20px;font-size:12px;letter-spacing:.04em}.connection{font-size:12px}.slash{padding:0 9px}main{padding:29px 20px 35px}.page-heading{margin-bottom:24px;gap:13px}.page-heading h1{font-size:29px;letter-spacing:-1px}.page-heading .eyebrow{font-size:12px;margin-bottom:12px}.heading-index{display:none}.lead{font-size:12px;line-height:1.7}.panel-heading{padding:18px}.question-panel textarea{font-size:13px;padding-left:18px;padding-right:18px}.form-footer{padding:14px 17px;gap:15px}.form-footer>.button{width:100%;align-self:stretch}.scope-filter{font-size:12px;margin-top:4px;max-width:100%}.suggestions{gap:7px}.suggestions button{padding:10px 9px;font-size:12px}.suggestions button span{padding-left:7px}.empty-note{padding:20px 0}.empty-note p{font-size:12px}.history-panel{margin-top:4px}.budget-entry{padding:16px}#budget-list{grid-template-columns:1fr}.workspace-footer{padding:15px 20px;font-size:12px}.workspace-footer span:last-child{display:none}.answer-body{padding:20px 18px;font-size:13px}.limitations{padding:0 18px 15px}#citations{padding:0 18px 20px}.sources-heading{padding:18px}.workflow-strip{grid-template-columns:1fr;gap:12px;margin-top:27px}.workflow-strip>div{padding-left:34px;position:relative}.workflow-strip>div>span{position:absolute;left:0;top:1px}.workflow-strip p{font-size:12px}.draft-card{padding:20px 15px;align-items:flex-start;flex-direction:column;gap:15px}.draft-card h2{font-size:15px}.draft-card-right{width:100%;justify-content:space-between}.drafts-view .page-heading{flex-direction:column}.editor-heading h1{font-size:25px}.editor-summary{padding:21px 18px;align-items:flex-start;flex-direction:column;gap:18px}.editor-summary strong{font-size:29px}.editor-summary-right{text-align:left;gap:6px}.editor-bottom{grid-template-columns:1fr;gap:20px}.editor-actions>div{width:100%;flex-direction:column}.editor-actions .button{width:100%}.review-checklist{padding:18px}.button{min-height:44px}.quantity-input{font-size:16px}.notice{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.mobile-logout{display:none;background:none;border:0;color:var(--navy);font-size:12px;padding:8px}@media(max-width:660px){.mobile-logout{display:block}}
