:root{color-scheme:light;--paper:#f5f4ed;--surface:#fffefa;--ink:#172c26;--muted:#55665f;--line:#d7ddd3;--accent:#3156d7;font-family:system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
a{color:var(--accent);text-underline-offset:3px}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* the header: the console's (app.css .app-header, the same markup as index.html and every tool page), which this page
   does not load; its narrow-screen sizes come from declutter.css as on the console. The console's blue and type. */
.app-header{--accent:#3156d7;--line-dark:#cdd2c8;--surface:#fff;--ink:#222924;--sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;height:68px;display:flex;align-items:center;padding:0 27px;gap:20px;border-bottom:1px solid #e3e6df;background:#fafaf7;color:var(--ink);font:13px/1.5 var(--sans);-webkit-font-smoothing:antialiased}
.app-header a{color:inherit;text-decoration:none}
.app-header svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.app-header .brand{display:flex;align-items:center;gap:9px;font-size:27px;font-weight:730;letter-spacing:-1.2px;line-height:1}
.app-header .brand-symbol{color:var(--accent);display:grid;place-items:center;width:29px;height:29px}
.app-header .brand-symbol svg{width:28px;height:28px}
.app-header .brand-period{color:var(--accent)}
.app-header .header-divider{height:21px;width:1px;background:var(--line-dark);margin-left:3px}
.app-header .workspace-name{font-size:13px;font-weight:520}
.app-header .preview-tag{border:1px solid #dcdfd6;border-radius:4px;color:#646d63;padding:2px 6px;font-size:12px;letter-spacing:.02em;margin-left:-10px}
.app-header .header-actions{margin-left:auto;display:flex;align-items:center;gap:23px}
.app-header .text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;padding:5px 0;color:#525b52}
.app-header .text-button:hover{color:var(--accent)}
.app-header .text-button svg{width:14px;height:14px}
.app-header .samples-button{min-height:0}
.app-header .label-short{display:none}
@media(max-width:1150px){.app-header .header-actions{gap:17px}.app-header .preview-tag{display:none}}
@media(max-width:900px){.app-header{gap:15px;padding:0 19px}.app-header .header-actions{gap:14px}}
@media(max-width:620px){.app-header{height:59px;padding:0 16px;gap:12px}.app-header .brand{font-size:24px;gap:6px}.app-header .brand-symbol,.app-header .brand-symbol svg{width:25px}
  .app-header .label-long,.app-header .header-divider,.app-header .workspace-name{display:none}.app-header .label-short{display:inline}
  .app-header .header-actions{margin-left:auto;gap:6px}.app-header .text-button{font-size:12px;gap:4px;min-height:30px;white-space:nowrap}.app-header .text-button svg{width:11px}
  .app-header .samples-button{padding:5px 9px}}
@media(max-width:400px){.app-header{gap:8px;padding:0 12px}.app-header .brand{font-size:22px}}
main{max-width:1280px;margin:auto;padding:35px 0 60px}
h1,h2,p{margin:0}
h1{font-size:clamp(38px,6.3vw,77px);font-weight:560;letter-spacing:-.07em;line-height:1.04}
h2{font-size:20px;letter-spacing:-.03em}
p{color:var(--muted);line-height:1.55}
.gallery-heading p,.style-heading p{margin-top:8px}
#gallery{margin-top:20px}
.style-collection+.style-collection{margin-top:34px}
.style-collection>h2{font-size:22px;margin-bottom:12px}
.style-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:16px}
.style-tile{min-width:0}
.style-tile h3{font-size:17px;letter-spacing:-.03em;margin:7px 0 0}
.style-tile>a{display:flex;align-items:center;justify-content:space-between;min-height:38px;text-decoration:none;font-weight:675}
.style-tile>a:hover{text-decoration:underline}
.style-tile p{font-size:13px}
.mini-map{height:clamp(185px,25vw,300px);background:#e1e8e0 center/cover no-repeat;border-radius:6px;overflow:hidden}
.mini-map:not([data-live]):not([data-snapshot]){display:grid;place-items:center}
.mini-map:not([data-live]):not([data-snapshot])::after{content:'Live map loads when in view';font-size:13px;color:var(--muted)}
.camera-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:9px;margin-top:16px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.camera-controls form{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:4px 8px;flex:1 1 360px;padding:0;background:none;border:0}
.camera-controls form label{grid-column:1/-1}
.camera-controls input[type=search]{width:100%;min-width:0}
.camera-controls label{font-size:13px;font-weight:650}
.camera-zoom{display:grid;gap:4px}
.camera-zoom input{width:75px}
.camera-3d{display:flex;align-items:center;gap:6px;align-self:end;padding-bottom:6px;white-space:nowrap}
.camera-3d-note{flex-basis:100%;margin:0;font-size:13px;color:#866f3b}
#location-status{flex-basis:100%;font-size:13px}
#turnstile-box{flex-basis:100%}
.back-link{display:inline-flex;align-items:center;min-height:42px;text-decoration:none;font-weight:650}
.style-heading{margin:6px 0 20px}
.style-heading h1{font-size:clamp(36px,5vw,59px)}
.workspace{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(320px,1fr);gap:24px;align-items:start}
.preview{position:sticky;top:12px}
.preview-head,.settings-head{display:flex;gap:9px;align-items:center;margin-bottom:8px}
.preview-head p{margin-right:auto;color:var(--ink);font-weight:675}
.preview-head label{font-size:13px}
#preview-map{height:min(58vh,560px);min-height:340px;background:#e1e8e0;border-radius:7px}
.embed{padding-top:15px}
.embed label{display:block;font-weight:650;font-size:13px;margin-bottom:5px}
.embed p,#preview-note{margin-top:7px;font-size:12px}
.url-row{display:flex;gap:8px}
.url-row input{flex:1;min-width:0;font-family:monospace}
form{padding:15px;background:var(--surface);border:1px solid var(--line);border-radius:7px}
.settings-head h2{margin-right:auto}
button,input,select{font:inherit}
button,select,input{border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);padding:7px 8px;min-height:38px}
button{padding-inline:12px;cursor:pointer;color:white;background:var(--accent);font-weight:650}
button.quiet{color:var(--accent);background:transparent}
.controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.controls label,.layer-inputs label{display:grid;gap:4px;font-size:13px;min-width:0}
.controls input,.controls select,.layer-inputs input,.layer-inputs select{width:100%}
details{border-top:1px solid var(--line);margin-top:13px;padding-top:8px}
summary{cursor:pointer;min-height:32px;font-weight:640}
.layer-row{border-top:1px solid var(--line);padding:7px 0}
.layer-row p{font-size:13px;color:var(--ink);margin-bottom:4px;font-weight:620}
.layer-inputs{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px}
.checks{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}
.checks label{display:flex;align-items:center;font-size:13px;gap:8px}
.checks input{accent-color:var(--accent);width:17px;min-height:34px}
#style-status{font-size:12px;color:var(--muted)}
#style-status:not(:empty){margin-top:12px}
.api-guide{max-width:780px;border-top:1px solid var(--line);padding-top:23px;margin-top:40px}
.api-guide p{margin:10px 0}
pre{overflow:auto;padding:14px;color:#e5f5e9;background:#162f26;border-radius:6px;font-size:13px}
.api-guide dt{font-weight:700;margin:10px 0 2px}
.api-guide dd{margin:0;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
@media(max-width:1328px){main{padding-left:24px;padding-right:24px}}
@media(max-width:780px){.workspace{display:block}.preview{position:static;margin-bottom:15px}.style-grid{gap:20px}.mini-map{height:190px}.style-tile p{font-size:12px}main{padding:19px 14px 35px}#preview-map{height:41vh;min-height:280px}}
@media(pointer:coarse){button,select,input,summary{min-height:44px}}

/* the page's one map credit, fixed in the bottom LEFT corner (the info button first, then the line): every map's
   controls are in its top right (zoom, orbit, the rotate row), so a map scrolled under the credit never has a control
   covered (owner, 2026-11-21: in the bottom right the button lay on a preview's zoom-out button) */
.map-credits{position:fixed;z-index:3;left:max(10px,env(safe-area-inset-left));bottom:max(10px,env(safe-area-inset-bottom));max-width:calc(100% - 20px)}
.map-credit-row{display:flex;flex-direction:row-reverse;align-items:center;justify-content:flex-end;gap:6px}
#map-credit-line{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:8px 10px;font-size:12px}
#map-credit-info{width:44px;height:44px;padding:0;background:var(--surface);color:var(--ink);border-radius:50%;font-size:20px;line-height:1}
.map-credit-row #map-credit-line{padding:5px 10px;border-radius:12px;white-space:nowrap}
#map-credit-line a{color:inherit;text-decoration:underline;text-underline-offset:2px}
#map-credit-line.tg-credit-short{display:none}   /* folded: only the ⓘ (OSMF guidelines 1.5.2; owner 2026-11-25) */
/* the address box (place-suggest.js): suggestions and recent addresses under it, and its clear button */
.camera-controls .place-host{position:relative;min-width:0}
.place-clear-wrap{position:relative;display:block;min-width:0;width:100%}
.place-clear-wrap>input{width:100%;padding-right:34px!important}
.place-clear-wrap>input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
.place-clear{position:absolute;right:4px;top:50%;transform:translateY(-50%);z-index:1;display:grid;place-items:center;width:28px;height:28px;min-height:0;padding:0;margin:0;border:0;border-radius:4px;background:transparent;color:var(--muted);cursor:pointer}
.place-clear svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.place-clear:hover{background:#eef0e8;color:var(--ink)}
.place-clear:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
input:placeholder-shown+.place-clear,input:disabled+.place-clear{display:none}
.box-suggest{position:absolute;z-index:1300;left:0;right:0;top:calc(100% + 3px);display:flex;flex-direction:column;max-height:260px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 8px 22px #273b1a19}
.box-suggest[hidden]{display:none}
.box-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;height:auto;min-height:0;padding:8px 10px;text-align:left;background:#fff;border:0;border-bottom:1px solid #f0f2eb;border-radius:0;font:inherit;font-weight:400;color:var(--ink);cursor:pointer}
.box-option.active{background:#eef3ef}
.box-option strong{display:block;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.box-option span{display:block;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.box-option em{font:normal 10px ui-monospace,monospace;text-transform:uppercase;color:var(--muted)}
.box-heading{padding:6px 10px 3px;font:600 10px/1.2 ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:#fafbf7}
.box-clear{height:auto;min-height:0;padding:7px 10px;text-align:left;font-size:12px;font-weight:400;color:var(--accent);background:#fafbf7;border:0;border-top:1px solid #f0f2eb;border-radius:0;cursor:pointer}
.box-status{padding:8px 10px;font-size:12px;color:var(--muted)}
@media(max-width:620px){.place-clear{width:34px;height:34px;right:2px}.place-clear-wrap>input{padding-right:40px!important}}

/* the shared frame (ui-frame.css): on wide screens the dock is the end of the camera bar (Clear, the reset menu, Find
   address); on phones it is the bar fixed to the bottom of the screen with the views */
@media(min-width:621px){
  /* the camera bar stays at the top of the window while the styles scroll under it: Find address is always a click away */
  .camera-controls{position:sticky;top:0;z-index:20;background:var(--paper);padding-top:10px}
  .camera-controls>.uf-dock{position:static;flex:0 0 auto;margin:0;padding:0;border:0;background:none;box-shadow:none}
  .camera-controls>.uf-dock .uf-slot>.uf-primary{min-width:120px}
}
.camera-controls form{grid-template-columns:minmax(120px,1fr) auto}
@media(max-width:620px){body.uf-has-dock .map-credits{bottom:calc(var(--uf-dock-h) + var(--uf-vv-bottom) + 8px)}}

/* ==== dark theme: generated by apps/dev-console/dark-theme.mjs from the rules above: do not edit by hand ==== */
:root[data-theme="dark"]{color-scheme:dark}
:root[data-theme="dark"]{--paper:#272725;--surface:#1d1c1b;--ink:#dee4e2;--muted:#a9adab;--line:#3c3f3a;--accent:#4c6bd5}
:root[data-theme="dark"] .app-header{--accent:#4c6bd5;--line-dark:#474944;--surface:#1a1a1a;--ink:#dcdedd;border-bottom:1px solid #333432;background:#20201e}
:root[data-theme="dark"] .app-header .preview-tag{border:1px solid #3b3d38;color:#a0a3a0}
:root[data-theme="dark"] .app-header .text-button{color:#b0b2b0}
:root[data-theme="dark"] .mini-map{background:#313331 center/cover no-repeat}
:root[data-theme="dark"] .camera-3d-note{color:#ad9152}
:root[data-theme="dark"] #preview-map{background:#313331}
:root[data-theme="dark"] .place-clear:hover{background:#2b2c2a}
:root[data-theme="dark"] .box-suggest{background:#1a1a1a}
:root[data-theme="dark"] .box-option{background:#1a1a1a;border-bottom:1px solid #292927}
:root[data-theme="dark"] .box-option.active{background:#262726}
:root[data-theme="dark"] .box-heading{background:#1f201e}
:root[data-theme="dark"] .box-clear{background:#1f201e;border-top:1px solid #292927}
/* ==== end of the generated dark theme ==== */
