/* Chatbotique – sdílený vzhled podstránek služeb (světlý, podle hlavní stránky chatbotique.eu) */
:root {
  --accent: #1A6EF5;
  --accent-dark: #1258d0;
  --accent-light: #4F92FF;
  --accent-2: #7C5CFC;
  --accent-2-dark: #6339e8;
  --mint: #0a7a6d;
  --mint-soft: #e6f7f4;
  --gradient-brand: linear-gradient(135deg, #1A6EF5 0%, #7C5CFC 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(26,110,245,.10) 0%, rgba(124,92,252,.10) 100%);
  --ink: #0a0a0f;
  --ink-2: #555566;
  --ink-3: #8888a0;
  --bg: #ffffff;
  --bg-subtle: #f7f7fb;
  --bg-dark: #060B18;
  --line: rgba(0,0,0,.08);
  --line-strong: rgba(0,0,0,.14);
  --shadow-sm: 0 2px 8px rgba(10,15,30,.05);
  --shadow-md: 0 12px 32px rgba(10,15,30,.08);
  --shadow-lg: 0 24px 64px rgba(10,15,30,.12);
  --shadow-brand: 0 16px 40px rgba(26,110,245,.16), 0 4px 12px rgba(124,92,252,.12);
  --radius: 18px;
  --ease: cubic-bezier(.16,1,.3,1);
  --font-head: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1140px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--font-body); -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
::selection { background: rgba(26,110,245,.18); }
h1, h2, h3, h4 { font-family: var(--font-head); margin-top: 0; }
p { margin-top: 0; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; color: #fff; background: var(--accent); padding: 10px 15px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- Hlavička ---------- */
.header { height: 76px; position: fixed; inset: 0 0 auto 0; z-index: 80; background: rgba(255,255,255,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.header.scrolled { background: rgba(255,255,255,.95); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Syne', var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; white-space: nowrap; color: var(--ink); }
.brand img { height: 42px; width: auto; display: block; }
.brand-text span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .92rem; color: var(--ink-2); font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: #fff; padding: 10px 18px; border-radius: 9px; background: var(--gradient-brand); box-shadow: 0 2px 14px rgba(26,110,245,.28); transition: transform .15s, box-shadow .2s; }
.nav .nav-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(26,110,245,.35); }
.menu-toggle { display: none; background: #fff; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; width: 44px; height: 40px; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; }

/* ---------- Úvod ---------- */
.hero { position: relative; padding: 156px 0 104px; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #f5f7ff 0%, #fff 78%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 45% 50% at 82% 30%, rgba(124,92,252,.14), transparent 70%), radial-gradient(ellipse 35% 45% at 10% 10%, rgba(26,110,245,.12), transparent 75%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(26,110,245,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(26,110,245,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 60% 30%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(70% 70% at 60% 30%, #000 20%, transparent 80%); }
.orb { position: absolute; pointer-events: none; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(26,110,245,.12); left: calc(50% + 250px); top: 100px; animation: drift 13s ease-in-out infinite; z-index: -1; }
.orb::before, .orb::after { content: ""; position: absolute; inset: 50px; border-radius: 50%; border: 1px solid rgba(124,92,252,.12); }
.orb::after { inset: 112px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-2-dark); font-weight: 700; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gradient-brand); box-shadow: 0 0 0 4px rgba(124,92,252,.14); }
.pill { border: 1px solid rgba(124,92,252,.2); background: #fff; border-radius: 999px; padding: 9px 14px; box-shadow: var(--shadow-sm); }
h1 { font-size: clamp(2.6rem, 5vw, 4.1rem); line-height: 1.06; letter-spacing: -.045em; font-weight: 800; margin: 22px 0; }
.gradient-text { background: linear-gradient(100deg, #1A6EF5 10%, #7C5CFC 60%, #1A6EF5 100%); color: transparent; -webkit-background-clip: text; background-clip: text; }
.hero-lead { font-size: 1.12rem; line-height: 1.75; color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; font-family: var(--font-body); font-weight: 500; font-size: .95rem; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--gradient-brand); color: #fff; box-shadow: 0 4px 18px rgba(26,110,245,.3); }
.btn.primary:hover { box-shadow: 0 10px 28px rgba(26,110,245,.38); }
.btn.secondary { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn.secondary:hover { border-color: rgba(26,110,245,.4); color: var(--accent-dark); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.checks { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 26px; color: var(--ink-2); font-size: .9rem; }
.checks span::before { content: "✓"; color: var(--mint); font-weight: 700; margin-right: 8px; }

/* Ilustrace v úvodu */
.visual { position: relative; border: 1px solid var(--line); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; animation: float 7s ease-in-out infinite; }
.visual::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% -20%, rgba(124,92,252,.10), transparent 60%); }
.visual-top { position: relative; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); background: var(--bg-subtle); }
.visual-dots { display: flex; gap: 6px; }
.visual-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d4d6e0; }
.visual-dots i:nth-child(1) { background: #ff8a8a; }
.visual-dots i:nth-child(2) { background: #ffd166; }
.visual-dots i:nth-child(3) { background: #5fd3a7; }
.visual-top span { color: var(--ink-3); font-size: .7rem; letter-spacing: .08em; font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; border-radius: 999px; padding: 4px 10px; color: var(--accent-2-dark) !important; background: rgba(124,92,252,.1); }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); animation: pulse 2s infinite; }
.visual-body { position: relative; padding: 24px 22px; }
.diagram-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 20px; }
.diagram-heading strong { font-family: var(--font-head); font-size: 1rem; letter-spacing: -.02em; }
.diagram-heading em { font-size: .72rem; color: var(--ink-3); font-style: normal; }
.diagram { display: grid; grid-template-columns: 1fr 30px 1fr; gap: 6px; align-items: stretch; }
.node { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--bg-subtle); }
.node .node-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--gradient-brand-soft); color: var(--accent); margin-bottom: 10px; font-size: 16px; }
.node strong { display: block; font-family: var(--font-head); font-size: .86rem; margin-bottom: 2px; }
.node small { display: block; font-size: .76rem; line-height: 1.45; color: var(--ink-2); }
.connector { display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 18px; animation: breathe 2.5s infinite; }
.track { position: relative; height: 2px; border-radius: 2px; background: rgba(26,110,245,.12); margin: 20px 0 6px; overflow: hidden; }
.track::after { content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 22%; border-radius: 2px; background: var(--gradient-brand); animation: progress 3.6s ease-in-out infinite; }
.spectrum { display: flex; align-items: center; justify-content: center; height: 58px; gap: 4px; }
.spectrum span { width: 4px; height: 16px; border-radius: 4px; background: linear-gradient(#7C5CFC, #1A6EF5); animation: wave 1.12s ease-in-out infinite; }
.spectrum span:nth-child(3n) { animation-delay: .1s; }
.spectrum span:nth-child(3n+1) { animation-delay: .35s; }
.spectrum span:nth-child(3n+2) { animation-delay: .7s; }
.result { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 10px; border-radius: 12px; background: var(--mint-soft); border: 1px solid rgba(18,165,148,.2); }
.result .tick { font-size: 18px; color: var(--mint); }
.result-text { flex: 1; min-width: 0; }
.result strong { font-family: var(--font-head); font-size: .86rem; }
.result small { display: block; font-size: .76rem; color: var(--ink-2); }
.result .tag { font-size: .68rem; font-weight: 700; letter-spacing: .04em; padding: 5px 9px; border-radius: 7px; background: #fff; color: var(--mint); white-space: nowrap; }
.demo-caption { font-size: .74rem; color: var(--ink-3); margin: 14px 0 0; }

/* ---------- Pruh ---------- */
.ribbon { border-block: 1px solid var(--line); background: var(--bg-subtle); }
.ribbon-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 26px; padding-block: 18px; }
.ribbon span { font-size: .88rem; color: var(--ink-2); font-weight: 500; }
.ribbon b { color: var(--accent-2); margin-right: 8px; }

/* ---------- Sekce ---------- */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-subtle); }
.section-head { max-width: 740px; margin-bottom: 44px; }
.section h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; margin: 14px 0 14px; }
.section-head p, .section-description { font-size: 1.06rem; line-height: 1.7; color: var(--ink-2); max-width: 640px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; overflow: hidden; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-brand); border-color: rgba(26,110,245,.25); }
.card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,252,.12), transparent 70%); }
.card .num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; letter-spacing: .1em; color: var(--ink-3); }
.card .ico { display: grid; place-items: center; width: 44px; height: 44px; margin: 18px 0 14px; border-radius: 12px; font-size: 20px; color: var(--accent); background: var(--gradient-brand-soft); }
.card h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 8px; }
.card p { font-size: .95rem; line-height: 1.65; color: var(--ink-2); margin: 0; }
.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.process { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.process .stepnum { display: inline-flex; margin-bottom: 22px; padding: 5px 10px; border-radius: 8px; font-family: var(--font-head); font-size: .74rem; font-weight: 700; color: #fff; background: var(--gradient-brand); }
.process h3 { font-size: 1.08rem; margin-bottom: 8px; }
.process p { color: var(--ink-2); font-size: .94rem; line-height: 1.65; margin: 0; }
.process:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 26px; z-index: 2; color: var(--accent); font-size: 18px; }

/* ---------- Ukázka ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1.08fr; gap: 54px; align-items: center; }
.checklist { list-style: none; margin: 24px 0 30px; padding: 0; }
.checklist li { position: relative; padding: 11px 0 11px 30px; color: var(--ink-2); font-size: .98rem; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 11px; color: var(--mint); font-weight: 700; }
.mockup { position: relative; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.mock-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mock-demo { color: var(--accent-2-dark); }
.mock-rows { display: grid; gap: 10px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: var(--bg-subtle); border: 1px solid var(--line); transition: background .35s, border-color .35s, box-shadow .35s, transform .35s var(--ease); }
.mock-row .bubble { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: var(--accent); background: var(--gradient-brand-soft); transition: background .35s, color .35s; }
.mock-row .rowinfo { flex: 1; min-width: 0; }
.mock-row strong { display: block; font-family: var(--font-head); font-size: .88rem; }
.mock-row small { display: block; font-size: .78rem; color: var(--ink-2); }
.mock-row .status { font-size: .74rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; transition: color .35s; }
.mock-row.active { background: #fff; border-color: rgba(26,110,245,.4); box-shadow: 0 8px 24px rgba(26,110,245,.14); transform: translateX(4px); }
.mock-row.active .bubble { background: var(--gradient-brand); color: #fff; }
.mock-row.done .status, .mock-row.active .status { color: var(--mint); }
.mock-row.done .bubble { background: var(--mint-soft); color: var(--mint); }
.mock-progress { display: flex; align-items: center; gap: 10px; margin: 20px 0 12px; }
.mock-progress-label { font-size: .76rem; color: var(--ink-3); white-space: nowrap; }
.mock-bar { flex: 1; height: 7px; border-radius: 10px; overflow: hidden; background: rgba(26,110,245,.1); }
.mock-bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--gradient-brand); transition: width .7s var(--ease); }
.tiny-metric { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tiny-metric div { padding: 15px 16px; border-radius: 12px; background: var(--bg-subtle); border: 1px solid var(--line); }
.tiny-metric strong { display: block; font-family: var(--font-head); font-size: 1.15rem; letter-spacing: -.02em; }
.tiny-metric small { font-size: .76rem; color: var(--ink-2); }
.note { font-size: .78rem; color: var(--ink-3); line-height: 1.6; }
.demo-btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 40px 22px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 300; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 30px 22px 0; font-size: .98rem; line-height: 1.75; color: var(--ink-2); }

/* ---------- Výzva ---------- */
.cta { padding: 40px 0 100px; }
.cta-box { position: relative; overflow: hidden; text-align: center; padding: 70px 28px; border-radius: 26px; color: #fff; background: radial-gradient(ellipse at 90% 0%, rgba(255,255,255,.18), transparent 50%), var(--gradient-brand); box-shadow: var(--shadow-brand); }
.cta-box::after { content: ""; position: absolute; width: 380px; height: 380px; top: -230px; left: -90px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.cta-box .eyebrow { color: rgba(255,255,255,.85); }
.cta-box .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.cta-box h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.15; letter-spacing: -.035em; max-width: 720px; margin: 14px auto 18px; }
.cta-box .gradient-text { background: none; color: #fff; -webkit-text-fill-color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.cta-box p { max-width: 560px; margin: 0 auto 26px; color: rgba(255,255,255,.85); font-size: 1.04rem; }
.cta-box .btn { position: relative; z-index: 1; }
.cta-box .btn.primary { background: #fff; color: var(--accent-dark); box-shadow: 0 8px 24px rgba(10,15,40,.2); }
.cta-box .btn.secondary { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.cta-box .btn.secondary:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- Patička (tmavá jako na hlavní stránce) ---------- */
.footer { padding: 56px 0 30px; background: var(--bg-dark); color: rgba(255,255,255,.7); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer .brand { color: #fff; }
.footer .brand-text span { color: var(--accent-light); }
.footer-brand p { font-size: .9rem; line-height: 1.65; color: rgba(255,255,255,.5); max-width: 320px; margin: 16px 0 0; }
.footer h4 { font-family: var(--font-head); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: .92rem; color: rgba(255,255,255,.72); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links a[aria-current="page"] { color: #fff; font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.4); }

/* ---------- Animace při posunu ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(124,92,252,.45); } 60% { box-shadow: 0 0 0 6px rgba(124,92,252,0); } }
@keyframes wave { 0%, 100% { height: 12px; opacity: .6; } 50% { height: 44px; opacity: 1; } }
@keyframes progress { 0% { left: -22%; } 100% { left: 100%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 14px); } }
@keyframes breathe { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* ---------- Menší obrazovky ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 132px 0 80px; }
  .visual { max-width: 600px; width: 100%; margin-inline: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process:not(:last-child)::after { display: none; }
  .showcase { gap: 32px; }
}
@media (max-width: 720px) {
  .container { padding-inline: 16px; }
  .header { height: 66px; }
  .header-inner { position: relative; }
  .brand { font-size: 1.15rem; }
  .brand img { height: 34px; }
  .menu-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 66px; left: -16px; right: -16px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
  .hero { padding: 112px 0 64px; }
  h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .hero-lead { font-size: 1.02rem; }
  .visual-body { padding: 18px; }
  .section { padding: 72px 0; }
  .cards, .process-list, .showcase, .footer-main { grid-template-columns: 1fr; }
  .footer-main { gap: 28px; }
  .cta { padding: 20px 0 72px; }
  .cta-box { padding: 48px 20px; }
  .orb { display: none; }
}
@media (max-width: 420px) {
  .diagram { grid-template-columns: 1fr 18px 1fr; }
  .node { padding: 11px 10px; }
  .actions, .actions .btn { width: 100%; }
  .visual-top > span:not(.live) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
