/* Demo-only chrome. The original navigation slot, map layout and content remain. */
.frame.ios27-demo{--ios27-glass:rgb(248 251 255/.84);--ios27-glass-edge:#ffffffd9;--ios27-ink:#102235;--ios27-muted:#4c6074;--ios27-accent:#245edb;--ios27-solid:#f8fbff;--ios27-glass-shadow:0 8px 25px #10223510,0 1px 3px #10223508}
.frame.ios27-demo[data-theme="dark"]{--ios27-glass:rgb(24 34 46/.90);--ios27-glass-edge:#b5c9e82b;--ios27-ink:#edf4ff;--ios27-muted:#c1cede;--ios27-accent:#9cbdff;--ios27-solid:#18222e;--ios27-glass-shadow:0 8px 25px #050b1438,0 1px 3px #0003}
.frame.ios27-demo .bottom-nav{position:relative;isolation:isolate;justify-self:center;align-self:stretch;width:calc(100% - 24px);max-width:560px;height:calc(100% - 14px);min-height:56px;margin:6px 0 8px;padding:4px 6px;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;border:1px solid var(--ios27-glass-edge);border-radius:999px;background:var(--ios27-glass);color:var(--ios27-ink);box-shadow:var(--ios27-glass-shadow);-webkit-backdrop-filter:blur(20px) saturate(1.2);backdrop-filter:blur(20px) saturate(1.2)}
.frame.ios27-demo .bottom-nav::before{content:"";position:absolute;inset:0;border-radius:inherit;border-top:1px solid #ffffffa6;pointer-events:none;z-index:0}
.frame.ios27-demo .bottom-nav .nav-item{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;height:100%;gap:3px;padding:4px 2px;border:0;border-radius:999px;background:transparent;color:var(--ios27-muted);font-size:11px;line-height:1.2;font-weight:550;box-shadow:none;transition:color .2s ease,scale .16s cubic-bezier(.2,.8,.2,1);-webkit-tap-highlight-color:transparent}
.frame.ios27-demo .bottom-nav .nav-item[aria-current="page"]{background:transparent;color:var(--ios27-accent);font-weight:700;box-shadow:none}
.frame.ios27-demo .bottom-nav .nav-item svg{width:22px;height:22px;stroke-width:1.7}
.frame.ios27-demo .bottom-nav .nav-item[aria-current="page"] svg{color:var(--ios27-accent);stroke-width:1.9}
.frame.ios27-demo .ios27-nav-indicator{position:absolute;top:-1px;left:-1px;z-index:0;pointer-events:none;box-sizing:border-box;border:1px solid #ffffffdf;border-radius:999px;background:linear-gradient(145deg,#ffffffef,#e7f0ffc9);box-shadow:0 2px 6px #24425c0c,inset 0 1px #fff;transition:transform .38s cubic-bezier(.22,1.05,.36,1),width .32s cubic-bezier(.2,.8,.2,1),height .2s ease}
.frame.ios27-demo .ios27-nav-indicator[hidden]{display:none}
.frame.ios27-demo[data-theme="dark"] .ios27-nav-indicator{background:linear-gradient(145deg,#5267826b,#334b6b5c);border-color:#a4c3ed30;box-shadow:inset 0 1px #d7e9ff12,0 2px 6px #0002}
.frame.ios27-demo[data-theme="dark"] .bottom-nav::before{border-top-color:#e4efff21}
.frame.ios27-demo .header-actions .round-button,.frame.ios27-demo #live-map-host .map-stage .zoom-controls,.frame.ios27-demo #live-map-host .map-stage .map-side-tools #geo-button,.frame.ios27-demo #live-map-host .owner-primary-layers{background:var(--ios27-solid);border:1px solid var(--ios27-glass-edge);box-shadow:0 2px 7px #1022350b,inset 0 1px #ffffff7a;-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--ios27-ink)}
.frame.ios27-demo #live-map-host .map-stage .zoom-controls{border:0;box-shadow:0 0 0 1px var(--ios27-glass-edge),0 3px 12px #1022350e,inset 0 1px #ffffff7a}
.frame.ios27-demo .header-actions .round-button,.frame.ios27-demo #live-map-host .map-side-tools #geo-button{min-width:44px;min-height:44px;transition:scale .16s cubic-bezier(.2,.8,.2,1),background-color .2s ease}
.frame.ios27-demo #live-map-host .zoom-button{min-width:44px;min-height:44px;color:var(--ios27-ink);transition:scale .16s cubic-bezier(.2,.8,.2,1),background-color .2s ease}
.frame.ios27-demo #live-map-host .map-stage .map-side-tools #geo-button[aria-pressed="true"]{background:#e7f0fff2;border-color:#b4cdfa;color:#245edb;box-shadow:0 0 0 1px #245edb24,0 3px 12px #1022350e,inset 0 1px #ffffffa6}
.frame.ios27-demo[data-theme="dark"] #live-map-host .map-stage .map-side-tools #geo-button[aria-pressed="true"]{background:#304963f0;border-color:#acccfa55;color:#c8ddff;box-shadow:0 0 0 1px #8fb6ff30,0 3px 12px #050b1438,inset 0 1px #dcecff18}
.frame.ios27-demo #header-map-tools .owner-clock-toggle[aria-pressed="true"]{background:#eaeafbe8;border-color:#ffffffe0;color:#5651ae}
.frame.ios27-demo[data-theme="dark"] #header-map-tools .owner-clock-toggle[aria-pressed="true"]{background:#444461df;border-color:#aab0e838;color:#d5d3ff}
.frame.ios27-demo .ios27-pressed{scale:.96}
/* Keep tab geometry stable while its committed selection indicator is measured. */
.frame.ios27-demo .bottom-nav .nav-item.ios27-pressed{scale:1;opacity:.82}
.frame.ios27-demo .bottom-nav .nav-item:focus-visible,.frame.ios27-demo .header-actions .round-button:focus-visible,.frame.ios27-demo #live-map-host .map-side-tools button:focus-visible,.frame.ios27-demo #live-map-host .owner-primary-layers button:focus-visible{outline:2px solid var(--ios27-accent);outline-offset:2px}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.frame.ios27-demo,.frame.ios27-demo[data-theme="dark"]{--ios27-glass:var(--ios27-solid)}}
@media(prefers-reduced-transparency:reduce){.frame.ios27-demo,.frame.ios27-demo[data-theme="dark"]{--ios27-glass:var(--ios27-solid)}.frame.ios27-demo .bottom-nav,.frame.ios27-demo .header-actions .round-button,.frame.ios27-demo #live-map-host .map-stage .zoom-controls,.frame.ios27-demo #live-map-host .map-stage .map-side-tools #geo-button,.frame.ios27-demo #live-map-host .owner-primary-layers{-webkit-backdrop-filter:none;backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){.frame.ios27-demo .ios27-nav-indicator,.frame.ios27-demo .nav-item,.frame.ios27-demo .round-button,.frame.ios27-demo #live-map-host .zoom-button{transition:none!important}.frame.ios27-demo .ios27-pressed{scale:1}}
/* The production shell owns its grid directly; retain the real navigation nodes. */
#approved-frame.ios27-demo>.mobile-nav.bottom-nav{justify-self:center!important;align-self:stretch!important;width:calc(100% - 24px)!important;max-width:560px!important;height:calc(100% - 14px - env(safe-area-inset-bottom,0px))!important;min-height:56px!important;margin:6px 0 calc(8px + env(safe-area-inset-bottom,0px))!important;padding:4px 6px!important;align-items:stretch!important;border:1px solid var(--ios27-glass-edge)!important;border-radius:999px!important;background:var(--ios27-glass)!important;box-shadow:var(--ios27-glass-shadow)!important;-webkit-backdrop-filter:blur(20px) saturate(1.2)!important;backdrop-filter:blur(20px) saturate(1.2)!important}
#approved-frame.ios27-demo>.mobile-nav .nav-item{min-height:44px;justify-content:center;padding:4px 2px;box-shadow:none!important;color:var(--ios27-muted)}
#approved-frame.ios27-demo>.mobile-nav .nav-item[aria-current="page"]{background:transparent!important;color:var(--ios27-accent)!important;box-shadow:none!important}
#approved-frame.ios27-demo>.topbar .header-actions .round-button{border-color:var(--ios27-glass-edge);background:var(--ios27-solid);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 2px 7px #1022350b,inset 0 1px #ffffff7a}
@media(prefers-reduced-transparency:reduce){#approved-frame.ios27-demo>.mobile-nav.bottom-nav{background:var(--ios27-solid)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){#approved-frame.ios27-demo>.mobile-nav.bottom-nav{background:var(--ios27-solid)!important}}
