/*
 * Cobalt design system for PowerPointer's Blazor Server front-end.
 *
 * Ported faithfully from the static mockups' <style> blocks:
 *   - docs/ux/mockups/components.html (the UI Kit — component states in isolation)
 *   - docs/ux/mockups/screens.html    (the composed app shell + chrome)
 *
 * Class names are kept IDENTICAL to the mockups so the Blazor port is a mechanical
 * 1:1 of the design. This stylesheet is the single source of truth for app chrome.
 */

/* ── tokens ───────────────────────────────────────────────────────────────── */
:root {
  --accent: #2F6BFF;
  --accent2: #7AA2FF;
  --ink: #0E1726;
  --muted: #5C6779;
  --surface: #FFFFFF;
  --bg: #F7F9FC;
  --line: #E4E9F2;
  --soft: #EAF0FF;
  --ok: #15A34A;
  --review: #F59E0B;
  --alert: #FF3B30;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}

/* ── app shell (screens.html) ─────────────────────────────────────────────── */
.app {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(16, 23, 38, .13);
}
.frame { display: flex; }

/* sidebar — global navigation */
.side {
  width: 212px;
  flex: none;
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
}
.brand { display: flex; align-items: center; gap: 9px; padding: 4px 6px 14px; }
.brand .mark { width: 26px; height: 26px; }
.brand .wm { font-weight: 800; font-size: 16px; letter-spacing: -.02em; }
.brand .wm .a { color: var(--accent); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.ni {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}
.ni .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ni.on { background: var(--soft); color: var(--accent); }
.ni.sub { padding-left: 12px; font-weight: 600; }
.ni.sub .pdot { width: 8px; height: 8px; border-radius: 50%; background: #C6D0DF; }
.ni.sub.on .pdot { background: var(--accent); }
.nsec { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9aa6b8; padding: 14px 11px 5px; }
.ni.foot { margin-top: auto; }

/* main column */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bar {
  min-height: 58px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
}
.bar.editorbar { gap: 12px; flex-wrap: wrap; padding: 10px 18px; }
.bar.editorbar .cost { margin-left: auto; }
.bar.editorbar .crumb { flex: 1; min-width: 210px; }

.crumb { color: var(--muted); font-size: 13px; font-weight: 600; }
.crumb b { color: var(--ink); }
.crumb .sep { margin: 0 8px; color: #c2cad6; }

.cost {
  font: 12.5px ui-monospace, Menlo, monospace;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  margin-left: auto;
}
.cost.warn { color: #B45309; background: #FFF4E0; border-color: #F9D695; }

/* screen region */
.screen { flex: 1; display: flex; gap: 16px; padding: 16px; background: var(--bg); position: relative; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.phead {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phead .sub { font-weight: 600; color: var(--muted); font-size: 12px; }
.phead .acc { color: var(--accent); font-weight: 700; font-size: 12.5px; }

/* ── stage stepper — governed within-deck navigation ──────────────────────── */
.stepper { display: flex; align-items: center; min-width: 0; flex-wrap: wrap; row-gap: 6px; }
.stg {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}
.stg .dn {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  border: 1.6px solid currentColor;
}
.stg.on { background: var(--soft); color: var(--accent); }
.stg.on .dn { background: var(--accent); color: #fff; border-color: var(--accent); }
.stg.done { color: var(--ok); cursor: pointer; }
.stg.done .dn { background: var(--ok); color: #fff; border-color: var(--ok); }
.stg.done:hover { background: #EAF8EF; }
.stg.future { color: #A7B0C0; background: transparent; cursor: not-allowed; opacity: .72; }
.stg.future .dn { background: #F1F4F8; color: #A7B0C0; border-color: #D7DEE9; }
.stsep { width: 24px; height: 1.6px; background: var(--line); }
.reopen { font-size: 11.5px; color: var(--accent); font-weight: 700; margin-left: 2px; }

/* ── chat ─────────────────────────────────────────────────────────────────── */
.msgs { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 13px; }
.evt {
  align-self: center;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
.evt b { color: var(--ok); }
.evt.good { align-self: flex-start; background: #E9F7EE; border-color: #BFE6CC; color: #15803d; }
.row { display: flex; gap: 10px; max-width: 90%; }
.row.me { align-self: flex-end; flex-direction: row-reverse; }
.av {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
}
.av.you { background: var(--ink); }
.av.bot2 { background: var(--accent2); }
.bub { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.row.me .bub { background: var(--soft); border-color: #CFE0FF; }
.who { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.think { display: inline-flex; gap: 5px; align-items: center; padding: 6px 4px; }
.think i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.2s infinite; }
.think i:nth-child(2) { animation-delay: .2s; }
.think i:nth-child(3) { animation-delay: .4s; }

/* ── inline action card — agent-surfaced transition prompt ─────────────────── */
.actcard { border: 1px solid #CFE0FF; background: #F4F8FF; border-radius: 12px; padding: 13px 15px; max-width: 460px; }
.actcard .at { font-weight: 700; font-size: 13.5px; }
.actcard p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.acts { display: flex; gap: 8px; margin-top: 11px; }

/* ── composer (attach · input · send) ─────────────────────────────────────── */
.composer { border-top: 1px solid var(--line); padding: 12px; display: flex; gap: 9px; }
.composer .inp { flex: 1; border: 1px solid #D3DAE6; border-radius: 9px; padding: 0 13px; height: 42px; display: flex; align-items: center; color: var(--muted); }
.send {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 0 16px;
  height: 42px;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.attach { border: 1px solid #D3DAE6; background: #fff; border-radius: 9px; padding: 0 13px; height: 42px; display: flex; align-items: center; color: var(--muted); font-weight: 600; }

/* ── slide rail ───────────────────────────────────────────────────────────── */
.rail { width: 360px; flex: none; }
.srow { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 10px; }
.srow.active { background: var(--soft); box-shadow: inset 3px 0 0 var(--accent); }
.snum { width: 16px; color: var(--muted); font: 12px ui-monospace, monospace; }
.sttl { flex: 1; font-weight: 600; }
.sstate { font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.pulse { background: var(--review); animation: pulse 1.1s infinite; }
.spin { width: 14px; height: 14px; border: 2px solid var(--soft); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.s-ready { color: var(--ok); }
.s-review { color: var(--review); }
.s-build { color: var(--accent); }
.s-queued { color: var(--muted); }
.s-needs { color: var(--alert); font-weight: 800; }
.needs-pill { background: var(--alert); color: #fff; border-radius: 6px; padding: 2px 7px; font-size: 11px; font-weight: 800; }
.open {
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 800;
  border: 1px solid #CFE0FF;
  background: #F4F8FF;
  border-radius: 999px;
  padding: 3px 8px;
  min-width: 44px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.open:empty { visibility: hidden; }

/* ── outline ──────────────────────────────────────────────────────────────── */
.ol { flex: 1; overflow: auto; padding: 10px; }
.olrow {
  display: flex;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 8px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.olrow:hover { border-color: #CFE0FF; box-shadow: 0 8px 20px rgba(16, 23, 38, .07); transform: translateY(-1px); cursor: pointer; }
.olrow.active { border-color: var(--accent); background: var(--soft); }
.oln { font: 12px ui-monospace, monospace; color: var(--accent); font-weight: 700; }
.olrow b { display: block; }
.olrow span { color: var(--muted); font-size: 12.5px; }
.gate { border-top: 1px solid var(--line); padding: 12px; display: flex; gap: 10px; align-items: center; }
.gate .hint { margin-right: auto; color: var(--muted); font-size: 12.5px; }

/* ── slide editor ─────────────────────────────────────────────────────────── */
.chips { display: flex; gap: 8px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.chip { font-size: 12.5px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 12px; color: var(--muted); font-weight: 600; cursor: pointer; }
.chip.cur { background: var(--accent); border-color: var(--accent); color: #fff; }
.stage { flex: 1; display: flex; gap: 14px; padding: 16px; min-height: 0; }
.canvas { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cap { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.tpanel { width: 380px; flex: none; }

/* templated deck slide — "Board Meeting" deck Style (own palette, distinct from app Cobalt chrome) */
.dslide {
  --p: #15243F;
  width: 100%;
  aspect-ratio: 16/9;
  background: #fff;
  border: 1px solid #D3DAE6;
  border-radius: 11px;
  box-shadow: 0 12px 34px rgba(16, 23, 38, .13);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dslide.mini { box-shadow: 0 4px 14px rgba(16, 23, 38, .1); border-radius: 8px; }
.dslide .band { background: var(--p); color: #fff; padding: 16px 26px; font-weight: 800; font-size: 23px; letter-spacing: -.01em; line-height: 1.12; }
.dslide .band .ac { color: #9DBBF5; }
.dslide .body2 { flex: 1; padding: 18px 26px; display: flex; gap: 26px; align-items: center; }
.dslide .kpi { font-size: 42px; font-weight: 800; color: var(--p); line-height: 1; white-space: nowrap; }
.dslide .kpi small { display: block; font-size: 12px; font-weight: 600; color: #5b6678; margin-top: 7px; }
.dslide .body2 ul { margin: 0; padding-left: 17px; color: #33405a; line-height: 1.65; font-size: 13.5px; }
.dslide .foot { display: flex; justify-content: space-between; align-items: center; padding: 9px 26px; border-top: 1px solid #eef1f6; color: #9aa6b8; font-size: 11px; }
.dslide .foot .lg { width: 14px; height: 14px; opacity: .5; }
.editel { outline: 2px dashed #3E7BFA; outline-offset: 6px; border-radius: 3px; position: relative; }
.editel::before {
  content: "editing";
  position: absolute;
  top: -11px;
  left: -2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
  color: #fff;
  background: #3E7BFA;
  padding: 1px 6px;
  border-radius: 4px;
}

/* ── dashboard ────────────────────────────────────────────────────────────── */
.dash { flex: 1; overflow: auto; padding: 24px; }
.secttl { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; justify-content: space-between; align-items: center; margin: 4px 0 13px; }
.scards { display: flex; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.scard { width: 188px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 15px; }
.scard b { font-size: 14.5px; }
.scard .sw3 { display: flex; gap: 5px; margin-top: 10px; }
.sw3 i { width: 24px; height: 15px; border-radius: 4px; }
.preslist { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pres { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.pres:last-child { border-bottom: 0; }
.pres .nm { font-weight: 600; flex: 1; }
.pres .st { font-size: 12.5px; color: var(--muted); }
.pthumb { width: 54px; aspect-ratio: 16/9; border-radius: 5px; border: 1px solid var(--line); overflow: hidden; flex: none; }
.pthumb .tb { background: #15243F; height: 38%; }

/* ── style screens ────────────────────────────────────────────────────────── */
.spick { flex: 1; padding: 24px; overflow: auto; display: flex; flex-direction: column; }
.pickcards { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 2px; }
.pcard { width: 212px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pcard:hover { border-color: #CFE0FF; box-shadow: 0 10px 24px rgba(16, 23, 38, .08); transform: translateY(-1px); cursor: pointer; }
.pcard.sel { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 107, 255, .16); }
.pcard b { font-size: 15px; }
.pcard .meta { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.pcard .sw3 { display: flex; gap: 5px; margin: 11px 0 2px; }
.radio { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--line); float: right; }
.pcard.sel .radio { border-color: var(--accent); background: radial-gradient(circle at 50% 50%, var(--accent) 0 38%, #fff 42%); }
.pcard.new { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--accent); border: 1px dashed #B9CCF2; background: #FAFCFF; font-weight: 700; text-align: center; gap: 4px; }
.pcard.new .plus { font-size: 24px; line-height: 1; }
.pcard.new .meta { color: var(--accent); font-weight: 600; }
.pickfooter { padding-top: 18px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 20px; background: linear-gradient(#fff, #F9FBFF); }
.spreview { width: 336px; flex: none; }
.spreview.divided { border-left: 4px solid #CFE0FF; box-shadow: -10px 0 24px rgba(47, 107, 255, .05); }
.svbody { overflow: auto; padding: 14px 16px; }
.svsec { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: #9aa6b8; margin: 16px 0 6px; }
.svrow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.svrow:last-child { border-bottom: 0; }
.svrow .k { color: var(--muted); }
.svrow .v { font-weight: 600; text-align: right; }
.swrow { display: flex; gap: 6px; }
.swrow i { width: 24px; height: 24px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, .07); }

/* ── export filmstrip ─────────────────────────────────────────────────────── */
.filmstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 6px; }
.thumb { position: relative; }
.thumb .n { position: absolute; top: 7px; right: 9px; font: 11px ui-monospace, monospace; color: #9aa6b8; z-index: 2; }
.thumb:hover .tslide { border-color: #2F6BFF; box-shadow: 0 14px 30px rgba(16, 23, 38, .16); transform: translateY(-2px); cursor: pointer; }
.tslide {
  aspect-ratio: 16/9;
  background: #fff;
  border: 1px solid #D3DAE6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(16, 23, 38, .09);
  display: flex;
  flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tslide .tband { background: #15243F; color: #fff; font-size: 10px; font-weight: 700; padding: 7px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tslide .tbody { flex: 1; padding: 9px; display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.tslide .tl { height: 4px; border-radius: 2px; background: #E2E8F2; }
.tslide .tl.s { width: 55%; background: #9DBBF5; }
.tslide.cover .tbody { background: linear-gradient(135deg, #15243F 0 42%, #E8EDF6 42%); }
.tslide.cover .tl { background: #9DBBF5; }
.tslide.cover .tl.s { background: #fff; width: 70%; }
.tslide.kpi .tbody { align-items: flex-start; }
.tkpi { font-size: 19px; line-height: 1; font-weight: 800; color: #15243F; }
.tslide.chart .tbody { flex-direction: row; align-items: flex-end; gap: 4px; }
.barv { width: 16%; background: #9DBBF5; border-radius: 3px 3px 0 0; }
.barv:nth-child(1) { height: 34%; }
.barv:nth-child(2) { height: 58%; }
.barv:nth-child(3) { height: 76%; background: #2F6BFF; }
.barv:nth-child(4) { height: 48%; }
.tslide.risk .tbody { background: repeating-linear-gradient(135deg, #fff, #fff 8px, #FFF4E0 8px, #FFF4E0 16px); }
.tslide.ask .tbody { justify-content: center; align-items: center; }
.cta-dot { width: 28px; height: 28px; border-radius: 50%; background: #2F6BFF; box-shadow: 0 0 0 8px #EAF0FF; }
.tslide.table .tbody { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.cell { height: 8px; border-radius: 3px; background: #E2E8F2; }
.cell.h { background: #9DBBF5; }
.tslide.churn .tbody { flex-direction: row; align-items: center; }
.ring { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(#FF3B30 0 72deg, #E2E8F2 72deg); }
.tslide.thanks .tbody { align-items: center; }
.spark { width: 38px; height: 28px; background: linear-gradient(135deg, transparent 42%, #2F6BFF 43% 55%, transparent 56%), linear-gradient(45deg, transparent 42%, #9DBBF5 43% 55%, transparent 56%); }

/* ── gate ─────────────────────────────────────────────────────────────────── */
.gatescreen { flex: 1; display: flex; align-items: center; justify-content: center; }
.gatecard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 36px;
  width: 392px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(16, 23, 38, .08);
}
.gatecard .mark { width: 48px; height: 48px; margin-bottom: 10px; }
.gatecard .inp { border: 1px solid #D3DAE6; border-radius: 10px; height: 46px; display: flex; align-items: center; padding: 0 14px; color: var(--muted); margin: 18px 0 12px; }
.gatecard .gh { color: var(--muted); font-size: 12.5px; margin-top: 14px; }

/* ── modal — governed transition (typed confirm) ──────────────────────────── */
.scrim {
  position: absolute;
  inset: 0;
  background: rgba(14, 23, 38, .46);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}
.modal { background: #fff; border-radius: 14px; width: 452px; padding: 24px; box-shadow: 0 28px 80px rgba(0, 0, 0, .34); }
/* The typed-confirm uses the blue confirm affordance (components.html), not warning amber. */
.modal .mi { width: 40px; height: 40px; border-radius: 10px; background: #EAF0FF; color: var(--accent); display: grid; place-items: center; font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.modal .mi.warn { background: #FFF4E0; color: var(--review); }
.modal h4 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }
.modal p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.modal .mb { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ── status-badge variants ────────────────────────────────────────────────── */
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 5px 9px; border: 1px solid transparent; }
.badge.ready { color: #15803d; background: #E9F7EE; border-color: #BFE6CC; }
.badge.review { color: #B45309; background: #FFF4E0; border-color: #F9D695; }
.badge.build { color: var(--accent); background: var(--soft); border-color: #CFE0FF; }
.badge.queued { color: var(--muted); background: #F1F4F8; border-color: #D7DEE9; }
.badge.needs { color: #fff; background: var(--alert); border-color: var(--alert); }

/* ── buttons ──────────────────────────────────────────────────────────────── */
.btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 9px 15px;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.btn.sm { padding: 8px 13px; font-size: 13px; }
.btn.ghost { background: #EEF3FF; color: var(--accent); border: 1px solid #CFE0FF; }
.btn.dis { background: #E8ECF3; color: #A7B0C0; cursor: not-allowed; }
.btn.warn { background: var(--review); }
.btn.danger { background: var(--alert); }

/* ── inputs ───────────────────────────────────────────────────────────────── */
.inp {
  border: 1px solid #D3DAE6;
  border-radius: 10px;
  padding: 0 14px;
  height: 44px;
  font: inherit;
  font-size: 14.5px;
  min-width: 240px;
  display: flex;
  align-items: center;
  color: var(--muted);
}
.inp.focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 107, 255, .18); color: var(--ink); }

/* ── version chips ────────────────────────────────────────────────────────── */
.chipsep { width: 1px; height: 20px; background: var(--line); display: inline-block; }

/* ── 16:9 reference slide preview (components.html) ───────────────────────── */
.slide {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16/9;
  background: #fff;
  border: 1px solid #D3DAE6;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(16, 23, 38, .12);
  padding: 34px 40px;
  position: relative;
}
.slide h3 { margin: 0; font-size: 28px; letter-spacing: -.02em; line-height: 1.12; }
.slide h3 .a { color: var(--accent); }
.slide ul { margin: 16px 0 0; padding-left: 20px; color: #26324a; line-height: 1.65; font-size: 15px; }
.slide .bar { position: absolute; left: 40px; bottom: 28px; height: 8px; width: 130px; border-radius: 4px; background: var(--accent); }

/* ── keyframes ────────────────────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: .4; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
