@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--nav:#102d3c;--ink:#182f3c;--muted:#697c88;--teal:#168a79;--mint:#e7f5ef;--bg:#f3f6f7;--line:#e2e9ec;--orange:#b37826;--red:#ad4e51;--blue:#527dbd;--purple:#8373b5;--radius:14px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button,a{outline-offset:4px}button{cursor:pointer}a{color:var(--teal)}button{color:inherit}h1,h2,h3,h4{font-family:Manrope,system-ui,sans-serif;margin:0}h1{font-size:32px;letter-spacing:-1px;line-height:1.25}h2{font-size:18px;letter-spacing:-.4px}h3{font-size:15px}p{line-height:1.65;margin:8px 0}small{font-size:11px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:234px;background:var(--nav);color:#b8cbd3;padding:30px 19px;z-index:30;display:flex;flex-direction:column}.brand{display:flex;gap:14px;align-items:center;color:white;text-decoration:none;margin:3px 8px 37px;font:500 20px/1.18 Manrope}.brand b{font-weight:800}.brand-mark{position:relative;display:grid;place-items:center;width:48px;height:48px;border:1px solid #416471;border-radius:12px;color:#8be4c9;font-weight:800;font-size:24px}.brand-mark span{position:absolute;right:5px;bottom:4px;font-size:17px}.nav-caption{font-size:9px;letter-spacing:1.6px;color:#85a2af;margin:0 10px 15px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav button{display:flex;align-items:center;width:100%;text-align:left;border:0;background:transparent;color:#c0d0d6;border-radius:8px;padding:13px 11px;font-size:12px;font-weight:500;gap:10px}.sidebar nav button:hover{background:#21434e}.sidebar nav button.active{background:#244c52;color:#a5efd8}.sidebar nav button>span:first-child{font-size:18px;width:20px}.new{font-size:7px;border:1px solid #527177;border-radius:3px;padding:3px;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:20px 8px 0;border-top:1px solid #2a4b59;font-size:10px;line-height:1.7}.sidebar-bottom small{display:block;color:#87a4b1;margin-top:12px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#5bccad;margin-right:7px;flex-shrink:0}.workspace{margin-left:234px}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;font-size:12px}.breadcrumb{color:var(--muted)}.divider{color:#cbd5db;margin:0 14px}.top-actions{display:flex;gap:16px;align-items:center}.button{border:1px solid var(--line);border-radius:7px;padding:9px 13px;background:white;font-size:12px;white-space:nowrap}.button:hover{border-color:var(--teal);color:var(--teal)}.button.primary{background:var(--teal);border-color:var(--teal);color:white}.button.ghost{background:transparent}.button.small{padding:6px 9px;font-size:11px}.menu-toggle{display:none}main{max-width:1640px;margin:auto;padding:32px 35px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:var(--teal);margin:0 0 10px}.page-heading p:not(.eyebrow){color:var(--muted);font-size:13px;margin:9px 0 0}.snapshot{display:flex;align-items:flex-start;font-size:11px;color:var(--ink)}.snapshot .status-dot{margin-top:4px}.snapshot small{display:block;color:var(--muted);margin-top:5px;font-size:10px}.global-filters{display:flex;align-items:center;gap:15px;background:white;border:1px solid var(--line);border-radius:10px;padding:13px 16px;margin-bottom:24px;flex-wrap:wrap}.filter-title{font-size:11px;font-weight:600;margin-right:8px}.global-filters label{font-size:9px;color:var(--muted);display:flex;gap:3px;flex-direction:column}.global-filters select{border:0;background:#fff;color:var(--ink);font-size:11px;padding:3px 20px 3px 0;max-width:240px}.filter-note{font-size:10px;color:var(--muted);margin-left:auto}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:23px}.kpi{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:19px;min-height:130px}.kpi-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);gap:5px}.kpi-icon{display:grid;place-items:center;width:29px;height:29px;background:var(--mint);color:var(--teal);border-radius:8px;font-size:15px}.kpi-value{font:800 29px Manrope;letter-spacing:-.9px;margin:7px 0 8px}.kpi-foot{font-size:10px;color:var(--muted);line-height:1.5}.delta{color:var(--red);font-weight:600}.delta.positive{color:var(--teal)}.grid-two{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;margin-bottom:22px}.grid-equal{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.grid-three{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:22px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:23px;min-width:0}.card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:19px}.card-header p{font-size:11px;color:var(--muted);margin:5px 0 0;line-height:1.5}.badge{display:inline-flex;align-items:center;gap:4px;background:var(--mint);color:#24765f;border-radius:5px;padding:5px 7px;font-size:9px;line-height:1.25;white-space:nowrap;font-weight:600}.badge.neutral{background:#f0f4f6;color:#687e8b}.badge.warning{background:#fbf3e6;color:#8b6328}.badge.red{background:#faecec;color:#aa555c}.section-space{margin-bottom:22px}.insight-banner{display:flex;gap:18px;background:var(--nav);border-radius:var(--radius);padding:23px;color:white;margin-bottom:23px}.insight-banner .sparkle{font-size:25px;color:#8edfc6}.insight-banner h3{color:#96e0c9;font-size:11px;letter-spacing:.4px;margin-bottom:7px}.insight-banner p{font-size:12px;line-height:1.6;color:#d6e5eb;margin:0}.insight-banner .button{align-self:center;margin-left:auto;color:white;border-color:#557780}.chart{width:100%;height:auto;display:block;overflow:visible}.chart text{font:10px 'DM Sans',sans-serif;fill:var(--muted)}.chart-caption{font-size:10px;color:var(--muted);line-height:1.6;margin-top:14px}.legend{display:flex;gap:17px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin:5px 0 14px}.legend i{width:8px;height:8px;display:inline-block;border-radius:2px;margin-right:5px}.note{font-size:11px;color:var(--muted);line-height:1.65;background:#f6f8f9;padding:12px 14px;border-radius:8px;margin-top:15px}.note.warning{background:#fcf5e9;color:#806434}.text-muted{color:var(--muted)}.text-teal{color:var(--teal)}.text-red{color:var(--red)}.map-shell{position:relative;background:#f0f5f5;border:1px solid #e3ebed;border-radius:11px;overflow:hidden;min-height:340px}.atlas-map{width:100%;height:360px;display:block;cursor:grab;touch-action:none}.atlas-map.dragging{cursor:grabbing}.atlas-map .area-shape{fill:#e0e9e9;stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke;cursor:pointer}.atlas-map .area-shape:hover{fill:#b5d9ce}.atlas-map .area-shape.selected{fill:#bbdfd4;stroke:#4ba68c;stroke-width:1.5}.atlas-map .centre-dot{stroke:white;stroke-width:.45;vector-effect:non-scaling-stroke;cursor:pointer}.map-controls{position:absolute;top:12px;right:12px;display:flex;gap:4px}.map-controls button{background:white;border:1px solid #d6e2e3;border-radius:5px;width:30px;height:29px}.map-label{position:absolute;left:13px;top:13px;background:white;padding:7px 10px;border:1px solid var(--line);border-radius:5px;font-size:9px;pointer-events:none}.map-attribution{position:absolute;bottom:8px;right:10px;color:#687e85;font-size:8px;background:#ffffffc9;border-radius:3px;padding:3px}.map-tip{position:absolute;background:var(--nav);color:white;padding:6px 9px;font-size:10px;max-width:250px;pointer-events:none;border-radius:5px;z-index:5}.map-legend{display:flex;justify-content:space-between;margin-top:12px;font-size:10px;color:var(--muted);flex-wrap:wrap;gap:8px}.rank-item{display:grid;grid-template-columns:25px 1fr 70px;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eff2f4;font-size:11px}.rank-item:last-child{border:0}.rank-index{font-size:10px;color:#9aacb5}.rank-label b{display:block;font-size:12px}.rank-label small{display:block;color:var(--muted);margin-top:4px}.rank-value{text-align:right;font-weight:700}.rank-bar{height:4px;border-radius:5px;background:#edf2f3;margin-top:8px}.rank-bar span{height:100%;background:#64b29b;border-radius:5px;display:block}.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.mini-stat b{display:block;font:700 20px Manrope;margin:5px 0}.mini-stat span{font-size:9px;color:var(--muted)}.table-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;flex-wrap:wrap}.search-input{border:1px solid var(--line);border-radius:7px;padding:10px 12px;min-width:250px;background:#fbfcfd;font-size:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}th{padding:12px 10px;color:var(--muted);font-weight:500;background:#f7f9fa;white-space:nowrap;font-size:10px}td{padding:14px 10px;border-bottom:1px solid #edf1f3;vertical-align:top;line-height:1.5}td strong{display:block;font-size:11px}td small{display:block;font-size:9px;color:var(--muted);margin-top:4px;max-width:310px}th button{background:none;border:0;color:inherit;font:inherit;padding:0}.centre-link{border:0;background:transparent;color:var(--ink);text-align:left;padding:0;font-weight:600}.centre-link:hover{color:var(--teal)}.pagination{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);margin-top:16px;gap:10px}.inline-select{padding:7px;border:1px solid var(--line);border-radius:6px;background:white;font-size:11px;max-width:280px}.donut-layout{display:flex;align-items:center;justify-content:space-around;gap:15px}.donut{width:170px;flex-shrink:0}.donut-labels{flex:1}.donut-row{display:flex;justify-content:space-between;font-size:11px;padding:9px 0;gap:10px}.donut-row span{display:flex;align-items:center;gap:7px}.donut-row i{width:8px;height:8px;border-radius:3px}.callout{background:var(--mint);color:#286b59;border-radius:9px;padding:15px;margin-top:16px;font-size:11px;line-height:1.6}.policy-item{padding:15px 0;border-bottom:1px solid var(--line)}.policy-item:first-child{padding-top:0}.policy-item:last-child{border:0}.policy-item p{font-size:11px;color:var(--muted);margin:6px 0}.policy-item .date{color:var(--teal);font-size:9px;text-transform:uppercase;letter-spacing:.5px}.policy-item a{font-size:10px}.input-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted)}.field input,.field select,.field textarea{width:100%;padding:10px;border:1px solid #dce5e8;border-radius:7px;background:#fbfcfc;color:var(--ink)}.field small{font-size:9px;color:var(--muted);line-height:1.4}.field.full{grid-column:1/-1}.input-section{font-size:10px;color:var(--teal);letter-spacing:1px;border-top:1px solid var(--line);padding-top:15px;margin:20px 0 15px}.metric-big{font:800 35px Manrope;letter-spacing:-1px;margin:13px 0 4px}.waterfall-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px;gap:15px}.waterfall-row.total{font-weight:700;border-top:2px solid var(--line);border-bottom:0}.sensitivity td,.sensitivity th{text-align:center;padding:12px 8px}.sensitivity td.profit{background:#e9f5ef;color:#286b50}.sensitivity td.loss{background:#fbeeee;color:#a65859}.sensitivity td.current{outline:2px solid var(--teal);outline-offset:-2px}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.source-card{padding:19px;border:1px solid var(--line);border-radius:10px;background:white;min-width:0}.source-card p{font-size:11px;color:var(--muted);margin:8px 0 11px}.source-card h3{font-size:12px}.source-card a{font-size:10px}.source-card .badge{margin-top:10px}.tabs-inline{display:flex;gap:7px;margin-bottom:17px;flex-wrap:wrap}.tabs-inline button{padding:8px 12px;border:1px solid var(--line);border-radius:7px;background:white;font-size:11px}.tabs-inline button.active{background:var(--mint);border-color:#8dc7b3;color:var(--teal)}.question-input{display:flex;gap:10px;margin-top:20px}.question-input input{flex:1;min-width:0}.assistant-output{border:1px solid #c9e5dc;background:#f4faf7;border-radius:11px;padding:20px;margin-top:18px;line-height:1.8;font-size:12px}.assistant-output h3{margin-bottom:10px}.assistant-output ul{padding-left:18px}.assistant-output a{font-size:10px}.pill-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.pill-buttons button{font-size:10px;padding:7px 10px;border:1px solid #d7e6df;border-radius:20px;background:white;color:#477969}.list-check{list-style:none;padding:0;margin:15px 0 0}.list-check li{padding:10px 0;border-bottom:1px solid var(--line);font-size:11px;line-height:1.6}.list-check li:before{content:'→';color:var(--teal);margin-right:9px}.empty{padding:35px;text-align:center;color:var(--muted);font-size:12px}.flex{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.spacer{margin-top:20px}footer{font-size:9px;color:var(--muted);padding:22px 0 0;display:flex;justify-content:space-between;gap:15px;line-height:1.5}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:min(830px,92vw);max-height:90vh;color:var(--ink)}dialog::backdrop{background:#0c273d8c;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:20px}.close-dialog{border:1px solid var(--line);background:#fff;border-radius:7px;width:31px;height:31px;font-size:20px;flex-shrink:0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:12px}.detail-grid div>small{display:block;color:var(--muted);margin-bottom:6px}.vacancy-table td,.vacancy-table th{font-size:9px;padding:8px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--nav);color:white;padding:12px 18px;border-radius:8px;font-size:12px;display:none;z-index:100}.hide{display:none!important}details summary{font-size:11px;font-weight:600;cursor:pointer;padding:12px 0}details p{font-size:11px;color:var(--muted)}.two-column-text{columns:2;column-gap:30px;font-size:12px;line-height:1.8}.bar-label{font-size:10px;color:var(--muted)}.bar-horizontal{height:7px;background:#eaf0f2;border-radius:7px;overflow:hidden;margin:6px 0 15px}.bar-horizontal span{display:block;height:100%;background:#64b59d}.chart-tooltip{position:fixed;z-index:99;pointer-events:none;background:var(--nav);color:white;border-radius:6px;padding:8px 10px;font-size:11px;white-space:pre-line}.area-select-link{border:0;background:none;padding:0;text-align:left;color:var(--teal);font-size:11px}.chart-empty{padding:60px 0;color:var(--muted);text-align:center;font-size:12px}.subtle-heading{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin:18px 0 10px}
@media(min-width:1500px){h1{font-size:36px}.atlas-map{height:400px}.topbar,main{padding-left:42px;padding-right:42px}.kpi-value{font-size:33px}}
@media(max-width:1150px){.sidebar{width:207px;padding:25px 14px}.workspace{margin-left:207px}main{padding:25px}.topbar{padding:0 25px}.kpi-grid{gap:12px}.kpi{padding:15px}.kpi-value{font-size:25px}.grid-two{grid-template-columns:1fr 1fr}.snapshot{display:none}.card{padding:18px}.global-filters{gap:10px}.filter-title{display:none}.filter-note{width:100%}.donut{width:135px}.donut-layout{gap:10px}}
@media(max-width:900px){.grid-two,.grid-equal{grid-template-columns:1fr}.grid-three{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(2,1fr)}.sidebar{width:190px}.workspace{margin-left:190px}.sidebar nav button{font-size:11px;padding:12px 8px}.new{display:none}h1{font-size:28px}.source-grid{grid-template-columns:1fr}.top-actions .badge{display:none}.insight-banner .button{display:none}}
@media(max-width:650px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:225px}.sidebar.open{transform:translateX(0);box-shadow:8px 0 40px #102d3c55}.workspace{margin-left:0}.menu-toggle{display:block;border:0;background:white;font-size:19px;margin-right:12px}.topbar{padding:0 17px;height:60px;justify-content:flex-start}.breadcrumb,.divider{display:none}.top-actions{margin-left:auto}.top-actions .button{font-size:10px;padding:8px}.topbar b{font-size:11px}main{padding:22px 16px}.page-heading{margin-bottom:20px}h1{font-size:25px}.page-heading p:not(.eyebrow){font-size:12px}.global-filters{padding:10px;gap:9px}.global-filters label{flex:1;min-width:120px}.global-filters select{font-size:10px;width:100%;max-width:100%}.global-filters .button{padding:6px;font-size:10px}.kpi-grid{gap:10px}.kpi{padding:13px;min-height:124px}.kpi-value{font-size:25px}.kpi-icon{display:none}.kpi-foot{font-size:9px}.kpi-top{font-size:10px}.card{padding:17px}.card-header{gap:10px}h2{font-size:16px}.badge{font-size:8px;white-space:normal}.insight-banner{padding:18px;gap:12px}.insight-banner p{font-size:11px}.atlas-map{height:300px}.map-shell{min-height:300px}.input-grid{gap:11px}.search-input{min-width:0;width:100%}.question-input .search-input{width:auto}.mini-stats{gap:10px}.mini-stat b{font-size:18px}.two-column-text{columns:1}footer{flex-direction:column}.detail-grid{grid-template-columns:1fr}.donut{width:150px}.pagination{font-size:9px}.source-grid{grid-template-columns:1fr}dialog{padding:19px}.map-attribution{font-size:7px}.metric-big{font-size:30px}}
@media print{.sidebar,.topbar,.global-filters,.button,footer,.map-controls{display:none!important}.workspace{margin:0}main{max-width:none;padding:0}.card,.kpi{break-inside:avoid}.grid-two,.grid-equal{grid-template-columns:1fr 1fr}.chart{max-height:240px}.insight-banner{background:#fff;color:#000;border:1px solid #ccc}.insight-banner p{color:#000}body{background:#fff}}
/* Residential, income and family atlas */
.geo-overview-stack{display:grid;gap:20px;margin-bottom:20px}.geo-main-card{min-width:0}.geo-atlas{color:var(--ink,#183440)}
.geo-toolbar{display:grid;grid-template-columns:auto 1fr 1fr;gap:14px;align-items:end;padding:15px;background:#f6f9fa;border:1px solid #e1e9ed;border-radius:12px 12px 0 0}
.geo-toolbar label,.geo-profile>label{display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:600;color:#596e7a;min-width:0}.geo-toolbar select,.geo-profile select{font:inherit;font-size:11px;font-weight:500;width:100%;min-width:0;border:1px solid #d5e1e6;background:#fff;border-radius:7px;padding:10px 8px;color:#183440}
.geo-view-toggle{display:flex;background:#e7edef;border-radius:8px;padding:3px;align-self:end;gap:2px}.geo-view-toggle button{white-space:nowrap;padding:10px 12px;border:0;background:transparent;border-radius:6px;font:inherit;font-size:11px;font-weight:700;color:#59717d;cursor:pointer}.geo-view-toggle button[aria-pressed=true]{background:#173b4c;color:#fff;box-shadow:0 2px 5px #15334220}
.geo-meta{display:flex;align-items:center;gap:18px;padding:10px 15px;background:#fff;border:1px solid #e1e9ed;border-top:0;font-size:10px;color:#66818b;flex-wrap:wrap}.geo-mode-note{flex:1;min-width:250px}.geo-check,.geo-height-control{display:flex;align-items:center;gap:6px;white-space:nowrap}.geo-check input{accent-color:#238b7a}.geo-height-control input{width:75px;accent-color:#238b7a}.geo-height-control output{min-width:27px}
.geo-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;border:1px solid #e1e9ed;border-top:0;border-radius:0 0 12px 12px;overflow:hidden}.geo-map-column{min-width:0;display:flex;flex-direction:column;background:#f9fbfc}.geo-map-frame{position:relative;min-width:0}.geo-canvas{height:525px;background:#edf3f4;position:relative}.geo-canvas canvas:focus-visible{outline:3px solid #238b7a;outline-offset:-3px}.geo-camera-controls{position:absolute;z-index:2;left:13px;top:13px;display:flex;gap:4px}.geo-camera-controls button{font:inherit;font-size:11px;background:#ffffffeb;color:#244d5d;border:1px solid #ccdce2;padding:7px 9px;border-radius:5px;cursor:pointer;box-shadow:0 2px 4px #223a4510}.geo-camera-controls button:disabled{opacity:.4;cursor:default}.geo-map-status{position:absolute;bottom:8px;left:10px;font-size:9px;background:#ffffffdc;padding:4px 6px;border-radius:3px;color:#64818c;max-width:calc(100% - 20px)}.geo-map-status:not(.ready){font-weight:600}
.geo-profile{padding:16px;background:white;border-left:1px solid #e1e9ed;max-height:680px;overflow:auto;min-width:0}.geo-profile .eyebrow{font-size:8px;margin:16px 0 6px}.geo-profile h3{font-family:Manrope,sans-serif;font-size:19px;line-height:1.3;margin:0 0 14px}.geo-focus-stat{padding:12px 14px;background:#eff7f5;border-radius:9px;display:flex;flex-direction:column;gap:3px}.geo-focus-stat strong{font-family:Manrope,sans-serif;font-size:28px;color:#166a60}.geo-focus-stat span{font-size:11px;line-height:1.5}.geo-focus-stat small{font-size:9px;color:#64818c}.geo-description{font-size:10px!important;line-height:1.7!important;color:#627985;margin:10px 0}.geo-description b{color:#294d5b}
.geo-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:16px 0}.geo-stat-grid div{display:flex;flex-direction:column;gap:4px}.geo-stat-grid b{font-family:Manrope,sans-serif;font-size:18px;font-weight:750}.geo-stat-grid span{font-size:9px;color:#6f818b;line-height:1.6}.geo-profile details{border-top:1px solid #e7edef;padding:12px 0;margin:0}.geo-profile summary{font-size:11px!important;font-weight:650;cursor:pointer;line-height:1.5}.geo-bar{margin:10px 0}.geo-bar>div:first-child{display:flex;gap:7px;justify-content:space-between;align-items:flex-start;font-size:9px;line-height:1.5}.geo-bar b{font-size:10px;white-space:nowrap;font-weight:600}.geo-bar small{font-size:8px;color:#66818b;font-weight:400}.geo-bar-track{height:4px;background:#eff3f4;border-radius:4px;overflow:hidden;margin-top:4px}.geo-bar-track i{display:block;height:100%;background:#348f81;border-radius:4px}.geo-swatch{display:inline-block;width:6px;height:6px;border-radius:2px;margin-right:5px}
.geo-legends{padding:12px 14px;font-size:9px;border-top:1px solid #e1e9ed;background:#fff}.geo-legends strong{display:block;font-size:10px;margin-bottom:8px}.geo-legends>div{display:flex;flex-wrap:wrap;gap:8px 14px}.geo-legends span{display:inline-flex;align-items:center;gap:5px;color:#657c85}.geo-legends span i,.geo-gradient-key em{display:inline-block;width:9px;height:9px;border-radius:2px}.geo-gradient-key>i{height:9px;width:120px;background:linear-gradient(90deg,#e0efec,#13736b);border-radius:3px}.geo-gradient-key{align-items:center}.geo-height-key{padding:12px 14px;background:#eef5f5;display:flex;gap:10px;font-size:10px;align-items:center}.geo-height-key>div{display:flex;flex-direction:column;gap:4px;line-height:1.5}.geo-height-key span:not(.geo-key-icon){color:#647e87;font-size:9px}.geo-key-icon{font-size:22px;color:#278978}.geo-method{font-size:10px!important;line-height:1.7!important;color:#73838c;margin:12px 0!important}.geo-source-details{font-size:10px;border-top:1px solid #e7edef;padding-top:10px}.geo-source-details summary{font-size:10px;cursor:pointer;color:#456b79}.geo-source-details p{font-size:10px;line-height:1.7}.geo-no-data{font-size:10px;line-height:1.7;background:#fcf5e9;border-radius:8px;color:#8b6b3d;padding:12px}
.geo-atlas .maplibregl-popup-content{padding:11px 13px;border-radius:8px;box-shadow:0 3px 15px #14353f20;font:11px 'DM Sans',sans-serif;max-width:260px;line-height:1.6}.geo-atlas .maplibregl-popup-content b,.geo-atlas .maplibregl-popup-content span,.geo-atlas .maplibregl-popup-content small{display:block}.geo-atlas .maplibregl-popup-content b{font:700 13px Manrope,sans-serif;margin-bottom:3px}.geo-atlas .maplibregl-popup-content small{font-size:9px;color:#6f8189;margin-top:3px}.geo-atlas .maplibregl-ctrl-group{border:1px solid #ccdce2;box-shadow:0 2px 4px #223a4510}
.geo-compact .geo-toolbar{grid-template-columns:1fr 1fr}.geo-compact .geo-view-toggle{grid-column:1/-1;justify-self:start}.geo-compact .geo-layout{grid-template-columns:1fr}.geo-compact .geo-canvas{height:440px}.geo-compact .geo-profile{max-height:360px;border-left:0;border-top:1px solid #e1e9ed}.geo-compact .geo-stat-grid{grid-template-columns:repeat(4,1fr)}.geo-compact .geo-focus-stat{display:grid;grid-template-columns:auto 1fr;column-gap:15px;align-items:center}.geo-compact .geo-focus-stat strong{grid-row:span 2}.geo-fallback{display:block;width:100%;height:100%;touch-action:none}.geo-fallback-zoom{position:absolute;right:12px;top:12px;display:flex;flex-direction:column}.geo-fallback-zoom button{background:white;border:1px solid #ccdce2;padding:8px 13px}.geo-fallback path,.geo-fallback circle{cursor:pointer}
@media(min-width:1400px){.geo-overview-stack>.card:nth-child(2){display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.geo-overview-stack>.card:nth-child(2)>.card-header,.geo-overview-stack>.card:nth-child(2)>.note{grid-column:1/-1}.geo-overview-stack .rank-item{border:0;gap:8px;padding:4px 0}.geo-overview-stack .rank-value{font-size:17px}.geo-overview-stack .rank-index{font-size:12px}}
@media(max-width:1150px){.geo-toolbar{grid-template-columns:1fr 1fr}.geo-view-toggle{grid-column:1/-1;justify-self:start}.geo-layout{grid-template-columns:minmax(0,1fr) 240px}.geo-profile{padding:12px}.geo-canvas{height:510px}}
@media(max-width:930px){.geo-layout{grid-template-columns:1fr}.geo-profile{border-left:0;border-top:1px solid #e1e9ed;max-height:380px}.geo-profile .geo-stat-grid{grid-template-columns:repeat(4,1fr)}.geo-profile-content>details{display:block}.geo-canvas{height:430px}}
@media(max-width:540px){.geo-toolbar{grid-template-columns:1fr;gap:10px;padding:12px}.geo-view-toggle{grid-column:auto}.geo-meta{padding:10px 12px;gap:8px 14px}.geo-mode-note{flex-basis:100%;min-width:0;font-size:9px}.geo-canvas,.geo-compact .geo-canvas{height:350px}.geo-camera-controls{left:7px;top:7px;gap:3px}.geo-camera-controls button{font-size:10px;padding:6px 7px}.geo-profile .geo-stat-grid,.geo-compact .geo-stat-grid{grid-template-columns:1fr 1fr}.geo-compact .geo-toolbar{grid-template-columns:1fr}.geo-profile{max-height:460px}.geo-legends{padding:10px;font-size:8px}.geo-legends>div{gap:7px 10px}.geo-method{font-size:9px!important}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ai-lab-card{padding:26px}.ai-lab-card>.card-header{align-items:flex-start}.ai-lab-card>.card-header h2{font-size:23px}.ai-lab-card>.card-header .eyebrow{font-size:9px;margin-bottom:10px}
.ai-connection{border:1px solid #ecd7dd;background:linear-gradient(130deg,#fff,#fdf0f3);border-radius:12px;padding:20px;display:grid;grid-template-columns:1fr auto;gap:14px 20px;margin:18px 0 24px;align-items:center}.ai-connection h3{font-size:14px;margin:0 0 6px}.ai-connection p{font-size:11px;line-height:1.7;margin:0;color:#7e6870}.ai-connection form{display:flex;gap:8px;align-items:center}.ai-connection input{width:235px;padding:12px;border:1px solid #dbc4cb;border-radius:8px;background:#fff;color:#321923;font:12px 'DM Sans',sans-serif}.ai-connection .ai-key-note{grid-column:1/-1;font-size:10px;line-height:1.7}.ai-connection #ai-status{grid-column:1/-1;font-size:10px;font-weight:650;color:#8d243e}
.ai-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ai-tools button{display:flex;flex-direction:column;text-align:left;gap:9px;border:1px solid #e9dfe2;border-radius:10px;background:#fff;padding:16px;cursor:pointer;font:inherit;color:#321923;min-width:0}.ai-tools button>span{font-size:22px;color:#b61938}.ai-tools b{font-size:12px;line-height:1.4}.ai-tools small{font-size:10px;line-height:1.65;color:#7e6870}.ai-tools button[aria-pressed=true]{background:#4d1121;border-color:#4d1121;color:#fff;box-shadow:0 4px 12px #4d112117}.ai-tools button[aria-pressed=true]>span{color:#ffb0c1}.ai-tools button[aria-pressed=true] small{color:#efd1da}.ai-tools button:hover:not([aria-pressed=true]){border-color:#c8102e;background:#fff5f7}
.ai-workbench{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:24px;margin-top:25px;align-items:start}.ai-task-heading .eyebrow{font-size:9px}.ai-task-heading h3{font-size:16px;line-height:1.5;margin:6px 0 16px}.ai-question-label{font-size:11px;font-weight:600;display:block;margin-bottom:7px}.ai-workbench textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:125px;border:1px solid #ddcbd1;border-radius:8px;padding:12px;color:#321923;background:#fff;font:12px/1.8 'DM Sans',sans-serif}.ai-submit{display:flex;gap:12px;align-items:center;margin-top:12px;flex-wrap:wrap}.ai-submit small{font-size:10px;color:#7e6870}.ai-context{background:#faf6f7;border:1px solid #ecdfe3;border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:12px;font-size:11px;line-height:1.8}.ai-context b{font-size:12px}.ai-context span{color:#7e6870}.ai-compare-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.ai-compare-inputs label{font-size:10px;font-weight:600}.ai-compare-inputs select{width:100%;font:11px 'DM Sans',sans-serif;border:1px solid #ddcbd1;border-radius:7px;padding:10px 6px;background:#fff;margin-top:6px;min-width:0}
.ai-error{background:#fff0f3;border:1px solid #e7aabb;color:#861b34;border-radius:8px;font-size:12px;line-height:1.7;padding:14px;margin-top:20px}.ai-loading{display:flex;gap:12px;align-items:center;background:#f8eef1;border-radius:8px;padding:16px;font-size:12px;line-height:1.7;margin-top:18px}.ai-loading i{flex:0 0 16px;width:16px;height:16px;border:2px solid #e5b4c0;border-top-color:#c8102e;border-radius:50%;animation:ai-spin 1s linear infinite}@keyframes ai-spin{to{transform:rotate(360deg)}}.ai-lab-card button:disabled,.ai-report button:disabled{opacity:.5;cursor:default}.ai-lab-card input:focus-visible,.ai-lab-card textarea:focus-visible,.ai-lab-card select:focus-visible,.ai-lab-card button:focus-visible{outline:2px solid #c8102e;outline-offset:3px}
.ai-empty-report{border:1px dashed #decbd1;border-radius:12px;padding:22px 26px;display:flex;align-items:center;gap:20px;margin-top:20px;background:#fcf9fa}.ai-empty-report>span{font-size:35px;color:#ba2947}.ai-empty-report h3{font-size:15px;margin:0 0 6px}.ai-empty-report p,.ai-local-heading p{font-size:12px;line-height:1.8;color:#7e6870;margin:0}.ai-local-heading{padding:18px 0 4px}.ai-local-heading h2{font-size:20px;margin:7px 0}
.ai-report{border:1px solid #ecdfe3;border-radius:14px;padding:30px;background:#fff;margin-top:20px;overflow-wrap:anywhere}.ai-report-top{display:flex;gap:18px;justify-content:space-between;align-items:flex-start}.ai-report h2{font-size:24px;line-height:1.4;margin:8px 0 0}.ai-report .eyebrow{font-size:9px}.ai-report-scope{font-size:10px!important;color:#7e6870;line-height:1.8!important;margin-top:12px}.ai-report-summary{background:#f9eef1;border-left:3px solid #c8102e;border-radius:0 9px 9px 0;padding:16px 20px;margin:20px 0}.ai-report p,.ai-report li{font-size:12px;line-height:1.9}.ai-report h3{font-size:16px;margin:23px 0 10px}.ai-report small,.ai-report .chart-caption{font-size:10px;line-height:1.7}.ai-evidence{padding-left:18px}.ai-evidence li{margin:14px 0}.ai-evidence small{display:block;margin-top:4px}.ai-report-section{border-top:1px solid #f1e7ea;padding:4px 0 14px}.ai-report-columns{display:grid;grid-template-columns:1fr 1fr;gap:25px}.ai-report-columns ul,.ai-report-columns ol{padding-left:18px}.ai-report-columns li{margin:8px 0}.ai-calculations{background:#faf6f7;padding:15px;border-radius:8px;margin-top:15px}.ai-calculations summary{font-weight:600;font-size:12px;cursor:pointer}
@media(max-width:1200px){.ai-connection{grid-template-columns:1fr}.ai-connection form{justify-content:flex-start}.ai-connection input{flex:1;max-width:400px}.ai-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-workbench{grid-template-columns:1fr}.ai-context{gap:8px}}
@media(max-width:540px){.ai-lab-card{padding:18px}.ai-lab-card>.card-header,.ai-report-top{flex-direction:column;gap:12px}.ai-lab-card>.card-header h2{font-size:20px}.ai-connection{padding:15px}.ai-connection form{flex-direction:column;align-items:stretch}.ai-connection input{width:100%;box-sizing:border-box;max-width:none}.ai-tools{gap:8px}.ai-tools button{padding:12px}.ai-tools small{font-size:9px}.ai-compare-inputs{grid-template-columns:1fr}.ai-report{padding:18px}.ai-report h2{font-size:20px}.ai-report-columns{grid-template-columns:1fr;gap:0}.ai-empty-report{padding:18px;align-items:flex-start}.ai-report .question-input{flex-direction:column}.ai-report .question-input input{width:100%;box-sizing:border-box}}
@media(prefers-reduced-motion:reduce){.ai-loading i{animation:none}}
