:root{--navy:#001228;--gold:#c69b49;--cream:#f9f5e8;--slate:#222b42;--muted:#657080;--line:#e2e3e5;--white:#fff}*{box-sizing:border-box}body{margin:0;color:var(--slate);background:var(--cream);font:14px/1.5 'Segoe UI',Arial,sans-serif}header{background:var(--navy);border-bottom:4px solid var(--gold);padding:22px 4%;display:flex;align-items:center;justify-content:space-between;min-height:150px}.eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--gold)}h1{color:white;font:40px Georgia,serif;margin:6px 0}.client-sub{color:#e8d9b9;font-size:16px}.brand{width:230px}.brand svg{display:block;width:100%;height:140px}.appbar{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:14px 4%;background:white;border-bottom:1px solid var(--line)}button{cursor:pointer;font:inherit;border:1px solid #cdd1d6;background:white;color:var(--navy);padding:9px 14px;border-radius:3px}button:hover{border-color:var(--gold);background:#faf6ed}button.active,.entity button.active{background:var(--navy);border-color:var(--navy);color:white}.entity,.actions{display:flex;gap:6px;flex-wrap:wrap}nav{display:flex;padding:0 4%;gap:0;background:var(--navy);position:sticky;top:0;z-index:5}nav button{border:0;border-radius:0;background:none;color:#dce2e9;padding:15px 24px;border-bottom:3px solid transparent}nav button.active{background:#172c43;color:#fff;border-bottom-color:var(--gold)}nav button:hover{background:#172c43;color:#fff}main{max-width:1800px;padding:22px 4% 50px;margin:auto}#save-status{font-size:11px;color:var(--muted);text-align:right;margin-bottom:14px}h2{font:29px/1.25 Georgia,serif;color:var(--navy);margin:0 0 9px}h3{font:20px Georgia,serif;margin:0 0 12px}.lead{color:var(--muted);margin:0 0 20px;max-width:1000px}.panel{background:white;border:1px solid var(--line);padding:20px;margin:20px 0;box-shadow:0 3px 18px #00122804}.notice{background:#eee3c9;border-left:3px solid var(--gold);padding:12px 16px;margin:14px 0;font-size:12px}.notice.blue{background:#eaf0f5;border-color:#4b698c}.muted,.hint{color:var(--muted);font-size:12px}.warn{color:#915019;background:#fff5e5;padding:9px 12px;border-left:3px solid #c78b40;margin:8px 0;font-size:12px}.good{color:#375c45}.tag{display:inline-block;border-radius:2px;padding:2px 6px;font-size:9px;letter-spacing:.6px;background:#e9edf2;color:#263b56;margin-left:5px}.tag.in{background:#f0e4c7;color:#77541d}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}th,td{text-align:left;padding:10px;border-bottom:1px solid var(--line);vertical-align:middle}thead th{background:var(--navy);color:white;font-size:11px;font-weight:500}th.num,td.num{text-align:right}.comparison{min-width:1100px;table-layout:fixed}.comparison th:first-child{width:26%}.comparison .val{width:12%}.comparison .note{width:12.5%}.comparison td.note{font-size:11px;color:var(--muted)}.comparison .heading th{padding:10px;background:var(--slate);color:white;font-size:13px}.comparison .heading .a{border-top:3px solid var(--gold)}.comparison .heading .b{border-top:3px solid #b6c1d1}.comparison .heading .c{border-top:3px solid #9482a7}.section-row td{background:#e9edf2;border-top:2px solid var(--navy);font-weight:600;color:var(--navy)}.subtotal td{background:#f6f1e4;font-weight:600}.total td{background:var(--navy);color:white;font-weight:600}.output{font-size:14px;display:block;min-height:24px;border:0;font-weight:600}.empty{font-size:11px;color:#9299a1;font-weight:400}.total .empty{color:#ccd4df}input,select,textarea{font:inherit;color:var(--navy);background:#fffdf7;border:1.5px solid var(--gold);border-radius:3px;padding:8px;max-width:100%;width:100%}input[type=text]{font-variant-numeric:tabular-nums}textarea{min-height:40px;resize:vertical;font-size:11px}input:focus,select:focus,textarea:focus{outline:2px solid #c69b4955;outline-offset:2px}input:invalid{border-color:#bb4030}button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.number-entry{position:relative;min-width:70px}.number-entry input{padding-right:23px;text-align:right}.preset-toggle{position:absolute;right:2px;top:3px;padding:3px 5px;border:0;background:transparent;color:#826325;font-size:13px}.preset-menu{position:absolute;z-index:12;top:35px;right:0;background:white;border:1px solid var(--gold);padding:8px;box-shadow:0 4px 15px #00122820;min-width:170px;display:flex;flex-wrap:wrap;gap:4px}.preset-menu button{padding:5px 8px;font-size:12px}.entry-label{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.params{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.params .field{min-width:0}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.kpi{border-top:3px solid var(--gold);background:white;border-bottom:1px solid var(--line);padding:18px}.kpi b{display:block;font-size:30px;font-weight:500;color:var(--navy)}.kpi small{display:block;color:var(--muted);margin-top:5px}.detail-table{min-width:1050px;table-layout:fixed}.detail-table .rowname{width:26%}.detail-table .q{width:10%}.detail-table .cap{width:10%}.detail-table .seats{width:9%}.detail-table .basis{width:13%}.detail-table .rate{width:10%}.detail-table .area{width:9%}.detail-table .comment{width:13%}.detail-table td{padding:8px}.detail-table select{font-size:11px}.row-label{font-size:12px}.row-label small{display:block;color:var(--muted);font-size:10px}.rowname{min-width:240px}.group-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:24px 0 10px}.subtabs{display:flex;gap:6px;border-bottom:2px solid var(--gold);padding-top:12px}.subtabs button{border-radius:3px 3px 0 0}.bottom-table{min-width:1000px}.bottom-table input{max-width:130px}.bottom-table .number-entry{max-width:130px}.ded-table .ref{background:#f3f4f6;font-weight:600}.btnrow{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.formula{font-family:ui-monospace,monospace;font-size:12px;background:#f3f5f7;padding:12px;white-space:normal}.board-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:14px 0}.reference{margin:16px 0}.reference summary{cursor:pointer;font-weight:600;padding:10px 0}footer{background:var(--navy);border-top:3px solid var(--gold);color:#e6d5b2;padding:25px 4%;display:flex;gap:25px;justify-content:space-between;font-size:12px}dialog{border:1px solid var(--gold);max-width:900px;width:90%;padding:25px;max-height:85vh;overflow:auto}dialog::backdrop{background:#00122899}body.present .editonly{display:none}body.present nav{position:static}body.present .comparison textarea{display:none}body.present .comparison td.note:empty{display:none}body.present .presentation-note{display:block}.presentation-note{display:none}.colorbar{height:6px;background:linear-gradient(90deg,var(--gold) 0 35%,var(--slate) 35% 70%,var(--navy) 70%)}@media(max-width:1050px){.appbar{align-items:start;flex-direction:column}.params{grid-template-columns:repeat(2,1fr)}nav button{padding:13px}.board-controls{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){header{padding:16px}.brand{width:155px}.brand svg{height:100px}h1{font-size:28px}.eyebrow{font-size:8px}.client-sub{font-size:13px}main{padding:18px 12px}.kpis{grid-template-columns:repeat(2,1fr)}.params{grid-template-columns:1fr}nav{padding:0;overflow:auto}nav button{white-space:nowrap;font-size:12px}.board-controls{grid-template-columns:1fr}footer{flex-direction:column;gap:8px}.panel{padding:13px}}
@media print{.appbar,nav,.editonly,.preset-toggle,.preset-menu,.btnrow,#save-status{display:none!important}body{background:white;font-size:10px}header{padding:8px 20px;min-height:80px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.brand{width:130px}.brand svg{height:78px}h1{font-size:24px}main{padding:8px}.panel{padding:8px;box-shadow:none}.scroll{overflow:visible}.comparison,.detail-table,.bottom-table{min-width:0;font-size:9px}th,td{padding:5px}.output{font-size:11px}input,select,textarea{padding:3px;font-size:9px}.number-entry input{padding-right:3px}.kpi b{font-size:22px}.kpi{padding:8px}footer{font-size:9px}.total td,thead th,.section-row td{print-color-adjust:exact;-webkit-print-color-adjust:exact}@page{size:A3 landscape;margin:10mm}}

.comparison .note{white-space:pre-wrap}.model-name{font-size:12px;font-weight:500}

.allocation-panel{border:2px solid var(--gold);scroll-margin-top:70px;background:#fffdf8}.allocation-panel h3{font-size:25px;margin-top:8px}.allocation-panel p{color:var(--muted)}.allocation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.allocation-grid>div{padding:16px;background:#f6efdd}.allocation-grid .number-entry input{font-size:24px;padding:10px 30px 10px 12px}.allocation-result{display:flex;gap:10px;align-items:baseline;border-top:1px solid #ded3b8;padding-top:10px;margin-top:15px}.allocation-result small{color:var(--muted)}.allocation-grid .output{font-size:26px}.allocation-panel .preset-toggle{top:9px}.allocation-panel .preset-menu{top:50px}@media(max-width:650px){.allocation-grid{grid-template-columns:1fr}}

.master-control{display:flex;justify-content:space-between;gap:24px;align-items:center;background:#f4ecd9;border-left:4px solid var(--gold);padding:16px 20px;margin:14px 0}.master-control label{width:250px;flex-shrink:0}.master-control .hint{margin:4px 0 0}.master-control select{font-size:16px;font-weight:600}@media(max-width:650px){.master-control{display:block}.master-control label{display:block;width:100%;margin-top:10px}}

.area-rec{display:block;font-size:10px;color:#80632b;line-height:1.4;padding:5px 0}.area-rec.is-active{color:#735116;font-weight:600}.area-warning{display:block;font-size:10px;color:#a14d21}.detail-table .preset-menu{min-width:190px}.detail-table .preset-menu button{font-size:11px}

.weighted-summary{padding:18px;background:#edf1f5;border-left:4px solid var(--gold);margin:18px 0}.weighted-summary .output{font-size:23px}.weighted-summary .formula{margin:12px 0;line-height:1.8}.weighted-summary .hint{margin:10px 0}#units-panel{scroll-margin-top:70px}

.calculating .output,.calculating .kpi b{visibility:hidden}#calculation-status{position:sticky;top:0;z-index:20}#calculation-status[hidden]{display:none}

.access-page{max-width:560px;margin:7vh auto;padding:24px}.access-form{border-top:3px solid #c69b49;padding-top:24px}.access-form form{display:grid;gap:14px;margin:24px 0}.access-form input{font-size:20px;padding:14px;border:1px solid #c69b49;background:#fff}.access-form button{padding:14px}.client-presentation .comparison th{width:22%}.client-presentation .comparison th:first-child{width:34%}#presentation-status{margin:20px 0;color:#657087}

#versions-dialog{width:min(1100px,92vw);max-width:1100px}#version-form{display:grid;gap:8px;margin:24px 0}#version-form input,#version-form textarea{width:100%;box-sizing:border-box;border:1px solid #c69b49;padding:10px}#version-form button{justify-self:start}#version-preview{margin:20px 0}#version-list td:last-child{min-width:250px}#version-list button{margin:3px}

.rent-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin:28px 0 34px}.rent-comparison>div{border-top:3px solid #c69b49;padding-top:16px}.rent-comparison h3{min-height:52px}.rent-comparison dl{display:grid;gap:7px}.rent-comparison dt{font-size:13px}.rent-comparison dd{margin:0 0 10px;font-size:24px;font-weight:700}.allocation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.manual-entry{grid-template-columns:1fr}.individual-summary tr:last-child{font-weight:700;border-top:2px solid #001228}#individual-zone{scroll-margin-top:80px}@media(max-width:800px){.rent-comparison,.allocation-grid{grid-template-columns:1fr}}

.presence-grid{display:grid;grid-template-columns:minmax(95px,.7fr) minmax(210px,1.6fr) repeat(4,minmax(120px,1fr));gap:18px;align-items:start}.key-parameters{border-top:3px solid #c69b49;margin-top:0}.key-parameters [data-result]{font-size:24px;font-weight:700;padding-top:10px}.presence-grid .entry-label{min-height:36px}@media(max-width:1150px){.presence-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.presence-grid{grid-template-columns:1fr 1fr}}

/* Czytelna hierarchia scenariuszy i wyrównanie danych liczbowych. */
.scenario-heading{margin:0 0 24px}.scenario-heading h2{margin-top:7px}.key-parameters h3{margin-bottom:20px}.number-entry input,.manual-entry input{padding-left:24px;padding-right:24px;text-align:center}.presence-grid select,.presence-grid [data-result],.presence-grid .output{text-align:center}.detail-table td:nth-child(n+2):nth-child(-n+7),.detail-table th:nth-child(n+2):nth-child(-n+7),.detail-table select,.individual-summary td:not(:first-child),.individual-summary th:not(:first-child),.bottom-table td:not(:first-child),.comparison td:not(:first-child){text-align:center}.board-controls .output,.allocation-grid .output,.weighted-summary .output{text-align:center}.zone-summary{display:grid;grid-template-columns:minmax(220px,2fr) repeat(2,minmax(120px,1fr));align-items:center;gap:18px;margin:18px 0 0;padding:18px 20px;background:#f6f1e4;border-top:2px solid var(--gold)}.zone-summary>div{text-align:center}.zone-summary span{display:block;font-size:11px;color:var(--muted)}.zone-summary .output{font-size:22px;margin-top:5px}.zone-summary small{grid-column:1/-1;color:var(--muted)}#collaboration-zone{margin-top:28px;scroll-margin-top:80px}.client-presentation .panel table td:not(:first-child),.client-presentation .panel table th:not(:first-child){text-align:center}@media(max-width:650px){.zone-summary{grid-template-columns:1fr 1fr}.zone-summary>strong{grid-column:1/-1}}
.output{text-align:center}.kpi b{text-align:center}.allocation-result{justify-content:center}

.current-table{min-width:1450px;font-size:12px}.current-table th:first-child{width:18%}.current-table td:nth-child(2),.current-table td:nth-child(3),.current-table td:nth-child(4){text-align:center;white-space:nowrap}.current-table td:last-child{font-size:10px;max-width:220px;overflow-wrap:anywhere}.current-table small{display:block;color:var(--muted);margin-top:5px}

.formula-table{min-width:1000px}.formula-table td:first-child{width:25%}.formula-table td:nth-child(2){width:50%}.formula-table small{display:block;color:var(--muted);margin:7px 0}.formula-table textarea{font:13px/1.5 ui-monospace,monospace;min-height:68px}.formula-table code,.calculation-explanation code{font:12px/1.6 ui-monospace,monospace;overflow-wrap:anywhere}#formula-feedback{scroll-margin-top:70px}.master-control{flex-wrap:wrap}.master-control>div{flex:1;min-width:220px}

.go-status{border-left:3px solid var(--gold)}.budget-headroom .output{font-size:18px}.budget-headroom small{display:block;font-size:12px}.budget-headroom small .output{display:inline;font-size:14px}
/* Compact comparison and inventory layouts, 1.9: wider outer margins, narrower cells. */
main{max-width:1720px;padding-left:6%;padding-right:6%}
th,td{padding:7px 8px}thead th{font-size:10px}.panel{padding:15px;margin:15px 0}
.detail-table td{padding:6px}.detail-table .rowname{width:23%}.detail-table .comment{width:18%}.detail-table{min-width:940px}
.number-entry input,input,select{padding-top:6px;padding-bottom:6px}.output{font-size:13px;min-height:20px}
.current-view .current-table{min-width:860px;width:100%;table-layout:fixed;font-size:11px;line-height:1.35}
.current-view .current-table th,.current-view .current-table td{padding:6px 7px;overflow-wrap:anywhere;vertical-align:top}
.current-view .current-table th:first-child{width:auto}.current-view .current-table td:last-child{max-width:none;font-size:11px}
.current-view .current-table td:nth-child(2),.current-view .current-table td:nth-child(3),.current-view .current-table td:nth-child(4){white-space:normal;font-variant-numeric:tabular-nums}
.current-view .current-table small{font-size:9px;margin-top:3px}.current-zone h3{font-size:18px;margin-bottom:10px}
.current-appendix summary,.current-hc summary{cursor:pointer;font-size:14px;font-weight:600}.current-appendix[open] summary,.current-hc[open] summary{margin-bottom:14px}
@media(max-width:760px){main{padding-left:4%;padding-right:4%}.current-view .panel{padding:10px}}
.presence-grid{grid-template-columns:minmax(75px,.65fr) minmax(180px,1.6fr) repeat(4,minmax(90px,.9fr)) minmax(135px,1.1fr);gap:12px}.key-parameters [data-result=area-per-person] .output{font-size:20px}.key-parameters [data-result=area-per-person]+small{display:block;font-size:9px;text-align:center;margin-top:5px}@media(max-width:1250px){.presence-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:650px){.presence-grid{grid-template-columns:1fr 1fr}}
.dedicated-study{min-width:920px;table-layout:fixed}.dedicated-study th:first-child{width:23%}.dedicated-study td:not(:first-child),.dedicated-study th:not(:first-child){text-align:center}.dedicated-study td,.dedicated-study th{padding:8px}.dedicated-study th{font-size:10px}.dedicated-study td:not(:first-child){font-variant-numeric:tabular-nums}.dedicated-study tfoot td{font-weight:600}.dedicated-study small{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.dedicated-study tbody td,.dedicated-study tfoot td{font-size:12px;line-height:1.3;padding:6px 8px}.dedicated-study small{font-size:9px;line-height:1.25;margin-top:2px}.dedicated-study .number-entry input{font-size:12px;padding-top:5px;padding-bottom:5px}

@media(min-width:1051px){.kpis{grid-template-columns:repeat(5,minmax(0,1fr))}}
.dedicated-study{min-width:1050px}.master-control select{min-width:230px}

.inventory-summary small{display:block;font-size:9px;font-weight:400;line-height:1.35;margin-top:3px}.inventory-summary th,.inventory-summary td{background:#f6f1e4;border-top:2px solid var(--gold);font-weight:600}

.dedicated-study{min-width:1100px}.dedicated-study th:first-child{width:25%}.dedicated-study .section-row th{text-align:left;background:#e9edf2;color:var(--navy);border-top:2px solid var(--navy)}.dedicated-study .subtotal th{background:#f6f1e4}

.row-label .lockers-assumption{font-size:11px;line-height:1.45;color:var(--navy);margin-top:8px;font-weight:500}

/* Scenario parameter headings: badges occupy one common baseline above their values. */
.key-parameters .presence-grid .entry-label{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:64px;gap:6px;margin-bottom:10px}
.key-parameters .presence-grid .entry-label .tag{flex:none;align-self:flex-start;margin:0;white-space:nowrap;line-height:1.4}

/* Compact scenario headings: title directly above its badge, both centred. */
.key-parameters .presence-grid .entry-label{min-height:0;gap:3px;justify-content:flex-start;align-items:center;text-align:center;margin-bottom:8px}
.key-parameters .presence-grid .parameter-title{min-height:33px;display:flex;align-items:flex-end;justify-content:center;width:100%;line-height:1.5}
.key-parameters .presence-grid .entry-label .tag{align-self:center}
body.scenario-active #app table thead th,body.scenario-active #app table thead td{text-align:center}
@media(max-width:650px){.key-parameters .presence-grid .parameter-title{min-height:49.5px}}

.role-switch{display:inline-flex;align-items:center;gap:0;border:1px solid var(--navy);border-radius:4px;overflow:hidden;flex-shrink:0}.role-switch button{border:0;border-radius:0;padding:8px 12px;font-size:12px;background:white}.role-switch button[aria-pressed=true]{background:var(--navy);color:white;font-weight:600}.role-switch button:focus-visible{outline-offset:-3px}@media print{.role-switch{display:none}}

/* Consistent headings throughout scenario tables and supporting parameter groups. */
body.scenario-active #app table th,body.scenario-active #app .entry-label{text-align:center}
body.scenario-active #app .entry-label>.tag,body.scenario-active #app table thead .tag{display:table;margin:3px auto 0;white-space:nowrap}
body.scenario-active #app .presence-grid .entry-label>.tag{display:block;margin:0;align-self:center}
body.scenario-active #app .go-status .params>div{text-align:center}
body.scenario-active #app .go-status .output{white-space:nowrap}

.header-account{display:flex;align-items:center;justify-content:flex-end;gap:22px;margin-left:auto}.logout-button{white-space:nowrap;border:1px solid var(--gold);color:#fff;background:transparent;padding:9px 16px;font-weight:600}.logout-button:hover{color:var(--navy);background:var(--gold)}.logout-button:disabled{opacity:.6;cursor:wait}@media(max-width:650px){.header-account{gap:8px;flex-direction:column;align-items:flex-end}.logout-button{padding:6px 12px}}@media print{.logout-button{display:none}}

.client-presentation .appbar .actions:empty{display:none}

.fixed-source-status{flex:1 1 280px;padding:10px 12px;border-left:3px solid #c49a43;background:#fff;line-height:1.5}.fixed-source-status small{display:block;margin:5px 0}.pending-source-result{display:none}.calculating .fixed-source-status .current-source-result{display:none}.calculating .fixed-source-status .pending-source-result{display:block}.calculating .detail-table tbody .output{opacity:.35}

/* All design rules are scoped to the additional tab. */
.nd-root{--nd-navy:#06273f;--nd-gold:#c49a43;--nd-teal:#3e9da4;--nd-line:#dbe0e3;background:#fff;color:var(--nd-navy);padding:32px 36px;margin:0 -8px;font-family:'Segoe UI',Arial,sans-serif;border-top:3px solid var(--nd-gold)}
.nd-root h2{font:38px/1.1 Georgia,serif;color:var(--nd-navy);margin:8px 0 12px}.nd-root h3{font:21px/1.25 Georgia,serif;margin:0}.nd-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--nd-line);padding-bottom:22px;gap:20px}.nd-kicker{font-size:10px;letter-spacing:2px;color:#8c6a28}.nd-heading p{margin:0;color:#536476;font-size:13px}.nd-heading p span{color:#c49a43;margin:0 8px}.nd-readonly{text-align:right;color:#987228;font:23px Georgia,serif}.nd-readonly span{display:block;color:#6b7887;font:11px 'Segoe UI',sans-serif;margin-top:8px}.nd-section-title{display:flex;align-items:baseline;gap:10px;margin:25px 0 13px;flex-wrap:wrap}.nd-section-title>span{color:#aa853d;font:12px Georgia,serif}.nd-section-title>p{font-size:11px;color:#647487;margin:0 0 0 auto}.nd-scroll{overflow:auto}.nd-table{width:100%;min-width:1080px;font-variant-numeric:tabular-nums;border-collapse:collapse}.nd-table th,.nd-table td{padding:15px 10px;border-bottom:1px solid var(--nd-line);text-align:center;font-size:13px;vertical-align:middle}.nd-table thead th{background:#f7f5ef;color:#566576;font-size:10px;font-weight:500;border-top:1px solid var(--nd-line);line-height:1.6}.nd-table th:first-child{width:280px;text-align:left}.nd-table tbody th{font-weight:400;font-family:Georgia,serif;line-height:1.5}.nd-table tbody th>span:last-child{display:inline-block;max-width:210px;vertical-align:middle;font-size:14px}.nd-table tbody tr:hover{background:#faf9f5}.nd-table small{display:block;font-size:10px;color:#748191;margin-top:5px}.nd-table strong{font-size:16px}.nd-badge{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid currentColor;font:16px Georgia,serif;margin-right:12px;vertical-align:middle}.nd-a{color:#06273f}.nd-b{color:#a47a2c}.nd-c{color:#318b92}.nd-budget td:nth-child(6){background:#f6f3e9}.nd-viz-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);column-gap:32px;margin-top:12px}.nd-zone-chart{grid-row:span 2;border-right:1px solid var(--nd-line);padding-right:30px}.nd-caption{font-size:11px;color:#68778a;margin:8px 0 16px;line-height:1.5}.nd-legend{display:flex;gap:23px;font-size:11px;margin:18px 0}.nd-legend span{display:flex;align-items:center;gap:7px}.nd-root i{display:inline-block}.nd-legend i,.nd-structure-legend i{width:10px;height:10px;border-radius:1px;flex-shrink:0}.nd-chart-row{display:grid;grid-template-columns:145px minmax(0,1fr);gap:12px;padding:17px 0;border-bottom:1px solid #edf0f1}.nd-chart-row:nth-of-type(even){background:#fcfaf5}.nd-zone-label{font:15px/1.5 Georgia,serif;align-self:center}.nd-group{display:grid;gap:7px}.nd-bar-line{display:grid;grid-template-columns:12px minmax(0,1fr) 57px;align-items:center;gap:7px;font-size:10px}.nd-bar-line>span{color:#8c98a4}.nd-bar-line b{text-align:right;font-weight:500;color:#506174}.nd-track{height:15px;background:repeating-linear-gradient(90deg,transparent,transparent calc(25% - 1px),#e8edef calc(25% - 1px),#e8edef 25%)}.nd-bar{height:15px;min-width:0}.nd-axis{display:flex;justify-content:space-between;margin:12px 64px 0 169px;font-size:9px;color:#6c7b8b}.nd-composition .nd-section-title,.nd-limits .nd-section-title{margin-bottom:8px}.nd-scenario-switch{display:flex;gap:2px;float:right;margin-top:8px}.nd-scenario-switch button{padding:6px 12px;border:0;border-bottom:2px solid transparent;border-radius:0;font-size:12px;color:#5a6c7c}.nd-scenario-switch button[aria-pressed=true]{border-color:#c49a43;color:#06273f;background:#f8f4e9}.nd-stack-total{font:25px Georgia,serif;margin:18px 0}.nd-stack-total small{display:block;font:10px 'Segoe UI',sans-serif;color:#748191;margin-top:5px}.nd-stack{display:flex;height:68px;width:100%;overflow:hidden;margin:12px 0 16px}.nd-stack>div{display:flex;justify-content:center;align-items:center;min-width:0;color:white;font-size:12px}.nd-stack>div:nth-child(4){color:#06273f}.nd-structure-legend{display:grid;grid-template-columns:1fr 1fr;gap:12px 15px}.nd-structure-legend>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:10px}.nd-structure-legend b{font-weight:500;margin-left:auto}.nd-limits{border-top:1px solid var(--nd-line);margin-top:10px}.nd-fit-row{margin:17px 0}.nd-fit-row>div:first-child{display:flex;align-items:center}.nd-fit-row .nd-badge{width:22px;height:22px;font-size:12px;margin-right:8px}.nd-fit-row b{font-size:13px;font-weight:500}.nd-fit-row small{font-size:10px;color:#708091}.nd-fit-row>div small{margin-left:auto}.nd-fit-track{height:6px;background:#eef1f2;position:relative;margin:8px 0}.nd-fit-track>span{display:block;height:6px}.nd-fit-track i{position:absolute;top:-3px;height:12px;border-left:2px solid #273b4c}.nd-conditions{border-top:1px solid var(--nd-line);margin-top:24px;padding-top:14px;font-size:12px;color:#68778a}.nd-conditions summary{cursor:pointer;color:#06273f}.nd-conditions>div{padding-top:8px}.nd-conditions p{line-height:1.65}.nd-alert,.nd-table .nd-alert{color:#a34536}.nd-empty{font-size:12px;color:#7b8794;padding:16px 0}.nd-footnote{display:flex;justify-content:space-between;gap:12px;color:#9b7732;border-top:1px solid var(--nd-line);margin-top:22px;padding-top:14px;font:13px Georgia,serif}.nd-footnote span{font:10px 'Segoe UI',sans-serif;color:#81909d}
@media(min-width:1600px){.nd-viz-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,.9fr) minmax(0,.9fr);gap:26px}.nd-zone-chart{grid-row:auto}.nd-limits{border-top:0;border-left:1px solid var(--nd-line);padding-left:24px;margin-top:0}.nd-structure-legend{grid-template-columns:1fr}}
@media(max-width:1000px){.nd-root{padding:23px 18px}.nd-viz-grid{grid-template-columns:1fr}.nd-zone-chart{border-right:0;padding-right:0}.nd-composition{margin-top:15px}.nd-section-title>p{margin-left:22px;width:100%}.nd-footnote{flex-direction:column}}@media(max-width:600px){.nd-heading{align-items:flex-start;flex-direction:column}.nd-readonly{text-align:left;font-size:18px}.nd-root h2{font-size:30px}.nd-chart-row{grid-template-columns:95px minmax(0,1fr)}.nd-zone-label{font-size:12px}.nd-axis{margin-left:115px}.nd-legend{gap:12px;font-size:10px}.nd-structure-legend{grid-template-columns:1fr}}
@media print{.nd-root{padding:10px;margin:0}.nd-scroll{overflow:visible}.nd-table{min-width:0}.nd-table th,.nd-table td{padding:9px 4px;font-size:9px}.nd-table th:first-child{width:180px}.nd-table tbody th>span:last-child{font-size:10px;max-width:130px}.nd-viz-grid{grid-template-columns:1.5fr 1fr}.nd-root{-webkit-print-color-adjust:exact;print-color-adjust:exact}.nd-section-title{break-after:avoid}.nd-chart-row,tr{break-inside:avoid}}
.nd-table th:not(:first-child),.nd-table td{min-width:88px}.nd-table th:first-child{min-width:275px}
/* Compact density and full functional programme; no input data changed. */
.nd-root{padding:24px 25px;margin:0}.nd-root h2{font-size:32px}.nd-heading{padding-bottom:16px}.nd-section-title{margin:20px 0 10px}
.nd-table{min-width:900px}.nd-table th,.nd-table td{padding:9px 6px;font-size:12px}.nd-table thead th{font-size:10px}
.nd-table th:first-child{width:220px;min-width:190px}.nd-table tbody th>span:last-child{max-width:172px;font-size:12px}
.nd-table th:not(:first-child),.nd-table td{min-width:70px}.nd-table small{margin-top:3px}
.nd-program-section{margin:18px 0 22px}.nd-program-section h4{font:17px Georgia,serif;color:#06273f;margin:0 0 9px;padding-left:10px;border-left:3px solid #c49a43}
.nd-program-table{table-layout:fixed;min-width:700px}.nd-program-table thead th{font-size:11px;line-height:1.4}.nd-program-table td{font-variant-numeric:tabular-nums}
.nd-program-values{display:grid;grid-template-columns:1fr;gap:1px;line-height:1.3;font-size:11px}.nd-program-values b{font-weight:600}.nd-program-values span{color:#576b7d}.nd-program-values em{font-size:9px;font-style:normal;font-weight:400;color:#7a8793}
.nd-current-row{background:#edf3f4}.nd-current-row th,.nd-current-row td{border-top:2px solid #94b2bb}.nd-current-badge{color:#6a8e99;margin:0 16px 0 7px}.nd-current-row small{font-family:'Segoe UI',sans-serif;font-size:9px}
@media(max-width:760px){.nd-root{padding:18px 14px}.nd-program-table{min-width:650px}.nd-table th:first-child{min-width:160px;width:160px}.nd-table tbody th>span:last-child{max-width:110px}}
.nd-table tbody th>span:last-child{width:calc(100% - 44px);max-width:none}.nd-program-table tbody th>span:last-child{font-size:11px;line-height:1.35}
.nd-accumulated{min-width:1780px;table-layout:fixed}.nd-accumulated th:first-child{width:190px;min-width:190px;position:sticky;left:0;z-index:1;background:#fff}.nd-accumulated thead th:first-child{background:#f7f5ef;z-index:2}.nd-accumulated .nd-current-row th{background:#edf3f4}.nd-accumulated td,.nd-accumulated th{padding:9px 5px;font-size:10px;min-width:95px}.nd-accumulated td b{font-weight:600;font-size:11px}.nd-accumulated td small{font-size:9px;line-height:1.4}.nd-accumulated thead tr:first-child th{border-bottom:1px solid #b9c6cc;font-weight:600}

.nd-bar-line b small{display:block;font-size:9px;font-weight:400;white-space:nowrap}.nd-stack>div:nth-child(4){color:#fff}.nd-stack>div:nth-child(5){color:#06273f}

.nd-chart-mode{display:flex;gap:8px;margin:25px 0 10px}.nd-chart-mode button{border:1px solid #bcc8d0;background:white}.nd-chart-mode button[aria-pressed=true]{background:#06273f;color:white;border-color:#06273f}.nd-current-detail .current-view{margin-top:20px}.nd-current-detail .panel{padding:12px}
