@font-face { font-family: 'Inter'; src: url('fonts/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'IBM Plex Serif'; src: url('fonts/ibm-plex-serif-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Serif'; src: url('fonts/ibm-plex-serif-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --wash: #f0f9ff;
  --wash-2: #f8fafc;
  --sky: #0369a1;
  --sky-bright: #0ea5e9;
  --sky-soft: #e0f2fe;
  --navy: #082f49;
  --navy-2: #0c4a6e;
  --good: #047857;
  --good-soft: #d1fae5;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --bad: #b91c1c;
  --bad-soft: #fee2e2;
  --serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .12);
  color-scheme: light;
}

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

/* Stage: a fixed 1600x900 canvas, scaled to the window. */
.viewport { position: fixed; inset: 0; overflow: hidden; overflow: clip; }
.stage { position: absolute; left: 50%; top: 50%; width: 1600px; height: 900px; transform-origin: center; background: #fff; overflow: hidden; }

.slide {
  position: absolute; inset: 0; padding: 88px 112px 96px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
  transform: translateY(12px); background: #fff;
}
.slide.active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }

/* Calq-like background: faint slanted grid and a sky glow. */
.slide.grid::before {
  content: ''; position: absolute; inset: -10% -10%; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(105deg, rgba(3, 105, 161, .06) 0 1px, transparent 1px 190px),
    repeating-linear-gradient(0deg, rgba(3, 105, 161, .05) 0 1px, transparent 1px 190px);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.slide.grid::after {
  content: ''; position: absolute; width: 900px; height: 900px; right: -260px; top: -300px; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(14, 165, 233, .16), transparent 62%);
}
.slide > * { position: relative; z-index: 1; }

.eyebrow { font-size: 17px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin: 0 0 22px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: 96px; line-height: 1.04; letter-spacing: -.01em; }
h2 { font-size: 62px; line-height: 1.08; letter-spacing: -.005em; }
h3 { font-size: 27px; line-height: 1.2; font-weight: 600; }
.dot { color: var(--sky-bright); }
.lead { font-size: 27px; line-height: 1.5; color: var(--ink-2); max-width: 1050px; margin: 26px 0 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 17px; }

.head { margin-bottom: 44px; }
.fill { flex: 1; min-height: 0; }

/* Section slides: navy band like the calq.nl client strip. */
.slide.section { background: var(--navy); justify-content: center; }
.slide.section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(14, 165, 233, .28), transparent 45%),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 190px);
}
.slide.section h2 { color: #fff; font-size: 112px; }
.slide.section .eyebrow { color: #7dd3fc; }
.slide.section .lead { color: #bae6fd; }
.section-time { position: absolute; right: 112px; bottom: 96px; font-family: var(--serif); font-weight: 600; font-size: 22px; color: #7dd3fc; }

/* Cards and grids */
.cols { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.card.soft { background: var(--wash-2); box-shadow: none; }
.card.accent { background: var(--sky); border-color: var(--sky); color: #fff; }
.card.accent h3, .card.accent p { color: #fff; }
.card p { font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.card .tag { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.card.accent .tag { color: #bae6fd; }
.card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.card li { font-size: 20px; line-height: 1.4; color: var(--ink-2); padding-left: 26px; position: relative; }
.card li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-bright); }
.card.no li::before { background: #cbd5e1; }
.quote { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.4; color: var(--navy); border-left: 3px solid var(--sky-bright); padding-left: 18px; }

.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 16px; font-size: 16px; font-weight: 600; background: var(--sky-soft); color: var(--sky); white-space: nowrap; }
.pill.navy { background: var(--navy); color: #fff; }
.pill.good { background: var(--good-soft); color: var(--good); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.line { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

.band { margin-top: auto; display: flex; gap: 18px; align-items: center; background: var(--wash); border-radius: 16px; padding: 20px 28px; font-size: 21px; color: var(--ink-2); }
.band strong { color: var(--navy); }

/* Cover */
.cover-meta { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; }
.cover-meta .people { font-size: 20px; color: var(--ink-2); line-height: 1.6; }
.cover-meta .people strong { color: var(--ink); }
.logo { color: var(--ink); height: 58px; width: auto; }

.brandline { display: flex; align-items: center; gap: 22px; font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--ink); }
.brandline .x { color: var(--sky-bright); }

/* Day plan timeline */
.timeline { display: grid; grid-template-columns: repeat(10, 1fr); position: relative; margin-top: 30px; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 50px; height: 2px; background: var(--line); }
.tl { position: relative; padding-right: 10px; }
.tl time { display: block; font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--ink); }
.tl .mark { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--sky); margin: 14px 0 16px; position: relative; z-index: 1; }
.tl.pm .mark { background: var(--sky); }
.tl.break .mark { border-color: #cbd5e1; }
.tl p { font-size: 18px; line-height: 1.35; color: var(--ink-2); }
.tl.break p { color: var(--muted); }
.daypart { display: flex; gap: 12px; margin-top: 28px; }

/* Ladder: chat to agent */
.ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: end; flex: 1; }
.step { border-radius: 18px; background: var(--wash-2); border: 1px solid var(--line); padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.step .n { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--sky); }
.step h3 { font-size: 26px; }
.step p { font-size: 18px; line-height: 1.45; color: var(--ink-2); }
.step.here { background: var(--sky); border-color: var(--sky); }
.step.here .n, .step.here h3, .step.here p { color: #fff; }
.step .you { margin-top: 6px; align-self: flex-start; }

/* Horizon scale */
.horizon { position: relative; margin: 8px 0 0; flex: 1; min-height: 0; }
.horizon .hz { width: 100%; height: 100%; display: block; overflow: visible; }
.hz-axis { stroke: #cbd5e1; stroke-width: 2; }
.hz-axlabel { font: 500 15px var(--sans); fill: var(--muted); }
.hz-solid { fill: none; stroke: var(--sky); stroke-width: 6; stroke-linecap: round; }
.hz-dash { fill: none; stroke: #94a3b8; stroke-width: 4; stroke-dasharray: 10 10; stroke-linecap: round; }
.hz-area { fill: rgba(148, 163, 184, .10); }
.hz-now { stroke: var(--sky-bright); stroke-width: 2; }
.hz-dot { fill: #fff; stroke: #94a3b8; stroke-width: 4; }
.hz-dot.done { fill: var(--sky); stroke: var(--sky); }
.hz-t { font: 700 26px var(--serif); fill: var(--ink); }
.hz-s { font: 400 16px var(--sans); fill: var(--muted); }
.hz-here { position: absolute; transform: translate(-50%, -100%); }
.hz-metr { position: absolute; left: 0; top: 0; width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); }
.hz-metr .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.hz-metr p { font-size: 16px; line-height: 1.45; color: var(--ink-2); margin: 6px 0 4px; }
.hz-metr small { font-size: 12.5px; color: var(--muted); }

/* Formula / context layers */
.formula { display: flex; align-items: center; gap: 28px; font-family: var(--serif); font-weight: 700; font-size: 44px; color: var(--ink); margin-bottom: 40px; }
.formula .op { color: var(--sky-bright); }
.formula .boxed { padding: 10px 26px; border-radius: 16px; background: var(--sky); color: #fff; }
.layers { display: grid; gap: 14px; }
.layer { display: grid; grid-template-columns: 240px 1fr 260px; align-items: center; gap: 28px; padding: 18px 26px; border-radius: 16px; background: var(--wash-2); border: 1px solid var(--line); }
.layer strong { font-family: var(--serif); font-size: 24px; }
.layer span { font-size: 19px; color: var(--ink-2); }
.layer em { font-style: normal; font-size: 16px; color: var(--sky); font-weight: 600; text-align: right; }

/* Big statement */
.statement { font-family: var(--serif); font-weight: 700; font-size: 70px; line-height: 1.12; color: var(--ink); max-width: 1300px; text-wrap: balance; }
.statement .soft { color: var(--sky); }

/* Connector hub */
.hub { position: relative; flex: 1; }
.hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 230px; height: 230px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--serif); font-weight: 700; font-size: 30px; box-shadow: 0 0 0 16px rgba(14, 165, 233, .12), 0 0 0 34px rgba(14, 165, 233, .06); }
.hub .core small { display: block; font-family: var(--sans); font-weight: 500; font-size: 16px; color: #7dd3fc; margin-top: 6px; }
.node { position: absolute; transform: translate(-50%, -50%); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; font-weight: 600; font-size: 19px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.node .s { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.node.live .s { background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
.node.plugin .s { background: #f59e0b; }

/* Flow (content intelligence, sharing) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 44px; position: relative; }
.flow .f { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow); }
.flow .f .n { font-family: var(--serif); font-weight: 700; color: var(--sky); font-size: 18px; }
.flow .f h3 { font-size: 23px; margin: 4px 0 6px; }
.flow .f p { font-size: 16.5px; line-height: 1.45; color: var(--ink-2); }
.flow .f.human { background: var(--navy); border-color: var(--navy); }
.flow .f.human h3, .flow .f.human p { color: #fff; }
.flow .f.human .n { color: #7dd3fc; }
.flow .f:not(:nth-child(4n))::after { content: '→'; position: absolute; right: -34px; top: 50%; transform: translateY(-50%); color: var(--sky-bright); font-size: 26px; font-weight: 700; }

/* Screenshots */
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(8, 47, 73, .35); background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
.shot-caption { font-size: 17px; color: var(--muted); margin-top: 12px; }
.shots { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: start; }

/* A4 blueprint */
.a4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.a4 .field { border: 1.5px dashed #bae6fd; border-radius: 14px; padding: 18px 22px; background: #fff; min-height: 118px; }
.a4 .field strong { font-family: var(--serif); font-size: 22px; display: block; margin-bottom: 6px; }
.a4 .field span { font-size: 17px; color: var(--muted); line-height: 1.4; }
.a4 .field.wide { grid-column: span 2; }
/* With the group cards below it, the blueprint needs less height. */
.slide:has(.canvas-groups:not(:empty)) .a4 { gap: 12px; }
.slide:has(.canvas-groups:not(:empty)) .a4 .field { min-height: 0; padding: 12px 20px 14px; }
.slide:has(.canvas-groups:not(:empty)) .a4 .field strong { font-size: 20px; margin-bottom: 2px; }
.slide:has(.canvas-groups:not(:empty)) .head { margin-bottom: 20px !important; }
.canvas-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.canvas-groups:empty { display: none; }
.cg { display: flex; gap: 16px; align-items: center; background: var(--wash); border-radius: 16px; padding: 14px; color: inherit; text-decoration: none; }
.cg .qr { width: 104px; height: 104px; padding: 6px; }
.cg h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 2px; }
.cg p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.35; }
.cg .dots { display: flex; gap: 4px; margin-top: 10px; }
.cg .dots i { width: 12px; height: 12px; border-radius: 4px; background: #fff; border: 1px solid var(--line); }
.cg .dots i.on { background: var(--sky-bright, #0ea5e9); border-color: transparent; }
.cg .busy { color: var(--navy-2, #075985); font-weight: 600; }

/* ============ Live slides ============ */
.live-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.live-badge i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .5); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .45); } 80%, 100% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); } }
.env { font-size: 15px; color: var(--muted); font-family: var(--mono); }
.livehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.livehead h2 { font-size: 50px; }

.composer { display: flex; gap: 16px; align-items: stretch; margin-bottom: 22px; }
.composer textarea, .composer input {
  flex: 1; font: 18px/1.5 var(--sans); color: var(--ink); background: var(--wash-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 18px; resize: none; outline: none; transition: border-color .2s, box-shadow .2s;
}
.composer textarea:focus, .composer input:focus { border-color: var(--sky-bright); box-shadow: 0 0 0 4px rgba(14, 165, 233, .15); background: #fff; }
.btn {
  font: 600 18px var(--sans); border: 0; border-radius: 999px; padding: 0 30px; min-height: 56px; cursor: pointer; white-space: nowrap;
  background: var(--sky); color: #fff; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 10px 24px -10px rgba(3, 105, 161, .7);
  transition: transform .15s, background .2s, opacity .2s;
}
.btn:hover { background: #075985; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.dark { background: var(--navy); box-shadow: 0 10px 24px -10px rgba(8, 47, 73, .7); }
.btn:focus-visible, .chip:focus-visible { outline: 3px solid var(--sky-bright); outline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.chip { font: 500 16px var(--sans); border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--sky-bright); color: var(--sky); }

.runs { display: grid; gap: 24px; flex: 1; min-height: 0; }
.runs.two { grid-template-columns: 1fr 1fr; }
.run { display: flex; flex-direction: column; min-height: 0; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.run.with { border-color: #7dd3fc; box-shadow: 0 0 0 4px rgba(14, 165, 233, .08), var(--shadow); }
.run header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--wash-2); }
.run header h3 { font-size: 23px; }
.run header .sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.state { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.state i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.state.busy { color: var(--sky); border-color: #bae6fd; }
.state.busy i { background: var(--sky-bright); animation: pulse 1s ease-in-out infinite; }
.state.ok { color: var(--good); border-color: #a7f3d0; }
.state.ok i { background: #10b981; }
.state.err { color: var(--bad); border-color: #fecaca; }
.state.err i { background: #ef4444; }
@keyframes pulse { 50% { opacity: .3; } }

.trace { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 22px 0; min-height: 12px; }
.trace .ev { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 10px; background: var(--wash); color: var(--navy-2); animation: pop .35s ease; }
.trace .ev b { font-weight: 700; }
.trace .ev.skill { background: var(--navy); color: #fff; }
.trace .ev.mcp { background: var(--good-soft); color: var(--good); }
.trace .ev.err { background: var(--bad-soft); color: var(--bad); }
@keyframes pop { from { opacity: 0; transform: translateY(4px) scale(.96); } }

.out { flex: 1; min-height: 0; overflow: auto; padding: 14px 22px 20px; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); scroll-behavior: smooth; }
.out.empty { display: grid; place-items: center; color: #94a3b8; font-size: 17px; text-align: center; }
.out h1, .out h2, .out h3, .out h4 { font-family: var(--serif); color: var(--ink); font-size: 21px; margin: 16px 0 8px; line-height: 1.25; }
.out h2:first-child, .out h3:first-child { margin-top: 4px; }
.out p { margin: 0 0 10px; }
.out ul, .out ol { margin: 0 0 10px; padding-left: 22px; }
.out li { margin: 4px 0; }
.out strong { color: var(--ink); }
.out code { font-family: var(--mono); font-size: .9em; background: var(--wash); padding: 1px 6px; border-radius: 6px; }
.out pre { background: var(--wash-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; overflow: auto; }
.out table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14.5px; }
.out th { text-align: left; font-weight: 600; color: var(--ink); background: var(--wash); padding: 8px 10px; }
.out td { padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.out .v-voldoet { color: var(--good); background: var(--good-soft); }
.out .v-aandacht { color: var(--warn); background: var(--warn-soft); }
.out .v-blokkerend { color: var(--bad); background: var(--bad-soft); }
.out .verdict { display: inline-block; font-weight: 700; font-size: 13px; padding: 3px 9px; border-radius: 999px; }
.out .cursor { display: inline-block; width: 9px; height: 1.1em; vertical-align: -3px; background: var(--sky-bright); animation: pulse .9s infinite; margin-left: 2px; }
.run footer { display: flex; gap: 18px; padding: 10px 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Skill anatomy */
.anatomy { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; flex: 1; min-height: 0; }
.file { background: var(--navy); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.file header { display: flex; gap: 10px; align-items: center; padding: 14px 20px; background: rgba(255, 255, 255, .06); color: #bae6fd; font-family: var(--mono); font-size: 15px; }
.file header i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.file pre { margin: 0; padding: 20px 24px; overflow: hidden; font: 14.5px/1.6 var(--mono); color: #e0f2fe; white-space: pre-wrap; flex: 1; }
.file pre .fm { color: #7dd3fc; }
.file pre .h { color: #fff; font-weight: 700; }
.notes-list { display: grid; gap: 16px; align-content: start; }
.notes-list .card { padding: 20px 24px; gap: 6px; }
.notes-list .card p { font-size: 18px; }

/* Chrome: progress, counter, speaker notes */
.progress { position: absolute; left: 0; bottom: 0; height: 5px; background: var(--sky-bright); transition: width .4s ease; z-index: 5; }
.footer { position: absolute; left: 112px; right: 112px; bottom: 34px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--muted); z-index: 5; pointer-events: none; }
.footer .mini { height: 22px; color: var(--ink); }

.slide.section ~ .footer, .on-dark .footer { color: #7dd3fc; }
.stage.on-dark .footer .mini { color: #fff; }
.stage.on-dark .footer { color: #7dd3fc; }

.presenter { position: fixed; right: 20px; bottom: 20px; width: 460px; max-height: 60vh; overflow: auto; background: rgba(2, 6, 23, .94); color: #e2e8f0; border-radius: 16px; padding: 18px 20px; font-size: 15px; line-height: 1.55; z-index: 50; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.presenter .who { font-weight: 700; color: #7dd3fc; margin-bottom: 4px; }
.presenter .time { float: right; color: #94a3b8; font-variant-numeric: tabular-nums; }
.presenter ul { padding-left: 18px; margin: 8px 0 0; }
.help { position: fixed; left: 20px; bottom: 8px; color: #64748b; font-size: 12px; z-index: 40; transition: opacity 1s; }
.help.fade { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide.active { transition: none; transform: none; }
  .live-badge i, .state.busy i, .out .cursor, .trace .ev { animation: none; }
}
.notes { display: none; }

/* ============ Moments ============ */
.moment-grid { display: grid; grid-template-columns: 560px 1fr; gap: 56px; flex: 1; min-height: 0; }
.ask { display: flex; flex-direction: column; gap: 20px; min-height: 0; }
.ask h2 { font-size: 46px; line-height: 1.14; }
.join { display: flex; gap: 24px; align-items: center; background: var(--wash); border-radius: 20px; padding: 18px; }
.qr { width: 164px; height: 164px; background: #fff; border-radius: 12px; padding: 8px; flex: none; display: grid; place-items: center; }
.qr svg, .qr img { width: 100%; height: 100%; display: block; }
.join-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.join-text strong { font-family: var(--mono); font-size: 18px; color: var(--navy); word-break: break-all; }
.count { font-size: 20px; color: var(--ink-2); margin-top: 8px; }
.count b { font-family: var(--serif); font-size: 52px; color: var(--sky); font-variant-numeric: tabular-nums; margin-right: 6px; display: inline-block; transition: transform .25s; }
.count b.bump { transform: scale(1.15); }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 250px 1fr 30px; align-items: center; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.bars .bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.moment-hint { font-size: 16px; font-weight: 600; color: var(--sky); margin: -8px 0 0; }
.moment-hint:empty { display: none; }
.bar .track { height: 14px; background: var(--wash-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.bar .track i { display: block; height: 100%; background: var(--sky); border-radius: 999px; transition: width .6s ease; }
.bar b { font-variant-numeric: tabular-nums; text-align: right; color: var(--ink); }
.moment-actions { display: flex; gap: 12px; margin-top: auto; }
.btn.ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--wash-2); }

.board { border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px 34px; display: flex; flex-direction: column; gap: 16px; min-height: 0; overflow: hidden; }
.board-empty { margin: auto; text-align: center; display: grid; gap: 16px; justify-items: center; color: var(--muted); font-size: 19px; max-width: 420px; }
.board .working { margin: auto; display: grid; gap: 18px; justify-items: center; text-align: center; }
.board .working .orb { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7dd3fc, var(--sky)); animation: breathe 1.6s ease-in-out infinite; }
.board .working p { font-size: 19px; color: var(--ink-2); }
@keyframes breathe { 50% { transform: scale(.82); opacity: .7; } }
.board .headline { font-family: var(--serif); font-weight: 700; font-size: 32px; line-height: 1.18; color: var(--ink); text-wrap: balance; }
.followup { margin-top: auto; display: flex; gap: 20px; align-items: center; background: var(--navy); color: #fff; border-radius: 18px; padding: 16px 20px; flex: none; }
.followup div { flex: 1; }
.followup .tag { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #7dd3fc; }
.followup p { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.3; margin-top: 4px; }
.followup small { display: block; color: #bae6fd; font-size: 14px; margin-top: 4px; }
.followup .btn { background: #fff; color: var(--navy); box-shadow: none; }
.board .trace { padding: 0; }
.reveal { animation: rise .6s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ============ Sidekick ============ */
:root { --sk-w: 460px; }
.viewport { right: 0; transition: right .3s ease; }
body.sk-open .viewport { right: var(--sk-w); }
.sk-trigger {
  position: fixed; right: 22px; top: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px var(--sans); color: #fff; background: var(--navy); border: 1px solid rgba(125, 211, 252, .35); border-radius: 999px; padding: 11px 16px 11px 14px; cursor: pointer;
  box-shadow: 0 12px 30px -10px rgba(8, 47, 73, .6); transition: opacity .2s, transform .2s;
}
.sk-trigger:hover { transform: translateY(-1px); }
.sk-trigger kbd { font: 600 12px var(--sans); color: #7dd3fc; background: rgba(255, 255, 255, .08); border-radius: 6px; padding: 2px 6px; }
.sk-trigger svg { width: 18px; height: 18px; }
body.sk-open .sk-trigger { opacity: 0; pointer-events: none; }
.sk-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: var(--sk-w); z-index: 70; background: #fff; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; font-family: var(--sans); color: var(--ink);
}
body.sk-open .sk-panel { transform: none; }
.sk-resize { position: absolute; left: -4px; top: 0; bottom: 0; width: 8px; cursor: col-resize; }
.sk-resize:hover, .sk-resize.drag { background: linear-gradient(90deg, transparent 3px, var(--sky-bright) 3px 5px, transparent 5px); }
.sk-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.sk-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #7dd3fc; display: grid; place-items: center; flex: none; }
.sk-mark svg { width: 18px; height: 18px; }
.sk-title { flex: 1; min-width: 0; }
.sk-title strong { display: block; font-family: var(--serif); font-size: 19px; }
.sk-title span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-icon { width: 34px; height: 34px; border-radius: 9px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.sk-icon:hover { background: var(--wash-2); color: var(--ink); }
.sk-icon svg { width: 18px; height: 18px; }
.sk-context { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-bottom: 1px solid var(--line); background: var(--wash-2); font-size: 13px; color: var(--muted); }
.sk-context b { color: var(--navy); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-tabs { display: flex; gap: 4px; padding: 8px 16px 0; border-bottom: 1px solid var(--line); }
.sk-tabs[hidden] { display: none; }
.sk-tabs button { font: 600 14px var(--sans); color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 10px 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.sk-tabs button.on { color: var(--navy); border-bottom-color: var(--sky-bright); }
.sk-tabs button span:not(:empty) { font-size: 12px; color: #fff; background: var(--sky); border-radius: 999px; padding: 1px 7px; }
.sk-panel.fb-mode .sk-body, .sk-panel.fb-mode .sk-foot { display: none; }
.sk-fb { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.sk-fb[hidden] { display: none; }
.sk-fb-list { flex: 1; overflow-y: auto; padding: 18px 20px 8px; display: flex; flex-direction: column; gap: 12px; }
.sk-fb-empty { font-size: 14.5px; color: var(--muted); }
.sk-note { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 12px 14px; background: #fff; }
.sk-note-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sk-note-head b { color: var(--navy); }
.sk-note-head .sk-icon { margin-left: auto; width: 28px; height: 28px; }
.sk-note-head .sk-icon svg { width: 15px; height: 15px; }
.sk-note p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin-top: 4px; white-space: pre-wrap; }
.sk-fb-all { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 20px; border-top: 1px solid var(--line); background: var(--wash-2); }
.sk-fb-all:empty { display: none; }
.sk-fb-all span { font-size: 12.5px; color: var(--muted); margin-right: 4px; flex-basis: 100%; }
.sk-fb-all button { font: 600 13px var(--sans); color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; cursor: pointer; display: inline-flex; gap: 5px; align-items: baseline; }
.sk-fb-all button i { font-style: normal; font-size: 11px; color: var(--sky); }
.sk-fb-all button.on { border-color: var(--sky-bright); background: var(--wash); }
.sk-fb-foot { padding: 12px 16px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.sk-fb-name { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sk-fb-name input { flex: 1; font: 14px var(--sans); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.sk-fb-foot .sk-hint { margin-top: 0; }
.sk-body { flex: 1; overflow-y: auto; padding: 18px 20px 8px; display: flex; flex-direction: column; gap: 16px; }
.sk-hello { padding-top: 10px; }
.sk-hello h3 { font-size: 24px; margin-bottom: 6px; }
.sk-hello p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.sk-msg.user { align-self: flex-end; max-width: 88%; background: var(--sky); color: #fff; border-radius: 16px 16px 4px 16px; padding: 10px 14px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.sk-msg.ai { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.sk-msg.ai .out { padding: 0; font-size: 15px; overflow: visible; }
.sk-steps { display: grid; gap: 4px; margin-bottom: 8px; }
.sk-step { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sk-step::before { content: '›'; color: var(--sky-bright); font-weight: 700; }
.sk-step b { color: var(--navy); font-weight: 600; }
.sk-step.mcp b { color: var(--good); }
.sk-step.err { color: var(--bad); }
.sk-thinking { display: inline-flex; gap: 5px; padding: 6px 0; }
.sk-thinking i { width: 7px; height: 7px; border-radius: 50%; background: var(--sky-bright); animation: pulse 1s infinite; }
.sk-thinking i:nth-child(2) { animation-delay: .15s; }
.sk-thinking i:nth-child(3) { animation-delay: .3s; }
.sk-meta { font-size: 12px; color: #94a3b8; margin-top: 6px; font-variant-numeric: tabular-nums; }
.sk-foot { padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.sk-input { display: flex; align-items: flex-end; gap: 8px; border: 1px solid var(--line); border-radius: 16px; padding: 8px 8px 8px 14px; background: var(--wash-2); transition: border-color .2s, box-shadow .2s; }
.sk-input:focus-within { border-color: var(--sky-bright); box-shadow: 0 0 0 4px rgba(14, 165, 233, .12); background: #fff; }
.sk-input textarea { flex: 1; border: 0; background: none; resize: none; outline: none; font: 15px/1.45 var(--sans); color: var(--ink); max-height: 160px; padding: 6px 0; }
.sk-send { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--sky); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.sk-send:disabled { opacity: .4; cursor: default; }
.sk-send.stop { background: var(--navy); }
.sk-send svg { width: 18px; height: 18px; }
.sk-hint { font-size: 11.5px; color: #94a3b8; margin-top: 8px; text-align: center; }

.keybox { position: fixed; left: 50%; top: 24px; transform: translateX(-50%); z-index: 90; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 10px 10px 16px; box-shadow: var(--shadow); font-family: var(--sans); }
.keybox label { font-size: 14px; font-weight: 600; }
.keybox input { font: 15px var(--sans); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.keybox .btn { min-height: 42px; font-size: 15px; }

.sk-msg .out table { display: block; overflow-x: auto; }
.sk-msg .out th, .sk-msg .out td { min-width: 90px; }
.composer .btn { align-self: center; }

/* ============ Presenter view (?presenter) ============ */
body.presenter-mode .viewport { right: 46%; }
body.presenter-mode .sk-trigger, body.presenter-mode .help { display: none; }
.pv { position: fixed; top: 0; right: 0; bottom: 0; width: 46%; background: #0b1220; color: #e2e8f0; padding: 28px 32px; display: flex; flex-direction: column; gap: 18px; font-family: var(--sans); overflow: auto; }
.pv-top { display: flex; gap: 24px; align-items: baseline; font-variant-numeric: tabular-nums; }
.pv-clock { font-family: var(--serif); font-size: 44px; font-weight: 700; color: #fff; }
.pv-elapsed, .pv-pos { color: #7dd3fc; font-size: 16px; }
.pv-now { font-family: var(--serif); font-size: 26px; font-weight: 700; color: #fff; }
.pv-notes { font-size: 19px; line-height: 1.55; color: #cbd5e1; }
.pv-notes b { display: block; color: #7dd3fc; font-size: 15px; margin-bottom: 6px; }
.pv-next { margin-top: auto; font-size: 16px; color: #94a3b8; border-top: 1px solid #1e293b; padding-top: 14px; }
.pv-help { font-size: 12px; color: #64748b; margin: 0; }
body.presenter-mode .viewport { transition: none; }
.shot-big { max-height: 500px; }
.shot-big img { object-fit: cover; object-position: top; }
.stage.on-dark .footer .mini path:last-child { fill: #7dd3fc; }

/* ============ Jev slide ============ */
.jev { display: grid; grid-template-columns: 1fr 470px; gap: 24px; flex: 1; min-height: 0; }
.jev-table header .sub { max-width: 560px; }
.jev-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.jev-scroll table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.jev-scroll th { position: sticky; top: 0; z-index: 1; background: #fff; text-align: left; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 9px; border-bottom: 1px solid var(--line); }
.jev-scroll td { padding: 7px 9px; border-bottom: 1px solid #f1f5f9; color: var(--ink-2); white-space: nowrap; height: 40px; }
.jev-scroll td:first-child { color: var(--ink); font-weight: 500; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.jev-scroll .num { text-align: right; }
.jev-scroll .c { text-align: center; }
.jev-scroll tr.doubt td { background: #fffbeb; }
.jev-empty { text-align: center; color: #94a3b8; padding: 40px !important; }
.jev-wait { display: inline-block; width: 70px; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #f1f5f9, #e2e8f0, #f1f5f9); background-size: 200% 100%; animation: jev-shimmer 1.2s linear infinite; }
@keyframes jev-shimmer { to { background-position: -200% 0; } }
tr.fresh [data-intent], tr.fresh [data-place], tr.fresh [data-stage] { animation: rise .35s ease both; }
.jev-pill { display: inline-flex; align-items: baseline; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--navy); background: var(--sky-soft); border-radius: 999px; padding: 3px 10px; }
.jev-pill i { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--sky); }
.jev-pill.doubt { background: var(--warn-soft); color: var(--warn); }
.jev-pill.doubt i { color: var(--warn); }
.jev-alt { font-size: 12.5px; color: var(--warn); margin-left: 6px; }
.jev-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--good); }
.jev-meter { display: inline-flex; gap: 3px; vertical-align: middle; }
.jev-meter i { width: 14px; height: 8px; border-radius: 3px; background: #e2e8f0; }
.jev-meter i.on { background: var(--sky-bright); }
.jev-table footer { display: flex; justify-content: space-between; gap: 12px; padding: 10px 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); background: var(--wash-2); }
.jev-table footer button { font: inherit; color: var(--sky); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.jev-side { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.jev-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jev-kpis div { background: var(--navy); color: #fff; border-radius: 16px; padding: 12px 16px; }
.jev-kpis b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.jev-kpis span { font-size: 13px; color: #7dd3fc; }
.jev-bars { flex: none; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.jev-bars h4, .jev-chances h4 { font-family: var(--serif); font-size: 20px; margin: 0 0 10px; }
.jev-bars h4 span, .jev-chances h4 span { display: block; font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
#jev-bars { display: grid; gap: 2px; }
.jev-bar { display: grid; grid-template-columns: 88px 1fr 56px 78px; column-gap: 10px; align-items: center; text-align: left; font: inherit; background: none; border: 1px solid transparent; border-radius: 10px; padding: 3px 8px; cursor: pointer; }
.jev-bar:hover { background: var(--wash-2); }
.jev-bar.on { border-color: var(--sky-bright); background: var(--wash); }
.jev-bar .lbl { font-size: 15px; font-weight: 600; color: var(--ink); }
.jev-bar .track { height: 12px; border-radius: 6px; background: #f1f5f9; overflow: hidden; }
.jev-bar .fill { display: block; height: 100%; border-radius: 6px; background: var(--sky-bright); transition: width .4s ease; }
.jev-bar .val { font-size: 14px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.jev-bar .ctr { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.jev-chances { flex: 1; min-height: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow); }
.jev-chances button { all: unset; display: block; width: 100%; cursor: pointer; }
.jev-chances button:disabled { cursor: default; }
.jev-chances button.on h4 { color: var(--sky); }
.jev-chances ol { margin: 0; padding-left: 22px; display: grid; gap: 4px; font-size: 15px; }
.jev-chances li b { display: block; font-weight: 600; }
.jev-chances li span { color: var(--muted); font-size: 13px; }
.jev-chances li.jev-hint { list-style: none; margin-left: -22px; }
.jev-doubt { display: flex; align-items: center; gap: 14px; text-align: left; font: inherit; background: var(--warn-soft); border: 1px solid #fcd34d; border-radius: 16px; padding: 12px 18px; cursor: pointer; color: var(--warn); }
.jev-doubt:disabled { opacity: .5; cursor: default; }
.jev-doubt.on { box-shadow: 0 0 0 3px rgba(180, 83, 9, .25); }
.jev-doubt b { font-family: var(--serif); font-size: 34px; line-height: 1; }
.jev-doubt span { font-size: 14.5px; font-weight: 600; }
.jev-hint { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ============ Moment result board ============ */
.board .tag { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.board .room .headline { font-size: 30px; margin-bottom: 8px; }
.room small { font-size: 13px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair > div { background: var(--wash-2); border-radius: 16px; padding: 14px 16px; }
.pair p { font-size: 15px; line-height: 1.45; color: var(--ink-2); margin: 0; }
.world .stat { font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.world small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.world small.scope { margin-top: 2px; font-style: italic; }

/* ============ Sheets made by the Sidekick ============ */
.slide.gen { padding-top: 72px; }
.gen-head { margin-bottom: 22px; }
.gen-head .eyebrow { margin-bottom: 12px; }
.gen-head h2 { font-size: 48px; }
.gen-body.out { flex: 1; min-height: 0; overflow: auto; padding: 0; font-size: 19px; line-height: 1.5; }
.gen-body.two { column-count: 2; column-gap: 56px; }
.gen-body.two > * { break-inside: avoid; }
.gen-body h2, .gen-body h3 { font-size: 1.25em; margin: .8em 0 .35em; }
.gen-body h2:first-child, .gen-body h3:first-child { margin-top: 0; }
.gen-body table { font-size: .9em; }
.gen-body td, .gen-body th { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gen-body pre { white-space: pre-wrap; }
.gen-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; color: #94a3b8; }
.gen-foot button { font: inherit; color: #94a3b8; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.gen-foot button:hover { color: var(--bad); }

/* ============ Client logos ============ */
.brandline .brand-logo { display: block; width: auto; }
.brandline .brand-logo.eztat { height: 44px; }
.brandline .brand-logo.bufr { height: 34px; }
.footer-left { display: flex; align-items: center; gap: 12px; }
.brand-slot { display: flex; align-items: center; gap: 10px; }
.brand-slot i { font-style: normal; color: var(--sky-bright); font-size: 15px; }
.brand-slot img { height: 22px; width: auto; display: block; }
.brand-slot img[alt="bufr"] { height: 17px; }
.stage.on-dark .brand-slot img { filter: brightness(0) invert(1); }

/* ============ Content Intelligence slide ============ */
.ci { display: grid; grid-template-columns: 520px 1fr; gap: 28px; flex: 1; min-height: 0; }
.ci[hidden], .ci-fallback[hidden] { display: none; }
.ci-left { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.ci-form { display: grid; gap: 8px; }
.ci-form label { font-size: 14px; font-weight: 600; color: var(--muted); }
.ci-form input, .ci-form textarea { font: 16px/1.45 var(--sans); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--wash-2); resize: none; width: 100%; }
.ci-form input:focus, .ci-form textarea:focus { outline: none; border-color: var(--sky-bright); background: #fff; }
.ci-chips { margin: 2px 0 0; }
.ci-chips .chip { font-size: 13.5px; padding: 6px 12px; }
.ci-actions { display: flex; gap: 10px; margin-top: 4px; }
.ci-actions .btn { min-height: 46px; font-size: 16px; }
.ci-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ci-steps li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; font-size: 14px; color: var(--muted); padding: 6px 10px; border-radius: 10px; }
.ci-steps li::before { content: ''; grid-row: span 2; width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; border: 2px solid #cbd5e1; }
.ci-steps li b { color: var(--ink-2); font-weight: 600; }
.ci-steps li span { grid-column: 2; font-size: 13px; }
.ci-steps li.busy { background: var(--wash); }
.ci-steps li.busy::before { border-color: var(--sky-bright); background: var(--sky-bright); animation: pulse 1s ease-in-out infinite; }
.ci-steps li.done::before { border-color: var(--good); background: var(--good); }
.ci-right { display: flex; flex-direction: column; min-height: 0; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.ci-status { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--wash-2); border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.ci-status #ci-time { font-variant-numeric: tabular-nums; color: var(--sky); font-weight: 600; }
.ci-results { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.ci-hits { display: grid; gap: 8px; }
.ci-hit { display: grid; grid-template-columns: 1fr 160px 44px; gap: 12px; align-items: center; font-size: 15px; }
.ci-hit i { height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--sky-bright) var(--w), #f1f5f9 var(--w)); }
.ci-hit b { text-align: right; font-variant-numeric: tabular-nums; color: var(--sky); }
.ci-judged h4 { font-family: var(--serif); font-size: 17px; margin: 0 0 8px; }
.ci-judged span { display: inline-flex; gap: 6px; align-items: baseline; font-size: 13px; color: var(--muted); background: #f1f5f9; border-radius: 999px; padding: 3px 10px; margin: 0 6px 6px 0; }
.ci-judged span.yes { background: var(--good-soft); color: var(--good); }
.ci-judged span b { font-variant-numeric: tabular-nums; }
.ci-prop { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; animation: rise .4s ease both; }
.ci-prop header { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ci-prop header strong { font-family: var(--serif); font-size: 17px; color: var(--navy); }
.ci-prop header span { font-size: 12px; color: #94a3b8; }
.ci-prop .sum { font-size: 14px; color: var(--muted); margin: 4px 0 8px; }
.ci-diff { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); background: var(--wash-2); border-radius: 10px; padding: 10px 12px; white-space: pre-wrap; }
.ci-diff ins { background: var(--good-soft); color: var(--good); text-decoration: none; border-radius: 3px; }
.ci-diff del { background: var(--bad-soft); color: var(--bad); border-radius: 3px; }

/* ============ Cover: Werksessie AI, Talq Slides ============ */
.slide.cover { align-items: center; justify-content: center; text-align: center; }
.cover-main { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cover-main .eyebrow { margin-bottom: 28px; }
.cover-main h1 { font-size: 150px; line-height: 1; }
.cover-logos { display: flex; align-items: center; gap: 56px; margin-top: 88px; }
.cover-logos img { display: block; width: auto; }
.cover-logos .eztat { height: 96px; }
.cover-logos .bufr { height: 56px; }
.cover-logos i { width: 1px; height: 72px; background: var(--line); }
.powered { position: absolute; left: 0; right: 0; bottom: 96px; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.powered small { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Talq Slides logo: the Talq mark with a green "Slides" label in the colour of its dot. */
.talq-slides { --h: 40px; display: inline-flex; align-items: flex-end; color: var(--navy); }
.talq-slides .ts-talq { display: inline-flex; }
.talq-slides .ts-talq svg { height: var(--h); width: auto; display: block; }
.talq-slides .ts-word { font: 700 calc(var(--h) * 0.41)/1 var(--sans); margin-left: calc(var(--h) * 0.32); padding: calc(var(--h) * 0.16) calc(var(--h) * 0.28) calc(var(--h) * 0.18); border-radius: 999px; background: #7dcf00; color: var(--navy); transform: translateY(calc(var(--h) * -0.14)); }
.on-dark .talq-slides, .dark .talq-slides { color: #fff; }
.band strong { white-space: nowrap; }

/* ============ Clarifying questions (reverse prompting) ============ */
.ask-slot:empty { display: none; }
.run.asking .out { display: none; }
.run.asking .ask-slot { flex: 1; min-height: 0; overflow-y: auto; }
.ask-slot { flex: none; padding: 0 22px 18px; }
.ask-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 16px 20px 14px; }
.ask-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.ask-steps { display: flex; gap: 6px; }
.ask-steps i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); }
.ask-steps i.done { background: #93c5fd; }
.ask-steps i.on { background: var(--sky); }
.ask-q { font-size: 19px; font-weight: 600; color: var(--ink); margin: 8px 0 2px; line-height: 1.35; }
.ask-hint { font-size: 13px; color: var(--muted); margin: 0; }
.ask-opts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin-top: 10px; }
.ask-opts button, .ask-other { display: flex; align-items: flex-start; gap: 12px; text-align: left; font: inherit; background: none; border: 0; border-top: 1px solid #f1f5f9; padding: 10px 0; cursor: pointer; }
.ask-opts .mark { flex: none; width: 16px; height: 16px; margin-top: 3px; border: 1.5px solid #cbd5e1; border-radius: 50%; }
.ask-opts.multi .mark { border-radius: 4px; }
.ask-opts .on .mark { border-color: var(--sky); background: var(--sky); box-shadow: inset 0 0 0 3px #fff; }
.ask-opts.multi .on .mark { box-shadow: none; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; }
.ask-opts .txt { display: grid; gap: 1px; }
.ask-opts .txt b { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.ask-opts .on .txt b { color: var(--ink); }
.ask-opts .txt span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.ask-other input { flex: 1; font: 15px var(--sans); color: var(--ink); border: 0; background: none; outline: none; padding: 0; }
.ask-other input::placeholder { color: #94a3b8; }
.ask-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.ask-nav { display: flex; gap: 16px; font-size: 14px; color: var(--muted); }
.ask-nav button { font: 600 14px var(--sans); color: var(--sky); background: none; border: 0; padding: 0; cursor: pointer; }
.ask-nav button:disabled { color: #cbd5e1; cursor: default; }
.ask-foot .btn { min-height: 38px; font-size: 15px; padding: 0 20px; }
.ask-card.sent { padding: 10px 20px; background: var(--wash-2); border-color: transparent; }
.ask-sent { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 13.5px; color: var(--muted); }
.ask-sent b { color: var(--ink-2); font-weight: 600; margin-right: 4px; }

/* ============ Builds: revealed step by step ============ */
.build { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
svg .build { transform: none; }
.build.in { opacity: 1; transform: none; }
.dayparts { gap: 28px; }
.dayparts .card h3 { margin: 6px 0 10px; }
.block-steps { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 26px 0 10px; }
.aiact .card h3 { font-size: 22px; margin: 4px 0 8px; }
.aiact .card p { font-size: 16px; line-height: 1.45; }
.source-line { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* /v2: a live slide shows the problem and a large prompt field; the Sidekick does the rest (v2.js) */
body.v2 [data-live] .runs,
body.v2 [data-live] .ask-slot,
body.v2 [data-live] .composer .btn,
body.v2 .moment [data-analyse],
body.v2 .moment [data-board] { display: none; }
body.v2 .moment-grid { grid-template-columns: 1fr; }
body.v2 [data-live] .composer { flex: 1; min-height: 0; position: relative; }
body.v2 [data-live] .composer textarea { font-size: 26px; line-height: 1.5; padding: 32px 36px 96px; background: #fff; box-shadow: var(--shadow); }
.v2-actions { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 12px; align-items: center; }
.v2-send { width: 54px; height: 54px; }
.v2-send svg { width: 26px; height: 26px; }
.v2-fill { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.v2-fill:hover { border-color: var(--sky-bright); color: var(--sky); }
.v2-fill svg { width: 22px; height: 22px; }
.sk-ask { margin: 6px 0 10px; }
body.v2 [data-live] #data-chips { margin-bottom: 28px; }

/* Sheets made by the Sidekick lie below their slide: a small hint on the slide above them */
.down-hint { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 5; font-size: 14px; font-weight: 600; color: var(--sky); background: var(--sky-soft); border-radius: 999px; padding: 6px 14px; animation: down-hint 1.6s ease-in-out infinite; }
.down-hint[hidden] { display: none; }
@keyframes down-hint { 50% { transform: translate(-50%, 4px); } }
@media (prefers-reduced-motion: reduce) { .down-hint { animation: none; } }

/* Anonymise first (anon.js): the result lies over the prompt field, same font and padding */
.anon-composer { position: relative; }
.anon-view { position: absolute; inset: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; font: 18px/1.5 var(--sans); color: var(--ink); white-space: pre-wrap; overflow: auto; cursor: text; }
body.v2 .anon-view { font-size: 26px; padding: 32px 36px 96px; box-shadow: var(--shadow); }
.anon-composer:not(:has(.v2-actions)) .anon-view { right: 180px; }
.anon-view[hidden] { display: none; }
mark.pii { background: #fde68a; color: var(--ink); border-radius: 6px; padding: 0 3px; transition: background .3s, color .3s; }
mark.pii.masked { background: var(--navy); color: #fff; font-family: var(--mono); font-size: .85em; }
.anon-stats { margin: 12px 0 0; font-size: 16px; color: var(--muted); min-height: 1.4em; }
.v2-actions { z-index: 2; }

/* /v2 Content Intelligence: a single paste field instead of the form */
.v2-ci > label, .v2-ci #ci-title, .v2-ci .ci-row, .v2-ci .ci-chips, .v2-ci .ci-actions { display: none; }
.v2-ci-field { position: relative; margin: 0; }
.v2-ci-field textarea { font-size: 20px !important; line-height: 1.5 !important; padding: 22px 24px 88px !important; background: #fff !important; box-shadow: var(--shadow); min-height: 420px; }

/* Overview (O): all slides as thumbnails */
.overview { position: fixed; inset: 0; z-index: 50; background: rgba(8, 47, 73, .96); overflow: auto; padding: 32px 24px; }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); gap: 22px 18px; max-width: 1800px; margin: 0 auto; }
.ov-cell { all: unset; cursor: pointer; display: grid; gap: 8px; }
.ov-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #fff; outline: 2px solid transparent; transition: outline-color .15s, transform .15s; }
.ov-cell:hover .ov-frame { outline-color: var(--sky-bright); transform: translateY(-2px); }
.ov-cell.on .ov-frame { outline: 3px solid var(--sky-bright); }
.ov-cell.gen .ov-frame { margin-left: 14px; }
.ov-copy { position: absolute !important; left: 0; top: 0; width: 1600px; height: 900px; transform: scale(var(--ov-scale, .16)) !important; transform-origin: top left; opacity: 1 !important; visibility: visible !important; transition: none !important; pointer-events: none; }
.ov-label { color: #e0f2fe; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-cell.gen .ov-label { padding-left: 14px; color: #7dd3fc; }

.toast { position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 60; background: var(--navy); color: #fff; font-size: 15px; font-weight: 500; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow); }

/* Slide 11: the FRYSK rebuild, live in a browser frame */
.speed { display: grid; grid-template-columns: 1fr 760px; gap: 48px; flex: 1; min-height: 0; align-items: start; }
.browser { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #fff; display: flex; flex-direction: column; height: 100%; max-height: 700px; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--wash-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.browser-bar a { margin-left: 12px; font: 14px var(--mono); color: var(--sky); text-decoration: none; }
.browser-view { position: relative; flex: 1; overflow: hidden; }
.browser-view iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 1100px; border: 0; transform: scale(.59); transform-origin: top left; }
