/* Skai Line / city as the canvas. Strong type, quiet structure, decisive colour. */
:root{--mint:#d6fa39;--ink:#111514;--urban-paper:#f7f8f4;--urban-line:#ced3cb;--urban-accent:#d6fa39}
body{font-family:Inter,Arial,sans-serif}
button,select,input,summary{font-family:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #eb5b2b;outline-offset:3px}
body.living-world header{background:#111514f5;border:0;border-top:3px solid var(--urban-accent);border-radius:0;box-shadow:none;backdrop-filter:none}
body.living-world .brand{font-size:24px;font-weight:800;letter-spacing:-1px;color:white;gap:10px}
body.living-world .brand-light{color:var(--urban-accent)}body.living-world .brand-mark{color:var(--urban-accent);font-size:28px}
body.living-world .brand small{font-size:12px;letter-spacing:1.1px;font-weight:500;color:#d1d6cf}
body.living-world .headline-stats strong{font-family:'Space Grotesk',Arial,sans-serif;font-size:24px;font-weight:600;letter-spacing:-.8px}
body.living-world .headline-stats span{font-size:12px;color:#c6cdc2}#save-status{color:#e4fac1;border:0;background:none;border-radius:0}
body.living-world .rail{background:#111514f5;border:0;border-radius:0;box-shadow:0 5px 18px #0002;padding:4px;gap:2px;backdrop-filter:none}
body.living-world .rail-btn{border-radius:0;min-width:76px;width:76px;color:#f4f6ef}
body.living-world .rail-btn small{text-transform:uppercase;font-size:13px;letter-spacing:.4px;font-weight:600}
body.living-world .rail-btn.active,body.living-world .rail-btn[aria-expanded=true]{background:var(--urban-accent);color:var(--ink);box-shadow:none}
body.living-world .rail-btn:hover{background:#353d2e;color:white}
body.living-world footer{background:#111514f2;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
body.living-world #next-month{border-radius:0;background:var(--urban-accent);color:var(--ink);font-weight:700}
body.living-world .map-actions{background:#111514f2;border:0;border-radius:0;box-shadow:none}
body.living-world .map-actions button{border-radius:0;color:#fff;min-width:44px}
#site-plan,#journey-cue,#city-mix,#session-feedback,#public-city-panel,#founding-guide{border-radius:0!important;border-color:#283527!important;background:#111b16f2!important;box-shadow:none!important;backdrop-filter:none!important}
#public-city-panel h1{font:500 32px/1.03 'Space Grotesk',Arial,sans-serif;letter-spacing:-1.3px;margin:12px 0 18px}
#public-city-panel .eyebrow,#public-city-panel>small,.journey-copy small{color:var(--urban-accent);font-size:12px;letter-spacing:.8px}
#visit-details button{border-radius:0;background:transparent;border-color:#828e7c;color:#f7f8f4;text-align:left;min-height:48px}
#visit-details button:hover{background:#33432c}#visit-details a{border-radius:0;background:var(--urban-accent);color:#14200f;font-weight:700}
.journey-level{border-radius:0;background:var(--urban-accent);color:#172010;font-weight:800}.journey-ring{background:conic-gradient(var(--urban-accent) var(--progress,0%),#ffffff25 0)}
/* White drawing and catalogue surfaces echo an architectural workspace. */
body.living-world #side-panel,body.living-world .build-tray,#plot-builder,#area-builder,#living-panel,#more-tools,#city-advisor{
 background:var(--urban-paper);color:var(--ink);border:1px solid #1b241b;border-radius:0;box-shadow:0 10px 35px #07171328;backdrop-filter:none;--muted:#536050;--mint:#294719;
}
:is(#side-panel,.build-tray,#plot-builder,#area-builder,#living-panel,#more-tools,#city-advisor) :is(h2,h3,p,small,label,summary,b,strong,span){color:inherit}
:is(#side-panel,.build-tray,#plot-builder,#area-builder,#living-panel,#more-tools,#city-advisor) :is(p,small){color:#52604e}
:is(#side-panel,.build-tray,#plot-builder,#area-builder,#living-panel,#more-tools,#city-advisor) :is(button,select,input){border-radius:0;color:var(--ink);border-color:#b2bbac;background:#f7f8f4}
:is(#side-panel,.build-tray,#plot-builder,#area-builder,#living-panel,#more-tools,#city-advisor) button:hover{background:#e7ecdF}
:is(#side-panel,.build-tray,#plot-builder,#area-builder,#living-panel,#more-tools,#city-advisor) input::placeholder{color:#63715f}
:is(#side-panel,.build-tray,#plot-builder,#area-builder,#living-panel,#more-tools,#city-advisor) :is(h2,.plot-heading b,.area-heading b){font-family:'Space Grotesk',Arial,sans-serif;font-weight:500;letter-spacing:-.7px}
body.living-world #side-panel .panel-heading h2,#living-panel h2{font-size:32px;line-height:1.08;margin:14px 0 20px}
body.living-world .build-tray{padding:18px;border-top:4px solid #111514}
.tray-heading{border-bottom:1px solid var(--urban-line);padding-bottom:10px;margin-bottom:10px}.tray-heading>span{font-size:15px;color:#36432f}
body.living-world .build-item{border-radius:0;border:1px solid #c3cbbd;background:#fff;min-height:88px}.build-item b{font-size:14px;font-weight:700}
body.living-world .build-item .build-icon{color:#344e27}.build-tabs{gap:0;border-bottom:1px solid #9ca992}
body.living-world .build-tabs button{border-radius:0;background:transparent;color:#33432e;min-height:44px;font-weight:700;padding:8px 12px}
:is(.build-tabs,.collection-tabs,.size-options) button.selected,:is(.build-tabs,.collection-tabs,.size-options) button[aria-pressed=true],body.living-world .build-item.selected{background:#152014;color:#fff;border-color:#152014}
body.living-world .build-item.selected :is(b,small,span){color:inherit}
.architecture-card{border-radius:0!important;border-color:#bcc7b7!important;background:#fff!important}.architecture-card :is(b,small){color:#24311e!important}
:is(#side-panel,#living-panel) :is(.coach,.simple-advice,.selected-info,.goal,.city-project){border-radius:0;background:#edf1e8;border-color:#b5c2ac;color:#21341b}
#side-panel :is(.coach-action,.easy-place),#living-panel .living-primary,#plot-confirm,#area-confirm{border-radius:0;background:var(--urban-accent);color:#14210c;font-weight:750;border:1px solid #9bbc22}
#plot-builder{border-top:4px solid #141c12;padding:12px 16px;max-height:45dvh}
.plot-heading b{font-size:22px}.plot-heading button{font-size:14px;min-height:44px}.plot-heading{border-bottom:1px solid var(--urban-line);padding-bottom:6px;margin-bottom:4px}
#plot-builder .plot-actions{background:var(--urban-paper);border-top:1px solid var(--urban-line);padding-top:10px}#plot-facts{color:#52604e}
#plot-cards button{border-radius:0;background:white;border:1px solid #bdc8b5}#plot-cards button[aria-pressed=true]{background:#162412;border-color:#162412;box-shadow:none;color:white}
#plot-cards button[aria-pressed=true] :is(b,small,span){color:white}.plot-card-icon{color:#263e1d}#plot-cost{font-size:19px;color:#233819}
#plot-builder[data-valid=false] #plot-status{color:#a32d13}#plot-builder[data-valid=false]{border-top-color:#c64625}
#plot-confirm:disabled,#area-confirm:disabled{background:#cdd3c8;color:#47513f;border-color:#cdd3c8}
#more-tools .rail-btn{border-radius:0;border:1px solid #b9c4b1;background:#fff;color:#1a2716}#more-tools>a{color:#325522}
.living-grid button,.living-pills button,.neighbour-list button{border-radius:0;border-color:#c1c9b9;background:#fff;color:#22351b}
.gathering-place,.air-service-list button{display:block;width:100%;padding:12px;text-align:left;border:1px solid #aebbA7;margin:8px 0;min-height:60px}.gathering-place b,.gathering-place small,.air-service-list b,.air-service-list small{display:block}.gathering-place small,.air-service-list small{margin-top:5px;font-size:14px;line-height:1.4}
#island-designer{border-radius:0;background:#111b16;border:1px solid #b7c5aa;font-family:Inter,Arial,sans-serif}
#island-designer .island-header{background:#111b16!important;border-bottom:1px solid #54664c!important}#island-designer h2{font:500 32px/1.08 'Space Grotesk',Arial,sans-serif;letter-spacing:-.8px}
#island-designer :is(button,select){border-radius:0}.island-tools button{background:#263423;border-color:#829475}.island-tools button[aria-pressed=true],.island-secondary button[aria-pressed=true]{background:var(--urban-accent);color:#15200d;border-color:var(--urban-accent)}
#island-designer small{color:var(--urban-accent)}.island-options select{background:#263423;border-color:#809571}.island-options label{font-size:14px}.road-toggle{accent-color:var(--urban-accent)}
#welcome{background:linear-gradient(90deg,#090e0cf7 0%,#101810ed 40%,#14201964 76%,#101a1133)!important}
#welcome .welcome-wrap{max-width:1600px;padding:32px 48px;gap:18px}#welcome .welcome-brand{font-size:27px;font-weight:800;letter-spacing:-.8px;color:#fff}#welcome .welcome-brand span{color:var(--urban-accent)}
#welcome h1{font:500 clamp(54px,6.2vw,108px)/.96 'Space Grotesk',Arial,sans-serif;letter-spacing:-4px;margin:22px 0}#welcome h1 em{font-style:normal;color:var(--urban-accent)}
#welcome .welcome-lead{font-size:20px;line-height:1.4;color:#e1e9da}#welcome .welcome-kicker{font-size:13px;letter-spacing:1.2px;color:#d7e5c9}
#welcome .start-primary{border-radius:0;background:var(--urban-accent);color:#17220e;font-size:18px;min-height:56px;border:0;font-weight:700}
#welcome .start-secondary,#welcome .welcome-sound button{border-radius:0;border-color:#81946d;color:#e9f1e3;background:#13211180}
#welcome .welcome-route{border-top:1px solid #9dad8677}.welcome-route article{border-radius:0;background:transparent}.welcome-route b{font-weight:600}.welcome-route p{font-size:15px;color:#c6d6b7}
@media(min-width:801px){body.living-world .build-tray{max-width:790px}.plot-heading{gap:10px}#plot-builder{width:min(660px,calc(100% - 24px))}}
@media(max-width:800px){
 body.living-world .brand{font-size:18px;letter-spacing:-.5px}body.living-world .brand-light{display:inline}body.living-world .brand small{display:none}
 body.living-world .headline-stats strong{font-size:18px}body.living-world .headline-stats span{font-size:12px}
 body.living-world .rail-btn{min-width:58px;width:58px}body.living-world .rail-btn small{font-size:12px;letter-spacing:0}
 body.living-world .build-tray{padding:12px;border-top-width:3px;max-height:48dvh!important}.build-tabs button{padding:8px!important;font-size:14px!important}
 #plot-builder{max-height:44dvh;padding:8px 10px}.plot-heading{display:grid;grid-template-columns:1fr auto auto auto;gap:2px}.plot-heading b{font-size:17px;line-height:1.1}.plot-heading button{font-size:12px;padding:4px}#plot-cancel{width:34px}
 #plot-builder #plot-impact,#plot-builder #plot-status{font-size:14px}#plot-builder .plot-actions{gap:8px}#plot-confirm{min-width:130px;padding:9px 12px;font-size:16px}
 #area-builder{max-height:45dvh;overflow:auto}.area-top{flex-wrap:wrap}.area-top select{flex-basis:100%}.area-top button{flex:1}
 #welcome .welcome-wrap{padding:22px;gap:14px}#welcome h1{font-size:clamp(48px,11vw,76px);letter-spacing:-2px;margin:16px 0}#welcome .welcome-lead{font-size:18px}#welcome .welcome-brand{font-size:24px}
 #public-city-panel h1{font-size:27px}.plot-filters input,.plot-filters select{font-size:16px}
}
@media(max-width:430px){body.living-world .brand{font-size:16px}body.living-world .brand-mark{display:none}body.living-world .headline-stats{gap:9px}body.living-world .headline-stats strong{font-size:17px}body.living-world header{gap:8px;padding:0 10px}body.living-world #help{min-width:32px;width:32px}}

/* Keep nested planning cards legible on the light catalogue surfaces. */
#side-panel :is(.impact-card,.sky-status,.loop-box,.insight,.design-facts span){background:#e7eddf;border-color:#aebea0;color:#1c2c17;border-radius:0}
#side-panel :is(.impact-card h4,.impact-grid b,.impact-title b,.impact-title span,.impact-grid span,.impact-note,.design-facts b,.size-note,.bridge-support){color:#294020!important}
#side-panel .positive{color:#25602b!important}#side-panel .negative{color:#a13520!important}
#side-panel .planning-warning{color:#8f3b16;border-color:#ad471c}
body.living-world #next-month,#side-panel .easy-place,#living-panel .living-primary{background:var(--urban-accent)!important;color:#14210c!important;border-radius:0}
body.living-world.build-open:not(.tool-selected) #side-panel{display:none}

.build-actions{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0}
.build-actions button{min-height:44px;padding:8px 10px;font-size:13px;white-space:nowrap}
@media(max-width:800px){body.living-world .build-tabs,.build-actions{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;margin:4px 0}.build-tabs button,.build-actions button{flex:none;white-space:nowrap;min-height:44px}.catalog-search{padding:6px 0;margin-bottom:6px}.catalog-search>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.catalog-search .catalog-available{margin-top:3px}.tray-heading{margin-bottom:6px;padding-bottom:6px}body.living-world.build-open.tool-selected #side-panel{max-height:48dvh}}

:is(#side-panel,.build-tray) :is(.build-tabs,.collection-tabs,.size-options) button[aria-pressed=true],:is(#side-panel,.build-tray) .build-item.selected{background:#152014;color:#fff;border-color:#152014}

.living-menu-open #public-city-panel,.park-view #public-city-panel,.life-view #public-city-panel,body:has(#more-tools:not([hidden])) #public-city-panel{display:none}
