
:root{--navy:#102235;--green:#167668;--mint:#eaf4f0;--gold:#b99556;--ink:#162c3c;--muted:#65777f;--line:#e1e7e5;--bg:#f6f7f4;--red:#ad4238;font-family:"Segoe UI Variable Text","Segoe UI",Tahoma,Arial,sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px;line-height:1.65}a{color:var(--green);text-decoration:none}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:10px 15px;background:white;color:var(--ink);font-size:12px;font-weight:600;transition:background .15s,border-color .15s}button:hover,.secondary:hover{border-color:#b4c8c1;background:#f2f7f4}button:disabled{opacity:.45;cursor:not-allowed}.primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--green);color:white;border:1px solid var(--green);border-radius:8px;padding:12px 20px;font-size:12px;font-weight:650}.primary:hover{background:#105b51;border-color:#105b51;color:white}.quiet{border-color:transparent;background:transparent;color:var(--muted)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.skip{position:fixed;top:-100px;z-index:40;background:white;padding:16px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sidebar{position:fixed;inset-block:0;inset-inline-start:0;width:238px;background:var(--navy);padding:33px 20px 22px;display:flex;flex-direction:column;z-index:20;color:#bccbd2}.brand{display:flex;align-items:center;gap:11px;padding:0 7px;color:white;font-size:24px;font-weight:650;letter-spacing:-.8px;line-height:1.15}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:1.1px;color:#98adb8;margin-top:8px}.mark{height:39px;width:39px;display:grid;place-items:center;border:1px solid #527565;border-radius:11px;background:linear-gradient(135deg,#326b5b,#23483e);font-size:27px;font-weight:700;position:relative}.mark span{position:absolute;inset-inline-end:0;top:-4px;font-size:17px;color:#e4dab1}.nav-caption{font-size:10px;color:#75909f;letter-spacing:1.6px;padding:0 15px;margin:49px 0 16px}.nav{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:8px;color:#a9bdc8;font-size:12px;margin-bottom:6px;position:relative}.nav strong{font-weight:500}.nav:hover{color:white;background:#1a3346}.nav.active{background:#203f44;color:#e1f4e7}.nav.active:before{content:"";height:18px;width:3px;position:absolute;inset-inline-start:0;background:#87bba2;border-radius:3px}.sidebar-bottom{margin-top:auto;border-top:1px solid #2b4051;padding:22px 13px 0;font-size:10px;color:#a5bac3}.sidebar-bottom strong{font-size:10px;font-weight:500}.sidebar-bottom p{font-size:10px;color:#7896a6;margin:7px 0 22px}.local-dot,.live-dot{display:inline-block;width:6px;height:6px;background:#78b79c;border-radius:50%;margin-inline-end:7px}.version-tag{font-size:10px;letter-spacing:1.3px;color:#77909e}.main{margin-inline-start:238px;min-width:0}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:15px}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:11px;color:#7c8c94}.breadcrumb strong{color:var(--ink);font-weight:500}.header-actions{display:flex;gap:19px;align-items:center}.language{font-size:11px;padding:6px 11px}#connection{font-size:10px;color:var(--green)}.command-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 38px 12px;background:#fff}.project-identity{display:flex;gap:11px;align-items:center;min-width:0}.project-emblem{color:var(--green);background:var(--mint);height:34px;width:34px;border-radius:9px;display:grid;place-items:center;flex:none;font-size:20px}.overline{display:block;font-size:10px;letter-spacing:1.3px;color:#7b8d95;margin-bottom:2px}#context-name{font-size:13px;font-weight:620;display:block;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-pill,.state-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid #dce8e1;border-radius:5px;background:#eff6f1;color:#356e55;font-size:10px;line-height:1.6;white-space:nowrap}.state-badge.draft{background:#f4f3ee;border-color:#e7e5db;color:#776b4f}.state-badge.stale{background:#fff4df;border-color:#efd9a7;color:#896522}.state-badge.error{background:#fff0ed;border-color:#efc5bd;color:#9a4135}.command-actions{display:flex;gap:15px;align-items:center}.command-new{font-size:11px;font-weight:600;color:var(--muted)}.freshness{font-size:10px;color:var(--muted);white-space:nowrap}.freshness[data-fresh=true]{color:var(--green)}.storage-bar{padding:0 38px 13px;background:white;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);min-height:37px}.storage-bar>span{font-size:10px;flex:1;color:var(--muted)}.storage-actions{display:flex;gap:7px}.storage-actions button{font-size:10px;padding:5px 8px;background:transparent;border-color:transparent;color:#5d717e}.storage-actions button:hover{background:var(--bg)}[data-status=saved]{color:var(--green)!important}[data-status=error]{color:var(--red)!important}.global-error{padding:0 38px;margin:0!important;background:white}.global-error:empty{display:none}main{padding:35px 38px 20px;max-width:1560px;margin:auto;outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:2px 0 27px}.eyebrow{color:#798573;font-size:10px;letter-spacing:1.8px;font-weight:650;margin:0 0 9px}h1{font-size:30px;letter-spacing:-1.15px;line-height:1.27;font-weight:620;margin:0 0 11px}h2{font-size:19px;letter-spacing:-.45px;line-height:1.4;font-weight:600;margin:0 0 12px}h3{font-size:13px;font-weight:600;margin:0 0 10px}.lead{font-size:12px;color:var(--muted);line-height:1.9;max-width:650px;margin:0}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:27px;box-shadow:0 4px 22px #10223505;margin-bottom:22px}.panel p{font-size:11px;color:var(--muted);line-height:1.9}.section-heading{display:flex;align-items:center;gap:13px;justify-content:space-between;margin-bottom:23px}.section-heading h2,.section-heading h3{margin:0}.section-heading p{margin:5px 0 0}.section-heading>div{flex:1}.section-kicker{font-size:10px;letter-spacing:1.1px;color:#657d71}.unit-badge{font-size:10px;color:var(--muted);border:1px solid var(--line);padding:3px 8px;border-radius:5px}.text-link{font-size:11px;font-weight:600}.text-link:after{content:" ↗";color:var(--gold)}.hint{font-size:10px!important;color:#72837a!important;line-height:1.85;margin:14px 0 18px}footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:22px 0 5px;margin-top:35px;font-size:10px;color:#7b8a8e}footer strong{font-size:16px;color:#556c73;letter-spacing:-.5px}.footer-dot{color:var(--gold)}
.welcome-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:22px}.hero-panel{border-radius:14px;background:var(--navy);color:white;min-height:315px;padding:32px;position:relative;overflow:hidden}.hero-panel .pill{font-size:10px;color:#bfd4c3;border:1px solid #3a5d55;padding:5px 10px;border-radius:20px;display:inline-block;letter-spacing:.8px}.hero-panel h2{font-size:28px;font-weight:500;max-width:300px;line-height:1.3;margin:24px 0 14px;position:relative;z-index:1}.hero-panel p{font-size:11px;color:#a7bac5;max-width:290px;position:relative;z-index:1;line-height:1.9}.light-button{position:relative;z-index:1;display:inline-flex;color:white;border-bottom:1px solid #728b77;padding-bottom:7px;margin-top:17px;font-size:11px;font-weight:600}.light-button:after{content:"↗";margin-inline-start:25px;color:#c8b380}.hero-art{position:absolute;inset-inline-end:-30px;bottom:-15px;display:flex;gap:13px;align-items:flex-end;transform:rotate(-12deg);opacity:.45}.hero-art span{height:80px;width:38px;background:linear-gradient(#84baa3,#20443c);border:1px solid #719a8a;border-radius:5px 5px 0 0}.hero-art span:nth-child(2){height:145px}.hero-art span:nth-child(3){height:210px}.hero-art span:nth-child(4){height:275px}.hero-art i{position:absolute;top:-55px;inset-inline-start:-30px;font-style:normal;font-size:90px;color:#b6a166;font-weight:200}.home-summary{display:flex;flex-direction:column;margin:0}.home-summary .empty{flex:1}.home-summary .key-value{padding:17px 0}.home-summary .key-value:first-child{margin-top:20px}.home-summary .text-link{margin-top:22px}.recent-heading{margin-top:36px;margin-bottom:16px}.recent-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.recent-card{display:flex;flex-direction:column;min-width:0;padding:20px;background:#fff;border:1px solid var(--line);border-radius:11px}.recent-card:hover{border-color:#8fb5a4}.recent-card strong{font-size:12px;color:var(--ink);margin:12px 0 8px;overflow-wrap:anywhere}.recent-card small{font-size:10px;color:var(--muted);margin-top:10px}.recent-card .state-badge{align-self:flex-start}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:32px;padding:25px 0 0}.feature-row article{border-top:1px solid #d5ded7;padding-top:17px}.feature-row article>span{font-size:10px;color:var(--gold)}.feature-row h3{margin:9px 0;font-size:12px}.feature-row p{color:var(--muted);font-size:11px;line-height:1.9}.empty{font-size:12px;color:var(--muted);padding:30px 0}.empty-state{border:1px dashed #ccd9d1;border-radius:14px;background:#ffffff85;padding:50px 25px;text-align:center}.empty-state h2{margin:15px 0 10px}.empty-state p{color:var(--muted);font-size:12px;max-width:420px;margin:0 auto 22px}.empty-symbol{font-size:32px;color:var(--green)}
.project-workspace{padding:0;overflow:hidden}.project-tools{padding:22px 24px;display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--line)}.filter-tabs{display:flex;gap:3px;background:#f2f5f1;border-radius:7px;padding:3px}.filter-tabs button{border:0;background:transparent;color:var(--muted);padding:7px 12px;font-size:10px}.filter-tabs button.selected{background:#fff;color:var(--green);box-shadow:0 1px 4px #10223513}.project-search{display:flex;gap:7px;align-items:center;border:1px solid var(--line);border-radius:7px;padding:0 9px;max-width:380px;min-width:230px}.project-search>span{color:#71867b;font-size:22px}.project-search input{border:0;background:transparent;box-shadow:none!important;padding:8px 3px;font-size:11px}.project-search button{border:0;font-size:10px;padding:6px;background:transparent}.project-list-heading,.project-card{display:grid;grid-template-columns:minmax(190px,1fr) 105px 145px 165px;gap:18px;align-items:center;padding:20px 24px}.project-list-heading{background:#fbfcf9;color:#819087;font-size:10px;font-weight:650;letter-spacing:1px;padding-block:13px}.project-card{border-top:1px solid #edf0ea}.project-card:hover{background:#fcfdfa}.project-main{display:flex;align-items:center;gap:13px;min-width:0}.project-icon{height:36px;width:36px;background:var(--mint);color:var(--green);border-radius:9px;display:grid;place-items:center;flex:none}.project-card h3{font-size:12px;margin:0;font-weight:600;overflow-wrap:anywhere}.project-card h3 a{color:var(--ink)}.project-card .project-date{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.project-card .buttons{display:flex;gap:6px;align-items:center;flex-wrap:nowrap}.project-card .buttons a{font-size:10px;padding:7px 12px}.project-card .buttons button{padding:6px;border:0;background:transparent;color:#788d88}.project-card .buttons button .icon{width:16px;height:16px}.list-footer{border-top:1px solid var(--line);padding:15px 24px;font-size:10px!important;margin:0}.project-workspace .empty-state{border:0;border-radius:0}.new-project-layout{display:grid;grid-template-columns:minmax(0,1.55fr) 1fr;gap:38px;max-width:1100px}.new-project-card{padding:33px}.new-project-card .fields{grid-template-columns:1fr}.new-project-note{padding:25px 12px}.new-project-note h2{margin:20px 0 13px}.new-project-note p{font-size:12px;line-height:2;color:var(--muted);max-width:300px}.note-symbol{color:var(--gold);font-size:36px}.new-project-card .primary{margin-top:15px;min-width:180px}
.builder-progress{width:210px;flex:none}.builder-progress>span{font-size:11px;font-weight:600}.builder-progress small{font-size:10px;color:var(--muted);display:block;margin-top:7px}.progress-track{height:4px;background:#e0e8df;border-radius:4px;margin-top:10px;overflow:hidden}.progress-track>span{display:block;height:100%;background:var(--green);border-radius:4px}.example-drawer{margin:0 0 22px;padding:0 4px}.example-drawer summary{font-size:10px;color:var(--muted);padding:0}.example-drawer[open]{border:1px solid var(--line);background:#fff;border-radius:10px;padding:15px 20px}.example-drawer p{font-size:10px;color:var(--muted)}.buttons{display:flex;gap:8px;flex-wrap:wrap}.workspace-layout{display:grid;grid-template-columns:212px minmax(0,1fr);gap:27px}.builder-rail{align-self:start;position:sticky;top:22px}.rail-caption{font-size:10px;color:#85928a;letter-spacing:1.2px;display:block;margin-bottom:15px;padding-inline-start:12px}.step-nav{display:flex;flex-direction:column;gap:4px}.step-link{display:flex;justify-content:flex-start;align-items:flex-start;text-align:start;border:1px solid transparent;background:transparent;border-radius:9px;padding:12px 10px;gap:11px;line-height:1.4;white-space:normal;color:#74857f}.step-link>span{height:24px;width:24px;border:1px solid #cdd8d0;border-radius:50%;display:grid;place-items:center;flex:none;font-size:10px;font-weight:500}.step-link strong{font-size:11px;font-weight:550;display:block}.step-link small{display:block;font-size:10px;font-weight:400;color:#89988e;margin-top:5px}.step-link.active{background:#fff;border-color:#dde7de;box-shadow:0 2px 10px #10223503;color:var(--green)}.step-link.active>span{background:var(--green);border-color:var(--green);color:white}.step-link.complete:not(.active)>span{background:#e7f0e8;border-color:#c0d5c4;color:var(--green)}.rail-note{display:flex;gap:10px;padding:20px 12px;margin-top:24px;border-top:1px solid var(--line);color:#7b8b80}.rail-note>span{color:var(--gold);font-size:21px}.rail-note p{font-size:10px;line-height:1.9;margin:0}.step-panel{padding:29px;scroll-margin-top:22px}.step-number{display:grid;place-items:center;width:31px;height:33px;flex:none;border:1px solid #dbe7df;border-radius:8px;font-size:11px;color:var(--green);background:var(--mint);align-self:flex-start}.step-panel>.section-heading{padding-bottom:23px;border-bottom:1px solid var(--line);align-items:flex-start}.form-group{padding-block:2px 26px}.form-group+.form-group{border-top:1px solid #edf0eb;padding-top:23px}.form-group>h3{font-size:11px;font-weight:650;margin-bottom:20px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 20px}.fields label,label.part-count,.candidate-label{display:block;min-width:0;font-size:11px;color:#3b5358;font-weight:500}label>span{display:flex;align-items:center;gap:8px;margin-bottom:7px}label>small{font-size:10px;color:#78897e;font-weight:400;display:block;margin-top:6px;line-height:1.8}input,select{display:block;width:100%;min-width:0;border:1px solid #dce4df;background:#fff;border-radius:7px;padding:11px 12px;font-size:12px;color:var(--ink)}input:hover,select:hover{border-color:#b6c9be}input:focus,select:focus{border-color:#6a9d89;box-shadow:0 0 0 3px #1676680a}input::placeholder{font-size:10px;color:#93a197}input[inputmode=decimal],input[inputmode=numeric],input[type=date]{direction:ltr;text-align:start;font-variant-numeric:tabular-nums;unicode-bidi:isolate}input[aria-invalid=true],select[aria-invalid=true]{border-color:#bd665d;background:#fffaf8}.field-error{font-size:10px!important;color:var(--red)!important;margin:5px 0 0!important;font-weight:400;white-space:pre-wrap}.fields output{display:block;background:#f0f7f1;border:1px solid #dae8dd;border-radius:7px;padding:11px 12px;color:var(--green);font-size:14px;font-weight:650;direction:ltr;text-align:start}.help-dot{margin-inline-start:auto;display:inline-grid;place-items:center;width:15px;height:15px;border:1px solid #cddbd2;border-radius:50%;font-size:10px;color:#7b9487;cursor:help;flex:none}.selection-notice{background:#f3f6f0;padding:10px;border-radius:7px;font-size:10px}.selection-notice button{font-size:10px;padding:4px 8px;margin-top:8px}.notice{background:#f3f7f2;border:1px solid #e2eadf;border-radius:8px;padding:14px 17px;font-size:10px;line-height:1.9;color:#6c8074;margin-top:20px}.notice p{margin:0;font-size:10px}.advanced-fields{border:1px solid var(--line);padding:0 17px;border-radius:9px;background:#fbfcf9;margin:0 0 22px}.advanced-fields[open]{padding-bottom:20px}.advanced-fields>summary{padding:15px 0;font-size:11px;font-weight:600;color:#526c5c}.table-wrap{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:9px}table{width:100%;border-collapse:collapse;text-align:start;font-size:11px}th{font-size:10px;color:#748476;font-weight:600;text-align:start;background:#f7f9f5;padding:13px 14px;white-space:nowrap}td{padding:15px 14px;border-top:1px solid #edf0ea;vertical-align:middle;font-size:11px;color:#45605b;font-variant-numeric:tabular-nums}td[data-numeric],.money-value{direction:ltr;unicode-bidi:isolate;white-space:nowrap}.input-table{margin-block:14px 20px}.input-table td{padding:10px 8px}.input-table th{padding-inline:10px}.input-table input{background:#fcfdfb;border-color:#e3e9e2;padding:10px;font-size:12px;min-width:80px}#items input[data-label=Product]{min-width:180px}.row-number{width:35px;font-size:10px;color:#91a095}.delete{border:0;background:transparent;color:#a68b81;font-size:19px;padding:5px}.delete:hover{color:var(--red);background:#fff2ec}.allocation-top{display:flex;align-items:center;gap:28px;justify-content:space-between}.part-count{width:200px}.allocation-summary{font-size:10px;color:var(--muted);text-align:end}#allocations select{min-width:150px;font-size:11px}.action-bar{display:flex;align-items:center;gap:15px;padding:17px 1px;border-top:1px solid #dbe4db}.action-bar #form-state{font-size:10px;color:var(--muted);flex:1}.action-bar>.primary{margin-inline-start:auto;min-width:145px}.error{border:1px solid #efcbc3;background:#fff3ee;color:#934337;border-radius:8px;padding:15px;font-size:11px;white-space:pre-wrap;margin:14px 0}.review-ok{background:#edf6ed;color:var(--green);padding:13px 16px;border:1px solid #dce8d8;border-radius:7px;font-size:11px;margin-bottom:25px}.key-value{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #edf0e9;font-size:11px}.key-value>span{color:var(--muted)}.key-value strong{font-weight:550;direction:ltr;unicode-bidi:isolate;max-width:60%;text-align:end;overflow-wrap:anywhere}details{font-size:11px;margin-top:18px}summary{font-weight:550;cursor:pointer;color:var(--green);padding:8px 0}pre{font-family:Consolas,monospace;direction:ltr;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f6f2;padding:18px;font-size:10px;line-height:1.9;max-height:380px;overflow:auto;border-radius:8px}#timing-guidance{grid-column:1/-1;margin:0;font-size:10px}#timing-guidance p{margin:0 0 8px}#timing-guidance strong{display:block;color:#94702f;font-size:10px;margin-bottom:10px}

.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:23px}.metric{background:white;border:1px solid var(--line);border-radius:12px;padding:23px 24px;min-width:0;position:relative}.metric label{display:block;font-size:10px;font-weight:500;color:#71877b}.metric strong{display:block;font-size:28px;line-height:1.4;letter-spacing:-.9px;font-weight:600;margin-top:14px;direction:ltr;text-align:start;unicode-bidi:isolate;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.metric small{font-size:10px;color:#7d8e81;display:block;margin-top:9px}.metrics>.metric:first-child{background:var(--navy);border-color:var(--navy);color:white}.metrics>.metric:first-child label{color:#b7cbb9}.metrics>.metric:first-child small{color:#a1b8aa}.metrics>.metric:first-child:after{content:"↗";position:absolute;inset-inline-end:20px;top:17px;font-size:21px;color:#a8c5ae}.metrics>.metric:first-child strong{font-size:30px}.overview-nav{display:flex;gap:7px;padding:0 0 18px;flex-wrap:wrap}.overview-nav button{font-size:10px;color:#6d8274;background:transparent;border-color:transparent;padding:8px 12px}.overview-nav button:hover{background:white;border-color:var(--line)}.analytics-panel{scroll-margin-top:24px;padding:28px 30px}.analytics-panel>.section-heading{margin-bottom:16px}.analytics-panel>p{font-size:11px}.pricing-breakdown{display:flex;flex-direction:column;gap:20px;margin-top:27px}.pricing-row{display:grid;grid-template-columns:145px minmax(0,1fr) 150px;align-items:center;gap:18px}.pricing-row .stage-label{font-size:11px;color:#577260}.pricing-track{height:24px;background:#f4f6f0;border-radius:4px;overflow:hidden}.pricing-fill{height:100%;border-radius:4px;background:#bdcfc1;min-width:2px}.pricing-row:nth-child(2) .pricing-fill{background:#9cb7a4}.pricing-row:nth-child(3) .pricing-fill{background:#6d9f89}.pricing-row:nth-child(4) .pricing-fill{background:#438e77}.pricing-row:last-child .pricing-fill{background:var(--green)}.pricing-row strong{font-size:12px;direction:ltr;unicode-bidi:isolate;text-align:end;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}.detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:24px 0 17px}.detail-metrics .metric{border:0;border-radius:0;padding:20px;border-inline-end:1px solid var(--line)}.detail-metrics .metric label{font-size:10px}.detail-metrics .metric strong{font-size:21px}.insight{border-inline-start:2px solid var(--gold);padding:5px 15px;font-size:10px!important;max-width:750px}.chart-key{display:flex;align-items:center;gap:7px;color:#6c8678;font-size:10px}.chart-key i{width:15px;height:3px;background:var(--green);border-radius:3px}.chart{display:block;width:100%;height:auto;min-height:220px;max-height:360px;overflow:visible;direction:ltr}.chart text{fill:#71867a;font-size:10px;font-family:inherit;font-variant-numeric:tabular-nums}.chart .grid-line{stroke:#edf0e9}.chart .zero{stroke:#acbfb0;stroke-dasharray:4 4}.chart .cash-line{fill:none;stroke:var(--green);stroke-width:2.3;stroke-linejoin:round}.chart .cash-area{fill:#1676680b}.chart .peak-point{fill:#b99556;stroke:white;stroke-width:2}.chart .cursor-line{stroke:#849c8a;stroke-dasharray:3 3}.chart .cursor-point{fill:var(--green);stroke:white;stroke-width:2}.chart-control{display:flex;align-items:center;gap:18px;background:#f7faf5;border:1px solid #e2eade;padding:11px 15px;border-radius:8px;font-size:10px;flex-wrap:wrap}.chart-control label{white-space:nowrap;color:var(--muted)}.chart-control input{padding:0;height:4px;accent-color:var(--green);width:130px;flex:1;min-width:90px;box-shadow:none}.chart-readout{font-size:11px;direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums;color:var(--green);white-space:nowrap}.peak-legend{color:#927139;font-size:10px;margin:0 0 16px}.snapshot-note{display:inline-block;font-size:10px;color:var(--green);background:#eaf3e9;border:1px solid #dce8d9;padding:5px 9px;border-radius:5px;margin:12px 0 0}.assurance-panel{display:flex;gap:30px;justify-content:space-between;background:#ecf1e9;border:1px solid #dfe7d9;border-radius:12px;padding:23px 27px}.assurance-panel h3{font-size:12px}.assurance-panel p{font-size:10px;color:#687b64;line-height:1.9;margin:5px 0;max-width:740px}.assurance-mark{font-size:30px;color:#94ab8b}.settings-panel{max-width:780px}.settings-panel>label{font-size:11px;color:var(--muted)}#locale-select{max-width:280px;margin:8px 0 30px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:30px;border-top:1px solid var(--line);padding:22px 0}.settings-row strong{font-size:12px}.settings-row p{max-width:450px;font-size:10px;margin:6px 0}.settings-row input[type=checkbox]{width:19px;height:19px;accent-color:var(--green);flex:none}dialog{border:1px solid var(--line);border-radius:17px;width:min(800px,94vw);max-height:88vh;overflow:auto;padding:30px;color:var(--ink);box-shadow:0 24px 100px #10223533;background:#fff}dialog::backdrop{background:#10223588;backdrop-filter:blur(3px)}dialog .buttons{margin-top:25px}dialog input{margin-top:8px}dialog>p{font-size:12px;color:var(--muted)}.snapshot-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:17px 0;font-size:11px}.snapshot-row button{font-size:10px}#history-result{margin-top:18px}.mono{font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
[dir=rtl]{font-family:Tahoma,"Segoe UI",Arial,sans-serif;letter-spacing:0}[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] .brand{letter-spacing:0}[dir=rtl] h1{font-size:27px;line-height:1.65}[dir=rtl] .eyebrow,[dir=rtl] .nav-caption,[dir=rtl] .rail-caption,[dir=rtl] .overline{letter-spacing:0}[dir=rtl] .hero-art{transform:rotate(12deg)}[dir=rtl] .hero-panel h2{font-size:25px;line-height:1.75}
@media(min-width:1550px){main{padding:42px 50px 25px}.workspace-layout{grid-template-columns:230px minmax(0,1fr);gap:34px}.step-panel{padding:34px}.metric strong{font-size:31px}}
@media(max-width:1200px){.sidebar{width:210px;padding-inline:14px}.main{margin-inline-start:210px}.topbar,.command-bar,.storage-bar{padding-inline:25px}main{padding:28px 25px}.workspace-layout{grid-template-columns:175px minmax(0,1fr);gap:20px}.step-link strong{font-size:10px}.step-link small{font-size:10px}.step-panel{padding:23px}.metric{padding:20px}.metric strong,.metrics>.metric:first-child strong{font-size:25px}.project-card,.project-list-heading{grid-template-columns:minmax(160px,1fr) 90px 125px 130px;gap:10px;padding-inline:20px}.project-card .buttons a{padding:6px 9px}.project-tools{flex-wrap:wrap}.project-search{flex:1}.pricing-row{grid-template-columns:125px minmax(0,1fr) 125px;gap:12px}.command-actions .freshness{display:none}#context-name{max-width:250px}}
@media(max-width:930px){.sidebar{width:78px;padding:24px 11px}.brand{padding:0;justify-content:center}.brand>span:last-child,.nav strong,.sidebar-bottom,.nav-caption{display:none}.nav{justify-content:center;padding:15px 10px}.nav .icon{width:22px;height:22px}#navigation{margin-top:35px}.main{margin-inline-start:78px}.workspace-layout{grid-template-columns:160px minmax(0,1fr);gap:16px}.fields{gap:20px 15px}.detail-metrics{grid-template-columns:repeat(2,1fr)}.recent-projects{grid-template-columns:repeat(2,minmax(0,1fr))}.recent-card:nth-child(3){display:none}.project-list-heading,.project-card{grid-template-columns:minmax(150px,1fr) 100px 130px}.project-date{display:none}.project-list-heading>span:nth-child(3){display:none}.new-project-layout{grid-template-columns:1.4fr 1fr;gap:20px}.command-actions{gap:10px}.command-new{display:none}.builder-progress{width:155px}.welcome-grid{grid-template-columns:1.2fr 1fr}.hero-panel{padding:25px}.hero-panel h2{font-size:24px}.hero-art{opacity:.25}}
@media(max-width:720px){.sidebar{position:static;width:auto;padding:18px 20px 0}.brand{justify-content:flex-start;font-size:22px}.brand>span:last-child{display:block}.brand small{font-size:10px}.mark{width:33px;height:35px;font-size:25px}#navigation{display:flex;overflow:auto;gap:5px;margin:18px -5px 0;padding-bottom:10px;scrollbar-width:thin}.nav{flex:none;gap:7px;margin:0;padding:9px 11px;font-size:10px}.nav strong{display:block}.nav .icon{width:14px;height:14px}.nav.active:before{display:none}.main{margin:0}.topbar{height:51px;padding-inline:20px}.header-actions{gap:12px}.breadcrumb{font-size:10px}#connection{font-size:10px}.command-bar{padding:14px 20px 8px;align-items:flex-start}.project-emblem{display:none}.project-identity{gap:8px;flex-wrap:wrap}.overline{font-size:7px}#context-name{font-size:11px;max-width:190px}.status-pill{font-size:10px;padding:2px 5px}.command-actions .primary{font-size:10px;padding:9px 12px}.storage-bar{display:block;padding:0 20px 10px}.storage-bar>span{display:block;font-size:10px;margin:0 0 6px}.storage-actions{gap:10px;overflow:auto}.storage-actions button{padding:5px 0;font-size:10px;white-space:nowrap}.global-error{padding-inline:20px}main{padding:26px 20px 15px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:18px;margin-bottom:24px}h1{font-size:27px}.lead{font-size:11px}.eyebrow{font-size:10px}.page-heading>.primary{font-size:11px;padding:10px 16px}.welcome-grid{grid-template-columns:1fr}.hero-panel{min-height:285px;padding:26px}.hero-panel h2{font-size:26px;max-width:240px}.hero-art{opacity:.45}.home-summary{min-height:240px}.recent-projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recent-card{padding:15px}.recent-card strong{font-size:11px}.feature-row{grid-template-columns:1fr;gap:12px}.feature-row article{padding-top:14px}.builder-progress{width:100%;max-width:260px}.workspace-layout{display:block}.builder-rail{position:static}.rail-caption,.rail-note{display:none}.step-nav{flex-direction:row;overflow:auto;margin-bottom:20px;gap:7px;padding-bottom:7px;scrollbar-width:thin}.step-link{flex:0 0 150px;padding:10px;align-items:center}.step-link small{display:none}.step-link strong{font-size:10px;line-height:1.6}.step-link>span{height:21px;width:21px;font-size:10px}.panel{padding:22px 20px}.project-workspace{padding:0}.step-panel>.section-heading{gap:11px}.step-panel>.section-heading h2{font-size:17px}.section-heading p{font-size:10px!important}.step-number{height:28px;width:28px;font-size:10px}.fields{gap:21px 15px}.fields label{font-size:10px}input,select{font-size:13px;padding:12px 10px}.new-project-layout{display:block}.new-project-card{padding:25px 22px}.new-project-note{padding:15px 8px}.new-project-note p{max-width:none}.new-project-note h2{margin-top:10px}.new-project-note .note-symbol{display:none}.input-table table{min-width:470px}#items input[data-label=Product]{min-width:135px}.item-heading{align-items:flex-start}.item-heading h3{font-size:12px}.item-heading button{font-size:10px;padding:8px 10px}.allocation-top{align-items:flex-start;gap:15px}.part-count{width:130px}.allocation-summary{font-size:10px;max-width:150px}.action-bar{gap:10px;flex-wrap:wrap}.action-bar #form-state{flex-basis:100%;order:-1}.action-bar button{font-size:11px}.action-bar>.primary{min-width:130px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.metric{padding:18px 15px}.metric label{font-size:10px}.metric strong,.metrics>.metric:first-child strong{font-size:22px;margin-top:12px}.metric small{font-size:10px}.overview-nav{flex-wrap:nowrap;overflow:auto;padding-bottom:12px}.overview-nav button{white-space:nowrap;flex:none;font-size:10px;padding:7px 10px}.analytics-panel{padding:22px 20px}.analytics-panel h2{font-size:18px}.pricing-row{grid-template-columns:1fr 130px;gap:8px 15px}.pricing-track{grid-column:1/-1;grid-row:2;height:18px}.pricing-row strong{font-size:11px;grid-column:2;grid-row:1}.pricing-row .stage-label{font-size:10px}.pricing-breakdown{gap:22px}.detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-metrics .metric{padding:16px 12px}.detail-metrics .metric strong{font-size:18px}.detail-metrics .metric label{font-size:10px}.chart-key{font-size:10px}.chart{min-height:180px}.chart text{font-size:11px}.chart-control{gap:10px;padding:10px}.chart-readout{font-size:10px}.chart-control label{font-size:10px}.chart-control input{width:90px}.assurance-panel{padding:20px}.assurance-mark{display:none}.project-tools{display:block;padding:18px}.filter-tabs{margin-bottom:15px;display:inline-flex}.filter-tabs button{font-size:10px}.project-search{max-width:none;min-width:0}.project-list-heading{display:none}.project-card{display:flex;flex-wrap:wrap;gap:12px;padding:20px 18px}.project-main{flex-basis:100%;gap:11px}.project-card h3{font-size:12px}.project-card .state-badge{margin-inline-start:47px;font-size:10px}.project-card .buttons{margin-inline-start:auto}.project-card .buttons a{font-size:10px;padding:5px 12px}.project-card .buttons button{padding:5px}.list-footer{padding:13px 18px;font-size:10px!important}.project-card .project-date{display:none}.settings-row{gap:20px}footer{flex-wrap:wrap;gap:7px;margin-top:30px;font-size:10px}footer>span:last-child{display:none}footer strong{font-size:14px}dialog{padding:22px;width:94vw}.snapshot-row{font-size:10px;gap:10px}[dir=rtl] h1{font-size:25px}}
@media(max-width:420px){.fields{grid-template-columns:1fr}.command-bar,.topbar,.storage-bar{padding-inline:16px}main{padding-inline:16px}.project-identity .status-pill{display:none}#context-name{max-width:180px}.metric strong,.metrics>.metric:first-child strong{font-size:20px}.metric{padding:17px 12px}.metric label{font-size:10px}.metric small{line-height:1.8}.chart-key{display:none}.detail-metrics .metric strong{font-size:17px}.section-heading{gap:10px}.recent-projects{grid-template-columns:1fr}.recent-card:nth-child(3){display:flex}.hero-panel .pill{font-size:7px}.hero-panel h2{font-size:25px}.hero-panel p{max-width:230px}.hero-art{opacity:.25}#connection{max-width:120px;font-size:10px}.header-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Keep the active project and confirmed save state in view while reviewing a tender. */
.workspace-context{position:sticky;top:0;z-index:16;background:white;box-shadow:0 1px 0 var(--line)}.analytics-panel{scroll-margin-top:140px}
@media(max-width:720px){.workspace-context{position:static}.analytics-panel{scroll-margin-top:16px}.chart-control{flex-wrap:wrap}.chart-control input{flex:1;min-width:100px}.chart-readout{flex-basis:100%}}

@media(max-width:720px){.command-actions{flex-direction:column-reverse;align-items:flex-end;gap:4px}.command-actions .freshness{display:block;font-size:10px;max-width:140px;white-space:normal;text-align:end}.project-identity{max-width:58%}}

.metric strong{white-space:nowrap;overflow-x:auto;max-width:100%}
@media(max-width:420px){.metrics>.metric:first-child{grid-column:1/-1}.metrics>.metric:first-child strong{font-size:28px}.metric strong{font-size:19px}}

.pricing-fill.negative{background:#b9655d}

/* Readable working typography, including the compact mobile form. */
.fields label{font-size:12px}.fields small,.fields label>small{font-size:11px}.lead{font-size:13px}.metric label{font-size:12px}.metric small{font-size:11px}.section-heading p{font-size:12px!important}.pricing-row .stage-label{font-size:12px}.project-card h3{font-size:13px}.nav{font-size:13px}.form-group h3{font-size:14px}.freshness,.storage-bar>span{font-size:11px}
@media(max-width:720px){.nav{font-size:11px}.metrics .metric label{font-size:11px}.metric small{font-size:10px}.fields{gap:22px 15px}}

.chart-window-note{font-size:11px;color:var(--muted);margin-bottom:0}
.step-panel h2{scroll-margin-top:150px}.builder-rail{top:140px}
@media(max-width:720px){.step-panel h2{scroll-margin-top:16px}}
@media(max-width:360px){.metrics,.detail-metrics{grid-template-columns:1fr}.metrics>.metric:first-child{grid-column:auto}.metrics .metric strong{font-size:25px}}
/* C1: contextual actions, readable forms and actual event exploration. */
.required-marker{color:#67766b;font-size:10px;font-weight:400;margin-inline-start:7px;display:inline!important}.fx-choice{max-width:420px;display:flex;flex-direction:column;gap:7px;margin-bottom:12px}.fx-choice select{width:100%}#fx-explanation{max-width:750px}.home-actions{display:flex;flex-direction:column;justify-content:center}.home-actions h2{font-size:25px;line-height:1.5;margin:0 0 12px}.home-actions p{color:var(--muted)}.home-action-list{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-block:18px}.home-action-list>a{max-width:100%;white-space:normal;text-align:start}.event-filters,.cash-toolbar{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;margin-block:18px}.event-filters label,.cash-toolbar label{display:flex;flex-direction:column;gap:7px;font-size:12px;flex:1;min-width:140px}.event-filters input,.event-filters select,.cash-toolbar select{width:100%}.event-filters button{align-self:flex-end}#events table{font-size:12px;min-width:550px}#events tbody tr:nth-child(even){background:#f0f5f2}#events td{padding:13px 15px;border-bottom:1px solid var(--line)}#events th{position:sticky;top:0;font-size:11px}#events td[data-numeric=true]{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.zero{stroke:#526b63!important;stroke-width:2!important;stroke-dasharray:5 3}.negative-area{fill:#dc8a782d}.negative-line{stroke:#ad4238;fill:none;stroke-width:2}.net-out{fill:#b75f50}.net-in{fill:#167668}.peak-point{fill:#b99556;stroke:#102235;stroke-width:2}.metrics [data-source="solver.peak_funding_month"]{border-color:#c6ad7c;background:#fcf8ee}#profit-explanation{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}#profit-explanation summary{font-size:13px;font-weight:600}#profit-comparison{margin-top:16px}#overview-items{margin-top:24px}.chart-control+button{margin-block:10px}.metrics .metric strong{font-size:clamp(21px,2vw,30px)}.metrics>.metric:first-child strong{font-size:clamp(26px,2.4vw,34px)}
@media(min-width:1100px){.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metrics>.metric:first-child{grid-column:span 2}}@media(max-width:720px){.event-filters{gap:12px}.event-filters label{min-width:120px}#events table{font-size:12px}.home-actions h2{font-size:22px}.home-action-list{align-items:stretch}.home-action-list>a{justify-content:flex-start}.fx-choice{max-width:100%}.metrics .metric strong{font-size:20px}.metrics>.metric:first-child strong{font-size:28px}}

#events{max-height:520px;overflow:auto}#events th{background:#eaf1ed;z-index:1}

.lifecycle-note{padding-inline:24px;margin:12px 0}

#timing-guidance{grid-column:auto;margin:0;align-self:start;padding:16px}#timing-guidance>strong{font-size:12px}.timing-table-wrap{overflow:auto;margin-top:12px}.timing-table-wrap table{font-size:11px;min-width:0;width:100%;table-layout:fixed}.timing-table-wrap th{white-space:normal;font-size:10px;padding:7px 5px;line-height:1.6}.timing-table-wrap td{padding:8px 5px;font-variant-numeric:tabular-nums}.timing-table-wrap th:first-child{width:34px}.timing-before td:last-child{color:#95402e;font-weight:600}#timing-guidance p{font-size:11px!important;margin-bottom:0}@media(max-width:720px){#timing-guidance{grid-column:1/-1}.timing-table-wrap table{min-width:300px}}
/* Prevent a timing-table intrinsic width from widening its sibling mobile input. */
.fields>*{min-width:0}.timing-table-wrap{min-width:0;max-width:100%}#timing-guidance{min-width:0;max-width:100%}@media(max-width:420px){.fields{grid-template-columns:minmax(0,1fr)}}
@media(max-width:720px){.metrics .metric strong{font-size:18px}.metrics>.metric:first-child strong{font-size:28px}}
/* C2: source-led financial analysis, wide charts scroll within their panels. */
/* Anchor the screen-reader-only action label inside its scrollable table cell. */
.input-table th{position:relative}
#currency-summary>strong{display:block;font-size:28px;color:#153e32;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}#currency-summary p{font-size:13px;color:var(--muted)}#currency-settings{margin-top:24px;border-top:1px solid var(--line);padding-top:22px}#currency-settings input,#currency-settings select{width:100%}#currency-settings .fields label{min-width:0}#currency-settings .fields small{line-height:1.6}#currency-audit table{min-width:1000px}#items select{min-width:82px}#currency-summary[hidden],#currency-detail[hidden]{display:none}
@media(min-width:721px){.metrics .metric:not(:first-child) strong{font-size:clamp(20px,1.8vw,27px)}}
@media(min-width:721px) and (max-width:1099px){.metrics>.metric:first-child{grid-column:span 2}}
.event-milestone{fill:#bd9a51;stroke:white;stroke-width:1}.timeline-neutral{fill:#8b9993;stroke:white;stroke-width:1}.timeline-legend span:before{content:'';display:inline-block;width:9px;height:9px;border-radius:2px;margin-inline-end:5px;background:#254c65}.timeline-legend .legend-shipment:before{background:#278b79}.timeline-legend .legend-ddp:before{background:#9db8ad}.timeline-legend .legend-in:before{background:#198164}.timeline-legend .legend-out:before{background:#bc604f}
.chart-scroll{overflow:auto;max-width:100%;padding-block:12px;direction:ltr}.waterfall-svg{min-width:1050px;width:100%;height:auto}.timeline-svg{min-width:950px;width:100%;height:auto}.chart-scroll svg text{font-family:inherit;font-size:11px;fill:#50645f}.waterfall-cost{fill:#244d65}.waterfall-benefit{fill:#198164}.waterfall-total{fill:#102c40}.waterfall-svg g:focus rect{stroke:#d9a842;stroke-width:3}.reconciliation-status{background:#fff8e8;border-inline-start:3px solid #c49b42;padding:14px 18px;font-variant-numeric:tabular-nums}.timeline-phase{fill:#254c65}.phase-1{fill:#278b79}.phase-2{fill:#9db8ad}.timeline-warning{fill:#b66b49}.timeline-in{fill:#198164;stroke:white;stroke-width:1}.timeline-out{fill:#bc604f;stroke:white;stroke-width:1}.timeline-svg [tabindex]:focus{stroke:#dbb455;stroke-width:3}#cash-chart-linked{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}#cash-balances{max-height:400px;overflow:auto}.analytics-panel output{display:block;min-height:32px;margin-block:10px}.analytics-panel details{margin-top:18px}.analytics-panel td[data-numeric=true]{font-variant-numeric:tabular-nums;text-align:end;white-space:nowrap}#guarantee-parts{margin-top:20px}#waterfall-table td:last-child{font-size:11px;max-width:330px;overflow-wrap:anywhere}#events table{min-width:780px}.analytics-panel .table-wrap{max-width:100%}.timeline-legend{color:var(--muted);font-size:12px}

.delivery-settings select{max-width:32rem}.delivery-settings .notice{margin-block:1rem}.cost-excluded input{opacity:.55;background:var(--surface-soft,#f1f4f6)}.cost-excluded .required-marker{display:none}.delivery-exclusion{max-width:30rem}
/* D1: isolated sensitivity workspace */
.scenario-controls{display:grid;grid-template-columns:1fr 2fr 120px;gap:18px;align-items:start;margin:24px 0}.scenario-controls label{display:grid;gap:8px;font-weight:600}.scenario-controls input,.scenario-controls select,.scenario-controls textarea{width:100%;box-sizing:border-box}.scenario-actions{display:flex;gap:10px;flex-wrap:wrap}.scenario-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.scenario-summary>div{padding:20px;background:#f1f6f5;border:1px solid #d7e5df;border-radius:12px;display:grid;gap:8px}.scenario-summary strong{font-size:1.35rem;color:#122440;direction:ltr;text-align:start}.scenario-summary span{font-size:.85rem;color:#516777}.scenario-chart{padding:16px;border:1px solid #e2e8f0;border-radius:12px}.scenario-chart:empty{display:none}.scenario-chart svg{width:100%;min-width:280px;display:block;direction:ltr}.scenario-chart circle:focus{outline:3px solid #d69c33}.scenario-chart small{color:#526578}.scenario-readout{min-height:1.5em;font-variant-numeric:tabular-nums}.scenario-baseline{background:#e9f5ee;font-weight:600}.scenario-sort{border:0;background:transparent;color:inherit;font:inherit;font-weight:600;padding:6px;cursor:pointer}.scenario-panel td{font-variant-numeric:tabular-nums}.scenario-panel table{min-width:900px;width:100%}.scenario-panel td,.scenario-panel th{padding:14px;text-align:start;border-bottom:1px solid #e2e8f0}.scenario-panel #scenario-status{padding:12px 0;color:#28574a}.scenario-panel button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:700px){.scenario-controls{grid-template-columns:1fr}.scenario-summary{grid-template-columns:1fr}.scenario-actions button{flex:1}.scenario-panel{padding:16px}.scenario-summary strong{font-size:1.2rem}}
.scenario-panel pre{max-height:380px;overflow:auto;font-size:.75rem;direction:ltr;text-align:left}.scenario-panel details{margin-top:20px}.scenario-panel .table-scroll{max-width:100%;overflow-x:auto}
/* D2: independent, report-ready decision comparisons */
.comparison-workspace{margin-top:28px}.comparison-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}.comparison-actions label{display:grid;gap:8px;flex:1;min-width:220px}.comparison-actions button{min-height:42px}.comparison-report{border-top:1px solid #e2e8f0;padding-top:22px}.comparison-report>p{overflow-wrap:anywhere;font-size:.85rem;color:#536579}.comparison-report label{display:grid;gap:8px;max-width:320px}.comparison-report table{min-width:850px;border-collapse:collapse;width:100%;margin-top:20px}.comparison-report th,.comparison-report td{padding:18px;text-align:start;border-bottom:1px solid #e2e8f0;vertical-align:top}.comparison-report td{min-width:170px}.comparison-report td strong,.comparison-report td small{display:block;margin-bottom:8px;font-variant-numeric:tabular-nums}.comparison-report td small{color:#536579}.comparison-report th:nth-child(2),.comparison-report td:nth-child(2){background:#edf6f1}.comparison-workspace .table-scroll{max-width:100%;overflow-x:auto}.comparison-bars{display:grid;gap:16px;margin:24px 0}.comparison-bar-row{display:grid;grid-template-columns:minmax(160px,1fr) 2fr minmax(140px,1fr);align-items:center;gap:14px;font-size:.85rem}.comparison-track{height:18px;background:#edf1f4;border-radius:5px;overflow:hidden;direction:ltr}.comparison-bar{display:block;height:100%;background:#233f61;border-radius:5px}.comparison-bar.baseline{background:#00845f}.comparison-bar-row strong{direction:ltr;text-align:start}.comparison-confirm{padding:20px;border:1px solid #c58b35;border-radius:12px;background:#fffaf0}.comparison-context{color:#28574a}.comparison-workspace .warning{padding:14px;background:#fff8e8;border:1px solid #e9c47d;border-radius:8px}.scenario-panel input[type=checkbox]{width:20px;height:20px;accent-color:#00845f}.comparison-workspace [role=status]{overflow-wrap:anywhere}@media(max-width:700px){.comparison-actions{display:grid;grid-template-columns:1fr}.comparison-actions label{min-width:0}.comparison-bar-row{grid-template-columns:1fr}.comparison-track{height:14px}.comparison-workspace{padding:16px}.comparison-report td{min-width:160px}}
.comparison-report pre{max-height:360px;overflow:auto;direction:ltr;text-align:left;font-size:.75rem}.comparison-report details{margin-top:22px}.comparison-report .table-scroll{scrollbar-gutter:stable}

.report-preview{width:100%;height:76vh;min-height:400px;border:1px solid var(--border,#d8e2e8);border-radius:12px;margin-top:24px;background:#edf3f5}#reports-workspace .actions{display:flex;gap:12px;flex-wrap:wrap}#reports-workspace select{max-width:100%;width:100%}#reports-workspace label{min-width:0}

.report-preview{box-sizing:border-box;overflow:auto;padding:20px;height:80vh}.report-preview canvas{display:block;width:100%;height:auto;max-width:794px;margin:0 auto 24px;box-shadow:0 2px 12px #11294020;background:white}@media(max-width:600px){.report-preview{padding:8px;min-height:260px}}

.market-pulse{margin-top:36px;padding:24px 20px;border:1px solid #dce7e8;border-radius:14px;background:linear-gradient(135deg,#122b3d,#183b43);color:#e7f1ef;min-width:0}.market-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.market-heading strong{font-size:11px;letter-spacing:1.4px;color:#b7d4cb}.market-heading button{background:transparent;border:1px solid #4d6b71;color:#e5eeeb;font-size:10px;padding:5px 10px}.market-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;align-items:start}.market-card{padding:14px 10px;border:1px solid #35525f;border-radius:9px;min-width:0;background:#ffffff06}.market-card>span:first-child{display:block;font-size:10px;color:#c5d6dc}.market-card .market-value{display:block;font-size:22px;color:#f0fbf5;letter-spacing:-.6px;font-weight:600;text-align:start;margin:9px 0 3px;overflow-wrap:anywhere}.market-card small{display:block;font-size:9px;color:#a4c2c5}.market-card .market-status{display:inline-block;font-size:9px;color:#b4d9c9;border-radius:4px;background:#365f5840;padding:2px 5px;margin:9px 0}.market-status.stale,.market-status.unavailable{color:#edc997;background:#8b6c3329}.market-card details{font-size:9px;line-height:1.8;overflow-wrap:anywhere}.market-card summary{cursor:pointer;color:#b3cacd}.market-card details p{color:#bdcfd1;margin:5px 0}.market-card a{color:#a8ddcd;text-decoration:underline}.market-card .market-date{display:block;font-size:13px;line-height:1.8;color:white;margin:8px 0}.date-card label{display:block;font-size:9px;color:#a4c2c5}.date-card select{background:#193743;color:#d6e7e2;border-color:#45636a;font-size:9px;padding:4px;max-width:100%;width:100%;margin-top:3px}.market-separation{color:#a7c3c6;font-size:9px;margin:15px 0 0}.market-card [dir=ltr]{unicode-bidi:isolate}[dir=rtl] .market-heading strong{letter-spacing:0}@media(max-width:1100px){.market-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}@media(max-width:600px){.market-pulse{padding:17px 12px;margin-top:24px}.market-strip{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:170px;overflow-x:auto;max-width:100%;padding-bottom:10px;scroll-snap-type:x proximity}.market-card{scroll-snap-align:start}.market-heading strong{font-size:10px}.market-heading button{font-size:9px}.market-card .market-value{font-size:22px}.market-separation{font-size:10px}}

#reports-workspace .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0 12px}#reports-workspace .form-grid label:has(input[type=checkbox]){grid-column:1/-1;display:flex;align-items:center;gap:12px}#reports-workspace input[type=checkbox]{width:18px;min-height:18px}#reports-workspace h1{font-size:28px;margin:0 0 12px}#reports-workspace>p{max-width:760px}#reports-workspace .form-grid label>span{display:block;margin-bottom:7px}.market-card .market-change{margin-top:7px;color:#cbdccb}@media(max-width:600px){#reports-workspace .form-grid{grid-template-columns:1fr}#reports-workspace h1{font-size:24px}}

@media(max-width:600px){.market-strip{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;overflow:visible;padding-bottom:0;scroll-snap-type:none}.market-card .market-value{font-size:20px}.market-card{padding:13px 9px}.market-card details{font-size:10px}}

/* Premium experience: presentation layer only. Source values, forms and chart geometry are untouched. */
:root{--navy:#102637;--green:#126d5c;--mint:#eaf4ef;--ink:#18313e;--muted:#61767d;--line:#dfe8e5;--bg:#f5f7f6;--shadow-soft:0 4px 22px #16382c05,0 1px 3px #16382c04}
body{background:radial-gradient(ellipse at 90% 0,#eaf1ec77,transparent 40%),var(--bg);-webkit-font-smoothing:antialiased}
h1,h2,h3{color:var(--ink);text-wrap:balance}h1{letter-spacing:-1.2px}p{ text-wrap:pretty}
button,.secondary,.primary{border-radius:10px;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.primary{background:linear-gradient(150deg,#18816b,#126454);border-color:#126b58;box-shadow:0 4px 9px #12645412;font-size:13px;padding:13px 22px}
.primary:hover{background:linear-gradient(150deg,#197961,#105949);box-shadow:0 6px 16px #12645423;transform:translateY(-1px)}
.primary:active,button:active{transform:translateY(0)}button:disabled{transform:none;box-shadow:none}
.secondary:hover{box-shadow:0 3px 10px #16382c08}.text-link{font-weight:600}.text-link:hover{text-decoration:underline;text-underline-offset:5px}
.sidebar{background:radial-gradient(ellipse at 0 0,#254d4b55,transparent 50%),linear-gradient(175deg,#102b3b,#0d202e);border-inline-end:1px solid #ffffff08}
.brand{letter-spacing:-.9px}.brand .mark{background:linear-gradient(140deg,#538b73,#234e44);box-shadow:inset 0 1px 0 #bad5b940,0 4px 15px #0002;border:1px solid #a0c6b32b;border-radius:11px}
.brand small{color:#a0b8bd}.nav{transition:background .2s ease,color .2s ease;min-height:44px;border:1px solid transparent}.nav:hover{background:#ffffff08}.nav.active{background:linear-gradient(100deg,#34645280,#244a4944);border-color:#86bba522;color:#effbf3;box-shadow:0 4px 14px #0000000a}.nav.active:before{background:#9bd3b7}
.topbar{background:#ffffffd9}.breadcrumb strong{font-weight:600}.workspace-context{box-shadow:0 3px 15px #19352e04}.project-emblem{border:1px solid #d7e6df;background:linear-gradient(140deg,#f4f8f4,#e4efe8)}
.storage-actions button{border-radius:6px}.storage-actions button:hover{color:var(--green)}.status-pill{border-radius:6px}#storage-status[data-status=saving]{color:#8a651f}#storage-status[data-status=error]{font-weight:650}#storage-status[data-status=saved]{color:var(--green)}
.page-heading{padding-bottom:4px}.page-heading h1{font-size:clamp(28px,2.65vw,39px);font-weight:650;line-height:1.25}.page-heading .lead{font-size:14px;max-width:680px;line-height:1.9}.eyebrow{font-size:10px;color:#477b6b;font-weight:650;letter-spacing:1.8px}
.panel{border-color:var(--line);border-radius:16px;box-shadow:var(--shadow-soft)}.section-heading h2{font-size:20px;letter-spacing:-.45px}.section-heading p{line-height:1.8}.section-kicker{font-size:11px;letter-spacing:.4px}
.empty-state{background:radial-gradient(ellipse at 50% 0,#eaf2eeaa,transparent 70%),#fff;border:1px solid var(--line);border-radius:18px;padding:48px 28px}.empty-symbol{border:1px solid #d4e5dd;background:#edf5ef;border-radius:16px;display:inline-grid;place-items:center;width:60px;height:60px}.empty-state h2{font-size:24px}.empty-state p{max-width:520px;margin-inline:auto;line-height:1.9}
.step-panel{padding:30px}.step-number{border-radius:10px;background:#edf5f0;border:1px solid #dbe9e0;color:var(--green)}.form-group{padding-bottom:9px}.form-group h3{font-size:14px;color:#20483d}.fields label{font-size:12px}.fields .hint,.fields small{font-size:11px;line-height:1.8}.fields{row-gap:25px}
input:not([type=checkbox]):not([type=range]),select,textarea{border-radius:9px;border-color:#d8e3dd;transition:border-color .16s,box-shadow .16s;background-color:#fff;min-height:42px}
input:not([type=checkbox]):not([type=range]):hover,select:hover,textarea:hover{border-color:#a9c3b7}input:focus,select:focus,textarea:focus{border-color:#24816a;box-shadow:0 0 0 3px #26826710}
input[aria-invalid=true],select[aria-invalid=true]{border-color:#b95649;background:#fffafa}.field-error{line-height:1.8}.step-link{border-radius:10px;transition:background .18s}.step-link.active{box-shadow:inset 0 0 0 1px #b9d7c8}.rail-note{border-radius:12px}.example-drawer{border:1px dashed #c9d9d0;background:#f9fbf9;border-radius:12px;padding:10px 18px}.example-drawer summary{font-size:12px}
.input-table{border:1px solid var(--line);border-radius:12px}.input-table thead th{background:#f1f6f3;font-size:10px;padding-block:14px}.input-table td{padding-block:13px}.allocation-top{background:#f4f8f5;border:1px solid #dfe9e1;border-radius:12px;padding:18px;margin-bottom:20px}.allocation-summary{font-size:11px}.review-ok{border-radius:12px;background:linear-gradient(100deg,#eaf5ee,#f4f9f4);font-size:12px;padding:18px}.action-bar{padding-block:20px}.builder-progress{padding:12px 15px;border:1px solid var(--line);background:#fff;border-radius:12px;min-width:185px}.progress-track{height:5px;background:#e7eee8;overflow:hidden}
.metric{border-radius:16px;padding:25px;box-shadow:var(--shadow-soft)}.metric label{font-size:11px;color:#58736a}.metric strong{font-weight:650;letter-spacing:-.8px}.metrics>.metric:first-child{background:radial-gradient(ellipse at 100% 0,#25756066,transparent 65%),linear-gradient(120deg,#102b3c,#123a3c);box-shadow:0 8px 20px #102b3c12}.metrics>.metric:first-child:after{font-size:26px}.metric small{font-size:11px;line-height:1.7}.metrics .metric:not(:first-child):before{content:'';position:absolute;inset-block-start:0;inset-inline:25px;height:2px;background:linear-gradient(90deg,#a9cbb8,transparent)}
.analytics-panel{padding:30px;margin-bottom:24px}.overview-nav{gap:8px}.overview-nav button{border:1px solid var(--line);background:white;border-radius:8px;font-size:11px}.overview-nav button:hover{border-color:#a9c6b8;background:#edf5ef}.chart-control{background:#f1f7f3;border-color:#d9e7de;border-radius:10px;padding:14px}.chart .cash-line{stroke-width:2.7}.chart .cash-area{fill:#1676680e}.chart-scroll{background:linear-gradient(180deg,#fbfdfc,#fff);border-radius:10px}.chart-scroll svg text{fill:#4c6660}.waterfall-cost{fill:#315e71}.waterfall-total{fill:#143e44}.waterfall-benefit{fill:#218363}
.table-wrap{border-radius:10px;scrollbar-width:thin}table th{background:#f4f7f5;color:#527068;font-size:10px}table td{border-color:#edf1ee}tbody tr:hover{background:#f7faf8}table tbody tr{transition:background .15s}.detail-metrics{border-radius:12px}.reconciliation-status{border-radius:0 10px 10px 0}.assurance-panel{background:linear-gradient(120deg,#eaf2ec,#f4f7f0);border-radius:14px}
.scenario-panel{border-top:3px solid #337f68}.scenario-controls{background:#f6f9f7;border:1px solid var(--line);padding:22px;border-radius:12px}.scenario-summary>div{background:linear-gradient(145deg,#edf5ee,#f7faf6);border-color:#d5e5da;border-radius:14px;padding:22px}.scenario-summary strong{font-size:24px;font-weight:650}.scenario-chart{background:linear-gradient(180deg,#f4f9f7,#fff);padding:22px;border-color:#dce7e0;border-radius:14px}.scenario-baseline{background:#edf6ef}.comparison-panel{border-top:3px solid #7c9d8a}.scenario-actions{gap:12px}
#reports-workspace{padding:32px;background:linear-gradient(120deg,#f6faf7 0,#fff 45%);border-top:3px solid #478a72}#reports-workspace h1{font-size:34px;font-weight:650;letter-spacing:-.9px}#reports-workspace>p{font-size:13px;line-height:1.9;color:var(--muted)}#reports-workspace .form-grid{padding:24px;background:#f4f8f5;border:1px solid #dfe8e0;border-radius:14px;margin-block:24px}#reports-workspace .form-grid label>span{font-size:12px;font-weight:600}.report-preview{border-radius:12px;background:#e9eeec;box-shadow:inset 0 0 0 1px #d6e1da}.report-preview canvas{box-shadow:0 5px 18px #16372b17}
.project-workspace{padding:0;border-radius:16px}.project-tools{padding:25px;background:#fcfdfb}.project-search{background:#fff;border-radius:10px;min-height:43px}.project-search input{min-height:38px!important}.filter-tabs{padding:4px;background:#edf3ee;border-radius:9px}.filter-tabs button{font-size:11px;border-radius:7px}.project-list-heading{background:#f2f6f2}.project-card{padding-block:24px;transition:background .2s}.project-card:hover{background:#f3f8f4}.project-card h3{font-size:13px}.project-icon{background:linear-gradient(145deg,#f1f7f0,#deece2);border:1px solid #d1e2d6;border-radius:11px;width:41px;height:41px}.recent-card{box-shadow:var(--shadow-soft);border-radius:14px;transition:transform .2s,box-shadow .2s,border-color .2s}.recent-card:hover{transform:translateY(-3px);border-color:#b4d1bf;box-shadow:0 10px 24px #14372809}.recent-heading{margin-top:36px}
.new-project-note{padding:30px;border-radius:16px;background:radial-gradient(ellipse at 100% 0,#dbeadc,transparent 80%),#edf3ef;border:1px solid #dce8de;align-self:start}.new-project-note .note-symbol{color:#487a66}.new-project-note h2{font-size:24px}.new-project-note p{font-size:13px}.new-project-card{padding:32px}.settings-panel{padding:30px}.settings-row{padding-block:25px}.settings-row p{font-size:12px;line-height:1.8}.settings-row strong{font-size:13px}.settings-panel .notice{border-radius:10px}

/* Original north-star motif. Labels are conceptual, never financial data. */
.north-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:38px;padding-block:12px 34px}.hero-copy{padding-block:20px;min-width:0}.hero-copy .eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 22px;font-size:10px}.north-spark{font-size:21px;color:#43866e}.hero-copy h1{font-size:clamp(38px,4.2vw,64px);font-weight:650;line-height:1.12;letter-spacing:-2.6px;margin:0 0 25px}.hero-copy h1 em{font-style:normal;color:#2b765e}.hero-intro{font-size:15px;color:#5b7175;line-height:1.95;max-width:480px;margin:0 0 27px}.hero-ctas{display:flex;gap:12px;flex-wrap:wrap}.hero-ctas .primary{gap:21px;padding:14px 20px}.hero-ctas .secondary{background:transparent;font-size:12px}.hero-reassurance{display:flex;gap:9px;align-items:start;font-size:10px;color:#6a8177;margin-top:20px}.hero-reassurance>span:first-child{color:#5d8d70;font-size:14px}
.north-motion{margin:0;min-width:0;border-radius:23px;overflow:hidden;background:radial-gradient(ellipse at 45% 37%,#235c5666,transparent 55%),linear-gradient(145deg,#142f40,#0b2330);color:#c7ddd6;box-shadow:0 20px 45px #153a3217,inset 0 0 0 1px #ffffff10;position:relative}.north-motion:before{content:'';position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(#a6c6b525 .7px,transparent .7px);background-size:23px 23px;mask-image:linear-gradient(transparent,#0006,transparent)}
.motion-topline{display:flex;justify-content:space-between;gap:15px;padding:22px 24px 0;color:#9dbab7;letter-spacing:1.6px;font-size:8px;font-weight:600;position:relative}.motion-topline>span:last-child{font-variant-numeric:tabular-nums;letter-spacing:2px}.motion-scene{position:relative;height:335px;overflow:hidden;direction:ltr}.orbit{position:absolute;border:1px solid #9ccbb416;border-radius:50%;left:50%;top:42%;transform:translate(-50%,-50%);pointer-events:none}.orbit-outer{width:270px;height:270px}.orbit-inner{width:185px;height:185px;border-style:dashed;border-color:#9ccbb424}.north-axis{position:absolute;width:1px;height:270px;left:50%;top:42%;transform:translate(-50%,-50%);background:linear-gradient(transparent,#9ccbb426,transparent)}
.north-core{position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);width:100px;height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:24px;background:linear-gradient(145deg,#2a6154,#173f3e);border:1px solid #79b79b77;box-shadow:0 0 45px #69b6981a;animation:north-beacon 14s ease-in-out infinite;z-index:2}.north-core svg{width:45px;height:45px;color:#e8f3dd;filter:drop-shadow(0 0 9px #b6dbbd44)}.north-core>span{font-size:12px;font-weight:650;letter-spacing:-.3px;color:#e2f0e8}
.signal{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);font-size:10px;border:1px solid #84b5a33d;border-radius:7px;padding:5px 9px;background:#24434b;white-space:nowrap;color:#c0d4d1;animation:north-gather 14s ease-in-out infinite;animation-delay:var(--delay,0s)}
.signal-1{--x:18%;--y:18%}.signal-2{--x:52%;--y:12%;--delay:.12s}.signal-3{--x:82%;--y:23%;--delay:.24s}.signal-4{--x:15%;--y:40%;--delay:.1s}.signal-5{--x:84%;--y:44%;--delay:.2s}.signal-6{--x:23%;--y:61%;--delay:.3s}.signal-7{--x:75%;--y:64%;--delay:.15s}.signal-8{--x:47%;--y:68%;--delay:.25s}
.clarity-results{position:absolute;left:8%;right:8%;bottom:1%;display:grid;grid-template-columns:1fr 1fr;gap:6px;animation:north-clarity 14s ease-in-out infinite}.clarity-results>span{background:#3a6b5833;border:1px solid #7dbb9d40;border-radius:6px;font-size:9px;color:#d5e6d6;padding:6px 4px;text-align:center}
.north-motion figcaption{position:relative;display:flex;gap:12px;align-items:start;justify-content:space-between;padding:21px 24px 23px;border-top:1px solid #92b9ac1a;margin-top:17px;background:#ffffff02}.north-motion figcaption strong{font-size:12px;color:#e4eee7;font-weight:550}.north-motion figcaption p{font-size:9px;line-height:1.8;color:#9fb7b7;max-width:245px;margin:5px 0 0}.north-motion figcaption button{flex:none;background:#ffffff07;border-color:#7ca69733;color:#c0d6cd;font-size:9px;padding:6px 8px;min-height:32px;border-radius:6px;margin-top:2px}.north-motion figcaption button:hover{background:#ffffff12}.motion-paused .signal,.motion-paused .north-core,.motion-paused .clarity-results{animation:none}.motion-paused .clarity-results{opacity:1}
.principle-strip{display:flex;justify-content:space-between;gap:16px;border-block:1px solid #dce6df;padding:20px 0;color:#61776b;font-size:11px}.principle-strip>span{display:flex;gap:8px;align-items:center}.principle-strip i{font-style:normal;color:#368361}.value-section{padding-block:48px 38px}.value-heading{max-width:620px;margin-bottom:25px}.value-heading .eyebrow{margin-bottom:12px}.value-heading h2{font-size:clamp(24px,2.5vw,32px);letter-spacing:-.8px;line-height:1.3;margin:0 0 12px}.value-heading>p:last-child{font-size:13px;color:var(--muted)}.value-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.value-card{display:flex;flex-direction:column;border:1px solid #dde7df;border-radius:15px;padding:25px;background:linear-gradient(135deg,#fff,#f9fbf7);box-shadow:var(--shadow-soft);color:var(--ink);transition:transform .2s,border-color .2s,box-shadow .2s;min-width:0}.value-card:hover{transform:translateY(-4px);border-color:#b2cdb9;box-shadow:0 12px 22px #193c2e09}.value-icon{font-size:10px;color:#669277;letter-spacing:1.4px;border-bottom:1px solid #e7eee5;padding-bottom:16px;margin-bottom:18px}.value-card h3{font-size:17px;line-height:1.5;margin:0 0 10px;letter-spacing:-.4px}.value-card p{font-size:12px;color:var(--muted);line-height:1.95;margin:0 0 22px}.value-link{color:var(--green);font-weight:600;font-size:11px;margin-top:auto}.value-link:after{content:'↗';margin-inline-start:12px}.home-actions{background:linear-gradient(140deg,#f0f6ee,#fff)}.home-actions h2{font-size:22px}.home-summary{border-top:3px solid #75a38a}.home-summary .key-value{font-size:12px}.home-summary .section-kicker{color:#3b745b}.home-actions p{font-size:12px;line-height:1.9}.home-action-list{gap:12px}.home-actions,.home-summary{padding:26px}
@keyframes north-gather{0%,18%,92%,100%{left:var(--x);top:var(--y);opacity:1;transform:translate(-50%,-50%) scale(1)}40%,78%{left:50%;top:42%;opacity:0;transform:translate(-50%,-50%) scale(.5)}}
@keyframes north-beacon{0%,25%,100%{box-shadow:0 0 35px #6fb59412}45%,75%{box-shadow:0 0 55px #6fb59433;border-color:#a1d5b8}}
@keyframes north-clarity{0%,26%,100%{opacity:.35;transform:translateY(7px)}45%,83%{opacity:1;transform:translateY(0)}}
[dir=rtl] .hero-copy h1{font-size:clamp(35px,3.65vw,55px);line-height:1.6;letter-spacing:0}[dir=rtl] .hero-copy .eyebrow,[dir=rtl] .motion-topline,[dir=rtl] .value-icon{letter-spacing:0}[dir=rtl] .north-motion figcaption{direction:rtl}[dir=rtl] .signal,[dir=rtl] .clarity-results>span{font-size:10px}[dir=rtl] .value-heading h2{line-height:1.7;letter-spacing:0}[dir=rtl] .page-heading h1{font-size:clamp(27px,2.65vw,36px);line-height:1.6}[dir=rtl] .reconciliation-status{border-radius:10px 0 0 10px}
@media(min-width:1550px){.north-hero{gap:60px;padding-block:25px 40px}.motion-scene{height:370px}.hero-copy h1{font-size:67px}.hero-intro{font-size:16px}}
@media(max-width:1100px){.north-hero{gap:24px}.hero-copy h1{font-size:43px;letter-spacing:-1.8px}.hero-intro{font-size:13px}.hero-ctas .primary{font-size:12px;padding:12px 15px}.hero-ctas .secondary{font-size:11px}.north-motion figcaption{flex-direction:column;gap:9px}.motion-scene{height:315px}.value-card{padding:21px}.signal{font-size:9px;padding:5px 7px}.principle-strip{font-size:10px}.analytics-panel{padding:25px}.step-panel{padding:25px}}
@media(max-width:820px){.north-hero{grid-template-columns:1fr;gap:15px}.hero-copy{max-width:650px}.hero-copy h1{font-size:57px}.hero-intro{max-width:540px;font-size:15px}.north-motion{max-width:650px;width:100%}.motion-scene{height:320px}.north-motion figcaption{flex-direction:row}.value-cards{grid-template-columns:1fr}.value-card{padding:24px}.value-card p{max-width:540px}.value-icon{margin-bottom:15px}.value-section{padding-block:35px 30px}.principle-strip{flex-wrap:wrap;gap:14px 25px}.welcome-grid{grid-template-columns:1fr}.hero-copy .eyebrow{margin-bottom:18px}}
@media(max-width:720px){.sidebar{background:linear-gradient(120deg,#102a3a,#123937);padding-top:22px}.sidebar .brand{font-size:25px}.nav{border-radius:8px;min-height:40px}.nav.active{border-color:#78bca733}.topbar{background:#fff}.workspace-context{position:static}.page-heading h1{font-size:29px}.page-heading .lead{font-size:13px}.north-hero{padding-top:0;padding-bottom:25px}.hero-copy h1{font-size:clamp(37px,8vw,55px);letter-spacing:-1.8px}.hero-intro{font-size:14px}.hero-copy{padding-top:5px}.hero-copy .eyebrow{font-size:9px}.hero-reassurance{font-size:10px}.motion-scene{height:310px}.north-motion{border-radius:18px}.north-motion figcaption{padding:18px;gap:10px}.north-motion figcaption p{font-size:9px}.north-motion figcaption strong{font-size:11px}.motion-topline{padding:20px 18px 0;font-size:8px}.north-motion figcaption button{font-size:9px}.hero-ctas .primary{font-size:12px}.value-heading h2{font-size:27px}.home-actions,.home-summary{padding:23px}.principle-strip{display:grid;grid-template-columns:1fr;font-size:11px;padding-block:20px;gap:11px}.panel{border-radius:13px}.step-panel,.analytics-panel{padding:21px}.section-heading h2{font-size:18px}.allocation-top{padding:14px;gap:16px}.new-project-note{padding:23px}.settings-panel{padding:23px}#reports-workspace{padding:21px}#reports-workspace h1{font-size:29px}#reports-workspace .form-grid{padding:16px;gap:17px}.scenario-controls{padding:17px}.scenario-chart{padding:13px}.scenario-summary>div{padding:17px}.metric{padding:21px 17px}.builder-progress{min-width:160px}.project-card{padding-block:20px}.empty-state{padding:34px 22px}.value-card h3{font-size:18px}[dir=rtl] .hero-copy h1{font-size:clamp(33px,7.5vw,48px)}[dir=rtl] .hero-intro{line-height:2}[dir=rtl] .value-heading h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){.signal,.north-core,.clarity-results{animation:none!important}.clarity-results{opacity:1!important;transform:none!important}.recent-card:hover,.value-card:hover,.primary:hover{transform:none}*{scroll-behavior:auto!important;transition:none!important}}
@media print{.north-motion .signal,.north-motion .north-core,.north-motion .clarity-results{animation:none!important}}
/* A: one bounded narrative; no perpetual animation or new financial outputs. */
.funding-grid-notice{grid-column:1/-1;margin:0;font-size:12px;line-height:1.9}
.investment-analysis{margin-top:25px;border-top:3px solid #43806b}.investment-analysis>p{max-width:880px;line-height:1.9}.investment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;background:#f5f9f6;border:1px solid var(--line);border-radius:12px;padding:22px;margin-block:22px}.investment-form label{display:grid;gap:8px;font-size:12px;font-weight:600;min-width:0}.investment-form input,.investment-form select{width:100%;min-width:0}.investment-form select{font-size:12px}.investment-history{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-block:24px}.investment-history select{min-width:200px;max-width:100%;font-size:12px}.investment-metrics{margin-top:24px;grid-template-columns:repeat(3,minmax(0,1fr))!important}.investment-metrics>.metric:first-child{grid-column:auto}.investment-analysis .scenario-chart{margin-top:20px}.investment-analysis .scenario-chart:empty{display:none}@media(max-width:700px){.investment-form,.investment-metrics{grid-template-columns:1fr!important}.investment-form{padding:16px}.investment-analysis{padding:21px}.investment-history{align-items:stretch;flex-direction:column}}
.north-motion .signal{animation:north-gather 11s ease-in-out 1 forwards}.north-motion .north-core{animation:north-beacon 11.5s ease-in-out 1 forwards}.north-motion .clarity-results{bottom:14%;animation:north-clarity 11s ease-in-out 1 forwards}.clarity-results>span:last-child{grid-column:1/-1}.signal-8{--y:61%}.signal-6{--y:58%}.signal-7{--y:58%}
.motion-finale{position:absolute;bottom:0;inset-inline:8%;text-align:center;display:grid;gap:3px;opacity:0;animation:north-finale 11s ease-out 1 forwards}.motion-finale strong{color:#eef5e5;font-size:15px;letter-spacing:-.4px}.motion-finale span{font-size:9px;line-height:1.7;color:#b7d3c6}.motion-scene{height:365px}.north-motion figcaption{flex-wrap:wrap;gap:8px}.north-motion figcaption>div{flex:1 1 170px}.north-motion figcaption button{font-size:9px}
.motion-paused .signal,.motion-paused .north-core,.motion-paused .clarity-results,.motion-paused .motion-finale{animation-play-state:paused!important}.motion-restarting .signal,.motion-restarting .north-core,.motion-restarting .clarity-results,.motion-restarting .motion-finale{animation:none!important}.motion-finished .signal{opacity:0;animation:none}.motion-finished .clarity-results,.motion-finished .motion-finale{animation:none;opacity:1;transform:none}.motion-finished .north-core{animation:none;box-shadow:0 0 40px #6fb59422}
@keyframes north-finale{0%,70%{opacity:0;transform:translateY(7px)}88%,100%{opacity:1;transform:none}}
@keyframes north-gather{0%,18%{left:var(--x);top:var(--y);opacity:1;transform:translate(-50%,-50%) rotate(-3deg)}9%{transform:translate(-45%,-60%) rotate(3deg)}43%,100%{left:50%;top:42%;opacity:0;transform:translate(-50%,-50%) scale(.4)}}
@keyframes north-beacon{0%,15%{opacity:0;transform:translate(-50%,-50%) scale(.8)}30%,100%{opacity:1;transform:translate(-50%,-50%) scale(1);box-shadow:0 0 55px #6fb59433}}
@media(max-width:720px){.motion-scene{height:355px}.north-motion figcaption>div{flex-basis:100%}.north-motion figcaption button{min-height:36px}}
@media(prefers-reduced-motion:reduce){.motion-finale{animation:none!important;opacity:1;transform:none}.north-motion .signal{opacity:0}.north-motion .clarity-results{opacity:1}.north-motion .north-core{animation:none!important;opacity:1}}

/* Isolated account dialog; existing financial forms and layout remain unchanged. */
.account-dialog{width:min(580px,calc(100vw - 32px));max-height:90dvh;border:1px solid #d4dfdf;border-radius:20px;padding:28px;background:#f8fafb;color:#102235;box-shadow:0 25px 90px #10223533}.account-dialog::backdrop{background:#102235b8;backdrop-filter:blur(5px)}.account-dialog form{display:grid;gap:14px;padding:18px 0;border-block-end:1px solid #d4dfdf}.account-dialog label{display:grid;gap:6px}.account-dialog input,.account-dialog select{width:100%;padding:12px;border:1px solid #b8c7cb;border-radius:8px}.account-dialog button{margin:6px 0}.account-dialog details{margin-block:18px}.account-dialog>div:first-child{display:flex;justify-content:space-between;gap:12px}.account-dialog li{padding-block:8px}.account-dialog p{line-height:1.7}

.account-context{max-inline-size:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:600px){.account-context{max-inline-size:140px}}

/* Product-first Home: editorial masthead, capability switchboard and real workspace. */
.guest-storage-notice{margin:0;padding:10px 32px;background:#edf4f1;border-block-end:1px solid #d8e5df;color:#436052;font-size:12px;line-height:1.5}
body[data-page=home] .workspace-context{display:none}
.home-v2{max-width:1500px;margin:0 auto;padding:6px 8px 24px}.home-intro-meta{display:flex;justify-content:space-between;gap:16px;padding:7px 0 24px;border-bottom:1px solid #d3dddb;font-size:10px;letter-spacing:.14em;color:#51645f}.home-edition{font-weight:750}.home-build{display:flex;align-items:center;gap:8px;letter-spacing:.02em}.home-build i{width:6px;height:6px;border-radius:50%;background:#268260}
.home-editorial{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,.8fr);gap:55px;padding:32px 0 32px;align-items:end}.home-overline{font:700 10px/1.5 'Segoe UI',sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#5a7469}.home-statement>.home-overline{color:#267051;margin:0 0 18px}.home-overline>span{font-size:22px;margin-inline-end:7px}.home-statement h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(40px,4.5vw,70px);font-weight:400;line-height:1.04;letter-spacing:-.05em;margin:0;color:#172e35}.home-statement h1>span,.home-statement h1>em{display:block}.home-statement h1>em{font-weight:400;color:#2a7558;letter-spacing:-.055em}.home-intro-aside{padding-bottom:4px}.home-coordinate{font:600 10px/1 monospace;letter-spacing:.12em;color:#8a9a92;display:block;margin-bottom:24px}.home-deck{font-size:16px;line-height:1.65;color:#53665f;margin:0 0 22px}.home-start{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:15px 18px;border:1px solid #225d48;border-radius:4px;background:#245f49;color:white;font-size:14px;font-weight:650;box-shadow:0 6px 13px #1022350b;text-decoration:none;transition:background .2s,transform .2s}.home-start:hover{background:#173f32;transform:translateY(-2px);color:white}.home-start>span:last-child{font-size:21px}.home-no-account{font-size:11px;line-height:1.6;color:#718178;margin:11px 0 19px}.home-explore{border:0;border-radius:0;background:none;padding:0;box-shadow:none;display:flex;gap:14px;font-size:12px;color:#425c52;text-align:start}.home-explore:hover{background:none;color:#1d5c41}
.home-section-label{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.home-section-label h2{font-size:17px;font-weight:600;letter-spacing:-.02em;margin:0}.home-section-label>span{font-size:11px;color:#77867f}.home-capabilities{scroll-margin-top:22px}.capability-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid #ced9d3;border-radius:5px;overflow:hidden;background:#fafbf8}.capability-tab{min-width:0;border:0;border-inline-end:1px solid #ced9d3;border-radius:0;box-shadow:none;padding:21px 21px 18px;background:transparent;display:flex;flex-direction:column;text-align:start;gap:17px;transition:background .18s,color .18s;position:relative}.capability-tab:last-child{border-inline-end:0}.capability-tab.selected{background:#183e32;color:#f3f7ef}.capability-tab:not(.selected):hover{background:#e8eee7}.capability-tab.selected:after{content:'';position:absolute;bottom:0;left:21px;right:21px;height:3px;background:#9acb8d}.cap-tab-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#74877b}.selected .cap-tab-top{color:#a1b6aa}.capability-state{font-size:9px!important;letter-spacing:0;font-weight:500;white-space:normal;padding:4px 7px;border:1px solid currentColor;border-radius:3px}.available{color:#397354}.selected .available{color:#c3e1b6}.planned{color:#7d827b}.selected .planned{color:#d5d7c6}.capability-tab strong{font-size:clamp(17px,1.8vw,24px);line-height:1.2;font-weight:550;letter-spacing:-.025em;max-width:250px;min-height:58px}.cap-tab-bottom{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#79857c;line-height:1.5}.selected .cap-tab-bottom{color:#b5c6bb}.cap-tab-bottom>span:last-child{font-size:17px}.home-capability-panel{margin-top:16px;display:grid;grid-template-columns:1.12fr 1fr;gap:50px;padding:35px 36px;background:#fff;border:1px solid #dce3de;border-radius:5px;min-height:370px}.capability-copy h3{font:400 34px/1.1 Georgia,serif;letter-spacing:-.035em;margin:12px 0 16px;max-width:450px;color:#1c363b}.capability-copy>p{font-size:13px;line-height:1.8;color:#6c7b72;max-width:460px}.capability-copy ul{padding:0;list-style:none;margin:20px 0;font-size:12px;color:#455f50;line-height:1.7}.capability-copy li{position:relative;padding-inline-start:18px;margin:7px 0}.capability-copy li:before{content:'↗';position:absolute;inset-inline-start:0;color:#377457}.capability-copy .home-start{display:inline-flex;min-width:230px;margin-top:5px}.capability-unavailable{padding:12px;border-inline-start:2px solid #a0a99b;background:#f5f6f1;font-size:12px!important}.decision-map{padding:20px 25px 13px;background:#f1f3ec;border-radius:4px;position:relative;overflow:hidden}.decision-map:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#536c4b08 1px,transparent 1px),linear-gradient(90deg,#536c4b08 1px,transparent 1px);background-size:22px 22px;pointer-events:none}.decision-map-header{display:flex;justify-content:space-between;gap:12px;font-size:8px;letter-spacing:.12em;color:#6f806d;position:relative}.decision-map-header>span:last-child{font-size:19px}.decision-map-body{padding:17px 10px 0;position:relative}.decision-node{padding:11px 15px;border:1px solid #d0dac9;background:#fafcf6;position:relative;max-width:260px}.decision-node>span:first-child{font:10px monospace;color:#8c9a80;position:absolute;right:12px;top:12px}.decision-node strong{display:block;font-size:13px;font-weight:600;color:#3b5140;padding-inline-end:28px}.decision-node small{display:block;font-size:9px;margin-top:4px;color:#809075}.decision-node-engine{margin-inline-start:18px}.decision-node-result{margin-inline-start:36px;background:#214c36;border-color:#214c36}.decision-node-result strong{color:#eff4e6}.decision-node-result small{color:#b3c3a5}.decision-connector{display:block;margin-inline-start:48px;line-height:22px;color:#849e73;font-size:14px}.decision-star{position:absolute;inset-inline-end:13px;bottom:12px;color:#c4ddb1;font-size:18px}.decision-map>p{position:relative;font-size:8px!important;line-height:1.6;color:#89927f;margin-top:15px}.planned-capability-art{border:1px dashed #c7d2c4;background:#f4f5ef;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:300px;color:#7a8973;text-align:center}.planned-symbol{font-size:90px;font-weight:200;line-height:1}.planned-capability-art strong{font-size:13px;text-transform:uppercase;letter-spacing:.15em}.planned-capability-art p{font-size:12px;margin:0}.home-working-section{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;padding:55px 0 45px;border-bottom:1px solid #d3dddb}.home-working-section h2{font:400 31px/1.15 Georgia,serif;letter-spacing:-.03em;margin:14px 0}.home-working-section p{font-size:13px;color:#758378;line-height:1.8}.home-work-links{display:flex;flex-wrap:wrap;gap:22px;margin-top:20px}.home-work-links a,.home-current>a,.home-section-label>a{font-size:12px;color:#286947;text-underline-offset:5px}.home-current{padding:22px 25px;background:#f0f3ec;border-radius:4px}.home-current #home-summary{font-size:13px;min-height:75px;margin:14px 0}.home-recent{padding:30px 0}.home-method{border-block:1px solid #d3dddb;padding:16px 0;margin-top:15px}.home-method>summary{font-size:13px;color:#5e7065}.home-method .north-motion{max-width:650px;margin:20px auto}.home-footer{display:flex;align-items:center;gap:20px;padding:25px 0 0;color:#718075;font-size:11px}.home-footer>span{font-size:17px;font-weight:650;color:#2c553e}.home-footer>p{flex:1}.home-footer>a{color:#285e43}
[dir=rtl] .home-statement h1,[dir=rtl] .capability-copy h3,[dir=rtl] .home-working-section h2{font-family:'Segoe UI',Tahoma,sans-serif;letter-spacing:-.025em;line-height:1.45}[dir=rtl] .home-statement h1{font-size:clamp(34px,4vw,58px)}
@media(min-width:1500px){.home-editorial{gap:90px}.home-statement h1{font-size:76px}}
@media(max-width:1000px){.home-editorial{gap:30px;grid-template-columns:1.3fr 1fr}.home-statement h1{font-size:46px}.home-capability-panel{gap:25px;padding:26px}.capability-tab{padding:16px 13px}.cap-tab-top{flex-wrap:wrap}.home-working-section{gap:35px}}
@media(max-width:650px){.guest-storage-notice{padding:9px 17px;font-size:10px}.home-v2{padding:0}.home-intro-meta{padding:8px 0 16px;flex-direction:column;gap:9px;letter-spacing:.09em;font-size:8px}.home-editorial{grid-template-columns:1fr;gap:22px;padding:27px 0 30px}.home-statement h1{font-size:43px;line-height:1.07}.home-statement>.home-overline{margin-bottom:13px}.home-coordinate{display:none}.home-deck{font-size:13px;line-height:1.7;margin-bottom:18px;max-width:340px}.home-start{padding:13px 16px}.home-no-account{font-size:10px;margin:10px 0 16px}.home-explore{font-size:11px}.home-section-label{align-items:start;gap:12px}.home-section-label h2{font-size:16px;line-height:1.4;max-width:235px}.home-section-label>span{display:none}.capability-tabs{grid-template-columns:1fr}.capability-tab{padding:15px 16px;gap:8px;border-inline-end:0;border-bottom:1px solid #ced9d3}.capability-tab:last-child{border-bottom:0}.capability-tab strong{font-size:20px;max-width:none;min-height:0}.cap-tab-top{font-size:10px;flex-wrap:nowrap}.capability-state{font-size:8px!important}.cap-tab-bottom{font-size:10px}.capability-tab.selected:after{inset-inline-start:0;inset-inline-end:auto;top:12px;bottom:12px;width:3px;height:auto}.home-capability-panel{grid-template-columns:1fr;gap:23px;padding:23px 18px;margin-top:12px}.capability-copy h3{font-size:30px}.capability-copy>p{font-size:12px}.capability-copy ul{font-size:11px}.capability-copy .home-start{display:flex;min-width:0}.decision-map{padding:18px 15px}.decision-node{max-width:220px}.decision-node strong{font-size:12px}.decision-node small{font-size:8px}.home-working-section{grid-template-columns:1fr;gap:25px;padding:32px 0}.home-working-section h2{font-size:29px}.home-working-section p{font-size:12px}.home-current{padding:20px}.home-recent{padding-top:25px}.home-footer{flex-wrap:wrap;gap:12px}.home-footer>p{flex-basis:100%;order:3;margin:0}.home-footer>a{margin-inline-start:auto}[dir=rtl] .home-statement h1{font-size:37px}}
@media(prefers-reduced-motion:reduce){.home-start,.capability-tab{transition:none}.home-start:hover{transform:none}}

@media(max-width:650px){body[data-page=home] .topbar{padding:10px 16px}body[data-page=home] .breadcrumb{display:none}body[data-page=home] .header-actions{width:100%;justify-content:space-between;gap:9px}body[data-page=home] #connection{flex:1;font-size:9px;max-width:none}body[data-page=home] #account-trigger{max-inline-size:160px;flex:none}}
/* Warm product system. One application canvas; no scaling or offset compensation. */
:root{--navy:#352c25;--green:#a84323;--mint:#f8eee5;--gold:#95652e;--ink:#29231f;--muted:#71665d;--line:#e5dace;--bg:#faf7f2;font-family:'Segoe UI Variable Text','Segoe UI',Tahoma,Arial,sans-serif}
body{font-size:17px;background:var(--bg);color:var(--ink)}
.sidebar{width:224px;background:#f1eae0;border-inline-end:1px solid var(--line);color:#57483c;padding:28px 16px}
.main{margin-inline-start:224px;min-width:0}main{width:100%;max-width:1392px;padding:32px;margin-inline:auto}
.brand,.sidebar .brand{color:#29231f}.brand small{color:#71665d;font-size:12px}.mark{background:#a84323;color:#fff}.sidebar nav a{color:#625449;font-size:15px;min-height:46px}.sidebar nav a.active{background:#fff;color:#963b20;border-color:#dfc6b2}.sidebar-bottom,.sidebar-bottom p,.nav-caption,.version-tag{color:#766657}.nav-caption{font-size:12px}.sidebar-bottom strong{font-size:13px}
.topbar{min-height:78px;height:auto;padding:16px 32px;background:#faf7f2;border-color:var(--line)}.breadcrumb{font-size:14px}.header-actions{gap:12px}.header-actions button{min-height:44px;font-size:14px}#connection{font-size:12px;color:#71665d}
button,.secondary,.primary{font-size:15px;min-height:44px;border-radius:10px;padding:10px 17px}button:hover,.secondary:hover{background:#f7eee4;border-color:#caa88d}.primary,.home-start{background:#a84323;border-color:#a84323;color:#fff}.primary:hover,.home-start:hover{background:#87351c;color:#fff;border-color:#87351c}a{color:#963b20}input,select,textarea{font-size:16px;min-height:46px;border-color:#d9cabd;border-radius:9px}input::placeholder{font-size:14px}.fields label,label.part-count,.candidate-label{font-size:15px;color:#55483d}.fields output{font-size:17px;background:#f8eee5;border-color:#e5dace;color:#963b20}label>small,.hint,.notice,.notice p,.field-error,.rail-note p,.selection-notice{font-size:14px!important;line-height:1.65}.help-dot{width:20px;height:20px;font-size:12px}
h1,h2,h3{color:#29231f;letter-spacing:-.035em}.page-heading h1,.builder-heading h1{font-size:36px}.lead,.page-heading p{font-size:17px}.panel,.step-panel,.analytics-panel,.metric{border-color:var(--line);border-radius:16px;box-shadow:0 3px 12px #492d1405}.fields{gap:24px}.form-group>h3{font-size:18px}.step-link strong{font-size:14px}.step-link small{font-size:12px}.step-link{min-height:60px;color:#71665d}.step-link.active{color:#963b20;border-color:#dfc6b2;background:#fff}.step-link.active>span{background:#a84323;border-color:#a84323}.workspace-layout{grid-template-columns:220px minmax(0,1fr);gap:24px}.step-panel{padding:28px}.key-value,details,.analytics-panel>p{font-size:15px}.metric label,.metric small{font-size:14px}.metric strong{font-size:29px}.metrics>.metric:first-child{background:#44342a;border-color:#44342a}.metrics>.metric:first-child label,.metrics>.metric:first-child small{color:#e9d9c8}.detail-metrics .metric label{font-size:14px}th{font-size:13px;background:#f6f0e8;color:#71665d}td,table{font-size:15px;color:#4a4038}.input-table input,#allocations select{font-size:16px}.pricing-row .stage-label,.pricing-row strong{font-size:14px}.chart text{font-size:12px;fill:#71665d}.chart .cash-line{stroke:#a84323}.pricing-fill,.pricing-row:last-child .pricing-fill{background:#a84323}.overview-nav button,.storage-bar,.storage-actions button,.command-bar .overline,.freshness,.action-bar #form-state{font-size:13px}.storage-bar,.command-bar,.workspace-context{border-color:var(--line)}.account-dialog{background:#faf7f2;color:#29231f;border-color:#e5dace}.account-dialog::backdrop{background:#29231f88}.guest-storage-notice{background:#f1eae0;border-color:#e5dace;color:#71665d;font-size:12px;padding:8px 32px}
/* Home uses a horizontal navigation rather than reserving a sidebar column. */
body[data-page=home] .sidebar{position:relative;inset:auto;width:100%;padding:22px max(32px,calc((100vw - 1328px)/2));flex-direction:row;align-items:center;gap:40px;background:#faf7f2;border:0;border-bottom:1px solid var(--line)}
body[data-page=home] .sidebar .brand{flex-shrink:0}body[data-page=home] .nav-caption,body[data-page=home] .sidebar-bottom{display:none}body[data-page=home] #navigation{display:flex;align-items:center;gap:6px;margin:0;margin-inline-start:auto}body[data-page=home] #navigation a{font-size:14px;min-height:44px;padding:10px 12px}body[data-page=home] #navigation a:not([href='#home']):not([href='#projects']):not([href='#calculator']):not([href='#scenarios']){display:none}body[data-page=home] #navigation a svg{display:none}body[data-page=home] .main{margin:0}body[data-page=home] .topbar{position:absolute;top:91px;inset-inline:0;max-width:1392px;margin:auto;justify-content:flex-end;padding:12px 32px;border:0;min-height:60px;background:transparent}body[data-page=home] .breadcrumb,body[data-page=home] #connection{display:none}body[data-page=home] main{padding-top:72px}body[data-page=home] .guest-storage-notice{position:relative;margin-top:0;padding:8px max(32px,calc((100vw - 1328px)/2));font-size:12px;max-width:none}body[data-page=home] .workspace-context{display:none}
.home-v2{max-width:none;padding:0}.home-editorial{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:56px;padding:40px 0 64px}.home-statement>.home-overline{font-size:14px;text-transform:none;letter-spacing:.02em;color:#963b20;margin:0 0 20px}.home-statement h1,.capability-copy h3,.home-working-section h2{font-family:inherit}.home-statement h1{font-size:clamp(42px,4.1vw,62px);font-weight:650;line-height:1.08;letter-spacing:-.055em;color:#29231f}.home-statement h1>em{font-style:normal;font-weight:650;color:#a84323;letter-spacing:-.055em}.home-deck{font-size:18px;line-height:1.7;color:#71665d;max-width:570px;margin:24px 0}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-actions .secondary{border-color:#d2bba8;font-size:15px}.home-start{font-size:16px;border-radius:10px;padding:14px 22px;display:inline-flex;gap:20px;min-height:52px;box-shadow:none}.home-no-account{font-size:13px;color:#71665d;margin:16px 0}.home-explore{font-size:14px;color:#963b20;min-height:44px;padding:0;background:transparent}.home-explore:hover{background:transparent}.home-section-label h2{font-size:24px;font-weight:600}.home-section-label>span{font-size:14px}.capability-tabs{border-radius:14px;border-color:#dfcfc0;background:#fff}.capability-tab{padding:24px;border-color:#e5dace;gap:14px}.capability-tab strong{font-size:24px;min-height:56px;color:#44342a;font-weight:600;max-width:none}.cap-tab-top,.cap-tab-bottom{font-size:13px;color:#766657}.capability-state{font-size:11px!important;border-radius:20px;padding:4px 9px}.capability-tab.selected{background:#f4e4d6;color:#44342a}.capability-tab.selected strong{color:#84381f}.capability-tab.selected:after{background:#b54c29;height:3px}.selected .cap-tab-top,.selected .cap-tab-bottom,.selected .available{color:#84381f}.available{color:#7b4827}.capability-tab:not(.selected):hover{background:#faf4ec}.home-capability-panel{border-radius:14px;padding:28px;gap:30px;min-height:0;border-color:#e5dace;grid-template-columns:1.3fr 1fr}.capability-copy h3{font-size:29px;font-weight:600;color:#44342a;max-width:none}.capability-copy>p,.capability-copy ul{font-size:15px;color:#71665d;line-height:1.7}.home-overline{font-size:12px;color:#91643a;letter-spacing:.05em}.capability-copy ul{margin:14px 0}.capability-copy li:before{color:#a84323}.capability-copy>a{font-size:15px;text-decoration:underline;text-underline-offset:5px}.decision-map{background:#f7f0e6;padding:22px}.decision-node{background:#fff;border-color:#e0cebb;max-width:280px}.decision-node strong{font-size:15px;color:#554332}.decision-node small{font-size:12px;color:#71665d}.decision-node-result{background:#6c452e}.decision-node-result strong{color:#fff}.decision-node-result small{color:#ead7c2}.decision-map-header{font-size:10px;color:#80684f}.decision-map>p{font-size:11px!important;color:#71665d}.planned-capability-art{min-height:230px;background:#f7f1e8;color:#816b57;border-color:#d9c4af;border-radius:12px}.planned-capability-art strong,.planned-capability-art p{font-size:14px}.home-working-section{padding:34px 0;gap:32px}.home-working-section h2{font-size:28px;font-weight:600}.home-working-section p,.home-current #home-summary{font-size:15px;color:#71665d}.home-work-links a,.home-section-label>a,.home-current>a{font-size:15px;color:#963b20}.home-current{background:#f1eae0;border-radius:12px}.home-recent{padding:30px 0}.home-method{display:none}.home-footer{font-size:13px;color:#71665d}.home-footer>span{color:#44342a}.home-footer>p{margin:0}.market-pulse{background:#f1eae0;border-color:#e5dace;border-radius:14px;margin-top:24px}.market-pulse button,.market-pulse summary{font-size:12px}.market-pulse li{background:#fffaf5;border-color:#e5dace}.market-pulse p{font-size:12px}
/* One finite SVG/CSS narrative. Geometry is illustrative, never financial evidence. */
.commercial-story{margin:0;background:#f1eae0;border:1px solid #dfcdbb;border-radius:22px;padding:20px;box-shadow:0 18px 45px #70431e0b;position:relative}.story-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px}.story-heading button{font-size:12px;background:transparent;padding:6px 9px;border-color:#d4bfa9}.story-canvas{height:370px;position:relative;direction:ltr}.story-paths{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.story-paths path{fill:none;stroke:#d7bea6;stroke-width:1.5}.story-paths .story-flow{stroke:#b94e29;stroke-width:2;stroke-dasharray:900;stroke-dashoffset:900;animation:story-route 8s ease forwards}.story-card{position:absolute;background:#fffdf9;border:1px solid #dfc8b1;border-radius:11px;padding:14px 16px;box-shadow:0 4px 14px #55331908;animation:story-arrive .8s both}.story-card strong{display:block;font-size:15px;font-weight:600;letter-spacing:-.02em}.story-signals{top:28px;left:0;width:54%;animation-delay:0s}.story-muted{font-size:11px;color:#806b57;display:block;margin-top:5px}.story-icon{float:right;color:#a84323;font-size:22px}.story-inputs{top:114px;right:0;width:52%;animation-delay:.8s}.story-step{font-size:11px;color:#a84323;float:right;margin-inline-start:10px}.story-lines{display:flex;gap:5px;margin-top:12px}.story-lines i{height:5px;background:#e7d5c2;border-radius:3px;width:32%}.story-lines i:nth-child(2){background:#b88746}.story-engine{top:207px;left:0;width:59%;animation-delay:2s}.story-checks{font-size:12px;color:#886548;margin-top:8px}.story-proposal{bottom:0;right:0;width:64%;background:#fff;border-color:#be8a60;animation-delay:3s}.story-proposal svg{width:100%;height:50px;margin-top:12px}.story-chart{fill:none;stroke:#a84323;stroke-width:2.5;stroke-dasharray:360;stroke-dashoffset:360;animation:story-chart 2s 3.6s ease forwards}.story-axis{fill:none;stroke:#e5dace}.story-tags{display:flex;justify-content:space-between;font-size:11px;color:#71665d}.commercial-story figcaption{font-size:11px;line-height:1.6;color:#766657;margin-top:20px}.story-paused *,.story-offscreen *{animation-play-state:paused!important}
@keyframes story-arrive{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes story-route{to{stroke-dashoffset:0}}@keyframes story-chart{to{stroke-dashoffset:0}}
button,a,input,select{transition:background .18s,border-color .18s,box-shadow .18s}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #95652e;outline-offset:3px}
[dir=rtl] .home-statement h1{font-family:'Segoe UI',Tahoma,sans-serif;font-size:clamp(36px,3.6vw,56px);line-height:1.4;letter-spacing:-.03em}[dir=rtl] .story-card{direction:rtl}[dir=rtl] .capability-copy h3,[dir=rtl] .home-working-section h2{font-family:'Segoe UI',Tahoma,sans-serif}
@media(min-width:1700px){.home-editorial{gap:80px}.home-statement h1{font-size:66px}}
@media(max-width:1100px){.sidebar{width:190px}.main{margin-inline-start:190px}main{padding:24px}.home-editorial{gap:28px}.workspace-layout{grid-template-columns:180px minmax(0,1fr)}body[data-page=home] .sidebar{padding:18px 24px;gap:18px}body[data-page=home] #navigation a{padding:8px;font-size:13px}.story-card strong{font-size:13px}.home-statement h1{font-size:44px}}
@media(max-width:760px){.sidebar{position:static;width:auto;padding:16px}.main{margin:0}.sidebar #navigation{display:flex;overflow:auto;gap:4px}.sidebar-bottom,.nav-caption{display:none}.sidebar nav a{flex-shrink:0}.brand{font-size:24px}.topbar{padding:12px 16px;min-height:60px}.header-actions{flex-wrap:wrap}.breadcrumb{display:none}main{padding:24px 18px}.workspace-layout{grid-template-columns:1fr}.builder-rail{position:static}.step-nav{flex-direction:row;overflow:auto}.step-link{min-width:150px}.rail-note{display:none}.fields{grid-template-columns:1fr}.metrics{grid-template-columns:1fr}.detail-metrics{grid-template-columns:1fr}.step-panel,.analytics-panel{padding:20px}.page-heading h1,.builder-heading h1{font-size:30px}.guest-storage-notice{font-size:11px;padding:8px 18px}.input-table{overflow:auto}.input-table table{min-width:650px}.pricing-row{grid-template-columns:105px minmax(0,1fr) 110px;gap:8px}.pricing-row .stage-label,.pricing-row strong{font-size:12px}.storage-actions{flex-wrap:wrap}.workspace-context{padding-inline:16px}body[data-page=home] .sidebar{padding:18px;display:flex;flex-wrap:wrap;gap:14px}body[data-page=home] #navigation{order:2;width:100%;margin:0;justify-content:space-between;overflow:visible;gap:0}body[data-page=home] #navigation a{font-size:12px;padding:8px 6px}body[data-page=home] .topbar{position:absolute;top:12px;inset-inline-start:auto;inset-inline-end:12px;padding:0;min-height:44px;width:auto}body[data-page=home] .header-actions{width:auto;gap:6px}body[data-page=home] #account-trigger{font-size:11px;padding:8px;max-width:130px}body[data-page=home] #language{font-size:12px;padding:8px}body[data-page=home] .sidebar .brand{font-size:21px;gap:8px}body[data-page=home] .brand .mark{width:32px;height:32px;font-size:23px}body[data-page=home] .brand small{display:none}body[data-page=home] main{padding-top:14px}body[data-page=home] .guest-storage-notice{padding:8px 18px;font-size:11px}.home-editorial{grid-template-columns:1fr;gap:28px;padding:24px 0 34px}.home-statement h1{font-size:43px;line-height:1.1}.home-statement>.home-overline{font-size:13px;margin-bottom:16px}.home-deck{font-size:17px;line-height:1.65;margin:20px 0}.hero-actions{gap:10px}.hero-actions .home-start,.hero-actions .secondary{font-size:14px;min-height:48px;padding:12px 15px}.home-no-account{font-size:12px}.commercial-story{padding:16px;border-radius:16px}.story-canvas{height:350px}.story-card{padding:12px}.story-card strong{font-size:12px}.story-heading{font-size:13px}.story-heading button{font-size:11px}.story-muted{font-size:10px}.story-engine{top:202px}.story-proposal{width:68%;bottom:0}.story-checks{font-size:10px}.home-section-label h2{font-size:23px}.capability-tabs{grid-template-columns:1fr}.capability-tab{padding:20px;gap:10px}.capability-tab strong{min-height:0;font-size:23px}.cap-tab-bottom{font-size:13px}.capability-tab.selected:after{width:3px;height:auto;inset-inline-start:0;top:14px;bottom:14px}.home-capability-panel{grid-template-columns:1fr;padding:22px;gap:22px}.capability-copy h3{font-size:27px}.capability-copy>p,.capability-copy ul{font-size:15px}.home-working-section{grid-template-columns:1fr;gap:20px}.home-working-section h2{font-size:27px}.home-working-section p{font-size:15px}.home-footer{flex-wrap:wrap}.home-footer p{flex-basis:100%}.home-section-label>a{font-size:13px}.market-pulse{margin-top:20px}[dir=rtl] .home-statement h1{font-size:38px;line-height:1.45}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}.commercial-story *{animation:none!important;opacity:1;transform:none}.story-paths .story-flow,.story-chart{stroke-dashoffset:0}}
/* Final composition corrections from the rendered desktop review. */
body[data-page=home] .sidebar{padding-inline-end:max(310px,calc((100vw - 1328px)/2 + 250px))}
body[data-page=home] .topbar{top:20px;inset-inline-start:auto;inset-inline-end:max(32px,calc((100vw - 1328px)/2));width:auto;padding:0;min-height:44px}
body[data-page=home] .guest-storage-notice{display:none}body[data-page=home] main{padding-top:24px}
.sidebar .mark{background:#a84323;background-image:none;box-shadow:none}.sidebar .brand>span:first-child{background:#a84323}.sidebar nav a.active:before{background:#a84323}
.story-canvas{height:410px}.story-proposal{width:70%}.story-engine{top:208px;width:60%}.story-proposal svg{height:45px}
@media(max-width:1100px) and (min-width:761px){body[data-page=home] .sidebar{padding-inline-end:240px;gap:15px}body[data-page=home] .brand small{display:none}body[data-page=home] #navigation a{font-size:12px;padding:8px 6px}body[data-page=home] .topbar{inset-inline-end:24px}.story-card strong{font-size:12px}}
@media(max-width:760px){body[data-page=home] .sidebar{padding:18px}body[data-page=home] .topbar{top:12px;inset-inline-end:12px;inset-inline-start:auto;padding:0}body[data-page=home] main{padding-top:8px}.story-canvas{height:410px}.story-engine{top:202px;width:75%}.story-proposal{width:84%}.commercial-story figcaption{font-size:12px}.story-muted{font-size:11px}}
body[data-page=home] .topbar{z-index:30}.story-canvas{height:440px}
@media(max-width:760px){.story-canvas{height:440px}}
/* Readable supporting content across the working calculator and results. */
.builder-progress>span,.builder-progress small,.rail-caption,.example-drawer summary,.example-drawer p,.review-ok,.snapshot-note,.peak-legend,.chart-control,.chart-readout,.assurance-panel p,.settings-row p,.settings-panel>label,.settings-row strong,.snapshot-row,.snapshot-row button{font-size:14px}.chart-control{padding:14px}.settings-row strong{font-size:16px}.assurance-panel h3{font-size:18px}.status-pill{font-size:12px}.account-context{font-size:14px}.home-working-section:has(.home-current #home-summary.empty){grid-template-columns:1fr}.home-working-section:has(.home-current #home-summary.empty) .home-current{display:none}.market-card{background:#fffaf5;border-color:#dfcdbb}.market-card>span:first-child{font-size:12px}.market-card small{font-size:12px}.market-status{font-size:11px}.market-value{color:#44342a}.home-recent .empty{font-size:15px;padding:16px;background:#f1eae0;border-radius:10px}
.story-step{float:none;position:absolute;inset-inline-end:14px;top:14px;margin:0}.story-card:not(.story-signals) strong{padding-inline-end:24px}.story-restarting *{animation:none!important}.section-heading h2,.form-group>h3,.builder-header .eyebrow,.page-heading .eyebrow{color:#44342a}.account-dialog{font-size:16px}.account-dialog input,.account-dialog select{font-size:16px}
@media(min-width:1700px){.home-statement h1{font-size:60px}}
/* GainNorth shared dark system: calm work surfaces, consistent controls. */
:root{--gn-bg:#15110d;--gn-surface:#211a13;--gn-raised:#2b221a;--gn-text:#fff5e5;--gn-muted:#d0c2af;--gn-border:#5d4934;--gn-amber:#f4b44d;--navy:#2b221a;--green:#f4b44d;--mint:#302518;--gold:#f4b44d;--ink:#fff5e5;--muted:#d0c2af;--line:#51402f;--bg:#15110d;color-scheme:dark;color:var(--gn-text)}
body{background:var(--gn-bg);color:var(--gn-text);font-size:16px}h1,h2,h3,h4{color:var(--gn-text)}p,label,small{color:inherit}a{color:#ffd187}button,.secondary{background:var(--gn-surface);border-color:var(--gn-border);color:var(--gn-text);font-size:14px;min-height:42px;padding:9px 15px}button:hover,.secondary:hover{background:#382a1a;border-color:#c48c3e}button:active{background:#49321b}button:disabled{opacity:.5}.primary{background:var(--gn-amber);border-color:var(--gn-amber);color:#21170c;font-size:14px;min-height:44px;padding:11px 18px}.primary:hover{background:#ffd187;border-color:#ffd187;color:#21170c}
input,select,textarea{background:#19140f;color:#fff5e5;border-color:#69523a;font-size:16px;min-height:44px;padding:10px 12px}input:hover,select:hover{border-color:#b18a55}input:focus,select:focus,textarea:focus{border-color:#f4b44d;box-shadow:0 0 0 3px #f4b44d18}input::placeholder{color:#ae9e8b;font-size:13px}input[aria-invalid=true],select[aria-invalid=true]{background:#3b201a;border-color:#e58f7c}.field-error,.global-error{color:#ffb7a5!important}.fields label,label.part-count,.candidate-label{color:#e6d7c4;font-size:14px}label>small,.hint,.notice,.notice p,.rail-note p{color:#c7b7a2;font-size:13px!important}.fields output{color:#ffd187;background:#302417;border-color:#70512c}.section-heading h2,.form-group>h3,.builder-header .eyebrow,.page-heading .eyebrow{color:#fff5e5}
.sidebar{background:#19140f;border-color:#4b3b2c;color:#d0c2af;padding-block:22px}.brand,.sidebar .brand{color:#fff5e5}.brand small{color:#c1af99}.mark,.sidebar .mark,.sidebar .brand>span:first-child{position:relative;overflow:hidden;isolation:isolate;background:#f4b44d;color:#21170c;box-shadow:none;background-image:none}.mark>span{display:none}.mark:after{content:'';position:absolute;inset:-30% -100%;background:linear-gradient(115deg,transparent 44%,#fff8da44 49%,transparent 54%);animation:brand-ember 16s linear infinite;pointer-events:none}.sidebar nav a{color:#d0c2af;font-size:14px;min-height:44px}.sidebar nav a.active{background:#322619;color:#ffd187;border-color:#70512c}.sidebar nav a.active:before{background:#f4b44d}.nav-caption,.sidebar-bottom,.sidebar-bottom p,.version-tag{color:#b6a48d}.topbar{background:#19140f;border-color:#4b3b2c;min-height:64px;padding-block:10px}.breadcrumb{font-size:13px}#connection{color:#c7b7a2;font-size:12px}.header-actions button{min-height:42px}.workspace-context,.command-bar,.storage-bar{background:#1c1610;border-color:#443526}.command-bar{padding-block:12px}.storage-bar{padding-block:8px}.project-identity .overline{display:none}.project-emblem{background:#302417;color:#ffd187}.project-identity strong{color:#fff5e5}.guest-storage-notice{background:#241c14;color:#c7b7a2;border-color:#443526;font-size:11px;padding-block:6px}.freshness,.status-pill,.state-badge{background:#352819;color:#ffd187;border-color:#6d502a}.status-pill{font-size:11px}.command-actions,.storage-bar,.storage-actions button{font-size:12px}.storage-actions button{min-height:34px;padding:6px 10px}.storage-bar .storage-actions{gap:5px}
main{padding-top:24px}.page-heading,.builder-header{margin-bottom:22px}.page-heading h1,.builder-header h1,.builder-heading h1{font-size:30px;line-height:1.2;margin-block:8px 10px}.page-heading .lead,.lead{font-size:15px;color:#c7b7a2}.eyebrow,.overline,.rail-caption{color:#c9aa7b}.builder-progress{background:#211a13;border-color:#51402f;padding:12px}.progress-track{background:#493a29}.panel,.step-panel,.analytics-panel,.metric,.settings-panel,.recent-card,.project-card,.scenario-panel,.scenario-control,.comparison-card,.assurance-panel,.account-dialog,.report-panel,.currency-settings{background:#211a13;border-color:#51402f;color:#fff5e5;box-shadow:none}.section-heading p,.analytics-panel>p,.key-value>span{color:#c7b7a2}.step-panel,.analytics-panel{padding:24px}.step-panel>.section-heading,.form-group+.form-group{border-color:#443526}.form-group>h3{font-size:17px}.step-link{color:#c7b7a2;border-color:transparent;background:none}.step-link strong{font-size:13px}.step-link small{color:#ae9c83}.step-link>span{border-color:#705737;color:#d9bb8e}.step-link.active{background:#302417;border-color:#70512c;color:#ffd187;box-shadow:none}.step-link.active>span{background:#f4b44d;border-color:#f4b44d;color:#21170c}.step-link.complete:not(.active)>span{background:#3b2c17;color:#ffd187;border-color:#70512c}.rail-note{border-color:#51402f}.advanced-fields,.notice,.selection-notice,.review-ok,.review-summary,.chart-control,.reconciliation-status,.snapshot-note,.insight{background:#2b2117;border-color:#69502f;color:#e7cfaa}.advanced-fields summary,summary{color:#ffd187}.example-drawer[open]{background:#211a13;border-color:#51402f}.example-drawer summary{font-size:13px;color:#d0c2af}.key-value{border-color:#443526;color:#fff5e5}.action-bar{border-color:#51402f}.action-bar #form-state{color:#c7b7a2}.error{background:#3a2019;border-color:#9b5b43;color:#ffd3c3}.empty{color:#c7b7a2}.help-dot{color:#d0b58e;border-color:#806341}.delete{color:#ffb7a5}
.table-wrap,.detail-metrics{border-color:#51402f}table{color:#fff5e5;font-size:14px}th{background:#2b2117;color:#d0c2af;border-color:#51402f;font-size:12px}td{color:#f4e6d2;border-color:#443526;font-size:14px}tbody tr:hover{background:#f4b44d08}.input-table input,.input-table select,#allocations select{background:#19140f;border-color:#69523a;color:#fff5e5;font-size:15px}.metric{background:#211a13;border-color:#51402f;padding:20px}.metric label,.metric small,.detail-metrics .metric label{color:#d0c2af;font-size:13px}.metric strong{font-size:26px}.metrics>.metric:first-child{background:#332515;border-color:#bc873e;color:#fff5e5}.metrics>.metric:first-child label,.metrics>.metric:first-child small{color:#ebd1a5}.metrics>.metric:first-child:after{color:#f4b44d}.detail-metrics .metric{background:#211a13;border-color:#51402f}.pricing-track{background:#392c1e}.pricing-row .stage-label{color:#d0c2af}.pricing-fill,.pricing-row:last-child .pricing-fill{background:#f4b44d}.pricing-row:nth-child(2) .pricing-fill{background:#a16b32}.pricing-row:nth-child(3) .pricing-fill{background:#b67d37}.pricing-row:nth-child(4) .pricing-fill{background:#d0923d}.overview-nav button{color:#d0c2af}.overview-nav button:hover{background:#332515;border-color:#70512c}.chart text,.chart-scroll svg text{fill:#d0c2af}.chart .grid-line{stroke:#4b3928}.chart .zero{stroke:#a98758}.chart .cash-line{stroke:#f4b44d}.chart .cash-area{fill:#f4b44d12}.chart-readout{color:#ffd187}.chart-control{background:#261d14;border-color:#69502f}.waterfall-cost{fill:#b68145}.waterfall-benefit{fill:#e5b75d}.waterfall-total{fill:#f4b44d}.snapshot-row,.settings-row{border-color:#51402f}.settings-row strong{color:#fff5e5}.settings-row p{color:#d0c2af}pre{background:#17120e;color:#e4cfb1}.assurance-panel{background:#261d14}.assurance-panel h3{color:#fff5e5}.assurance-panel p{color:#d0c2af}main>footer,main>footer strong{color:#d0c2af;border-color:#51402f}.footer-dot{color:#f4b44d}
dialog,.account-dialog{background:#211a13;border-color:#705737;color:#fff5e5;box-shadow:0 20px 70px #0007}dialog::backdrop{background:#0d0906c9;backdrop-filter:blur(3px)}dialog h2,dialog h3{color:#fff5e5}.account-dialog{width:min(490px,calc(100vw - 28px));padding:22px;max-height:90dvh;font-size:14px}.account-dialog>div:first-child{position:sticky;top:-22px;padding-block:10px;background:#211a13;z-index:2;display:flex;align-items:center;gap:10px}.account-dialog .mark{display:grid;place-items:center;flex:none;width:30px;height:34px;border-radius:7px;font-size:23px;font-weight:700}.account-dialog h2{font-size:18px;line-height:1.3;flex:1;margin:0}.account-dialog>p{font-size:13px;color:#d0c2af;line-height:1.6}.account-dialog>div:first-child button{font-size:12px;padding:7px 10px;min-height:38px}.account-dialog form{padding:15px 0;border-color:#51402f;gap:12px}.account-dialog form h3{font-size:18px;margin:0 0 4px}.account-dialog label{font-size:14px}.account-dialog input,.account-dialog select{background:#19140f;border-color:#705737;color:#fff5e5;font-size:16px;padding:10px;min-height:44px}.account-tabs{display:flex;gap:5px;padding:5px;background:#17120e;border-radius:9px;margin-block:14px}.account-tabs button{flex:1;font-size:12px;padding:8px 6px;border:0;background:transparent;color:#d0c2af;min-height:40px}.account-tabs button[aria-pressed=true]{background:#42301b;color:#ffd187}.account-dialog .notice:empty{display:none}.account-dialog .notice{font-size:13px}.account-dialog .account-close{color:#fff5e5}.account-dialog button.primary{width:100%;color:#21170c}.motion-paused .mark:after{animation-play-state:paused}
@keyframes brand-ember{0%{transform:translateX(-35%)}100%{transform:translateX(35%)}}
@media(max-width:760px){.topbar{min-height:58px}.sidebar{padding-block:15px}.page-heading h1,.builder-header h1,.builder-heading h1{font-size:26px}.step-panel,.analytics-panel{padding:18px}.command-bar{gap:10px;flex-wrap:wrap}.guest-storage-notice{font-size:11px}.storage-bar{gap:7px;flex-wrap:wrap}.metrics{gap:12px}.metric strong{font-size:25px}.account-dialog{padding:18px}.account-dialog>div:first-child{top:-18px}.account-dialog h2{font-size:16px}.account-dialog>div:first-child button{padding:6px;min-width:38px}}
@media(prefers-reduced-motion:reduce){.mark:after{animation:none}}
 .account-dialog input,.account-dialog select,.account-dialog textarea{background:#17120e;color:#fff5e5;border:1px solid #735a3e}
/* Explicit workspace surfaces override earlier screen-specific light styles. */
body:not([data-page=home]) :is(input,select,textarea){background:#17120e!important;color:#fff5e5!important;border-color:#735a3e!important}
body:not([data-page=home]) :is(th,.example-drawer,.step-number,.project-workspace,.project-tools,.project-list-heading,.empty-state,.empty-symbol,.filter-tabs,.filter-tabs button.selected,.scenario-controls,.scenario-chart,.scenario-summary>div,#reports-workspace .form-grid){background:#241c14!important;color:#e9d9c1!important;border-color:#5d4934!important}
body:not([data-page=home]) .project-card:hover{background:#302419}
body:not([data-page=home]) .empty-state{background:#211a13!important}
body:not([data-page=home]) :is(.field-hint,.helper,.section-note){color:#c7b7a2}
.account-dialog input,.account-dialog select,.account-dialog textarea{background:#17120e!important;color:#fff5e5!important;border-color:#735a3e!important}
body:not([data-page=home]) td{background:#211a13!important;color:#e9d9c1!important;border-color:#5d4934!important}
body:not([data-page=home]) .metric{background:#211a13!important;color:#fff5e5!important}
body:not([data-page=home]) .metrics>.metric:first-child{background:#342615!important}
body:not([data-page=home]) .overview-nav button{background:#2b221a!important;color:#e9d9c1!important;border-color:#735a3e!important}
body:not([data-page=home]) tr{background:transparent!important}
body:not([data-page=home]) .project-search{background:#17120e!important;border-color:#735a3e!important}
body:not([data-page=home]) .project-search button{background:transparent!important;color:#e9d9c1!important}
body:not([data-page=home]) .filter-tabs button.selected{background:#49351c!important;color:#ffd187!important}

/* Product correction sprint: no Home selectors or layout changes. */
body:not([data-page=home]) .new-project-note{background:#251d15!important;border:1px solid #655037;color:#e9d9c1!important}
body:not([data-page=home]) .new-project-note :is(h2,p,.note-symbol){color:#f0dfc7!important}
body:not([data-page=home]) select,body:not([data-page=home]) option{background:#211a13;color:#fff0d8;border-color:#735a3e;color-scheme:dark}
body:not([data-page=home]) :is(input,select,textarea):focus-visible{outline:2px solid #efb758;outline-offset:3px}
body:not([data-page=home]) :is(input,select,textarea):disabled{background:#2c261f;color:#c2b4a0;opacity:.8}
body:not([data-page=home]) [aria-invalid=true]{border-color:#f5a38e!important;outline-color:#f5a38e}
body:not([data-page=home]) .field-error{color:#ffb6a2}
body:not([data-page=home]) .table-wrap{overflow-x:auto}
body:not([data-page=home]) .table-wrap table{display:table!important;width:100%;border-collapse:collapse;table-layout:auto}
body:not([data-page=home]) .table-wrap :is(thead,tbody){display:table-row-group!important}
body:not([data-page=home]) .table-wrap tr{display:table-row!important}
body:not([data-page=home]) .table-wrap :is(th,td){display:table-cell!important;padding:12px 14px;text-align:start;vertical-align:top;min-width:85px}
body:not([data-page=home]) .table-wrap :is(td[data-numeric],th[data-numeric]){text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap}
body:not([data-page=home]) :is(.waterfall-svg,.timeline-svg){background:#1b1611;color:#e9d9c1}
body:not([data-page=home]) :is(.waterfall-svg,.timeline-svg,.scenario-chart) text{fill:#e9d9c1}
body:not([data-page=home]) .waterfall-cost{fill:#bd8b46}body:not([data-page=home]) .waterfall-total{fill:#f3c778}
body:not([data-page=home]) :is(.comparison-table,.scenario-table) :is(strong,bdi),body:not([data-page=home]) .scenario-summary strong{color:#fff0d8!important}
.timing-marker{display:flex;gap:16px;flex-wrap:wrap;align-items:center;padding:14px;border:1px solid #80613a;border-radius:8px}

body:not([data-page=home]) .schedule-scroll{overflow:auto;max-height:620px;border:1px solid #5d4934;border-radius:10px}
body:not([data-page=home]) .timeline-controls{display:flex;gap:10px;margin:14px 0}.timeline-controls [aria-pressed=true]{background:#5c4121;color:#ffe2aa}
body:not([data-page=home]) .timeline-svg text{font-size:12px}
body:not([data-page=home]) :is(.quotation-section,.import-tools){display:flex;flex-wrap:wrap;gap:14px;align-items:end;padding:18px}
body:not([data-page=home]) :is(.quotation-section,.import-tools) :is(h2,p,.table-wrap){flex-basis:100%}
body:not([data-page=home]) .quotation-section label{min-width:180px}
body:not([data-page=home]) .overdue td:first-child{border-inline-start:3px solid #f3a88b!important}
body:not([data-page=home]) #execution-roadmap :is(input,select){min-width:150px}
body:not([data-page=home]) .scenario-chart svg [fill='#334155']{fill:#f4dfbd}body:not([data-page=home]) .scenario-chart svg [stroke='#059669']{stroke:#e7b861}body:not([data-page=home]) .scenario-chart svg [fill='#059669']{fill:#e7b861}

body:not([data-page=home]) [hidden],body:not([data-page=home]) table td[hidden],body:not([data-page=home]) table th[hidden]{display:none!important}
body:not([data-page=home]) #reports-workspace{background:#211a13!important;color:#f0dfc7!important;border:1px solid #695139}
body:not([data-page=home]) #reports-workspace :is(h1,p,label){color:#f0dfc7!important}
body:not([data-page=home]) .chart-scroll{background:#1b1611!important;border-color:#695139}
body:not([data-page=home]) #profit-metrics{display:block!important}
body:not([data-page=home]) #profit-metrics table{width:100%}
body:not([data-page=home]) table[data-source] :is(td[data-numeric],th[data-numeric]){text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap}
body:not([data-page=home]) :is(#guarantee-metrics,#profit-comparison){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:680px){body:not([data-page=home]) :is(#guarantee-metrics,#profit-comparison){grid-template-columns:1fr}}

/* Products import only: allocation workflow and Home remain untouched. */
body:not([data-page="home"]) .product-import-tools {display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:18px;border:1px solid var(--border,#58452e);border-radius:12px;}
body:not([data-page="home"]) .product-import-tools .button {padding:11px 15px;border:1px solid #766040;border-radius:8px;color:inherit;text-decoration:none;white-space:nowrap;}
body:not([data-page="home"]) .product-import-tools p,body:not([data-page="home"]) .product-import-tools .table-wrap,body:not([data-page="home"]) .product-import-tools [role="group"] {flex-basis:100%;margin:0;overflow-wrap:anywhere;}
body:not([data-page="home"]) .product-import-tools [hidden] {display:none!important;}
body:not([data-page="home"]) .products-currency-control {display:flex;align-items:center;gap:16px;margin:16px 0;max-width:450px;}
body:not([data-page="home"]) .product-cell-error {display:block;white-space:normal;min-width:100px;}
body:not([data-page="home"]) .product-import-tools a:focus-visible {outline:2px solid #f8b94e;outline-offset:3px;}
@media(max-width:600px){body:not([data-page="home"]) .product-import-tools>button,body:not([data-page="home"]) .product-import-tools>a,body:not([data-page="home"]) .product-import-tools>select{width:100%;text-align:center;}body:not([data-page="home"]) .products-currency-control{align-items:stretch;flex-direction:column;gap:6px;}}
/* Manual-first Products workspace; no allocation/Home selectors. */
body:not([data-page="home"]) .product-add-button{margin:12px 0 18px;}
body:not([data-page="home"]) .product-import-tools{padding:12px;gap:8px;}
body:not([data-page="home"]) .product-import-tools h4{flex-basis:100%;margin:0 0 4px;font-size:14px;}
body:not([data-page="home"]) .product-import-actions{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px;}
body:not([data-page="home"]) .product-import-actions .primary{background:#e4ac54;color:#21160d;}
@media(max-width:600px){body:not([data-page="home"]) .product-import-actions button{width:100%;}}
/* Read-only origin values in Products only. */
body:not([data-page="home"]) #items .product-total-value{background:rgba(228,172,84,.06);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:center;vertical-align:middle;color:#f4dbad;min-width:140px;}
body:not([data-page="home"]) #items~tfoot th,body:not([data-page="home"]) #items~tfoot td{border-top:2px solid #aa8043;font-weight:700;padding:16px 12px;background:rgba(228,172,84,.09);}
body:not([data-page="home"]) #items~tfoot .product-total-value{text-align:center;white-space:nowrap;color:#f4dbad;}
body:not([data-page="home"]) table:has(>#items) .product-total-heading{text-align:center;}
[dir="rtl"] #items .product-total-value,[dir="rtl"] #items~tfoot .product-total-value{direction:ltr;}
/* Delivery allocation workspace only. */
body:not([data-page="home"]) [data-step="1"] .allocation-top{background:#251d15;border:1px solid #655037;color:#f0dfc7;}
body:not([data-page="home"]) [data-step="1"] .allocation-summary{color:#c7b7a2;}
body:not([data-page="home"]) #parts{width:100%;max-width:240px;min-height:46px;border:1px solid #735a3e;border-radius:9px;padding:10px 12px;font:inherit;color-scheme:dark;}
body:not([data-page="home"]) #allocations :is(input,select){min-width:130px;width:100%;}
body:not([data-page="home"]) #allocations .allocation-available{display:block;max-width:260px;margin-top:5px;font-size:11px!important;line-height:1.5;}
body:not([data-page="home"]) .allocation-import-tools{margin-block:16px 24px;}
body:not([data-page="home"]) #allocation-part-shares :is(th,td){text-align:center;}
body:not([data-page="home"]) #allocation-part-shares tfoot :is(th,td){border-top:2px solid #aa8043;font-weight:700;background:rgba(228,172,84,.07);}
body:not([data-page="home"]) #allocation-part-shares{margin-top:24px;}
@media(max-width:600px){
 body:not([data-page="home"]) .table-wrap table.allocation-manual-table{display:block!important;min-width:0!important;width:100%;}
 body:not([data-page="home"]) .table-wrap table.allocation-manual-table thead{display:none!important;}
 body:not([data-page="home"]) #allocations{display:block!important;}
 body:not([data-page="home"]) #allocations tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:14px;gap:12px;border-bottom:1px solid #51402f;}
 body:not([data-page="home"]) #allocations td{display:block!important;padding:0;border:0;min-width:0;}
 body:not([data-page="home"]) #allocations td:first-child{grid-column:1 / -1;grid-row:1;padding-inline-end:46px;}
 body:not([data-page="home"]) #allocations td:nth-child(2){grid-column:1;grid-row:2;}
 body:not([data-page="home"]) #allocations td:nth-child(3){grid-column:2;grid-row:2;}
 body:not([data-page="home"]) #allocations td:last-child{grid-column:2;grid-row:1;justify-self:end;align-self:end;}
 body:not([data-page="home"]) #allocations td[data-allocation-label]:before{content:attr(data-allocation-label);display:block;color:#c7b7a2;font-size:12px;margin-bottom:6px;}
 body:not([data-page="home"]) #allocations :is(input,select){min-width:0;max-width:100%;}
}
/* Compact project actions: existing handlers and persistence state only. */
body:is([data-page=projects],[data-page=new]) .workspace-context{display:none}
body[data-page=calculator] .workspace-context{display:flex;align-items:center;flex-wrap:wrap;padding-inline:38px;gap:4px 16px}
body[data-page=calculator] .command-bar{flex:1;min-width:0;padding-inline:0}
body[data-page=calculator] .command-actions,body[data-page=calculator] #project-record-label{display:none}
body[data-page=calculator] .storage-bar{padding-inline:0;border:0;min-height:0}
body[data-page=calculator] .storage-actions{align-items:center;flex-wrap:wrap}
body[data-page=calculator] .global-error{flex-basis:100%;padding-inline:0}
body[data-page=calculator] .project-identity{flex-wrap:wrap}
body[data-page=calculator] .storage-actions button{color:#f5ead9}
body[data-page=calculator] .storage-actions button:disabled{color:#b6a895;opacity:.65;cursor:not-allowed}
.project-action-menu{position:relative;margin:0;padding:0;border:0;flex:none}
.project-action-menu>summary{display:grid;place-items:center;list-style:none;cursor:pointer;min-width:38px;min-height:36px;border:1px solid #705737;border-radius:7px;color:#f5ead9;font-size:23px;line-height:1}
.project-action-menu>summary::-webkit-details-marker{display:none}
.project-action-popover{position:absolute;inset-inline-end:0;top:calc(100% + 5px);z-index:40;display:grid;gap:3px;min-width:190px;padding:7px;background:#2b2118;border:1px solid #705737;border-radius:9px;box-shadow:0 8px 24px #0006}
.project-action-popover :is(button,a){display:block;text-align:start;white-space:nowrap;color:#f5ead9!important;background:transparent;border:0;padding:9px 11px;font-size:12px;border-radius:5px}
.project-action-popover :is(button,a):hover{background:#443321}
.project-action-menu :focus-visible{outline:2px solid #ffc264;outline-offset:3px}
body[data-page=projects] .project-card{overflow:visible}
@media(max-width:760px){body[data-page=calculator] .workspace-context{padding-inline:18px;gap:0}body[data-page=calculator] .command-bar{flex-basis:100%}body[data-page=calculator] .storage-bar{padding-top:0;padding-bottom:10px}body[data-page=calculator] #context-name{max-width:min(65vw,330px)}}

.project-action-popover .project-delete-action,dialog .project-delete-action{color:#f2afa0!important;background:#36231d;border:1px solid #765044}.project-delete-action:hover{background:#4b2c23!important}.project-delete-action:focus-visible{outline:2px solid #ffd187;outline-offset:3px}

/* My Projects only: omit guest explanations without reserving their space. */
body[data-page=projects] #guest-storage-notice,body[data-page=projects] [data-i18n="Your guest drafts and calculation versions, saved for this browser."],body[data-page=projects] [data-i18n="Guest records belong to this browser and local server. Company records stay separate."]{display:none}

/* New Project: no guest banner or empty information-column space. */
body[data-page=new] #guest-storage-notice{display:none}
body[data-page=new] .new-project-card{max-width:1100px}

/* Portal geometry only; keep the existing menu surface and action styling. */
.project-list-popover[popover]{position:fixed;inset:auto;margin:0;box-sizing:border-box;overflow:auto;min-width:min(190px,calc(100vw - 16px))}
.project-list-popover[popover]:not(:popover-open){display:none}
.project-list-popover:focus-visible,.project-list-popover :focus-visible{outline:2px solid #ffc264;outline-offset:3px}

/* Read-only timing references share the existing two-column field grid. */
.timing-reference-card{align-self:start;min-width:0;padding:16px;background:#2b2117;color:#ead9bf;border:0;border-radius:9px;font-size:13px;line-height:1.8}
.timing-reference-card small{display:block;color:#c9aa7b;font-size:11px;margin-bottom:7px}.timing-reference-card p{margin:0;color:inherit;font-size:13px}.timing-reference-card strong{color:#ffd187;font-size:15px;font-variant-numeric:tabular-nums}

.manufacturer-advance-field{grid-column:1}.timing-reference-card strong{display:inline!important}

/* Financial Overview only: compact, source-backed commercial presentation. */
body[data-page=analysis] #guest-storage-notice,body[data-page=analysis] #snapshot-context,body[data-page=analysis] #project-actions-menu{display:none!important}
body[data-page=analysis] #metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body[data-page=analysis] #metrics>.metric{grid-column:auto!important;min-height:142px;display:flex;flex-direction:column;justify-content:space-between;padding:20px 16px}
body[data-page=analysis] #metrics>.metric strong{font-size:clamp(17px,1.65vw,26px);white-space:nowrap;overflow-wrap:normal;letter-spacing:-.04em;text-align:start}
body[data-page=analysis] #metrics>.metric:first-child strong{font-size:clamp(18px,1.75vw,28px);color:#ffd187}
body[data-page=analysis] #metrics>.funding-grid-notice{grid-column:1/-1}
.project-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 36px;margin:20px 0 0}
.project-summary-grid>div{min-width:0;border-bottom:1px solid #51402f;padding-bottom:13px}.project-summary-grid dt{font-size:13px;color:#d0c2af}.project-summary-grid dd{margin:7px 0 0;font-size:17px;color:#fff5e5;overflow-wrap:anywhere}
body[data-page=analysis] .quotation-section{gap:16px 24px;align-items:start;padding:24px}
.quotation-section label{display:flex;flex-direction:column;gap:8px;max-width:440px}.quotation-section small{color:#d0c2af;line-height:1.6}.quotation-output,.quotation-section>details{flex-basis:100%;min-width:0}.quotation-output>strong,.quotation-historical>strong{font-size:clamp(26px,3vw,40px);color:#ffd187;display:block;direction:ltr;text-align:start;font-variant-numeric:tabular-nums}.quotation-output p,.quotation-historical p{font-size:14px;overflow-wrap:anywhere}.quotation-history-row{display:grid;grid-template-columns:1fr auto;gap:8px 20px;padding:16px 0;border-bottom:1px solid #51402f}.quotation-history-row small{grid-column:1}.quotation-history-row button{grid-column:2;grid-row:1/3}.quotation-historical:empty{display:none}.quotation-historical{border-inline-start:2px solid #bc873e;margin-top:18px;padding-inline-start:18px}
@media(max-width:1050px){body[data-page=analysis] #metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page=analysis] #metrics>.metric strong{font-size:24px}}
@media(max-width:520px){.project-summary-grid{grid-template-columns:1fr;gap:16px}body[data-page=analysis] #metrics>.metric{padding:16px 12px}body[data-page=analysis] #metrics>.metric strong,body[data-page=analysis] #metrics>.metric:first-child strong{font-size:18px}.quotation-history-row{grid-template-columns:1fr}.quotation-history-row button{grid-column:1;grid-row:auto}}

body[data-page=analysis] :is(#project-record-label,#calculation-status,.command-new){display:none!important}
body[data-page=analysis] #project-history{color:#f2e6d4;font-size:12px}
body[data-page=analysis] #metrics>.metric{display:grid;grid-template-rows:38px 42px minmax(38px,auto);align-items:center;gap:4px}
body[data-page=analysis] #metrics>.metric :is(strong,small){margin-top:0}

body[data-page=analysis] .quotation-section>p:empty{display:none}body[data-page=analysis] .quotation-section>h2,body[data-page=analysis] .quotation-section>details{margin:0}

/* Focused commercial presentation and applicable-result workspaces. */
.product-commercial-controls{display:flex;flex-wrap:wrap;gap:18px;align-items:end;margin-bottom:18px}.product-commercial-controls>label{display:grid;gap:8px;min-width:220px;flex:1}
body[data-page=analysis] #quotation-workspace{display:block;padding:24px}.quotation-controls{display:grid;grid-template-columns:minmax(140px,1fr) minmax(200px,1fr) minmax(210px,1.1fr);gap:20px;align-items:end;margin-top:20px}.quotation-controls>label{margin:0;max-width:none;min-width:0!important;display:flex;flex-direction:column;gap:8px}.quotation-controls :is(input,select,button){min-height:48px;box-sizing:border-box;margin:0;width:100%;font-size:14px}.quotation-controls button{align-self:end;line-height:1.3;padding:10px 14px}.quotation-risk-help{font-size:13px!important;color:#dbc9b0;max-width:850px;line-height:1.7;margin:12px 0 18px}.quotation-output{margin-top:22px}.quotation-output strong{font-size:clamp(28px,3vw,40px)}.quotation-section>details{margin-top:20px!important}
.project-summary-grid dt{font-size:15px;color:#e8d7c0}.project-summary-grid dd{font-size:18px;font-weight:600;color:#fff5e5;line-height:1.6}#overview-items :is(th,td){font-size:15px;padding:15px 18px}#overview-items th{color:#f7dfb8;font-weight:650;background:#302317}#overview-items td{color:#f7edde}#overview-items td[data-numeric]{font-weight:600}#overview-items h3{font-size:18px;margin-top:22px}
.overview-nav{gap:8px;margin:24px 0 18px;flex-wrap:wrap!important}.overview-nav button{border:1px solid #5e4931;color:#f2e5cf;padding:11px 15px;border-radius:8px;font-size:13px}.overview-nav button.active{background:#49331b;border-color:#d6a657;color:#ffcf82}.overview-nav button:focus-visible{outline:2px solid #ffc563;outline-offset:3px}#analysis-panels>.panel{margin-top:0}
body[data-page=analysis] .investment-form{background:#261d14;border-color:#70532e;color:#f7ead6}.investment-form label,.investment-history{color:#f0dec4}.investment-form :is(input,select),.investment-history select{background:#19140f;color:#fff2dd;border:1px solid #82623b}.investment-form :is(input,select):disabled,.investment-analysis button:disabled{color:#bdb09d;background:#29231b;opacity:.75}.investment-analysis>p{color:#d9c8ae}.investment-analysis .investment-metrics .metric{background:#241b13;border-color:#685035}
body[data-has-calculation=false][data-page=analysis] #results>:not(#analysis-empty),body[data-has-calculation=false][data-page=scenarios] [data-page=scenarios]>:not(#scenario-empty){display:none!important}
@media(max-width:760px){.quotation-controls{grid-template-columns:1fr;gap:16px}.quotation-controls>label{min-width:0}.quotation-controls button{width:100%}.product-commercial-controls{flex-direction:column;align-items:stretch}.product-commercial-controls>label{min-width:0}.overview-nav{display:grid;grid-template-columns:1fr 1fr}.overview-nav button{font-size:12px;padding:10px}.project-summary-grid dd{font-size:17px}}

body[data-page=analysis] #quotation-workspace .quotation-controls :is(input,select,button){height:48px;min-height:48px}

body[data-page=analysis] #investment-analysis :is(.hint,[role=status]){color:#e5d1b4}

/* Focused Calculator UX: aligned controls, compact guidance and independent help. */
#project-form .product-commercial-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:end}#project-form .product-commercial-controls>label{min-width:0;max-width:none;width:auto;margin:0;display:flex;flex-direction:column;gap:9px}#project-form .product-commercial-controls select{height:48px;min-height:48px;box-sizing:border-box;margin:0}
#project-form .required-marker,#project-form .help-dot,#project-form [data-help-moved=true]{display:none!important}.required-legend{font-size:13px;color:#e2c48f;margin:0 0 18px}.required-star{color:#ffc96c;font-size:16px;font-weight:700;margin-inline-start:5px;line-height:1}.field-unit{color:#d9c5a7;font-size:12px;font-weight:500;margin-inline-start:7px;white-space:nowrap}.field-help-button{display:inline-flex!important;align-items:center;justify-content:center;vertical-align:middle;width:26px;height:26px;min-height:26px!important;min-width:26px;padding:0!important;margin:0 0 0 7px;margin-inline-start:7px;margin-inline-end:0;border:1px solid #93713d;border-radius:50%;color:#f4d3a0;background:#302316;font-size:14px!important;font-family:Georgia,serif;font-weight:700;line-height:1;cursor:pointer;box-shadow:none}.field-help-button:hover{background:#4a3319;border-color:#dcb367;color:#fff1d4}.field-help-button:focus-visible{outline:2px solid #ffcf7a;outline-offset:3px}
.calculator-help-popover{position:fixed;inset:auto;margin:0;width:min(360px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;box-sizing:border-box;background:#2a2016;color:#fff0da;border:1px solid #a77e40;border-radius:12px;padding:18px 20px;box-shadow:0 12px 40px #0008;z-index:100000;font-size:14px;line-height:1.8;text-align:start}.calculator-help-popover strong{display:block;color:#ffdb9c;font-size:15px;line-height:1.6;margin-bottom:8px}.calculator-help-popover p{color:#f2e2c9;margin:0;font-size:14px;line-height:1.85}.calculator-help-popover[hidden]{display:none!important}
#project-form :is(#dependencies-2,#dependencies-4){background:none;border:0;box-shadow:none;color:#d9c8ad;font-size:13px;padding:0;margin:12px 0;line-height:1.7}#project-form :is(#delivery-help,#delivery-scope){display:none}#project-form .delivery-settings>details{display:none}#project-form #tax-policy-notice{padding:8px 0;background:none;border:0;font-size:14px;line-height:1.8}#project-form #tax-policy-status:empty{display:none}
body[data-page=projects] :is(.project-card,.project-list-heading){display:grid;grid-template-columns:minmax(0,1fr) minmax(155px,.6fr) 175px 48px;gap:18px;align-items:center}body[data-page=projects] .project-card>*{min-width:0}body[data-page=projects] .project-card .state-badge{white-space:normal;overflow-wrap:normal;line-height:1.6;max-width:100%;margin:0;background:#382918;color:#ffe0a4;border:1px solid #876334;padding:6px 10px;border-radius:8px;justify-self:start;font-size:12px}body[data-page=projects] .project-date{display:block!important;white-space:normal;line-height:1.7;font-size:12px;color:#e2d0b6}body[data-page=projects] .project-card>.buttons{margin:0;justify-content:end}body[data-page=projects] .project-main{min-width:0}body[data-page=projects] .project-main h3{overflow-wrap:anywhere}
@media(max-width:1000px){body[data-page=projects] :is(.project-card,.project-list-heading){grid-template-columns:minmax(0,1fr) 145px 150px 44px;gap:12px}}
@media(max-width:700px){#project-form .product-commercial-controls{grid-template-columns:1fr;gap:18px}body[data-page=projects] .project-list-heading{display:none}body[data-page=projects] .project-card{grid-template-columns:minmax(0,1fr) 44px;gap:12px}body[data-page=projects] .project-main{grid-column:1;grid-row:1}body[data-page=projects] .project-card .state-badge{grid-column:1;grid-row:2}body[data-page=projects] .project-date{grid-column:1;grid-row:3}body[data-page=projects] .project-card>.buttons{grid-column:2;grid-row:1/4;align-self:start}}

#project-form #tax-policy-notice{display:inline}#project-form .tax-help-slot{display:inline-block;vertical-align:middle}.field-help-button{position:relative;min-width:30px;min-height:30px!important;height:30px;width:30px}.field-help-button:before{content:"";position:absolute;inset:-4px;border-radius:50%}

#project-form [data-i18n="Start date is a project reference. Financial timing uses relative months."]{display:none}

/* Focused project-list and field-header refinements. */
body[data-page=projects] .breadcrumb>span{display:none}
body[data-page=projects] :is(.project-card,.project-list-heading){grid-template-columns:minmax(0,1fr) 180px 175px 48px}
body[data-page=projects] .project-card .state-badge{box-sizing:border-box;width:180px;min-width:180px;min-height:44px;justify-content:center;align-items:center;text-align:center;padding:6px 10px;font-size:12px;line-height:1.4}
body[data-page=projects] .project-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;background:#392a1b;background-image:none;border:1px solid #806038;border-radius:8px;color:#edc27c;box-shadow:none;align-self:center}
body[data-page=projects] .project-icon svg{width:19px;height:19px;color:inherit}
.guest-backup-disclosure{margin:18px 24px;padding-block:12px;border-top:1px solid #51402f}
.guest-backup-disclosure>summary{font-size:13px;cursor:pointer;color:#dec7a4}
.guest-backup-disclosure .buttons{justify-content:flex-start;flex-wrap:wrap}
.guest-backup-disclosure .buttons button{font-size:12px;background:transparent;color:#f0dfc6;border-color:#715737}
#project-form .calculator-field-header{display:flex;align-items:center;justify-content:flex-start;gap:6px;text-align:start;min-width:0;width:100%;box-sizing:border-box}
#project-form .calculator-field-header>.required-star{order:-1;flex:none;font-size:13px;line-height:1;margin:0}
#project-form .calculator-field-header>.field-unit{order:1;margin:0;flex:none}
#project-form .calculator-field-header>.field-help-button{order:2;flex:0 0 20px;align-self:center;justify-self:end;margin:0;margin-inline-start:auto;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px;padding:0!important;font-size:12px!important;line-height:1;position:static}
#project-form .field-help-button:before{content:none}
#project-form th.calculator-field-header{display:table-cell;width:auto;text-align:start}
#project-form th.calculator-field-header>.required-star{margin-inline-end:4px}
#project-form th.calculator-field-header>.field-help-button{float:inline-end;margin-inline-start:8px;vertical-align:middle}
@media(max-width:1000px) and (min-width:701px){body[data-page=projects] :is(.project-card,.project-list-heading){grid-template-columns:minmax(0,1fr) 180px 135px 44px;gap:12px}}
@media(max-width:700px){body[data-page=projects] .project-card{grid-template-columns:minmax(0,1fr) 44px}.guest-backup-disclosure{margin-inline:18px}}
@media(pointer:coarse){#project-form .calculator-field-header>.field-help-button{flex-basis:40px;min-width:40px!important;max-width:40px;width:40px!important;height:40px!important;min-height:40px!important;border:0;background:radial-gradient(circle closest-side,#302316 85%,#93713d 90%,#93713d 98%,transparent 100%) center/20px 20px no-repeat}}

#results .overview-nav button{background:#251c13;color:#edd9b8;border:1px solid #806038}
#results .overview-nav button.active,#results .overview-nav button[aria-expanded=true]{background:#f2bb60!important;color:#24180b!important;border-color:#f2bb60!important}
#results .overview-nav button:focus-visible{outline:2px solid #ffe0a4;outline-offset:3px}
#pricing-chain-heading{display:flex;align-items:center;gap:12px}
#pricing-chain-heading .field-help-button{flex:0 0 20px;width:20px;min-width:20px;height:20px;min-height:20px!important;font-size:12px!important;margin:0;position:static}
#pricing-chain-heading .field-help-button:before{content:none}
#pricing-chain-heading .required-star{display:none}
#overview-pricing .price-breakdown-heading{margin:32px 0 18px;font-size:19px}
#waterfall-readout{display:block;min-height:32px;margin:4px 0 16px;line-height:1.7;color:#eed7b1}
#overview-pricing>details{margin-block:16px}
#calculation-details{border-top:1px solid #51402f;padding-top:16px}
#calculation-details summary{font-size:14px;cursor:pointer}
#calculation-details li{font-size:13px;color:#d9c5a8;line-height:1.8;margin-block:8px}
#calculation-details .hint,#calculation-details>p{color:#ddcbb0!important;font-size:13px!important;line-height:1.9}
#waterfall-table .official-proposal-row{background:#392b19;color:#ffe0a4;font-weight:700}
.price-table-disclosure{margin-block:16px}
#price-table-toggle{display:inline-flex;align-items:center;gap:8px;width:auto;max-width:100%;min-height:34px;padding:6px 9px;background:transparent;border:1px solid transparent;color:#edce95;font-size:14px;text-align:start}
#price-table-toggle:hover{border-color:#806038;background:#302316}
#price-table-toggle:focus-visible{outline:2px solid #ffcf7a;outline-offset:3px}
#price-table-toggle[aria-expanded=true] .price-table-arrow{transform:rotate(90deg)}
[dir=rtl] #price-table-toggle .price-table-arrow{transform:rotate(180deg)}
[dir=rtl] #price-table-toggle[aria-expanded=true] .price-table-arrow{transform:rotate(90deg)}
.price-table-disclosure .table-wrap{margin-top:12px;width:100%}
#technical-diagnostics .hint,#technical-diagnostics>p{color:#ddcbb0!important;font-size:13px!important;line-height:1.9;overflow-wrap:anywhere}
#technical-diagnostics li{font-size:13px;line-height:1.8;color:#ddcbb0}
#results :is(#profit-heading,#guarantee-heading,#funding-heading,#peak-funding-help){display:flex;align-items:center;gap:12px}
:is(#results,#technical-diagnostics) .calculator-field-header>.field-help-button{flex:0 0 20px;width:20px;min-width:20px;height:20px;min-height:20px!important;font-size:12px!important;margin:0;margin-inline-start:10px;position:static;vertical-align:middle}
:is(#results,#technical-diagnostics) .calculator-field-header>.field-help-button:before{content:none}
:is(#results,#technical-diagnostics) .calculator-field-header>.required-star{display:none}
#profit-tax-help{display:inline-flex;align-items:center;gap:8px}
#peak-funding-help{font-size:12px;color:#cfbda4}
#profit-metrics .net-profit-row{background:#352719;color:#ffdda0;font-weight:650;font-size:16px}
body[data-page=analysis] #results #guarantee-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
#overview-guarantees .commercial-note{color:#decbb0!important;font-size:13px!important;line-height:1.8}
#guarantee-table td{padding-block:16px}
#guarantee-schedule-toggle{display:inline-flex;gap:8px;align-items:center;max-width:100%;width:auto;min-height:34px;padding:6px 9px;background:transparent;color:#edce95;border:1px solid transparent;font-size:14px}
#guarantee-schedule-toggle:focus-visible{outline:2px solid #ffcf7a;outline-offset:3px}
#guarantee-schedule-toggle:hover{border-color:#806038}
#guarantee-schedule-toggle[aria-expanded=true] .disclosure-arrow{transform:rotate(90deg)}
[dir=rtl] #guarantee-schedule-toggle .disclosure-arrow{transform:rotate(180deg)}
[dir=rtl] #guarantee-schedule-toggle[aria-expanded=true] .disclosure-arrow{transform:rotate(90deg)}
#guarantee-schedule-content{margin-top:12px}
#overview-funding :is(.hint,.chart-window-note){color:#ddcbb0!important;font-size:13px!important;line-height:1.8}
@media(max-width:700px){body[data-page=analysis] #results #guarantee-metrics{grid-template-columns:1fr}}
@media(max-width:700px){#profit-metrics table{table-layout:fixed;width:100%}#profit-metrics th:first-child{width:55%}#profit-metrics td,#profit-metrics td bdi{white-space:normal;overflow-wrap:anywhere}#profit-tax-help{display:block}#profit-tax-help .field-help-button{margin-inline-start:6px}}
.timeline-calendar-controls{display:grid;grid-template-columns:repeat(2,minmax(130px,220px));gap:16px;margin-bottom:20px}.timeline-calendar-controls label{display:flex;flex-direction:column;gap:8px}.timeline-calendar-controls input,.timeline-calendar-controls select{height:46px}.timeline-calendar-controls p:empty{display:none}
.timeline-controls{border-top:1px solid #51402f;padding-top:16px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.timeline-controls>label{display:flex;align-items:center;gap:8px;margin-inline-start:16px}.timeline-controls input[type=checkbox]{width:18px;min-height:18px}
.gantt-scroll{max-height:520px;overflow:auto;position:relative;border:1px solid #51402f;border-radius:9px;direction:ltr}.gantt-table{direction:ltr;border-collapse:separate;border-spacing:0;width:max-content;table-layout:fixed}.gantt-table th,.gantt-table td{padding:0!important;height:34px;border-bottom:1px solid #483725;white-space:nowrap}.gantt-table th:first-child{position:sticky;left:0;z-index:2;min-width:250px;max-width:250px;width:250px;padding-inline:14px!important;background:#2a2016;white-space:normal;font-size:12px;line-height:1.6;text-align:start}.gantt-table thead th{position:sticky;top:0;z-index:3;background:#322619}.gantt-table thead th:first-child{z-index:4}.gantt-table svg{display:block}.gantt-table .grid-line{stroke:#4c3928}.gantt-table text{fill:#e1cdae;font-size:12px}.gantt-table g:focus-visible{outline:2px solid #ffcf7a}
.timeline-legend .legend-manufacturing:before{background:#bb8b45}.timeline-legend .legend-shipment:before{background:#619b8a}.timeline-legend .legend-ddp:before{background:#9a80bb}.timeline-legend .legend-in:before{background:#eec87b}.timeline-legend .legend-out:before{background:#f4af91}
#investment-analysis .investment-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}
#investment-analysis label{display:flex;flex-direction:column;gap:9px;min-width:0}#investment-analysis input{width:100%;min-height:46px;box-sizing:border-box}
#investment-analysis .returns-field-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;line-height:1.6}
:is(#investment-analysis,.returns-help) .field-help-button{width:20px;min-width:20px;height:20px;min-height:20px!important;flex:0 0 20px;padding:0!important;margin:0;position:static;font-size:12px!important}
#investment-analysis .field-help-button:before{content:none}
#investment-analysis .returns-source{font-size:13px;color:#d9c5a8;background:none;border:0;padding:0;margin:12px 0}
#investment-analysis .returns-draft-note,#investment-analysis .returns-irr-reason{color:#edcf9d;font-size:13px;line-height:1.8}
#investment-analysis .returns-status{font-size:13px;color:#f2d294;min-height:24px}
#investment-analysis .returns-optional{margin:12px 0 20px}#investment-analysis .returns-optional>label{margin-top:16px;max-width:500px}
#investment-analysis .investment-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
#investment-analysis .returns-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#dfccb0;font-size:14px}
#investment-analysis .investment-metrics strong{font-size:24px;line-height:1.6;overflow-wrap:anywhere}
#investment-analysis .returns-scope{font-size:13px;line-height:1.9;color:#ddcbb0;display:flex;align-items:center;gap:12px;margin-block:18px}
#investment-analysis .returns-history{border-top:1px solid #51402f;padding-top:16px;margin-top:20px}
#investment-analysis .returns-history-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #51402f}
#investment-analysis .returns-history-row p,#investment-analysis .returns-history-row small{color:#d5c2a7;font-size:12px;line-height:1.8;margin:5px 0}
#investment-analysis .returns-history-row button{flex:none}#investment-analysis .returns-stale .metric{border-style:dashed;opacity:.8}
.returns-help{color:#f2e2c9;font-size:14px;line-height:1.85}
#analysis-empty #investment-analysis{text-align:start;width:100%;box-sizing:border-box;margin-top:28px}
@media(max-width:760px){#investment-analysis .investment-form,#investment-analysis .investment-metrics{grid-template-columns:1fr}#investment-analysis .returns-history-row{flex-direction:column;align-items:stretch}#investment-analysis .returns-history-row button{align-self:flex-start}}
#timeline-heading{display:flex;gap:12px;align-items:center}
#part-values :is(th,td):first-child,#allocation-values :is(th,td):is(:first-child,:nth-child(3)){text-align:center}#part-values :is(th,td):not(:first-child),#allocation-values :is(th,td):last-child{text-align:end;font-variant-numeric:tabular-nums}#allocation-values :is(th,td):nth-child(2){text-align:start}#part-values tfoot{background:#382a19;font-weight:700;color:#ffdda0}#allocation-values table{min-width:540px}
.guarantee-schedule :is(th,td){text-align:center!important;vertical-align:middle;white-space:normal;padding:12px!important;min-width:115px}.guarantee-schedule :is(th,td):first-child{text-align:start!important;min-width:100px}.guarantee-schedule bdi{white-space:normal}.guarantee-schedule table{table-layout:fixed;min-width:650px}
@media(max-width:700px){.timeline-calendar-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.timeline-controls>label{margin-inline-start:0}.gantt-table th:first-child{min-width:170px;max-width:170px;width:170px}#part-values table{min-width:450px}}
@media(max-width:700px){#results .overview-nav{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}#results .overview-nav button{min-width:0;white-space:normal;overflow-wrap:anywhere}#pricing-stages .pricing-row{grid-template-columns:minmax(0,1fr) auto}#pricing-stages .stage-label{font-size:12px;line-height:1.6}#pricing-stages .pricing-row strong{font-size:12px}}

/* Project Returns: scoped progressive disclosure, no financial computation. */
#investment-analysis .returns-main{margin-block:22px 16px}
#investment-analysis .returns-field{max-width:420px;margin-bottom:14px;min-width:0}
#investment-analysis .returns-field-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:7px}
#investment-analysis .returns-field-heading>label{display:block;flex:1;margin:0;font-size:14px;line-height:1.5;color:#f1dfc3}
#investment-analysis .returns-field input{display:block;background:#19140f;color:#fff2dd;border:1px solid #82623b;border-radius:8px;padding:10px 12px;width:100%;min-height:44px}
#investment-analysis .returns-field-hint{font-size:13px;color:#d8c6aa;line-height:1.7;margin:7px 0 0}
#investment-analysis .returns-field-hint:empty,#investment-analysis .returns-status:empty{display:none}
#investment-analysis .returns-status{min-height:0;margin:10px 0;font-size:13px}
#investment-analysis .returns-basis{font-size:13px;line-height:1.7;color:#cfbda2;margin:8px 0}
#investment-analysis .returns-disclosure{margin:14px 0;padding-block:10px;border-top:1px solid #51402f;min-width:0}
#investment-analysis .returns-disclosure>summary{display:list-item;width:fit-content;max-width:100%;box-sizing:border-box;padding:5px 8px;cursor:pointer;color:#efca88;font-size:14px;font-weight:600;line-height:1.6;border-radius:5px}
#investment-analysis .returns-disclosure>summary:focus-visible{outline:2px solid #efbd64;outline-offset:3px}
#investment-analysis .returns-disclosure>p,#investment-analysis .returns-disclosure li{font-size:13px;line-height:1.85;color:#ddcbb0}
#investment-analysis .returns-disclosure li{margin-block:5px}
#investment-analysis .returns-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-block:15px}
#investment-analysis .returns-result{padding:18px 20px;background:#241b13;border:1px solid #685035;border-radius:12px;margin-block:16px;max-width:780px;box-sizing:border-box}
#investment-analysis .returns-card-heading h3{font-size:14px;font-weight:500;line-height:1.6;color:#dfccb0;margin:0}
#investment-analysis .returns-result>strong{display:block;font-size:27px;line-height:1.6;margin-block:8px;color:#fff0d8;overflow-wrap:anywhere;unicode-bidi:plaintext}
#investment-analysis .returns-result>p{font-size:13px;line-height:1.8;color:#e1ceb1;margin:8px 0 0}
#investment-analysis .returns-stale .returns-result{border-style:dashed;opacity:.75}
#investment-analysis .returns-table{width:100%;border-collapse:collapse;margin:12px 0;table-layout:auto;font-size:13px}
#investment-analysis .returns-table th,#investment-analysis .returns-table td{padding:10px 8px;text-align:start;border-bottom:1px solid #51402f;overflow-wrap:anywhere}
#investment-analysis .returns-table th{color:#dfc498;font-weight:500;white-space:normal}
#investment-analysis .returns-table td:not(:first-child){direction:ltr;unicode-bidi:plaintext}
#investment-analysis .returns-feedback{display:flex;gap:10px;flex-wrap:wrap}
#investment-analysis .returns-history-row{padding-block:12px}
#investment-analysis .returns-history-row p{overflow-wrap:anywhere}
#investment-analysis .returns-disclosure a{color:#efca88}
#investment-analysis .returns-draft-note a{display:inline-block;color:#efca88;margin-bottom:10px}
@media(max-width:650px){#investment-analysis .returns-inputs{grid-template-columns:1fr;gap:0}#investment-analysis .returns-field{max-width:100%}#investment-analysis .returns-result{padding:15px}#investment-analysis .returns-result>strong{font-size:24px}}
@media(pointer:coarse){#investment-analysis .returns-field-heading .field-help-button{width:44px;min-width:44px;height:44px;min-height:44px!important;flex-basis:44px;position:relative;border:0;background:transparent}#investment-analysis .returns-field-heading .field-help-button:after{content:'';position:absolute;width:20px;height:20px;inset:12px;border:1px solid #a17a3b;border-radius:50%;pointer-events:none}}

/* Focused insurance/returns presentation. */
#investment-analysis>.returns-card-heading h2{margin:0}
#investment-analysis>.returns-source{font-size:12px;color:#c7b99f;margin:4px 0 12px}
#investment-analysis .returns-disclosure>summary .field-help-button{display:inline-flex;vertical-align:middle;margin-inline-start:8px}
#overview-insurance .metric{max-width:420px;min-height:0}

/* Scenario controls: each active assumption owns one coherent, responsive row. */
.scenario-controls{display:flex;flex-direction:column;gap:16px;min-width:0}
.scenario-variable-row{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(190px,1.25fr) minmax(170px,1fr) auto;gap:16px;align-items:end;min-width:0}
.scenario-variable-row[hidden]{display:none}
.scenario-variable-row>label{min-width:0;display:grid;gap:8px;text-align:start;font-size:13px}
.scenario-variable-row :is(select,textarea){height:46px;min-height:46px;min-width:0;width:100%;resize:vertical;margin:0;padding-block:10px}
.scenario-variable-row button{min-height:46px;white-space:normal;margin:0}
.scenario-current{display:grid;gap:8px;min-width:0;font-size:13px;color:#e9d9c1}
.scenario-current>span{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.scenario-controls>#scenario-add-variable{align-self:flex-start;min-height:42px}
#scenario-count{margin:0;color:#e9c98d;font-size:13px}
.scenario-heading{display:flex;align-items:center;gap:12px}.scenario-heading h2{margin-block:8px}
.scenario-heading .help-dot{flex:none;width:22px;height:22px;padding:0;border-radius:50%;font-size:13px}
.scenario-help{max-width:min(420px,calc(100vw - 40px));background:#241c14;color:#fff0d8;border:1px solid #8c6b3f;border-radius:10px;padding:18px;line-height:1.7}
.comparison-workspace :is(.comparison-context,.warning){background:#2b2117!important;border:1px solid #806039!important;color:#fff0d8!important;border-radius:9px;padding:12px 16px}
.scenario-panel #scenario-status{color:#efd39b}
@media(max-width:1100px){.scenario-variable-row{grid-template-columns:minmax(160px,1fr) minmax(160px,1fr)}.scenario-current{grid-column:1}.scenario-variable-row>button{justify-self:end}}
@media(max-width:650px){.scenario-variable-row{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:4px 16px;border-bottom:1px solid #51402f}.scenario-current{grid-column:auto}.scenario-variable-row>button{justify-self:start}.scenario-actions button{flex:0 1 auto}.scenario-controls{padding:16px}.scenario-heading{align-items:center}}

@media(min-width:1101px){.scenario-variable-row{grid-template-columns:minmax(180px,1.1fr) minmax(190px,1.25fr) minmax(170px,1fr) 82px}}

.scenario-heading .help-dot{min-height:22px;min-width:22px;align-self:center}

.tender-result-dialog{width:min(460px,calc(100vw - 32px));box-sizing:border-box}.tender-result-dialog fieldset{display:grid;gap:12px;border:1px solid #705737;border-radius:10px;padding:16px;margin-block:18px}.tender-result-dialog fieldset label{display:flex;align-items:center;gap:12px;cursor:pointer}.tender-result-dialog input[type=radio]{width:18px;height:18px;min-height:18px;flex:0 0 18px;accent-color:#efba67;margin:0}.tender-result-dialog [role=alert]{color:#ffccba}.tender-result-dialog .buttons{justify-content:flex-end}

.scenario-field-error{color:#ffd1b5;line-height:1.5;font-weight:400;font-size:12px}.scenario-field-error:empty{display:none}.scenario-panel [aria-invalid=true]{border-color:#d38a6e!important}.scenario-panel #scenario-variable-count{font-size:13px;margin:0;color:#e4c185}.scenario-empty-results{padding:18px;border:1px dashed #6c5437;border-radius:10px;color:#d5c3a9}.comparison-workspace [hidden]{display:none!important}body[data-page=scenarios] #market-pulse{display:none}.scenario-panel textarea{resize:vertical}.scenario-panel #scenario-status{font-size:14px;font-weight:600}.comparison-workspace>p{line-height:1.65}

.scenario-controls{margin-block:16px;padding:16px;gap:12px}.scenario-limit-bar{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.scenario-limit-bar p{margin:0}.scenario-controls>.hint{font-size:12px;margin:0}.scenario-panel>p{margin-block:10px}.scenario-panel .scenario-heading h2{font-size:20px}.scenario-panel .scenario-actions{margin-block:12px}.scenario-panel{padding:22px}.scenario-limit-bar button{min-height:40px}.scenario-controls [role=group] label{font-size:13px}@media(max-width:650px){.scenario-limit-bar{gap:12px}.scenario-panel{padding:16px}.scenario-limit-bar p{font-size:12px}}

.scenario-limit-bar .scenario-actions{margin:0;margin-inline-start:auto}@media(max-width:650px){.scenario-limit-bar .scenario-actions{width:100%;margin-inline-start:0}.scenario-limit-bar .scenario-actions .primary{flex:1}}

.comparison-workspace .comparison-report{border-color:#5d4934}.comparison-workspace .comparison-report :is(th,td){border-color:#51402f}.comparison-workspace .comparison-report :is(th,td):nth-child(2){background:#322719;color:#fff0d8}.comparison-workspace .comparison-report td small{color:#d3bfa0}.comparison-workspace .comparison-track{background:#443629}.comparison-workspace .comparison-bar{background:#9f8154}.comparison-workspace .comparison-bar.baseline{background:#e2b362}.scenario-chart circle[fill='#122440']{fill:#fff0d8;stroke:#d8a453;stroke-width:2}

.scenario-readout{background:#2a2016;border:1px solid #98703c;border-radius:12px;padding:20px;box-shadow:0 0 18px #d5a04b12;font-size:15px;line-height:1.6}.scenario-readout:empty{display:none}.scenario-readout dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 0}.scenario-readout dd{font-weight:700;margin:0;direction:ltr}.scenario-assumptions{display:grid;gap:5px;font-size:13px;margin-top:8px;line-height:1.6}.scenario-assumptions span{display:block;overflow-wrap:anywhere}.scenario-money{text-align:right!important;white-space:nowrap}.scenario-money strong,.scenario-money small{display:block}.scenario-money small{font-size:12px;color:#ccb58f;margin-top:8px}.scenario-inspected:not(circle){outline:1px solid #bf8d43;outline-offset:-1px}.scenario-chart circle.scenario-inspected{stroke:#fff4dd;stroke-width:3;fill:#f4c36b}.scenario-pagination{display:flex;gap:16px;align-items:center;justify-content:center;margin-block:16px}.scenario-panel #scenario-table{min-width:950px}.comparison-report th:first-child,.comparison-report td:first-child{position:sticky;inset-inline-start:0;background:#241c14;z-index:2}.comparison-report th:nth-child(2),.comparison-report td:nth-child(2){position:sticky;inset-inline-start:145px;z-index:1}.scenario-limit-notice{color:#f2cc8b;font-size:15px;font-weight:600}

.comparison-report thead small{display:block;font-size:12px;font-weight:400;margin-top:8px;line-height:1.6;white-space:normal}.comparison-report th{min-width:145px}.comparison-report thead th{vertical-align:top}

.scenario-panel .table-scroll{max-height:760px;overflow:auto}.scenario-panel thead{position:sticky;top:0;z-index:5;background:#241c14}.scenario-panel .scenario-baseline{position:sticky;top:var(--scenario-header-height,48px);z-index:3;background:#36291b}.scenario-panel .scenario-baseline td{background:#36291b}

.comparison-report th:nth-child(2),.comparison-report td:nth-child(2){inset-inline-start:var(--kpi-column-width,180px)}

.comparison-report td strong{font-size:17px}.comparison-report td small{font-size:12px}.scenario-readout h3{font-size:18px;margin:0 0 12px}.scenario-readout .scenario-assumptions{font-size:15px}@media(max-width:650px){.comparison-report th:nth-child(2),.comparison-report td:nth-child(2){position:static}.comparison-report th:first-child,.comparison-report td:first-child{min-width:110px;max-width:130px}.scenario-readout{padding:16px}.scenario-readout dl{grid-template-columns:1fr}.scenario-chart text{font-size:15px}}

.scenario-panel>.scenario-limit-notice{font-size:15px!important;line-height:1.6;color:#f2cc8b;margin-block:12px 16px}

.scenario-panel #scenario-table th:nth-child(n+3){text-align:right}.scenario-panel #scenario-table th:nth-child(n+3) button{text-align:right}

.scenario-readout>label{display:grid;gap:8px;max-width:340px;margin-bottom:16px;font-size:14px}.scenario-readout select{min-height:44px;width:100%}.scenario-readout h3{scroll-margin-top:140px}

/* Market quote provenance, scoped to the informational strip. */
.market-quote-source{display:block;font-size:10px;margin-top:6px;overflow-wrap:anywhere}.market-quote-time{margin-top:4px;overflow-wrap:anywhere}.market-refresh-status{font-size:12px;margin:10px 0 0}.market-card .market-status.stale{color:#ffd187;border:1px solid #b78646}

/* Compact report contents preview; no financial state or other pages affected. */
#reports-workspace .report-section-list{display:flex;flex-wrap:wrap;gap:5px 24px;padding-inline-start:18px;font-size:12px;line-height:1.65;margin-block:8px 14px}
/* Execution workspace only — existing product styles and Home stay unchanged. */
#execution-roadmap .execution-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
#execution-roadmap .execution-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#execution-roadmap .execution-controls select{width:auto;max-width:240px;min-width:130px}
#execution-roadmap .execution-meta{display:flex;gap:8px 20px;flex-wrap:wrap;color:var(--muted,#c4b39a);font-size:.86rem;margin-block:12px 20px}
#execution-roadmap .execution-source{border:1px solid #6b5031;border-radius:12px;padding:12px;margin-block:14px}
#execution-roadmap .execution-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;margin-block:20px}
#execution-roadmap .execution-kpi{display:flex;flex-direction:column;align-items:start;text-align:start;gap:12px;padding:18px;border:1px solid #936b33;border-radius:12px;background:#2a2017;color:#f4e9d5;min-height:110px}
#execution-roadmap .execution-kpi strong{font-size:1.35rem;line-height:1.4}
#execution-roadmap .execution-kpi span{font-size:.84rem;color:#d5c3a8}
#execution-roadmap .execution-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-block:18px}
#execution-roadmap .execution-content{display:grid;gap:16px}
#execution-roadmap .execution-card{border:1px solid #6b5031;background:#211a14;border-radius:12px;padding:18px}
#execution-roadmap td{vertical-align:top;max-width:380px;overflow-wrap:anywhere}
#execution-roadmap td small{display:block;color:#c5b69f;margin-top:6px;font-size:.8rem}
#execution-roadmap .execution-badge{display:inline-flex;padding:4px 9px;border:1px solid #826339;background:#382919;border-radius:6px;font-size:.8rem}
#execution-roadmap .execution-badge.overdue{border-color:#d78d69;color:#ffd8b9}
#execution-roadmap .execution-status{min-height:1.4em;color:#efcf93}
#execution-roadmap .execution-dialog{background:#211a14;color:#f4e9d5;border:1px solid #a47b40;border-radius:16px;width:min(760px,92vw);max-height:88vh;padding:24px;overflow:auto}
#execution-roadmap .execution-dialog::backdrop{background:#000b}
#execution-roadmap .execution-dialog form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#execution-roadmap .execution-dialog h2,#execution-roadmap .execution-dialog form>p,#execution-roadmap .execution-dialog .execution-controls{grid-column:1/-1}
#execution-roadmap .execution-field{display:flex;flex-direction:column;gap:7px;min-width:0;text-align:start}
#execution-roadmap .execution-field input,#execution-roadmap .execution-field select,#execution-roadmap .execution-field textarea{width:100%;min-height:42px}
#execution-roadmap .execution-field input[type=checkbox]{width:22px;min-height:22px;align-self:start}
#execution-roadmap .execution-field small{color:#c5b69f}
#execution-roadmap button:focus-visible,#execution-roadmap select:focus-visible{outline:2px solid #efbd60;outline-offset:3px}
@media(max-width:700px){#execution-roadmap .execution-dialog form{grid-template-columns:1fr}#execution-roadmap .execution-controls select{max-width:100%;flex:1}#execution-roadmap .execution-kpis{grid-template-columns:1fr 1fr}#execution-roadmap .execution-tabs button{flex:1 1 42%}#execution-roadmap .execution-kpi{padding:12px}#execution-roadmap .execution-kpi strong{font-size:1.1rem}}
#execution-roadmap .execution-gantt{overflow:auto;border:1px solid #624a2e;border-radius:12px;padding:14px;background:#201912}
#execution-roadmap .execution-gantt svg{display:block;min-width:850px;width:100%;height:auto;direction:ltr}
#execution-roadmap .execution-content>section h3{margin-top:0}
#execution-roadmap .execution-dialog textarea{min-height:76px}
#execution-roadmap .execution-dialog [role=alert]{color:#ffd3a2}
/* Account screens share the existing GainNorth palette and mirror in RTL. */
#account-trigger { color: inherit; text-decoration: none; white-space: nowrap; }
body[data-page=account] .workspace-context, body[data-page=account] #market-pulse { display: none; }
body[data-page=account]:not([data-signed=true]) .sidebar { display: none; }
body[data-page=account]:not([data-signed=true]) .main { margin-inline: 0; }
#account-content { max-width: 1120px; margin-inline: auto; padding: clamp(16px, 4vw, 48px); }
.account-split, .account-dashboard { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(0, 1.65fr); gap: 1px; overflow: hidden; border: 1px solid #654e32; border-radius: 16px; background: #654e32; }
.account-dashboard { grid-template-columns: minmax(190px, 1fr) minmax(0, 3fr); }
.account-aside, .account-card { padding: clamp(20px, 4vw, 48px); }
.account-aside { background: #21170e; color: #f0d9b3; }
.account-aside strong { display: block; font-size: clamp(23px, 4vw, 38px); color: #f5c578; }
.account-dashboard .account-aside { padding-inline: clamp(16px, 2vw, 26px); }
.account-dashboard .account-aside strong { font-size: 24px; }
.account-card { display: grid; align-content: start; gap: 16px; min-width: 0; background: #18130e; color: #fbecd5; }
.account-card h1 { margin: 0; font-size: clamp(28px, 4vw, 45px); }
.account-card h2, .account-card h3, .account-card p { margin: 0; }
.account-card a, .account-aside a { color: #f5c578; }
.account-form { display: grid; gap: 14px; max-width: 540px; }
.account-form label { display: grid; gap: 6px; }
.account-form button { margin-block-start: 4px; }
.account-feedback:empty { display: none; }
.account-feedback { padding: 10px 12px; border-inline-start: 3px solid #e2a94e; background: #342515; }
.account-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.account-tabs button[aria-pressed=true], .account-secondary { border: 1px solid #e2a94e; }
.account-secondary { padding: 10px 14px; border-radius: 6px; text-align: center; }
.account-projects { display: grid; gap: 10px; padding-inline-start: 20px; }
.account-workspace { border-block-start: 1px solid #654e32; padding-block-start: 16px; }
.account-workspace > :not(summary) { margin-block-start: 14px; }
.espresso-actions { flex-wrap: wrap; }
@media (max-width: 680px) {
 .account-split, .account-dashboard { grid-template-columns: 1fr; }
 .account-aside { padding-block: 16px; }
 .account-aside p { display: none; }
}

/* Signed-in workspace Home */
body[data-signed=true][data-account-screen=account] #main > footer{display:none}
.workspace-home{padding-block:clamp(.5rem,2vw,1.75rem) 2rem;min-inline-size:0}
.workspace-home-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:1rem 2rem;margin-block-end:clamp(1.5rem,4vw,3rem)}
.workspace-home-company{display:block;color:#ddba88;font-weight:600;overflow-wrap:anywhere}
.workspace-home-header h1{margin:.35rem 0 0;font-size:clamp(1.9rem,4vw,3rem);line-height:1.18;overflow-wrap:anywhere}
.workspace-home .workspace-home-create{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-block-size:46px;padding:.6rem 1rem;background:#f4b44d;color:#20150b;border:1px solid #ffce7c;font-weight:750;text-decoration:none}
.workspace-home .workspace-home-create:hover{background:#ffd187;color:#20150b}
.workspace-home :is(a,button):focus-visible{outline:2px solid #ffcf83;outline-offset:3px}
.workspace-home-projects{border:1px solid #51402f;border-radius:14px;background:#211a13}
.workspace-home-project-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;padding:1.1rem clamp(1rem,2.5vw,1.75rem);border-block-end:1px solid #51402f}
.workspace-home-project-header h2{font-size:1.25rem;margin:0}
.workspace-home-all{color:#ffd187;text-decoration:underline;text-underline-offset:.2em}
.workspace-home-empty{min-block-size:11rem;display:grid;align-content:center;justify-items:center;gap:.7rem;text-align:center;padding:1.5rem 1rem}
.workspace-home-empty svg{inline-size:2rem;block-size:2rem;fill:none;stroke:#bd9969;stroke-width:1.25;stroke-linejoin:round;stroke-linecap:round}
.workspace-home-empty p,.workspace-home-message{margin:0;color:#d4c3ad}
.workspace-home-message{padding:1.25rem clamp(1rem,2.5vw,1.75rem)}
.workspace-home-list{list-style:none;margin:0;padding:0}
.workspace-home-list li+li{border-block-start:1px solid #443526}
.workspace-home-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(7rem,auto) minmax(6rem,auto) 1rem;gap:.75rem 1.2rem;align-items:center;padding:.85rem clamp(1rem,2.5vw,1.75rem);color:#fff5e5;text-decoration:none}
.workspace-home-row:hover,.workspace-home-row:focus-visible{background:#302417;color:#fff5e5}
.workspace-home-row:focus-visible{outline-offset:-4px}
.workspace-home-project-name{font-weight:650;overflow-wrap:anywhere}
.workspace-home-badge{justify-self:start;border:1px solid #69502f;border-radius:7px;padding:.25rem .55rem;color:#f3d5a4;font-size:.82rem;line-height:1.45}
.workspace-home-date{grid-column:3;color:#d4c3ad;font-size:.85rem}
.workspace-home-arrow{grid-column:4;color:#e3af62;text-align:end}
@media(max-width:760px){
 body[data-signed=true][data-account-screen=account] .topbar{display:grid;grid-template-columns:minmax(0,1fr);gap:.25rem}
 body[data-signed=true][data-account-screen=account] .topbar .breadcrumb{display:block}
 body[data-signed=true][data-account-screen=account] .topbar #connection{order:1;flex-basis:100%}
 .workspace-home-header{grid-template-columns:minmax(0,1fr);justify-items:start}
 .workspace-home-row{grid-template-columns:minmax(0,1fr) auto 1rem;gap:.4rem .6rem}
 .workspace-home-project-name{grid-column:1/3;grid-row:1}
 .workspace-home-badge{grid-column:1;grid-row:2}
 .workspace-home-date{grid-column:2;grid-row:2;text-align:end}
 .workspace-home-arrow{grid-column:3;grid-row:1/3}
}
