/* FVE Brain · Průvodce — design „Bílá místnost, černý přístroj" (9/2026).
   Sdílené tokeny s fvebrain.cz (apps/frontend/src/index.css). Bez Reactu, bez Tailwindu.
   Fonty servíruje frontend kontejner na stejném originu (/fonts/*). */

:root {
  --paper: #F7F8F8; --paper-2: #EDF0F2; --card: #FFFFFF;
  --ink: #10151B; --ink-2: #3A4450; --muted: #626B77;
  --rule: #DCE1E5; --rule-strong: #7D8895;
  --ember: #FFB020; --ember-text: #8F5D00;
  --gain: #2FBF71; --gain-deep: #1C7A4D; --loss-deep: #C93A3E;
  --volt: #39C0D8; --volt-text: #13687A;
  --steel-950: #0B0F16; --steel-800: #1A2230; --steel-700: #26303F; --steel-500: #4A5768; --steel-300: #96A2B4; --steel-100: #E8ECEF;
  --primary: var(--ink); --primary-fg: #FFFFFF;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --shadow-panel: 0 30px 60px -30px rgba(16, 21, 27, 0.45);
  color-scheme: light;
}
/* Světlé schéma je záměrně jediné (stejně jako výchozí stav fvebrain.cz); tmavý režim by přišel jen volbou uživatele, ne podle systému. */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-400-latin-ext.woff2') 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-400-latin.woff2') 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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-500-latin-ext.woff2') 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-500-latin.woff2') 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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-600-latin-ext.woff2') 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-600-latin.woff2') 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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-700-latin-ext.woff2') 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-700-latin.woff2') 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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400-latin-ext.woff2') 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400-latin.woff2') 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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-500-latin-ext.woff2') 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-500-latin.woff2') 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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-600-latin-ext.woff2') 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-600-latin.woff2') 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;
}

/* ---------- základ ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
a:hover { color: var(--ember-text); }
button { font-family: inherit; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1 { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 16px; max-width: 24ch; text-wrap: balance; }
h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 12px; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember-text); font-weight: 600; margin: 0 0 14px; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; margin: 0 0 24px; text-wrap: pretty; }
.note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.pill { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--rule-strong); color: var(--ink-2); padding: 3px 8px; border-radius: 999px; }

/* ---------- tlačítka a odkazy ---------- */
.btn, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 8px; border: 1px solid var(--primary);
  background: var(--primary); color: var(--primary-fg);
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.btn:hover, .btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--primary-fg); }
.btn.ghost, .btn-secondary {
  background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); font-weight: 500;
}
.btn.ghost:hover, .btn-secondary:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-sm { height: 40px; padding: 0 14px; font-size: 14px; }
.link-rule { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 1px; }
.link-rule:hover { color: var(--ink); border-color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- hlavička, drobečky, patička ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-head__row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; min-height: 64px; flex-wrap: wrap; padding: 8px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand__name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand__tag { font-size: 13px; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--rule); }
.crumbs { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ember-text); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.site-head__links { display: flex; align-items: center; gap: 16px; margin-left: auto; }
@media (max-width: 760px) { .crumbs { display: none; } .brand__tag { display: none; } }

.subnav { position: sticky; top: 64px; z-index: 19; background: var(--paper); border-bottom: 1px solid var(--rule); }
.subnav .wrap { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 6px 0; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: 9px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.subnav a:hover { background: var(--paper-2); color: var(--ink); }
.subnav a.cta { margin-left: auto; background: var(--primary); color: var(--primary-fg); font-weight: 600; }
.subnav a.cta:hover { background: var(--ink-2); }
@media (max-width: 760px) { .subnav { top: 0; } }

.section-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 16px; font-size: 15px; }
.section-nav a { text-decoration: none; font-weight: 500; color: var(--ink); max-width: 48%; }
.section-nav a:hover { color: var(--ember-text); }
.section-nav a.next { margin-left: auto; text-align: right; }
.section-nav small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; font-weight: 500; }

.site-foot { border-top: 1px solid var(--ink); margin-top: 56px; padding: 22px 0 40px; font-size: 13px; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-foot a { color: var(--ink-2); }

/* ---------- rozcestník ---------- */
.hub { padding: 40px 0 8px; }
.list-rows { border-top: 1px solid var(--ink); margin: 0; padding: 0; list-style: none; }
.list-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.list-rows h3 { margin: 0 0 2px; font-size: 18px; }
.list-rows p { margin: 0; color: var(--muted); font-size: 15px; }
.list-rows .format { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
@media (max-width: 560px) { .list-rows li { grid-template-columns: 1fr; } }

/* ---------- interaktivní mapa ---------- */
.hero { padding: 40px 0 8px; }
.scene-switch { display: inline-flex; gap: 8px; margin-bottom: 18px; }
.scene-switch button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-strong); background: transparent; color: var(--ink); font: 500 14px var(--sans); cursor: pointer; }
.scene-switch button[aria-pressed="true"] { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); font-weight: 600; }

.map-stage { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); background: var(--steel-950); }
.map-stage img.base, .map-stage img.dusk { width: 100%; height: auto; transition: opacity 0.6s ease; }
.map-stage img.dusk { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.map-stage.evening img.dusk { opacity: 1; }
.map-stage.evening img.base { opacity: 0.15; }
.flows { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow { fill: none; stroke: var(--gain); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 7 8; opacity: 0; }
.flow.on { opacity: 0.95; animation: dash 1.6s linear infinite; }
.flow.grid { stroke: var(--steel-300); }
.flow.batt { stroke: var(--volt); }
@keyframes dash { to { stroke-dashoffset: -30; } }
@media (prefers-reduced-motion: reduce) { .flow.on { animation: none; } }
.pin {
  position: absolute; z-index: 3; transform: translate(-50%, -50%);
  border: 1px solid rgba(16, 21, 27, 0.12); background: #FFFFFF; color: #10151B;
  padding: 6px 10px 6px 8px; border-radius: 999px; display: flex; align-items: center; gap: 6px;
  font: 600 12.5px/1 var(--sans); box-shadow: 0 6px 16px rgba(16, 21, 27, 0.22); white-space: nowrap; cursor: pointer;
}
.pin i { width: 8px; height: 8px; border-radius: 50%; background: #96A2B4; display: inline-block; }
.pin[data-role="produce"] i { background: #FFB020; }
.pin[data-role="consume"] i { background: #2FBF71; }
.pin[data-role="peak"] i { background: #39C0D8; }
.pin[hidden] { display: none !important; }
.pin[aria-pressed="true"] { background: #10151B; color: #FFFFFF; border-color: #10151B; }
@media (max-width: 880px) { .pin { font-size: 0; padding: 8px; } .pin i { margin: 0; } }

.legend-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 2px 0; font-size: 13.5px; color: var(--muted); }
.legend-bar b { color: var(--ink-2); font-weight: 600; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.sw.y { background: var(--ember); } .sw.g { background: var(--gain); } .sw.o { background: var(--volt); } .sw.b { background: var(--steel-300); }

.hours { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 20px 0 0; border-top: 1px solid var(--ink); }
.hours button { border: 0; border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule); background: transparent; padding: 12px; text-align: left; font: 500 14px/1.3 var(--sans); color: var(--ink-2); cursor: pointer; }
.hours button:first-child { border-left: 0; }
.hours button small { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.hours button[aria-pressed="true"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 3px 0 var(--ink); }
.hours button[aria-pressed="true"] small { color: var(--ember-text); }
@media (max-width: 880px) {
  .hours { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours button:first-child { grid-column: span 2; }
  .hours button:nth-child(2n) { border-left: 0; }
}

.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; margin: 24px 0 0; }
@media (max-width: 880px) { .grid-2 { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.panel img { width: 100%; height: 200px; object-fit: cover; }
.panel .body { padding: 18px 20px 20px; }
.panel h2 { font-size: 24px; margin: 0 0 6px; }
.panel ul, .panel ol { padding-left: 20px; margin: 0 0 8px; }
.panel li { margin: 4px 0; color: var(--ink-2); }
.kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.kicker:first-child { margin-top: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.tag { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2); background: var(--paper); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--steel-300); display: inline-block; margin-right: 6px; }
.tag.y::before { background: var(--ember); } .tag.g::before { background: var(--gain-deep); } .tag.o::before { background: var(--volt-text); } .tag.b::before { background: var(--steel-500); }
.meter { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--rule-strong); display: inline-block; padding: 3px 8px; border-radius: 6px; }

.decision, .verdict { background: var(--steel-950); color: var(--steel-100); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: var(--shadow-panel); padding: 22px 24px; }
.decision h3, .verdict h2 { color: #FFFFFF; }
.decision h3 { font-size: 20px; margin-bottom: 10px; }
.decision ol { margin: 0; padding-left: 20px; }
.decision li { margin: 8px 0; }
.decision strong { color: #FFFFFF; }
.decision .now, .verdict .now { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--mono); font-size: 13px; color: var(--ember); }
.decision .pill, .verdict .pill { border-color: rgba(255, 255, 255, 0.3); color: var(--ember); }
.decision .btn.ghost, .verdict .btn.ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.3); }

section.block { padding: 56px 0 8px; scroll-margin-top: 120px; }
.hero { scroll-margin-top: 120px; }
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.row .num { font-family: var(--mono); font-size: 24px; font-weight: 500; color: var(--ember-text); line-height: 1; }
.row h3 { margin: 0 0 4px; }
.row p { margin: 0; color: var(--ink-2); }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.cols-2 > * { padding: 20px 24px 20px 0; }
.cols-2 > * + * { border-left: 1px solid var(--rule); padding-left: 24px; padding-right: 0; }
.cols-2 h3 { margin-bottom: 8px; }
.cols-2 p { color: var(--ink-2); margin: 0; }
.cols-2 .kicker { margin-top: 0; }
@media (max-width: 720px) { .cols-2 { grid-template-columns: 1fr; } .cols-2 > * + * { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; } }

.band { background: var(--paper-2); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 48px 0; margin-top: 56px; }
.band ol { margin: 0 0 22px; padding-left: 22px; max-width: 70ch; }
.band li { margin: 6px 0; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.script { margin-top: 24px; border-top: 1px solid var(--rule-strong); padding-top: 16px; color: var(--ink-2); font-size: 15.5px; max-width: 70ch; }
.script strong { color: var(--ink); }

/* ---------- návrh schématu ---------- */
.schema-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; margin: 8px 0 48px; }
@media (max-width: 980px) { .schema-grid { grid-template-columns: 1fr; } }
label.field { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
input[type="text"], input[type="number"], input:not([type]), select {
  border: 1px solid var(--rule-strong); background: var(--card); color: var(--ink); border-radius: 8px; padding: 9px 10px;
  font: 15px var(--sans); min-width: 0; width: 100%;
}
.site-card { border: 1px solid var(--rule); border-radius: 10px; padding: 12px; margin: 10px 0; background: var(--card); }
.site-card .row1, .site-card .row2 { display: grid; gap: 10px; margin-top: 8px; }
.site-card .row1 { grid-template-columns: 1.4fr 1fr auto; align-items: end; }
.site-card .row2 { grid-template-columns: 1fr 1fr 1fr 1fr auto; align-items: end; }
.site-card label { display: flex; flex-direction: column; gap: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.site-card input[type="checkbox"] { width: 18px; height: 18px; margin: 10px 0; }
.site-card .btn { height: 40px; padding: 0 14px; font-size: 14px; }
@media (max-width: 720px) { .site-card .row1, .site-card .row2 { grid-template-columns: 1fr 1fr; } }
.flags { display: flex; flex-wrap: wrap; gap: 16px; margin: 12px 0; }
.flags label { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.flags input { width: 18px; height: 18px; }
.verdict h2 { font-size: 26px; margin: 10px 0 8px; }
.verdict p { color: var(--steel-100); }
.bar { height: 8px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.bar > span { display: block; height: 100%; background: var(--gain-deep); }
.alloc-row { margin: 10px 0; font-size: 15px; }
.alloc-row em { float: right; font-style: normal; font-family: var(--mono); }
.warn { color: var(--ember-text); }
.msg-block { color: var(--loss-deep); }

/* ---------- tiskové listy (A4) ---------- */
.sheet { background: var(--card); color: var(--ink); margin: 24px auto 40px; padding: 10mm; border: 1px solid var(--rule); box-shadow: 0 20px 40px -30px rgba(16, 21, 27, 0.35); }
.sheet h1 { font-size: 20pt; max-width: none; margin: 0; line-height: 1.12; }
.sheet h2 { font-size: 12.5pt; margin: 0 0 2mm; }
.sheet p, .sheet li { font-size: 9.5pt; line-height: 1.4; margin: 0 0 2mm; color: var(--ink-2); }
.sheet .brand-line { font-family: var(--mono); font-size: 8.5pt; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember-text); margin-bottom: 2mm; }
.sheet .box { border: 1px solid var(--rule); border-radius: 3mm; padding: 3.5mm; }
.sheet .box.ok { border-color: var(--gain-deep); }
.sheet .box.no { border-color: var(--loss-deep); }
.sheet footer, .sheet .sheet-foot { margin-top: 5mm; font-family: var(--mono); font-size: 8pt; color: var(--muted); display: flex; justify-content: space-between; gap: 4mm; flex-wrap: wrap; }
.sheet ol, .sheet ul { margin: 0; padding-left: 4.5mm; }
.print-hint { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (max-width: 820px) { .sheet { width: auto !important; min-height: 0 !important; margin: 16px 0 24px; } }

@media print {
  .site-head, .subnav, .section-nav, .actions, .hours, .scene-switch, .no-print, .site-foot, .print-hint { display: none !important; }
  body { background: #fff; color: #000; }
  .sheet { width: auto !important; margin: 0; padding: 0; border: 0; box-shadow: none; background: #fff; }
  .map-stage { box-shadow: none; }
  section.block { break-inside: avoid; }
  .schema-grid { display: block; }
  .schema-form { display: none !important; }
  .verdict, .decision { background: #fff; color: #000; border: 1px solid #000; box-shadow: none; }
  .verdict h2, .decision h3, .decision strong, .verdict p { color: #000; }
}

/* glyf značky: čtverec = inkoust, prostřední pruh = papír (v tmavém schématu se otočí jako v aplikaci) */
.brand .g-bg { fill: var(--ink); } .brand .g-1 { fill: #FFB020; } .brand .g-2 { fill: var(--paper); } .brand .g-3 { fill: #96A2B4; }
