/* Veřejné stránky: vstupní stránka pro zájemce, vstup kódem, zpětná vazba (design manuál, kap. 10.1 a 10.2). */

.site, .lp { min-height: 100dvh; background: var(--bg); color: var(--text); }
.site-in { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wide-btn { width: 100%; }
.wide-btn + .wide-btn { margin-top: 8px; }

/* hlavička: bílá, nejvýš 64 px */
.site-head { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.site-head .site-in { height: calc(var(--hud-h) - 1px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.site-logo b { font-family: var(--font-display); font-weight: 800; font-size: var(--text-md); letter-spacing: -.02em; white-space: nowrap; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: var(--radius-md); white-space: nowrap; }
.site-nav a:hover { background: var(--surface-2); color: var(--text); }
/* přepínač rolí na přihlašovacích stránkách */
.role-switch { padding: 3px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-2); gap: 2px; }
.role-switch a { padding: 6px 12px; border-radius: var(--radius-sm); font-size: var(--text-sm); }
.role-switch a.on { background: var(--surface); color: var(--brand); font-weight: 700; box-shadow: var(--shadow-xs); }
.entry-about { margin: -6px 0 14px; }
@media (max-width: 520px) { .site-head:has(.role-switch) .site-logo b { display: none; } }
.btn-link { text-decoration: none; flex: none; }
.site-foot { padding: 20px 0 32px; }
.site .credit, .lp .credit { text-align: center; font-size: var(--text-sm); color: var(--text-subtle); margin: 0; }
.site .credit a, .lp .credit a { color: var(--text-muted); }

/* úvod: dva sloupce od 1024 px */
.lp-hero { padding: 40px 0 44px; background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); }
.lp-hero-grid { display: grid; gap: 32px; align-items: center; }
.lp-hero h1 { font-size: 1.875rem; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 14px; max-width: 18ch; }
.lp-lead { font-size: var(--text-md); color: var(--text-muted); line-height: 1.55; max-width: 52ch; margin: 0; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lp-cta a { text-decoration: none; }
.lp-big { min-height: 48px; padding: 0 22px; font-size: var(--text-md); }
.lp-proofs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-muted); font-size: var(--text-sm); font-weight: 500; }
.lp-proofs li { display: inline-flex; align-items: center; gap: 6px; }
.lp-check { color: var(--ok); flex: none; }

/* maketa kokpitu */
.lp-mock { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-md); display: grid; gap: 14px; max-width: 480px; width: 100%; justify-self: center; }
.lp-mock-head { display: flex; align-items: center; gap: 12px; }
.lp-mock-head > div { flex: 1; min-width: 0; line-height: 1.25; }
.lp-mock-head b { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); }
.lp-mock-head small { color: var(--text-subtle); font-size: var(--text-xs); }
.lp-mock-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--sec-soft); color: var(--sec-text); flex: none; }
.lp-mock-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-mock-kpi .tile { box-shadow: none; background: var(--bg); }
.lp-mock-kpi .value { font-size: var(--text-md); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lp-mock-wf h4 { margin: 0 0 8px; font-size: var(--text-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-subtle); }
.lp-mock .wf-row { grid-template-columns: minmax(110px, 34%) 1fr auto; font-size: var(--text-sm); }
.lp-mock .wf-track { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.lp-mock .wf-track i { width: var(--w); border-radius: 5px; background: var(--bad); animation: lp-grow .55s cubic-bezier(.16, 1, .3, 1) var(--d) both; transform-origin: left; }
.lp-mock .wf-row.in .wf-track i { background: var(--brand); }
.lp-mock .wf-row.sum .wf-track i { background: var(--ok); }
.lp-mock .wf-row b { font-size: var(--text-sm); min-width: 92px; }
@keyframes lp-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* sekce */
.lp-sec { padding: 44px 0; scroll-margin-top: var(--hud-h); }
.lp-alt { background: var(--surface); border-block: 1px solid var(--border); }
.lp-sec h2 { font-size: var(--text-xl); letter-spacing: -.02em; margin: 0 0 20px; }
.lp-grid { display: grid; gap: 16px; }
.lp-step span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-text); font: 800 var(--text-md) var(--font-display); }
.lp-step h3, .lp-pkg h3 { margin: 12px 0 6px; font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); }
.lp-step p, .lp-pkg p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.lp-step, .lp-pkg, .lp-variant { margin: 0; padding: 20px; }
.lp-tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; background: var(--surface-2); border-radius: var(--radius-full); padding: 4px; }
.lp-tabs button { border-radius: var(--radius-full); border-color: transparent; background: transparent; color: var(--text-muted); gap: 8px; }
.lp-tabs button.on { background: var(--surface); color: var(--brand-text); border-color: var(--border); box-shadow: var(--shadow-xs); }
.lp-variant { display: grid; gap: 16px; background: var(--bg); box-shadow: none; }
.lp-variant p { margin: 0 0 6px; line-height: 1.55; color: var(--text-muted); }
.lp-variant .lp-tag { font-weight: 600; color: var(--text); }
.lp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-list li { display: flex; gap: 8px; align-items: flex-start; }
.lp-list .lp-check { margin-top: 3px; }
.lp-pkg { display: flex; flex-direction: column; gap: 6px; }
.lp-pkg h3 { margin-top: 0; }
.lp-pkg .lp-list { margin: 10px 0 16px; }
.lp-pkg button { margin-top: auto; width: 100%; }
.lp-pkg.main { border-color: var(--brand-border); box-shadow: 0 0 0 1px var(--brand-border), var(--shadow-xs); }
.lp-pkg.sel { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.lp-price { font: 700 var(--text-lg) var(--font-display); color: var(--text) !important; letter-spacing: -.01em; }
.lp-small { font-size: var(--text-sm); color: var(--text-subtle); margin: 14px 0 0; }
.lp-narrow { max-width: 600px; }
.lp-form-intro { margin-bottom: 14px; }
.lp-pair { display: grid; gap: 0 14px; }
.lp-consent { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-sm); font-weight: 400; color: var(--text-muted); margin: 4px 0 14px; }
.lp-consent input { margin-top: 3px; flex: none; }
.lp-submit { width: 100%; min-height: 44px; }
.lp .field, .entry .field { margin-bottom: 12px; }
.lp .field > label, .entry .field > label { display: block; margin-bottom: 5px; font-size: var(--text-sm); font-weight: 500; color: var(--text-muted); }

/* vstup kódem, přihlášení organizátora, zpětná vazba */
.entry { max-width: 472px; margin-inline: auto; padding: 28px 16px 32px; }
/* účet učitele na počítači: přehled přes celou šířku, formuláře ve středním sloupci */
.entry.mid { max-width: 760px; }
.entry.dash { max-width: 1200px; padding-inline: 24px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.dash-head h1 { margin: 0; font-size: var(--text-xl); letter-spacing: -.02em; }
.dash-head p { margin: 2px 0 0; }
.dash-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-card { margin: 0 0 16px; padding: 18px 20px; }
.dash-card h2 { margin: 0 0 12px; font-size: var(--text-md); }
.dash-empty { text-align: center; padding: 36px 20px; }
.dash-empty p { margin: 0 auto 16px; max-width: 46ch; }
.dash-list, .dash-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dash-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--border); }
.dash-list li:first-child { border-top: 0; padding-top: 0; }
.dash-list .muted, .dash-mini .muted, .dash-note { font-size: var(--text-sm); }
.dash-mini li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-note { margin: 10px 0 0; }
.dash-scroll { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th { text-align: left; font-size: var(--text-xs); font-weight: 600; color: var(--text-muted); padding: 0 12px 8px 0; }
.dash-table td { padding: 10px 12px 10px 0; border-top: 1px solid var(--border); vertical-align: middle; font-size: var(--text-sm); }
.dash-table td:last-child { padding-right: 0; text-align: right; white-space: nowrap; }
.dash-stored summary { cursor: pointer; font-weight: 600; }
.dash-stored[open] summary { margin-bottom: 12px; }
.dash-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.dash-grid .dash-card { margin: 0; }
@media (min-width: 760px) { .entry.mid .team-pick { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .entry.mid .team-pick label { align-items: flex-start; } }
/* telefon: řádek tabulky se složí pod sebe, tlačítka zůstanou v jedné řadě pod názvem */
@media (max-width: 639px) {
  .entry.dash { padding-inline: 16px; }
  .dash-table thead { display: none; }
  .dash-table, .dash-table tbody, .dash-table tr, .dash-table td { display: block; }
  .dash-table tr { padding: 12px 0; border-top: 1px solid var(--border); }
  .dash-table tr:first-child { border-top: 0; padding-top: 0; }
  .dash-table td { border: 0; padding: 0 0 4px; }
  .dash-table td:nth-child(2), .dash-table td:nth-child(3) { display: inline; color: var(--text-muted); }
  .dash-table td:nth-child(2)::after { content: " · "; }
  .dash-table td:last-child { text-align: left; white-space: normal; padding: 8px 0 0; }
  .dash-table .row-actions { justify-content: flex-start; }
}
.entry-lead { text-align: center; color: var(--text-muted); font-size: var(--text-md); margin: 0 0 18px; }
.entry-cards { display: grid; gap: 16px; margin-bottom: 18px; }
.entry-card { margin: 0; padding: 22px; }
.entry-card h2 { display: flex; align-items: center; gap: 8px; }
.entry-card h2 .ico { color: var(--brand); }
.entry-card > .muted { margin-bottom: 14px; }
.code-input { font-family: var(--font-mono); font-weight: 700; font-size: 1.375rem; letter-spacing: .16em; text-transform: uppercase; text-align: center; min-height: 56px; background: var(--surface); }
.code-input::placeholder { color: var(--border-strong); }
.entry .steps { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--text-muted); }
.entry .steps li { display: flex; gap: 10px; align-items: flex-start; }
.entry .steps .ico { color: var(--brand); margin-top: 1px; }
.entry .foot { text-align: center; font-size: var(--text-sm); color: var(--text-subtle); margin: 14px 0 0; }

@media (max-width: 639px) {
  .site-nav:not(.role-switch) { display: none; }
  .site-in { padding-inline: 16px; }
  .lp-big, .lp-cta a { width: 100%; }
  .lp-hero { padding: 28px 0 32px; }
  .lp-sec { padding: 32px 0; }
}
@media (min-width: 640px) {
  .lp-grid.three { grid-template-columns: repeat(3, 1fr); }
  .lp-variant { grid-template-columns: 1.2fr 1fr; gap: 28px; }
  .lp-pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .lp-hero { padding: 64px 0 68px; }
  .lp-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .lp-hero h1 { font-size: var(--text-2xl); }
  .lp-mock { justify-self: end; }
  .entry.two { max-width: 852px; }
  .entry.two .entry-cards { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* účet učitele */
.acc-hint { font-size: var(--text-sm); margin: -4px 0 14px; }
.acc-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 16px; }
.acc-facts dt { color: var(--text-muted); font-size: var(--text-sm); }
.acc-facts dd { margin: 0; overflow-wrap: anywhere; }
.acc-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 0 0 16px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--text); }
.acc-note .ico { color: var(--brand); flex: none; margin-top: 2px; }
.acc-more { margin: 0 0 16px; }
.acc-more summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.acc-more form { margin-top: 10px; }
.entry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acc-org { border-top: 1px solid var(--border); padding-top: 14px; margin: 0 0 16px; }
.acc-org h3 { margin: 0 0 8px; font-size: var(--text-md); }
.acc-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.acc-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.acc-list .muted { font-size: var(--text-sm); }
.acc-facts .pill { margin-left: 4px; }

/* vstup kódem hry: výběr týmu */
.team-pick { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.team-pick legend { padding: 0; margin-bottom: 6px; font-size: var(--text-sm); font-weight: 500; color: var(--text-muted); }
.team-pick label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); cursor: pointer; }
.team-pick label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.team-pick label.is-full { opacity: .55; cursor: default; }
.team-pick input[type=radio] { width: 18px; min-height: 18px; height: 18px; flex: none; padding: 0; }
.team-pick span { display: grid; }
.team-pick small { color: var(--text-muted); font-size: var(--text-sm); }
.team-pick .team-new { margin: 0; }
.team-pick label:has(input[value=""]:not(:checked)) + .team-new { display: none; }

/* průvodce založením hry */
.wiz-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 16px; font-size: var(--text-sm); color: var(--text-muted); }
.wiz-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 6px 4px; border-bottom: 3px solid var(--border); }
.wiz-steps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--border); color: var(--text); font-weight: 600; }
.wiz-steps li[aria-current] { color: var(--text); border-bottom-color: var(--brand); font-weight: 600; }
.wiz-steps li[aria-current] span, .wiz-steps li.done span { background: var(--brand); color: var(--on-brand); }
.wiz-steps li.done { border-bottom-color: var(--brand); }
.wiz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.wiz-checks { display: grid; gap: 8px; margin: 0 0 14px; }
.wiz-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.wiz-check input { width: 18px; min-height: 18px; height: 18px; flex: none; padding: 0; }
.wiz-check input:disabled + span { opacity: .55; }
.team-pick input[type=checkbox] { width: 18px; min-height: 18px; height: 18px; flex: none; padding: 0; }
.wiz-nav { display: flex; gap: 8px; margin-top: 8px; }
.wiz-nav .wide-btn { flex: 1; }
.field small.muted { display: block; margin-top: 2px; }
/* souhrn průvodce: popisek nejvýš 45 % šířky, hodnota se láme po slovech */
.wiz-facts { grid-template-columns: minmax(0, max-content) minmax(55%, 1fr); }
.wiz-facts dd { overflow-wrap: break-word; }
.lp-sample { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; text-align: left; } .lp-sample .tch-block h2 { font-size: var(--text-lg); }

/* ---- vstupní stránka 2 (SPEC kap. 87) ---- */
.lp-head-actions { display: flex; gap: 8px; align-items: center; }
.lp-proofline { display: flex; align-items: center; gap: 6px; margin: 18px 0 0; color: var(--text-muted); font-size: var(--text-sm); font-weight: 500; }
.lp-phone { min-height: 330px; align-content: start; }
.lp-phone.lp-swap > * { animation: lp-fade .45s ease both; }
@keyframes lp-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lp-demo-field { display: grid; gap: 6px; font-size: var(--text-sm); }
.lp-demo-field small { color: var(--text-subtle); font-size: var(--text-xs); }
.lp-demo-slider { height: 8px; border-radius: 4px; background: var(--surface-2); position: relative; }
.lp-demo-slider.x58 i { width: 58%; } .lp-demo-slider.x36 i { width: 36%; }
.lp-demo-slider i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--brand); }
.lp-demo-slider i::after { content: ""; position: absolute; right: -8px; top: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); box-shadow: var(--shadow-xs); }
.lp-demo-btn { text-align: center; padding: 11px; border-radius: var(--radius-md); background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: var(--text-sm); }
.lp-demo-rank h4, .lp-demo-event small { margin: 0 0 8px; font-size: var(--text-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-subtle); display: block; }
.lp-demo-row { display: grid; grid-template-columns: 24px 1fr 16px 56px; gap: 8px; align-items: center; padding: 9px 10px; border-radius: var(--radius-md); font-size: var(--text-sm); animation: lp-fade .4s ease both; }
.lp-demo-row:nth-child(3) { animation-delay: 90ms; } .lp-demo-row:nth-child(4) { animation-delay: 180ms; } .lp-demo-row:nth-child(5) { animation-delay: 270ms; }
.lp-demo-row b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-demo-row span:last-child { text-align: right; }
.lp-demo-row.mine { background: var(--brand-soft); color: var(--brand-text); }
.lp-demo-row .up { color: var(--ok); } .lp-demo-row .down { color: var(--bad); }
.lp-demo-event { display: grid; gap: 6px; padding: 14px; border-radius: var(--radius-md); background: var(--warn-soft); border: 1px solid var(--warn-border); color: var(--warn-text); }
.lp-demo-event b { font-family: var(--font-display); font-size: var(--text-md); }
.lp-demo-event p { margin: 0; font-size: var(--text-sm); }
.lp-demo-choices { display: grid; gap: 6px; margin-top: 6px; }
.lp-demo-choices span { padding: 8px 10px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: var(--text-sm); font-weight: 500; }
.lp-facts { background: var(--surface); border-bottom: 1px solid var(--border); padding: 18px 0; }
.lp-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
.lp-facts li { display: grid; gap: 2px; }
.lp-facts b { font: 700 var(--text-lg) var(--font-display); letter-spacing: -.01em; }
.lp-facts span { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.35; }
.lp-sec .lp-lead { margin-bottom: 22px; }
.lp-look { margin: 0; display: grid; gap: 12px; align-content: start; }
.lp-look .lp-mock { box-shadow: var(--shadow-xs); min-height: 250px; align-content: start; }
.lp-look figcaption { display: grid; gap: 4px; }
.lp-look figcaption span { color: var(--text-muted); line-height: 1.5; }
.lp-try { display: grid; gap: 24px; align-items: center; }
.lp-try-card { margin: 0; padding: 20px; display: grid; gap: 14px; }
.lp-try-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.lp-try-label b { font: 700 var(--text-xl) var(--font-display); }
.lp-try-card input[type=range] { width: 100%; accent-color: var(--brand); min-height: 32px; }
.lp-try-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lp-try-tiles .tile { box-shadow: none; background: var(--bg); }
.lp-try-tiles .value { font-size: var(--text-md); }
.lp-try-tiles .value.neg { color: var(--bad); } .lp-try-tiles .value.pos { color: var(--ok); }
.lp-try-verdict { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 500; display: flex; gap: 8px; align-items: flex-start; background: var(--surface-2); }
.lp-try-verdict.loss, .lp-try-verdict.full { background: var(--warn-soft); color: var(--warn-text); }
.lp-try-verdict svg { flex: none; margin-top: 2px; }
.lp-concept { margin: 0; padding: 20px; }
.lp-concept h3 { margin: 12px 0 6px; font: 700 var(--text-md) var(--font-display); }
.lp-concept p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.lp-concept-ico, .lp-tl-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-text); flex: none; }
.lp-levels { margin-top: 24px; }
.lp-level { margin: 0; padding: 20px; display: grid; gap: 18px; }
.lp-level p { margin: 0 0 6px; line-height: 1.55; }
.lp-tag { font-size: var(--text-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-subtle); }
.lp-task { padding: 12px 14px; border-left: 3px solid var(--brand); background: var(--bg); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.lp-gets { margin-bottom: 22px; }
.lp-get { display: flex; gap: 10px; align-items: flex-start; }
.lp-get .lp-check { margin-top: 3px; }
.lp-get div { display: grid; gap: 2px; }
.lp-get span { color: var(--text-muted); line-height: 1.45; }
.lp-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lp-timeline li { display: flex; gap: 14px; padding: 12px 0; position: relative; }
.lp-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 50px; bottom: -6px; width: 2px; background: var(--border); }
.lp-timeline small { display: block; color: var(--text-subtle); font-size: var(--text-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.lp-timeline b { display: block; font: 700 var(--text-md) var(--font-display); margin: 2px 0; }
.lp-timeline p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.lp-ref { margin: 24px 0 0; padding: 14px 16px; border-radius: var(--radius-md); background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); }
.lp-sub { margin: 32px 0 14px; font: 700 var(--text-lg) var(--font-display); }
.lp-faq-wrap { max-width: 820px; }
.lp-faq { display: grid; gap: 8px; }
.lp-faq details { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0 16px; }
.lp-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.lp-faq details p { margin: 0 0 14px; color: var(--text-muted); line-height: 1.55; }
.lp-end { display: grid; gap: 24px; align-items: start; }
.lp-end .card { margin: 0; padding: 20px; }
.lp-form-title { margin: 0 0 4px; font: 700 var(--text-lg) var(--font-display); }
@media (max-width: 899px) { .lp-login { display: none; } }
@media (min-width: 640px) { .lp-facts ul { grid-template-columns: repeat(5, 1fr); } .lp-grid.two { grid-template-columns: repeat(2, 1fr); } .lp-level { grid-template-columns: 1fr 1fr; } .lp-try-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .lp-try { grid-template-columns: 1fr 1.1fr; gap: 48px; } .lp-end { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (prefers-reduced-motion: reduce) { .lp-phone.lp-swap > *, .lp-demo-row { animation: none; } }
.lp-grid.two .lp-variant { display: block; }
.lp-grid.two .lp-variant p { margin: 0 0 8px; }
.lp-grid.two .lp-variant .lp-list { margin-top: 12px; }

/* ---------- výukové moduly (SPEC kap. 97) ---------- */
.dash-modules { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-color: var(--brand-border); background: var(--brand-soft); }
.dash-modules h2 { margin-bottom: 4px; } .dash-modules p { margin: 0; max-width: 70ch; }
.mod-catalog { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 16px; }
.mod-catalog .dash-card { margin: 0; }
.mod-start { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; margin-top: 12px; }
.mod-start .field { margin: 0; }
.mod-join { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.mod-join .code { font-family: var(--font-mono); font-size: var(--text-xl); letter-spacing: .12em; }
.mod-steps { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; padding: 0; }
.mod-steps button { min-height: 34px; padding: 4px 12px; font-size: var(--text-sm); border-radius: var(--radius-full); }
.mod-steps .past button { color: var(--text-muted); background: var(--surface-2); }
.mod-steps .on button { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.mod-now { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mod-now p { margin: 4px 0 0; }
.mod-grid { grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.4fr); }
.mod-results td, .mod-results th { white-space: nowrap; }
.mod-results td:last-child { text-align: left; }
.mod-bars { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.mod-bars li { display: grid; grid-template-columns: minmax(90px, 38%) 1fr 3ch; gap: 10px; align-items: center; font-size: var(--text-sm); }
.mod-bars i { height: 12px; background: var(--surface-2); border-radius: var(--radius-full); overflow: hidden; }
.mod-bars b { display: block; height: 100%; width: 0; background: var(--brand); border-radius: var(--radius-full); transition: width .3s; }
.mod-bars .ok b { background: var(--ok); } .mod-bars .ok span { font-weight: 600; }
.mod-bars em { font-style: normal; font-weight: 600; text-align: right; }
.mod-rank { margin: 0 0 12px; padding-left: 1.6em; display: grid; gap: 4px; }
.mod-rank li > span { display: inline-block; min-width: 12ch; } .mod-rank b { float: right; }
.mod-opts { margin: 0 0 12px; padding-left: 1.2em; display: grid; gap: 6px; }
.mod-big { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; margin: 0 0 6px; }
.mod-takeaway { font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); padding: 12px 14px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: var(--radius-sm); margin: 12px 0; }
.mod-timer { font-family: var(--font-mono); font-weight: 700; padding: 2px 8px; border-radius: var(--radius-sm); background: var(--surface-2); }
.mod-timer.low { background: var(--warn-soft); color: var(--warn-text); } .mod-timer.over { background: var(--bad-soft); color: var(--bad-text); }
@media (max-width: 860px) { .mod-grid { grid-template-columns: 1fr; } }

/* žák: telefon */
.mod-play .site-in { justify-content: space-between; } .mod-me { font-size: var(--text-sm); color: var(--text-muted); }
.mod-main { max-width: 520px; padding-top: 16px; }
.mod-phase { font-size: var(--text-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 10px; }
.mod-card { padding: 18px; margin: 0 0 14px; }
.mod-kicker { font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 6px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.mod-task { font-size: var(--text-md); line-height: 1.4; margin: 0 0 12px; }
.mod-wait { text-align: center; padding: 32px 18px; } .mod-wait h2 { margin: 8px 0; }
.mod-options { display: grid; gap: 8px; margin: 8px 0 4px; } .mod-options.two { grid-template-columns: 1fr 1fr; }
.mod-options button { min-height: 48px; text-align: left; justify-content: flex-start; white-space: normal; padding: 10px 14px; }
.mod-options.two button { text-align: center; justify-content: center; }
.mod-options button.on { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.mod-options button.ok { border-color: var(--ok); background: var(--ok-soft); } .mod-options button.bad { border-color: var(--bad); background: var(--bad-soft); }
.mod-reaction { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--brand-soft); border-radius: var(--radius-md); margin: 12px 0; }
.mod-reaction .ico { flex: none; margin-top: 2px; color: var(--brand); }
.mod-hint { font-size: var(--text-sm); margin: 8px 0 0; } .mod-hint.ok { color: var(--ok-text); }
.mod-lever { margin: 12px 0; } .mod-lever label { display: block; font-size: var(--text-sm); font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.mod-lever-row { display: grid; grid-template-columns: 48px 1fr 48px auto; gap: 8px; align-items: center; }
.mod-lever-row button { min-height: 48px; padding: 0; font-size: var(--text-lg); }
.mod-lever-row input[type=range] { width: 100%; min-height: 48px; padding: 0; border: 0; background: none; accent-color: var(--brand); }
.mod-lever-row output { font-family: var(--font-mono); font-weight: 700; font-size: var(--text-md); min-width: 6ch; text-align: right; }
.mod-number { display: flex; gap: 8px; align-items: center; } .mod-number input { max-width: 9em; }
.mod-stars { display: inline-flex; gap: 2px; color: var(--border-strong); } .mod-stars .on { color: var(--warn); } .mod-stars .on svg { fill: currentColor; }
.mod-result { display: grid; gap: 4px; justify-items: center; margin: 4px 0 10px; } .mod-result b { font-family: var(--font-display); font-size: var(--text-xl); }
.mod-missions { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.mod-missions li { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.mod-missions li.on { border-color: var(--brand-border); }
.mod-market { width: 100%; border-collapse: collapse; font-size: var(--text-sm); margin: 8px 0; }
.mod-market th { text-align: left; font-size: var(--text-xs); color: var(--text-muted); padding: 0 8px 6px 0; }
.mod-market td { padding: 8px 8px 8px 0; border-top: 1px solid var(--border); } .mod-market tr.me td { font-weight: 600; background: var(--brand-soft); }
.mod-total { margin: 8px 0; }
.lab { margin: 0 0 8px; } .lab svg { width: 100%; height: auto; display: block; touch-action: none; user-select: none; -webkit-user-select: none; }
.lab-axis { stroke: var(--chart-axis); stroke-width: 1.5; } .lab-tick { stroke: var(--chart-axis); stroke-width: 1; } .lab-grid { stroke: var(--border); stroke-width: 1; }
.lab-label { font-size: 10px; fill: var(--text-muted); font-family: var(--font-sans); } .lab-title { font-size: 11px; font-weight: 600; fill: var(--text); font-family: var(--font-sans); }
.lab-num { font-size: 9px; font-weight: 700; fill: var(--on-brand); font-family: var(--font-sans); pointer-events: none; }
.lab-demand { stroke: var(--text); stroke-width: 2; } .lab-bar { stroke: var(--border-strong); stroke-width: 6; stroke-linecap: round; } .lab-bar.last { stroke: var(--brand); opacity: .45; } .lab-bar.neg { stroke: var(--bad); opacity: .45; }
.lab-keep { fill: var(--brand); opacity: .28; } .lab-gain { fill: var(--ok); opacity: .55; } .lab-loss { fill: var(--bad); opacity: .4; }
.lab-was { fill: none; stroke: var(--text-muted); stroke-width: 1.5; stroke-dasharray: 4 3; }
.lab-point { fill: var(--brand); stroke: var(--surface); stroke-width: 2; } .lab-point.old { fill: var(--text-muted); }
.lab-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.lab-nums div { padding: 8px 8px; border: 1px solid var(--border); border-radius: var(--radius-md); min-width: 0; }
.lab-nums span { display: block; font-size: var(--text-xs); color: var(--text-muted); line-height: 1.25; min-height: 2.5em; } .lab-nums b { display: block; font-family: var(--font-mono); font-size: var(--text-base); white-space: nowrap; }
.lab-nums small { font-size: var(--text-xs); font-weight: 600; } .lab-nums small.up { color: var(--ok-text); } .lab-nums small.down { color: var(--bad-text); }
.lab-calc { padding: 8px 10px; border: 1px solid var(--brand-border); background: var(--brand-soft); border-radius: var(--radius-md); font-size: var(--text-sm); margin: 0 0 8px; } .lab-calc p { margin: 0; } .lab-calc p + p { margin-top: 4px; }
.lab-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: var(--text-xs); color: var(--text-muted); }
.lab-key { display: inline-block; width: 12px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; } .lab-key.gain { background: var(--ok); } .lab-key.loss { background: var(--bad); } .lab-key.keep { background: var(--brand); opacity: .4; }
.lab-key.line { height: 2px; background: var(--text); vertical-align: 3px; } .lab-key.was { background: none; border: 1.5px dashed var(--text-muted); }
.lab-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); margin: 6px 0; }
.lab-table th { text-align: left; font-size: var(--text-xs); font-weight: 600; color: var(--text-muted); padding: 0 8px 4px 0; }
.lab-table td { padding: 6px 8px 6px 0; border-top: 1px solid var(--border); font-family: var(--font-mono); white-space: nowrap; } .lab-table tr.best td { font-weight: 700; }
.lab-table .pill { font-family: var(--font-sans); }

/* plátno modulu */
.mod-screen { min-height: 100vh; background: var(--bg); padding: 28px 48px; font-size: 22px; }
.mod-screen header { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.mod-screen header .site-logo b { font-size: 26px; } .mod-screen .mod-phase { font-size: 18px; margin: 0; }
.mod-code { margin-left: auto; } .mod-code b { font-family: var(--font-mono); letter-spacing: .12em; }
.mod-screen main { max-width: 1100px; } .mod-screen h3 { font-size: 24px; margin: 20px 0 10px; }
.mod-q { font-size: 40px; line-height: 1.2; margin: 0 0 20px; } .mod-screen .mod-opts { font-size: 30px; } .mod-screen .mod-big { font-size: 40px; }
.mod-lead { font-size: 28px; margin: 0 0 12px; } .mod-screen .mod-bars li { font-size: 22px; } .mod-screen .mod-bars i { height: 22px; }
.mod-screen .mod-takeaway { font-size: 30px; } .mod-screen .mod-rank { font-size: 26px; } .mod-screen .mod-timer { font-size: 40px; }
.mod-lobby { display: flex; gap: 48px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mod-codebig { font-family: var(--font-mono); font-size: 96px; font-weight: 700; letter-spacing: .1em; margin: 0 0 20px; }
.mod-qr { background: var(--qr-bg); padding: 12px; border-radius: var(--radius-lg); }
