/* Approved flat glass presentation. Native controls retain their handlers. */
#approved-frame.liquid-release{--surface:#f4f7fb;--primary:#3563ef;--accent:#3563ef;--on-primary:#fff;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;background:var(--paper)!important;color:var(--ink)}
#approved-frame.liquid-release[data-theme="dark"]{--surface:#182230;--paper:#101722;--ink:#edf3fb;--muted:#aebbd0;--line:#a9c0e724;--primary:#567cfc;--accent:#b1c8ff;--on-primary:#fff;--selected:#293d61;--ios27-glass:rgb(24 35 51/.69);--ios27-glass-edge:#c7dcff35;--ios27-solid:#1c293a}
#approved-frame.liquid-release[data-theme="light"]{--surface:#f8fbff;--paper:#e9eef3;--ink:#172639;--muted:#5b6d82;--line:#ccd7e6;--selected:#e5edff;--ios27-glass:rgb(248 251 255/.78)}
#approved-frame.liquid-release:is([data-approved-screen="roadmap"],[data-approved-screen="road-route"]){--owner-overlay-bottom:calc(62px + env(safe-area-inset-bottom,0px));--owner-glass-fill:rgb(248 251 255/.77);--owner-glass-border:#ffffffc4;--owner-glass-shadow:0 5px 24px #10223512,inset 0 1px #fff9}
#approved-frame.liquid-release[data-theme="dark"]:is([data-approved-screen="roadmap"],[data-approved-screen="road-route"]){--owner-glass-fill:rgb(25 37 53/.72);--owner-glass-border:#b9d3f52e;--owner-glass-shadow:0 6px 25px #03081135,inset 0 1px #e8f2ff19}
#approved-frame.liquid-release #live-map-host .owner-approved-map .map-controls{top:calc(var(--owner-overlay-top,0px) + 8px);gap:4px}
#approved-frame.liquid-release .owner-approved-map #map-panel{border-radius:28px;-webkit-backdrop-filter:blur(24px) saturate(1.25);backdrop-filter:blur(24px) saturate(1.25)}
#approved-frame.liquid-release #map-panel[data-mode="route"] .map-panel-heading strong{font-size:22px;letter-spacing:-.75px}
#approved-frame.liquid-release #map-panel[data-panel="collapsed"]{box-shadow:0 8px 34px #07101e25,inset 0 1px #ffffff44}
#approved-frame.liquid-release .owner-add-post{width:62px;height:62px;min-width:62px;min-height:62px;border:1px solid #c9daffb5!important;background:linear-gradient(145deg,#7796ffe8,#3b61e6e8);box-shadow:0 7px 24px #1b43b64d,inset 0 1px #ffffff85!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
#approved-frame.liquid-release>.mobile-nav.bottom-nav{max-width:430px!important;height:54px!important;min-height:54px!important;align-self:end!important;margin-bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;padding:3px 5px!important;border-color:var(--ios27-glass-edge)!important;-webkit-backdrop-filter:blur(26px) saturate(1.3)!important;backdrop-filter:blur(26px) saturate(1.3)!important;box-shadow:0 8px 30px #07101e2c,inset 0 1px #ffffff25!important}
#approved-frame.liquid-release>.mobile-nav.bottom-nav>.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;line-height:12px;min-height:44px;width:100%!important;max-width:none!important;min-width:0!important;justify-self:stretch!important}
#approved-frame.liquid-release>.mobile-nav.bottom-nav>.nav-item>span{display:grid;place-items:center;width:22px;height:22px}
#approved-frame.liquid-release>.mobile-nav .nav-item svg{width:21px;height:21px}
#approved-frame.liquid-release[data-theme="dark"] .ios27-nav-indicator{background:linear-gradient(145deg,#8bafff30,#4b76c927);border-color:#d5e5ff38;box-shadow:inset 0 1px #ffffff2e,0 2px 8px #0002}
#approved-frame.liquid-release[data-theme="dark"] .kd-member-clock-card,
#approved-frame.liquid-release[data-theme="dark"] .kd-member-clock-card :is(strong,p,summary){color:var(--ink)!important}
#approved-frame.liquid-release[data-theme="dark"] .kd-member-clock-card :is(small,details){color:var(--muted)!important}
#approved-frame.liquid-release[data-theme="dark"] .kd-member-clock-card b{color:#ffd36a!important}
@media(prefers-reduced-transparency:reduce){#approved-frame.liquid-release{--owner-glass-fill:var(--surface);--ios27-glass:var(--surface)}#approved-frame.liquid-release #map-panel,#approved-frame.liquid-release>.mobile-nav.bottom-nav{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:var(--surface)!important}}

/* Prototype-only source status and contextual navigation. No data is hidden
   or restamped: a known partial refresh is a small mark on the real counter. */
#approved-frame #live-map-host .owner-city-status[data-sketch-source-health="partial"] svg{
 color:#c58f28;fill:#d8a74122;opacity:1;
}
#approved-frame #live-map-host .owner-city-status[data-sketch-source-health="unavailable"] svg{
 color:#b36f55;fill:#b36f5517;opacity:1;
}
#approved-frame #live-map-host .kd-source-notice{
 max-width:min(310px,calc(100% - 32px));border-radius:19px;
 border:1px solid var(--line);background:var(--surface);color:var(--ink);
 box-shadow:0 5px 20px #08111f18;
}
#approved-frame #live-map-host .kd-source-notice strong{font-size:13px;font-weight:650}
#approved-frame #live-map-host .kd-source-notice p{font-size:12px;line-height:1.5;color:var(--muted)}
#approved-frame #live-map-host .owner-selection-quick-actions[data-kind="fuel"]{grid-template-columns:1fr}
#approved-frame #live-map-host .owner-selection-quick-actions [hidden]{display:none!important}
#approved-frame #live-map-host .owner-route-has-result #map-panel-subtitle{font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:no-preference){
 #approved-frame #live-map-host .kd-markers-loading .owner-city-status svg{animation:sketch-source-loading 1.2s ease-in-out infinite}
}
@keyframes sketch-source-loading{50%{opacity:.45}}

#approved-frame #live-map-host .owner-bottom-actions{bottom:calc(var(--owner-overlay-bottom,0px) + 8px + var(--sketch-dock-handle-height,66px) + var(--sketch-dock-exposure,0px) + 16px)}

/* Owner revision: a thin genuine post-confirmation tray, without services ads. */
#approved-frame #live-map-host .owner-selection-mode:has(.owner-selection-popup){--owner-selection-panel-height:186px}
#approved-frame #live-map-host .owner-selection-mode:has(.owner-selection-popup) #map-panel{
 height:min(186px,calc(100% - var(--owner-overlay-top,0px) - var(--owner-overlay-bottom,0px) - 50px))!important;
 border-radius:21px;
}
#approved-frame #live-map-host .owner-selection-mode:has(.owner-selection-popup) #map-panel[data-panel="expanded"] .map-panel-toggle{height:24px;min-height:24px;padding-top:8px;padding-bottom:4px}
#approved-frame #live-map-host .owner-selection-popup .leaflet-popup-content{font-size:12px;line-height:1.35;margin-right:44px!important}
#approved-frame #live-map-host .owner-selection-popup .leaflet-popup-content>strong:first-child{font-size:14px;line-height:1.25;letter-spacing:-.2px;margin-bottom:2px}
#approved-frame #live-map-host .owner-selection-popup .leaflet-popup-content small{font-size:11px;line-height:1.35}
#approved-frame #live-map-host .owner-selection-popup .kd-community-actions{gap:8px;margin-top:8px;padding-top:8px}
#approved-frame #live-map-host .owner-selection-popup .kd-community-actions>.kd-community-note{display:none}
#approved-frame #live-map-host .owner-selection-popup .kd-community-actions>button{min-height:44px;padding:8px;font-size:12px;border-radius:13px}
#approved-frame #live-map-host .owner-selection-content{padding-bottom:6px}
/* Historical clocks remain descriptive history, with no confirm/cancel actions. */
#approved-frame #live-map-host .kd-clock-popup .kd-member-clock-card{font-size:12px;line-height:1.4}
#approved-frame #live-map-host .kd-clock-popup .kd-member-clock-card strong{font-size:13px;line-height:1.3;margin-top:5px}
#approved-frame #live-map-host .kd-clock-popup .kd-member-clock-card b{font-size:18px;line-height:1.3}
#approved-frame #live-map-host .kd-clock-popup .kd-member-clock-card p{font-size:11px;line-height:1.4;margin:5px 0}
