/* #10859 ski-slo.si: 3D mapi Krvavec in Kope (Views/Karta3d). Vir: končni demo v2 (docs/superpowers/work-ski-slo-portal/demo-final),
   ustvari scripts/build_kopeaxess.py. Pisava Barlow (SIL OFL, Content/karta3d/OFL.txt) z našega strežnika. */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/karta3d/datoteka?f=barlow-400-latin-ext.woff2&v=1') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/karta3d/datoteka?f=barlow-400-latin.woff2&v=1') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/karta3d/datoteka?f=barlow-500-latin-ext.woff2&v=1') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/karta3d/datoteka?f=barlow-500-latin.woff2&v=1') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/karta3d/datoteka?f=barlow-600-latin-ext.woff2&v=1') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/karta3d/datoteka?f=barlow-600-latin.woff2&v=1') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('/karta3d/datoteka?f=barlow-condensed-500-latin-ext.woff2&v=1') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('/karta3d/datoteka?f=barlow-condensed-500-latin.woff2&v=1') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('/karta3d/datoteka?f=barlow-condensed-600-latin-ext.woff2&v=1') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('/karta3d/datoteka?f=barlow-condensed-600-latin.woff2&v=1') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/karta3d/datoteka?f=barlow-condensed-700-latin-ext.woff2&v=1') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/karta3d/datoteka?f=barlow-condensed-700-latin.woff2&v=1') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
[hidden] { display: none !important; }
:root {
  --bg: #f3f6fa;
  --paper: #ffffff;
  --ink: #0f1d2e;
  --muted: #5a6b7e;
  --line: #d6dfe9;
  --brand: #1565c0;
  --brand-soft: #e3eefb;
  --sun: #f0a020;
  --sun-soft: #fff3dc;
  --lift: #ffd23f;
  --open: #1f9d55;
  --open-soft: #e2f5ea;
  --closed: #8593a3;
  --warn-soft: #fff4e0;
  --p-novice: #2e9e5b;
  --p-easy: #1f6fe5;
  --p-int: #e0312b;
  --p-adv: #15181c;
  --p-free: #e8731e;
  --map-sky-1: #cfe0f3;
  --map-sky-2: #f4f8fd;
  --shadow: 0 10px 30px rgba(15, 29, 46, 0.12);
  --f-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --f-head: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1420; --paper: #121e2d; --ink: #e6eef7; --muted: #93a4b8; --line: #24364a;
    --brand: #5aa2ff; --brand-soft: #16304f; --sun-soft: #3a2a0e; --open-soft: #123222; --warn-soft: #33260f;
    --p-adv: #e8edf2; --map-sky-1: #22364f; --map-sky-2: #0f1b2a; --shadow: 0 10px 30px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1420; --paper: #121e2d; --ink: #e6eef7; --muted: #93a4b8; --line: #24364a;
  --brand: #5aa2ff; --brand-soft: #16304f; --sun-soft: #3a2a0e; --open-soft: #123222; --warn-soft: #33260f;
  --p-adv: #e8edf2; --map-sky-1: #22364f; --map-sky-2: #0f1b2a; --shadow: 0 10px 30px rgba(0,0,0,.45);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.5; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--ink); }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: 0.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.num { font-variant-numeric: tabular-nums; }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* glava */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: #0f1d2e; color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 18px; padding-block: 10px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo b { font-family: var(--f-head); font-size: 1.45rem; letter-spacing: 0.02em; }
.logo svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.nav a { color: #cfdbe8; text-decoration: none; font-family: var(--f-head); font-size: 1.08rem; font-weight: 600; letter-spacing: 0.03em; padding: 6px 12px; border-radius: 6px; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #0f1d2e; background: #fff; }

main.rs { padding-block: 28px 64px; }
.lead { color: var(--muted); max-width: 70ch; margin-top: 10px; font-size: 1.08rem; }

.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; min-width: 120px; }
.stat b { display: block; font-family: var(--f-head); font-size: 1.7rem; line-height: 1; }
.stat span { font-size: 0.82rem; color: var(--muted); }

.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 10px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.pill.open { background: var(--open-soft); color: var(--open); }
.pill.closed { background: color-mix(in srgb, var(--closed) 16%, transparent); color: var(--muted); }
.pill.ill { background: var(--sun-soft); color: #8a5200; }
:root[data-theme="dark"] .pill.ill { color: #f5c770; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.ill { color: #f5c770; } }
.src { font-size: 0.8rem; color: var(--muted); margin-top: 12px; }

/* smučišče */
.rs-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: end; }
@media (max-width: 860px) { .rs-head { grid-template-columns: minmax(0, 1fr); } }
.cond { display: flex; flex-wrap: wrap; gap: 8px; }
.cond .stat { min-width: 96px; padding: 8px 12px; }
.cond .stat b { font-size: 1.4rem; }
.notice { margin-top: 12px; background: var(--warn-soft); border-radius: 8px; padding: 8px 12px; font-size: 0.92rem; }

.stage { position: relative; margin-top: 18px; height: min(78vh, 780px); min-height: 460px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #a9c6e6 0%, #dbe8f5 55%, #eef3f8 100%); border: 1px solid var(--line); box-shadow: var(--shadow); touch-action: none; }
.stage canvas { display: block; width: 100%; height: 100%; }
.loading { position: absolute; inset: 0; display: grid; place-items: center; color: #0f1d2e; font-family: var(--f-head); font-size: 1.3rem; letter-spacing: .04em; background: linear-gradient(180deg, #a9c6e6, #eef3f8); z-index: 5; }
.labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lb { position: absolute; left: 0; top: 0; will-change: transform; white-space: nowrap; font-family: var(--f-head); font-weight: 600; transition: opacity .2s; }
.lb.piste { width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; color: #fff; font-size: 13px; display: grid; place-items: center; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.lb.piste.adv { color: #fff; background: #15181c; }
.lb.piste.small { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.lb.lift { background: var(--lift); color: #111; font-size: 13px; padding: 1px 7px 1px 3px; border-radius: 4px; transform-origin: 0 50%; box-shadow: 0 1px 4px rgba(0,0,0,.35); display: flex; gap: 5px; align-items: center; }
.lb.lift b { background: #111; color: var(--lift); border-radius: 3px; padding: 0 5px; font-size: 12px; }
.lb.poi { color: #0f1d2e; font-size: 13px; display: flex; gap: 4px; align-items: center; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }
.lb.poi svg { width: 18px; height: 18px; flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.lb.peak { color: #33404d; font-size: 12px; font-weight: 500; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.lb.sel { outline: 3px solid var(--sun); outline-offset: 2px; }
.tip { position: absolute; pointer-events: none; background: #0f1d2e; color: #fff; padding: 4px 9px; border-radius: 6px; font-size: 0.86rem; transform: translate(12px, -130%); white-space: nowrap; z-index: 6; }

.ui { position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 8px; }
.ui.tl { left: 12px; top: 12px; }
.ui.tr { right: 12px; top: 12px; align-items: flex-end; }
.ui.bl { left: 12px; bottom: 12px; }
.ui.br { right: 12px; bottom: 12px; flex-direction: row; }
.glass { background: rgba(255,255,255,.9); color: #0f1d2e; backdrop-filter: blur(8px); border-radius: 10px; padding: 8px 10px; box-shadow: 0 2px 12px rgba(15,29,46,.18); font-size: 0.88rem; }
.glass .eyebrow { color: #5a6b7e; font-size: 0.72rem; }
.seg { display: flex; gap: 3px; flex-wrap: wrap; }
.seg button { border: 1px solid #c9d5e2; background: #fff; border-radius: 6px; padding: 3px 9px; cursor: pointer; font-size: 0.85rem; color: #0f1d2e; }
.seg button[aria-pressed="true"] { background: #0f1d2e; color: #fff; border-color: #0f1d2e; }
.toggles { display: flex; gap: 10px; flex-wrap: wrap; }
.toggles label { display: inline-flex; gap: 4px; align-items: center; cursor: pointer; }
.sun-row { display: flex; gap: 8px; align-items: center; }
.sun-row input[type=range] { width: 150px; accent-color: var(--sun); }
.sun-row input[type=date] { border: 1px solid #c9d5e2; border-radius: 6px; padding: 1px 4px; font-size: 0.82rem; background: #fff; color: #0f1d2e; }
.legend { display: grid; grid-template-columns: auto auto; gap: 3px 12px; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 18px; height: 5px; border-radius: 3px; display: inline-block; }
.iconbtn { width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(255,255,255,.92); color: #0f1d2e; box-shadow: 0 2px 12px rgba(15,29,46,.18); cursor: pointer; font-size: 1.1rem; display: grid; place-items: center; }
.banner { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 4; width: max-content; max-width: min(460px, calc(100% - 480px)); text-align: center; }
@media (max-width: 760px) { .banner { bottom: auto; top: 10px; max-width: calc(100% - 24px); } }
.banner .pill { white-space: normal; }

.panel { position: absolute; right: 12px; top: 62px; width: 320px; max-height: calc(100% - 130px); overflow: auto; z-index: 5; background: #fff; color: #0f1d2e; border-radius: 12px; box-shadow: 0 8px 28px rgba(15,29,46,.28); padding: 14px; }
.panel h3 { font-size: 1.35rem; display: flex; gap: 8px; align-items: center; }
.panel .x { position: absolute; right: 8px; top: 8px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: #5a6b7e; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.facts div { background: #f3f6fa; border-radius: 8px; padding: 6px 8px; }
.facts b { display: block; font-family: var(--f-head); font-size: 1.25rem; line-height: 1.1; }
.facts span { font-size: 0.76rem; color: #5a6b7e; }
.prof { margin-top: 10px; }
.prof svg { width: 100%; height: auto; display: block; }
.badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; color: #fff; font-family: var(--f-head); font-size: 14px; padding: 0 4px; border: 2px solid #fff; box-shadow: 0 0 0 1px #c9d5e2; }
.lbadge { background: var(--lift); color: #111; border-radius: 4px; padding: 0 6px; font-family: var(--f-head); font-weight: 700; }
.iconbtn svg { width: 20px; height: 20px; }
.iconbtn.wide { width: auto; padding: 0 12px; gap: 6px; display: inline-flex; align-items: center; font-weight: 600; font-size: 0.92rem; }
.settings { position: absolute; left: 12px; top: 60px; width: 320px; max-height: calc(100% - 72px); overflow: auto; z-index: 7; background: #fff; color: #0f1d2e; border-radius: 12px; box-shadow: 0 8px 28px rgba(15,29,46,.28); padding: 12px 14px; display: grid; gap: 14px; }
.settings .eyebrow { color: #5a6b7e; font-size: 0.72rem; margin-bottom: 5px; }
.set-head { display: flex; justify-content: space-between; align-items: center; }
.set-head b { font-family: var(--f-head); font-size: 1.25rem; }
.sx { border: 0; background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; color: #5a6b7e; }
.hint { position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%); z-index: 4; background: rgba(15,29,46,.85); color: #fff; font-size: 0.84rem; padding: 6px 14px; border-radius: 999px; pointer-events: none; transition: opacity .6s; width: max-content; max-width: calc(100% - 24px); text-align: center; }
.hint.gone { opacity: 0; }
.attr { position: absolute; left: 8px; bottom: 6px; z-index: 3; font-size: 10px; color: rgba(15,29,46,.8); background: rgba(255,255,255,.65); padding: 0 5px; border-radius: 4px; pointer-events: none; }
.stage.max { position: fixed; inset: 0; z-index: 100; height: 100%; min-height: 0; border-radius: 0; margin: 0; border: 0; }
.stage:fullscreen { height: 100%; border-radius: 0; }
.stage.max .ui.tl { top: calc(12px + env(safe-area-inset-top, 0px)); left: calc(12px + env(safe-area-inset-left, 0px)); }
.stage.max .ui.tr { top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); }
.stage.max .ui.br { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); }
.stage.max .settings { top: calc(60px + env(safe-area-inset-top, 0px)); }
body.noscroll { overflow: hidden; }
.pmore { display: none; width: 100%; justify-content: center; margin-top: 10px; border: 1px solid #c9d5e2; background: #f3f6fa; border-radius: 8px; padding: 9px; font-weight: 600; cursor: pointer; color: #0f1d2e; }
@media (max-width: 760px) {
  .stage { height: 72vh; min-height: 420px; }
  .panel { left: 8px; right: 8px; width: auto; top: auto; bottom: 8px; max-height: calc(100% - 16px); padding: 12px 14px; }
  .panel.peek .more { display: none; }
  .panel.full { top: 8px; }
  .pmore { display: flex; }
  .settings { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 80%; border-radius: 16px 16px 0 0; }
  .stage.max .settings { top: auto; bottom: 0; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .hint { bottom: 62px; font-size: 0.78rem; }
  .top .wrap { gap: 8px; padding-block: 8px; flex-wrap: nowrap; }
  .logo b { font-size: 1.15rem; }
  .logo svg { width: 28px; height: 28px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .nav a { font-size: 0.98rem; padding: 5px 8px; white-space: nowrap; }
  .iconbtn.wide span { display: none; }
  .nav-x { display: none; }
}

.rs-load { margin-top: 8px; }
.rs-load a { font-weight: 600; }
.below { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 22px; }
@media (max-width: 980px) { .below { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; }
.card h2 { font-size: 1.5rem; }
.card > p { margin-top: 6px; }
.route-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.route-form label { display: grid; gap: 4px; font-size: 0.85rem; color: var(--muted); }
.route-form select { border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; background: var(--paper); min-width: 0; width: 100%; }
@media (max-width: 520px) { .route-form { grid-template-columns: 1fr; } }
.btn { border: 0; border-radius: 8px; padding: 9px 16px; background: var(--brand); color: #fff; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.btn.alt { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.sun { background: var(--sun); color: #0f1d2e; }
.steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--bg); }
.steps .ic { display: grid; place-items: center; }
.route-sum { margin-top: 12px; display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--f-head); font-size: 1.15rem; }
.tbl-wrap { overflow-x: auto; margin-top: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 600; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; user-select: none; }
td.r, th.r { text-align: right; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: var(--brand-soft); }
.tabs { display: flex; gap: 6px; margin-top: 10px; }
.full { grid-column: 1 / -1; }
body { margin: 0; }
.top .wrap .logo { margin-right: 6px; }
.settings > * { min-width: 0; }
@media (max-width: 760px) { .sun-row input[type=range] { width: auto; flex: 1 1 auto; min-width: 0; } }
