



:root { --sidebar-w: 248px; }

#app {
    --rain-sidebar-w: 288px;
    --bg: #f3f5f7;
    --surface: #ffffff;
    --surface2: #f7f8fa;
    --surface3: #eef1f4;
    --border: #dde2e8;
    --border2: #c7d0da;
    --text: #172033;
    --text2: #475467;
    --text3: #667085;
    --accent: #2563eb;
    --accent-soft: #eff4ff;
    --accent-dim: #dbeafe;
    --green: #16803a;
    --green-bg: #edf9f0;
    --amber: #b76a00;
    --amber-bg: #fff7e6;
    --red: #c9362b;
    --red-bg: #fff0ef;
    --radius: 6px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .08);
    --shadow: 0 3px 12px rgba(15, 23, 42, .12);
    --shadow-lg: 0 16px 42px rgba(15, 23, 42, .2);
    --font-brand: 'Sora', 'IBM Plex Sans', system-ui, sans-serif;
    --font-ui: 'IBM Plex Sans', system-ui, sans-serif;
    --font-data: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
    --text-muted: var(--text2);
    --text-faint: var(--text3);
    --control-radius: 6px;
    --overlay-radius: 10px;
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    background: var(--bg);
}



@media (max-width: 639px) and (orientation: portrait) {
    

    #app #header { position: relative; }
    body.sidebar-open #app #header {
        z-index: 1150;
        background: var(--surface);
        border-bottom-color: var(--border);
    }
    body:not(.display-mode) #app .rcs-header-actions { order: 3; }
    body:not(.display-mode) #app .rcs-collapse {
        order: 2;
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        align-self: center;
        flex: 0 0 27px;
        width: 27px;
        height: 27px;
        margin: 0 2px 0 0;
        padding: 0;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        border-color: var(--border);
        background: var(--surface2);
        color: var(--text2);
    }
    body:not(.display-mode) #app .rcs-collapse svg { width: 16px; height: 16px; }
    #app .rcs-list {
        min-width: 0;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }
    #app .rcs-list.rcs-list--dragging {
        cursor: grabbing;
        user-select: none;
        scroll-snap-type: none;
    }

    

    #app #hs-alert-btn {
        width: 28px;
        min-width: 28px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    #app .hs-alert-bell {
        display: block;
        width: 16px;
        height: 16px;
        color: var(--text2);
    }
    #app .hs-alert-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        width: calc(100vw - 28px);
        max-width: 340px;
        max-height: 72vh;
        max-height: 72dvh;
        transform: translate(-50%, -50%);
        z-index: 10000;
    }
    #app .hs-alert-list { max-height: min(56dvh, 360px); }

    
    .hs-alert-modal-overlay {
        width: 100vw;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 12px;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        overflow: auto;
        z-index: 11000;
    }
    .hs-alert-modal-box {
        width: min(100%, 420px);
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        margin: auto;
        flex: 0 1 auto;
    }
    .hs-alert-modal-head { padding: 11px 12px; font-size: 13px; }
    .hs-alert-modal-body { min-height: 0; overflow: auto; }
    #hs-alert-modal-map { min-height: 210px; }
    .hs-alert-modal-panel { min-width: 0; padding: 10px 12px; }
}


@media (max-width: 639px) and (orientation: portrait) {
    #body.sidebar-open::after { inset: 42px 0 0; }
}

[data-theme="dark"] #app {
    --bg: #0d1219;
    --surface: #151b24;
    --surface2: #1b2430;
    --surface3: #222d3a;
    --border: #2a3544;
    --border2: #3a4758;
    --text: #edf2f7;
    --text2: #c1cad8;
    --text3: #98a6b9;
    --accent: #60a5fa;
    --accent-soft: #172943;
    --accent-dim: #1d3b61;
    --green: #4ade80;
    --green-bg: #10271a;
    --amber: #fbbf24;
    --amber-bg: #2a210d;
    --red: #fb7185;
    --red-bg: #32171e;
}

#app :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


#app #header {
    height: 48px;
    padding: 0 14px;
    gap: 12px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
}

#app #header .brand { gap: 10px; }
#app #header #logo-wrap {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
#app #header #logo-svg { width: 18px; height: 18px; color: var(--text3); }
#app #header .brand-text { gap: 1px; }
#app #header #inst-name {
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.015em;
}
#app #header #inst-sub {
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .02em;
}
#app #header .sep { width: 1px; height: 22px; background: var(--border); }
#app #header .header-mid { gap: 6px; padding: 0; border: 0; background: transparent; }
#app #header .dot-live { width: 6px; height: 6px; box-shadow: none; }
#app #header .header-label { font-size: 10.5px; color: var(--text2); letter-spacing: 0; }
#app #header .header-label strong {
    font-size: 11.5px;
    color: var(--text);
    letter-spacing: .02em !important;
}
#app #header .header-right { gap: 5px; }
#app #header .split-btns { gap: 3px; }

#app #header .split-header-btn,
#app #header #theme-toggle {
    min-height: 28px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface2);
    box-shadow: none;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms ease;
}
#app #header .split-header-btn { padding: 3px 8px; font-size: 10px; }
#app #header #theme-toggle { width: 28px; height: 28px; }
#app #header .split-header-btn.split-active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}
#app #header .clock-wrap { gap: 1px; padding: 0; border: 0; background: transparent; }
#app #header .clock-val { font-size: 11.5px; font-weight: 600; }
#app #header .clock-label { font-size: 8.5px; color: var(--text3); }
#app #header .clock-tz-btn { width: 16px; height: 16px; border-radius: 3px; }

@media (hover: hover) and (pointer: fine) {
    #app #header .split-header-btn:hover,
    #app #header #theme-toggle:hover {
        border-color: var(--accent);
        background: var(--accent-soft);
        color: var(--accent);
    }
}
#app #header .split-header-btn:active,
#app #header #theme-toggle:active { transform: scale(.97); }


#app #sidebar {
    padding: 4px 0 12px;
    gap: 0;
    background: var(--surface);
    border-right-color: var(--border);
}
#app #sidebar.collapsed { padding: 0; border-right-width: 0; }
#app #sidebar .sidebar-section-label {
    display: block;
    min-height: 28px;
    padding: 13px 14px 4px;
    border: 0;
    background: transparent;
    color: var(--text3);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.2;
}
#app #sidebar .sidebar-section-label::after { display: none; }
#app #sidebar .accordion {
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: var(--surface);
    box-shadow: none;
}
#app #sidebar .accordion-head {
    min-height: 44px;
    padding: 8px 14px;
    border: 0;
    background: var(--surface);
    color: var(--text2);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
#app #sidebar .accordion-head.open {
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: inset 2px 0 0 var(--accent);
}
#app #sidebar .acc-icon {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text3);
}
#app #sidebar .acc-icon svg { width: 15px; height: 15px; stroke-width: 1.6; }
#app #sidebar .accordion-head.open .acc-icon { color: var(--accent); }
#app #sidebar .acc-title { letter-spacing: 0; }
#app #sidebar .accordion-arrow,
#app #sidebar .accordion-head.open .accordion-arrow {
    width: 16px;
    height: 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 8px;
}
#app #sidebar .accordion-body { background: var(--surface); }
#app #sidebar .accordion-body.open { max-height: 780px; border-top: 1px solid var(--border); }
#app #sidebar .accordion-body > * { padding: 9px 14px 12px; }
#app #sidebar .bmap-grid { gap: 5px; }
#app #sidebar .bmap-btn { border-radius: 5px; background: var(--surface2); }



#app #sidebar #hotspot-panel .hs-panel { gap: 10px; padding: 0; }
#app #sidebar #hotspot-panel .hs-layer-control,
#app #sidebar #hotspot-panel .hs-legend-group {
    padding: 8px 9px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface2);
}
#app #sidebar #hotspot-panel .hs-layer-control { display: grid; gap: 4px; }
#app #sidebar #hotspot-panel .tog-wrap { min-height: 22px; gap: 8px; }
#app #sidebar #hotspot-panel .hs-tog-label { color: var(--text); font-size: 12px; font-weight: 600; }
#app #sidebar #hotspot-panel .hs-updated {
    padding-left: 28px;
    color: var(--text3);
    font-size: 10.5px;
    line-height: 1.3;
}
#app #sidebar #hotspot-panel .hs-config-group { display: grid; gap: 0; }
#app #sidebar #hotspot-panel .hs-group-label {
    margin-bottom: 4px;
    color: var(--text3);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}
#app #sidebar #hotspot-panel .hs-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    color: var(--text2);
    font-size: 11.5px;
}
#app #sidebar #hotspot-panel .hs-field + .hs-field { border-top: 1px solid var(--border); }
#app #sidebar #hotspot-panel .hs-dd-host { min-width: 0; max-width: none; }
#app #sidebar #hotspot-panel .hs-dd-btn {
    min-height: 28px;
    padding: 5px 8px;
    border-radius: 5px;
    background: var(--surface);
    color: var(--text);
    font-size: 11px;
    line-height: 1.2;
}
#app #sidebar #hotspot-panel .hs-dd-btn:active { transform: scale(.97); }
#app #sidebar #hotspot-panel .hs-legend-group { display: grid; gap: 7px; }
#app #sidebar #hotspot-panel .hs-legend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: 0;
    font-size: 10px;
}
#app #sidebar #hotspot-panel .hs-legend .hs-leg-item {
    justify-content: center;
    gap: 3px;
    padding: 5px 3px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    white-space: nowrap;
}
#app #sidebar #hotspot-panel .hs-legend .hs-leg-item i { width: 7px; height: 7px; }
#app #sidebar #hotspot-panel .hs-shape-legend {
    gap: 6px 8px;
    padding-top: 7px;
    border-top: 1px solid var(--border);
    color: var(--text2);
    font-size: 10px;
    line-height: 1.3;
}
#app #sidebar #hotspot-panel .hs-shape-legend .hs-leg-item { gap: 4px; }
#app #sidebar #hotspot-panel .hs-shape-legend .hs-leg-item svg { width: 11px; height: 11px; }




#app .win-lp { top: 8px; }
#app .win-lp-drawer {
    position: absolute;
    top: 0;
    right: auto;
    bottom: 8px;
    left: 22px;
    width: 232px;
    height: auto;
    max-height: none;
    min-height: 0;
    border-color: var(--border);
    border-radius: 0 7px 7px 0;
    background: var(--surface);
    box-shadow: 5px 8px 20px rgba(15, 23, 42, .18);
    transition: transform 180ms cubic-bezier(.23, 1, .32, 1), opacity 140ms ease-out;
}
#app .win-lp-drawer-header {
    min-height: 48px;
    padding: 7px 9px 7px 11px;
    background: var(--surface);
    border-bottom-color: var(--border);
}
#app .win-lp-drawer-heading { display: grid; gap: 1px; min-width: 0; }
#app .win-lp-drawer-title {
    color: var(--text);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -.01em;
}
#app .win-lp-drawer-context {
    color: var(--text3);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 9.5px;
    line-height: 1.2;
}
#app .win-lp-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--surface2);
    color: var(--text2);
    font-size: 18px;
    line-height: 1;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms ease;
}
#app .win-lp-drawer-close:active { transform: scale(.97); }
#app .win-lp-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    overflow-y: auto;
    padding: 8px;
    background: var(--surface2);
}
#app .win-lp-section {
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
}
#app .win-lp-sec-head {
    padding: 7px 8px 5px;
    border: 0;
    background: var(--surface);
    color: var(--text3);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .055em;
    line-height: 1.2;
}
#app .win-lp-subsection + .win-lp-subsection { border-top: 1px solid var(--border); }
#app .win-lp-subhead {
    padding: 5px 8px 3px;
    color: var(--text2);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.2;
}
#app .win-lp-list,
#app .win-lp-catalog { padding: 2px 4px 5px; }
#app .win-lp-empty { padding: 8px; font-size: 10px; }
#app .win-lp-row {
    gap: 6px;
    padding: 6px 5px;
    border-radius: 4px;
    transition: background-color 140ms ease;
}
#app .win-lp-row:hover { background: var(--surface2); }
#app .win-lp-name,
#app .win-lp-cat-name { font-size: 11px; }
#app .win-lp-remove {
    width: 19px;
    height: 19px;
    border: 1px solid transparent;
    border-radius: 4px;
}
#app .win-lp-opacity-row { padding: 4px 1px 0 17px; }
#app .win-lp-cat-btn {
    min-height: 28px;
    gap: 7px;
    padding: 5px 5px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text);
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms ease;
}
#app .win-lp-cat-btn--active {
    border-color: var(--accent-dim);
    background: var(--accent-soft);
}
#app .win-lp-cat-btn:active,
#app .win-lp-bmap-btn:active { transform: scale(.97); }
#app .win-lp-eq { padding: 0 4px 5px; }
#app .win-lp-eq .lp-eq-row { padding: 6px 5px; }
#app .win-lp-hotspot { padding: 0 8px 8px; }
#app .win-lp-hotspot .hs-panel { gap: 8px; padding: 0; }
#app .win-lp-hotspot .hs-layer-control { display: grid; gap: 3px; }
#app .win-lp-hotspot .hs-tog-label { color: var(--text); font-size: 11.5px; font-weight: 600; }
#app .win-lp-hotspot .hs-updated { padding-left: 28px; color: var(--text3); font-size: 10px; }
#app .win-lp-hotspot .hs-config-group { display: grid; gap: 0; }
#app .win-lp-hotspot .hs-group-label {
    margin-bottom: 3px;
    color: var(--text3);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}
#app .win-lp-hotspot .hs-field {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-height: 34px;
    color: var(--text2);
    font-size: 10.5px;
}
#app .win-lp-hotspot .hs-field + .hs-field { border-top: 1px solid var(--border); }
#app .win-lp-hotspot .hs-dd-host { min-width: 0; max-width: none; }
#app .win-lp-hotspot .hs-dd-btn { min-height: 27px; padding: 5px 7px; border-radius: 5px; background: var(--surface2); font-size: 10.5px; }
#app .win-lp-hotspot .hs-legend-group { display: grid; gap: 5px; padding-top: 7px; border-top: 1px solid var(--border); }
#app .win-lp-hotspot .hs-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0; font-size: 9.5px; }
#app .win-lp-hotspot .hs-legend .hs-leg-item { justify-content: center; gap: 3px; padding: 4px 2px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface2); white-space: nowrap; }
#app .win-lp-hotspot .hs-legend .hs-leg-item i { width: 7px; height: 7px; }
#app .win-lp-hotspot .hs-shape-legend { gap: 5px 7px; color: var(--text2); font-size: 9.5px; line-height: 1.25; }
#app .win-lp-boundary { padding: 1px 0 6px; }
#app .win-lp-blayer-row { padding: 5px 8px 0; }
#app .win-lp-blayer-sliders { padding: 3px 8px 5px 10px; }
#app .win-lp-bmap-grid { gap: 5px; padding: 4px 8px 8px; }
#app .win-lp-bmap-btn {
    min-height: 29px;
    padding: 4px 5px;
    border-radius: 5px;
    background: var(--surface2);
    font-size: 10px;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms ease;
}
#app .win-lp-bmap-btn.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
    #app .win-lp-drawer-close:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
    #app .win-lp-cat-btn:hover { border-color: var(--border); background: var(--surface2); }
    #app .win-lp-bmap-btn:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
}

#app #sidebar-toggle {
    left: var(--sidebar-w);
    width: 18px;
    height: 38px;
    border-color: var(--border);
    border-radius: 0 5px 5px 0;
    background: var(--surface);
    color: var(--text3);
    box-shadow: none;
    transition: left 220ms cubic-bezier(.23,1,.32,1), color 140ms ease, background-color 140ms ease;
}
#app #sidebar-toggle:active { transform: translateY(-50%) scale(.97); }

@media (hover: hover) and (pointer: fine) {
    #app #sidebar .accordion-head:not(.open):hover { background: var(--surface2); color: var(--text); }
    #app #sidebar-toggle:hover { background: var(--surface2); color: var(--accent); }
}


#app #timeline {
    height: 50px;
    padding: 0 14px;
    gap: 9px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
#app #timeline .tl-label { display: none; }
#app #timeline .tl-wrap { order: 2; padding-bottom: 13px; }
#app #timeline #tl-prev { order: 1; }
#app #timeline #tl-play { order: 1; }
#app #timeline #tl-next { order: 1; }
#app #timeline .tl-time { order: 3; }
#app #timeline .tl-speed { order: 4; }
#app #timeline .tl-track {
    height: 5px;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--surface2);
    box-shadow: none;
}
#app #timeline .tl-fill { border-radius: 2px; background: var(--accent); opacity: .5; }
#app #timeline .tl-thumb {
    width: 13px;
    height: 13px;
    border: 2px solid var(--surface);
    background: var(--accent);
    box-shadow: var(--shadow-sm);
}
#app #timeline .tl-marks { top: 9px; }
#app #timeline .tl-mark { font-size: 8px; color: var(--text3); }
#app #timeline .tl-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface2);
    color: var(--text2);
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}
#app #timeline #tl-play { border-color: var(--accent); background: var(--accent); color: #fff; }
#app #timeline .tl-time {
    min-width: 52px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--accent);
}
#app #timeline .tl-speed {
    height: 28px;
    padding: 2px 5px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface2);
    color: var(--text2);
    font-size: 9px;
}
#app #timeline .tl-btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
    #app #timeline .tl-btn:not(#tl-play):hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
}


body:not(.display-mode) #app .rcs-sidebar {
    --rain-sidebar-w: 288px;
    width: var(--rain-sidebar-w);
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: none;
    transition: width 220ms cubic-bezier(.23,1,.32,1), transform 220ms cubic-bezier(.23,1,.32,1), border-color 140ms ease;
}
body:not(.display-mode) #app .rcs-sidebar.rcs-open,
body:not(.display-mode) #app .rcs-sidebar.rcs-always-visible { width: var(--rain-sidebar-w) !important; }
body:not(.display-mode) #app .rcs-sidebar.rcs-closed { width: 0 !important; border-left-width: 0; }
body:not(.display-mode) #app .rcs-header {
    height: 44px;
    padding: 0 12px;
    gap: 7px;
    border-bottom-color: var(--border);
    background: var(--surface);
}
body:not(.display-mode) #app .rcs-header-left { gap: 7px; }
body:not(.display-mode) #app .rcs-header-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
}
body:not(.display-mode) #app .rcs-header-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body:not(.display-mode) #app .rcs-header-title { font-size: 12px; font-weight: 600; }
body:not(.display-mode) #app .rcs-rain-badge {
    min-width: 17px;
    height: 17px;
    border-radius: 4px;
    background: var(--red);
    font-size: 9px;
    animation: none;
}
body:not(.display-mode) #app .rcs-header-actions { gap: 3px; }
body:not(.display-mode) #app .rcs-sort-btn,
body:not(.display-mode) #app .rcs-settings-btn,
body:not(.display-mode) #app .rcs-audio-btn {
    width: 28px;
    height: 28px;
    border-color: transparent;
    border-radius: 5px;
    background: transparent;
    color: var(--text3);
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 120ms ease;
}
body:not(.display-mode) #app .rcs-sort-btn.rcs-sort-active,
body:not(.display-mode) #app .rcs-audio-btn.rcs-audio-active {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}
body:not(.display-mode) #app .rcs-settings-panel {
    padding: 8px 12px 9px;
    border-bottom-color: var(--border);
    background: var(--surface2);
}
body:not(.display-mode) #app .rcs-setting-row { min-height: 30px; font-size: 11px; }
body:not(.display-mode) #app .rcs-setting-note { margin-top: 3px; font-size: 9.5px; line-height: 1.4; }
body:not(.display-mode) #app .rcs-list::-webkit-scrollbar { width: 5px; }
body:not(.display-mode) #app .rcs-list::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }
body:not(.display-mode) #app .rcs-item {
    min-height: 118px;
    padding: 8px 12px 9px;
    border-bottom-color: var(--border);
    background: var(--surface);
    transition: background-color 140ms ease, border-color 140ms ease;
}
body:not(.display-mode) #app .rcs-item-header { margin-bottom: 4px; }
body:not(.display-mode) #app .rcs-name { font-size: 11px; font-weight: 500; }
body:not(.display-mode) #app .rcs-type-badge { border-radius: 3px; font-size: 8px; }
body:not(.display-mode) #app .rcs-accum { font-size: 10px; }
body:not(.display-mode) #app .rcs-signal-dot { width: 7px; height: 7px; }
body:not(.display-mode) #app .rcs-item.rcs-item-raining {
    padding-left: 9px;
    border-left: 3px solid var(--red);
    background: var(--red-bg);
}
body:not(.display-mode) #app .rcs-item.rcs-item-raining .rcs-item-meta::before {
    content: 'HUJAN';
    display: inline-flex;
    align-items: center;
    min-height: 15px;
    padding: 0 4px;
    border: 1px solid color-mix(in srgb, var(--red), transparent 60%);
    border-radius: 3px;
    color: var(--red);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
}
body:not(.display-mode) #app .rcs-chart-wrap { height: 92px; }
body:not(.display-mode) #app .rcs-toggle {
    right: 0;
    width: 18px;
    height: 38px;
    border-color: var(--border);
    border-right: 0;
    border-radius: 5px 0 0 5px;
    background: var(--surface);
    box-shadow: none;
    transition: right 220ms cubic-bezier(.23,1,.32,1), color 140ms ease, background-color 140ms ease;
}
body:not(.display-mode) #app .rcs-toggle.rcs-toggle-active { right: var(--rain-sidebar-w); color: var(--accent); }
body:not(.display-mode) #app .rcs-modal-box { width: min(720px, 94vw); border-radius: 10px; }
body:not(.display-mode) #app .rcs-modal-header { padding: 12px 16px; }
body:not(.display-mode) #app .rcs-modal-header-left h3 { font-family: 'IBM Plex Sans', system-ui, sans-serif; }

@media (hover: hover) and (pointer: fine) {
    body:not(.display-mode) #app .rcs-item:hover { background: var(--surface2); }
    body:not(.display-mode) #app .rcs-sort-btn:hover,
    body:not(.display-mode) #app .rcs-settings-btn:hover,
    body:not(.display-mode) #app .rcs-audio-btn:hover { background: var(--surface2); color: var(--text); }
}
body:not(.display-mode) #app .rcs-sort-btn:active,
body:not(.display-mode) #app .rcs-settings-btn:active,
body:not(.display-mode) #app .rcs-audio-btn:active { transform: scale(.97); }


@media (min-width: 768px) and (max-width: 1439px) {
    :root { --sidebar-w: 224px; }
    #app { --rain-sidebar-w: 280px; }
    body:not(.display-mode) #app .rcs-sidebar {
        --rain-sidebar-w: 280px;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 850;
        box-shadow: -10px 0 24px rgba(15, 23, 42, .12);
    }
}


@media (max-width: 767px) {
    :root { --sidebar-w: min(288px, 88vw); }
    #app #header { height: 44px; padding: 0 10px; gap: 8px; }
    #app #header #logo-wrap { width: 30px; height: 30px; }
    #app #header #inst-name { font-size: 11.5px; }
    #app #header #inst-sub { font-size: 9.5px; }
    #app #header .header-mid { display: none; }
    #app #header .clock-wrap { border: 0; background: transparent; padding: 0; }
    #app #header .clock-val { font-size: 11px; }
    #app #header .clock-label { font-size: 8.5px; }
    #app #sidebar { padding: 4px 0 10px; }
    #app #sidebar .accordion-head { min-height: 44px; padding: 9px 12px; }
    #app #sidebar .accordion-body > * { padding-left: 12px; padding-right: 12px; }
    #app #sidebar-toggle { width: 22px; height: 42px; }
    #app #timeline { height: 48px; padding: 0 8px; gap: 6px; }
    #app #timeline .tl-wrap { padding-bottom: 0; }
    #app #timeline .tl-marks { display: none; }
    #app #timeline .tl-btn { width: 30px; height: 30px; }
    #app #timeline .tl-time { min-width: 44px; font-size: 9.5px; }
    #app #timeline .tl-speed { height: 30px; }

    body:not(.display-mode) #app .rcs-sidebar,
    body:not(.display-mode) #app .rcs-sidebar.rcs-open,
    body:not(.display-mode) #app .rcs-sidebar.rcs-always-visible {
        width: 100% !important;
        height: min(44dvh, 360px);
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        border-top: 1px solid var(--border);
        border-left: 0;
        box-shadow: 0 -10px 24px rgba(15, 23, 42, .16);
        transition: height 220ms cubic-bezier(.23,1,.32,1), border-color 140ms ease;
        z-index: 1300;
    }
    body:not(.display-mode) #app .rcs-sidebar.rcs-closed { height: 0; border-top-width: 0; }
    body:not(.display-mode) #app .rcs-header { height: 44px; padding: 0 10px; }
    body:not(.display-mode) #app .rcs-collapse {
        position: static;
        order: 2;
        width: 30px;
        height: 30px;
        border: 1px solid var(--border);
        border-radius: 5px;
        background: var(--surface2);
        color: var(--text2);
    }
    body.rcs-mobile-open #app #rcs-collapse { display: inline-flex; align-items: center; justify-content: center; }
    body:not(.display-mode) #app .rcs-header-actions { order: 3; }
    body:not(.display-mode) #app .rcs-list {
        display: block;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0;
    }
    body:not(.display-mode) #app .rcs-item {
        width: auto;
        min-height: 116px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
        scroll-snap-align: none;
    }
    body:not(.display-mode) #app .rcs-chart-wrap { height: 88px; }
    body.rcs-mobile-open #app #timeline { margin-bottom: min(44dvh, 360px); }
    body:not(.display-mode) #app #rcs-open-tab {
        bottom: 56px;
        padding: 7px 10px;
        border: 1px solid var(--border);
        border-radius: 6px;
        background: var(--surface);
        box-shadow: var(--shadow);
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #app #header .split-header-btn,
    #app #header #theme-toggle,
    #app #sidebar .accordion-head,
    #app #sidebar-toggle,
    #app #timeline .tl-btn,
    body:not(.display-mode) #app .rcs-sidebar,
    body:not(.display-mode) #app .rcs-toggle,
    body:not(.display-mode) #app .rcs-item { transition-duration: 0ms; }
}


body:not(.display-mode) #app .data-info-menu {
    width: min(332px, calc(100vw - 24px));
    border-color: var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    font-size: 11px;
    transform-origin: top right;
    animation-duration: 160ms;
    animation-timing-function: cubic-bezier(.23, 1, .32, 1);
}
body:not(.display-mode) #app .dim-section { padding: 11px 12px 10px; }
body:not(.display-mode) #app .dim-section-title {
    min-height: 20px;
    margin-bottom: 7px;
    padding-bottom: 6px;
    color: var(--text2);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 9px;
    letter-spacing: .08em;
}
body:not(.display-mode) #app .dim-latest-row,
body:not(.display-mode) #app .dim-cache-row {
    min-height: 32px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--surface2);
}
body:not(.display-mode) #app .dim-cat-time,
body:not(.display-mode) #app .dim-product-time { color: var(--accent); }
body:not(.display-mode) #app .dim-section-processing,
body:not(.display-mode) #app .dim-section-ml { background: transparent; }
body:not(.display-mode) #app .dim-action-btn {
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 5px;
    background: var(--surface);
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 120ms ease;
}
body:not(.display-mode) #app .dim-action-btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
    body:not(.display-mode) #app .dim-action-btn:hover { background: var(--accent-soft); }
}


body:not(.display-mode) .pm-modal-overlay {
    background: rgba(15, 23, 42, .42);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    padding: 20px;
    animation-duration: 160ms;
}
body:not(.display-mode) .pm-modal-box {
    width: min(700px, 94vw);
    max-height: min(84dvh, 760px);
    border-color: var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    animation-duration: 180ms;
    animation-timing-function: cubic-bezier(.23, 1, .32, 1);
}
body:not(.display-mode) .pm-modal-header {
    min-height: 48px;
    padding: 10px 14px;
    gap: 10px;
    background: var(--surface);
}
body:not(.display-mode) .pm-modal-title {
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.015em;
}
body:not(.display-mode) .pm-modal-close {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 5px;
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 120ms ease;
}
body:not(.display-mode) .pm-modal-close:active { transform: scale(.97); }
body:not(.display-mode) .pm-modal-body { padding: 14px; gap: 12px; background: var(--surface2); }
body:not(.display-mode) .pm-modal-group {
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
}
body:not(.display-mode) .pm-modal-group-header {
    min-height: 20px;
    padding-bottom: 6px;
    color: var(--text2);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 9px;
    letter-spacing: .075em;
}
body:not(.display-mode) .pm-modal-group-count {
    border-radius: 4px;
    background: var(--surface2);
    color: var(--text2);
}
body:not(.display-mode) .pm-card {
    border-color: var(--border);
    border-radius: 6px;
    box-shadow: none;
}
body:not(.display-mode) .pm-card-header { padding: 9px 10px 7px; }
body:not(.display-mode) .pm-card:has(.pm-badge-running),
body:not(.display-mode) .pm-card:has(.pm-badge-done),
body:not(.display-mode) .pm-card:has(.pm-badge-error) {
    border-left: 1px solid var(--border);
    box-shadow: none;
}


body:not(.display-mode) #ml-modal .ml-kv { gap: 5px 14px; font-size: 11px; }
body:not(.display-mode) #ml-modal .ml-prod { padding: 7px 0; font-size: 11px; }
body:not(.display-mode) #ml-modal .ml-prod-sub { padding: 0 0 7px 124px; font-size: 10px; }
body:not(.display-mode) #ml-modal .ml-prod .nm { min-width: 116px; }
body:not(.display-mode) #ml-modal .ml-pill { border-radius: 4px; padding: 2px 6px; font-size: 9px; }
body:not(.display-mode) #ml-modal .ml-vtabs { gap: 5px; margin-bottom: 1px; }
body:not(.display-mode) #ml-modal .ml-vtab {
    min-height: 34px;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 11px;
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 120ms ease;
}
body:not(.display-mode) #ml-modal .ml-vtab:active { transform: scale(.98); }
body:not(.display-mode) #ml-modal .ml-note,
body:not(.display-mode) #ml-modal pre.ml-cfg { border-radius: 5px; background: var(--surface2); }


body:not(.display-mode) #app .preset-panel {
    top: 12px;
    right: 12px;
    width: min(352px, calc(100vw - 24px));
    max-height: min(640px, calc(100dvh - 132px));
    border-color: var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    font-size: 11px;
    transform-origin: top right;
}
body:not(.display-mode) #app .preset-panel-header { min-height: 44px; padding: 9px 12px; background: var(--surface); }
body:not(.display-mode) #app .preset-panel-title { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 12px; color: var(--text); }
body:not(.display-mode) #app .preset-panel-close,
body:not(.display-mode) #app .preset-refresh-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--text3);
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 120ms ease;
}
body:not(.display-mode) #app .preset-panel-close:active,
body:not(.display-mode) #app .preset-refresh-btn:active { transform: scale(.97); }
body:not(.display-mode) #app .preset-conn-status { padding: 6px 12px; margin: 0; background: var(--surface2); font-size: 10px; }
body:not(.display-mode) #app .preset-save-area { gap: 7px; padding: 10px 12px; background: var(--surface); }
body:not(.display-mode) #app .preset-name-input,
body:not(.display-mode) #app .preset-desc-input {
    min-height: 32px;
    padding: 6px 9px;
    border-radius: 5px;
    background: var(--surface2);
    color: var(--text);
}
body:not(.display-mode) #app .preset-save-btn {
    min-height: 32px;
    border: 1px solid var(--accent);
    border-radius: 5px;
    transition: background-color 140ms ease, opacity 140ms ease, transform 120ms ease;
}
body:not(.display-mode) #app .preset-save-btn:active { transform: scale(.98); }
body:not(.display-mode) #app .preset-list-header { padding: 9px 12px 6px; font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 10px; color: var(--text2); }
body:not(.display-mode) #app .preset-count { border-radius: 4px; font-size: 9px; }
body:not(.display-mode) #app .preset-list { padding: 4px 8px 8px; }
body:not(.display-mode) #app .preset-item {
    gap: 5px;
    margin-bottom: 5px;
    padding: 8px 9px;
    border-radius: 6px;
    background: var(--surface2);
    transition: background-color 140ms ease, border-color 140ms ease;
}
body:not(.display-mode) #app .preset-item-actions { gap: 4px; }
body:not(.display-mode) #app .preset-apply-btn,
body:not(.display-mode) #app .preset-rename-btn,
body:not(.display-mode) #app .preset-delete-btn,
body:not(.display-mode) #app .preset-export-btn,
body:not(.display-mode) #app .preset-import-btn {
    min-height: 28px;
    border-radius: 5px;
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 120ms ease;
}
body:not(.display-mode) #app .preset-apply-btn:active,
body:not(.display-mode) #app .preset-rename-btn:active,
body:not(.display-mode) #app .preset-delete-btn:active,
body:not(.display-mode) #app .preset-export-btn:active,
body:not(.display-mode) #app .preset-import-btn:active { transform: scale(.97); }
body:not(.display-mode) #app .preset-panel-footer { padding: 8px 12px; background: var(--surface); }
body:not(.display-mode) #app .preset-confirm-backdrop { background: rgba(15, 23, 42, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
body:not(.display-mode) #app .preset-confirm-box { width: min(288px, calc(100% - 28px)); border-radius: 8px; padding: 16px; gap: 8px; }
body:not(.display-mode) #app .preset-confirm-actions { gap: 6px; }
body:not(.display-mode) #app .preset-confirm-cancel,
body:not(.display-mode) #app .preset-confirm-ok { min-height: 30px; border-radius: 5px; }


body:not(.display-mode) #app .rcs-modal { padding: 20px; }
body:not(.display-mode) #app .rcs-modal-backdrop { background: rgba(15, 23, 42, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
body:not(.display-mode) #app .rcs-modal-box { width: min(720px, 94vw); max-height: min(86dvh, 760px); border-radius: 10px; box-shadow: var(--shadow-lg); }
body:not(.display-mode) #app .rcs-modal-header { min-height: 50px; padding: 10px 14px; background: var(--surface); }
body:not(.display-mode) #app .rcs-modal-header-left h3 { font-size: 13px; font-weight: 600; }
body:not(.display-mode) #app .rcs-modal-header-actions { gap: 5px; }
body:not(.display-mode) #app .rcs-modal-close,
body:not(.display-mode) #app .rcs-modal-download { border-radius: 5px; transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 120ms ease; }
body:not(.display-mode) #app .rcs-modal-close:active,
body:not(.display-mode) #app .rcs-modal-download:active,
body:not(.display-mode) #app .rcs-modal-date-trigger:active,
body:not(.display-mode) #app .rcs-modal-date-live:active { transform: scale(.97); }
body:not(.display-mode) #app .rcs-modal-toolbar { padding: 8px 14px; background: var(--surface2); }
body:not(.display-mode) #app .rcs-modal-body { padding: 12px 14px 8px; }
body:not(.display-mode) #app .rcs-modal-events-title { padding: 9px 14px; color: var(--text2); background: var(--surface2); }


@media (min-width: 768px) {
    body:not(.display-mode) #app #rcs-toggle {
        position: absolute;
        top: 50%;
        right: 0 !important;
        bottom: auto;
        left: auto !important;
        z-index: 910;
        transform: translateY(-50%);
    }
    body:not(.display-mode) #app #rcs-toggle.rcs-toggle-active { right: var(--rain-sidebar-w) !important; }
}

@media (max-width: 767px) {
    body:not(.display-mode) #app .preset-panel { top: 8px; right: 8px; width: calc(100vw - 16px); max-height: calc(100dvh - 116px); }
    body:not(.display-mode) .pm-modal-overlay { padding: 10px; align-items: flex-end; }
    body:not(.display-mode) .pm-modal-box { width: 100%; max-height: min(88dvh, 760px); border-radius: 10px 10px 0 0; }
    body:not(.display-mode) #ml-modal .ml-prod-sub { padding-left: 0; }
    body:not(.display-mode) #app .rcs-modal { padding: 0; align-items: flex-end; }
    body:not(.display-mode) #app .rcs-modal-box { width: 100%; max-height: 90dvh; border-radius: 10px 10px 0 0; }
}



body:not(.display-mode) .pm-modal-overlay {
    --surface: #ffffff;
    --surface2: #f7f8fa;
    --surface3: #eef1f4;
    --border: #dde2e8;
    --border2: #c7d0da;
    --text: #172033;
    --text2: #475467;
    --text3: #667085;
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    color: var(--text);
}
[data-theme="dark"] body:not(.display-mode) .pm-modal-overlay {
    --surface: #151b24;
    --surface2: #1b2430;
    --surface3: #222d3a;
    --border: #2a3544;
    --border2: #3a4758;
    --text: #edf2f7;
    --text2: #c1cad8;
    --text3: #98a6b9;
}
body:not(.display-mode) #app .rcs-modal-subtitle,
body:not(.display-mode) #app .rcs-modal-events-title,
body:not(.display-mode) #app .rcs-modal-accum,
body:not(.display-mode) #app .rcs-modal-date-trigger,
body:not(.display-mode) #app .dim-cat-time,
body:not(.display-mode) #app .dim-product-time,
body:not(.display-mode) #app .dim-cache-frames,
body:not(.display-mode) #app .dim-section-title,
body:not(.display-mode) .pm-modal-group-header {
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
}
body:not(.display-mode) #app .preset-conn-status,
body:not(.display-mode) #app .preset-conn-label,
body:not(.display-mode) #app .preset-item-meta,
body:not(.display-mode) #app .preset-item-desc { opacity: 1; color: var(--text2); }


body:not(.display-mode) .pm-card,
body:not(.display-mode) .pm-card:has(.pm-badge-running),
body:not(.display-mode) .pm-card:has(.pm-badge-done),
body:not(.display-mode) .pm-card:has(.pm-badge-error),
body:not(.display-mode) .pm-card:has(.pm-badge-waiting) {
    border-color: var(--border);
    border-left-color: var(--border);
    box-shadow: none;
}




.display-mode #app,
body.embed-mode #app {
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    color: var(--text);
}
.display-mode #header {
    background: var(--surface);
    border-bottom-color: var(--border);
    box-shadow: none;
}
.display-mode #header #inst-name,
.display-mode #header #inst-sub,
.display-mode #header .header-label,
.display-mode #header .clock-wrap,
.display-mode #header .clock-val,
.display-mode #header .clock-label {
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    color: var(--text2);
}
.display-mode #header #inst-name { color: var(--text); }
.display-mode #header #inst-sub,
.display-mode #header .clock-label { color: var(--text3); }


.display-mode #dwv-state-overlay {
    --dwv-surface: #ffffff;
    --dwv-text: #172033;
    --dwv-text2: #475467;
    background: #f3f5f7;
    color: var(--dwv-text);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
}
[data-theme="dark"].display-mode #dwv-state-overlay {
    --dwv-surface: #151b24;
    --dwv-text: #edf2f7;
    --dwv-text2: #c1cad8;
    background: #0d1219;
}
.display-mode .dwv-state-text { color: var(--dwv-text) !important; font-family: 'IBM Plex Sans', system-ui, sans-serif; }
.display-mode .dwv-state-sub { color: var(--dwv-text2) !important; opacity: 1; font-family: 'IBM Plex Sans', system-ui, sans-serif; }


.display-mode .split-win { background: var(--surface); }
.display-mode #map-wrap.split-mode .split-win { border-color: var(--border) !important; box-shadow: var(--shadow-sm) !important; }
.display-mode #map-wrap.split-mode .split-win--active { border-color: var(--border2) !important; box-shadow: var(--shadow-sm) !important; }
.display-mode .split-win-titlebar { background: var(--surface); border-bottom-color: var(--border); }
.display-mode .split-win-label,
.display-mode .split-win-time,
.display-mode .swt-time-val,
.display-mode .swt-utc,
.display-mode .swt-preload-pct {
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    color: var(--text);
}
.display-mode .swt-sep { color: var(--text3); }


.display-mode.display-rain #rcs-sidebar {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
}
.display-mode.display-rain .rcs-header {
    background: var(--surface);
    border-color: var(--border);
}
.display-mode.display-rain .rcs-header-title,
.display-mode.display-rain .rcs-name,
.display-mode.display-rain .rcs-accum { color: var(--text); font-family: 'IBM Plex Sans', system-ui, sans-serif; }
.display-mode.display-rain .rcs-type-badge { font-family: 'IBM Plex Sans', system-ui, sans-serif; }
.display-mode.display-rain .rcs-item { background: var(--surface); border-color: var(--border); }
.display-mode.display-rain .rcs-item.rcs-item-raining { background: var(--red-bg); }
.display-mode.display-rain .rcs-modal-backdrop { background: rgba(15, 23, 42, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.display-mode.display-rain .rcs-modal-box { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-lg); }
.display-mode.display-rain .rcs-modal-header,
.display-mode.display-rain .rcs-modal-events-title { background: var(--surface); border-color: var(--border); }
.display-mode.display-rain .rcs-modal-header-left h3,
.display-mode.display-rain .rcs-modal-subtitle,
.display-mode.display-rain .rcs-modal-events-title { font-family: 'IBM Plex Sans', system-ui, sans-serif; color: var(--text); }


.display-mode .map-cbar {
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border-color: var(--border2);
    box-shadow: var(--shadow);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
}
.display-mode .map-cbar-name,
.display-mode .map-cbar-labels span,
.display-mode .map-cbar-unit,
.display-mode .map-cbar-extra { font-family: 'IBM Plex Sans', system-ui, sans-serif; color: var(--text); }
.display-mode .map-cbar-unit { color: var(--text2); }
.display-mode .leaflet-control-attribution {
    background: color-mix(in srgb, var(--surface) 90%, transparent) !important;
    color: var(--text2) !important;
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
}


body.embed-mode .embed-time-badge {
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
}
body.embed-mode .embed-time-badge .tl-time-val { color: var(--text); font-family: 'IBM Plex Sans', system-ui, sans-serif; }
body.embed-mode .embed-time-badge .tl-time-utc { color: var(--text2); font-family: 'IBM Plex Sans', system-ui, sans-serif; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .display-mode .split-win,
    .display-mode .map-cbar,
    .display-mode.display-rain .rcs-sidebar { transition-duration: 0ms; }
}



#app #sidebar .accordion[data-id="active-layers"] .accordion-body > #unified-active-panel,
#app #sidebar .accordion[data-id="radar"] .accordion-body > #radar-panel,
#app #sidebar .accordion[data-id="satellite"] .accordion-body > #satellite-panel {
    padding: 0 0 6px;
}
#app #sidebar .accordion[data-id="active-layers"] .lp-group-head,
#app #sidebar .accordion[data-id="radar"] .lp-group-head,
#app #sidebar .accordion[data-id="satellite"] .lp-group-head {
    padding: 7px 10px 4px;
    gap: 6px;
}
#app #sidebar .accordion[data-id="active-layers"] .lp-list,
#app #sidebar .accordion[data-id="radar"] .lp-list,
#app #sidebar .accordion[data-id="satellite"] .lp-list { padding: 3px 6px 6px; }
#app #sidebar .accordion[data-id="active-layers"] .lp-item,
#app #sidebar .accordion[data-id="radar"] .lp-item,
#app #sidebar .accordion[data-id="satellite"] .lp-item {
    gap: 6px;
    padding: 6px 7px;
}
#app #sidebar .accordion[data-id="active-layers"] .lp-drag-handle { width: 12px; margin-left: -1px; }
#app #sidebar .accordion[data-id="radar"] .lp-drag-handle.invisible,
#app #sidebar .accordion[data-id="satellite"] .lp-drag-handle.invisible { display: none; }
#app #sidebar .accordion[data-id="active-layers"] .lp-opacity-row { padding-left: 20px; }






#app {
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.4;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
#app button,
#app input,
#app select,
#app textarea,
#app optgroup,
#app option { font-family: var(--font-ui); }

#app #header #inst-name,
#boot-loader .bl-name {
    font-family: var(--font-brand);
    font-weight: 600;
}


#app :is(
    .clock-val,
    .clock-label,
    .sb-key,
    .sb-val,
    .tl-time,
    .tl-time-val,
    .tl-time-utc,
    .tl-mark,
    .lp-count,
    .lp-meta,
    .win-lp-opacity-row,
    .win-lp-blayer-val,
    .split-win-time,
    .swt-time-val,
    .swt-utc,
    .swt-preload-pct,
    .wt-time,
    .dim-cat-time,
    .dim-product-time,
    .dim-cache-frames,
    .pm-progress-text,
    .pm-card-time,
    .rcs-accum,
    .rcs-time,
    .rcs-modal-accum,
    .rcs-modal-date-trigger,
    .rcs-modal-date-live,
    .embed-time-badge,
    .map-cbar-labels,
    .map-cbar-unit,
    .hs-updated,
    .hs-list-updated,
    .hs-list-item-time,
    .seq-pop-row b,
    .dcfg-url
) { font-family: var(--font-data); font-variant-numeric: tabular-nums; }


#app :is(
    .accordion-head,
    .sidebar-section-label,
    .lp-group-label,
    .lp-name,
    .bmap-btn,
    .blayer-name,
    .gjson-name,
    .win-lp-drawer-title,
    .win-lp-drawer-context,
    .win-lp-sec-head,
    .win-lp-subhead,
    .win-lp-name,
    .win-lp-cat-name,
    .split-win-label,
    .split-float-title,
    .rcs-header-title,
    .rcs-name,
    .rcs-type-badge,
    .pm-modal-title,
    .pm-modal-group-header,
    .preset-panel-title,
    .map-cbar-name,
    .map-cbar-extra,
    .hs-tog-label,
    .hs-group-label,
    .hs-dd-btn,
    .hs-dd-item,
    .hs-shape-legend,
    .hs-legend,
    .seq-pop-head,
    .seq-pop-row span,
    .leaflet-popup-content
) { font-family: var(--font-ui); }


#app input:is([type="text"], [type="search"], [type="number"], [type="date"], [type="time"], [type="email"], [type="password"], [type="url"]),
#app select,
#app textarea {
    border-color: var(--border);
    border-radius: var(--control-radius);
    background: var(--surface2);
    color: var(--text);
    box-shadow: none;
    font-size: 11.5px;
    transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
#app input:is([type="text"], [type="search"], [type="number"], [type="date"], [type="time"], [type="email"], [type="password"], [type="url"]):focus,
#app select:focus,
#app textarea:focus {
    border-color: var(--accent);
    background: var(--surface);
    outline: 2px solid color-mix(in srgb, var(--accent) 24%, transparent);
    outline-offset: 1px;
    box-shadow: none;
}
#app input::placeholder,
#app textarea::placeholder { color: var(--text3); opacity: 1; }


#app #sidebar :is(.bmap-btn, .gjson-item, .upload-zone, .blayer-row, .lp-item) {
    border-radius: var(--control-radius);
    font-family: var(--font-ui);
}
#app #sidebar .bmap-btn {
    min-height: 38px;
    border-color: var(--border);
    background: var(--surface2);
    color: var(--text2);
    font-size: 10.5px;
    font-weight: 500;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms ease;
}
#app #sidebar .bmap-btn.active {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: none;
}
#app #sidebar .bmap-btn:active { transform: scale(.97); }
#app #sidebar .bmap-icon { font-size: 13px; }
#app #sidebar .lp-group-label {
    color: var(--text3);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .06em;
}
#app #sidebar .lp-count { color: var(--text2); font-size: 9px; }
#app #sidebar .lp-name { color: var(--text); font-size: 11.5px; font-weight: 500; }
#app #sidebar .lp-meta { color: var(--text3); font-size: 9.5px; }
#app #sidebar .lp-item {
    border-color: transparent;
    background: transparent;
    transition: background-color 140ms ease, border-color 140ms ease;
}
#app #sidebar .lp-item.focused { border-color: var(--border); background: var(--accent-soft); }
#app #sidebar .lp-toggle-btn {
    border-color: var(--border2);
    border-radius: 5px;
    box-shadow: none;
    transition: background-color 140ms ease, border-color 140ms ease, transform 120ms ease;
}
#app #sidebar .lp-toggle-btn:active { transform: scale(.94); }
#app #sidebar .upload-zone {
    min-height: 56px;
    border-color: var(--border2);
    background: var(--surface2);
    color: var(--text2);
    font-size: 11px;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
#app #sidebar .gjson-item { min-height: 32px; background: var(--surface2); color: var(--text); }
#app #sidebar .gjson-btn {
    min-width: 24px;
    min-height: 24px;
    border-radius: 5px;
    transition: background-color 140ms ease, color 140ms ease, transform 120ms ease;
}
#app #sidebar .gjson-btn:active { transform: scale(.94); }
#app #sidebar .blayer-name { color: var(--text); font-size: 11px; }
#app #sidebar .blayer-op-label { color: var(--text3); font-family: var(--font-data); font-size: 9.5px; }


#app .tog { box-shadow: none; }
#app input[type="range"] { accent-color: var(--accent); }
#app :is(#sidebar, .win-lp-scroll, .rcs-list, .preset-list, .pm-modal-body) {
    scrollbar-width: thin;
    scrollbar-color: var(--border2) transparent;
}
#app :is(#sidebar, .win-lp-scroll, .rcs-list, .preset-list, .pm-modal-body)::-webkit-scrollbar { width: 6px; height: 6px; }
#app :is(#sidebar, .win-lp-scroll, .rcs-list, .preset-list, .pm-modal-body)::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: var(--border2);
}


#app #statusbar {
    border-top-color: var(--border);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    color: var(--text2);
    font-family: var(--font-data);
    font-size: 9.5px;
    box-shadow: none;
}
#app #statusbar .sb-key { color: var(--text3); }
#app #statusbar .sb-val { color: var(--text); font-weight: 500; }
#app .leaflet-control-attribution,
#app .leaflet-control-scale,
#app .leaflet-popup-content,
#app .leaflet-tooltip { font-family: var(--font-ui); }
#app .leaflet-bar {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--control-radius);
    box-shadow: var(--shadow-sm);
}
#app .leaflet-bar a {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text2);
}


#app .split-float-toolbar {
    border-color: var(--border);
    border-radius: 0 0 7px 7px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-ui);
}
#app .split-float-title { color: var(--text); font-size: 11.5px; font-weight: 600; }
#app :is(.split-quick-btn, .split-sync-map-btn, .split-arrange-btn, .split-exit-btn) {
    min-height: 28px;
    border-color: var(--border);
    border-radius: var(--control-radius);
    background: var(--surface2);
    color: var(--text2);
    font-family: var(--font-ui);
    font-size: 10.5px;
    box-shadow: none;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms ease;
}
#app :is(.split-quick-btn, .split-sync-map-btn, .split-arrange-btn, .split-exit-btn):active { transform: scale(.97); }
#app .split-win-titlebar {
    border-bottom-color: var(--border);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-ui);
}
#app .split-win-label { color: var(--text); font-size: 11.5px; font-weight: 600; }
#app .split-win-time { color: var(--text2); font-size: 9.5px; }
#app .win-tl { border-color: var(--border); background: var(--surface); font-family: var(--font-ui); }


#app :is(.clock-tz-picker, .acct-menu, .data-info-menu, .preset-panel) {
    border: 1px solid var(--border);
    border-radius: var(--overlay-radius);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-ui);
}
#app .clock-tz-picker { padding: 7px; }
#app .tz-picker-title,
#app .acct-menu .am-head {
    border-bottom-color: var(--border);
    color: var(--text2);
    font-size: 10px;
    font-weight: 600;
}
#app :is(.tz-picker-item, .acct-menu .am-item) {
    min-height: 32px;
    border-radius: var(--control-radius);
    color: var(--text);
    font-size: 11.5px;
    transition: background-color 140ms ease, color 140ms ease, transform 120ms ease;
}
#app :is(.tz-picker-item, .acct-menu .am-item):active { transform: scale(.98); }
#app #acct-btn {
    border-color: var(--border);
    border-radius: var(--control-radius);
    background: var(--surface2);
    color: var(--text2);
    box-shadow: none;
}


#app #toast {
    border: 1px solid var(--border);
    border-radius: var(--control-radius);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
    font-family: var(--font-ui);
    font-size: 11.5px;
}
#app :is(.hs-popup-wrap .leaflet-popup-content-wrapper, .seq-popup-wrap .leaflet-popup-content-wrapper) {
    border-color: var(--border);
    border-radius: var(--overlay-radius);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}


#app :is(.rcs-time, .rcs-accum, .rcs-modal-accum, .rcs-modal-date-trigger, .rcs-modal-date-live) {
    font-family: var(--font-data);
    font-variant-numeric: tabular-nums;
}
#app :is(.rcs-header-title, .rcs-name, .rcs-type-badge, .rcs-setting-row, .rcs-modal-header-left h3, .rcs-modal-events-title) {
    font-family: var(--font-ui);
}



.display-mode #header #inst-name { font-family: 'Sora', 'IBM Plex Sans', system-ui, sans-serif; }
.display-mode :is(.split-win-time, .swt-time-val, .swt-utc, .swt-preload-pct),
body.embed-mode :is(.embed-time-badge, .embed-time-badge .tl-time-val, .embed-time-badge .tl-time-utc),
.display-mode :is(.map-cbar-labels, .map-cbar-unit) {
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
    font-variant-numeric: tabular-nums;
}
.display-mode :is(.split-win-label, .map-cbar-name, .map-cbar-extra, .rcs-header-title, .rcs-name, .rcs-type-badge) {
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
}

@media (hover: hover) and (pointer: fine) {
    #app #sidebar .bmap-btn:hover,
    #app :is(.split-quick-btn, .split-sync-map-btn, .split-arrange-btn):hover,
    #app :is(.tz-picker-item, .acct-menu .am-item):hover {
        border-color: var(--accent);
        background: var(--accent-soft);
        color: var(--accent);
    }
}

@media (max-width: 767px) {
    #app { font-size: 12.5px; }
    #app :is(.tz-picker-item, .acct-menu .am-item) { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    #app :is(button, .bmap-btn, .lp-toggle-btn, .gjson-btn, .split-quick-btn, .split-sync-map-btn, .split-arrange-btn, .split-exit-btn, .tz-picker-item, .am-item) {
        transition-duration: 0ms !important;
        transform: none !important;
    }
}





@media (max-width: 639px) and (orientation: portrait) {
    #app #header {
        height: 40px;
        min-height: 40px;
        padding: 0 7px;
        gap: 5px;
    }
    #app #header .brand {
        min-width: 0;
        flex: 1 1 auto;
        gap: 7px;
    }
    #app #header #logo-wrap {
        width: 27px;
        height: 27px;
        flex: 0 0 27px;
        border-radius: 7px;
    }
    #app #header .brand-text { min-width: 0; }
    #app #header #inst-name {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 10.5px;
        line-height: 1.1;
    }
    #app #header #inst-sub { display: none; }
    #app #header .header-right { flex: 0 0 auto; gap: 4px; }
    #app #header .clock-wrap { gap: 3px; }
    #app #header .clock-val { font-size: 10.5px; }
    #app #header .clock-label { font-size: 7.5px; }
    #app #header .split-header-btn,
    #app #header #theme-toggle {
        min-width: 28px;
        min-height: 28px;
        padding: 3px 6px;
    }
    

    #app #header .data-info-btn,
    #app #header #preset-manager-btn,
    #app #header #hs-alert-btn {
        width: 28px;
        padding: 0;
        font-size: 0;
        justify-content: center;
    }
    #app #header .data-info-btn svg,
    #app #header #preset-manager-btn svg,
    #app #header .hs-alert-bell {
        width: 15px;
        height: 15px;
        color: var(--text2);
    }
    #app #header #acct-btn {
        width: 28px;
        min-width: 28px;
        padding: 0;
        justify-content: center;
    }
    #app #header #acct-btn .acct-nm { display: none; }
    #app #header .clock-wrap { min-width: 66px; }

    
    #app .leaflet-bottom.leaflet-right { right: 7px; bottom: 7px; }
    #app .map-cbar:not(.map-cbar--v) {
        width: min(232px, calc(100vw - 30px));
        min-width: 0;
        max-width: calc(100vw - 30px);
        padding: 5px 6px;
    }
    #app .map-cbar--hotspot {
        width: min(232px, calc(100vw - 30px));
        max-width: calc(100vw - 30px);
        padding: 6px 7px 5px;
    }
    #app .map-cbar-name { font-size: 10px; }
    #app .map-cbar-btn { width: 19px; height: 19px; }
    #app .map-cbar-unit { font-size: 8px; }

    


    body:not(.display-mode) #app .rcs-sidebar,
    body:not(.display-mode) #app .rcs-sidebar.rcs-open,
    body:not(.display-mode) #app .rcs-sidebar.rcs-always-visible {
        height: 205px;
        max-height: 205px;
        height: min(28dvh, 205px);
        max-height: min(28dvh, 205px);
    }
    body:not(.display-mode) #app .rcs-header {
        height: 38px;
        min-height: 38px;
        padding: 0 8px;
    }
    body:not(.display-mode) #app .rcs-header-title { font-size: 12px; }
    body:not(.display-mode) #app .rcs-header-icon { font-size: 13px; }
    body:not(.display-mode) #app .rcs-sort-btn,
    body:not(.display-mode) #app .rcs-settings-btn,
    body:not(.display-mode) #app .rcs-audio-btn { width: 27px; height: 27px; }
    body:not(.display-mode) #app .rcs-list {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 6px;
        gap: 0;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }
    body:not(.display-mode) #app .rcs-item {
        flex: 0 0 min(224px, 74vw);
        width: min(224px, 74vw);
        min-height: 91px;
        height: 100%;
        padding: 5px 8px 4px;
        border-right: 1px solid var(--border);
        border-bottom: 0;
        scroll-snap-align: start;
    }
    body:not(.display-mode) #app .rcs-item-header { margin-bottom: 2px; }
    body:not(.display-mode) #app .rcs-name { font-size: 10.5px; }
    body:not(.display-mode) #app .rcs-chart-wrap { height: auto; min-height: 0; flex: 1; }
    body.rcs-mobile-open #app #timeline {
        margin-bottom: 205px;
        margin-bottom: min(28dvh, 205px);
    }

    


    .display-mode.display-rain #app #body { flex-direction: column; }
    .display-mode.display-rain #app #rcs-sidebar {
        position: relative;
        inset: auto;
        order: 1 !important;
        width: 100% !important;
        height: 210px !important;
        height: min(27dvh, 210px) !important;
        min-height: 150px;
        border: 0;
        border-top: 1px solid var(--border);
        flex-direction: column !important;
    }
    .display-mode.display-rain #app .rcs-header {
        width: auto;
        min-width: 0;
        height: 36px;
        min-height: 36px;
        padding: 0 8px !important;
        flex-direction: row !important;
        border: 0 !important;
        border-bottom: 1px solid var(--border) !important;
        gap: 6px !important;
    }
    .display-mode.display-rain #app .rcs-header-left {
        width: auto;
        flex: 1;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 5px !important;
    }
    .display-mode.display-rain #app .rcs-header-title {
        max-height: none;
        writing-mode: horizontal-tb !important;
        transform: none !important;
        font-size: 11.5px;
    }
    .display-mode.display-rain #app .rcs-rain-badge {
        writing-mode: horizontal-tb !important;
        transform: none !important;
        margin-top: 0;
    }
    .display-mode.display-rain #app .rcs-header-actions {
        flex-direction: row !important;
        gap: 3px !important;
    }
    .display-mode.display-rain #app .rcs-list {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 4px 6px;
        gap: 0;
        scrollbar-width: thin;
    }
    .display-mode.display-rain #app .rcs-item {
        width: min(224px, 72vw);
        min-width: min(224px, 72vw);
        height: 100%;
        min-height: 0;
        padding: 5px 7px 4px;
        border: 0;
        border-right: 1px solid var(--border) !important;
    }
    .display-mode.display-rain #app .rcs-chart-wrap {
        height: auto !important;
        min-height: 0;
        flex: 1;
    }
}



@media (max-width: 639px) and (orientation: portrait) {
    

    #body.sidebar-open::after { inset: 42px 0 0; }

    body:not(.display-mode) #app .rcs-header-actions { order: 3; }
    body:not(.display-mode) #app .rcs-collapse {
        order: 2;
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        align-self: center;
        flex: 0 0 27px;
        width: 27px;
        height: 27px;
        margin: 0 2px 0 0;
        padding: 0;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        border-color: var(--border);
        background: var(--surface2);
        color: var(--text2);
    }
    body:not(.display-mode) #app .rcs-collapse svg { width: 16px; height: 16px; }
    #app .rcs-list {
        min-width: 0;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }
    #app .rcs-list.rcs-list--dragging {
        cursor: grabbing;
        user-select: none;
        scroll-snap-type: none;
    }

    

    #app #hs-alert-btn {
        width: 28px;
        min-width: 28px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    #app .hs-alert-bell {
        display: block;
        width: 16px;
        height: 16px;
        color: var(--text2);
    }
    #app .hs-alert-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        width: calc(100vw - 28px);
        max-width: 340px;
        max-height: 72vh;
        max-height: 72dvh;
        transform: translate(-50%, -50%);
        z-index: 10000;
    }
    #app .hs-alert-list { max-height: min(56dvh, 360px); }

    
    .hs-alert-modal-overlay {
        width: 100vw;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 12px;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        overflow: auto;
        z-index: 11000;
    }
    .hs-alert-modal-box {
        width: min(100%, 420px);
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        margin: auto;
        flex: 0 1 auto;
    }
    .hs-alert-modal-head { padding: 11px 12px; font-size: 13px; }
    .hs-alert-modal-body { min-height: 0; overflow: auto; }
    #hs-alert-modal-map { min-height: 210px; }
    .hs-alert-modal-panel { min-width: 0; padding: 10px 12px; }
}
