/* Sprievodca (onboarding.html). Navrh: Claude Design, Onboarding Flow
   (26. 10. 2026). Desktop: panel krokov vlavo (sova, prihlasenie), vpravo
   Spat a KROK n Z 6. Mobil: kruhove Spat, sest pasikov a n Z 6.

   Nacitava sa AZ ZA landing.css a vsetko je pod body.onb, aby sa zmeny
   nedotkli landingu ani inych stranok. Farby z tokenov base.css. Akcent je
   vzdy znackova zlta; farba odboru ostava len na ikonach odborov (--tid). */

body.onb {
  --ob-sf2: #262B36; --ob-hov: #222733; --ob-on: #1A1200;
  background: var(--bg); color: var(--ink); overflow-x: hidden; min-height: 100%;
}
:root[data-theme=light] body.onb { --ob-sf2: #E9ECF1; --ob-hov: #F6F7F9; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme=dark]) body.onb { --ob-sf2: #E9ECF1; --ob-hov: #F6F7F9; }
}
body.onb [hidden] { display: none !important; }

@keyframes obIn { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
@keyframes obPop { 0% { transform: scale(.6); opacity: 0 } 60% { transform: scale(1.08) } 100% { transform: scale(1); opacity: 1 } }
@keyframes obOwl { from { transform: translateY(-4px) rotate(-2deg) } to { transform: translateY(4px) rotate(2deg) } }
@keyframes obPick { 0% { transform: scale(1) } 45% { transform: scale(1.02) } 100% { transform: scale(1) } }

/* ---- kostra -------------------------------------------------------------- */
.onb-shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }

.onb-rail {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; scrollbar-width: none;
  background: var(--bg2);
  padding: calc(28px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom)) calc(18px + env(safe-area-inset-left));
  display: flex; flex-direction: column; gap: 28px;
}
.onb .onb-rail .brand { margin: 0; padding: 0 10px; gap: 10px; }
.onb-rail .spark .ico { width: 30px; height: 30px; }
.onb .onb-rail .brand strong { font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.onb-rgroup { display: flex; flex-direction: column; gap: 4px; }
.onb-rlabel { margin: 0; padding: 0 12px 8px; font: 700 11px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

.onb-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.onb-stepbtn {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 12px;
  border: 0; border-radius: 16px; background: transparent; color: inherit; font: inherit; text-align: left;
  transition: background .2s;
}
button.onb-stepbtn { cursor: pointer; }
button.onb-stepbtn:hover, .onb-step.on .onb-stepbtn { background: var(--panel); }
.onb-num {
  width: 34px; height: 34px; flex: none; border-radius: 50%; box-sizing: border-box;
  /* --dim na --ob-sf2 ma len 4,47:1 — preto o stupen svetlejsie */
  background: var(--ob-sf2); color: var(--ink2);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800;
  transition: background .25s;
}
.onb-num .ico { width: 16px; height: 16px; stroke-width: 3.2; }
.onb-step.done .onb-num { background: var(--signal); color: var(--ob-on); }
.onb-step.on .onb-num { background: transparent; border: 2px solid var(--signal); color: var(--accent-text); }
.onb-stxt { display: flex; flex-direction: column; min-width: 0; }
.onb-slabel { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.onb-step:not(.on):not(.done) .onb-slabel { color: var(--dim); }
.onb-sval { font-size: 13px; color: var(--dim); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.onb-owl { margin-top: auto; display: flex; align-items: flex-end; gap: 10px; padding: 0 6px; }
.onb-owl img { width: 78px; height: auto; flex: none; animation: obOwl 2.8s ease-in-out infinite alternate; }
.onb-owl p { margin: 0; padding-bottom: 12px; display: flex; flex-direction: column; gap: 2px; }
.onb-owl span { font-size: 13px; color: var(--dim); }
.onb-owl a { font-size: 14px; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.onb-owl a:hover { text-decoration: underline; }

/* ---- pravy stlpec -------------------------------------------------------- */
.onb-main { min-width: 0; display: flex; flex-direction: column; }
.onb-top {
  height: 76px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: env(safe-area-inset-top) 56px 0;
}
.onb-back {
  height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 14px 0 8px;
  border: 0; border-radius: 14px; background: transparent; color: var(--ink);
  font: 700 15px/1 var(--font-sans); cursor: pointer; transition: background .2s;
}
.onb-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.onb-back:hover:not(:disabled) { background: var(--panel); }
.onb-back:disabled { color: var(--line2); cursor: default; }
.onb-prog { display: none; }
.onb-count { margin: 0; font: 700 13px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

.onb-wiz { flex: 1; padding: 8px 56px 56px; }
.onb-screen { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; animation: obIn .4s both; }

.onb .qhead { padding: 0; margin-bottom: 4px; display: flex; flex-direction: column; gap: 8px; }
.onb .qhead h1 { margin: 0; font-size: 42px; line-height: 1.06; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.onb .qhead h1:focus { outline: none; }
.onb .qheadrow { display: flex; align-items: center; gap: 18px; }
.onb .qheadrow .qhead { flex: 1; min-width: 0; }
.onb .qowl { flex: none; width: 96px; height: auto; animation: obPop .5s both; }
/* landing.css zuzi .choices na 640 px — v sprievodcovi idu cez cely stlpec ako v navrhu. */
.onb .choices { max-width: none; }
.onb .qhead .lede { margin: 0; max-width: none; font-size: 17px; line-height: 1.45; color: var(--ink2); text-wrap: pretty; }
.onb .eyebrow { margin: 0; font: 700 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.onb .eyebrow::after { display: none; }
.onb .seclabel { margin: 0; font: 700 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.onb .qfoot { padding: 0; display: block; }
.onb .fineprint { margin: 0; font: 400 13px/1.45 var(--font-sans); color: var(--mut); }
.onb .fineprint a { color: var(--accent-text); }
.onb .qwarn { margin: 0; }

.onb footer { background: none; border-top: 1px solid var(--line); padding: 22px 56px calc(28px + env(safe-area-inset-bottom)); }
.onb footer .wrap { padding: 0; max-width: none; }

/* ---- karty s moznostami ------------------------------------------------------
   landing.css ma vlastnu .choice (ram, fajka) — tu sa cela prepise. */
.onb .choices { display: grid; gap: 12px; padding: 0; }
.onb .choice {
  position: relative; display: flex; align-items: center; gap: 16px; width: 100%; min-height: 0;
  border: 0; border-radius: 24px; padding: 16px 20px; margin: 0;
  background: var(--panel); color: var(--ink); text-align: left; font: inherit; cursor: pointer;
  transition: background .2s, transform .2s;
}
.onb .choice:hover { background: var(--ob-hov); }
.onb .choice:active { transform: scale(.97); }
.onb .choice.on, .onb .choice.on:hover { background: var(--signal); color: var(--ob-on); }
.onb .choice.pop { animation: obPick .23s ease-out; }
.onb .choice span, .onb .choice strong { display: revert; margin: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.onb .choice .ctext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.onb .choice .ctext strong { font-size: 18px; font-weight: 800; line-height: 1.25; }
.onb .choice .ctext .chint { font-size: 15px; line-height: 1.4; opacity: .82; }
.onb .choice .cicon {
  width: 48px; height: 48px; flex: none; border-radius: 15px; background: var(--ob-sf2); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
}
.onb .choice .cicon .ico { width: 24px; height: 24px; stroke-width: 2; }
.onb .choice.on .cicon { background: #1A12001F; color: var(--ob-on); }
.onb .choice .ccode { font: 700 14px/1 var(--font-mono); opacity: .7; }

/* krajina: tri vysoke karty vedla seba, na mobile riadky */
.onb .choices.ctry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.onb .choice.country { flex-direction: column; align-items: flex-start; min-height: 230px; padding: 22px; }
.onb .choice.country .ccode {
  width: 56px; height: 56px; flex: none; border-radius: 18px; background: var(--ob-sf2); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font: 800 18px/1 var(--font-mono); opacity: 1;
}
.onb .choice.country.on .ccode { background: var(--ob-on); color: var(--signal); }
.onb .choice.country .ctext { gap: 4px; }
.onb .choice.country .ctext strong { font-size: 21px; letter-spacing: -.01em; }
.onb .choice.country .cex { display: block; font: 600 13px/1.3 var(--font-mono); opacity: .75; }

/* odbor: hladanie, skupiny, dlazdice */
.onb-search {
  height: 52px; border-radius: 16px; background: var(--panel); display: flex; align-items: center; gap: 10px; padding: 0 16px;
}
.onb-search:focus-within { box-shadow: 0 0 0 2px var(--signal); }
.onb-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--dim); stroke-width: 2.2; stroke-linecap: round; }
.onb-search input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ink);
  font: 500 16px var(--font-sans); -webkit-appearance: none; appearance: none;
}
.onb-search input::placeholder { color: var(--dim); }
.trgroup { display: flex; flex-direction: column; gap: 10px; }
.onb .choices.tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.onb .choice.tile { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 104px; border-radius: 20px; padding: 14px 12px; }
.onb .choice.tile .cicon { width: 42px; height: 42px; border-radius: 13px; background: color-mix(in srgb, var(--tid) 15%, transparent); color: var(--tid); }
.onb .choice.tile .cicon .ico { width: 22px; height: 22px; }
.onb .choice.tile.on .cicon { background: #1A12001F; color: var(--ob-on); }
.onb .choice.tile .tname { font-size: 14px; font-weight: 700; line-height: 1.25; text-wrap: balance; overflow-wrap: anywhere; }
.onb .choice.tile.soon { opacity: .62; }
.onb .choice.tile.soon .tname { color: inherit; }
.onb .choice .soonbadge {
  position: absolute; top: 12px; right: 10px; margin: 0; border: 0; border-radius: 6px; padding: 3px 6px;
  background: var(--ob-sf2); color: var(--ink2); font: 700 9px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal;
}
.onb-mlogin { display: none; margin: 4px 0 0; text-align: center; font-size: 15px; color: var(--dim); }
.onb-mlogin a { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.onb-nomatch { margin: 0; font-size: 15px; color: var(--dim); }
.onb .choice.none { min-height: 76px; border: 2px dashed var(--line); border-radius: 20px; padding: 14px 16px; gap: 14px; background: transparent; }
.onb .choice.none:hover { border-color: var(--dim); background: transparent; }
.onb .choice.none.on { background: var(--signal); }
.onb .choice.none .cicon { width: 42px; height: 42px; border-radius: 13px; background: var(--ob-sf2); color: var(--ink); font-size: 20px; font-weight: 800; }
.onb .choice.none .ctext { gap: 2px; }
.onb .choice.none .ctext strong { font-size: 17px; }
.onb .choice.none .ctext .chint { font-size: 14px; opacity: .8; }

/* pripravovany odbor */
.soonicon {
  width: 72px; height: 72px; border-radius: 22px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--tid) 15%, transparent); color: var(--tid);
}
.soonicon .ico { width: 36px; height: 36px; stroke-width: 2; }
.onb .soonscreen .qhead { gap: 10px; }
.onb .mailrow { display: flex; gap: 10px; flex-wrap: nowrap; max-width: none; margin: 0; }
.onb .mailrow input, .onb .savebox input.text {
  flex: 1; min-width: 0; height: 58px; box-sizing: border-box; border-radius: 18px; padding: 0 18px;
  background: var(--panel); border: 2px solid var(--line); color: var(--ink); font: 500 17px var(--font-sans); outline: none;
}
.onb .mailrow input:focus, .onb .savebox input.text:focus { border-color: var(--signal); }
.onb .mailrow .btn { background: var(--ob-sf2); border: 0; color: var(--dim); }
.onb .mailrow .btn.ready { background: var(--signal); color: var(--ob-on); }
.onb-okbox { display: flex; align-items: center; gap: 12px; border-radius: 20px; padding: 16px 18px; background: var(--ok-bg); color: var(--ok-ink); font-size: 15px; line-height: 1.45; animation: obPop .4s both; }
.onb-okbox .ico { width: 22px; height: 22px; stroke-width: 3; color: var(--ok-text); }

/* velke tlacidla navrhu */
.onb .onb-screen .btn {
  height: 58px; min-height: 0; padding: 0 24px; border: 0; border-radius: 18px;
  font: 800 16px/1 var(--font-sans); background: var(--signal); color: var(--ob-on); transition: background .2s, transform .2s;
}
.onb .onb-screen .btn:active { transform: scale(.97); }
.onb .onb-screen .btn.ghost { background: var(--panel); color: var(--ink); font-weight: 700; }
.onb .onb-screen .btn.ghost:hover { background: var(--ob-hov); }
.onb .onb-screen .btn:disabled { background: var(--ob-sf2); color: var(--dim); opacity: 1; cursor: default; transform: none; }
.onb-btnrow { display: flex; gap: 10px; }
.onb .onb-btnrow.cta .btn { flex: 1; font-size: 17px; }

/* uroven */
.onb .choice.level { min-height: 88px; padding: 18px 20px; gap: 18px; }
.onb .choice.level .ctext strong { font-size: 19px; }
.onb .choice .bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; flex: none; }
.onb .choice .bars i { width: 8px; border-radius: 3px; background: var(--ob-sf2); }
.onb .choice .bars i:nth-child(1) { height: 12px; }
.onb .choice .bars i:nth-child(2) { height: 20px; }
.onb .choice .bars i:nth-child(3) { height: 28px; }
.onb .choice .bars i.lit { background: var(--signal); }
.onb .choice.on .bars i { background: #1A120033; }
.onb .choice.on .bars i.lit { background: var(--ob-on); }
.onb .onb-screen .ltlink, .onb .planCta a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; height: auto; padding: 0 4px;
  background: none; color: var(--accent-text); font: 700 16px/1.3 var(--font-sans); text-decoration: none; text-align: left;
}
.onb .onb-screen .ltlink:hover, .onb .planCta a:hover { text-decoration: underline; }
.onb .ltlink svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ciel */
.onb .choice.goal { min-height: 84px; }

/* denne */
.onb .choice.daily { min-height: 92px; padding: 16px 22px; gap: 20px; }
.onb .choice .cbig { width: 64px; flex: none; font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.onb .choice .cweeks { font: 600 14px/1 var(--font-mono); opacity: .8; text-align: right; }
.onb .choice .recbadge {
  position: absolute; top: -10px; left: 22px; padding: 4px 8px; border-radius: 7px;
  background: var(--signal); color: var(--ob-on); font: 700 10px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal;
}

/* ---- test urovne --------------------------------------------------------- */
.lthead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.onb .lthead .eyebrow { color: var(--dim); }
.ltdots { display: flex; gap: 6px; flex-wrap: wrap; }
.ltdots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ob-sf2); transition: background .25s; }
.ltdots i.cur { background: var(--signal); }
.ltdots i.ok { background: var(--ok); }
.ltdots i.bad { background: var(--bad); }
.onb .ltcard { display: flex; align-items: center; gap: 20px; margin: 0; border: 0; border-radius: 28px; padding: 30px 32px; background: var(--panel); }
.ltq { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ltask { font-size: 15px; color: var(--dim); }
.onb .ltcard .ltde { margin: 0; font: 800 46px/1.05 var(--font-sans); letter-spacing: -.025em; overflow-wrap: anywhere; }
.onb .ltcard .ltde:focus { outline: none; }
.ltch { font: 600 16px/1.3 var(--font-mono); color: var(--ink2); }
.onb .ltcard .play { width: 64px; height: 64px; flex: none; border: 0; border-radius: 50%; background: var(--signal); color: var(--ob-on); }
.onb .ltcard .play .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.onb .ltcard .play:active { transform: scale(.92); }
.onb .choices.ltans { grid-template-columns: 1fr 1fr; gap: 10px; }
.onb .choice.compact { min-height: 64px; border: 0; border-radius: 18px; padding: 12px 18px; gap: 12px; font-size: 17px; font-weight: 700; }
.onb .choice.compact .ctext { font-size: 17px; font-weight: 700; flex-direction: row; }
.onb .choice .lkey {
  width: 30px; height: 30px; flex: none; border-radius: 10px; background: var(--ob-sf2);
  display: flex; align-items: center; justify-content: center; font: 700 13px/1 var(--font-mono);
}
.onb .choice.compact:disabled { color: var(--dim); background: var(--panel); transform: none; }
.onb .choice.compact.right, .onb .choice.compact.right:disabled { background: var(--ok); color: #0F1116; }
.onb .choice.compact.bad, .onb .choice.compact.bad:disabled { background: var(--bad); color: #0F1116; }
.onb .choice.right .lkey, .onb .choice.bad .lkey { background: #0F11161F; }
.onb .choice .lmark { display: flex; }
.onb .choice .lmark .ico { width: 22px; height: 22px; stroke-width: 3; animation: obPop .3s both; }
.ltskip { align-self: center; padding: 10px; border: 0; background: none; color: var(--dim); font: 700 15px var(--font-sans); cursor: pointer; }
.ltskip:hover { color: var(--ink); }
.ltfb { display: flex; align-items: center; gap: 14px; border-radius: 20px; padding: 14px 14px 14px 20px; animation: obIn .3s both; }
.ltfb > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ltfb strong { font-size: 17px; font-weight: 800; }
.ltfb span { font-size: 14px; line-height: 1.4; }
.ltfb.ok { background: var(--ok-bg); color: var(--ok-ink); }
.ltfb.bad { background: var(--bad-bg); color: var(--bad-ink); }
.onb .onb-screen .ltfb .btn { height: 50px; padding: 0 22px; border-radius: 15px; color: #0F1116; }
.onb .onb-screen .ltfb.ok .btn { background: var(--ok); }
.onb .onb-screen .ltfb.bad .btn { background: var(--bad); }

/* ---- zlte hlavicky (vysledok testu, plan) ------------------------------- */
.onb .yhero {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; margin: 0;
  border: 0; border-radius: 30px; padding: 30px 32px; background: var(--signal); color: var(--ob-on);
}
.onb .yhero::before { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: #1A120014; }
.onb .yhero > * { position: relative; }
.onb .yhero .eyebrow { color: var(--ob-on); }
.onb .yhero h1 { margin: 0; font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.onb .yhero h1:focus { outline: none; }
.onb .ltresult strong { font-size: 18px; font-weight: 700; }
.onb .ltresult p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.5; }
.ltscore { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 15px; font-weight: 700; }
.ltscore .ltdots i { width: 14px; height: 14px; background: #1A120033; }
.ltscore .ltdots i.ok { background: var(--ob-on); }

.onb .planhero { gap: 18px; }
.onb .planhero::before { right: -60px; top: -60px; width: 220px; height: 220px; }
.phtop { display: flex; flex-direction: column; gap: 6px; }
.phchips { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.phchips span { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 10px; background: #1A12001A; }
.phstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.phstats div { border-radius: 18px; background: #1A120012; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.phstats b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.phstats span { font-size: 14px; font-weight: 600; }

/* ulozenie planu */
.savebox { border-radius: 24px; background: var(--panel); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.savebox.idle, .savebox.done { flex-direction: row; align-items: center; gap: 14px; }
.savebox.done { gap: 16px; animation: obIn .35s both; }
.svtext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.svtext strong, .svtitle { font-size: 18px; font-weight: 800; }
.savebox.done .svtext strong { font-size: 19px; }
.svtext span { font-size: 15px; line-height: 1.45; color: var(--ink2); }
.onb .savebox .btn { flex: none; height: 56px; padding: 0 26px; font-size: 17px; }
.onb .savebox .saverow .btn { height: 58px; padding: 0 24px; font-size: 16px; }
.saverow { display: flex; gap: 10px; animation: obIn .3s both; }
.onb .savebox input.text { background: var(--bg); }
.onb .savebox input.codein { height: 64px; font: 700 28px var(--font-mono); letter-spacing: .4em; }
.onb .savebox .saverow .codein + .btn { height: 64px; }
.onb .onb-screen .btn.link.inline { display: inline; height: auto; padding: 0; background: none; color: var(--accent-text); font: 700 15px var(--font-sans); text-decoration: none; }
.svowl { width: 88px; height: auto; flex: none; animation: obPop .5s both; }
.onb .planCta { margin: -6px 0 0; }
.onb .planned { margin: 0; font-size: 14px; color: var(--mut); }

/* fazy planu */
.phases { display: flex; flex-direction: column; gap: 10px; }
.phase { border-radius: 22px; background: var(--panel); overflow: hidden; }
.phase summary {
  min-height: 76px; box-sizing: border-box; padding: 14px 18px; display: flex; align-items: center; gap: 14px;
  cursor: pointer; list-style: none; transition: background .2s;
}
.phase summary::-webkit-details-marker { display: none; }
.phase summary:hover { background: var(--ob-hov); }
.proman {
  width: 40px; height: 40px; flex: none; border-radius: 13px; background: var(--ob-sf2); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font: 800 14px/1 var(--font-mono);
}
.phase:first-of-type .proman { background: var(--signal); color: var(--ob-on); }
.pbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pbody strong { font-size: 17px; font-weight: 800; line-height: 1.3; }
.pmeta { font-size: 14px; color: var(--dim); }
.goaltag { flex: none; padding: 4px 8px; border-radius: 7px; background: var(--tint-signal-2); color: var(--accent-text); font: 700 10px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; }
.phase .chev { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--dim); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.phase[open] .chev { transform: rotate(180deg); }
.onb .chlist { list-style: none; margin: 0; padding: 0 18px 14px; animation: obIn .25s both; }
.onb .chlist li { border-top: 1px solid var(--line); }
.onb .chlist a, .onb .chlist li.known { min-height: 46px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); text-decoration: none; }
.onb .chlist .code { width: 46px; flex: none; padding: 0; border: 0; background: none; font: 600 12px/1 var(--font-mono); color: var(--dim); }
.onb .chlist .chname { flex: 1; min-width: 0; }
.onb .chlist a:hover .chname { color: var(--accent-text); }
.onb .chlist li.known { opacity: .5; }
.onb .chlist li.known .chname { text-decoration: line-through; }
.chtag { flex: none; padding: 3px 8px; border-radius: 8px; font-size: 12px; font-weight: 700; font-style: normal; background: var(--ob-sf2); color: var(--ink2); }
.chtag.goal { background: var(--tint-signal-2); color: var(--accent-text); }

/* gramatika */
.onb .gramrow { padding: 0; border: 0; background: none; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.gramhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gramhead span { font-size: 13px; color: var(--dim); }
.onb .gramrow ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.onb .gramrow li { color: var(--ink); font-size: 15px; border-radius: 18px; background: var(--panel); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.gwhere { font: 700 11px/1.2 var(--font-mono); color: var(--accent-text); }
.onb .gramrow li strong { font-size: 16px; font-weight: 800; }
.gex { font: 500 13px/1.4 var(--font-mono); color: var(--ink2); }

/* ---- uzsi desktop -------------------------------------------------------- */
@media (max-width: 1100px) {
  .onb-top, .onb footer { padding-left: 36px; padding-right: 36px; }
  .onb-wiz { padding: 8px 36px 48px; }
  .onb .choices.tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .onb .choices.ctry { grid-template-columns: 1fr; }
  .onb .choice.country { flex-direction: row; align-items: center; min-height: 96px; }
  .onb .choice.country .cex { display: none; }
}

/* ---- mobil: bez panela, hore Spat + pasiky ------------------------------- */
@media (max-width: 760px) {
  .onb-shell { display: block; }
  .onb-rail { display: none; }
  .onb-top { height: auto; padding: calc(14px + env(safe-area-inset-top)) 18px 0; gap: 12px; }
  .onb-back { width: 44px; height: 44px; flex: none; padding: 0; justify-content: center; border-radius: 50%; background: var(--panel); }
  .onb-back:disabled { background: transparent; }
  .onb-back svg { width: 22px; height: 22px; }
  .onb-back span { display: none; }
  .onb-prog { flex: 1; display: flex; gap: 5px; }
  .onb-prog i { flex: 1; height: 7px; border-radius: 4px; background: var(--ob-sf2); overflow: hidden; }
  .onb-prog b { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--signal); transition: width .35s cubic-bezier(.2, .8, .2, 1); }
  .onb-krok { display: none; }
  .onb-mlogin { display: block; }
  .onb-count { flex: none; min-width: 44px; text-align: right; }
  .onb-wiz { padding: 18px 18px 40px; }
  .onb footer { padding: 20px 18px calc(24px + env(safe-area-inset-bottom)); }
  .onb .qhead h1, .onb .yhero h1 { font-size: 30px; }
  .onb .qowl { width: 64px; }
  .onb .choices.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .onb .mailrow, .onb-btnrow, .saverow, .savebox.idle, .savebox.done { flex-direction: column; align-items: stretch; }
  .savebox.done { align-items: flex-start; }
  .onb .savebox.done .btn { align-self: stretch; }
  .onb .ltcard { padding: 22px; }
  .onb .ltcard .ltde { font-size: 34px; }
  .onb .choices.ltans { grid-template-columns: 1fr; }
  .onb .yhero { padding: 24px 22px; }
  .phstats b { font-size: 28px; }
  .onb .gramrow ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .onb-owl img, .svowl, .onb .qowl, .onb-screen, .onb .choice.pop, .onb-okbox, .ltfb, .saverow, .onb .chlist, .onb .choice .lmark .ico { animation: none; }
}
