/* Dnipro: warm graphite surfaces, river-mint navigation, unchanged alert semantics. */
:root, body[data-theme="light"] {
  --bg:#f2f1e9;--panel:#fffdf7;--panel2:#f0f2e9;--line:#d4ddd2;
  --ink:#24392f;--ink2:#51685a;--ink3:#627267;
  --blue:#187a68;--me:#187a68;--green:#21866b;
  --surface-tint:#e0efe6;--shadow:0 10px 36px #253e2912;
}
body[data-theme="dark"] {
  --bg:#101715;--panel:#1b2521;--panel2:#222f28;--line:#3b4b41;
  --ink:#f3f3e8;--ink2:#becabd;--ink3:#98aa9c;
  --blue:#79dec3;--me:#79dec3;--green:#56cea3;
  --surface-tint:#2c4439;--shadow:0 10px 36px #0004;
}
body[data-theme] .status,body[data-theme] .live,body[data-theme] .fab,
body[data-theme] .sheet,body[data-theme] .tabs,body[data-theme] .beta {
  background:var(--panel);border-color:var(--line);color:var(--ink);
}
body[data-theme] .sheet {border-radius:22px;box-shadow:var(--shadow)}
body[data-theme] .tabs {border-radius:20px;padding:6px}
body[data-theme] .tabs button {border-radius:13px;color:var(--ink3)}
body[data-theme] .tabs button.on {background:var(--surface-tint);color:var(--blue)}
body[data-theme] .tabs button.on svg {stroke:var(--blue)}
body[data-theme] .settings-section-title>span,
body[data-theme] .theme-option.on {color:var(--blue)}
body[data-theme] .seg button.on,body[data-theme] .settings-block .btn.primary,
body[data-theme] .fab.on,body[data-theme] .sw.on,body[data-theme] .egg-pet {
  background:var(--blue);color:var(--bg);
}
body[data-theme] .btn.primary svg {stroke:currentColor}
body[data-theme] .mode-option.on {border-color:var(--blue);background:var(--surface-tint)}
body[data-theme] .theme-option.on {border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
body[data-theme] .location-dot,body[data-theme] .me {background:var(--me)}
body[data-theme] .location-dot {box-shadow:0 0 0 4px #79dec31a}
body[data-theme] .beta {color:var(--ink2);font-weight:700;letter-spacing:.03em}
body[data-theme] .grip i {background:var(--line);width:34px}
body[data-theme] .settings-heading h2 {letter-spacing:-.6px}
body[data-theme] .settings-block {border-color:var(--line)}
body[data-theme] .dnipro-preview-badge {
  background:var(--panel2)!important;color:var(--blue)!important;
  border:1px solid var(--line);border-radius:8px!important;
}
body[data-theme] button:focus-visible,body[data-theme] a:focus-visible,
body[data-theme] select:focus-visible {outline:2px solid var(--blue);outline-offset:3px}
/* Marker silhouettes keep their light/dark contrast; red/orange warnings keep their meaning. */
