:root{--gold:#c8daec;--bone:#142326;--green:#158452;--muted:#637379;color-scheme:light}
body{background:#eff3f5;color:#182a31;font-family:Body,Arial,sans-serif}header{height:62px;background:#f9fcfdf7;border-bottom:1px solid #cbd6d9;padding:0 3.2vw}.brand{font:740 23px Body;letter-spacing:-.085em;gap:7px}.seal{position:relative;width:23px;height:23px;border-radius:50% 50% 50% 6px;transform:rotate(-45deg);background:linear-gradient(135deg,#39bb85,#138563);border:1px solid #128365;font-size:0}.seal:after{content:"";position:absolute;inset:6px;background:white;border-radius:50%}.nav{gap:22px}.nav button{color:#43585f;font-size:13px}.nav small{color:#677a80;border-color:#9fb2b6}.left,.offer{align-self:start;border:1px solid #ffffffbd;border-radius:15px;background:linear-gradient(128deg,#ffffffed,#f4f9f9ed 70%);backdrop-filter:blur(16px) saturate(1.12);box-shadow:0 4px 24px #0c253324,0 1px 3px #46615d2b}.left{padding:21px 20px 13px}.eyeline{display:none}main{min-height:calc(100svh - 158px);padding:28px 3vw;grid-template-columns:minmax(290px,min(31%,440px)) 1fr;grid-template-rows:min-content min-content;align-content:start;gap:11px}.left h1{font:650 clamp(30px,2.65vw,58px)/1.02 Body;letter-spacing:-.065em;margin:0 0 7px}.left h1 em{font:inherit;color:inherit}.sub{font:15px/1.3 Body;color:#41545c;margin:0 0 18px}.field{border-radius:10px;border:1px solid #b5c7cc;background:#fff;box-shadow:inset 0 1px 3px #52696f15;padding:4px 4px 4px 11px;gap:6px}.field span{color:#447174}.field input{font-size:16px;color:#132e3a}.field button,.accent{background:linear-gradient(145deg,#18785c,#0c634e);box-shadow:inset 0 1px #8dc6ac70;border:1px solid #17664b;color:white;font-weight:650}#examples{margin:6px 0 0;align-items:center;gap:10px}.left #examples button{color:#345c63;text-decoration:none;font:12px Mono}.left #examples button:hover{text-decoration:underline}#examples>span{color:#5a6f75;font-size:11px}
#scene{left:0;background-color:#04131c;z-index:-1}#scene:after{background:linear-gradient(180deg,#101a2012,transparent 12%,transparent 88%,#15232912)}.maptools{display:flex;flex-wrap:wrap;justify-content:flex-end;left:auto;right:20px;top:18px;gap:4px;max-width:60%;padding:4px;border:1px solid #ffffffa6;border-radius:13px;background:#f4f8f7d9;backdrop-filter:blur(12px);box-shadow:0 3px 15px #0c253335}.maptools button{background:#ffffff75;color:#19363b;border:0;border-radius:8px;min-width:35px;min-height:35px;padding:5px 9px}.maptools button:hover,.maptools button:focus-visible{background:white}.maptools #baseStats{font-weight:700;background:#e1ede6;color:#195743}.maptools #baseStats:after{content:" ⇄";font-size:11px}
.offer{margin:0;color:#24383d;overflow:hidden}.rail{margin:0 13px;padding:10px 0 6px;color:#43585d;letter-spacing:.09em;font-size:9px}.rail button{font-size:11px;color:#43616b}.routes{margin:0 8px;gap:5px;grid-template-columns:1fr 1.1fr}.route{padding:10px 11px;border-radius:9px;background:#f4f7f8;border:1px solid #cbd6d7;color:#455c61}.route>span:first-child{font:600 13px Body}.route b{font:700 29px Body;letter-spacing:-.055em}.route b small{font:11px Body}.route.active{background:linear-gradient(130deg,#e4f7ec,#d2ebdd);color:#174d3d;border:1px solid #73ad90;box-shadow:inset 0 1px #fff7}.routegraphic{height:35px;color:#60777f}.route.active .routegraphic{color:#147c55}.route strong{font-size:11px}.paperfoot{padding:9px 13px 11px;color:#53676b}.route:not(.active) .routegraphic{filter:none}
#result{color:#334a50}#result:not(:empty){border-top:1px solid #cbdbda;padding-top:7px;margin-top:9px}#result h2{font:600 17px Body;letter-spacing:-.04em;margin:0}#result p{font:12px Body}.left .status{color:#176947}.left .unavailable{color:#983d40}.left .unknown{color:#475e64}
#bubble{border-color:#ffffffc7;border-radius:11px;background:#f8fffcf2;backdrop-filter:blur(12px);box-shadow:0 3px 17px #061b2340;color:#20363e;bottom:36px;left:auto;right:4%;padding:10px 12px;font-size:13px;max-width:240px}#bubble .bubblehead{font:700 18px Body;letter-spacing:-.04em}#bubble .bubblehead span{font:600 11px Body;color:#15704c;background:#d6efe1;border-radius:30px;padding:2px 6px;letter-spacing:0}#bubble .estimate{color:#496267;font:12px Body;margin-top:3px}#bubbleClaim{background:#0d7154;border-radius:6px;color:white;padding:7px 10px;margin:7px 0 0}#bubble small{color:#586e70}#bubble.unknown,#bubble.unavailable{background:#fafcfbf2;color:#22373a;border-color:#ffffffc7}#bubble.unavailable .bubblehead span{color:#963f40;background:#f4dddd}#bubble.unknown .bubblehead span{color:#536468;background:#e1e8e8}
#flag{width:44px;height:47px;transform:translate(-22px,-42px);filter:drop-shadow(0 2px 3px #0a2a2340)}#flag .flagstem{position:absolute;left:9px;top:6px;bottom:auto;height:27px;width:27px;border:2px solid white;border-radius:50% 50% 50% 4px;background:linear-gradient(130deg,#42c58a,#127857);box-shadow:0 0 0 1px #177957;transform:rotate(calc(-45deg + var(--tilt,0deg)));transform-origin:50% 50%}#flag .flagstem:before{content:"";background:white;width:9px;height:9px;top:7px;left:7px;border-radius:100%}#flag .flagstem i,#flag:before,#flag:not(:disabled):before{display:none}#flag:after{bottom:3px;left:15px;width:12px;height:4px;background:#064a384c;border:1px solid #bdf0db}#flag[data-status=unavailable] .flagstem{background:linear-gradient(125deg,#f68b80,#a74748);border-radius:4px;box-shadow:0 0 0 1px #984344}#flag[data-status=unavailable] .flagstem:before{height:3px;width:12px;top:10px;left:5px;transform:rotate(45deg)}
#hud{left:auto;right:18px;bottom:12px;color:#f7fcfc;border-radius:5px;background:#14262f96;padding:3px 6px}.attribution{z-index:3;left:14px;right:auto;bottom:11px;padding:4px 7px;border-radius:4px;background:#15232be0;color:white;text-shadow:none;letter-spacing:0}.attribution a{text-decoration:underline}.snapshotbar{background:#edf3f4;color:#34494f;border-color:#cbd6d8;padding:10px 3.2vw}.counthead,.counthead span{color:#52676d}.counter b{color:#29494a}.counter span{color:#486066}footer{min-height:35px;padding:0 3.2vw;border-top-color:#d1dddf;color:#526970;letter-spacing:.01em;background:#f8fbfc}.compass{color:#48606a}dialog{font:15px Body;background:#f6fbfc;color:#223c42;border:1px solid white;border-radius:15px}dialog h2{font:650 29px Body}.marketflag{color:#756524}.tag{color:#48616b}#decision p{color:#416259}
@media(min-width:2000px){header{height:90px}.brand{font-size:36px}.nav button{font-size:19px}.left{padding:32px}.sub{font-size:22px}.field input,.field button{font-size:22px}.offer{max-width:none}.left{max-width:none}.left #examples button,.left #examples span{font-size:16px}.rail,.rail button{font-size:15px}.route>span:first-child{font-size:21px}.route b{font-size:42px}.route b small{font-size:17px}.route strong{font-size:17px}.routegraphic{height:60px}.paperfoot{font-size:15px}.maptools button{font-size:18px;min-height:44px}.maptools{right:40px;top:32px}main{grid-template-columns:min(28%,720px) 1fr;min-height:calc(100svh - 225px);padding:50px 3vw}.snapshotbar{padding:20px 3vw}.counter b{font-size:28px}.counter span,.counthead,.counthead span{font-size:15px}footer{min-height:53px;font-size:14px}#bubble{font-size:18px;max-width:350px;right:7%;bottom:10%;padding:18px 20px}#bubble .bubblehead{font-size:29px}#bubble .bubblehead span,#bubble .estimate{font-size:16px}}
@media(max-width:760px){header{height:50px;padding:0 15px}.brand{font-size:21px}.nav{gap:10px}.nav button{font-size:11px}main{display:flex;gap:0;padding:0;min-height:0;background:#eff4f5}.left,.offer{align-self:stretch;box-shadow:none;border:0;border-radius:0;backdrop-filter:none}.left{padding:12px 14px 9px;background:#f4f8f9}.left h1,body.has-result .left h1{font:650 28px/1 Body;letter-spacing:-.055em;margin:0 0 5px}.sub{font-size:13px;margin:0 0 9px}.field{border-radius:10px}.field button{font-size:13px;min-height:34px}.left #examples{margin:2px 0 0;gap:10px}.left #examples button{font:11px Mono;min-height:26px}body.has-result .left{padding:10px 14px}body.has-result #result{display:none}body.has-result .left h1{font-size:23px;margin:0 0 7px}#scene{height:clamp(280px,39svh,390px);z-index:0;left:0}.maptools{left:7px;right:7px;top:7px;max-width:none;justify-content:flex-start;width:max-content;max-width:calc(100% - 14px);gap:1px;padding:3px;border-radius:10px}.maptools button{min-width:29px;min-height:32px;font-size:10px;padding:3px 6px}.maptools #baseStats{padding-left:7px}.attribution{left:5px;bottom:5px;font-size:7.5px;padding:2px 4px}.attribution a{color:white}#hud{right:5px;bottom:5px;left:auto;font-size:7px;padding:1px 4px}#bubble{left:7px;right:auto;bottom:24px;max-width:52%;padding:7px 9px;font-size:11px}#bubble .bubblehead{font-size:15px}#bubble .bubblehead span{font-size:9px}#bubble .estimate{font-size:10px}#bubbleClaim{font-size:11px;padding:6px 8px}.offer{background:#f4f8f9;color:#263f43}.rail{padding:8px 0 5px}.routes{margin:0 12px;gap:6px}.route{padding:7px 10px}.route>span:first-child{font-size:12px}.route b{font-size:25px}.routegraphic{height:26px;width:102px}.route strong{font-size:10px}.paperfoot{font-size:10px;padding:7px 13px}.snapshotbar{padding:8px 13px}.counter b{font-size:15px}.counter span{font-size:8px}footer{padding:0 13px;min-height:30px}.nav small{display:none}#scene .cross{display:none}}

@media(max-width:760px){#scene{height:clamp(295px,44svh,430px)}}
.maptools{padding:3px;gap:5px;background:#f3f8f5dd;border-radius:12px}.maptools>div{display:flex;gap:1px}.maptools>div+div{border-left:1px solid #98aca57d;padding-left:4px}.maptools button,.maptools #baseStats{background:transparent;font-weight:500}.maptools button[aria-pressed=true],.maptools #baseStats[aria-pressed=true]{border:0;background:#fff;color:#0d5442;font-weight:690;box-shadow:0 1px 4px #183b3030}.maptools #baseStats:after{display:none}.flighttools,.navtools{position:absolute;z-index:2;display:flex;gap:3px}.flighttools{right:18px;top:76px}.navtools{right:18px;top:118px;flex-direction:column;align-items:stretch}.flighttools button,.navtools button{color:#243c42;background:#f5faf6f0;border:1px solid #ffffffa8;border-radius:8px;box-shadow:0 2px 6px #12302e22;padding:7px 9px;min-height:34px;font-size:12px}.navtools #in,.navtools #out{font-size:18px;line-height:1}.navtools button[hidden],.flighttools button[hidden]{display:none!important}
@media(max-width:760px){.flighttools{right:7px;top:7px}.flighttools button{min-height:33px;padding:4px 6px;font-size:10px}.navtools{right:7px;top:50px;gap:2px}.navtools button{min-width:34px;min-height:31px;padding:4px 5px;font-size:9px}.maptools{width:auto;right:auto;max-width:65%}.maptools button,.maptools #baseStats{font-size:11px;min-width:32px;padding:4px 7px}#bubble{font-size:12px}#bubble .estimate{font-size:11px}#bubbleClaim{font-size:12px}}
/* MIT, cult/ui Distorted Glass, adapted from the 21st.dev catalog. The text plane stays still. */
.maptools,.offer,.left,#bubble{isolation:isolate}
.maptools:before,.offer:before,.left:before,#bubble:before{content:"";pointer-events:none;position:absolute;inset:0;border:2px solid #ffffff50;border-radius:inherit;filter:url(#lens-rim);opacity:.6;z-index:-1}
.left,.offer{position:relative}
@media(prefers-reduced-transparency:reduce){.left,.offer,.maptools,#bubble{background:#f7faf9;backdrop-filter:none}.maptools:before,.offer:before,.left:before,#bubble:before{display:none}}

#pin-key {position:absolute; z-index:2; right:9px; bottom:27px; padding:3px 6px;
 background:rgba(17,39,41,.9); color:#fffbed; border-radius:4px;
 font:10px/1.2 system-ui,sans-serif; pointer-events:none}


#scene{background:#000}#scene:after{background:none}
#shopPanel[hidden],#groupPicker[hidden],#zipPages[hidden],#shopPanel #bubble[hidden]{display:none!important}
#shopPanel{position:absolute;z-index:4;right:18px;bottom:42px;width:min(370px,36vw);color:#152426;background:#f7f9f8;border:1px solid #d1dcda;border-radius:16px;padding:15px;box-shadow:0 8px 36px #0004;font-family:Body,system-ui,sans-serif}
#shopPanel #bubble{position:static;box-shadow:none;border:0;padding:0;max-width:none;width:auto;background:transparent;color:inherit;backdrop-filter:none}
#shopPanel #bubble:before{display:none}.shopTitle,.shopActions,#zipPages,.shopCount{display:flex;align-items:center;justify-content:space-between;gap:8px}
.shopTitle h2,.shopTitle strong{font:650 20px/1.15 Body,system-ui;margin:0;letter-spacing:-.035em}.shopTitle button,.shopActions button,#zipPages button{border:0;background:none;color:#0b6149;font:650 13px Body,system-ui;min-height:40px;padding:3px 4px}
.shopStatus{font:600 12px Body,system-ui;background:#e4ece8;border-radius:20px;padding:4px 9px}.available .shopStatus{background:#d1efde;color:#135c42}.shopCount{justify-content:flex-start;align-items:baseline;margin:6px 0 10px}.shopCount strong{font:650 29px/1 Body,system-ui;letter-spacing:-.06em}.shopCount span,.shopModel{font:13px Body,system-ui;color:#405751}
.shopOffers,.zipStrip{display:grid;gap:6px;grid-template-columns:repeat(2,minmax(0,1fr))}
.shopOffers button,#shopPanel #bubbleClaim,.zipStrip button{background:#fff;color:#173731;border:1px solid #bdcec5;border-radius:9px;text-align:left;min-height:44px;padding:6px 9px;margin:0}
.shopOffers button,#shopPanel #bubbleClaim{display:flex;justify-content:space-between;align-items:center}.shopOffers small{font:600 13px Body,system-ui}.shopOffers b{font:650 18px Body,system-ui}.shopOffers b span{font-size:11px}#shopPanel #bubbleClaim{background:#0f5342;color:white}.shopActions{margin-top:5px}.shopModel{font-size:11px}
.zipStrip{grid-template-columns:repeat(3,minmax(0,1fr));margin:6px 0 0}.zipStrip button{display:grid;gap:2px}.zipStrip strong{font:650 16px Body,system-ui}.zipStrip span,#pageRange{font:12px Body,system-ui;color:#476056}
#zipPages{justify-content:center}#zipPages button{min-width:44px;font-size:17px}#zipPages button:disabled{opacity:.28}
@media(max-width:760px){#shopPanel{position:relative;inset:auto;order:3;width:auto;border-radius:0;border:0;border-bottom:1px solid #c6d4ce;box-shadow:none;padding:9px 14px 7px}.offer{order:4}.shopTitle h2,.shopTitle strong{font-size:19px}.shopActions button{min-height:40px}}

/* Production chrome and input states. Reading layers stay stable. */
header .nav a,footer nav a{color:inherit;text-decoration:none;font:600 13px Body,system-ui;padding:10px 7px}
footer nav{display:flex;flex-wrap:wrap;gap:3px}footer{flex-wrap:wrap;height:auto;min-height:46px}
.atlas-filter{position:absolute}
button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #075fff;outline-offset:3px}
.route.active#exclusive{background:#0d513d;color:#fff;border-color:#073c2d;box-shadow:0 0 0 2px #c4e9d8}
#exclusive.active b,#exclusive.active strong,#exclusive.active>span,#exclusive.active small{color:#fff}
#exclusive.active svg{filter:brightness(0) invert(1)}
#shared:not(.active){opacity:.78}
#decision .request-free{display:inline-block;background:#0f5342;color:#fff;padding:12px 16px;border-radius:9px;text-decoration:none}
#atlasCheckout{display:grid;gap:12px}#atlasCheckout label{font-weight:650}
#checkoutEmail{width:100%;min-height:48px;background:white;color:#133a2c;border:1px solid #a9bdb3;border-radius:9px;padding:12px;font:16px Body,system-ui}
#checkoutSubmit{min-height:48px}#checkoutSubmit:disabled{opacity:.6;cursor:wait}
#checkoutStatus{min-height:1.5em}
noscript{display:block;padding:20px;background:white;color:#123a2c}
@media(max-width:760px){header .nav a{padding:9px 3px;font-size:11px}header #market{display:none}header .brand{font-size:19px}footer nav{width:100%}#checkoutEmail{font-size:16px}.eyeline{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.shopOffers a{display:flex;justify-content:space-between;align-items:center;background:#fff;color:#173731;border:1px solid #bdcec5;border-radius:9px;text-decoration:none;min-height:44px;padding:6px 9px}

#shopPanel #bubbleClaim b{font-size:14px;line-height:1.2;text-align:right}#shopPanel #bubbleClaim small{margin-right:6px;color:inherit;font-size:12px}

.skip-link{position:absolute;top:0;left:12px;transform:translateY(-150%);z-index:100;background:#fff;color:#103c2d;padding:12px;border-radius:8px}.skip-link:focus{transform:translateY(0)}

#shopPanel #bubble.unavailable .shopStatus,#shopPanel #bubble.unknown .shopStatus{color:#173731}

/* Give the free and exclusive actions their own wrapping lines. */
.shopOffers>a,.shopOffers button,#shopPanel #bubbleClaim{flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0;white-space:normal}
.shopOffers b{min-width:0;overflow-wrap:anywhere;line-height:1.2}
.shopOffers button>span{display:block;font-size:14px;font-weight:700}

/* One customer theme: shared dark green surfaces, mint actions and light text.
   Map geometry and its data palette remain owned by the renderer. */
:root{--gold:var(--brand-muted);--bone:var(--brand-text);--green:var(--brand-action);--muted:var(--brand-muted);color-scheme:dark}
html,body{background:var(--brand-background);color:var(--brand-text);font-family:var(--brand-font-body)}
header,footer{background:var(--brand-background);color:var(--brand-text);border-color:var(--brand-border)}
.brand{color:var(--brand-text);font-family:var(--brand-font-body)}
.brand .seal{background:var(--brand-action);border-color:var(--brand-action-border)}
.brand .seal:after{background:var(--brand-action-text)}
.nav button,.nav small,.sub,#examples>span,.rail,.rail button,.paperfoot,#result,.shopCount span,.shopModel,.zipStrip span,#pageRange{color:var(--brand-muted)}
.left #examples button{color:var(--brand-link)}
.left,.offer,#shopPanel,dialog,#bubble{background:var(--brand-surface);color:var(--brand-text);border-color:var(--brand-border);box-shadow:0 8px 28px var(--brand-shadow-color)}
.field{background:var(--brand-background);color:var(--brand-text);border-color:var(--brand-border-strong);box-shadow:none}
.field span{color:var(--brand-muted)}
.field input{color:var(--brand-text)}
.field input::placeholder{color:var(--brand-muted)}
.field button,.accent,#shopPanel #bubbleClaim{background:var(--brand-action);color:var(--brand-action-text);border-color:var(--brand-action-border);box-shadow:none}
.maptools{background:var(--brand-surface-overlay);border-color:var(--brand-border);box-shadow:0 3px 15px var(--brand-shadow-color)}
.maptools button{background:var(--brand-surface-muted);color:var(--brand-text)}
.maptools button:hover,.maptools button:focus-visible{background:var(--brand-border)}
.maptools #baseStats{background:var(--brand-pill-background);color:var(--brand-pill-text)}
.route{background:var(--brand-surface-muted);color:var(--brand-text);border-color:var(--brand-border)}
.route.active{background:var(--brand-pill-background);color:var(--brand-text);border-color:var(--brand-action);box-shadow:none}
.routegraphic{color:var(--brand-muted)}
.route.active .routegraphic{color:var(--brand-action)}
.left .status{color:var(--brand-action)}
.left .unavailable{color:var(--brand-danger)}
.left .unknown{color:var(--brand-muted)}
#result:not(:empty){border-color:var(--brand-border)}
#bubble .bubblehead,#bubble .bubblehint{color:var(--brand-text)}
#shopPanel #bubble{background:transparent;color:var(--brand-text)}
.shopTitle button,.shopActions button,#zipPages button{color:var(--brand-link)}
.shopStatus{background:var(--brand-surface-muted);color:var(--brand-text)}
.available .shopStatus{background:var(--brand-pill-background);color:var(--brand-pill-text)}
.shopOffers button,.zipStrip button{background:var(--brand-surface-muted);color:var(--brand-text);border-color:var(--brand-border-strong)}
.atlas-filter{background:var(--brand-surface);color:var(--brand-text);border-color:var(--brand-border-strong)}
.atlas-filter:checked{accent-color:var(--brand-action)}
button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline-color:var(--brand-action)}

/* Saved catalog summary stays on the same readable dark surface. */
.snapshotbar{background:var(--brand-surface);color:var(--brand-text);border-color:var(--brand-border)}
.snapshotbar .counter,.snapshotbar .counter strong,.snapshotbar .counter b{color:var(--brand-text)}
.snapshotbar .counter span,.snapshotbar small,.snapshotbar .asof{color:var(--brand-muted)}

/* Status badge states keep readable text after the dark surface switch. */
#shopPanel #bubble.unavailable .shopStatus{background:var(--brand-danger-background);color:var(--brand-danger)}
#shopPanel #bubble.unknown .shopStatus{background:var(--brand-surface-muted);color:var(--brand-muted)}
