/* page-manual — přesunuto z vložených <style> stránek (redesign krok 1, 7. 10. 2026). Platí pro všech 16 jazyků. */
:root {
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background:var(--bg);
    color:var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

  /* ===== TOP NAV ===== */
  .topnav {
    position: sticky; top: 0; z-index: 50;
    background:var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom:1px solid var(--line);
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
  .nav-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
  .nav-brand img { height: 26px; display: block; }
  .nav-brand span { color:var(--text-strong); font-weight: 800; letter-spacing: 4px; font-size: 13px; }
  .nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .nav-links a { color:var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; }
  .nav-links a:hover { color:var(--text-strong); }
  .nav-links a.active { color:var(--accent-text); }
  /* language submenu */
  .lang-menu { position: relative; }
  .lang-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background:none; border:1px solid var(--line); border-radius:9px;
    padding: 8px 12px; color:var(--muted); font-size: 12.5px; font-weight: 600;
    font-family: inherit; cursor: pointer;
  }
  .lang-btn:hover { color:var(--text-strong); }
  .lang-btn svg { width: 14px; height: 14px; stroke:currentColor; fill:none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .lang-btn .chev { width: 10px; height: 10px; transition: transform .15s; }
  .lang-menu.open .lang-btn .chev { transform: rotate(180deg); }
  .lang-panel {
    display: none; position: absolute; right: 0; top: calc(100% + 8px);
    background:var(--float); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border:1px solid var(--line); border-radius:14px; padding: 7px;
    min-width: 176px; max-height: min(60vh, 470px); overflow-y: auto; z-index: 60;
  }
  .lang-menu.open .lang-panel { display: block; }
  .lang-panel a {
    display: block; padding: 8px 12px; border-radius:8px;
    color:var(--muted); text-decoration: none; font-size: 13px; font-weight: 600;
  }
  .lang-panel a:hover { background:var(--panel-2); color:var(--text-strong); }
  .lang-panel a.active { color:var(--accent-text); }

  /* mobile menu */
  .nav-toggle {
    display: none; background:none; border:1px solid var(--line); border-radius:9px;
    width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer;
    color:var(--text); flex: none;
  }
  .nav-toggle svg { width: 20px; height: 20px; stroke:currentColor; fill:none; stroke-width: 2; stroke-linecap: round; }
  @media (max-width: 720px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
      display: none;
      position: absolute; left: 0; right: 0; top: 56px;
      flex-direction: column; align-items: stretch; gap: 0;
      background:var(--float); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border-bottom:1px solid var(--line); padding: 8px 24px 16px;
    }
    .topnav.open .nav-links { display: flex; }
    .nav-links > a { padding: 13px 2px; font-size: 15px; border-bottom:1px solid var(--line); }
    .nav-links > a:last-of-type { border-bottom:none; }
    .lang-menu { margin-top: 12px; }
    .lang-btn { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: 14px; }
    .lang-panel { position: static; margin-top: 8px; max-height: 46vh; min-width: 0; }
  }

  /* ===== HERO ===== */
  header.hero {
    /* Fotka pod textem. Manuál nemá překryvnou vrstvu jako homepage, takže
       ztmavení řeší další vrstva pozadí — bez něj by na světlé obloze nebyl
       bílý text čitelný. */
    background:radial-gradient(ellipse 90% 70% at 50% -10%, rgba(255,214,10,0.16), transparent 65%),
      linear-gradient(rgba(5,5,5,.44), rgba(5,5,5,.34) 45%, rgba(5,5,5,.82) 86%, rgba(5,5,5,.9)),
      url('../img/manual-hero.jpg') center / cover no-repeat,
      var(--bg);
    border-bottom:1px solid var(--line);
    padding: 88px 0 64px;
    text-align: center;
  }
  /* branding header — same treatment as Terms / Privacy pages */
  .brand-img { height: 50px; display: block; margin: 0 auto 10px auto; opacity: .5; }
  .brand-logo {
    font-size: 42px; font-weight: 900; letter-spacing: 12px;
    color:var(--text-strong); margin-bottom: 8px; text-indent: 12px; /* centers text despite tracking */
    /* Slabší ztmavení fotky (20. 9. 2026) — čitelnost drží stín, ne clona. */
    text-shadow: 0 2px 18px rgba(0,0,0,.55);
  }
  .brand-sub {
    font-size: 11px; font-weight: 300; letter-spacing: 4px;
    color:#daffde; /* signature light mint tint */
    text-transform: uppercase;
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  }
  .hero .kicker {
    font-size: 12px; font-weight: 700; letter-spacing: 3px;
    color:var(--accent-text); text-transform: uppercase;
    margin-top: 44px;
  }
  .hero p.sub {
    max-width: 640px; margin: 16px auto 0; color:#e6eae6; font-size: 18px;
    text-shadow: 0 2px 14px rgba(0,0,0,.5);
  }
  .hero .badges { margin-top: 28px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
  .hero .badge {
    font-size: 12px; font-weight: 600; color:var(--muted);
    border:1px solid var(--line); border-radius:999px; padding: 6px 14px;
    display: inline-flex; align-items: center; gap: 7px;
  }
  .hero .badge .ic { width: 14px; height: 14px; color:var(--accent-text); }

  /* ===== ICONS (inline SVG sprite, single-color stroke — SF Symbols style) ===== */
  .ic {
    width: 20px; height: 20px; flex: none;
    stroke:currentColor; fill:none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  }
  td.k .ic { width: 16px; height: 16px; color:var(--accent-text); vertical-align: -3px; margin-right: 7px; }

  /* status dots */
  .dot {
    display: inline-block; width: 9px; height: 9px; border-radius:50%;
    vertical-align: 1px; margin-right: 2px;
  }
  .dot.y { background:var(--yellow); }
  .dot.g { background:var(--accent); }
  .dot.r { background:#FF453A; }

  /* ===== TOC ===== */
  nav.toc { padding: 48px 0 8px; }
  nav.toc h2 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color:var(--faint); margin-bottom: 18px; }
  nav.toc ol {
    list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 8px; /* nejvýš 2 sloupce: dlouhé názvy (fr/de) se štítkem se jinak lámaly */
    counter-reset: toc;
  }
  nav.toc li { counter-increment: toc; }
  nav.toc a {
    display: flex; align-items: baseline; gap: 12px;
    color:var(--text); text-decoration: none; font-size: 15px; font-weight: 500;
    padding: 10px 14px; border:1px solid var(--line); border-radius:12px;
    background:var(--panel); transition: border-color .15s;
  }
  nav.toc a:hover { border-color:var(--accent); }
  nav.toc a::before {
    content: counter(toc, decimal-leading-zero);
    font-size: 12px; font-weight: 700; color:var(--accent-text); font-variant-numeric: tabular-nums;
  }

  /* ===== SECTIONS ===== */
  main { padding-bottom: 40px; }
  section { padding: 56px 0 8px; border-bottom:1px solid transparent; }
  section .secnum {
    font-size: 66px; font-weight: 200; color:var(--faint); line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  section h2 {
    font-size: clamp(26px, 4vw, 34px); font-weight: 700; letter-spacing: -0.5px;
    color:var(--text-strong); margin: 6px 0 8px;
  }
  section p.lead { color:var(--muted); font-size: 17px; max-width: 720px; margin-bottom: 28px; }
  section h3 {
    font-size: 19px; font-weight: 700; color:var(--text-strong); margin: 34px 0 10px;
  }
  section h3 .tag {
    font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color:var(--accent-text); border:1px solid rgba(255,214,10,.4); border-radius:999px;
    padding: 3px 9px; vertical-align: 3px; margin-left: 10px;
  }
  section p, section li { color:var(--text); font-size: 15.5px; }
  section p { margin-bottom: 14px; max-width: 760px; }
  section ul, section ol { margin: 0 0 18px 22px; }
  section li { margin-bottom: 8px; }
  section li::marker { color:var(--accent-text); }
  strong { color:var(--text-strong); font-weight: 600; }
  em { color:var(--yellow); font-style: normal; }
  a { color:var(--accent-text); }

  /* callouts */
  .callout {
    display: flex; gap: 14px; align-items: flex-start;
    background:var(--panel); border:1px solid var(--line); border-left:3px solid var(--accent);
    border-radius:12px; padding: 16px 18px; margin: 20px 0;
  }
  .callout.warn { border-left-color:var(--yellow); }
  .callout .ico { color:var(--accent-text); padding-top: 2px; display: flex; }
  .callout.warn .ico { color:var(--yellow); }
  .callout p { margin: 0; font-size: 14.5px; color:var(--muted); }
  .callout p strong { color:var(--text); }

  /* step cards */
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 24px 0; }
  .step {
    background:var(--panel); border:1px solid var(--line); border-radius:16px; padding: 20px;
  }
  .step .n {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius:50%;
    background:rgba(255,214,10,.12); color:var(--accent-text);
    font-weight: 800; font-size: 14px; margin-bottom: 12px;
  }
  .step h4 { color:var(--text-strong); font-size: 15px; margin-bottom: 6px; }
  .step p { font-size: 13.5px; color:var(--muted); margin: 0; }

  /* tables */
  .tablewrap { overflow-x: auto; margin: 20px 0; border:1px solid var(--line); border-radius:14px; }
  table { width: 100%; border-collapse:collapse; background:var(--panel); font-size: 14.5px; }
  th {
    text-align: left; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color:var(--faint); font-weight: 700; padding: 12px 16px; border-bottom:1px solid var(--line);
    white-space: nowrap;
  }
  td { padding: 12px 16px; border-bottom:1px solid var(--line); color:var(--text); vertical-align: top; }
  tr:last-child td { border-bottom:none; }
  td.k { color:var(--text-strong); font-weight: 600; white-space: nowrap; }

  /* screenshot placeholders */
  .shots { display: flex; gap: 20px; flex-wrap: wrap; margin: 26px 0; }
  figure.shot { flex: 1 1 0; min-width: 200px; max-width: 310px; margin: 0; }
  figure.shot .ph {
    aspect-ratio: 9 / 19.5;
    border:2px dashed var(--line); border-radius:28px;
    background:radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,214,10,.07), transparent 70%),
      var(--panel-2);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; padding: 20px; text-align: center;
    position: relative; overflow: hidden;
  }
  .shotimg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 1; border-radius:26px;
  }
  figure.shot .ph:has(.shotimg) { border-style:solid; border-color:var(--line); }
  figure.shot .ph .cam {
    width: 60px; height: 14px; border-radius:999px; background:#000;
    border:1px solid var(--line); margin-bottom: 6px;
  }
  figure.shot .ph span { font-size: 12.5px; color:var(--faint); line-height: 1.5; }
  figure.shot figcaption { font-size: 12.5px; color:var(--muted); margin-top: 10px; text-align: center; }

  /* fault grid */
  .faults { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; margin: 22px 0; }
  .fault { background:var(--panel); border:1px solid var(--line); border-radius:14px; padding: 16px 18px; }
  .fault h4 { color:var(--text-strong); font-size: 14.5px; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }
  .fault h4 .ic { width: 16px; height: 16px; color:var(--accent-text); }

  /* checklist with SVG checkmarks */
  ul.checklist { list-style: none; margin-left: 0; }
  ul.checklist li { display: flex; gap: 10px; align-items: flex-start; }
  ul.checklist li .ic { width: 17px; height: 17px; color:var(--accent-text); margin-top: 3px; }
  .fault p { font-size: 13px; color:var(--muted); margin: 0; }
  .fault p b { color:var(--accent-text); font-weight: 600; }

  /* footer */
  footer {
    border-top:1px solid var(--line); margin-top: 60px; padding: 48px 0 64px;
    text-align: center; color:var(--faint); font-size: 13.5px;
  }
  footer .brand { color:var(--text); font-weight: 700; font-size: 15px; margin-bottom: 8px; }
  footer a { color:var(--muted); }

  .top-link { display: inline-block; margin-top: 26px; font-size: 13px; color:var(--faint); text-decoration: none; }
  .top-link:hover { color:var(--accent-text); }

  @media (max-width: 560px) {
    .brand-img { height: 30px; }
    .tablewrap { overflow-x: visible; }
    table { font-size: 12.5px; }
    th { white-space: normal; padding: 8px 10px; font-size: 9px; letter-spacing: .5px; }
    td { padding: 8px 10px; }
    td.k { white-space: normal; }
    figure.shot { flex: 1 1 100%; min-width: 0; max-width: 280px; margin: 0 auto; }
    .hero { padding: 64px 0 44px; }
  }

  /* quick-start roadmap */
  .roadmap-head { text-align: center; margin: 8px 0 24px; }
  .roadmap-head h2 { font-size: clamp(22px,3.4vw,28px); color:var(--text-strong); margin-bottom: 8px; }
  .roadmap-head p { color:var(--muted); font-size: 15px; max-width: 60ch; margin: 0 auto; }
  .roadmap { margin: 0 0 20px; }
  .rtabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 16px; }
  .rtabs::-webkit-scrollbar { height: 4px; }
  .rtabs::-webkit-scrollbar-thumb { background:var(--line); border-radius:4px; }
  .rtab { display: flex; align-items: center; gap: 9px; flex: none; background:var(--panel); border:1px solid var(--line); border-radius:999px; padding: 10px 18px 10px 10px; color:var(--muted); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: .15s ease; max-width: 230px; font-family: inherit; }
  .rtab:hover { border-color:var(--accent); color:var(--text-strong); }
  .rtab .rtn { display: flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius:50%; background:var(--line); color:var(--faint); font-size: 12px; font-weight: 800; transition: .15s ease; }
  .rtab .rtl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rtab.active { background:rgba(255,214,10,.14); border-color:var(--accent); color:var(--text-strong); }
  .rtab.active .rtn { background:var(--accent); color:var(--accent-dark); }
  .rpanels { position: relative; }
  .rpanel { display: none; position: relative; overflow: hidden; background:var(--panel); border:1px solid var(--line); border-radius:24px; padding: 36px 40px; align-items: center; gap: 32px; }
  .rpanel.active { display: flex; animation: rfadein .35s ease; }
  @keyframes rfadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  .rpanel .rghost { position: absolute; top: -18px; right: 10px; font-size: 150px; font-weight: 800; color:var(--panel-2); line-height: 1; user-select: none; z-index: 0; }
  .rpanel .ric-lg { position: relative; z-index: 1; flex: none; display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius:50%; background:rgba(255,214,10,.12); color:var(--accent-text); }
  .rpanel .ric-lg svg { width: 42px; height: 42px; stroke:currentColor; fill:none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .rpanel .rbody { position: relative; z-index: 1; }
  .rpanel .rstepno { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color:var(--accent-text); margin-bottom: 8px; }
  .rpanel h3 { font-size: clamp(24px,3.2vw,34px); color:var(--text-strong); margin-bottom: 10px; line-height: 1.15; }
  .rpanel p { font-size: 16px; color:var(--muted); max-width: 56ch; margin: 0; }
  .rcoaches { position: relative; z-index: 1; flex: none; display: flex; gap: 12px; }
  .rcoach { text-align: center; }
  .rcoach img { width: 60px; height: 60px; border-radius:50%; object-fit: cover; border:2px solid var(--line); display: block; margin: 0 auto 6px; }
  .rcoach span { font-size: 11px; color:var(--faint); }
  @media (max-width: 680px) {
    .rpanel { flex-direction: column; text-align: center; padding: 30px 24px; gap: 18px; }
    .rpanel .rghost { display: none; }
    .rcoaches { justify-content: center; flex-wrap: wrap; }
  }
