
    :root { color-scheme:light; --bg:#07111f; --panel:#0f172a; --text:#e5f0ff; --muted:#93a4b8; --blue:#38bdf8; --primary:#0ea5e9; --primary-strong:#2563eb; --primary-deep:#075985; --soft-blue:#e5f6ff; }
    * { box-sizing: border-box; -webkit-tap-highlight-color:transparent; }
    html { width:100%; height:100%; overflow:hidden; touch-action:manipulation; overscroll-behavior:none; -webkit-text-size-adjust:100%; }
    body { margin:0; width:100%; height:100%; overflow:hidden; touch-action:manipulation; overscroll-behavior:none; -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#0b2340; background:#f1f7fd; }
    html.radar-scroll-lock,
    body.radar-scroll-lock { width:100%; height:100%; max-height:100%; overflow:hidden; overscroll-behavior:none; }
    body.radar-scroll-lock { position:fixed; inset:0; }
    body.radar-scroll-lock main { height:100dvh; min-height:100dvh; max-height:100dvh; overflow:hidden; }
    body.radar-scroll-lock #viewRadar.active,
    body.radar-scroll-lock #viewRadar .radar-card { height:100%; max-height:100%; overflow:hidden; }
    body.radar-scroll-lock #viewRadar .map-wrap,
    body.radar-scroll-lock #viewRadar .hud { min-height:0; }
    input, textarea, select { -webkit-user-select:text; user-select:text; -webkit-touch-callout:default; }
    main { position:fixed; inset:0; width:100%; height:100dvh; min-height:100dvh; margin:0; padding:0 0 calc(74px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; overflow:hidden; }
    header { position:sticky; top:0; z-index:1250; flex:0 0 auto; display:flex; align-items:center; justify-content:flex-start; gap:16px; margin:0; padding:calc(6px + env(safe-area-inset-top)) 18px 18px 6px; background:#fff; border-radius:0; border-bottom:1px solid rgba(125,177,218,.22); box-shadow:none; }
    h1 { margin:0; font-size:clamp(30px, 5vw, 54px); letter-spacing:-.04em; }
    .brand-logo { display:block; width:auto; max-width:min(240px, 58vw); height:44px; object-fit:contain; object-position:left center; }
    h2 { margin:0; font-size:clamp(24px, 4vw, 38px); letter-spacing:-.03em; }
    h3 { margin:0 0 8px; font-size:19px; }
    .eyebrow { margin:0 0 8px; color:var(--blue); text-transform:uppercase; letter-spacing:.14em; font-weight:800; font-size:12px; }
    .status { color:var(--muted); font-size:14px; text-align:right; }
    .in-app-message { position:fixed; z-index:10050; left:50%; bottom:88px; width:min(430px,calc(100% - 28px)); transform:translateX(-50%); display:grid; grid-template-columns:1fr auto; gap:6px 12px; padding:15px 16px; border:1px solid #acd7f2; border-radius:16px; background:#fff; box-shadow:0 18px 55px rgba(4,37,71,.25); color:#0b2f50; }
    .in-app-message strong { font-size:15px; }
    .in-app-message p { grid-column:1; margin:0; color:#587087; font-size:13px; line-height:1.45; }
    .in-app-message a { grid-column:1; color:#087fc4; font-size:13px; font-weight:900; text-decoration:none; }
    .in-app-message button { grid-column:2; grid-row:1 / 3; align-self:start; padding:2px 7px; border:0; background:transparent; color:#5d7488; font-size:22px; }
    .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; }
    .app-view { display:none; }
    .app-view.active { display:block; }
    .app-view.active:not(#viewRadar) { flex:1 1 auto; min-height:0; overflow:auto; padding:16px 0 18px; }
    #viewRadar.active { flex:1 1 auto; min-height:0; display:flex; }
    .radar-card, .panel { border:1px solid rgba(125,177,218,.30); border-radius:28px; background:#fff; box-shadow:none; overflow:hidden; }
    .app-view:not(#viewRadar) .panel { background:#f8fbff; border-color:rgba(125,177,218,.38); color:#0b2340; box-shadow:none; }
    .app-view:not(#viewRadar) h2, .app-view:not(#viewRadar) h3 { color:#0b2340; }
    .app-view:not(#viewRadar) .eyebrow { color:#0284c7; }
    .app-view:not(#viewRadar) .panel > p:not(.eyebrow), .app-view:not(#viewRadar) .panel-item p { color:#42617f; }
    .panel { width:min(1440px, calc(100% - 24px)); margin:0 auto; padding:24px; }
    .panel-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; margin-top:18px; }
    .panel-item { border:1px solid rgba(125,177,218,.28); border-radius:20px; padding:18px; background:#fff; box-shadow:none; }
    .settings-panel { overflow:visible; padding:0!important; border:0!important; background:transparent!important; }
    .settings-card-icon svg,.settings-permission-icon svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
    .settings-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; }
    .settings-card { min-width:0; overflow:visible; border:1px solid rgba(125,177,218,.30); border-radius:23px; padding:20px; background:#fff; box-shadow:0 12px 32px rgba(30,86,135,.06); }
    .settings-card-wide { grid-column:1 / -1; }
    .settings-card-head { display:flex; align-items:flex-start; gap:12px; margin-bottom:18px; }
    .settings-card-icon { display:grid; place-items:center; flex:0 0 auto; width:42px; height:42px; border-radius:14px; background:#eaf7ff; color:#087fc4; }
    .settings-card-head h3 { margin:1px 0 4px; font-size:20px; font-weight:750; }
    .settings-card-head p { margin:0!important; color:#617a91!important; font-size:13px; line-height:1.45; }
    .settings-subsection { padding-top:17px; margin-top:17px; border-top:1px solid #e2edf5; }
    .settings-subsection:first-of-type { padding-top:0; margin-top:0; border-top:0; }
    .settings-subsection-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
    .settings-subsection-head h4 { margin:0; color:#173b58; font-size:14px; font-weight:700; }
    .settings-subsection-head span { color:#7891aa; font-size:11px; font-weight:600; }
    .settings-location-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin-bottom:10px; }
    .settings-location-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr); gap:10px; align-items:stretch; }
    .settings-location-grid > .saved-location-list { margin-top:0; }
    .settings-location-grid .saved-location-row { height:100%; align-content:center; }
    .settings-permission-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:11px; min-height:92px; padding:13px; border:1px solid #d7e7f2; border-radius:17px; background:#f8fbfe; }
    .settings-permission-card.is-hidden { display:none; }
    .settings-permission-icon { display:grid; place-items:center; width:39px; height:39px; border-radius:13px; background:#eaf2f8; color:#587189; }
    .settings-permission-copy { min-width:0; }
    .settings-permission-copy strong { display:block; margin:3px 0 2px; color:#173b58; font-size:14px; }
    .settings-permission-copy p { margin:0!important; color:#66819b!important; font-size:11px; line-height:1.4; }
    .settings-status-badge { display:inline-flex; align-items:center; min-height:21px; padding:3px 8px; border-radius:999px; background:#eaf2f8; color:#587189; font-size:9px; font-weight:950; letter-spacing:.04em; text-transform:uppercase; }
    .settings-permission-card[data-state="success"] { border-color:#bce8d7; background:#f3fcf8; }
    .settings-permission-card[data-state="success"] .settings-permission-icon,.settings-permission-card[data-state="success"] .settings-status-badge { background:#ddf7eb; color:#11845d; }
    .settings-permission-card[data-state="warning"] { border-color:#f0d6a2; background:#fffaf0; }
    .settings-permission-card[data-state="warning"] .settings-permission-icon,.settings-permission-card[data-state="warning"] .settings-status-badge { background:#fff0cd; color:#9a6500; }
    .settings-permission-card[data-state="danger"] { border-color:#efc8cc; background:#fff7f7; }
    .settings-permission-card[data-state="danger"] .settings-permission-icon,.settings-permission-card[data-state="danger"] .settings-status-badge { background:#fee8ea; color:#b4232d; }
    .app-view:not(#viewRadar) .settings-permission-action { min-height:36px; padding:8px 10px; border-radius:11px; font-size:11px; white-space:nowrap; }
    .settings-inline-status { display:flex; align-items:flex-start; gap:8px; margin-top:11px!important; padding:10px 12px; border-radius:13px; background:#f4f8fb; color:#587189!important; font-size:12px; line-height:1.4; }
    .settings-inline-status::before { content:""; flex:0 0 auto; width:8px; height:8px; margin-top:4px; border-radius:50%; background:#38a9ef; box-shadow:0 0 0 4px rgba(56,169,239,.12); }
    .settings-card .panel-actions { margin-top:12px; }
    .settings-card .theme-grid { margin-top:0; }
    .settings-card .place-search { margin-top:0; }
    .settings-card .place-autocomplete { position:static; }
    .settings-card .place-suggestions { left:0; right:0; width:auto; }
    .settings-card .place-search input { padding-right:44px; font-size:14px; font-weight:600; }
    /* iOS zoomt automatisch in op invoervelden kleiner dan 16px. */
    .settings-card #savedLocationInput { font-size:16px; }
    .settings-card .place-search input::placeholder { font-weight:500; }
    .settings-card .place-autocomplete.has-value input { padding-right:78px; }
    .settings-card .place-search > .btn-secondary { font-weight:650; }
    .settings-card .place-suggestion-copy strong { font-weight:650; }
    .settings-card .place-suggestion-copy small,.settings-card .place-suggestion-message { font-weight:500; }
    .settings-card .saved-location-row strong { font-weight:700; }
    .settings-card .saved-location-row span,.settings-card .saved-location-settings label,.settings-card .saved-location-settings select,.settings-card .saved-location-settings input { font-weight:600; }
    .settings-card .theme-choice span { font-weight:650; }
    .settings-appearance-row { display:flex; align-items:center; gap:12px; min-height:70px; padding:12px 13px; border:1px solid #d7e7f2; border-radius:17px; background:#f8fbfe; cursor:pointer; }
    .settings-appearance-icon { display:grid; place-items:center; flex:0 0 auto; width:39px; height:39px; border-radius:13px; background:#eaf7ff; color:#087fc4; }
    .settings-appearance-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
    .settings-appearance-copy { min-width:0; flex:1 1 auto; }
    .settings-appearance-copy strong { display:block; margin-bottom:3px; color:#173b58; font-size:14px; font-weight:750; }
    .settings-appearance-copy small { display:block; color:#66819b; font-size:11px; font-weight:550; line-height:1.4; }
    .settings-switch { position:relative; flex:0 0 auto; width:48px; height:28px; }
    .settings-switch input { position:absolute; inset:0; z-index:2; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; pointer-events:auto; }
    .settings-switch-track { position:absolute; inset:0; border:1px solid #bfd2e0; border-radius:999px; background:#dce8f0; box-shadow:inset 0 1px 3px rgba(15,45,70,.08); transition:background .18s ease,border-color .18s ease; }
    .settings-switch-track::after { content:""; position:absolute; top:50%; left:3px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 2px 7px rgba(15,45,70,.25); transform:translateY(-50%); transition:transform .18s ease; }
    .settings-switch input:checked + .settings-switch-track { border-color:#168cf0; background:linear-gradient(135deg,#19afe8,#2563eb); }
    .settings-switch input:checked + .settings-switch-track::after { transform:translate(20px,-50%); }
    .settings-switch input:focus-visible + .settings-switch-track { outline:3px solid rgba(14,165,233,.26); outline-offset:3px; }
    .settings-card-system .settings-system-note { min-height:68px; margin:0!important; color:#617a91!important; font-size:13px; line-height:1.5; }
    .header-account-button { margin-left:auto; width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:999px; border:1px solid rgba(91,157,208,.34); background:linear-gradient(180deg,#fff,#f1f8ff); color:#1b5f8d; box-shadow:0 10px 24px rgba(30,86,135,.10); padding:0; }
    .header-account-button svg { width:22px; height:22px; stroke:currentColor; stroke-width:2.2; fill:none; stroke-linecap:round; stroke-linejoin:round; }
    .header-account-button.is-premium { color:#fff; background:linear-gradient(135deg,#0ea5e9,#2563eb); border-color:rgba(255,255,255,.62); box-shadow:0 12px 28px rgba(37,99,235,.20), inset 0 1px 0 rgba(255,255,255,.26); }
    .account-view-panel { overflow:visible; background:transparent!important; border:0!important; padding:8px 0 24px; }
    .account-page-head { margin:0 0 16px; padding:0 4px; }
    .account-page-head h2 { font-size:clamp(30px,4vw,42px); }
    .account-page-head > p:last-child { max-width:780px; margin:8px 0 0; color:#587189; line-height:1.5; }
    .account-guest { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr); gap:14px; align-items:stretch; }
    .account-card { display:grid; gap:18px; background:#fff; border-color:rgba(14,165,233,.24); }
    .account-login-intro { display:flex; align-items:flex-start; gap:13px; }
    .account-login-intro h3 { margin-bottom:4px; }
    .account-login-intro p { color:#587189!important; }
    .account-login-icon { display:grid; place-items:center; flex:0 0 auto; width:44px; height:44px; border-radius:14px; background:#e7f6ff; color:#087fc4; }
    .account-login-icon svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
    .account-mode-switch { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:5px; border:1px solid #d8e8f3; border-radius:15px; background:#f2f8fc; }
    .app-view:not(#viewRadar) .account-mode-button { min-height:40px; border:0; border-radius:11px; padding:8px 12px; background:transparent; color:#547089; box-shadow:none; font-size:13px; font-weight:900; }
    .app-view:not(#viewRadar) .account-mode-button.is-active { background:#fff; color:#087fc4; box-shadow:0 5px 14px rgba(30,86,135,.11); }
    .account-guest-benefits { overflow:hidden; background:linear-gradient(145deg,#087fc4,#2563eb); color:#fff; }
    .account-guest-benefits .eyebrow,.account-guest-benefits h3 { color:#fff!important; }
    .account-guest-benefits ul { display:grid; gap:10px; margin:18px 0 0; padding:0; list-style:none; }
    .account-guest-benefits li { display:flex; gap:9px; align-items:flex-start; font-weight:800; line-height:1.4; }
    .account-guest-benefits li::before { content:"✓"; display:grid; place-items:center; flex:0 0 auto; width:21px; height:21px; border-radius:50%; background:rgba(255,255,255,.18); }
    .account-form { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
    .account-form .panel-actions { grid-column:1 / -1; margin-top:2px; }
    .account-form input, .account-profile-form input, .account-delete-form input { min-width:0; width:100%; border:1px solid rgba(91,157,208,.40); border-radius:14px; padding:12px 14px; background:#fff; color:#0b2340; font:inherit; font-weight:850; }
    html.radarnu-native-ios .account-form input:not([type="checkbox"]) { font-size:16px; }
    .account-field { display:grid; align-content:start; gap:6px; min-width:0; color:#42617f; font-size:13px; font-weight:900; }
    .account-field > span:first-child { padding-left:2px; }
    .account-form input { min-height:48px; transition:border-color .16s ease, box-shadow .16s ease, background .16s ease; }
    .account-form input::placeholder { color:#8a9aaa; font-weight:750; }
    .account-form input:focus { outline:0; border-color:#38a9ef; box-shadow:0 0 0 3px rgba(14,165,233,.14); }
    .account-password-wrap { position:relative; min-width:0; }
    .account-password-wrap input { padding-right:90px; }
    .app-view:not(#viewRadar) .account-password-toggle { position:absolute; z-index:2; right:7px; top:50%; min-width:68px; min-height:34px; transform:translateY(-50%); padding:6px 9px; border:0; border-radius:10px; background:#edf7fe; color:#12628f; box-shadow:none; font-size:11px; font-weight:900; }
    .app-view:not(#viewRadar) .account-password-toggle:hover { background:#dff1fc; color:#074e78; }
    .app-view:not(#viewRadar) .account-password-toggle:focus-visible { outline:2px solid #38a9ef; outline-offset:1px; }
    .account-caps-lock { margin:0 2px; color:#a15c09; font-size:11px; font-weight:850; line-height:1.35; }
    .account-form-feedback { grid-column:1 / -1; display:flex; align-items:flex-start; gap:8px; margin:4px 0 0 !important; padding:10px 12px; border:1px solid #cfe4f3; border-radius:12px; background:#f4faff; color:#315c79 !important; font-size:12px; font-weight:800; line-height:1.4 !important; }
    .account-form-feedback[hidden], .account-caps-lock[hidden] { display:none; }
    .account-form-feedback.is-error { border-color:#f2c3c7; background:#fff4f4; color:#a2232d !important; }
    .account-form-feedback.is-success { border-color:#b7e3d1; background:#effbf6; color:#087553 !important; }
    .apple-restore-feedback { margin:2px 0 0; padding:10px 12px; border:1px solid #cfe4f3; border-radius:12px; background:#f4faff; color:#315c79; font-size:12px; font-weight:800; line-height:1.4; }
    .apple-restore-feedback[hidden] { display:none; }
    .apple-restore-feedback.is-error { border-color:#f2c3c7; background:#fff4f4; color:#a2232d; }
    .apple-restore-feedback.is-success { border-color:#b7e3d1; background:#effbf6; color:#087553; }
    .account-security-note { grid-column:1 / -1; display:flex; align-items:center; gap:7px; margin:2px 0 0 !important; color:#66819b !important; font-size:11px; font-weight:750; line-height:1.4 !important; }
    .account-security-note svg { flex:0 0 auto; width:15px; height:15px; fill:none; stroke:#168de2; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
    .account-submit-spinner { display:none; flex:0 0 auto; width:16px; height:16px; border:2px solid rgba(255,255,255,.45); border-top-color:#fff; border-radius:50%; animation:accountSpinner .7s linear infinite; }
    .app-view:not(#viewRadar) .btn-secondary .account-submit-spinner { border-color:rgba(18,98,143,.22); border-top-color:#12628f; }
    .account-submit-button.is-loading { display:inline-flex; align-items:center; justify-content:center; gap:8px; cursor:wait; }
    .account-submit-button.is-loading .account-submit-spinner { display:inline-block; }
    .account-form[aria-busy="true"] input { background:#f4f8fb; color:#61768a; }
    .account-form button:disabled { cursor:not-allowed; opacity:.68; }
    .account-registration-form.is-hidden { display:none; }
    .account-registration-form .account-field-name,
    .account-registration-form .account-field-email,
    .account-agreements { grid-column:1 / -1; }
    .account-agreements { display:grid; gap:9px; margin-top:3px; }
    .account-agreement { display:grid; grid-template-columns:20px minmax(0,1fr); gap:9px; align-items:start; color:#45647e; font-size:12px; font-weight:750; line-height:1.45; cursor:pointer; }
    .account-form .account-agreement input { width:18px; min-width:18px; height:18px; min-height:18px; margin:1px 0 0; padding:0; border-radius:5px; accent-color:#168fdb; }
    .account-agreement a { font-weight:900; }
    .account-link-button { appearance:none; border:0; background:transparent !important; color:#0875b9 !important; box-shadow:none !important; padding:4px 0 !important; min-height:0 !important; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
    .account-login-links { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:14px; }
    .account-recovery-panel { grid-column:1 / -1; display:grid; gap:8px; padding:12px; border:1px solid #cfe4f3; border-radius:14px; background:#f7fbff; }
    .account-recovery-panel.is-hidden { display:none; }
    .account-security-panel .panel-actions { margin-top:10px; }
    .account-verification-state { padding:10px 12px; border-radius:12px; background:#fff7db; color:#72530a; font-size:12px; font-weight:800; }
    .account-verification-state.is-verified { background:#ecfbf4; color:#087553; }
    .account-verification-code { display:grid; gap:8px; max-width:520px; margin-top:10px; padding:12px; border:1px solid rgba(91,157,208,.28); border-radius:14px; background:#f7fbff; }
    .account-verification-code label { color:#42617f; font-size:12px; font-weight:900; }
    .account-verification-code-row { display:grid; grid-template-columns:minmax(0,180px) auto; gap:8px; }
    .account-verification-code input { width:100%; min-width:0; border:1px solid rgba(91,157,208,.40); border-radius:13px; padding:11px 12px; background:#fff; color:#0b2340; text-align:center; font:inherit; font-size:20px; font-weight:950; letter-spacing:.22em; font-variant-numeric:tabular-nums; }
    .account-verification-code small { color:#7891aa; font-size:11px; font-weight:750; line-height:1.4; }
    .account-registration-fields { display:contents; }
    .account-registration-verification { max-width:none; margin:0; }
    .account-registration-verification strong { color:#183c59; font-size:16px; }
    .account-registration-verification p { margin:0; color:#587187; font-size:13px; line-height:1.5; }
    .account-registration-verification .panel-actions { margin-top:2px; }
    @keyframes accountSpinner { to { transform:rotate(360deg); } }
    .account-workspace { display:grid; grid-template-columns:250px minmax(0,1fr); gap:14px; align-items:start; }
    .account-workspace.is-hidden,.account-guest.is-hidden { display:none; }
    .account-sidebar { position:sticky; top:0; overflow:hidden; border:1px solid rgba(125,177,218,.35); border-radius:22px; background:#fff; }
    .account-member { padding:20px 16px 17px; border-bottom:1px solid #deebf4; text-align:center; }
    .account-member-avatar { display:grid; place-items:center; width:58px; height:58px; margin:0 auto 11px; border-radius:19px; background:linear-gradient(145deg,#22b4f2,#2563eb); color:#fff; font-size:20px; font-weight:1000; box-shadow:0 11px 25px rgba(37,99,235,.20); }
    .account-member-copy { min-width:0; }
    .account-member-copy h3,.account-member-copy p { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .account-member-copy h3 { margin:0; font-size:18px; }
    .account-member-copy p { margin:4px 0 0!important; color:#668097!important; font-size:12px; }
    .account-member-badges { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin-top:9px; }
    .account-verified-badge { display:inline-flex; align-items:center; min-height:29px; padding:6px 9px; border:1px solid #efd49e; border-radius:999px; background:#fff8e5; color:#895808; font-size:10px; font-weight:950; }
    .account-verified-badge.is-verified { border-color:#b6e2ce; background:#effbf5; color:#087553; }
    .account-nav { display:grid; gap:4px; padding:9px; }
    .account-nav-button { display:flex; align-items:center; justify-content:flex-start; gap:9px; width:100%; min-height:43px; padding:9px 11px; border:0; border-radius:12px; background:transparent; color:#49677e!important; font-size:12px; font-weight:900; box-shadow:none; text-align:left; }
    .account-nav-button svg { flex:0 0 auto; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
    .account-nav-button.is-active { background:linear-gradient(135deg,#e5f6ff,#edf2ff); color:#076fae!important; }
    .account-nav-button.account-nav-danger { color:#984343!important; }
    .account-nav-button.account-nav-danger.is-active { background:#fff1f1; color:#982f38!important; }
    .account-logout { width:calc(100% - 18px); margin:0 9px 10px; box-shadow:none!important; }
    .account-content { min-width:0; }
    .account-section { min-width:0; padding:24px; border:1px solid rgba(125,177,218,.34); border-radius:22px; background:#fff; }
    .account-section[hidden],.account-section.is-hidden { display:none!important; }
    .account-section-head { margin-bottom:19px; }
    .account-section-head .eyebrow { margin-bottom:6px; }
    .account-section-head h3 { margin:0; font-size:25px; letter-spacing:-.03em; }
    .account-section-head > p:not(.eyebrow) { margin:6px 0 0!important; color:#607990!important; line-height:1.5; }
    .account-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
    .account-metrics > div { min-width:0; padding:14px; border:1px solid #dce9f3; border-radius:15px; background:#f7fbfe; }
    .account-metrics span,.account-metrics strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .account-metrics span { color:#758b9e; font-size:10px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
    .account-metrics strong { margin-top:5px; color:#143652; font-size:15px; }
    .account-overview-cards { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:13px; }
    .account-overview-cards article { display:flex; align-items:flex-start; gap:11px; padding:15px; border:1px solid #dce9f3; border-radius:16px; background:#f8fbfe; }
    .account-overview-cards h4 { margin:0; color:#15334e; font-size:15px; }
    .account-overview-cards p { margin:4px 0 0!important; color:#667f94!important; font-size:12px; line-height:1.45; }
    .account-overview-icon { display:grid; place-items:center; flex:0 0 auto; width:38px; height:38px; border-radius:12px; background:#e5f5ff; color:#0783c6; }
    .account-overview-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
    .app-view:not(#viewRadar) .account-text-button { min-height:0; margin-top:8px; padding:0; border:0; border-radius:0; background:transparent; color:#0877b7!important; font-size:11px; font-weight:950; box-shadow:none; }
    .account-profile-form { display:grid; gap:10px; max-width:720px; margin-top:12px; }
    .account-profile-form label { display:grid; gap:6px; color:#42617f; font-size:13px; font-weight:900; }
    .account-profile-form small { color:#7891aa; font-weight:800; line-height:1.35; }
    .account-form-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
    .account-sync-stats { display:grid; grid-template-columns:1fr 1fr; gap:9px; max-width:720px; }
    .account-sync-stats > div { padding:14px; border:1px solid #dce9f3; border-radius:15px; background:#f7fbfe; }
    .account-sync-stats span,.account-sync-stats strong { display:block; }
    .account-sync-stats span { color:#748a9e; font-size:11px; font-weight:850; }
    .account-sync-stats strong { margin-top:4px; color:#173b58; }
    .account-sync-updated { margin-top:12px!important; color:#72889c!important; font-size:12px; }
    .account-premium-list { display:grid; gap:9px; max-width:720px; margin:0 0 17px; padding:0; list-style:none; color:#46627a; }
    .account-premium-list li { display:flex; gap:8px; align-items:flex-start; }
    .account-premium-list li::before { content:"✓"; display:grid; place-items:center; flex:0 0 auto; width:21px; height:21px; border-radius:50%; background:#e5f8f0; color:#129968; font-size:12px; font-weight:1000; }
    .account-promo { display:grid; gap:7px; max-width:720px; padding:14px; border:1px solid #d5e6f2; border-radius:16px; background:#f7fbff; }
    .account-promo label { color:#42617f; font-size:12px; font-weight:900; }
    .account-promo input { width:100%; border:1px solid rgba(91,157,208,.40); border-radius:14px; padding:12px 14px; background:#fff; color:#0b2340; font:inherit; font-weight:850; text-transform:uppercase; }
    .account-delete-card { border-color:rgba(220,38,38,.22); background:#fffafa; }
    .account-delete-card h3 { color:#991b1b; }
    .account-delete-warning { display:grid; gap:4px; max-width:720px; margin-bottom:14px; padding:13px 14px; border:1px solid #efcccc; border-radius:14px; background:#fff3f3; color:#96323b; }
    .account-delete-warning span { color:#866068; font-size:12px; line-height:1.45; }
    .account-delete-form { display:grid; gap:10px; max-width:720px; margin-top:12px; }
    .account-delete-form label { display:grid; gap:6px; color:#6b3440; font-size:13px; font-weight:900; }
    .account-delete-form small { color:#966271; font-weight:750; line-height:1.4; }
    button.btn-danger { border-color:#efb6b6; background:#fff; color:#b4232d; }
    button.btn-danger:hover { border-color:#dc2626; background:#fff1f2; }
    .permission-dialog { width:min(520px,calc(100% - 28px)); border:0; border-radius:24px; padding:0; color:#10263d; background:#fff; box-shadow:0 28px 90px rgba(7,23,40,.34); }
    .permission-dialog::backdrop { background:rgba(4,20,34,.62); backdrop-filter:blur(4px); }
    .permission-dialog-inner { padding:24px; }
    .permission-dialog h2 { margin:0 0 10px; font-size:24px; }
    .permission-dialog p { margin:0; color:#526b82; line-height:1.58; }
    .permission-dialog .panel-actions { margin-top:20px; }
    .location-remove-dialog { width:min(420px,calc(100% - 28px)); }
    .location-remove-dialog-head { display:flex; align-items:center; gap:13px; margin-bottom:14px; }
    .location-remove-dialog-icon { flex:0 0 auto; width:48px; height:48px; display:grid; place-items:center; border-radius:15px; color:#b4232d; background:#fff0f1; }
    .location-remove-dialog-icon svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
    .location-remove-dialog-head h2 { margin:0; font-size:22px; line-height:1.2; }
    .location-remove-dialog .panel-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
    .location-remove-dialog .panel-actions button { width:100%; min-height:48px; }
    button.location-remove-confirm { border-color:#dc2626; color:#fff; background:linear-gradient(135deg,#ef4444,#c81e2b); box-shadow:0 10px 22px rgba(200,30,43,.20); }
    button.location-remove-confirm:hover { border-color:#b91c1c; color:#fff; background:linear-gradient(135deg,#dc2626,#b91c1c); }
    .premium-prompt-dialog { width:min(430px,calc(100% - 28px)); max-height:calc(100dvh - 24px); overflow:auto; border:0; border-radius:26px; padding:0; color:#10263d; background:#fff; box-shadow:0 30px 100px rgba(5,28,52,.42); }
    .premium-prompt-dialog::backdrop { background:rgba(4,20,34,.68); backdrop-filter:blur(5px); }
    .premium-prompt-hero { position:relative; display:grid; justify-items:center; gap:9px; overflow:hidden; padding:25px 24px 22px; color:#fff; text-align:center; background:linear-gradient(145deg,#0ea5e9 0%,#2563eb 62%,#4338ca 100%); }
    .premium-prompt-hero::before,.premium-prompt-hero::after { content:""; position:absolute; border-radius:50%; background:rgba(255,255,255,.12); }
    .premium-prompt-hero::before { width:150px; height:150px; top:-92px; right:-40px; }
    .premium-prompt-hero::after { width:110px; height:110px; bottom:-72px; left:-34px; }
    .premium-prompt-icon { position:relative; z-index:1; width:58px; height:58px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.54); border-radius:19px; background:rgba(255,255,255,.18); box-shadow:0 12px 30px rgba(17,45,122,.28),inset 0 1px 0 rgba(255,255,255,.35); }
    .premium-prompt-icon svg { width:31px; height:31px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
    .premium-prompt-kicker { position:relative; z-index:1; margin:0!important; color:#dff5ff!important; font-size:11px; font-weight:950; letter-spacing:.13em; line-height:1.2!important; text-transform:uppercase; }
    .premium-prompt-hero h2 { position:relative; z-index:1; margin:0; color:#fff; font-size:26px; line-height:1.15; }
    .premium-prompt-body { padding:22px 22px 20px; }
    .premium-prompt-copy { margin:0; color:#4d6880; font-size:14px; line-height:1.6; }
    .premium-prompt-copy strong { color:#143955; }
    .premium-prompt-benefits { display:grid; gap:9px; margin:18px 0 0; padding:0; list-style:none; }
    .premium-prompt-benefits li { display:flex; align-items:center; gap:10px; color:#31536e; font-size:13px; font-weight:850; }
    .premium-prompt-benefits li::before { content:"\2713"; flex:0 0 auto; width:23px; height:23px; display:grid; place-items:center; border-radius:50%; color:#087553; background:#e5f8f0; font-size:12px; font-weight:1000; }
    .premium-prompt-price { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-top:18px; padding:12px 14px; border:1px solid #cfe5f4; border-radius:15px; color:#5b7388; background:#f3f9fd; font-size:11px; font-weight:850; }
    .premium-prompt-price strong { color:#0b6da8; font-size:19px; font-weight:1000; white-space:nowrap; }
    .premium-prompt-actions { display:grid!important; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); gap:10px!important; width:100%; margin-top:18px!important; }
    .premium-prompt-actions button { width:100%; min-height:49px; border-radius:15px; font-size:14px; font-weight:950; }
    .premium-prompt-close:disabled { cursor:wait; opacity:.62; }
    .premium-prompt-buy { border-color:#1687e6; color:#fff; background:linear-gradient(135deg,#19a9ed,#2468ed); box-shadow:0 11px 24px rgba(37,104,237,.23); }
    .premium-prompt-buy:hover { background:linear-gradient(135deg,#129bdd,#1d5fe2); }
    #nativePermissionOnboarding .native-permission-actions { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:12px; width:100%; }
    #nativePermissionOnboarding .native-permission-actions button { width:100%; min-height:52px; padding:13px 18px; border-radius:16px; font-size:15px; font-weight:750; line-height:1; box-shadow:none; }
    #nativePermissionOnboardingDecline { border:1px solid #cbdce8; background:#f4f8fb; color:#39566e; }
    #nativePermissionOnboardingDecline:hover { border-color:#adc8da; background:#ebf3f8; }
    #nativePermissionOnboardingAccept { border:1px solid #1687e6; background:linear-gradient(135deg,#19a9ed,#2468ed); color:#fff; box-shadow:0 12px 24px rgba(37,104,237,.25)!important; }
    #nativePermissionOnboardingAccept:hover { background:linear-gradient(135deg,#129bdd,#1d5fe2); }
    .app-weather-warning-wrap { flex:0 0 auto; padding:8px 12px 0; background:#f1f7fd; }
    .app-weather-warning-wrap[hidden] { display:none; }
    .app-weather-warning { width:100%; min-height:62px; display:grid; grid-template-columns:minmax(0,1fr) 42px; align-items:center; gap:6px; color:#17324d; text-align:left; }
    .app-weather-warning-items { min-width:0; display:flex; gap:7px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; scrollbar-width:none; }
    .app-weather-warning-items::-webkit-scrollbar { display:none; }
    .app-weather-warning-link { flex:0 0 calc((100% - 7px)/2); min-width:0; min-height:60px; display:grid; grid-template-columns:36px minmax(0,1fr); align-items:center; gap:8px; padding:8px; border:1px solid var(--warning-border,#e3b800); border-radius:15px; background:var(--warning-bg,#fff9cf); color:var(--warning-text,#523e00); box-shadow:0 8px 22px rgba(10,48,78,.08); text-decoration:none; scroll-snap-align:start; }
    .app-weather-warning-items[data-count="1"] .app-weather-warning-link { flex-basis:100%; grid-template-columns:40px minmax(0,1fr) 20px; gap:10px; padding:9px 5px 9px 11px; }
    .app-weather-warning-link:hover { filter:brightness(.975); }
    .app-weather-warning-link:focus-visible,
    .app-weather-warning-close:focus-visible { outline:3px solid rgba(14,165,233,.38); outline-offset:-3px; }
    .app-weather-warning-close { width:34px; height:34px; display:grid; place-items:center; justify-self:center; padding:0; border:1px solid color-mix(in srgb,currentColor 22%,transparent); border-radius:11px; background:rgba(255,255,255,.48); color:inherit; box-shadow:none; font-size:22px; font-weight:700; line-height:1; }
    .app-weather-warning-close:hover { background:rgba(255,255,255,.78); transform:none; }
    .app-weather-warning-icon { width:40px; height:40px; display:grid; place-items:center; border-radius:13px; background:var(--warning-accent,#ffd400); color:var(--warning-icon,#172033); }
    .app-weather-warning-icon svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
    .app-weather-warning-copy { min-width:0; display:grid; gap:1px; }
    .app-weather-warning-copy small { color:inherit; font-size:9px; font-weight:950; letter-spacing:.10em; line-height:1.25; text-transform:uppercase; opacity:.76; }
    .app-weather-warning-copy strong { overflow:hidden; color:inherit; font-size:13px; font-weight:950; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
    .app-weather-warning-copy span { overflow:hidden; display:-webkit-box; color:inherit; font-size:10px; font-weight:800; line-height:1.25; -webkit-box-orient:vertical; -webkit-line-clamp:2; opacity:.78; }
    .app-weather-warning-chevron { color:inherit; font-size:24px; font-weight:700; line-height:1; opacity:.7; }
    .app-weather-warning-items:not([data-count="1"]) .app-weather-warning-icon { width:34px; height:34px; border-radius:11px; }
    .app-weather-warning-items:not([data-count="1"]) .app-weather-warning-icon svg { width:21px; height:21px; }
    .app-weather-warning-items:not([data-count="1"]) .app-weather-warning-copy small { font-size:8px; letter-spacing:.06em; white-space:nowrap; }
    .app-weather-warning-items:not([data-count="1"]) .app-weather-warning-copy strong { font-size:12px; }
    .app-weather-warning-items:not([data-count="1"]) .app-weather-warning-chevron { display:none; }
    .app-weather-warning--geel { --warning-bg:#fff9cf; --warning-border:#e3b800; --warning-accent:#ffd400; --warning-text:#3d3100; --warning-icon:#172033; }
    .app-weather-warning--oranje { --warning-bg:#fff0df; --warning-border:#f97316; --warning-accent:#f97316; --warning-text:#6f2705; --warning-icon:#fff; }
    .app-weather-warning--rood { --warning-bg:#fff0f0; --warning-border:#dc2626; --warning-accent:#dc2626; --warning-text:#7f1010; --warning-icon:#fff; }
    .app-weather-warning-dialog { max-height:min(720px,calc(100dvh - 28px)); overflow:auto; }
    .app-weather-warning-dialog .permission-dialog-inner { position:relative; }
    .app-weather-warning-dialog-close { position:absolute; top:16px; right:16px; width:40px; height:40px; display:grid; place-items:center; padding:0; border:1px solid #c9ddea; border-radius:12px; background:#f4f9fd; color:#37566f; box-shadow:none; font-size:25px; line-height:1; }
    .app-weather-warning-dialog-head { display:flex; align-items:center; gap:12px; padding-right:44px; margin-bottom:14px; }
    .app-weather-warning-dialog-head .app-weather-warning-icon { flex:0 0 auto; }
    .app-weather-warning-dialog-head-copy { min-width:0; }
    .app-weather-warning-dialog .eyebrow { margin:0 0 3px; color:#59728a; }
    .app-weather-warning-dialog h2 { margin:0; font-size:23px; line-height:1.15; }
    .app-weather-warning-dialog-meta { margin:0 0 16px !important; padding:10px 12px; border-radius:12px; background:#f2f7fb; color:#385a73 !important; font-size:12px; font-weight:850; }
    .app-weather-warning-dialog-description { white-space:pre-line; }
    .app-weather-warning-dialog-note { margin-top:14px !important; padding-top:14px; border-top:1px solid #d8e6f0; font-size:12px; font-weight:750; }
    .app-weather-warning-dialog .panel-actions button,
    .app-weather-warning-dialog .panel-actions a { min-height:42px; }
    .account-actions { display:grid; gap:10px; justify-items:start; }
    .account-actions.is-hidden, .account-form.is-hidden { display:none; }
    .premium-badge { display:inline-flex; align-items:center; min-height:34px; border-radius:999px; padding:8px 12px; background:#e0f2fe; color:#075985; border:1px solid rgba(14,165,233,.26); font-weight:950; font-size:13px; }
    .premium-badge.is-premium { background:linear-gradient(135deg,#0ea5e9,#2563eb); color:#fff; border-color:rgba(255,255,255,.58); box-shadow:0 10px 24px rgba(37,99,235,.18), inset 0 1px 0 rgba(255,255,255,.25); }
    .panel-item p, .panel p { color:#c7d2e3; line-height:1.55; margin:0; }
    .panel-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
    .panel-actions a { display:inline-flex; align-items:center; justify-content:center; min-height:42px; border-radius:14px; padding:10px 14px; font-weight:850; text-decoration:none; }
    .field-label { display:block; color:#42617f; font-size:13px; font-weight:850; margin:14px 0 7px; }
    .select-control { width:100%; border:1px solid rgba(125,177,218,.42); border-radius:14px; padding:11px 12px; background:#fff; color:#0b2340; font:inherit; font-weight:850; }
    .theme-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; margin-top:14px; }
    .theme-choice { display:flex; align-items:center; gap:8px; justify-content:flex-start; padding:9px 10px; border-radius:14px; background:#fff; border:1px solid rgba(125,177,218,.34); color:#174566; box-shadow:none; }
    .theme-choice span { min-width:0; overflow:hidden; color:#174566 !important; font-weight:950; text-shadow:none !important; text-overflow:ellipsis; white-space:nowrap; }
    .theme-choice.active { border-color:rgba(14,165,233,.78); background:#e4f4ff; color:#0b2340; box-shadow:none; }
    .theme-choice.active span { color:#0b2340 !important; text-shadow:none; }
    .theme-choice:disabled { opacity:.55; cursor:not-allowed; }
    .theme-choice:disabled span { color:#5b7186 !important; }
    .theme-choice.is-unavailable span::after { content:" binnenkort"; margin-left:4px; color:#6b86a0; font-size:11px; font-weight:800; }
    .theme-swatch { width:28px; height:20px; border-radius:7px; border:1px solid rgba(15,41,66,.14); box-shadow:inset 0 0 0 1px rgba(15,23,42,.08); }
    .theme-default { background:linear-gradient(135deg,#bcd2d8 0 35%,#dff1df 35% 70%,#f2f5ee 70%); }
    .theme-darkgreen { background:linear-gradient(135deg,#071a8a 0 35%,#167a2f 35% 70%,#0f6725 70%); }
    .theme-fresh { background:linear-gradient(135deg,#bcd2d8 0 35%,#bdebb8 35% 70%,#edf5e8 70%); }
    .theme-sand { background:linear-gradient(135deg,#bcd2d8 0 35%,#eadca8 35% 70%,#f6f1df 70%); }
    .theme-slate { background:linear-gradient(135deg,#bcd2d8 0 35%,#d2d8df 35% 70%,#eef1f4 70%); }
    .theme-dark { background:linear-gradient(135deg,#bcd2d8 0 35%,#1f3d35 35% 70%,#263241 70%); }
    .theme-night { background:linear-gradient(135deg,#bcd2d8 0 35%,#102a43 35% 70%,#111827 70%); }
    .theme-pastel { background:linear-gradient(135deg,#bcd2d8 0 35%,#c7f0dd 35% 70%,#f2e4b8 70%); }
    .theme-contrast { background:linear-gradient(135deg,#9fc7d4 0 35%,#cce8bc 35% 70%,#fff3bf 70%); }
    .theme-ice { background:linear-gradient(135deg,#bcd2d8 0 35%,#d9f2f4 35% 70%,#f5fbfb 70%); }
    .theme-weather { background:linear-gradient(135deg,#3f7773 0 35%,#93b957 35% 70%,#ffffff 70%); }
    .theme-terrain { background:linear-gradient(135deg,#0f4f78 0 35%,#3f7424 35% 70%,#ffffff 70%); }
    .theme-osm-detail { background:linear-gradient(135deg,#347f91 0 35%,#8fba53 35% 70%,#ffffff 70%); }
    .osm-detail-tiles { filter:saturate(.92) contrast(.98) brightness(1.02); }
    .weather-sections { display:grid; grid-template-columns:1fr; gap:16px; margin-top:18px; }
    .weather-block { border:1px solid rgba(125,177,218,.32); border-radius:26px; padding:18px; background:linear-gradient(180deg,#fff,#f7fbff); box-shadow:0 12px 34px rgba(38,93,140,.08); }
    .weather-head { display:flex; align-items:start; justify-content:space-between; gap:14px; margin-bottom:14px; }
    .weather-head p { margin-top:4px; }
    .place-search { position:relative; display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:start; gap:8px; margin:10px 0 14px; }
    .place-search:focus-within { z-index:30; }
    .place-autocomplete { position:relative; min-width:0; }
    .place-input-wrap { position:relative; }
    .place-search input { min-width:0; width:100%; min-height:48px; border:1px solid rgba(91,157,208,.40); border-radius:16px; padding:12px 78px 12px 14px; background:#fff; color:#0b2340; font:inherit; font-weight:850; box-shadow:inset 0 1px 0 rgba(255,255,255,.75), 0 8px 22px rgba(30,102,168,.05); transition:border-color .16s ease, box-shadow .16s ease, background .16s ease; }
    .place-search input::placeholder { color:#7891aa; }
    .place-search input::-webkit-search-cancel-button, .place-search input::-webkit-search-decoration { display:none; -webkit-appearance:none; appearance:none; }
    .place-search input:focus { outline:0; border-color:#38a9ef; box-shadow:0 0 0 3px rgba(14,165,233,.15), 0 9px 24px rgba(30,102,168,.09); }
    .place-search button { min-height:48px; padding:10px 16px; border-radius:16px; white-space:nowrap; }
    .place-search button:focus-visible { outline:0; box-shadow:0 0 0 3px rgba(14,165,233,.22), 0 0 0 1px rgba(14,165,233,.62) inset; }
    .place-search-spinner { position:absolute; right:15px; top:50%; width:18px; height:18px; margin-top:-9px; border:2px solid #d6e9f8; border-top-color:#168de2; border-radius:50%; opacity:0; visibility:hidden; pointer-events:none; transition:right .12s ease; }
    .place-autocomplete.has-value .place-search-spinner { right:49px; }
    .place-autocomplete.is-loading .place-search-spinner { opacity:1; visibility:visible; animation:placeSpinner .7s linear infinite; }
    .app-view:not(#viewRadar) .place-search .place-clear { position:absolute; z-index:2; right:7px; top:50%; display:grid; place-items:center; width:34px; min-width:34px; height:34px; min-height:34px; margin-top:-17px; padding:0; border:0; border-radius:11px; background:transparent; color:#174f78; box-shadow:none; touch-action:manipulation; }
    .app-view:not(#viewRadar) .place-search .place-clear[hidden] { display:none; }
    .place-clear svg { display:block; width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2.7; stroke-linecap:round; pointer-events:none; }
    .app-view:not(#viewRadar) .place-search .place-clear:hover { background:#eaf6ff; color:#075f96; }
    .app-view:not(#viewRadar) .place-search .place-clear:active { transform:scale(.94); }
    .app-view:not(#viewRadar) .place-search .place-clear:focus-visible { outline:2px solid #38a9ef; outline-offset:1px; box-shadow:none; }
    @keyframes placeSpinner { to { transform:rotate(360deg); } }
    .place-suggestions { position:absolute; z-index:40; top:calc(100% + 7px); left:0; right:0; max-height:min(390px,58dvh); overflow-x:hidden; overflow-y:auto; border:1px solid rgba(91,157,208,.36); border-radius:17px; background:rgba(255,255,255,.98); box-shadow:0 18px 45px rgba(15,57,92,.19); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
    .place-suggestions[hidden] { display:none; }
    .place-search .place-suggestion { display:grid; grid-template-columns:38px minmax(0,1fr); align-items:center; gap:10px; width:100%; min-height:58px; padding:9px 12px; border:0; border-bottom:1px solid rgba(125,177,218,.20); border-radius:0; background:transparent; color:#0b2340; text-align:left; white-space:normal; box-shadow:none; }
    .place-search .place-suggestion:last-child { border-bottom:0; }
    .place-search .place-suggestion:hover, .place-search .place-suggestion.is-active { background:#edf8ff; }
    .place-search .place-suggestion:focus-visible { position:relative; z-index:1; outline:2px solid #38a9ef; outline-offset:-2px; box-shadow:none; }
    .place-suggestion-icon { display:grid; place-items:center; width:36px; height:36px; border:1px solid #cce8fa; border-radius:12px; background:#f4fbff; color:#168de2; font-size:20px; font-weight:700; }
    .place-suggestion-copy { min-width:0; }
    .place-suggestion-copy strong, .place-suggestion-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .place-suggestion-copy strong { color:#0b2340; font-size:13px; line-height:1.25; }
    .place-suggestion-copy small { margin-top:3px; color:#66819b; font-size:11px; font-weight:750; line-height:1.25; }
    .place-suggestion-message { display:flex; align-items:center; gap:10px; min-height:54px; padding:11px 14px; color:#66819b; font-size:12px; font-weight:800; }
    .place-suggestion-message .mini-spinner { flex:0 0 auto; width:17px; height:17px; border:2px solid #d6e9f8; border-top-color:#168de2; border-radius:50%; animation:placeSpinner .7s linear infinite; }
    .weather-now { display:grid; grid-template-columns:1.2fr repeat(3, minmax(0, 1fr)); gap:10px; margin-bottom:14px; }
    .weather-stat { border:1px solid rgba(148,163,184,.16); border-radius:16px; padding:13px; background:rgba(15,23,42,.72); }
    .weather-stat small { display:block; color:#93a4b8; font-weight:800; margin-bottom:6px; }
    .weather-stat strong { display:block; font-size:22px; }
    .weather-summary { display:flex; align-items:center; gap:12px; }
    .weather-icon { flex:0 0 auto; display:inline-grid; place-items:center; width:48px; height:48px; border-radius:17px; font-size:28px; line-height:1; background:#e8f5ff; color:#1499e8; box-shadow:inset 0 0 0 1px rgba(20,153,232,.16); filter:drop-shadow(0 8px 18px rgba(56,189,248,.14)); }
    .weather-icon-sun { background:#fff7df; color:#ff9f0a; }
    .weather-icon-night { background:#eff6ff; color:#5b7bbd; }
    .weather-icon-partly { background:#fff7df; color:#ff9f0a; }
    .weather-icon-cloud { background:#e9f1f8; color:#5c7188; }
    .weather-icon-rain { background:#e5f2ff; color:#2563eb; }
    .weather-icon-heavy { background:#ffe7e7; color:#ef4444; }
    .weather-icon-thunder { background:#fff4d8; color:#e08a00; }
    .weather-icon-snow { background:#edf8ff; color:#40a9ff; }
    .weather-icon-ice { background:#effbff; color:#0ea5b7; }
    .weather-icon-storm { background:#edf0f7; color:#475569; }
    .weather-icon svg { width:38px; height:38px; display:block; overflow:visible; }
    .weather-day .weather-icon { width:48px; height:48px; margin:0; }
    .weather-days { display:grid; grid-template-columns:1fr; gap:14px; }
    .weather-day { position:relative; overflow:hidden; border:1px solid rgba(91,157,208,.32); border-radius:24px; padding:0; background:linear-gradient(135deg,#ffffff 0%,#f7fbff 54%,#eef9ff 100%); cursor:pointer; text-align:left; box-shadow:0 10px 28px rgba(30,86,135,.08); transition:border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
    .weather-day::before { content:""; position:absolute; inset:0 auto 0 0; width:6px; background:linear-gradient(180deg,#38bdf8,#2563eb); opacity:.75; }
    .weather-day:hover { transform:translateY(-1px); border-color:rgba(14,165,233,.58); box-shadow:0 14px 34px rgba(30,86,135,.12); }
    .weather-day.active { border-color:rgba(14,165,233,.80); background:linear-gradient(135deg,#effaff 0%,#fff 60%,#e8f7ff 100%); box-shadow:0 16px 40px rgba(14,116,144,.14); }
    .weather-day-main { display:grid; grid-template-columns:auto 1fr minmax(280px, 410px) 34px; gap:14px; align-items:center; padding:16px 16px 16px 22px; }
    .weather-day-title { min-width:0; }
    .weather-day-title strong { display:block; margin:0 0 4px; color:#082f49; font-size:18px; line-height:1.15; letter-spacing:-.02em; }
    .weather-day-title span { display:block; color:#3c5d7d; font-size:13px; line-height:1.35; }
    .weather-day-meta { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:7px; justify-content:end; min-width:0; width:100%; }
    .weather-chip { display:inline-flex; align-items:center; justify-content:center; min-height:30px; border-radius:999px; padding:7px 10px; background:rgba(224,246,255,.82); border:1px solid rgba(14,165,233,.24); color:#0f4566; font-size:12px; font-weight:900; white-space:normal; text-align:center; line-height:1.18; min-width:0; overflow-wrap:anywhere; box-shadow:inset 0 1px 0 rgba(255,255,255,.85); }
    .weather-chip-wide { grid-column:auto; }
    .weather-chevron { width:32px; height:32px; display:flex; align-items:center; justify-content:center; border-radius:999px; background:#dff3ff; color:#0369a1; font-size:18px; font-weight:950; border:1px solid rgba(14,165,233,.20); transition:transform .18s ease, background .18s ease, color .18s ease; }
    .weather-day.active .weather-chevron { transform:rotate(180deg); background:linear-gradient(135deg,#38bdf8,#2563eb); color:#fff; }
    .weather-hours { display:grid; gap:8px; margin:0; }
    .weather-day-hours { display:none; padding:0 16px 16px 22px; }
    .weather-day.active .weather-day-hours { display:grid; gap:8px; animation:forecastOpen .18s ease-out; }
    @keyframes forecastOpen { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
    .weather-hour { display:grid; grid-template-columns:52px 48px minmax(0, 1fr); align-items:center; gap:10px; border:1px solid rgba(125,177,218,.28); border-radius:16px; padding:10px 11px; background:rgba(255,255,255,.86); color:#42617f; font-size:13px; box-shadow:0 6px 18px rgba(30,86,135,.06); }
    .weather-hour-main { min-width:0; }
    .weather-hour-main > span { display:block; color:#0b2340; line-height:1.25; }
    .weather-hour-main small { display:block; margin-top:3px; color:#66819b; font-weight:850; line-height:1.28; white-space:normal; }
    .weather-hour-main small + small { margin-top:2px; }
    .weather-hour-main .weather-hour-wind { color:#3f6688; }
    .weather-hour strong { color:#0b2340; }
    .weather-hour .weather-icon { width:42px; height:42px; border-radius:0; font-size:25px; margin:0; background:transparent; box-shadow:none; filter:drop-shadow(0 2px 2px rgba(15,41,66,.10)); }
    .weather-hour-visual { position:relative; width:42px; height:42px; display:grid; place-items:center; overflow:visible; }
    .weather-hour-visual .forecast-wind-sock { position:absolute; right:-3px; top:-7px; width:20px; height:20px; border-radius:999px; padding:1px; background:rgba(255,255,255,.94); box-shadow:0 2px 7px rgba(15,41,66,.16); }
    .weather-source { color:#8fa0b4; font-size:11px; line-height:1.45; margin-top:14px; }
    .forecast-panel { display:block; padding:0; background:#fff!important; }
    .forecast-app-head { padding:24px 28px 18px; }
    .forecast-app-head h2 { font-size:clamp(27px,4vw,38px); }
    .forecast-app-head p:not(.eyebrow) { max-width:760px; margin:7px 0 0; color:#60758a; font-size:14px; line-height:1.55; }
    .forecast-view-switch { display:flex; align-items:center; gap:5px; width:max-content; max-width:calc(100% - 56px); margin:0 28px 18px; padding:5px; border:1px solid #d3e5f2; border-radius:15px; background:#edf6fc; }
    .app-view:not(#viewRadar) .forecast-view-button { min-height:40px; padding:9px 16px; border:0; border-radius:11px; background:transparent; color:#536d84; box-shadow:none; font:inherit; font-size:13px; font-weight:950; cursor:pointer; }
    .app-view:not(#viewRadar) .forecast-view-button.active { background:#fff; color:#096eae; box-shadow:0 5px 15px rgba(15,76,117,.13); }
    .forecast-view-button:focus-visible,.forecast-part-tab:focus-visible { outline:3px solid rgba(20,153,232,.25); outline-offset:2px; }
    .forecast-shared-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; min-height:61px; padding:0 28px 18px; }
    .forecast-shared-controls [hidden],.forecast-view-panel[hidden] { display:none!important; }
    .forecast-part-tabs { display:flex; flex-wrap:wrap; gap:7px; padding:4px; border-radius:14px; background:#edf6fc; }
    .app-view:not(#viewRadar) .forecast-part-tab { min-height:37px; padding:8px 13px; border:0; border-radius:10px; background:transparent; color:#536d84; box-shadow:none; font:inherit; font-size:13px; font-weight:900; cursor:pointer; }
    .app-view:not(#viewRadar) .forecast-part-tab.active { background:#fff; color:#096eae; box-shadow:0 4px 13px rgba(15,76,117,.12); }
    .forecast-local-search { position:relative; z-index:9; display:flex; flex:1 1 330px; justify-content:flex-end; min-width:260px; }
    .forecast-local-search .place-search { width:min(100%,410px); margin:0; }
    .forecast-local-search .place-suggestions { top:calc(100% + 6px); }
    .forecast-overview-body { display:grid; grid-template-columns:minmax(350px,.76fr) minmax(610px,1.24fr); border-top:1px solid #dbeaf4; background:linear-gradient(135deg,#eaf7ff 0%,#f7fbff 100%); }
    .forecast-map-wrap { display:grid; place-items:center; padding:18px; border-right:1px solid #dbeaf4; }
    .forecast-map-stage { position:relative; width:min(100%,430px); aspect-ratio:460 / 496; isolation:isolate; }
    .forecast-map-stage>img { position:absolute; inset:0; z-index:0; display:block; width:100%; height:100%; }
    .forecast-map-stage.local-map-stage { overflow:hidden; border-radius:20px; background:#cfefff; }
    .forecast-map-stage.local-map-stage>img { inset:auto; left:var(--local-map-left,0%); top:var(--local-map-top,0%); width:var(--local-map-size,100%); height:var(--local-map-size,100%); max-width:none; }
    .forecast-map-date { position:absolute; left:10px; bottom:10px; z-index:4; max-width:calc(100% - 20px); padding:8px 11px; overflow:hidden; border:1px solid rgba(255,255,255,.84); border-radius:999px; background:rgba(11,41,71,.88); color:#fff; font-size:11px; line-height:1; font-weight:950; text-overflow:ellipsis; white-space:nowrap; box-shadow:0 6px 18px rgba(8,55,87,.22); backdrop-filter:blur(7px); }
    .forecast-region-marker { position:absolute; left:calc(var(--map-x) * 1%); top:calc(var(--map-y) * 1%); z-index:2; display:grid; grid-template-columns:40px auto; align-items:center; min-width:76px; padding:2px 8px 2px 4px; transform:translate(-50%,-50%); border:1px solid rgba(255,255,255,.82); border-radius:13px; background:rgba(255,255,255,.94); color:#0d365b; box-shadow:0 6px 18px rgba(8,55,87,.24); backdrop-filter:blur(6px); }
    .forecast-region-marker .weather-icon { width:39px; height:39px; border:0; border-radius:0; background:transparent; box-shadow:none; filter:drop-shadow(0 2px 2px rgba(15,41,66,.15)); }
    .forecast-region-marker .weather-icon svg { width:38px; height:38px; }
    .forecast-region-temp { font-size:18px; line-height:1; font-weight:950; letter-spacing:-.035em; }
    .forecast-map-wind-marker { position:absolute; left:calc(var(--wind-x) * 1%); top:calc(var(--wind-y) * 1%); z-index:3; display:grid; grid-template-columns:39px auto; grid-template-rows:auto auto; column-gap:6px; align-items:center; transform:translate(-50%,-50%); color:#0b2947; }
    .forecast-map-wind-direction { grid-row:1 / 3; display:grid; place-items:center; width:37px; height:37px; border:2px solid rgba(255,255,255,.96); border-radius:50%; background:linear-gradient(145deg,#43b9f2,#087dc4); color:#fff; box-shadow:0 4px 11px rgba(8,96,155,.30); }
    .forecast-map-wind-direction svg { display:block; width:25px; height:25px; overflow:visible; transform:rotate(var(--wind-angle)); filter:drop-shadow(0 1px 1px rgba(0,44,79,.25)); }
    .forecast-map-wind-force { align-self:end; color:#0b2947; font-size:17px; line-height:1; font-weight:950; white-space:nowrap; text-shadow:-1px 0 #fff,0 1px #fff,1px 0 #fff,0 -1px #fff,0 2px 5px rgba(255,255,255,.95); }
    .forecast-map-wind-label { align-self:start; margin-top:4px; color:#3c637f; font-size:9px; line-height:1; font-weight:950; white-space:nowrap; text-shadow:-1px 0 #fff,0 1px #fff,1px 0 #fff,0 -1px #fff,0 2px 4px rgba(255,255,255,.95); }
    .forecast-map-wind-marker .forecast-wind-sock { position:absolute; right:-8px; top:-17px; width:24px; height:24px; }
    .forecast-local-layer { position:absolute; inset:0; z-index:3; pointer-events:none; }
    .forecast-local-layer .forecast-map-wind-marker { grid-template-columns:34px auto; column-gap:6px; }
    .forecast-local-layer .forecast-map-wind-direction { width:32px; height:32px; border-width:1.5px; }
    .forecast-local-layer .forecast-map-wind-direction svg { width:21px; height:21px; }
    .forecast-local-layer .forecast-map-wind-force { font-size:16px; }
    .forecast-local-layer .forecast-map-wind-label { color:#315c79; font-size:9px; }
    .forecast-local-marker { position:absolute; left:calc(var(--place-x) * 1%); top:calc(var(--place-y) * 1%); display:flex; flex-direction:column; align-items:center; transform:translate(-50%,-100%); filter:drop-shadow(0 8px 14px rgba(8,55,87,.25)); }
    .forecast-local-card { display:grid; grid-template-columns:40px minmax(0,auto); align-items:center; min-width:116px; max-width:180px; padding:4px 10px 4px 5px; border:2px solid #fff; border-radius:14px; background:rgba(255,255,255,.97); color:#0b2947; box-shadow:0 7px 20px rgba(8,55,87,.18); }
    .forecast-local-card .weather-icon,.forecast-local-card .weather-icon svg { width:38px; height:38px; border:0; border-radius:0; background:transparent; box-shadow:none; }
    .forecast-local-copy { display:grid; min-width:0; gap:1px; }
    .forecast-local-temp { font-size:19px; line-height:1; font-weight:950; letter-spacing:-.035em; }
    .forecast-local-name { overflow:hidden; color:#49677f; font-size:9px; line-height:1.2; font-weight:950; text-overflow:ellipsis; white-space:nowrap; }
    .forecast-local-pin { width:15px; height:15px; margin-top:-1px; border:4px solid #fff; border-radius:50%; background:#1499e8; box-shadow:0 2px 7px rgba(8,96,155,.36); }
    .forecast-map-outside { position:absolute; top:10px; left:50%; max-width:calc(100% - 24px); padding:8px 11px; transform:translateX(-50%); border:1px solid #cfe2f0; border-radius:999px; background:rgba(255,255,255,.95); color:#315c79; font-size:10px; font-weight:900; white-space:nowrap; box-shadow:0 6px 16px rgba(8,55,87,.14); }
    .forecast-outlook { display:flex; flex-direction:column; min-width:0; padding:20px; background:rgba(255,255,255,.72); }
    .forecast-outlook-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:12px; }
    .forecast-outlook-head h3 { margin:0; color:#10263d; font-size:20px; letter-spacing:-.025em; }
    .forecast-outlook-head p { margin:4px 0 0; color:#6b8092; font-size:11px; line-height:1.4; }
    .forecast-outlook-badge { flex:0 0 auto; padding:6px 9px; border-radius:999px; background:#e5f4ff; color:#1477b8; font-size:10px; font-weight:950; }
    .forecast-scroll-hint { display:none; }
    .forecast-outlook-grid { display:grid; flex:1; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; }
    .forecast-outlook-card { display:flex; flex-direction:column; align-items:stretch; min-width:0; min-height:300px; padding:11px 6px 10px; border:1px solid #d3e5f2; border-radius:13px; appearance:none; background:rgba(255,255,255,.94); color:#0b2947; font:inherit; text-align:center; box-shadow:0 7px 19px rgba(15,65,102,.07); cursor:pointer; transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease; scroll-snap-align:start; }
    .forecast-outlook-card:hover { border-color:#88c4ea; transform:translateY(-1px); box-shadow:0 9px 23px rgba(15,65,102,.12); }
    .forecast-outlook-card:focus-visible { outline:3px solid rgba(20,153,232,.3); outline-offset:2px; }
    .forecast-outlook-card.is-selected { border-color:#2f82d2; background:linear-gradient(155deg,#3489da,#2778c8); color:#fff; box-shadow:0 9px 23px rgba(35,113,185,.22); }
    .forecast-outlook-date { display:grid; justify-items:center; gap:2px; min-height:31px; margin-bottom:3px; color:#61788d; font-size:9px; font-weight:950; text-transform:uppercase; }
    .forecast-outlook-date strong { overflow:hidden; color:#155d99; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
    .forecast-outlook-card.is-selected .forecast-outlook-date { color:#dceeff; }
    .forecast-outlook-card.is-selected .forecast-outlook-date strong { color:#fff; }
    .forecast-outlook-card .weather-icon { width:42px; height:42px; margin:2px auto 0; border:0; border-radius:0; background:transparent; box-shadow:none; }
    .forecast-outlook-card .weather-icon svg { width:40px; height:40px; }
    .forecast-outlook-temps { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; margin-top:1px; }
    .forecast-outlook-max { font-size:24px; line-height:1; font-weight:950; letter-spacing:-.045em; }
    .forecast-outlook-min { color:#75899b; font-size:12px; font-weight:900; }
    .forecast-outlook-card.is-selected .forecast-outlook-min { color:#d2e8fb; }
    .forecast-outlook-condition { display:-webkit-box; overflow:hidden; min-height:42px; margin:9px 0; color:#6f6070; font-size:10px; line-height:1.35; font-weight:900; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
    .forecast-outlook-card.is-selected .forecast-outlook-condition { color:#fff; }
    .forecast-outlook-metrics { display:grid; gap:4px; margin-top:auto; }
    .forecast-outlook-metric { display:flex; align-items:center; justify-content:space-between; gap:3px; min-width:0; padding:4px 2px; border-radius:999px; background:#eef7fc; color:#6a8093; font-size:9px; font-weight:850; }
    .forecast-outlook-metric strong { overflow:hidden; color:#0b416e; font-size:9.5px; text-overflow:ellipsis; white-space:nowrap; }
    .forecast-outlook-card.is-selected .forecast-outlook-metric { background:rgba(255,255,255,.16); color:#dceeff; }
    .forecast-outlook-card.is-selected .forecast-outlook-metric strong { color:#fff; }
    .forecast-outlook-wind { position:relative; display:grid; justify-items:center; gap:2px; margin-top:7px; color:#657b8f; font-size:11px; line-height:1.15; font-weight:950; }
    .forecast-outlook-card.is-selected .forecast-outlook-wind { color:#fff; }
    .forecast-outlook-wind .forecast-map-wind-direction { grid-row:auto; width:29px; height:29px; border-width:1.5px; }
    .forecast-outlook-wind .forecast-map-wind-direction svg { width:20px; height:20px; }
    .forecast-outlook-wind-value { white-space:nowrap; }
    .forecast-outlook-wind .forecast-wind-sock { position:absolute; right:1px; top:-2px; width:18px; height:18px; }
    .forecast-note { margin:13px 0 0; color:#7890a4; font-size:11px; line-height:1.5; }
    .forecast-loading { grid-column:1 / -1; min-width:100%; padding:36px 24px; color:#60758a; font-weight:850; text-align:center; }
    .forecast-wind-sock { flex:0 0 auto; display:inline-block; width:20px; height:20px; filter:drop-shadow(0 1px 1px rgba(15,41,66,.18)); }
    .forecast-wind-sock svg { display:block; width:100%; height:100%; overflow:visible; }
    .info-panel { padding-bottom:28px; }
    .info-panel > .info-lead { max-width:760px; margin:8px 0 0; color:#42617f; font-size:14px; line-height:1.6; }
    .info-overview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:20px; }
    .info-overview-item { min-width:0; padding:13px 14px; border:1px solid rgba(125,177,218,.25); border-radius:15px; background:#fff; }
    .info-overview-item strong { display:block; margin-bottom:3px; color:#0b3154; font-size:13px; }
    .info-overview-item span { display:block; color:#66819b; font-size:11px; line-height:1.4; }
    .info-sections { display:grid; gap:10px; margin-top:16px; }
    .info-section { min-width:0; padding:0; overflow:hidden; }
    .info-section > summary { position:relative; display:grid; grid-template-columns:38px minmax(0,1fr) 28px; align-items:center; gap:12px; min-height:72px; padding:13px 15px; cursor:pointer; list-style:none; -webkit-tap-highlight-color:transparent; }
    .info-section > summary::-webkit-details-marker { display:none; }
    .info-section > summary::after { content:""; justify-self:end; width:8px; height:8px; margin-right:5px; border-right:2px solid #4a7596; border-bottom:2px solid #4a7596; transform:rotate(45deg) translate(-2px,-2px); transition:transform .18s ease; }
    .info-section[open] > summary::after { transform:rotate(225deg) translate(-1px,-1px); }
    .info-section > summary:focus-visible { outline:3px solid rgba(14,165,233,.3); outline-offset:-3px; }
    .info-section[open] > summary { background:#f8fcff; }
    .info-section-icon { display:grid; place-items:center; width:38px; height:38px; border-radius:12px; background:#e9f6ff; color:#087bc0; }
    .info-section-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
    .info-section-title { min-width:0; }
    .info-section-title .info-kicker { margin-bottom:2px; }
    .info-section-title strong { display:block; color:#0b2340; font-size:15px; line-height:1.25; }
    .info-section-title small { display:block; margin-top:3px; color:#66819b; font-size:11px; line-height:1.35; }
    .info-section-body { padding:2px 15px 15px; border-top:1px solid rgba(125,177,218,.18); }
    .info-section-body > p { margin-top:12px; }
    .info-section-body > p + p { margin-top:9px; }
    .info-card h3 { margin:2px 0 11px; font-size:19px; }
    .info-card h4, .info-section h4 { margin:0 0 4px; color:#0b3154; font-size:14px; }
    .info-card p, .info-section-body p { margin-bottom:0; color:#42617f; font-size:13px; line-height:1.58; }
    .info-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:12px; }
    .info-kicker { display:block; margin-bottom:4px; color:#0786ca; font-size:10px; font-weight:950; letter-spacing:.12em; text-transform:uppercase; }
    .info-chip { flex:0 0 auto; padding:6px 10px; border:1px solid rgba(14,165,233,.24); border-radius:999px; background:#edf8ff; color:#0876b9; font-size:10px; font-weight:950; }
    .info-radar-list { display:grid; border:1px solid rgba(125,177,218,.25); border-radius:16px; overflow:hidden; }
    .info-radar-row { display:grid; grid-template-columns:58px minmax(0,1fr) auto; align-items:center; gap:14px; padding:12px 13px; background:#fff; border-top:1px solid rgba(125,177,218,.22); }
    .info-radar-row:first-child { border-top:0; }
    .info-radar-row small { display:block; margin-top:5px; color:#748ca2; font-size:10px; line-height:1.4; overflow-wrap:anywhere; }
    .info-range { display:grid; place-items:center; width:48px; height:36px; border-radius:11px; background:linear-gradient(135deg,#0ea5e9,#2563eb); color:#fff; font-size:15px; box-shadow:0 6px 13px rgba(37,99,235,.16); }
    .info-kind { justify-self:end; padding:5px 8px; border-radius:999px; font-size:9px; font-weight:950; text-transform:uppercase; letter-spacing:.04em; }
    .info-kind.observed { color:#08775a; background:#e8f8f1; }
    .info-kind.nowcast { color:#075ea2; background:#e7f5ff; }
    .info-kind.ensemble { color:#7147b8; background:#f1eafe; }
    .info-kind.model { color:#9a5708; background:#fff3df; }
    .info-range-guide { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0 0 12px; }
    .info-range-guide span { display:inline-flex; align-items:center; gap:6px; min-height:30px; padding:5px 9px; border:1px solid rgba(125,177,218,.24); border-radius:10px; background:#f7fbfe; color:#4a6882; font-size:11px; font-weight:800; }
    .info-range-guide b { display:grid; place-items:center; min-width:22px; height:20px; padding:0 6px; border-radius:6px; background:#168fd7; color:#fff; font-size:11px; white-space:nowrap; }
    .info-use { margin-top:6px !important; color:#53718a !important; font-size:11px !important; }
    .info-use strong { color:#0b456f; }
    .info-technical { margin-top:7px; color:#66819b; font-size:10px; }
    .info-technical summary { width:max-content; max-width:100%; cursor:pointer; color:#0878b8; font-weight:900; }
    .info-technical p { margin-top:5px; color:#748ca2 !important; font-size:10px !important; overflow-wrap:anywhere; }
    .info-note { display:flex; align-items:flex-start; gap:10px; margin-top:12px; padding:11px 12px; border-radius:12px; background:#eef6fc; color:#526d86; font-size:11px; line-height:1.5; }
    .info-note strong { flex:0 0 auto; color:#0b4c78; }
    .info-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
    .info-steps > div { padding:13px; border:1px solid rgba(125,177,218,.24); border-radius:15px; background:#f8fcff; }
    .info-steps b { display:grid; place-items:center; width:25px; height:25px; margin-bottom:9px; border-radius:9px; background:#0f8dd4; color:#fff; font-size:12px; }
    .info-calculation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:10px; }
    .info-calculation-grid > div { padding:11px 12px; border-radius:13px; background:#f2f7fb; }
    .info-calculation-grid strong { display:block; margin-bottom:3px; color:#0b3e68; font-size:12px; }
    .info-list { display:grid; gap:9px; margin:0; padding:0; list-style:none; }
    .info-list li { position:relative; padding-left:16px; color:#42617f; font-size:13px; line-height:1.55; }
    .info-list li::before { content:""; position:absolute; left:0; top:.6em; width:7px; height:7px; border-radius:999px; background:#0ea5e9; }
    .info-warning-note { background:#fff7e7; color:#76531e; }
    .info-warning-note strong { color:#8a5708; }
    .info-links { display:flex; flex-wrap:wrap; gap:8px; margin-top:13px; }
    .info-links .btn-secondary { min-height:36px; padding:8px 11px; font-size:11px; }
    .bottom-tabs { position:fixed; left:50%; bottom:0; transform:translateX(-50%); z-index:1200; width:min(680px, 100%); padding:6px 10px max(3px, env(safe-area-inset-bottom)); background:linear-gradient(180deg,rgba(241,247,253,.68),#f1f7fd); }
    .bottom-tabs-inner { display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; border:1px solid rgba(78,148,202,.28); border-radius:24px; padding:7px; background:rgba(255,255,255,.94); backdrop-filter:blur(16px); box-shadow:0 8px 28px rgba(30,86,135,.12); }
    .app-ad-footer { position:fixed; left:50%; bottom:0; z-index:1190; width:min(680px,100%); transform:translateX(-50%); padding:5px 10px max(4px,env(safe-area-inset-bottom)); border-top:1px solid rgba(78,148,202,.2); background:rgba(241,247,253,.98); box-shadow:0 -8px 26px rgba(30,86,135,.12); }
    .app-ad-footer[hidden] { display:none !important; }
    .app-ad-footer-label { margin:0 0 3px; color:#718ba3; font-size:8px; font-weight:800; line-height:1; text-align:center; text-transform:uppercase; letter-spacing:.08em; }
    .app-ad-footer-content { display:flex; box-sizing:border-box; height:clamp(44px,12vw,72px); min-height:clamp(44px,12vw,72px); max-height:clamp(44px,12vw,72px); align-items:center; justify-content:center; overflow:hidden; contain:layout paint; }
    .app-ad-footer-content > * { display:flex; align-items:center; justify-content:center; max-width:100%; max-height:100%; }
    .app-ad-footer-content img { display:block; max-width:100% !important; max-height:100% !important; width:auto !important; height:auto !important; object-fit:contain; margin:auto; border:0; }
    html:not(.website-embed) body.app-ad-visible .bottom-tabs { bottom:var(--app-ad-footer-height,0px); }
    html:not(.website-embed) body.app-ad-visible main { padding-bottom:calc(96px + var(--app-ad-footer-height,0px)); }
    /* Een vaste navigatie volgt op iOS/Android anders de verkleinde visual
       viewport en springt boven het schermtoetsenbord. Verberg de vaste
       onderrand alleen zolang er werkelijk een softwaretoetsenbord open is. */
    html.radarnu-native-app body.app-keyboard-open .bottom-tabs,
    html.radarnu-native-app body.app-keyboard-open .app-ad-footer {
      visibility:hidden;
      opacity:0;
      pointer-events:none;
    }
    /* De native WebView mag bij het openen van het toetsenbord zijn visual
       viewport verkleinen, maar de app-layout zelf blijft op de oorspronkelijke
       schermhoogte staan. Daardoor valt het toetsenbord over de pagina heen in
       plaats van de volledige interface samen te drukken of omhoog te duwen. */
    html.radarnu-native-app body.app-keyboard-open {
      height:var(--radarnu-native-keyboard-layout-height, 100dvh)!important;
      min-height:var(--radarnu-native-keyboard-layout-height, 100dvh)!important;
      max-height:var(--radarnu-native-keyboard-layout-height, 100dvh)!important;
    }
    html.radarnu-native-app body.app-keyboard-open main {
      position:absolute!important;
      inset:0!important;
      height:var(--radarnu-native-keyboard-layout-height, 100dvh)!important;
      min-height:var(--radarnu-native-keyboard-layout-height, 100dvh)!important;
      max-height:var(--radarnu-native-keyboard-layout-height, 100dvh)!important;
    }
    /* Safari/WebKit probeert daarnaast tijdens de toetsenbordanimatie de hele
       pagina te verschuiven. Zet de actieve scrollcontainer daarom alleen
       tijdens die korte animatie vast. Daarna brengt JavaScript uitsluitend
       het actieve invoerveld gecontroleerd boven het toetsenbord. */
    html.radarnu-native-app body.app-keyboard-scroll-lock .app-view.active:not(#viewRadar) {
      overflow:hidden!important;
      overscroll-behavior:none!important;
      -webkit-overflow-scrolling:auto!important;
    }
    /* Alleen wanneer een laag veld anders niet boven het toetsenbord kan
       komen, vult JavaScript hier exact de ontbrekende scrollruimte in. */
    html.radarnu-native-app body.app-keyboard-open .app-view.active:not(#viewRadar)::after {
      content:"";
      display:block;
      height:var(--radarnu-keyboard-scroll-reserve, 0px);
      pointer-events:none;
    }
    .tab-button { display:flex; min-width:0; flex-direction:column; align-items:center; justify-content:center; gap:4px; border-radius:18px; padding:9px 6px 8px; background:transparent; color:#5a7894; font-size:12px; line-height:1; border:1px solid transparent; }
    button, .tab-button, .leaflet-container, canvas, svg, img { -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
    .tab-button svg { width:21px; height:21px; stroke:currentColor; stroke-width:2.2; fill:none; stroke-linecap:round; stroke-linejoin:round; }
    .tab-button.active { color:#fff; background:linear-gradient(135deg,#0ea5e9,#2563eb); border-color:rgba(255,255,255,.45); box-shadow:0 10px 24px rgba(37,99,235,.22); }
    .radar-card { position:relative; border-radius:0; border-left:0; border-right:0; }
    #viewRadar .radar-card { flex:1 1 auto; min-height:0; width:100%; display:flex; flex-direction:column; }
    .map-wrap { position:relative; z-index:1; isolation:isolate; flex:1 1 auto; min-height:260px; height:auto; overflow:hidden; background:#0b1726; }
    #map { position:absolute; inset:0; width:100%; height:100%; background:#bcd2d8; }
    #windCanvas { position:absolute; inset:0; z-index:640; width:100%; height:100%; display:none; pointer-events:none; }
    #windCanvas.is-visible { display:block; }
    .leaflet-satellite-pane { pointer-events:none; }
    .satellite-overlay { image-rendering:auto; }
    .satellite-regional-overlay {
      image-rendering:auto;
      -webkit-mask-image:url('/radar/regenalarm/satellite-regional-blend-mask.svg?v=1');
      mask-image:url('/radar/regenalarm/satellite-regional-blend-mask.svg?v=1');
      -webkit-mask-size:100% 100%;
      mask-size:100% 100%;
      -webkit-mask-repeat:no-repeat;
      mask-repeat:no-repeat;
    }
    .basemap-overlay,
    .boundary-overlay,
    .radar-overlay,
      .lightning-overlay,
      .satellite-overlay,
      .satellite-regional-overlay,
      .lightning-point-canvas {
      transform-origin:0 0;
      backface-visibility:hidden;
      will-change:transform;
    }
    .boundary-overlay { image-rendering:auto; pointer-events:none; }
    /*
      Op iOS houdt `will-change` de wereldwijde kaartbeelden ook tussen twee
      zoomacties als afzonderlijke GPU-textures vast. Leaflet blijft de
      transformaties zelf uitvoeren; we voorkomen alleen de permanente
      voor-promotie die na herhaald zoomen tot WebKit-geheugenpieken leidt.
    */
    html.radarnu-ios-map-runtime .basemap-overlay,
    html.radarnu-ios-map-runtime .boundary-overlay,
    html.radarnu-ios-map-runtime .radar-overlay,
    html.radarnu-ios-map-runtime .lightning-overlay,
    html.radarnu-ios-map-runtime .satellite-overlay,
    html.radarnu-ios-map-runtime .satellite-regional-overlay,
    html.radarnu-ios-map-runtime .lightning-point-canvas { will-change:auto; }
    #satelliteCanvas { position:absolute; inset:0; z-index:1; width:100%; height:100%; display:none; pointer-events:none; background:#bcd2d8; }
    #satelliteCanvas.is-visible { display:block; }
    .leaflet-container { font-family:inherit; background:#bcd2d8; }
    .leaflet-bottom { bottom:0; }
    .leaflet-control-attribution { background:rgba(15,23,42,.75) !important; color:#cbd5e1 !important; border-radius:6px 0 0 0; }
    .leaflet-control-attribution a { color:#bae6fd !important; }
    .leaflet-control-zoom { border:0 !important; box-shadow:0 16px 36px rgba(2,6,23,.34), 0 0 0 1px rgba(255,255,255,.45); border-radius:10px; overflow:hidden; }
    .leaflet-control-zoom a { width:38px !important; height:38px !important; line-height:38px !important; background:rgba(248,250,252,.94) !important; color:#0f172a !important; border-color:rgba(15,23,42,.18) !important; font-weight:900; text-shadow:0 1px 0 rgba(255,255,255,.65); }
    .leaflet-control-zoom a:hover { background:#ffffff !important; color:#0284c7 !important; }
    .leaflet-top.leaflet-left { top:64px; left:16px; }
    .basemap-overlay { image-rendering:auto; }
    .basemap-overlay.hybrid-national-basemap {
      -webkit-mask-image:url('/radar/regenalarm/national-basemap-blend-mask.svg?v=1');
      mask-image:url('/radar/regenalarm/national-basemap-blend-mask.svg?v=1');
      -webkit-mask-size:100% 100%;
      mask-size:100% 100%;
      -webkit-mask-repeat:no-repeat;
      mask-repeat:no-repeat;
    }
    .radar-overlay { image-rendering:auto; }
    .radar-overlay.hybrid-europe-radar {
      -webkit-mask-image:url('/radar/regenalarm/europe-radar-mask.png?v=1');
      mask-image:url('/radar/regenalarm/europe-radar-mask.png?v=1');
      -webkit-mask-size:100% 100%;
      mask-size:100% 100%;
      -webkit-mask-repeat:no-repeat;
      mask-repeat:no-repeat;
    }
    .radar-overlay.hybrid-national-radar {
      -webkit-mask-image:url('/radar/regenalarm/national-radar-blend-mask.png?v=1');
      mask-image:url('/radar/regenalarm/national-radar-blend-mask.png?v=1');
      -webkit-mask-size:100% 100%;
      mask-size:100% 100%;
      -webkit-mask-repeat:no-repeat;
      mask-repeat:no-repeat;
    }
    .coverage-shade-path { filter:drop-shadow(0 0 4px rgba(2,18,32,.24)); }
    .coverage-legend-swatch { width:15px !important; height:11px !important; border:1px solid rgba(151,205,235,.9); border-radius:3px !important; background:rgba(7,27,43,.62) !important; box-shadow:none !important; }
    .coverage-unavailable-marker { background:transparent; border:0; }
    .coverage-unavailable-message {
      display:flex;
      box-sizing:border-box;
      width:min(170px, calc(100vw - 32px));
      flex-direction:column;
      align-items:center;
      gap:3px;
      transform:translate(-50%, -50%);
      border:1px solid rgba(186,230,253,.58);
      border-radius:14px;
      padding:9px 12px;
      background:rgba(7,27,43,.82);
      color:#fff;
      font-size:11.5px;
      line-height:1.15;
      font-weight:850;
      text-align:center;
      box-shadow:0 12px 28px rgba(2,18,32,.24);
      backdrop-filter:blur(8px);
      -webkit-backdrop-filter:blur(8px);
    }
    .coverage-unavailable-message strong { font-size:13px; font-weight:950; }
    .coverage-unavailable-message span { color:#d8effc; }
    .location-marker { width:18px; height:18px; border-radius:999px; background:#0ea5e9; border:3px solid #fff; box-shadow:0 0 0 8px rgba(14,165,233,.24), 0 8px 22px rgba(15,23,42,.40); }
    .location-accuracy { border:1px solid rgba(14,165,233,.38); background:rgba(14,165,233,.10); }
    .temperature-station { min-width:42px; padding:5px 8px; border-radius:999px; border:1px solid rgba(255,255,255,.78); color:#fff; font-size:13px; line-height:1; font-weight:900; text-align:center; box-shadow:0 12px 28px rgba(15,23,42,.34), 0 0 0 1px rgba(15,23,42,.16); text-shadow:0 1px 2px rgba(15,23,42,.52); white-space:nowrap; }
    .temperature-station-panel { position:absolute; z-index:1450; top:82px; right:78px; width:min(360px, calc(100% - 124px)); overflow:hidden; border-radius:22px; border:1px solid rgba(147,197,253,.78); background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(238,248,255,.98)); color:#0b2545; box-shadow:0 24px 62px rgba(15,23,42,.26), 0 0 0 1px rgba(255,255,255,.74); backdrop-filter:blur(18px); pointer-events:auto; }
    .temperature-station-panel[hidden] { display:none !important; }
    .temperature-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:15px 15px 12px; background:linear-gradient(135deg, rgba(56,189,248,.18), rgba(37,99,235,.08)); }
    .temperature-panel-title { min-width:0; }
    .temperature-panel-title span { display:block; margin-bottom:4px; color:#5b7898; font-size:11px; line-height:1; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
    .temperature-panel-title strong { display:block; overflow:hidden; color:#09213d; font-size:18px; line-height:1.15; font-weight:950; text-overflow:ellipsis; white-space:nowrap; }
    .temperature-panel-title small { display:block; margin-top:4px; color:#607993; font-size:12px; font-weight:850; }
    .temperature-panel-temp { flex:0 0 auto; min-width:68px; border-radius:17px; padding:11px 10px; color:#fff; font-size:25px; line-height:1; font-weight:950; text-align:center; box-shadow:0 16px 30px rgba(15,23,42,.22), inset 0 1px 0 rgba(255,255,255,.34); text-shadow:0 1px 2px rgba(15,23,42,.45); }
    .temperature-panel-close { flex:0 0 auto; display:grid; place-items:center; width:34px; height:34px; margin:-5px -5px 0 0; padding:0 0 2px; border:0; border-radius:999px; background:rgba(255,255,255,.72); color:#49647f; font-size:22px; line-height:1; font-weight:900; cursor:pointer; box-shadow:inset 0 0 0 1px rgba(148,163,184,.24); }
    .temperature-panel-body { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:9px; padding:13px 15px 15px; }
    .temperature-panel-chip { border-radius:14px; padding:9px 10px; background:rgba(219,239,252,.80); color:#163c5d; font-size:13px; font-weight:900; line-height:1.15; box-shadow:inset 0 0 0 1px rgba(125,211,252,.28); }
    .temperature-panel-chip span { display:block; margin-bottom:3px; color:#62809d; font-size:10px; font-weight:950; text-transform:uppercase; letter-spacing:.06em; }
    .temperature-panel-chip-wide { grid-column:1 / -1; }
    .map-label { position:absolute; left:20px; bottom:25px; z-index:700; display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-start; pointer-events:none; }
    .radar-location-select { position:absolute; left:20px; top:16px; z-index:1100; display:none; align-items:center; gap:8px; width:min(500px, calc(100% - 40px)); min-height:46px; padding:5px 12px 5px 15px; border-radius:999px; background:rgba(255,255,255,.96); box-shadow:0 18px 42px rgba(15,23,42,.22), 0 0 0 1px rgba(255,255,255,.72); color:#102b4a; font-size:15px; font-weight:950; }
    .radar-location-select.is-visible { display:flex; }
    .radar-location-select.is-open { z-index:1500; }
    .radar-location-select::before { content:""; width:20px; height:20px; flex:0 0 auto; opacity:.48; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat; }
    .radar-location-select span { display:none; }
    .radar-location-select select { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
    .radar-location-button { min-width:0; flex:1; display:flex; align-items:center; justify-content:space-between; gap:10px; border:0; border-radius:999px; padding:8px 2px 8px 0; background:transparent; color:#0b2a68; font:inherit; font-weight:950; outline:0; text-align:left; }
    .radar-location-button strong { min-width:0; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .radar-location-button::after { content:""; width:9px; height:9px; flex:0 0 auto; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); opacity:.72; }
    .radar-location-select.is-open .radar-location-button::after { transform:translateY(2px) rotate(225deg); }
    .radar-location-menu { position:absolute; left:0; right:0; top:calc(100% + 8px); z-index:1501; display:none; max-height:240px; overflow:auto; padding:7px; border-radius:20px; background:rgba(255,255,255,.98); box-shadow:0 24px 56px rgba(15,23,42,.28), 0 0 0 1px rgba(125,177,218,.26); }
    .radar-location-select.is-open .radar-location-menu { display:grid; gap:5px; }
    .radar-location-search { display:grid; gap:6px; padding:5px; border-bottom:1px solid rgba(125,177,218,.22); margin-bottom:4px; }
    .radar-location-search input { width:100%; min-width:0; border:1px solid rgba(91,157,208,.34); border-radius:14px; padding:11px 12px; background:#f8fbff; color:#0b2340; font:inherit; font-size:14px; font-weight:850; outline:0; }
    .radar-location-search input::placeholder { color:#7891aa; }
    .radar-location-search input:focus { border-color:rgba(14,165,233,.68); box-shadow:0 0 0 3px rgba(14,165,233,.14); background:#fff; }
    .radar-location-results { display:grid; gap:4px; }
    .radar-location-results:empty { display:none; }
    .radar-location-group-label { padding:8px 12px 4px; color:#7891aa; font-size:11px; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
    .radar-location-option { width:100%; border:0; border-radius:14px; padding:11px 12px; background:transparent; color:#143a62; font:inherit; font-size:14px; font-weight:900; text-align:left; }
    .radar-location-option:hover, .radar-location-option:focus { background:#eef7ff; color:#0369a1; outline:0; }
    .radar-location-option.active { background:linear-gradient(135deg,#38bdf8,#2563eb); color:#fff; }
    .radar-location-clear { width:100%; border:1px solid rgba(125,177,218,.32); border-radius:14px; padding:10px 12px; background:#fff; color:#64748b; font:inherit; font-size:13px; font-weight:900; text-align:left; }
    .radar-location-clear:hover, .radar-location-clear:focus { background:#f8fbff; color:#0f5e9c; outline:0; }
    .saved-location-list { display:grid; gap:8px; margin-top:12px; }
    .saved-location-row { display:grid; grid-template-columns:1fr auto; gap:8px; align-items:center; border:1px solid rgba(125,177,218,.28); border-radius:16px; padding:10px 10px 10px 12px; background:#f8fbff; }
    .saved-location-row.is-current { border-color:rgba(14,165,233,.36); background:linear-gradient(180deg,#f8fcff,#eef9ff); }
    .saved-location-row.is-muted { background:#fff; }
    .saved-location-row strong { display:block; color:#0b2340; font-size:14px; line-height:1.2; }
    .saved-location-row span { display:block; margin-top:3px; color:#66819b; font-size:12px; font-weight:750; }
    .saved-location-row > div:first-child { align-self:start; padding-top:6px; }
    .saved-location-actions { display:grid; justify-items:end; gap:12px; }
    .location-alert-toggle { display:flex; align-items:center; justify-content:flex-end; gap:9px; min-height:44px; padding:6px 0; cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
    .saved-location-row .location-alert-toggle > span:first-child { display:block; margin:0; color:#42617f; font-size:12px; font-weight:850; }
    .saved-location-row .location-alert-toggle .settings-switch { display:block; margin:0; }
    .saved-location-row.alerts-disabled .saved-location-settings { opacity:.55; }
    .saved-location-row.alerts-disabled .saved-location-settings select,.saved-location-row.alerts-disabled .saved-location-settings input { background:#f1f5f9; }
    .saved-location-settings { grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:4px; }
    .saved-location-settings label { display:grid; gap:5px; color:#42617f; font-size:12px; font-weight:850; }
    .saved-location-settings select,.saved-location-settings input { width:100%; min-width:0; border:1px solid rgba(125,177,218,.42); border-radius:12px; padding:9px 10px; background:#fff; color:#0b2340; font:inherit; font-size:12px; font-weight:850; box-sizing:border-box; }
    .current-location-alerts { grid-column:1 / -1; }
    .current-location-alerts.is-hidden { display:none; }
    .location-alert-placeholder { grid-column:1 / -1; margin-top:6px; color:#66819b; font-size:13px; line-height:1.45; }
    .location-alert-placeholder.is-hidden { display:none; }
    .is-hidden { display:none !important; }
    .saved-location-empty { color:#66819b; font-size:13px; line-height:1.4; margin-top:10px; }
    .saved-location-status { min-height:18px; margin:0 0 8px; color:#66819b; font-size:13px; line-height:1.35; }
    .leaflet-top.leaflet-left { top:64px; left:16px; }
    .map-layer-control { position:absolute; inset:0; z-index:720; pointer-events:none; }
    .map-layer-control.is-open::before, .map-layer-control.is-open::after { content:""; position:absolute; z-index:1; width:0; height:0; pointer-events:none; }
    .map-layer-control.is-open::before { left:63px; top:174px; border-top:11px solid transparent; border-bottom:11px solid transparent; border-right:11px solid rgba(203,218,232,.96); }
    .map-layer-control.is-open::after { left:65px; top:175px; border-top:10px solid transparent; border-bottom:10px solid transparent; border-right:10px solid rgba(255,255,255,.97); }
    .map-layer-toggle { position:absolute; left:26px; top:165px; display:flex; align-items:center; justify-content:center; width:40px; height:40px; padding:0; border:1px solid rgba(255,255,255,.82); border-radius:13px; background:rgba(248,250,252,.96); color:#0f3152; box-shadow:0 14px 32px rgba(2,6,23,.28),0 0 0 1px rgba(15,23,42,.10); font:inherit; cursor:pointer; backdrop-filter:blur(8px); pointer-events:auto; }
    .map-layer-toggle:hover { background:#fff; color:#0278b5; }
    .map-layer-toggle:focus-visible { outline:3px solid rgba(14,165,233,.38); outline-offset:3px; }
    .map-layer-toggle-icon { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
    .map-layer-control.is-open .map-layer-toggle { background:linear-gradient(135deg,#38bdf8,#2563eb); color:#fff; border-color:rgba(255,255,255,.78); box-shadow:0 16px 38px rgba(2,6,23,.32),inset 0 1px 0 rgba(255,255,255,.26); }
    .map-layer-menu { position:absolute; left:74px; top:72px; z-index:2; display:none; width:min(232px,calc(100vw - 92px)); max-height:calc(100% - 92px); overflow:auto; gap:6px; padding:8px; border:1px solid rgba(203,218,232,.96); border-radius:17px; background:rgba(255,255,255,.97); box-shadow:0 22px 58px rgba(2,20,38,.34); backdrop-filter:blur(12px); overscroll-behavior:contain; pointer-events:auto; }
    .map-layer-control.is-open .map-layer-menu { display:grid; }
    .map-layer-button { position:relative; width:100%; min-height:42px; display:flex; align-items:center; justify-content:flex-start; gap:10px; border-radius:12px; padding:8px 10px; background:#f8fbfd; color:#17334e; border:1px solid #dbe8f1; box-shadow:none; font:inherit; font-size:13px; line-height:1.2; font-weight:900; text-align:left; cursor:pointer; }
    .map-layer-button:hover { background:#eef8ff; color:#0278b5; border-color:#bcdff2; }
    .map-layer-button:focus-visible { outline:3px solid rgba(14,165,233,.30); outline-offset:1px; }
    .map-layer-button.active { background:linear-gradient(135deg,#38bdf8,#1d4ed8); color:#fff; border-color:rgba(255,255,255,.72); box-shadow:0 10px 22px rgba(29,78,216,.22),inset 0 1px 0 rgba(255,255,255,.26); text-shadow:0 1px 2px rgba(15,23,42,.32); }
    .map-layer-button-label { min-width:0; flex:1; }
    .map-layer-button.is-premium-locked { color:#64748b; background:#f7f9fb; }
    .map-layer-button.is-premium-locked::after { content:"Premium"; position:static; flex:0 0 auto; display:flex; align-items:center; justify-content:center; width:auto; height:19px; padding:0 6px; border:1px solid #fff; border-radius:999px; background:linear-gradient(135deg,#38bdf8,#2563eb); color:#fff; font-size:8px; font-weight:1000; line-height:1; text-shadow:none; box-shadow:0 3px 8px rgba(37,99,235,.24); }
    .map-layer-button.active:not(.is-premium-locked)::after { content:"✓"; flex:0 0 auto; display:grid; place-items:center; width:19px; height:19px; margin-left:auto; border-radius:999px; background:rgba(255,255,255,.22); color:#fff; font-size:11px; font-weight:1000; }
    .map-layer-button[data-layer-mode="drizzle"] { position:relative; color:#0f766e; border-color:rgba(45,212,191,.62); background:rgba(240,253,250,.96); }
    .map-layer-button[data-layer-mode="drizzle"]:hover { color:#0f766e; background:#ecfeff; }
    .map-layer-button[data-layer-mode="drizzle"].active { color:#fff; border-color:rgba(255,255,255,.76); background:linear-gradient(135deg,#2dd4bf,#0f766e); box-shadow:0 16px 38px rgba(15,118,110,.34), 0 0 0 1px rgba(255,255,255,.32), inset 0 1px 0 rgba(255,255,255,.32); }
    .map-layer-button[data-layer-mode="storms"] { position:relative; color:#b45309; border-color:rgba(251,146,60,.68); background:rgba(255,247,237,.97); }
    .map-layer-button[data-layer-mode="storms"]:hover { color:#9a3412; background:#fff7ed; }
    .map-layer-button[data-layer-mode="storms"].active { color:#fff; border-color:rgba(255,255,255,.78); background:linear-gradient(135deg,#f59e0b,#dc2626 62%,#7e22ce); box-shadow:0 16px 38px rgba(194,65,12,.34), 0 0 0 1px rgba(255,255,255,.32), inset 0 1px 0 rgba(255,255,255,.32); }
    .map-layer-button[data-layer-mode="lightning"] { position:relative; color:#6d28d9; border-color:rgba(167,139,250,.68); background:rgba(250,245,255,.97); }
    .map-layer-button[data-layer-mode="lightning"]:hover { color:#5b21b6; background:#f5f3ff; }
    .map-layer-button[data-layer-mode="lightning"].active { color:#fff; border-color:rgba(255,255,255,.78); background:linear-gradient(135deg,#facc15 0%,#f59e0b 38%,#7c3aed 100%); box-shadow:0 16px 38px rgba(109,40,217,.32), 0 0 0 1px rgba(255,255,255,.32), inset 0 1px 0 rgba(255,255,255,.38); }
    .map-layer-button[data-layer-mode="rainlightning"] { position:relative; color:#1d4ed8; border-color:rgba(96,165,250,.68); background:linear-gradient(135deg,rgba(239,246,255,.98),rgba(250,245,255,.98)); }
    .map-layer-button[data-layer-mode="rainlightning"]:hover { color:#5b21b6; background:linear-gradient(135deg,#eaf5ff,#f5f3ff); }
    .map-layer-button[data-layer-mode="rainlightning"].active { color:#fff; border-color:rgba(255,255,255,.78); background:linear-gradient(135deg,#0ea5e9 0%,#2563eb 48%,#7c3aed 78%,#facc15 100%); box-shadow:0 16px 38px rgba(37,99,235,.32), 0 0 0 1px rgba(255,255,255,.32), inset 0 1px 0 rgba(255,255,255,.38); }
    .map-layer-button[data-layer-mode="ptype"] { position:relative; color:#7e22ce; border-color:rgba(192,132,252,.62); background:rgba(250,245,255,.97); }
    .map-layer-button[data-layer-mode="ptype"]:hover { color:#7e22ce; background:#faf5ff; }
    .map-layer-button[data-layer-mode="ptype"].active { color:#fff; border-color:rgba(255,255,255,.76); background:linear-gradient(135deg,#ec4899,#7e22ce); box-shadow:0 16px 38px rgba(126,34,206,.34), 0 0 0 1px rgba(255,255,255,.32), inset 0 1px 0 rgba(255,255,255,.32); }
    .map-layer-button[data-layer-mode="wind"] { position:relative; color:#0369a1; border-color:rgba(56,189,248,.56); background:rgba(240,249,255,.97); }
    .map-layer-button[data-layer-mode="wind"]:hover { color:#075985; background:#eaf8ff; }
    .map-layer-button[data-layer-mode="wind"].active { color:#fff; border-color:rgba(255,255,255,.76); background:linear-gradient(135deg,#38bdf8,#0f766e); box-shadow:0 16px 38px rgba(3,105,161,.30), 0 0 0 1px rgba(255,255,255,.32), inset 0 1px 0 rgba(255,255,255,.32); }
    .map-layer-button svg { display:block; flex:0 0 auto; width:22px; height:22px; margin:0; stroke:currentColor; stroke-width:2.3; fill:none; stroke-linecap:round; stroke-linejoin:round; }
    .map-layer-button[data-layer-mode="temperature"] svg { transform:translate(1px, 1px); }
    .map-layer-button[data-layer-mode="accumulation"] { color:#075985; border-color:rgba(14,165,233,.54); background:linear-gradient(135deg,#f0f9ff,#ecfeff); }
    .map-layer-button[data-layer-mode="accumulation"].active { color:#fff; border-color:rgba(255,255,255,.76); background:linear-gradient(135deg,#0ea5e9,#2563eb 58%,#7c3aed); }
    .map-layer-button[data-layer-mode="weather"] { color:#166534; border-color:rgba(34,197,94,.48); background:linear-gradient(135deg,#f0fdf4,#eff6ff); }
    .map-layer-button[data-layer-mode="weather"].active { color:#fff; border-color:rgba(255,255,255,.76); background:linear-gradient(135deg,#22c55e,#0ea5e9 62%,#2563eb); }
    .weather-map-options { position:absolute; z-index:1085; left:50%; top:112px; display:none; width:min(760px,calc(100% - 150px)); transform:translateX(-50%); pointer-events:auto; }
    .weather-map-options.is-visible { display:block; }
    .weather-map-option-list { display:flex; gap:6px; overflow-x:auto; padding:6px; border:1px solid rgba(203,218,232,.94); border-radius:16px; background:rgba(255,255,255,.94); box-shadow:0 12px 32px rgba(2,20,38,.22); backdrop-filter:blur(12px); scrollbar-width:none; }
    .weather-map-option-list::-webkit-scrollbar { display:none; }
    .weather-map-option { flex:0 0 auto; min-height:34px; border:1px solid #cfe0ec; border-radius:11px; padding:7px 10px; background:#f8fbfd; color:#17334e; font:inherit; font-size:11px; font-weight:950; white-space:nowrap; box-shadow:none; }
    .weather-map-option:hover { background:#edf8ff; color:#0369a1; }
    .weather-map-option.active { border-color:rgba(255,255,255,.76); background:linear-gradient(135deg,#38bdf8,#2563eb); color:#fff; box-shadow:0 6px 15px rgba(37,99,235,.22); }
    .weather-station { min-width:48px; padding:5px 7px; border:1px solid rgba(255,255,255,.88); border-radius:999px; color:#fff; font-size:11px; line-height:1; font-weight:950; text-align:center; text-shadow:0 1px 2px rgba(15,23,42,.58); box-shadow:0 8px 20px rgba(15,23,42,.25); white-space:nowrap; }
    body[data-weather-layer-mode="weather"] .map-range-controls,
    body[data-weather-layer-mode="weather"] .graph-range-controls { display:none !important; }
    body[data-weather-layer-mode="accumulation"] .leaflet-popup-pane,
    body[data-weather-layer-mode="weather"] .leaflet-popup-pane { z-index:1500 !important; }
    .storm-cell-popup { min-width:225px; color:#0b2340; line-height:1.35; }
    .storm-cell-popup__head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:10px; }
    .storm-cell-popup__head strong { display:block; font-size:15px; line-height:1.2; }
    .storm-cell-popup__head span { display:block; margin-top:3px; color:#66819b; font-size:11px; font-weight:800; }
    .storm-cell-popup__risk { flex:0 0 auto; border-radius:999px; padding:5px 8px; color:#fff !important; font-size:10px !important; font-weight:950 !important; }
    .storm-cell-popup__grid { display:grid; grid-template-columns:1fr auto; gap:6px 12px; padding:9px 0; border-top:1px solid #dbe8f3; border-bottom:1px solid #dbe8f3; font-size:12px; }
    .storm-cell-popup__grid span { color:#66819b; }
    .storm-cell-popup__grid strong { text-align:right; }
    .storm-cell-popup__notice { margin:9px 0 0; color:#5b7188; font-size:11px; font-weight:750; }
    .lightning-flash-popup__badge { flex:0 0 auto; border-radius:999px; padding:5px 8px; background:linear-gradient(135deg,#facc15,#f59e0b); color:#5b3100 !important; font-size:10px !important; font-weight:950 !important; }
    .lightning-flash-popup__grid { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px 12px; padding:10px 0; border-top:1px solid #e5dcf5; border-bottom:1px solid #e5dcf5; font-size:12px; }
    .lightning-flash-popup__grid span { color:#66819b; }
    .lightning-flash-popup__grid strong { max-width:170px; text-align:right; }
    .lightning-flash-popup__notice { margin:10px 0 0; padding:9px 10px; border-radius:11px; background:#f7f2ff; color:#5b4b73; font-size:11px; font-weight:750; }
    .storm-cell-info-overlay {
      position:absolute;
      top:62px;
      left:50%;
      z-index:1800;
      width:min(350px, calc(100% - 28px));
      max-height:calc(100% - 82px);
      overflow:auto;
      transform:translateX(-50%);
      border:1px solid rgba(203,218,232,.96);
      border-radius:18px;
      padding:16px;
      background:rgba(255,255,255,.98);
      color:#0b2340;
      box-shadow:0 22px 60px rgba(2,20,38,.34);
      overscroll-behavior:contain;
      -webkit-overflow-scrolling:touch;
    }
    .storm-cell-info-overlay[hidden] { display:none !important; }
    .storm-cell-info-overlay .storm-cell-popup { min-width:0; padding-right:24px; }
    .storm-cell-info-close {
      position:absolute;
      top:9px;
      right:9px;
      z-index:1;
      display:grid;
      place-items:center;
      width:32px;
      height:32px;
      border:1px solid #cbd9e6;
      border-radius:10px;
      padding:0;
      background:#f1f6fa;
      color:#405a72;
      font:900 20px/1 system-ui,sans-serif;
      box-shadow:0 4px 12px rgba(15,35,58,.10);
      cursor:pointer;
    }
    .storm-cell-info-close:hover { background:#fff; color:#0b2340; }
    .storm-cell-info-close:focus-visible { outline:3px solid rgba(14,165,233,.35); outline-offset:2px; }
    .map-range-controls { position:absolute; right:16px; top:74px; z-index:710; display:flex; flex-direction:column; align-items:flex-end; gap:9px; }
    .map-range-toggle, .map-center-location-button { display:grid; place-items:center; width:46px; height:40px; padding:0; border:1px solid rgba(255,255,255,.75); border-radius:13px; background:rgba(248,250,252,.94); color:#0f3152; box-shadow:0 16px 36px rgba(2,6,23,.30),0 0 0 1px rgba(15,23,42,.10); cursor:pointer; backdrop-filter:blur(8px); }
    .map-range-toggle:hover, .map-center-location-button:hover { background:#fff; color:#0284c7; }
    .map-range-toggle:focus-visible, .map-center-location-button:focus-visible { outline:3px solid rgba(14,165,233,.38); outline-offset:3px; }
    .map-range-toggle svg, .map-center-location-button svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:2.1; stroke-linecap:round; stroke-linejoin:round; }
    .map-range-controls.is-open .map-range-toggle { background:linear-gradient(135deg,#38bdf8,#1d4ed8); border-color:rgba(255,255,255,.72); color:#fff; box-shadow:0 18px 42px rgba(2,6,23,.36),0 0 0 1px rgba(255,255,255,.34),inset 0 1px 0 rgba(255,255,255,.34); }
    .map-range-menu { display:none; gap:9px; }
    .map-range-controls.is-open .map-range-menu { display:grid; }
    .map-range-controls .btn-secondary { min-width:58px; background:rgba(248,250,252,.94); color:#0f172a; border:1px solid rgba(255,255,255,.75); box-shadow:0 16px 36px rgba(2,6,23,.30), 0 0 0 1px rgba(15,23,42,.10); text-shadow:0 1px 0 rgba(255,255,255,.65); }
    .map-range-controls .btn-secondary:hover { background:#fff; color:#0284c7; transform:translateY(-1px); }
    .map-range-controls .btn-secondary.active { background:linear-gradient(135deg,#38bdf8,#1d4ed8); border-color:rgba(255,255,255,.72); color:#fff; box-shadow:0 18px 42px rgba(2,6,23,.36), 0 0 0 1px rgba(255,255,255,.34), inset 0 1px 0 rgba(255,255,255,.34); text-shadow:0 1px 2px rgba(15,23,42,.55); }
    .map-range-controls .is-hidden { display:none; }
    .map-center-location-button { position:absolute; right:16px; bottom:25px; z-index:710; }
    .preload-overlay { position:absolute; inset:0; z-index:1600; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(8,17,31,.42); backdrop-filter:blur(3px); pointer-events:none; opacity:0; transition:opacity .18s ease; }
    .preload-overlay.is-visible { opacity:1; pointer-events:auto; }
    .preload-card { position:relative; width:min(360px, calc(100vw - 42px)); border:1px solid #d5e5f1; border-radius:22px; padding:20px; background:#fff; color:#10263d; box-shadow:0 24px 70px rgba(2,6,23,.30); }
    .preload-head { display:grid; justify-items:center; gap:11px; margin-bottom:15px; text-align:center; }
    .preload-brand-shell { display:flex; align-items:center; justify-content:center; width:174px; min-height:57px; }
    .preload-brand-loader { position:relative; width:156px; aspect-ratio:1050 / 370; overflow:visible; }
    .preload-brand-loader > img, .preload-brand-symbol img { position:absolute; inset:0 auto auto 0; display:block; width:156px; max-width:none; height:auto; }
    .preload-brand-wordmark { clip-path:inset(0 0 0 27.8%); }
    .preload-brand-symbol { position:absolute; inset:0 auto auto 0; width:27.8%; height:100%; overflow:hidden; animation:preloadSymbolBounce 1.45s cubic-bezier(.34,1.56,.64,1) infinite; }
    .preload-brand-symbol-base { opacity:.16; }
    .preload-brand-symbol-build { transform-origin:50% 48%; animation:preloadSymbolBuild 2.4s ease-in-out infinite, preloadSymbolBounce 1.45s cubic-bezier(.34,1.56,.64,1) infinite; }
    @keyframes preloadSymbolBuild {
      0% { clip-path:circle(0 at 50% 48%); transform:scale(.96); }
      38%, 84% { clip-path:circle(100% at 50% 48%); transform:scale(1); }
      100% { clip-path:circle(0 at 50% 48%); transform:scale(.96); }
    }
    @keyframes preloadSymbolBounce {
      0%, 100% { top:0; }
      42% { top:-6px; }
      62% { top:1px; }
      76% { top:-2px; }
    }
    @media (prefers-reduced-motion:reduce) {
      .preload-brand-symbol-base { opacity:1; }
      .preload-brand-symbol, .preload-brand-symbol-build { animation:none; }
      .preload-brand-symbol-build { display:none; }
    }
    .preload-title { font-size:17px; font-weight:950; letter-spacing:-.02em; }
    .preload-subtitle { max-width:290px; margin-top:4px; color:#5d7187; font-size:13px; font-weight:750; line-height:1.4; }
    .preload-bar { height:10px; border-radius:999px; overflow:hidden; background:#e6eef5; box-shadow:inset 0 1px 2px rgba(15,41,66,.12); }
    .preload-bar-fill { width:0%; height:100%; border-radius:inherit; background:linear-gradient(90deg,#38bdf8,#2563eb); transition:width .12s ease; }
    .preload-meta { display:flex; justify-content:space-between; gap:12px; margin-top:9px; color:#49677f; font-size:12px; font-weight:850; }
    .pill { display:inline-flex; align-items:center; justify-content:center; min-height:36px; border:0; background:#24364e; backdrop-filter:blur(10px); border-radius:999px; padding:8px 13px; color:#fff; font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size:14px; font-weight:900; line-height:1; box-shadow:0 10px 28px rgba(15,41,66,.22); letter-spacing:0; }
    .lightning-nearest-badge { min-height:30px; padding:6px 9px; border:1px solid rgba(255,255,255,.28); background:rgba(30,41,59,.82); font-size:12px; box-shadow:0 7px 20px rgba(15,23,42,.18); }
    .lightning-nearest-badge svg { width:13px; height:13px; margin-right:4px; fill:#facc15; filter:drop-shadow(0 1px 1px rgba(15,23,42,.35)); }
    .lightning-live-button { gap:7px; pointer-events:auto; cursor:pointer; background:rgba(36,54,78,.94); transition:background .16s ease, box-shadow .16s ease, transform .16s ease; }
    .lightning-live-button:hover { transform:translateY(-1px); background:#18283d; }
    .lightning-live-button:focus-visible { outline:3px solid rgba(248,113,113,.55); outline-offset:2px; }
    .lightning-live-button.active { background:linear-gradient(135deg,#ef4444,#be123c); box-shadow:0 10px 28px rgba(190,18,60,.30),inset 0 1px 0 rgba(255,255,255,.24); }
    .lightning-live-dot { width:8px; height:8px; flex:0 0 auto; border-radius:999px; background:#94a3b8; box-shadow:0 0 0 3px rgba(148,163,184,.16); }
    .lightning-live-button.active .lightning-live-dot { background:#fff; box-shadow:0 0 0 3px rgba(255,255,255,.20); animation:lightningLivePulse 1.6s ease-out infinite; }
    @keyframes lightningLivePulse { 0%,45% { box-shadow:0 0 0 3px rgba(255,255,255,.20); } 100% { box-shadow:0 0 0 8px rgba(255,255,255,0); } }
    .hud { position:relative; z-index:2; flex:0 0 auto; display:grid; gap:12px; padding:14px 16px 16px; border-top:1px solid rgba(125,177,218,.24); background:#f8fbff; color:#0f172a; box-shadow:none; }
    .timeline { position:relative; width:100%; border-radius:18px; background:#fff; border:1px solid rgba(125,177,218,.26); padding:8px 8px 4px; box-shadow:none; touch-action:none; }
    .timeline-resize-handle { width:100%; height:18px; display:flex; align-items:center; justify-content:center; cursor:ns-resize; touch-action:none; }
    .timeline-resize-handle::before { content:""; display:block; width:48px; height:5px; border-radius:999px; background:rgba(100,116,139,.32); }
    .timeline canvas { display:block; width:100%; height:var(--rain-graph-height, 138px); cursor:pointer; }
    .controls { display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; }
    button { border:0; border-radius:14px; padding:10px 14px; color:var(--text); background:linear-gradient(135deg,#0ea5e9,#2563eb); font-weight:800; cursor:pointer; box-shadow:0 10px 22px rgba(37,99,235,.16); }
    button:focus { outline:none; }
    button:focus-visible, .weather-day:focus-visible, input:focus-visible, select:focus-visible { outline:3px solid rgba(14,165,233,.32); outline-offset:2px; }
    .app-view:not(#viewRadar) button { color:#fff; box-shadow:none; }
    .app-view:not(#viewRadar) .forecast-outlook-card:not(.is-selected) .forecast-outlook-max { color:#0b2947; }
    .app-view:not(#viewRadar) .forecast-outlook-card.is-selected .forecast-outlook-max { color:#fff; }
    .app-view:not(#viewRadar) .btn-secondary { color:#0f4566; background:#f8fcff; border:1px solid rgba(91,157,208,.42); box-shadow:0 8px 18px rgba(30,86,135,.07); }
    .app-view:not(#viewRadar) .btn-secondary.active { color:#fff; background:linear-gradient(135deg,#0ea5e9,#2563eb); border-color:rgba(14,165,233,.58); }
    .toggle { display:inline-flex; align-items:center; gap:8px; border-radius:14px; padding:10px 14px; color:var(--text); background:rgba(15,23,42,.90); border:1px solid rgba(148,163,184,.22); font-weight:800; cursor:pointer; }
    .toggle input { width:16px; height:16px; accent-color:#facc15; }
    .btn-secondary { background:rgba(15,23,42,.90); border:1px solid rgba(148,163,184,.22); }
    .btn-secondary.active { background:#0b5fa5; border-color:#0b5fa5; color:#fff; }
    .app-view:not(#viewRadar) .btn-secondary { color:#0f4566; background:#f8fcff; border:1px solid rgba(91,157,208,.42); box-shadow:0 8px 18px rgba(30,86,135,.07); }
    .app-view:not(#viewRadar) .btn-secondary.active { color:#fff; background:linear-gradient(135deg,#0ea5e9,#2563eb); border-color:rgba(14,165,233,.58); }
    input[type="range"] { accent-color:#38bdf8; }
    .legend { display:flex; gap:8px; flex-wrap:wrap; align-items:center; justify-content:center; color:#475569; font-size:12px; }
    .hud .legend { padding:2px 4px 0; }
    .legend span { display:inline-flex; align-items:center; gap:6px; }
    .legend a { color:inherit; text-decoration-color:currentColor; text-underline-offset:2px; }
    .lightning-overlay { filter:saturate(1.28) contrast(1.08) drop-shadow(0 0 3px rgba(109,40,217,.62)); transition:opacity .14s linear; }
    .lightning-overlay.lightning-overlay-history { filter:saturate(1.12) contrast(1.04); }
    .lightning-overlay.lightning-overlay-newest { filter:saturate(1.42) contrast(1.14) brightness(1.12) drop-shadow(0 0 5px rgba(255,255,255,.78)) drop-shadow(0 0 7px rgba(124,58,237,.78)); }
    .lightning-point-canvas { position:absolute; pointer-events:none; }
    .lightning-cell-ring { stroke-linecap:round; }
    .lightning-cell-ring.is-rising { animation:lightningCellPulse 1.8s ease-out infinite; }
    @keyframes lightningCellPulse { 0%,45% { stroke-opacity:.95; fill-opacity:.11; } 100% { stroke-opacity:.38; fill-opacity:.025; } }
    .lightning-cell-tooltip { border:0 !important; border-radius:999px !important; padding:5px 8px !important; background:rgba(15,35,58,.90) !important; color:#fff !important; box-shadow:0 7px 18px rgba(15,23,42,.24) !important; font-size:10px !important; font-weight:900 !important; }
    .lightning-cell-tooltip::before { display:none !important; }
    .lightning-map-icon-wrap { background:transparent !important; border:0 !important; }
    .lightning-map-icon { position:relative; display:grid; place-items:center; width:25px; height:25px; border:2px solid rgba(255,255,255,.94); border-radius:9px; background:linear-gradient(145deg,#fde047,#f59e0b); color:#4a2700; box-shadow:0 7px 18px rgba(15,23,42,.30),0 0 0 2px rgba(250,204,21,.18); transform:translateZ(0); }
    .lightning-map-icon svg { width:16px; height:16px; fill:currentColor; stroke:none; filter:drop-shadow(0 1px 0 rgba(255,255,255,.42)); }
    .lightning-map-icon.is-active { background:linear-gradient(145deg,#fb923c,#f97316); color:#fff; box-shadow:0 7px 18px rgba(15,23,42,.30),0 0 0 3px rgba(249,115,22,.17); }
    .lightning-map-icon.is-intense { background:linear-gradient(145deg,#ef4444,#be123c); color:#fff; box-shadow:0 8px 20px rgba(127,29,29,.36),0 0 0 3px rgba(239,68,68,.20); }
    .lightning-map-icon.is-rising::after { content:""; position:absolute; inset:-5px; border:2px solid rgba(239,68,68,.72); border-radius:12px; animation:lightningIconPulse 1.7s ease-out infinite; }
    @keyframes lightningIconPulse { 0%,35% { opacity:.85; transform:scale(.88); } 100% { opacity:0; transform:scale(1.35); } }
    .lightning-icon-tooltip { border:1px solid rgba(255,255,255,.72) !important; border-radius:11px !important; padding:7px 9px !important; background:rgba(15,35,58,.94) !important; color:#fff !important; box-shadow:0 9px 24px rgba(15,23,42,.28) !important; font-size:11px !important; font-weight:850 !important; line-height:1.35 !important; }
    .lightning-icon-tooltip::before { border-top-color:rgba(15,35,58,.94) !important; }
    .lightning-window-buttons { flex:0 0 auto; display:flex; gap:5px; padding:3px; border-radius:12px; background:rgba(255,255,255,.78); box-shadow:inset 0 0 0 1px rgba(167,139,250,.18); }
    .lightning-window-button { min-width:38px; min-height:30px; border:0; border-radius:9px; padding:5px 7px; background:transparent; color:#536980; box-shadow:none; font:inherit; font-size:10px; font-weight:950; }
    .lightning-window-button.active { background:linear-gradient(135deg,#f59e0b,#7c3aed); color:#fff; box-shadow:0 6px 14px rgba(109,40,217,.20); }
    .lightning-area-list { display:flex; gap:6px; overflow-x:auto; padding-bottom:1px; scrollbar-width:thin; }
    .lightning-area-chip { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; border:1px solid rgba(167,139,250,.22); border-radius:999px; padding:6px 9px; background:rgba(255,255,255,.76); color:#344b62; font-size:10px; font-weight:900; white-space:nowrap; }
    .lightning-trend-dot { width:8px; height:8px; border-radius:999px; background:#64748b; }
    .lightning-trend-dot.rising { background:#ef4444; box-shadow:0 0 0 3px rgba(239,68,68,.12); }
    .lightning-trend-dot.stable { background:#f59e0b; }
    .lightning-trend-dot.falling { background:#22c55e; }
    .lightning-source-notice { border-radius:12px; padding:9px 11px; background:#fff7ed; color:#9a3412; font-size:11px; font-weight:850; line-height:1.4; box-shadow:inset 3px 0 0 #f97316; }
    .lightning-source-notice.is-error { background:#fff1f2; color:#9f1239; box-shadow:inset 3px 0 0 #e11d48; }
    #satelliteLegend > span { display:block; max-width:100%; text-align:center; line-height:1.35; }
    #satelliteLegend time { display:inline; white-space:nowrap; }
    .dot { width:12px; height:12px; border-radius:4px; display:inline-block; }
    @keyframes forecastScrollCue { 0%,100% { transform:translateX(0); } 50% { transform:translateX(4px); } }
    @media (prefers-reduced-motion: reduce) { .forecast-scroll-arrow { animation:none; } }
    @media (max-width: 1100px) and (min-width: 761px) {
      .forecast-overview-body { grid-template-columns:minmax(300px,.78fr) minmax(470px,1.22fr); }
      .forecast-outlook-grid { grid-auto-columns:98px; grid-auto-flow:column; grid-template-columns:none; overflow-x:auto; padding-bottom:6px; scroll-snap-type:x proximity; scrollbar-color:#64addd #e8f3fa; scrollbar-width:thin; }
      .forecast-scroll-hint { display:flex; align-items:center; justify-content:flex-end; gap:6px; min-height:22px; margin:-4px 1px 7px; color:#1477b8; font-size:11px; font-weight:900; }
      .forecast-scroll-hint.is-hidden { visibility:hidden; opacity:0; }
      .forecast-scroll-hint.is-unavailable { display:none; }
      .forecast-scroll-arrow { animation:forecastScrollCue 1.35s ease-in-out infinite; }
    }
    @media (max-width: 760px) {
      main { width:100%; height:100dvh; min-height:100dvh; padding:0 0 calc(72px + env(safe-area-inset-bottom)); }
      header { padding:calc(7px + env(safe-area-inset-top)) 14px 7px; align-items:center; display:flex; margin-bottom:0; border-radius:0; }
      .status { text-align:left; }
      .radar-card { border-radius:0; border-left:0; border-right:0; }
      .app-view.active:not(#viewRadar) { padding-top:12px; }
      .panel { width:calc(100% - 20px); margin:0 auto; border-radius:22px; padding:16px; }
      .app-view:not(#viewRadar) .panel { border-radius:24px; }
      .panel-grid { grid-template-columns:1fr; }
      .settings-layout { grid-template-columns:1fr; gap:11px; }
      .settings-card,.settings-card-wide { grid-column:auto; padding:16px; border-radius:20px; }
      .settings-card-head { margin-bottom:15px; }
      .settings-location-grid { grid-template-columns:1fr; }
      .settings-permission-card { grid-template-columns:auto minmax(0,1fr); }
      .settings-permission-action { grid-column:1 / -1; width:100%; }
      .settings-card .theme-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .account-guest,.account-form { grid-template-columns:1fr; }
      .account-workspace { grid-template-columns:1fr; gap:12px; }
      .account-sidebar { position:static; border-radius:20px; }
      .account-member { display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; align-items:center; padding:15px; text-align:left; }
      .account-member-avatar { width:52px; height:52px; margin:0; border-radius:17px; font-size:18px; }
      .account-member-badges { justify-content:flex-start; }
      .account-nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; padding:8px; border-top:1px solid #deebf4; }
      .account-nav-button { width:100%; min-height:42px; padding:9px 10px; line-height:1.2; white-space:normal; }
      .account-section { padding:18px; border-radius:20px; }
      .account-section-head h3 { font-size:23px; }
      .account-metrics { grid-template-columns:1fr 1fr; }
      .account-overview-cards { grid-template-columns:1fr; }
      .account-form-row { grid-template-columns:1fr; }
      .account-verification-code-row { grid-template-columns:1fr; }
      .place-search { grid-template-columns:minmax(0, 1fr) auto; }
      .weather-now { grid-template-columns:1fr 1fr; }
      .weather-days { display:grid; grid-template-columns:1fr; overflow:visible; padding-bottom:0; }
      .weather-day-main { grid-template-columns:40px 1fr; padding:14px; }
      .weather-day .weather-icon { width:38px; height:38px; }
      .weather-day-meta { grid-column:1 / -1; grid-template-columns:repeat(2, minmax(0, 1fr)); justify-content:stretch; }
      .weather-chip { width:100%; }
      .weather-chip-wide { grid-column:1 / -1; }
      .weather-chevron { position:absolute; right:12px; top:14px; }
      .weather-hour { grid-template-columns:48px 46px minmax(0, 1fr); }
      .weather-head { display:grid; }
      .forecast-panel { padding:0; }
      .forecast-app-head { display:block; padding:20px 18px 16px; }
      .forecast-app-head h2 { font-size:28px; }
      .forecast-app-head p { font-size:13px; line-height:1.45; }
      .forecast-view-switch { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:auto; max-width:none; margin:0 14px 15px; }
      .app-view:not(#viewRadar) .forecast-view-button { padding:8px 7px; font-size:12px; }
      .forecast-shared-controls { min-height:0; padding:0 14px 16px; }
      .forecast-part-tabs { flex:1 1 100%; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
      .app-view:not(#viewRadar) .forecast-part-tab { padding:8px 5px; }
      .forecast-local-search { flex-basis:100%; min-width:0; justify-content:stretch; }
      .forecast-local-search .place-search { width:100%; }
      .forecast-local-search .place-search input { font-size:16px; }
      .forecast-overview-body { grid-template-columns:1fr; }
      .forecast-map-wrap { padding:14px 10px; border-right:0; border-bottom:1px solid #dbeaf4; }
      .forecast-map-stage { width:min(100%,405px); }
      .forecast-region-marker { grid-template-columns:35px auto; min-width:65px; padding:2px 6px 2px 3px; border-radius:11px; }
      .forecast-region-marker .weather-icon { width:34px; height:34px; }
      .forecast-region-marker .weather-icon svg { width:33px; height:33px; }
      .forecast-region-temp { font-size:16px; }
      .forecast-map-wind-marker { grid-template-columns:32px auto; column-gap:4px; }
      .forecast-map-wind-direction { width:30px; height:30px; }
      .forecast-map-wind-direction svg { width:21px; height:21px; }
      .forecast-map-wind-force { font-size:14px; }
      .forecast-map-wind-label { font-size:8px; }
      .forecast-map-wind-marker .forecast-wind-sock { right:-7px; top:-15px; width:21px; height:21px; }
      .forecast-outlook { padding:18px 14px; }
      .forecast-outlook-grid { grid-auto-columns:112px; grid-auto-flow:column; grid-template-columns:none; overflow-x:auto; padding-bottom:6px; scroll-snap-type:x proximity; scrollbar-color:#64addd #e8f3fa; scrollbar-width:thin; }
      .forecast-outlook-card { min-height:300px; }
      .forecast-scroll-hint { display:flex; align-items:center; justify-content:flex-end; gap:6px; min-height:22px; margin:-4px 1px 7px; color:#1477b8; font-size:11px; font-weight:900; transition:opacity .18s ease,visibility .18s ease; }
      .forecast-scroll-hint.is-hidden { visibility:hidden; opacity:0; }
      .forecast-scroll-hint.is-unavailable { display:none; }
      .forecast-scroll-arrow { display:inline-block; font-size:16px; line-height:1; animation:forecastScrollCue 1.35s ease-in-out infinite; }
      .forecast-outlook-grid::-webkit-scrollbar { height:7px; }
      .forecast-outlook-grid::-webkit-scrollbar-track { border-radius:999px; background:#e8f3fa; }
      .forecast-outlook-grid::-webkit-scrollbar-thumb { border-radius:999px; background:#64addd; }
      .forecast-local-card { min-width:105px; max-width:150px; grid-template-columns:34px minmax(0,auto); padding:3px 8px 3px 4px; }
      .forecast-local-card .weather-icon,.forecast-local-card .weather-icon svg { width:33px; height:33px; }
      .forecast-local-temp { font-size:17px; }
      .info-panel { padding:16px 14px 22px; }
      .info-panel > .info-lead { font-size:13px; }
      .info-overview { grid-template-columns:1fr; gap:7px; margin-top:16px; }
      .info-overview-item { display:grid; grid-template-columns:95px 1fr; align-items:center; gap:9px; padding:10px 12px; border-radius:13px; }
      .info-overview-item strong { margin:0; }
      .info-sections { margin-top:12px; gap:8px; }
      .info-section { border-radius:16px; }
      .info-section > summary { grid-template-columns:34px minmax(0,1fr) 24px; gap:10px; min-height:66px; padding:11px 12px; }
      .info-section-icon { width:34px; height:34px; border-radius:10px; }
      .info-section-icon svg { width:18px; height:18px; }
      .info-section-title strong { font-size:14px; }
      .info-section-title small { font-size:10px; }
      .info-section-body { padding:2px 11px 12px; }
      .info-calculation-grid { grid-template-columns:1fr; }
      .info-card-head { flex-wrap:wrap; }
      .info-range-guide { gap:6px; }
      .info-range-guide span { min-height:28px; padding:4px 7px; font-size:10px; }
      .info-radar-row { grid-template-columns:48px minmax(0,1fr); align-items:start; gap:9px; padding:11px 10px; }
      .info-range { width:42px; height:34px; font-size:14px; }
      .info-radar-row .info-kind { grid-column:2; justify-self:start; }
      .info-radar-row h4 { font-size:13px; }
      .info-radar-row p { font-size:12px; line-height:1.5; }
      .info-steps { grid-template-columns:1fr; }
      .info-note { display:grid; gap:4px; }
      .map-wrap { min-height:135px; height:auto; max-height:none; touch-action:none; }
      .map-label { left:12px; right:8px; bottom:24px; gap:6px; }
      .radar-location-select { left:18px; top:10px; width:min(500px, calc(100% - 36px)); min-height:42px; padding:4px 10px 4px 13px; font-size:14px; }
      .radar-location-search input { font-size:16px; }
      .radar-location-select::before { width:18px; height:18px; }
      .temperature-station-panel { top:66px; left:68px; right:66px; width:auto; max-width:none; border-radius:18px; }
      .temperature-panel-head { gap:8px; padding:12px 12px 9px; }
      .temperature-panel-title strong { font-size:15px; }
      .temperature-panel-title small { font-size:11px; }
      .temperature-panel-temp { min-width:58px; border-radius:15px; padding:9px 8px; font-size:20px; }
      .temperature-panel-close { width:30px; height:30px; padding-bottom:2px; font-size:19px; }
      .temperature-panel-body { gap:7px; padding:10px 12px 12px; }
      .temperature-panel-chip { padding:7px 8px; font-size:11px; }
      .map-layer-toggle { left:20px; top:151px; width:36px; height:36px; border-radius:11px; }
      .map-layer-control.is-open::before { left:53px; top:158px; }
      .map-layer-control.is-open::after { left:55px; top:159px; }
      .map-layer-toggle-icon { width:18px; height:18px; }
      .map-layer-menu { left:64px; top:62px; width:min(218px,calc(100vw - 82px)); max-height:calc(100% - 82px); padding:7px; border-radius:15px; }
      .map-layer-button { min-height:40px; padding:7px 9px; border-radius:10px; font-size:12px; }
      .map-layer-button svg { width:20px; height:20px; }
      .map-layer-button[data-layer-mode="temperature"] svg { transform:translate(1px, 1px); }
      .weather-map-options { top:108px; left:68px; right:66px; width:auto; transform:none; }
      .weather-map-option-list { padding:5px; border-radius:14px; }
      .weather-map-option { min-height:32px; padding:6px 9px; font-size:10px; }
      .leaflet-control-zoom a { width:34px !important; height:34px !important; line-height:34px !important; }
      .map-range-controls { top:68px; right:10px; gap:7px; }
      .map-range-toggle, .map-center-location-button { width:42px; height:36px; border-radius:12px; }
      .map-range-toggle svg, .map-center-location-button svg { width:19px; height:19px; }
      .map-range-menu { gap:7px; }
      .map-range-controls button { padding:8px 11px; border-radius:12px; }
      .map-center-location-button { right:10px; bottom:24px; }
      .storm-cell-info-overlay { top:56px; width:calc(100% - 24px); max-height:calc(100% - 70px); padding:14px; border-radius:16px; }
      .leaflet-top.leaflet-left { top:58px; left:10px; }
      .pill { min-height:32px; padding:7px 10px; font-size:13px; }
      .hud { padding:10px 12px 14px; gap:10px; }
      .lightning-window-buttons { width:100%; }
      .lightning-window-button { flex:1; }
      .timeline { border-radius:14px; padding:6px 6px 2px; }
      .timeline canvas { height:var(--rain-graph-height, 104px); }
      .controls { width:100%; }
      .controls button { flex:1 1 auto; }
      .bottom-tabs { width:100%; padding:5px 10px max(2px, env(safe-area-inset-bottom)); }
      .bottom-tabs-inner { border-radius:22px; }
      .tab-button { font-size:11px; }
      .brand-logo { max-width:min(210px, 70vw); height:38px; }
    }
    html.website-embed,
    html.website-embed body {
      height:100%;
      min-height:0;
      overflow:hidden;
      touch-action:pan-y;
      overscroll-behavior:auto;
      background:transparent;
    }
    html.website-embed main {
      height:100%;
      min-height:0;
      padding:0;
      overflow:hidden;
    }
    html.website-embed header,
    html.website-embed .bottom-tabs,
    html.website-embed .app-ad-footer,
    html.website-embed .app-weather-warning-wrap {
      display:none !important;
    }
    html.website-embed .app-view:not(#viewRadar) {
      display:none !important;
    }
    html.website-embed #viewRadar.active {
      display:flex;
      width:100%;
      height:100%;
      min-height:0;
      padding:0;
      overflow:hidden;
    }
    html.website-embed #viewRadar .radar-card {
      width:100%;
      height:100%;
      min-height:0;
      border-radius:26px;
      border:1px solid rgba(125,177,218,.30);
      overflow:hidden;
    }
    html.website-embed .map-wrap {
      min-height:420px;
    }
    html.website-embed .map-wrap,
    html.website-embed #map,
    html.website-embed .leaflet-container,
    html.website-embed .timeline,
    html.website-embed .timeline canvas,
    html.website-embed .timeline-resize-handle {
      touch-action:pan-y !important;
    }
    html.website-embed .hud {
      padding:12px 14px 14px;
      gap:9px;
    }
    html.website-embed .timeline canvas {
      height:var(--rain-graph-height, 118px);
    }
    html.website-embed .timeline-resize-handle {
      width:112px;
      height:24px;
      margin:0 auto;
      touch-action:none !important;
    }
    @media (min-width: 761px) {
      html.website-embed .map-wrap,
      html.website-embed #map,
      html.website-embed .leaflet-container {
        touch-action:none !important;
      }
    }
    @media (max-width: 760px) {
      .app-weather-warning-wrap { padding:7px 8px 0; }
      .app-weather-warning { min-height:58px; grid-template-columns:minmax(0,1fr) 40px; }
      .app-weather-warning-link { min-height:56px; }
      .app-weather-warning-items[data-count="1"] .app-weather-warning-link { grid-template-columns:36px minmax(0,1fr) 18px; gap:8px; padding:8px 4px 8px 9px; }
      .app-weather-warning-close { width:32px; height:32px; border-radius:10px; }
      .app-weather-warning-icon { width:36px; height:36px; border-radius:11px; }
      .app-weather-warning-icon svg { width:22px; height:22px; }
      html.website-embed #viewRadar .radar-card {
        border-radius:18px;
      }
      html.website-embed .map-wrap {
        min-height:260px;
      }
      html.website-embed .hud {
        padding:8px 10px 10px;
        gap:7px;
      }
      html.website-embed .timeline {
        padding:5px 6px 2px;
      }
      html.website-embed .timeline canvas {
        height:var(--rain-graph-height, 96px);
      }
    }
    @media (max-width: 760px) and (max-height: 680px) {
      html.website-embed .map-wrap {
        min-height:220px;
      }
      html.website-embed .timeline canvas {
        height:var(--rain-graph-height, 88px);
      }
    }

    /* Besloten tweede radar-layout. Zonder de featureclass blijven alle
       bestaande afmetingen en posities hierboven ongewijzigd. */
    .new-radar-header-location-slot,
    .new-radar-view-switch,
    .new-radar-graph-head,
    .new-radar-playback-bar { display:none; }
    body.radar-layout-v2 { --radar-sheet-bottom:1px; }
    body.radar-layout-v2 header {
      display:flex;
      align-items:center;
      gap:16px;
      padding:calc(6px + env(safe-area-inset-top)) 18px 18px 6px;
      background:#fff;
      border-bottom:1px solid rgba(125,177,218,.22) !important;
      box-shadow:none;
    }
    body.radar-layout-v2 .new-radar-header-location-slot {
      display:none;
    }
    body.radar-layout-v2 #viewRadar .radar-card {
      position:relative;
      display:block;
      border-top:0;
      background:#bcd2d8;
    }
    body.radar-layout-v2 #viewRadar .map-wrap {
      position:absolute;
      inset:0;
      z-index:1;
      width:100%;
      height:100%;
      min-height:0;
    }
    body.radar-layout-v2 #viewRadar .map-wrap::before {
      content:"";
      position:absolute;
      z-index:680;
      top:0;
      right:0;
      left:0;
      height:112px;
      background:linear-gradient(180deg,rgba(255,255,255,.80) 0,rgba(255,255,255,.60) 28px,rgba(247,251,254,.34) 58px,rgba(238,247,252,.12) 84px,rgba(238,247,252,0) 112px);
      pointer-events:none;
    }
    body.radar-layout-v2 .radar-location-select {
      left:50%;
      top:14px;
      width:min(900px,calc(100% - 120px));
      min-height:48px;
      padding:4px 14px;
      border:1px solid #d5e5f1;
      background:#fff;
      background-clip:padding-box;
      box-shadow:0 7px 20px rgba(15,52,86,.15);
      -webkit-backdrop-filter:none;
      backdrop-filter:none;
      color:#173b63;
      font-size:14px;
      font-weight:650;
      transform:translateX(-50%);
    }
    body.radar-layout-v2 .radar-location-select::before { width:17px; height:17px; opacity:.72; }
    body.radar-layout-v2 .radar-location-button { padding:5px 2px 5px 0; color:inherit; font-weight:650; }
    body.radar-layout-v2 .radar-location-button strong { font-weight:650; }
    body.radar-layout-v2 .radar-location-button::after { width:8px; height:8px; border-width:0 1.5px 1.5px 0; opacity:.72; }
    body.radar-layout-v2 .radar-location-menu {
      border:1px solid #d5e5f1;
      background:#fff;
      box-shadow:0 18px 40px rgba(15,52,86,.22);
      -webkit-backdrop-filter:none;
      backdrop-filter:none;
    }
    body.radar-layout-v2 .radar-location-search {
      gap:7px;
      margin-bottom:3px;
      padding:5px 5px 9px;
      border-bottom:1px solid #e3edf5;
    }
    body.radar-layout-v2 .radar-location-search input {
      border:1px solid #b9d3e6;
      background:#f8fbfe;
      color:#173b63;
      font-size:14px;
      font-weight:550;
      line-height:1.25;
      box-shadow:none;
      -webkit-appearance:none;
      appearance:none;
    }
    body.radar-layout-v2 .radar-location-search input::placeholder {
      color:#7b93aa;
      font-weight:550;
      opacity:1;
    }
    body.radar-layout-v2 .radar-location-search input:focus {
      border-color:#49afe7;
      background:#fff;
      box-shadow:0 0 0 3px rgba(14,165,233,.13);
    }
    body.radar-layout-v2 .radar-location-group-label { color:#7890a7; font-weight:650; }
    body.radar-layout-v2 .radar-location-option { color:#173b63; font-weight:600; line-height:1.25; }
    body.radar-layout-v2 .radar-location-option.active { font-weight:650; }
    body.radar-layout-v2 .radar-location-clear { color:#61788e; font-weight:600; }
    body.radar-layout-v2 .new-radar-view-switch {
      position:absolute;
      z-index:1090;
      left:50%;
      top:18px;
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      width:min(520px,calc(100% - 120px));
      min-height:32px;
      padding:2px;
      border:1px solid rgba(255,255,255,.78);
      border-radius:999px;
      background:rgba(255,255,255,.94);
      box-shadow:0 9px 26px rgba(15,52,86,.18);
      transform:translateX(-50%);
      backdrop-filter:blur(18px);
      pointer-events:auto;
    }
    body.radar-layout-v2 .new-radar-view-button {
      min-width:0;
      min-height:26px;
      border:0;
      border-radius:999px;
      padding:4px 10px;
      background:transparent;
      color:#283d63;
      box-shadow:none;
      font-size:15px;
      font-weight:650;
    }
    body.radar-layout-v2 .new-radar-view-button.active {
      background:linear-gradient(135deg,#138cf0,#2866ed);
      color:#fff;
      box-shadow:0 7px 17px rgba(37,99,235,.25),inset 0 1px 0 rgba(255,255,255,.28);
    }
    body.radar-layout-v2 .leaflet-top.leaflet-left { top:80px; left:20px; }
    body.radar-layout-v2 .map-layer-toggle { left:28px; top:171px; width:42px; height:42px; border-radius:13px; }
    body.radar-layout-v2 .map-layer-control.is-open { z-index:1000; }
    body.radar-layout-v2 .map-layer-toggle-icon { width:18px; height:18px; }
    body.radar-layout-v2 .map-layer-control.is-open::before { left:67px; top:181px; }
    body.radar-layout-v2 .map-layer-control.is-open::after { left:69px; top:182px; }
    body.radar-layout-v2 .map-layer-menu { left:80px; top:76px; }
    body.radar-layout-v2 .map-range-controls { right:17px; top:142px; }
    body.radar-layout-v2 .map-range-controls.is-open { z-index:1000; }
    body.radar-layout-v2 .map-range-toggle,
    body.radar-layout-v2 .map-center-location-button { width:42px; height:42px; border-radius:13px; background:rgba(255,255,255,.96); color:#183557; }
    body.radar-layout-v2 .map-range-toggle svg,
    body.radar-layout-v2 .map-center-location-button svg { width:18px; height:18px; }
    body.radar-layout-v2 .map-layer-button,
    body.radar-layout-v2 .map-range-controls .btn-secondary,
    body.radar-layout-v2 .lightning-live-button,
    body.radar-layout-v2 .tab-button { font-weight:650; }
    body.radar-layout-v2 .leaflet-control-zoom a { font-weight:600; }
    body.radar-layout-v2 .bottom-tabs { padding:4px 10px max(3px,env(safe-area-inset-bottom)); }
    body.radar-layout-v2 .bottom-tabs-inner { padding:5px; border-radius:24px; }
    body.radar-layout-v2 .tab-button { min-height:48px; border-radius:17px; padding:6px 5px 5px; font-size:11px; }
    body.radar-layout-v2 .map-center-location-button { right:17px; top:90px; bottom:auto; }
    body.radar-layout-v2 .map-label { left:24px; bottom:calc(var(--radar-sheet-bottom) + var(--radar-sheet-visible-height,210px)); }
    body.radar-layout-v2 .map-label #time { display:none; }
    body.radar-layout-v2[data-radar-layout-mode="radar"] .leaflet-control-attribution,
    body.radar-layout-v2[data-radar-layout-mode="both"] .leaflet-control-attribution {
      bottom:calc(var(--radar-sheet-bottom) + var(--radar-sheet-visible-height,210px) - 12px);
      margin-right:15px !important;
      margin-bottom:0 !important;
      padding:1px 4px;
      border-radius:6px;
      font-size:8px;
      line-height:1.15;
      transition:bottom .2s ease;
    }
    body.radar-layout-v2[data-radar-layout-mode="graph"] .leaflet-control-attribution { display:none; }
    body.radar-layout-v2[data-weather-layer-mode="satellite"] .leaflet-control-attribution { display:none; }
    body.radar-layout-v2 .hud {
      position:absolute;
      z-index:800;
      left:15px;
      right:15px;
      bottom:var(--radar-sheet-bottom);
      display:block;
      padding:0;
      border:0;
      background:transparent;
      box-shadow:none;
      pointer-events:none;
    }
    body.radar-layout-v2 .hud > .legend,
    body.radar-layout-v2 .hud > .lightning-source-notice { display:none !important; }
    body.radar-layout-v2 .timeline {
      overflow:hidden;
      padding:0 14px 8px;
      border:1px solid rgba(255,255,255,.78);
      border-radius:24px;
      background:rgba(255,255,255,.96);
      box-shadow:0 14px 36px rgba(15,52,86,.22);
      backdrop-filter:blur(20px);
      pointer-events:auto;
      transition:height .2s ease,bottom .2s ease,top .2s ease;
    }
    body.radar-layout-v2 .new-radar-graph-head {
      display:grid;
      grid-template-columns:38px minmax(0,1fr) auto;
      align-items:center;
      gap:10px;
      min-height:70px;
      padding:13px 0 7px;
      transition:min-height .2s ease,padding .2s ease;
    }
    body.radar-layout-v2 .new-radar-graph-range-slot {
      position:relative;
      display:grid;
      place-items:center;
      width:38px;
      height:38px;
    }
    body.radar-layout-v2 .new-radar-graph-range-slot .graph-range-controls {
      position:relative;
      inset:auto !important;
      z-index:6;
      display:block;
    }
    body.radar-layout-v2 .new-radar-graph-range-slot .map-range-toggle {
      width:38px;
      height:38px;
      border:1px solid rgba(125,177,218,.30);
      border-radius:12px;
      background:#f1f8fd;
      color:#1e4169;
      box-shadow:none;
      backdrop-filter:none;
    }
    body.radar-layout-v2 .new-radar-graph-range-slot .map-range-toggle:hover {
      background:#e8f5fd;
      color:#0284c7;
    }
    body.radar-layout-v2 .new-radar-graph-range-slot .map-range-toggle svg {
      display:block;
      width:22px;
      height:22px;
      margin:auto;
      stroke-width:1.9;
    }
    body.radar-layout-v2 .new-radar-graph-range-slot .graph-range-controls.is-open .map-range-toggle {
      color:#fff;
      background:linear-gradient(135deg,#38bdf8,#1d4ed8);
      box-shadow:0 7px 17px rgba(37,99,235,.25),inset 0 1px 0 rgba(255,255,255,.28);
    }
    body.radar-layout-v2 .new-radar-graph-range-slot .map-range-menu {
      position:absolute;
      top:46px;
      left:0;
      width:min(326px,calc(100vw - 48px));
      padding:7px;
      border:1px solid rgba(184,207,225,.92);
      border-radius:14px;
      background:rgba(255,255,255,.98);
      box-shadow:0 15px 34px rgba(15,52,86,.24);
      backdrop-filter:blur(18px);
    }
    body.radar-layout-v2 .new-radar-graph-range-slot .graph-range-controls.is-open .map-range-menu {
      display:grid;
      grid-template-columns:repeat(5,minmax(0,1fr));
      gap:6px;
    }
    body.radar-layout-v2 .new-radar-graph-range-slot .map-range-menu .btn-secondary {
      min-width:0;
      min-height:38px;
      padding:7px 5px;
      border:1px solid #d6e4ef;
      border-radius:10px;
      background:#f5f9fc;
      box-shadow:none;
      color:#173b63;
      text-shadow:none;
    }
    body.radar-layout-v2 .new-radar-graph-range-slot .map-range-menu .btn-secondary.active {
      border-color:rgba(255,255,255,.72);
      background:linear-gradient(135deg,#38bdf8,#1d4ed8);
      color:#fff;
      box-shadow:0 7px 16px rgba(37,99,235,.24),inset 0 1px 0 rgba(255,255,255,.26);
      text-shadow:0 1px 2px rgba(15,23,42,.36);
    }
    body.radar-layout-v2 .new-radar-graph-copy { min-width:0; }
    body.radar-layout-v2 .new-radar-graph-copy strong,
    body.radar-layout-v2 .new-radar-graph-copy span { display:block; }
    body.radar-layout-v2 .new-radar-graph-copy strong { color:#163a63; font-size:17px; line-height:1.15; }
    body.radar-layout-v2 .new-radar-graph-copy span { margin-top:3px; color:#677896; font-size:13px; font-weight:650; }
    body.radar-layout-v2 .new-radar-graph-time {
      align-self:start;
      justify-self:end;
      max-width:120px;
      margin-top:10px;
      overflow:hidden;
      color:#163a63;
      font-size:13px;
      font-weight:700;
      line-height:1.15;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    body.radar-layout-v2 .timeline-resize-handle {
      position:absolute;
      z-index:2;
      top:3px;
      left:50%;
      width:70px;
      height:13px;
      transform:translateX(-50%);
    }
    body.radar-layout-v2 .timeline-resize-handle::before { width:42px; height:4px; }
    body.radar-layout-v2 .timeline canvas { height:var(--rain-graph-height-v2,126px); }
    body.radar-layout-v2 .new-radar-playback-bar { display:none; }
    body.radar-layout-v2[data-radar-layout-mode="radar"] .timeline {
      padding:8px 11px;
      border-radius:999px;
    }
    body.radar-layout-v2[data-radar-layout-mode="radar"] .timeline-resize-handle,
    body.radar-layout-v2[data-radar-layout-mode="radar"] .new-radar-graph-head,
    body.radar-layout-v2[data-radar-layout-mode="radar"] .timeline canvas { display:none; }
    body.radar-layout-v2[data-radar-layout-mode="radar"] .new-radar-playback-bar {
      display:grid;
      grid-template-columns:48px minmax(0,1fr) 38px;
      align-items:center;
      gap:9px;
      min-height:54px;
    }
    body.radar-layout-v2 .new-radar-playback-toggle,
    body.radar-layout-v2 .new-radar-playback-speed {
      display:grid;
      place-items:center;
      padding:0;
      border:0;
      color:#fff;
      box-shadow:none;
    }
    body.radar-layout-v2 .new-radar-playback-toggle {
      width:46px;
      height:46px;
      border-radius:50%;
      background:linear-gradient(135deg,#1198ed,#2865ee);
      box-shadow:0 7px 17px rgba(37,99,235,.25),inset 0 1px 0 rgba(255,255,255,.28);
    }
    body.radar-layout-v2 .new-radar-playback-toggle svg { width:21px; height:21px; fill:currentColor; }
    body.radar-layout-v2 .new-radar-playback-toggle .pause-icon { display:none; }
    body.radar-layout-v2 .new-radar-playback-toggle[aria-pressed="true"] .play-icon { display:none; }
    body.radar-layout-v2 .new-radar-playback-toggle[aria-pressed="true"] .pause-icon { display:block; }
    body.radar-layout-v2 .new-radar-playback-track { display:grid; grid-template-rows:auto 22px; min-width:0; gap:1px; }
    body.radar-layout-v2 .new-radar-playback-time {
      overflow:hidden;
      color:#183d68;
      font-size:11px;
      font-weight:750;
      line-height:1.1;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    body.radar-layout-v2 .new-radar-playback-range {
      appearance:none;
      width:100%;
      height:22px;
      margin:0;
      padding:0;
      border:0;
      border-radius:0;
      background:transparent;
      box-shadow:none;
      touch-action:none;
    }
    body.radar-layout-v2 .new-radar-playback-range::-webkit-slider-runnable-track {
      height:5px;
      border-radius:999px;
      background:linear-gradient(90deg,#2186ef 0 var(--playback-progress,0%),#d6e3ee var(--playback-progress,0%) 100%);
    }
    body.radar-layout-v2 .new-radar-playback-range::-webkit-slider-thumb {
      appearance:none;
      width:18px;
      height:18px;
      margin-top:-6.5px;
      border:3px solid #fff;
      border-radius:50%;
      background:#1e7fea;
      box-shadow:0 2px 7px rgba(15,52,86,.30);
    }
    body.radar-layout-v2 .new-radar-playback-range::-moz-range-track { height:5px; border:0; border-radius:999px; background:#d6e3ee; }
    body.radar-layout-v2 .new-radar-playback-range::-moz-range-progress { height:5px; border-radius:999px; background:#2186ef; }
    body.radar-layout-v2 .new-radar-playback-range::-moz-range-thumb { width:13px; height:13px; border:3px solid #fff; border-radius:50%; background:#1e7fea; box-shadow:0 2px 7px rgba(15,52,86,.30); }
    body.radar-layout-v2 .new-radar-playback-speed {
      width:38px;
      height:34px;
      border-radius:11px;
      background:#edf6fd;
      color:#1d5681;
      font-size:12px;
      font-weight:800;
    }
    body.radar-layout-v2 .new-radar-playback-speed:active { background:#dceefa; transform:scale(.96); }
    body.radar-layout-v2[data-radar-layout-mode="radar"] .map-label { bottom:calc(var(--radar-sheet-bottom) + 86px); }
    body.radar-layout-v2.radar-layout-graph-full-height[data-radar-layout-mode="both"] .map-label { display:none; }
    body.radar-layout-v2[data-radar-layout-mode="graph"] .map-wrap::after {
      content:"";
      position:absolute;
      inset:0;
      z-index:650;
      background:rgba(225,239,249,.32);
      backdrop-filter:blur(2px);
      pointer-events:none;
    }
    body.radar-layout-v2[data-radar-layout-mode="graph"] .hud { top:58px; }
    body.radar-layout-v2[data-radar-layout-mode="graph"] .timeline { height:100%; }
    body.radar-layout-v2[data-radar-layout-mode="graph"] .timeline-resize-handle { display:none; }
    body.radar-layout-v2[data-radar-layout-mode="graph"] .timeline canvas { height:calc(100% - 76px); }
    body.radar-layout-v2[data-radar-layout-mode="graph"] .map-label { display:none; }

    @media (max-width:760px) {
      body.radar-layout-v2 { --radar-sheet-bottom:10px; }
      body.radar-layout-v2 header {
        min-height:0;
        padding:calc(7px + env(safe-area-inset-top)) 14px 7px;
        border-bottom:1px solid rgba(125,177,218,.22);
      }
      body.radar-layout-v2 .brand-logo { width:auto; max-width:min(210px,70vw); height:38px; }
      body.radar-layout-v2 .header-account-button { width:42px; height:42px; }
      body.radar-layout-v2 .radar-location-select { left:50%; top:10px; width:calc(100% - 120px); min-height:46px; padding:3px 13px; font-size:14px; transform:translateX(-50%); }
      body.radar-layout-v2 .radar-location-menu {
        max-height:min(420px,calc(100dvh - 150px));
        overflow-x:hidden;
        overflow-y:auto;
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
      }
      body.radar-layout-v2 .radar-location-search input { font-size:16px; font-weight:550; }
      body.radar-layout-v2 .new-radar-view-switch { top:18px; width:calc(100% - 120px); min-width:300px; }
      body.radar-layout-v2 .new-radar-view-button { font-size:14px; }
      body.radar-layout-v2 .leaflet-top.leaflet-left { top:80px; left:19px; }
      body.radar-layout-v2 .leaflet-control-zoom a { width:40px !important; height:40px !important; line-height:40px !important; }
      body.radar-layout-v2 .map-layer-toggle { left:28px; top:174px; width:42px; height:42px; }
      body.radar-layout-v2 .map-layer-control.is-open::before { left:67px; top:184px; }
      body.radar-layout-v2 .map-layer-control.is-open::after { left:69px; top:185px; }
      body.radar-layout-v2 .map-layer-menu { left:80px; top:78px; width:min(230px,calc(100vw - 98px)); }
      body.radar-layout-v2 .map-range-controls { right:16px; top:142px; }
      body.radar-layout-v2 .map-range-toggle,
      body.radar-layout-v2 .map-center-location-button { width:42px; height:42px; }
      body.radar-layout-v2 .map-center-location-button { right:16px; top:90px; }
      body.radar-layout-v2 .map-label { left:23px; bottom:calc(var(--radar-sheet-bottom) + var(--radar-sheet-visible-height,210px)); }
      body.radar-layout-v2 .hud { left:15px; right:15px; bottom:var(--radar-sheet-bottom); }
      body.radar-layout-v2 .timeline { padding:0 12px 7px; border-radius:23px; }
      body.radar-layout-v2 .new-radar-graph-head { min-height:67px; padding-top:12px; }
      body.radar-layout-v2 .new-radar-graph-copy strong { font-size:16px; }
      body.radar-layout-v2 .new-radar-graph-copy span { font-size:12px; }
      body.radar-layout-v2 .new-radar-graph-time { font-size:12px; }
      body.radar-layout-v2 .timeline canvas { height:var(--rain-graph-height-v2,120px); }
      body.radar-layout-v2 .bottom-tabs { padding:4px 10px max(3px,env(safe-area-inset-bottom)); background:linear-gradient(180deg,rgba(255,255,255,.28),#f4f8fc 52%); }
      body.radar-layout-v2 .bottom-tabs-inner { padding:5px; border-radius:24px; background:rgba(255,255,255,.96); box-shadow:0 8px 24px rgba(30,86,135,.16); }
      body.radar-layout-v2 .tab-button { min-height:56px; border-radius:18px; padding:7px 5px 6px; font-size:11px; }
      body.radar-layout-v2 .tab-button svg { width:22px; height:22px; }
      body.radar-layout-v2[data-radar-layout-mode="graph"] .hud { top:58px; }
    }

    html.website-embed body.radar-layout-v2 { --radar-sheet-bottom:10px; }
    html.website-embed body.radar-layout-v2 .radar-location-select { top:14px; }
    html.website-embed body.radar-layout-v2 .new-radar-view-switch { top:80px; }
    html.website-embed body.radar-layout-v2 #viewRadar .radar-card { border-radius:26px; }
    html.website-embed body.radar-layout-v2 .map-wrap { min-height:0; }
    html.website-embed body.radar-layout-v2 .hud { bottom:10px; padding:0; }
    html.website-embed body.radar-layout-v2 .timeline { padding:0 14px 8px; }
    html.website-embed body.radar-layout-v2 .timeline canvas { height:var(--rain-graph-height-v2,126px); }
    html.website-embed body.radar-layout-v2 .timeline-resize-handle { width:70px; height:13px; margin:0; }
    html.website-embed body.radar-layout-v2[data-radar-layout-mode="graph"] .hud { top:120px; }
    html.website-embed body.radar-layout-v2[data-radar-layout-mode="graph"] .timeline canvas { height:calc(100% - 76px); }
    @media (max-width:760px) {
      html.website-embed body.radar-layout-v2 #viewRadar .radar-card { border-radius:18px; }
      html.website-embed body.radar-layout-v2 .new-radar-view-switch { top:76px; }
      html.website-embed body.radar-layout-v2 .timeline { padding:0 12px 7px; }
      html.website-embed body.radar-layout-v2 .timeline canvas { height:var(--rain-graph-height-v2,120px); }
      html.website-embed body.radar-layout-v2[data-radar-layout-mode="graph"] .hud { top:116px; }
      html.website-embed body.radar-layout-v2[data-radar-layout-mode="graph"] .timeline canvas { height:calc(100% - 74px); }
    }

    /* In de app staat de locatiekeuze weer op de kaart. De header blijft op
       iedere apppagina dezelfde witte balk met een vaste scheidingslijn. */
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .radar-location-select {
      left:15px;
      width:calc(100% - 30px);
      max-width:none;
      transform:none;
    }
    @media (min-width:761px) {
      html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .radar-location-select {
        left:50%;
        width:min(900px,calc(100% - 120px));
        max-width:900px;
        transform:translateX(-50%);
      }
    }
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] header {
      background:#fff;
      border-bottom:1px solid rgba(125,177,218,.22) !important;
    }
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] #viewRadar.active {
      margin-top:0;
    }
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .new-radar-view-switch { top:68px; }
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .leaflet-top.leaflet-left { top:120px; left:5px; }
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-layer-toggle { left:15px; top:217px; }
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-layer-control.is-open::before { left:54px; top:227px; }
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-layer-control.is-open::after { left:56px; top:228px; }
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-layer-menu { left:67px; top:114px; }
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-range-controls { right:14px; top:182px; }
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-center-location-button { right:14px; top:130px; }
    html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"][data-radar-layout-mode="graph"] .hud { top:108px; }
    @media (max-width:760px) {
      html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-layer-toggle { top:220px; }
      html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-layer-control.is-open::before { top:230px; }
      html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-layer-control.is-open::after { top:231px; }
      html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-layer-menu { top:116px; }
      html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-range-controls { top:182px; }
      html:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] .map-center-location-button { top:130px; }
    }

    /* De native apps mogen een deel van de onderste gesture-zone benutten.
       Er blijft voldoende afstand tot de iOS-home-indicator/Android-gesturebalk,
       terwijl kaart en navigatie samen verder naar beneden doorlopen. */
    @media (max-width:760px) {
      html.radarnu-native-app {
        --radarnu-native-bottom-safe: max(0px, calc(env(safe-area-inset-bottom) - 16px));
        --radarnu-native-tab-offset: 10px;
      }
      html.radarnu-native-ios {
        --radarnu-native-bottom-safe: 10px;
      }
      html.radarnu-native-app main {
        padding-bottom:calc(82px + var(--radarnu-native-bottom-safe) + var(--app-ad-footer-height,0px));
      }
      html.radarnu-native-app body.radar-layout-v2 .bottom-tabs {
        bottom:calc(var(--radarnu-native-tab-offset) + var(--app-ad-footer-height,0px));
        padding-bottom:max(3px, var(--radarnu-native-bottom-safe));
      }
      html.radarnu-native-app body.radar-layout-v2.app-ad-visible .bottom-tabs {
        bottom:var(--app-ad-footer-height,0px);
      }
    }
    /* Appbrede donkere modus. De gekozen onderkaart blijft een onafhankelijke instelling. */
    html[data-color-mode="dark"] { color-scheme:dark; --app-dark-bg:#07111f; --app-dark-surface:#0d1b2a; --app-dark-surface-raised:#122438; --app-dark-border:rgba(125,177,218,.22); --app-dark-text:#e8f2fb; --app-dark-muted:#9db1c5; }
    html[data-color-mode="dark"] body { color:var(--app-dark-text); background:var(--app-dark-bg); }
    html[data-color-mode="dark"] header,
    html[data-color-mode="dark"] body.radar-layout-v2 header,
    html[data-color-mode="dark"]:not(.website-embed) body.radar-layout-v2[data-app-tab="radar"] header { background:#0b1725; border-bottom-color:var(--app-dark-border)!important; }
    html[data-color-mode="dark"] .brand-logo { filter:brightness(0) invert(1); }
    html[data-color-mode="dark"] .header-account-button { color:#9bdcff; border-color:rgba(93,180,235,.35); background:linear-gradient(180deg,#15283b,#0e1d2d); box-shadow:0 10px 24px rgba(0,0,0,.22); }
    html[data-color-mode="dark"] .app-view.active:not(#viewRadar) { background:var(--app-dark-bg); }
    html[data-color-mode="dark"] .app-view:not(#viewRadar) .panel { color:var(--app-dark-text); border-color:var(--app-dark-border); background:#091625; }
    html[data-color-mode="dark"] .app-view:not(#viewRadar) h2,
    html[data-color-mode="dark"] .app-view:not(#viewRadar) h3,
    html[data-color-mode="dark"] .app-view:not(#viewRadar) h4,
    html[data-color-mode="dark"] .app-view:not(#viewRadar) strong,
    html[data-color-mode="dark"] .app-view:not(#viewRadar) summary { color:var(--app-dark-text); }
    html[data-color-mode="dark"] .app-view:not(#viewRadar) .panel > p:not(.eyebrow),
    html[data-color-mode="dark"] .app-view:not(#viewRadar) .panel-item p,
    html[data-color-mode="dark"] .app-view:not(#viewRadar) small,
    html[data-color-mode="dark"] .app-view:not(#viewRadar) .info-lead,
    html[data-color-mode="dark"] .app-view:not(#viewRadar) .account-page-head > p:last-child { color:var(--app-dark-muted)!important; }
    html[data-color-mode="dark"] .panel-item,
    html[data-color-mode="dark"] .settings-card,
    html[data-color-mode="dark"] .account-card,
    html[data-color-mode="dark"] .account-sidebar,
    html[data-color-mode="dark"] .account-section,
    html[data-color-mode="dark"] .forecast-outlook-card,
    html[data-color-mode="dark"] .forecast-local-card,
    html[data-color-mode="dark"] .info-overview-item,
    html[data-color-mode="dark"] .info-radar-row,
    html[data-color-mode="dark"] .weather-hour { color:var(--app-dark-text); border-color:var(--app-dark-border); background:var(--app-dark-surface); box-shadow:none; }
    html[data-color-mode="dark"] .settings-card-icon,
    html[data-color-mode="dark"] .settings-appearance-icon,
    html[data-color-mode="dark"] .account-login-icon,
    html[data-color-mode="dark"] .account-overview-icon,
    html[data-color-mode="dark"] .info-section-icon { color:#5fc8ff; background:#142d42; }
    html[data-color-mode="dark"] .settings-card-head p,
    html[data-color-mode="dark"] .settings-system-note,
    html[data-color-mode="dark"] .settings-permission-copy p,
    html[data-color-mode="dark"] .settings-appearance-copy small,
    html[data-color-mode="dark"] .settings-inline-status,
    html[data-color-mode="dark"] .account-sync-updated { color:var(--app-dark-muted)!important; }
    html[data-color-mode="dark"] .settings-subsection { border-top-color:rgba(125,177,218,.16); }
    html[data-color-mode="dark"] .settings-subsection-head h4,
    html[data-color-mode="dark"] .settings-appearance-copy strong,
    html[data-color-mode="dark"] .settings-permission-copy strong { color:var(--app-dark-text); }
    html[data-color-mode="dark"] .settings-subsection-head span { color:#87a2bb; }
    html[data-color-mode="dark"] .settings-appearance-row,
    html[data-color-mode="dark"] .settings-permission-card,
    html[data-color-mode="dark"] .settings-inline-status,
    html[data-color-mode="dark"] .account-mode-switch,
    html[data-color-mode="dark"] .account-metrics > div,
    html[data-color-mode="dark"] .account-sync-stats > div,
    html[data-color-mode="dark"] .account-overview-cards article { color:var(--app-dark-text); border-color:var(--app-dark-border); background:var(--app-dark-surface-raised); }
    html[data-color-mode="dark"] .settings-permission-card[data-state="success"] { border-color:rgba(52,211,153,.35); background:#0d2a26; }
    html[data-color-mode="dark"] .settings-permission-card[data-state="warning"] { border-color:rgba(245,158,11,.38); background:#2b2312; }
    html[data-color-mode="dark"] .settings-permission-card[data-state="danger"] { border-color:rgba(248,113,113,.38); background:#2b171d; }
    html[data-color-mode="dark"] .settings-switch-track { border-color:#466078; background:#31465a; }
    html[data-color-mode="dark"] input:not([type="checkbox"]):not([type="range"]),
    html[data-color-mode="dark"] textarea,
    html[data-color-mode="dark"] select,
    html[data-color-mode="dark"] .place-search input,
    html[data-color-mode="dark"] .radar-location-search input { color:var(--app-dark-text); border-color:rgba(125,177,218,.32); background:#102236; }
    html[data-color-mode="dark"] input::placeholder,
    html[data-color-mode="dark"] textarea::placeholder { color:#7890a6; opacity:1; }
    html[data-color-mode="dark"] .place-suggestions,
    html[data-color-mode="dark"] .radar-location-menu,
    html[data-color-mode="dark"] .saved-location-row,
    html[data-color-mode="dark"] .place-suggestion,
    html[data-color-mode="dark"] .radar-location-option { color:var(--app-dark-text); border-color:var(--app-dark-border); background:#102236; }
    html[data-color-mode="dark"] .place-suggestion:hover,
    html[data-color-mode="dark"] .radar-location-option:hover { background:#17334d; }
    html[data-color-mode="dark"] .place-suggestion-copy small,
    html[data-color-mode="dark"] .saved-location-row span,
    html[data-color-mode="dark"] .saved-location-status,
    html[data-color-mode="dark"] .place-suggestion-message { color:var(--app-dark-muted); }
    html[data-color-mode="dark"] .theme-choice,
    html[data-color-mode="dark"] .btn-secondary { color:#dbeeff; border-color:rgba(125,177,218,.30); background:#13273a; box-shadow:none; }
    html[data-color-mode="dark"] .theme-choice span { color:#dbeeff !important; }
    html[data-color-mode="dark"] .theme-choice.is-active,
    html[data-color-mode="dark"] .theme-choice.active { border-color:#38bdf8; background:#173650; }
    html[data-color-mode="dark"] .theme-choice.is-active span,
    html[data-color-mode="dark"] .theme-choice.active span { color:#fff !important; }
    html[data-color-mode="dark"] .theme-choice:disabled span { color:#8298ac !important; }
    html[data-color-mode="dark"] .account-form input,
    html[data-color-mode="dark"] .account-profile-form input,
    html[data-color-mode="dark"] .account-delete-form input { color:var(--app-dark-text); border-color:rgba(125,177,218,.32); background:#102236; }
    html[data-color-mode="dark"] .app-view:not(#viewRadar) .account-mode-button { color:#9db1c5; }
    html[data-color-mode="dark"] .app-view:not(#viewRadar) .account-mode-button.is-active { color:#65ccff; background:#193247; }
    html[data-color-mode="dark"] .account-nav-button { color:#b5c8d9; }
    html[data-color-mode="dark"] .account-nav-button.is-active {
      color:#7dd3fc!important;
      background:linear-gradient(90deg,rgba(14,165,233,.17),rgba(14,165,233,.07));
      box-shadow:inset 3px 0 #38bdf8, inset 0 0 0 1px rgba(56,189,248,.18)!important;
    }
    html[data-color-mode="dark"] .info-section,
    html[data-color-mode="dark"] .info-note,
    html[data-color-mode="dark"] .info-warning-note,
    html[data-color-mode="dark"] .forecast-note,
    html[data-color-mode="dark"] .weather-source { border-color:var(--app-dark-border); background:#102236; }
    html[data-color-mode="dark"] #viewInfo .info-overview-item span,
    html[data-color-mode="dark"] #viewInfo .info-section-title small,
    html[data-color-mode="dark"] #viewInfo .info-card p,
    html[data-color-mode="dark"] #viewInfo .info-section-body p,
    html[data-color-mode="dark"] #viewInfo .info-radar-row small,
    html[data-color-mode="dark"] #viewInfo .info-use,
    html[data-color-mode="dark"] #viewInfo .info-technical p,
    html[data-color-mode="dark"] #viewInfo .info-list li { color:var(--app-dark-muted)!important; }
    html[data-color-mode="dark"] #viewInfo .info-section[open] > summary { color:var(--app-dark-text); background:#13273a; }
    html[data-color-mode="dark"] #viewInfo .info-section > summary::after { border-color:#78cfff; }
    html[data-color-mode="dark"] #viewInfo .info-section-body,
    html[data-color-mode="dark"] #viewInfo .info-radar-list,
    html[data-color-mode="dark"] #viewInfo .info-radar-row { border-color:var(--app-dark-border); }
    html[data-color-mode="dark"] #viewInfo .info-section-title strong,
    html[data-color-mode="dark"] #viewInfo .info-card h4,
    html[data-color-mode="dark"] #viewInfo .info-section h4,
    html[data-color-mode="dark"] #viewInfo .info-use strong { color:var(--app-dark-text); }
    html[data-color-mode="dark"] #viewInfo .info-range-guide span,
    html[data-color-mode="dark"] #viewInfo .info-steps > div,
    html[data-color-mode="dark"] #viewInfo .info-calculation-grid > div { color:#b8ccdd; border-color:var(--app-dark-border); background:#122438; }
    html[data-color-mode="dark"] #viewInfo .info-calculation-grid strong { color:#dceeff; }
    html[data-color-mode="dark"] #viewInfo .info-technical,
    html[data-color-mode="dark"] #viewInfo .info-technical summary { color:#70d0ff; }
    html[data-color-mode="dark"] #viewInfo .info-chip { color:#7dd3fc; border-color:rgba(56,189,248,.32); background:#14304a; }
    html[data-color-mode="dark"] #viewInfo .info-kind.observed { color:#6ee7c2; background:#11352e; }
    html[data-color-mode="dark"] #viewInfo .info-kind.nowcast { color:#7dd3fc; background:#14304a; }
    html[data-color-mode="dark"] #viewInfo .info-kind.ensemble { color:#c4b5fd; background:#2a2344; }
    html[data-color-mode="dark"] #viewInfo .info-kind.model { color:#f8c977; background:#3a2b16; }
    html[data-color-mode="dark"] #viewInfo .info-note { color:#b4c8d9; }
    html[data-color-mode="dark"] #viewInfo .info-note strong { color:#dceeff; }
    html[data-color-mode="dark"] #viewInfo .info-warning-note { color:#f1ce91; background:#332713; }
    html[data-color-mode="dark"] #viewInfo .info-warning-note strong { color:#ffd589; }
    html[data-color-mode="dark"] .in-app-message,
    html[data-color-mode="dark"] .app-weather-warning-dialog,
    html[data-color-mode="dark"] .storm-cell-info-overlay,
    html[data-color-mode="dark"] .temperature-station-panel,
    html[data-color-mode="dark"] .preload-card { color:var(--app-dark-text); border-color:var(--app-dark-border); background:#0f2032; }
    html[data-color-mode="dark"] .in-app-message p,
    html[data-color-mode="dark"] .preload-subtitle,
    html[data-color-mode="dark"] .preload-meta { color:var(--app-dark-muted); }
    html[data-color-mode="dark"] .premium-prompt-dialog { color:var(--app-dark-text); background:#0f2032; }
    html[data-color-mode="dark"] .premium-prompt-copy { color:var(--app-dark-muted); }
    html[data-color-mode="dark"] .premium-prompt-copy strong { color:#e4f3ff; }
    html[data-color-mode="dark"] .premium-prompt-benefits li { color:#c0d3e3; }
    html[data-color-mode="dark"] .premium-prompt-benefits li::before { color:#6ee7c2; background:#11352e; }
    html[data-color-mode="dark"] .premium-prompt-price { color:#9db1c5; border-color:var(--app-dark-border); background:#13283c; }
    html[data-color-mode="dark"] .premium-prompt-price strong { color:#7dd3fc; }
    html[data-color-mode="dark"] .premium-prompt-close { color:#c7d8e7; border-color:var(--app-dark-border); background:#162b3e; }
    html[data-color-mode="dark"] .location-remove-dialog { color:var(--app-dark-text); background:#0f2032; }
    html[data-color-mode="dark"] .location-remove-dialog p { color:var(--app-dark-muted); }
    html[data-color-mode="dark"] .location-remove-dialog-icon { color:#fca5a5; background:#3b1d27; }
    html[data-color-mode="dark"] .location-remove-cancel { color:#c7d8e7; border-color:var(--app-dark-border); background:#162b3e; }
    html[data-color-mode="dark"] body.radar-layout-v2 .radar-location-select,
    html[data-color-mode="dark"] body.radar-layout-v2 .radar-location-button,
    html[data-color-mode="dark"] body.radar-layout-v2 .new-radar-view-switch,
    html[data-color-mode="dark"] body.radar-layout-v2 .timeline,
    html[data-color-mode="dark"] body.radar-layout-v2 .bottom-tabs-inner { color:var(--app-dark-text); border-color:var(--app-dark-border); background:rgba(11,23,37,.96); box-shadow:0 10px 30px rgba(0,0,0,.24); }
    html[data-color-mode="dark"] body.radar-layout-v2 .radar-location-button strong,
    html[data-color-mode="dark"] body.radar-layout-v2 .new-radar-view-button,
    html[data-color-mode="dark"] body.radar-layout-v2 .timeline h3,
    html[data-color-mode="dark"] body.radar-layout-v2 .timeline strong { color:var(--app-dark-text); }
    html[data-color-mode="dark"] body.radar-layout-v2 .new-radar-graph-time { color:#7dd3fc; }
    html[data-color-mode="dark"] body.radar-layout-v2 .new-radar-graph-range-slot .map-range-toggle { color:#7dd3fc; border-color:rgba(125,177,218,.25); background:#102236; }
    html[data-color-mode="dark"] body.radar-layout-v2 .new-radar-graph-range-slot .graph-range-controls.is-open .map-range-toggle { color:#fff; background:linear-gradient(135deg,#38bdf8,#1d4ed8); }
    html[data-color-mode="dark"] body.radar-layout-v2 .new-radar-graph-range-slot .map-range-menu .btn-secondary { color:#dceeff; border-color:rgba(125,177,218,.25); background:#102236; }
    html[data-color-mode="dark"] body.radar-layout-v2 .new-radar-graph-range-slot .map-range-menu .btn-secondary.active { color:#fff; border-color:rgba(255,255,255,.34); background:linear-gradient(135deg,#38bdf8,#1d4ed8); }
    html[data-color-mode="dark"] body.radar-layout-v2 .new-radar-graph-copy span { color:var(--app-dark-muted); }
    html[data-color-mode="dark"] body.radar-layout-v2 .new-radar-view-button:not(.active),
    html[data-color-mode="dark"] body.radar-layout-v2 .tab-button:not(.active) { color:#a8bfd2; }
    html[data-color-mode="dark"] body.radar-layout-v2 .new-radar-view-button.active,
    html[data-color-mode="dark"] body.radar-layout-v2 .tab-button.active { color:#fff; }
    html[data-color-mode="dark"] body.radar-layout-v2 .bottom-tabs { background:linear-gradient(180deg,transparent,#07111f 28%); }
    html[data-color-mode="dark"] .app-ad-footer { border-top-color:var(--app-dark-border); background:rgba(7,17,31,.98); box-shadow:0 -8px 28px rgba(0,0,0,.28); }
    html[data-color-mode="dark"] .app-ad-footer-label { color:#8197ac; }
    html[data-color-mode="dark"] body.radar-layout-v2 .leaflet-control-zoom a,
    html[data-color-mode="dark"] body.radar-layout-v2 .map-layer-toggle,
    html[data-color-mode="dark"] body.radar-layout-v2 .map-center-location-button,
    html[data-color-mode="dark"] body.radar-layout-v2 .map-range-toggle,
    html[data-color-mode="dark"] body.radar-layout-v2 .map-range-option { color:#dceeff; border-color:rgba(125,177,218,.25); background:#102236; }
    html[data-color-mode="dark"] body.radar-layout-v2 .leaflet-control-zoom { box-shadow:0 14px 32px rgba(0,0,0,.38),0 0 0 1px rgba(125,177,218,.25); }
    html[data-color-mode="dark"] body.radar-layout-v2 .leaflet-control-zoom a { color:#dceeff !important; border-color:rgba(125,177,218,.25) !important; background:#102236 !important; text-shadow:none; }
    html[data-color-mode="dark"] body.radar-layout-v2 .leaflet-control-zoom a:hover { color:#7dd3fc !important; background:#17334d !important; }
    html[data-color-mode="dark"] body.radar-layout-v2 .map-layer-menu,
    html[data-color-mode="dark"] body.radar-layout-v2 .map-range-menu { border-color:var(--app-dark-border); background:#0e1d2d; box-shadow:0 18px 42px rgba(0,0,0,.36); }
    html[data-color-mode="dark"] body.radar-layout-v2 .radar-location-menu { background:rgba(10,22,35,.99); }
    html[data-color-mode="dark"] body.radar-layout-v2 .radar-location-group-label { color:#7fa3bf; }
    html[data-color-mode="dark"] body.radar-layout-v2 .radar-location-option.is-active { background:linear-gradient(135deg,#0ea5e9,#2563eb); }
    html[data-color-mode="dark"] body.radar-layout-v2 .preload-overlay { background:rgba(2,8,16,.66); }
    html[data-color-mode="dark"] #viewForecast .forecast-panel { color:var(--app-dark-text); background:#07111f!important; }
    html[data-color-mode="dark"] #viewForecast .forecast-app-head,
    html[data-color-mode="dark"] #viewForecast .forecast-shared-controls { background:#091625; }
    html[data-color-mode="dark"] #viewForecast .forecast-app-head h2 { color:var(--app-dark-text); }
    html[data-color-mode="dark"] #viewForecast .forecast-app-head p:not(.eyebrow) { color:var(--app-dark-muted); }
    html[data-color-mode="dark"] #viewForecast .forecast-view-switch,
    html[data-color-mode="dark"] #viewForecast .forecast-part-tabs { border-color:var(--app-dark-border); background:#102236; }
    html[data-color-mode="dark"] #viewForecast .forecast-view-button,
    html[data-color-mode="dark"] #viewForecast .forecast-part-tab { color:#aac0d3; }
    html[data-color-mode="dark"] #viewForecast .forecast-view-button.active,
    html[data-color-mode="dark"] #viewForecast .forecast-part-tab.active { color:#fff; background:linear-gradient(135deg,#0ea5e9,#2563eb); box-shadow:0 7px 18px rgba(14,165,233,.18); }
    html[data-color-mode="dark"] #viewForecast .forecast-overview-body { border-top-color:var(--app-dark-border); background:linear-gradient(135deg,#081522,#0d1b2a); }
    html[data-color-mode="dark"] #viewForecast .forecast-map-wrap { border-color:var(--app-dark-border); background:#0a1826; }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook { background:rgba(11,23,37,.96); }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-head h3 { color:var(--app-dark-text); }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-head p,
    html[data-color-mode="dark"] #viewForecast .forecast-note,
    html[data-color-mode="dark"] #viewForecast .forecast-loading { color:var(--app-dark-muted); }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-badge { color:#7dd3fc; background:#14304a; }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-card:not(.is-selected) { color:var(--app-dark-text); border-color:var(--app-dark-border); background:#102236; box-shadow:none; }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-card:not(.is-selected):hover { border-color:#3f87b5; background:#142a40; }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-card:not(.is-selected) .forecast-outlook-date,
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-card:not(.is-selected) .forecast-outlook-min,
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-card:not(.is-selected) .forecast-outlook-condition,
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-card:not(.is-selected) .forecast-outlook-wind { color:#a9bdcf; }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-card:not(.is-selected) .forecast-outlook-date strong,
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-card:not(.is-selected) .forecast-outlook-max { color:#e8f2fb; }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-card:not(.is-selected) .forecast-outlook-metric { color:#9db1c5; background:#162d43; }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-card:not(.is-selected) .forecast-outlook-metric strong { color:#dbeeff; }
    html[data-color-mode="dark"] #viewForecast .forecast-scroll-hint { color:#7dd3fc; }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-grid { scrollbar-color:#347faa #102236; }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-grid::-webkit-scrollbar-track { background:#102236; }
    html[data-color-mode="dark"] #viewForecast .forecast-outlook-grid::-webkit-scrollbar-thumb { background:#347faa; }
    html[data-color-mode="dark"] #viewForecast .forecast-region-marker,
    html[data-color-mode="dark"] #viewForecast .forecast-local-card,
    html[data-color-mode="dark"] #viewForecast .forecast-map-outside { color:#e8f2fb; border-color:rgba(125,177,218,.34); background:rgba(12,27,42,.94); box-shadow:0 7px 20px rgba(0,0,0,.28); }
    html[data-color-mode="dark"] #viewForecast .forecast-local-name { color:#abc1d4; }
    html[data-color-mode="dark"] #viewForecast .forecast-local-pin { border-color:#102236; }
    .app-tour-info-card { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:18px 0 20px; padding:16px 18px; border:1px solid #bfe1f6; border-radius:18px; background:linear-gradient(135deg,#eef9ff,#f8fbff); box-shadow:0 10px 28px rgba(25,103,161,.08); }
    .app-tour-info-card[hidden] { display:none; }
    .app-tour-info-card strong { display:block; margin-bottom:3px; color:#123b5a; font-size:15px; }
    .app-tour-info-card span { color:#5a738a; font-size:13px; line-height:1.45; }
    .app-tour-info-card button { flex:0 0 auto; min-height:42px; border-radius:13px; }
    .app-tour-root { position:fixed; inset:0; z-index:5000; pointer-events:none; font-family:inherit; }
    .app-tour-root[hidden] { display:none; }
    .app-tour-shield { position:absolute; inset:0; z-index:0; pointer-events:auto; touch-action:none; }
    .app-tour-spotlight { position:fixed; z-index:1; border:3px solid #31b5ff; border-radius:18px; background:transparent; box-shadow:0 0 0 9999px rgba(3,19,34,.72),0 0 0 7px rgba(255,255,255,.74),0 14px 36px rgba(3,48,82,.32); pointer-events:none; transition:left .2s ease,top .2s ease,width .2s ease,height .2s ease,border-radius .2s ease; }
    .app-tour-spotlight.is-welcome { left:50%!important; top:50%!important; width:1px!important; height:1px!important; border:0; border-radius:50%; box-shadow:0 0 0 9999px rgba(3,19,34,.72); }
    .app-tour-card { position:fixed; z-index:2; width:min(380px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); overflow:auto; padding:20px; border:1px solid rgba(151,211,245,.9); border-radius:22px; background:rgba(255,255,255,.985); color:#12344f; box-shadow:0 24px 70px rgba(0,27,52,.34); pointer-events:auto; overscroll-behavior:contain; }
    .app-tour-progress { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:13px; }
    .app-tour-progress span { color:#0b85cc; font-size:10px; font-weight:950; letter-spacing:.13em; text-transform:uppercase; }
    .app-tour-progress-track { flex:1; height:5px; overflow:hidden; border-radius:999px; background:#deedf6; }
    .app-tour-progress-bar { display:block; height:100%; width:0; border-radius:inherit; background:linear-gradient(90deg,#18acee,#2468ed); transition:width .2s ease; }
    .app-tour-card h2 { margin:0 0 8px; color:#0c304c; font-size:22px; line-height:1.2; }
    .app-tour-card p { margin:0; color:#506d84; font-size:14px; line-height:1.58; }
    .app-tour-actions { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:9px; margin-top:18px; }
    .app-tour-actions button { min-height:43px; padding:10px 14px; border-radius:13px; font-size:13px; font-weight:900; }
    .app-tour-skip { border:0; background:transparent; color:#647d90; box-shadow:none; }
    .app-tour-back { border:1px solid #c9deec; background:#f2f8fc; color:#315b78; box-shadow:none; }
    .app-tour-next { border:1px solid #1687e6; background:linear-gradient(135deg,#19a9ed,#2468ed); color:#fff; box-shadow:0 9px 21px rgba(37,104,237,.22); }
    .app-tour-actions button:focus-visible { outline:3px solid rgba(14,165,233,.35); outline-offset:2px; }
    body.app-tour-active { overscroll-behavior:none; }
    html[data-color-mode="dark"] .app-tour-info-card { border-color:#28516e; background:linear-gradient(135deg,#10283b,#0c1d2c); }
    html[data-color-mode="dark"] .app-tour-info-card strong { color:#e7f4ff; }
    html[data-color-mode="dark"] .app-tour-info-card span { color:#a8bed0; }
    html[data-color-mode="dark"] .app-tour-card { border-color:#315b78; background:rgba(10,28,43,.985); color:#e8f5ff; }
    html[data-color-mode="dark"] .app-tour-card h2 { color:#f1f9ff; }
    html[data-color-mode="dark"] .app-tour-card p { color:#acc1d2; }
    html[data-color-mode="dark"] .app-tour-progress-track { background:#1c3a50; }
    html[data-color-mode="dark"] .app-tour-back { border-color:#31556d; background:#122d42; color:#d4e9f7; }
    html[data-color-mode="dark"] .app-tour-skip { color:#a9c0d1; }
    @media (max-width:600px) {
      .app-tour-info-card { align-items:flex-start; flex-direction:column; }
      .app-tour-info-card button { width:100%; }
      .app-tour-card { padding:18px; border-radius:20px; }
      .app-tour-card h2 { font-size:20px; }
      .app-tour-card p { font-size:13px; }
      .app-tour-actions { grid-template-columns:1fr 1fr; }
      .app-tour-skip { grid-column:1/-1; grid-row:2; }
      .app-tour-back,.app-tour-next { width:100%; }
    }
    @media (prefers-reduced-motion:reduce) {
      .app-tour-spotlight,.app-tour-progress-bar { transition:none; }
    }
  