/* =========================================================
   Ze zaměření k nabídce stínění: pohled na fasádu za soumraku.
   Tmavá jako ostatní ukázky, tentokrát z materiálu oboru:
   antracit (RAL 7016, nejčastější barva boxů a lamel), hliník
   lamel a jedno teplé světlo, slunce, které ukazuje, kde je co řešit.
   Barvy výrobků nesou jen data: stejná barva je na fasádě, v legendě
   i v seznamu pozic. Písmo Barlow, jak bývá na štítcích a v katalozích.
   ========================================================= */

:root {
  color-scheme: dark;
  --noc:      #1d2225;  /* pozadí */
  --antracit: #2a3135;  /* panely */
  --fasada:   #343b40;  /* zeď domu */
  --pole:     #30383d;  /* pole k vyplnění */
  --hrana:    #3e474d;  /* vlasová linka */
  --hrana-2:  #5d686f;  /* rámy */
  --bila:     #f6f4ef;  /* nadpisy, hlavní akce */
  --text:     #e4e2dc;
  --tlumeny:  #a9b0b3;

  --slunce: #f2a63c;  /* jen pro to, co je potřeba řešit, a pro fokus */
  --sklo:   #7fa6bf;

  /* výrobky, jen data */
  --zaluzie: #c4c9cd;
  --screen:  #7fb3ad;
  --roleta:  #d9c3a0;

  --chyba: #ff9b8a;
  --uzke: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

  /* nabídka: jediný světlý papír na stránce */
  --papir: #ffffff;
  --papir-text: #1f2528;
  --papir-2: #5a6469;
  --papir-linka: #d6dbde;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--noc);
  color: var(--text);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
::selection { background: rgba(242, 166, 60, 0.35); color: #fff; }

h1, h2 { margin: 0; color: var(--bila); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.15; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: var(--bila); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--slunce); outline-offset: 2px; }
button, label { -webkit-tap-highlight-color: transparent; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
small { font-size: inherit; }

.noscript-note { padding: 14px 20px; background: var(--chyba); color: #2a0f0a; }

.sheet { max-width: 1240px; margin: 0 auto; padding: clamp(18px, 3.5vw, 40px) clamp(16px, 4vw, 40px) 0; }

/* ---------- Záhlaví ---------- */

.masthead { padding-bottom: clamp(24px, 3.5vw, 40px); }
.recipient {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  margin-bottom: clamp(22px, 4vw, 40px); padding-bottom: 10px;
  border-bottom: 1px solid var(--hrana);
  font-size: 0.92rem; color: var(--tlumeny);
}
.recipient b { color: var(--bila); font-weight: 600; overflow-wrap: anywhere; }
h1 {
  max-width: 17ch;
  font-size: clamp(2.1rem, 5.6vw, 4rem);
  line-height: 1.02; font-weight: 600; letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 1000px) { h1 { max-width: 20ch; } }
.standfirst { max-width: 60ch; margin-top: clamp(14px, 2vw, 22px); font-size: clamp(1.06rem, 1.6vw, 1.22rem); line-height: 1.5; color: var(--bila); }
.fineprint { max-width: 64ch; margin-top: 12px; font-size: 0.93rem; color: var(--tlumeny); }

/* ---------- Přepínač variant ---------- */

.seg legend { margin-bottom: 8px; font-size: 0.88rem; color: var(--tlumeny); }
.seg-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.seg label { cursor: pointer; min-width: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: block; height: 100%; padding: 8px 11px 9px;
  border: 1px solid var(--hrana-2); border-radius: 3px;
  font-size: 0.95rem; font-weight: 600; line-height: 1.25; color: var(--bila);
}
.seg span small { display: block; margin-top: 3px; font-family: var(--uzke); font-weight: 500; font-size: 0.88rem; color: var(--tlumeny); font-variant-numeric: tabular-nums; }
.seg label:hover span { border-color: var(--bila); }
.seg input:checked + span { background: var(--bila); border-color: var(--bila); color: var(--noc); }
.seg input:checked + span small { color: #4a5357; }
.seg input:focus-visible + span { outline: 2px solid var(--slunce); outline-offset: 2px; }
.variant-note { min-height: 3em; margin-top: 10px; font-size: 0.93rem; line-height: 1.5; color: var(--tlumeny); }

/* ---------- Fasáda a nabídka ---------- */

.bench { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1000px) {
  .bench { grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; align-items: start; }
}

.drawing { margin: 0; border: 1px solid var(--hrana-2); background: linear-gradient(#22292d, #1f2528 70%); }
.drawing svg { display: block; width: 100%; height: 420px; }

.legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 8px 12px 9px; list-style: none; border-top: 1px solid var(--hrana); font-family: var(--uzke); font-size: 0.9rem; color: var(--text); }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend li::before { content: ""; flex: none; width: 14px; height: 10px; border-radius: 1px; }
.lg-zaluzie::before { background: repeating-linear-gradient(var(--zaluzie) 0 1.5px, transparent 1.5px 3.5px); box-shadow: inset 0 0 0 1px var(--zaluzie); }
.lg-screen::before { background: var(--screen); opacity: 0.85; }
.lg-roleta::before { background: var(--roleta); }

/* rohové razítko výkresu */
.stamp {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0; border-top: 1px solid var(--hrana-2);
}
.stamp > div { padding: 7px 12px 9px; border-right: 1px solid var(--hrana); border-bottom: 1px solid var(--hrana); min-width: 0; }
.stamp .stamp-wide { grid-column: 1 / -1; border-right: 0; }
.stamp > div:nth-child(even):not(.stamp-wide) { border-right: 0; }
.stamp > div:nth-last-child(-n+2) { border-bottom: 0; }
.stamp dt { font-size: 0.78rem; color: var(--tlumeny); line-height: 1.4; }
.stamp dd { margin: 0; font-family: var(--uzke); font-size: 0.98rem; line-height: 1.35; color: var(--bila); font-variant-numeric: tabular-nums; }
@media (min-width: 720px) {
  .stamp { grid-template-columns: 1.5fr 0.7fr 1fr 0.9fr 1.2fr; }
  .stamp > div, .stamp > div:nth-child(even):not(.stamp-wide), .stamp .stamp-wide { grid-column: auto; border-right: 1px solid var(--hrana); border-bottom: 0; }
  .stamp > div:last-child { border-right: 0 !important; }
}

/* kresba fasády */
svg text { font-family: var(--uzke); font-size: 12.5px; fill: var(--text); font-variant-numeric: tabular-nums; }
.fa-roof { fill: #262c30; stroke: var(--hrana-2); stroke-width: 1; }
.fa-wall { fill: var(--fasada); stroke: var(--hrana-2); stroke-width: 1; }
.fa-floor { stroke: var(--hrana); stroke-width: 1; stroke-dasharray: 3 4; }
.fa-ground { stroke: var(--tlumeny); stroke-width: 1.4; }
.fa-level { fill: var(--tlumeny); font-size: 11.5px; }
.fa-glass { fill: var(--sklo); fill-opacity: 0.32; }
.fa-frame { fill: none; stroke: #8d979c; stroke-width: 1.2; }
.fa-dim { fill: var(--tlumeny); font-size: 11.5px; }
.fa-hit { fill: transparent; cursor: pointer; }

.sh-slats { fill: none; stroke-width: 1.1; }
.sh-zaluzie .sh-slats { stroke: var(--zaluzie); }
.sh-zaluzie .sh-bar { stroke: var(--zaluzie); }
.sh-roleta .sh-curtain { fill: var(--roleta); fill-opacity: 0.62; }
.sh-roleta .sh-slats { stroke: var(--noc); stroke-opacity: 0.45; stroke-width: 0.8; }
.sh-roleta .sh-bar { stroke: var(--roleta); }
.sh-fabric { fill: var(--screen); fill-opacity: 0.55; }
.sh-screen .sh-bar { stroke: var(--screen); }
.sh-bar { stroke-width: 2.6; }
.fa-rail { fill: none; stroke-width: 1.8; }
.fa-rail-zaluzie, .fa-box-zaluzie { stroke: var(--zaluzie); }
.fa-rail-screen, .fa-box-screen { stroke: var(--screen); }
.fa-rail-roleta, .fa-box-roleta { stroke: var(--roleta); }
.fa-box { fill: #474f54; stroke-width: 1; }
.fa-crank { fill: none; stroke: var(--bila); stroke-width: 1.4; stroke-linecap: round; }
.fa-motor { fill: var(--bila); fill-opacity: 0.85; }
.fa-antenna { fill: none; stroke: var(--bila); stroke-width: 1.2; stroke-linecap: round; }
.fa-num circle { fill: var(--noc); stroke: var(--tlumeny); stroke-width: 1; }
.fa-num text { fill: var(--bila); font-family: "Barlow", sans-serif; font-size: 12px; font-weight: 600; }
.fa-num.is-flag circle { fill: var(--slunce); stroke: var(--slunce); }
.fa-num.is-flag text { fill: var(--noc); }
.fa-sensor circle { fill: var(--slunce); }
.fa-sensor path { stroke: var(--slunce); stroke-width: 1.4; stroke-linecap: round; }
.fa-sensor text { fill: var(--tlumeny); font-size: 11.5px; }
@media (max-width: 559px) {
  .fa-num text { font-size: 10px; }
}

/* zvýraznění jedné pozice: ostatní ustoupí */
.okno, .poz-row { transition: opacity 0.16s linear, background-color 0.16s linear; }
.bench[data-hl] .okno { opacity: 0.28; }
.bench[data-hl="1"] .okno[data-poz="1"], .bench[data-hl="2"] .okno[data-poz="2"],
.bench[data-hl="3"] .okno[data-poz="3"], .bench[data-hl="4"] .okno[data-poz="4"],
.bench[data-hl="5"] .okno[data-poz="5"], .bench[data-hl="6"] .okno[data-poz="6"] { opacity: 1; }
.bench[data-hl="1"] .poz-row[data-poz="1"], .bench[data-hl="2"] .poz-row[data-poz="2"],
.bench[data-hl="3"] .poz-row[data-poz="3"], .bench[data-hl="4"] .poz-row[data-poz="4"],
.bench[data-hl="5"] .poz-row[data-poz="5"], .bench[data-hl="6"] .poz-row[data-poz="6"] { background: var(--antracit); }

/* seznam pozic */
.pozice { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--hrana); }
.poz-row {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: start;
  width: 100%; padding: 9px 8px 9px 4px;
  border: 0; border-bottom: 1px solid var(--hrana); background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.poz-row:hover, .poz-row[aria-pressed="true"] { background: var(--antracit); }
.poz-num {
  display: inline-grid; place-items: center; width: 22px; height: 22px; margin-top: 1px;
  border: 1px solid var(--tlumeny); border-radius: 50%;
  font-size: 0.8rem; font-weight: 600; line-height: 1; color: var(--bila);
}
.poz-name { line-height: 1.35; color: var(--bila); font-weight: 500; }
.poz-name small { display: block; margin-top: 2px; font-family: var(--uzke); font-weight: 400; font-size: 0.9rem; color: var(--tlumeny); }
.poz-kc { padding-top: 1px; white-space: nowrap; font-family: var(--uzke); font-size: 1.02rem; font-variant-numeric: tabular-nums; color: var(--bila); }

.sum { margin: 10px 0 0; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 8px 3px 38px; font-size: 0.95rem; }
.sum dt { color: var(--tlumeny); }
.sum dd { margin: 0; white-space: nowrap; font-family: var(--uzke); font-variant-numeric: tabular-nums; }
.sum .is-free dd { color: var(--tlumeny); }

.price {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px;
  margin-top: 12px; padding: 12px 8px 0 38px; border-top: 2px solid var(--bila);
}
.price span { color: var(--text); }
.price strong { font-size: clamp(1.95rem, 4vw, 2.35rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; color: var(--bila); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* úvod: stínění sjede z boxů, jedno okno po druhém */
.sh { transform-box: fill-box; transform-origin: 50% 0; }
.is-intro .sh { animation: stahnout 0.9s cubic-bezier(0.45, 0, 0.25, 1) backwards; }
@keyframes stahnout { from { transform: scaleY(0.02); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .is-intro .sh { animation: none !important; }
  .okno, .poz-row { transition: none; }
}

/* ---------- Údaje ---------- */

.inputs {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 40px;
  margin-top: clamp(32px, 5vw, 56px); padding: clamp(18px, 3vw, 32px);
  background: var(--antracit); border: 1px solid var(--hrana);
}
@media (min-width: 900px) { .inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.group-wide { grid-column: 1 / -1; }
.group legend { margin-bottom: 14px; font-size: 1.15rem; font-weight: 600; color: var(--bila); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.card { min-width: 0; padding: 10px 12px 14px; border: 1px solid var(--hrana); border-radius: 3px; background: var(--noc); }
.card-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: var(--bila); font-weight: 600; line-height: 1.25; }
.card-head small { margin-left: 8px; font-family: var(--uzke); font-weight: 400; font-size: 0.88rem; color: var(--tlumeny); }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 12px; align-items: end; }
.fields-inline { max-width: 290px; margin-top: 18px; grid-template-columns: minmax(0, 1fr); }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 4px; font-family: var(--uzke); font-size: 0.9rem; line-height: 1.3; color: var(--text); }
.field input, .field select {
  width: 100%; min-width: 0; height: 42px; padding: 0 10px;
  border: 1px solid var(--hrana-2); border-radius: 3px; background-color: var(--pole);
  color: var(--bila); font: inherit; font-family: var(--uzke); font-size: 1.02rem; font-variant-numeric: tabular-nums;
}
.field input { -moz-appearance: textfield; appearance: textfield; border: 0; background: none; }
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field select { padding-right: 26px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--tlumeny) 50%), linear-gradient(135deg, var(--tlumeny) 50%, transparent 50%); background-position: calc(100% - 15px) 19px, calc(100% - 10px) 19px; background-size: 5px 5px; background-repeat: no-repeat; text-overflow: ellipsis; }
.unit-field { display: flex; align-items: center; border: 1px solid var(--hrana-2); border-radius: 3px; background: var(--pole); }
.unit-field:focus-within { outline: 2px solid var(--slunce); outline-offset: 2px; }
.unit-field input:focus-visible { outline: none; }
.unit { flex: none; padding: 0 10px 0 2px; font-family: var(--uzke); font-size: 0.86rem; color: var(--tlumeny); }
.unit-field:has([aria-invalid="true"]) { border-color: var(--chyba); }
.field.is-unsure .unit-field, .field.is-unsure select { border-color: var(--slunce); border-style: dashed; }
.field.is-unsure label::after { content: " (ověřit)"; color: var(--slunce); }
.inputs-foot { grid-column: 1 / -1; }

/* živá cena: drží se u spodního okraje, dokud je formulář vidět */
.live {
  grid-column: 1 / -1; position: sticky; bottom: 0; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 28px;
  margin: 0 calc(-1 * clamp(18px, 3vw, 32px)) calc(-1 * clamp(18px, 3vw, 32px));
  padding: 10px clamp(18px, 3vw, 32px) 12px;
  background: var(--noc); border-top: 1px solid var(--hrana-2);
}
.live p { font-size: 0.92rem; color: var(--tlumeny); }
.live dl { display: flex; flex: 1 1 300px; justify-content: space-between; gap: 8px 24px; max-width: 600px; margin: 0; }
.live dl > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.live dt { font-family: var(--uzke); font-size: 0.9rem; color: var(--tlumeny); }
.live dd { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.live .is-picked dt { color: var(--bila); }
.live .is-picked dd { color: var(--bila); text-decoration: underline 2px var(--slunce); text-underline-offset: 5px; }
@media (max-width: 600px) {
  .live dl > div { display: block; }
  .live dt, .live dd { line-height: 1.3; }
  .live dd { font-size: 1rem; }
}

/* ---------- Tlačítka ---------- */

.btn {
  display: inline-block; padding: 11px 20px; border: 1px solid transparent; border-radius: 3px;
  font: inherit; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer;
}
.btn-solid { background: var(--bila); color: var(--noc); }
.btn-solid:hover:not(:disabled) { background: #fff; }
.btn-solid:disabled { background: var(--pole); color: var(--tlumeny); cursor: not-allowed; }
.btn-quiet { border-color: var(--hrana-2); background: transparent; color: var(--bila); }
.btn-quiet:hover { border-color: var(--bila); }
.btn-small { padding: 5px 12px; font-size: 0.92rem; }

/* ---------- Kontrola a nabídka ---------- */

.result { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: clamp(40px, 6vw, 72px); align-items: start; }
@media (min-width: 900px) { .result { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; } }
.check-lede { max-width: 52ch; margin-top: 10px; }
.rules { list-style: none; margin: 20px 0 20px; padding: 0; border-top: 1px solid var(--hrana); }
.rules li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--hrana); }
.rule-kind { align-self: start; padding-top: 1px; font-family: var(--uzke); font-size: 0.92rem; color: var(--tlumeny); }
.rule-overit .rule-kind { color: var(--slunce); font-weight: 600; }
.rule-clovek .rule-kind { color: var(--bila); font-weight: 600; }
.rule-text { max-width: 54ch; line-height: 1.45; }
@media (max-width: 480px) {
  .rules li { grid-template-columns: minmax(0, 1fr); }
  .rules li .btn { justify-self: start; margin-top: 4px; }
}
.check-state { min-height: 1.6em; margin-top: 12px; max-width: 54ch; color: var(--text); }

.paper { padding: clamp(20px, 3vw, 32px); background: var(--papir); color: var(--papir-text); }
.paper-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--papir-text); font-size: 0.93rem; }
.paper-head b { font-weight: 700; overflow-wrap: anywhere; }
.paper-head span { flex: none; color: var(--papir-2); }
.paper.is-ready .paper-head span { color: #1b6b3a; font-weight: 600; }
.paper h2 { margin-top: 18px; color: var(--papir-text); font-size: 1.5rem; }
.paper-part { margin-top: 6px; font-weight: 600; }
.paper-spec { color: var(--papir-2); font-size: 0.95rem; }
.paper table { width: 100%; margin-top: 18px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.paper th { padding: 6px 0; white-space: nowrap; border-bottom: 1px solid var(--papir-linka); font-size: 0.88rem; font-weight: 500; text-align: right; color: var(--papir-2); }
.paper td { padding: 10px 0; border-bottom: 1px solid var(--papir-linka); text-align: right; vertical-align: top; white-space: nowrap; font-weight: 700; }
.paper th:first-child, .paper td:first-child { text-align: left; }
.paper td:first-child { padding-right: 16px; white-space: normal; font-weight: 400; }
.paper td b { font-weight: 700; }
.paper td small { display: block; margin-top: 2px; font-size: 0.88rem; line-height: 1.4; color: var(--papir-2); }
.paper tr.is-picked td { background: #eef2f4; }
.paper tr.is-picked td:first-child { box-shadow: inset 3px 0 0 var(--papir-text); padding-left: 10px; }
.paper tr.is-picked td:last-child { padding-right: 8px; }
.paper-foot { margin-top: 14px; font-size: 0.88rem; color: var(--papir-2); }

/* ---------- Rozpis ---------- */

.parts { margin-top: clamp(40px, 6vw, 72px); }
.parts-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px 32px; }
.parts-lede { max-width: 60ch; margin-top: 10px; }
.parts-lede b { color: var(--bila); font-weight: 600; }
.parts-table { width: 100%; margin-top: 20px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.parts-table th { padding: 7px 12px 7px 0; border-bottom: 1px solid var(--hrana-2); font-family: var(--uzke); font-size: 0.9rem; font-weight: 500; text-align: left; color: var(--tlumeny); }
.parts-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hrana); vertical-align: top; }
.parts-table td:first-child { width: 3.5em; color: var(--bila); font-weight: 600; }
.parts-table td small { display: block; font-family: var(--uzke); font-size: 0.9rem; color: var(--tlumeny); }
.parts-table td:nth-child(3) { font-family: var(--uzke); font-size: 1.02rem; white-space: nowrap; color: var(--bila); }
@media (max-width: 559px) {
  .parts-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .parts-table, .parts-table tbody, .parts-table tr, .parts-table td { display: block; width: 100%; }
  .parts-table tr { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: 2px 8px; padding: 10px 0; border-bottom: 1px solid var(--hrana); }
  .parts-table td { padding: 0; border: 0; }
  .parts-table td:first-child { grid-row: span 3; width: auto; }
  .parts-table td:nth-child(n+3)::before { content: attr(data-l) ": "; font-family: var(--uzke); color: var(--tlumeny); }
}

/* ---------- V praxi ---------- */

.practice { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 56px; margin-top: clamp(48px, 7vw, 84px); }
@media (min-width: 900px) { .practice { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.practice-lede { max-width: 46ch; margin-top: 12px; }
.steps { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--hrana-2); }
.steps li { position: relative; padding: 0 0 18px 22px; max-width: 62ch; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: -6px; top: 9px; width: 10px; height: 10px; background: var(--noc); border: 2px solid var(--hrana-2); border-radius: 50%; }
.steps li:nth-child(3)::before { background: var(--bila); border-color: var(--bila); }
.steps b { color: var(--bila); font-weight: 600; }

.inside { margin-top: clamp(40px, 6vw, 72px); }
.claims-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 48px; margin-top: 18px; }
@media (min-width: 720px) { .claims-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.claims-head { font-weight: 600; color: var(--bila); }
.claims { margin: 8px 0 0; padding: 0; list-style: none; }
.claims li { padding: 8px 0; border-top: 1px solid var(--hrana); max-width: 56ch; }

/* ---------- Další krok a tiráž ---------- */

.next-step { max-width: 680px; margin-top: clamp(44px, 6vw, 72px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--hrana-2); }
.next-step > p:first-of-type { max-width: 58ch; margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hint { margin-top: 12px; font-size: 0.93rem; color: var(--tlumeny); }

.colophon { margin-top: clamp(40px, 6vw, 72px); padding-bottom: 44px; }
.colophon dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--hrana-2); background: var(--antracit); }
.colophon dl > div { padding: 10px 14px 12px; border-right: 1px solid var(--hrana); min-width: 0; }
.colophon dl > div:last-child { border-right: 0; }
.colophon dt { margin-bottom: 2px; font-size: 0.8rem; color: var(--tlumeny); }
.colophon dd { margin: 0; font-size: 0.95rem; line-height: 1.5; overflow-wrap: anywhere; }
.colophon dd b { font-weight: 600; color: var(--bila); }
@media (max-width: 720px) {
  .colophon dl { grid-template-columns: minmax(0, 1fr); }
  .colophon dl > div { border-right: 0; border-bottom: 1px solid var(--hrana); }
  .colophon dl > div:last-child { border-bottom: 0; }
}
