
html[data-theme="light"] { --bg: #fafcff; --panel: rgba(243, 246, 254, 0.92); --panel-line: #e4eaf4; --text: #1d1f22; --muted: #535861; --accent: #5b9dff; --good: #2eb67d; --warn: #f2a900; --crit: #e01e5a; --p-wave: #37c8ff; --s-wave: #ff4b3a; }
html[data-theme="light"] body { background: var(--bg); color: var(--text); }
html[data-theme="light"] #map { background: #fafcff; }
html[data-theme="light"] .leaflet-container { background: #f4f8ff; }
html[data-theme="light"] .brand { background: var(--panel); border: 1px solid var(--panel-line); }
html[data-theme="light"] .brand .logo { color: var(--crit); text-shadow: 0 0 10px rgba(224, 30, 90, .6); }
html[data-theme="light"] .brand .sub { color: var(--muted); }
html[data-theme="light"] .pill { background: var(--panel); border: 1px solid var(--panel-line); color: var(--muted); }
html[data-theme="light"] .dot { background: var(--muted); }
html[data-theme="light"] .dot.up { background: var(--good); box-shadow: 0 0 6px rgba(46,182,125,.8); }
html[data-theme="light"] .dot.down { background: var(--crit); }
html[data-theme="light"] .test-banner { background: rgba(242, 169, 0, .95); color: #241a00; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14); }
html[data-theme="light"] .event-panel { background: var(--panel); border: 1px solid var(--panel-line); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.175); }
html[data-theme="light"] .event-panel.alert { border-color: rgba(224,30,90,.6); box-shadow: 0 0 24px rgba(224,30,90,.25); }
html[data-theme="light"] .ep-type { background: rgba(91,157,255,.16); color: #416bac; }
html[data-theme="light"] .ep-type.warn { background: rgba(242,169,0,.16); color: #8e6200; }
html[data-theme="light"] .ep-type.crit { background: rgba(224,30,90,.18); color: #c23261; }
html[data-theme="light"] .ep-live { color: #c23261; }
html[data-theme="light"] .blink { background: var(--crit); }
html[data-theme="light"] .ep-close { background: none; border: none; color: var(--muted); }
html[data-theme="light"] .ep-close:hover { color: var(--text); }
html[data-theme="light"] .m-label { color: var(--muted); }
html[data-theme="light"] .int-chip { background: #dde3ef; color: var(--text); }
html[data-theme="light"] .ep-rows .row { border-top: 1px solid var(--panel-line); }
html[data-theme="light"] .ep-rows .row span { color: var(--muted); }
html[data-theme="light"] .ep-note { color: var(--muted); background: rgba(19, 19, 19, 0.04); }
html[data-theme="light"] .int-1 { background: #ffffff; color: #111; }
html[data-theme="light"] .int-2 { background: #a0e6ff; color: #0d3b53; }
html[data-theme="light"] .int-3 { background: #92d050; color: #1e3a06; }
html[data-theme="light"] .int-4 { background: #ffff00; color: #4d3d00; }
html[data-theme="light"] .int-5 { background: #ffc000; color: #4a2b00; }
html[data-theme="light"] .int-6 { background: #ff0000; color: #fff; }
html[data-theme="light"] .int-7 { background: #a32777; color: #fff; }
html[data-theme="light"] .int-8 { background: #632523; color: #fff; }
html[data-theme="light"] .int-9 { background: #4c2600; color: #fff; }
html[data-theme="light"] .int-10 { background: #000; color: #fff; }
html[data-theme="light"] .int-11 { background: #000; color: #ff0; }
html[data-theme="light"] .int-12 { background: #000; color: #f00; }
html[data-theme="light"] .recent { background: var(--panel); border: 1px solid var(--panel-line); }
html[data-theme="light"] .recent-head { border-bottom: 1px solid var(--panel-line); }
html[data-theme="light"] .recent-head h2 { color: var(--muted); }
html[data-theme="light"] #recent-toggle { background: none; border: none; color: var(--muted); }
html[data-theme="light"] #recent-list { scrollbar-color: #dde3ef transparent; }
html[data-theme="light"] #recent-list::-webkit-scrollbar-thumb { background: #dde3ef; }
html[data-theme="light"] #recent-list::-webkit-scrollbar-thumb:hover { background: #c4cdda; }
html[data-theme="light"] #recent-list::-webkit-scrollbar-track { background: transparent; }
html[data-theme="light"] #recent-list li { border-bottom: 1px solid rgba(228, 234, 244, 0.6); }
html[data-theme="light"] #recent-list li:hover { background: rgba(91,157,255,.08); }
html[data-theme="light"] #recent-list li.active { background: rgba(91,157,255,.14); }
html[data-theme="light"] #recent-list .rtag { background: rgba(91,157,255,.16); color: #416bac; }
html[data-theme="light"] #recent-list .rtag.warn { background: rgba(242,169,0,.16); color: #8e6200; }
html[data-theme="light"] #recent-list .rtag.crit { background: rgba(224,30,90,.18); color: #c23261; }
html[data-theme="light"] #recent-list .rtag.test { background: rgba(83, 88, 97, 0.2); color: var(--muted); }
html[data-theme="light"] #recent-list .rloc { color: var(--muted); }
html[data-theme="light"] #recent-list .rtime { color: var(--muted); }
html[data-theme="light"] #recent-list .empty { color: var(--muted); }
html[data-theme="light"] .epi-x { color: var(--crit); text-shadow: 0 0 8px rgba(224,30,90,.9), 0 0 2px #000; }
html[data-theme="light"] .epi-x.old { color: #b7c3d6; text-shadow: 0 0 3px #000; }
html[data-theme="light"] .epi-num { background: rgba(52,56,64,.92); color: #fff; border: 1.5px solid rgba(255,255,255,.8); }
html[data-theme="light"] .legend { background: var(--panel); border: 1px solid var(--panel-line); color: var(--muted); }
html[data-theme="light"] .lg-x { color: var(--crit); }
html[data-theme="light"] .lg-p { border: 2px solid var(--p-wave); }
html[data-theme="light"] .lg-s { border: 2px solid var(--s-wave); background: rgba(255,75,58,.25); }
html[data-theme="light"] .sim-stop { background: #f4e5ed; color: #aa4e5e; border: 1px solid #b8374b; }
html[data-theme="light"] .sim-stop:hover { background: #4c2b3c; color: #905d65; }
html[data-theme="light"] .pill.sim { border-color: rgba(242,169,0,.5); color: #8e6200; }
html[data-theme="light"] .big-clock.sim .bc-date, html[data-theme="light"] .big-clock.sim .bc-time { color: #8e6200; }
html[data-theme="light"] body.alertui .big-clock.sim .bc-date, html[data-theme="light"] body.alertui .big-clock.sim .bc-time { color: #8e6200; }
html[data-theme="light"] .settings-btn { border: 1px solid var(--panel-line); }
html[data-theme="light"] .settings-btn:hover { color: var(--text); }
html[data-theme="light"] .modal-back { background: rgba(255, 255, 255, 0.55); }
html[data-theme="light"] .settings-box { background: var(--panel); border: 1px solid var(--panel-line); }
html[data-theme="light"] .settings-box .opt { border: 1px solid var(--panel-line); }
html[data-theme="light"] .settings-box .opt:hover { border-color: var(--accent); }
html[data-theme="light"] .settings-box .opt small { color: var(--muted); }
html[data-theme="light"] .settings-close { border: none; background: var(--accent); color: #04101f; }
html[data-theme="light"] body.alertui { --panel: rgba(242, 243, 247, 0.96); --panel-line: #f7f8fb; }
html[data-theme="light"] body.alertui::before { background: #fafcff; }
html[data-theme="light"] body.alertui .leaflet-container { background: #aeb9c4; }
html[data-theme="light"] body.alertui .event-panel { background: #efe5e0; border: 2px solid #fcf4f0; color: #131313; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.158); }
html[data-theme="light"] body.alertui .event-panel.alert { border-color: #8d1010; box-shadow: 0 0 26px rgba(200,20,20,.35); }
html[data-theme="light"] body.alertui .ep-head { background: #b31414; color: #fff; }
html[data-theme="light"] body.alertui .ep-type { background: transparent; color: #131313; }
html[data-theme="light"] body.alertui .ep-live { color: #2d2121; }
html[data-theme="light"] body.alertui .ep-close { color: #131313; }
html[data-theme="light"] body.alertui .m-label { color: #3e3732; }
html[data-theme="light"] body.alertui .ep-rows .row { border-color: rgba(19, 19, 19, 0.14); }
html[data-theme="light"] body.alertui .ep-rows .row span { color: #3e3732; }
html[data-theme="light"] body.alertui .ep-note { background: rgba(255, 255, 255, 0.28); color: #2b2724; }
html[data-theme="light"] body.alertui .recent { background: #f2f3f7; border: 2px solid #f9fafd; }
html[data-theme="light"] body.alertui .recent-head { background: #b31414; color: #fff; }
html[data-theme="light"] body.alertui .recent-head h2 { color: #131313; }
html[data-theme="light"] body.alertui #recent-toggle { color: #131313; }
html[data-theme="light"] body.alertui #recent-list li { border-color: #e7e9ed; }
html[data-theme="light"] body.alertui .big-clock { border-top: 2px solid #f9fafd; background: #f5f6fa; }
html[data-theme="light"] .big-clock .bc-date { color: var(--muted); }
html[data-theme="light"] .rint { background: #dde3ef; }
html[data-theme="light"] body.alertui .legend { background: rgba(242, 243, 247, 0.96); border: 2px solid #f9fafd; }
html[data-theme="light"] body.alertui .lg-p { border-color: #1e50dc; }
html[data-theme="light"] body.alertui .lg-s { border-color: #dc1e28; background: rgba(220,30,40,.2); }
html[data-theme="light"] body.alertui .epi-x { color: #dc1e28; text-shadow: none; -webkit-text-stroke: 2.5px #fff; }
html[data-theme="light"] body.alertui .epi-x.old { color: #6b7684; -webkit-text-stroke: 2px #fff; }
html[data-theme="light"] body.alertui .topbar .brand, html[data-theme="light"] body.alertui .pill { border-width: 2px; }
html[data-theme="light"] body.alertui .leaflet-container { background: #93a2b5; }
html[data-theme="light"] body.alertui .q-alertbox { box-shadow: 0 5px 18px rgba(0, 0, 0, 0.175); color: #131313; background: #f5efea; }
html[data-theme="light"] .q-ab-type { background: #8d1410; color: #fff; }
html[data-theme="light"] .q-ab-lvl { background: #e01010; color: #fff; }
html[data-theme="light"] .q-ab-time { background: #e5d9d2; }
html[data-theme="light"] .q-ab-tag { background: #ada79f; }
html[data-theme="light"] .q-ab-close { background: #e5d9d2; border: none; color: #3a3531; }
html[data-theme="light"] .q-ab-close:hover { color: #131313; }
html[data-theme="light"] .q-ab-body { background: #efe4dd; }
html[data-theme="light"] .q-ab-int { background: #5c1230; color: #fff; }
html[data-theme="light"] body.alertui .q-side { background: #ebecef; border-left: 3px solid #fbfcfe; color: #131313; }
html[data-theme="light"] .q-title { background: #c01414; color: #fff; }
html[data-theme="light"] .q-gear { background: rgba(19, 19, 19, 0.16); border: none; color: #131313; }
html[data-theme="light"] .q-gear:hover { background: rgba(19, 19, 19, 0.3); }
html[data-theme="light"] .q-sub { background: #f2f3f6; color: #303134; }
html[data-theme="light"] .q-sub-tags b { background: #8d1410; color: #fff; }
html[data-theme="light"] .q-sub-tags b.lvl { background: #e01010; color: #fff; }
html[data-theme="light"] .q-sub-tags b.tst { background: #ada79f; }
html[data-theme="light"] .q-block { background: #d01010; color: #fff; }
html[data-theme="light"] .q-warnstrip { background: #e05a10; color: #fff; }
html[data-theme="light"] .q-sec { background: #f6f7f9; border-top: 2px solid #fbfcfe; }
html[data-theme="light"] .q-mtabs { background: #f1f2f5; border-bottom: 1px solid #dddfe3; }
html[data-theme="light"] .q-mtab { background: none; border: none; color: #4f5156; border-bottom: 2px solid transparent; }
html[data-theme="light"] .q-mtab.active { color: #131313; border-bottom-color: #c01414; }
html[data-theme="light"] .q-rows { scrollbar-color: #d8dade transparent; }
html[data-theme="light"] .q-rows::-webkit-scrollbar-thumb { background: #d8dade; }
html[data-theme="light"] .q-rows li { border-bottom: 1px solid #dfe0e5; background: #e6e7eb; }
html[data-theme="light"] .q-est-tag { color: #4a4f55; border: 1px solid #bac1cd; }
html[data-theme="light"] .q-rows li.rowint-2 { background: #a0e6ff; color: #0d3b53; border-color: #86cbe6; }
html[data-theme="light"] .q-rows li.rowint-3 { background: #92d050; color: #1e3a06; border-color: #7cb83f; }
html[data-theme="light"] .q-rows li.rowint-4 { background: #ffff00; color: #4d3d00; border-color: #e0e000; }
html[data-theme="light"] .q-rows li.rowint-5 { background: #ffc000; color: #4a2b00; border-color: #e0a800; }
html[data-theme="light"] .q-rows li.rowint-6 { background: #ff0000; color: #fff; border-color: #d40000; }
html[data-theme="light"] .q-rows li.rowint-7 { background: #a32777; color: #fff; border-color: #8a1f63; }
html[data-theme="light"] .q-rows li.rowint-8 { background: #632523; color: #fff; border-color: #501c1a; }
html[data-theme="light"] .q-rows li.rowint-9 { background: #4c2600; color: #fff; border-color: #3a1d00; }
html[data-theme="light"] .q-rows li.rowint-10, html[data-theme="light"] .q-rows li.rowint-11, html[data-theme="light"] .q-rows li.rowint-12 { background: #ffffff; color: #131313; border-color: #e3e3e3; }
html[data-theme="light"] body.alertui .big-clock { border-top: 2px solid #fbfcfe; background: #f2f3f6; }
html[data-theme="light"] body.alertui .big-clock .bc-date { color: #212123; }
html[data-theme="light"] .q-footer { background: #f6f7f9; color: #5c5f64; border-top: 1px solid #fbfcfe; }
html[data-theme="light"] body.alertui .q-legend { background: rgba(235, 236, 239, 0.97); border: 2px solid #fbfcfe; color: #131313; }
html[data-theme="light"] .q-lg-div { background: #d8dade; }
html[data-theme="light"] body.alertui .q-legend .lg-s { border: 2.5px solid #dc1e28; background: transparent; }
html[data-theme="light"] body.alertui .q-legend .lg-p { border: 2.5px solid #1e50dc; }
html[data-theme="light"] body.alertui .q-legend .lg-x { color: #dc1e28; -webkit-text-stroke: 1.5px #fff; }
html[data-theme="light"] .q-title.calm { background: #e3e5e8; }
html[data-theme="light"] .q-rows li.q-subhead { background: #f6f7f9; color: #131313; border-top: 2px solid #fbfcfe; }
html[data-theme="light"] body.map-dark .leaflet-container { background: #f4f8ff; }
html[data-theme="light"] a.q-gear { text-decoration: none; }
html[data-theme="light"] #stg-modal .stg-box { border: 1px solid var(--stg-line); }
html[data-theme="light"] #stg-modal .stg-close { border: none; }
html[data-theme="light"] #stg-modal .stg-tab { border: none; }
html[data-theme="light"] #stg-modal { --stg-surface: #eff1f4; --stg-nav: #f3f5f7; --stg-card: #e9ebef; --stg-line: rgba(19, 19, 19, 0.085); --stg-ink: #1d1d1f; --stg-ink2: #404246; --stg-ink3: #55585e; --stg-red: #c01414; --stg-pill: rgba(19, 19, 19, 0.1); --stg-hover: rgba(19, 19, 19, 0.055); --stg-neg: #ff8f8f; --stg-shadow: rgba(255, 255, 255, 0.55); --stg-thumb: #d8dade; }
html[data-theme="light"] #stg-modal .stg-box { background: var(--stg-surface); color: var(--stg-ink); scrollbar-color: var(--stg-thumb) transparent; }
html[data-theme="light"] #stg-modal .stg-tabs { background: none; }
html[data-theme="light"] #stg-modal .stg-tab { color: var(--stg-ink2); background: none; }
html[data-theme="light"] #stg-modal .stg-tab::before { background: currentColor; }
html[data-theme="light"] #stg-modal .stg-tab:hover { background: var(--stg-hover); color: var(--stg-ink); }
html[data-theme="light"] #stg-modal .stg-pane:not([hidden]) { scrollbar-color: var(--stg-thumb) transparent; }
html[data-theme="light"] #stg-modal .stg-pane::-webkit-scrollbar-thumb { background: var(--stg-thumb); }
html[data-theme="light"] #stg-modal .stg-box > .stg-note { color: var(--stg-ink3); }
html[data-theme="light"] #stg-modal .stg-box > .stg-note a { color: var(--stg-ink2) !important; }
@media (min-width: 741px) {
  html[data-theme="light"] #stg-modal .stg-box::before { background: var(--stg-nav); border-right: 1px solid var(--stg-line); }
}
@media (min-width: 741px) {
  html[data-theme="light"] #stg-modal .stg-box { border-color: var(--stg-line); box-shadow: 0 18px 50px var(--stg-shadow); }
  html[data-theme="light"] #stg-modal .stg-head { background: none; }
  html[data-theme="light"] #stg-modal .stg-head h2 { color: var(--stg-ink); }
  html[data-theme="light"] #stg-modal .stg-close { background: var(--stg-hover); color: transparent; }
  html[data-theme="light"] #stg-modal .stg-close::before { background: var(--stg-ink2); }
  html[data-theme="light"] #stg-modal .stg-close:hover { background: var(--stg-pill); }
  html[data-theme="light"] #stg-modal .stg-tab.active { color: var(--stg-ink); background: var(--stg-pill); }
  html[data-theme="light"] #stg-modal .stg-reset { border: 0; background: none; color: var(--stg-neg); }
  html[data-theme="light"] #stg-modal .stg-reset:hover { background: var(--stg-hover); color: var(--stg-neg); border: 0; text-decoration: underline; }
  html[data-theme="light"] #stg-modal .stg-card { background: none; border: 0; border-top: 1px solid var(--stg-line); }
  html[data-theme="light"] #stg-modal .stg-row { border-bottom-color: var(--stg-line); }
  html[data-theme="light"] #stg-modal .stg-bdg { border-bottom-color: var(--stg-line); }
  html[data-theme="light"] #stg-modal .stg-info small { color: var(--stg-ink3); }
  html[data-theme="light"] #stg-modal .stg-ph-title { color: var(--stg-ink); }
  html[data-theme="light"] #stg-modal .stg-ph-desc { color: var(--stg-ink3); }
  html[data-theme="light"] #stg-modal .stg-head h2::before { color: var(--stg-ink3); }
}
@media (max-width: 740px) {
  html[data-theme="light"] #stg-modal .stg-head { background: var(--stg-nav); border-bottom: 1px solid var(--stg-line); }
  html[data-theme="light"] #stg-modal .stg-head h2 { color: var(--stg-ink); }
  html[data-theme="light"] #stg-modal .stg-close { background: var(--stg-hover); color: transparent; }
  html[data-theme="light"] #stg-modal .stg-close::before { background: var(--stg-ink2); }
  html[data-theme="light"] #stg-modal .stg-close:hover { background: var(--stg-pill); }
  html[data-theme="light"] #stg-modal .stg-tab.active { color: var(--stg-ink); background: var(--stg-pill); }
  html[data-theme="light"] #stg-modal .stg-card { background: var(--stg-card); border: 0; }
  html[data-theme="light"] #stg-modal .stg-row { border-bottom-color: var(--stg-line); }
  html[data-theme="light"] #stg-modal .stg-bdg { border-bottom-color: var(--stg-line); }
  html[data-theme="light"] #stg-modal .stg-info small { color: var(--stg-ink3); }
  html[data-theme="light"] #stg-modal .stg-reset { border: 1px solid var(--stg-line); background: none; color: var(--stg-neg); }
  html[data-theme="light"] #stg-modal .stg-reset:hover { background: var(--stg-hover); border-color: var(--stg-neg); color: var(--stg-neg); }
  html[data-theme="light"] #stg-modal .stg-ph-title { color: var(--stg-ink); }
  html[data-theme="light"] #stg-modal .stg-ph-desc { color: var(--stg-ink3); }
  html[data-theme="light"] #stg-modal .stg-box { border: 0; }
  html[data-theme="light"] #stg-modal .stg-tabs { border-bottom: 1px solid var(--stg-line); }
}
html[data-theme="light"] .stg-box h3 { color: #4f5156; }
html[data-theme="light"] .stg-card { background: #ebecf0; border: 1px solid rgba(19, 19, 19, 0.06); }
html[data-theme="light"] .stg-row { border-bottom: 1px solid rgba(19, 19, 19, 0.06); }
html[data-theme="light"] .stg-row:last-child { border-bottom: none; }
html[data-theme="light"] .stg-info small { color: #55585e; }
html[data-theme="light"] .stg-slider { background: #d8dade; }
html[data-theme="light"] .stg-slider::before { background: #9aa1ad; }
html[data-theme="light"] .stg-switch input:checked + .stg-slider { background: rgba(46,182,125,.4); }
html[data-theme="light"] .stg-switch input:checked + .stg-slider::before { background: #2eb67d; }
html[data-theme="light"] .stg-reset { border: 1.5px solid #d8dade; background: none; color: #4f5156; }
html[data-theme="light"] .stg-reset:hover { border-color: #c01414; color: #b94146; background: rgba(192,20,20,.08); }
html[data-theme="light"] .stg-note { color: #85888e; }
html[data-theme="light"] .stg-btn { border: 1.5px solid #d2d4d9; background: rgba(19, 19, 19, 0.04); color: #1f2021; }
html[data-theme="light"] .stg-btn:hover { border-color: #c01414; background: rgba(192,20,20,.15); }
html[data-theme="light"] .stg-input { background: #f5f6fa; border: 1.5px solid #d8dade; color: #1f2021; }
html[data-theme="light"] .stg-input:focus { outline: none; border-color: #6a6d73; }
html[data-theme="light"] .stg-input::placeholder { color: #a0a4aa; }
html[data-theme="light"] .jint-1 { background: #51b3fc; color: #111; }
html[data-theme="light"] .jint-2 { background: #81d25a; color: #111; }
html[data-theme="light"] .jint-3 { background: #f0dc7b; color: #3d3000; }
html[data-theme="light"] .jint-4 { background: #f57b43; color: #2d1200; }
html[data-theme="light"] .jint-5 { background: #ad1121; color: #fff; }
html[data-theme="light"] .jint-6 { background: #ad1121; color: #fff; }
html[data-theme="light"] .jint-7 { background: #fecada; color: #a01c2f; }
html[data-theme="light"] .jint-8 { background: #fecada; color: #a01c2f; }
html[data-theme="light"] .jint-9 { background: #b50068; color: #fff; }
html[data-theme="light"] .q-rows li.jrowint-2 { background: #81d25a; color: #17360a; border-color: #67b840; }
html[data-theme="light"] .q-rows li.jrowint-3 { background: #f0dc7b; color: #3d3000; border-color: #d6c25e; }
html[data-theme="light"] .q-rows li.jrowint-4 { background: #f57b43; color: #2d1200; border-color: #d96530; }
html[data-theme="light"] .q-rows li.jrowint-5 { background: #ad1121; color: #fff; border-color: #8d0d1a; }
html[data-theme="light"] .q-rows li.jrowint-6 { background: #ad1121; color: #fff; border-color: #8d0d1a; }
html[data-theme="light"] .q-rows li.jrowint-7 { background: #fecada; color: #a01c2f; border-color: #e5aebe; }
html[data-theme="light"] .q-rows li.jrowint-8 { background: #fecada; color: #a01c2f; border-color: #e5aebe; }
html[data-theme="light"] .q-rows li.jrowint-9 { background: #b50068; color: #fff; border-color: #960056; }
html[data-theme="light"] .q-sub-tags b.rep { background: #ada79f; }
html[data-theme="light"] .q-sub-tags b.rep.rot { background: rgba(220, 223, 227, 0.95); color: #131313; border: 1.5px solid rgba(19, 19, 19, 0.8); }
html[data-theme="light"] .q-title.forecast { background: #e0a800; }
html[data-theme="light"] .q-title.forecast .q-title-txt { color: #201600; }
html[data-theme="light"] #q-title[data-mode="tsu"][data-tsu="fcst"] { background: #0b4d5b; }
html[data-theme="light"] .q-ab-type.forecast { background: #c69100; color: #201600; }
html[data-theme="light"] .q-ab-type.quick { background: #f2a900; color: #241a00; }
html[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[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[data-theme="light"] .bdg-flat { --bdg-sh: 0 1px 3px rgba(0,0,0,.5); }
html[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[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[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[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[data-theme="light"] .q-ab-type.cancel { background: #c4c6cb; }
html[data-theme="light"] .q-ev .ev-cancel { background: #c4c6cb; color: #131313; }
html[data-theme="light"] body.alertui .km-panel { background: rgba(244, 246, 250, 0.94); border: 1px solid #dfe0e5; color: #1f2021; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14); }
html[data-theme="light"] body.alertui .km-panel .km-title { color: #1f2021; background: #f6f7f9; border-bottom: 1px solid #fbfcfe; }
html[data-theme="light"] body.alertui .km-panel .km-title small { color: #858990; }
html[data-theme="light"] body.alertui .km-panel .km-row { border-bottom: 1px solid rgba(0,0,0,.25); }
html[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[data-theme="light"] body.alertui .km-panel .km-more { color: #8b93a3; }
html[data-theme="light"] body.alertui .km-panel .km-foot { color: #858990; border-top: 1px solid rgba(255, 255, 255, 0.25); }
html[data-theme="light"] body.alertui .km-panel.km-v-c, html[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[data-theme="light"] body.alertui .km-panel.km-v-c .km-title, html[data-theme="light"] body.alertui .km-panel.km-v-d .km-title { background: var(--kp-head); color: var(--kp-ink); border-bottom: 0; }
html[data-theme="light"] body.alertui .km-panel.km-v-c .km-title small, html[data-theme="light"] body.alertui .km-panel.km-v-d .km-title small { color: var(--kp-muted); }
html[data-theme="light"] body.alertui .km-panel.km-v-c .km-foot, html[data-theme="light"] body.alertui .km-panel.km-v-d .km-foot { color: var(--kp-muted); border-top: 1px solid var(--kp-line); }
html[data-theme="light"] body.alertui .km-panel .kp-row { border-top: 1px solid var(--kp-line); }
html[data-theme="light"] body.alertui .km-panel .kp-name small, html[data-theme="light"] body.alertui .km-panel .kp-topt small { color: var(--kp-muted); }
html[data-theme="light"] body.alertui .km-panel .kp-tr { fill: currentColor; }
html[data-theme="light"] body.alertui .km-panel .kp-tr.kp-dn { fill: var(--kp-muted); }
html[data-theme="light"] body.alertui .km-panel .kp-dist { border-top: 1px solid var(--kp-line); }
html[data-theme="light"] body.alertui .km-panel .kp-dist div { background: var(--kp-cell); color: var(--kp-muted); }
html[data-theme="light"] body.alertui .lgd { --lb-ink: #1f2021; --lb-muted: #55585e; --lb-hair: rgba(19, 19, 19, 0.26); --lb-soft: rgba(248, 250, 253, 0.66); background: var(--lb-soft); color: var(--lb-ink); }
html[data-theme="light"] .lgd-h { color: var(--lb-muted); }
html[data-theme="light"] .lgd-strip { box-shadow: 0 0 0 1px var(--lb-hair); }
html[data-theme="light"] .lgd-strip i { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.105); }
html[data-theme="light"] .lgd-strip i:last-child { box-shadow: none; }
html[data-theme="light"] .q-rows li.tsu-head { border: none; }
html[data-theme="light"] .q-rows li.int-head { border: none; }
html[data-theme="light"] .q-rows li.int-gname { background: #eceef2; border: 1px solid #e2e5e9; border-bottom: none; }
html[data-theme="light"] .q-rows li.int-gname:last-child, html[data-theme="light"] .q-rows li.int-gname:has(+ .int-head), html[data-theme="light"] .q-rows li.int-gname:has(+ .q-ev) { border-bottom: 1px solid #e2e5e9; }
html[data-theme="light"] .q-rows li.int-sido { background: #f1f3f7; border: 1px solid #e2e5e9; border-bottom: none; }
html[data-theme="light"] .ilv-line { background: #d5d8de; }
html[data-theme="light"] .q-rows li.tsu-row { background: #eceef2; border: 1px solid #e2e5e9; }
html[data-theme="light"] .q-rows li.tsu-row em { color: #2d2f33; }
html[data-theme="light"] .q-ab-note { background: #f0ece9; color: #302b20; border-top: 1px solid rgba(19, 19, 19, 0.08); }
html[data-theme="light"] body.alertui .q-sub-alert { background: #b01214; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.158); }
html[data-theme="light"] body.alertui .q-sub-alert.forecast { background: #c98a00; color: #241a00; }
html[data-theme="light"] body.alertui .q-sub-alert .qsa-type { background: rgba(255, 255, 255, 0.25); }
html[data-theme="light"] .q-ab-num { background: #dcdfe3; color: #131313; border-right: 1px solid rgba(19, 19, 19, 0.18); }
html[data-theme="light"] body.alertui .q-substack .q-alertbox.in-stack.owner { outline: 2.5px solid rgba(19, 19, 19, 0.55); }
html[data-theme="light"] body.alertui .q-tsubox { box-shadow: 0 5px 18px rgba(0, 0, 0, 0.175); }
html[data-theme="light"] body.alertui .q-tsubox .qtb-head { background: #7c00b8; color: #fff; }
html[data-theme="light"] body.alertui .q-tsubox.fcst .qtb-head { background: #0b4d5b; }
html[data-theme="light"] .jp-int-badge.small { border-width: 1.5px; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
html[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[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[data-theme="light"] .jp-pt-badge.mini { border-width: 1px; }
html[data-theme="light"] .jp-pt-badge.tsu { border-width: 1px; }
html[data-theme="light"] .stg-bdg { border-bottom: 1px solid rgba(19, 19, 19, 0.06); }
html[data-theme="light"] .stg-row.stg-row-lead { border-bottom: none; }
html[data-theme="light"] .stg-bdg .bdg-opt { background: #f2f3f6; border: 1.5px solid #dee0e5; }
html[data-theme="light"] .stg-bdg .bdg-opt:hover { border-color: #aaadb3; background: #eef0f4; }
html[data-theme="light"] .stg-bdg .bdg-opt.on { border-color: #c01414; background: rgba(192,20,20,.1); }
html[data-theme="light"] .stg-bdg .bdg-name { color: #4f5156; }
html[data-theme="light"] .stg-bdg .bdg-opt.on .bdg-name { color: #342a2a; }
html[data-theme="light"] .jpv-reg { border: 1px solid rgba(255, 255, 255, 0.35); }
html[data-theme="light"] .jpv-reg.line { background: transparent !important; border: 1.2px solid #a6aab2; }
html[data-theme="light"] .jpv-dot { border: 1px solid rgba(255, 255, 255, 0.4); }
@media (max-width: 900px) {
  html[data-theme="light"] body.alertui .q-side { border-left: none; border-top: 3px solid #fbfcfe; }
  html[data-theme="light"] body.alertui .q-side::after { background: #f2f3f6; }
  html[data-theme="light"] body.alertui .q-side .q-title { background: none; }
}
html[data-theme="light"] .stg-btn.on { border-color: #c01414; background: rgba(192,20,20,.25); color: #131313; }
html[data-theme="light"] .stg-note.caution { color: #9a5c00; background: rgba(232, 150, 60, .10); border: 1px solid rgba(232, 150, 60, .42); }
html[data-theme="light"] #stg-modal :focus-visible { outline: 2px solid #f2a900; }
html[data-theme="light"] .stg-eye { border: 1.5px solid #d8dade; background: none; color: #4f5156; }
html[data-theme="light"] .stg-eye.on, html[data-theme="light"] .stg-eye:hover { border-color: #6a6d73; color: #131313; }
html[data-theme="light"] .stg-keynote { color: #8a6500; }
html[data-theme="light"] .epi-st { color: #916400; -webkit-text-stroke: 2px #f5f5f5; text-shadow: 0 0 6px rgba(0, 0, 0, 0.21); }
html[data-theme="light"] .q-legend .lg-st { color: #916400; -webkit-text-stroke: 1px #f5f5f5; }
html[data-theme="light"] #qab-assumed.case-lab, html[data-theme="light"] .q-ab-mag .case-lab { background: rgba(19, 19, 19, 0.14); }
html[data-theme="light"] .q-side-btn svg { fill: none; stroke: currentColor; }
html[data-theme="light"] body.alertui.side-off .side-mini { background: #f2f3f6; border: 2px solid #fbfcfe; box-shadow: 0 5px 18px rgba(0, 0, 0, 0.175); color: #131313; }
html[data-theme="light"] .side-mini .sm-date { color: #212123; }
html[data-theme="light"] .side-mini.sim .sm-date, html[data-theme="light"] .side-mini.sim .sm-time { color: #8e6200; }
html[data-theme="light"] .side-mini .sm-btns { border-left: 1px solid #dfe0e5; }
html[data-theme="light"] .side-mini .q-gear { background: #e3e5e8; }
html[data-theme="light"] .side-mini .q-gear:hover { background: #d1d3d7; }
html[data-theme="light"] .lgint-1 { background: #0041ff; color: #fff; }
html[data-theme="light"] .lgint-2 { background: #ffe600; color: #241a00; }
html[data-theme="light"] .lgint-3 { background: #ff2800; color: #fff; }
html[data-theme="light"] .lgint-4 { background: #a50021; color: #fff; }
html[data-theme="light"] .q-ev-lg { box-shadow: 0 0 0 1.5px rgba(19, 19, 19, 0.75); }


html[data-theme="light"] { color-scheme: light; --accent: #1b5fc4; --good: #1b7a50; --warn: #8a5a00; --crit: #c2163f; --p-wave: #0b6fb8; --s-wave: #d12b1c; }

html[data-theme="light"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(1.03) contrast(.94); }
html[data-theme="light"] #map { background: #e6e9ed; }
html[data-theme="light"] .leaflet-container { background: #e6e9ed; }

html[data-theme="light"] [style*="color:#9aa1ad"] { color: #4f5868 !important; }
html[data-theme="light"] [style*="color:#f2a900"] { color: #8a5a00 !important; }

html[data-theme="light"] .q-title.calm { color: var(--text); }
html[data-theme="light"] .q-title .q-gear { color: inherit; background: rgba(0, 0, 0, .14); }
html[data-theme="light"] .q-title .q-gear:hover { background: rgba(0, 0, 0, .24); }
html[data-theme="light"] .q-title.calm .q-gear { background: rgba(19, 21, 26, .08); }
html[data-theme="light"] .q-title.calm .q-gear:hover { background: rgba(19, 21, 26, .16); }
html[data-theme="light"] .q-title.forecast .q-gear { color: #201600; background: rgba(0, 0, 0, .1); }

html[data-theme="light"] #stg-modal { --stg-surface:#f6f7f9;--stg-nav:#eceef2;--stg-card:#ffffff;--stg-line:rgba(19,19,19,.105);--stg-ink:#1d1f22;--stg-ink2:#44474d;--stg-ink3:#5b6470;--stg-red:#d63c36;--stg-pill:rgba(19,19,19,.085);--stg-hover:rgba(19,19,19,.05);--stg-neg:#b3261e;--stg-shadow:rgba(20,24,34,.22);--stg-thumb:#cfd2d8 }

html[data-theme="light"] .q-sub-tags b.tst { background: #6d6152; color: #fff; }

html[data-theme="light"] .q-ev-time { opacity: 1; color: #4f5868; }
html[data-theme="light"] .q-ev.micro { opacity: 1; }
html[data-theme="light"] .q-ev.micro .q-ev-loc { color: #4f5868; }
html[data-theme="light"] .q-ev.micro .q-ev-mag, html[data-theme="light"] .q-ev.micro .q-ev-int { opacity: .72; }
html[data-theme="light"] .stg-note { color: #5b6470; }
html[data-theme="light"] .q-footer { color: #5b6470; }

html[data-theme="light"] .stg-note.caution { color: #8a4b00; background: rgba(232, 150, 60, .12); border-color: rgba(190, 110, 20, .5); }
html[data-theme="light"] .sim-stop { background: #fdecef; color: #a3283f; border-color: #dc8b99; }
html[data-theme="light"] .sim-stop:hover { background: #f9d9df; color: #86172c; }


@media (max-width: 900px) {
  html[data-theme="light"] body.alertui .q-side .q-title { color: var(--text); }
  html[data-theme="light"] body.alertui .q-side .q-title .q-gear { color: var(--text); background: rgba(19, 21, 26, .08); }
}

html[data-theme="light"] .q-legend .lg-x, html[data-theme="light"] body.alertui .q-legend .lg-x { color: #c2161f; }

html[data-theme="light"] .tsu-line { filter: drop-shadow(0 0 1.1px rgba(20, 22, 26, .85)) drop-shadow(0 0 .6px rgba(20, 22, 26, .6)); }

html[data-theme="light"] .q-rows li { background: #fff; border-bottom-color: #e7e9ed; }
html[data-theme="light"] .q-rows li.int-gname { background: #fff; border: 0; border-bottom: 1px solid #e7e9ed; }
html[data-theme="light"] .q-rows li.int-sido { background: #f5f6f8; border: 0; border-bottom: 1px solid #e7e9ed; opacity: 1; color: #4f5868; }
html[data-theme="light"] .q-rows li.int-head,
html[data-theme="light"] .q-rows li.tsu-head {
  background-image: linear-gradient(rgba(255, 255, 255, .82), rgba(255, 255, 255, .82)) !important;
  color: #14161a !important; border-radius: 0; margin: 0; position: relative; padding: 8px 12px 8px 37px;
  border-bottom: 1px solid #e7e9ed; }
html[data-theme="light"] .q-rows li.int-head::before,
html[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(20, 22, 26, .22); }
html[data-theme="light"] .q-block { background-image: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)) !important; }
html[data-theme="light"] .q-block-int { background-color: inherit; padding: 10px 14px; }
html[data-theme="light"] .q-block-loc { color: #14161a; }
html[data-theme="light"] .q-block-loc span { opacity: 1; color: #3d4450; }
html[data-theme="light"] .q-warnstrip { background: #fdeadb; color: #9a3a00; border-top: 1px solid #f3c9aa; border-bottom: 1px solid #f3c9aa; }
html[data-theme="light"] .q-sec, html[data-theme="light"] .q-rows li.q-subhead { background: #fff; color: #4f5868; border-top: 1px solid #e7e9ed; }
html[data-theme="light"] .q-rows li[class*="rowint-"] {
  background-image: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)); color: #14161a; border-color: #e7e9ed; }
html[data-theme="light"] .q-rows { background: #fff; }

html[data-theme="light"] { --alert-red: #d63c36; }
html[data-theme="light"] .q-title { background: var(--alert-red); }

html[data-theme="light"] { --forecast-yellow: #fbc737; }
html[data-theme="light"] .q-title.forecast { background: var(--forecast-yellow); }
html[data-theme="light"] .q-ab-type.forecast { background: var(--forecast-yellow); color: #201600; }
html[data-theme="light"] body.alertui .q-sub-alert.forecast { background: var(--forecast-yellow); color: #241a00; }
html[data-theme="light"] body.alertui .km-panel.km-v-c, html[data-theme="light"] body.alertui .km-panel.km-v-d { --kp-bg: rgba(250,251,253,.96); --kp-head: #eef0f4; --kp-edge: #d3d6dd; --kp-line: rgba(0,0,0,.08); --kp-ink: #1f2021; --kp-muted: #5f6672; --kp-cell: #e9ebf0; }
html[data-theme="light"] body.alertui .lgd { --lb-ink: #1f2021; --lb-muted: #5f6672; --lb-hair: rgba(0,0,0,.28); --lb-soft: rgba(255,255,255,.8); }
