@charset "UTF-8";
/* Navy city-builder interface. Light text and blue/gold feedback keep the map readable.
   Panels stay closed until the learner opens a tool.
   Pane visibility: .palette-open / .inspector-open / .storyboard-open.
   .map-focused keeps only the map and the exit-focus button. */
:root{--ink:#f0f5ff;--muted:#b5c3d8;--green:#71c3ff;--forest:#102036;--lime:#f4c76d;--paper:#0b1729;--line:#6984a747;--white:#14253c;--soft:#1b314c;--shadow:0 12px 30px #06101f66;font-family:"Segoe UI","Malgun Gothic",sans-serif}
.urban-shell button{font-family:inherit}
.urban-shell input{font-family:inherit}
.urban-shell textarea{font-family:inherit}
.urban-shell select{font-family:inherit}
.urban-shell .wordmark .brand-leaf{display:grid;place-items:center;border:1px solid #6984a746;background:#1b314c5a;padding:0;width:42px;height:42px;border-radius:11px;color:#f0f5ff}
.urban-shell .brand-leaf .icon{width:25px;height:25px;stroke-width:1.7}
.urban-shell .wordmark>div{display:flex;flex-direction:column;gap:5px}
.urban-shell .rail-links{display:flex;align-items:center;justify-content:center;gap:3px;margin:0;flex:1}
.urban-shell .rail-link .icon{width:17px;height:17px}
.urban-shell .rail-link:hover{color:#dfeee9;background:#24415f14}
.urban-shell .rail-link.active{color:#f0f5ff;background:#1b314c5a;border-color:#6984a746}
.urban-shell .rail-link.active:before{display:none}
.urban-shell .topbar-right{display:flex;align-items:center;gap:10px}
.urban-shell .teacher-shortcut{width:26px;height:30px;display:grid;place-items:center;color:#b5c3d8}
.urban-shell .teacher-shortcut .icon{width:17px;height:17px}
.urban-shell .player-profile{display:flex;align-items:center;gap:8px;text-align:left;padding:0;border-radius:6px;min-height:40px}
.urban-shell .player-profile>.avatar{height:32px;width:32px;display:grid;place-items:center;border-radius:8px;background:#1b314c;border:1px solid #6984a746;color:#f0f5ff;font-size:12px}
.urban-shell .player-profile>span:nth-child(2){display:flex;flex-direction:column;gap:4px}
.urban-shell .player-profile>.icon{width:11px;height:11px;color:#b5c3d8}
.urban-shell .project-intro>.eyebrow{font-size:12px;letter-spacing:.2px;color:#b5c3d8;display:none}
.urban-shell .project-title:focus{background:#20484a;outline:1px solid #71c3ff}
.urban-shell .project-tag{font-size:12px;letter-spacing:.5px;background:#1b314c5a;border:0;padding:3px 0;color:#b5c3d8;border-radius:0;display:none}
.urban-shell .save-status.dirty i{background:#24415f}
.urban-shell .button{border-radius:6px;padding:9px 12px;font-size:13px;font-weight:600;min-height:40px;gap:6px;border:1px solid #6984a746;box-shadow:none;transition:background .15s}
.urban-shell .button .icon{width:14px;height:14px}
.urban-shell .primary{background:#24415f;border-color:#6984a780;color:#b5c3d8}
.urban-shell .primary:hover{background:#7bbe9a}
.urban-shell .subtle{background:#102036;color:#f0f5ff;border-color:#6984a746}
.urban-shell .subtle:hover{background:#285354}
.urban-shell .city-map{position:absolute;inset:0}
.urban-shell .comparison-map{position:absolute;inset:0}
.urban-shell .dimension-switch{display:flex;gap:3px;align-items:center;padding:0 8px 0 0;border-right:1px solid #6984a746;flex-shrink:0}
.urban-shell .dimension-switch button{display:flex;align-items:center;justify-content:center;gap:5px;color:#b5c3d8;font-size:12px;border:1px solid transparent;border-radius:5px;padding:7px 9px;min-height:30px;white-space:nowrap}
.urban-shell .dimension-switch .icon{width:14px;height:14px}
.urban-shell .dimension-switch button.active{background:#1b314c;color:#f0f5ff;border-color:#6984a750}
.urban-shell .dimension-switch button:hover{color:#dbebdf}
.urban-shell .mode-switch{background:transparent;border:0;border-radius:0;padding:0;gap:2px;display:flex}
.urban-shell .mode-switch button{color:#b5c3d8;font-size:12px;padding:8px 10px;border-radius:5px;display:flex;align-items:center;gap:5px}
.urban-shell .mode-switch button.active{background:#24415f14;color:#f0f5ff;box-shadow:none;font-weight:600}
.urban-shell .mode-switch .icon{width:13px;height:13px}
.urban-shell .edit-tools{gap:2px;display:flex;align-items:center;flex-shrink:0}
.urban-shell .icon-button{width:28px;height:29px;border-radius:4px;color:#b5c3d8;background:none}
.urban-shell .icon-button:hover{background:#82a5931a}
.urban-shell .icon-button .icon{width:15px;height:15px}
.urban-shell .edit-tools>i{height:16px;background:#24415f5a;margin:0 6px}
.urban-shell .capture-button:hover{background:#366b5e}
.urban-shell .map-loading{z-index:8;background:#24415f;gap:12px;color:#b5c3d8}
.urban-shell .loading-leaf{display:grid;place-items:center;width:40px;height:40px;color:#b5c3d8}
.urban-shell .loading-leaf .icon{height:32px;width:32px;stroke-width:1.3}
.urban-shell .loading-dots{font-size:12px;letter-spacing:4px;color:#b5c3d8}
.urban-shell .map-badge .badge-leaf{display:none}
.urban-shell .map-badge>div{display:flex;align-items:center;gap:9px}
.urban-shell .map-badge strong{font-size:12px;color:#b5c3d8}
.urban-shell .map-badge #map-mode-label{font-size:12px;color:#b5c3d8;display:block}
.urban-shell .map-legend i{width:7px;height:7px;border-radius:2px;border:1px solid #6984a780}
.urban-shell .map-legend .legend-real{background:#24415f}
.urban-shell .map-legend .legend-student{background:#24415f}
.map-provider{position:absolute;z-index:4;right:304px;top:87px;background:#24415ff5;color:#b5c3d8;font-size:12px;line-height:1.5;border:1px solid #6984a780;border-radius:5px;padding:6px 9px;pointer-events:none;max-width:245px}
.location-search{position:absolute;z-index:10;left:280px;top:83px;display:flex;align-items:center;gap:7px;padding:0 8px 0 11px;height:34px;width:280px;background:#24415f;border:1px solid #6984a780;border-radius:6px;box-shadow:0 3px 12px #06101f10}
.location-search>.icon{height:14px;width:14px;color:#b5c3d8}
.location-search input{font-size:12px;color:#b5c3d8;min-width:0;flex:1;background:none;border:0;outline:0;width:100%}
.location-search input::placeholder{color:#9aa99c}
.location-search button{font-size:12px;color:#b5c3d8;padding:6px 4px}
.urban-shell .budget-copy{flex:1}
.urban-shell .budget-card strong b{font-weight:500}
.urban-shell .budget-track{height:4px;width:100%;margin:2px 0 0;background:#1b314c;border-radius:2px;overflow:hidden}
.urban-shell .budget-track i{background:#24415f;height:100%;display:block;border-radius:2px}
.urban-shell .palette-search .icon{width:13px;height:13px;color:#b5c3d8}
.urban-shell .palette-search input::placeholder{color:#678e7d}
.urban-shell .category-tabs button.active{background:#1b314c;color:#f0f5ff;font-weight:600}
.urban-shell .facility-card:hover{background:#204947;border-color:#6984a759;transform:none;box-shadow:none}
.urban-shell .facility-card.active{background:#1b314c;border-color:#6984a780;box-shadow:0 0 0 1px #06101f3b}
.urban-shell .facility-art:after{display:none}
.urban-shell .facility-art>.icon{width:32px;height:32px;filter:none;position:absolute;z-index:0}
.urban-shell .facility-art img{position:absolute;width:94%;height:94%;inset:3%;object-fit:contain;filter:none;z-index:1}
.urban-shell .facility-art .mini-plus{position:absolute;right:5px;top:5px;background:#102036f5;border:1px solid #6984a746;border-radius:4px;color:#b5c3d8;min-width:16px;height:16px;text-align:center;font-size:12px;line-height:14px;z-index:2}
.urban-shell .palette-hint b{font-weight:400;color:#b5c3d8}
.urban-shell .village-level>div{flex:1;min-width:0}
.urban-shell .village-xp-track{height:3px;background:#1b314c;border-radius:2px;margin-top:7px;overflow:hidden}
.urban-shell .village-xp-track i{display:block;height:100%;background:#24415f;transition:width .3s}
.urban-shell .level-stars{display:none}
.urban-shell .inspector-panel>.panel-heading{padding:13px 14px 11px}
.urban-shell .quest-count .icon{width:11px;height:11px}
.city-metrics{padding:0 14px 13px;margin-bottom:4px;border-bottom:1px solid #6984a746}
.metrics-heading{display:flex;justify-content:space-between;align-items:baseline;margin:2px 0 12px}
.metrics-heading>span{color:#f0f5ff;font-size:12px;font-weight:600}
.metrics-heading small{color:#b5c3d8;font-size:12px}
.score-part{display:grid;grid-template-columns:55px minmax(0,1fr) 26px;align-items:center;gap:8px;margin-top:10px;font-size:12px}
.score-part>span{color:#b5c3d8}
.score-part-track{height:5px;background:#1b314c;border-radius:3px;overflow:hidden}
.score-part-track i{height:100%;display:block;background:#24415f;border-radius:3px;transition:width .3s}
.score-part>output{text-align:right;font-size:12px;color:#f0f5ff;font-variant-numeric:tabular-nums}
.urban-shell .mission-item .icon{height:15px;width:15px}
.urban-shell .mission-item>div{flex:1;min-width:0}
.urban-shell .mission-item.complete{background:#102036;border-color:#6984a746}
.urban-shell .mission-item.complete>span:first-child{background:#466d4140;color:#f0f5ff}
.urban-shell .mission-item.complete h3{color:#b5c3d8}
.urban-shell .inspector-empty>.icon{width:22px;height:22px;color:#b5c3d8}
.urban-shell .inspector-empty b{color:#b5c3d8;font-weight:400}
.urban-shell .selected-card img{width:51px;height:46px;object-fit:contain}
.urban-shell .selected-card .icon-button{margin-left:auto}
.urban-shell .field:focus{outline:1px solid #87b47b;outline-offset:1px}
.urban-shell .danger{background:#1020365a;color:#b5c3d8;border-color:#6984a746}
.urban-shell .design-note summary::-webkit-details-marker{display:none}
.urban-shell .design-note summary>.icon{width:13px;height:13px}
.urban-shell .design-note summary>.icon:last-child{margin-left:auto;width:11px}
.urban-shell .design-note[open] summary>.icon:last-child{transform:rotate(90deg)}
.urban-shell .design-note textarea::placeholder{color:#5f815a}
.urban-shell .impact-card>.eyebrow{display:none}
.urban-shell .impact-card>div:not(.impact-score){display:flex;justify-content:space-between;align-items:center;margin-top:0}
.urban-shell .impact-card strong small{font-size:12px;color:#b5c3d8;font-weight:400}
.urban-shell .impact-score{padding-top:8px;margin-top:8px;border-top:1px solid #6984a746;display:flex;align-items:center;justify-content:space-between}
.urban-shell .village-submit .icon{width:13px;height:13px}
.urban-shell .real-inspector .eyebrow{color:#b5c3d8;font-size:12px;letter-spacing:1px}
.urban-shell .real-inspector dl{color:#b5c3d8;font-size:12px;gap:9px}
.urban-shell .real-inspector>p:last-child{color:#6d8e68;font-size:12px}
.urban-shell .toolbelt-label{font-size:12px;letter-spacing:1.2px;color:#b5c3d8;white-space:nowrap}
.urban-shell .camera-presets .icon{width:15px;height:15px}
.urban-shell .camera-presets button:hover{background:#4f7e5929}
.urban-shell .map-bottom b{color:#b5c3d8}
.urban-shell .map-bottom #map-help{display:none}
.urban-shell .map-bottom .icon{width:12px;height:12px}
.urban-shell .storyboard-heading .eyebrow{display:none}
.urban-shell .text-button{min-height:23px;padding:0;font-size:12px;border:0;color:#b5c3d8;background:none;gap:5px}
.urban-shell .text-button .icon{width:12px;height:12px}
.urban-shell .scene-card img{width:100%;height:100%;object-fit:cover}
.urban-shell .scene-card:after{display:block;position:absolute;content:'';inset:35% 0 0;background:linear-gradient(transparent,#102036f5)}
.urban-shell .scene-add:after{display:none}
.urban-shell .scene-add .icon{height:17px;width:17px}
.urban-shell .scene-placeholder{display:flex;align-items:center;justify-content:center;gap:5px;background:#10203666;border:1px solid #6984a746;color:#b5c3d8;flex-direction:column;pointer-events:none}
.urban-shell .scene-placeholder:after{display:none}
.urban-shell .scene-placeholder .icon{width:18px;height:18px;stroke-width:1}
.urban-shell .workspace-footer>span:nth-child(2){display:none}
.urban-shell .workspace-footer>span:first-child{display:none}
.urban-shell .workspace-footer .live-dot{height:3px;width:3px;background:#24415f}
.urban-shell .workspace-footer button{font-size:12px;color:#b5c3d8;background:#24415ff5;border-radius:3px;padding:1px 5px;min-height:24px}
.urban-shell .guide-bubble{display:none!important}
.urban-shell .map-weather{display:none}
.urban-shell .placement-banner>.icon{width:15px;height:15px}
.urban-shell .placement-feedback{position:absolute;z-index:6;left:50%;top:45%;color:#f0f5ff;font-size:16px;text-shadow:0 1px 4px #06101f65;opacity:0;pointer-events:none}
.urban-shell .placement-feedback.pop{animation:urbanPlace .75s ease-out}
.urban-shell .compare-labels{position:absolute;top:179px;left:0;right:0;display:flex;justify-content:space-around;z-index:5;pointer-events:none;padding:0 25px;gap:20px}
.urban-shell .compare-labels span{font-size:12px;color:#b5c3d8;background:#24415ff5;border:1px solid #6984a780;border-radius:5px;padding:7px 10px}
.urban-shell .compare-divider{background:#24415faa;width:2px;z-index:3}
.urban-shell .compare-divider span{background:#102036;color:#f0f5ff;border:1px solid #6984a760;box-shadow:none;font-size:18px;line-height:27px}
.urban-shell .mobile-missions{display:none}
.urban-shell .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;white-space:nowrap}
.urban-shell .maplibregl-ctrl-group{background:#24415ff5!important;border:1px solid #6984a780!important;border-radius:5px!important;box-shadow:0 3px 15px #06101f20!important}
.urban-shell .maplibregl-ctrl-group button{width:29px;height:30px}
.urban-shell .maplibregl-ctrl-scale{background:#24415ff5;color:#b5c3d8;border-color:#6984a780;font-size:12px;border-radius:2px}
.urban-shell.is-3d .map-provider{background:#102036f5;border-color:#6984a75c;color:#f0f5ff}
.urban-shell.is-3d .map-badge{background:#102036f5;border-color:#6984a75c;color:#f0f5ff}
.urban-shell.is-3d .map-badge strong{color:#f0f5ff}
.urban-shell.is-3d .map-badge #map-mode-label{color:#b5c3d8}
.urban-shell.is-3d .map-legend{color:#b5c3d8;text-shadow:0 1px 2px #06101f65}
.visitor-mark{font-size:12px;letter-spacing:.9px;color:#f0f5ff;border:1px solid #6984a75e;border-radius:3px;padding:4px 5px;white-space:nowrap}
.visitor-banner>div{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.visitor-banner strong{font-size:12px;color:#f0f5ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.visitor-banner #visitor-alias{font-size:12px;color:#b5c3d8}
.visitor-banner .button{min-height:28px;padding:6px 7px;font-size:12px;white-space:nowrap}
.urban-shell.is-visiting .project-title{opacity:.7}
.urban-shell.is-visiting .inspector-panel{pointer-events:auto;opacity:1}
.urban-shell.is-visiting .project-actions #share-project{opacity:.35;pointer-events:none}
.urban-shell.is-visiting .project-actions #save-project{opacity:.35;pointer-events:none}
.urban-shell.is-visiting .placement-banner{display:none!important}
.urban-shell.is-visiting #visitor-banner{display:flex}
.urban-shell.is-visiting .map-provider{display:none}
.urban-shell~.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,16px);font-size:12px;border-radius:6px;border:1px solid #6984a754;background:#102036f5;color:#f0f5ff;box-shadow:var(--shadow);max-width:90vw;padding:12px 18px}
.urban-shell~.toast.show{transform:translate(-50%,0)}
.urban-shell~dialog::backdrop{background:#092e2f80;backdrop-filter:blur(5px)}
.urban-shell~dialog .dialog-header{border-color:#6984a746}
.urban-shell~dialog .dialog-header h2{font-size:19px;font-weight:600;color:#f0f5ff}
.urban-shell~dialog .button.primary{background:#24415f;color:#b5c3d8;border-color:#6984a780}
.urban-shell~dialog .button.danger{background:#1b314c5a;color:#b5c3d8;border-color:#6984a746}
.urban-shell~dialog .icon-button{background:#1b314c5a;border-radius:5px;color:#b5c3d8}
.urban-shell~dialog .metric{background:#1b314c5e;border:1px solid #6984a746;border-radius:6px}
.urban-shell~dialog .metric small{color:#b5c3d8}
.urban-shell~dialog .metric strong{color:#f0f5ff;font-size:25px}
.urban-shell~dialog .view-list li{color:#b5c3d8}
.urban-shell~dialog .view-list b{color:#f0f5ff}
.urban-shell~dialog .project-list-item{background:#102036;border:1px solid #6984a746;border-radius:5px;color:#f0f5ff}
.urban-shell~dialog .project-list-item p{color:#b5c3d8}
.urban-shell~dialog .export-code{background:#102036;border-color:#6984a746;color:#b5c3d8;font-size:12px;border-radius:4px}
.urban-shell~dialog .scene-dialog-image{border-color:#6984a746;border-radius:5px}
.urban-shell~dialog .mission-modal-list{display:grid;gap:8px}
.urban-shell~dialog .mission-item{display:flex;gap:10px;align-items:center;text-align:left;padding:12px;background:#102036;border:1px solid #6984a746;border-radius:5px;color:#f0f5ff}
.urban-shell~dialog .mission-item>span:first-child{color:#80a267}
.urban-shell~dialog .mission-item>div{flex:1}
.urban-shell~dialog .mission-item h3{font-size:12px;color:#f0f5ff;margin-bottom:5px}
.urban-shell~dialog .mission-item .icon{height:18px;width:18px}
.urban-shell~dialog .guide-dialog-intro{display:flex;gap:15px;align-items:center}
.urban-shell~dialog .guide-dialog-intro img{display:none}
.urban-shell~dialog .guide-dialog-intro h3{font-size:17px;color:#f0f5ff;margin-bottom:10px}
.community-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:5px 0}
.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.community-card{border:1px solid #6984a746;border-radius:7px;overflow:hidden;background:#102036}
.community-preview{height:150px;background:#1b314c;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.community-preview img{height:100%;width:100%;object-fit:cover}
.model-silhouette{font-size:30px;font-weight:200;letter-spacing:5px;color:#b5c3d8;border:1px solid #6984a752;border-radius:7px;padding:12px 17px}
.community-card-body{padding:15px}
.community-card-body h3{font-size:14px;line-height:1.7;color:#f0f5ff;font-weight:500}
.community-card-body .button{width:100%}
.community-empty{padding:35px 20px;text-align:center;background:#102036;border:1px dashed #6984a74d;border-radius:7px}
.community-empty h3{font-size:14px;font-weight:500;color:#f0f5ff;margin:15px 0 8px}
.empty-city-symbol{font-size:50px;color:#b5c3d8;font-weight:300}
.community-empty .dialog-copy{max-width:340px;margin:auto}
.urban-shell.is-visiting .close-panel-button{pointer-events:auto}
.data-fact b{font-weight:500;color:#f0f5ff}
body:has(.urban-shell){margin:0;overflow:hidden;background:#102036;color:#f0f5ff}
.urban-shell{display:block;min-height:0;height:100dvh}
.urban-shell .topbar{height:64px;background:#102036;border-bottom:1px solid #6984a746;padding:0 20px;gap:20px;position:relative;z-index:30;min-height:64px}
.urban-shell .wordmark{display:flex;align-items:center;gap:10px;letter-spacing:0;white-space:nowrap;color:#f0f5ff;min-width:250px}
.urban-shell .wordmark strong{font-size:17px;letter-spacing:-.5px;font-weight:700}
.urban-shell .wordmark small{font-size:12px;font-weight:500;letter-spacing:1.6px;color:#b5c3d8}
.urban-shell .brand-leaf img{display:block;width:34px;height:34px;object-fit:contain}
.urban-shell .rail-link{width:auto;min-height:40px;display:flex;flex-direction:row;gap:6px;align-items:center;justify-content:center;border-radius:7px;padding:9px 10px;color:#b5c3d8;font-size:12px;font-weight:500;white-space:nowrap;letter-spacing:0;border:1px solid transparent}
.urban-shell .player-profile small{font-size:12px;color:#b5c3d8}
.urban-shell .player-profile b{font-size:12px;max-width:100px;color:#f0f5ff;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.urban-shell .preview-pill{font-size:12px;padding:5px 7px;border:1px solid #6984a746;background:transparent;color:#b5c3d8;border-radius:4px;white-space:nowrap}
.urban-shell .workspace{margin:0;width:100%;height:calc(100dvh - 64px);min-height:0;position:relative;overflow:hidden;padding:0}
.urban-shell .studio-grid{display:contents;margin:0;border:0;background:none;box-shadow:none;min-height:0;height:auto;max-height:none}
.urban-shell .map-panel{position:absolute;inset:0;border:0;border-radius:0;display:block;background:#24415f;min-width:0;height:auto;min-height:0;order:initial}
.urban-shell .map-stage{position:absolute;inset:0;min-height:0;overflow:hidden;border-radius:0;isolation:isolate;width:100%;height:100%}
.urban-shell .project-heading{position:absolute;z-index:14;top:14px;left:16px;width:460px;display:flex;padding:0;min-height:42px;right:auto;max-width:calc(100% - 700px);gap:10px;align-items:center}
.urban-shell .project-intro{flex:1;min-width:0}
.urban-shell .project-title-row{display:block;flex-wrap:wrap;gap:5px;margin:0}
.urban-shell .project-title{background:#102036f5;border:1px solid #6984a746;border-radius:8px;color:#f0f5ff;padding:10px 12px;font-size:14px;font-weight:600;letter-spacing:-.3px;width:100%;height:42px;outline-offset:2px;box-shadow:0 3px 14px #06101f20;max-width:none}
.urban-shell .project-actions{display:flex;grid-template-columns:1fr 1.3fr 1fr;gap:5px;margin-top:7px;margin:0;width:auto}
.urban-shell .project-actions .button{min-height:42px;padding:9px;font-size:12px;gap:5px}
.urban-shell .project-actions .button .icon{width:15px;height:15px;display:block}
.urban-shell .project-actions #open-projects{font-size:0;width:38px;padding:8px;gap:0}
.urban-shell .project-actions #share-project{font-size:0;width:38px;padding:8px;gap:0}
.urban-shell .save-status{position:absolute;top:47px;left:4px;font-size:12px;color:#b5c3d8;gap:4px;margin:0;white-space:nowrap;display:flex;max-width:100%;line-height:1.4;text-shadow:0 1px 3px #06101fcf}
.urban-shell .save-status.error{color:#ffb9aa}
.urban-shell .save-status i{background:#24415f;width:5px;height:5px}
.urban-shell .map-toolbar{position:absolute;z-index:14;top:14px;left:auto;right:16px;height:44px;min-height:44px;display:flex;gap:8px;align-items:center;justify-content:space-between;padding:5px 7px;background:#102036f5;border:1px solid #6984a746;backdrop-filter:blur(14px);border-radius:9px;box-shadow:0 6px 24px #06101f25;width:auto;flex-wrap:nowrap}
.urban-shell .map-toolbar .dimension-switch{flex:initial;border-right:1px solid #6984a746;padding:0 8px 0 0;gap:2px}
.urban-shell .map-toolbar .dimension-switch button{font-size:12px;padding:7px 10px;min-height:32px}
.urban-shell .map-toolbar .mode-switch button{font-size:12px;padding:7px 10px;min-height:32px}
.urban-shell .map-toolbar .mode-switch{width:auto;order:initial;flex:initial;border:0;padding:0;gap:2px}
.urban-shell .edit-tools .icon-button{width:28px;height:30px;display:grid}
.urban-shell .edit-tools .mobile-missions{display:none}
.urban-shell .capture-button{min-height:32px;background:#1b314c;color:#f0f5ff;border:1px solid #6984a746;border-radius:5px;font-size:12px;padding:6px 9px;gap:5px}
.urban-shell .location-search{top:85px;left:16px;right:auto;width:300px;height:39px;z-index:13;padding:0 9px 0 12px;gap:8px}
.urban-shell .location-search input{font-size:13px}
.urban-shell .location-search button{font-size:12px;padding:8px 5px}
.urban-shell .map-badge{position:absolute;z-index:4;left:282px;top:130px;padding:8px 11px;gap:7px;display:none;background:#24415ff5;border:1px solid #6984a78c;border-radius:6px;box-shadow:0 2px 9px #06101f20;pointer-events:none}
.urban-shell .map-legend{top:134px;left:21px;font-size:12px;color:#b5c3d8;text-shadow:0 1px 2px #06101f65;gap:14px;display:flex;align-items:center;z-index:4}
.urban-shell .map-provider{top:76px;left:auto;right:19px;max-width:260px;font-size:12px;padding:5px 8px}
.urban-shell .workspace-tools{position:absolute;z-index:18;left:50%;bottom:29px;top:auto;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:6px;padding:7px;background:#102036f5;border:1px solid #6984a746;border-radius:12px;box-shadow:0 8px 30px #06101f32;backdrop-filter:blur(16px);max-width:calc(100% - 32px);white-space:nowrap}
.urban-shell .workspace-tools button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;font-size:13px;font-weight:600;padding:10px 15px;border:1px solid transparent;border-radius:7px;color:#f0f5ff;white-space:nowrap}
.urban-shell .workspace-tools button .icon{height:19px;width:19px}
.urban-shell .workspace-tools button:hover{background:#315955;color:#f0f5ff}
.urban-shell .workspace-tools button[aria-expanded=true]{background:#24415f;border-color:#6984a780;color:#b5c3d8}
.urban-shell .workspace-tools button[aria-pressed=true]{background:#24415f;border-color:#6984a780;color:#b5c3d8}
.urban-shell .workspace-tools #toggle-library{background:#1b314c;color:#f0f5ff;border-color:#6984a746}
.urban-shell .workspace-tools #toggle-library[aria-expanded=true]{background:#24415f;color:#b5c3d8}
.urban-shell .village-toolbelt{position:absolute;z-index:6;bottom:100px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:4px 6px;background:#102036f5;border:1px solid #6984a746;border-radius:7px;box-shadow:none;max-width:calc(100% - 40px);top:auto}
.urban-shell .village-toolbelt .toolbelt-label{display:none}
.urban-shell .camera-presets{position:static;transform:none;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;display:flex;gap:2px;left:auto;bottom:auto;max-width:none}
.urban-shell .camera-presets button{padding:7px 9px;font-size:12px;color:#f0f5ff;border-radius:4px;display:flex!important;align-items:center;gap:5px;min-height:30px;justify-content:center}
.urban-shell .camera-presets button .icon{display:block;width:14px;height:14px}
.urban-shell .camera-presets button.active{background:#1b314c;color:#f0f5ff;font-weight:500}
.urban-shell .map-bottom{position:absolute;left:17px;bottom:35px;right:17px;height:35px;z-index:5;display:flex;justify-content:space-between;border:0;padding:0;font-size:12px;pointer-events:none;color:#b5c3d8;top:auto}
.urban-shell .map-bottom>span:first-child{background:#fffdf3ed;border:1px solid #6984a780;padding:7px 9px;border-radius:4px;color:#b5c3d8;display:flex;align-items:center;gap:5px;font-size:12px}
.urban-shell .map-reset{pointer-events:auto;display:flex;align-items:center;gap:5px;background:#24415ff5;border:1px solid #6984a780;border-radius:6px;padding:8px 10px;font-size:12px;color:#b5c3d8}
.urban-shell .map-reset .icon{width:15px;height:15px}
.urban-shell .maplibregl-ctrl-top-right{right:12px;top:122px}
.urban-shell .maplibregl-ctrl-bottom-right{right:9px;bottom:3px;max-width:calc(100% - 28px)}
.urban-shell .maplibregl-ctrl-bottom-left{left:9px;bottom:6px}
.urban-shell .maplibregl-ctrl-attrib{font-size:11px!important;color:#b5c3d8!important;background:#24415ff5!important;border-radius:3px;line-height:18px}
.urban-shell .workspace-footer{position:absolute;z-index:9;bottom:5px;left:12px;right:auto;padding:0;font-size:12px;color:#b5c3d8;display:flex;align-items:center;gap:5px;justify-content:space-between;line-height:1.7}
.urban-shell.palette-open .palette-panel{display:flex}
.urban-shell.inspector-open .inspector-panel{display:flex}
.urban-shell.storyboard-open .storyboard-section{display:block}
.urban-shell .palette-panel{position:absolute;z-index:12;left:16px;top:166px;bottom:108px;width:300px;border:1px solid #6984a746;border-radius:10px;background:#102036f8;backdrop-filter:blur(18px);display:none;flex-direction:column;overflow:hidden;box-shadow:var(--shadow);right:auto;max-height:none;height:auto}
.urban-shell .inspector-panel{position:absolute;z-index:15;right:16px;top:112px;bottom:108px;width:360px;border:1px solid #6984a746;border-radius:10px;background:#102036f8;backdrop-filter:blur(18px);box-shadow:var(--shadow);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#42695b transparent;display:none;flex-direction:column;padding-bottom:16px;grid-column:auto;left:auto;height:auto;max-height:none}
.urban-shell .inspector-panel.mobile-open{display:flex;position:absolute;top:112px;right:16px;left:auto;bottom:108px;width:360px;height:auto;max-height:none;z-index:15;background:#102036f8;border-radius:10px;padding-bottom:16px;overflow-y:auto}
.urban-shell .panel-heading{padding:16px 17px 13px;gap:8px;min-height:55px;flex:none}
.urban-shell .panel-heading h2{font-size:17px;font-weight:600;letter-spacing:-.4px;margin-top:2px;color:#f0f5ff}
.urban-shell .palette-panel>.panel-heading h2{font-size:17px;color:#f0f5ff}
.urban-shell .inspector-panel>.panel-heading h2{font-size:17px;color:#f0f5ff}
.urban-shell .panel-heading .eyebrow{font-size:12px;letter-spacing:1.2px;color:#b5c3d8;line-height:1.8;display:block}
.urban-shell .round-count{background:#1b314c;color:#f0f5ff;border:0;border-radius:5px;font-size:12px;width:27px;height:27px;display:grid}
.urban-shell .drawer-close{display:grid;width:32px;min-width:32px;height:32px;color:#f0f5ff;background:#1b314c;border-radius:5px;pointer-events:auto}
.urban-shell .close-panel-button{display:grid;width:32px;min-width:32px;height:32px;color:#f0f5ff;background:#1b314c;border-radius:5px;pointer-events:auto}
.urban-shell .budget-card{margin:0 15px 14px;padding:13px;background:#102036;border:1px solid #6984a746;border-radius:7px;display:flex;align-items:center;gap:9px;flex-wrap:wrap;position:static;min-height:0;left:auto;right:auto;top:auto}
.urban-shell .coin-emblem{width:30px;height:30px;display:grid;place-items:center;background:#1b314c5a;color:#f0f5ff;border:1px solid #6984a746;font-size:16px;font-weight:600;border-radius:50%}
.urban-shell .budget-copy>span{font-size:12px;color:#b5c3d8;display:block}
.urban-shell .budget-card strong{font-size:25px;color:#f0f5ff;display:flex;gap:5px;align-items:baseline;font-weight:500;line-height:1.3;margin-top:4px;letter-spacing:-.7px}
.urban-shell .budget-card strong small{font-size:12px;font-weight:400;color:#b5c3d8}
.urban-shell .budget-card .budget-track{display:block;height:5px}
.urban-shell .budget-card p{width:100%;font-size:12px;color:#b5c3d8;margin-top:0;line-height:1.7;display:block}
.urban-shell .palette-search{margin:0 15px 12px;padding:10px;background:#102036;border:1px solid #6984a746;border-radius:5px;gap:7px;display:flex}
.urban-shell .palette-search input{font-size:13px;color:#f0f5ff}
.urban-shell .category-tabs{display:flex;position:static;justify-content:flex-start;padding:0 12px 12px;gap:2px;min-height:0;flex-wrap:wrap}
.urban-shell .category-tabs button{font-size:12px;min-height:32px;padding:7px 9px;color:#b5c3d8;border-radius:4px}
.urban-shell .facility-palette{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 15px 14px;overflow-y:auto;min-height:80px;flex:1;align-content:start;scrollbar-width:thin;scrollbar-color:#42695b transparent;overflow-x:hidden}
.urban-shell .facility-card{border:1px solid #6984a746;background:#102036;border-radius:7px;overflow:hidden;padding:0;position:relative;text-align:left;min-height:136px;box-shadow:none;transition:border-color .16s,background .16s;width:auto;min-width:0;height:auto;flex:none}
.urban-shell .facility-art{height:92px;background:#102036;display:grid;place-items:center;position:relative;color:#b5c3d8;border-radius:0;overflow:hidden}
.urban-shell .facility-card h3{font-size:13px;font-weight:500;margin:9px 9px 4px;color:#f0f5ff;letter-spacing:0;line-height:1.5}
.urban-shell .facility-card p{font-size:12px;margin:0 9px 10px;color:#f0f5ff;line-height:1.4}
.urban-shell .palette-hint{margin:0 15px;border-top:1px solid #6984a746;padding:11px 0;display:flex;gap:8px;align-items:center;color:#b5c3d8;flex:none}
.urban-shell .palette-hint p{font-size:12px;line-height:1.6;color:#b5c3d8}
.urban-shell .palette-hint .icon{width:16px;height:16px;color:#b5c3d8}
.urban-shell .village-level{display:none;align-items:center;gap:12px;padding:16px 17px;border-bottom:1px solid #6984a746;background:#1020365a}
.urban-shell .level-medal{width:35px;height:35px;display:grid;place-items:center;border-radius:7px;border:1px solid #6984a752;color:#f0f5ff;background:#1b314c5a;font-size:18px;font-weight:500;flex-shrink:0}
.urban-shell .village-level p{font-size:12px;color:#b5c3d8}
.urban-shell .village-level h2{font-size:15px;color:#f0f5ff;font-weight:500;margin-top:3px;line-height:1.4;letter-spacing:0}
.urban-shell #village-xp-label{display:block;font-size:12px;color:#b5c3d8;margin-top:5px;line-height:1.6}
.urban-shell .quest-count{display:flex;align-items:center;gap:5px;background:#1b314c;border:1px solid #6984a746;border-radius:4px;padding:7px 8px;color:#f0f5ff}
.urban-shell .quest-count b{font-size:12px;font-weight:500}
.urban-shell .city-metrics{padding:0 17px 16px}
.urban-shell .metrics-heading>span{font-size:14px}
.urban-shell .metrics-heading small{font-size:12px}
.urban-shell .score-part{grid-template-columns:68px minmax(0,1fr) 30px;font-size:12px;gap:10px;margin-top:12px}
.urban-shell .score-part>output{font-size:12px}
.urban-shell .mission-board{padding:0 16px;display:grid;gap:8px;flex-shrink:0}
.urban-shell .mission-item{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #6984a746;background:#102036;border-radius:5px;padding:11px;min-height:65px;width:100%}
.urban-shell .mission-item>span:first-child{display:grid;place-items:center;width:29px;height:29px;color:#b5c3d8;background:#1b314c5a;border-radius:4px;flex-shrink:0}
.urban-shell .mission-item h3{font-size:13px;font-weight:500;color:#f0f5ff;line-height:1.5}
.urban-shell .inspector-panel.mobile-open .mission-item h3{font-size:13px;line-height:1.5}
.urban-shell .mission-item p{font-size:12px;line-height:1.5;margin-top:4px;color:#b5c3d8}
.urban-shell .inspector-panel.mobile-open .mission-item p{font-size:12px;line-height:1.5;margin-top:4px}
.urban-shell .mission-item>small{font-size:12px;color:#b5c3d8;white-space:nowrap}
.urban-shell .inspector-empty{display:flex;align-items:center;gap:10px;text-align:left;margin:14px 16px 0;padding:12px;background:#1020367a;border:1px solid #6984a746;border-radius:5px}
.urban-shell .inspector-empty p{margin:0;color:#b5c3d8;font-size:12px;line-height:1.7}
.urban-shell #object-inspector{padding:0 17px 16px}
.urban-shell .selected-card{margin-bottom:14px;padding:11px;background:#1b314c;border:1px solid #6984a746;border-radius:5px;gap:10px}
.urban-shell .selected-card small{font-size:12px;color:#b5c3d8}
.urban-shell .selected-card h3{font-size:16px;color:#f0f5ff;margin-top:4px;font-weight:500;line-height:1.4}
.urban-shell .field-label{font-size:13px;color:#b5c3d8;margin:12px 0 7px;display:block;line-height:1.6;margin-top:15px}
.urban-shell .property-row{font-size:13px;color:#b5c3d8;margin-top:15px;line-height:1.6}
.urban-shell .inspector-panel.mobile-open .field-label{font-size:13px;line-height:1.6;margin-top:15px}
.urban-shell .inspector-panel.mobile-open .property-row{font-size:13px;line-height:1.6;margin-top:15px}
.urban-shell .field{background:#102036;border:1px solid #6984a746;border-radius:6px;font-size:14px;color:#f0f5ff;padding:10px;line-height:1.7;box-shadow:none}
.urban-shell .inspector-panel.mobile-open .field{font-size:14px;line-height:1.7;padding:10px;border-radius:6px;color:#f0f5ff}
.urban-shell .field::placeholder{color:#829f8e}
.urban-shell .property-row output{font-size:13px;color:#f0f5ff}
.urban-shell input[type=range]{height:5px;accent-color:#71c3ff;margin:15px 0 9px;cursor:pointer}
.urban-shell input[type=color]{width:38px;height:27px;background:none;border:1px solid #6984a755;border-radius:4px}
.urban-shell .color-swatches{gap:12px;margin-top:11px}
.urban-shell .color-swatches button{height:24px;width:24px;box-shadow:0 0 0 1px #06101f50;border:2px solid #6984a780;border-radius:4px}
.urban-shell .coordinate-label{font-size:12px;color:#b5c3d8;margin-top:11px;line-height:1.6}
.urban-shell .selected-actions .button{font-size:13px;min-height:40px;padding:9px}
.urban-shell .inspector-close{width:100%;background:#1b314c;color:#f0f5ff;margin-top:10px;min-height:40px;font-size:13px;border:1px solid #6984a746;padding:9px}
.urban-shell .design-note{margin:15px 16px 12px;padding-top:15px;border-top:1px solid #6984a746;flex-shrink:0}
.urban-shell .design-note summary{display:flex;align-items:center;gap:6px;list-style:none;font-size:13px;color:#b5c3d8;cursor:pointer;line-height:1.6}
.urban-shell .design-note textarea{background:#102036;border:1px solid #6984a746;border-radius:4px;font-size:14px;color:#f0f5ff;width:100%;padding:9px;line-height:1.7;margin-top:10px;min-height:100px}
.urban-shell .impact-card{margin:12px 16px;padding:14px;background:#1020365a;border:1px solid #6984a746;border-radius:5px;flex-shrink:0}
.urban-shell .impact-card>div>span{font-size:12px;color:#b5c3d8}
.urban-shell .impact-card>p:not(.eyebrow){font-size:11px;color:#b5c3d8;line-height:1.8;margin-top:8px}
.urban-shell .impact-card strong{font-size:25px;color:#f0f5ff;font-weight:500;letter-spacing:-.5px}
.urban-shell .impact-score b{font-size:17px;color:#f0f5ff}
.urban-shell .village-submit{margin:10px 13px 0;padding:8px;min-height:43px;background:#1b314c;color:#f0f5ff;border:1px solid #6984a746;font-size:14px;flex-shrink:0;margin-left:16px;margin-right:16px;width:calc(100% - 32px)}
.urban-shell .inspector-panel.mobile-open .village-submit{font-size:14px;min-height:43px;margin-left:16px;margin-right:16px;width:calc(100% - 32px)}
.urban-shell .real-inspector{padding:14px;font-size:13px;margin:12px 16px}
.urban-shell .real-inspector h3{color:#f0f5ff;font-weight:500;font-size:16px;margin-top:6px}
.urban-shell .real-inspector p{font-size:12px;line-height:1.8}
.urban-shell .real-inspector dt{color:#b5c3d8;font-size:12px;line-height:1.8}
.urban-shell .real-inspector dd{font-size:12px;line-height:1.8}
.urban-shell .storyboard-section{position:absolute;z-index:16;left:50%;right:auto;bottom:105px;height:178px;padding:15px 17px;background:#102036f8;border:1px solid #6984a746;border-radius:10px;box-shadow:var(--shadow);overflow:hidden;backdrop-filter:blur(14px);display:none;top:auto;transform:translateX(-50%);width:min(850px,calc(100% - 32px))}
.urban-shell .storyboard-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;gap:8px;margin-bottom:12px}
.urban-shell .storyboard-heading h2{font-size:15px;font-weight:500;color:#f0f5ff;margin:0;letter-spacing:0}
.urban-shell .storyboard-heading h2 span{font-size:12px;color:#b5c3d8;font-weight:400;margin-left:10px;letter-spacing:0;display:inline}
.urban-shell .storyboard-heading .text-button{font-size:12px;margin:0}
.urban-shell .scene-strip{display:flex;gap:10px;min-height:108px;padding-bottom:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#48694e transparent;height:108px}
.urban-shell .scene-card{width:180px;min-width:180px;height:108px;border:1px solid #6984a746;border-radius:4px;box-shadow:none;background:#1b314c;position:relative;text-align:left;overflow:hidden;padding:0;transform:none}
.urban-shell .scene-card-label{position:absolute;bottom:7px;left:8px;right:4px;display:flex;align-items:center;gap:6px;font-size:12px;z-index:1;color:#f0f5ff;overflow:hidden;white-space:nowrap}
.urban-shell .scene-card-label b{font-size:12px;padding:1px 3px;font-weight:400;background:#1b314c5a;color:#f0f5ff;border-radius:2px}
.urban-shell .scene-placeholder span{font-size:12px;color:#b5c3d8}
.urban-shell .scene-add{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #6984a780;color:#b5c3d8;background:transparent;gap:5px;font-size:12px}
.urban-shell .placement-banner{top:179px;left:50%;z-index:17;transform:translateX(-50%);background:#1b314cf7;border:1px solid #6984a76e;border-radius:6px;box-shadow:var(--shadow);padding:13px 16px;color:#f0f5ff;gap:8px;font-size:14px;max-width:calc(100% - 48px);width:max-content;white-space:normal;right:auto;line-height:1.5}
.urban-shell .placement-banner button{font-size:13px;color:#f0f5ff;border-color:#6984a746;min-height:30px}
.urban-shell .map-error{z-index:20;inset:260px 320px auto;background:#1b314cf5;border:1px solid #6984a750;color:#f0f5ff;border-radius:7px;padding:20px;line-height:1.8;font-size:14px;top:182px;left:50%;right:auto;transform:translateX(-50%);width:min(580px,calc(100% - 42px))}
.urban-shell .map-loading strong{font-size:19px;font-weight:500}
.urban-shell .map-loading small{color:#b5c3d8;font-size:13px}
.urban-shell .visitor-banner{position:absolute;z-index:19;top:114px;left:50%;right:auto;display:flex;align-items:center;gap:12px;padding:11px 14px;background:#1b314cf5;border:1px solid #6984a75c;border-radius:6px;box-shadow:var(--shadow);min-height:40px;transform:translateX(-50%);max-width:calc(100% - 42px);width:max-content}
.urban-shell .visitor-banner strong{font-size:14px}
.urban-shell .visitor-banner #visitor-alias{font-size:12px}
.urban-shell .visitor-banner .button{font-size:12px;min-height:35px}
.urban-shell .visitor-mark{font-size:12px}
.urban-shell.is-visiting .palette-panel{opacity:.45;pointer-events:none}
.urban-shell~dialog{background:#102036;color:#f0f5ff;border:1px solid #6984a746;border-radius:10px;box-shadow:0 20px 90px #06101f70;max-width:820px;padding:24px;font-size:14px;line-height:1.6}
.urban-shell~dialog .dialog-copy{font-size:14px;color:#b5c3d8;line-height:1.8}
.urban-shell~dialog .button{min-height:42px;padding:9px 13px;background:#1b314c;border:1px solid #6984a746;color:#f0f5ff;border-radius:5px;font-size:13px;box-shadow:none}
.urban-shell~dialog .field{background:#102036;border:1px solid #6984a746;border-radius:4px;padding:10px;color:#f0f5ff;font-size:14px}
.urban-shell~dialog input{background:#102036;border:1px solid #6984a746;border-radius:4px;padding:10px;color:#f0f5ff;font-size:14px}
.urban-shell~dialog .field-label{font-size:13px;color:#b5c3d8}
.urban-shell~dialog .auth-note{background:#1020365a;border:1px solid #6984a746;border-radius:4px;color:#b5c3d8;line-height:1.8;font-size:12px;padding:10px 12px}
.urban-shell~dialog .eyebrow{font-size:12px;letter-spacing:1.5px;color:#b5c3d8}
.urban-shell~dialog .mission-item p{font-size:12px;color:#b5c3d8}
.urban-shell~dialog .mission-item>small{font-size:12px;color:#f0f5ff}
.community-count{font-size:12px;color:#b5c3d8}
.community-author{font-size:12px;color:#b5c3d8;margin-top:6px}
.community-meta{font-size:12px;color:#b5c3d8;margin:10px 0 15px}
.community-preview small{font-size:12px;color:#b5c3d8}
.data-fact{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #6984a746;padding:9px 1px;font-size:13px;color:#b5c3d8;line-height:1.6}
.urban-shell .map-budget{position:absolute;top:116px;right:59px;z-index:9;display:grid;grid-template-columns:1fr auto;column-gap:16px;row-gap:4px;min-width:190px;max-width:250px;padding:12px 14px;text-align:left;background:#102036f5;border:1px solid #6984a746;border-radius:9px;box-shadow:0 5px 22px #06101f21;backdrop-filter:blur(12px);color:#f0f5ff}
.urban-shell .map-budget>small{font-size:12px;line-height:1.5;grid-column:1/-1;color:#f0f5ff}
.urban-shell .map-budget>strong{display:flex;align-items:baseline;gap:5px;font-size:23px;line-height:1.4;color:#f0f5ff;font-weight:600;grid-column:1/-1}
.urban-shell .map-budget>strong small{font-size:12px;font-weight:400;color:#b5c3d8}
.urban-shell .map-budget>span{font-size:12px;line-height:1.5;grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#f0f5ff}
.urban-shell .map-budget:hover{background:#234b44;border-color:#6984a788}
.urban-shell.inspector-open .map-budget{display:none}
.urban-shell .thought-tabs{position:sticky;top:0;z-index:3;display:flex;gap:3px;padding:10px;background:#102036;border-bottom:1px solid #6984a746;flex-shrink:0}
.urban-shell .thought-tabs button{flex:1;min-height:40px;font-size:13px;font-weight:600;line-height:1.5;border:1px solid transparent;border-radius:5px;color:#b5c3d8;padding:7px}
.urban-shell .thought-tabs button[aria-selected=true]{background:#1b314c;border-color:#6984a746;color:#f0f5ff}
.urban-shell .thought-tabs button:hover{background:#315949;color:#f0f5ff}
.urban-shell #facility-workshop{flex-shrink:0;min-width:0}
.urban-shell #facility-workshop>.field-label{margin:12px 17px 7px;font-size:12px}
.urban-shell #planning-facility-select{display:block;width:calc(100% - 34px);margin:0 17px 12px;font-size:13px;min-height:42px}
.urban-shell #review-workshop{flex-shrink:0;min-width:0}
.urban-shell #funding-workshop{flex-shrink:0;min-width:0;padding:16px 17px 6px}
.urban-shell #funding-workshop>h3{font-size:17px;line-height:1.6;color:#f0f5ff;margin-bottom:10px}
.urban-shell #facility-workshop .inspector-empty{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:15px;gap:12px}
.urban-shell #facility-workshop .inspector-empty>.icon{display:none}
.urban-shell #facility-workshop .inspector-empty p{font-size:14px;line-height:1.8;color:#f0f5ff}
.urban-shell #facility-workshop .inspector-empty b{font-size:15px;color:#f0f5ff}
.urban-shell #facility-workshop .inspector-empty .button{font-size:13px;min-height:40px;width:100%}
.urban-shell .thinking-card{margin:10px 0 16px;padding:0;border:0}
.urban-shell .thinking-card>h3{font-size:17px;line-height:1.6;color:#f0f5ff;margin:0 0 8px;letter-spacing:-.3px}
.urban-shell .thinking-progress{font-size:12px;line-height:1.8;padding:7px 0;color:#f0f5ff}
.urban-shell .thinking-context p+p{margin-top:7px}
.urban-shell .thinking-context strong{color:#f0f5ff}
.urban-shell .thinking-context small{display:block;font-size:12px;line-height:1.8;color:#b5c3d8;margin-top:8px}
.urban-shell .thinking-actions{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 18px}
.urban-shell .thinking-actions .button{font-size:12px;min-height:40px;flex:1;padding:9px 7px}
.urban-shell .thinking-actions .button .icon{height:14px;width:14px}
.urban-shell .thinking-prompt{display:block;margin-top:19px;font-size:13px;line-height:1.7}
.urban-shell .thinking-prompt>strong{display:block;font-size:14px;color:#f0f5ff;font-weight:600;line-height:1.6}
.urban-shell .thinking-prompt>small{display:block;font-size:12px;line-height:1.8;color:#b5c3d8;margin:5px 0 8px}
.urban-shell .thinking-prompt textarea{display:block;width:100%;min-height:80px;font-size:14px;line-height:1.8;resize:vertical}
.urban-shell .thinking-prompt:focus-within>strong{color:#dbeeb6}
.urban-shell .workshop-usage{font-size:12px;line-height:1.8;color:#b5c3d8;margin:12px 0}
.urban-shell .learning-note{font-size:12px;line-height:1.8;color:#f0f5ff;margin:12px 0;padding:11px 12px;background:#1b314c65;border:1px solid #6984a746;border-radius:6px}
.urban-shell #planning-open-funding{width:100%;white-space:normal;min-height:44px;font-size:13px;line-height:1.6;padding:10px;margin-top:5px}
.urban-shell .appearance-controls{border:1px solid #6984a746;border-radius:7px;padding:0 12px 14px;background:#1020365a;margin-top:15px}
.urban-shell .appearance-controls>summary{font-size:13px;line-height:1.7;padding:12px 0;cursor:pointer;color:#f0f5ff}
.urban-shell .appearance-controls:not([open]){padding-bottom:0}
.urban-shell .funding-summary>div{padding:11px 10px;border-radius:6px;background:#102036;border:1px solid #6984a746;min-width:0}
.urban-shell .funding-summary small{display:block;font-size:12px;line-height:1.6;color:#f0f5ff}
.urban-shell .funding-summary span{display:block;font-size:12px;line-height:1.6;color:#f0f5ff}
.urban-shell .funding-summary strong{display:block;font-size:20px;line-height:1.5;color:#f0f5ff;font-weight:600;overflow-wrap:anywhere}
.urban-shell .funding-summary b{display:block;font-size:20px;line-height:1.5;color:#f0f5ff;font-weight:600;overflow-wrap:anywhere}
.urban-shell .funding-summary em{font-size:12px;font-style:normal;font-weight:400;margin-left:3px}
.urban-shell .funding-choice{display:flex;align-items:flex-start;gap:8px;cursor:pointer;min-height:28px}
.urban-shell .funding-choice input[type=checkbox]{width:18px;height:18px;flex:none;margin:2px 0 0;accent-color:#71c3ff}
.urban-shell .funding-choice strong{font-size:14px;line-height:1.6;font-weight:600;color:#f0f5ff}
.urban-shell .funding-card>p{font-size:12px;line-height:1.8;color:#f0f5ff;margin:5px 0 0 26px}
.urban-shell .funding-fields{border-top:1px solid #6984a746;margin-top:13px;padding-top:13px}
.urban-shell .funding-fields>label{display:block;font-size:12px;line-height:1.8;margin-top:12px;color:#f0f5ff}
.urban-shell .funding-fields>label .field{margin-top:7px}
.urban-shell .funding-amount{display:flex;align-items:center;gap:8px;font-size:13px;color:#f0f5ff}
.urban-shell .funding-amount input{width:100%;min-width:0;border:1px solid #6984a746;border-radius:5px;background:#102036;color:#f0f5ff;padding:9px 10px;font-size:15px;line-height:1.5;accent-color:#71c3ff}
.urban-shell .funding-amount input:focus{outline:1px solid #a3ca93;outline-offset:2px}
.urban-shell .funding-amount span{white-space:nowrap;font-size:12px}
.urban-shell #planning-overview{padding:12px 17px}
.urban-shell .thinking-context{font-size:12px;line-height:1.8;border:1px solid #6984a746;border-radius:6px;background:#102036;padding:12px;margin:8px 0 11px;color:#f0f5ff;overflow-wrap:anywhere}
.urban-shell .funding-card{margin-top:12px;padding:13px;border:1px solid #6984a746;border-radius:7px;background:#102036}
.urban-shell .funding-error{font-size:12px;line-height:1.7;color:#ffb9aa;margin-top:8px}
.urban-shell .funding-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 7px;min-width:0}
.urban-shell.map-focused .topbar{display:none!important}
.urban-shell.map-focused .project-heading{display:none!important}
.urban-shell.map-focused .location-search{display:none!important}
.urban-shell.map-focused .map-toolbar{display:none!important}
.urban-shell.map-focused .palette-panel{display:none!important}
.urban-shell.map-focused .inspector-panel{display:none!important}
.urban-shell.map-focused .storyboard-section{display:none!important}
.urban-shell.map-focused .village-toolbelt{display:none!important}
.urban-shell.map-focused .map-legend{display:none!important}
.urban-shell.map-focused .map-provider{display:none!important}
.urban-shell.map-focused .map-bottom{display:none!important}
.urban-shell.map-focused .map-budget{display:none!important}
.urban-shell.map-focused .workspace-footer{display:none!important}
.urban-shell.map-focused .workspace{height:100dvh}
.urban-shell.map-focused .workspace-tools{bottom:29px;padding:5px}
.urban-shell.map-focused .workspace-tools button:not(#map-focus){display:none}
.urban-shell.map-focused .workspace-tools #map-focus{display:flex;min-width:140px}
.urban-shell.map-focused .maplibregl-ctrl-top-right{top:12px}
.urban-shell.map-focused .visitor-banner{top:16px}
@keyframes urbanPlace{0%{opacity:0;transform:translate(-50%,8px)}25%{opacity:1;transform:translate(-50%,-8px)}100%{opacity:0;transform:translate(-50%,-45px)}}

/* Responsive tools and drawers */
@media(max-width:1280px){
  .urban-shell .topbar{gap:11px;padding:0 16px}
  .urban-shell .wordmark{min-width:224px}
  .urban-shell .wordmark strong{font-size:15px}
  .urban-shell .wordmark small{font-size:12px;letter-spacing:1.1px}
  .urban-shell .rail-link{font-size:12px;padding:9px 7px;gap:5px}
  .urban-shell .rail-link .icon{width:15px;height:15px}
  .urban-shell .player-profile>span:nth-child(2){display:none}
  .urban-shell .project-heading{width:390px;max-width:calc(100% - 640px)}
  .urban-shell .map-toolbar .dimension-switch button,.urban-shell .map-toolbar .mode-switch button{font-size:12px;padding:7px 8px}
  .urban-shell .edit-tools>i{display:none}
}
@media(max-width:1080px){
  .urban-shell .rail-link{font-size:11px;padding:8px 6px}
  .urban-shell .rail-link .icon{display:none}
  .urban-shell .project-heading{max-width:calc(100% - 550px);width:360px}
  .urban-shell .project-actions .button{font-size:0;width:36px;padding:8px;gap:0}
  .urban-shell .map-toolbar{gap:5px}
  .urban-shell .edit-tools #undo,.urban-shell .edit-tools #redo{display:none}
  .urban-shell .capture-button{font-size:12px}
  .urban-shell .inspector-panel,.urban-shell .inspector-panel.mobile-open{width:340px}
}
@media(max-width:800px){
  .urban-shell .topbar{height:108px;min-height:108px;flex-wrap:wrap;padding:11px 15px 8px;gap:6px}
  .urban-shell .wordmark{flex:1;min-width:0;gap:10px}
  .urban-shell .wordmark strong{font-size:17px}
  .urban-shell .wordmark small{font-size:12px}
  .urban-shell .wordmark .brand-leaf{width:38px;height:38px}
  .urban-shell .rail-links{flex-basis:100%;order:3;display:flex;justify-content:space-between;gap:4px;margin:0}
  .urban-shell .rail-link{font-size:12px;min-height:36px;padding:7px 9px;gap:5px}
  .urban-shell .rail-link .icon{display:block;width:15px;height:15px}
  .urban-shell .workspace{height:calc(100dvh - 108px);min-height:0}
  .urban-shell .project-heading{top:12px;left:12px;width:calc(100% - 24px);max-width:none;gap:8px}
  .urban-shell .project-title{height:40px;font-size:14px}
  .urban-shell .project-actions .button{height:40px;min-height:40px;width:36px;font-size:0;padding:9px}
  .urban-shell .save-status{top:44px;font-size:12px}
  .urban-shell .map-toolbar{top:78px;left:12px;right:12px;width:auto;height:44px;gap:5px;justify-content:space-between}
  .urban-shell .map-toolbar .dimension-switch button,.urban-shell .map-toolbar .mode-switch button{font-size:12px;padding:7px 9px;white-space:nowrap}
  .urban-shell .location-search{top:135px;left:12px;width:280px;height:37px}
  .urban-shell .map-provider{top:140px;right:14px;max-width:220px;font-size:12px;padding:4px 7px}
  .urban-shell .map-budget{top:187px;right:52px;min-width:175px;max-width:210px;padding:10px 12px}
  .urban-shell .map-budget>strong{font-size:21px}
  .urban-shell .map-legend{display:none}
  .urban-shell .maplibregl-ctrl-top-right{right:9px;top:188px}
  .urban-shell .workspace-tools{bottom:28px;max-width:calc(100% - 24px);gap:3px;padding:6px}
  .urban-shell .workspace-tools button{font-size:13px;padding:10px 12px;gap:5px;min-height:44px}
  .urban-shell .workspace-tools button .icon{width:17px;height:17px}
  .urban-shell .village-toolbelt{bottom:99px;max-width:calc(100% - 24px)}
  .urban-shell .camera-presets button{font-size:12px;padding:7px 9px}
  .urban-shell .camera-presets button .icon{display:none}
  .urban-shell .map-bottom{left:12px;right:12px;bottom:151px;font-size:12px}
  .urban-shell .map-bottom>span:first-child{font-size:11px;padding:6px 8px}
  .urban-shell .map-reset{font-size:12px;padding:7px 9px}
  .urban-shell .palette-panel,.urban-shell .inspector-panel,.urban-shell .inspector-panel.mobile-open{top:187px;bottom:103px;left:12px;right:auto;width:min(340px,calc(100% - 59px));max-height:none;border-radius:9px}
  .urban-shell .inspector-panel,.urban-shell .inspector-panel.mobile-open{left:auto;right:12px;width:min(370px,calc(100% - 59px))}
  .urban-shell.palette-open.inspector-open .palette-panel{display:none}
  .urban-shell .palette-panel>.panel-heading{padding:14px 16px 11px;height:auto}
  .urban-shell .palette-panel>.panel-heading .eyebrow{display:block}
  .urban-shell .palette-panel>.panel-heading h2{font-size:17px}
  .urban-shell .storyboard-section{top:auto;left:12px;right:12px;width:auto;transform:none;bottom:103px;height:180px;padding:14px}
  .urban-shell .storyboard-heading h2 span{display:none}
  .urban-shell .storyboard-heading .text-button{font-size:12px}
  .urban-shell .placement-banner{top:187px;max-width:calc(100% - 70px);font-size:13px;padding:11px 13px}
  .urban-shell .visitor-banner{top:184px;left:12px;right:51px;transform:none;max-width:none;width:auto;flex-wrap:wrap;gap:8px;padding:10px}
  .urban-shell .visitor-banner strong{font-size:13px}
  .urban-shell .visitor-banner .button{font-size:12px;padding:7px 9px}
  .urban-shell .map-error{top:200px;font-size:13px;padding:16px}
  .urban-shell.map-focused .workspace{height:100dvh}
  .urban-shell.map-focused .visitor-banner{top:12px}
}
@media(max-width:540px){
  .urban-shell .topbar{padding-left:12px;padding-right:12px}
  .urban-shell .wordmark strong{font-size:15px}
  .urban-shell .wordmark small{font-size:12px;letter-spacing:.8px}
  .urban-shell .wordmark .brand-leaf{width:34px;height:34px}
  .urban-shell .brand-leaf img{width:30px;height:30px}
  .urban-shell .preview-pill{font-size:12px;padding:5px}
  .urban-shell .teacher-shortcut{display:none}
  .urban-shell .rail-links{overflow-x:auto;justify-content:space-between;scrollbar-width:none;gap:2px}
  .urban-shell .rail-link{flex-shrink:0;font-size:12px;padding:7px 6px;min-height:36px;gap:4px}
  .urban-shell .rail-link[data-view=explore]{display:none}
  .urban-shell .rail-link .icon{width:13px;height:13px}
  .urban-shell .project-title{font-size:13px;padding:9px;letter-spacing:-.3px}
  .urban-shell .project-actions{gap:3px}
  .urban-shell .project-actions .button{width:32px}
  .urban-shell .project-actions #open-projects,.urban-shell .project-actions #share-project{width:32px}
  .urban-shell .map-toolbar{padding:5px;gap:3px}
  .urban-shell .map-toolbar .dimension-switch{padding-right:4px;gap:1px}
  .urban-shell .map-toolbar .dimension-switch button,.urban-shell .map-toolbar .mode-switch button{font-size:12px;padding:7px 6px}
  .urban-shell .map-toolbar .mode-switch button .icon{display:none}
  .urban-shell .map-toolbar .dimension-switch button .icon{height:13px;width:13px}
  .urban-shell .capture-button{font-size:0;gap:0;width:31px;padding:7px}
  .urban-shell .capture-button .icon{height:16px;width:16px}
  .urban-shell .location-search{width:calc(100% - 24px);top:134px}
  .urban-shell .map-provider{display:none}
  .urban-shell .map-budget{top:185px;right:52px;min-width:160px;max-width:210px;padding:9px 11px}
  .urban-shell .map-budget>small{font-size:12px}
  .urban-shell .map-budget>strong{font-size:20px}
  .urban-shell .map-budget>span{font-size:12px}
  .urban-shell .workspace-tools{gap:1px;padding:5px;bottom:27px;width:max-content;max-width:calc(100% - 16px);border-radius:9px}
  .urban-shell .workspace-tools button{padding:9px 10px;min-height:44px;font-size:12px;gap:4px}
  .urban-shell .workspace-tools button .icon{width:16px;height:16px}
  .urban-shell .workspace-tools #toggle-storyboard .icon,.urban-shell .workspace-tools #map-focus .icon{display:none}
  .urban-shell .village-toolbelt{bottom:94px;padding:4px;max-width:calc(100% - 24px)}
  .urban-shell .camera-presets{gap:0}
  .urban-shell .camera-presets button{font-size:12px;padding:7px 7px;min-height:31px}
  .urban-shell .map-bottom{bottom:141px;height:32px;gap:8px}
  .urban-shell .map-bottom>span:first-child{font-size:11px;padding:5px 7px}
  .urban-shell .map-reset{font-size:12px;padding:6px 7px;gap:4px}
  .urban-shell .palette-panel,.urban-shell .inspector-panel,.urban-shell .inspector-panel.mobile-open{top:184px;bottom:99px;width:calc(100% - 60px);max-width:370px}
  .urban-shell .storyboard-section{bottom:99px;left:12px;right:12px;padding:13px;height:175px}
  .urban-shell .storyboard-heading{gap:5px}
  .urban-shell .storyboard-heading h2{font-size:14px}
  .urban-shell .storyboard-heading .text-button{font-size:12px}
  .urban-shell .storyboard-heading .text-button>.icon:first-child{display:none}
  .urban-shell .scene-card{width:165px;min-width:165px;height:105px}
  .urban-shell~dialog{padding:18px;width:calc(100% - 24px);max-height:88dvh}
  .community-grid{grid-template-columns:1fr}
  .community-preview{height:170px}
  .community-card-body h3{font-size:15px}
}
@media(max-width:370px){
  .urban-shell .wordmark strong{font-size:14px}
  .urban-shell .workspace-tools button{font-size:12px;padding:9px 8px}
  .urban-shell .workspace-tools button .icon{display:none}
  .urban-shell .map-toolbar .dimension-switch button,.urban-shell .map-toolbar .mode-switch button{font-size:12px;padding:7px 5px}
  .urban-shell .camera-presets button{font-size:12px;padding:7px 6px}
}
@media(max-height:680px) and (min-width:801px){
  .urban-shell .village-toolbelt{display:none}
  .urban-shell .palette-panel,.urban-shell .inspector-panel,.urban-shell .inspector-panel.mobile-open{top:117px;bottom:100px}
  .urban-shell .location-search{top:80px}
  .urban-shell .map-legend{display:none}
  .urban-shell .palette-panel>.panel-heading{padding:12px 15px}
}
@media(prefers-reduced-motion:reduce){.urban-shell *,.urban-shell *:before,.urban-shell *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}.urban-shell .placement-feedback.pop{display:none}}

/* City-builder controls: a clear next step, model hotbar and restrained blue/gold feedback. */
.urban-shell :is(button,a,input,textarea,select):focus-visible{outline:3px solid #71c3ff;outline-offset:3px}
.urban-shell .button,.urban-shell .workspace-tools button,.urban-shell .build-slot{transition:background .16s,border-color .16s,transform .16s,box-shadow .16s}
.urban-shell .button:active,.urban-shell .workspace-tools button:active,.urban-shell .build-slot:active{transform:translateY(1px)}
.urban-shell button:disabled{opacity:.55;cursor:not-allowed;filter:none}
.urban-shell :is(input,textarea,select):disabled{opacity:1;color:#dbe5f3;-webkit-text-fill-color:#dbe5f3;background:#14253c}
.urban-shell .button.primary,.urban-shell~dialog .button.primary{background:#71c3ff;border-color:#a9ddff;color:#0b1729;box-shadow:inset 0 1px #ffffff66,0 3px 0 #235985}
.urban-shell .button.primary:hover,.urban-shell~dialog .button.primary:hover{background:#99d5ff;color:#0b1729}
.urban-shell .button.subtle,.urban-shell .icon-button,.urban-shell~dialog .button{background:#1b314c;color:#f0f5ff;border-color:#6984a780}
.urban-shell .button.subtle:hover,.urban-shell .icon-button:hover,.urban-shell~dialog .button:hover{background:#294766;border-color:#71c3ff}
.urban-shell .button.danger,.urban-shell~dialog .button.danger{background:#3a2633;border-color:#bb768b;color:#ffd3d7}
.urban-shell .dimension-switch button.active,.urban-shell .category-tabs button.active,.urban-shell .thought-tabs button[aria-selected=true]{background:#315b83;border-color:#71c3ff;color:#f0f5ff;box-shadow:inset 0 1px #ffffff16}
.urban-shell .mode-switch button.active{background:#24415f;color:#bce6ff;border-color:#71c3ff80}
.urban-shell .facility-card.active{background:#26374b;border-color:#f4c76d;box-shadow:0 0 0 1px #f4c76d40}
.urban-shell .facility-card:hover{background:#223d59;border-color:#71c3ff}
.urban-shell .facility-art{background:radial-gradient(ellipse at 50% 85%,#345372 0,#1b314c 65%)}
.urban-shell .facility-art .mini-plus{background:#14253c;color:#bce6ff;border-color:#6984a780}
.urban-shell .field:focus,.urban-shell .funding-amount input:focus{outline:2px solid #71c3ff;outline-offset:2px;border-color:#71c3ff}
.urban-shell .project-title:focus{background:#1b314c;outline:2px solid #71c3ff}
.urban-shell .score-part-track i,.urban-shell .budget-track i,.urban-shell .village-xp-track i{background:#71c3ff}
.urban-shell .budget-card strong,.urban-shell .map-budget>strong,.urban-shell .funding-summary strong{color:#f4c76d}
.urban-shell .map-budget{background:#102036f5;border-color:#6381a5;box-shadow:inset 0 1px #ffffff10,0 5px 20px #06101f45}
.urban-shell .map-budget:hover{background:#1b314c;border-color:#f4c76d}
.urban-shell .coin-emblem{color:#f4c76d;background:#554526;border-color:#9b804a}
.urban-shell .funding-error{color:#ffb9aa}
.urban-shell .map-loading{background:#102036;color:#f0f5ff}
.urban-shell .loading-leaf,.urban-shell .loading-dots{color:#71c3ff}
.urban-shell .map-loading small{color:#b5c3d8}
.urban-shell .save-status{background:#102036ed;color:#dbe5f3;text-shadow:none;border:1px solid #6984a747;padding:3px 6px;border-radius:4px;line-height:1.4}
.urban-shell .save-status.error{color:#ffb9aa}
.urban-shell .save-status i{background:#71c3ff}
.urban-shell .save-status.dirty i{background:#f4c76d}
.urban-shell .map-legend{background:#102036ed;border:1px solid #6984a747;border-radius:5px;padding:6px 8px;color:#f0f5ff;text-shadow:none;font-size:12px}
.urban-shell .map-legend .legend-student{background:#71c3ff}
.urban-shell .maplibregl-ctrl-group{background:#f7faff!important;border-color:#b5c3d8!important}
.urban-shell .maplibregl-ctrl-scale{background:#f7faffed;color:#19304d;border-color:#536c8d;font-size:11px}
.urban-shell .maplibregl-ctrl-attrib{background:#f7faffed!important;color:#19304d!important}
.urban-shell .maplibregl-ctrl-attrib a{color:#19304d!important}
.urban-shell .map-provider,.urban-shell.is-3d .map-provider{background:#102036ed;border-color:#6984a780;color:#dbe5f3}
.urban-shell .mission-item.complete{background:#223b4d;border-color:#71c3ff70}
.urban-shell .mission-item.complete h3,.urban-shell .mission-item.complete>span:first-child{color:#bce6ff}
.urban-shell .mission-item>small,.urban-shell~dialog .mission-item>small{color:#f4c76d}
.urban-shell .topbar{background:linear-gradient(180deg,#14253c,#0b1729);border-bottom-color:#47627f}
.urban-shell .rail-link.active{background:#23415f;border-color:#5c83a7;color:#f0f5ff}
.urban-shell .wordmark strong{color:#f7faff;font-weight:750}
.urban-shell .brand-leaf{box-shadow:inset 0 1px #a4d5ff29}
.urban-shell .palette-panel,.urban-shell .inspector-panel,.urban-shell .inspector-panel.mobile-open,.urban-shell .storyboard-section{background:#102036f8;border-color:#587798;box-shadow:inset 0 1px #ffffff10,0 14px 32px #06101f66}
.urban-shell~dialog{background:#102036;color:#f0f5ff;border-color:#587798}
.urban-shell~dialog .auth-note,.urban-shell .learning-note{background:#1b314c;color:#dbe5f3;border-color:#6984a780}
.urban-shell~dialog .dialog-copy,.urban-shell~dialog .view-list li{color:#c4d1e3}
.urban-shell .thinking-prompt>small,.urban-shell .workshop-usage,.urban-shell .thinking-context,.urban-shell .funding-card>p{color:#c4d1e3}
.urban-shell .thinking-prompt>strong,.urban-shell .thinking-prompt:focus-within>strong{color:#f0f5ff}
.urban-shell .thinking-progress{color:#bce6ff}
.urban-shell .appearance-controls>summary{color:#c4d1e3}
.urban-shell .workspace-tools{background:#0c1a2cf7;border-color:#5a7898;box-shadow:inset 0 1px #ffffff10,0 8px 26px #06101f66;bottom:27px;padding:5px 7px;border-radius:12px}
.urban-shell .workspace-tools button{min-height:40px;padding:8px 15px;font-size:13px;color:#dbe5f3;border-radius:7px}
.urban-shell .workspace-tools button:hover{background:#294766;color:#fff;border-color:#6984a780}
.urban-shell .workspace-tools button[aria-expanded=true],.urban-shell .workspace-tools #toggle-library[aria-expanded=true]{background:#315b83;border-color:#71c3ff;color:#f0f5ff}
.urban-shell .workspace-tools #toggle-library{background:#24415f;border-color:#6984a780;color:#f0f5ff}
.urban-shell .workspace-tools button[aria-pressed=true]{background:#f4c76d;border-color:#ffe4a7;color:#0b1729}
.urban-shell .game-hud{position:absolute;z-index:10;left:16px;top:180px;display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:11px;row-gap:3px;width:248px;padding:12px 14px;text-align:left;background:#102036f5;border:1px solid #5a7898;border-radius:12px;color:#f0f5ff;box-shadow:inset 0 1px #ffffff12,0 8px 22px #06101f40;transition:background .16s,border-color .16s,transform .16s}
.urban-shell .game-hud:hover{background:#18314d;border-color:#71c3ff;transform:translateY(-1px)}
.urban-shell .game-level-badge{grid-column:1;grid-row:1/3;align-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;width:42px;min-height:50px;border:1px solid #f4c76d;border-radius:12px 12px 16px 16px;background:linear-gradient(150deg,#304965,#152943);box-shadow:inset 0 1px #ffffff25;color:#f4c76d}
.urban-shell .game-level-badge small{font-size:9px;font-weight:700;line-height:1.5;letter-spacing:1px}
.urban-shell .game-level-badge b{font-size:24px;font-weight:750;line-height:1.2;color:#fff2ce}
.urban-shell .game-hud-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.urban-shell .game-hud-copy>small{font-size:12px;font-weight:500;line-height:1.3;color:#b5c3d8}
.urban-shell .game-hud-copy>strong{font-size:16px;font-weight:700;line-height:1.4;color:#f0f5ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.urban-shell #hud-progress-track{height:5px;display:block;background:#30465f;overflow:hidden;border-radius:8px;margin-top:3px}
.urban-shell #hud-progress{display:block;height:100%;width:0;border-radius:8px;background:linear-gradient(90deg,#4ba8e7,#a8dcff);transition:width .3s}
.urban-shell #hud-progress-label{font-size:12px;line-height:1.5;color:#c4d1e3;font-variant-numeric:tabular-nums}
.urban-shell .game-hud-stars{grid-column:2;font-size:12px;line-height:1.2;color:#f4c76d;letter-spacing:3px}
.urban-shell .mission-hud{position:absolute;z-index:10;top:245px;right:59px;width:264px;display:grid;grid-template-columns:31px minmax(0,1fr) 24px;gap:10px;align-items:start;padding:14px;text-align:left;background:#102036f5;border:1px solid #5a7898;border-radius:12px;color:#f0f5ff;box-shadow:inset 0 1px #ffffff12,0 8px 22px #06101f40;transition:background .16s,border-color .16s,transform .16s}
.urban-shell .mission-hud:hover{background:#18314d;border-color:#71c3ff;transform:translateY(-1px)}
.urban-shell .mission-symbol{display:grid;place-items:center;width:31px;height:34px;background:#274b6d;border:1px solid #5b86ad;border-radius:7px;color:#bce6ff}
.urban-shell .mission-symbol .icon{height:18px;width:18px}
.urban-shell .mission-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.urban-shell .mission-copy>small{font-size:12px;line-height:1.3;color:#71c3ff;font-weight:600;letter-spacing:.3px}
.urban-shell .mission-copy>strong{font-size:15px;line-height:1.5;color:#f0f5ff;font-weight:700}
.urban-shell .mission-copy>span{font-size:13px;line-height:1.6;color:#c4d1e3}
.urban-shell .mission-step{font-size:12px;line-height:1.6;font-variant-numeric:tabular-nums;color:#f4c76d;text-align:right;white-space:nowrap}
.urban-shell .mission-hud>.icon{position:absolute;right:13px;bottom:13px;width:15px;height:15px;color:#bce6ff}
.urban-shell .build-hotbar{position:absolute;z-index:11;left:50%;bottom:86px;transform:translateX(-50%);display:flex;gap:7px;width:min(680px,calc(100% - 32px));padding:9px;background:#0c1a2cf5;border:1px solid #5a7898;border-radius:17px;box-shadow:inset 0 1px #ffffff12,0 10px 28px #06101f66}
.urban-shell .build-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1;min-width:0;min-height:103px;padding:7px 4px 8px;text-align:center;border:1px solid #4a6787;border-radius:10px;background:linear-gradient(180deg,#25415e,#162a43);box-shadow:inset 0 1px #ffffff18,0 3px 0 #071323;color:#f0f5ff}
.urban-shell .build-slot:hover{background:linear-gradient(180deg,#315679,#1c3653);border-color:#71c3ff;transform:translateY(-3px);box-shadow:inset 0 1px #ffffff28,0 5px 0 #071323}
.urban-shell .build-slot.active,.urban-shell .build-slot[aria-pressed=true]{background:linear-gradient(180deg,#4d4837,#25354a);border-color:#f4c76d;box-shadow:inset 0 1px #ffe7b25c,0 3px 0 #071323,0 0 0 1px #f4c76d40}
.urban-shell .build-slot-art{display:grid;place-items:center;position:relative;width:100%;height:49px;margin-bottom:4px}
.urban-shell .build-slot-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 2px #06101f40)}
.urban-shell .build-slot-art>.icon{width:29px;height:29px;color:#bce6ff;stroke-width:1.5}
.urban-shell .build-slot-art:has(img:not([hidden]))>.icon{visibility:hidden}
.urban-shell .build-slot-label{font-size:14px;font-weight:650;line-height:1.5;color:#f0f5ff;white-space:nowrap}
.urban-shell .build-slot-cost{font-size:12px;font-weight:500;line-height:1.4;color:#b5c3d8;white-space:nowrap;font-variant-numeric:tabular-nums}
.urban-shell .build-slot:hover .build-slot-cost{color:#dbe5f3}
.urban-shell .build-slot:disabled:hover{transform:none;border-color:#4a6787;background:linear-gradient(180deg,#25415e,#162a43);box-shadow:inset 0 1px #ffffff18,0 3px 0 #071323}
.urban-shell .build-slot.active .build-slot-label,.urban-shell .build-slot[aria-pressed=true] .build-slot-label{color:#ffe2a2}
.urban-shell .build-key{position:absolute;top:5px;left:5px;display:grid;place-items:center;min-width:17px;height:18px;font-size:11px;font-family:inherit;font-weight:600;border:1px solid #587798;border-radius:4px;background:#0b1729;color:#c4d1e3;z-index:2;line-height:1}
.urban-shell .village-toolbelt{bottom:224px}
.urban-shell .storyboard-section{height:230px;bottom:86px}
.urban-shell .storyboard-section .village-toolbelt{position:static;left:auto;right:auto;bottom:auto;top:auto;transform:none;max-width:none;display:flex;margin:0 0 13px;padding:5px 6px;border-color:#6984a747;background:#14253c;box-shadow:none;width:max-content}
.urban-shell .storyboard-section .camera-presets button{font-size:12px;min-height:32px;color:#dbe5f3}
.urban-shell .storyboard-section .camera-presets button.active{background:#315b83;color:#f0f5ff}
.urban-shell .map-bottom{bottom:89px}
.urban-shell.palette-open .game-hud,.urban-shell.inspector-open .mission-hud,.urban-shell.storyboard-open .build-hotbar{display:none}
.urban-shell.palette-open .build-hotbar,.urban-shell.inspector-open .build-hotbar{display:none}
.urban-shell.is-visiting .game-hud,.urban-shell.is-visiting .mission-hud,.urban-shell.is-visiting .build-hotbar,.urban-shell.is-visiting #mission-board,.urban-shell.is-visiting #open-missions{display:none}
.urban-shell.map-focused .game-hud,.urban-shell.map-focused .mission-hud,.urban-shell.map-focused .build-hotbar{display:none!important}

@media(max-width:1080px) and (min-width:801px){
  .urban-shell .game-hud{width:224px}
  .urban-shell .mission-hud{width:238px;right:53px}
  .urban-shell .build-hotbar{width:min(610px,calc(100% - 32px))}
  .urban-shell .build-slot-label{font-size:13px}
}
@media(max-width:800px){
  .urban-shell .game-hud{top:189px;left:12px;width:220px;padding:10px 12px}
  .urban-shell .map-budget{top:189px;min-width:170px;right:52px;max-width:205px}
  .urban-shell .mission-hud{top:326px;right:52px;width:245px;padding:12px}
  .urban-shell .build-hotbar{bottom:84px;gap:5px;width:min(610px,calc(100% - 24px));padding:7px;border-radius:13px}
  .urban-shell .build-slot{min-height:94px;padding:6px 3px;border-radius:8px}
  .urban-shell .build-slot-art{height:42px;margin-bottom:3px}
  .urban-shell .build-slot-label{font-size:13px}
  .urban-shell .build-slot-cost{font-size:11px}
  .urban-shell .workspace-tools{bottom:27px;padding:5px;max-width:calc(100% - 24px)}
  .urban-shell .workspace-tools button{font-size:12px;padding:8px 12px;min-height:40px}
  .urban-shell .village-toolbelt{bottom:207px}
  .urban-shell .storyboard-section{bottom:84px;height:230px}
  .urban-shell .storyboard-section .village-toolbelt{overflow-x:auto;width:100%;padding:5px}
  .urban-shell .storyboard-section .camera-presets{gap:2px;min-width:max-content}
  .urban-shell .storyboard-section .camera-presets button{padding:7px 8px;font-size:12px}
  .urban-shell .map-bottom{bottom:204px}
  .urban-shell .palette-panel,.urban-shell .inspector-panel,.urban-shell .inspector-panel.mobile-open{bottom:88px}
}
@media(max-width:540px){
  .urban-shell .game-hud{top:184px;left:12px;width:155px;grid-template-columns:32px minmax(0,1fr);column-gap:8px;row-gap:3px;padding:9px}
  .urban-shell .game-level-badge{width:32px;min-height:41px;border-radius:8px 8px 12px 12px}
  .urban-shell .game-level-badge small{font-size:8px}
  .urban-shell .game-level-badge b{font-size:21px}
  .urban-shell .game-hud-copy>small{font-size:11px}
  .urban-shell .game-hud-copy>strong{font-size:13px}
  .urban-shell #hud-progress-label{font-size:11px}
  .urban-shell .game-hud-stars{font-size:11px;letter-spacing:1px}
  .urban-shell .map-budget{top:184px;right:51px;min-width:142px;max-width:164px;padding:9px}
  .urban-shell .map-budget>strong{font-size:19px}
  .urban-shell .map-budget>span{font-size:11px}
  .urban-shell .mission-hud{top:auto;bottom:203px;left:12px;right:12px;width:auto;grid-template-columns:27px minmax(0,1fr) 31px;gap:8px;padding:9px 12px;border-radius:9px}
  .urban-shell .mission-symbol{width:27px;height:30px}
  .urban-shell .mission-copy{gap:3px}
  .urban-shell .mission-copy>small{font-size:11px}
  .urban-shell .mission-copy>strong{font-size:13px}
  .urban-shell .mission-copy>span{display:none}
  .urban-shell .mission-step{font-size:12px}
  .urban-shell .mission-hud>.icon{bottom:9px;width:13px;height:13px}
  .urban-shell .build-hotbar{bottom:80px;gap:4px;padding:6px;width:calc(100% - 20px);border-radius:12px}
  .urban-shell .build-slot{min-height:91px;padding:4px 1px 6px;border-radius:7px}
  .urban-shell .build-slot-art{height:39px;margin-bottom:2px}
  .urban-shell .build-slot-art>.icon{width:24px;height:24px}
  .urban-shell .build-slot-label{font-size:12px}
  .urban-shell .build-slot-cost{font-size:10px}
  .urban-shell .build-key{font-size:9px;width:13px;height:14px;min-width:13px;top:3px;left:3px}
  .urban-shell .workspace-tools{bottom:27px;max-width:calc(100% - 16px);padding:4px;gap:1px}
  .urban-shell .workspace-tools button{font-size:12px;padding:8px 10px;min-height:38px}
  .urban-shell .workspace-tools button .icon{width:15px;height:15px}
  .urban-shell .village-toolbelt{display:none}
  .urban-shell .storyboard-section{bottom:80px;height:230px}
  .urban-shell .storyboard-section .village-toolbelt{display:flex;max-width:100%;margin-bottom:11px}
  .urban-shell .map-bottom{bottom:188px}
  .urban-shell .map-bottom>span:first-child{display:none}
  .urban-shell .map-reset{position:absolute;right:0;bottom:0}
  .urban-shell .palette-panel,.urban-shell .inspector-panel,.urban-shell .inspector-panel.mobile-open{bottom:84px}
  .urban-shell.palette-open .mission-hud,.urban-shell.inspector-open .game-hud{display:none}
}
@media(max-width:370px){
  .urban-shell .game-hud{width:140px;grid-template-columns:28px minmax(0,1fr);gap:7px;padding:8px}
  .urban-shell .game-level-badge{width:28px}
  .urban-shell .game-hud-copy>strong{font-size:12px}
  .urban-shell .map-budget{right:49px;min-width:131px;max-width:138px;padding:8px}
  .urban-shell .build-hotbar{gap:3px;padding:5px;width:calc(100% - 16px)}
  .urban-shell .build-slot-label{font-size:11px}
  .urban-shell .build-slot-cost{font-size:9px}
  .urban-shell .build-key{display:none}
  .urban-shell .workspace-tools button{font-size:11px;padding:8px 8px}
}
@media(max-height:680px) and (min-width:801px){
  .urban-shell .game-hud{top:122px;padding:10px 12px}
  .urban-shell .mission-hud{top:244px;padding:11px}
  .urban-shell .build-slot{min-height:85px}
  .urban-shell .build-slot-art{height:36px}
  .urban-shell .build-hotbar{bottom:81px;padding:7px}
  .urban-shell .storyboard-section{bottom:81px}
}
@media(max-width:350px){.urban-shell .game-hud{display:none}}
@media(max-height:690px) and (max-width:800px){
  .urban-shell .game-hud,.urban-shell .mission-hud{display:none}
  .urban-shell .map-budget{top:184px;padding:7px 10px}
}
@media(prefers-reduced-motion:reduce){.urban-shell .game-hud:hover,.urban-shell .mission-hud:hover,.urban-shell .build-slot:hover,.urban-shell .button:active,.urban-shell .workspace-tools button:active{transform:none}}
