main{max-width:1600px}header{padding:20px 3%;gap:24px}header h1{margin:6px 0}header img{width:100px}.back{margin-left:auto;color:#655226}.toolbar{gap:10px}.toolbar label{font-size:12px}.toolbar button{padding:11px}.switch{margin-left:auto;display:flex;align-items:center!important;font-size:15px!important;white-space:nowrap}.switch input{width:22px;height:22px;accent-color:#9b772f}select{font:inherit;padding:10px;border:1px solid #d7cbb2;border-radius:8px;background:white}.context{font-size:12px;color:#706e66;line-height:1.7}#status{margin:8px 0;font-size:13px}nav{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}nav button{background:#fff;padding:10px 20px}nav button[aria-current=true]{background:#30312c;color:white;border-color:#30312c}#sections{border-bottom:1px solid #dedbd3;padding-bottom:16px}#sections button{border:0;background:transparent;padding:8px 14px}#sections button[aria-current=true]{background:#eee1bf;color:#423c2d}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.metric{padding:22px;background:#f4eddd;border-radius:14px}.metric:nth-child(2){background:#f4eddd}.metric:nth-child(3){background:#f4eddd}.metric:nth-child(4){background:#f4eddd}.metric span{font-size:13px;display:block}.metric strong{display:block;font-size:27px;margin-top:10px;letter-spacing:-1px}.negative{color:#a2343a!important}section{margin-bottom:20px;padding:24px}h2{margin:0 0 12px;font-size:22px;font-weight:600}.sub{color:#706e66;font-size:13px;line-height:1.65;margin:8px 0 18px}.scroll{overflow:auto;max-height:70vh;border:1px solid #dedbd3;border-radius:9px}table{font-size:13px;font-variant-numeric:tabular-nums}td,th{padding:11px 14px;white-space:nowrap;text-align:right;min-width:142px}th:first-child,td:first-child{position:sticky;left:0;min-width:260px;max-width:300px;white-space:normal;text-align:left;background:#fff;z-index:1}thead th{position:sticky;top:0;background:#eae5d9;font-size:12px;z-index:2}thead th:first-child{background:#eae5d9;z-index:3}tbody tr:nth-child(even) td,tbody tr:nth-child(even) th{background:#f6f3eb}tr.total td,tr.total th{background:#eee1bf!important;font-weight:700;border-top:2px solid #c4a362}.edit{width:130px!important;min-width:0!important;border:1px solid transparent;border-bottom-color:#b7a577;background:transparent;padding:7px;text-align:right;font-size:13px}.edit:focus{outline:2px solid #ae873b;background:white}.edit[type=checkbox]{width:20px!important;height:20px;accent-color:#9b772f}.edit.text{width:180px!important;text-align:left}.chip{font-size:11px;background:#eee7d7;border-radius:5px;padding:3px 6px}.plot{width:100%;height:160px;display:block;margin-bottom:20px}.settings{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.settings label{font-size:13px}.settings input{width:100%!important;text-align:left}.settings .edit{width:100%!important}.warning{background:#fff1dc;color:#705528;padding:14px;border-radius:9px;font-size:13px}.error{background:#fbe5e5;color:#8d2424;padding:16px;border-radius:8px}.inline{display:flex;align-items:center;gap:15px}.inline input{width:90px}.tiny{font-size:11px;color:#706e66}dialog{border:1px solid #d4c5a5;border-radius:16px;max-width:480px;padding:28px}dialog::backdrop{background:#24231f70}@media(max-width:800px){.metrics{grid-template-columns:1fr 1fr}.metric strong{font-size:22px}.settings{grid-template-columns:1fr}header{padding:16px;gap:12px}header h1{font-size:24px}.back{font-size:11px}.switch{margin-left:0}th:first-child,td:first-child{min-width:185px}main{padding:0 12px}section{padding:16px}} 

.fill-row{display:block;padding:5px 9px;margin-top:7px;font-size:11px;background:#f6f3eb;border-color:#d9d0bd}.edit[type=number]{background:#fff;border:1px solid #d6d0c1;min-height:36px}.edit[type=number]:hover{border-color:#a48745}.fill-dates{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}#fill-dialog{width:570px;max-width:95vw}#fill-dialog label{margin-top:10px}#fill-preview{font-size:13px;background:#f4eddd;padding:12px;border-radius:8px}.fill-preview-list{max-height:180px;overflow:auto;margin-top:10px}.fill-preview-list>div{display:flex;justify-content:space-between;gap:12px;padding:6px;border-bottom:1px solid #dedbd3}
#fill-dialog{max-height:92vh;overflow-y:auto;padding:20px}#fill-dialog h2{font-size:20px}#fill-dialog .sub{margin:6px 0 10px}#fill-dialog label{margin-top:6px}#fill-dialog input,#fill-dialog select{padding:8px}#fill-dialog .toolbar{margin:10px 0}#fill-dialog .fill-dates{margin-top:8px}#fill-dialog .fill-preview-list{max-height:110px}

.period-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:14px;padding:18px}.period-toolbar label{font-size:12px}.period-toolbar input{padding:9px}.period-toolbar p{flex-basis:100%;margin:0;font-size:12px;color:#706e66}.period-total{font-weight:700;background:#eee7d7!important;border-right:2px solid #d2c09a}.metrics{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}

.row-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.row-actions button{padding:4px 7px;font-size:11px;background:#f6f3eb}.row-actions button[data-row-action=delete],.row-actions button[data-item-delete]{color:#943c3c}#item-dialog{width:460px;max-height:90vh;overflow:auto}#item-dialog label{margin-top:14px}#item-dialog input,#item-dialog select{width:100%}

.row-actions{display:grid;grid-template-columns:58px 54px 90px;gap:6px;margin-top:9px;align-items:center}.row-actions button,.row-actions .fill-row{display:block;width:100%;height:28px;box-sizing:border-box;margin:0;padding:4px 5px;white-space:nowrap;line-height:18px;font-size:11px;border-radius:6px}th:has(.row-actions){min-width:246px;vertical-align:middle}

#companies .capex-nav{background:#f2dfc6;border-color:#cba56e;color:#67451f;margin-left:8px}#companies .capex-nav[aria-current=true]{background:#98662e;border-color:#98662e;color:#fff}#companies .capex-nav:hover{background:#dfbc8a;color:#472e12}

#screen th > small { display:block; margin-top:5px; font-weight:400; color:#706e66; }

.build-header {align-items:center;gap:22px;flex-wrap:wrap}.build-header h2{margin-right:auto}.build-header label{display:grid;gap:6px;font-size:13px}.build-header select{min-width:170px}

.rename-title{font-size:12px;padding:5px 9px;margin-left:10px;vertical-align:middle}

.person-pension{display:flex;gap:8px;margin-top:9px}.person-pension label{font-size:11px;font-weight:400}.person-pension input{display:block;width:65px;margin-top:4px}details{margin-top:18px}summary{cursor:pointer}

.tax-code-label{display:block;font-size:11px;font-weight:400;margin-top:8px}.tax-code-label input{display:block;width:165px;margin-top:4px}.tax-detail{font-weight:400;font-size:12px;white-space:normal;max-width:300px}.tax-detail dl{display:grid;grid-template-columns:1fr auto;gap:6px}.tax-detail dd{margin:0;text-align:right}.tax-detail dt{text-align:left}

#companies .people-nav{background:#f4eddd;color:#655226;border-color:#d7cbb2}#companies .people-nav[aria-current="true"]{background:#806125;color:white;border-color:#806125}

/* Expandable workspace navigation */
body{--sidebar-width:230px}body>header{height:108px;box-sizing:border-box;margin:0;position:relative;z-index:5;background:#fff;padding:16px 24px}body>header img{width:70px}body>header h1{font-size:27px}#nav-toggle{background:#f5f1e7;border:1px solid #d7cbb2;padding:8px 12px;font-size:19px}#sidebar{position:fixed;left:0;top:108px;bottom:0;width:var(--sidebar-width);box-sizing:border-box;overflow:auto;background:#f6f4ef;border-right:1px solid #dedbd3;padding:22px 14px;z-index:4}.sidebar-title{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#706e66;padding:0 10px 15px}body>main{margin:0 0 0 var(--sidebar-width);width:calc(100% - var(--sidebar-width));max-width:none;box-sizing:border-box;padding:20px 24px}#companies{display:flex;flex-direction:column;gap:6px;margin:0}#companies button{text-align:left;width:100%;box-sizing:border-box;padding:10px 12px;font-size:13px;border-radius:8px}#companies details{margin:0}#companies summary{padding:11px 10px;font-size:13px;font-weight:600;border-radius:7px;color:#655226}#companies summary:hover{background:#eee3ca}#companies .company-tree{padding-bottom:10px;margin-bottom:6px;border-bottom:1px solid #dedbd3}#companies .company-tree>details{margin-left:8px}#companies .company-links{border-left:2px solid #d2c09a;margin:2px 0 8px 15px;padding-left:8px}#companies .company-links button{border:0;background:transparent;padding:8px 10px;font-size:12px}#companies .company-links button[aria-current=true]{background:#eee1bf;color:#423c2d;font-weight:700}#companies .selected-company{color:#655226;background:#eee7d7}#companies .capex-nav{margin-left:0}#sections{margin:8px 0 18px;padding:0 0 12px;font-size:14px;font-weight:600}.crumb{font-weight:400;color:#706e66}body.nav-collapsed #sidebar{display:none}body.nav-collapsed>main{margin-left:0;width:100%}.period-toolbar{padding:14px;gap:10px}.period-toolbar label:first-child{max-width:230px}.period-toolbar select{max-width:100%}body>main>.toolbar{flex-wrap:wrap}.metrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}@media(max-width:850px){body{--sidebar-width:190px}body>main{padding:14px}body>header{padding:12px;gap:12px}body>header h1{font-size:21px}.back{font-size:11px}}@media(max-width:600px){#sidebar{width:200px;box-shadow:6px 0 20px #27241b22}body>main{margin-left:0;width:100%}body>header img{width:50px}}

.compact-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 16px;background:white;border:1px solid #dedbd3;border-radius:12px}.compact-controls details{margin:0}.control-popover{position:relative}.control-popover>summary{list-style:none;display:flex;align-items:center;gap:12px;font-size:13px;padding:6px 0}.control-popover>summary::-webkit-details-marker{display:none}.control-caption{display:none}.control-popover strong{font-size:17px;font-weight:600;white-space:nowrap}.change-label{font-size:12px;color:#806125}.compact-scenario{display:flex;align-items:center;gap:8px;font-size:12px;margin-left:auto}.compact-scenario select{padding:7px 9px;max-width:185px}.compact-controls .switch{margin-left:0;font-size:13px!important}.compact-controls #save{padding:9px 12px;font-size:13px}.more-summary{padding:9px!important;color:#806125}.popover-body{position:absolute;top:calc(100% + 15px);left:0;width:min(650px,75vw);background:white;border:1px solid #dedbd3;border-radius:12px;box-shadow:0 12px 35px #27241b25;z-index:20;padding:16px}.popover-body .period-toolbar{border:0;box-shadow:none;margin:0;padding:0}.actions-body{left:auto;right:0;width:245px;display:flex;flex-direction:column;gap:9px}.actions-body button{text-align:left;padding:9px 12px;font-size:13px}.actions-body .context{margin:4px 0;font-size:11px}body>main>#status{font-size:11px;color:#706e66;margin:7px 3px 12px}body>main>#sections{margin:8px 0 14px;padding-bottom:10px}@media(max-width:900px){.compact-controls{gap:10px}.compact-scenario{margin-left:0}.popover-body{width:min(550px,78vw)}}@media(max-width:600px){.popover-body{position:fixed;top:150px;left:12px;right:12px;width:auto;max-height:70vh;overflow:auto}.compact-controls strong{font-size:15px}}

.edit-mode{font-size:12px;color:#6e5b30;margin:8px 3px 0}.edit-mode.locked{color:#806031}#screen input:disabled,#screen select:disabled{opacity:.8;background:#eeece6!important;color:#646157}#screen button:disabled{opacity:.45;cursor:not-allowed}

#fill-dialog{width:760px;max-width:94vw;box-sizing:border-box}.fill-tools{display:grid;grid-template-columns:2fr 1.2fr .8fr;gap:12px}.fill-tools input,.fill-tools select{width:100%;box-sizing:border-box}.month-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.month-tile{border:1px solid #dedbd3;border-radius:10px;padding:10px;background:#faf9f5}.month-tile.selected{background:#f5ead0;border-color:#b59040}.month-tile.unavailable{opacity:.4}.month-tile>button{display:flex;justify-content:space-between;width:100%;border:0;background:transparent;padding:0 0 8px;font-weight:600}.month-tile small{display:block;font-size:10px;color:#706e66}.month-tile strong{display:block;margin-top:10px;font-size:14px}.month-tile label{font-size:10px}.month-tile input{width:100%;box-sizing:border-box;font-size:13px}#fill-preview{margin:12px 0 0}@media(max-width:600px){.month-grid{grid-template-columns:repeat(3,1fr)}.fill-tools{grid-template-columns:1fr}}

/* League of Adventure palette — layout and financial logic unchanged. */
:root{--ink:#252421;--gold:#d6ad54;--gold-light:#f4ead2;--paper:#f6f4ef;--line:#dedbd3;--muted:#706e66}
body{background:var(--paper);color:var(--ink)}body>header{border-bottom-color:var(--gold)}.back{color:#655226}
button{background:#f5f1e7;border-color:#d7cbb2;color:var(--ink)}button:hover:not(:disabled){background:#eee3ca;border-color:#b4934d}button:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid #987123;outline-offset:3px}
input,select{border-color:var(--line);background:#fff;color:var(--ink)}#save,#fill-apply,#period-apply{background:var(--gold);border-color:#bd953f;color:#292318;font-weight:600}
#nav-toggle{background:#f5f1e7;border-color:#d7cbb2}#sidebar{background:#242522;border-color:#353630}.sidebar-title{color:#c6b58c}
#companies button,#companies .people-nav,#companies .capex-nav{background:transparent;color:#e6e3da;border-color:#484941}#companies summary{color:#e6e3da}#companies summary:hover,#companies button:hover,#companies .capex-nav:hover{background:#393a32;color:#fff}#companies .company-tree{border-bottom-color:#484941}#companies .company-links{border-left-color:#555143}#companies .company-links button{color:#d2cfc5;background:transparent}
#companies button[aria-current=true],#companies .people-nav[aria-current=true],#companies .capex-nav[aria-current=true],#companies .company-links button[aria-current=true]{background:var(--gold);color:#282318;border-color:var(--gold);font-weight:700}#companies .selected-company{background:#39362c;color:#ebcc85}
.compact-controls,section,.scroll,.popover-body{border-color:var(--line)}.popover-body{box-shadow:0 12px 35px #27241b20}.change-label,.more-summary{color:#806125}.crumb,.sub,.context,.tiny,body>main>#status,#screen th>small,.month-tile small{color:var(--muted)}#sections{border-color:var(--line)}
.metric,.metric:nth-child(2),.metric:nth-child(3),.metric:nth-child(4){background:#fff;border:1px solid var(--line);border-top:3px solid #cbb77f}.metric:last-child{background:#f3ead6;border-top-color:#af8534}.metric span{color:#686457}
thead th,thead th:first-child{background:#eae5d9;color:#423c2d}td,th{border-bottom-color:#e8e5de}tbody tr:nth-child(even) td,tbody tr:nth-child(even) th{background:#f7f5ef}tr.total td,tr.total th{background:#eee5cf!important;border-top-color:#c6af76}.period-total{background:#f0e9da!important;border-right-color:#d2c09a}
.edit{border-bottom-color:#b7a577}.edit[type=number]{border-color:#d6d0c1}.edit[type=number]:hover{border-color:#a48745}.edit:focus{outline-color:#ae873b}.edit[type=checkbox],.switch input{accent-color:#9b772f}.row-actions button,.fill-row{background:#f6f3eb;border-color:#d9d0bd}.chip{background:#eee7d7}.edit-mode{color:#6e5b30}.edit-mode.locked{color:#806031}
dialog{border-color:#d4c5a5}dialog::backdrop{background:#24231f70}.month-tile{background:#faf9f5;border-color:var(--line)}.month-tile.selected{background:#f5ead0;border-color:#b59040}.month-tile>button{background:transparent}#fill-preview{background:#f4eddd}.fill-preview-list>div{border-color:var(--line)}#screen input:disabled,#screen select:disabled{background:#eeece6!important;color:#646157}
.plot polyline{stroke:#ae8535}.plot circle{fill:#ae8535}.plot line{stroke:#c9c2b1}.plot text{fill:#706a5c}

/* Overheads table colour preview */
.overheads-table thead th,.overheads-table thead th:first-child{background:#30312c;color:#fff;border-bottom:2px solid #c5a151}
.overheads-table tbody tr:nth-child(odd)>td,.overheads-table tbody tr:nth-child(odd)>th{background:#fff}
.overheads-table tbody tr:nth-child(even)>td,.overheads-table tbody tr:nth-child(even)>th{background:#f6f3eb}
.overheads-table tbody tr>td.period-total{background:#eee7d7!important;color:#4d4129;border-right:2px solid #d6c39a}
.overheads-table .edit[type=number]{background:#fff;border:1px solid #caba94;border-radius:6px;color:#292720}
.overheads-table .edit[type=number]:focus{outline:2px solid #ad8532;outline-offset:1px}
.overheads-table tbody tr:not(.total):hover>td,.overheads-table tbody tr:not(.total):hover>th,.overheads-table tbody tr:not(.total):focus-within>td,.overheads-table tbody tr:not(.total):focus-within>th{background:#f4e9ce!important}
.overheads-table tr.total>td,.overheads-table tr.total>th{background:#eee1bf!important;color:#3d3422;border-top:2px solid #c4a362}
.overheads-table tr.total:last-child>td,.overheads-table tr.total:last-child>th{background:#35362f!important;color:#fff;border-top:2px solid #c5a151}
.overheads-table tr.total:last-child .negative{color:#ffb9b3!important}

/* Neutralise shared portal colours in cashflow-only controls. */
.note{background:#f4eddd;color:#655226}input{background:#fff}#screen [aria-pressed="true"]{background:#eee1bf;border-color:#b59040}#screen a{color:#806125}

/* Remove olive undertones from table surfaces. */
thead th,thead th:first-child{background:#e9e6e3;color:#302d2b}
tbody tr:nth-child(even)>td,tbody tr:nth-child(even)>th{background:#f4f1ef}
.overheads-table thead th,.overheads-table thead th:first-child{background:#303030;color:#fff}
.overheads-table tbody tr:nth-child(even)>td,.overheads-table tbody tr:nth-child(even)>th{background:#f4f1ef}
.overheads-table tbody tr>td.period-total,.period-total{background:#eee3d8!important;color:#514238}
.overheads-table .row-actions button{background:#f5f1ee;border-color:#d8ccc3}
.overheads-table .edit[type=number]{border-color:#cdb9a5}
.overheads-table tbody tr:not(.total):hover>td,.overheads-table tbody tr:not(.total):hover>th,.overheads-table tbody tr:not(.total):focus-within>td,.overheads-table tbody tr:not(.total):focus-within>th{background:#f4e4d5!important}
.overheads-table tr.total>td,.overheads-table tr.total>th{background:#ead7bf!important}
.overheads-table tr.total:last-child>td,.overheads-table tr.total:last-child>th{background:#303030!important;color:#fff}

/* Cool grey table palette. */
body{background:#f7f7f8}
#screen thead th,#screen thead th:first-child{background:#303030;color:#fff;border-bottom-color:#55585e}
#screen tbody tr:nth-child(even)>td,#screen tbody tr:nth-child(even)>th{background:#f0f1f3}
#screen td.period-total{background:#e4e6e9!important;color:#30343a;border-right-color:#cbd0d6}
#screen .row-actions button{background:#f5f6f7;border-color:#d2d5da}
#screen .edit[type=number]{border-color:#cbd0d6;background:#fff}
#screen tbody tr:not(.total):hover>td,#screen tbody tr:not(.total):hover>th,#screen tbody tr:not(.total):focus-within>td,#screen tbody tr:not(.total):focus-within>th{background:#e8ebef!important}
#screen tr.total>td,#screen tr.total>th{background:#dfe2e7!important;color:#30343a;border-top-color:#bcc2cb}
#screen .overheads-table tr.total:last-child>td,#screen .overheads-table tr.total:last-child>th{background:#303030!important;color:#fff}
.metric:last-child{background:#eef0f3}.metric,.metric:nth-child(2),.metric:nth-child(3),.metric:nth-child(4){border-top-color:#bcc2cb}

body>header img{width:160px;height:auto;display:block}body>header>a:has(img){background:#242424;padding:13px 16px;border-radius:8px;flex-shrink:0}@media(max-width:600px){body>header img{width:100px}body>header>a:has(img){padding:10px}}

/* Align brand with the navigation column. */
body>header{display:grid;grid-template-columns:var(--sidebar-width) 1fr auto;column-gap:24px;padding:0 24px 0 0}
body>header>a:has(img){grid-column:1;grid-row:1;justify-self:center;padding:12px;background:#242424;margin:0}
body>header img{width:160px}
body>header>div{grid-column:2;grid-row:1;padding-left:44px}
body>header>#nav-toggle{position:absolute;left:calc(var(--sidebar-width) + 24px);top:32px;padding:8px 10px}
body>header>.back{grid-column:3;grid-row:1}
@media(max-width:600px){body>header{grid-template-columns:150px 1fr;padding-right:12px;column-gap:12px}body>header img{width:115px}body>header>#nav-toggle{left:162px}body>header>div{padding-left:42px}body>header>.back{display:none}}

/* Keep header and fixed sidebar together while the content scrolls. */
body>header{position:sticky;top:0;z-index:30}#sidebar{top:108px}

/* Continuous charcoal header and sidebar. */
body>header{background:#242522;color:#f5f5f3}body>header small{color:#cfcec8}body>header .back{color:#e2c47f}body>header>a:has(img){background:transparent}body>header>#nav-toggle{background:#363731;border-color:#55564c;color:#f5f5f3}

body>header h1{font-size:36px;font-weight:600;line-height:1.2;margin:0}@media(max-width:850px){body>header h1{font-size:28px}}@media(max-width:600px){body>header h1{font-size:23px}}

/* Align page title with main content and separate the navigation toggle. */
body>header{grid-template-columns:var(--sidebar-width) 1fr 40px auto;column-gap:24px}
body>header>div{padding-left:0}
body>header>#nav-toggle{position:static;grid-column:3;grid-row:1;width:40px;height:40px;padding:0;display:grid;place-items:center}
body>header>.back{grid-column:4}
@media(max-width:600px){body>header{grid-template-columns:150px 1fr 36px;column-gap:12px}body>header>#nav-toggle{width:36px;height:36px}body>header>div{padding-left:0}body>header h1{font-size:21px}}

.project-includes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin:20px 0 24px;padding:16px;border:1px solid #d8dce1;border-radius:10px;background:#f7f8fa}.project-includes legend{font-size:13px;font-weight:600;padding:0 6px}.project-includes label{display:flex;align-items:center;gap:10px;font-size:13px;min-height:36px}.project-includes input.edit[type=checkbox]{flex:0 0 20px;width:20px!important;height:20px;margin:0;padding:0}.project-includes span{line-height:1.4}.fill-row{min-height:28px;width:100px;text-align:center}#screen td{vertical-align:middle}@media(max-width:850px){.project-includes{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.project-includes{grid-template-columns:1fr}}

.tracker-controls{margin:0 0 24px;padding:16px;border:1px solid #d8dce1;border-radius:10px;background:#f7f8fa}.tracker-controls>summary{font-weight:600}.tracker-controls .chip{margin-left:10px;background:#e4e6e9}.tracker-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.tracker-project{padding:16px;background:#fff;border:1px solid #d8dce1;border-radius:8px}.tracker-project strong{display:block;margin-bottom:14px}.tracker-project label{display:flex;align-items:center;gap:10px;font-size:13px;margin:12px 0}.tracker-project input{width:18px;height:18px;accent-color:#9b772f}.tracker-project small{display:block;color:#62666e;font-size:11px;line-height:1.5}

/* Softer navigation shell. */
body>header,#sidebar{background:#eceef1;color:#30343b;border-color:#d5d9df}body>header{border-bottom:3px solid #c8ad66}body>header>a:has(img){background:#fff}body>header .back{color:#66552b}body>header>#nav-toggle{background:#f8f9fa;border-color:#cdd2d9;color:#414751}.sidebar-title{color:#6a7079}
#companies button,#companies .people-nav,#companies .capex-nav,#companies summary,#companies .company-links button{color:#414751;background:transparent;border-color:#cdd2d9}
#companies summary:hover,#companies button:hover,#companies .capex-nav:hover{background:#dfe3e9;color:#222831}
#companies .company-tree{border-bottom-color:#cdd2d9}#companies .company-links{border-left-color:#c3c9d2}
#companies .selected-company{background:#e0e4ea;color:#30343b}
#companies button[aria-current=true],#companies .people-nav[aria-current=true],#companies .capex-nav[aria-current=true],#companies .company-links button[aria-current=true]{background:#d3d9e2;color:#252c36;border-color:#bec6d1;box-shadow:inset 3px 0 #b19549}

.metrics{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.metric strong{white-space:nowrap}

.metrics{grid-template-columns:repeat(auto-fit,minmax(225px,1fr));align-items:stretch}.metric{display:flex;flex-direction:column;padding:20px;min-width:0}.metric span{min-height:36px;line-height:18px}.metric strong{margin-top:12px;font-size:26px;line-height:34px;letter-spacing:-.8px;white-space:nowrap}@media(max-width:600px){.metrics{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}

.ownership-footer{border-top:1px solid #d8dce1;margin-top:32px;padding:22px 4px 12px;color:#666c75;font-size:11px;line-height:1.6}.ownership-footer strong{font-size:12px;color:#414751}.ownership-footer p{margin:5px 0}.ownership-footer a{color:inherit;text-underline-offset:3px}

#sidebar{display:flex;flex-direction:column}#sidebar #companies{flex-shrink:0}#sidebar .ownership-footer{margin-top:auto;padding:22px 8px 8px;border-top:0;font-size:10px;line-height:1.55;flex-shrink:0}#sidebar .ownership-footer strong{font-size:11px}#sidebar .ownership-footer p{margin:8px 0}#sidebar #companies{margin-bottom:24px}

#sidebar .ownership-footer a{text-decoration:none}

.vat-company-detail{margin:0}.vat-company-detail>summary{font-size:15px;font-weight:600;padding:2px 0}.vat-company-detail[open]>summary{margin-bottom:18px}.vat-company-detail .settings{margin-bottom:20px}

/* Consistent inset dropdown arrows. */
select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%235d6570' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:12px 8px;padding-right:40px!important}

.theme-picker{display:flex;align-items:center;gap:8px;font-size:12px}.theme-picker select{padding:7px 9px;font-size:12px;min-width:135px}
