
html:not([data-theme="light"]) { --bg: #050b1a; --panel: rgba(14, 22, 38, 0.92); --panel-line: #20293a; --text: #e9ecf2; --muted: #9197a0; --accent: #5b9dff; --good: #2eb67d; --warn: #f2a900; --crit: #e01e5a; --p-wave: #37c8ff; --s-wave: #ff4b3a; }
html:not([data-theme="light"]) body { background: var(--bg); color: var(--text); }
html:not([data-theme="light"]) #map { background: #050b1a; }
html:not([data-theme="light"]) .leaflet-container { background: #0b1323; }
html:not([data-theme="light"]) .brand { background: var(--panel); border: 1px solid var(--panel-line); }
html:not([data-theme="light"]) .brand .logo { color: var(--crit); text-shadow: 0 0 10px rgba(224, 30, 90, .6); }
html:not([data-theme="light"]) .brand .sub { color: var(--muted); }
html:not([data-theme="light"]) .pill { background: var(--panel); border: 1px solid var(--panel-line); color: var(--muted); }
html:not([data-theme="light"]) .dot { background: var(--muted); }
html:not([data-theme="light"]) .dot.up { background: var(--good); box-shadow: 0 0 6px rgba(46,182,125,.8); }
html:not([data-theme="light"]) .dot.down { background: var(--crit); }
html:not([data-theme="light"]) .test-banner { background: rgba(242, 169, 0, .95); color: #241a00; box-shadow: 0 4px 20px rgba(0,0,0,.4); }
html:not([data-theme="light"]) .event-panel { background: var(--panel); border: 1px solid var(--panel-line); box-shadow: 0 8px 30px rgba(0,0,0,.5); }
html:not([data-theme="light"]) .event-panel.alert { border-color: rgba(224,30,90,.6); box-shadow: 0 0 24px rgba(224,30,90,.25); }
html:not([data-theme="light"]) .ep-type { background: rgba(91,157,255,.16); color: #8ab8ff; }
html:not([data-theme="light"]) .ep-type.warn { background: rgba(242,169,0,.16); color: #ffcf6b; }
html:not([data-theme="light"]) .ep-type.crit { background: rgba(224,30,90,.18); color: #ff6b93; }
html:not([data-theme="light"]) .ep-live { color: #ff6b93; }
html:not([data-theme="light"]) .blink { background: var(--crit); }
html:not([data-theme="light"]) .ep-close { background: none; border: none; color: var(--muted); }
html:not([data-theme="light"]) .ep-close:hover { color: var(--text); }
html:not([data-theme="light"]) .m-label { color: var(--muted); }
html:not([data-theme="light"]) .int-chip { background: #2c3443; color: var(--text); }
html:not([data-theme="light"]) .ep-rows .row { border-top: 1px solid var(--panel-line); }
html:not([data-theme="light"]) .ep-rows .row span { color: var(--muted); }
html:not([data-theme="light"]) .ep-note { color: var(--muted); background: rgba(252, 255, 255, 0.04); }
html:not([data-theme="light"]) .int-1 { background: #ffffff; color: #111; }
html:not([data-theme="light"]) .int-2 { background: #a0e6ff; color: #0d3b53; }
html:not([data-theme="light"]) .int-3 { background: #92d050; color: #1e3a06; }
html:not([data-theme="light"]) .int-4 { background: #ffff00; color: #4d3d00; }
html:not([data-theme="light"]) .int-5 { background: #ffc000; color: #4a2b00; }
html:not([data-theme="light"]) .int-6 { background: #ff0000; color: #fff; }
html:not([data-theme="light"]) .int-7 { background: #a32777; color: #fff; }
html:not([data-theme="light"]) .int-8 { background: #632523; color: #fff; }
html:not([data-theme="light"]) .int-9 { background: #4c2600; color: #fff; }
html:not([data-theme="light"]) .int-10 { background: #000; color: #fff; }
html:not([data-theme="light"]) .int-11 { background: #000; color: #ff0; }
html:not([data-theme="light"]) .int-12 { background: #000; color: #f00; }
html:not([data-theme="light"]) .recent { background: var(--panel); border: 1px solid var(--panel-line); }
html:not([data-theme="light"]) .recent-head { border-bottom: 1px solid var(--panel-line); }
html:not([data-theme="light"]) .recent-head h2 { color: var(--muted); }
html:not([data-theme="light"]) #recent-toggle { background: none; border: none; color: var(--muted); }
html:not([data-theme="light"]) #recent-list { scrollbar-color: #2c3443 transparent; }
html:not([data-theme="light"]) #recent-list::-webkit-scrollbar-thumb { background: #2c3443; }
html:not([data-theme="light"]) #recent-list::-webkit-scrollbar-thumb:hover { background: #414a59; }
html:not([data-theme="light"]) #recent-list::-webkit-scrollbar-track { background: transparent; }
html:not([data-theme="light"]) #recent-list li { border-bottom: 1px solid rgba(32, 41, 58, 0.6); }
html:not([data-theme="light"]) #recent-list li:hover { background: rgba(91,157,255,.08); }
html:not([data-theme="light"]) #recent-list li.active { background: rgba(91,157,255,.14); }
html:not([data-theme="light"]) #recent-list .rtag { background: rgba(91,157,255,.16); color: #8ab8ff; }
html:not([data-theme="light"]) #recent-list .rtag.warn { background: rgba(242,169,0,.16); color: #ffcf6b; }
html:not([data-theme="light"]) #recent-list .rtag.crit { background: rgba(224,30,90,.18); color: #ff6b93; }
html:not([data-theme="light"]) #recent-list .rtag.test { background: rgba(145, 151, 160, 0.2); color: var(--muted); }
html:not([data-theme="light"]) #recent-list .rloc { color: var(--muted); }
html:not([data-theme="light"]) #recent-list .rtime { color: var(--muted); }
html:not([data-theme="light"]) #recent-list .empty { color: var(--muted); }
html:not([data-theme="light"]) .epi-x { color: var(--crit); text-shadow: 0 0 8px rgba(224,30,90,.9), 0 0 2px #000; }
html:not([data-theme="light"]) .epi-x.old { color: #b7c3d6; text-shadow: 0 0 3px #000; }
html:not([data-theme="light"]) .epi-num { background: rgba(52,56,64,.92); color: #fff; border: 1.5px solid rgba(255,255,255,.8); }
html:not([data-theme="light"]) .legend { background: var(--panel); border: 1px solid var(--panel-line); color: var(--muted); }
html:not([data-theme="light"]) .lg-x { color: var(--crit); }
html:not([data-theme="light"]) .lg-p { border: 2px solid var(--p-wave); }
html:not([data-theme="light"]) .lg-s { border: 2px solid var(--s-wave); background: rgba(255,75,58,.25); }
html:not([data-theme="light"]) .sim-stop { background: #1f2939; color: #ff9aa8; border: 1px solid #b8374b; }
html:not([data-theme="light"]) .sim-stop:hover { background: #4c2b3c; color: #ffc4cd; }
html:not([data-theme="light"]) .pill.sim { border-color: rgba(242,169,0,.5); color: #ffcf6b; }
html:not([data-theme="light"]) .big-clock.sim .bc-date, html:not([data-theme="light"]) .big-clock.sim .bc-time { color: #ffcf6b; }
html:not([data-theme="light"]) body.alertui .big-clock.sim .bc-date, html:not([data-theme="light"]) body.alertui .big-clock.sim .bc-time { color: #ffcf6b; }
html:not([data-theme="light"]) .settings-btn { border: 1px solid var(--panel-line); }
html:not([data-theme="light"]) .settings-btn:hover { color: var(--text); }
html:not([data-theme="light"]) .modal-back { background: rgba(0, 0, 0, 0.55); }
html:not([data-theme="light"]) .settings-box { background: var(--panel); border: 1px solid var(--panel-line); }
html:not([data-theme="light"]) .settings-box .opt { border: 1px solid var(--panel-line); }
html:not([data-theme="light"]) .settings-box .opt:hover { border-color: var(--accent); }
html:not([data-theme="light"]) .settings-box .opt small { color: var(--muted); }
html:not([data-theme="light"]) .settings-close { border: none; background: var(--accent); color: #04101f; }
html:not([data-theme="light"]) body.alertui { --panel: rgba(19, 27, 43, 0.96); --panel-line: #0b1322; }
html:not([data-theme="light"]) body.alertui::before { background: #050b1a; }
html:not([data-theme="light"]) body.alertui .leaflet-container { background: #aeb9c4; }
html:not([data-theme="light"]) body.alertui .event-panel { background: #272f3d; border: 2px solid #101828; color: #fcffff; box-shadow: 0 8px 28px rgba(0,0,0,.45); }
html:not([data-theme="light"]) body.alertui .event-panel.alert { border-color: #8d1010; box-shadow: 0 0 26px rgba(200,20,20,.35); }
html:not([data-theme="light"]) body.alertui .ep-head { background: #b31414; }
html:not([data-theme="light"]) body.alertui .ep-type { background: transparent; color: #fcffff; }
html:not([data-theme="light"]) body.alertui .ep-live { color: #e1e4e9; }
html:not([data-theme="light"]) body.alertui .ep-close { color: #fcffff; }
html:not([data-theme="light"]) body.alertui .m-label { color: #c6c9cf; }
html:not([data-theme="light"]) body.alertui .ep-rows .row { border-color: rgba(252, 255, 255, 0.14); }
html:not([data-theme="light"]) body.alertui .ep-rows .row span { color: #c6c9cf; }
html:not([data-theme="light"]) body.alertui .ep-note { background: rgba(0, 0, 0, 0.28); color: #dcdfe5; }
html:not([data-theme="light"]) body.alertui .recent { background: #131b2b; border: 2px solid #070f1e; }
html:not([data-theme="light"]) body.alertui .recent-head { background: #b31414; }
html:not([data-theme="light"]) body.alertui .recent-head h2 { color: #fcffff; }
html:not([data-theme="light"]) body.alertui #recent-toggle { color: #fcffff; }
html:not([data-theme="light"]) body.alertui #recent-list li { border-color: #20293a; }
html:not([data-theme="light"]) body.alertui .big-clock { border-top: 2px solid #070f1e; background: #0e1626; }
html:not([data-theme="light"]) .big-clock .bc-date { color: var(--muted); }
html:not([data-theme="light"]) .rint { background: #2c3443; }
html:not([data-theme="light"]) body.alertui .legend { background: rgba(19, 27, 43, 0.96); border: 2px solid #070f1e; }
html:not([data-theme="light"]) body.alertui .lg-p { border-color: #1e50dc; }
html:not([data-theme="light"]) body.alertui .lg-s { border-color: #dc1e28; background: rgba(220,30,40,.2); }
html:not([data-theme="light"]) body.alertui .epi-x { color: #dc1e28; text-shadow: none; -webkit-text-stroke: 2.5px #fff; }
html:not([data-theme="light"]) body.alertui .epi-x.old { color: #6b7684; -webkit-text-stroke: 2px #fff; }
html:not([data-theme="light"]) body.alertui .topbar .brand, html:not([data-theme="light"]) body.alertui .pill { border-width: 2px; }
html:not([data-theme="light"]) body.alertui .leaflet-container { background: #93a2b5; }
html:not([data-theme="light"]) body.alertui .q-alertbox { box-shadow: 0 5px 18px rgba(0,0,0,.5); color: #fcffff; background: #172031; }
html:not([data-theme="light"]) .q-ab-type { background: #8d1410; }
html:not([data-theme="light"]) .q-ab-lvl { background: #e01010; }
html:not([data-theme="light"]) .q-ab-time { background: #333b4a; }
html:not([data-theme="light"]) .q-ab-tag { background: #5e636d; }
html:not([data-theme="light"]) .q-ab-close { background: #333b4a; border: none; color: #c9ccd1; }
html:not([data-theme="light"]) .q-ab-close:hover { color: #fcffff; }
html:not([data-theme="light"]) .q-ab-body { background: #28303e; }
html:not([data-theme="light"]) .q-ab-int { background: #5c1230; color: #fcffff; }
html:not([data-theme="light"]) body.alertui .q-side { background: #1c2536; border-left: 3px solid #050c1b; color: #fcffff; }
html:not([data-theme="light"]) .q-title { background: #c01414; }
html:not([data-theme="light"]) .q-gear { background: rgba(252, 255, 255, 0.16); border: none; color: #fcffff; }
html:not([data-theme="light"]) .q-gear:hover { background: rgba(252, 255, 255, 0.3); }
html:not([data-theme="light"]) .q-sub { background: #121b2b; color: #d0d3d8; }
html:not([data-theme="light"]) .q-sub-tags b { background: #8d1410; color: #fcffff; }
html:not([data-theme="light"]) .q-sub-tags b.lvl { background: #e01010; }
html:not([data-theme="light"]) .q-sub-tags b.tst { background: #5e636d; }
html:not([data-theme="light"]) .q-block { background: #d01010; color: #fcffff; }
html:not([data-theme="light"]) .q-warnstrip { background: #e05a10; color: #fcffff; }
html:not([data-theme="light"]) .q-sec { background: #0d1525; border-top: 2px solid #050c1b; }
html:not([data-theme="light"]) .q-mtabs { background: #141d2d; border-bottom: 1px solid #303847; }
html:not([data-theme="light"]) .q-mtab { background: none; border: none; color: #9ba1ab; border-bottom: 2px solid transparent; }
html:not([data-theme="light"]) .q-mtab.active { color: #fcffff; border-bottom-color: #c01414; }
html:not([data-theme="light"]) .q-rows { scrollbar-color: #353d4c transparent; }
html:not([data-theme="light"]) .q-rows::-webkit-scrollbar-thumb { background: #353d4c; }
html:not([data-theme="light"]) .q-rows li { border-bottom: 1px solid #2e3645; background: #272e3d; }
html:not([data-theme="light"]) .q-est-tag { color: #a0a6b0; border: 1px solid #4a5363; }
html:not([data-theme="light"]) .q-rows li.rowint-2 { background: #a0e6ff; color: #0d3b53; border-color: #86cbe6; }
html:not([data-theme="light"]) .q-rows li.rowint-3 { background: #92d050; color: #1e3a06; border-color: #7cb83f; }
html:not([data-theme="light"]) .q-rows li.rowint-4 { background: #ffff00; color: #4d3d00; border-color: #e0e000; }
html:not([data-theme="light"]) .q-rows li.rowint-5 { background: #ffc000; color: #4a2b00; border-color: #e0a800; }
html:not([data-theme="light"]) .q-rows li.rowint-6 { background: #ff0000; color: #fcffff; border-color: #d40000; }
html:not([data-theme="light"]) .q-rows li.rowint-7 { background: #a32777; color: #fcffff; border-color: #8a1f63; }
html:not([data-theme="light"]) .q-rows li.rowint-8 { background: #632523; color: #fcffff; border-color: #501c1a; }
html:not([data-theme="light"]) .q-rows li.rowint-9 { background: #4c2600; color: #fcffff; border-color: #3a1d00; }
html:not([data-theme="light"]) .q-rows li.rowint-10, html:not([data-theme="light"]) .q-rows li.rowint-11, html:not([data-theme="light"]) .q-rows li.rowint-12 { background: #000000; color: #fcffff; border-color: #2b3342; }
html:not([data-theme="light"]) body.alertui .big-clock { border-top: 2px solid #050c1b; background: #121b2b; }
html:not([data-theme="light"]) body.alertui .big-clock .bc-date { color: #e5e8ee; }
html:not([data-theme="light"]) .q-footer { background: #0d1525; color: #888d97; border-top: 1px solid #050c1b; }
html:not([data-theme="light"]) body.alertui .q-legend { background: rgba(28, 37, 54, 0.97); border: 2px solid #050c1b; color: #fcffff; }
html:not([data-theme="light"]) .q-lg-div { background: #353d4c; }
html:not([data-theme="light"]) body.alertui .q-legend .lg-s { border: 2.5px solid #dc1e28; background: transparent; }
html:not([data-theme="light"]) body.alertui .q-legend .lg-p { border: 2.5px solid #1e50dc; }
html:not([data-theme="light"]) body.alertui .q-legend .lg-x { color: #dc1e28; -webkit-text-stroke: 1.5px #fff; }
html:not([data-theme="light"]) .q-title.calm { background: #2a3240; }
html:not([data-theme="light"]) .q-rows li.q-subhead { background: #0d1525; color: #fcffff; border-top: 2px solid #050c1b; }
html:not([data-theme="light"]) body.map-dark .leaflet-container { background: #0b1323; }
html:not([data-theme="light"]) a.q-gear { text-decoration: none; }
html:not([data-theme="light"]) #stg-modal .stg-box { border: 1px solid var(--stg-line); }
html:not([data-theme="light"]) #stg-modal .stg-close { border: none; }
html:not([data-theme="light"]) #stg-modal .stg-tab { border: none; }
html:not([data-theme="light"]) #stg-modal { --stg-surface: #161f2f; --stg-nav: #101929; --stg-card: #1e2738; --stg-line: rgba(252, 255, 255, 0.085); --stg-ink: #ebeef4; --stg-ink2: #b6bcc6; --stg-ink3: #9197a1; --stg-red: #c01414; --stg-pill: rgba(252, 255, 255, 0.1); --stg-hover: rgba(252, 255, 255, 0.055); --stg-neg: #ff8f8f; --stg-shadow: rgba(0, 0, 0, 0.55); --stg-thumb: #353d4c; }
html:not([data-theme="light"]) #stg-modal .stg-box { background: var(--stg-surface); color: var(--stg-ink); scrollbar-color: var(--stg-thumb) transparent; }
html:not([data-theme="light"]) #stg-modal .stg-tabs { background: none; }
html:not([data-theme="light"]) #stg-modal .stg-tab { color: var(--stg-ink2); background: none; }
html:not([data-theme="light"]) #stg-modal .stg-tab::before { background: currentColor; }
html:not([data-theme="light"]) #stg-modal .stg-tab:hover { background: var(--stg-hover); color: var(--stg-ink); }
html:not([data-theme="light"]) #stg-modal .stg-pane:not([hidden]) { scrollbar-color: var(--stg-thumb) transparent; }
html:not([data-theme="light"]) #stg-modal .stg-pane::-webkit-scrollbar-thumb { background: var(--stg-thumb); }
html:not([data-theme="light"]) #stg-modal .stg-box > .stg-note { color: var(--stg-ink3); }
html:not([data-theme="light"]) #stg-modal .stg-box > .stg-note a { color: var(--stg-ink2) !important; }
@media (min-width: 741px) {
  html:not([data-theme="light"]) #stg-modal .stg-box::before { background: var(--stg-nav); border-right: 1px solid var(--stg-line); }
}
@media (min-width: 741px) {
  html:not([data-theme="light"]) #stg-modal .stg-box { border-color: var(--stg-line); box-shadow: 0 18px 50px var(--stg-shadow); }
  html:not([data-theme="light"]) #stg-modal .stg-head { background: none; }
  html:not([data-theme="light"]) #stg-modal .stg-head h2 { color: var(--stg-ink); }
  html:not([data-theme="light"]) #stg-modal .stg-close { background: var(--stg-hover); color: transparent; }
  html:not([data-theme="light"]) #stg-modal .stg-close::before { background: var(--stg-ink2); }
  html:not([data-theme="light"]) #stg-modal .stg-close:hover { background: var(--stg-pill); }
  html:not([data-theme="light"]) #stg-modal .stg-tab.active { color: var(--stg-ink); background: var(--stg-pill); }
  html:not([data-theme="light"]) #stg-modal .stg-reset { border: 0; background: none; color: var(--stg-neg); }
  html:not([data-theme="light"]) #stg-modal .stg-reset:hover { background: var(--stg-hover); color: var(--stg-neg); border: 0; text-decoration: underline; }
  html:not([data-theme="light"]) #stg-modal .stg-card { background: none; border: 0; border-top: 1px solid var(--stg-line); }
  html:not([data-theme="light"]) #stg-modal .stg-row { border-bottom-color: var(--stg-line); }
  html:not([data-theme="light"]) #stg-modal .stg-bdg { border-bottom-color: var(--stg-line); }
  html:not([data-theme="light"]) #stg-modal .stg-info small { color: var(--stg-ink3); }
  html:not([data-theme="light"]) #stg-modal .stg-ph-title { color: var(--stg-ink); }
  html:not([data-theme="light"]) #stg-modal .stg-ph-desc { color: var(--stg-ink3); }
  html:not([data-theme="light"]) #stg-modal .stg-head h2::before { color: var(--stg-ink3); }
}
@media (max-width: 740px) {
  html:not([data-theme="light"]) #stg-modal .stg-head { background: var(--stg-nav); border-bottom: 1px solid var(--stg-line); }
  html:not([data-theme="light"]) #stg-modal .stg-head h2 { color: var(--stg-ink); }
  html:not([data-theme="light"]) #stg-modal .stg-close { background: var(--stg-hover); color: transparent; }
  html:not([data-theme="light"]) #stg-modal .stg-close::before { background: var(--stg-ink2); }
  html:not([data-theme="light"]) #stg-modal .stg-close:hover { background: var(--stg-pill); }
  html:not([data-theme="light"]) #stg-modal .stg-tab.active { color: var(--stg-ink); background: var(--stg-pill); }
  html:not([data-theme="light"]) #stg-modal .stg-card { background: var(--stg-card); border: 0; }
  html:not([data-theme="light"]) #stg-modal .stg-row { border-bottom-color: var(--stg-line); }
  html:not([data-theme="light"]) #stg-modal .stg-bdg { border-bottom-color: var(--stg-line); }
  html:not([data-theme="light"]) #stg-modal .stg-info small { color: var(--stg-ink3); }
  html:not([data-theme="light"]) #stg-modal .stg-reset { border: 1px solid var(--stg-line); background: none; color: var(--stg-neg); }
  html:not([data-theme="light"]) #stg-modal .stg-reset:hover { background: var(--stg-hover); border-color: var(--stg-neg); color: var(--stg-neg); }
  html:not([data-theme="light"]) #stg-modal .stg-ph-title { color: var(--stg-ink); }
  html:not([data-theme="light"]) #stg-modal .stg-ph-desc { color: var(--stg-ink3); }
  html:not([data-theme="light"]) #stg-modal .stg-box { border: 0; }
  html:not([data-theme="light"]) #stg-modal .stg-tabs { border-bottom: 1px solid var(--stg-line); }
}
html:not([data-theme="light"]) .stg-box h3 { color: #9ba1ab; }
html:not([data-theme="light"]) .stg-card { background: #1c2536; border: 1px solid rgba(252, 255, 255, 0.06); }
html:not([data-theme="light"]) .stg-row { border-bottom: 1px solid rgba(252, 255, 255, 0.06); }
html:not([data-theme="light"]) .stg-row:last-child { border-bottom: none; }
html:not([data-theme="light"]) .stg-info small { color: #9197a1; }
html:not([data-theme="light"]) .stg-slider { background: #353d4c; }
html:not([data-theme="light"]) .stg-slider::before { background: #9aa1ad; }
html:not([data-theme="light"]) .stg-switch input:checked + .stg-slider { background: rgba(46,182,125,.4); }
html:not([data-theme="light"]) .stg-switch input:checked + .stg-slider::before { background: #2eb67d; }
html:not([data-theme="light"]) .stg-reset { border: 1.5px solid #353d4c; background: none; color: #9ba1ab; }
html:not([data-theme="light"]) .stg-reset:hover { border-color: #c01414; color: #ff8080; background: rgba(192,20,20,.08); }
html:not([data-theme="light"]) .stg-note { color: #71767f; }
html:not([data-theme="light"]) .stg-btn { border: 1.5px solid #3b4352; background: rgba(252, 255, 255, 0.04); color: #e7eaf0; }
html:not([data-theme="light"]) .stg-btn:hover { border-color: #c01414; background: rgba(192,20,20,.15); }
html:not([data-theme="light"]) .stg-input { background: #0e1626; border: 1.5px solid #353d4c; color: #e7eaf0; }
html:not([data-theme="light"]) .stg-input:focus { outline: none; border-color: #7d828c; }
html:not([data-theme="light"]) .stg-input::placeholder { color: #61666f; }
html:not([data-theme="light"]) .jint-1 { background: #51b3fc; color: #111; }
html:not([data-theme="light"]) .jint-2 { background: #81d25a; color: #111; }
html:not([data-theme="light"]) .jint-3 { background: #f0dc7b; color: #3d3000; }
html:not([data-theme="light"]) .jint-4 { background: #f57b43; color: #2d1200; }
html:not([data-theme="light"]) .jint-5 { background: #ad1121; color: #fff; }
html:not([data-theme="light"]) .jint-6 { background: #ad1121; color: #fff; }
html:not([data-theme="light"]) .jint-7 { background: #fecada; color: #a01c2f; }
html:not([data-theme="light"]) .jint-8 { background: #fecada; color: #a01c2f; }
html:not([data-theme="light"]) .jint-9 { background: #b50068; color: #fff; }
html:not([data-theme="light"]) .q-rows li.jrowint-2 { background: #81d25a; color: #17360a; border-color: #67b840; }
html:not([data-theme="light"]) .q-rows li.jrowint-3 { background: #f0dc7b; color: #3d3000; border-color: #d6c25e; }
html:not([data-theme="light"]) .q-rows li.jrowint-4 { background: #f57b43; color: #2d1200; border-color: #d96530; }
html:not([data-theme="light"]) .q-rows li.jrowint-5 { background: #ad1121; color: #fcffff; border-color: #8d0d1a; }
html:not([data-theme="light"]) .q-rows li.jrowint-6 { background: #ad1121; color: #fcffff; border-color: #8d0d1a; }
html:not([data-theme="light"]) .q-rows li.jrowint-7 { background: #fecada; color: #a01c2f; border-color: #e5aebe; }
html:not([data-theme="light"]) .q-rows li.jrowint-8 { background: #fecada; color: #a01c2f; border-color: #e5aebe; }
html:not([data-theme="light"]) .q-rows li.jrowint-9 { background: #b50068; color: #fcffff; border-color: #960056; }
html:not([data-theme="light"]) .q-sub-tags b.rep { background: #5e636d; }
html:not([data-theme="light"]) .q-sub-tags b.rep.rot { background: rgba(48, 56, 71, 0.95); color: #fcffff; border: 1.5px solid rgba(252, 255, 255, 0.8); }
html:not([data-theme="light"]) .q-title.forecast { background: #e0a800; }
html:not([data-theme="light"]) .q-title.forecast .q-title-txt { color: #201600; }
html:not([data-theme="light"]) #q-title[data-mode="tsu"][data-tsu="fcst"] { background: #0b4d5b; }
html:not([data-theme="light"]) .q-ab-type.forecast { background: #c69100; color: #201600; }
html:not([data-theme="light"]) .q-ab-type.quick { background: #f2a900; color: #241a00; }
html:not([data-theme="light"]) .bdg-dark { --bdg-bd: 1.5px solid rgba(0,0,0,.55); --bdg-sh: 0 1px 3px rgba(0,0,0,.4); }
html:not([data-theme="light"]) .bdg-classic { --bdg-bd: 2.5px solid rgba(255,255,255,.95); --bdg-sh: 0 2px 6px rgba(0,0,0,.55); }
html:not([data-theme="light"]) .bdg-flat { --bdg-sh: 0 1px 3px rgba(0,0,0,.5); }
html:not([data-theme="light"]) .bdg-thin { --bdg-bd: 1.5px solid rgba(255,255,255,.85); --bdg-sh: 0 1px 4px rgba(0,0,0,.45); }
html:not([data-theme="light"]) .bdg-circle { --bdg-bd: 2px solid rgba(255,255,255,.92); --bdg-sh: 0 1px 4px rgba(0,0,0,.5); }
html:not([data-theme="light"]) .bdg-fcirc { --bdg-sh: 0 0 0 1px rgba(0,0,0,.35), 0 1px 4px rgba(0,0,0,.5); }
html:not([data-theme="light"]) .jp-int-badge { border: var(--bdg-bd, 1.5px solid rgba(0,0,0,.55)); box-shadow: var(--bdg-sh, 0 1px 3px rgba(0,0,0,.4)); }
html:not([data-theme="light"]) .q-ab-type.cancel { background: #464e5e; }
html:not([data-theme="light"]) .q-ev .ev-cancel { background: #464e5e; color: #fcffff; }
html:not([data-theme="light"]) body.alertui .km-panel { background: rgba(15, 23, 39, 0.94); border: 1px solid #2e3645; color: #e7eaf0; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
html:not([data-theme="light"]) body.alertui .km-panel .km-title { color: #e7eaf0; background: #0d1525; border-bottom: 1px solid #050c1b; }
html:not([data-theme="light"]) body.alertui .km-panel .km-title small { color: #70767f; }
html:not([data-theme="light"]) body.alertui .km-panel .km-row { border-bottom: 1px solid rgba(0,0,0,.25); }
html:not([data-theme="light"]) body.alertui .km-panel .km-chip-s { background: rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.14); }
html:not([data-theme="light"]) body.alertui .km-panel .km-more { color: #8b93a3; }
html:not([data-theme="light"]) body.alertui .km-panel .km-foot { color: #70767f; border-top: 1px solid rgba(0, 0, 0, 0.25); }
html:not([data-theme="light"]) body.alertui .km-panel.km-v-c, html:not([data-theme="light"]) body.alertui .km-panel.km-v-d { --kp-bg: rgba(24,26,32,.95); --kp-head: #131418; --kp-edge: #33363e; --kp-line: rgba(255,255,255,.07); --kp-ink: #e8eaee; --kp-muted: #98a0ae; --kp-cell: #23262d; background: var(--kp-bg); border-color: var(--kp-edge); color: var(--kp-ink); }
html:not([data-theme="light"]) body.alertui .km-panel.km-v-c .km-title, html:not([data-theme="light"]) body.alertui .km-panel.km-v-d .km-title { background: var(--kp-head); color: var(--kp-ink); border-bottom: 0; }
html:not([data-theme="light"]) body.alertui .km-panel.km-v-c .km-title small, html:not([data-theme="light"]) body.alertui .km-panel.km-v-d .km-title small { color: var(--kp-muted); }
html:not([data-theme="light"]) body.alertui .km-panel.km-v-c .km-foot, html:not([data-theme="light"]) body.alertui .km-panel.km-v-d .km-foot { color: var(--kp-muted); border-top: 1px solid var(--kp-line); }
html:not([data-theme="light"]) body.alertui .km-panel .kp-row { border-top: 1px solid var(--kp-line); }
html:not([data-theme="light"]) body.alertui .km-panel .kp-name small, html:not([data-theme="light"]) body.alertui .km-panel .kp-topt small { color: var(--kp-muted); }
html:not([data-theme="light"]) body.alertui .km-panel .kp-tr { fill: currentColor; }
html:not([data-theme="light"]) body.alertui .km-panel .kp-tr.kp-dn { fill: var(--kp-muted); }
html:not([data-theme="light"]) body.alertui .km-panel .kp-dist { border-top: 1px solid var(--kp-line); }
html:not([data-theme="light"]) body.alertui .km-panel .kp-dist div { background: var(--kp-cell); color: var(--kp-muted); }
html:not([data-theme="light"]) body.alertui .lgd { --lb-ink: #e7eaf0; --lb-muted: #9197a1; --lb-hair: rgba(252, 255, 255, 0.26); --lb-soft: rgba(8, 16, 31, 0.66); background: var(--lb-soft); color: var(--lb-ink); }
html:not([data-theme="light"]) .lgd-h { color: var(--lb-muted); }
html:not([data-theme="light"]) .lgd-strip { box-shadow: 0 0 0 1px var(--lb-hair); }
html:not([data-theme="light"]) .lgd-strip i { box-shadow: inset 0 -1px 0 rgba(0,0,0,.3); }
html:not([data-theme="light"]) .lgd-strip i:last-child { box-shadow: none; }
html:not([data-theme="light"]) .q-rows li.tsu-head { border: none; }
html:not([data-theme="light"]) .q-rows li.int-head { border: none; }
html:not([data-theme="light"]) .q-rows li.int-gname { background: #1a2334; border: 1px solid #2a3240; border-bottom: none; }
html:not([data-theme="light"]) .q-rows li.int-gname:last-child, html:not([data-theme="light"]) .q-rows li.int-gname:has(+ .int-head), html:not([data-theme="light"]) .q-rows li.int-gname:has(+ .q-ev) { border-bottom: 1px solid #2a3240; }
html:not([data-theme="light"]) .q-rows li.int-sido { background: #121b2b; border: 1px solid #2a3240; border-bottom: none; }
html:not([data-theme="light"]) .ilv-line { background: #373f4e; }
html:not([data-theme="light"]) .q-rows li.tsu-row { background: #1a2334; border: 1px solid #2a3240; }
html:not([data-theme="light"]) .q-rows li.tsu-row em { color: #d3d6db; }
html:not([data-theme="light"]) .q-ab-note { background: #1b2435; color: #d7dae0; border-top: 1px solid rgba(252, 255, 255, 0.08); }
html:not([data-theme="light"]) body.alertui .q-sub-alert { background: #b01214; color: #fcffff; box-shadow: 0 2px 8px rgba(0,0,0,.45); }
html:not([data-theme="light"]) body.alertui .q-sub-alert.forecast { background: #c98a00; color: #241a00; }
html:not([data-theme="light"]) body.alertui .q-sub-alert .qsa-type { background: rgba(0, 0, 0, 0.25); }
html:not([data-theme="light"]) .q-ab-num { background: #303847; color: #fcffff; border-right: 1px solid rgba(252, 255, 255, 0.18); }
html:not([data-theme="light"]) body.alertui .q-substack .q-alertbox.in-stack.owner { outline: 2.5px solid rgba(252, 255, 255, 0.55); }
html:not([data-theme="light"]) body.alertui .q-tsubox { box-shadow: 0 5px 18px rgba(0,0,0,.5); }
html:not([data-theme="light"]) body.alertui .q-tsubox .qtb-head { background: #7c00b8; color: #fcffff; }
html:not([data-theme="light"]) body.alertui .q-tsubox.fcst .qtb-head { background: #0b4d5b; }
html:not([data-theme="light"]) .jp-int-badge.small { border-width: 1.5px; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
html:not([data-theme="light"]) .jp-pt-badge { border: 1.5px solid rgba(255,255,255,.88); box-shadow: 0 1px 3px rgba(0,0,0,.5); }
html:not([data-theme="light"]) .jp-pt-badge.kmb { border: 1px solid rgba(255,255,255,.92); box-shadow: 0 0 0 1px rgba(0,0,0,.5); }
html:not([data-theme="light"]) .jp-pt-badge.mini { border-width: 1px; }
html:not([data-theme="light"]) .jp-pt-badge.tsu { border-width: 1px; }
html:not([data-theme="light"]) .stg-bdg { border-bottom: 1px solid rgba(252, 255, 255, 0.06); }
html:not([data-theme="light"]) .stg-row.stg-row-lead { border-bottom: none; }
html:not([data-theme="light"]) .stg-bdg .bdg-opt { background: #121b2b; border: 1.5px solid #2e3745; }
html:not([data-theme="light"]) .stg-bdg .bdg-opt:hover { border-color: #5b6069; background: #172030; }
html:not([data-theme="light"]) .stg-bdg .bdg-opt.on { border-color: #c01414; background: rgba(192,20,20,.1); }
html:not([data-theme="light"]) .stg-bdg .bdg-name { color: #9ba1ab; }
html:not([data-theme="light"]) .stg-bdg .bdg-opt.on .bdg-name { color: #d6d9de; }
html:not([data-theme="light"]) .jpv-reg { border: 1px solid rgba(0, 0, 0, 0.35); }
html:not([data-theme="light"]) .jpv-reg.line { background: transparent !important; border: 1.2px solid #5d626b; }
html:not([data-theme="light"]) .jpv-dot { border: 1px solid rgba(0, 0, 0, 0.4); }
@media (max-width: 900px) {
  html:not([data-theme="light"]) body.alertui .q-side { border-left: none; border-top: 3px solid #050c1b; }
  html:not([data-theme="light"]) body.alertui .q-side::after { background: #121b2b; }
  html:not([data-theme="light"]) body.alertui .q-side .q-title { background: none; }
}
html:not([data-theme="light"]) .stg-btn.on { border-color: #c01414; background: rgba(192,20,20,.25); color: #fcffff; }
html:not([data-theme="light"]) .stg-note.caution { color: #e8a54b; background: rgba(232, 150, 60, .10); border: 1px solid rgba(232, 150, 60, .42); }
html:not([data-theme="light"]) #stg-modal :focus-visible { outline: 2px solid #f2a900; }
html:not([data-theme="light"]) .stg-eye { border: 1.5px solid #353d4c; background: none; color: #9ba1ab; }
html:not([data-theme="light"]) .stg-eye.on, html:not([data-theme="light"]) .stg-eye:hover { border-color: #7d828c; color: #fcffff; }
html:not([data-theme="light"]) .stg-keynote { color: #c9a24a; }
html:not([data-theme="light"]) .epi-st { color: #ffcf33; -webkit-text-stroke: 2px #101828; text-shadow: 0 0 6px rgba(0,0,0,.6); }
html:not([data-theme="light"]) .q-legend .lg-st { color: #ffcf33; -webkit-text-stroke: 1px #101828; }
html:not([data-theme="light"]) #qab-assumed.case-lab, html:not([data-theme="light"]) .q-ab-mag .case-lab { background: rgba(252, 255, 255, 0.14); }
html:not([data-theme="light"]) .q-side-btn svg { fill: none; stroke: currentColor; }
html:not([data-theme="light"]) body.alertui.side-off .side-mini { background: #121b2b; border: 2px solid #050c1b; box-shadow: 0 5px 18px rgba(0,0,0,.5); color: #fcffff; }
html:not([data-theme="light"]) .side-mini .sm-date { color: #e5e8ee; }
html:not([data-theme="light"]) .side-mini.sim .sm-date, html:not([data-theme="light"]) .side-mini.sim .sm-time { color: #ffcf6b; }
html:not([data-theme="light"]) .side-mini .sm-btns { border-left: 1px solid #2e3645; }
html:not([data-theme="light"]) .side-mini .q-gear { background: #2a3240; }
html:not([data-theme="light"]) .side-mini .q-gear:hover { background: #3c4453; }
html:not([data-theme="light"]) .lgint-1 { background: #0041ff; color: #fcffff; }
html:not([data-theme="light"]) .lgint-2 { background: #ffe600; color: #241a00; }
html:not([data-theme="light"]) .lgint-3 { background: #ff2800; color: #fcffff; }
html:not([data-theme="light"]) .lgint-4 { background: #a50021; color: #fcffff; }
html:not([data-theme="light"]) .q-ev-lg { box-shadow: 0 0 0 1.5px rgba(252, 255, 255, 0.75); }

html:not([data-theme="light"]) body.alertui .km-panel.km-v-c, html:not([data-theme="light"]) body.alertui .km-panel.km-v-d { --kp-bg: rgba(15, 23, 39, 0.95); --kp-head: #091121; --kp-edge: #2e3645; --kp-ink: #e7eaf0; --kp-muted: #9aa0aa; --kp-cell: #1a2334; }

html:not([data-theme="light"]) #map, html:not([data-theme="light"]) .leaflet-container { background: #1d2432; }
html:not([data-theme="light"]) .leaflet-tile-pane::after { content: ''; position: absolute; left: -30000px; top: -30000px; width: 60000px; height: 60000px; z-index: 5; pointer-events: none; background: rgba(18, 98, 255, .05); }
html.gfx-hw:not([data-theme="light"]) .leaflet-tile-pane { filter: sepia(1) hue-rotate(178deg) saturate(1.25) brightness(.93); }
html.gfx-hw:not([data-theme="light"]) .leaflet-tile-pane::after { content: none; }

html:not([data-theme="light"]) .q-rows li.int-head,
html:not([data-theme="light"]) .q-rows li.tsu-head {
  background-image: linear-gradient(rgba(14, 15, 18, .66), rgba(14, 15, 18, .66)) !important;
  color: #f1f3f6 !important; position: relative; padding-left: 37px; }
html:not([data-theme="light"]) .q-rows li.int-head::before,
html:not([data-theme="light"]) .q-rows li.tsu-head::before {
  content: ''; position: absolute; left: 12px; top: 50%; width: 15px; height: 15px; margin-top: -8px; border-radius: 3px;
  background-color: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }

html:not([data-theme="light"]) .q-block { background-image: linear-gradient(rgba(14, 15, 18, .66), rgba(14, 15, 18, .66)) !important; }
html:not([data-theme="light"]) .q-block-int { background-color: inherit; padding: 10px 14px; }
html:not([data-theme="light"]) .q-block-loc { color: #f4f5f7; }
html:not([data-theme="light"]) .q-block-loc span { opacity: 1; color: #c5cad4; }

html:not([data-theme="light"]) .q-rows li[class*="rowint-"] {
  background-image: linear-gradient(rgba(16, 17, 20, .79), rgba(16, 17, 20, .79)); border-color: #33363e; }
html:not([data-theme="light"]) .q-rows li[class*="rowint-"] .q-ev-l,
html:not([data-theme="light"]) .q-rows li[class*="rowint-"] .q-ev-mag { color: #eceef2; }
html:not([data-theme="light"]) .q-rows li[class*="rowint-"] .q-ev-int { background-color: inherit; border-radius: 6px; padding: 4px 0; }

html:not([data-theme="light"]) .q-warnstrip { background: #3b2412; color: #ffb27a; border-top: 1px solid #5c3618; border-bottom: 1px solid #5c3618; }
