/*
 * AI Growth System — Landing page polish + new sections.
 * Design source: DESIGN-notion.md
 * Loaded AFTER theme.css on the marketing page only (additive, reversible).
 * Reuses theme.css tokens (--paper/--card/--ink-*/--line/--accent/--sticker-*).
 */

/* ------------------------------------------------------------------ bands */
.band.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.tight { padding: 64px 24px; }

/* ------------------------------------------------------------------ hero color wash
   Keep the daylight paper look; add playful sticker-colour washes behind the art. */
.hero.lively { background:
    radial-gradient(1100px 520px at 12% -10%, rgba(0, 117, 222, 0.08), transparent 60%),
    radial-gradient(900px 480px at 92% 0%, rgba(214, 182, 246, 0.26), transparent 55%),
    radial-gradient(760px 420px at 8% 108%, rgba(255, 100, 200, 0.1), transparent 55%),
    radial-gradient(700px 380px at 96% 112%, rgba(42, 157, 153, 0.14), transparent 55%),
    linear-gradient(180deg, #fbfaf9 0%, var(--paper) 100%); }

.hero-art { position: relative; }
.hero-art::before,
.hero-art::after { content: ""; position: absolute; border-radius: 999px; filter: blur(64px); opacity: 0.5; z-index: 0; pointer-events: none; }
.hero-art::before { width: 300px; height: 300px; background: rgba(214, 182, 246, 0.5); top: -30px; right: 0; }
.hero-art::after { width: 260px; height: 260px; background: rgba(255, 100, 200, 0.16); bottom: -10px; left: 2%; }
.hero-art .mock-stack { position: relative; z-index: 1; }

/* richer chat mock */
.mock-head { display: flex; align-items: center; gap: 10px; padding: 2px 2px 12px; }
.mock-head .m-ava { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #6e56cf, #c4b5fd); }
.mock-head .m-who b { display: block; color: var(--ink-hi); font-size: 13px; letter-spacing: -0.01em; }
.mock-head .m-who span { display: flex; align-items: center; gap: 5px; color: var(--ink-faint); font-size: 11px; }
.mock-head .m-who span i { width: 6px; height: 6px; border-radius: 999px; background: var(--sticker-green); }
.mock-head .m-live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 650; color: var(--sticker-green); }
.mock-head .m-live i { width: 6px; height: 6px; border-radius: 999px; background: var(--sticker-green); }

.mock-bubble .bk { display: block; margin-top: 8px; color: var(--ink-faint); font-size: 11px; font-weight: 600; letter-spacing: 0.01em; }
.mock-bubble.out .bk { color: rgba(255, 255, 255, 0.66); }

.mock-card.inline-prod { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.mock-card.inline-prod .p-ico { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--sticker-sky), #0075de); }
.mock-card.inline-prod b { display: block; color: var(--ink-hi); font-size: 12.5px; letter-spacing: -0.01em; }
.mock-card.inline-prod span { display: block; color: var(--ink-faint); font-size: 10.5px; }
.mock-bubble.out .inline-prod { background: #202020; border-color: rgba(255, 255, 255, 0.14); }
.mock-bubble.out .inline-prod b { color: #fff; }
.mock-bubble.out .inline-prod span { color: rgba(255, 255, 255, 0.6); }

.mock-slot { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; display: flex; align-items: center; gap: 11px; background: var(--card); }
.mock-slot .cal { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--accent); }
.mock-slot b { display: block; color: var(--ink-hi); font-size: 12.5px; letter-spacing: -0.01em; }
.mock-slot span { display: block; color: var(--ink-faint); font-size: 10.5px; }
.mock-slot .ok { width: 22px; height: 22px; border-radius: 999px; margin-left: auto; display: grid; place-items: center; color: #fff; background: var(--sticker-green); flex: 0 0 auto; }
.mock-slot .ok svg { display: block; }

/* colourful sticker squares behind / beside the mock */
.sticker-block { position: absolute; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-l1); }
.sticker-block.b1 { top: -16px; right: 6%; background: linear-gradient(135deg, #b48cf2, var(--sticker-purple)); transform: rotate(7deg); }
.sticker-block.b2 { top: 34%; left: -6%; background: linear-gradient(135deg, #7fd8d4, var(--sticker-teal)); width: 34px; height: 34px; border-radius: 11px; transform: rotate(-9deg); }
.sticker-block.b3 { bottom: 2%; right: -3%; background: linear-gradient(135deg, #f78fb0, var(--sticker-pink)); transform: rotate(10deg); }

/* ------------------------------------------------------------------ overview + channel chips */
.lead { margin: 14px 0 0; color: var(--ink-dim); font-size: 16.5px; line-height: 1.62; max-width: 720px; }
.band-head.plain { text-align: left; margin-bottom: 30px; }
.band-head.plain p { margin-left: 0; }

.chip.big { padding: 10px 18px; font-size: 14.5px; gap: 10px; }
.chip .glyph { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; }
.chip .glyph svg { display: block; }
.chip .glyph.w { background: var(--sticker-green); }
.chip .glyph.i { background: linear-gradient(135deg, #c13584, #f77737); }
.chip .glyph.m { background: linear-gradient(135deg, #0084ff, #0064e0); }
.chip .glyph.e { background: var(--sticker-orange); }
.chip .glyph.s { background: #5a6acf; }
.chip .glyph.c { background: var(--accent); }
.chip .glyph.b { background: var(--sticker-sky); }

/* split copy panels */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.split .mock-panel { position: relative; padding: 26px 8px 8px; }

/* ------------------------------------------------------------------ use-case tiles */
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.case {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.02);
  display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.case:hover { transform: translateY(-2px); box-shadow: var(--shadow-l1); }
.case-band { height: 6px; }
.case-band.sky { background: var(--sticker-sky); }
.case-band.purple { background: var(--sticker-purple); }
.case-band.pink { background: var(--sticker-pink); }
.case-band.orange { background: var(--sticker-orange); }
.case-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.case-body .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; color: var(--ink-hi); }
.case-body .ico.sky { background: rgba(98, 174, 240, 0.18); color: #0f6cbe; }
.case-body .ico.purple { background: rgba(214, 182, 246, 0.3); color: #5b3a86; }
.case-body .ico.pink { background: rgba(255, 100, 200, 0.14); color: #c81e85; }
.case-body .ico.orange { background: rgba(221, 91, 0, 0.12); color: #a34400; }
.case-body h3 { margin: 0 0 6px; color: var(--ink-hi); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.case-body > p { margin: 0 0 12px; color: var(--ink-dim); font-size: 13.5px; line-height: 1.6; }
.case-body ul { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 7px; }
.case-body li { position: relative; padding-left: 20px; color: var(--ink-lo); font-size: 13px; line-height: 1.45; }
.case-body li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--sticker-green); font-weight: 800; font-size: 12px; }

/* ------------------------------------------------------------------ how it works (steps) reuse theme .steps */
.steps.wide { gap: 36px; }
.step .num.alt { background: var(--accent); }

/* ------------------------------------------------------------------ ownership / security split */
.pillar-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px 24px 22px; }
.pillar .dotline { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.pillar .dotline i { width: 10px; height: 10px; border-radius: 4px; }
.pillar .dotline i.sky { background: var(--sticker-sky); }
.pillar .dotline i.purple { background: #9b6bcf; }
.pillar .dotline i.green { background: var(--sticker-green); }
.pillar .dotline b { color: var(--ink-hi); font-size: 15px; letter-spacing: -0.01em; }
.pillar p { margin: 0; color: var(--ink-dim); font-size: 13.5px; line-height: 1.6; }

/* ------------------------------------------------------------------ integrations */
.integ-list { max-width: 860px; margin: 0 auto; display: grid; gap: 18px; }
.integ-row { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.integ-row .ig-label { flex: 0 0 148px; color: var(--ink-faint); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ------------------------------------------------------------------ pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1020px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 28px 26px; display: flex; flex-direction: column; box-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.02); }
.plan.reco { background: var(--paper); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), var(--shadow-l1); }
.plan .p-tag { align-self: flex-start; margin-bottom: 14px; padding: 5px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-dim); font-size: 11px; font-weight: 650; letter-spacing: 0.02em; }
.plan.reco .p-tag { background: var(--accent); border-color: var(--accent); color: #fff; }
.plan h3 { margin: 0; color: var(--ink-hi); font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.plan .p-sub { margin: 6px 0 0; color: var(--ink-dim); font-size: 13px; line-height: 1.5; min-height: 40px; }
.plan .p-price { margin: 18px 0 0; display: flex; align-items: baseline; gap: 7px; color: var(--ink-hi); }
.plan .p-price b { font-size: 40px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.plan .p-price span { color: var(--ink-faint); font-size: 13px; }
.plan ul { list-style: none; margin: 22px 0 24px; padding: 0; display: grid; gap: 9px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 22px; color: var(--ink-lo); font-size: 13.5px; line-height: 1.45; }
.plan li small { display: block; color: var(--ink-faint); font-size: 11.5px; margin-top: 2px; }
.plan li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; font-size: 13px; }
.plan .btn { margin-top: 4px; }
.pricing-note { text-align: center; color: var(--ink-faint); font-size: 12.5px; margin: 18px auto 0; max-width: 560px; line-height: 1.5; }

/* ------------------------------------------------------------------ FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-hi); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-faint); font-size: 18px; font-weight: 500; line-height: 1; transition: transform 0.15s ease; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 20px 18px; }
.faq .faq-body p { margin: 0; color: var(--ink-dim); font-size: 14px; line-height: 1.62; }

/* ------------------------------------------------------------------ CTA band accents */
.cta-band.colorful { position: relative; overflow: hidden; }
.cta-band .cb-dot { position: absolute; width: 90px; height: 90px; border-radius: 26px; opacity: 0.22; pointer-events: none; }
.cta-band .cb-dot.d1 { background: var(--sticker-purple); top: -34px; left: 8%; transform: rotate(14deg); }
.cta-band .cb-dot.d2 { background: var(--sticker-pink); bottom: -34px; right: 6%; transform: rotate(-12deg); }
.cta-band .cb-dot.d3 { background: var(--sticker-teal); top: -30px; right: 30%; width: 60px; height: 60px; border-radius: 20px; transform: rotate(8deg); }
.cta-band .inner { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ mobile nav (no-JS) */
.nav-menu { position: relative; display: none; }
.nav-menu summary { list-style: none; width: 38px; height: 38px; border-radius: var(--r-md); display: grid; place-items: center; cursor: pointer; color: var(--ink-lo); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary:hover { background: var(--hover); }
.nav-menu[open] summary { background: var(--hover); }
.nav-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-l2); padding: 8px; min-width: 224px; display: grid; gap: 2px; }
.nav-menu-panel a { padding: 10px 13px; border-radius: 8px; color: var(--ink-lo); font-size: 14px; font-weight: 500; }
.nav-menu-panel a:hover { background: var(--hover); color: var(--ink-hi); text-decoration: none; }
.nav-menu-panel .menu-cta { margin-top: 6px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .plan .p-sub { min-height: 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav-menu { display: block; }
  .pillar-band { grid-template-columns: 1fr; }
  .integ-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  .case-grid { grid-template-columns: 1fr; }
  .band.tight { padding: 48px 18px; }
  .hero-art::before, .hero-art::after { display: none; }
  .cta-band .cb-dot { display: none; }
}

/* ------------------------------------------------------------------ hero showcase stage
   Swap between example conversations inside the hero visual. */
.stage-frame { position: relative; }
.stage .scenes { position: relative; z-index: 1; }
.scene { display: none; position: relative; margin: 0; }
.scene.is-active { display: block; animation: sceneIn 0.28s ease-out; }
@keyframes sceneIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.scene .mock-card.front { box-shadow: var(--shadow-l2); }
.scene .float-pill { z-index: 4; }

.stage-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.stage-nav { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; padding: 4px; background: rgba(0, 0, 0, 0.045); border-radius: 999px; max-width: 100%; }
.stage-nav .tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; font-size: 12px; }
.stage-nav .tab .sdot { width: 8px; height: 8px; border-radius: 4px; display: inline-block; }
.sdot.g { background: var(--sticker-green); }
.sdot.b { background: var(--accent); }
.sdot.p { background: #9b6bcf; }
.sdot.i { background: linear-gradient(135deg, #c13584, #f77737); }
.arrow {
  width: 32px; height: 32px; border-radius: 999px; flex: 0 0 auto;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-dim);
  display: grid; place-items: center; cursor: pointer; font-size: 17px; line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.arrow:hover { background: #fafaf9; border-color: var(--line-strong); color: var(--ink-hi); }
.arrow:active { transform: scale(0.94); }

.scene-cap { margin: 14px 6px 0; text-align: center; }
.scene-cap b { display: block; color: var(--ink-hi); font-size: 13.5px; letter-spacing: -0.01em; }
.scene-cap span { display: block; margin-top: 3px; color: var(--ink-faint); font-size: 11.5px; line-height: 1.45; }

/* channel avatars */
.m-ava.wa { background: linear-gradient(135deg, #25d366, #128c4a); }
.m-ava.ms { background: linear-gradient(135deg, #0a7cff, #0064e0); }
.m-ava.ig { background: linear-gradient(135deg, #f77737, #c13584); }
.m-ava.hm { background: linear-gradient(135deg, #6e56cf, #8b5cf6); }
.m-live.ms { color: var(--accent-deep); }
.m-live.ms i { background: var(--accent); }
.m-live.ig { color: #b32e77; }
.m-live.ig i { background: linear-gradient(135deg, #f77737, #c13584); }

/* small tick rows inside the lead-capture mock */
.saved-ticks { display: grid; gap: 6px; margin-top: 12px; }
.saved-ticks .tick-row {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--card); border-radius: 10px;
  padding: 6px 10px; font-size: 11.5px; color: var(--ink-dim);
}
.saved-ticks .tick-row i {
  width: 16px; height: 16px; border-radius: 999px; flex: 0 0 auto; font-style: normal;
  background: rgba(26, 174, 57, 0.16); color: #1a8a32; display: grid; place-items: center; font-size: 10px; font-weight: 800;
}
.saved-ticks .tick-row b { margin-left: auto; color: var(--ink-hi); font-weight: 600; }

/* product card pair inside the Messenger catalogue mock */
.prow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pcard .pimg { height: 62px; display: grid; place-items: center; }
.pcard .pimg.sage { background: linear-gradient(135deg, #dcead8, #b6d4b0); }
.pcard .pimg.white { background: linear-gradient(135deg, #ececea, #d3d6d8); }
.pcard .pimg .vase { width: 20px; height: 24px; border-radius: 6px 6px 3px 3px; background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(0, 0, 0, 0.12); }
.pcard .pbody { padding: 9px 10px 10px; }
.pcard .pbody b { display: block; color: var(--ink-hi); font-size: 12px; letter-spacing: -0.01em; }
.pcard .pbody .pmeta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 7px; }
.pcard .pbody .pmeta .price { color: var(--ink-lo); font-size: 12px; font-weight: 700; }
.stock { font-size: 9.5px; font-weight: 700; letter-spacing: 0; color: #17752a; background: rgba(26, 174, 57, 0.12); padding: 2px 6px; border-radius: 999px; white-space: nowrap; }
.stock.low { color: #a34400; background: rgba(221, 91, 0, 0.12); }

/* handoff / human takeover chips */
.tag-above { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-bottom: 5px; }
.tag-above span {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  background: rgba(155, 107, 207, 0.14); color: #5b3a86; font-size: 10px; font-weight: 700; letter-spacing: 0.01em;
}
.tag-above span i { width: 6px; height: 6px; border-radius: 999px; background: #9b6bcf; }
.mock-bubble.out.human { background: linear-gradient(135deg, #6e56cf, #8b5cf6); }
.agent-note {
  margin: 8px 0 10px; display: flex; align-items: center; gap: 8px;
  color: var(--ink-faint); font-size: 10.5px; font-weight: 650; letter-spacing: 0.02em; text-transform: uppercase;
}
.agent-note::before, .agent-note::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* system notification card under a booking */
.notify-card {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
  border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; background: var(--card);
  box-shadow: var(--shadow-l1);
}
.notify-card .n-ico {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; display: grid; place-items: center;
  background: rgba(0, 117, 222, 0.1); color: var(--accent);
}
.notify-card b { display: block; color: var(--ink-hi); font-size: 11.5px; letter-spacing: 0.01em; }
.notify-card .line { display: block; color: var(--ink-faint); font-size: 10.5px; line-height: 1.35; margin-top: 1px; }
.notify-card .ok-chip { margin-left: auto; color: #17752a; background: rgba(26, 174, 57, 0.12); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }

/* ------------------------------------------------------------------ "In action" section flows */
.flow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.flow-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 20px 20px 18px; display: flex; flex-direction: column;
  box-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.02);
}
.live-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; border-radius: 999px; background: rgba(26, 174, 57, 0.12); color: #17752a; font-size: 10.5px; font-weight: 700; padding: 4px 10px; }
.live-tag i { width: 6px; height: 6px; border-radius: 999px; background: var(--sticker-green); }
.flow-card h3 { margin: 0; color: var(--ink-hi); font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.flow-card .flow-sub { margin: 6px 0 16px; color: var(--ink-dim); font-size: 13px; line-height: 1.55; }

.flow { display: grid; gap: 0; }
.flow-step { display: flex; gap: 10px; position: relative; padding-bottom: 15px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step .f-ico {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto; position: relative;
  display: grid; place-items: center; background: var(--paper); color: var(--ink-dim);
  border: 1px solid var(--line); font-size: 12px;
}
.flow-step .f-ico svg { display: block; }
.flow-step .f-ico::after { content: ""; position: absolute; left: 50%; top: calc(100% + 2px); transform: translateX(-50%); width: 1px; height: 11px; background: var(--line); }
.flow-step:last-child .f-ico::after { display: none; }
.flow-step.ok .f-ico { background: rgba(26, 174, 57, 0.14); color: #1a8a32; border-color: transparent; }
.flow-step b { display: block; color: var(--ink-hi); font-size: 12.5px; letter-spacing: -0.01em; line-height: 1.3; }
.flow-step span { display: block; color: var(--ink-faint); font-size: 11px; margin-top: 2px; line-height: 1.45; }

/* mini chat inside flow cards */
.mini-chat { display: grid; gap: 8px; margin: 12px 0 4px; }
.mini-chat .mock-bubble { font-size: 12px; padding: 8px 11px; }

/* approval panel */
.appr { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 12px; }
.appr .req { display: flex; align-items: center; gap: 10px; }
.appr .req .ava { width: 28px; height: 28px; border-radius: 9px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: var(--ink-hi); font-size: 12px; font-weight: 700; }
.appr .req b { display: block; color: var(--ink-hi); font-size: 12px; letter-spacing: -0.01em; }
.appr .req span { display: block; color: var(--ink-faint); font-size: 10.5px; margin-top: 1px; }
.appr .amt { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--ink-hi); }
.appr-actions { display: flex; gap: 8px; margin-top: 11px; }
.mini-btn {
  flex: 1; text-align: center; padding: 6px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 600;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink-lo); cursor: default;
}
.mini-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.appr-resolved { margin-top: 11px; display: flex; align-items: center; gap: 7px; color: #17752a; font-size: 11.5px; font-weight: 700; }

/* continuity rail */
.rail { display: flex; align-items: center; gap: 6px; margin: 12px 0 10px; color: var(--ink-faint); font-weight: 600; font-size: 11px; flex-wrap: wrap; }
.r-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 10px; color: var(--ink-lo); font-size: 11px; }
.r-chip i { width: 7px; height: 7px; border-radius: 3px; }
.r-chip i.b { background: var(--accent); }
.r-chip i.g { background: var(--sticker-green); }
.rail .arr { color: var(--ink-faint); font-size: 14px; }

@media (max-width: 1080px) {
  .flow-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .stage-controls { gap: 6px; }
}

@media (max-width: 560px) {
  .prow { grid-template-columns: 1fr 1fr; }
  .scene-cap { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene.is-active { animation: none; }
}
