:root {
  --bg: #ffffff; --surface: #ffffff; --tint: #f6f4fc; --ink: #1a1830; --muted: #5e5b72; --line: #e4e1ef;
  --accent: #5c4ac7; --accent-ink: #ffffff; --accent-soft: #ece9fb; --accent-deep: #3d2fa0;
  --hero-1: #4a3aae; --hero-2: #5c4ac7; --hero-ink: #ffffff; --hero-dim: #e6e1fb; --hero-btn: #ffffff; --hero-btn-ink: #3d2fa0;
  --panel: #1b1730; --panel-ink: #f1eff8; --panel-muted: #b9b4d3; --panel-line: #37305a;
  --ok: #2f7d4f; --ok-soft: #e4f3ea; --warn: #a94a08; --warn-soft: #fdeedd;
  --paper: #fffdf8; --paper-ink: #1d1b29; --paper-mut: #6e6880;
  --shadow: 0 30px 60px -34px rgba(50, 32, 130, .55);
  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-app: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121019; --surface: #1c1929; --tint: #17141f; --ink: #f1eff8; --muted: #aaa5c0; --line: #302b45;
    --accent: #9384f2; --accent-ink: #14121d; --accent-soft: #2a2546; --accent-deep: #c9c1fb;
    --hero-1: #241b5c; --hero-2: #33288a; --hero-ink: #ffffff; --hero-dim: #cfc8f5; --hero-btn: #ffffff; --hero-btn-ink: #3d2fa0;
    --panel: #1c1929; --panel-ink: #f1eff8; --panel-muted: #aaa5c0; --panel-line: #37305a;
    --ok: #7fd3a1; --ok-soft: #1d3428; --warn: #f0a95c; --warn-soft: #3a2a17;
    --shadow: 0 30px 60px -34px rgba(0, 0, 0, .85); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121019; --surface: #1c1929; --tint: #17141f; --ink: #f1eff8; --muted: #aaa5c0; --line: #302b45;
  --accent: #9384f2; --accent-ink: #14121d; --accent-soft: #2a2546; --accent-deep: #c9c1fb;
  --hero-1: #241b5c; --hero-2: #33288a; --hero-ink: #ffffff; --hero-dim: #cfc8f5; --hero-btn: #ffffff; --hero-btn-ink: #3d2fa0;
  --panel: #1c1929; --panel-ink: #f1eff8; --panel-muted: #aaa5c0; --panel-line: #37305a;
  --ok: #7fd3a1; --ok-soft: #1d3428; --warn: #f0a95c; --warn-soft: #3a2a17;
  --shadow: 0 30px 60px -34px rgba(0, 0, 0, .85); color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
a { color: var(--accent); }
button, input { font-family: inherit; }
input[type=range] { accent-color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
section { padding-block: 64px; scroll-margin-top: 72px; }
.band { background: var(--tint); border-block: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 32px; }
.lead { color: var(--muted); font-size: 17px; text-wrap: pretty; }
.fine { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 80ch; }
.dots { flex: 1; min-width: 14px; border-bottom: 1.5px dotted currentColor; opacity: .4; transform: translateY(-.32em); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: var(--hero-btn); color: var(--hero-btn-ink); }
.btn-light:hover { filter: brightness(.95); }
@media (min-width: 761px) { body { font-size: 17px; } .wrap { padding-inline: 24px; } section { padding-block: 104px; } .head { margin-bottom: 48px; } .lead { font-size: 18px; } }

/* Hlavička */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { position: relative; display: flex; align-items: center; gap: 20px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; min-height: 44px; font: 800 21px/1 var(--font-display); color: var(--accent); text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { background: var(--accent-soft); color: var(--accent-deep); }
.bar-actions { display: none; }
.burger { display: inline-flex; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.nav.open a { min-height: 48px; padding: 0 14px; font-size: 16px; }
.nav.open a.login { color: var(--accent); border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; }
@media (min-width: 941px) {
  .nav, .nav.open { display: flex; position: static; flex-direction: row; gap: 2px; padding: 0; border: 0; background: none; box-shadow: none; }
  .nav a.login { display: none; }
  .bar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .bar-actions .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
  .bar-actions .plain { border: 0; background: none; color: var(--ink); font-weight: 500; }
  .burger { display: none; }
}

/* Úvod */
.hero { padding-block: 40px 0; color: var(--hero-ink); background: linear-gradient(180deg, var(--hero-1) 0, var(--hero-2) calc(100% - 150px), var(--bg) calc(100% - 150px)); }
.hero-top { display: grid; gap: 32px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 720px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.03; }
.hero .sub { font-size: clamp(17px, 2vw, 19px); max-width: 56ch; color: var(--hero-ink); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; align-self: stretch; }
.hero-actions .btn { flex: 1 1 100%; }
.hero-actions .more { display: inline-flex; align-items: center; min-height: 44px; color: var(--hero-ink); font-weight: 600; text-underline-offset: 4px; }
@media (min-width: 561px) { .hero-actions .btn { flex: none; } }
@media (min-width: 761px) { .hero { padding-top: 80px; } }
/* dnešní lístek vedle nadpisu, jen na širokém displeji; mění se podle dne v ukázce */
.ticket { display: none; }
@media (min-width: 1040px) {
  .hero-top { grid-template-columns: minmax(0, 1fr) 330px; align-items: end; }
  .ticket { display: block; position: relative; background: var(--paper); color: var(--paper-ink); border-radius: 4px; padding: 22px 22px 18px; font-size: 14.5px; line-height: 1.4; box-shadow: var(--shadow); transform: rotate(2.2deg); margin-bottom: -18px; }
  .ticket strong { display: block; font: 700 23px/1.1 var(--font-display); padding-bottom: 6px; margin-bottom: 8px; border-bottom: 2px solid var(--paper-ink); }
  .ticket small { position: absolute; right: 18px; top: 26px; font-size: 12.5px; color: var(--paper-mut); }
  .ticket .stamp { position: absolute; right: 16px; bottom: 14px; padding: 3px 10px; border: 2px solid currentColor; border-radius: 4px; font: 700 12px/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-7deg); color: var(--paper-mut); }
  .ticket .stamp.on { color: #2f7d4f; }
  .ticket .sgrp { color: var(--paper-mut); }
  .ticket .srow .a { color: var(--paper-mut); }
  .ticket .rows-t { padding-bottom: 26px; }
}

/* Ukázka aplikace */
.stage { position: relative; max-width: 940px; margin: 36px auto 0; color: var(--ink); }
.app { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); font-family: var(--font-app); font-size: 14px; line-height: 1.45; text-align: left; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--tint); border-bottom: 1px solid var(--line); font: 12px var(--font-mono); color: var(--muted); }
.app-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; }
.app-bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-bar b { margin-left: auto; font: 600 12px var(--font-app); color: var(--accent); white-space: nowrap; }
.app-body { display: grid; grid-template-columns: minmax(0, 1fr); }
.side { background: #1b1730; padding: 6px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.side button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; padding: 4px 2px; border: 0; border-radius: 8px; background: transparent; color: rgba(255,255,255,.78); font: 500 12px var(--font-app); cursor: pointer; }
.side button svg { width: 18px; height: 18px; flex: none; }
.side button .l { display: none; }
.side button:hover { color: #ffffff; background: rgba(255,255,255,.08); }
.side button[aria-selected="true"] { background: #5c4ac7; color: #ffffff; }
.side button:focus-visible { outline-color: #ffffff; outline-offset: -3px; }
.screen { padding: 14px 12px 44px; min-width: 0; display: flex; flex-direction: column; gap: 12px; animation: fade .25s ease; }
@keyframes fade { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.scr-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.scr-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.scr-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.scr-actions .mbtn { flex: 1 1 auto; }
.tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.mbtn { min-height: 44px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 14px var(--font-app); cursor: pointer; }
.mbtn:hover { border-color: var(--accent); color: var(--accent); }
.mbtn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mbtn.primary:hover { filter: brightness(1.1); color: var(--accent-ink); }
.mbtn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-deep); }
.daytabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.daytabs button { min-height: 44px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 14px var(--font-app); cursor: pointer; }
.daytabs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.rows { list-style: none; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.rows > li, .rows > button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; }
.rows > :last-child { border-bottom: 0; }
.rows .nm { font-weight: 600; min-width: 0; }
.rows .meta { grid-column: 1; color: var(--muted); font-size: 12.5px; }
.rows .val { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rows .val small { display: block; font-weight: 600; font-size: 12px; }
.rows .grp { background: var(--tint); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-block: 6px; }
.up { color: var(--warn); } .down { color: var(--ok); } .same { color: var(--muted); }
.outs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; font-size: 12.5px; color: var(--muted); }
.outs span { padding: 3px 10px; border-radius: 999px; border: 1px dashed var(--line); font-weight: 600; }
.outs.on span { border: 1px solid transparent; background: var(--ok-soft); color: var(--ok); }
.note { padding: 10px 12px; border-radius: 8px; background: var(--warn-soft); color: var(--ink); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.note b { color: var(--warn); }
.note.calm { background: var(--tint); color: var(--muted); }
.rows > button.cost { cursor: pointer; }
.rows > button.cost[aria-pressed="true"] { background: var(--accent-soft); }
.meter { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 3px; background: var(--tint); margin-top: 4px; }
.meter i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--ok); transition: width .25s ease; }
.meter.over i { background: var(--warn); }
.meter::after { content: ""; position: absolute; left: 64%; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.detail { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpis span { display: block; color: var(--muted); font-size: 12px; }
.kpis b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slide { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; align-items: center; }
.slide label { font-weight: 600; font-size: 13.5px; }
.slide output { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slide input { grid-column: 1 / -1; width: 100%; min-height: 44px; margin: 0; }
@media (min-width: 761px) {
  .app-body { grid-template-columns: 196px minmax(0, 1fr); }
  .side { display: flex; flex-direction: column; padding: 14px 10px; }
  .side button { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 44px; padding: 0 12px; font-size: 14px; text-align: left; }
  .side button .l { display: inline; } .side button .s { display: none; }
  .screen { padding: 18px 18px 56px; min-height: 452px; gap: 14px; }
  .scr-actions, .scr-actions .mbtn { flex: none; }
  .mbtn { min-height: 38px; } .daytabs button { min-height: 40px; }
  .kpis b { font-size: 17px; }
}
/* plovoucí karty přes spodní hranu ukázky */
.floats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; margin: -34px 6px 0; }
.float { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); font-family: var(--font-app); text-align: left; min-width: 0; transform: rotate(var(--r)); animation: bob 6s ease-in-out infinite; }
.float span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.float b { display: block; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; }
.float small { display: block; font-size: 12px; color: var(--muted); }
.float small.ok { color: var(--ok); font-weight: 600; } .float small.warn { color: var(--warn); font-weight: 600; }
.float.a { --r: -2deg; } .float.b { --r: 2deg; margin-top: 14px; animation-delay: -3s; }
@media (min-width: 761px) {
  .floats { display: block; margin: 0; position: static; }
  .float { position: absolute; z-index: 2; width: 200px; padding: 12px 14px; }
  .float b { font-size: 22px; }
  .float.a { left: 14px; bottom: -34px; }
  .float.b { right: 14px; bottom: -34px; margin-top: 0; }
}
@media (min-width: 1100px) { .float.a { left: -64px; } .float.b { right: -64px; } }
@keyframes bob { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-8px); } }
.goes { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-block: 28px 0; font-size: 15px; font-weight: 600; color: var(--ink); list-style: none; padding-inline: 0; }
.goes li:first-child { color: var(--muted); font-weight: 400; flex-basis: 100%; }
@media (min-width: 761px) { .goes { padding-top: 64px; } .goes li:first-child { flex-basis: auto; } }

/* Dnes čtyřikrát */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.split .head { margin-bottom: 0; }
.four { list-style: none; padding: 0; margin-top: 8px; display: flex; flex-direction: column; font-size: 16px; }
.four li { display: flex; align-items: baseline; gap: 8px; padding: 8px 0; color: var(--muted); }
.four li s { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.four li.one { color: var(--ink); font-weight: 700; padding-top: 14px; }
.four li.one b { color: var(--accent); }
.gains { display: flex; flex-direction: column; }
.gains div { display: flex; flex-direction: column; gap: 6px; padding-block: 20px; border-top: 1px solid var(--ink); }
.gains p { color: var(--muted); text-wrap: pretty; }
@media (min-width: 901px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }

/* Snímky z aplikace */
.shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
.shot { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; }
.shot .frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #f5f4fa; box-shadow: var(--shadow); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { color: var(--muted); font-size: 14px; }
.shot figcaption b { color: var(--ink); }
@media (min-width: 901px) {
  .shots { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; margin-top: 72px; align-items: start; }
  .shot { grid-row: 1; }
  .shot.back { grid-column: 1 / span 8; flex-direction: column-reverse; }
  .shot.front { grid-column: 6 / span 7; margin-top: 150px; z-index: 1; }
  .shot.front.tall { grid-column: 9 / span 4; margin-top: 70px; }
  .shots.cost .shot.back { grid-column: 1 / span 9; }
}

/* Funkce */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.cell { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.cell > div:first-child p { color: var(--muted); font-size: 15px; margin-top: 4px; }
@media (min-width: 901px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; } .cell { grid-column: span 2; padding: 24px; } .cell.w3 { grid-column: span 3; } }
.segs { display: flex; flex-wrap: wrap; gap: 6px; }
.segs button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 14px var(--font-body); cursor: pointer; }
.segs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
/* lístek: barvy šablon jsou pevné (papír), proto literály v párech pozadí + text */
.sheet { --s-bg: #fffdf8; --s-ink: #1d1b29; --s-mut: #6e6880; --s-acc: #1d1b29; --s-font: var(--font-body); --s-head: var(--font-display);
  background: var(--s-bg); color: var(--s-ink); font-family: var(--s-font); border-radius: 4px; padding: 18px; font-size: 14.5px; line-height: 1.4; box-shadow: var(--shadow); transform: rotate(-.6deg); transition: background .2s, color .2s; }
.sheet.t-moderni { --s-bg: #ffffff; --s-acc: #5c4ac7; }
.sheet.t-bistro { --s-bg: #ffffff; --s-ink: #2a1a12; --s-mut: #7a5c4c; --s-acc: #b5532a; }
.sheet.t-trattoria { --s-bg: #faf7f0; --s-ink: #1d1b16; --s-mut: #6b6450; --s-acc: #7a6420; --s-head: Georgia, "Times New Roman", serif; }
.sheet.t-tabule { --s-bg: #22302b; --s-ink: #f4f1e8; --s-mut: #b9c4bd; --s-acc: #f7e27c; }
.sheet.t-elegantni { --s-bg: #ffffff; --s-ink: #222222; --s-mut: #777777; --s-acc: #8a6a2c; --s-font: Georgia, "Times New Roman", serif; --s-head: Georgia, "Times New Roman", serif; }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid var(--s-acc); }
.sheet-head strong { font: 700 22px/1.1 var(--s-head); color: var(--s-acc); }
.sheet-head span { font-size: 12.5px; color: var(--s-mut); }
.sheet.t-elegantni .sheet-head { flex-direction: column; align-items: center; border-bottom-width: 1px; }
.sheet.t-elegantni .sheet-head strong { font-weight: 400; letter-spacing: .08em; }
.sheet.t-moderni .sheet-head { background: var(--s-acc); margin: -18px -18px 10px; padding: 14px 18px; border: 0; border-radius: 4px 4px 0 0; }
.sheet.t-moderni .sheet-head strong, .sheet.t-moderni .sheet-head span { color: #ffffff; }
.sheet.t-bistro .sheet-head, .sheet.t-trattoria .sheet-head { margin: -18px -18px 10px; padding: 14px 18px; border-radius: 4px 4px 0 0; }
.sheet.t-bistro .sheet-head { background: #b5532a; border-bottom: 4px solid #e8b04a; }
.sheet.t-trattoria .sheet-head { background: #141210; border-bottom: 4px solid #c8a83a; }
.sheet.t-bistro .sheet-head strong, .sheet.t-bistro .sheet-head span, .sheet.t-trattoria .sheet-head strong, .sheet.t-trattoria .sheet-head span { color: #ffffff; }
.srow { display: flex; align-items: baseline; gap: 6px; padding: 3px 0; }
.srow .n { min-width: 0; } .srow .a { color: var(--s-mut); font-size: 12px; white-space: nowrap; }
.srow .d { flex: 1; min-width: 10px; border-bottom: 1.5px dotted currentColor; opacity: .45; transform: translateY(-4px); }
.srow .p { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sgrp { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-mut); margin-top: 8px; }
.post { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14.5px; }
.post-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--panel); color: var(--panel-ink); display: grid; place-items: center; flex: none; }
.avatar svg { width: 28px; height: 28px; }
.post-head small { display: block; color: var(--muted); font-size: 12px; }
.post-text { display: flex; flex-direction: column; gap: 10px; padding: 2px 14px 14px; }
.post-text ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.post-text li { padding-left: 14px; text-indent: -14px; }
.post-text li::before { content: "•"; display: inline-block; width: 14px; text-indent: 0; }
.post-link { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.post-foot { display: flex; justify-content: space-around; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; }
.auto { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 4px 14px; border-radius: 10px; background: var(--tint); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.switch { position: relative; width: 52px; height: 44px; border: 0; background: transparent; cursor: pointer; flex: none; }
.switch::before { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 24px; border-radius: 12px; background: var(--line); transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 13px; left: 7px; width: 18px; height: 18px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.switch[aria-checked="true"]::before { background: var(--accent); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.raw { margin: 0; padding: 12px; border-radius: 8px; background: #17161f; color: #d8d4ea; font: 12.5px/1.55 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.parsed { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.parsed span { padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 12px; font-weight: 700; white-space: nowrap; }
.alg { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.alg button { min-height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 700 14px var(--font-mono); cursor: pointer; }
.alg button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.alg-name { min-height: 44px; display: flex; align-items: center; padding: 8px 12px; border-radius: 8px; background: var(--tint); font-size: 14.5px; font-weight: 600; }
.tv { background: #1f2422; color: #f4f1e8; border: 6px solid #3a2f24; border-radius: 6px; padding: 14px; font-family: var(--font-display); font-size: 14.5px; }
.tv strong { display: block; color: #f7e27c; font-size: 19px; margin-bottom: 6px; }
.tv .srow .p { color: #f7e27c; } .tv small { display: block; margin-top: 8px; font: 500 12px var(--font-body); color: #c9c5b9; }
.roles { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
.roles h3 { margin-bottom: 14px; }
.roles div { display: flex; flex-wrap: wrap; gap: 0 12px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 15.5px; }
.roles b { flex: 0 0 104px; font-weight: 600; } .roles span { flex: 1 1 200px; color: var(--muted); }
@media (min-width: 901px) { .roles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin-top: 56px; } .roles h3 { grid-column: 1 / -1; } .roles div { flex-direction: column; border-top-color: var(--ink); padding-top: 14px; } .roles b, .roles span { flex: none; } }

/* Náklady */
.facts { display: flex; flex-direction: column; margin-top: 12px; }
.facts div { display: flex; flex-wrap: wrap; gap: 2px 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts b { font-weight: 600; flex: 0 0 210px; } .facts span { color: var(--muted); flex: 1 1 220px; }
.pro-note { margin-top: 20px; font-size: 15px; color: var(--muted); }
.chain-cap { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.chain { font-family: var(--font-app); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px; display: flex; flex-direction: column; font-size: 15px; box-shadow: var(--shadow); }
.link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.link small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.link b { font-weight: 600; min-width: 0; } .link em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.link.over { border-bottom: 0; } .link.over em { color: var(--warn); }
.link.end { border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); }
.link.end small { color: inherit; } .link.end em { font-size: 20px; }

/* Kalkulačka */
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.calc-in, .calc-out { border-radius: 16px; padding: 20px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.calc-in { background: var(--surface); border: 1px solid var(--line); }
.calc-in .slide label { font-size: 15px; font-weight: 500; }
.calc-out { background: var(--panel); color: var(--panel-ink); border: 1px solid var(--panel-line); gap: 24px; }
.calc-out .big { font: 800 clamp(42px, 7vw, 64px)/1.05 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-out .lbl { color: var(--panel-muted); font-size: 15px; }
.res { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-block: 20px; border-block: 1px solid var(--panel-line); }
.res b { display: block; font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; }
.res span { color: var(--panel-muted); font-size: 14px; }
.calc-out .btn { margin-top: auto; }
@media (min-width: 901px) { .calc { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .calc-in, .calc-out { padding: 28px; } .calc-out .btn { align-self: flex-start; } }

/* Z provozu */
.quote { margin: 20px 0 0; padding: 20px; border-radius: 14px; border: 1.5px dashed var(--line); color: var(--muted); font-size: 14.5px; }
.quote b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.pairs { display: flex; flex-direction: column; font-size: 15.5px; }
.pairs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.pairs div:last-child { border-bottom: 1px solid var(--line); }
.pairs .th { padding-block: 0 10px; border: 0; font-size: 13px; color: var(--muted); font-weight: 500; }
.pairs span { color: var(--muted); } .pairs b { font-weight: 600; }

/* Ceník: sázený jako lístek */
.price-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.price-head .head { margin-bottom: 0; }
.count-row { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 15px; }
.count { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.count button { width: 46px; height: 46px; border: 0; background: transparent; color: var(--ink); font-size: 20px; cursor: pointer; }
.count button:hover { background: var(--accent-soft); }
.count output { min-width: 34px; text-align: center; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan-line { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); }
.plan-line h3 { font-size: 24px; font-weight: 700; }
.plan-line strong { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan.soon .plan-line strong { color: var(--muted); }
.per { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--muted); font-size: 14px; margin-top: -8px; }
.badge { color: var(--accent-deep); font-weight: 700; }
.total { min-height: 44px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; } .total b { color: var(--ink); } .total s { margin-right: 6px; }
.extra { min-height: 22px; font-size: 14px; font-weight: 600; margin-top: -6px; font-variant-numeric: tabular-nums; }
.price-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--accent-soft); }
.seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font: 600 15px/1 var(--font-body); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.save { padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 700; white-space: nowrap; }
.plan ul { list-style: none; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; }
.plan li.plus { color: var(--muted); }
.plan .btn { margin-top: auto; }
.warn-text { font-size: 14px; color: var(--warn); }
@media (min-width: 901px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } .plan { padding: 28px; } }

/* Otázky, závěr, patička */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.faq-grid .head { margin-bottom: 0; }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding-block: 14px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 24px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 32px 20px 0; color: var(--muted); max-width: 66ch; }
@media (min-width: 901px) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; } }
.end { padding-top: 0; }
.cta { border-radius: 20px; padding: clamp(28px, 6vw, 64px); background: var(--hero-2); color: var(--hero-ink); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.cta > div:first-child { display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.cta p { font-size: 17px; text-wrap: pretty; }
.cta-act { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1 1 260px; }
.cta-act .btn { align-self: stretch; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 15px; }
.mail code { font: 600 15px var(--font-mono); user-select: all; overflow-wrap: anywhere; }
.mail button { min-height: 44px; padding: 0; border: 0; background: none; color: var(--hero-ink); font: 600 15px var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (min-width: 761px) { .cta-act { flex: none; } .cta-act .btn { align-self: flex-start; } }
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
footer .social { gap: 0 4px; margin-inline: -11px; }
footer .social a { justify-content: center; width: 44px; }
footer .social a:hover { color: var(--accent); }
footer .social svg { width: 22px; height: 22px; }

/* Lišta dole na mobilu: objeví se, až tlačítko v úvodu odjede z obrazovky */
.dock { display: flex; gap: 12px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.dock span { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--muted); }
.dock span b { display: block; color: var(--ink); font-size: 14px; }
.dock .btn { min-height: 46px; padding: 0 18px; font-size: 15px; }
@media (max-width: 760px) { footer { padding-bottom: 104px; } }
@media (min-width: 761px) { .dock { display: none; } }

/* Náhled před spuštěním (vidí ho jen ten, kdo má odkaz) */
.preview-bar { margin: 0; padding: 10px 16px; background: #f7e27c; color: #1d1b29; font-size: 14px; text-align: center; }
.preview-bar a { color: inherit; font-weight: 700; }

/* ===== Nové pro web se strukturou (vše ostatní je beze změny ze současného menucraft.cz) ===== */
:root { --shadow-menu: 0 24px 48px -20px rgba(40, 28, 110, .35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --shadow-menu: 0 24px 48px -20px rgba(0, 0, 0, .8); } }
:root[data-theme="dark"] { --shadow-menu: 0 24px 48px -20px rgba(0, 0, 0, .8); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
.wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.fhero-grid, .frow, .extras, .xsell, .bento, .flist, .frow2, .paths, .kgrid, .trybox, .people, .foot-top, .mb, .imp, .legal { grid-template-columns: minmax(0, 1fr); }

/* Hlavní navigace s rozbalovacími panely */
.mnav { display: none; }
.nl { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); text-decoration: none; font: 500 15px/1 var(--font-body); cursor: pointer; }
.nl svg { width: 14px; height: 14px; transition: transform .2s; }
.nl:hover, .ni.open > .nl, .nl[aria-current="page"] { background: var(--accent-soft); color: var(--accent-deep); }
.ni.open > .nl svg { transform: rotate(180deg); }
.mega { display: none; }
.mnav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: calc(100dvh - 96px); overflow-y: auto; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-menu); }
.mnav.open .nl { justify-content: space-between; width: 100%; min-height: 48px; padding: 0 14px; font-size: 16px; }
.mnav.open .ni.open > .mega { display: block; padding: 0 0 8px; }
.mnav .m-only { display: flex; gap: 8px; padding: 12px 4px 4px; margin-top: 6px; border-top: 1px solid var(--line); }
.mnav .m-only .btn { flex: 1; min-height: 46px; font-size: 15px; }
@media (min-width: 941px) {
  .mnav, .mnav.open { display: flex; position: static; flex-direction: row; gap: 2px; padding: 0; border: 0; background: none; box-shadow: none; max-height: none; overflow: visible; }
  .mnav.open .nl { width: auto; min-height: 44px; padding: 0 10px; font-size: 15px; }
  .mnav .m-only { display: none; }
  .ni.open > .mega, .mnav.open .ni.open > .mega { display: block; position: absolute; top: calc(100% - 2px); left: 50%; transform: translateX(-50%); width: min(980px, calc(100vw - 32px)); padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-menu); overflow: hidden; animation: drop .16s ease; }
}
@keyframes drop { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.mb { display: grid; }
.mb-list { display: grid; gap: 2px; padding: 6px; align-content: start; }
.ficon { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.ficon:hover { background: var(--tint); }
.ficon > i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #5c4ac7; color: #ffffff; }
.ficon > i svg { width: 20px; height: 20px; }
.ficon b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15.5px; font-weight: 700; }
.ficon span { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.pro-chip, .ficon span.pro-chip { display: inline-flex; margin: 0; padding: 2px 10px; border-radius: 999px; background: #17141f; color: #ffffff; font: 700 13px/1.5 var(--font-body); letter-spacing: .02em; }
.mb-all { display: flex; align-items: center; min-height: 44px; padding: 0 12px; margin: 4px 6px 6px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; text-decoration: none; }
.mb-side { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--tint); }
.mb-side h4 { margin: 0; font: 600 13px/1.2 var(--font-body); color: var(--muted); }
.side-card { display: block; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
a.side-card:hover { border-color: var(--accent); }
.side-card b { display: block; font-size: 15px; }
.side-card span { color: var(--muted); font-size: 13.5px; }
.mini-ticket { align-self: center; width: 200px; margin-top: 8px; background: var(--paper); color: var(--paper-ink); border-radius: 4px; padding: 12px 14px 10px; font-size: 12px; line-height: 1.4; box-shadow: var(--shadow); transform: rotate(2deg); }
.mini-ticket strong { display: block; font: 700 15px/1.1 var(--font-display); padding-bottom: 4px; margin-bottom: 4px; border-bottom: 1.5px solid currentColor; }
.mini-ticket span { display: flex; gap: 4px; } .mini-ticket i { flex: 1; border-bottom: 1px dotted currentColor; opacity: .5; transform: translateY(-3px); }
@media (min-width: 941px) { .mb { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); } .mb-list.two { grid-template-columns: 1fr 1fr; padding: 12px; } .mb-side { padding: 20px; } }
@media (max-width: 940px) { .mini-ticket { display: none; } .mb-side { border-radius: 10px; } }

/* Úvod podstránky: fialový pás jako na úvodní stránce, ukázka visí přes spodní hranu */
.fhero { padding-block: 32px 0; color: var(--hero-ink); background: linear-gradient(180deg, var(--hero-1), var(--hero-2)); }
.fhero-grid { display: grid; gap: 32px; }
.fhero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; padding-bottom: 8px; }
.fhero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
.fhero .sub { font-size: clamp(17px, 2vw, 19px); max-width: 52ch; text-wrap: pretty; }
.fhero .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.fhero .acts small { color: var(--hero-dim); font-size: 14px; }
.hang { position: relative; z-index: 2; margin-bottom: -48px; min-width: 0; }
.after { padding-top: 104px; }
.fhero.plain { padding-bottom: 56px; }
.fhero.plain + section { padding-top: 64px; }
@media (min-width: 941px) { .fhero { padding-top: 56px; } .fhero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: end; } .fhero-copy { padding-bottom: 104px; } .hang { margin-bottom: -72px; } .after { padding-top: 152px; } .fhero.plain { padding-bottom: 88px; } }

.frow { display: grid; gap: 28px; align-items: center; padding-block: 40px; border-top: 1px solid var(--line); }
.frow:first-child { border-top: 0; padding-top: 0; }
.frow:last-child { padding-bottom: 0; }
.frow .txt { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.frow h2 { font-size: clamp(26px, 3.2vw, 34px); }
.frow .txt > p { color: var(--muted); text-wrap: pretty; }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15.5px; }
.ticks li { display: flex; align-items: baseline; gap: 10px; }
.ticks li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: translateY(-2px) rotate(45deg); }
.demo { min-width: 0; }
@media (min-width: 901px) { .frow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 72px; padding-block: 72px; } .frow.flip .txt { order: 2; } }
.extras { display: grid; gap: 0 32px; }
.extras div { display: flex; flex-direction: column; gap: 6px; padding-block: 18px; border-top: 1px solid var(--ink); }
.extras p { color: var(--muted); font-size: 15.5px; }
@media (min-width: 761px) { .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1001px) { .extras.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.xsell { display: grid; gap: 16px; }
.xcard { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; }
.xcard:hover { border-color: var(--accent); }
.xcard > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); }
.xcard > i svg { width: 22px; height: 22px; }
.xcard p { color: var(--muted); font-size: 15px; }
.xcard .go { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 15px; }
@media (min-width: 761px) { .xsell { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Úvodní stránka: rozcestník funkcí */
.bento { display: grid; gap: 16px; }
.bcard { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; overflow: hidden; transition: border-color .15s; }
.bcard:hover { border-color: var(--accent); }
.bcard p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
.bcard .go { color: var(--accent); font-weight: 600; font-size: 15px; margin-top: auto; }
.bcard.dark { background: var(--panel); color: var(--panel-ink); border-color: var(--panel-line); }
.bcard.dark p { color: var(--panel-muted); }
.bcard.dark .go { color: var(--panel-ink); text-decoration: underline; text-underline-offset: 4px; }
.peek { font-family: var(--font-app); font-size: 13.5px; }
@media (min-width: 761px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; } .bcard { padding: 26px; } .b4 { grid-column: span 4; } .b3 { grid-column: span 3; } .b2 { grid-column: span 2; } }
.mweek { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mweek div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mweek b { font-size: 12px; color: var(--muted); }
.mweek span { padding: 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; line-height: 1.25; overflow-wrap: anywhere; }
.mweek span:first-of-type { background: var(--tint); }
.chan { display: flex; flex-wrap: wrap; gap: 6px; }
.chan span { padding: 5px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: 13px; }
.fcline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--panel-line); }
.fcline:last-child { border: 0; }
.fcline small { color: var(--panel-muted); }
.fcline b { font-variant-numeric: tabular-nums; text-align: right; }
.fcline b.w { color: var(--warn); }
.works { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 36px; border-block: 1px solid var(--line); }
.works span:first-child { color: var(--muted); font-size: 15px; flex-basis: 100%; }
.works b { font: 700 20px/1 var(--font-display); color: var(--muted); letter-spacing: -0.01em; }
@media (min-width: 901px) { .works span:first-child { flex-basis: auto; } }
.pline { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.pline a { display: flex; align-items: baseline; gap: 10px; padding-block: 16px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 20px/1.2 var(--font-display); }
.pline a:hover { color: var(--accent); }
.pline a small { font: 500 15px var(--font-body); color: var(--muted); }
.pline a strong { font-size: 24px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Přehled funkcí */
.flist { display: grid; gap: 16px; }
.frow2 { display: grid; gap: 20px; align-items: center; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.frow2:hover { border-color: var(--accent); }
.frow2 h3 { font-size: 24px; }
.frow2 p { color: var(--muted); margin-top: 6px; }
.frow2 .go { color: var(--accent); font-weight: 600; font-size: 15px; display: inline-block; margin-top: 12px; }
@media (min-width: 901px) { .flist { grid-template-columns: 1fr 1fr; gap: 20px; } .frow2 { padding: 28px; } }
.basics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.basics div { display: flex; flex-direction: column; gap: 2px; padding-block: 14px; border-top: 1px solid var(--line); min-width: 0; }
.basics b { font-weight: 600; }
.basics span { color: var(--muted); font-size: 14.5px; }
@media (min-width: 901px) { .basics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; } }

/* Jak začít */
.paths { display: grid; gap: 16px; }
.path { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; min-width: 0; }
.path:hover { border-color: var(--accent); }
.path small { color: var(--accent-deep); font-weight: 700; font-size: 13px; }
.path p { color: var(--muted); font-size: 15.5px; }
.path .go { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 15px; }
@media (min-width: 901px) { .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tl { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: k; }
.tl li { counter-increment: k; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.tl li::before { content: counter(k); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font: 800 16px var(--font-display); }
.tl li p { color: var(--muted); }
.tl li small { color: var(--muted); font-weight: 600; font-size: 13px; }
.trybox { display: grid; gap: 16px; }
.trybox textarea { width: 100%; min-height: 220px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: #17161f; color: #d8d4ea; font: 13.5px/1.65 var(--font-mono); resize: vertical; }
.trybox textarea:focus-visible { outline: 3px solid var(--accent); }
.tryout { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
@media (min-width: 901px) { .trybox { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Obsahové stránky */
.prose { max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.prose p { color: var(--muted); font-size: 17px; text-wrap: pretty; }
.prose h2 { margin-top: 16px; font-size: clamp(24px, 3vw, 30px); }
.people { display: grid; gap: 16px; }
.person { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 14px; border: 1px solid var(--line); }
.person i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font: 800 18px var(--font-display); font-style: normal; flex: none; }
.person span { display: block; color: var(--muted); font-size: 14.5px; }
@media (min-width: 761px) { .people { grid-template-columns: 1fr 1fr; } }
.kform { display: grid; gap: 14px; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.kform label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14.5px; }
.kform input, .kform textarea, .kform select { min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 16px var(--font-body); }
.kform textarea { min-height: 120px; resize: vertical; }
.kform .ok-msg { padding: 12px 14px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.kgrid { display: grid; gap: 32px; }
.kfacts { display: flex; flex-direction: column; }
.kfacts div { display: flex; flex-direction: column; gap: 2px; padding-block: 16px; border-top: 1px solid var(--line); }
.kfacts span { color: var(--muted); font-size: 14.5px; }
.kfacts b { font-size: 17px; }
@media (min-width: 901px) { .kgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; } }
.rel { display: flex; flex-direction: column; }
.rel article { display: grid; gap: 8px 32px; padding-block: 24px; border-top: 1px solid var(--line); }
.rel h3 { font-size: 22px; }
.rel time { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.rel ul { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.rel li::marker { color: var(--accent); }
@media (min-width: 761px) { .rel article { grid-template-columns: 200px minmax(0, 1fr); } }
.legal { display: grid; gap: 32px; }
.toc { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.toc a { display: flex; min-height: 40px; align-items: center; color: var(--ink); text-decoration: none; padding: 0 10px; border-radius: 8px; }
.toc a:hover { background: var(--accent-soft); }
.legal-body { display: flex; flex-direction: column; gap: 14px; max-width: 70ch; }
.legal-body p { color: var(--muted); }
.legal-body .ph { padding: 18px; border-radius: 12px; border: 1.5px dashed var(--line); color: var(--muted); font-size: 15px; }
@media (min-width: 901px) { .legal { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } .toc { position: sticky; top: 88px; align-self: start; } }

.cmp-wrap { overflow-x: auto; margin-top: 56px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { font-weight: inherit; }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp th:not(:first-child), .cmp td:not(:first-child) { text-align: center; width: 120px; }
.cmp thead th { font: 700 17px var(--font-display); background: var(--tint); }
.cmp tr.grp th { background: var(--tint); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cmp tr:last-child > * { border-bottom: 0; }
.cmp a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line); }
.cmp .yes { color: var(--ok); font-weight: 700; } .cmp .no { color: var(--muted); }
.foot .wrap { display: block; }
.frow2 .demo { pointer-events: none; }
/* Patička */
.foot { border-top: 1px solid var(--line); padding-block: 56px 32px; color: var(--muted); font-size: 14.5px; }
.foot-top { display: grid; gap: 36px; padding-bottom: 36px; }
.foot-about { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 340px; }
.foot-about p { font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.foot-cols h4 { margin: 0 0 8px; font: 600 13px/1.2 var(--font-body); color: var(--muted); }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: var(--accent); }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.foot-legal .social { display: flex; margin-left: auto; margin-right: -11px; }
.foot-legal .social a { width: 44px; justify-content: center; }
.foot-legal .social a:hover { color: var(--accent); }
.foot-legal .social svg { width: 22px; height: 22px; }
.foot-op { width: 100%; font-size: 13px; padding-top: 6px; }
@media (min-width: 761px) { .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 48px; } .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Ukázky aplikace na podstránkách: vykreslené, ne snímky */
.fhero .app, .hang .post, .hang .site { color: var(--ink); }
.app-in { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.a-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.a-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.tag.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.mbtn.press { transform: scale(.95); filter: brightness(1.15); }
.mbtn { transition: transform .15s; }
.outs span { transition: all .3s; }
.wk { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.day { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.day > b { font-size: 12.5px; color: var(--muted); padding-left: 2px; }
.slot { min-height: 46px; padding: 6px 8px; border-radius: 6px; border: 1px dashed var(--line); font-size: 12.5px; line-height: 1.25; color: transparent; overflow-wrap: anywhere; transition: background .25s, border-color .25s, color .25s; }
.slot.on { border: 1px solid var(--line); background: var(--surface); color: var(--ink); animation: pop .3s ease; }
.slot.soup.on { background: var(--tint); }
@keyframes pop { from { transform: scale(.92); } to { transform: none; } }
@media (max-width: 560px) {
  .wk { grid-template-columns: 1fr; gap: 4px; }
  .day { display: grid; grid-template-columns: 24px repeat(3, minmax(0, 1fr)); gap: 4px; }
  .day > b { align-self: center; }
  .slot { min-height: 40px; font-size: 11.5px; padding: 4px 6px; }
}
.sheet-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 12px; padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--s-ink) 20%, transparent); font-size: 11px; color: var(--s-mut); }
.qr { width: 40px; height: 40px; flex: none; background: conic-gradient(from 90deg, var(--s-ink) 25%, transparent 0 50%, var(--s-ink) 0 75%, transparent 0) 0 0 / 10px 10px; border: 3px solid var(--s-ink); opacity: .85; }
.tv { box-shadow: var(--shadow); border-width: 8px; padding: 18px; font-size: 16px; }
.tv-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.tv .tv-top strong { margin: 0; font-size: 22px; }
.tv .clock { font: 600 14px var(--font-mono); color: #c9c5b9; font-variant-numeric: tabular-nums; }
.tv .trows { transition: opacity .3s; }
.tv .trows.fade { opacity: 0; }
.site { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #ffffff; color: #2a2620; font-family: Georgia, serif; box-shadow: var(--shadow); }
.site-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px; border-bottom: 1px solid #ece6da; }
.site-nav b { font-size: 17px; }
.site-hero { height: 84px; background: linear-gradient(120deg, #6b4e2e, #b98a53); }
.site-body { display: grid; gap: 14px; padding: 16px; }
.site-body p { font-size: 14px; color: #6b6255; }
.widget { position: relative; border: 2px dashed #5c4ac7; border-radius: 8px; padding: 14px; font-family: var(--font-body); font-size: 14px; background: #fffdf8; color: #1d1b29; }
.widget .sgrp { color: #6e6880; margin-top: 0; }
.widget .wtag { position: absolute; top: -11px; right: 10px; padding: 1px 8px; border-radius: 999px; background: #5c4ac7; color: #ffffff; font: 700 11px/1.6 var(--font-body); }
@media (min-width: 561px) { .site-body { grid-template-columns: 1fr 1.3fr; } }
.post { box-shadow: var(--shadow); background: var(--surface); }
.post .avatar { font: 800 14px var(--font-display); }
.post-text { min-height: 170px; }
.post-text > * { animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.post-img { aspect-ratio: 1.9; max-width: 100%; background: #5c4ac7; color: #ffffff; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 22px; }
.post-img strong { font: 700 22px/1.1 var(--font-display); }
.post-img span { font-size: 13px; opacity: .9; }
.post-foot .tag { transition: all .25s; }
.imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.imgs div { aspect-ratio: 1; max-width: 100%; border-radius: 10px; color: #ffffff; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); }
.imgs b { font: 700 18px/1.1 var(--font-display); }
.imgs span { font-size: 12.5px; line-height: 1.5; }
.dchips { display: flex; flex-wrap: wrap; gap: 6px; }
.dchips span { min-width: 40px; text-align: center; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); font-weight: 600; font-size: 13px; }
.dchips span.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.setrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding-block: 12px; border-top: 1px solid var(--line); font-size: 14.5px; }
.setrow:first-of-type { border-top: 0; }
.setrow small { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; }
.raw span { display: block; border-radius: 4px; padding: 0 6px; margin: 0 -6px; transition: background .2s; min-height: 1.55em; }
.raw span.hit { background: rgba(147, 132, 242, .35); }
.imp { display: grid; gap: 12px; }
.plist { display: flex; flex-direction: column; gap: 6px; min-height: 150px; }
.prow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; animation: rise .3s ease both; min-width: 0; }
.prow.dayrow { border: 0; padding: 4px 2px 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prow span { padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 12px; font-weight: 700; white-space: nowrap; }
.prow span.miss { background: var(--warn-soft); color: var(--warn); }
@media (min-width: 561px) { .imp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.chain { box-shadow: none; border: 0; padding: 0; }
.link { border-radius: 10px; transition: background .3s; }
.link.act { background: var(--accent-soft); }
.link em s { color: var(--muted); font-weight: 500; margin-right: 6px; }
.link .nv { display: inline-block; animation: rise .35s ease; }
.cols { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; height: 170px; border-bottom: 1px solid var(--line); }
.cols .col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.cols .col i { width: 100%; max-width: 46px; border-radius: 6px 6px 0 0; background: var(--accent); animation: grow .8s cubic-bezier(.2, .8, .2, 1) both; transform-origin: bottom; }
.cols .col.over i { background: var(--warn); }
.cols .col b { font-size: 12.5px; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.cols .target { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--ink); opacity: .55; }
.cols .target span { position: absolute; left: 0; top: -20px; font-size: 11.5px; font-weight: 600; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.xlab { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }
.pos-tbl { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pos-row { display: grid; grid-template-columns: minmax(0, 1fr) 54px 64px; gap: 8px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pos-row:last-child { border-bottom: 0; }
.pos-row.th { background: var(--tint); font-size: 12px; color: var(--muted); font-weight: 600; }
.pos-row span:not(:first-child) { text-align: right; }
.pos-row .sold { font-weight: 700; }
.pos-row .sold.full { color: var(--ok); }
.sync { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sync i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: blink 1.4s ease infinite; }
@keyframes blink { 50% { opacity: .25; } }
.pop { display: flex; flex-direction: column; gap: 10px; }
.pop div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 14px; }
.pop small { color: var(--muted); font-weight: 600; }
.pop .bar { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: var(--tint); overflow: hidden; }
.pop .bar i { display: block; height: 100%; border-radius: 5px; background: var(--accent); animation: growx .9s cubic-bezier(.2, .8, .2, 1) both; transform-origin: left; }
.pop .bar i.low { background: var(--muted); opacity: .6; }
@keyframes growx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 13.5px; }
.pair > span { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); min-width: 0; }
.pair > span.pk { background: var(--tint); font-family: var(--font-mono); font-size: 12.5px; }
.pair > i { justify-self: center; width: 14px; height: 2px; background: var(--accent); }
.locs { display: flex; flex-wrap: wrap; gap: 6px; }
.locs button { min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 14px var(--font-app); cursor: pointer; }
.locs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lib { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--tint); font-size: 13.5px; }
.rolesx { display: flex; flex-direction: column; }
.rolesx div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 11px 2px; border-top: 1px solid var(--line); font-size: 14px; }
.rolesx div:first-child { border-top: 0; }
.rolesx span { color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 20px; cursor: pointer; }
.stepper output { min-width: 34px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.bigsum { font: 800 clamp(32px, 5vw, 44px)/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }


/* ===== Živější web: každá funkce má barvu a materiál ze světa kuchyně ===== */
:root { --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive; }
.fc-menu { --c1: #4a3aae; --c2: #5c4ac7; --cx: #c9c1fb; --circ: rgba(255, 255, 255, .07); --fcol: #5c4ac7; }
.fc-out { --c1: #17141f; --c2: #2f2b3d; --cx: #c9c1fb; --circ: #5c4ac7; --fcol: #5c4ac7; }
.fc-soc { --c1: #4a3aae; --c2: #5c4ac7; --cx: #c9c1fb; --circ: rgba(255, 255, 255, .07); --fcol: #5c4ac7; }
.fc-cost { --c1: #17141f; --c2: #2f2b3d; --cx: #c9c1fb; --circ: #5c4ac7; --fcol: #5c4ac7; }
.fc-buy { --c1: #4a3aae; --c2: #5c4ac7; --cx: #c9c1fb; --circ: rgba(255, 255, 255, .07); --fcol: #5c4ac7; }
.fc-pos { --c1: #17141f; --c2: #2f2b3d; --cx: #c9c1fb; --circ: #5c4ac7; --fcol: #5c4ac7; }
.fc-loc { --c1: #4a3aae; --c2: #5c4ac7; --cx: #c9c1fb; --circ: rgba(255, 255, 255, .07); --fcol: #5c4ac7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [class*="fc-"] { --fcol: var(--cx); } }
:root[data-theme="dark"] [class*="fc-"] { --fcol: var(--cx); }
.fhero.feat { background: radial-gradient(120% 95% at 90% 0%, var(--c2), var(--c1) 62%); }
.fhero.feat .acts small { color: color-mix(in srgb, #ffffff 72%, var(--c2)); }
.fhero.feat .btn-light { color: var(--c1); }
.hnote { display: inline-flex; flex-direction: column; font: 700 27px/1.05 var(--font-hand); color: var(--cx); transform: rotate(-3deg); transform-origin: left; max-width: 24ch; }
.hnote svg { width: 150px; height: 14px; margin-top: 2px; }
.ficon.tinted > i { background: var(--c2); color: #ffffff; }

/* odrážky ve třech podobách: lepík, razítka, zvýrazňovač */
.sticky { position: relative; align-self: flex-start; max-width: 32ch; margin-top: 10px; padding: 18px 20px 16px; background: #fff3a8; color: #3b3212; font: 700 23px/1.2 var(--font-hand); transform: rotate(-1.6deg); box-shadow: 0 14px 22px -14px rgba(0, 0, 0, .45); }
.sticky::before { content: ""; position: absolute; top: -10px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%) rotate(2deg); background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.stamps { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.stamp2 { display: inline-block; max-width: 30ch; padding: 5px 12px; border: 2.5px solid var(--fcol); border-radius: 5px; color: var(--fcol); font: 800 13px/1.35 var(--font-display); letter-spacing: .05em; text-transform: uppercase; transform: rotate(-2deg); opacity: .92; }
.stamp2:nth-child(2) { transform: rotate(1.6deg); }
.also { font-size: 17px; }
.also mark { background: linear-gradient(transparent 52%, color-mix(in srgb, var(--fcol) 28%, transparent) 0); color: inherit; padding: 0 2px; }

/* Přílohy = papírová páska s fixou */
.tapes { display: flex; flex-wrap: wrap; gap: 22px 18px; align-items: flex-start; }
.tape { --r: -1.2deg; flex: 1 1 220px; max-width: 290px; padding: 12px 18px 14px; background: #f1e3b0; color: #3b2f12; transform: rotate(var(--r)); box-shadow: 0 8px 16px -12px rgba(0, 0, 0, .5); clip-path: polygon(0 6%, 4% 0, 30% 3%, 62% 0, 96% 3%, 100% 0, 99% 50%, 100% 95%, 70% 100%, 35% 97%, 3% 100%, 0 94%); }
.tape:nth-child(2) { --r: 1.4deg; background: #e7f0d8; } .tape:nth-child(3) { --r: -.5deg; background: #f6dfd6; } .tape:nth-child(4) { --r: 2deg; background: #dfe8f6; }
.tape b { display: block; font: 700 26px/1 var(--font-hand); margin-bottom: 4px; }
.tape span { font-size: 14.5px; line-height: 1.4; }

/* Další chod = řádky jídelního lístku */
.course { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.course a { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 20px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.course .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c2); align-self: center; }
.course .nm { display: flex; align-items: baseline; gap: 12px; font: 700 clamp(22px, 3vw, 30px)/1.1 var(--font-display); letter-spacing: -0.015em; }
.course .nm i { flex: 1; min-width: 20px; border-bottom: 2px dotted currentColor; opacity: .35; transform: translateY(-.3em); }
.course .nm em { font: 600 15px var(--font-body); font-style: normal; color: var(--muted); white-space: nowrap; }
.course small { grid-column: 2; color: var(--muted); font-size: 15.5px; }
.course a:hover .nm { color: var(--fcol); }

/* Úvod: rozcestník s materiály */
.bcard.mat { border: 0; color: #ffffff; background: radial-gradient(120% 100% at 100% 0%, var(--c2), var(--c1) 70%); }
.bcard.mat p { color: color-mix(in srgb, #ffffff 80%, var(--c2)); }
.bcard.mat .go { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }
.bcard.mat .mweek span { color: var(--ink); }
.chalk { padding: 16px 18px; border-radius: 6px; border: 6px solid #6d5236; background: #22302b; color: #f4f1e8; font: 700 24px/1.25 var(--font-hand); transform: rotate(-1.5deg); box-shadow: 0 16px 26px -16px rgba(0, 0, 0, .6); }
.chalk b { display: block; color: #f7e27c; font-size: 30px; }
.chalk span { display: flex; gap: 8px; } .chalk span i { flex: 1; border-bottom: 2px dotted rgba(244, 241, 232, .4); transform: translateY(-8px); }
.phone { align-self: center; width: 196px; padding: 7px; border-radius: 34px; background: #111015; box-shadow: inset 0 0 0 2px #34313d, 0 22px 34px -18px rgba(0, 0, 0, .7); transform: rotate(3deg); }
.phone .scr { display: flex; flex-direction: column; aspect-ratio: 9 / 19; border-radius: 27px; overflow: hidden; background: #ffffff; color: #1d1b29; font-size: 10px; line-height: 1.3; }
.phone .sb { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 4px; font-size: 10px; }
.phone .sb .isl { width: 52px; height: 15px; border-radius: 10px; background: #111015; }
.phone .sb .bat { width: 18px; height: 8px; border: 1.5px solid #1d1b29; border-radius: 3px; background: linear-gradient(90deg, #1d1b29 70%, transparent 0) content-box; padding: 1px; }
.phone .ph { display: flex; align-items: center; gap: 6px; padding: 6px 8px; font-weight: 700; }
.phone .ph i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #ffffff; outline: 1.5px solid #c2466c; background: #5c4ac7; }
.phone .ph em { margin-left: auto; font-style: normal; letter-spacing: 1px; }
.phone .sq { aspect-ratio: 4 / 5; background: #5c4ac7; color: #ffffff; display: flex; flex-direction: column; justify-content: center; padding: 14px; gap: 5px; }
.phone .sq small { color: #c9c1fb; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.phone .sq b { font: 700 18px/1.05 var(--font-display); margin-bottom: 4px; }
.phone .sq span { display: flex; justify-content: space-between; gap: 6px; border-bottom: 1px dotted rgba(255, 255, 255, .35); padding-bottom: 3px; }
.phone .sq span em { font-style: normal; font-weight: 700; color: #ffd43b; white-space: nowrap; }
.phone .act { display: flex; gap: 10px; padding: 7px 8px 3px; }
.phone .act svg { width: 17px; height: 17px; fill: none; stroke: #1d1b29; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.phone .act svg:first-child { fill: #e2344f; stroke: #e2344f; }
.phone .lk { padding: 0 8px; }
.phone .lk small { display: block; color: #8a8496; margin-top: 2px; }
.phone .home { width: 64px; height: 4px; border-radius: 2px; background: #1d1b29; margin: auto auto 6px; }
.bignum { font: 800 clamp(64px, 10vw, 104px)/.9 var(--font-display); letter-spacing: -0.05em; color: var(--cx); font-variant-numeric: tabular-nums; }
.bignum + .hand { font: 700 26px/1 var(--font-hand); color: #ffffff; transform: rotate(-3deg); display: inline-block; }
.shoplist { position: relative; padding: 18px 18px 14px 44px; background: repeating-linear-gradient(#fffdf6 0 29px, #cfe0f0 29px 30px); color: #2a2620; font: 700 23px/30px var(--font-hand); transform: rotate(-1deg); box-shadow: 0 14px 22px -16px rgba(0, 0, 0, .45); }
.shoplist::before { content: ""; position: absolute; left: 32px; top: 0; bottom: 0; border-left: 2px solid #e8a3a3; }
.shoplist s { color: #8b8578; text-decoration-thickness: 2px; }
.mini-rc { align-self: center; width: min(250px, 100%); padding: 16px 16px 22px; background: #fbfaf6; color: #24222b; font: 12.5px/1.6 var(--font-mono); box-shadow: 0 16px 26px -16px rgba(0, 0, 0, .6); transform: rotate(-2deg); --zz: #fbfaf6; position: relative; }
.mini-rc div { display: flex; justify-content: space-between; gap: 8px; }
.mini-rc .h { justify-content: center; font-weight: 700; letter-spacing: .1em; margin-bottom: 6px; }
.zz::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; background: linear-gradient(135deg, var(--zz) 50%, transparent 0) 0 0 / 12px 10px repeat-x, linear-gradient(225deg, var(--zz) 50%, transparent 0) 0 0 / 12px 10px repeat-x; }

/* Přehled funkcí: barevné panely */
.panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 26px; border-radius: 22px; background: radial-gradient(120% 100% at 100% 0%, var(--c2), var(--c1) 70%); color: #ffffff; text-decoration: none; overflow: hidden; min-width: 0; }
.panel h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; }
.panel > div > p { color: color-mix(in srgb, #ffffff 80%, var(--c2)); margin-top: 8px; }
.panel .go { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.panel .demo { pointer-events: none; color: var(--ink); }
.panel .pp { display: inline-block; margin-bottom: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; }
@media (min-width: 901px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .panel { padding: 34px; } .panel.wide { grid-column: span 2; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 48px; } }
.marq { overflow: hidden; padding-block: 26px; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq-in { display: flex; gap: 36px; width: max-content; animation: marq 45s linear infinite; }
.marq span { font: 700 clamp(22px, 3vw, 30px)/1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; color: var(--muted); }
.marq span:nth-child(odd) { color: var(--ink); }
.marq:hover .marq-in { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marq-in { flex-wrap: wrap; width: auto; } .marq-in [aria-hidden] { display: none; } }

/* Jak začít: tři předměty místo karet */
.objs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.obj { display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.obj .thing { position: relative; height: 230px; display: grid; place-items: center; }
.obj .thing > * { transition: transform .25s ease; }
.obj:hover .thing > * { transform: rotate(0) translateY(-6px) !important; }
.obj h3 { font-size: 26px; letter-spacing: -0.02em; }
.obj p { color: var(--muted); }
.obj .go { color: var(--accent); font-weight: 700; }
.lbl-tape { align-self: flex-start; padding: 3px 12px 5px; background: #f1e3b0; color: #3b2f12; font: 700 22px/1.1 var(--font-hand); transform: rotate(-2deg); }
.docpg { width: 170px; height: 210px; background: #ffffff; border-radius: 3px; box-shadow: 0 18px 30px -16px rgba(30, 20, 80, .5); transform: rotate(-5deg); overflow: hidden; color: #1d1b29; font: 9px/1.5 var(--font-body); }
.docpg .bar2 { height: 22px; background: #2b579a; color: #ffffff; font: 700 11px/22px var(--font-body); padding-left: 8px; }
.docpg .tx { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.docpg .tx b { font-size: 10px; margin-top: 4px; }
.box250 { position: relative; width: 200px; height: 170px; }
.box250 .crd { position: absolute; inset: 0; background: #fffdf8; border: 1px solid #e4dccb; border-radius: 6px; padding: 12px 14px; color: #3b3212; font: 700 20px/1.2 var(--font-hand); box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .4); }
.box250 .crd:nth-child(1) { transform: rotate(-9deg) translate(-14px, 6px); } .box250 .crd:nth-child(2) { transform: rotate(5deg) translate(12px, -4px); }
.box250 .crd:nth-child(3) { transform: rotate(-1deg); display: flex; flex-direction: column; justify-content: space-between; }
.box250 .crd big { font: 800 64px/.9 var(--font-display); letter-spacing: -0.04em; color: var(--accent); }
.xls { width: 200px; transform: rotate(4deg); background: #ffffff; border-radius: 3px; box-shadow: 0 18px 30px -16px rgba(0, 60, 30, .5); overflow: hidden; display: grid; grid-template-columns: 1.6fr 1fr 1fr; font: 10.5px/1 var(--font-body); color: #1d1b29; }
.xls span { padding: 6px 5px; border-right: 1px solid #dfe6df; border-bottom: 1px solid #dfe6df; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xls .hd { background: #217346; color: #ffffff; font-weight: 700; }
@media (min-width: 901px) { .objs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* První týden = účtenka */
.receipt { position: relative; width: 100%; max-width: 420px; justify-self: center; padding: 26px 24px 30px; background: #fbfaf6; color: #24222b; font: 13.5px/1.65 var(--font-mono); box-shadow: 0 24px 40px -24px rgba(30, 20, 80, .5); transform: rotate(1.2deg); --zz: #fbfaf6; }
.receipt .c { text-align: center; }
.receipt .t { font-weight: 700; font-size: 15px; letter-spacing: .12em; }
.receipt hr { border: 0; border-top: 1.5px dashed #9a96a6; margin: 12px 0; }
.rl { display: flex; gap: 6px; align-items: baseline; }
.rl .q { color: #5c4ac7; font-weight: 700; }
.rl .d { flex: 1; min-width: 12px; border-bottom: 1.5px dotted #9a96a6; transform: translateY(-4px); }
.rs { padding-left: 2.6ch; font-size: 12px; color: #6b6874; margin-bottom: 6px; }
.rtot { display: flex; justify-content: space-between; font-weight: 700; font-size: 19px; }
.rbar { height: 42px; margin-top: 16px; background: repeating-linear-gradient(90deg, #24222b 0 2px, transparent 2px 4px, #24222b 4px 7px, transparent 7px 9px, #24222b 9px 10px, transparent 10px 13px); }

/* Když si nevíte rady */
.mailbig { font: 800 clamp(28px, 5vw, 52px)/1 var(--font-display); letter-spacing: -0.03em; color: var(--accent); overflow-wrap: anywhere; }

/* Přechod z Wordu: popsaný řádek */
.anno { display: flex; flex-direction: column; gap: 22px; }
.anno-line { margin: 0; padding: 22px 20px; border-radius: 14px; background: #17161f; color: #d8d4ea; font: clamp(15px, 2.2vw, 22px)/1.7 var(--font-mono); overflow-wrap: anywhere; }
.anno-line span { padding: 2px 6px; border-radius: 6px; }
.k1 { --k: #f7e27c; } .k2 { --k: #7fd3a1; } .k3 { --k: #f0a95c; } .k4 { --k: #9384f2; }
.anno-line .k1, .anno-line .k2, .anno-line .k3, .anno-line .k4 { background: color-mix(in srgb, var(--k) 26%, transparent); color: var(--k); box-shadow: inset 0 -2px 0 var(--k); }
.anno-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.anno-keys div { min-width: 0; }
.anno-keys b { display: block; font: 700 30px/1 var(--font-hand); color: color-mix(in srgb, var(--k) 70%, var(--ink)); }
.anno-keys span { color: var(--muted); font-size: 15px; }
@media (min-width: 901px) { .anno-keys { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Data a bezpečnost: velké znaky */
.tokens { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 48px; }
.tok .big { display: block; margin-bottom: 10px; font: 800 clamp(52px, 7vw, 84px)/.9 var(--font-display); letter-spacing: -0.045em; color: var(--tc); }
.tok p { color: var(--muted); margin-top: 6px; }
.tok:nth-child(1) { --tc: #5c4ac7; } .tok:nth-child(2) { --tc: #2b8a5e; } .tok:nth-child(3) { --tc: #c2466c; } .tok:nth-child(4) { --tc: #d47a12; } .tok:nth-child(5) { --tc: #2862aa; } .tok:nth-child(6) { --tc: #187066; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tok .big { filter: brightness(1.45); } }
:root[data-theme="dark"] .tok .big { filter: brightness(1.45); }
@media (min-width: 761px) { .tokens { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


/* ===== Sjednocení s reklamami: plochy fialová, tmavá, levandulová, žlutá; kruh; štítky ===== */
:root { --yellow: #ffd43b; }
/* kruh je v pozadí (ořízne ho okraj úvodu), ukázka smí přesahovat dolů do další sekce */
.fhero.feat { position: relative; overflow-x: clip; background: radial-gradient(circle 450px at calc(100% - 190px) 570px, var(--circ) 99.6%, transparent 100%), var(--c1); }
.fhero.feat .wrap { position: relative; }
.fhero.feat h1 .acc { color: var(--cx); } .hero-acc { color: #c9c1fb; }
.hang { position: relative; }
.chip-l { position: absolute; z-index: 3; padding: 8px 14px; border-radius: 10px; background: #ffffff; color: #17141f; font: 800 17px/1.1 var(--font-display); letter-spacing: -0.01em; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); white-space: nowrap; }
.chip-l.p1 { top: -16px; left: -14px; transform: rotate(-3deg); }
.chip-l.p2 { bottom: 34px; right: -14px; transform: rotate(2deg); }
.chip-l.p3 { top: 38%; right: -18px; transform: rotate(-2deg); }
.chip-l.p4 { top: -16px; right: -14px; transform: rotate(2deg); }
.chip-ok { position: absolute; z-index: 3; left: 18px; bottom: -20px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: 12px; background: #ffffff; color: #1f7a45; font: 700 16px/1 var(--font-body); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.chip-ok i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #2f9a5a; color: #ffffff; font-style: normal; font-size: 14px; }
@media (max-width: 700px) { .chip-l.p1 { left: 6px; } .chip-l.p2, .chip-l.p3, .chip-l.p4 { right: 6px; } .chip-l { font-size: 15px; } }
.sticky { background: var(--yellow); }
.also mark { background: linear-gradient(transparent 52%, color-mix(in srgb, var(--yellow) 70%, transparent) 0); }
.stamp2 { border-color: #5c4ac7; color: #5c4ac7; }
.tape { background: #fff3b0; } .tape:nth-child(2) { background: #ece9fb; } .tape:nth-child(3) { background: #ffffff; } .tape:nth-child(4) { background: #ffe58a; }
.tape:nth-child(3) { box-shadow: 0 8px 16px -10px rgba(0, 0, 0, .35), inset 0 0 0 1px #ece9fb; }
.course .dot { background: #5c4ac7; }
.tok .big { color: #5c4ac7; } .tok:nth-child(even) .big { color: #17141f; -webkit-text-stroke: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tok .big { color: #c9c1fb; filter: none; } :root:not([data-theme="light"]) .stamp2 { border-color: #c9c1fb; color: #c9c1fb; } :root:not([data-theme="light"]) .course .dot { background: #c9c1fb; } }
:root[data-theme="dark"] .tok .big { color: #c9c1fb; filter: none; } :root[data-theme="dark"] .stamp2 { border-color: #c9c1fb; color: #c9c1fb; }
.bcard.mat { background: var(--c1); position: relative; }
.bcard.mat > * { position: relative; }
.bcard.mat.lav { --c1: #ece9fb; color: #17141f; }
.bcard.mat.lav p { color: #4b4760; } .bcard.mat.lav .go { color: #3d2fa0; }
.bcard.mat.yel { --c1: #ffd43b; color: #17141f; }
.bcard.mat.yel p { color: #4a3d0a; } .bcard.mat.yel .go { color: #17141f; }
.bignum { color: #c9c1fb; }
.panel { background: var(--c1); position: relative; }
.panel::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -260px; border-radius: 50%; background: var(--circ); }
.panel > * { position: relative; }
.ficon.tinted > i { background: #5c4ac7; }
.mini-rc { transform: rotate(2deg); }

/* kanály se zapínačem jako v reklamě */
.chans { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 18px; background: #5c4ac7; }
.chans h4 { margin: 0 0 4px; color: #ffffff; font: 700 19px var(--font-display); }
.chn { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 12px; background: #ffffff; color: #17141f; font: 600 16px var(--font-body); }
.chn .sw2 { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border: 1.5px solid #2f9a5a; border-radius: 999px; color: #1f7a45; font: 700 13px var(--font-body); transition: opacity .3s; }
.chn .sw2 i { width: 22px; height: 22px; border-radius: 50%; background: #2f9a5a; }
.chn .sw2.off { border-color: #d9d6e6; color: #8a869a; } .chn .sw2.off i { background: #d9d6e6; }
.chn .new { padding: 2px 8px; border-radius: 6px; background: var(--yellow); color: #17141f; font: 700 12px var(--font-body); }
.dark-band { background: #17141f; color: #ffffff; position: relative; overflow: hidden; }
.dark-band::before { content: ""; position: absolute; width: 760px; height: 760px; right: -240px; bottom: -380px; border-radius: 50%; background: #5c4ac7; opacity: .9; }
.dark-band .wrap { position: relative; }
.fc-soc .post-img { background: #17141f; }
.dark-band .lead { color: #c9c1fb; }
.dark-band h2 .acc { color: #c9c1fb; }


.cmp .yes { display: inline-flex; vertical-align: middle; }
.cmp .yes svg { width: 26px; height: 26px; }
/* Připravujeme = křídová tabule „Na plotně“ */
.stove { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.board { position: relative; padding: 28px 28px 30px; border-radius: 8px; border: 10px solid #6d5236; background: #22302b; color: #f4f1e8; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6); transform: rotate(-.8deg); }
.board h3 { font: 700 34px/1 var(--font-hand); color: #f7e27c; margin-bottom: 14px; }
.board ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.board li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: baseline; }
.board li b { font: 700 27px/1.05 var(--font-hand); }
.board li em { font: 700 15px var(--font-body); font-style: normal; color: #f7e27c; white-space: nowrap; }
.board li span { grid-column: 1 / -1; color: #c9c5b9; font-size: 15px; }
.board::after { content: ""; position: absolute; right: 22px; bottom: 14px; width: 54px; height: 10px; border-radius: 3px; background: #ece7da; opacity: .85; transform: rotate(-4deg); }
@media (min-width: 901px) { .stove { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }

@media (max-width: 760px) { footer.foot { padding-bottom: 96px; } }
.dock { bottom: 0; }

/* Přístupnost: odkaz na obsah pro klávesnici, text jen pro čtečky */
.skip { position: absolute; z-index: 100; left: 12px; top: -60px; padding: 10px 14px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cmp thead th { font-weight: 700; }

/* Příspěvek na Instagram s obrázkem lístku (stránka Sítě a Meníčka) */
.post.ig { max-width: 420px; margin-inline: auto; }
.ig-img { aspect-ratio: 1; display: flex; align-items: center; padding: 18px; background: #ece9fb; overflow: hidden; }
.ig-img .sheet { width: 100%; transition: background-color .3s, color .3s; }
.mail a { color: inherit; }
.mailbig { text-decoration: none; } .mailbig:hover { text-decoration: underline; }
.kmail { align-self: start; justify-items: start; padding: 0; border: 0; background: none; }
.ksoc { display: flex; margin-left: -11px; }
.ksoc a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
.ksoc a:hover { color: var(--accent); }
.ksoc svg { width: 24px; height: 24px; }
.qr { background: none; border: 0; opacity: 1; width: 44px; height: 44px; }
.qr svg { display: block; width: 100%; height: 100%; }
.post { color: var(--ink); }
.mb-foot { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 4px 6px 6px; border-top: 1px solid var(--line); }
.mb-foot .mb-all { margin: 0; border-top: 0; }
