/* Web deck — "First app. Now what?" · design canvas 1600x900, scaled by deck.js */

:root {
  --ink: #1c1633;
  --bg: #ffffff;
  --surface: #f6f4fb;
  --border: #e4e0ef;
  --muted: #5f5a78;
  --signal: #ffd84d;
  --blue: #1d6a86;   --blue-t: #e2f1f6;
  --orange: #c4561d; --orange-t: #fdeadf;
  --violet: #6a47c2; --violet-t: #eee8fa;
  --green: #2f7d32;  --green-t: #e5f5d9;
  --stage-q: #5b3bb5;
  --stage-demo: #120e24;
  --live: #ff4d4d;
  --f-display: "Kanit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Funnel Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-hand: "Kalam", "Segoe Print", "Comic Sans MS", cursive;
  --f-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --a: var(--violet); --at: var(--violet-t);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #0d0a1a;
  color: var(--ink);
  font-family: var(--f-body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* ---------- accents ---------- */
.a-blue   { --a: var(--blue);   --at: var(--blue-t); }
.a-orange { --a: var(--orange); --at: var(--orange-t); }
.a-violet { --a: var(--violet); --at: var(--violet-t); }
.a-green  { --a: var(--green);  --at: var(--green-t); }
.cycle > :nth-child(4n+1) { --a: var(--blue);   --at: var(--blue-t); }
.cycle > :nth-child(4n+2) { --a: var(--orange); --at: var(--orange-t); }
.cycle > :nth-child(4n+3) { --a: var(--violet); --at: var(--violet-t); }
.cycle > :nth-child(4n+4) { --a: var(--green);  --at: var(--green-t); }

/* ---------- stage ---------- */
.deck { position: fixed; inset: 0; overflow: hidden; }
.stage {
  position: absolute; left: 50%; top: 50%;
  width: 1600px; height: 900px;
  transform: translate(-50%, -50%) scale(var(--s, 1));
  transform-origin: center;
  background: var(--bg);
  overflow: hidden;
  font-size: 32px; line-height: 1.35;
}
.slide {
  position: absolute; inset: 0;
  padding: 72px 100px 96px;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  opacity: 0; visibility: hidden;
  transform: translateX(28px);
  transition: opacity .3s ease, transform .3s var(--ease), visibility 0s .3s;
}
.slide.past { transform: translateX(-28px); }
.slide.active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s ease, transform .3s var(--ease);
}
.slide aside.notes { display: none; }
.slide > :not(.glow) { position: relative; }

/* ---------- type ---------- */
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: 68px; line-height: 1.06; margin-top: 24px; }
.kicker {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 19px/1 var(--f-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--a); background: var(--at);
  padding: 11px 18px; border-radius: 999px;
}
.lead { font-size: 36px; line-height: 1.3; color: var(--muted); margin-top: 18px; }
.hand { font-family: var(--f-hand); font-weight: 700; font-size: 34px; line-height: 1.2; color: var(--a); }
.source { font: 400 16px/1.4 var(--f-mono); color: var(--muted); margin-top: 16px; }
.todo {
  display: inline-block;
  font: 500 .62em/1.2 var(--f-mono); letter-spacing: 0; text-transform: none;
  color: var(--orange); background: var(--orange-t);
  border: 2px dashed var(--orange); border-radius: 10px;
  padding: .3em .6em; vertical-align: middle; white-space: nowrap;
}
.push { margin-top: auto; }

/* highlighter-pen sweep */
.sweep {
  background: linear-gradient(var(--signal), var(--signal)) no-repeat 0 62% / 0% 78%;
  padding: 0 .12em; margin: 0 -.06em; border-radius: .1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .7s var(--ease) .25s, color .25s ease .4s;
}
:is(.slide.active, .print .slide) .sweep { background-size: 100% 78%; color: var(--ink); }
.slide .frag:not(.visible) .sweep { background-size: 0% 78%; }
.print .slide .frag .sweep { background-size: 100% 78%; }

/* ---------- fragments ---------- */
.frag { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s var(--ease); }
.frag.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; }
:is(.slide.active, .print .slide) .stagger > * { animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- coloured stages ---------- */
.slide.hero, .slide.opener { background: var(--ink); color: #fff; }
.slide.question { background: var(--stage-q); color: #fff; }
.slide.demo { background: var(--stage-demo); color: #fff; }
.slide.signal { background: var(--signal); color: var(--ink); }
:is(.hero, .opener, .question, .demo) .kicker { color: #fff; background: rgba(255, 255, 255, .13); }
:is(.hero, .opener, .question, .demo) .lead { color: rgba(255, 255, 255, .75); }
:is(.hero, .opener, .question, .demo) .hand { color: var(--signal); }
:is(.hero, .opener, .question, .demo) .source { color: rgba(255, 255, 255, .55); }
:is(.hero, .opener, .question, .demo) .sweep { color: #fff; }
:is(.slide.active, .print .slide):is(.hero, .opener, .question, .demo) .sweep { color: var(--ink); }
.slide:is(.hero, .opener, .question, .demo) .frag:not(.visible) .sweep { color: #fff; }
.signal .kicker { color: var(--signal); background: var(--ink); }
.signal .lead, .signal .source { color: rgba(28, 22, 51, .78); }
.signal .hand { color: var(--ink); }
.signal .sweep { background-image: linear-gradient(var(--ink), var(--ink)); }
:is(.slide.active, .print .slide).signal .sweep { color: #fff; }
.glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 500px at 88% 12%, rgba(106, 71, 194, .55), transparent 70%),
    radial-gradient(600px 460px at 8% 100%, rgba(29, 106, 134, .45), transparent 70%); }

/* title slide */
.title-slide h1 { font-size: 172px; line-height: .98; margin-top: 54px; }
.title-slide .hand { position: absolute; left: 830px; top: 250px; rotate: -4deg; font-size: 38px; }
.byline { margin-top: auto; display: flex; align-items: baseline; gap: 22px; font-size: 36px; }
.byline strong { font-family: var(--f-display); font-weight: 600; font-size: 44px; }
.byline span { color: rgba(255, 255, 255, .75); }
.eventline { font: 400 20px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-top: 16px; }

/* opener (section hook) */
.opener { justify-content: center; padding-bottom: 190px; }
.opener .row { display: flex; align-items: center; gap: 60px; }
.opener .num { font: 600 230px/.85 var(--f-display); color: var(--signal); letter-spacing: -.03em; }
.opener h2 { font-size: 92px; line-height: 1.02; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.chip { font: 500 21px/1.2 var(--f-mono); padding: 12px 18px; border-radius: 14px; background: var(--at); color: var(--ink); }
:is(.hero, .opener, .question, .demo) .chip { background: rgba(255, 255, 255, .12); color: #fff; }
.chip b { color: var(--signal); font-weight: 700; }
.bars { position: absolute !important; left: 100px; right: 100px; bottom: 100px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bars span { display: block; }
.bars i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.bars i::after { content: ""; display: block; height: 100%; width: 0; background: var(--signal); transition: width .7s var(--ease) .2s; }
.bars .done i::after { width: 100%; transition: none; }
:is(.slide.active, .print .slide) .bars .on i::after { width: 100%; }
.bars b { display: block; margin-top: 12px; font: 500 16px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.bars .on b { color: #fff; }

/* statement */
.statement { font-size: 112px; line-height: 1.02; margin: 0; }
.statement.md { font-size: 88px; line-height: 1.05; }
.slide.center { justify-content: center; }

/* question */
.question { justify-content: center; }
.question h2 { font-size: 100px; line-height: 1.03; margin-top: 30px; max-width: 1340px; }
.chat-chip {
  align-self: flex-start; margin-top: 44px;
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--signal); color: var(--ink);
  font: 600 44px/1 var(--f-display);
  padding: 20px 32px; border-radius: 22px;
}
.chat-chip svg { width: 44px; height: 44px; }
.giant { display: flex; align-items: baseline; gap: 26px; font: 600 280px/.9 var(--f-display); letter-spacing: -.03em; margin-top: 16px; font-variant-numeric: tabular-nums; }
.giant small { font-size: 92px; letter-spacing: 0; color: rgba(255, 255, 255, .7); }
.tag { font: 500 17px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.corner-tag { position: absolute !important; right: 100px; top: 84px; }
.ab { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.ab div { background: rgba(255, 255, 255, .12); border-radius: 26px; padding: 30px 34px; display: flex; align-items: center; gap: 28px; }
.ab b { font: 600 120px/.9 var(--f-display); color: var(--signal); }
.ab strong { display: block; font: 600 46px/1.05 var(--f-display); }
.ab span { display: block; font-size: 26px; color: rgba(255, 255, 255, .75); margin-top: 6px; }

/* demo */
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 77, 77, .7); animation: pulse 1.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }
.demo .kicker { color: #fff; background: rgba(255, 77, 77, .2); }
.steps { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 14px; counter-reset: st; }
.steps li { counter-increment: st; display: flex; align-items: center; gap: 18px; font-size: 30px; line-height: 1.2; }
.steps li::before {
  content: counter(st); flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font: 600 24px/1 var(--f-display);
  background: var(--signal); color: var(--ink);
}
.steps code { font: 500 .86em var(--f-mono); background: rgba(255, 255, 255, .12); padding: .1em .4em; border-radius: 8px; }
.result-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.result-row div { background: rgba(255, 255, 255, .08); border-radius: 18px; padding: 16px 20px; }
.result-row b { display: block; font: 600 44px/1.05 var(--f-display); color: var(--signal); font-variant-numeric: tabular-nums; }
.result-row span { font-size: 21px; color: rgba(255, 255, 255, .7); }

/* ---------- layout helpers ---------- */
.split { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: center; }
.split h2 { font-size: 62px; }
.split .col { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.facts { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 14px; }
.facts li { display: flex; align-items: center; gap: 16px; font-size: 28px; line-height: 1.2; }
.facts .ic { width: 46px; height: 46px; border-radius: 13px; }
.facts .ic svg { width: 24px; height: 24px; }
.ic { flex: none; width: 60px; height: 60px; border-radius: 16px; background: var(--a); color: #fff; display: grid; place-items: center; }
.ic svg { width: 32px; height: 32px; }
svg.ico { display: block; }

/* flow */
.flow { display: flex; align-items: stretch; gap: 12px; margin-top: 50px; }
.flow .step { flex: 1; background: var(--at); border-top: 6px solid var(--a); border-radius: 22px; padding: 26px 26px 28px; }
.flow .step b { display: block; font: 600 36px/1.1 var(--f-display); margin-top: 20px; }
.flow .step span { display: block; font-size: 24px; color: var(--muted); margin-top: 6px; }
.flow .step span.ic { display: grid; color: #fff; margin-top: 0; font-size: 0; }
.flow .arr { flex: none; align-self: center; width: 40px; color: var(--muted); }
.flow .arr svg { width: 40px; height: 40px; }

/* card grids */
.grid { display: grid; gap: 22px; margin-top: 36px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.grid.c4 .card { padding: 20px 24px 22px; }
.grid.c4 .card .ic { width: 52px; height: 52px; }
.grid.c4 .card h3 { font-size: 28px; margin-top: 16px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; background: var(--at); border-top: 6px solid var(--a); border-radius: 22px; padding: 24px 26px 26px; }
.card h3 { font-size: 31px; line-height: 1.1; margin-top: 18px; }
.card p { font-size: 23px; line-height: 1.25; color: var(--muted); margin-top: 8px; }
.card .ptag { position: absolute; right: 20px; top: 22px; font: 700 15px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--a); border-radius: 999px; padding: 7px 12px; }
.card .unv { position: absolute; right: 18px; bottom: 14px; font: 700 20px/1 var(--f-hand); color: var(--orange); background: #fff; border: 2px dashed var(--orange); border-radius: 999px; padding: 6px 12px 3px; rotate: 3deg; }
.card.big { padding: 34px 38px 38px; }
.card.big h3 { font-size: 46px; margin-top: 0; display: flex; align-items: center; gap: 18px; }
.card.big ul { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 16px; }
.card.big li { position: relative; padding-left: 40px; font-size: 30px; line-height: 1.22; }
.card.big li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 16px; border-radius: 5px; background: var(--a); }

/* stat tiles */
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 22px; margin-top: 36px; }
.stat { background: var(--at); border-top: 6px solid var(--a); border-radius: 22px; padding: 28px 28px 22px; min-height: 318px; display: flex; flex-direction: column; }
.stat-num { font: 600 100px/1 var(--f-display); color: var(--a); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-num .todo { font-size: 30px; }
.stat-label { font-size: 28px; line-height: 1.2; margin-top: 14px; }
.stat-sub { font: 700 24px/1.2 var(--f-hand); color: var(--a); margin-top: 8px; }
.stat-src { font: 400 14px/1.35 var(--f-mono); color: var(--muted); margin-top: auto; padding-top: 14px; }
.stat .todo { white-space: normal; }
.names { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.names .tag { margin-right: 8px; color: var(--muted); opacity: 1; }
.names b { font: 600 24px/1 var(--f-display); padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }

/* timeline tiles */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; }
.tl .card { padding: 0 0 22px; overflow: hidden; }
.tl .thumb-img { position: relative; aspect-ratio: 1.6; overflow: hidden; background: #fff; border-bottom: 1px solid var(--border); }
.tl h3 { font-size: 27px; margin: 16px 22px 0; color: var(--a); }
.tl .how { font: 600 40px/1.05 var(--f-display); margin: 4px 22px 0; }
.tl p { margin: 8px 22px 0; font-size: 21px; }

/* cropped image: --cx/--cy = left/top offset in %, --cw/--ch = visible % of the image */
.crop-img { position: absolute; max-width: none; height: auto;
  width: calc(10000% / var(--cw, 100));
  left: calc(-100% * var(--cx, 0) / var(--cw, 100));
  top: calc(-100% * var(--cy, 0) / var(--ch, 100)); }

/* browser-frame screenshot */
.shot { position: relative; width: var(--sw, 760px); flex: none; border-radius: 18px; background: #fff; border: 1px solid var(--border);
  box-shadow: 0 34px 70px -28px rgba(28, 22, 51, .45), 0 4px 14px rgba(28, 22, 51, .08); }
:is(.demo, .hero) .shot { border-color: rgba(255, 255, 255, .18); box-shadow: 0 34px 80px -20px rgba(0, 0, 0, .7); }
.shot-bar { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--border); border-radius: 17px 17px 0 0; }
.shot-bar i { width: 12px; height: 12px; border-radius: 50%; }
.shot-bar i:nth-child(1) { background: #f0a8a0; } .shot-bar i:nth-child(2) { background: #f1d58a; } .shot-bar i:nth-child(3) { background: #a9d6a4; }
.shot-bar span { margin-left: 14px; font: 400 15px/1 var(--f-mono); color: var(--muted); background: #fff; border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; }
.shot-body { position: relative; aspect-ratio: calc(1568 * var(--cw, 100)) / calc(726 * var(--ch, 100)); }
.shot-view { position: absolute; inset: 0; overflow: hidden; border-radius: 0 0 17px 17px; }
.spot { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%);
  border: 5px solid var(--signal); border-radius: 14px; pointer-events: none; }
.spot.frag { transform: none; transition: opacity .4s ease, box-shadow .4s ease; }
.spot.frag.visible { opacity: 0; }
.spot.frag.visible.on { opacity: 1; box-shadow: 0 0 0 2400px rgba(18, 14, 36, .58); }
.cap { position: absolute; z-index: 3; white-space: nowrap; font: 700 30px/1.15 var(--f-hand); color: var(--ink); background: var(--signal);
  padding: 10px 18px 6px; border-radius: 12px; rotate: -2deg; box-shadow: 0 10px 24px -8px rgba(18, 14, 36, .5); }
.cap small { display: block; font-size: 22px; font-weight: 400; }
.cap.frag.visible { opacity: 0; }
.cap.frag.visible.on { opacity: 1; }
.shot-label { position: absolute; right: 14px; bottom: -32px; font: 400 15px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }

/* prompt block */
.prompt { background: var(--ink); color: #e9e4fb; font: 400 22px/1.6 var(--f-mono); border-radius: 24px; padding: 30px 36px; margin-top: 26px; }
.prompt .hl { border-radius: 6px; padding: 2px 3px; margin: 0 -3px; transition: background-color .45s ease, color .45s ease; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.prompt .hl.frag { opacity: 1; transform: none; }
.prompt .hl.visible, .print .prompt .hl, .static .prompt .hl { background: var(--pc); color: var(--ink); }
.p-who { --pc: #a9dcec; } .p-data { --pc: #f9c3a3; } .p-task { --pc: #cdbcf5; } .p-rules { --pc: #b9e6a3; } .p-back { --pc: var(--signal); }
.legend { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.legend span { font: 500 19px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 11px 17px; border-radius: 999px; background: var(--pc); color: var(--ink); }
.quote-box { font: 400 30px/1.45 var(--f-mono); background: var(--ink); color: #fff; padding: 26px 32px; border-radius: 20px; margin-top: 44px; max-width: 1200px; }
.hero .prompt { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 20px; line-height: 1.55; margin-top: 0; }
.prompt-tag { font: 500 15px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--signal); display: block; margin-bottom: 14px; }

/* horizontal bars */
.hbars { display: grid; gap: 14px; margin-top: 34px; }
.hbar { display: grid; grid-template-columns: 200px 1fr 150px; align-items: center; gap: 18px; font-size: 26px; }
.hbar .hb-t { height: 34px; background: var(--surface); border-radius: 10px; overflow: hidden; }
.hbar .hb-t i { display: block; height: 100%; width: calc(var(--v) / var(--max) * 100%); background: var(--a); border-radius: 10px;
  transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
:is(.slide.active, .print .slide) .hbars:not(.frag) .hb-t i,
.slide.active .hbars.frag.visible .hb-t i,
.print .hbars .hb-t i { transform: scaleX(1); }
.slide .frag:not(.visible) .hb-t i { transform: scaleX(0) !important; transition: none; }
.print .slide .frag .hb-t i, .static .frag .hb-t i { transform: scaleX(1) !important; }
.hbar .hb-v { font: 600 28px/1 var(--f-display); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hbar.total { border-top: 2px solid var(--border); padding-top: 16px; margin-top: 4px; font-weight: 700; }
.hbar.total .hb-v { font-size: 38px; grid-column: 2 / 4; }
:is(.hero, .demo) .hbar .hb-t { background: rgba(255, 255, 255, .1); }
:is(.hero, .demo) .hbar .hb-t i { background: rgba(255, 255, 255, .55); }
:is(.hero, .demo) .hbar.key .hb-t i { background: var(--signal); }
:is(.hero, .demo) .hbar.key .hb-v { color: var(--signal); }

/* svg line chart (segments draw on key presses) */
.chart { position: relative; margin-top: 18px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid-l { stroke: var(--border); stroke-width: 2; }
.chart .axis-t { font: 400 20px var(--f-mono); fill: var(--muted); }
.chart .seg.frag { opacity: 1; transform: none; }
.chart .line { fill: none; stroke: var(--violet); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart .area { fill: var(--violet-t); opacity: 0; }
.chart .pt { fill: #fff; stroke: var(--violet); stroke-width: 6; opacity: 0; }
.chart .pt.key { fill: var(--signal); stroke: var(--ink); }
.chart .pt-l { font: 600 30px var(--f-display); fill: var(--ink); opacity: 0; }
:is(.slide.active .seg.auto, .slide.active .seg.visible, .print .seg) .line { stroke-dashoffset: 0; transition: stroke-dashoffset .95s ease-in-out; }
:is(.slide.active .seg.auto, .slide.active .seg.visible, .print .seg) .area { opacity: .6; transition: opacity .5s ease .5s; }
:is(.slide.active .seg.auto, .slide.active .seg.visible, .print .seg) :is(.pt, .pt-l) { opacity: 1; transition: opacity .25s ease var(--d, 0s); }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; }
.sticker { white-space: nowrap; font: 700 30px/1.15 var(--f-hand); color: var(--ink); background: var(--signal); padding: 10px 18px 6px; border-radius: 12px; rotate: -2deg; box-shadow: 0 10px 24px -8px rgba(18, 14, 36, .5); }
.sticker small { display: block; font: 400 15px/1.3 var(--f-mono); }
.chart-note { position: absolute; left: 150px; top: 24px; }

/* payments */
.paycard { width: 520px; border-radius: 24px; padding: 26px 30px; color: #fff; background: linear-gradient(135deg, #2b2250, var(--violet)); box-shadow: 0 24px 50px -22px rgba(28, 22, 51, .6); margin-top: 28px; }
.paycard .n { font: 500 36px/1 var(--f-mono); margin-top: 24px; white-space: nowrap; }
.paycard .s { font: 400 18px/1 var(--f-mono); margin-top: 16px; opacity: .8; }
.vs { display: grid; grid-template-columns: 1fr 90px 1fr; align-items: stretch; margin-top: 40px; }
.vs .mid { display: grid; place-items: center; color: var(--muted); }
.vs .mid svg { width: 54px; height: 54px; }

/* people / contact */
.contacts { display: flex; gap: 20px; margin-top: 46px; flex-wrap: wrap; }
.contact { display: inline-flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .13); border-radius: 18px; padding: 16px 24px; font: 500 30px/1 var(--f-mono); }
.contact svg { width: 30px; height: 30px; }
.who-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.pill { display: inline-flex; align-items: center; gap: 14px; background: var(--at); color: var(--ink); border-radius: 18px; padding: 14px 22px 14px 14px; font-size: 28px; font-weight: 500; }
.pill .ic { width: 44px; height: 44px; border-radius: 12px; }
.pill .ic svg { width: 24px; height: 24px; }

/* homework */
.hw { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 660px; gap: 60px; align-items: center; margin-top: 10px; }
.hw .steps li { font-size: 32px; align-items: flex-start; }
.hw .steps li::before { margin-top: -4px; }

/* ---------- HUD ---------- */
.hud { position: absolute; inset: auto 0 0 0; height: 64px; pointer-events: none; color: var(--muted); z-index: 20; font: 500 15px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.hud-section { position: absolute; left: 100px; bottom: 30px; }
.hud-count { position: absolute; right: 100px; bottom: 30px; }
.hud-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(28, 22, 51, .08); }
.hud-progress i { display: block; height: 100%; width: 0; background: var(--violet); transition: width .35s var(--ease); }
.stage.dark .hud { color: rgba(255, 255, 255, .5); }
.stage.dark .hud-progress { background: rgba(255, 255, 255, .12); }
.stage.dark .hud-progress i { background: var(--signal); }
.stage.on-signal .hud { color: rgba(28, 22, 51, .7); }
.stage.on-signal .hud-progress i { background: var(--ink); }

.toast { position: fixed; left: 50%; top: 24px; translate: -50% 0; z-index: 90; background: var(--ink); color: #fff; font: 500 18px/1 var(--f-mono); padding: 14px 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }

/* ---------- speaker notes panel (N) ---------- */
.notes-panel { position: fixed; left: 0; right: 0; bottom: 0; height: 30vh; z-index: 50; display: none; background: #17122b; color: #ece8fa; border-top: 2px solid var(--violet); padding: 14px 24px 18px; overflow: auto; font: 400 18px/1.5 var(--f-body); }
.notes-panel p, .pv-notes p, .pv-side-notes p { margin: 0 0 .6em; }
.notes-panel em, .pv-notes em, .pv-side-notes em { color: #b9b0e6; }
.np-head { display: flex; gap: 20px; align-items: baseline; font-family: var(--f-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #a79fd0; margin-bottom: 8px; }
.np-head b { font-size: 22px; color: var(--signal); }
body.show-notes .notes-panel { display: block; }
body.show-notes .deck { bottom: 30vh; }

/* ---------- overview (O) ---------- */
.overview { position: fixed; inset: 0; z-index: 70; background: #0d0a1a; overflow: auto; padding: 28px; display: none; }
.overview.open { display: grid; grid-template-columns: repeat(auto-fill, 320px); gap: 22px; justify-content: center; align-content: start; }
.thumb { position: relative; width: 320px; height: 180px; overflow: hidden; border-radius: 10px; cursor: pointer; outline: 3px solid transparent; background: #fff; }
.thumb.cur { outline-color: var(--signal); }
.thumb:hover { outline-color: var(--violet); }
.mini { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0; font-size: 32px; line-height: 1.35; pointer-events: none; }
.thumb .mini { transform: scale(.2); }
.thumb .n { position: absolute; left: 8px; bottom: 8px; z-index: 2; background: var(--ink); color: #fff; font: 500 13px/1 var(--f-mono); padding: 5px 8px; border-radius: 6px; }
.static, .static * , .static *::after { transition: none !important; animation-duration: .001s !important; animation-delay: 0s !important; }
.static .frag { opacity: 1 !important; transform: none !important; }
.static .spot.frag { box-shadow: none !important; }
.static .hbars .hb-t i { transform: scaleX(1) !important; }
.static .dot { animation: none !important; }

/* ---------- presenter window (P) ---------- */
body.presenter { background: #100c20; color: #ece8fa; }
body.presenter .deck { inset: 76px auto auto 24px; width: 58vw; height: calc(58vw * 9 / 16); border-radius: 10px; }
.pv { position: fixed; inset: 0; pointer-events: none; font-family: var(--f-body); }
.pv > * { pointer-events: auto; }
.pv-top { position: absolute; left: 24px; right: 24px; top: 14px; height: 50px; display: flex; align-items: center; gap: 28px; font: 500 16px/1 var(--f-mono); letter-spacing: .06em; color: #a79fd0; }
.pv-top b { font-size: 34px; color: var(--signal); font-variant-numeric: tabular-nums; }
.pv-top .clock { margin-left: auto; font-size: 24px; color: #fff; }
.pv-next { position: absolute; right: 24px; top: 76px; width: calc(42vw - 72px); }
.pv h4 { margin: 0 0 8px; font: 500 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #a79fd0; }
.pv-next .box { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #1c1633; }
.pv-notes { position: absolute; left: 24px; right: 24px; top: calc(76px + 58vw * 9 / 16 + 18px); bottom: 14px; overflow: auto; font-size: 21px; line-height: 1.5; }
.pv-side-notes { position: absolute; right: 24px; width: calc(42vw - 72px); top: calc(76px + (42vw - 72px) * 9 / 16 + 44px); bottom: 14px; overflow: auto; font-size: 20px; line-height: 1.5; }
@media (max-aspect-ratio: 3/2) { .pv-side-notes { display: none; } }
@media (min-aspect-ratio: 3/2) { .pv-notes { display: none; } }

/* ---------- print / PDF ---------- */
@page { size: 1600px 900px; margin: 0; }
html.print, html.print body { height: auto; overflow: visible; background: #fff; }
html.print .deck { position: static; overflow: visible; }
html.print .stage { position: static; transform: none; height: auto; overflow: visible; }
html.print .slide { position: relative; inset: auto; width: 1600px; height: 900px; opacity: 1; visibility: visible; transform: none; overflow: hidden; break-after: page; page-break-after: always; }
html.print *, html.print *::after { transition: none !important; animation-duration: .001s !important; animation-delay: 0s !important; }
html.print .frag { opacity: 1 !important; transform: none !important; }
html.print .spot.frag { box-shadow: none !important; }
html.print :is(.hud, .notes-panel, .overview, .toast, .pv) { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001s !important; transition-delay: 0s !important; animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}

/* ====================================================================== */
/* v2 — logos, illustrations, merged slides, QR                            */
/* ====================================================================== */

/* brand logos (Simple Icons paths, see ASSETS.md) and the official Lovable lockups */
svg.logo { display: block; width: 1em; height: 1em; flex: none; }
.lv-logo { display: block; height: var(--lh, 48px); width: auto; }
.lv-corner { position: absolute !important; right: 100px; top: 68px; }
.hud-logo { position: absolute; left: 100px; bottom: 26px; height: 22px; width: auto; display: none; }
.hud.lov .hud-logo { display: block; }
.hud.lov .hud-section { left: 132px; }
.logo-chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px 14px; font: 600 22px/1 var(--f-display); vertical-align: middle; }
.logo-chip svg.logo { font-size: 24px; }
.names b { display: inline-flex; align-items: center; gap: 10px; background: #fff; }
.names b svg.logo { font-size: 24px; }

/* Fluent Emoji illustrations: pop in once when the slide is shown (under 1s), then stay still */
.emo { position: absolute !important; width: var(--sz, 240px); height: auto; rotate: var(--r, -8deg); opacity: 0; pointer-events: none; z-index: 1; }
:is(.slide.active, .print .slide) .emo { animation: emo-in .8s var(--ease) .15s both; }
@keyframes emo-in {
  0% { opacity: 0; transform: translateY(40px) scale(.6); }
  60% { opacity: 1; transform: translateY(-12px) scale(1.06); }
  100% { opacity: 1; transform: none; }
}
.col { position: relative; }
.col > .emo { right: 0; top: -26px; }
.col.has-emo > h2 { max-width: calc(100% - 150px); }

/* speaker photo */
.avatar { position: relative; flex: none; width: var(--av, 130px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid #fff;
  box-shadow: 0 14px 30px -12px rgba(18, 14, 36, .5); background: #7fa3bf; }
.avatar img { position: absolute; max-width: none; width: 230%; left: -65%; top: -91%; }
.me { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.me strong { display: block; font: 600 44px/1.1 var(--f-display); }
.me span { display: block; font-size: 28px; color: var(--muted); margin-top: 6px; }
.hero .me span { color: rgba(255, 255, 255, .75); }
:is(.hero, .question) .pill { background: rgba(255, 255, 255, .12); color: #fff; }
:is(.hero, .question) .pill .ic { background: var(--signal); color: var(--ink); }

/* slide 4: small dated note */
.note-line { font: 400 18px/1.4 var(--f-mono); color: var(--muted); margin-top: 16px; }
.note-line small { display: block; font-size: 14px; opacity: .8; }

/* slide 5: chart on the ink stage */
.hero .chart .grid-l { stroke: rgba(255, 255, 255, .14); }
.hero .chart .axis-t { fill: rgba(255, 255, 255, .6); }
.hero .chart .line { stroke: var(--signal); }
.hero .chart .area { fill: rgba(255, 216, 77, .16); }
.hero .chart .pt { fill: var(--ink); stroke: var(--signal); }
.hero .chart .pt.key { fill: var(--signal); stroke: #fff; }
.hero .chart .pt-l { fill: #fff; }
.sticker.alt { background: #fff; }
.chart-quote { position: absolute; left: 150px; top: 6px; white-space: normal; max-width: 500px; font-size: 32px; }
.chart-quote small { margin-bottom: 4px; letter-spacing: .08em; text-transform: uppercase; }
.chart-note { left: auto; right: 150px; top: 280px; rotate: 2deg; }

/* slide 7: everything inside */
.inside { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 26px; align-items: start; }
.in-col h3 { font: 500 17px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--signal); margin: 0 0 12px 4px; }
.it { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 14px; margin-bottom: 8px; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.it > svg.ico { width: 24px; height: 24px; flex: none; color: var(--signal); }
.it b { flex: 1; min-width: 0; font: 600 22px/1.12 var(--f-display); }
.it b small { display: block; font: 400 15px/1.25 var(--f-body); opacity: .75; margin-top: 2px; }
.it .lg { display: flex; gap: 8px; font-size: 21px; flex: none; }
.it .ptag { position: static; flex: none; font: 700 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 6px 9px; }
.it .unv { font: 700 16px/1 var(--f-hand); color: var(--signal); border: 2px dashed var(--signal); border-radius: 999px; padding: 4px 8px 2px; }
.it.hi { background: var(--signal); color: var(--ink); flex-wrap: wrap; }
.it.hi > svg.ico { color: var(--ink); }
.it.hi b small { opacity: 1; }
.connects { display: flex; align-items: center; gap: 20px; margin-top: 16px; color: rgba(255, 255, 255, .9); }
.connects .lg { display: flex; flex-wrap: wrap; gap: 15px; font-size: 26px; }
.connects .more { font: 400 17px/1 var(--f-mono); color: rgba(255, 255, 255, .6); white-space: nowrap; }
.connects .tag { white-space: nowrap; }

/* slide 12: test vs live mini cards */
.mini-card { width: 100%; margin-top: 14px; padding: 14px 20px 15px; border-radius: 16px; background: var(--at); border-left: 6px solid var(--a); }
.mini-card b { display: flex; align-items: center; gap: 10px; font: 600 25px/1.15 var(--f-display); }
.mini-card b .lg { display: inline-flex; gap: 8px; font-size: 20px; margin-left: auto; color: var(--muted); }
.mini-card span { display: block; font-size: 21px; line-height: 1.3; color: var(--muted); margin-top: 4px; }
.mini-card code { font: 500 .95em var(--f-mono); color: var(--ink); white-space: nowrap; }

/* slide 15: guess, then reveal */
.reveal { position: relative; width: 700px; min-height: 440px; display: grid; align-items: center; }
.reveal > .emo { left: 50%; top: 50%; margin: -150px 0 0 -150px; }
.panel { position: relative; z-index: 2; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 20px 30px 22px;
  box-shadow: 0 30px 60px -30px rgba(28, 22, 51, .4); }
.panel .hbars { margin-top: 8px; gap: 11px; }
.panel .hbar { grid-template-columns: 190px 1fr 120px; font-size: 24px; }
.panel .hbar .hb-t { height: 28px; }
.panel .hbar .hb-v { font-size: 25px; }
.panel .hbar.total .hb-v { font-size: 32px; }
.panel .source { margin-top: 12px; font-size: 14px; }
.big-num { font: 600 112px/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 26px; white-space: nowrap; }

/* slide 17: Say WHY band */
.why { display: flex; align-items: center; gap: 28px; margin-top: 22px; padding: 16px 28px; border-radius: 20px; background: var(--signal); }
.why h3 { font-size: 46px; line-height: 1; white-space: nowrap; }
.why p { font: 400 21px/1.4 var(--f-mono); }

/* slide 19: homework on the yellow stage */
.signal .steps li::before { background: var(--ink); color: #fff; }
.signal .card { background: #fff; }

/* slide 20: QR */
.qr-card { flex: none; width: 388px; padding: 22px 22px 20px; border-radius: 28px; background: #fff; color: var(--ink); text-align: center; }
.qr-card [data-qr] svg { display: block; width: 344px; height: 344px; }
.qr-card strong { display: block; font: 600 36px/1 var(--f-display); margin-top: 14px; }
.qr-card small { display: block; font: 400 16px/1.2 var(--f-mono); color: var(--muted); margin-top: 8px; }
.qr-missing { width: 344px; height: 344px; display: grid; place-items: center; border: 3px dashed var(--orange); border-radius: 16px; font-size: 30px; }
.qr-missing .todo { white-space: normal; }

html.print .emo { opacity: 1; }

/* ====================================================================== */
/* v3 — unDraw illustrations (replace the emoji)                           */
/* ====================================================================== */
.illo { position: absolute !important; display: block; width: var(--sz, 320px); opacity: 0; pointer-events: none; z-index: 0; }
.illo img { display: block; width: 100%; height: auto; }
.illo.on-dark { aspect-ratio: 1; border-radius: 50%; background: #f6f4fb; display: grid; place-items: center; }
.illo.on-dark img { width: 74%; height: 74%; object-fit: contain; }
.illo.flow { position: relative !important; }
:is(.slide.active, .print .slide) .illo { animation: emo-in .8s var(--ease) .15s both; }
html.print .illo { opacity: 1; }
.stack { position: relative; display: grid; place-items: center; }
.stack > .illo, .reveal > .illo { left: 50%; top: 50%; translate: -50% -50%; }
.stack > .shot { z-index: 1; }

/* ====================================================================== */
/* v5 — two steps per slide, step dots, black screen, teleprompter         */
/* ====================================================================== */

/* inline fragment (a phrase inside a heading): fades in, no movement */
.frag.fi { display: inline; transform: none; }
/* slide 17: the five prompt parts light up one after another inside one step */
.prompt .hl.visible, .legend .frag.visible { transition-delay: var(--td, 0ms); }

/* step dots next to the slide counter: two per main slide, filled as you press */
.hud-steps { position: absolute; right: 200px; bottom: 29px; display: flex; gap: 6px; }
.hud-steps i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .7; }
.hud-steps i.on { background: currentColor; opacity: 1; }

/* black screen for the audience window (B) */
.blackout { position: fixed; inset: 0; z-index: 80; background: #000; display: none; }
body.is-black:not(.presenter) .blackout { display: block; }
body.is-black.presenter .deck { opacity: .35; }

/* teleprompter window (P) */
body.presenter .deck { inset: 86px 20px auto auto; width: 27vw; height: calc(27vw * 9 / 16); border-radius: 8px; }
.tp-head { position: absolute; left: 28px; right: 20px; top: 10px; height: 44px; display: flex; align-items: center; gap: 22px;
  font: 500 15px/1 var(--f-mono); color: #a79fd0; white-space: nowrap; pointer-events: none; }
.tp-pos { font-size: 22px; color: #fff; }
.tp-dots { display: flex; gap: 6px; }
.tp-dots i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--signal); }
.tp-dots i.on { background: var(--signal); }
.tp-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 600 20px/1.2 var(--f-display); color: #fff; }
.tp-time b { font-size: 30px; color: var(--signal); font-variant-numeric: tabular-nums; }
.tp-total { font-style: normal; margin-left: 8px; }
.tp-head .ok { color: #7ee08a; } .tp-head .warn { color: #ffc24d; } .tp-head .over { color: #ff6b6b; }
.tp-head .clock { font-size: 20px; color: #fff; }
.tp-black { display: none; background: var(--live); color: #fff; font-weight: 700; padding: 7px 10px; border-radius: 8px; }
body.is-black .tp-black { display: inline-block; }
.tp-text { position: absolute; left: 28px; top: 64px; bottom: 14px; right: calc(27vw + 48px); overflow: auto; scroll-behavior: smooth; }
.tp-inner { max-width: 60ch; font: 400 var(--tp, 38px)/1.42 var(--f-body); color: #fff; padding-bottom: 60vh; }
.tp-part { padding: 6px 0 6px 20px; border-left: 5px solid transparent; transition: opacity .25s ease; }
.tp-part.now { border-left-color: var(--signal); }
.tp-part.said { opacity: .28; }
.tp-part.next { opacity: .5; }
.tp-part p { margin: 0 0 .55em; }
.tp-part b { color: var(--signal); font-weight: 700; }
.tp-part em { color: #b9b0e6; }
.tp-key { display: inline-block; font: 700 .42em/1 var(--f-mono); letter-spacing: .1em; background: var(--signal); color: var(--ink); border-radius: 6px; padding: .4em .7em; margin-bottom: .6em; }
.bdg { display: inline-block; font: 700 .46em/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; border-radius: 6px; padding: .5em .7em; vertical-align: middle; }
.bdg.sw { background: var(--live); } .bdg.pr { background: var(--blue); } .bdg.ch { background: var(--violet); }
.tp-part .dir { font-size: .62em; font-style: italic; color: #b9b0e6; }
.tp-part p.cue { font-size: .7em; color: #d6d0f2; }
.tp-part code { font: 500 .85em var(--f-mono); }
.tp-side { position: absolute; right: 20px; top: 64px; width: 27vw; pointer-events: none !important; }
.tp-deck-slot { height: calc(27vw * 9 / 16); }
.tp-side .pv-next { position: static; width: auto; margin-top: 16px; }
.tp-help { font: 400 12px/1.6 var(--f-mono); color: #8d85b5; margin: 14px 0 0; }
.tp-file { font: 500 13px/1.5 var(--f-mono); color: #ffc24d; margin: 10px 0 0; }
@media (prefers-reduced-motion: reduce) { .tp-text { scroll-behavior: auto; } }
html.print .blackout { display: none !important; }

/* v6 — on-screen buttons */
.tp-text { bottom: 98px; }
.tp-bar { position: absolute; left: 20px; right: 20px; bottom: 14px; height: 68px; display: flex; align-items: center; gap: 12px; }
.tb { height: 60px; padding: 0 20px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff;
  font: 600 18px/1 var(--f-body); display: inline-flex; align-items: center; gap: 10px; cursor: pointer; white-space: nowrap; }
.tb:hover { background: rgba(255, 255, 255, .16); }
.tb svg { width: 22px; height: 22px; flex: none; }
.tb.primary { background: var(--signal); color: var(--ink); border-color: transparent; font-size: 20px; min-width: 280px; max-width: 34vw; justify-content: space-between; }
.tb.primary:hover { background: #ffe27a; }
.tb-next { overflow: hidden; text-overflow: ellipsis; }
.tb.active { background: var(--live); border-color: transparent; }
.tb-pick { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--f-mono); color: #a79fd0; }
.tb-pick select { height: 60px; max-width: 220px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .22); background: #1c1633; color: #fff; font: 500 16px var(--f-body); padding: 0 12px; }
.tp-sync { margin-left: auto; font: 600 14px/1 var(--f-mono); padding: 11px 14px; border-radius: 999px; white-space: nowrap; }
.tp-sync.ok { background: rgba(126, 224, 138, .15); color: #7ee08a; }
.tp-sync.bad { background: rgba(255, 107, 107, .18); color: #ff9c9c; }
.ctl { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 60; display: flex; gap: 8px; padding: 8px; border-radius: 16px;
  background: rgba(18, 14, 36, .85); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.ctl.show { opacity: 1; pointer-events: auto; }
.ctl button { height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fff;
  font: 500 15px/1 var(--f-body); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.ctl button:hover { background: rgba(255, 255, 255, .24); }
.ctl svg { width: 20px; height: 20px; }
html.print .ctl { display: none !important; }
