/* Layout: single column (max 1100px) — places, verdict first, alerts, then the 48h timeline, the 7 days, rain season, model consensus, instability + live obs, map, sources.
   Night-sky palette: lightning gold marks storms, rain blue marks precipitation, sand marks dust, ice blue marks frost; dark-first with a light variant. */
:root {
  --bg: #0c111d;
  --surface: #131a2a;
  --surface-2: #1b2338;
  --raise: #222c45;
  --ink: #e9edf6;
  --muted: #8e98ae;
  --line: #263049;
  --bolt: #ffc441;
  --bolt-ink: #1b1400;
  --bolt-soft: rgb(255 196 65 / 0.16);
  --rain: #59b5f2;
  --rain-soft: rgb(89 181 242 / 0.18);
  --danger: #ff6170;
  --danger-soft: rgb(255 97 112 / 0.16);
  --ok: #56d39a;
  --dust: #d9a35b;
  --dust-soft: rgb(217 163 91 / 0.16);
  --dust-dusty: #c9a36f;
  --dust-storm: #e08a3c;
  --dust-severe: #d4563f;
  --ice: #8fd3ff;
  --ice-soft: rgb(143 211 255 / 0.14);
  --lv-none: #3a4560;
  --lv-low: #7fa6c9;
  --lv-possible: #ffc441;
  --lv-likely: #ff9a3d;
  --lv-high: #ff5a67;
  --font: "Readex Pro", "Segoe UI", Tahoma, system-ui, sans-serif;
  --r: 16px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f3f5f9; --surface: #ffffff; --surface-2: #eef1f7; --raise: #e4e9f2; --ink: #121827; --muted: #5a6479; --line: #dde3ed;
    --bolt: #b57800; --bolt-ink: #ffffff; --bolt-soft: rgb(214 147 0 / 0.14);
    --rain: #1d7cc2; --rain-soft: rgb(29 124 194 / 0.13);
    --danger: #c8303f; --danger-soft: rgb(200 48 63 / 0.1); --ok: #17844f; --dust: #9a6420; --dust-soft: rgb(154 100 32 / 0.12); --dust-dusty: #a8814a; --dust-storm: #c06a1c; --dust-severe: #b23a28; --ice: #1a78b4; --ice-soft: rgb(26 120 180 / 0.1);
    --lv-none: #c3cad8; --lv-low: #6f95b9; --lv-possible: #d69300; --lv-likely: #e0701c; --lv-high: #d23a48;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f3f5f9; --surface: #ffffff; --surface-2: #eef1f7; --raise: #e4e9f2; --ink: #121827; --muted: #5a6479; --line: #dde3ed;
  --bolt: #b57800; --bolt-ink: #ffffff; --bolt-soft: rgb(214 147 0 / 0.14);
  --rain: #1d7cc2; --rain-soft: rgb(29 124 194 / 0.13);
  --danger: #c8303f; --danger-soft: rgb(200 48 63 / 0.1); --ok: #17844f; --dust: #9a6420; --dust-soft: rgb(154 100 32 / 0.12); --dust-dusty: #a8814a; --dust-storm: #c06a1c; --dust-severe: #b23a28; --ice: #1a78b4; --ice-soft: rgb(26 120 180 / 0.1);
  --lv-none: #c3cad8; --lv-low: #6f95b9; --lv-possible: #d69300; --lv-likely: #e0701c; --lv-high: #d23a48;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.6; font-variant-numeric: tabular-nums; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bolt); outline-offset: 2px; }
.app { max-width: 1100px; margin-inline: auto; padding-inline: 16px; padding-block: 0 48px; display: flex; flex-direction: column; gap: 18px; }

/* شريط علوي */
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  margin-inline: -16px; padding: 12px 16px;
  background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand h1 { margin: 0; font-size: 26px; line-height: 1; font-weight: 700; letter-spacing: -0.5px; }
.brand p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.bar-end { display: flex; align-items: center; gap: 10px; }
.updated { font-size: 12.5px; color: var(--muted); text-align: end; line-height: 1.35; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn.spin svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }

/* اختيار الموقع */
.places-row { display: flex; gap: 8px; align-items: stretch; }
.places { display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 1px; }
.places::-webkit-scrollbar { display: none; }
.place {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; cursor: pointer; min-width: 0;
  flex: 1 0 auto; min-width: 140px; max-width: 260px;
}
.pl-name { min-width: 0; }
.place .pl-name b, .place .pl-name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add-place { height: auto; min-height: 40px; width: 46px; border-radius: 14px; }
.add-place[aria-expanded="true"] { border-color: var(--bolt); color: var(--bolt); }
.add-place[aria-expanded="true"] svg { transform: rotate(45deg); }
.add-place svg { transition: transform .15s; }

/* إدارة الأماكن */
.place-search { display: flex; flex-direction: column; gap: 6px; }
.place-search label { font-size: 13.5px; font-weight: 600; }
.search-row { display: flex; gap: 8px; flex-wrap: wrap; }
.search-row input {
  flex: 1 1 200px; min-width: 0; font: inherit; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 9px 12px;
}
.search-row input:focus-visible { outline: 2px solid var(--bolt); outline-offset: 1px; }
.search-row .btn svg { width: 17px; height: 17px; }
#placeMsg:empty { display: none; }
#placeMsg.bad { color: var(--danger); }
.place-results, .place-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.place-results:empty { display: none; }
.result {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: start; cursor: pointer;
  background: var(--surface-2); border: 1px solid transparent; border-radius: 12px; padding: 8px 12px;
}
.result:hover { border-color: var(--line); }
.result svg { width: 18px; height: 18px; flex: none; color: var(--bolt); }
.pl-name b { display: block; font-weight: 600; }
.pl-name small { display: block; color: var(--muted); font-size: 12px; }
.pl-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); }
.pl-actions { display: flex; gap: 6px; align-items: center; flex: none; }
.icon-btn.sm { width: 34px; height: 34px; border-radius: 10px; background: var(--surface); }
.icon-btn.sm svg { width: 16px; height: 16px; }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.icon-btn.danger { color: var(--danger); }
.pl-fixed { font-size: 11.5px; color: var(--muted); width: 34px; text-align: center; }
.place[aria-selected="true"] { border-color: var(--bolt); box-shadow: inset 0 0 0 1px var(--bolt); }
.place b { display: block; font-size: 16px; font-weight: 600; }
.place small { color: var(--muted); font-size: 12px; }
.place .mini { display: flex; gap: 6px; align-items: center; flex: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lv-none); display: inline-block; }

.notice { margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; background: var(--surface-2); color: var(--muted); }
.notice.bad { background: var(--danger-soft); color: var(--danger); }
.notice.offline { background: var(--bolt-soft); color: var(--ink); border-inline-start: 3px solid var(--bolt); }

/* البطاقات */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card > header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
h2 { margin: 0; font-size: 17px; font-weight: 600; }
.hint { margin: 0; color: var(--muted); font-size: 13px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* الخلاصة */
.hero { padding: 22px 20px; gap: 16px; }
.hero .top { display: flex; gap: 14px; align-items: flex-start; }
.hero .bolt { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); }
.hero .bolt svg { width: 30px; height: 30px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.headline { margin: 4px 0 0; font-size: clamp(21px, 4.6vw, 30px); line-height: 1.35; font-weight: 700; text-wrap: balance; }
.subline { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; position: relative; padding-top: 14px; }
.scale span { height: 8px; border-radius: 4px; background: var(--surface-2); }
.scale span.on { background: var(--c); }
.scale label { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 4px; }
.scale .labels { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); }
.scale .marker { position: absolute; top: 0; width: 0; height: 0; border-inline: 6px solid transparent; border-top: 9px solid var(--ink); transform: translateX(50%); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.kpi span { display: block; font-size: 12px; color: var(--muted); }
.kpi b { display: block; font-size: 22px; font-weight: 700; line-height: 1.25; }
.kpi b small { font-size: 13px; font-weight: 500; color: var(--muted); }
.kpi.storm b { color: var(--bolt); }
.kpi.rain b { color: var(--rain); }
.flags { display: flex; flex-wrap: wrap; gap: 8px; }
.flag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 10px; font-size: 13px; font-weight: 600; background: var(--danger-soft); color: var(--danger); }
.flag svg { width: 16px; height: 16px; }
.flag.dust, .mini-flag.dust { background: var(--dust-soft); color: var(--dust); }
.flag.frost, .mini-flag.frost { background: var(--ice-soft); color: var(--ice); }
.dustline, .tline { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.55; }
.dustline svg, .tline svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.dustline { background: var(--dust-soft); color: var(--ink); }
.dustline svg { color: var(--dust); }
.dustline.lv-storm, .dustline.lv-severe { box-shadow: inset 3px 0 0 var(--dust-storm); }
.tline.frost { background: var(--ice-soft); }
.tline.frost svg { color: var(--ice); }
.tline.heat { background: var(--danger-soft); }
.tline.heat svg { color: var(--danger); }
.tline small { color: var(--muted); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share .btn { padding: 8px 14px; font-size: 14px; }
.share .btn svg { width: 18px; height: 18px; }
.btn.wa { background: #1f9d55; color: #fff; border-color: transparent; }
#shareMsg:empty { display: none; }
.now { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 12px; }
.now b { color: var(--ink); font-weight: 600; }

/* مخطط 48 ساعة */
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-end: 5px; vertical-align: -1px; }
.scroll-x { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.chart { min-width: 760px; }
.chart svg { display: block; width: 100%; height: auto; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .hit:hover, .chart .hit.sel { fill: var(--ink); fill-opacity: 0.06; }
.hour-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.hour-detail h3 { margin: 0 0 6px; font-size: 15px; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 12px; margin: 0; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.sysbars { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; }
.sysbar { display: grid; grid-template-columns: 112px minmax(0, 1fr) 40px; gap: 8px; align-items: center; }
.sysbar .track { height: 7px; border-radius: 4px; background: var(--raise); overflow: hidden; display: flex; }
.sysbar .track i { display: block; height: 100%; }
.sysbar .v { text-align: end; color: var(--muted); }

/* الأيام */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.day { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.day.today { border-color: color-mix(in srgb, var(--bolt) 45%, var(--line)); }
.day .name { font-weight: 600; font-size: 14.5px; }
.day .date { font-size: 12px; color: var(--muted); }
.day .big { display: flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 700; }
.day .big svg { width: 22px; height: 22px; }
.day .row { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--muted); }
.day .row b { color: var(--ink); font-weight: 500; }
.day .rainv { color: var(--rain); font-weight: 600; }
.day .win { font-size: 12px; color: var(--bolt); min-height: 18px; }
.day .icons { display: flex; gap: 4px; min-height: 18px; }
.day .icons svg { width: 16px; height: 16px; color: var(--danger); }
.day .dustv { font-weight: 600; text-align: end; }
.day .hot { color: var(--danger); font-weight: 700; }
.day .cold { color: var(--ice); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.mini-flag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 8px; background: var(--danger-soft); color: var(--danger); }
.mini-flag svg { width: 13px; height: 13px; }

/* موسم الأمطار */
.season-line { margin: 0; font-size: clamp(17px, 3.6vw, 21px); font-weight: 700; line-height: 1.45; text-wrap: balance; }
.season .kpi small.hint { display: block; font-size: 11.5px; margin-top: 2px; }
.season-legend { margin-bottom: -6px; }
.season-chart { min-width: 560px; }
.normals-ask { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.normals-ask p { flex: 1 1 260px; }
.progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--rain); transition: width .3s; }

/* مصفوفة النماذج */
.matrix { min-width: 820px; border-collapse: separate; border-spacing: 2px; width: 100%; font-size: 12px; }
.matrix th { font-weight: 500; color: var(--muted); padding: 2px; white-space: nowrap; }
.matrix th.rowh { text-align: start; padding-inline-end: 10px; position: sticky; inset-inline-start: 0; background: var(--surface); z-index: 1; }
.matrix th.rowh b { display: block; color: var(--ink); font-weight: 600; font-size: 12.5px; }
.matrix th.rowh small { font-size: 11px; }
.matrix th.dayh { color: var(--ink); font-weight: 600; text-align: center; border-bottom: 1px solid var(--line); }
.matrix td { height: 26px; min-width: 22px; border-radius: 4px; background: var(--surface-2); text-align: center; color: var(--ink); font-weight: 700; font-size: 11px; }
.matrix tr.sep th, .matrix tr.sep td { padding-top: 10px; background: none; height: auto; color: var(--muted); font-weight: 600; text-align: start; }
.matrix td svg { width: 13px; height: 13px; vertical-align: middle; }

/* عدم الاستقرار */
.meters { display: flex; flex-direction: column; gap: 14px; }
.meter .head { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.meter .head b { font-weight: 600; }
.meter .head span { color: var(--muted); font-size: 13px; }
.meter .track { position: relative; height: 8px; border-radius: 4px; background: linear-gradient(to left, var(--lv-none), var(--lv-low), var(--lv-possible), var(--lv-likely), var(--lv-high)); margin-top: 6px; }
.meter .pin { position: absolute; top: -4px; width: 4px; height: 16px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); }
.meter p { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }

/* الرصد */
.obs { display: flex; flex-direction: column; gap: 8px; }
.st { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.st .n { font-weight: 600; }
.st .n small { color: var(--muted); font-weight: 400; margin-inline-start: 6px; }
.st .t { color: var(--muted); font-size: 12.5px; text-align: end; }
.st .wx { grid-column: 1 / -1; font-size: 13.5px; }
.st.ts { background: var(--bolt-soft); }
.st.ts .wx { color: var(--bolt); font-weight: 600; }
.st .raw { grid-column: 1 / -1; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; color: var(--muted); direction: ltr; text-align: left; overflow-wrap: anywhere; }

/* الخريطة */
.seg { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--raise); color: var(--ink); font-weight: 600; }
.mapbox { position: relative; aspect-ratio: 16 / 10; max-height: 560px; width: 100%; max-width: 100%; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--raise); cursor: pointer; font-weight: 600; text-decoration: none; }
.btn.primary { background: var(--bolt); color: var(--bolt-ink); border-color: transparent; }

/* الروابط */
.links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.links a { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; background: var(--surface-2); text-decoration: none; border: 1px solid transparent; min-width: 0; }
.links a:hover { border-color: var(--line); }
.links b { font-weight: 600; font-size: 14px; }
.links small { color: var(--muted); font-size: 12px; }

/* الطريقة */
.method ol { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 13.5px; }
.method ol b { color: var(--ink); font-weight: 600; }
.runs { display: flex; flex-wrap: wrap; gap: 6px; }
.runs span { font-size: 12px; background: var(--surface-2); border-radius: 8px; padding: 3px 9px; color: var(--muted); }
.runs b { color: var(--ink); font-weight: 600; }
.foot { color: var(--muted); font-size: 12.5px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.foot p { margin: 0; }

/* تحميل */
.skel { background: linear-gradient(90deg, var(--surface-2), var(--raise), var(--surface-2)); background-size: 200% 100%; border-radius: 10px; min-height: 18px; }
@media (prefers-reduced-motion: no-preference) { .skel { animation: shimmer 1.4s linear infinite; } }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 980px) {
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .grid2 { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hour-detail { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .place { min-width: 128px; padding: 9px 12px; }
  .search-row .btn { flex: 1 1 auto; }
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand h1 { font-size: 23px; }
  .brand p { display: none; }
  .updated { font-size: 11.5px; }
  .hero { padding: 18px 16px; }
  .card { padding: 16px 14px; }
  .mapbox { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  .icon-btn.spin svg { animation-duration: 3s; }
}

/* رموز ورسوم */
.ic-bg { fill: var(--surface-2); }
.ic-bolt { fill: var(--bolt); }
.lg-bolt { background: var(--bolt); }
.lg-rainp { background: var(--rain-soft); box-shadow: inset 0 2px 0 var(--rain); }
.lg-rain { background: var(--rain); }
.lg-dust { background: linear-gradient(to left, var(--dust-dusty), var(--dust-storm), var(--dust-severe)); }
.lg-norm { background: none; border-top: 2px dashed var(--muted); height: 0 !important; vertical-align: 3px !important; }
.lg-proj { background: none; border-top: 2px dotted var(--rain); height: 0 !important; vertical-align: 3px !important; }
.ch-dust.d-none { fill: var(--surface-2); }
.ch-dust.d-dusty { fill: var(--dust-dusty); fill-opacity: 0.75; }
.ch-dust.d-storm { fill: var(--dust-storm); }
.ch-dust.d-severe { fill: var(--dust-severe); }
.ss-norm { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 6 5; fill: none; }
.ss-proj { stroke: var(--rain); stroke-width: 2.5; stroke-dasharray: 2 4; stroke-linecap: round; }
.ss-dot { fill: var(--rain); stroke: var(--surface); stroke-width: 2; }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-lbl { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.ch-day { fill: var(--ink); font-size: 12px; font-weight: 600; font-family: var(--font); }
.ch-storm { fill: var(--bolt); }
.ch-rainA { fill: var(--rain); fill-opacity: 0.16; }
.ch-rainL { stroke: var(--rain); stroke-width: 2; fill: none; stroke-linejoin: round; }
.ch-pr { fill: var(--rain); }
.ch-p90 { stroke: var(--rain); stroke-width: 1.5; stroke-opacity: 0.55; }
.ch-sep { stroke: var(--muted); stroke-dasharray: 3 4; stroke-opacity: 0.5; }
.ch-now { fill: var(--bolt); font-size: 11px; font-weight: 600; font-family: var(--font); }
.ch-nowline { stroke: var(--bolt); stroke-width: 1.5; }
.stack7 { display: flex; flex-direction: column; }
.h-stack { margin-bottom: 10px; }
