/* Tvorba – content systém. Design tokens z akcelerator-ambici.vercel.app (jako faktury a klienti), víc vzduchu. */
:root {
  --canvas: #07090f;
  --sunken: #0a0d16;
  --panel: #0f1320;
  --panel-hi: #141a2b;
  --ink: #f4f6fb;
  --ink-2: #a6adc3;
  --ink-3: #6b7390;
  --accent: #2f5bff;
  --accent-hi: #5b7fff;
  --accent-soft: #2f5bff24;
  --accent-line: #2f5bff73;
  --line: #ffffff14;
  --line-strong: #ffffff29;
  --good: #4ade80;
  --warn: #fbbf24;
  --bad: #ff8a8a;
  --gold: #f5c400;
  --gold-hi: #ffdb3d;
  --cta-rgb: 47, 91, 255;

  --ch-youtube: #ff6b6b;
  --ch-podcast: #a78bfa;
  --ch-shorts: #f5c400;
  --ch-newsletter: #4ade80;
  --ch-skool: #38bdf8;

  --font-sans: Montserrat, ui-sans-serif, system-ui, sans-serif;
  --font-display: "Special Gothic Expanded One", Montserrat, sans-serif;
  --shadow-card: 0 1px 0 #ffffff0f inset, 0 24px 60px -28px #000c;
  --radius: 22px;
  --gap: 28px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--canvas); color: var(--ink);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- Pozadí ---------- */
.stage { position: fixed; inset: 0 0 auto; height: 760px; pointer-events: none; z-index: 0; }
.stage-light {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 45% at 50% -10%, #2f5bff55, #0000 70%),
    radial-gradient(35% 30% at 6% 8%, #2f5bff22, #0000 70%),
    radial-gradient(35% 30% at 94% 10%, #2f5bff1f, #0000 70%);
}
.stage-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(#ffffff08 1px, #0000 1px), linear-gradient(90deg, #ffffff08 1px, #0000 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0, #000 20%, #0000 100%);
  mask-image: radial-gradient(70% 60% at 50% 0, #000 20%, #0000 100%);
}
.loading { text-align: center; color: var(--ink-3); margin-top: 30vh; }

/* ---------- Kostra: boční menu + obsah ---------- */
.shell { position: relative; z-index: 1; min-height: 100vh; }
.layout { display: flex; min-height: 100vh; }
.side {
  position: sticky; top: 0; align-self: flex-start;
  width: 260px; flex: none; height: 100vh;
  padding: 40px 22px 28px;
  display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--line);
  background: linear-gradient(#07090fcc, #07090fee);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 12px 34px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.02em; }
.nav-link {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 14px;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.nav-link svg { width: 20px; height: 20px; flex: none; opacity: 0.85; }
.nav-link:hover { background: #ffffff08; color: var(--ink); }
.nav-link.on { background: var(--accent-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent-line); }
.nav-link .count { margin-left: auto; font-size: 0.75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.side-foot { margin-top: auto; padding: 18px 14px 0; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-3); }

.main { flex: 1; min-width: 0; padding: 56px clamp(20px, 5vw, 72px) 120px; }
.page { max-width: 1080px; margin: 0 auto; }
.page.narrow { max-width: 760px; }

.tabbar { display: none; }

@media (max-width: 899px) {
  .side { display: none; }
  .main { padding: max(26px, env(safe-area-inset-top)) 18px calc(110px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: flex; position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: #07090fee; border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  .tab {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 8px 2px; border-radius: 12px;
    color: var(--ink-3); text-decoration: none; font-size: 0.68rem; font-weight: 700;
  }
  .tab svg { width: 22px; height: 22px; }
  .tab.on { color: var(--ink); }
  .tab.on svg { color: var(--accent-hi); }
}

/* ---------- Typografie ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.eyebrow { display: inline-block; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-hi); font-size: 0.72rem; font-weight: 700; }
.title {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem); line-height: 1.12; margin: 10px 0 0; text-wrap: balance;
}
.title-sm { font-size: clamp(1.3rem, 3.2vw, 1.8rem); }
.lead { margin: 14px 0 0; color: var(--ink-2); max-width: 60ch; }
.h2 { margin: 0 0 20px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: 0.82rem; }
.num { font-variant-numeric: tabular-nums; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.section { margin-top: 56px; }
.section:first-child { margin-top: 0; }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: var(--gap); }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }

/* ---------- Tlačítka ---------- */
.btn {
  position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 0.6rem;
  padding: 1rem 1.7rem; border: 1px solid transparent; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; user-select: none; white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, background 0.2s, border-color 0.2s, opacity 0.2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  box-shadow: 0 0 0 1px #5b7fff73, 0 10px 30px -8px rgba(var(--cta-rgb), 0.75), inset 0 1px 0 #ffffff40;
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn-ghost {
  color: var(--ink); background: linear-gradient(#ffffff0f, #ffffff06); border-color: var(--line-strong);
  padding: 0.85rem 1.25rem; font-size: 0.75rem;
}
.btn-ghost:hover:not(:disabled) { border-color: var(--accent-line); box-shadow: 0 0 30px -10px rgba(var(--cta-rgb), 0.6); }
.btn-sm { padding: 0.6rem 0.95rem; font-size: 0.68rem; }
.btn-rec { color: #fff; background: #ff4d4d; box-shadow: 0 0 0 6px #ff4d4d22; }
.link-btn {
  background: none; border: 0; padding: 0.2rem 0; color: var(--accent-hi);
  font-size: 0.82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line);
}
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 999px; border: 1px solid var(--line-strong); background: linear-gradient(#ffffff0f, #ffffff06);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s, color 0.2s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover:not(:disabled) { border-color: var(--accent-line); }
.icon-btn:active:not(:disabled) { transform: scale(0.94); }
.icon-btn:disabled { opacity: 0.3; cursor: default; }
.star { color: var(--ink-3); }
.star.on { color: var(--gold-hi); border-color: #ffdb3d66; background: #f5c4001a; }
.star.on svg { fill: currentColor; }

/* ---------- Karty a panely ---------- */
.glass {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); background: linear-gradient(#ffffff0d, #ffffff05);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.panel { padding: clamp(22px, 3.2vw, 36px); }
.panel + .panel { margin-top: var(--gap); }
.tile {
  display: block; text-decoration: none; padding: 22px 24px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--sunken);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
a.tile:hover, button.tile:hover { border-color: var(--line-strong); box-shadow: 0 16px 40px -24px rgba(var(--cta-rgb), 0.7); }
button.tile { width: 100%; text-align: left; }
.empty { padding: 48px 24px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-strong); border-radius: 18px; }

/* ---------- Formuláře ---------- */
.field {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 14px;
  background: var(--sunken); color: var(--ink);
  padding: 0.9rem 1.1rem; font-size: 1rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field::placeholder { color: var(--ink-3); }
.field:focus { border-color: var(--accent-hi); box-shadow: 0 0 0 4px var(--accent-soft); }
textarea.field { resize: vertical; min-height: 120px; line-height: 1.6; }
select.field { appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background-image: linear-gradient(45deg, #0000 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, #0000 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
input[type="date"].field, input[type="time"].field, input[type="datetime-local"].field { min-height: 52px; }
input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.6; }
.label { display: block; margin-bottom: 10px; color: var(--ink-2); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; }
.field-title { font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 700; border-color: transparent; background: transparent; padding-left: 0; }
.field-title:focus { background: var(--sunken); padding-left: 1.1rem; }
.save-state { font-size: 0.75rem; color: var(--ink-3); font-weight: 600; min-height: 1.2em; }
.save-state.dirty { color: var(--warn); }

/* ---------- Zapsat ---------- */
.capture { padding: clamp(22px, 3.4vw, 40px); }
.capture textarea { min-height: 150px; font-size: 1.1rem; border-color: transparent; background: #0a0d16aa; }
.capture-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.capture-actions .grow { min-width: 10px; }
.pending { display: grid; gap: 10px; margin-top: 18px; }
.pending-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--sunken); border: 1px solid var(--line); font-size: 0.88rem; }
.pending-item .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { height: 6px; border-radius: 999px; background: #ffffff12; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); box-shadow: 0 0 16px rgba(var(--cta-rgb), 0.7); }
.rec-time { font-variant-numeric: tabular-nums; font-weight: 700; color: #ff8a8a; }

/* ---------- Ve vývoji ---------- */
.soon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px dashed var(--line-strong);
  color: var(--ink-3); font-size: 0.75rem; font-weight: 600; background: none; cursor: default;
}
.soon b { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-hi); font-weight: 800; }
.soon-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Štítky ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--sunken);
  font-size: 0.8rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
button.chip:hover, a.chip:hover { border-color: var(--accent-line); }
.chip.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--ink); }
.chip .n { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; background: #ffffff0d; color: var(--ink-2); white-space: nowrap; }
.tag.accent { background: var(--accent-soft); color: var(--accent-hi); }
.tag.good { background: #4ade801a; color: var(--good); }
.tag.warn { background: #fbbf241a; color: var(--warn); }
.tag.bad { background: #ff8a8a1a; color: var(--bad); }
.dot { width: 9px; height: 9px; border-radius: 99px; flex: none; background: var(--ink-3); }
.ch-youtube { --ch: var(--ch-youtube); } .ch-podcast { --ch: var(--ch-podcast); } .ch-shorts { --ch: var(--ch-shorts); }
.ch-newsletter { --ch: var(--ch-newsletter); } .ch-skool { --ch: var(--ch-skool); }
.dot[class*="ch-"] { background: var(--ch); }

/* ---------- Myšlenky ---------- */
.toolbar { display: grid; gap: 18px; margin-bottom: 32px; }
.search { position: relative; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); }
.search .field { padding-left: 50px; }
.thoughts { display: grid; gap: 16px; }
.thought { display: flex; gap: 18px; align-items: flex-start; }
.thought .body { flex: 1; min-width: 0; }
.thought .text { white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.thought .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 14px; font-size: 0.76rem; color: var(--ink-3); }
.transcript { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #ffffff06; border-left: 2px solid var(--accent-line); color: var(--ink-2); font-size: 0.92rem; }
.more { display: flex; justify-content: center; margin-top: 32px; }

.files { display: grid; gap: 14px; }
.file { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--sunken); border: 1px solid var(--line); }
.file img { max-width: 100%; max-height: 520px; border-radius: 12px; display: block; }
.file audio, .file video { width: 100%; }
.file video { max-height: 520px; border-radius: 12px; background: #000; }

/* ---------- Karty (projekty) ---------- */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 22px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
.col { scroll-snap-align: start; display: grid; align-content: start; gap: 14px; }
.col-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.cardtile { display: grid; gap: 14px; }
.cardtile .t { font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.cardtile .nx { font-size: 0.8rem; color: var(--ink-2); }
.progress { height: 6px; border-radius: 999px; background: #ffffff10; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); }
.progress.big { height: 10px; }
.type-video { --type: var(--ch-youtube); } .type-podcast { --type: var(--ch-podcast); } .type-klip { --type: var(--ch-shorts); } .type-post { --type: var(--ch-newsletter); }
.typetag { color: var(--type); background: color-mix(in srgb, var(--type) 14%, transparent); }

.list-cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .list-cards.two { grid-template-columns: 1fr 1fr; } }

.steps { display: grid; gap: 8px; }
.phase-title { margin: 26px 0 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.phase-title:first-child { margin-top: 0; }
.step { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--sunken); }
.step .lbl { flex: 1; min-width: 0; font-weight: 600; font-size: 0.95rem; }
.step.done .lbl, .step.skip .lbl { color: var(--ink-3); text-decoration: line-through; text-decoration-color: #ffffff30; }
.step.next { border-color: var(--accent-line); box-shadow: 0 0 30px -16px rgba(var(--cta-rgb), 0.9); }
.check {
  width: 28px; height: 28px; flex: none; border-radius: 9px; border: 2px solid var(--ink-3);
  display: grid; place-items: center; background: none; color: #fff; padding: 0;
}
.check svg { width: 16px; height: 16px; opacity: 0; }
.check.on { background: var(--accent); border-color: var(--accent); }
.check.on svg { opacity: 1; }
.check.skip { border-style: dashed; }
.owner-select { width: auto; padding: 0.45rem 2rem 0.45rem 0.8rem; font-size: 0.78rem; border-radius: 999px; min-height: 0; }
.ai-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.grid-2 { display: grid; gap: var(--gap); }
@media (min-width: 1240px) { .grid-2 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; } }

.release { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--sunken); border: 1px solid var(--line); }
.release .when { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Kalendář ---------- */
.seg { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--sunken); }
.seg button { border: 0; background: none; padding: 0.6rem 1.1rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: var(--ink-2); }
.seg button.on { background: var(--accent); color: #fff; }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.month .wd { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 0 8px 6px; }
.cell { min-height: 128px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: #0a0d16aa; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cell.out { opacity: 0.35; }
.cell.today { border-color: var(--accent-line); box-shadow: inset 0 0 0 1px var(--accent-line); }
.cell .d { font-size: 0.78rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ev {
  display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 8px;
  font-size: 0.72rem; font-weight: 600; line-height: 1.3; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--ch, #ffffff) 14%, transparent); border-left: 3px solid var(--ch, var(--ink-3));
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0;
}
.ev span { overflow: hidden; text-overflow: ellipsis; }
.ev.free { background: none; border: 1px dashed color-mix(in srgb, var(--ch) 55%, transparent); color: var(--ink-3); }
.ev.done { opacity: 0.55; }
.ev.late { box-shadow: inset 0 0 0 1px #ff8a8a88; }
.ev.rec { --ch: var(--accent-hi); }
.agenda { display: grid; gap: 22px; }
.agenda-day { display: grid; gap: 10px; }
.agenda-day .d { font-weight: 700; font-size: 0.85rem; color: var(--ink-2); text-transform: capitalize; }
.agenda .ev { font-size: 0.85rem; padding: 12px 14px; border-radius: 12px; white-space: normal; }
@media (max-width: 899px) { .month-wrap { display: none; } }
@media (min-width: 900px) { .agenda-wrap { display: none; } }

.queue { display: grid; gap: 10px; }
.qitem { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--sunken); touch-action: pan-y; }
.qitem.dragging { opacity: 0.92; border-color: var(--accent-line); box-shadow: 0 20px 40px -16px #000, 0 0 0 1px var(--accent-line); position: relative; z-index: 5; }
.qitem .handle { cursor: grab; color: var(--ink-3); padding: 6px; touch-action: none; display: grid; place-items: center; border: 0; background: none; }
.qitem .handle svg { width: 20px; height: 20px; }
.qitem .when { width: 9.5rem; flex: none; font-size: 0.82rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.qitem .t { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.qitem.pinned { border-style: dashed; }
@media (max-width: 600px) { .qitem { flex-wrap: wrap; } .qitem .when { width: auto; order: 3; flex-basis: 100%; padding-left: 44px; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 50;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 14px 22px; border-radius: 999px; background: var(--panel-hi); border: 1px solid var(--line-strong);
  font-size: 0.88rem; font-weight: 600; box-shadow: 0 20px 50px -20px #000; transition: all 0.3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: #ff5b5b66; color: var(--bad); }
@media (min-width: 900px) { .toast { bottom: 40px; } }

/* ---------- Přihlášení ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.login .glass { padding: 56px 40px; max-width: 460px; width: 100%; }
.login img { width: 64px; height: 64px; border-radius: 16px; }

/* ---------- Modální okno ---------- */
.modal-back { position: fixed; inset: 0; z-index: 40; background: #000a; display: grid; place-items: center; padding: 20px; }
.modal { width: 100%; max-width: 560px; max-height: 86vh; overflow: auto; padding: clamp(24px, 4vw, 40px); background: var(--panel); }
.modal .title { margin-top: 0; }
.option { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--sunken); text-align: left; }
.option:hover { border-color: var(--accent-line); }
.option .ot { font-weight: 700; }
.option .os { font-size: 0.8rem; color: var(--ink-3); }

.roadmap { display: grid; gap: var(--gap); }
.roadmap ul { margin: 14px 0 0; padding-left: 1.2rem; color: var(--ink-2); display: grid; gap: 8px; }
.links-group { display: grid; gap: 10px; }
.link-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: var(--sunken); border: 1px solid var(--line); }
.link-row a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.link-row a:hover { color: var(--accent-hi); }
.link-row .u { font-size: 0.76rem; color: var(--ink-3); overflow-wrap: anywhere; }

/* ---------- Mobil: Zapsat ---------- */
@media (max-width: 600px) {
  .capture textarea { min-height: 130px; }
  .capture-actions { gap: 10px; }
  .capture-actions .grow { display: none; }
  .capture-actions .btn-ghost, .capture-actions .btn-rec { flex: 1 1 0; padding: 0.9rem 0.5rem; font-size: 0.68rem; letter-spacing: 0.03em; }
  .capture-actions #cap-save { flex-basis: 100%; padding: 1.1rem; }
  .capture-actions .rec-time:empty { display: none; }
  .page-head { margin-bottom: 28px; }
}
@media (max-width: 600px) {
  .qitem { gap: 10px; padding: 12px; }
  .qitem .num { display: none; }
  .qitem .icon-btn { width: 36px; height: 36px; }
  .qitem .when { padding-left: 40px; }
}
