/* ==========================================================================
   Regeneratívna farma v2 — look „Nova 2“ (docs/SPEC_V2.md §0, docs/design-v2/*.dc.html)
   Loaded after theme.css. Two parts:
   1. Tokens and the paint of existing components – only under html[data-look="nova"] (the default,
      look.js). html[data-look="classic"] keeps the classic look of app.css + theme.css untouched.
      Every token set for the light look is set again in both dark blocks (OS dark unless forced
      light, and the forced dark toggle), so no light value leaks into dark mode.
   2. The v2 building blocks (.v2-*, views/v2-ui.js) and the Farma hub / Viac menu (.fh-, .vi-):
      token-based, so they follow both looks.
   Paper #F6F4EE, white cards radius 14 px with a hairline #E6E2D8, green #2F7D4A / #235E38 = farm and
   income, brown #8A5A2B / #6F4620 = costs and community, grey #6B675E = other; white header.
   ========================================================================== */

/* ---------- 1a. Tokens: Nova 2 light ---------- */
:root[data-look="nova"] {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --surface-2: #f6f4ee;
  --surface-3: #efece4;
  --input-bg: #ffffff;

  --text: #1b1a17;
  --text-2: #6b675e;
  --muted: #8c877c;
  --link: #2b7445;

  --border: #e6e2d8;
  --border-strong: #d6d1c4;
  --grid: #efece4;
  --axis: #d6d1c4;

  --accent: #2f7d4a;
  --accent-hover: #235e38;
  --accent-soft: #e4f1e8;
  --accent-contrast: #ffffff;
  --primary: #2f7d4a;
  --primary-hover: #235e38;
  --focus-ring: rgba(47, 125, 74, 0.35);

  --warning-text: #7a4f00;
  --warning-soft: #fff4e5;

  --brand: #2f7d4a;
  --brand-strong: #235e38;
  --brand-soft: #e4f1e8;

  --green: #2f7d4a;
  --green-text: #235e38;
  --green-soft: #e4f1e8;
  --green-tint: #eff6f1;
  --brown: #8a5a2b;
  --brown-text: #6f4620;
  --brown-soft: #f3e9dd;
  --brown-tint: #f9f4ed;
  --grey: #8c877c;
  --grey-text: #5b5852;
  --grey-soft: #efece4;
  --grey-tint: #f6f4ee;
  --income: var(--green);
  --cost: var(--brown);

  --toggle-off: #d6d1c4;

  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --shadow-sm: none;
  --shadow: 0 1px 2px rgba(27, 26, 23, 0.04), 0 6px 18px rgba(27, 26, 23, 0.07);

  --font: -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- 1b. Tokens: Nova 2 dark (OS setting, unless forced light) ---------- */
@media (prefers-color-scheme: dark) {
  :root[data-look="nova"]:not([data-theme="light"]) {
    --bg: #12110e;
    --surface: #1c1b17;
    --surface-2: #24221d;
    --surface-3: #2d2a24;
    --input-bg: #161511;

    --text: #f3f0e8;
    --text-2: #bab4a7;
    --muted: #8c877c;
    --link: #7cc796;

    --border: #2f2c26;
    --border-strong: #423e35;
    --grid: #2d2a24;
    --axis: #423e35;

    --accent: #4fa86d;
    --accent-hover: #6cc08a;
    --accent-soft: #1d3326;
    --accent-contrast: #ffffff;
    --primary: #2f7d4a;
    --primary-hover: #276a3e;
    --focus-ring: rgba(79, 168, 109, 0.45);

    --warning-text: #f5c04e;
    --warning-soft: #2c2412;

    --brand: #4fa86d;
    --brand-strong: #7cc796;
    --brand-soft: #1d3326;

    --green: #4fa86d;
    --green-text: #9ad3ae;
    --green-soft: #1d3326;
    --green-tint: #172419;
    --brown: #b07a45;
    --brown-text: #d9a877;
    --brown-soft: #33261a;
    --brown-tint: #251d15;
    --grey: #8c877c;
    --grey-text: #bab4a7;
    --grey-soft: #2a2823;
    --grey-tint: #1f1e1a;
    --income: var(--green);
    --cost: var(--brown);

    --toggle-off: #4a463e;

    --radius: 10px;
    --radius-sm: 8px;
    --radius-lg: 14px;
    --shadow-sm: none;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 6px 18px rgba(0, 0, 0, 0.35);

    --font: -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  }
}

/* ---------- 1c. Tokens: Nova 2 dark (forced by the theme toggle) ---------- */
:root[data-look="nova"][data-theme="dark"] {
  --bg: #12110e;
  --surface: #1c1b17;
  --surface-2: #24221d;
  --surface-3: #2d2a24;
  --input-bg: #161511;

  --text: #f3f0e8;
  --text-2: #bab4a7;
  --muted: #8c877c;
  --link: #7cc796;

  --border: #2f2c26;
  --border-strong: #423e35;
  --grid: #2d2a24;
  --axis: #423e35;

  --accent: #4fa86d;
  --accent-hover: #6cc08a;
  --accent-soft: #1d3326;
  --accent-contrast: #ffffff;
  --primary: #2f7d4a;
  --primary-hover: #276a3e;
  --focus-ring: rgba(79, 168, 109, 0.45);

  --warning-text: #f5c04e;
  --warning-soft: #2c2412;

  --brand: #4fa86d;
  --brand-strong: #7cc796;
  --brand-soft: #1d3326;

  --green: #4fa86d;
  --green-text: #9ad3ae;
  --green-soft: #1d3326;
  --green-tint: #172419;
  --brown: #b07a45;
  --brown-text: #d9a877;
  --brown-soft: #33261a;
  --brown-tint: #251d15;
  --grey: #8c877c;
  --grey-text: #bab4a7;
  --grey-soft: #2a2823;
  --grey-tint: #1f1e1a;
  --income: var(--green);
  --cost: var(--brown);

  --toggle-off: #4a463e;

  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --shadow-sm: none;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 6px 18px rgba(0, 0, 0, 0.35);

  --font: -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- 1d. Paint of the shell and the existing components (Nova 2 only) ---------- */

[data-look="nova"] body { line-height: 1.45; }

/* White header with a hairline (no dark band, no shadow). */
[data-look="nova"] .app-header { background: var(--surface); border-bottom-color: var(--border); }
[data-look="nova"] .app-tab.is-active { color: var(--green-text); }
@media (min-width: 769px) {
  [data-look="nova"] .app-tab.is-active { background: var(--green-soft); }
}

/* Scenario header sits on the paper like the design's page titles. */
[data-look="nova"] .scenario-header { background: transparent; border-bottom: 0; }
[data-look="nova"] .sh-name { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
[data-look="nova"] .sh-back { font-weight: 600; color: var(--link); }
[data-look="nova"] .sh-back:hover { color: var(--green-text); }

/* Cards: white, 14 px, hairline, no shadow. */
[data-look="nova"] :is(.card, .kpi, .sc-card, .table-wrap, .ed-strip) { border-color: var(--border); box-shadow: none; }
[data-look="nova"] :is(.card, .kpi, .sc-card, .ed-strip) { border-radius: var(--radius-lg); }

/* Buttons and chips like the design (primary 13 px radius, chips as pills). */
[data-look="nova"] .btn { border-radius: var(--radius); font-weight: 600; }
[data-look="nova"] .btn-primary { border-radius: 13px; }
[data-look="nova"] .chip { border-radius: 999px; border-color: var(--border-strong); font-weight: 600; }
[data-look="nova"] .chip.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--green-text); }
[data-look="nova"] .tabs--pills .tab.is-active,
[data-look="nova"] .subnav-link.is-active,
[data-look="nova"] .nav-link.is-active { color: var(--green-text); }

/* Inputs: hairline-strong border, 10 px radius (the wizard design). */
[data-look="nova"] :is(.input, .input-affix) { border-color: var(--border-strong); border-radius: var(--radius); }

/* Phone: one thing per screen – the Farma hub / Viac menu replace the editor's pill navigation; the
   scenario header is one compact row (back link · save status · Asistent · ⋯) under the white top bar
   that names the farm. Farm name / location / author stay in the page title's tooltip-free places
   (Domov, Základ); the read-only and shared badges stay visible. */
@media (max-width: 768px) {
  [data-look="nova"] .ed-aside { display: none; }
  :root[data-look="nova"] { --header-h: 52px; }
  [data-look="nova"] .scenario-header > .container { padding-top: 8px; }
  [data-look="nova"] .sh-top { flex-wrap: nowrap; align-items: center; gap: 8px; }
  /* round-13 fix R13P-07: one row „‹ Scenáre · ✓ · Asistent · ⋯“ (the side keeps its width – the ✓ „Uložené“ never slides under
     „Asistent“), the badges (the mode „Prevádzka“ / „Simulácia“, „Zdieľaný“, „Len na čítanie“) on their own row below it */
  [data-look="nova"] .sh-top { flex-wrap: wrap; row-gap: 4px; }
  [data-look="nova"] .sh-titles { display: contents; }
  [data-look="nova"] .sh-back { order: 1; flex: 0 1 auto; min-width: 0; }
  [data-look="nova"] .sh-meta { order: 3; flex: 1 0 100%; min-width: 0; flex-wrap: wrap; gap: 4px 8px; }
  [data-look="nova"] .sh-meta .badge { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  [data-look="nova"] .sh-back { display: inline-flex; align-items: center; min-height: 44px; }
  [data-look="nova"] .sh-meta-item { display: none; }
  [data-look="nova"] .sh-side { order: 2; flex: 0 0 auto; width: auto; margin-left: auto; justify-content: flex-end; padding-top: 0; }
  [data-look="nova"] .sh-back { white-space: nowrap; }
  /* „Uložené“ as its check mark only (the word stays for screen readers and in the title). */
  [data-look="nova"] .sh-status .save-status--good > span:not([class]) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  [data-look="nova"] .sh-status .save-status--good { padding: 0 9px; }
}

/* Phone (touch): the editor sections inside the Farma / Viac tabs get the 44 px targets of the v2 screens
   (SPEC_V2 §0): filter chips, the include checkbox of a card (its label's hit area), row actions, folded
   explanations. Text links inside a sentence stay inline. */
@media (max-width: 768px) and (pointer: coarse) {
  [data-look="nova"] .view-editor .chip { min-height: 44px; }
  [data-look="nova"] .rt-cell--enabled { min-height: 44px; }
  [data-look="nova"] .rt-cell--enabled .rt-label { padding: 13px 0; }
  [data-look="nova"] .rt-cell--enabled .rt-label::before { left: -12px; width: 44px; }
  [data-look="nova"] .rt-row .rt-cell--actions .btn { width: 44px; height: 44px; }
  [data-look="nova"] .view-editor summary { min-height: 44px; }
  [data-look="nova"] .view-editor .btn { min-height: 44px; }
  /* Scenáre: header actions („Založiť farmu“, „Nový scenár“, „Importovať“) and the card buttons. */
  [data-look="nova"] .view-scenarios .btn { height: 44px; }
  [data-look="nova"] .view-scenarios .btn-icon { width: 44px; }
  /* Prehľad and Analýza (standalone and inside Financie): toolbar buttons, the period switch, the section jumps, the
     scenario chips, sliders and folded explanations. The meta link keeps its line, only its hit area grows. */
  [data-look="nova"] .view-dashboard .btn,
  [data-look="nova"] .view-dashboard .segmented-item,
  [data-look="nova"] .view-dashboard .db-jump-link,
  [data-look="nova"] .view-analysis .chip { min-height: 44px; }
  [data-look="nova"] .view-dashboard summary,
  [data-look="nova"] .view-analysis summary { min-height: 44px; display: flex; align-items: center; }
  [data-look="nova"] .view-analysis .slider-input { height: 44px; }
  [data-look="nova"] .view-dashboard .db-meta-link { min-height: 44px; }
}

/* ==========================================================================
   2. v2 building blocks (views/v2-ui.js) — both looks, colours through tokens
   ========================================================================== */

.v2-page { display: flex; flex-direction: column; gap: 16px; min-width: 0; max-width: 960px; }
.v2-page > * { min-width: 0; }

.v2-head { display: flex; flex-direction: column; gap: 6px; padding: 4px 4px 2px; }
.v2-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.v2-head-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-head-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.v2-eyebrow { color: var(--text-2); font-size: 13px; overflow-wrap: anywhere; }
.v2-title { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.v2-lead { margin: 0; max-width: 640px; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }

.v2-group-head {
  margin: 8px 4px 0;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Grouped list: one white card, rows divided by a hairline (Legislatíva design). */
.v2-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.v2-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--grid);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.v2-row:last-child { border-bottom: 0; }
.v2-row:hover { background: var(--surface-2); text-decoration: none; }
.v2-row:focus-visible, .v2-card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.v2-row-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grey-soft);
  color: var(--grey-text);
}
.v2-tone-green .v2-row-icon { background: var(--green-soft); color: var(--green-text); }
.v2-tone-brown .v2-row-icon { background: var(--brown-soft); color: var(--brown-text); }
.v2-row-text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 1px; min-width: 0; }
.v2-row-title { font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.v2-row-sub { color: var(--text-2); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.v2-row-count {
  flex: none;
  max-width: 42%;
  overflow: hidden;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-row-count.is-muted { color: var(--text-2); font-weight: 550; }
.v2-row-count.is-warn { background: var(--warning-soft); color: var(--warning-text); }
.v2-soon {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--grey-soft);
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.v2-row-chevron { display: grid; place-items: center; flex: none; color: var(--muted); }
.v2-row.is-soon .v2-row-title { color: var(--text-2); }
/* A narrow phone (≤ 360 px): the count („21 po lehote“, „31 kWh/deň“) gets its own line under the text, so a title like
   „Legislatíva“ never breaks inside the word (phone review 14 Oct 2026). */
@media (max-width: 360px) {
  .v2-row:has(> .v2-row-count:not([hidden])) { flex-wrap: wrap; row-gap: 4px; }
  .v2-row:has(> .v2-row-count:not([hidden])) > .v2-row-text { flex: 1 1 calc(100% - 84px); }
  .v2-row > .v2-row-count { order: 5; max-width: calc(100% - 50px); margin-left: 50px; }
  /* 320 – 360 px: „‹ Scenáre · ✓ · Asistent · ⋯“ still on one row (round-13 fix R13P-07) */
  [data-look="nova"] .sh-top { column-gap: 6px; }
  [data-look="nova"] .sh-side { gap: 4px; }
}

/* Card link (Farma hub): white card with the tone stripe on the left (Návrh design). */
.v2-card-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 76px;
  padding: 14px 14px 14px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--grey);
  border-radius: var(--radius-lg);
  color: var(--text);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.v2-card-link:hover { border-color: var(--border-strong); text-decoration: none; }
.v2-card-link.v2-tone-green { border-left-color: var(--green); }
.v2-card-link.v2-tone-brown { border-left-color: var(--brown); }
.v2-card-link:hover.v2-tone-green { border-left-color: var(--green); }
.v2-card-link:hover.v2-tone-brown { border-left-color: var(--brown); }

/* „Pripravuje sa“ */
.v2-soon-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.v2-soon-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--green-soft); color: var(--green-text); }
.v2-soon-title { margin: 0; font-size: 17px; font-weight: 700; }
.v2-soon-text { margin: 0; color: var(--text-2); }
.v2-soon-list { margin: 0; padding-left: 20px; color: var(--text-2); }
.v2-soon-list li { margin: 2px 0; }
.v2-soon-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.v2-soon-actions .btn { min-height: 44px; }

/* Farma hub */
.fh-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
@media (min-width: 720px) {
  .fh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.fh-more { display: flex; flex-direction: column; gap: 8px; }

/* Viac menu */
.vi-groups { display: flex; flex-direction: column; gap: 14px; }
.vi-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* Viac → Energia (views/viac.js energiaPage, design Energia.dc.html): the week's energy budget of the planner */
.vi-en-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.vi-en-card[hidden], .vi-en-tips[hidden], .vi-en-warn[hidden], .vi-en-card-sub[hidden] { display: none; }
.vi-en-card-title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
.vi-en-card-sub { margin: -6px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.4; }
.vi-en-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.vi-en-stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vi-en-stat-label { color: var(--text-2); font-size: 12.5px; }
.vi-en-stat-value { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.vi-en-stat[data-key="pv"] .vi-en-stat-value { color: var(--green-text); }
.vi-en-stat[data-key="need"] .vi-en-stat-value { color: var(--brown-text); }
.vi-en-days { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vi-en-day {
  display: grid;
  grid-template-columns: minmax(64px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  min-height: 44px;
  padding: 6px 12px;
  background: var(--surface-2);
  border-radius: 12px;
  font-size: 14px;
}
.vi-en-day.is-today { box-shadow: inset 0 0 0 2px var(--green); }
.vi-en-day-name { font-weight: 600; }
.vi-en-day-kwh { color: var(--text-2); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.vi-en-day-status { color: var(--text-2); font-size: 12.5px; text-align: right; }
.vi-en-day[data-status="ok"] .vi-en-day-status { color: var(--green-text); font-weight: 600; }
.vi-en-day[data-status="generator"] .vi-en-day-status { color: var(--warning-text); font-weight: 600; }
.vi-en-day[data-status="short"] .vi-en-day-status,
.vi-en-day[data-status="noPv"] .vi-en-day-status { color: var(--critical-text); font-weight: 600; }
.vi-en-tips, .vi-en-warn { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 13.5px; line-height: 1.45; }
.vi-en-tips li, .vi-en-warn li { margin: 2px 0; }
.vi-en-warn { color: var(--warning-text); }
.vi-en-nopv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vi-en-nopv-actions .btn { min-height: 44px; }
@media (max-width: 380px) {
  .vi-en-day { grid-template-columns: minmax(0, 1fr) auto; }
  .vi-en-day-kwh { grid-column: 1 / -1; grid-row: 2; }
}

/* Phone: the page uses the full width up to the 16 px gutter; titles as in the design. */
@media (max-width: 768px) {
  .v2-page { gap: 14px; }
  .v2-head { padding-inline: 4px; }
}

/* ==========================================================================
   Print: always the light paper (beats the Nova dark blocks above)
   ========================================================================== */
@media print {
  :root[data-look="nova"],
  :root[data-look="nova"]:not([data-theme="light"]),
  :root[data-look="nova"][data-theme="dark"] {
    color-scheme: light;
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #f6f4ee;
    --surface-3: #efece4;
    --input-bg: #ffffff;

    --text: #1b1a17;
    --text-2: #6b675e;
    --muted: #8c877c;
    --link: #2b7445;

    --border: #e6e2d8;
    --border-strong: #d6d1c4;
    --grid: #efece4;
    --axis: #d6d1c4;

    --accent: #2f7d4a;
    --accent-hover: #235e38;
    --accent-soft: #e4f1e8;
    --accent-contrast: #ffffff;
    --primary: #2f7d4a;
    --primary-hover: #235e38;
    --focus-ring: rgba(47, 125, 74, 0.35);

    --warning-text: #7a4f00;
    --warning-soft: #fff4e5;

    --brand: #2f7d4a;
    --brand-strong: #235e38;
    --brand-soft: #e4f1e8;

    --green: #2f7d4a;
    --green-text: #235e38;
    --green-soft: #e4f1e8;
    --green-tint: #eff6f1;
    --brown: #8a5a2b;
    --brown-text: #6f4620;
    --brown-soft: #f3e9dd;
    --brown-tint: #f9f4ed;
    --grey: #8c877c;
    --grey-text: #5b5852;
    --grey-soft: #efece4;
    --grey-tint: #f6f4ee;
    --income: var(--green);
    --cost: var(--brown);

    --toggle-off: #d6d1c4;

    --radius: 10px;
    --radius-sm: 8px;
    --radius-lg: 14px;
    --shadow-sm: none;
    --shadow: none;

    --font: -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  }
  html, body { background: #ffffff; }
}

/* Phone touch targets of the scenario toolbar (SPEC_V2 §0: ≥ 44 px): back link, Asistent, ⋯ Akcie. */
@media (max-width: 768px) and (pointer: coarse) {
  [data-look="nova"] .sh-back,
  [data-look="nova"] .scenario-header .btn { min-height: 44px; min-width: 44px; }
}
