:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#fff;background:#1b5cdc;--blue:#1b5cdc;--deep:#1045b2;--light:#c7d9ff;--border:#ffffff25;--surface:#ffffff0d;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ffd16a;outline-offset:3px}a{color:inherit}button{border:1px solid var(--border);border-radius:10px;background:#ffffff0c;color:#fff;padding:10px 13px;font-size:12px;font-weight:600;transition:background .15s,transform .15s}button:hover{background:#ffffff20}button:active{transform:translateY(1px)}input{width:100%;min-width:0;border:1px solid #ffffff30;border-radius:10px;padding:12px;background:#fff;color:#142a50;font-size:13px;outline-offset:3px}input::placeholder{color:#6c7e98}input[type=checkbox]{width:16px;height:16px;accent-color:#fff;flex-shrink:0}input[type=range]{accent-color:#ffcf66;padding:0;margin:19px 0 3px;height:4px;border:0;background:transparent;cursor:pointer}label{display:block;font-size:11px;font-weight:600;margin:0 0 7px}.app-header{height:68px;padding:0 26px;display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--border);background:var(--blue)}.brand{font-weight:800;font-size:24px;letter-spacing:-1px;text-decoration:none;white-space:nowrap}.brand span{color:#a9cbff}.header-caption{font-size:10px;letter-spacing:2px;color:var(--light)}.official-link{margin-left:auto;text-decoration:none;border:1px solid #ffffff40;padding:10px 14px;border-radius:9px;font-size:11px;font-weight:600;white-space:nowrap}.official-link span{margin-left:12px}main{display:grid;grid-template-columns:380px minmax(0,1fr);height:calc(100dvh - 68px);min-height:450px}aside{padding:25px 22px 18px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff40 transparent;background:linear-gradient(165deg,#1b5cdc,#154dc5);position:relative}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#c7d9ff}.sidebar-top h1{font-size:29px;letter-spacing:-.9px;line-height:1.15;margin:9px 0 22px;font-weight:750}.search-row{display:flex;gap:7px}.search-row input{flex:1;width:0}.search-row button{background:#fff;color:var(--deep);border-color:#fff;padding:11px 16px}.search-status{font-size:11px;line-height:1.5;margin:10px 0;color:#e3edff}.search-status:empty{display:none}#searchresults:not([hidden]){display:grid;gap:6px;margin-top:10px}#searchresults button{text-align:left;line-height:1.5;background:#fff;color:#143e83;font-weight:500}.quick-actions{display:flex;gap:16px;margin:12px 0 20px}.quick-actions button{font-size:11px;padding:0;background:transparent;border:0;color:#e2ecff}.quick-actions span{font-size:17px;vertical-align:-1px;margin-right:4px}.location-card{padding:17px;background:#ffffff0c;border:1px solid var(--border);border-radius:14px}.location-card h2{font-size:15px;line-height:1.4;margin:7px 0 3px;letter-spacing:-.2px;overflow-wrap:anywhere}small{display:block;font-size:10px;line-height:1.65;color:var(--light)}#coords{font-variant-numeric:tabular-nums;font-size:10px}.datetime-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:10px;margin-top:18px}.datetime-row input{font-size:12px;padding:10px 7px;height:39px}.datetime-row label{color:#e0eaff}.ends{display:flex;justify-content:space-between;color:var(--light);font-size:9px;margin-top:7px}.now-button{display:flex;justify-content:space-between;align-items:center;width:100%;background:transparent;border:0;border-top:1px solid var(--border);border-radius:0;margin-top:14px;padding:11px 0 0;font-size:11px;color:#e0eaff}.now-button:hover{background:transparent;color:#fff}.now-button span{font-size:16px}.planner-tabs{display:flex;gap:4px;background:#0a389b55;padding:4px;border:1px solid #ffffff12;border-radius:11px;margin:22px 0}.planner-tabs button{flex:1;border:0;background:transparent;font-size:11px;padding:10px 5px;border-radius:8px;color:#c9dbff}.planner-tabs button[aria-selected=true]{background:#fff;color:#174ebc;box-shadow:0 2px 7px #00246425}.tab-panel[hidden]{display:none}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.panel-heading h2{font-size:14px;font-weight:650;margin:0;letter-spacing:-.1px}.sun-symbol{color:#ffd16a;font-size:25px;line-height:1}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px}.metrics>div{padding:15px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.metrics small{font-size:9px;letter-spacing:1px}.metrics strong{display:block;font-size:29px;letter-spacing:-1px;margin-top:7px;font-weight:600;color:#fff;font-variant-numeric:tabular-nums}.phase{font-size:11px;color:#ffe1a0;line-height:1.5;margin:12px 0 18px}.sun-jumps{display:flex;gap:8px}.sun-jumps button{flex:1;font-size:11px;padding:10px 5px}dl{display:grid;grid-template-columns:1fr auto;gap:13px;font-size:11px;margin:22px 0;line-height:1.4}dt{color:#d2e1ff}dd{margin:0;font-weight:650;font-variant-numeric:tabular-nums}.muted{color:#cfdeff;font-size:11px;line-height:1.65}.toggle-row{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;font-weight:500;padding:13px 0;margin:0;border-bottom:1px solid var(--border);line-height:1.5}.icon-button{font-size:21px;line-height:1;padding:7px 10px;min-width:35px}.compact-status{font-size:11px;line-height:1.7;color:#e3edff;margin:12px 0}.compact-status.is-warning{padding:10px 12px;background:#ffcf661a;border:1px solid #ffcf6680;border-radius:9px;color:#fff2ce}.notam-filters{display:grid;gap:7px;margin:14px 0}.notam-filters label{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:400;margin:0}#notamList details{border:1px solid var(--border);border-radius:10px;margin:8px 0;padding:12px;background:#ffffff08}summary{cursor:pointer;font-size:11px;font-weight:600;line-height:1.5}#notamList pre{font-family:inherit;font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#f0f5ff;margin:12px 0}#notamList small{margin:9px 0}#notamList p{font-size:11px;line-height:1.6}.time-badge{display:inline-block;font-size:10px;line-height:1.5;padding:5px 8px;border-radius:6px;border:1px solid #ffffff35;color:#fff;background:#ffffff0c}.wide-button{width:100%;margin:8px 0}.text-link{display:inline-flex;gap:12px;text-decoration:none;font-size:11px;margin:16px 0 0;color:#e0eaff}.info-disclosure{margin-top:17px;border-top:1px solid var(--border);padding-top:14px}.info-disclosure summary{color:#d3e2ff;font-size:10px;font-weight:500}.info-disclosure p{font-size:10px;line-height:1.75;color:#d3e2ff;margin:10px 0}.sidebar-footer{margin-top:26px;border-top:1px solid var(--border);padding-top:15px}.sidebar-footer>p{font-size:10px;line-height:1.75;color:#d5e3ff;margin:0}.sidebar-footer a{text-underline-offset:3px}.source-credit{font-size:8px;margin-top:16px;color:#b8d0ff}#dataStatus[data-stale=true]{border-left:2px solid #ffcf66;padding-left:9px;color:#fff0c9}.maparea{position:relative;min-width:0;min-height:450px;background:#d8e5f0}#map{width:100%;height:100%}.map-label{position:absolute;top:18px;left:18px;display:flex;align-items:center;gap:8px;background:#174fbfe8;backdrop-filter:blur(12px);padding:11px 14px;border:1px solid #ffffff30;border-radius:10px;font-size:10px;box-shadow:0 3px 15px #002d7b18;pointer-events:none}.live-dot{width:6px;height:6px;border-radius:50%;background:#a9ccff}.legend{position:absolute;bottom:34px;left:18px;display:flex;align-items:center;gap:18px;padding:11px 14px;border-radius:10px;background:#174fbfe8;backdrop-filter:blur(12px);font-size:9px;box-shadow:0 3px 15px #002d7b18;pointer-events:none;border:1px solid #ffffff30}.legend-item{display:flex;align-items:center;gap:7px}.legend i{display:block;width:18px;height:0;border-top:2px solid}.legend .line-current{border-color:#ffd16a;border-width:3px}.legend .line-boundary{border-color:#ffd16a;border-top-style:dashed}.legend .line-arc{border-color:#a9ccff}#mapstatus{position:absolute;top:65px;left:18px;max-width:min(480px,calc(100% - 80px));background:#1649b8f5;padding:11px 14px;border:1px solid #ffffff40;border-radius:10px;font-size:11px;line-height:1.6;box-shadow:0 4px 20px #002d7b15}#mapstatus:empty{display:none}#details{position:absolute;top:80px;right:18px;width:340px;max-width:calc(100% - 36px);max-height:calc(100% - 135px);padding:22px;background:#174fcdeF;backdrop-filter:blur(16px);border:1px solid #ffffff40;border-radius:16px;overflow:auto;box-shadow:0 12px 40px #123a7740}#details h2{font-size:18px;letter-spacing:-.4px;margin:10px 0 20px}#details h3{font-size:14px;line-height:1.4;margin:0 0 6px}#details p{font-size:12px;line-height:1.75;color:#f0f5ff}#details small{margin-top:10px}#areaContent article+article{margin-top:20px;padding-top:20px;border-top:1px solid var(--border)}#close{float:right;font-size:21px;padding:1px 8px;border-radius:8px;margin:-6px -6px 0 8px}.point{height:18px;width:18px;border:3px solid #fff;border-radius:50%;background:#1b5cdc;box-shadow:0 0 0 6px #1b5cdc30}.maplibregl-ctrl-group{border-radius:10px;overflow:hidden;box-shadow:0 3px 18px #123a7720!important}.maplibregl-ctrl-group button{width:34px;height:34px;padding:0;border-radius:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(max-width:900px){main{grid-template-columns:340px minmax(0,1fr)}aside{padding:22px 18px}.header-caption{display:none}.app-header{padding:0 20px}.legend{gap:10px;font-size:8px;padding:10px}.map-label{font-size:9px}}
@media(max-width:640px){.app-header{height:58px;padding:0 16px;gap:10px}.brand{font-size:22px}.official-link{font-size:10px;padding:8px 10px}.official-link span{margin-left:5px}main{display:flex;flex-direction:column;height:auto;min-height:0}.maparea{order:-1;height:48dvh;min-height:310px}aside{padding:24px 20px;overflow:visible}.sidebar-top h1{font-size:27px;margin-bottom:18px}.legend{left:10px;bottom:32px;gap:14px;font-size:8px}.map-label{left:10px;top:10px;padding:9px 11px}#mapstatus{left:10px;top:52px;max-width:calc(100% - 65px);font-size:10px}#details{right:10px;top:54px;width:340px;max-width:calc(100% - 20px);max-height:calc(100% - 95px);padding:18px;border-radius:12px}.planner-tabs{margin:20px 0}.source-credit{font-size:9px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* Map and brand refinements */
.brand{display:flex;align-items:center;height:64px;min-width:170px}.brand img{display:block;width:210px;height:64px;object-fit:contain}.official-link{color:white;background:transparent}.sidebar-footer{font-size:12px;line-height:1.6;padding-top:22px}.sidebar-footer a{font-weight:700;text-decoration:none}.sidebar-footer p{margin:3px 0;color:#c7d9ff}.swatch{display:inline-block;width:12px;height:12px;border:1.5px solid;border-radius:3px}.swatch.airport{background:#f1873545;border-color:#e77d24}.swatch.fauna{background:#22a65b40;border-color:#209d54}.legend .line-arc{border-color:#ffd035;background:#ffd035}.sun-handle{width:42px;height:42px;border:2px solid #fff3bd;background:#ffd035;color:#704600;border-radius:50%;box-shadow:0 2px 12px #62490045;font-size:30px;line-height:36px;text-align:center;padding:0;cursor:grab;touch-action:none;user-select:none}.sun-handle:active{cursor:grabbing}.sun-handle:focus-visible{outline:3px solid #1b5cdc}.maplibregl-ctrl-attrib{font-size:9px!important}.is-fullscreen{position:fixed;inset:0;z-index:99999;height:100dvh;width:100vw}.is-fullscreen main{height:calc(100dvh - 68px)}
@media(max-width:640px){.brand{min-width:0;height:54px}.brand img{width:155px;height:54px}.app-header{gap:8px}.official-link{font-size:11px;padding:9px}.legend{gap:7px;max-width:calc(100% - 20px);font-size:9px;flex-wrap:wrap}.sun-handle{width:38px;height:38px;font-size:27px;line-height:32px}.is-fullscreen{overflow:auto}.is-fullscreen main{height:auto}.is-fullscreen .maparea{height:60dvh;min-height:300px}}

.legend .swatch{width:12px;height:12px;border:1.5px solid;border-radius:3px}.legend .swatch.airport{border-color:#e77d24}.legend .swatch.fauna{border-color:#209d54}

.sidebar-top{margin-bottom:18px}.sidebar-top .eyebrow{margin-bottom:0}.location-card h2{margin-top:0}.planner-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.planner-tabs button{padding:11px 5px}.forecast-label{font-size:9px;color:#c7d9ff;letter-spacing:1px}.forecast-panel p{font-size:12px;line-height:1.75}.forecast-panel select{font:inherit;font-size:12px;width:100%;border:1px solid #ffffff40;border-radius:10px;background:#fff;color:#142a50;padding:11px}.forecast-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #ffffff20;font-size:11px;line-height:1.5}.forecast-row strong{font-size:14px;white-space:nowrap}.forecast-row small{display:block;color:#c7d9ff}.forecast-day{padding:12px 0;border-bottom:1px solid #ffffff20}.forecast-day h3{font-size:13px;margin:0 0 9px}.forecast-day p{margin:7px 0}.model-view{position:relative;width:100%;aspect-ratio:700/597;background:#e7edf3;margin:15px 0 9px;overflow:hidden;border-radius:10px}.model-view>img,.model-sprite{position:absolute;inset:0;width:100%;height:100%}.model-sprite{background-repeat:no-repeat;background-size:100% auto}.model-legend{width:100%;height:auto;background:#fff;border-radius:5px;margin:4px 0 12px}.forecast-panel .muted{display:block;margin-top:12px}.forecast-panel .is-warning{color:#ffe7a0}.forecast-panel .metrics strong{font-size:28px}.model-outline{pointer-events:none}#modelColor,#modelText{pointer-events:none}.model-view[aria-busy=true]{opacity:.5}.forecast-badge{font-size:9px;color:#c7d9ff}

.weather-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.weather-metrics>div{min-width:0}.weather-metrics strong{display:block}.weather-metrics span{font-size:11px;color:#c7d9ff}.weather-metrics .cloud-text{font-size:16px;line-height:1.35;margin-top:12px;overflow-wrap:anywhere}.weather-location{font-size:11px!important;color:#d3e2ff}.weather-hour{width:100%;display:block;text-align:left;margin:7px 0;font-size:11px;line-height:1.6}.weather-hour small{display:block;color:#c7d9ff}#weatherNext{margin-top:10px}

.planner-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.planner-tabs button{font-size:11px;padding:11px 3px}.poi-categories{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 10px}.poi-categories label{display:flex;align-items:center;gap:5px;margin:0;padding:8px;border:1px solid #ffffff35;border-radius:8px;font-size:10px}.poi-categories input,.poi-arch input{width:14px;height:14px;margin:0}.poi-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex-shrink:0}.poi-dot.heritage{background:#b9a7ff}.poi-dot.rmk{background:#7de3c2}.poi-dot.nature{background:#8bdaff}.poi-arch{display:flex;align-items:center;gap:8px;margin:12px 0 17px;color:#d7e4ff;font-size:10px}.poi-distance{display:flex;gap:10px;align-items:center;margin:12px 0}.poi-distance label{margin:0;font-size:10px;flex:1}.poi-distance select{font:inherit;font-size:11px;border:1px solid #ffffff35;border-radius:8px;padding:9px;background:#fff;color:#173461;max-width:160px}.poi-actions{display:flex;gap:8px}.poi-actions button{font-size:10px;padding:9px}.poi-actions button[aria-pressed=true]{background:#fff;color:#1b5cdc}.poi-list{display:grid;gap:9px}.poi-result{border:1px solid #ffffff35;border-radius:11px;background:#ffffff0b;overflow:hidden}.poi-result>button{display:block;width:100%;text-align:left;border:0;border-radius:0;background:transparent;padding:12px}.poi-result strong{font-size:12px;line-height:1.45;display:block}.poi-result small{font-size:10px;color:#d4e4ff;display:block;line-height:1.6;margin-top:4px}.poi-result .poi-result-meta{display:flex;align-items:center;gap:6px}.poi-help{font-size:10px;line-height:1.75;color:#d4e4ff;margin:18px 0}.discover-map-button{position:absolute;top:16px;left:16px;z-index:3;background:#fff;color:#1648b2;border:1px solid #d0dfff;padding:10px 13px;box-shadow:0 2px 12px #123a7725;font-size:12px}.discover-map-button:hover{background:#eff5ff}.discover-map-button span{font-size:16px;margin-right:5px}.poi-cluster{width:38px;height:38px;border:2px solid #fff;border-radius:50%;background:#174fcddd;color:#fff;font-size:12px;line-height:32px;text-align:center;font-weight:750;box-shadow:0 2px 9px #123a7740;padding:0;cursor:pointer}.poi-cluster:hover{background:#123d9d}.poi-popup .maplibregl-popup-content{color:#173461;border-radius:14px;padding:20px;box-shadow:0 6px 30px #123a7730;max-height:65dvh;overflow:auto}.poi-popup .maplibregl-popup-close-button{color:#173461;font-size:23px;padding:2px 8px;background:none;right:4px;top:4px}.poi-popup h3{font:700 16px/1.35 Inter,-apple-system,sans-serif;margin:4px 10px 10px 0}.poi-popup p{font-size:11px;line-height:1.65;margin:8px 0}.poi-popup .poi-popup-kind{font-size:10px;color:#59708e;text-transform:uppercase;letter-spacing:.6px}.poi-popup .poi-popup-actions{display:flex;gap:8px;margin:13px 0 9px}.poi-popup button{background:#1b5cdc;color:white;border:0;font-size:11px}.poi-popup .favorite-button{background:#edf3ff;color:#1b5cdc;white-space:nowrap}.poi-popup a{font-size:11px;color:#1b5cdc}.poi-popup .poi-popup-source{font-size:9px;color:#697f9a}.poi-popup .poi-popup-tip{font-size:10px;background:#edf3ff;border-radius:7px;padding:8px}.poi-popup .maplibregl-popup-tip{border-top-color:#fff}.poi-list:empty{display:none}#poiRetry{margin-top:10px}@media(max-width:640px){.discover-map-button{top:12px;left:12px;padding:9px 11px;font-size:11px}.planner-tabs button{font-size:11px}.poi-popup .maplibregl-popup-content{max-height:310px;padding:17px}.poi-cluster{width:36px;height:36px;line-height:30px}.poi-categories label{font-size:11px}.poi-help{font-size:11px}.poi-distance label{font-size:11px}}

.legend{bottom:var(--map-credit-height,34px)}
/* Map controls and object previews */
.layer-control{position:relative;color:#18355a;font-family:Inter,-apple-system,sans-serif;pointer-events:auto}.layer-control .layer-toggle{background:#fff;color:#294365;width:29px;height:29px;padding:3px;border:0;border-radius:4px;box-shadow:0 0 0 2px #0000001a;display:flex;align-items:center;justify-content:center}.layer-control .layer-toggle:hover{background:#edf3ff}.layer-toggle[aria-expanded=true]{background:#e1ebff}.layer-panel{position:absolute;right:39px;top:0;width:285px;max-height:calc(100dvh - 190px);overflow-y:auto;background:#fff;border:1px solid #dbe4ef;border-radius:14px;padding:15px;box-shadow:0 8px 30px #13355d35}.layer-panel[hidden]{display:none}.layer-heading{display:flex;justify-content:space-between;align-items:center;font-size:15px;margin-bottom:10px}.layer-panel .layer-heading button{color:#173461;background:none;border:0;padding:0 6px;font-size:23px}.layer-panel fieldset{border:0;border-top:1px solid #e3eaf3;margin:12px 0 0;padding:10px 0 0}.layer-panel legend{font-size:10px;letter-spacing:.6px;text-transform:uppercase;padding:0 5px 0 0;color:#60748e;font-weight:700}.layer-panel label,.layer-panel .toggle-row{display:flex;align-items:center;gap:8px;font-size:12px;color:#203e63;padding:6px 0;margin:0;font-weight:500;border:0}.layer-panel .toggle-row{flex-direction:row-reverse;justify-content:flex-end}.layer-panel input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#1b5cdc}.layer-panel .poi-arch{font-size:11px;color:#60748e}.layer-panel .poi-dot.heritage{background:#7650c7}.layer-panel .poi-dot.rmk{background:#087e70}.layer-panel .poi-dot.nature{background:#177cb8}.layer-swatch{width:9px;height:9px;border-radius:2px;flex-shrink:0;background:#8d60b5}.layer-swatch.airport{background:#f28a32}.layer-swatch.fauna{background:#28aa5d}.layer-swatch.country,.layer-swatch.point{background:#1b5cdc}.layer-swatch.sun{background:#f1b12e}.layer-actions{display:flex;gap:6px}.layer-panel .layer-actions button{padding:8px 9px;color:#1b5cdc;background:#edf3ff;border:0;font-size:11px}.layer-panel #clearMap{background:#1b5cdc;color:#fff}.layer-hint{font-size:10px;line-height:1.5;color:#667b94;margin:12px 0 0}.poi-media{margin:10px 0}.poi-photo{width:100%;height:120px;object-fit:cover;display:block;border-radius:9px;background:#eef3f8}.poi-media figcaption{font-size:8px;line-height:1.5;color:#697e99;margin-top:4px}.poi-media figcaption a{font-size:8px}.poi-popup .poi-description{font-size:11px;line-height:1.65}.poi-popup .poi-photo-status{font-size:10px;color:#71839a}.poi-popup .poi-more{display:block;font-size:12px;font-weight:700;margin:10px 0}.poi-popup .poi-google{display:block;font-size:10px;margin-top:8px}.poi-popup .poi-wiki-credit{font-size:8px;line-height:1.4;color:#697e99}.poi-popup .poi-popup-tip{margin-top:9px}.poi-popup .maplibregl-popup-content{max-height:min(540px,75dvh)}@media(max-width:640px){.layer-panel{width:min(280px,calc(100vw - 65px));max-height:min(450px,calc(100dvh - 150px))}.poi-popup .maplibregl-popup-content{max-height:min(360px,65dvh)}.poi-photo{height:100px}}

.layer-panel{max-height:min(560px,calc(var(--map-panel-height,100dvh) - 155px))}@media(max-width:640px){.layer-panel{max-height:min(450px,calc(var(--map-panel-height,100dvh) - 155px))}}

@media(max-width:640px){.app-header{position:relative;height:78px;align-items:flex-start}.header-caption{display:block;position:absolute;left:20px;bottom:9px;font-size:9px;letter-spacing:.7px}.app-header .official-link{margin-top:12px}}

#details{z-index:4;padding-top:64px}#close{position:absolute;left:12px;top:12px;right:auto;float:none;margin:0;width:36px;height:36px;padding:0;font-size:26px;line-height:32px;background:#fff;color:#174fcd;border:0}#details>.eyebrow{margin-top:0}@media(max-width:640px){#details{padding-top:62px;max-width:calc(100% - 64px);right:54px;left:10px;width:auto}}

/* Keep iOS Safari from zooming the page when a search field receives focus. */
@media(max-width:900px),(pointer:coarse){.search-row input,#poiQuery{font-size:16px}}

.sidebar-footer{display:flex;align-items:baseline;gap:5px;white-space:nowrap;font-size:11px}.sidebar-footer p{margin:0;display:inline}.sidebar-footer a{flex-shrink:0}@media(max-width:360px){.sidebar-footer{font-size:10px;gap:4px}}

.sidebar-footer{align-items:center;gap:8px;white-space:nowrap;font-size:9px}.sidebar-footer .footer-brand{display:flex;align-items:center;width:108px;height:40px;flex-shrink:0}.footer-brand img{display:block;width:108px;height:40px;object-fit:contain}.sidebar-footer p{font-size:9px;line-height:1.4;color:#c7d9ff}@media(max-width:360px){.sidebar-footer{gap:6px}.sidebar-footer .footer-brand,.footer-brand img{width:92px}.sidebar-footer p{font-size:8px}}

.sidebar-footer{justify-content:center}

#panel-sun dt:nth-of-type(n+3),#goldAM,#goldPM{color:#ffd035}

/* A compact, stacked date and time card for phones. */
@media(max-width:640px){
.location-card{padding:16px;border-radius:16px;background:#ffffff0b;border-color:#ffffff26}
.location-card h2{font-size:16px;line-height:1.35;margin:0 0 5px;letter-spacing:-.2px}
.location-card #coords{font-size:11px;line-height:1.5;color:#d1e1ff}
.datetime-row{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:16px}
.datetime-row>div{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px}
.datetime-row label{font-size:12px;font-weight:500;margin:0;color:#e1ebff}
.datetime-row input{display:block;width:100%;min-width:0;height:44px;padding:10px 12px;border-radius:10px;font-size:16px;font-weight:500;line-height:1.4;border:1px solid #ffffff45;background:#fff;color:#143461;box-shadow:0 2px 6px #073a9220}
.location-card input[type=range]{margin:18px 0 3px;height:5px}
.location-card .ends{font-size:10px;margin-top:8px;color:#c7d9ff}
.location-card .now-button{margin-top:13px;padding-top:12px;font-size:12px;font-weight:500}
.location-card .now-button span{font-size:19px;line-height:1}
}

@media(max-width:640px){
.datetime-row{gap:7px;margin-top:13px}
.datetime-row>div{grid-template-columns:70px minmax(0,1fr);gap:8px;min-width:0}
.datetime-row input{box-sizing:border-box;min-inline-size:0!important;max-inline-size:100%;inline-size:100%;height:38px;min-height:38px;padding:7px 9px;font-size:16px;border-radius:8px;box-shadow:none;overflow:hidden}
.datetime-row input::-webkit-date-and-time-value{min-width:0;text-align:left;margin:0}
.datetime-row input::-webkit-datetime-edit{padding:0;min-width:0}
.datetime-row input::-webkit-calendar-picker-indicator{padding:0;margin-left:3px;flex-shrink:0}
.location-card{min-width:0;max-width:100%;padding:14px}
}

/* Native pickers remain interactive; the visible value has a stable box on iOS. */
.date-choice{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;height:39px;border-radius:9px;background:#dcecff;color:#173f78;overflow:hidden;border:1px solid #bcd8ff}
.date-choice>span{display:block;flex:1;min-width:0;text-align:center;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;padding:0 28px 0 10px;line-height:1.3;pointer-events:none}
.date-choice>i{position:absolute;right:12px;top:50%;transform:translateY(-30%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #265aa3;pointer-events:none}
.datetime-row .date-choice input{position:absolute;inset:0;z-index:1;opacity:0;cursor:pointer;width:100%!important;max-width:100%!important;min-width:0!important;height:100%!important;min-height:0;padding:0!important;margin:0;border:0;font-size:16px}
.date-choice:focus-within{outline:3px solid #ffd035;outline-offset:2px}
.wind50-legend{margin:7px 0 12px;padding:8px 0;background:#e5e5e5;color:#173461;border-radius:6px;overflow:hidden}.wind50-band{width:100%;aspect-ratio:900/24;overflow:hidden}.wind50-band img{display:block;width:100%;height:auto}.wind50-ticks{position:relative;height:17px;margin-top:1px;font-size:10px;font-variant-numeric:tabular-nums}.wind50-ticks span{position:absolute;transform:translateX(-50%)}.wind50-ticks span:nth-child(1){left:5%}.wind50-ticks span:nth-child(2){left:22.22%}.wind50-ticks span:nth-child(3){left:39.33%}.wind50-ticks span:nth-child(4){left:56.44%}.wind50-ticks span:nth-child(5){left:73.56%}.wind50-ticks span:nth-child(6){left:90.67%}.wind50-legend p{font-size:10px!important;text-align:center;line-height:1.3!important;margin:2px 5px!important}
@media(max-width:640px){.date-choice{height:38px;border-radius:8px}.date-choice>span{font-size:16px;padding:0 30px 0 10px}.datetime-row>div{grid-template-columns:70px minmax(0,1fr)}.date-choice>i{right:12px}}

@media(max-width:640px){.maparea{height:min(48dvh,88vw)}}

.wind-point-summary{display:grid;grid-template-columns:1fr auto;gap:5px 12px;align-items:center;margin:13px 0 10px;padding:13px;border:1px solid #ffffff40;border-radius:12px;background:#ffffff12}.wind-point-summary>span{font-size:11px;color:#dbe8ff}.wind-point-summary>strong{font-size:23px;line-height:1.2;white-space:nowrap;color:#fff}.wind-point-summary>small{grid-column:1/-1;font-size:10px;line-height:1.6;color:#dbe8ff}.wind-point-overlay{position:absolute;right:7px;bottom:7px;z-index:3;background:#fffef0;color:#173e76;border:1px solid #b6cce9;border-radius:7px;padding:7px 9px;font-size:12px;font-weight:750;box-shadow:0 2px 7px #163c6525;pointer-events:none}.point-wind-badge{position:absolute;top:100%;left:50%;transform:translate(-50%,8px);padding:5px 8px;background:#fff;color:#1748a0;border:1px solid #a9c7f8;border-radius:7px;box-shadow:0 2px 10px #123a7730;font-size:13px;font-weight:750;line-height:1.2;white-space:nowrap;pointer-events:none}.point-wind-badge[hidden]{display:none!important}@media(max-width:640px){.wind-point-summary>strong{font-size:22px}.wind-point-overlay{font-size:12px}}

.quick-actions #gps{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 10px;border:1px solid #ffffff35;border-radius:9px;background:#ffffff0b;font-size:11px}.quick-actions #gps:hover{background:#ffffff1c;border-color:#ffffff65}.quick-actions #gps>span:first-child{margin:0;font-size:17px;line-height:1}.quick-actions #gps .gps-hint{font-size:9px;font-weight:400;line-height:1.4;margin:0;color:#cbdfff;vertical-align:baseline}@media(max-width:640px){.quick-actions #gps{font-size:12px}.quick-actions #gps .gps-hint{font-size:10px}}

/* Compact area details with a persistent overflow indicator. */
#details{padding:14px;overflow:hidden;max-height:calc(100% - 100px)}
.details-heading{display:flex;align-items:center;gap:10px;margin-bottom:13px;padding-right:2px}
#details #close{position:static;float:none;flex:0 0 26px;width:26px;height:26px;min-width:26px;font-size:21px;line-height:24px;padding:0;margin:0;border-radius:7px;background:#ffffffeb;color:#1750be;box-shadow:none}
#details .details-heading .eyebrow{font-size:8px;letter-spacing:1.4px;line-height:1.3;margin:0}
#details .details-heading h2{font-size:16px;line-height:1.3;margin:3px 0 0;letter-spacing:-.25px}
.details-scroll-wrap{position:relative;min-height:0}
#details #areaContent{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:0 2px 0 0;line-height:1.65;font-size:12px}
#details #areaContent::-webkit-scrollbar{display:none;width:0}
#details .has-scroll #areaContent{padding-right:12px}
#details h3{margin:0 0 5px;font-size:13px;line-height:1.4}
#details p{margin:7px 0;font-size:12px;line-height:1.65}
#details small{margin-top:9px;font-size:10px;line-height:1.6}
#details .area-time-note{font-size:10px;color:#ffe292;margin:5px 0}
.details-scrollbar{position:absolute;top:0;bottom:0;right:0;width:8px;cursor:pointer;touch-action:none;background:linear-gradient(to right,transparent 2px,#ffffff20 2px,#ffffff20 6px,transparent 6px);border-radius:4px}
.details-scroll-thumb{position:absolute;top:0;right:2px;width:4px;min-height:20px;background:#c5ddff;border-radius:4px;box-shadow:0 0 0 1px #ffffff10}
@media(max-width:640px){#details{padding:12px;border-radius:12px;max-height:calc(100% - 75px)}.details-heading{gap:9px;margin-bottom:11px}#details .details-heading h2{font-size:15px}#details .details-heading .eyebrow{font-size:8px;letter-spacing:1.1px}}

/* Slightly larger mobile details text; the panel still scrolls within its compact bounds. */
@media(max-width:640px){#details #areaContent,#details p{font-size:14px;line-height:1.55}#details h3{font-size:15px}#details small{font-size:12px;line-height:1.5}#details .area-time-note{font-size:12px}#details .details-heading h2{font-size:16px}#details .details-heading .eyebrow{font-size:9px}}

/* Center each solar time in the shared value column. */
#panel-sun dl{grid-template-columns:minmax(0,1fr) max-content}#panel-sun dd{text-align:center;justify-self:stretch;font-variant-numeric:tabular-nums;white-space:nowrap}

.launch-info{margin-top:22px;font-size:10px;line-height:1.6;color:#d4e3ff}.launch-info>p{margin:0 0 7px;font-size:10px}.launch-info summary{cursor:pointer;font-size:11px;font-weight:600}.launch-info details p{font-size:11px;line-height:1.6;margin:10px 0}.launch-info nav{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:10px}.launch-info[data-stale=true]>p{color:#ffe292}

/* Site navigation beside the fullscreen control. */
.app-header{position:relative;z-index:10}.header-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}.header-actions .official-link{margin:0}.header-actions #siteMenuButton{white-space:nowrap;font-size:11px;padding:10px 12px;background:#ffffff12;border-color:#ffffff50}.header-actions #siteMenuButton span{margin-right:4px}#siteMenu{position:absolute;top:calc(100% - 5px);right:20px;width:320px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 95px);overflow:auto;padding:12px;background:#fff;color:#173f78;border:1px solid #c9ddfa;border-radius:14px;box-shadow:0 12px 38px #0b2d6e40;z-index:30}.site-menu-heading{display:flex;align-items:center;justify-content:space-between;padding:2px 7px 9px;border-bottom:1px solid #e1eafb;margin-bottom:5px;font-size:14px}#siteMenuClose{background:#edf4ff;color:#174fbc;font-size:22px;line-height:24px;padding:0;width:28px;height:28px;border:0;border-radius:7px}#siteMenu>a{display:block;padding:11px 9px;font-size:13px;font-weight:550;line-height:1.35;text-decoration:none;border-radius:7px}#siteMenu>a:hover,#siteMenu>a:focus-visible{background:#edf4ff;color:#174fbc}#siteMenu .site-menu-development{font-size:11px;color:#647c9b;border-top:1px solid #e1eafb;margin-top:5px;border-radius:0}
@media(max-width:640px){.header-actions{margin-top:12px;gap:6px}.app-header .header-actions .official-link{margin-top:0;font-size:10px;padding:8px}.header-actions #siteMenuButton{font-size:10px;padding:8px}.header-actions #siteMenuButton span{margin-right:2px}#siteMenu{right:12px;width:310px}.app-header .brand{flex-shrink:1;min-width:0}.app-header .brand img{max-width:100%}}@media(max-width:360px){.app-header{gap:5px}.app-header .brand{width:125px}.app-header .brand img{width:125px}}

/* Stable map viewport; phones use the surrounding page for scrolling. */
html.home-flow:not(:fullscreen) body:not(.is-fullscreen) main{height:calc(var(--host-height,720px) - 68px)}html.home-flow:not(:fullscreen) body:not(.is-fullscreen) .maparea{height:100%;min-height:450px}@media(max-width:640px){html.home-flow:not(:fullscreen) body:not(.is-fullscreen) main{height:auto;min-height:0}html.home-flow:not(:fullscreen) body:not(.is-fullscreen) aside{overflow:visible}html.home-flow:not(:fullscreen) body:not(.is-fullscreen) .maparea{height:min(calc(var(--host-height,844px) * .48),88vw);min-height:310px}}

.sun-handle{color:#fff}

/* Keep the layout within the actual viewport, including its scrollbar. */
html,body{max-width:100%;overflow-x:clip}main,aside,.maparea{min-width:0}aside{overflow-x:hidden}
.dl-site-header{left:0;transform:none;width:100%;max-width:100%!important}
@media(min-width:641px){.discover-map-button{top:25px;min-height:43px}}
