/* ==========================================================================
   AI u pohovoru · příručka pro personalisty · v2 ve vzhledu webu Aibility
   Port Michalovy v2 (7. 10. 2026) na aibility.org/nabor/prirucka/cist; vrstva nad static/css/styles.css.
   A5 (148 × 210 mm), 16 stran. Na webu dvoustrany na krémovém rámu, v tisku a PDF po stranách.
   Všechny rozměry uvnitř stránky jsou v em: stránka má vždy 38 em na šířku (1 em ≈ 3,9 mm v tisku).
   Jazyk webu: bílé strany, fialová obálka a tmavá zadní strana v zaoblených rámech,
   krémové karty, pastelové dlaždice, ukázky appky na barevných plochách, Signika 500.
   Fráze „Umím s AI.“ nese škálu úrovní jako na landing pages v2 (.lvm, statický stav):
   prázdná s otazníkem = věta bez důkazu, naplněná do úrovně = výsledek testu.
   ========================================================================== */

body.prirucka-kniha {
  --pw: min(560px, calc((100vw - 136px) / 2));
  --gut-in: 3em;    /* vnitřní okraj u hřbetu */
  --gut-out: 2.6em; /* vnější okraj */
  /* úrovně metodiky stejně jako na aibility.org/nabor a v landing pages v2 */
  --lv0: #E6E1DA; --lv1: var(--purple-light); --lv2: var(--purple); --lv3: var(--purple-deep);
  --lime: #D8F542;      /* limetková z certifikátu Superpowered Professional: jen škála a odznak na fialové a tmavé */
  --q-bg: #F4EEFF;      /* odznak s otazníkem na světlé, kroužky s čísly */
  --track: #F1EEE9;     /* dráha ukazatele v appce */
  background: #FFFFFF;
}
@media (max-width: 1180px) { body.prirucka-kniha { --pw: min(600px, calc(100vw - 56px)); } }
.prirucka-kniha [hidden] { display: none !important; }

/* ---------- lišta (jako navigace webu) ---------- */
.bar {
  position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  min-height: 68px; padding: 10px var(--gutter);
  background: rgb(255 255 255 / 0.86); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
}
.bar-back { justify-self: start; font-size: 0.94rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color var(--t-fast); }
.bar-back:hover { color: var(--ink); }
.bar-back .short { display: none; }
.bar-t { margin: 0; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: 1.06rem; line-height: 1.2; letter-spacing: -0.01em; }
.bar-t span { display: block; font-family: var(--font-ui); font-weight: 400; font-size: 0.8rem; letter-spacing: 0; color: var(--ink-3); }
.bar .btn { justify-self: end; }
@media (max-width: 760px) {
  .bar { grid-template-columns: 1fr auto; min-height: 60px; }
  .bar-t { display: none; }
  .bar-back .long { display: none; }
  .bar-back .short { display: inline; }
}

/* ---------- kniha: dvoustrany na krémovém rámu ---------- */
.book {
  display: grid; justify-items: center; gap: 72px;
  margin: 0 var(--frame-gap) var(--frame-gap); padding: clamp(40px, 5vw, 72px) 16px clamp(72px, 8vw, 128px);
  border-radius: var(--frame-r); background: var(--frame-cream);
}
.spread { display: flex; }
.book > .pg, .spread { box-shadow: var(--sh-3); }
.pg {
  position: relative; width: var(--pw); aspect-ratio: 148 / 210; overflow: hidden; flex: none;
  display: flex; flex-direction: column; padding: 3.1em var(--gut-out) 3.8em;
  background: #FFFFFF; color: var(--ink); font-family: var(--font-ui); font-size: calc(var(--pw) / 38); line-height: 1.45;
  font-kerning: normal; font-variant-numeric: lining-nums;
}
.pg.v { padding-right: var(--gut-in); }
.pg.r { padding-left: var(--gut-in); }
.pg :is(p, h1, h2, h3, ul, ol, dl, dd, figure) { margin: 0; }
:where(.pg) :where(ul, ol) { list-style: none; padding: 0; }   /* nulová specificita: vlastní padding seznamů (.toc, .rules, .cvl) má přednost */
.pg :is(i, em) { font-style: normal; }
.pg a { color: inherit; }
/* hřbet: jemný stín ve žlábku dvoustrany (jen na webu) */
.spread .pg::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2em; pointer-events: none; z-index: 6; }
.spread .pg.v::after { right: 0; background: linear-gradient(90deg, transparent, rgb(27 27 27 / 0.045)); }
.spread .pg.r::after { left: 0; background: linear-gradient(270deg, transparent, rgb(27 27 27 / 0.06)); }
@media (max-width: 1180px) {
  .book { gap: 40px; }
  .spread { flex-direction: column; gap: 40px; box-shadow: none; }
  .spread .pg { box-shadow: var(--sh-3); }
  .spread .pg::after { display: none; }
}
/* telefon: stránky se roztáhnou podle obsahu a písmo zůstane čitelné */
@media (max-width: 560px) {
  .book { margin-inline: 8px; padding-inline: 10px; }
  .pg { aspect-ratio: auto; min-height: calc(var(--pw) * 1.3); font-size: 15px; padding-bottom: 4.4em; }
  /* obálka a zadní strana mají rám přes celou stranu: zůstanou ve formátu A5 a písmo se zmenší se stranou */
  .pg.cover, .pg.back { aspect-ratio: 148 / 210; min-height: 0; padding-bottom: 0; font-size: calc(var(--pw) / 38); }
}

/* ---------- společná typografie ---------- */
/* kapitola nahoře jako v e-booku na webu (.ch__k): mono, číslo ve fialové */
.ch { display: flex; align-items: baseline; gap: 0.6em; margin-bottom: 2.3em !important; font-family: var(--font-mono); font-size: 0.6em; letter-spacing: 0.02em; color: var(--ink-3); }
.ch b { font-weight: 500; color: var(--purple); }
/* patička: Geist Mono, tlumeně, číslo strany vně */
.run {
  position: absolute; left: var(--gut-out); right: var(--gut-in); bottom: 1.75em; display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 0.54em; letter-spacing: 0.02em; color: var(--ink-3);
}
.pg.r .run { left: var(--gut-in); right: var(--gut-out); flex-direction: row-reverse; }
.run b { font-weight: 500; color: var(--ink); }

.hd { margin-bottom: 0.55em !important; font-family: var(--font-display); font-weight: 500; font-size: 2.2em; line-height: 1.06; letter-spacing: -0.026em; color: var(--ink); text-wrap: balance; }
.hd .l2, .close .l2 { display: block; font-weight: 400; color: var(--ink-3); }
.dek { margin-bottom: 1.4em !important; font-size: 1em; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.tx { font-size: 0.86em; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.tx + .tx { margin-top: 0.7em !important; }
.tx b { color: var(--ink); font-weight: 500; }
/* štítek v kartě jako mono štítky ukázek appky */
.lbl { font-family: var(--font-mono); font-size: 0.52em; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); }
.src { font-size: 0.56em; line-height: 1.55; color: var(--ink-3); text-wrap: pretty; }
.pg .src a, .imprint a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.2em; }
.close { margin-top: auto !important; font-family: var(--font-display); font-weight: 500; font-size: 1.62em; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }

/* tečka úrovně */
.lvd { display: inline-block; flex: none; width: 0.62em; height: 0.62em; border-radius: 50%; background: var(--c, var(--lv0)); }
.lv0 { --c: var(--lv0); } .lv1 { --c: var(--lv1); } .lv2 { --c: var(--lv2); } .lv3 { --c: var(--lv3); }
.lvd.lv0, .lv0 .lvd { box-shadow: inset 0 0 0 1px rgb(27 27 27 / 0.14); }

/* ---------- fráze se škálou úrovní (statická verze .lvm z landing pages v2) ----------
   Škála je široká jako fráze. data-lv: 0 prázdná, 1 Explorer, 2 Operator, 3 Builder, 4 Transformer.
   <b> na konci je odznak s otazníkem (věta bez důkazu). Na fialové a tmavé jako škála na certifikátu. */
.phr { display: inline-grid; row-gap: 0.22em; width: fit-content; max-width: 100%; }
.phr-t { display: block; }
.lvm {
  --off: rgb(27 27 27 / 0.1); --on: var(--purple); --qb: var(--q-bg); --qf: var(--purple);
  --h: 0.13em; --gap: 0.1em; --q: 0.64em;
  display: flex; align-items: center; gap: var(--gap);
}
.lvm i { flex: 1 1 0; height: var(--h); min-height: 2px; border-radius: 8px; background: var(--off); }
.lvm[data-lv="1"] i:nth-child(-n+1), .lvm[data-lv="2"] i:nth-child(-n+2),
.lvm[data-lv="3"] i:nth-child(-n+3), .lvm[data-lv="4"] i { background: var(--on); }
.lvm > b { flex: none; display: grid; place-items: center; width: var(--q); height: var(--q); margin-left: calc(var(--gap) * 0.6); border-radius: 50%; background: var(--qb); color: var(--qf); line-height: 1; }
.lvm > b::before { content: "?"; font-family: var(--font-mono); font-size: calc(var(--q) * 0.6); font-weight: 500; letter-spacing: 0; }
.phr--xl .lvm { --h: max(3px, 0.085em); --gap: 0.07em; --q: 0.42em; }
.phr--lg .lvm { --h: max(3px, 0.095em); --gap: 0.075em; }
.phr--m .lvm { --h: max(3px, 0.15em); --gap: 0.1em; }
.phr--s .lvm { --h: 0.2em; --gap: 0.14em; --q: 0.98em; }
.phr--dark .lvm, .lvm--dark { --off: rgb(255 255 255 / 0.24); --on: var(--lime); --qb: var(--lime); --qf: var(--purple-deep); }
/* samostatná malá škála u názvu úrovně */
.lvm--s { --h: 0.3em; --gap: 0.14em; flex: none; width: 3.3em; }

/* ---------- barevná plocha s ukázkou (jako .stage na webu; bez filtrů, aby PDF zůstalo vektorové) ---------- */
.st { position: relative; overflow: hidden; isolation: isolate; border-radius: 1.5em; background: var(--paper-3); }
.st-f { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.st::before { content: ""; position: absolute; inset: -4%; z-index: -1; pointer-events: none; background: url("../assets/prirucka/contours-white.svg") center / cover no-repeat; opacity: 0.4; }

/* ---------- 1 · obálka: fialový rám ---------- */
.cover { padding: 0; }
.cv { position: absolute; inset: 0.8em; display: flex; flex-direction: column; padding: 2.3em 2.3em 2.2em; border-radius: 1.9em; background: var(--frame-purple); color: #FFFFFF; }
.cv-head { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.cv-brand, .bk-brand { display: inline-flex; align-items: center; gap: 0.6em; }
.cv-brand img, .bk-brand img { width: 2.1em; height: 2.1em; border-radius: 50%; }
.cv-brand > span, .bk-brand > span { display: grid; line-height: 1.15; }
.cv-brand b, .bk-brand b { font-weight: 500; font-size: 0.92em; letter-spacing: -0.015em; }
.cv-brand small, .bk-brand small { font-size: 0.68em; color: rgb(255 255 255 / 0.8); }
.cv-kind { font-family: var(--font-mono); font-size: 0.56em; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 0.86); text-align: right; }
.cv-foot { margin-top: 3.3em; }
.cv-title { font-family: var(--font-display); font-weight: 500; font-size: 4.3em; line-height: 0.98; letter-spacing: -0.035em; color: #FFFFFF; }
.cv-dek { margin-top: 0.5em !important; max-width: 16.5em; font-size: 1.2em; line-height: 1.38; color: rgb(255 255 255 / 0.88); text-wrap: balance; }
.cv-meta { display: flex; flex-wrap: wrap; gap: 0.4em 1.3em; margin-top: 1.25em !important; font-size: 0.74em; color: rgb(255 255 255 / 0.86); }
.cv-meta span { display: inline-flex; align-items: center; gap: 0.55em; }
.cv-meta span::before { content: ""; width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--p-green); }
.cv-stage { flex: 1; min-height: 0; margin-top: 2.6em; display: grid; justify-items: center; align-content: center; gap: 1.3em; padding: 2.2em 1.9em 2em; border-radius: 1.4em; }
.cv-card { width: 100%; padding: 1.25em 1.5em 1.55em; border-radius: 1.2em; background: #FFFFFF; color: var(--ink); box-shadow: var(--sh-3); }
.cv-tag { display: flex; justify-content: space-between; gap: 1em; font-family: var(--font-mono); font-size: 0.52em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); }
.cv-tag span + span { color: var(--ink-3); }
.cv-card .phr { margin-top: 0.36em; font-family: var(--font-display); font-weight: 500; font-size: 4em; line-height: 1.05; letter-spacing: -0.035em; }
.cv-lv { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4em; }
.cv-lv span { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 1em; border-radius: 8px; background: rgb(255 255 255 / 0.94); color: var(--ink-2); font-size: 0.66em; font-weight: 500; box-shadow: var(--sh-1); }

/* ---------- 2 · obsah ---------- */
.intro { margin-bottom: 1.9em !important; font-family: var(--font-display); font-weight: 500; font-size: 1.45em; line-height: 1.22; letter-spacing: -0.012em; text-wrap: pretty; }
.toc { padding: 0.45em 1.3em; border-radius: 1.4em; background: var(--frame-cream); }
.toc li + li { border-top: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 2.6em 1fr auto; column-gap: 0.75em; align-items: center; padding: 0.82em 0; text-decoration: none; }
.toc-n { grid-row: 1 / span 2; display: grid; place-items: center; width: 3.4em; height: 3.4em; border-radius: 50%; background: var(--q-bg); font-family: var(--font-mono); font-weight: 500; font-size: 0.62em; color: var(--purple); }
.toc-t { font-family: var(--font-display); font-weight: 500; font-size: 1.15em; line-height: 1.15; letter-spacing: -0.01em; }
.toc-d { grid-column: 2; margin-top: 0.15em; font-size: 0.74em; color: var(--ink-3); }
.toc-p { grid-column: 3; grid-row: 1 / span 2; font-family: var(--font-mono); font-size: 0.62em; color: var(--ink-3); }
.imprint { margin-top: auto !important; max-width: 31em; font-size: 0.62em; line-height: 1.6; color: var(--ink-3); }
.imprint b { color: var(--ink-2); font-weight: 500; }

/* ---------- 3 · stejná věta: krémový rám, čtyři bílé karty ---------- */
.spec { display: grid; gap: 0.7em; padding: 0.8em; border-radius: 1.5em; background: var(--frame-cream); }
.sp { display: grid; grid-template-columns: minmax(0, 1fr) 8.9em; gap: 1em; align-items: center; padding: 1.45em 1.3em 1.55em; border-radius: 1.1em; background: #FFFFFF; box-shadow: var(--sh-1); }
.sp-q { font-family: var(--font-display); font-weight: 500; font-size: 3em; line-height: 1.02; letter-spacing: -0.035em; white-space: nowrap; }
.sp-a { font-size: 0.74em; line-height: 1.4; color: var(--ink-2); }
.sp-a b { display: flex; align-items: center; gap: 0.55em; margin-bottom: 0.32em; font-family: var(--font-mono); font-weight: 500; font-size: 0.8em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }

/* ---------- 4 · proč teď: pastelové dlaždice ---------- */
.pull { margin-top: 1.05em !important; font-family: var(--font-display); font-weight: 400; font-size: 1.95em; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink-3); text-wrap: balance; }
.pull .key { font-weight: 500; color: var(--ink); }
.why { margin-top: auto; }
.why-h { margin-bottom: 0.7em !important; font-weight: 500; font-size: 0.8em; color: var(--ink); }
.why-g { display: grid; grid-template-columns: 1.22fr 1fr; gap: 0.55em; }
.ptile { display: flex; flex-direction: column; gap: 0.4em; padding: 1em 1.05em 1.05em; border-radius: 1.2em; background: var(--tile, var(--p-lilac)); color: var(--ink); }
.ptile--chart { grid-row: span 2; }
.ptile--yellow { --tile: var(--p-yellow); }
.ptile--blue { --tile: var(--p-blue); }
.ptile > b { font-family: var(--font-display); font-weight: 500; font-size: 2.3em; line-height: 0.95; letter-spacing: -0.03em; white-space: nowrap; }
.ptile > span { font-size: 0.72em; line-height: 1.4; }
.yrs { display: flex; align-items: flex-end; gap: 0.6em; height: 10em; padding-top: 1.5em; }
.yr { flex: 1; display: grid; grid-template-rows: 1fr auto; height: 100%; text-align: center; }
.yr i { position: relative; align-self: end; display: block; height: var(--h); border-radius: 0.4em 0.4em 0.18em 0.18em; background: rgb(255 255 255 / 0.66); }
.yr i b { position: absolute; left: 0; right: 0; top: -1.55em; font-family: var(--font-mono); font-weight: 500; font-size: 0.72em; color: var(--purple-deep); }
.yr.hot i { background: var(--purple); }
.yr span { padding-top: 0.5em; font-family: var(--font-mono); font-size: 0.5em; letter-spacing: 0.04em; color: var(--purple-deep); }
.why-c { margin-top: 0.75em !important; font-size: 0.72em; line-height: 1.45; }
.why .src { margin-top: 0.95em !important; }

/* ---------- 5 · sto teček ---------- */
.d100 { display: grid; grid-template-columns: repeat(10, 1fr); gap: 0.6em; width: 86%; margin: 0.3em 0 2em; }
.d100 i { aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.d100 i.lv0 { box-shadow: inset 0 0 0 1px rgb(27 27 27 / 0.1); }
.leg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding-top: 1em; border-top: 1px solid var(--line); }
.leg b { display: flex; align-items: center; gap: 0.32em; font-family: var(--font-display); font-weight: 500; font-size: 1.75em; line-height: 1; letter-spacing: -0.03em; }
.leg b .lvd { width: 0.4em; height: 0.4em; }
.leg span { display: block; margin-top: 0.4em; font-size: 0.7em; line-height: 1.35; color: var(--ink-2); }
.src--d100 { margin-top: 1.1em !important; }

/* ---------- 6–7 · úrovně ---------- */
/* typické SP Score: každá úroveň má vlastní řádek, protože se pásma podle metodiky překrývají */
.range { margin-bottom: 1.5em !important; padding: 0.9em 1.25em 0.8em; border-radius: 1.2em; background: var(--frame-cream); }
.range > .lbl { margin-bottom: 0.7em !important; }
.rg { --tk: 9.7em; --rh: 1.22em; position: relative; }
.rg::before {
  content: ""; position: absolute; top: 0; bottom: 1.55em; left: var(--tk); right: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 25% 100% repeat-x; box-shadow: inset -1px 0 var(--line);
}
.rg-row { position: relative; z-index: 1; display: grid; grid-template-columns: 6.7em 2.7em minmax(0, 1fr); column-gap: 0.3em; align-items: center; height: var(--rh); }
.rg-n { display: flex; align-items: center; gap: 0.5em; font-size: 0.7em; font-weight: 500; color: var(--ink); }
.rg-v { padding-right: 1.1em; font-family: var(--font-mono); font-size: 0.54em; color: var(--ink-3); text-align: right; }
.rg-t { position: relative; height: 100%; }
.rg-t::before, .rg-t i { content: ""; position: absolute; top: 50%; height: 0.5em; margin-top: -0.25em; border-radius: 8px; }
.rg-t::before { left: 0; right: 0; background: #FFFFFF; }
.rg-t i { left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); background: var(--c); }
.rg-row.lv0 .rg-t i { box-shadow: inset 0 0 0 1px rgb(27 27 27 / 0.12); }
.rg-ov { position: absolute; z-index: 0; top: calc(var(--rh) * 2); height: calc(var(--rh) * 2); left: calc(var(--tk) + (100% - var(--tk)) * 0.72); width: calc((100% - var(--tk)) * 0.06); border-radius: 0.2em; background: rgb(89 56 183 / 0.14); }
.rg-ax { position: relative; height: 1.2em; margin: 0.35em 0 0 var(--tk); border-top: 1px solid var(--line); }
.rg-ax span { position: absolute; left: calc(var(--x) * 1%); top: 0.55em; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.5em; color: var(--ink-3); }
.rg-ax span:first-child { transform: none; }
.rg-ax span:last-child { transform: translateX(-100%); }
.rg-note { margin-top: 0.5em; font-size: 0.64em; line-height: 1.45; color: var(--ink-3); text-wrap: pretty; }

/* karta úrovně: krémová, škála u názvu ukazuje úroveň */
.lvc { padding: 0.85em 1.15em 0.95em; border-radius: 1.2em; background: var(--frame-cream); }
.lvc + .lvc { margin-top: 0.6em; }
.lvc header { display: flex; align-items: center; gap: 0.6em; margin-bottom: 0.45em; }
.lvc-code { font-family: var(--font-mono); font-size: 0.56em; color: var(--ink-3); }
.lvc h3 { display: flex; align-items: center; gap: 0.32em; font-family: var(--font-display); font-weight: 500; font-size: 1.5em; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.lvc h3 .lvd { width: 0.4em; height: 0.4em; }
.lvc-sc { margin-left: auto; font-family: var(--font-mono); font-size: 0.54em; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.lvc-sc b { font-weight: 500; color: var(--ink); }
.def { font-size: 0.84em; line-height: 1.45; color: var(--ink); }
.say { margin: 0.4em 0 0.55em !important; font-family: var(--font-display); font-weight: 400; font-size: 1.12em; line-height: 1.25; color: var(--ink-2); }
.say .key { font-weight: 500; color: var(--ink); }
.sig { display: flex; flex-wrap: wrap; gap: 0.3em; }
.sig li { padding: 0.42em 0.66em; border-radius: 8px; background: #FFFFFF; white-space: nowrap; font-size: 0.64em; line-height: 1.3; color: var(--ink-2); }
.nb6 { margin-top: auto !important; padding-top: 0.8em; border-top: 1px solid var(--line); font-size: 0.78em; line-height: 1.5; color: var(--ink-2); }
.nb6 b { color: var(--ink); font-weight: 500; }
/* strana 6 nese graf, nadpis i dvě karty: hustší sazba, aby poznámka nepřetekla */
#s6 .range { margin-bottom: 1.2em !important; padding-bottom: 0.7em; }
#s6 .rg { --rh: 1.1em; }
#s6 .hd { font-size: 2.05em; }
#s6 .dek { margin-bottom: 1.1em !important; }
#s6 .lvc header { margin-bottom: 0.35em; }
#s6 .lvc + .lvc { margin-top: 0.5em; }
#s6 .say { margin: 0.32em 0 0.48em !important; font-size: 1.06em; }
#s6 .sig li { padding: 0.36em 0.8em; }
#s6 .nb6 { padding-top: 0.7em; font-size: 0.74em; }

/* pracovní list: lila karta s políčky k zaškrtnutí */
.sheet { margin-top: auto; padding: 1.15em 1.25em 0.95em; border-radius: 1.2em; background: var(--p-lilac); color: var(--ink); }
.sheet .lbl { color: var(--purple-deep); }
.sheet h3 { margin: 0.35em 0 0.3em !important; font-family: var(--font-display); font-weight: 500; font-size: 1.3em; line-height: 1.1; letter-spacing: -0.015em; }
.sheet .tx { margin-bottom: 0.55em !important; font-size: 0.74em; color: var(--purple-deep); }
.sheet li { display: grid; grid-template-columns: 1.1em minmax(0, 1fr) auto; gap: 0.75em; align-items: center; padding: 0.42em 0; border-top: 1px solid rgb(32 21 71 / 0.14); font-size: 0.74em; line-height: 1.3; }
.sheet li i { width: 1.1em; height: 1.1em; border-radius: 0.25em; background: #FFFFFF; box-shadow: inset 0 0 0 1.3px rgb(32 21 71 / 0.45); }
.sheet li b { font-family: var(--font-mono); font-weight: 500; font-size: 0.78em; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-deep); }

/* ---------- 8–9 · pět otázek ---------- */
.tip { margin-bottom: 0.6em; padding: 1.05em 1.25em 1.1em; border-radius: 1.2em; background: var(--purple-deep); color: #FFFFFF; }
.tip .lbl { color: var(--purple-light); }
.tip-q { margin: 0.45em 0 0.4em !important; font-family: var(--font-display); font-weight: 500; font-size: 1.32em; line-height: 1.15; letter-spacing: -0.014em; text-wrap: balance; }
.tip .tx { font-size: 0.76em; color: rgb(255 255 255 / 0.8); }
/* jedna otázka = jedna krémová karta; odpovědi s ikonami jako na webu (ano / ne) */
.qa { padding: 0.95em 1.15em 1em; border-radius: 1.2em; background: var(--frame-cream); }
.qa + .qa { margin-top: 0.6em; }
.qa header { display: flex; align-items: center; gap: 0.6em; margin-bottom: 0.5em; }
.qn { flex: none; display: grid; place-items: center; width: 2.9em; height: 2.9em; border-radius: 50%; background: var(--q-bg); font-family: var(--font-mono); font-weight: 500; font-size: 0.56em; color: var(--purple); }
.qd { font-family: var(--font-mono); font-weight: 500; font-size: 0.56em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.qt { margin-left: auto; max-width: 23em; font-size: 0.64em; line-height: 1.3; color: var(--ink-3); text-align: right; text-wrap: balance; }
.qq { margin-bottom: 0.65em !important; font-family: var(--font-display); font-weight: 500; font-size: 1.32em; line-height: 1.15; letter-spacing: -0.014em; text-wrap: balance; }
.qx { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1em; padding-top: 0.65em; border-top: 1px solid var(--line); }
.qx .lbl { display: flex; align-items: center; gap: 0.6em; margin-bottom: 0.45em !important; color: var(--ink); }
.qx .lbl::before { content: ""; flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; background: center / 64% no-repeat; }
.qx-ok .lbl::before { background-color: var(--sage-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232F6B3F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.qx-no .lbl::before { background-color: var(--paper-3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='%23494846' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.qx p:not(.lbl) { font-size: 0.76em; line-height: 1.45; color: var(--ink-2); }
.bridge { margin-top: auto !important; padding: 1.15em 1.35em 1.2em; border-radius: 1.4em; background: var(--p-lilac); font-size: 0.8em; line-height: 1.5; color: var(--ink); }
.bridge b { font-weight: 500; }

/* ---------- 10 · tři životopisy na barevné ploše a lupa ---------- */
.desk { flex: 1; min-height: 0; margin: 0 -0.5em 1em; border-radius: 1.6em; }
.fan { position: absolute; inset: 0; }
.cvx {
  position: absolute; width: 47%; height: 60%; padding: 6% 5.5%; overflow: hidden;
  border-radius: 0.8em; background: #FFFFFF; box-shadow: var(--sh-3); font-size: 0.74em; line-height: 1.3;
}
.cvx.c1 { left: 1.5%; top: 25%; transform: rotate(-6deg); }
.cvx.c2 { left: 26.5%; top: 16%; transform: rotate(1.5deg); z-index: 2; }
.cvx.c3 { left: 51.5%; top: 27%; transform: rotate(6deg); }
/* krajní karty ukazují text jen ve viditelné půlce */
.cvx.c1 > :not(.cvb) { margin-right: 48%; }
.cvx.c3 { text-align: right; }
.cvx.c3 > :not(.cvb) { margin-left: 48%; }
.cvn { margin-bottom: 0.15em !important; font-family: var(--font-display); font-weight: 500; font-size: 1.45em; line-height: 1.1; letter-spacing: -0.01em; }
.cvr { margin-bottom: 1em !important; color: var(--ink-3); }
.cvl { display: grid; gap: 0.62em; padding-top: 0.9em; border-top: 1px solid var(--line-soft); }
.cvl li { display: grid; gap: 0.12em; }
.cvl li > span { font-family: var(--font-mono); font-size: 0.74em; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.cvl .ai .phr { font-weight: 500; color: var(--ink); }
.cvx.c3 .cvl .ai .phr { justify-self: end; }
.cvb { position: absolute; left: 10%; right: 10%; bottom: 7%; height: 15%; border-radius: 3px; opacity: 0.7; background: repeating-linear-gradient(180deg, var(--paper-3) 0 0.55em, transparent 0.55em 1.25em); }
.cvx.c1 .cvb { right: 54%; }
.cvx.c3 .cvb { left: 54%; }
/* prostřední kartu zakrývá lupa: řádky pod ní a výplň se nekreslí, aby z lupy nevykukovaly useknuté */
.cvx.c2 .cvl li:nth-child(n+2), .cvx.c2 .cvb { visibility: hidden; }
/* lupa: bílý lem, pod ní výsledek testu ve fialové s limetkovou škálou (jako certifikát) */
.lens {
  position: absolute; z-index: 4; left: 50%; top: 53%; width: 15.6em; height: 15.6em; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: #FFFFFF;
  box-shadow: 0 0 0 0.42em #FFFFFF, var(--sh-3);
}
.cw { display: grid; justify-items: center; gap: 0.5em; width: 72%; text-align: center; }
.cw-l { font-family: var(--font-mono); font-size: 0.62em; letter-spacing: 0.14em; text-transform: uppercase; }
.cw .lvm { width: 5.6em; --h: 0.3em; --gap: 0.16em; }
.cw-s { display: grid; justify-items: center; font-family: var(--font-mono); font-size: 0.56em; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.82); }
.cw-s b { margin-bottom: 0.08em; font-family: var(--font-display); font-weight: 500; font-size: 5.8em; line-height: 0.95; letter-spacing: -0.03em; text-transform: none; color: #FFFFFF; }
.cw-t { font-size: 0.78em; font-weight: 500; line-height: 1.35; }
.lens-tag { position: absolute; z-index: 5; left: 50%; top: calc(53% + 8.5em); transform: translate(-50%, -50%); display: flex; }
.lens-tag span { padding: 0.62em 1.15em; border-radius: 8px; background: #FFFFFF; box-shadow: var(--sh-2); white-space: nowrap; font-family: var(--font-mono); font-size: 0.56em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); }
.art-cap { max-width: 30em; font-size: 0.7em; line-height: 1.45; color: var(--ink-3); text-wrap: balance; }

/* ---------- 11 · papír a práce ---------- */
.cmpx { width: 100%; margin-bottom: 1.5em; border-collapse: collapse; }
.cmpx th { padding: 0 0 0.65em; border-bottom: 1px solid var(--line); text-align: left; font-family: var(--font-mono); font-weight: 400; font-size: 0.52em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); }
.cmpx td { width: 50%; padding: 0.85em 1em 0.95em 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.8em; line-height: 1.4; color: var(--ink-2); }
.cmpx td:last-child { padding-right: 0; }
.cmpx td > b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.25em; line-height: 1.15; color: var(--ink); }
.cmpx td em { margin-top: 0.45em; font-weight: 500; color: var(--ink); }
.lvx { display: flex; align-items: center; gap: 0.4em; margin-bottom: 0.25em; font-family: var(--font-display); font-weight: 500; font-size: 1.25em; line-height: 1.15; color: var(--ink); }
.lvx .lvd { width: 0.42em; height: 0.42em; }
.lvx small { font-family: var(--font-mono); font-weight: 500; font-size: 0.6em; color: var(--ink-3); }
.lvx .lvm--s { width: 2.6em; margin-left: 0.2em; --h: 0.24em; }
.rules { counter-reset: r; margin-top: auto !important; padding: 0.35em 1.25em; border-radius: 1.2em; background: var(--frame-cream); }
.rules li { counter-increment: r; display: grid; grid-template-columns: 2em minmax(0, 1fr); padding: 0.62em 0; font-size: 0.84em; line-height: 1.4; color: var(--ink-2); }
.rules li + li { border-top: 1px solid var(--line); }
.rules li::before { content: "0" counter(r); padding-top: 0.15em; font-family: var(--font-mono); font-size: 0.8em; color: var(--purple); }
.rules b { font-weight: 500; color: var(--ink); }

/* ---------- 12–13 · výsledek ve vzhledu appky ---------- */
.res { display: grid; place-items: center; margin: 0.2em -0.5em 1.2em; padding: 2.1em 2.7em; }
.rc { width: 100%; padding: 1.2em 1.3em 1em; border-radius: 1.2em; background: #FFFFFF; box-shadow: var(--sh-3); }
.rc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; row-gap: 0.2em; padding-bottom: 0.85em; border-bottom: 1px solid var(--line-soft); }
.rc-k { grid-column: 1 / -1; margin-bottom: 0.75em !important; font-family: var(--font-mono); font-size: 0.5em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); }
.rc-lv { font-family: var(--font-display); font-weight: 500; font-size: 1.55em; line-height: 1; letter-spacing: -0.02em; color: var(--purple); }
.rc-sc { display: grid; justify-items: end; line-height: 1; }
.rc-sc b { font-family: var(--font-display); font-weight: 500; font-size: 2.4em; letter-spacing: -0.03em; color: var(--ink); }
.rc-sc span { margin-top: 0.35em; font-family: var(--font-mono); font-size: 0.5em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.rc-bar { grid-column: 1 / -1; position: relative; height: 0.36em; margin-top: 0.8em; overflow: hidden; border-radius: 8px; background: var(--track); }
.rc-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 61%; border-radius: inherit; background: #7CCB93; }
.rc dl { display: grid; padding: 0.3em 0 0.5em; }
.rc dl div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 0.7em; padding: 0.45em 0; }
.rc dl div + div { border-top: 1px solid var(--line-soft); }
.rc dt { padding-top: 0.35em; font-family: var(--font-mono); font-size: 0.5em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.rc dd { font-size: 0.74em; line-height: 1.4; color: var(--ink-2); }
.rc-q { padding: 0.8em 0.95em 0.85em; border-radius: 0.9em; background: var(--p-lilac); color: var(--purple-deep); }
.rc-q .lbl { color: var(--purple-deep); }
.rc-q ol { display: grid; gap: 0.35em; margin-top: 0.5em !important; counter-reset: q; }
.rc-q li { counter-increment: q; display: grid; grid-template-columns: 1.3em minmax(0, 1fr); font-weight: 500; font-size: 0.76em; line-height: 1.35; }
.rc-q li::before { content: counter(q); padding-top: 0.1em; font-family: var(--font-mono); font-size: 0.8em; }
.rc-f { display: flex; justify-content: space-between; gap: 1em; margin-top: 0.8em; padding-top: 0.75em; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 0.46em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
/* čísla 1–5: fialové kroužky jako aktivní krok na webu */
.cn { display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--purple); color: #FFFFFF; font-family: var(--font-mono); font-weight: 500; font-size: 0.6em; line-height: 1; }
.res .cn { position: absolute; z-index: 3; left: 4.5em; transform: translate(-50%, -50%); box-shadow: 0 0 0 0.3em #FFFFFF; }
.res .cn[data-cn="2"] { left: auto; right: 4.5em; transform: translate(50%, -50%); }
.nvr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5em 1.1em; align-items: start; margin-top: auto !important; padding-top: 0.9em; border-top: 1px solid var(--line); }
.nvr .lbl { padding-top: 0.55em; color: var(--ink-3); }
.nvr ul { display: flex; flex-wrap: wrap; gap: 0.35em; }
.nvr li { padding: 0.4em 0.85em; border-radius: 8px; background: var(--paper-2); font-size: 0.66em; color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgb(27 27 27 / 0.35); }
.nvr .tx { grid-column: 2; font-size: 0.7em; }

.lgd li { display: grid; grid-template-columns: 2.1em minmax(0, 1fr); gap: 0.5em; padding: 1.2em 0 1.25em; border-bottom: 1px solid var(--line); }
.lgd li:first-child { padding-top: 0.15em; }
.lgd .cn { margin-top: 0.1em; font-size: 0.66em; }
.lgd h3 { margin-bottom: 0.25em !important; font-family: var(--font-display); font-weight: 500; font-size: 1.32em; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
.lgd p { font-size: 0.84em; line-height: 1.45; color: var(--ink-2); }
.fair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55em; margin-top: auto !important; }
.fair p { padding: 1.05em 1.15em 1.15em; border-radius: 1.2em; font-size: 0.74em; line-height: 1.45; color: var(--ink); }
.fair-a { background: var(--p-green); }
.fair-b { background: var(--p-lilac); }
.fair b { display: block; margin-bottom: 0.4em; font-family: var(--font-display); font-weight: 500; font-size: 1.3em; line-height: 1.15; letter-spacing: -0.01em; }

/* ---------- 14 · jak začít ---------- */
.keys { display: flex; align-items: center; gap: 0.7em; margin: 0.2em 0 2em; font-size: 1.3em; }
.kc {
  display: inline-grid; place-items: end start; width: 5.2em; height: 3.9em; padding: 0.7em 0.85em; border-radius: 0.75em;
  background: #FFFFFF; box-shadow: 0 0 0 1px var(--line), 0 0.28em 0 var(--line), var(--sh-2); font-weight: 500; font-size: 0.9em; color: var(--ink);
}
.kc--v { place-items: center; width: 2.6em; height: 2.6em; padding: 0; background: var(--purple); color: #FFFFFF; font-family: var(--font-display); font-weight: 500; font-size: 1.5em; box-shadow: 0 0.2em 0 var(--purple-hover), var(--sh-btn, 0 10px 22px -10px rgb(89 56 183 / 0.65)); }
.keys > span:not(.kc) { font-family: var(--font-mono); color: var(--ink-3); }
.st3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; margin-bottom: 1.5em !important; counter-reset: s; }
.st3 li { counter-increment: s; font-size: 0.78em; line-height: 1.42; color: var(--ink-2); }
.st3 li::before { content: counter(s); display: grid; place-items: center; width: 2.3em; height: 2.3em; margin-bottom: 0.75em; border-radius: 50%; background: var(--purple); color: #FFFFFF; font-family: var(--font-mono); font-weight: 500; font-size: 0.8em; }
.st3 li + li::before { background: var(--q-bg); color: var(--purple); }
.st3 b { display: block; margin-bottom: 0.3em; font-family: var(--font-display); font-weight: 500; font-size: 1.2em; line-height: 1.12; color: var(--ink); }
.paste-st { margin: 0 -0.5em; padding: 1.6em 1.8em; }
.paste { width: 100%; padding: 1.05em 1.2em 1.1em; border-radius: 1.1em; background: #FFFFFF; box-shadow: var(--sh-3); }
.paste header { display: flex; justify-content: space-between; align-items: center; gap: 1em; margin-bottom: 0.6em; }
.paste-badge { padding: 0.35em 0.8em; border-radius: 8px; background: var(--p-green); color: #1D4D28; font-size: 0.56em; font-weight: 500; white-space: nowrap; }
.paste p:not(.lbl) { font-size: 0.74em; line-height: 1.5; color: var(--ink); }
.ph { padding: 0 0.3em; border-radius: 0.25em; background: var(--q-bg); color: var(--purple); }
.paste .lnk { display: inline-flex; align-items: center; gap: 0.5em; margin-top: 0.7em !important; padding: 0.45em 0.85em; border-radius: 8px; background: var(--q-bg); font-family: var(--font-mono); font-size: 0.62em; color: var(--purple); }
.lnk svg { width: 1.25em; height: 1.25em; }
.after { margin-top: 0.95em !important; font-size: 0.7em; line-height: 1.45; color: var(--ink-3); }
.after b { color: var(--ink); font-weight: 500; }

/* ---------- 15 · cena a další krok ---------- */
.tier3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5em; }
.tier3 > div { display: flex; flex-direction: column; padding: 1.15em 1.05em 1.2em; border-radius: 1.2em; background: var(--frame-cream); }
.tier3 .lbl { color: var(--ink-3); }
.tp { display: flex; align-items: baseline; gap: 0.25em; margin: 0.7em 0 0.55em !important; font-size: 0.72em; color: var(--ink-3); }
.tp b { font-family: var(--font-display); font-weight: 500; font-size: 3.9em; line-height: 0.9; letter-spacing: -0.04em; color: var(--ink); }
.te { margin-top: auto !important; font-size: 0.66em; line-height: 1.4; color: var(--ink-3); }
.tier3 .hi { background: var(--p-lilac); }
.tier3 .hi :is(.lbl, .tp, .te, .tp b) { color: var(--purple-deep); }
.price-n { margin-top: 1em !important; font-size: 0.8em; line-height: 1.5; color: var(--ink-2); }
.price-n b { color: var(--ink); font-weight: 500; }
/* další krok na tmavém rámu jako kontakt na landing page */
.next { margin-top: auto; padding: 1.35em 1.45em 1.3em; border-radius: 1.4em; background: var(--night); color: var(--ink-inv); }
.next .lbl { color: var(--purple-light); }
.next-h { margin: 0.45em 0 0.45em !important; font-family: var(--font-display); font-weight: 500; font-size: 1.62em; line-height: 1.06; letter-spacing: -0.022em; text-wrap: balance; }
.next-t { margin-bottom: 1.05em !important; font-size: 0.76em; line-height: 1.5; color: var(--inv-2); }
.next-t a { color: var(--ink-inv); text-decoration: underline; text-decoration-color: rgb(250 244 238 / 0.4); text-underline-offset: 0.2em; }
.next-t b { font-weight: 500; }
.next-f { display: flex; align-items: center; gap: 1.1em; padding-top: 1em; border-top: 1px solid rgb(250 244 238 / 0.14); }
.next-f p { font-size: 0.7em; line-height: 1.5; color: var(--inv-2); }
.next-url { display: flex; align-items: center; gap: 0.55em; width: fit-content; margin-bottom: 0.55em; padding: 0.6em 1.1em; border-radius: 8px; background: #FFFFFF; color: var(--ink) !important; text-decoration: none; font-size: 1.12em; }
.next-url b { font-weight: 500; }
.next-url svg { width: 1em; height: 1em; }
.qr { display: block; flex: none; width: 5.4em; height: 5.4em; padding: 0.35em; border-radius: 0.55em; background: #FFFFFF; }
.qr svg, .qr img { display: block; width: 100%; height: 100%; }

/* ---------- 16 · zadní strana: tmavý rám ---------- */
.back { padding: 0; }
.bk { position: absolute; inset: 0.8em; display: flex; flex-direction: column; padding: 3em 2.4em 2.2em; border-radius: 1.9em; background: var(--night); color: var(--ink-inv); }
.bk .phr { font-family: var(--font-display); font-weight: 500; font-size: 4.5em; line-height: 1.02; letter-spacing: -0.035em; }
.bk-h { margin-top: auto !important; font-family: var(--font-display); font-weight: 500; font-size: 2.1em; line-height: 1.05; letter-spacing: -0.028em; text-wrap: balance; }
.bk-h .l2 { display: block; font-weight: 400; }
.bk-t { margin-top: 0.8em !important; max-width: 22em; font-size: 0.92em; line-height: 1.55; color: var(--inv-2); text-wrap: pretty; }
.bk-f { display: flex; justify-content: space-between; align-items: flex-end; gap: 1em; margin-top: 2.6em; padding-top: 1.3em; border-top: 1px solid rgb(250 244 238 / 0.14); }
.bk-brand { margin-bottom: 1.1em; color: var(--ink-inv); }
.bk-brand small { color: var(--inv-3); }
.bk-f p { font-family: var(--font-mono); font-size: 0.58em; line-height: 1.75; letter-spacing: 0.03em; color: var(--inv-2); }
.bk-f a { color: var(--ink-inv); text-decoration: none; }
.bk-f .qr { width: 5.9em; height: 5.9em; }

/* ---------- brána (jen web): kapitola 1 zdarma, zbytek za e-mail ---------- */
.gate {
  width: min(1120px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start;
  padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--sh-2); scroll-margin-top: 96px;
}
.gate-k { margin: 0 0 14px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--purple); }
.gate h2 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1.06; letter-spacing: -0.024em; }
.gate-p { max-width: 32rem; margin: 0 0 22px; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); }
.gate-list { margin: 0; padding: 0; list-style: none; }
.gate-list li { display: grid; grid-template-columns: 2.6em 1fr; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.97rem; line-height: 1.4; }
.gate-list b { padding-top: 2px; font-family: var(--font-mono); font-weight: 500; font-size: 0.8rem; color: var(--purple); }
.lead-f { display: grid; gap: 16px; margin: 0; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-xl); background: var(--frame-cream); }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 0.9rem; font-weight: 500; }
.fld > span em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.fld :is(.input, .select) { width: 100%; min-height: 50px; background-color: #FFFFFF; }
.fld.bad .input { border-color: #B42318; box-shadow: 0 0 0 3px rgb(180 35 24 / 0.12); }
.lead-f .btn { justify-self: start; }
.fine { margin: 0; font-size: 0.8rem; line-height: 1.5; color: var(--ink-3); }
.fine a { color: var(--ink-2); }
.err { margin: 0; font-size: 0.9rem; color: #B42318; }
.done { display: grid; justify-items: start; gap: 14px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-xl); background: var(--night); color: var(--ink-inv); }
.done-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); }
.done-mark svg { width: 24px; height: 24px; }
.done-k { margin: 0; font-family: var(--font-mono); font-size: 0.8rem; color: var(--purple-light); }
.done h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1.05; letter-spacing: -0.02em; }
.done p { margin: 0; color: var(--inv-2); }
.done b { color: var(--ink-inv); overflow-wrap: anywhere; }
.done .row { gap: 10px; }
.done .fine { color: var(--inv-3); }
.done .fine a { color: var(--ink-inv); }
@media (max-width: 900px) { .gate { grid-template-columns: minmax(0, 1fr); } }

/* zamčené strany: první dvoustrana prosvítá a mizí pod bránou */
.locked { display: contents; }
body.gated .locked {
  position: relative; display: grid; justify-items: center; gap: 72px; max-height: 560px; overflow: hidden; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgb(0 0 0 / 0.5) 40%, transparent 92%); mask-image: linear-gradient(180deg, #000 0, rgb(0 0 0 / 0.5) 40%, transparent 92%);
}
body.gated .locked .pg > * { filter: blur(3.5px); }
body.gated .locked + .book-end { display: none; }
body.opening .locked .pg { animation: pgIn 0.9s var(--ease-out) both; }
@keyframes pgIn { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 1180px) { body.gated .locked { gap: 40px; } }

.book-end { display: grid; justify-items: center; gap: 16px; padding-top: 8px; text-align: center; }
.book-end p { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.25; color: var(--ink); max-width: 30rem; text-wrap: balance; }
.book-end .row { justify-content: center; gap: 10px; }

/* jedna strana samostatně (?strana=1): náhled pro galerii a dokumentovou reklamu */
body.solo { background: #FFFFFF; }
body.solo :is(.bar, .gate, .book-end) { display: none !important; }
body.solo .book { display: block; margin: 0; padding: 0; gap: 0; border-radius: 0; background: none; }
body.solo :is(.spread, .locked) { display: contents; }
body.solo .pg { display: none; width: 100vw; box-shadow: none; --pw: 100vw; }
body.solo .pg.on { display: flex; }

/* ---------- tisk a PDF ---------- */
@media print {
  @page { size: 148mm 210mm; margin: 0; }
  body.prirucka-kniha { --pw: 148mm; background: none; }
  html, body { background: none !important; }
  :is(.bar, .gate, .book-end, .start-foot) { display: none !important; }
  .book { display: block; margin: 0; padding: 0; border-radius: 0; background: none; }
  .spread, .locked, body.gated .locked { display: contents; }
  body.gated .locked .pg > * { filter: none; }
  .pg { width: 148mm; height: 210mm; aspect-ratio: auto; box-shadow: none !important; break-after: page; page-break-after: always; }
  .back { break-after: auto; page-break-after: auto; }
  .spread .pg::after { display: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* rozostřené stíny ukládá Chrome do PDF jako průhledné skupiny a Náhled či Acrobat je kreslí
     jako šedé obdélníky (hlavně u pootočených karet). V tisku proto jen ostrý stín bez rozostření. */
  body.prirucka-kniha {
    --sh-1: 0 0 0 1px rgb(27 27 27 / 0.07);
    --sh-2: 0 0 0 1px rgb(27 27 27 / 0.08), 0 2px 0 rgb(27 27 27 / 0.05);
    --sh-3: 0 0 0 1px rgb(27 27 27 / 0.08), 0 3px 0 rgb(27 27 27 / 0.06);
    --sh-btn: 0 2px 0 rgb(89 56 183 / 0.35);
  }
  .pg * { text-shadow: none !important; filter: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

@media (max-width: 560px) {
  .sp { grid-template-columns: minmax(0, 1fr); gap: 0.5em; }
  .sp-q { font-size: 2.3em; }
  .d100 { width: 100%; }
  .tp b { font-size: 2.8em; }
  .qx, .fair, .why-g, .st3 { grid-template-columns: minmax(0, 1fr); }
  .ptile--chart { grid-row: auto; }
  .res { padding: 1.6em 2.2em; }
  .rc { padding: 1.1em 1em 1em; }
  .rc dl div { grid-template-columns: minmax(0, 1fr); gap: 0.15em; }
  .res .cn { left: 1.85em; }
  .res .cn[data-cn="2"] { right: 1.85em; }
  .desk { min-height: 30em; font-size: 0.66em; }
  /* na A5 je tlačí ke spodku margin-top: auto; na telefonu roste strana s obsahem, takže potřebují pevnou mezeru */
  .pg :is(.imprint, .close, .why, .sheet, .bridge, .rules, .fair, .next, .nb6, .nvr) { margin-top: 1.8em !important; }
}

/* ---------- z brand kitu (css/kit.css): druhá věta nadpisu ---------- */
.prirucka-kniha :is(.display, .h1, .h2, .h3) .l2 { display: block; font-weight: 400; color: var(--ink-3); }


/* ==========================================================================
   Web 2027 (skupina BC, 23. 11. 2026): barvy a plochy příručky podle web2027 pravidel.
   Retired: pastely, #201547, #6712F5, limetková, pozadí polí. Plochy: bílá, krém #F7F5F2, #4A2C9E, #1B1B1B; rádius 8 px.
   Stránky A5 a jejich obsah zůstávají; mění se jen tokeny a plochy. Tisk a PDF z této stránky berou stejné barvy (PDF se musí vyrenderovat znovu).
   ========================================================================== */
body.prirucka-kniha {
  --purple: #5938B7; --purple-deep: #4A2C9E; --purple-hover: #4A2C9E; --purple-light: #E4DEF5;
  --lv0: #E6E1DA; --lv1: #9A948C; --lv2: #5938B7; --lv3: #1B1B1B;
  --lime: #FFFFFF; --q-bg: #F7F5F2; --track: #EFEBE5;
  --p-lilac: #F7F5F2; --p-blue: #F7F5F2; --p-peach: #F7F5F2; --p-green: #F7F5F2; --p-pink: #F7F5F2; --p-yellow: #F7F5F2;
  --sage-soft: #EFEBE5; --sage-deep: #4A2C9E;
  --frame-purple: #4A2C9E; --frame-cream: #F7F5F2; --paper-3: #F7F5F2;
}
.prirucka-kniha .st { border-radius: 8px; background: #F7F5F2; }
.prirucka-kniha .cv, .prirucka-kniha .pg.back .bk { border-radius: 8px; }
.prirucka-kniha .spread .pg.v::after, .prirucka-kniha .spread .pg.r::after { background: none; }
.prirucka-kniha .bar { background: #FFFFFF; backdrop-filter: none; -webkit-backdrop-filter: none; }
.prirucka-kniha .cv-title, .prirucka-kniha .hd, .prirucka-kniha .close { font-weight: 500; }
.prirucka-kniha .lbl, .prirucka-kniha .ch, .prirucka-kniha .cv-kind, .prirucka-kniha .cv-tag, .prirucka-kniha .sp-a b, .prirucka-kniha .sheet li b, .prirucka-kniha .qd { text-transform: none; letter-spacing: 0; }
.prirucka-kniha .toc-n, .prirucka-kniha .qn { border-radius: 8px; }
.prirucka-kniha .yr i b { color: var(--ink); }
.prirucka-kniha .yr.hot i b { color: #FFFFFF; }
.prirucka-kniha .toc a:hover { background: var(--p-lilac); }
.prirucka-kniha .next-url:hover, .prirucka-kniha .toc a:hover { color: var(--purple); }
