/* Veřejný web THEIS – přesný design Qerisu (~/Downloads/Teticode/src/site): plocha #f5f5f7, bílé karty
   s dvouvrstvým stínem, černé pilulky, šedé pokračování nadpisů, zelený akcent a pixelové motivy.
   Základ je převzatý 1:1 ze zdrojů Qerisu (site.css, sections.css, ceník, kontakt, dokumentace, právní
   stránky, pixelové prvky a ukázkové karty z přihlášení); vlastní části THEISu jsou až na konci souboru
   pod nadpisem „THEIS“. Všechny třídy mají předponu .ws- (případně .lg-/.px- z Qerisu), takže se nepere
   s appkou. Při úpravách převzatých částí nejdřív zkontrolovat, jak je to v Qerisu. */


/* ===== Qeris: site.css ===== */
/* Prezentační web (/web) – vzhled aplikace a PDF prezentace: plocha #f5f5f7, bílé karty s jemným stínem,
   tmavá tlačítka, šedé pokračování nadpisů a zelený akcent. Prefix .ws-, ať se to nepere s aplikací.
   Tady je základ (rozvržení, hlavička, typografie, pohyb, sdílené prvky); sekce jednotlivých stránek jsou v sections.css. */

/* Základ, který jinak dodává CSS aplikace – web se nepřihlášenému načítá bez něj (src/Root.jsx).
   :where() má nulovou váhu, takže jakékoli pravidlo níže ho přebije. */
:where(body) {
  margin: 0;
  background: #f5f5f7;
  -webkit-tap-highlight-color: transparent;
}

:where(.ws) :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, pre, fieldset, legend, dl, dd) {
  margin: 0;
  padding: 0;
}

:where(.ws) :where(button) {
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

.ws {
  --lg-bg: #f5f5f7;
  --lg-card: #ffffff;
  --lg-ink: #1d1d1f;
  --lg-muted: #86868b;
  --lg-line: rgba(0, 0, 0, 0.06);
  --lg-soft: #f2f2f7;
  --lg-green: #22b35b;
  --lg-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ws-ink-2: #424245;
  --ws-text-2: #6e6e73;
  --ws-soft-ink: #a1a1a6;
  --ws-green-ink: #248a3d;
  --ws-neon: #3fc722;
  --ws-max: 1240px;
  --ws-gutter: clamp(18px, 4vw, 48px);
  --ws-radius: 28px;
  --ws-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 40px 80px -40px rgba(0, 0, 0, 0.18);
  --ws-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 24px 48px -28px rgba(0, 0, 0, 0.16);
  --ws-header: 68px;
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--lg-bg);
  color: var(--lg-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ws *,
.ws *::before,
.ws *::after {
  box-sizing: border-box;
}

.ws a {
  color: inherit;
  text-decoration: none;
}

.ws ::selection {
  background: rgba(63, 199, 34, 0.25);
}

.ws :focus-visible {
  outline: 2px solid var(--ws-neon);
  outline-offset: 3px;
  border-radius: 8px;
}

.ws-main {
  position: relative;
  min-height: 70vh;
}

.ws-wrap {
  width: 100%;
  max-width: calc(var(--ws-max) + var(--ws-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--ws-gutter);
}

.ws-section {
  position: relative;
  padding: clamp(72px, 11vw, 150px) 0;
}

.ws-section.is-tight {
  padding: clamp(48px, 7vw, 96px) 0;
}

.ws-section.is-white {
  background: #fff;
}

/* --- hlavička ------------------------------------------------------------ */

.ws-header {
  position: fixed;
  z-index: 60;
  top: 0;
  right: 0;
  left: 0;
  height: var(--ws-header);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.ws-header.is-scrolled {
  background: rgba(245, 245, 247, 0.78);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.ws-header.is-menu {
  background: #f5f5f7;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Na telefonu bez rozmazání pod lištou – při posunu by se přepočítávalo v každém snímku. */
@media (max-width: 760px), (pointer: coarse) {
  .ws-header.is-scrolled {
    background: rgba(245, 245, 247, 0.97);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.ws-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  max-width: calc(var(--ws-max) + var(--ws-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--ws-gutter);
}

.ws-brand {
  display: flex;
  flex: none;
  align-items: center;
  height: 40px;
}

.ws-brand img {
  display: block;
  width: auto;
  height: 28px;
  transition: opacity 0.2s ease;
}

.ws-brand:hover img {
  opacity: 0.7;
}

.ws-tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
  padding: 4px;
  border-radius: 99px;
}

.ws-tabs .ws-tab {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: 0;
  border-radius: 99px;
  background: none;
  color: var(--ws-text-2);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease;
}

.ws-tabs .ws-tab:hover,
.ws-tabs .ws-tab.active,
.ws-tabs .ws-tab.is-open {
  color: var(--lg-ink);
}

.ws-tab svg {
  margin-right: -3px;
  color: var(--ws-soft-ink);
  transition: transform 0.25s var(--lg-ease);
}

.ws-tab.is-open svg {
  transform: rotate(180deg);
}

/* Rozbalovací nabídka pod záložkou (Produkty, Pro koho). */
.ws-menu {
  position: absolute;
  top: calc(100% + 12px);
  /* Na střed záložky už od prvního snímku (přes animaci by nabídka nejdřív problikla vedle). */
  translate: -50% 0;
  z-index: 70;
  display: grid;
  gap: 2px;
  width: 340px;
  padding: 8px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 30px 70px -24px rgba(0, 0, 0, 0.28);
}

.ws-menu.is-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 620px;
}

/* Most přes mezeru mezi záložkou a nabídkou, ať se při přejetí myší nezavře. */
.ws-menu::before {
  position: absolute;
  top: -14px;
  right: 0;
  left: 0;
  height: 14px;
  content: '';
}

.ws-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 15px;
  transition: background-color 0.2s ease;
}

.ws-menu-item:hover,
.ws-menu-item:focus-visible {
  background: #f5f5f7;
}

.ws-menu-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #f2f2f7;
  color: var(--lg-ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ws-menu-item:hover .ws-menu-icon {
  background: rgba(34, 179, 91, 0.12);
  color: var(--ws-green-ink);
}

.ws-menu-item strong {
  display: block;
  color: var(--lg-ink);
  font-size: 14.5px;
  font-weight: 650;
}

.ws-menu-item small {
  display: block;
  margin-top: 2px;
  color: var(--ws-text-2);
  font-size: 12.5px;
  line-height: 1.4;
}

.ws-tabs-hover,
.ws-tabs-active {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: var(--w, 0);
  border-radius: 99px;
  opacity: 0;
  transform: translateX(var(--x, 0));
  transition: transform 0.5s var(--lg-ease), width 0.5s var(--lg-ease), opacity 0.3s ease;
  pointer-events: none;
}

.ws-tabs-hover {
  z-index: 0;
  background: rgba(0, 0, 0, 0.045);
}

.ws-tabs-active {
  z-index: 1;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.06);
}

.ws-tabs-hover.is-shown,
.ws-tabs-active.is-shown {
  opacity: 1;
}

.ws-header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.ws-login {
  padding: 8px 12px;
  border-radius: 99px;
  color: var(--ws-ink-2);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.ws-login:hover {
  background: rgba(0, 0, 0, 0.045);
}

.ws-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--lg-ink);
  transition: background-color 0.2s ease;
}

.ws-burger:hover {
  background: rgba(0, 0, 0, 0.05);
}

.ws-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #72df4d, #22b35b);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  opacity: 0.9;
  pointer-events: none;
}

.ws-sheet {
  position: fixed;
  z-index: 55;
  inset: var(--ws-header) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px var(--ws-gutter) 28px;
  overflow-y: auto;
  background: #f5f5f7;
}

.ws-sheet-nav .ws-sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--ws-ink-2);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ws-sheet-nav .ws-sheet-link svg {
  color: var(--ws-soft-ink);
  transition: transform 0.3s var(--lg-ease);
}

.ws-sheet-nav .ws-sheet-link.active {
  color: var(--lg-ink);
}

.ws-sheet-nav .ws-sheet-link.active svg {
  color: var(--lg-green);
}

/* Skupina v menu na telefonu: nadpis a odkazy ve dvou sloupcích. */
.ws-sheet-group {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ws-sheet-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ws-soft-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ws-sheet-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
}

.ws-sheet-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 0;
  color: var(--ws-ink-2);
  font-size: 17px;
  font-weight: 650;
}

.ws-sheet-links a svg {
  flex: none;
  color: var(--ws-soft-ink);
}

.ws-sheet-links a.active {
  color: var(--lg-ink);
}

.ws-sheet-links a.active svg {
  color: var(--lg-green);
}

.ws-sheet-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

@media (max-width: 1120px) {
  .ws-login {
    display: none;
  }
}

@media (max-width: 350px) {
  .ws-header .ws-header-cta {
    display: none;
  }
}

@media (max-width: 980px) {
  .ws-tabs {
    display: none;
  }

  .ws-burger {
    display: inline-flex;
  }

  .ws-header-actions {
    margin-left: auto;
  }
}

/* --- tlačítka ------------------------------------------------------------ */

.ws-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: var(--lg-ink);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
  color: #fff !important;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--lg-ease), background-color 0.2s ease, box-shadow 0.35s var(--lg-ease);
}

.ws-btn svg {
  transition: transform 0.35s var(--lg-ease);
}

.ws-btn:hover {
  background: #000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.ws-btn:hover svg:last-child {
  transform: translateX(3px);
}

.ws-btn:active {
  transform: translateY(0) scale(0.98);
}

.ws-btn.is-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.ws-btn.is-ghost {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  color: var(--lg-ink) !important;
}

.ws-btn.is-ghost:hover {
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.ws-btn.is-light {
  background: #fff;
  color: var(--lg-ink) !important;
}

.ws-btn.is-light:hover {
  background: #fff;
}

.ws-btn.is-on-dark {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

.ws-btn.is-on-dark:hover {
  background: rgba(255, 255, 255, 0.14);
}

.ws-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.ws-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lg-ink);
  font-weight: 600;
}

.ws-link svg {
  transition: transform 0.3s var(--lg-ease);
}

.ws-link:hover svg {
  transform: translateX(4px);
}

/* --- typografie ---------------------------------------------------------- */

.ws-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: var(--ws-ink-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.ws-eyebrow i {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--lg-green);
}

.ws-eyebrow i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--lg-green);
  animation: ws-ping 2.4s var(--lg-ease) infinite;
}

@keyframes ws-ping {
  0% { opacity: 0.6; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(2.8); }
}

.ws-title {
  margin: 22px 0 0;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.ws-title:first-child {
  margin-top: 0;
}

.ws-title.is-hero {
  font-size: clamp(42px, 7.2vw, 96px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.ws-title.is-mid {
  font-size: clamp(28px, 3.4vw, 44px);
}

.ws-soft {
  color: var(--ws-soft-ink);
}

.ws-title.is-br .ws-soft {
  display: block;
}

.ws-title.is-light {
  color: #fff;
}

.ws-title.is-light .ws-soft {
  color: rgba(255, 255, 255, 0.45);
}

/* slova vyjedou zespodu jedno po druhém */
.ws-word {
  display: inline-block;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  overflow: hidden;
  vertical-align: top;
}

.ws-word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s var(--lg-ease);
  transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 55ms);
}

.ws-title.is-in .ws-word > span {
  transform: none;
}

.ws-lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--ws-text-2);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  text-wrap: pretty;
}

.ws-head {
  max-width: 760px;
}

.ws-head.is-center {
  margin: 0 auto;
  text-align: center;
}

.ws-head.is-center .ws-lead {
  margin-right: auto;
  margin-left: auto;
}

.ws-head + * {
  margin-top: clamp(40px, 6vw, 72px);
}

.ws-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.ws-points li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--lg-ink);
  font-size: 17px;
  font-weight: 500;
}

.ws-check {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.12);
  color: var(--ws-green-ink);
}

.ws-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.ws-chips > span {
  padding: 8px 15px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: var(--ws-ink-2);
  font-size: 14px;
  font-weight: 600;
}

.ws-note {
  margin-top: 18px;
  color: var(--lg-muted);
  font-size: 14px;
}

.ws-sample {
  color: var(--ws-soft-ink);
  font-size: 12px;
  font-weight: 500;
}

/* Sekce mimo obrazovku (usePauseOffscreen v Site.jsx): nekonečné animace stojí. */
.ws .is-offscreen *,
.ws .is-offscreen *::before,
.ws .is-offscreen *::after {
  animation-play-state: paused !important;
}

/* --- odhalení při posunu --------------------------------------------------- */

.ws-reveal {
  opacity: 0;
  transition:
    opacity 0.9s var(--lg-ease) var(--d, 0ms),
    transform 1.1s var(--lg-ease) var(--d, 0ms),
    filter 0.9s var(--lg-ease) var(--d, 0ms);
}

.ws-reveal.is-up { transform: translate3d(0, 34px, 0); }
.ws-reveal.is-scale { transform: scale(0.94); }
.ws-reveal.is-left { transform: translate3d(-40px, 0, 0); }
.ws-reveal.is-right { transform: translate3d(40px, 0, 0); }
.ws-reveal.is-rise { transform: perspective(1400px) translate3d(0, 70px, 0) rotateX(14deg); transform-origin: 50% 100%; }
.ws-reveal.is-blur { filter: blur(10px); transform: scale(1.02); }

.ws-reveal.is-in {
  opacity: 1;
  filter: none;
  transform: none;
}

/* --- karty a sdílené prvky ----------------------------------------------- */

.ws-card {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: var(--ws-radius);
  background: #fff;
  box-shadow: var(--ws-shadow);
}

.ws-panel {
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* světlo pod myší */
.ws-spot {
  position: relative;
  isolation: isolate;
}

.ws-spot::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(114, 223, 77, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ws-spot:hover::before {
  opacity: 1;
}

.ws-bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 99px;
  background: var(--lg-soft);
  color: var(--ws-text-2);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.ws-bubble.is-green { border-color: rgba(52, 199, 89, 0.2); background: rgba(52, 199, 89, 0.1); color: var(--ws-green-ink); }
.ws-bubble.is-warn { border-color: rgba(255, 149, 0, 0.22); background: rgba(255, 149, 0, 0.1); color: #b25e00; }
.ws-bubble.is-red { border-color: rgba(255, 59, 48, 0.2); background: rgba(255, 59, 48, 0.08); color: #d70015; }
.ws-bubble.is-blue { border-color: rgba(0, 122, 255, 0.2); background: rgba(0, 122, 255, 0.08); color: #0060df; }
.ws-bubble.is-dark { border-color: transparent; background: var(--lg-ink); color: #fff; }

.ws-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--lg-soft);
  color: var(--lg-ink);
  transition: transform 0.5s var(--lg-ease), background-color 0.3s ease, color 0.3s ease;
}

.ws-count {
  font-variant-numeric: tabular-nums;
}

/* nekonečný pás */
.ws-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ws-marquee-track {
  display: flex;
  width: max-content;
  animation: ws-marquee var(--speed, 40s) linear infinite;
}

.ws-marquee.is-reverse .ws-marquee-track {
  animation-direction: reverse;
}

.ws-marquee:hover .ws-marquee-track {
  animation-play-state: paused;
}

.ws-marquee-group {
  display: flex;
  flex: none;
  gap: 12px;
  padding-right: 12px;
}

@keyframes ws-marquee {
  to { transform: translateX(-50%); }
}

/* plovoucí ukázky kolem hlavních sekcí */
.ws-float {
  position: absolute;
  z-index: 3;
  opacity: 0;
  transform: translate3d(calc(var(--px, 0) * var(--depth, 1) * -14px), calc(var(--py, 0) * var(--depth, 1) * -12px), 0) scale(0.9);
  animation: ws-float-in 1.1s var(--lg-ease) forwards;
  animation-delay: var(--d, 0ms);
  transition: transform 0.9s var(--lg-ease);
}

@keyframes ws-float-in {
  from { opacity: 0; scale: 0.85; }
  to { opacity: 1; scale: 1; }
}

.ws-float-bob {
  rotate: var(--r);
  animation: ws-bob 7s ease-in-out infinite;
  animation-delay: var(--s, 0s);
}

.ws-float:nth-child(odd) .ws-float-bob {
  animation-name: ws-drift;
  animation-duration: 9s;
}

@keyframes ws-bob {
  0%, 100% { translate: 0 0; rotate: var(--r); }
  50% { translate: 0 -10px; rotate: calc(var(--r) + 1.5deg); }
}

@keyframes ws-drift {
  0%, 100% { translate: 0 0; rotate: var(--r); }
  33% { translate: 6px -6px; rotate: calc(var(--r) - 1.2deg); }
  66% { translate: -5px -9px; rotate: calc(var(--r) + 0.8deg); }
}

/* telefon a prohlížeč */
.ws-phone {
  position: relative;
  width: 300px;
  height: 620px;
  padding: 10px;
  border-radius: 48px;
  background: #111113;
  box-shadow:
    inset 0 0 0 1.5px #3a3a3c,
    inset 0 0 0 4px #111113,
    0 50px 90px -30px rgba(0, 0, 0, 0.35),
    0 12px 30px rgba(0, 0, 0, 0.1);
}

.ws-phone-island {
  position: absolute;
  z-index: 5;
  top: 19px;
  left: 50%;
  width: 84px;
  height: 24px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
}

.ws-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: #fff;
}

.ws-browser {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--ws-shadow);
}

.ws-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #fafafa;
}

.ws-browser-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}

.ws-browser-bar i:nth-child(2) { background: #febc2e; }
.ws-browser-bar i:nth-child(3) { background: #28c840; }

.ws-browser-bar span {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  padding: 4px 12px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  color: var(--lg-muted);
  font-size: 12px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateX(-24px);
}

/* skutečný QR kód */
.ws-qr {
  display: block;
  width: 100%;
  height: auto;
}

.ws-qr-cell {
  transform-box: fill-box;
  transform-origin: center;
  animation: ws-qr-pop 0.6s var(--lg-ease) both;
}

@keyframes ws-qr-pop {
  from { opacity: 0; transform: scale(0.2); }
  to { opacity: 1; transform: none; }
}

.ws-qr-logo {
  transform-box: fill-box;
  transform-origin: center;
  animation: ws-qr-pop 0.7s var(--lg-ease) 0.35s both;
}

/* --- výzva na konci stránky -------------------------------------------------- */

.ws-cta-section {
  padding-top: 0;
}

.ws-cta {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: #111113;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.45);
}

.ws-cta-dots {
  position: absolute;
  top: 50%;
  right: -40px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  width: 460px;
  transform: translateY(-50%) rotate(-8deg);
  -webkit-mask-image: radial-gradient(circle at 60% 50%, #000 30%, transparent 72%);
  mask-image: radial-gradient(circle at 60% 50%, #000 30%, transparent 72%);
}

.ws-cta-dots i {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  background: #2c2c2e;
}

/* Rozsvícení jen přes průhlednost zelené vrstvy – bez přebarvování a stínů v každém snímku. */
.ws-cta-dots i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #3fc722;
  opacity: 0;
  animation: ws-cta-dot 4.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.37s);
}

@keyframes ws-cta-dot {
  0%, 60%, 100% { opacity: 0; }
  75% { opacity: 1; }
  85% { opacity: 0.6; }
}

.ws-cta-body {
  position: relative;
  max-width: 680px;
  padding: clamp(40px, 7vw, 88px);
}

.ws-cta-text {
  max-width: 520px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .ws-cta-dots {
    top: auto;
    right: -120px;
    bottom: -140px;
    opacity: 0.6;
    transform: rotate(-8deg);
  }
}

/* --- patička --------------------------------------------------------------- */

.ws-footer {
  padding: 72px 0 36px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.ws-footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 48px;
}

.ws-footer-brand img {
  display: block;
  width: auto;
  height: 28px;
}

.ws-footer-brand p {
  max-width: 300px;
  margin: 16px 0 0;
  color: var(--lg-muted);
  font-size: 15px;
}

.ws-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}

.ws-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lg-ink);
  font-size: 15px;
  font-weight: 600;
}

.ws-footer-contact svg {
  color: var(--lg-green);
}

.ws-footer-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.ws-footer-cols div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ws-footer-cols strong {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
}

.ws-footer-cols a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ws-text-2);
  font-size: 14px;
  transition: color 0.2s ease;
}

.ws-footer-cols a:hover {
  color: var(--lg-ink);
}

.ws-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--ws-soft-ink);
  font-size: 13px;
}

@media (max-width: 860px) {
  .ws-footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) and (min-width: 861px), (max-width: 700px) {
  .ws-footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ws-footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- velké monitory --------------------------------------------------------- */

@media (min-width: 1800px) {
  .ws {
    --ws-max: 1360px;
    font-size: 17px;
  }
}

@media (min-width: 2400px) {
  .ws {
    --ws-max: 1520px;
  }
}

/* Obrovská plocha bez zvětšení v systému (4K a víc při 100 %) – celý web o kus větší. */
@media (min-width: 3000px) {
  .ws {
    --ui-zoom: 1.5;
    zoom: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-reveal,
  .ws-word > span,
  .ws-float,
  .ws-float-bob,
  .ws-qr-cell,
  .ws-qr-logo {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }

  .ws-marquee-track,
  .ws-cta-dots i::after,
  .ws-eyebrow i::after {
    animation: none;
  }
}

/* --- reference (úvod) --- */
.ws-refs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.ws-ref {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 20px 24px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03), 0 24px 48px -32px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.ws-ref-logo {
  display: grid;
  place-items: center;
  height: 84px;
  margin-bottom: 14px;
}

.ws-ref-logo img {
  display: block;
  max-width: 190px;
  object-fit: contain;
}

.ws-ref-wordmark {
  color: #1d1d1f;
  font-size: clamp(20px, 5.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.ws-ref strong {
  font-size: 16.5px;
}

.ws-ref small {
  color: #86868b;
  font-size: 14px;
}

@media (max-width: 900px) {
  .ws-refs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .ws-ref {
    padding: 22px 12px 18px;
  }

  .ws-ref-logo {
    height: 68px;
  }

  .ws-ref-logo img {
    max-width: 140px;
    zoom: 0.8;
  }
}


/* ===== Qeris: sections.css ===== */
/* Sekce prezentačního webu: ukázky rozhraní (okno aplikace, telefon se stránkou) a úvodní záložka Přehled.
   Ostatní záložky mají styly v pages.css. */

/* --- okno aplikace ----------------------------------------------------------- */

.ws-app {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 70px 120px -50px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.ws-app-body {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
}

.ws-app-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 14px;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
}

.ws-app-logo {
  width: auto;
  height: 18px;
  margin: 2px 8px;
  align-self: flex-start;
}

.ws-app-ws {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 14px;
  background: #f5f5f7;
  color: var(--lg-muted);
}

.ws-app-ws-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--lg-ink);
  color: #fff;
}

.ws-app-ws-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.ws-app-ws-text strong {
  color: var(--lg-ink);
  font-size: 12.5px;
}

.ws-app-ws-text small {
  font-size: 11px;
}

.ws-app-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ws-app-nav span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--ws-text-2);
  font-size: 12.5px;
  font-weight: 500;
}

.ws-app-nav span.is-active {
  background: #f2f2f7;
  color: var(--lg-ink);
  font-weight: 600;
}

.ws-app-nav i {
  height: 1px;
  margin: 6px 10px;
  background: rgba(0, 0, 0, 0.06);
}

.ws-app-main {
  min-width: 0;
  padding: 26px 28px 30px;
  background: #f5f5f7;
}

.ws-app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ws-app-head h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ws-app-head p {
  margin: 2px 0 0;
  color: var(--lg-muted);
  font-size: 13px;
}

.ws-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ws-stat-row.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ws-stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  background: #fff;
}

.ws-stat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--lg-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.ws-stat-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.ws-stat strong {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.ws-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.ws-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: #f2f2f7;
}

.ws-seg span {
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--lg-muted);
  font-size: 11.5px;
  font-weight: 600;
}

.ws-seg span.is-active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  color: var(--lg-ink);
}

.ws-chart svg {
  display: block;
  width: 100%;
  overflow: visible;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 2s var(--lg-ease) 0.2s;
}

.ws-chart.is-in svg {
  clip-path: inset(0 0 0 0);
}

.ws-chart-grid {
  stroke: rgba(0, 0, 0, 0.06);
  stroke-dasharray: 4 6;
  vector-effect: non-scaling-stroke;
}

.ws-chart-line {
  fill: none;
  stroke: #3fc722;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.ws-bars {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13px;
}

.ws-bars strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.ws-bar {
  display: grid;
  grid-template-columns: 88px 1fr 48px;
  align-items: center;
  gap: 10px;
}

.ws-bar i {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #f2f2f7;
}

.ws-bar b {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: #3fc722;
  transition: width 1.3s var(--lg-ease);
}

.ws-bars:not(.is-in) .ws-bar b {
  width: 0 !important;
}

.ws-bar em {
  color: var(--lg-muted);
  font-style: normal;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ws-lib-item {
  position: relative;
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 18px;
  background: #fff;
}

.ws-lib-thumb {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 8px;
  border-radius: 14px;
  background: #f5f5f7;
}

.ws-lib-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.ws-lib-info strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws-lib-info small {
  color: var(--lg-muted);
  font-size: 12px;
}

.ws-lib-meta {
  display: flex;
  gap: 5px;
}

.ws-domains {
  display: flex;
  flex-direction: column;
}

.ws-domain-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}

.ws-domain-row + .ws-domain-row {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ws-domain-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.ws-domain-name strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws-domain-name small {
  color: var(--lg-muted);
  font-size: 12px;
}

.ws-panel .px-map,
.ws-mini-map .px-map,
.ws-live-card .px-map {
  grid-template-columns: 1fr;
}

.ws-mini-map .px-map-list,
.ws-live-card .px-map-list {
  display: none;
}

/* --- telefon se skutečnou stránkou ------------------------------------------ */

.ws-page-scroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.ws-page-scroll::-webkit-scrollbar {
  display: none;
}

.ws-page-canvas {
  width: 390px;
  zoom: 0.7179;
}

.ws-page-canvas .pg {
  min-height: 900px;
}

.ws-page-canvas .pg-inner {
  padding-top: 64px;
}

.ws-phone.is-small {
  width: 250px;
  height: 520px;
  padding: 9px;
  border-radius: 42px;
}

.ws-phone.is-small .ws-phone-screen {
  border-radius: 33px;
}

.ws-phone.is-small .ws-phone-island {
  top: 17px;
  width: 70px;
  height: 20px;
}

.ws-phone.is-small .ws-page-canvas {
  zoom: 0.5949;
}

.ws-phone.is-large {
  width: 340px;
  height: 700px;
  padding: 11px;
  border-radius: 54px;
}

.ws-phone.is-large .ws-phone-screen {
  border-radius: 43px;
}

.ws-phone.is-large .ws-page-canvas {
  zoom: 0.8154;
}

/* --- Přehled: hero ------------------------------------------------------------ */

.ws-hero {
  position: relative;
  padding-top: calc(var(--ws-header) + clamp(48px, 8vw, 110px));
}

.ws-hero-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 1100px;
  overflow: hidden;
  pointer-events: none;
}

.ws-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.09) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 55% 45% at 50% 32%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 45% at 50% 32%, #000 10%, transparent 70%);
}

/* Měkké barevné skvrny: radiální přechod místo filter: blur (ten se v každém snímku rozmazává znovu). */
.ws-hero-bg span {
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  opacity: 0.55;
  background: radial-gradient(closest-side, var(--blob), rgba(255, 255, 255, 0) 100%);
}

.ws-hero-bg span:nth-child(1) { top: -280px; left: 2%; --blob: #c8f5b3; }
.ws-hero-bg span:nth-child(2) { top: -60px; right: -4%; --blob: #cdeafe; animation-delay: -7s; }
.ws-hero-bg span:nth-child(3) { top: 320px; left: 30%; --blob: #fff0c4; opacity: 0.45; animation-delay: -14s; }

/* Pohyb skvrn jen na počítači – na telefonu je pozadí klidné. */
@media (hover: hover) and (min-width: 1025px) {
  .ws-hero-bg span {
    animation: ws-blob 22s ease-in-out infinite;
  }
}

@keyframes ws-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-40px, 20px) scale(0.92); }
}

.ws-hero-floats {
  position: absolute;
  top: calc(var(--ws-header) + 10px);
  right: 0;
  left: 50%;
  width: min(1680px, 100%);
  height: 640px;
  transform: translateX(-50%);
  pointer-events: none;
}

.ws-hero-floats .ws-float .lg-mock {
  zoom: 1.12;
}

.ws-hero-inner {
  position: relative;
  z-index: 4;
  max-width: 980px;
  text-align: center;
}

.ws-hero-inner .ws-title {
  margin-top: 0;
}

.ws-hero-lead {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

.ws-actions.is-center {
  justify-content: center;
}

.ws-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 26px;
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
}

.ws-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ws-hero-trust svg {
  color: var(--lg-green);
}

.ws-hero-product {
  position: relative;
  z-index: 5;
  max-width: calc(1180px + var(--ws-gutter) * 2);
  margin: clamp(56px, 7vw, 90px) auto 0;
  padding: 0 var(--ws-gutter);
  perspective: 2200px;
  animation: ws-product-in 1.5s var(--lg-ease) 0.55s both;
}

@keyframes ws-product-in {
  from { opacity: 0; translate: 0 90px; }
}

.ws-hero-tilt {
  transform: rotateX(calc((1 - var(--p, 0)) * 22deg)) scale(calc(0.93 + var(--p, 0) * 0.07));
  transform-origin: 50% 0%;
}

.ws-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-areas: 'chart stream' 'map map';
  gap: 12px;
  margin-top: 12px;
}

.ws-hero-grid .ws-panel {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 16px;
}

.ws-hero-chart { grid-area: chart; }
.ws-hero-stream { grid-area: stream; }

.ws-hero-stream .px-stream-head small {
  display: none;
}

.ws-mini-map {
  grid-area: map;
}

.ws-mini-map > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.ws-mini-map .px-map-canvas {
  aspect-ratio: 3.4;
}

@media (max-width: 1180px) {
  .ws-hero-floats {
    display: none;
  }
}

@media (max-width: 1500px) {
  .ws-float.is-optional {
    display: none;
  }

  /* Podpis vlevo dole zůstává (protějšek karty domén vpravo), jen menší, ať nenaráží do textu. */
  .ws-hero-floats .ws-float.is-compact .lg-mock {
    zoom: 0.92;
  }
}

@media (max-width: 900px) {
  .ws-app-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-app-side {
    display: none;
  }

  .ws-app-main {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .ws-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'chart' 'stream';
  }

  .ws-mini-map {
    display: none;
  }

  .ws-stat {
    padding: 12px;
  }

  .ws-stat-head {
    font-size: 11px;
  }

  .ws-stat-icon {
    display: none;
  }

  .ws-stat strong {
    font-size: 20px;
  }

  .ws-hero-tilt {
    transform: none;
  }
}

/* --- Přehled: pás použití ---------------------------------------------------- */

.ws-uses {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(56px, 8vw, 100px) 0 0;
}

.ws-use {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: var(--ws-ink-2);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.ws-use svg {
  color: var(--lg-green);
}

/* --- Přehled: moduly --------------------------------------------------------------- */

.ws-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    'a a a a a a a b b b b b'
    'c c c c c c c b b b b b'
    'd d d d d d d e e e e e'
    'f f f f f f g g g g g g'
    's s s s s s s s s s s s';
  gap: 20px;
}

.ws-bento > * {
  min-width: 0;
}

.ws-bento-a { grid-area: a; }
.ws-bento-b { grid-area: b; }
.ws-bento-c { grid-area: c; }
.ws-bento-d { grid-area: d; }
.ws-bento-e { grid-area: e; }
.ws-bento-f { grid-area: f; }
.ws-bento-g { grid-area: g; }

/* Rezervace a brand manuál v Přehledu. */
.ws-mod-book {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  background: #f5f5f7;
}

.ws-mod-book-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.ws-mod-book-cal i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e8e8ed;
}

.ws-mod-book-cal i.is-open {
  background: rgba(10, 132, 255, 0.16);
}

.ws-mod-book-cal i.is-on {
  background: #0a84ff;
}

.ws-mod-book-times {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ws-mod-book-when {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--lg-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.ws-mod-book-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.ws-mod-book-slots em {
  padding: 7px 0;
  border: 1.5px solid rgba(10, 132, 255, 0.35);
  border-radius: 10px;
  background: #fff;
  color: #0a84ff;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.ws-mod-book-slots em.is-on {
  border-color: #0a84ff;
  background: #0a84ff;
  color: #fff;
}

.ws-mod-brand {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 18px;
  background: #faf8f5;
}

.ws-mod-brand-dots {
  display: flex;
}

.ws-mod-brand-dots i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #faf8f5, inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.ws-mod-brand-dots i + i {
  margin-left: -8px;
}

.ws-mod-brand-aa {
  color: #3b2a20;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.ws-mod-brand-files {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 6px;
}

.ws-mod-brand-files em {
  padding: 5px 10px;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px rgba(59, 42, 32, 0.2);
  color: #3b2a20;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.ws-bento-s {
  display: grid;
  grid-area: s;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ws-bento-s > * {
  flex: 1;
}

.ws-mod {
  display: flex;
  flex-direction: column;
  gap: 26px;
  height: 100%;
  padding: clamp(24px, 2.6vw, 34px);
  overflow: hidden;
  color: inherit;
  transition: transform 0.6s var(--lg-ease), box-shadow 0.6s var(--lg-ease);
}

.ws-mod:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 50px 90px -40px rgba(0, 0, 0, 0.26);
  transform: translateY(-4px);
}

.ws-mod:hover .ws-icon {
  background: var(--lg-ink);
  color: #fff;
  transform: rotate(-8deg) scale(1.05);
}

.ws-mod-text h3 {
  margin: 18px 0 0;
  font-size: clamp(21px, 1.9vw, 25px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.ws-mod-text p {
  max-width: 460px;
  margin: 8px 0 0;
  color: var(--ws-text-2);
  font-size: 16px;
  line-height: 1.5;
}

.ws-mod-text .ws-link {
  margin-top: 14px;
  font-size: 15px;
}

.ws-mod:hover .ws-link svg {
  transform: translateX(4px);
}

/* Nabídky na úvodu: tři řádky nabídky, cena za 1. rok a přijetí. */
.ws-mod-quote {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f5f5f7;
}

.ws-mod-quote-rows {
  display: flex;
  flex-direction: column;
}

.ws-mod-quote-rows span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
}

.ws-mod-quote-rows b {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws-mod-quote-rows .is-monthly b svg {
  flex-shrink: 0;
  color: #0a84ff;
}

.ws-mod-quote-rows em {
  color: var(--lg-muted);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.ws-mod-quote-rows strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ws-mod-quote-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ws-mod-quote-year {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--lg-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ws-mod-quote-year em {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.ws-mod-quote-accept {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: #22b35b;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.ws-mod.is-row {
  flex-direction: row;
  align-items: center;
}

.ws-mod.is-row > * {
  flex: 1;
  min-width: 0;
}

.ws-mod.is-small {
  flex-direction: row;
  gap: 18px;
  padding: 22px 24px;
}

.ws-mod.is-small .ws-mod-text {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
}

.ws-mod.is-small .ws-icon {
  grid-row: span 3;
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

.ws-mod.is-small h3 {
  margin-top: 1px;
  font-size: 17px;
}

.ws-mod.is-small p {
  margin-top: 3px;
  font-size: 14px;
}

.ws-mod.is-small .ws-link {
  margin-top: 6px;
  font-size: 13.5px;
}

.ws-mod-qr {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  margin-top: auto;
  padding: 22px;
  border-radius: 22px;
  background: #f5f5f7;
}

.ws-mod-qr-code {
  position: relative;
  padding: 12px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Skenovací čára: posouvá se celá průhledná vrstva (transform), ne poloha čáry – bez přepočtu rozvržení. */
.ws-mod-scan {
  position: absolute;
  top: 10%;
  right: 6%;
  bottom: 12%;
  left: 6%;
  pointer-events: none;
  animation: ws-scan 2.8s ease-in-out infinite;
}

.ws-mod-scan::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: #3fc722;
  box-shadow: 0 0 14px 2px rgba(110, 255, 50, 0.55);
}

@keyframes ws-scan {
  0%, 100% { transform: translateY(0); opacity: 0; }
  10%, 90% { opacity: 1; }
  50% { transform: translateY(100%); }
}

.ws-mod-qr-flow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.ws-mod-label {
  color: var(--lg-muted);
  font-size: 12px;
  font-weight: 600;
}

.ws-mod-label + .ws-mod-link,
.ws-mod-label + .ws-mod-target {
  margin-bottom: 10px;
}

.ws-mod-link {
  font-size: 17px;
  font-weight: 600;
}

.ws-mod-link b {
  color: var(--lg-green);
}

.ws-mod-target {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.ws-mod-target svg {
  flex: none;
  color: var(--lg-green);
}

.ws-mod-pages {
  position: relative;
  flex: 1;
  min-height: 470px;
  margin: 0 -34px -60px;
  background: radial-gradient(circle at 50% 70%, rgba(114, 223, 77, 0.18), transparent 60%);
}

/* Oba telefony (odcházející i nový) leží přes sebe; bez záporného okraje, jinak odcházející při výměně odskočí. */
.ws-mod-phone {
  position: absolute;
  top: 8px;
  left: calc(50% - 125px);
}

.ws-mod-sig {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  background: #f5f5f7;
}

.ws-mod-mail-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ws-mod-mail-lines i {
  width: 88%;
  height: 7px;
  border-radius: 9px;
  background: #e5e5ea;
}

.ws-mod-sig-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ws-mod-sig-logo {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--lg-green);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.ws-mod-sig-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: 14px;
  border-left: 2px solid var(--lg-green);
  line-height: 1.35;
}

.ws-mod-sig-body strong { font-size: 15px; }
.ws-mod-sig-body small { color: var(--lg-muted); font-size: 12.5px; }
.ws-mod-sig-body b { color: var(--lg-green); font-size: 12.5px; }

.ws-mod-sig-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}

.ws-mod-sig-rows i {
  width: 120px;
  height: 6px;
  border-radius: 6px;
  background: #ececf0;
}

.ws-mod-sig-rows i:nth-child(2) { width: 96px; }
.ws-mod-sig-rows i:nth-child(3) { width: 70px; }

.ws-mod-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ws-mod-clients span {
  padding: 4px 10px;
  border-radius: 99px;
  background: #fff;
  color: var(--ws-text-2);
  font-size: 12px;
  font-weight: 600;
}

.ws-mod-domains {
  margin-top: auto;
  padding: 6px 20px;
  border-radius: 22px;
  background: #f5f5f7;
}

@media (max-width: 1060px) {
  .ws-bento {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: 'a a' 'b c' 'b d' 'e e' 'f g' 's s';
  }

  .ws-mod.is-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ws-bento-s {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ws-mod.is-small .ws-mod-text {
    display: block;
  }
}

@media (max-width: 760px) {
  .ws-bento {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'a' 'b' 'c' 'd' 'e' 'f' 'g' 's';
  }

  .ws-bento-s {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-mod-qr {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .ws-mod-pages {
    min-height: 440px;
    margin: 0 -24px -60px;
  }
}

@media (max-width: 520px) {
  .ws-mod-domains .px-mail {
    display: none;
  }

  /* Na telefonu se odkaz a cíl vedle kódu nevejdou – kód nahoru, text pod něj. */
  .ws-mod-qr {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .ws-mod-qr-code {
    width: 150px;
  }
}

/* --- Přehled: jak to funguje ----------------------------------------------------- */

.ws-how-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 100px);
}

.ws-how-steps {
  margin: 0;
  padding: 4vh 0 10vh;
  list-style: none;
}

.ws-how-steps li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64vh;
  opacity: 0.28;
  transition: opacity 0.6s var(--lg-ease);
}

.ws-how-steps li.is-active {
  opacity: 1;
}

.ws-how-n {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(52, 199, 89, 0.12);
  color: var(--ws-green-ink);
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
}

.ws-how-steps h3 {
  margin: 16px 0 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.ws-how-steps p {
  max-width: 440px;
  margin: 14px 0 0;
  color: var(--ws-text-2);
  font-size: 18px;
  line-height: 1.55;
}

.ws-how-inline {
  display: none;
}

.ws-how-stage {
  position: relative;
}

.ws-how-sticky {
  position: sticky;
  top: calc(var(--ws-header) + 6vh);
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(88vh - var(--ws-header));
}

.ws-how-visual {
  width: 100%;
  max-width: 540px;
}

.ws-how-dots {
  position: absolute;
  top: 50%;
  right: -28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
}

.ws-how-dots i {
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: #d2d2d7;
  transition: height 0.5s var(--lg-ease), background-color 0.3s ease;
}

.ws-how-dots i.is-active {
  height: 26px;
  background: var(--lg-green);
}

.ws-step-card {
  padding: 26px;
}

.ws-step-seg {
  display: inline-flex;
  box-shadow: none;
  background: #f2f2f7;
}

.ws-field {
  display: block;
  margin-top: 18px;
}

.ws-field > span,
.ws-mini-label {
  display: block;
  margin-bottom: 6px;
  color: var(--ws-text-2);
  font-size: 12.5px;
  font-weight: 600;
}

.ws-field em {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  background: #f2f2f7;
  color: var(--lg-ink);
  font-size: 15px;
  font-style: normal;
}

.ws-caret {
  width: 2px;
  height: 18px;
  margin-left: 1px;
  background: var(--lg-green);
  animation: ws-caret 1s steps(1) infinite;
}

@keyframes ws-caret {
  50% { opacity: 0; }
}

.ws-step-create {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 22px;
}

.ws-step-qr {
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
}

.ws-step-opts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ws-step-opts .ws-mini-label:not(:first-child) {
  margin-top: 18px;
}

.ws-swatches {
  display: flex;
  gap: 8px;
}

.ws-swatches i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.ws-swatches i:first-child {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lg-green);
}

.ws-step-opts .lg-mock {
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
}

.ws-step-print {
  position: relative;
  height: 460px;
}

.ws-poster {
  position: absolute;
  top: 0;
  left: 4%;
  display: flex;
  flex-direction: column;
  width: 260px;
  height: 380px;
  padding: 16px;
  rotate: -4deg;
}

.ws-poster-art {
  flex: 1;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b1f4d, #1747a6 50%, #ffd60a);
}

.ws-poster strong {
  margin-top: 14px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.ws-poster small {
  color: var(--lg-muted);
}

.ws-poster-qr {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 78px;
  padding: 4px;
  border-radius: 10px;
  background: #fff;
}

.ws-tent {
  position: absolute;
  top: 70px;
  right: 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 210px;
  padding: 20px;
  text-align: center;
  rotate: 5deg;
}

.ws-tent small {
  color: var(--lg-muted);
  font-weight: 600;
}

.ws-tent-qr {
  width: 130px;
  margin: 10px 0;
}

.ws-tent strong {
  font-size: 15px;
}

.ws-sticker {
  position: absolute;
  bottom: 0;
  left: 44%;
  width: 124px;
  padding: 10px;
  border-radius: 20px;
  rotate: -9deg;
}

.ws-step-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.ws-flow-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 22px;
}

.ws-flow-card > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ws-flow-card small {
  color: var(--lg-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.ws-flow-card strong {
  font-size: 17px;
}

.ws-flow-qr {
  flex: none !important;
  width: 58px;
  order: -1;
}

.ws-flow-card:first-child {
  justify-content: flex-start;
  margin-right: 60px;
  rotate: -1.5deg;
}

.ws-flow-card:nth-child(3) {
  margin-left: 40px;
  rotate: 1deg;
}

.ws-flow-card.is-target {
  margin-right: 20px;
  rotate: -0.5deg;
}

.ws-flow-link b {
  color: var(--lg-green);
}

.ws-flow-change {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ws-flow-change s {
  color: var(--ws-soft-ink);
  font-size: 15px;
}

.ws-flow-change svg {
  color: var(--lg-green);
}

.ws-flow-wire {
  position: relative;
  width: 2px;
  height: 34px;
  margin-left: 50%;
  background: repeating-linear-gradient(to bottom, #d2d2d7 0 4px, transparent 4px 8px);
}

.ws-flow-wire::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lg-green);
  box-shadow: 0 0 10px rgba(63, 199, 34, 0.6);
  animation: ws-wire 1.6s ease-in-out infinite;
}

@keyframes ws-wire {
  from { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  to { transform: translateY(34px); opacity: 0; }
}

.ws-flow-toast {
  align-self: flex-end;
  margin-top: 18px;
  animation: ws-toast-in 0.7s var(--lg-ease) 0.6s both;
}

@keyframes ws-toast-in {
  from { opacity: 0; transform: translateY(14px) scale(0.95); }
}

.ws-step-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  background: #f5f5f7;
}

.ws-step-stats .ws-chart {
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
}

@media (max-width: 900px) {
  .ws-how-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-how-stage {
    display: none;
  }

  .ws-how-steps {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding: 0;
  }

  .ws-how-steps li {
    min-height: 0;
    opacity: 1;
  }

  .ws-how-inline {
    display: block;
    margin-top: 28px;
  }
}

@media (max-width: 520px) {
  .ws-step-create {
    grid-template-columns: 1fr;
  }

  .ws-step-qr {
    width: 160px;
  }

  .ws-step-print {
    height: 420px;
  }

  .ws-poster {
    width: 210px;
    height: 320px;
  }

  .ws-tent {
    top: 150px;
    width: 170px;
  }

  .ws-tent-qr {
    width: 100px;
  }

  .ws-sticker {
    left: 30%;
  }
}

/* --- Přehled: čísla, mapa, pro koho, otázky ---------------------------------------- */

.ws-numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ws-number {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--ws-shadow-sm);
}

.ws-number strong {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ws-number > span {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
}

.ws-number > small {
  margin-top: 4px;
  color: var(--lg-muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .ws-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ws-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.ws-split.is-rev {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.ws-split.is-rev > :first-child {
  order: 2;
}

.ws-split .ws-head + * {
  margin-top: 0;
}

/* Seznamy a ukázky pod úvodním textem potřebují odstup, jinak se lepí na odstavec
   (ostatní bloky si odstup nesou uvnitř samy). */
.ws-split .ws-head + .ws-points,
.ws-split .ws-head + .ws-ap-basic-list,
.ws-split .ws-head + .ws-themes,
.ws-split .ws-head + .ws-sched {
  margin-top: clamp(30px, 3vw, 40px);
}

@media (max-width: 960px) {
  .ws-split,
  .ws-split.is-rev {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-split.is-rev > :first-child {
    order: 0;
  }
}

.ws-split .ws-live-total {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 34px 0 30px;
}

.ws-live-total strong {
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ws-live-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
}

.ws-live-stream {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ws-live-card .ws-sample {
  position: absolute;
  top: 18px;
  right: 22px;
}

.ws-aud {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
}

.ws-aud-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ws-aud-tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 16px;
  color: var(--ws-text-2);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ws-aud-tabs button:hover {
  background: #fafafa;
  color: var(--lg-ink);
}

.ws-aud-tabs button.is-active {
  background: #f5f5f7;
  color: var(--lg-ink);
}

.ws-aud-tabs button svg {
  color: var(--ws-soft-ink);
  transition: color 0.3s ease;
}

.ws-aud-tabs button.is-active svg {
  color: var(--lg-green);
}

.ws-aud-panel {
  min-height: 440px;
  padding: clamp(24px, 3.5vw, 48px);
  overflow: hidden;
  border-radius: 30px;
  background: #f5f5f7;
}

.ws-aud-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px;
}

.ws-aud-text h3 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.ws-aud-text p {
  margin: 14px 0 0;
  color: var(--ws-text-2);
  font-size: 17px;
  line-height: 1.55;
}

.ws-aud-text ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ws-aud-text li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 500;
}

.ws-aud-text li svg {
  flex: none;
  color: var(--lg-green);
}

.ws-aud-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.ws-aud-mock > .lg-mock {
  zoom: 1.2;
}

.ws-aud-mock > :first-child {
  rotate: -4deg;
  animation: ws-bob 7s ease-in-out infinite;
  --r: -4deg;
}

.ws-aud-mock > :last-child {
  margin-left: 60px;
  rotate: 3deg;
  animation: ws-drift 9s ease-in-out infinite;
  --r: 3deg;
}

@media (max-width: 1000px) {
  .ws-aud {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-aud-tabs {
    flex-direction: row;
    margin: 0 calc(var(--ws-gutter) * -1);
    padding: 0 var(--ws-gutter) 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ws-aud-tabs button {
    flex: none;
    padding: 11px 16px;
    font-size: 15px;
  }

  .ws-aud-content {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ws-faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 90px);
}

.ws-faq-wrap .ws-head + * {
  margin-top: 0;
}

.ws-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ws-faq-item {
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.4s ease;
}

.ws-faq-item.is-open {
  box-shadow: var(--ws-shadow-sm);
}

.ws-faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 21px 24px;
  color: var(--lg-ink);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}

.ws-faq-item button svg {
  flex: none;
  color: var(--lg-muted);
  transition: transform 0.5s var(--lg-ease);
}

.ws-faq-item.is-open button svg {
  transform: rotate(180deg);
}

.ws-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--lg-ease);
}

.ws-faq-item.is-open .ws-faq-answer {
  grid-template-rows: 1fr;
}

.ws-faq-answer > div {
  overflow: hidden;
}

.ws-faq-answer p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ws-text-2);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .ws-faq-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ===== Qeris: login.css – ukázkové karty (.lg-mock …) ===== */
.lg-mock {
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 20px;
  background: var(--lg-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 24px 48px -28px rgba(0, 0, 0, 0.16);
  color: var(--lg-ink);
  font-size: 13px;
  pointer-events: none;
  user-select: none;
}

.lg-caption {
  display: block;
  color: var(--lg-muted);
  font-size: 11.5px;
  font-weight: 600;
}

.lg-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.lg-qr {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--lg-ink);
}

.lg-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--lg-soft);
  font-size: 11px;
  font-weight: 600;
}

.lg-bubble {
  padding: 3px 7px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lg-bubble.is-green { border: 1px solid rgba(52, 199, 89, 0.2); background: rgba(52, 199, 89, 0.1); color: #248a3d; }
.lg-bubble.is-warn { border: 1px solid rgba(255, 149, 0, 0.22); background: rgba(255, 149, 0, 0.1); color: #b25e00; }

.lg-domain {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 3px 7px;
  border: 1px solid #ececec;
  border-radius: 6px;
  background: #fff;
  color: #555;
  font: 10.5px ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}

/* karta kódu */
.lg-qr-card {
  display: flex;
  gap: 14px;
  width: 290px;
  padding: 14px;
}

.lg-qr-thumb {
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  padding: 9px;
  border-radius: 16px;
  background: var(--lg-soft);
}

.lg-qr-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.lg-qr-info strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* statistika */
.lg-stat {
  width: 240px;
  padding: 16px 16px 12px;
}

.lg-stat-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 8px;
}

.lg-stat-value strong {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lg-delta {
  color: #248a3d;
  font-size: 12px;
  font-weight: 700;
}

.lg-spark {
  display: block;
  width: 100%;
  height: 40px;
}

.lg-spark-line {
  fill: none;
  stroke: var(--lg-ink);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}

.lg-spark-fill {
  fill: rgba(29, 29, 31, 0.06);
  stroke: none;
}

/* přepínač */
.lg-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.lg-toggle {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 24px;
  border-radius: 99px;
  background: #e5e5ea;
}

.lg-toggle i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

.lg-toggle.is-on { background: var(--lg-green); }
.lg-toggle.is-on i { transform: translateX(16px); }

/* výběr */
.lg-select {
  width: 210px;
  padding: 8px;
}

.lg-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 11px;
  font-weight: 500;
}

.lg-select-trigger svg { color: var(--lg-muted); transform: rotate(180deg); }

.lg-select-menu {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}

.lg-select-menu span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 9px;
}

.lg-select-menu .is-selected {
  background: #f5f5f7;
  font-weight: 600;
}

.lg-select-menu svg { color: var(--lg-green); }

/* hláška */
.lg-toast {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px 11px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}

.lg-toast svg { color: var(--lg-green); }

/* tým */
.lg-team {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
}

.lg-avatars {
  display: flex;
}

.lg-avatars span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.lg-avatars span:first-child { margin-left: 0; }
.lg-avatars span:nth-child(n + 3) { color: #1d1d1f; }

.lg-team-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.lg-team-text strong { font-size: 13.5px; }
.lg-team-text span { color: var(--lg-muted); font-size: 11.5px; }

/* domény */
.lg-domain-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 240px;
  padding: 16px;
}

.lg-domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.lg-domain-row + .lg-domain-row {
  padding-top: 8px;
  border-top: 1px solid #f0f0f2;
}

/* podpis */
.lg-signature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 280px;
  padding: 16px;
}

.lg-sig {
  display: flex;
  gap: 12px;
}

.lg-sig-logo {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--lg-ink);
}

.lg-sig-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-left: 12px;
  border-left: 2px solid var(--lg-green);
  font-size: 12px;
}

.lg-sig-body strong { font-size: 14px; }
.lg-sig-body span { color: var(--lg-muted); }
.lg-sig-body em { color: #248a3d; font-style: normal; font-weight: 700; }

.lg-sig-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}

.lg-sig-lines i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--lg-soft);
}

.lg-sig-lines i:nth-child(1) { width: 70%; }
.lg-sig-lines i:nth-child(2) { width: 55%; }
.lg-sig-lines i:nth-child(3) { width: 62%; }

/* přepínač typu */
.lg-segment {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.lg-segment span {
  padding: 7px 13px;
  border-radius: 10px;
  color: var(--lg-muted);
}

.lg-segment .is-active {
  background: var(--lg-ink);
  color: #fff;
}

/* ============ Hravě rozházené ukázky kolem přihlášení ============ */

.lg-v1 {
  --px: 0;
  --py: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lg-v1-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1180px, 100%);
  height: min(760px, 100vh);
}

.lg-v1-card {
  position: relative;
  z-index: 2;
  width: min(400px, calc(100% - 40px));
  padding: 40px 36px 36px;
  animation: lg-in 0.6s var(--lg-ease) backwards;
}

/* Natočení (rotate), vznášení (translate) a posun za myší (transform) jsou tři nezávislé vlastnosti. */
.lg-float {
  position: absolute;
  z-index: 1;
  rotate: var(--r);
  transform: translate(calc(var(--px) * var(--d) * -14px), calc(var(--py) * var(--d) * -10px));
  transition: transform 0.9s var(--lg-ease);
  animation:
    lg-pop 0.8s var(--lg-ease) calc(0.12s + var(--i) * 0.07s) backwards,
    lg-bob calc(7s + var(--d) * 3s) ease-in-out calc(var(--s) * -1) infinite;
}

.lg-float:nth-child(odd) {
  animation-name: lg-pop, lg-drift;
}

/* Bez „to“: dojede do základní velikosti, i když je na menší obrazovce zmenšená. */

/* ===== Qeris: ui/pixel/pixel.css 1–227 ===== */
/* „Pixelové“ prvky aplikace: průběh, heatmapa, mapa, počítadlo, mazání podržením, odpočet expirace,
   rychlé hledání. Vzhled aplikace – bílé plochy, šedá pole, zelená jen tam, kde se něco děje. */

.px-muted {
  color: #86868b;
  font-size: 13px;
  line-height: 1.45;
}

.px-muted strong {
  color: #1d1d1f;
  font-weight: 600;
}

/* průběh */
.px-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.px-progress-head {
  display: flex;
  justify-content: space-between;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 600;
}

.px-progress-head strong {
  font-variant-numeric: tabular-nums;
}

.px-progress-canvas {
  display: block;
  width: 100%;
  height: 34px;
}

/* heatmapa */
.px-heatmap-scroll {
  overflow-x: auto;
}

.px-heatmap-svg {
  display: block;
  width: 100%;
  min-width: 400px;
  height: auto;
}

.px-heatmap-label {
  fill: #86868b;
  font-size: 11px;
  font-weight: 500;
}

.px-heatmap-cell {
  animation: px-cell-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  transition: stroke 0.15s ease;
  stroke: transparent;
  stroke-width: 2;
}

.px-heatmap-cell.is-hover {
  stroke: #1d1d1f;
}

@keyframes px-cell-in {
  from { opacity: 0; }
}

.px-heatmap-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.px-legend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #86868b;
  font-size: 12px;
}

.px-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.px-legend i:first-of-type {
  margin-left: 4px;
}

.px-legend i:last-of-type {
  margin-right: 4px;
}

/* mapa */
.px-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
}

.px-map-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 2.4;
}

.px-map-empty {
  align-self: center;
}

.px-map-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.px-map-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  font-size: 14px;
}

.px-map-list span {
  color: #1d1d1f;
  font-weight: 500;
}

.px-map-list i {
  grid-column: 1 / -1;
  grid-row: 2;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #f2f2f7;
}

.px-map-list b {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: #3fc722;
}

.px-map-list em {
  color: #86868b;
  font-style: normal;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
  .px-map {
    grid-template-columns: 1fr;
  }
}

/* počítadlo – velikost písma dědí z okolí */
.px-counter {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.5s ease;
}

.px-counter.is-bumped {
  color: #249c0e;
  transition-duration: 0.1s;
}

.px-digit {
  display: inline-block;
  height: 1em;
  overflow: hidden;
}

.px-digit-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.px-digit-strip span {
  height: 1em;
  line-height: 1;
}

.px-digit-sep {
  width: 0.2em;
}

.px-counter-bump {
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(63, 199, 34, 0.14);
  color: #249c0e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  animation: px-bump 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes px-bump {
  0% { opacity: 0; transform: translateY(6px); }
  15% { opacity: 1; transform: none; }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-6px); }
}


/* ===== Qeris: ui/pixel/pixel.css 515–616 ===== */
/* živý proud skenů */
.px-stream-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.px-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(63, 199, 34, 0.12);
  color: #249c0e;
  font-size: 12px;
  font-weight: 700;
}

.px-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fc722;
  animation: px-live 1.6s ease-in-out infinite;
}

@keyframes px-live {
  50% { opacity: 0.35; transform: scale(0.8); }
}

.px-stream-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.px-stream-list li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  padding: 10px 8px;
  border-radius: 12px;
  animation: px-stream-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.px-stream-list li + li {
  border-top: 1px solid #f0f0f2;
}

.px-stream-list li.is-fresh {
  background: linear-gradient(90deg, rgba(63, 199, 34, 0.1), rgba(63, 199, 34, 0));
}

@keyframes px-stream-in {
  from { opacity: 0; transform: translateX(24px); }
}

.px-stream-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #d9f7c8;
}

.px-stream-list li.is-fresh .px-stream-dot {
  background: #3fc722;
}

.px-stream-list strong {
  overflow: hidden;
  color: #1d1d1f;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.px-stream-meta {
  grid-column: 2;
  grid-row: 2;
  color: #86868b;
  font-size: 12.5px;
}

.px-stream-list time {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: #86868b;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.px-stream-empty {
  padding: 12px 0;
}


/* ===== Qeris: ui/pixel/pixel.css 669–681 ===== */
/* mini aktivita */
.px-activity {
  align-self: flex-start;
  display: inline-flex;
  gap: 2px;
}

.px-activity i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}


/* ===== Qeris: ui/pixel/pixel.css 775–807 ===== */
/* prázdný stav */
.px-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 36px 20px;
  text-align: center;
}

.px-empty-canvas {
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
}

.px-empty strong {
  color: #1d1d1f;
  font-size: 17px;
}

.px-empty p {
  max-width: 360px;
  margin: 0 0 8px;
}

@media (prefers-reduced-motion: reduce) {
  .px-stream-list li,
  .px-live i {
    animation: none;
  }
}


/* ===== Qeris: ui/pixel/pixel.css 876–1000 ===== */
/* na čem se skenuje – 100 čtverečků podle zařízení a pixelové pruhy systémů */
.px-mix {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.px-mix-top {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.px-mix-waffle {
  display: grid;
  grid-template-columns: repeat(10, 14px);
  gap: 3px;
}

.px-mix-waffle i {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  transition: background-color 0.4s ease;
  animation: px-mix-in 0.35s ease backwards;
}

@keyframes px-mix-in {
  from { opacity: 0; transform: scale(0.4); }
}

.px-mix-legend {
  flex: 1;
  min-width: 170px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.px-mix-legend li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #1d1d1f;
}

.px-mix-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.px-mix-legend strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.px-mix-legend small {
  grid-column: 2 / -1;
  color: #86868b;
  font-size: 12px;
}

.px-mix-os {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.px-mix-sub {
  font-size: 12px;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.px-mix-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #1d1d1f;
}

.px-mix-row strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.px-mix-bar {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: 2px;
}

.px-mix-bar i {
  height: 10px;
  border-radius: 2px;
  background: #ececf0;
  transition: background-color 0.4s ease;
}

.px-mix-bar i.is-on {
  background: #3fc722;
}

.px-mix-empty {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .px-mix-waffle i {
    animation: none;
  }
}


/* ===== Qeris: site/pages/PricingPage.css ===== */
/* Ceník: přepínač měsíčně / ročně, tři tarify (Solo, Tým, Enterprise) a srovnávací tabulka. */

.ws-pricing-wrap {
  position: relative;
  z-index: 2;
}

.ws-pricing-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.ws-pricing-head .ws-lead {
  margin-right: auto;
  margin-left: auto;
}

/* Štítek early price nad přepínačem. */
.ws-early {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(34, 179, 91, 0.12);
  color: var(--ws-green-ink);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.ws-early b {
  font-weight: 800;
}

/* Přepínač způsobu placení. */
.ws-billing {
  display: flex;
  width: fit-content;
  margin: 16px auto 0;
  padding: 4px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ws-billing button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 0;
  border-radius: 99px;
  background: none;
  color: var(--ws-text-2);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.ws-billing button.is-active {
  background: var(--lg-ink);
  color: #fff;
}

.ws-billing em {
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(34, 179, 91, 0.14);
  color: var(--ws-green-ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.ws-billing button.is-active em {
  background: rgba(114, 223, 77, 0.22);
  color: #9ef07e;
}

/* Karty tarifů. */
.ws-plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
  margin: 40px auto 0;
}

.ws-plans > .ws-reveal {
  display: flex;
}

.ws-plan {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
}

.ws-plan.is-main {
  background: var(--lg-ink);
  color: #fff;
}

.ws-plan-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 99px;
  background: rgba(114, 223, 77, 0.18);
  color: #9ef07e;
  font-size: 12.5px;
  font-weight: 700;
}

.ws-plan-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ws-plan-for {
  min-height: 3em;
  margin: 6px 0 0;
  color: var(--ws-text-2);
  font-size: 15px;
  line-height: 1.5;
}

.ws-plan.is-main .ws-plan-for,
.ws-plan.is-main .ws-plan-note,
.ws-plan.is-main .ws-plan-price span,
.ws-plan.is-main .ws-plan-price em {
  color: rgba(255, 255, 255, 0.62);
}

.ws-plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 22px;
}

/* Přeškrtnutá běžná cena nad cenou se slevou – zabere stejné místo jako mezera nad cenou. */
.ws-plan-was {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 22px;
  margin: 12px 0 -12px;
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 600;
}

.ws-plan-was em {
  padding: 1px 7px;
  border-radius: 99px;
  background: rgba(34, 179, 91, 0.14);
  color: var(--ws-green-ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.ws-plan.is-main .ws-plan-was {
  color: rgba(255, 255, 255, 0.55);
}

.ws-plan.is-main .ws-plan-was em {
  background: rgba(114, 223, 77, 0.2);
  color: #9ef07e;
}

.ws-plan-price strong {
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ws-plan-price span,
.ws-plan-price em {
  color: var(--ws-text-2);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}

.ws-plan-users {
  width: fit-content;
  margin-top: 16px;
  padding: 5px 11px;
  border-radius: 99px;
  background: #f2f2f7;
  color: var(--ws-ink-2);
  font-size: 13px;
  font-weight: 650;
}

.ws-plan.is-main .ws-plan-users {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.ws-plan-amount {
  animation: ws-price-in 0.45s var(--lg-ease);
}

@keyframes ws-price-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.ws-plan-note {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: var(--ws-text-2);
  font-size: 13.5px;
}

.ws-plan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  list-style: none;
}

.ws-plan.is-main .ws-plan-list {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.ws-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
}

.ws-plan-list li.is-lead {
  color: var(--ws-text-2);
  font-size: 13.5px;
  font-weight: 650;
}

.ws-plan.is-main .ws-plan-list li.is-lead {
  color: rgba(255, 255, 255, 0.62);
}

.ws-plan-list svg {
  flex: none;
  margin-top: 3px;
  color: var(--lg-green);
}

.ws-plan.is-main .ws-plan-list svg {
  color: #72df4d;
}

.ws-plan-cta {
  justify-content: center;
  width: 100%;
  margin-top: auto;
}

.ws-plans-foot {
  margin: 20px 0 0;
  color: var(--ws-text-2);
  font-size: 13.5px;
  text-align: center;
}

.ws-plans-foot a {
  color: var(--lg-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Úspora pod cenou a bublina s výpočtem. */
.ws-saving {
  position: relative;
  margin-top: 8px;
}

.ws-saving-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ws-green-ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.ws-saving-line svg {
  flex: none;
  opacity: 0.8;
}

.ws-saving-line:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ws-plan.is-main .ws-saving-line {
  color: #9ef07e;
}

.ws-saving-bubble {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  z-index: 20;
  width: min(330px, 86vw);
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 24px 60px -18px rgba(0, 0, 0, 0.3);
  color: var(--lg-ink);
  animation: ws-bubble-in 0.25s var(--lg-ease);
}

@keyframes ws-bubble-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.ws-saving-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ws-text-2);
  cursor: pointer;
}

.ws-saving-close:hover {
  background: #f2f2f7;
}

.ws-saving-bubble strong {
  display: block;
  padding-right: 28px;
  font-size: 14px;
  font-weight: 700;
}

.ws-saving-bubble ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.ws-saving-bubble li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--ws-ink-2);
  font-size: 13.5px;
}

.ws-saving-bubble li b {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ws-saving-bubble li.is-sum {
  font-weight: 700;
}

.ws-saving-bubble li.is-save {
  border-bottom: 0;
  color: var(--ws-green-ink);
  font-weight: 800;
}

.ws-saving-bubble small {
  display: block;
  margin-top: 8px;
  color: var(--ws-text-2);
  font-size: 12px;
  line-height: 1.45;
}

.ws-saving-bubble a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--lg-ink);
  font-size: 13.5px;
  font-weight: 700;
}

/* Srovnání s jednotlivými službami. */
#srovnani {
  scroll-margin-top: calc(var(--ws-header) - 40px);
}

.ws-vs {
  max-width: 880px;
  margin: 40px auto 0;
}

.ws-vs-people {
  display: flex;
  width: fit-content;
  margin: 0 auto 20px;
  padding: 4px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ws-vs-people button {
  padding: 9px 18px;
  border: 0;
  border-radius: 99px;
  background: none;
  color: var(--ws-text-2);
  font: inherit;
  font-size: 14.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.ws-vs-people button.is-active {
  background: var(--lg-ink);
  color: #fff;
}

.ws-vs-scroll {
  overflow-x: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.ws-vs-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}

.ws-vs-table th,
.ws-vs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
  vertical-align: top;
}

.ws-vs-table thead th {
  color: var(--ws-text-2);
  font-size: 13px;
  font-weight: 700;
}

.ws-vs-table tbody th {
  color: var(--ws-ink-2);
  font-weight: 600;
}

.ws-vs-table td b,
.ws-vs-table td small {
  display: block;
}

.ws-vs-table td small {
  margin-top: 2px;
  color: var(--ws-text-2);
  font-size: 12.5px;
}

.ws-vs-table .is-num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ws-vs-table tfoot th,
.ws-vs-table tfoot td {
  font-weight: 700;
}

.ws-vs-table tr.is-qeris th,
.ws-vs-table tr.is-qeris td {
  background: #f5f5f7;
}

.ws-vs-table tr.is-save th,
.ws-vs-table tr.is-save td {
  border-bottom: 0;
  background: rgba(34, 179, 91, 0.1);
  color: var(--ws-green-ink);
  font-size: 17px;
}

.ws-vs-note {
  margin: 16px 0 0;
  color: var(--ws-text-2);
  font-size: 12.5px;
  line-height: 1.55;
}

/* Srovnávací tabulka tarifů; na úzkém displeji se posouvá do strany. */
.ws-cmp-scroll {
  max-width: 980px;
  margin: 44px auto 0;
  overflow-x: auto;
  border-radius: 24px;
  background: #f5f5f7;
}

.ws-cmp {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

.ws-cmp th,
.ws-cmp td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.ws-cmp tbody tr:last-child th,
.ws-cmp tbody tr:last-child td {
  border-bottom: 0;
}

.ws-cmp thead th {
  padding-top: 20px;
  padding-bottom: 16px;
  font-size: 17px;
  font-weight: 700;
}

.ws-cmp tbody th {
  color: var(--ws-ink-2);
  font-weight: 600;
  text-align: left;
}

.ws-cmp .is-main {
  background: rgba(0, 0, 0, 0.035);
}

.ws-cmp-yes {
  display: inline-grid;
  place-items: center;
  color: var(--lg-green);
}

.ws-cmp-no {
  display: inline-grid;
  place-items: center;
  color: #c7c7cc;
}

.ws-cmp-text {
  color: var(--ws-ink-2);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .ws-plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
  }

  .ws-plans > .ws-reveal:nth-child(2) {
    order: -1;
  }

  /* V jednom sloupci se bublina s výpočtem rozbalí přímo v kartě – nepřečnívá přes její okraj. */
  .ws-saving-bubble {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin-top: 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  }

  .ws-plan-for,
  .ws-plan-note {
    min-height: 0;
  }
}

/* Na telefonu se tabulka vejde celá: užší řádky, hodnoty se smí zalomit. */
@media (max-width: 640px) {
  /* Srovnání se službami jako karty: popisek potřeby nahoře, služba vlevo, cena vpravo. */
  .ws-vs-table,
  .ws-vs-table tbody,
  .ws-vs-table tfoot {
    display: block;
    min-width: 0;
    font-size: 14px;
  }

  .ws-vs-table thead {
    display: none;
  }

  .ws-vs-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .ws-vs-table tbody th {
    grid-column: 1 / -1;
    padding: 0 0 3px;
    border: 0;
    color: var(--ws-text-2);
    font-size: 12px;
    font-weight: 700;
  }

  .ws-vs-table tbody td,
  .ws-vs-table tfoot th,
  .ws-vs-table tfoot td {
    padding: 0;
    border: 0;
    background: none !important;
  }

  .ws-vs-table tfoot tr {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .ws-vs-table tfoot tr.is-qeris {
    background: #f5f5f7;
  }

  .ws-vs-table tfoot tr.is-save {
    border-bottom: 0;
    background: rgba(34, 179, 91, 0.1);
    font-size: 15px;
  }

  .ws-vs-people button {
    padding: 8px 12px;
    font-size: 13.5px;
  }

  .ws-cmp {
    min-width: 0;
    font-size: 13px;
  }

  .ws-cmp th,
  .ws-cmp td {
    padding: 10px 6px;
  }

  .ws-cmp tbody th {
    width: 38%;
    padding-left: 14px;
  }

  .ws-cmp thead th {
    font-size: 14px;
  }

  .ws-cmp-text {
    font-size: 12px;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .ws-billing button {
    padding: 9px 14px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-plan-amount {
    animation: none;
  }
}


/* ===== Qeris: site/pages/ContactPage.css ===== */
/* Záložka Kontakt. */

.ws-contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 90px);
}

.ws-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 34px;
}

.ws-contact-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 8px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s ease, transform 0.5s var(--lg-ease);
}

.ws-contact-card:hover {
  box-shadow: var(--ws-shadow-sm);
  transform: translateY(-2px);
}

.ws-contact-card > a,
.ws-contact-card.is-plain {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ws-contact-card.is-plain {
  padding-right: 18px;
}

.ws-contact-card a > span:last-child,
.ws-contact-card.is-plain > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ws-contact-card small {
  color: var(--lg-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.ws-contact-card strong {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws-contact-ico {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #f5f5f7;
  color: var(--lg-green);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ws-contact-card:hover .ws-contact-ico {
  background: var(--lg-ink);
  color: #72df4d;
}

.ws-copy {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--lg-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ws-copy:hover {
  background: #f5f5f7;
  color: var(--lg-ink);
}

.ws-copy.is-done {
  color: var(--lg-green);
}

.ws-copy span {
  display: flex;
}

.ws-process {
  margin-top: 34px;
}

.ws-process > strong {
  font-size: 15px;
}

.ws-process ol {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ws-process li {
  position: relative;
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
}

.ws-process li:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 30px;
  bottom: 4px;
  left: 13px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, #d2d2d7 0 4px, transparent 4px 8px);
}

.ws-process li > span {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.14);
  color: var(--ws-green-ink);
  font-size: 13px;
  font-weight: 700;
}

.ws-process li div {
  display: flex;
  flex-direction: column;
  padding-top: 3px;
}

.ws-process b {
  font-size: 15px;
}

.ws-process small {
  color: var(--ws-text-2);
  font-size: 14px;
}

/* --- formulář --- */

.ws-contact-form {
  position: sticky;
  top: calc(var(--ws-header) + 24px);
}

.ws-form-card {
  padding: clamp(22px, 3vw, 36px);
}

.ws-form-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.ws-form-head p {
  margin: 4px 0 0;
  color: var(--lg-muted);
  font-size: 15px;
}

.ws-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.ws-input {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ws-input > span {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #6e6e73;
  font-size: 12.5px;
  font-weight: 600;
}

.ws-input em {
  color: var(--ws-soft-ink);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 500;
}

.ws-input input,
.ws-input textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 13px;
  outline: none;
  background: var(--lg-soft);
  color: var(--lg-ink);
  font: inherit;
  font-size: 15px;
  resize: vertical;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.ws-input textarea {
  min-height: 112px;
  line-height: 1.5;
}

.ws-input input::placeholder,
.ws-input textarea::placeholder {
  color: #aeaeb2;
}

.ws-input input:focus,
.ws-input textarea:focus {
  border-color: rgba(0, 0, 0, 0.14);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(63, 199, 34, 0.14);
}

.ws-input.is-invalid input,
.ws-input.is-invalid textarea {
  border-color: rgba(255, 59, 48, 0.4);
  background: #fff6f5;
}

.ws-form-error {
  color: #d70015;
  font-size: 12.5px;
}

.ws-topics {
  margin: 20px 0;
  padding: 0;
  border: 0;
}

.ws-topics legend {
  margin-bottom: 8px;
  color: #6e6e73;
  font-size: 12.5px;
  font-weight: 600;
}

.ws-topics > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ws-topics button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 9px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  color: var(--ws-ink-2);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.3s var(--lg-ease);
}

.ws-topics button:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.ws-topics button:active {
  transform: scale(0.96);
}

.ws-topics button.is-on {
  border-color: var(--lg-ink);
  background: var(--lg-ink);
  color: #fff;
}

.ws-topic-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid #c7c7cc;
  border-radius: 50%;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.ws-topics button.is-on .ws-topic-check {
  border-color: #72df4d;
  background: #72df4d;
  color: #1d1d1f;
}

.ws-topic-check i {
  display: flex;
}

.ws-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.ws-form-fail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff6f5;
  color: #b3261e;
  font-size: 14px;
}

.ws-form-fail > span {
  flex: 1 1 240px;
}

.ws-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

.ws-form-foot small {
  max-width: 280px;
  color: var(--lg-muted);
  font-size: 13px;
}

.ws-form-foot small a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ws-form-foot .ws-btn:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.ws-spin {
  animation: ws-spin 0.9s linear infinite;
}

@keyframes ws-spin {
  to { transform: rotate(360deg); }
}

.ws-form-sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 10px;
  text-align: center;
}

.ws-form-check {
  width: 92px;
  height: 92px;
}

.ws-form-check circle {
  fill: rgba(52, 199, 89, 0.12);
  stroke: #22b35b;
  stroke-width: 3;
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
  animation: ws-draw 0.8s var(--lg-ease) forwards;
}

.ws-form-check path {
  fill: none;
  stroke: #22b35b;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: ws-draw 0.5s var(--lg-ease) 0.6s forwards;
}

@keyframes ws-draw {
  to { stroke-dashoffset: 0; }
}

.ws-form-sent h3 {
  margin: 22px 0 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.ws-form-sent p {
  max-width: 360px;
  margin: 8px 0 26px;
  color: var(--ws-text-2);
  font-size: 16px;
}

.ws-browse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ws-browse strong {
  font-size: 18px;
}

.ws-browse > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ws-browse a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 99px;
  background: #f5f5f7;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.ws-browse a:hover {
  background: #ececf0;
}

.ws-browse a svg {
  color: var(--lg-green);
  transition: transform 0.3s var(--lg-ease);
}

.ws-browse a:hover svg {
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .ws-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-contact-form {
    position: static;
  }
}

@media (max-width: 520px) {
  .ws-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-form-foot .ws-btn {
    width: 100%;
  }
}


/* ===== Qeris: site/pages/DocsPage.css ===== */
/* Dokumentace – vzhled PDF prezentace (src/deck): světlá plocha, bílé karty s jemným stínem,
   štítky se zelenou tečkou, velké nadpisy se šedým pokračováním a nakloněné ukázky z aplikace.
   Všechny třídy mají prefix .doc-, ať se nepletou s ostatními stránkami webu. */

/* --- úvod ------------------------------------------------------------------------------------ */

.doc-hero {
  padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px);
}

.doc-hero-stage {
  position: relative;
  max-width: 1440px;
  min-height: 640px;
  margin: 0 auto;
  padding: 0 var(--ws-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1440px) {
  .doc-float.is-extra {
    display: none;
  }
}

@media (max-width: 1240px) {
  .doc-float {
    display: none;
  }
}

.doc-hero-card {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(760px, 100%);
  padding: clamp(28px, 4vw, 52px);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--ws-shadow);
}

.doc-hero-logo {
  width: auto;
  height: 28px;
  margin-bottom: 26px;
}

.doc-hero-title {
  margin: 20px 0 0;
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.doc-hero-title span {
  color: var(--ws-soft-ink);
}

.doc-hero-sub {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--ws-text-2);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}

/* hledání */
.doc-search {
  position: relative;
  width: 100%;
  margin-top: 28px;
}

.doc-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--lg-soft);
  color: var(--lg-muted);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.doc-search-field:focus-within {
  border-color: rgba(0, 0, 0, 0.12);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(34, 179, 91, 0.12);
}

.doc-search-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: none;
  color: var(--lg-ink);
  font: inherit;
  font-size: 16px;
}

.doc-search-field button {
  display: flex;
  padding: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--ws-ink-2);
  cursor: pointer;
}

.doc-search-results {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  max-height: 420px;
  padding: 8px;
  overflow-y: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 24px 60px -20px rgba(0, 0, 0, 0.3);
}

.doc-search-results button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--lg-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.doc-search-results button:hover,
.doc-search-results button:focus-visible {
  background: var(--lg-soft);
}

.doc-search-results em {
  flex: none;
  color: var(--ws-soft-ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.doc-search-results span {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.doc-search-results b {
  font-size: 15px;
}

.doc-search-results small {
  color: var(--lg-muted);
  font-size: 13px;
}

.doc-search-results svg {
  flex: none;
  color: var(--ws-soft-ink);
}

.doc-search-results p {
  margin: 0;
  padding: 14px;
  color: var(--lg-muted);
  font-size: 14px;
}

/* --- obsah (přehled kapitol) ----------------------------------------------------------------- */

.doc-overview {
  padding: 0 0 clamp(56px, 8vw, 110px);
}

.doc-overview-head {
  max-width: 760px;
}

.doc-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.doc-overview-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: var(--lg-ink);
  transition: transform 0.35s var(--lg-ease), box-shadow 0.35s var(--lg-ease);
}

.doc-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ws-shadow-sm);
}

.doc-overview-card.is-dark {
  background: var(--lg-ink);
  color: #fff;
}

.doc-overview-card.is-dark small {
  color: #a1a1a6;
}

.doc-overview-card.is-dark .doc-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.doc-overview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.doc-overview-top em {
  color: var(--ws-soft-ink);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.doc-overview-card strong {
  font-size: 19px;
  letter-spacing: -0.01em;
}

.doc-overview-card small {
  color: var(--ws-text-2);
  font-size: 14px;
  line-height: 1.5;
}

.doc-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--lg-soft);
  color: var(--lg-ink);
}

/* --- rozvržení: obsah vlevo, kapitoly vpravo --------------------------------------------------- */

.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: calc(var(--ws-header) + 24px);
  max-height: calc(100vh - var(--ws-header) - 48px);
  overflow-y: auto;
  scrollbar-width: none;
}

.doc-toc::-webkit-scrollbar {
  display: none;
}

.doc-toc-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 24px;
}

.doc-toc-label {
  margin: 0 0 10px 12px;
  color: var(--ws-soft-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-toc-chapter > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--ws-text-2);
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.doc-toc-chapter > a em {
  color: var(--ws-soft-ink);
  font-size: 12px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.doc-toc-chapter > a:hover {
  color: var(--lg-ink);
}

.doc-toc-chapter.is-active > a {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: var(--lg-ink);
}

.doc-toc-chapter.is-active > a em {
  color: var(--lg-green);
}

.doc-toc-sections {
  display: flex;
  flex-direction: column;
  margin: 6px 0 8px 22px;
  padding-left: 12px;
  border-left: 2px solid rgba(0, 0, 0, 0.06);
}

.doc-toc-sections a {
  padding: 5px 8px;
  color: var(--lg-muted);
  font-size: 13.5px;
  line-height: 1.35;
}

.doc-toc-sections a:hover {
  color: var(--lg-ink);
}

/* --- kapitola ----------------------------------------------------------------------------------- */

.doc-chapter {
  scroll-margin-top: calc(var(--ws-header) + 20px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.doc-chapter + .doc-chapter {
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.doc-ch-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 32px;
  align-items: center;
  margin-bottom: 20px;
}

.doc-ch-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.doc-count {
  margin-bottom: 18px;
  color: var(--lg-muted);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.doc-count b {
  color: var(--lg-ink);
  font-weight: 700;
}

.doc-title {
  margin: 18px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.doc-title span {
  color: var(--ws-soft-ink);
}

.doc-lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--ws-text-2);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  text-wrap: pretty;
}

/* tlačítko pod úvodem kapitoly (třeba Stáhnout v App Storu) */
.doc-action {
  margin-top: 22px;
}

/* ukázka vpravo v hlavičce kapitoly */
.doc-stage {
  position: relative;
  height: 300px;
}

.doc-tilt {
  position: absolute;
}

.doc-tilt > div {
  zoom: var(--z, 1);
}

.doc-stage .lg-mock {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 24px 48px -28px rgba(0, 0, 0, 0.22);
}

.doc-section {
  scroll-margin-top: calc(var(--ws-header) + 20px);
  margin-top: 40px;
}

.doc-section h3 {
  margin: 0 0 14px;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.doc-section h3 a {
  color: inherit;
}

.doc-section h3 a:hover {
  color: var(--ws-green-ink);
}

/* Všechny bloky oddílu mají stejnou šířku a stejné mezery (dřív se střídaly 760/820 px a plná šířka). */
.doc-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doc-section > * {
  width: 100%;
  max-width: 860px;
  margin: 0;
}

.doc-section > h3 {
  margin-bottom: -2px;
}

/* --- bloky -------------------------------------------------------------------------------------- */

.doc-text {
  margin: 0;
  color: var(--ws-ink-2);
  font-size: 16.5px;
  line-height: 1.7;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ws-ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.doc-check {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 0;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.12);
  color: var(--ws-green-ink);
}

.doc-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.doc-steps li > b {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--lg-ink);
  color: #fff;
  font-size: 14px;
}

.doc-steps li > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 3px;
}

.doc-steps strong {
  font-size: 16px;
}

.doc-steps small {
  color: var(--ws-text-2);
  font-size: 14.5px;
  line-height: 1.55;
}

.doc-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.doc-features.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.doc-feature .doc-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border-radius: 12px;
}

.doc-feature strong {
  font-size: 16.5px;
}

.doc-feature p {
  margin: 0;
  color: var(--ws-text-2);
  font-size: 14.5px;
  line-height: 1.55;
}

.doc-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.doc-table th {
  padding: 14px 18px 10px;
  color: var(--lg-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.doc-table td {
  padding: 12px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--ws-ink-2);
  line-height: 1.5;
  vertical-align: top;
}

.doc-table td:first-child {
  color: var(--lg-ink);
  font-weight: 600;
}

.doc-table.is-mono td:first-child {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  white-space: nowrap;
}

.doc-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.14);
  color: var(--ws-green-ink);
}

.doc-no {
  color: var(--ws-soft-ink);
}

.doc-table-note {
  margin: 0;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--lg-muted);
  font-size: 13px;
}

.doc-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(52, 199, 89, 0.08);
  color: var(--ws-ink-2);
}

.doc-callout > span {
  display: flex;
  flex: none;
  margin-top: 2px;
  color: var(--ws-green-ink);
}

.doc-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.doc-callout b {
  margin-right: 8px;
  color: var(--lg-ink);
}

.doc-callout.is-warn {
  background: rgba(255, 149, 0, 0.1);
}

.doc-callout.is-warn > span {
  color: #b25e00;
}

.doc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doc-chips span {
  padding: 7px 14px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: var(--ws-ink-2);
  font-size: 14px;
  font-weight: 600;
}

.doc-code,
.doc-m-code {
  overflow: hidden;
  border-radius: 20px;
  background: #1d1d1f;
  color: #f5f5f7;
}

.doc-code-bar,
.doc-m-code-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.doc-code-bar i,
.doc-m-code-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.doc-code-bar span,
.doc-m-code-bar span {
  margin-left: 8px;
  color: #a1a1a6;
  font-size: 12.5px;
}

.doc-code pre,
.doc-m-code pre {
  margin: 0;
  padding: 16px 20px 18px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  white-space: pre;
}

.doc-code .c,
.doc-m-code .c { color: #86868b; }
.doc-code .k,
.doc-m-code .k { color: #6fdc8c; font-weight: 700; }
.doc-code .g,
.doc-m-code .g { color: #6fdc8c; }
.doc-m-code .m { color: #a1a1a6; }

.doc-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-faq details {
  padding: 0 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.doc-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.doc-faq summary::-webkit-details-marker {
  display: none;
}

.doc-faq summary::after {
  content: '+';
  flex: none;
  color: var(--lg-muted);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.25s var(--lg-ease);
}

.doc-faq details[open] summary::after {
  transform: rotate(45deg);
}

.doc-faq details p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--ws-text-2);
  font-size: 15px;
  line-height: 1.65;
}

/* --- ukázky v hlavičkách kapitol ---------------------------------------------------------------- */

.doc-m-rules,
.doc-m-sheet,
.doc-m-quote,
.doc-m-booking,
.doc-m-invite,
.doc-m-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 290px;
  padding: 16px 18px;
  border-radius: 18px;
}

.doc-m-rules small,
.doc-m-sheet small,
.doc-m-quote small,
.doc-m-booking small,
.doc-m-invite small,
.doc-m-brand small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--lg-muted);
  font-size: 12px;
  font-weight: 600;
}

.doc-m-rules span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 10px;
  background: var(--lg-soft);
  font-size: 12.5px;
}

.doc-m-rules span i {
  display: flex;
  color: var(--lg-green);
}

.doc-m-rules span b {
  font-weight: 600;
}

.doc-m-rules span svg:not(i svg) {
  color: var(--lg-muted);
}

.doc-m-rules span em {
  overflow: hidden;
  color: var(--ws-text-2);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-m-rules .is-default {
  background: none;
  border: 1px dashed rgba(0, 0, 0, 0.12);
}

.doc-m-sheet {
  gap: 0;
}

.doc-m-sheet small {
  margin-bottom: 8px;
}

.doc-m-sheet span {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  padding: 7px 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12.5px;
}

.doc-m-sheet .is-head b {
  color: var(--lg-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.doc-m-sheet em {
  color: var(--ws-text-2);
  font-style: normal;
}

.doc-m-quote strong {
  font-size: 18px;
}

.doc-m-quote span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12.5px;
}

.doc-m-quote span b {
  font-weight: 500;
}

.doc-m-quote span em {
  font-style: normal;
  font-weight: 700;
}

.doc-m-quote .doc-m-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  padding: 9px 12px;
  border: 0;
  border-radius: 12px;
  background: var(--lg-green);
  color: #fff;
  font-weight: 700;
}

.doc-m-booking strong {
  font-size: 17px;
}

.doc-m-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 2px;
}

.doc-m-cal i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lg-soft);
}

.doc-m-cal i.is-open {
  background: rgba(10, 132, 255, 0.14);
}

.doc-m-cal i.is-on {
  background: #0a84ff;
}

.doc-m-times {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.doc-m-times span {
  flex: 1;
  padding: 7px 0;
  border: 1.5px solid rgba(10, 132, 255, 0.4);
  border-radius: 10px;
  color: #0a84ff;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

.doc-m-times .is-on {
  border-color: #0a84ff;
  background: #0a84ff;
  color: #fff;
}

.doc-m-invite {
  width: 300px;
}

.doc-m-invite strong {
  font-size: 15px;
  line-height: 1.3;
}

.doc-m-invite span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 99px;
  background: var(--lg-ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.doc-m-swatches {
  display: flex;
  gap: 6px;
}

.doc-m-swatches i {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.doc-m-logos {
  display: flex;
  gap: 8px;
}

.doc-m-logos span,
.doc-m-logos b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--lg-soft);
  font-size: 22px;
  font-weight: 800;
}

.doc-m-logos .is-dark {
  background: var(--lg-ink);
  color: #fff;
}

.doc-m-logos b {
  width: auto;
  flex: 1;
  font-family: Georgia, serif;
  font-weight: 400;
}

.doc-m-code {
  width: 330px;
}

.doc-m-code pre {
  font-size: 12px;
}

.doc-m-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 300px;
  padding: 14px;
  border-radius: 18px;
}

.doc-m-tools span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 6px;
  border-radius: 14px;
  background: var(--lg-soft);
  font-size: 12.5px;
  font-weight: 600;
}

.doc-m-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 330px;
  padding: 12px;
  border-radius: 18px;
}

.doc-m-plans span {
  display: flex;
  flex-direction: column;
  padding: 12px 10px;
  border-radius: 14px;
  background: var(--lg-soft);
}

.doc-m-plans span.is-dark {
  background: var(--lg-ink);
  color: #fff;
}

.doc-m-plans small {
  font-size: 12px;
  font-weight: 700;
}

.doc-m-plans b {
  margin-top: 6px;
  font-size: 14px;
  white-space: nowrap;
}

.doc-m-plans em {
  color: var(--lg-muted);
  font-size: 11px;
  font-style: normal;
}

.doc-m-phone {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -125px;
  height: 300px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}

/* --- konec ------------------------------------------------------------------------------------ */

.doc-end {
  padding-bottom: clamp(56px, 8vw, 110px);
}

.doc-end-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--ws-shadow);
}

.doc-end-card .doc-title {
  margin-top: 0;
}

.doc-end-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.doc-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 10px 14px;
  border: 0;
  border-radius: 99px;
  background: none;
  color: var(--lg-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.doc-top:hover {
  color: var(--lg-ink);
}

/* --- menší obrazovky ---------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .doc-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .doc-ch-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .doc-stage {
    max-width: 420px;
    height: 280px;
  }
}

@media (max-width: 960px) {
  .doc-hero-stage {
    min-height: 0;
  }

  .doc-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  /* Obsah jako vodorovný pás kapitol pod hlavičkou webu. */
  .doc-toc {
    top: var(--ws-header);
    z-index: 20;
    max-height: none;
    margin: 0 calc(var(--ws-gutter) * -1) 24px;
    padding: 10px 0;
    overflow: visible;
    background: rgba(245, 245, 247, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .doc-toc-inner {
    flex-direction: row;
    gap: 6px;
    padding: 0 var(--ws-gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .doc-toc-inner::-webkit-scrollbar {
    display: none;
  }

  .doc-toc-label,
  .doc-toc-sections {
    display: none;
  }

  .doc-toc-chapter > a {
    padding: 8px 12px;
    white-space: nowrap;
  }

  .doc-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc-chapter,
  .doc-section {
    scroll-margin-top: calc(var(--ws-header) + 70px);
  }
}

@media (max-width: 640px) {
  .doc-overview-grid,
  .doc-features,
  .doc-features.is-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .doc-stage {
    height: 250px;
    zoom: 0.85;
  }

  .doc-search-field input {
    font-size: 15px;
  }

  /* Tabulka jako karty: každý řádek zvlášť, nadpis sloupce u hodnoty. */
  .doc-table thead {
    display: none;
  }

  .doc-table tr {
    display: block;
    padding: 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .doc-table tr:first-child {
    border-top: 0;
  }

  .doc-table td {
    display: block;
    padding: 4px 18px;
    border: 0;
  }

  .doc-table td:not(:first-child)::before {
    content: attr(data-label) ': ';
    color: var(--lg-muted);
    font-size: 12.5px;
    font-weight: 600;
  }

  .doc-top {
    margin-left: 0;
  }
}


/* ===== Qeris: site/pages/TermsPage.css ===== */
/* Podmínky tarifů: jeden sloupec textu v bílé kartě a tabulka férového používání. */

/* S .ws-wrap kvůli pořadí načtení – obecná šířka stránky by jinak vyhrála. */
.ws-wrap.ws-terms-wrap {
  position: relative;
  z-index: 2;
  max-width: calc(860px + var(--ws-gutter) * 2);
}

.ws-terms-date {
  margin: 10px 0 0;
  color: var(--ws-text-2);
  font-size: 15px;
}

.ws-terms-body {
  margin-top: 36px;
  padding: clamp(24px, 4vw, 48px);
}

.ws-terms-body h2 {
  margin: 34px 0 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ws-terms-body h2:first-child {
  margin-top: 0;
}

.ws-terms-body p {
  margin: 0 0 12px;
  color: var(--ws-ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.ws-terms-table {
  margin: 18px 0;
  overflow-x: auto;
  border-radius: 18px;
  background: #f5f5f7;
}

.ws-terms-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.ws-terms-table th,
.ws-terms-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
}

.ws-terms-table tbody tr:last-child th,
.ws-terms-table tbody tr:last-child td {
  border-bottom: 0;
}

.ws-terms-table thead th {
  font-weight: 700;
}

.ws-terms-table tbody th {
  color: var(--ws-ink-2);
  font-weight: 600;
}

.ws-terms-table td {
  white-space: nowrap;
}

.ws-terms-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px !important;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.ws-terms-links a {
  color: var(--lg-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Právní dokumenty (LegalPage) – přepínač nahoře, odrážky a tabulky s delším textem. */

.ws-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 26px;
}

.ws-legal-nav a {
  padding: 8px 14px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ws-legal-nav a:hover {
  color: var(--lg-ink);
}

.ws-legal-nav a.is-active {
  background: var(--lg-ink);
  color: #fff;
}

.ws-legal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 14px;
  padding-left: 20px;
  color: var(--ws-ink-2);
  font-size: 16px;
  line-height: 1.6;
}

.ws-terms-body h2[id] {
  scroll-margin-top: 100px;
}

/* Anglické shrnutí oddílu (např. pro ověření aplikace u Googlu). */
.ws-legal-en {
  margin: 16px 0 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f5f5f7;
}

.ws-terms-body .ws-legal-en p {
  font-size: 14.5px;
  line-height: 1.6;
}

.ws-terms-body .ws-legal-en p:last-child {
  margin-bottom: 0;
}

.ws-legal-table table {
  min-width: 640px;
}

.ws-legal-table th,
.ws-legal-table td {
  vertical-align: top;
  line-height: 1.5;
}

.ws-legal-table td {
  white-space: normal;
}

.ws-legal-table tbody th {
  min-width: 170px;
}

@media (max-width: 640px) {
  /* Na telefonu tabulka jako karty – řádek pod řádkem, bez vodorovného posouvání. */
  .ws-legal-table table {
    min-width: 0;
  }

  .ws-legal-table thead {
    display: none;
  }

  .ws-legal-table tr {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .ws-legal-table tbody tr:last-child {
    border-bottom: 0;
  }

  .ws-legal-table th,
  .ws-legal-table td {
    display: block;
    padding: 2px 0;
    border: 0;
  }

  .ws-legal-table tbody th {
    min-width: 0;
  }
}


/* ===== Qeris: site/pages/QrPage.css 1–152 (úvod podstránek a ovládací prvky ukázek) ===== */
/* Záložka QR kódy + společné úvodní části podstránek (.ws-page-hero). */

.ws-page-hero {
  position: relative;
  padding: calc(var(--ws-header) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 9vw, 120px);
}

.ws-hero-bg.is-soft span {
  opacity: 0.4;
}

.ws-page-hero-grid {
  position: relative;
  z-index: 2;
}

.ws-title.is-page {
  font-size: clamp(38px, 5.2vw, 70px);
  letter-spacing: -0.042em;
}

.ws-center {
  text-align: center;
}

.ws-panel-title {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
}

/* ovládací prvky ukázek */
.ws-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ws-control > span,
.ws-control > div > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ws-text-2);
  font-size: 12.5px;
  font-weight: 600;
}

.ws-control.is-row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.ws-control.is-row > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

.ws-pills.is-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ws-page-hero-grid.is-wide-demo {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

@media (max-width: 960px) {
  .ws-page-hero-grid.is-wide-demo {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ws-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: #f2f2f7;
}

.ws-pills button {
  flex: 1 1 auto;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ws-text-2);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.ws-pills button:hover {
  color: var(--lg-ink);
}

.ws-pills button.is-active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  color: var(--lg-ink);
}

.ws-pills.is-small button {
  padding: 6px 10px;
  font-size: 12.5px;
}

.ws-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ws-colors button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s var(--lg-ease), box-shadow 0.3s ease;
}

.ws-colors button:hover {
  transform: scale(1.12);
}

.ws-colors button.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c);
}

.ws-switch {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  white-space: nowrap;
  color: var(--lg-ink);
  font-size: 14px;
  font-weight: 600;
}

.ws-switch .lg-toggle {
  transition: background-color 0.3s ease;
}


/* =====================================================================================
   THEIS – vlastní části nad převzatým základem Qerisu
   ===================================================================================== */

/* Stavy, které v Qerisu kreslí framer-motion (AnimatePresence); tady je přepíná js/web.js třídou. */
.ws-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.25s var(--lg-ease), visibility 0s linear 0.25s;
}

.ws-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.25s var(--lg-ease), transform 0.25s var(--lg-ease), visibility 0s;
}

.ws-sheet {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.ws-sheet.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease, visibility 0s;
}

.ws-sheet-nav > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.5s var(--lg-ease), transform 0.5s var(--lg-ease);
  transition-delay: calc(var(--i, 0) * 40ms);
}

.ws-sheet.is-open .ws-sheet-nav > * {
  opacity: 1;
  transform: none;
}

.ws-sheet-foot {
  opacity: 0;
  transition: opacity 0.4s ease 0.35s;
}

.ws-sheet.is-open .ws-sheet-foot {
  opacity: 1;
}

.ws-burger .is-x,
.ws-burger.is-open .is-bars {
  display: none;
}

.ws-burger.is-open .is-x {
  display: block;
}

/* Jak to funguje: ukázky leží přes sebe a střídají se (v Qerisu se vykresluje jen aktivní). */
.ws-how-sticky .ws-how-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 30px, 0) scale(0.97);
  transition: opacity 0.5s var(--lg-ease), transform 0.5s var(--lg-ease);
}

.ws-how-sticky .ws-how-visual.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.ws-how-steps li {
  transition: opacity 0.5s var(--lg-ease);
}

/* Pro koho: panel se vymění s náběhem zprava a body seznamu se postupně objeví. */
.ws-aud-content[hidden] {
  display: none;
}

.ws-aud-content.is-active {
  animation: th-aud-in 0.45s var(--lg-ease);
}

.ws-aud-content.is-active li {
  animation: th-li-in 0.5s var(--lg-ease) both;
}

.ws-aud-content.is-active li:nth-child(1) { animation-delay: 120ms; }
.ws-aud-content.is-active li:nth-child(2) { animation-delay: 180ms; }
.ws-aud-content.is-active li:nth-child(3) { animation-delay: 240ms; }
.ws-aud-content.is-active li:nth-child(4) { animation-delay: 300ms; }
.ws-aud-content.is-active li:nth-child(5) { animation-delay: 360ms; }

@keyframes th-aud-in {
  from { opacity: 0; transform: translate3d(24px, 0, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes th-li-in {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: none; }
}

/* Střídání ukázek (data-cycle): položky leží přes sebe, aktivní přijede zespodu s rozostřením. */
[data-cycle] {
  position: relative;
  display: grid;
}

[data-cycle] > [data-cycle-item] {
  grid-area: 1 / 1;
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(0, 10px, 0);
  transition: opacity 0.45s var(--lg-ease), transform 0.45s var(--lg-ease), filter 0.45s var(--lg-ease);
}

[data-cycle] > [data-cycle-item].is-active {
  opacity: 1;
  filter: none;
  transform: none;
}

[data-cycle] > [data-cycle-item].is-leaving {
  transform: translate3d(0, -10px, 0);
}

/* Základní typografie a šířka pro stránky postavené z tříd webu (body.ws). */
body.ws {
  min-height: 100vh;
}

.ws main {
  display: block;
}

.ws a {
  color: inherit;
  text-decoration: none;
}

.ws img {
  max-width: 100%;
}

.ws-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lg-ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: opacity 0.2s ease;
}

.ws-brand img {
  width: 26px;
  height: 26px;
}

.ws-brand:hover {
  opacity: 0.7;
}

.ws-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 99px;
  color: var(--ws-text-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ws-lang:hover {
  background: rgba(0, 0, 0, 0.045);
  color: var(--lg-ink);
}

/* ---- Ukázky rozhraní THEISu (stejné tvary jako appka: karty, bubliny, pixely) ---- */

.th-net {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 6px;
  background: #f2f2f7;
  color: #424245;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.th-nets {
  display: inline-flex;
  gap: 4px;
}

.th-thumb {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 70px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(160deg, #dfe9f6, #c9d8ea);
  color: rgba(255, 255, 255, 0.92);
}

.th-thumb.is-green { background: linear-gradient(160deg, #d9f7c8, #9fe07f); }
.th-thumb.is-warm { background: linear-gradient(160deg, #ffe7c7, #ffc77e); }
.th-thumb.is-dark { background: linear-gradient(160deg, #3a3a3e, #1d1d1f); }
.th-thumb.is-violet { background: linear-gradient(160deg, #eadcff, #c8a8f5); }

.th-post {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.th-post-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.th-post-info strong {
  overflow: hidden;
  color: var(--lg-ink);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.th-time {
  color: var(--lg-ink);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Fáze výroby jako řada čtverečků: hotové zelené, právě běžící s obrysem. */
.th-phases {
  display: inline-flex;
  gap: 3px;
}

.th-phases i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #ececf0;
}

.th-phases i.d { background: #3fc722; }
.th-phases i.c { background: #fff; box-shadow: inset 0 0 0 2px #3fc722; }

.th-pipe {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.th-pipe-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.th-pipe-row .th-num {
  padding: 3px 6px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  color: #555;
  font: 600 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}

.th-pipe-row strong {
  display: block;
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.th-pipe-row small {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--lg-muted);
  font-size: 12px;
}

/* Linka v kartě Výroba: video postupuje fázemi dokola. */
.th-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.th-line span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  border-radius: 14px;
  background: #f5f5f7;
  color: var(--lg-muted);
  font-size: 11.5px;
  font-weight: 650;
  text-align: center;
  animation: th-phase 9s var(--lg-ease) infinite;
}

.th-line span i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: #ececf0;
  animation: th-phase-dot 9s var(--lg-ease) infinite;
}

.th-line span:nth-child(2), .th-line span:nth-child(2) i { animation-delay: 1.3s; }
.th-line span:nth-child(3), .th-line span:nth-child(3) i { animation-delay: 2.6s; }
.th-line span:nth-child(4), .th-line span:nth-child(4) i { animation-delay: 3.9s; }
.th-line span:nth-child(5), .th-line span:nth-child(5) i { animation-delay: 5.2s; }
.th-line span:nth-child(6), .th-line span:nth-child(6) i { animation-delay: 6.5s; }

@keyframes th-phase {
  0%, 100% { background: #f5f5f7; color: var(--lg-muted); }
  8%, 30% { background: #fff; color: var(--lg-ink); box-shadow: 0 0 0 1px rgba(63, 199, 34, 0.35), 0 8px 20px -10px rgba(36, 156, 14, 0.4); }
  40% { background: #f6fdf2; color: #248a3d; box-shadow: none; }
}

@keyframes th-phase-dot {
  0%, 100% { background: #ececf0; }
  8%, 30% { background: #3fc722; box-shadow: 0 0 0 4px rgba(63, 199, 34, 0.18); }
  40%, 90% { background: #abee8a; box-shadow: none; }
}

/* Render: stopy střihu s jezdcem, který po nich přejíždí. */
.th-render {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px;
  border-radius: 18px;
  background: #f5f5f7;
}

.th-track {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--lg-muted);
  font-size: 11.5px;
  font-weight: 650;
}

.th-track b {
  position: relative;
  display: block;
  height: 22px;
  border-radius: 7px;
  background: #ececf0;
}

.th-track b i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 7px;
}

.th-head {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: calc(14px + 74px);
  width: 2px;
  border-radius: 2px;
  background: #1d1d1f;
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.08);
  animation: th-head 6s linear infinite;
}

@keyframes th-head {
  from { left: calc(14px + 74px); }
  to { left: calc(100% - 16px); }
}

/* Knihovna: kontaktní list, po kterém přejede rozpoznávání a objeví se rámečky se jménem. */
.th-faces {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  overflow: hidden;
  border-radius: 18px;
}

.th-faces > span {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(160deg, #e9e9ee, #d6d6dc);
}

.th-faces > span:nth-child(3n) { background: linear-gradient(160deg, #dfe9f6, #c4d4ea); }
.th-faces > span:nth-child(4n+1) { background: linear-gradient(160deg, #e7f6df, #c6e9b6); }

.th-faces .th-face {
  position: absolute;
  top: 18%;
  left: 24%;
  width: 52%;
  height: 40%;
  border: 2px solid #3fc722;
  border-radius: 8px;
  opacity: 0;
  animation: th-face 7s var(--lg-ease) infinite;
}

.th-faces .th-face em {
  position: absolute;
  bottom: calc(100% + 4px);
  left: -2px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #3fc722;
  color: #06210f;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.th-faces > .th-scanline {
  position: absolute;
  aspect-ratio: auto;
  border-radius: 0;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: #3fc722;
  box-shadow: 0 0 14px 2px rgba(110, 255, 50, 0.55);
  animation: th-scan 7s var(--lg-ease) infinite;
}

@keyframes th-scan {
  0% { top: 0; opacity: 0; }
  6% { opacity: 1; }
  44% { top: calc(100% - 2px); opacity: 1; }
  50%, 100% { top: calc(100% - 2px); opacity: 0; }
}

@keyframes th-face {
  0%, 22% { opacity: 0; transform: scale(1.12); }
  30%, 86% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}

/* Publikace: sítě a jejich stav, který se postupně přepne na „Vyšlo“. */
.th-pub {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.th-pub-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f5f5f7;
  font-size: 13.5px;
  font-weight: 650;
}

.th-pub-row .th-state {
  display: grid;
  margin-left: auto;
}

.th-pub-row .th-state > span {
  grid-area: 1 / 1;
  justify-self: end;
  animation: th-state-a 8s var(--lg-ease) infinite;
}

.th-pub-row .th-state > span + span {
  animation-name: th-state-b;
}

.th-pub-row:nth-child(2) .th-state > span { animation-delay: 0.6s; }
.th-pub-row:nth-child(3) .th-state > span { animation-delay: 1.2s; }
.th-pub-row:nth-child(4) .th-state > span { animation-delay: 1.8s; }

@keyframes th-state-a {
  0%, 38% { opacity: 1; transform: none; }
  44%, 94% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: none; }
}

@keyframes th-state-b {
  0%, 38% { opacity: 0; transform: translateY(6px); }
  44%, 94% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

/* Mini plánovač: týden ze sloupců, karty přijíždějí na svá místa. */
.th-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.th-week > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 150px;
  padding: 6px;
  border-radius: 12px;
  background: #f5f5f7;
}

.th-week small {
  color: var(--lg-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.th-week > div.is-today {
  background: #fff;
  box-shadow: 0 0 0 1.5px #1d1d1f;
}

.th-week b {
  display: block;
  height: 26px;
  border-radius: 7px;
  background: #fff;
  box-shadow: inset 3px 0 0 var(--c, #3fc722), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.th-week > div.is-today b {
  background: #f5f5f7;
}

.th-week b.is-drop {
  animation: th-drop 6s var(--lg-ease) infinite;
}

@keyframes th-drop {
  0%, 12% { opacity: 0; transform: translate3d(-40px, -30px, 0) rotate(-6deg); }
  24%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

/* Inbox: komentáře ze všech sítí v jednom proudu. */
.th-inbox li {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.th-quote {
  display: block;
  overflow: hidden;
  color: var(--lg-ink);
  font-size: 13.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Pixelové sloupce (zhlédnutí po dnech). */
.th-px {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3px;
  height: 132px;
}

.th-px > span {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}

.th-px i {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: #ececf0;
}

.th-px i.g { background: #3fc722; }
.th-px i.t { background: #72df4d; }
.th-px i.n { background: #249c0e; }

.ws-reveal.is-in .th-px > span {
  animation: th-col-in 0.9s var(--lg-ease) both;
}

@keyframes th-col-in {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: none; }
}

/* Srovnání na úvodu: řádky schopností, ano/ne jako zelený a šedý čip. */
.th-vs {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--ws-shadow);
}

.th-vs-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 120px;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-top: 1px solid #f2f2f5;
}

.th-vs-row:first-child {
  border-top: 0;
  background: #fbfbfd;
  color: var(--lg-muted);
  font-size: 13px;
  font-weight: 650;
}

.th-vs-row strong {
  display: block;
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.th-vs-row small {
  display: block;
  margin-top: 3px;
  color: var(--ws-text-2);
  font-size: 14.5px;
  line-height: 1.45;
}

.th-vs-row > span {
  justify-self: center;
  text-align: center;
}

.th-yes,
.th-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.th-yes { background: rgba(52, 199, 89, 0.12); color: #248a3d; }
.th-no { background: #f2f2f7; color: #c7c7cc; }

.th-vs-row.is-only {
  background: linear-gradient(90deg, rgba(63, 199, 34, 0.035), transparent 60%);
}

@media (max-width: 640px) {
  .th-vs-row {
    grid-template-columns: minmax(0, 1fr) 54px 54px;
    gap: 10px;
    padding: 16px 18px;
  }

  .th-vs-row strong { font-size: 15px; }
  .th-vs-row small { font-size: 13.5px; }
}

/* Tmavý pruh s videem renderu (výjimka jako .ws-dark v Qerisu). */
.th-video {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #111113;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 9;
}

.th-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.th-video.is-vertical {
  aspect-ratio: 9 / 16;
  border-radius: 40px;
  border: 8px solid #111113;
}

.th-video .th-rec {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.th-video .th-rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff453a;
  animation: px-live 1.6s ease-in-out infinite;
}

.th-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.34fr);
  align-items: center;
  gap: 24px;
}

@media (max-width: 760px) {
  .th-video-grid { grid-template-columns: minmax(0, 1fr); }
  .th-video.is-vertical { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .th-line span, .th-line span i, .th-head, .th-faces .th-face, .th-scanline,
  .th-pub-row .th-state > span, .th-week b.is-drop {
    animation: none !important;
  }
  .th-faces .th-face { opacity: 1; }
  .th-pub-row .th-state > span + span { opacity: 0; }
  [data-cycle] > [data-cycle-item] { transition: none; }
  .ws-menu, .ws-sheet, .ws-sheet-nav > *, .ws-sheet-foot, .ws-how-sticky .ws-how-visual { transition: none; }
  .ws-aud-content.is-active, .ws-aud-content.is-active li { animation: none; }
}

/* ---- Úvod THEISu: drobnosti kolem ukázek ---- */
.th-app-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 2px 0 18px 12px;
  color: var(--lg-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.th-mod-demo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.th-mod-week {
  position: relative;
  padding-bottom: 44px;
}

.th-mod-week .th-week > div {
  min-height: 300px;
}

.th-mod-toast {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  width: fit-content;
}

.ws-reveal .th-mod-toast {
  animation: th-toast 6s var(--lg-ease) infinite;
}

@keyframes th-toast {
  0%, 22% { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.98); }
  30%, 84% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; }
}

.th-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}

.th-upload {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.th-upload > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f5f5f7;
}

.th-upload strong {
  font-size: 14px;
}

.th-upload small {
  color: var(--lg-muted);
  font-size: 12.5px;
  text-align: right;
}

.th-bar {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: #ececf0;
}

.th-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #3fc722;
}

.th-bar i.is-run {
  width: 64%;
  animation: th-run 4.5s var(--lg-ease) infinite;
}

@keyframes th-run {
  0% { width: 8%; }
  80%, 100% { width: 92%; }
}

.th-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.th-step-toast {
  align-self: center;
}

.th-live-chart {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.th-live-chart strong {
  font-size: 14px;
}

.th-feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 4vw, 48px);
}

.th-feat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: var(--ws-radius);
  background: #fff;
  box-shadow: var(--ws-shadow-sm);
}

.th-feat h3 {
  margin: 6px 0 0;
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.th-feat p {
  color: var(--ws-text-2);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .th-feats { grid-template-columns: minmax(0, 1fr); }
}

.th-apps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

/* Obě tlačítka obchodů mají viditelně stejnou výšku 40 px. PNG od Googlu má nahoře a dole
   průhledný okraj (29 z 250 px), proto je obrázek vyšší a okraj se schová záporným odsazením. */
.th-apps img {
  display: block;
  height: 40px;
  width: auto;
}

.th-apps a + a img {
  height: 52px;
  margin: -6px 0;
}

/* Render: co THEIS do videa zapeče – logo, jmenovka a karta partnerů na konci.
   Délku animací srovná js/web.js s délkou videa, ať jedou se smyčkou videa. */
.th-anim {
  animation-duration: 8s;
  animation-iteration-count: infinite;
}

.th-logo {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 20px;
  width: auto;
  height: 28px;
  opacity: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  animation-name: th-wm;
  animation-timing-function: linear;
}

@keyframes th-wm {
  0%, 4% { opacity: 0; }
  9%, 78% { opacity: 0.95; }
  84%, 100% { opacity: 0; }
}

.th-l3 {
  position: absolute;
  z-index: 4;
  bottom: 24px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate3d(-130%, 0, 0);
  animation-name: th-l3;
  animation-timing-function: var(--lg-ease);
}

.th-l3 > i {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, #72df4d, #249c0e);
}

.th-l3 b {
  display: block;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.th-l3 small {
  color: #6e6e73;
  font-size: 12px;
  font-weight: 600;
}

@keyframes th-l3 {
  0%, 35% { opacity: 0; transform: translate3d(-130%, 0, 0); }
  41%, 58% { opacity: 1; transform: none; }
  64%, 100% { opacity: 0; transform: translate3d(-130%, 0, 0); }
}

.th-end {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px;
  background: rgba(17, 17, 19, 0.88);
  opacity: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation-name: th-end;
  animation-timing-function: var(--lg-ease);
}

.th-end strong {
  color: #fff;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.th-end strong span {
  color: #72df4d;
}

.th-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 92%;
}

.th-partners > span {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 96px;
  height: 54px;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.th-partners > span > i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--pc, #86868b);
}

.th-partners em {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.th-partners em b {
  display: block;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: #1d1d1f;
}

.th-partners em b + b {
  width: 20px;
  opacity: 0.45;
}

@keyframes th-end {
  0%, 72% { opacity: 0; }
  79%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

.th-video.is-vertical .th-logo { top: 16px; right: 14px; height: 18px; }
.th-video.is-vertical .th-l3 { bottom: 20px; left: 12px; padding: 7px 12px 7px 8px; }
.th-video.is-vertical .th-l3 > i { width: 24px; height: 24px; }
.th-video.is-vertical .th-l3 b { font-size: 12px; }
.th-video.is-vertical .th-l3 small { font-size: 10.5px; }
.th-video.is-vertical .th-partners > span { width: 74px; height: 44px; }
.th-video.is-vertical .th-rec { top: 14px; left: 12px; }

@media (prefers-reduced-motion: reduce) {
  .th-anim { animation: none !important; }
  .th-logo, .th-l3 { opacity: 1; transform: none; }
}

.th-vs-row:first-child > span:first-child {
  justify-self: start;
}

@media (max-width: 640px) {
  .ws-hero-app .ws-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-hero-app .ws-stat-row .ws-stat:first-child {
    grid-column: 1 / -1;
  }

  .ws-hero-app .ws-app-head .ws-seg {
    display: none;
  }
}

/* Pixelové sloupce se musí vejít do jakkoli úzké karty: sloupec se zúží, čtvereček zůstane čtverec. */
.th-px > span {
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
}

.th-px i {
  width: 100%;
  max-width: 11px;
  height: auto;
  aspect-ratio: 1;
}

.th-px {
  height: auto;
  min-height: 0;
}

/* Živý proud v okně appky potřebuje šířku – pod 1100 px jde graf a proud pod sebe. */
@media (max-width: 1100px) {
  .ws-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'chart' 'stream' 'map';
  }
}

/* Úzký telefon: přepínač jazyka se z hlavičky stěhuje do rozbaleného menu (jinak se lišta nevejde). */
@media (max-width: 520px) {
  .ws-header-actions .ws-lang {
    display: none;
  }
}

.ws-sheet-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  color: var(--lg-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ws-aud-mock .lg-mock {
  max-width: 100%;
}

.ws-aud-mock .lg-toast,
.ws-aud-mock .lg-toggle-row {
  white-space: normal;
}

/* Jmenovka u fotky v posledním sloupci se drží pravého okraje, ať nepřečuhuje z karty. */
.th-faces > span:nth-child(4n+1) .th-face em {
  right: -2px;
  left: auto;
}

@media (max-width: 640px) {
  .th-faces .th-face em {
    font-size: 8.5px;
  }
}

/* ---- Podstránky: funkce s ukázkou, karty funkcí, ukázkové karty ---- */
.th-feature {
  align-items: center;
}

.ws-head + .th-feature,
.th-feature + .th-feature,
.th-feature + .th-cards,
.th-cards + .th-feature {
  margin-top: clamp(64px, 9vw, 128px);
}

.th-feature .ws-title {
  margin-top: 18px;
}

.th-feature .ws-points {
  margin-top: 26px;
}

.th-feature-mock {
  min-width: 0;
}

.ws-split.is-rev > :first-child {
  order: 2;
}

@media (max-width: 960px) {
  .ws-split.is-rev > :first-child {
    order: 0;
  }
}

.th-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.th-fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 2.6vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: var(--ws-radius);
  background: #fff;
  box-shadow: var(--ws-shadow-sm);
  isolation: isolate;
  scroll-margin-top: calc(var(--ws-header) + 24px);
  transition: transform 0.6s var(--lg-ease), box-shadow 0.6s var(--lg-ease);
}

.th-fcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 50px 90px -40px rgba(0, 0, 0, 0.26);
}

.th-fcard:hover .ws-icon {
  background: var(--lg-ink);
  color: #fff;
  transform: rotate(-8deg) scale(1.05);
}

.ws-section.is-white .th-fcard {
  background: #f5f5f7;
  box-shadow: none;
}

.ws-section.is-white .th-fcard:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 50px 90px -40px rgba(0, 0, 0, 0.26);
}

.th-fcard-eb {
  margin-top: 8px;
  color: var(--ws-green-ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.th-fcard h3 {
  font-size: clamp(20px, 1.8vw, 23px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.th-fcard p {
  color: var(--ws-text-2);
  font-size: 15.5px;
  line-height: 1.55;
}

.th-mini-points {
  margin-top: 6px;
  gap: 8px;
}

.th-mini-points li {
  font-size: 14.5px;
}

.th-mini-points .ws-check {
  width: 22px;
  height: 22px;
}

.th-feature,
.ws-section [id] {
  scroll-margin-top: calc(var(--ws-header) + 24px);
}

.th-mockcard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 2vw, 24px);
}

.th-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.th-mock-head strong {
  font-size: 16px;
  font-weight: 700;
}

.th-week--big > div {
  min-height: 240px;
}

.th-week--big b {
  height: 34px;
}

.th-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--ws-text-2);
  font-size: 12.5px;
  font-weight: 600;
}

.th-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.th-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.th-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.th-chat {
  gap: 14px;
}

.th-bubble-q {
  align-self: flex-end;
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 20px 20px 6px 20px;
  background: #1d1d1f;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.th-bubble-a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 20px 20px 20px 6px;
  background: #f5f5f7;
}

.th-ai-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7e3fc4;
  font-size: 12.5px;
  font-weight: 700;
}

.th-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.th-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.th-jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  color: var(--ws-ink-2);
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.35s var(--lg-ease), box-shadow 0.35s var(--lg-ease);
}

.th-jump a svg {
  color: var(--lg-green);
}

.th-jump a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.th-lead-center {
  margin-right: auto;
  margin-left: auto;
}

.th-feats--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .th-feats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .th-feats--4 { grid-template-columns: minmax(0, 1fr); }
}

.th-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 56px);
}

.th-band > div {
  flex: 1 1 420px;
}

.th-band .ws-lead {
  max-width: 620px;
}

/* ---- Video-produkce ---- */
.th-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 16px;
  border: 1.5px dashed #c7c7cc;
  border-radius: 18px;
  background: #fbfbfd;
  color: var(--lg-muted);
  text-align: center;
}

.th-drop svg {
  color: var(--lg-green);
}

.th-drop strong {
  color: var(--lg-ink);
  font-size: 15px;
}

.th-drop small {
  font-size: 13px;
}

.th-thumbs {
  display: flex;
  gap: 10px;
}

.th-thumb--wide {
  flex: 1;
  height: 150px;
  border-radius: 16px;
}

.th-thumb--add {
  width: 96px;
  height: 150px;
  border-radius: 16px;
  border: 1.5px dashed #c7c7cc;
  background: #fff;
  color: var(--lg-muted);
}

.th-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.th-roles {
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow-x: auto;
}

.th-roles-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.4fr) repeat(4, minmax(64px, 1fr));
  align-items: center;
  gap: 8px;
  min-width: 460px;
  padding: 14px 12px;
  border-top: 1px solid #f2f2f5;
}

.th-roles-row:first-child {
  border-top: 0;
}

.th-roles-row.is-head {
  color: var(--lg-muted);
  font-size: 12.5px;
  font-weight: 650;
}

.th-roles-row > span {
  justify-self: center;
}

.th-roles-row strong {
  font-size: 15px;
}

.th-inline-toast {
  display: inline-flex;
  margin-top: 28px;
}

.th-numbers--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .th-numbers--3 { grid-template-columns: minmax(0, 1fr); }
}

.th-num-text {
  font-size: clamp(36px, 4.4vw, 60px) !important;
}

/* ---- Ceník: čtyři tarify ---- */
.ws-plans.th-plans--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
  gap: 16px;
}

.th-plans--4 .ws-plan {
  padding: clamp(22px, 2vw, 28px);
}

.th-plans--4 .ws-plan-price strong {
  font-size: clamp(36px, 3.2vw, 46px);
}

.th-plans--4 .ws-plan-for {
  min-height: 4.5em;
}

.th-plans--4 .ws-plan-badge {
  top: 18px;
  right: 18px;
}

.ws-plan.is-ai {
  box-shadow: 0 0 0 1.5px rgba(34, 179, 91, 0.5), 0 18px 40px -18px rgba(34, 179, 91, 0.35);
}

.ws-plan.is-ai .ws-plan-badge {
  background: rgba(34, 179, 91, 0.12);
  color: var(--ws-green-ink);
}

.ws-plan-list li.is-gap {
  margin-top: 8px;
}

.ws-plan-list li.is-off {
  color: var(--ws-text-2);
}

.ws-plan-list li.is-off svg {
  color: #c7c7cc;
}

.ws-plan.is-main .ws-plan-list li.is-off {
  color: rgba(255, 255, 255, 0.5);
}

.ws-plan.is-main .ws-plan-list li.is-off svg {
  color: rgba(255, 255, 255, 0.3);
}

.th-addons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.th-addon {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 30px);
}

.th-addon .ws-icon {
  flex: none;
}

.th-addon h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.th-addon p {
  margin: 8px 0 0;
  color: var(--ws-text-2);
  font-size: 15px;
  line-height: 1.55;
}

.ws-cmp tr.is-group th {
  padding-top: 26px;
  padding-bottom: 10px;
  color: var(--ws-text-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.ws-cmp tr.is-group:first-child th {
  padding-top: 14px;
}

.th-cmp tbody th {
  max-width: 360px;
}

.th-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.th-faq-more {
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 1180px) {
  .ws-plans.th-plans--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 860px;
  }

  .ws-plans.th-plans--4 > .ws-reveal:nth-child(2) {
    order: 0;
  }

  .th-addons {
    max-width: 860px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .ws-plans.th-plans--4 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }

  .th-plans--4 .ws-plan-for {
    min-height: 0;
  }

  .th-addons {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }

  .th-addon {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 700px) {
  .ws-cmp.th-cmp {
    min-width: 540px;
    table-layout: fixed;
  }

  .th-cmp tbody tr:not(.is-group) th,
  .th-cmp thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 148px;
    background: #f5f5f7;
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.06);
  }

  .th-cmp tr.is-group th span {
    position: sticky;
    left: 14px;
  }
}

/* ---- Časté dotazy: skupiny otázek ---- */
.th-faq-group {
  scroll-margin-top: 72px;
}

.th-faq-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

@media (min-width: 901px) {
  .th-faq-head {
    position: sticky;
    top: 110px;
  }
}

.ws-section.th-faq-group {
  padding-top: clamp(56px, 6vw, 88px);
  padding-bottom: clamp(56px, 6vw, 88px);
}

.ws-faq-answer a {
  color: var(--ws-green-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ws-faq-answer strong {
  color: var(--lg-ink);
  font-weight: 650;
}

.ws-lead a {
  color: var(--lg-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Kontakt: výběry, poznámka, rozcestník ---- */
.ws-input select {
  width: 100%;
  padding: 13px 40px 13px 15px;
  border: 1px solid transparent;
  border-radius: 13px;
  outline: none;
  background: var(--lg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--lg-ink);
  font: inherit;
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.ws-input select:focus {
  border-color: rgba(0, 0, 0, 0.14);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(63, 199, 34, 0.14);
}

.ws-input input:user-invalid,
.ws-input select:user-invalid {
  border-color: rgba(255, 59, 48, 0.4);
  background-color: #fff6f5;
}

.th-form-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.ws-process .ws-points {
  margin-top: 12px;
}

.th-contact-note {
  margin-top: 8px;
  color: var(--ws-text-2);
  font-size: 14px;
}

.th-contact-note a {
  color: var(--lg-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.th-browse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--ws-shadow-sm);
}

.th-browse > strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.th-browse > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.th-browse a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 99px;
  background: #f5f5f7;
  color: var(--ws-ink-2);
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color 0.25s ease, transform 0.35s var(--lg-ease);
}

.th-browse a svg {
  color: var(--lg-muted);
  transition: transform 0.35s var(--lg-ease);
}

.th-browse a:hover {
  background: #ebebef;
}

.th-browse a:hover svg {
  transform: translateX(3px);
}

.ws-form-grid .th-span {
  grid-column: 1 / -1;
}

/* ---- Srovnání nástrojů ---- */
.th-anchor {
  scroll-margin-top: 72px;
}

.ws-cmp-scroll.th-cmp-wide {
  max-width: 1100px;
  margin-top: 0;
}

.ws-cmp.th-cmp--6 {
  min-width: 820px;
  table-layout: fixed;
}

.th-cmp--6 thead th:first-child {
  width: 32%;
}

.th-cmp--6 td {
  vertical-align: top;
}

.th-cmp--6 td .ws-cmp-yes,
.th-cmp--6 td .ws-cmp-no {
  margin-top: 2px;
}

.th-cell-note {
  display: block;
  margin-top: 3px;
  color: var(--ws-text-2);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.th-legend--center {
  justify-content: center;
  margin-top: 18px;
}

.th-legend--center span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.th-price-scroll {
  max-width: 1100px;
}

.th-ptable {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
}

.th-ptable th,
.th-ptable td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
  vertical-align: top;
}

.th-ptable thead th {
  color: var(--ws-text-2);
  font-size: 13px;
  font-weight: 650;
}

.th-ptable tbody th {
  font-size: 16px;
  font-weight: 700;
}

.th-ptable tbody tr:last-child th,
.th-ptable tbody tr:last-child td {
  border-bottom: 0;
}

.th-ptable tr.is-us th,
.th-ptable tr.is-us td {
  background: #e9f5ec;
}

.th-good {
  color: var(--ws-green-ink);
  font-weight: 700;
}

.th-cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.th-alt-kdo {
  display: inline-flex;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 99px;
  background: #f2f2f7;
  color: var(--ws-ink-2);
  font-size: 12.5px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .th-cards--2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .ws-cmp.th-cmp--6 {
    min-width: 640px;
    table-layout: fixed;
  }

  .th-cmp--6 tbody tr:not(.is-group) th,
  .th-cmp--6 thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 150px;
    background: #f5f5f7;
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.06);
  }

  .th-cmp--6 tr.is-group th span {
    position: sticky;
    left: 14px;
  }

  .th-cmp--6 .th-cell-note {
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .th-ptable {
    min-width: 600px;
    font-size: 14px;
  }

  .th-ptable tbody th,
  .th-ptable thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #f5f5f7;
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.06);
  }

  .th-ptable th,
  .th-ptable td {
    padding: 12px 12px;
  }
}

/* ---- Nápověda: rozcestník ---- */
.th-search {
  position: relative;
  width: min(560px, 100%);
  margin: 34px auto 0;
}

.th-search svg {
  position: absolute;
  top: 50%;
  left: 20px;
  color: var(--lg-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.th-search input {
  width: 100%;
  padding: 17px 22px 17px 50px;
  border: 0;
  border-radius: 99px;
  outline: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 18px 40px -24px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  color: var(--lg-ink);
  font: inherit;
  font-size: 16px;
  transition: box-shadow 0.3s var(--lg-ease);
}

.th-search input:focus {
  box-shadow: 0 0 0 4px rgba(63, 199, 34, 0.16), 0 18px 40px -24px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.th-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}

.th-help-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--ws-shadow-sm);
  color: inherit;
  transition: transform 0.45s var(--lg-ease), box-shadow 0.45s var(--lg-ease);
}

.th-help-card[hidden] {
  display: none;
}

.th-help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 30px 60px -30px rgba(0, 0, 0, 0.28);
}

.th-help-card h3 {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.th-help-card p {
  flex: 1;
  margin: 0;
  color: var(--ws-text-2);
  font-size: 15px;
  line-height: 1.5;
}

.th-help-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--ws-green-ink);
  font-size: 14px;
  font-weight: 650;
}

.th-help-go svg {
  transition: transform 0.35s var(--lg-ease);
}

.th-help-card:hover .th-help-go svg {
  transform: translateX(4px);
}

.th-help-ic.is-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-width: 48px;
  height: 48px;
  padding: 0 11px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07);
}

.th-help-ic.is-brand img,
.th-help-ic.is-brand svg,
.th-rel-ic.is-brand img,
.th-rel-ic.is-brand svg {
  display: block;
  flex: none;
  object-fit: contain;
}

.th-kick {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #111;
}

.th-kick svg {
  display: block;
}

.th-help-empty {
  margin: 28px 0 0;
  color: var(--ws-text-2);
  font-size: 16px;
  text-align: center;
}

/* ---- Nápověda: článek ---- */
.ws-page-hero.th-art-hero {
  padding-bottom: 8px;
}

.th-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 600;
}

.th-crumb a {
  color: var(--ws-green-ink);
}

.th-crumb-sep {
  color: #c7c7cc;
  transform: rotate(-90deg);
}

.th-art-title {
  max-width: 860px;
}

.ws-section.th-art-section {
  padding-top: clamp(28px, 4vw, 48px);
}

.th-art-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.th-prose {
  max-width: 740px;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--ws-shadow-sm);
  color: var(--ws-ink-2);
  font-size: 17px;
  line-height: 1.7;
}

.th-prose > :first-child {
  margin-top: 0;
}

.th-prose > :last-child {
  margin-bottom: 0;
}

.th-prose p {
  margin: 0 0 16px;
}

.th-prose h2 {
  margin: 36px 0 12px;
  color: var(--lg-ink);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.th-prose b,
.th-prose strong {
  color: var(--lg-ink);
  font-weight: 650;
}

.th-prose a {
  color: var(--ws-green-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(36, 138, 61, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.th-prose a:hover {
  text-decoration-color: currentColor;
}

.th-prose ul,
.th-prose ol {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.th-prose li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 32px;
}

.th-prose ul > li::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lg-green);
}

.th-prose ol {
  counter-reset: krok;
}

.th-prose ol > li {
  counter-increment: krok;
}

.th-prose ol > li::before {
  content: counter(krok);
  position: absolute;
  top: 0.18em;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.14);
  color: var(--ws-green-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.th-prose code {
  padding: 2px 7px;
  border-radius: 7px;
  background: #f2f2f7;
  color: var(--lg-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
}

.th-prose pre {
  margin: 0 0 18px;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: 16px;
  background: #1d1d1f;
  color: #f5f5f7;
  font-size: 14px;
  line-height: 1.6;
}

.th-prose pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.th-flow {
  padding: 14px 18px;
  border-radius: 16px;
  background: #f5f5f7;
  color: var(--lg-ink);
  font-weight: 650;
}

.th-note {
  display: flex;
  gap: 12px;
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f5f5f7;
}

.th-note.is-tip {
  background: rgba(52, 199, 89, 0.1);
}

.th-note > span {
  flex: none;
  margin-top: 3px;
  color: var(--lg-muted);
}

.th-note.is-tip > span {
  color: var(--ws-green-ink);
}

.th-note p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
}

.th-art-help {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  color: var(--ws-text-2);
  font-size: 15px;
}

.th-art-side {
  position: sticky;
  top: calc(var(--ws-header) + 24px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.th-art-side h2 {
  margin: 0 0 8px 12px;
  color: var(--ws-text-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.th-rel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--ws-ink-2);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 0.25s ease;
}

.th-rel:hover {
  background: #fff;
}

.th-rel.is-all {
  margin-top: 6px;
  color: var(--ws-green-ink);
}

.th-rel-ic {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  color: var(--lg-green);
}

.th-rel-ic .th-kick {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.th-rel-ic .th-kick svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 960px) {
  .th-art-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .th-art-side {
    position: static;
  }
}

@media (max-width: 520px) {
  .th-prose {
    font-size: 16px;
  }

  .th-prose h2 {
    font-size: 20px;
  }
}

/* ---- Stav služeb ---- */
.th-status-wrap {
  max-width: calc(820px + var(--ws-gutter) * 2);
}

.st-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 14px 22px;
  border-radius: 99px;
  background: #fff;
  box-shadow: var(--ws-shadow-sm);
  color: var(--lg-ink);
  font-size: 17px;
  font-weight: 650;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.st-banner.ok {
  background: #e9f7ee;
  color: var(--ws-green-ink);
}

.st-banner.warn {
  background: #fff6e5;
  color: #a35c00;
}

.st-banner.down {
  background: #fdecec;
  color: #c4161c;
}

.th-status-meta {
  margin: 14px 0 0;
  color: var(--ws-text-2);
  font-size: 13.5px;
  font-weight: 500;
}

.th-status-meta.is-left {
  margin-top: 16px;
  line-height: 1.6;
}

.st-dot {
  position: relative;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c7c7cc;
}

.st-dot.ok {
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.18);
}

.st-dot.ok::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34c759;
  animation: st-ping 2.4s var(--lg-ease) infinite;
}

.st-dot.warn {
  background: #ff9f0a;
  box-shadow: 0 0 0 4px rgba(255, 159, 10, 0.18);
}

.st-dot.down {
  background: #ff3b30;
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.18);
}

.st-dot.chk {
  animation: st-blink 1s ease-in-out infinite;
}

@keyframes st-ping {
  0% { opacity: 0.6; transform: scale(1); }
  80%, 100% { opacity: 0; transform: scale(2.6); }
}

@keyframes st-blink {
  50% { opacity: 0.3; }
}

.st-list {
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.st-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  transition: background-color 0.25s ease;
}

.st-row + .st-row {
  border-top: 1px solid #f2f2f5;
}

.st-row:hover {
  background: #fafafa;
}

.st-main {
  flex: 1;
  min-width: 0;
}

.st-nm {
  font-size: 16px;
  font-weight: 650;
}

.st-ds {
  margin-top: 2px;
  color: var(--ws-text-2);
  font-size: 13.5px;
}

.st-ms {
  flex: none;
  color: var(--ws-text-2);
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.st-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 22px;
  border-radius: 20px;
  background: #f5f5f7;
  color: var(--ws-ink-2);
  font-size: 15px;
  font-weight: 600;
}

.st-empty svg {
  flex: none;
  color: var(--lg-green);
}

.st-inc {
  padding: 20px 22px;
  border-radius: 20px;
  background: #f5f5f7;
}

.st-inc + .st-inc {
  margin-top: 12px;
}

.st-inc-h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.st-inc-h b {
  font-size: 16px;
}

.st-inc-d {
  margin-left: auto;
  color: var(--ws-text-2);
  font-size: 13px;
}

.st-inc p {
  margin: 10px 0 0;
  color: var(--ws-text-2);
  font-size: 15px;
  line-height: 1.6;
}

.st-pill {
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}

.st-pill.ok { background: #e9f7ee; color: var(--ws-green-ink); }
.st-pill.warn { background: #fff6e5; color: #a35c00; }
.st-pill.down { background: #fdecec; color: #c4161c; }

@media (prefers-reduced-motion: reduce) {
  .st-dot.ok::after,
  .st-dot.chk {
    animation: none;
  }
}

/* ---- Právní stránky a 404 ---- */
.th-legal-wrap {
  max-width: calc(860px + var(--ws-gutter) * 2);
}

.th-legal-wrap .ws-eyebrow {
  margin-bottom: 14px;
}

.th-legal-meta {
  margin: 14px 0 0;
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
}

.th-prose.is-legal {
  max-width: none;
  font-size: 16px;
  line-height: 1.75;
}

.th-prose.is-legal h2 {
  font-size: 21px;
}

.th-prose hr {
  height: 1px;
  margin: 32px 0;
  border: 0;
  background: rgba(0, 0, 0, 0.08);
}

.th-fine {
  color: var(--ws-text-2);
  font-size: 13.5px;
}

.th-404-num {
  margin-bottom: 8px;
  background: linear-gradient(180deg, #1d1d1f 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(96px, 16vw, 180px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.th-status-meta a {
  color: var(--lg-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ws-card .lg-toast,
.th-inline-toast {
  max-width: 100%;
  white-space: normal;
}

.ws-card .lg-toast svg,
.th-inline-toast svg {
  flex: none;
}

@media (max-width: 520px) {
  .th-roles {
    padding: 6px;
  }

  .th-roles-row {
    grid-template-columns: minmax(74px, 1fr) repeat(4, minmax(0, 1fr));
    gap: 2px;
    min-width: 0;
    padding: 12px 6px;
  }

  .th-roles-row.is-head {
    font-size: 10px;
    letter-spacing: -0.01em;
  }

  .th-roles-row.is-head span {
    text-align: center;
  }

  .th-roles-row strong {
    font-size: 13.5px;
  }
}

/* ---- Mezera pod úvodem podstránek: úvod a první sekce už nesčítají plné odsazení ---- */
.ws-page-hero {
  padding-bottom: clamp(40px, 5vw, 72px);
}

.ws-page-hero + .ws-section {
  padding-top: clamp(24px, 3.5vw, 48px);
}

.ws-page-hero + .ws-section.is-white {
  padding-top: clamp(56px, 6vw, 88px);
}

/* ---- Plánovač ve vysoké kartě: den po hodinách ---- */
.th-mod-demo.th-day {
  position: relative;
  flex: 1;
  min-height: 460px;
  margin-top: 4px;
  padding-bottom: 52px;
}

.th-day-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.th-day-head strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.th-day-grid {
  position: relative;
  flex: 1;
  min-height: 380px;
  border-radius: 18px;
  background: #fbfbfd;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.th-day-h {
  position: absolute;
  top: calc(var(--t) * 100% / 10);
  right: 0;
  left: 0;
  border-top: 1px solid #efeff2;
}

.th-day-h:first-child {
  border-top-color: transparent;
}

.th-day-h small {
  position: absolute;
  top: 4px;
  left: 10px;
  color: var(--lg-muted);
  font-size: 10.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.th-day-ev,
.th-day-ghost {
  position: absolute;
  top: calc(var(--t) * 100% / 10);
  right: 10px;
  left: 50px;
  height: calc(var(--d) * 100% / 10);
  padding: 3px 0;
}

.th-day-ev > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  column-gap: 8px;
  height: 100%;
  padding: 0 10px 0 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 3px 0 0 var(--c), 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.th-day-ev b {
  grid-row: span 2;
  align-self: center;
  color: var(--c);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.th-day-ev strong,
.th-day-ev small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.th-day-ev strong {
  font-size: 12.5px;
  line-height: 1.25;
}

.th-day-ev small {
  color: var(--lg-muted);
  font-size: 11px;
  line-height: 1.25;
}

.th-day-ghost::before {
  content: '';
  display: block;
  height: 100%;
  border: 1.5px dashed #c7c7cc;
  border-radius: 10px;
}

.th-day-now {
  position: absolute;
  top: calc(var(--t) * 100% / 10);
  right: 0;
  left: 44px;
  height: 2px;
  background: #ff3b30;
  z-index: 2;
}

.th-day-now::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3b30;
}

.th-day-ev.is-move {
  z-index: 3;
}

.th-day-ev.is-move b {
  display: grid;
}

.th-day-ev.is-move b i {
  grid-area: 1 / 1;
  font-style: normal;
}

.th-day-ev.is-move b i:last-child {
  opacity: 0;
}

.ws-reveal .th-day-ev.is-move b i:first-child {
  animation: th-day-cas-a 6.5s ease infinite;
}

.ws-reveal .th-day-ev.is-move b i:last-child {
  animation: th-day-cas-b 6.5s ease infinite;
}

@keyframes th-day-cas-a {
  0%, 40% { opacity: 1; }
  44%, 94% { opacity: 0; }
  95%, 100% { opacity: 1; }
}

@keyframes th-day-cas-b {
  0%, 40% { opacity: 0; }
  44%, 94% { opacity: 1; }
  95%, 100% { opacity: 0; }
}

.th-day-toast {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: fit-content;
  margin: 0 auto;
}

.ws-reveal .th-day-ev.is-move {
  animation: th-day-move 6.5s var(--lg-ease) infinite;
}

.ws-reveal .th-day-ev.is-move > span {
  animation: th-day-lift 6.5s var(--lg-ease) infinite;
}

.ws-reveal .th-day-ghost {
  animation: th-day-ghost 6.5s ease infinite;
}

.ws-reveal .th-day-toast {
  animation: th-day-toast 6.5s var(--lg-ease) infinite;
}

@keyframes th-day-move {
  0%, 22% { opacity: 1; transform: translateY(-200%); }
  44%, 88% { opacity: 1; transform: none; }
  94% { opacity: 0; transform: none; }
  95% { opacity: 0; transform: translateY(-200%); }
  100% { opacity: 1; transform: translateY(-200%); }
}

@keyframes th-day-lift {
  0%, 16% { transform: none; box-shadow: inset 3px 0 0 var(--c), 0 1px 3px rgba(0, 0, 0, 0.06); }
  22%, 42% { transform: scale(1.04) rotate(-1deg); box-shadow: inset 3px 0 0 var(--c), 0 16px 32px rgba(0, 0, 0, 0.16); }
  48%, 100% { transform: none; box-shadow: inset 3px 0 0 var(--c), 0 1px 3px rgba(0, 0, 0, 0.06); }
}

@keyframes th-day-ghost {
  0%, 18% { opacity: 0; }
  24%, 86% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

@keyframes th-day-toast {
  0%, 44% { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.98); }
  50%, 86% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ws-reveal .th-day-ev.is-move,
  .ws-reveal .th-day-ev.is-move > span,
  .ws-reveal .th-day-ghost,
  .ws-reveal .th-day-toast,
  .ws-reveal .th-day-ev.is-move b i {
    animation: none;
  }

  .th-day-ev.is-move b i:first-child {
    opacity: 0;
  }

  .th-day-ev.is-move b i:last-child {
    opacity: 1;
  }
}

/* ---- Živý proud: zvýrazněný jen nejnovější řádek, mezi řádky mezera ---- */
.px-stream-list {
  gap: 4px;
}

.px-stream-list li {
  padding: 10px 12px;
  transition: background-color 1.4s ease;
}

.px-stream-list li + li {
  border-top: 0;
}

.px-stream-list li.is-fresh {
  background: rgba(63, 199, 34, 0.09);
}
