/* Generated by scripts/render-art.mjs from landing-src/. Edit the sources there. */
/* core/00-tokens.css */
:root {
  --paper: #f4f4ef;
  --paper-raised: #fbfbf8;
  --paper-sunk: #e7e7e1;
  --paper-btn: #efefe9;
  --tile: #efefe9;
  --ink-rgb: 28 33 29;
  --ink: rgb(var(--ink-rgb) / .86);
  --ink-2: rgb(var(--ink-rgb) / .68);
  /* --ink-3 is the faintest text that still meets AA at small sizes (4.5:1+ on paper and wells);
     --ink-dim is for the faint half of large two-tone headlines only (3.5:1, AA for large text). */
  --ink-3: rgb(var(--ink-rgb) / .64);
  --ink-dim: rgb(var(--ink-rgb) / .54);
  --ink-4: rgb(var(--ink-rgb) / .28);
  --ink-solid: #1c211d;
  --line: rgb(var(--ink-rgb) / .08);
  --line-2: rgb(var(--ink-rgb) / .12);
  --forest: #1f3a2c;
  --forest-2: #2e5843;
  --leaf: #5cc234;
  --live: #9be15d;
  --sky-top: #2f8fe6;
  --sky-bottom: #79bff0;
  --f-text: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --f-pixel: 'Departure Mono', 'Geist Mono', ui-monospace, monospace;
  --f-brand: 'Nunito', ui-rounded, system-ui, sans-serif;
  --r-chip: 4px; --r-btn: 8px; --r-row: 10px; --r-panel: 12px; --r-frame: 16px; --r-outer: 20px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-drawer: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  /* Dayroom's surface finish is pixel UI: crisp 1px bevels and hard 2px drops, never blur or halos. */
  --emboss: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(var(--ink-rgb) / .05);
  --frame-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(31 58 44 / .2), 0 2px 0 1px rgb(18 44 32 / .1);
  --card-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .08), 0 2px 0 rgb(var(--ink-rgb) / .05);
  --wrap: 1100px;
  --gutter: 24px;
  --header-h: 88px;
}
@media (max-width: 475px) { :root { --gutter: 16px; } }
@media (max-width: 999px) { :root { --header-h: 76px; } }

/* Shared notification material, used by the hero and product scenes. */
:root {
  --notification-glass: linear-gradient(rgb(22 69 61 / .6), rgb(22 69 61 / .8));
  --notification-shadow: inset 0 -1px #0000001f, inset 0 -1px 2px #0000001a, inset 0 1px 1px #ffffff3d;
}

/* core/10-base.css */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 440 16px/1.55 var(--f-text); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 420; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg, canvas, video { display: block; max-width: 100%; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid rgb(var(--ink-rgb) / .8); outline-offset: 2px; border-radius: 4px; }
/* Dayroom's supplied Bell-d lockup (art/logo.svg). Each context sets --logo-h. */
.brand-logo { display: block; height: var(--logo-h, 26px); width: auto; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 400; padding: 12px 18px; border-radius: var(--r-btn); background: var(--forest); color: #fff; font-weight: 520; }
.skip:focus { top: 12px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 112px 0; position: relative; }
@media (max-width: 767px) { .section { padding: 88px 0; } }

/* Type */
.eyebrow { font: 400 11px/1.4 var(--f-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.title { font-size: 42px; line-height: 1.12; letter-spacing: -.012em; color: var(--ink); }
.title .dim, .subtitle .dim { color: var(--ink-dim); }
.subtitle { font-size: 36px; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
.lede { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.small { font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 460; }
.mono { font-family: var(--f-mono); }
.pixel { font-family: var(--f-pixel); }
@media (max-width: 899px) { .title { font-size: 36px; } .subtitle { font-size: 32px; } }
@media (max-width: 767px) { .title { font-size: 30px; line-height: 1.15; } .subtitle { font-size: 28px; line-height: 1.15; } }

/* Buttons */
.btn {
  --h: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 16px; border-radius: var(--r-btn); border: 1px solid transparent;
  font: 480 15px/1 var(--f-text); letter-spacing: .01em; white-space: nowrap; position: relative; isolation: isolate;
  transition: transform .14s var(--ease-out), background-color .14s var(--ease-out), box-shadow .2s var(--ease-out), color .14s;
  user-select: none;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn .arrow { display: inline-block; transition: transform .2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(2px); }
/* Glass buttons share the cards' lens edge, with a forest tint for primary actions. */
.btn-dark, .btn-light {
  border-radius: 16px;
  border-color: rgb(255 255 255 / .5);
  background-image: linear-gradient(150deg, rgb(255 255 255 / .22), transparent 48%, rgb(255 255 255 / .06));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .65), inset 0 -1px 0 rgb(10 35 22 / .18), 0 2px 4px rgb(18 44 30 / .1), 0 10px 20px -10px rgb(18 44 30 / .3);
}
.btn-dark { color: #fff; background-color: #234835; }
.btn-light { color: var(--ink-solid); background-color: #edf2eb; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .btn-dark, .btn-light { -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); }
  .btn-dark { background-color: rgb(18 53 34 / .84); }
  .btn-light { background-color: rgb(242 248 240 / .58); }
}
@media (hover: hover) {
  .btn-dark:hover { background-color: rgb(23 64 42 / .92); }
  .btn-light:hover { background-color: rgb(255 255 255 / .76); }
}
.btn-dark:active, .btn-light:active {
  transform: translateY(1px) scale(.985);
  box-shadow: inset 0 1px 2px rgb(10 35 22 / .16), inset 0 -1px 0 rgb(255 255 255 / .4), 0 2px 6px rgb(18 44 30 / .12);
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .btn-dark, .btn-light { background-image: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .btn-dark { background-color: #234835; }
  .btn-light { background-color: #f5f7f3; border-color: #647367; }
}
@media (forced-colors: active) {
  .btn-dark, .btn-light { color: ButtonText; background: ButtonFace; border: 1px solid ButtonText; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (pointer: coarse) { .btn { --h: 44px; } }

/* Frames and wells */
/* .frame: a stepped pixel bezel, drawn like the hero's status bubbles: a 1px forest
   outline with pixel-rounded corners, a flat paper face and a hard 2px drop beneath
   (one 13x15 nine-slice; border width 0 so the layout is unchanged). */
.frame {
  padding: 10px; border: 0 solid transparent; border-radius: 6px; background: none;
  border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='15' shape-rendering='crispEdges'%3E%3Cpath fill='%23122c20' fill-opacity='.16' d='M0 8h1v1h-1zM12 8h1v1h-1zM0 9h1v1h-1zM12 9h1v1h-1zM1 10h1v1h-1zM11 10h1v1h-1zM1 11h2v1h-2zM10 11h2v1h-2zM2 12h3v1h-3zM8 12h3v1h-3zM3 13h7v1h-7zM5 14h3v1h-3z'/%3E%3Cpath fill='%23efefe9' d='M5 1h3v1h-3zM3 2h7v1h-7zM2 3h9v1h-9zM2 4h9v1h-9zM1 5h11v1h-11zM1 6h11v1h-11zM1 7h11v1h-11zM2 8h9v1h-9zM2 9h9v1h-9zM3 10h7v1h-7zM5 11h3v1h-3z'/%3E%3Cpath fill='%231f3a2c' d='M5 0h3v1h-3zM3 1h2v1h-2zM8 1h2v1h-2zM2 2h1v1h-1zM10 2h1v1h-1zM1 3h1v1h-1zM11 3h1v1h-1zM1 4h1v1h-1zM11 4h1v1h-1zM0 5h1v1h-1zM12 5h1v1h-1zM0 6h1v1h-1zM12 6h1v1h-1zM0 7h1v1h-1zM12 7h1v1h-1zM1 8h1v1h-1zM11 8h1v1h-1zM1 9h1v1h-1zM11 9h1v1h-1zM2 10h1v1h-1zM10 10h1v1h-1zM3 11h2v1h-2zM8 11h2v1h-2zM5 12h3v1h-3z'/%3E%3C/svg%3E") 6 6 8 6 fill / 6px 6px 8px 6px / 0 0 2px 0 stretch;
}
/* .well: a recessed tray with hard inner edges. */
.well { background: var(--paper-sunk); border-radius: var(--r-panel); box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .06), inset 0 2px 0 rgb(var(--ink-rgb) / .04), 0 1px 0 #fff; overflow: hidden; position: relative; }
/* .dots (kept as the class name the demos use): the office's checked floor tiles at a
   whisper, 8px squares at 3.5% ink. Dayroom's own floor, not a dotted stage. */
.dots {
  background-color: #f1f1ec;
  background-image: conic-gradient(rgb(var(--ink-rgb) / .035) 25%, transparent 0 50%, rgb(var(--ink-rgb) / .035) 0 75%, transparent 0);
  background-size: 16px 16px;
}
.card { background: #fff; border-radius: 8px; box-shadow: 0 0 0 .7px rgb(0 0 0 / .08), 0 1px 2px rgb(0 0 0 / .04); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 2px rgb(155 225 93 / .18); flex: none; }

/* Numbered feature rows (sections 41-44) */
.rows { display: grid; gap: 8px; }
.row {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 16px;
  border-radius: var(--r-row); border: 1px solid rgb(0 0 0 / .1); background: rgb(255 255 255 / .6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .8); text-align: left;
  transition: transform .15s var(--ease-out), border-color .15s, background-color .15s;
}
.row .num { font: 400 11px/1 var(--f-mono); color: var(--ink-3); min-width: 22px; }
.row .label { font-size: 14px; font-weight: 520; color: var(--ink); flex: 1; }
.row .plus { width: 16px; height: 16px; color: var(--ink-3); transition: transform .25s var(--ease-out), color .15s; flex: none; }
.row[aria-current="true"] { background: #fff; border-color: rgb(0 0 0 / .18); }
@media (hover: hover) and (pointer: fine) {
  .row:hover { transform: translateY(-1px); border-color: rgb(0 0 0 / .2); background: #fff; }
  .row:hover .plus { transform: rotate(90deg); color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* core/90-glass.css */
/* Remaining controls and popup surfaces. Keep artwork, message content and
   semantic status colours outside this material layer. */
:root {
  --glass-control: linear-gradient(145deg, rgb(255 255 255 / .8), rgb(255 255 255 / .22) 48%, rgb(220 232 224 / .35));
  --glass-control-shadow: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 -1px 0 rgb(40 66 49 / .12), 0 2px 4px rgb(28 50 36 / .06), 0 10px 22px -15px rgb(28 50 36 / .28);
}
html body :is(.dh .dh-menu-btn,
  .dh .dh-close,
  .dh .dh-row,
  .chapter .row,
  .plat-fit,
  .plat-num,
  .lg-toc-sum,
  #talk .td-iconbtn,
  .plat-tab .plat-tab-ico,
  .plat-controls span,
  .plat-btn,
  #plan .pl-btn,
  #plan .pl-iconbtn,
  #plan .pl-card-more,
  #catch-up .cu-btn,
  #talk .td-name-chip,
  #office .of-key,
  #yourself .ys-body button,
  #dayroom-drawer .drawer-close,
  #dayroom-drawer .drawer-page,
  .aw-row,
  .lh-menu-btn,
  .lh-menu-panel a,
  #faq .faq-icon),
html body :is(.dh-sheet .dh-panel,
  #dayroom-drawer .drawer-panel,
  #plan .pl-menu,
  #plan .pl-status-menu,
  #catch-up .cu-peek,
  .lh-menu-panel,
  .chapter .rows,
  .aw-rows,
  #yourself .ys-body,
  .plat-cta-bar) {
  background: var(--glass-control), #edf2eb;
  box-shadow: var(--glass-control-shadow);
  border-color: rgb(255 255 255 / .7);
}
html body :is(.dh .dh-menu-btn,
  .dh .dh-close,
  .dh .dh-row,
  .chapter .row,
  .plat-fit,
  .plat-num,
  .lg-toc-sum,
  #talk .td-iconbtn,
  .plat-tab .plat-tab-ico,
  .plat-controls span,
  .plat-btn,
  #plan .pl-btn,
  #plan .pl-iconbtn,
  #plan .pl-card-more,
  #catch-up .cu-btn,
  #talk .td-name-chip,
  #office .of-key,
  #yourself .ys-body button,
  #dayroom-drawer .drawer-close,
  #dayroom-drawer .drawer-page,
  .aw-row,
  .lh-menu-btn,
  .lh-menu-panel a,
  #faq .faq-icon) { border-radius: 12px; color: var(--ink-solid); }
html body :is(.plat-btn.is-dark,
  #plan .pl-btn-dark,
  #catch-up .cu-btn-dark,
  #talk .td-name-chip.is-picked,
  #office .of-plate,
  #office .dr-door-label) {
  background: var(--notification-glass); color: #fff;
  border-image: none; border: 1px solid rgb(255 255 255 / .24); border-radius: 8px;
  box-shadow: var(--notification-shadow); filter: none;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html body :is(.dh .dh-menu-btn,
  .dh .dh-close,
  .dh .dh-row,
  .chapter .row,
  .plat-fit,
  .plat-num,
  .lg-toc-sum,
  #talk .td-iconbtn,
  .plat-tab .plat-tab-ico,
  .plat-controls span,
  .plat-btn,
  #plan .pl-btn,
  #plan .pl-iconbtn,
  #plan .pl-card-more,
  #catch-up .cu-btn,
  #talk .td-name-chip,
  #office .of-key,
  #yourself .ys-body button,
  #dayroom-drawer .drawer-close,
  #dayroom-drawer .drawer-page,
  .aw-row,
  .lh-menu-btn,
  .lh-menu-panel a,
  #faq .faq-icon),
  html body :is(.dh-sheet .dh-panel,
  #dayroom-drawer .drawer-panel,
  #plan .pl-menu,
  #plan .pl-status-menu,
  #catch-up .cu-peek,
  .lh-menu-panel,
  .chapter .rows,
  .aw-rows,
  #yourself .ys-body,
  .plat-cta-bar),
  html body :is(.plat-btn.is-dark,
  #plan .pl-btn-dark,
  #catch-up .cu-btn-dark,
  #talk .td-name-chip.is-picked,
  #office .of-plate,
  #office .dr-door-label) { -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
  html body :is(.dh .dh-menu-btn,
  .dh .dh-close,
  .dh .dh-row,
  .chapter .row,
  .plat-fit,
  .plat-num,
  .lg-toc-sum,
  #talk .td-iconbtn,
  .plat-tab .plat-tab-ico,
  .plat-controls span,
  .plat-btn,
  #plan .pl-btn,
  #plan .pl-iconbtn,
  #plan .pl-card-more,
  #catch-up .cu-btn,
  #talk .td-name-chip,
  #office .of-key,
  #yourself .ys-body button,
  #dayroom-drawer .drawer-close,
  #dayroom-drawer .drawer-page,
  .aw-row,
  .lh-menu-btn,
  .lh-menu-panel a,
  #faq .faq-icon) { background-color: rgb(240 246 240 / .48); }
  html body :is(.dh-sheet .dh-panel,
  #dayroom-drawer .drawer-panel,
  #plan .pl-menu,
  #plan .pl-status-menu,
  #catch-up .cu-peek,
  .lh-menu-panel,
  .chapter .rows,
  .aw-rows,
  #yourself .ys-body,
  .plat-cta-bar) { background-color: rgb(240 246 240 / .82); }
}
/* A panel provides the blur for its children, avoiding stacked filters. */
html body :is(#dayroom-drawer, #anywhere, #yourself, #talk, #plan, #catch-up, #office, .dh, .lh-menu) :is(.dh-panel, .drawer-panel, .pl-menu, .pl-status-menu, .lh-menu-panel, .rows, .aw-rows, .ys-body) :is(button, .row, .dh-row, .aw-row, .pl-mi, a) { -webkit-backdrop-filter: none; backdrop-filter: none; }
html body .chapter .row[aria-current="true"],
html body #yourself .ys-body button[aria-checked="true"],
html body .aw-row[aria-selected="true"],
html body .plat-fit[aria-pressed="true"] {
  background: var(--glass-control), rgb(225 240 221 / .82);
  box-shadow: var(--glass-control-shadow), inset 0 0 0 1px rgb(42 83 51 / .42);
}
html body .aw-hl { background: transparent; box-shadow: none; }
html body #dayroom-drawer .drawer-bar { background: rgb(255 255 255 / .2); }
html body #catch-up .cu-peek::before { background: rgb(240 246 240 / .9); }
html body #office .of-plate::after { display: none; }
html body .plat-controls .is-leave { background: linear-gradient(rgb(255 255 255 / .18), transparent), rgb(159 47 31 / .9); color: #fff; }
html body :is(.dh .dh-menu-btn,
  .dh .dh-close,
  .dh .dh-row,
  .chapter .row,
  .plat-fit,
  .plat-num,
  .lg-toc-sum,
  #talk .td-iconbtn,
  .plat-tab .plat-tab-ico,
  .plat-controls span,
  .plat-btn,
  #plan .pl-btn,
  #plan .pl-iconbtn,
  #plan .pl-card-more,
  #catch-up .cu-btn,
  #talk .td-name-chip,
  #office .of-key,
  #yourself .ys-body button,
  #dayroom-drawer .drawer-close,
  #dayroom-drawer .drawer-page,
  .aw-row,
  .lh-menu-btn,
  .lh-menu-panel a,
  #faq .faq-icon):disabled { opacity: .45; cursor: default; }
@media (hover: hover) {
  html body :is(.dh .dh-menu-btn,
  .dh .dh-close,
  .dh .dh-row,
  .chapter .row,
  .plat-fit,
  .plat-num,
  .lg-toc-sum,
  #talk .td-iconbtn,
  .plat-tab .plat-tab-ico,
  .plat-controls span,
  .plat-btn,
  #plan .pl-btn,
  #plan .pl-iconbtn,
  #plan .pl-card-more,
  #catch-up .cu-btn,
  #talk .td-name-chip,
  #office .of-key,
  #yourself .ys-body button,
  #dayroom-drawer .drawer-close,
  #dayroom-drawer .drawer-page,
  .aw-row,
  .lh-menu-btn,
  .lh-menu-panel a,
  #faq .faq-icon):not(:disabled):hover { background-color: rgb(255 255 255 / .78); }
  html body :is(.plat-btn.is-dark,
  #plan .pl-btn-dark,
  #catch-up .cu-btn-dark,
  #talk .td-name-chip.is-picked,
  #office .of-plate,
  #office .dr-door-label):hover { background: linear-gradient(rgb(22 69 61 / .76), rgb(22 69 61 / .92)); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  html body :is(.dh .dh-menu-btn,
  .dh .dh-close,
  .dh .dh-row,
  .chapter .row,
  .plat-fit,
  .plat-num,
  .lg-toc-sum,
  #talk .td-iconbtn,
  .plat-tab .plat-tab-ico,
  .plat-controls span,
  .plat-btn,
  #plan .pl-btn,
  #plan .pl-iconbtn,
  #plan .pl-card-more,
  #catch-up .cu-btn,
  #talk .td-name-chip,
  #office .of-key,
  #yourself .ys-body button,
  #dayroom-drawer .drawer-close,
  #dayroom-drawer .drawer-page,
  .aw-row,
  .lh-menu-btn,
  .lh-menu-panel a,
  #faq .faq-icon,
  .dh-sheet .dh-panel,
  #dayroom-drawer .drawer-panel,
  #plan .pl-menu,
  #plan .pl-status-menu,
  #catch-up .cu-peek,
  .lh-menu-panel,
  .chapter .rows,
  .aw-rows,
  #yourself .ys-body,
  .plat-cta-bar,
  .plat-btn.is-dark,
  #plan .pl-btn-dark,
  #catch-up .cu-btn-dark,
  #talk .td-name-chip.is-picked,
  #office .of-plate,
  #office .dr-door-label) { -webkit-backdrop-filter: none; backdrop-filter: none; background: #f5f7f3; color: #20392a; border-color: #647367; }
  html body :is(.plat-btn.is-dark,
  #plan .pl-btn-dark,
  #catch-up .cu-btn-dark,
  #talk .td-name-chip.is-picked,
  #office .of-plate,
  #office .dr-door-label) { background: #16453d; color: #fff; }
}
@media (forced-colors: active) {
  html body :is(.dh .dh-menu-btn,
  .dh .dh-close,
  .dh .dh-row,
  .chapter .row,
  .plat-fit,
  .plat-num,
  .lg-toc-sum,
  #talk .td-iconbtn,
  .plat-tab .plat-tab-ico,
  .plat-controls span,
  .plat-btn,
  #plan .pl-btn,
  #plan .pl-iconbtn,
  #plan .pl-card-more,
  #catch-up .cu-btn,
  #talk .td-name-chip,
  #office .of-key,
  #yourself .ys-body button,
  #dayroom-drawer .drawer-close,
  #dayroom-drawer .drawer-page,
  .aw-row,
  .lh-menu-btn,
  .lh-menu-panel a,
  #faq .faq-icon,
  .dh-sheet .dh-panel,
  #dayroom-drawer .drawer-panel,
  #plan .pl-menu,
  #plan .pl-status-menu,
  #catch-up .cu-peek,
  .lh-menu-panel,
  .chapter .rows,
  .aw-rows,
  #yourself .ys-body,
  .plat-cta-bar,
  .plat-btn.is-dark,
  #plan .pl-btn-dark,
  #catch-up .cu-btn-dark,
  #talk .td-name-chip.is-picked,
  #office .of-plate,
  #office .dr-door-label) { background: Canvas; color: CanvasText; border: 1px solid ButtonText; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html body :is(.row[aria-current="true"], .aw-row[aria-selected="true"], button[aria-checked="true"], .plat-fit[aria-pressed="true"]) { outline: 2px solid Highlight; }
}

/* sections/00-header */
/* Fixed header, written in Dayroom's own syntax: the chapters are rooms
   (# talk, # plan, # catch-up, # office) and a presence dot sits beside the
   room you are in. Over the hero the bar is transparent with white type; once
   the hero has scrolled under it, paper and a hairline fade in. Below 1000px
   the rooms move into a left sheet styled like the app's phone sidebar.
   All selectors live under .dh. */
.dh {
  --dh-ink: #fbfbf8;
  --dh-hash: rgb(251 251 248 / .9);
  --dh-quiet: rgb(251 251 248 / .95);
  --dh-ease: cubic-bezier(.4, 0, .2, 1);
  position: fixed; inset: 0 0 auto; z-index: 200; height: var(--header-h);
  color: var(--dh-ink);
  transition: color .2s var(--dh-ease);
}
.dh[data-over="paper"] { --dh-ink: var(--ink); --dh-hash: var(--ink-3); --dh-quiet: var(--ink-2); }

/* Paper and hairline are separate layers so they can keep separate timings. */
.dh::before, .dh::after { content: ""; position: absolute; pointer-events: none; opacity: 0; }
.dh::before { inset: 0; background: var(--paper); transition: opacity .12s var(--dh-ease) .03s; }
.dh::after { left: 0; right: 0; bottom: -1px; height: 1px; background: rgb(var(--ink-rgb) / .09); box-shadow: 0 1px 0 #fff; transition: opacity .02s linear; }
.dh[data-over="paper"]::before { opacity: 1; transition: opacity .2s var(--dh-ease); }
.dh[data-over="paper"]::after { opacity: 1; transition: opacity .2s var(--dh-ease) .05s; }

/* Up to 1440px the bar spans the window. Wider, it narrows toward the content
   column (the logo comes to rest over the headline's left edge), which also
   keeps the links clear of the hero's cumulus and branches on big screens. */
.dh-bar {
  position: relative; z-index: 1; height: 100%; max-width: max(calc(var(--wrap) + var(--gutter) * 2), calc(2880px - 100vw)); margin: 0 auto;
  padding: 0 var(--gutter); display: flex; align-items: center; gap: 12px;
}

/* Wordmark: the supplied Bell-d lockup (an image, never typed). */
.dh .dh-mark {
  --logo-h: 26px;
  display: inline-flex; align-items: center; margin-right: auto; min-height: 44px; padding: 0 4px 0 0; border-radius: 6px;
}
.dh .brand-logo-paper, .dh[data-over="hero"] .dh-bar .brand-logo-ink { display: none; }
.dh[data-over="hero"] .dh-bar .brand-logo-paper { display: block; }

/* ---------- Room switcher ---------- */
.dh-nav { display: flex; align-items: center; gap: 22px; margin-right: 10px; }
.dh-roomset { position: relative; }
.dh-rooms, .dh-links { display: flex; align-items: center; }
.dh .dh-room, .dh .dh-link {
  display: inline-flex; align-items: center; height: 44px; border-radius: 8px;
  font: 460 15px/1 var(--f-text); letter-spacing: .005em; white-space: nowrap; color: inherit;
  transition: color .2s var(--dh-ease);
}
/* Room names inherit the bar's colour; their own transition would lag behind it (white on paper). */
.dh .dh-room { gap: 5px; padding: 0 12px; transition: none; }
.dh .dh-hash { color: var(--dh-hash); font-weight: 460; transition: color .2s var(--dh-ease); }
/* Reserves the heavier width so names never shift when the weight changes. */
.dh .dh-name { display: inline-flex; flex-direction: column; align-items: flex-start; transition: font-weight .2s var(--dh-ease); }
.dh .dh-name::after { content: attr(data-text); height: 0; visibility: hidden; overflow: hidden; font-weight: 560; pointer-events: none; user-select: none; }
.dh .dh-room[aria-current] .dh-name { font-weight: 560; }
.dh .dh-link { padding: 0 9px; color: var(--dh-quiet); }
.dh[data-over="hero"] .dh-room, .dh[data-over="hero"] .dh-link, .dh[data-over="hero"] .dh-menu-btn { text-shadow: 0 1px 1px rgb(0 24 56 / .3), 0 0 6px rgb(0 24 56 / .18); }
@media (hover: hover) and (pointer: fine) {
  .dh .dh-room:hover .dh-hash { color: inherit; }
  .dh .dh-link:hover { color: var(--dh-ink); }
}

/* Presence: one live dot in the gap before the room you are in. It pops in
   where it is needed and hops over the names to the next room (script). */
.dh .dh-here {
  position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 0 1px rgb(20 52 30 / .4);
  translate: var(--x, 0px) 0; scale: 0; opacity: 0; pointer-events: none;
  transition: scale .34s var(--ease-spring), opacity .2s var(--ease-out);
}
.dh[data-over="hero"] .dh-here { box-shadow: 0 0 0 1.5px rgb(0 30 60 / .3); }
.dh .dh-here.is-on { scale: 1; opacity: 1; }

/* ---------- CTA: forest throughout ---------- */
.dh .top-cta { --h: 44px; padding: 0 18px; }


/* ---------- Menu button (below 1000px): opens the rooms sheet ---------- */
.dh .dh-menu-btn {
  display: none; place-items: center; flex: none; width: 44px; height: 44px; margin-left: -11px; padding: 0;
  border: 0; border-radius: 8px; background: none; color: inherit; transition: background-color .15s var(--dh-ease), transform .14s var(--ease-out);
}
.dh .dh-menu-btn svg { filter: drop-shadow(0 1px 1px rgb(0 30 70 / .2)); }
.dh[data-over="paper"] .dh-menu-btn svg { filter: none; }
.dh .dh-menu-btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .dh[data-over="paper"] .dh-menu-btn:hover { background: rgb(var(--ink-rgb) / .055); }
  .dh[data-over="hero"] .dh-menu-btn:hover { background: rgb(255 255 255 / .12); }
}

/* Focus rings follow the surface. */
.dh .dh-room:focus-visible, .dh .dh-link:focus-visible { outline-offset: -3px; }
.dh[data-over="hero"] .dh-bar :focus-visible { outline: 2px solid rgb(255 255 255 / .92); }

@media (max-width: 1099px) {
  .dh-nav { gap: 12px; margin-right: 4px; }
  .dh .dh-room { padding: 0 10px; }
  .dh .dh-link { padding: 0 7px; }
}
@media (max-width: 999px) {
  .dh .dh-nav { display: none; }
  .dh .dh-menu-btn { display: grid; }
  .dh .dh-bar { gap: 6px; }
  .dh .dh-mark { --logo-h: 22px; }
}
@media (max-width: 359px) {
  .dh .top-cta { padding: 0 12px; }
  .dh .dh-mark { --logo-h: 20px; }
}

/* ---------- Rooms sheet: the app's phone sidebar, sliding in from the left ---------- */
.dh-sheet {
  --dh-ink: var(--ink); --dh-hash: var(--ink-3); --dh-quiet: var(--ink-2);
  position: fixed; inset: 0; z-index: 2; color: var(--ink); text-shadow: none;
}
.dh-sheet .dh-scrim {
  position: absolute; inset: 0; background: rgb(var(--ink-rgb) / .18);
  opacity: 0; transition: opacity .22s var(--ease-in);
}
.dh-sheet .dh-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, calc(100vw - 56px));
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  padding: env(safe-area-inset-top) 0 0 env(safe-area-inset-left);
  background: var(--paper-raised); border-right: 1px solid var(--line-2);
  box-shadow: 14px 0 44px rgb(17 24 19 / .12), 2px 0 6px rgb(17 24 19 / .04);
  transform: translate3d(calc(-100% - 2px), 0, 0); transition: transform .24s var(--ease-in);
}
.dh-sheet.is-open .dh-scrim { opacity: 1; transition: opacity .36s var(--ease-drawer); }
.dh-sheet.is-open .dh-panel { transform: none; transition: transform .36s var(--ease-drawer); }
.dh-sheet[data-dragging] .dh-panel, .dh-sheet[data-dragging] .dh-scrim { transition: none; }

.dh-sheet .dh-panel-top { flex: none; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 8px 0 20px; }
.dh-sheet .dh-mark { margin: 0; --logo-h: 22px; }
.dh .dh-close {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px;
  background: none; color: var(--ink-2); transition: background-color .14s var(--ease-out), color .14s, transform .14s var(--ease-out);
}
.dh .dh-close:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .dh .dh-close:hover { background: rgb(var(--ink-rgb) / .055); color: var(--ink); } }

.dh-sheet .dh-panel-nav { flex: none; padding-bottom: 8px; }
.dh-sheet .dh-sec { margin: 10px 0 6px; padding: 0 22px; font: 400 11px/1.4 var(--f-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.dh-sheet .dh-rows { display: grid; gap: 2px; padding: 0 10px; }
.dh .dh-row {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px;
  font: 520 15px/1.2 var(--f-text); letter-spacing: .005em; color: var(--ink); transition: background-color .14s var(--ease-out);
}
.dh .dh-ic { flex: none; width: 18px; display: grid; place-items: center; color: var(--ink-3); }
.dh .dh-ic.dh-hash { font: 600 16px/1 var(--f-text); }
.dh .dh-row-name { flex: none; white-space: nowrap; }
.dh .dh-row-note { flex: 0 1000 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 460 12.5px/1.2 var(--f-text); color: var(--ink-3); }
.dh .dh-spot {
  flex: none; width: 6px; height: 6px; margin-left: auto; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 0 1px rgb(20 52 30 / .4); scale: 0; transition: scale .3s var(--ease-spring);
}
.dh .dh-row[aria-current] { background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); }
.dh .dh-row[aria-current] .dh-spot { scale: 1; }
.dh-sheet.is-open .dh-row[aria-current] .dh-spot { transition-delay: .22s; }
.dh .dh-row-quiet { font-weight: 480; color: var(--ink-2); }
.dh .dh-row:focus-visible { outline-offset: -2px; border-radius: 10px; }
.dh .dh-row:active { background: rgb(var(--ink-rgb) / .07); }
@media (hover: hover) and (pointer: fine) { .dh .dh-row:not([aria-current]):hover { background: rgb(var(--ink-rgb) / .045); } }
.dh-sheet .dh-rule { display: block; height: 1px; margin: 12px 22px; background: var(--line-2); }
.dh-sheet .dh-panel-foot { margin-top: auto; padding: 16px 16px max(16px, env(safe-area-inset-bottom)); }
.dh-sheet .dh-panel-cta { --h: 46px; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .dh .dh-here, .dh-sheet .dh-panel, .dh-sheet .dh-scrim, .dh .dh-spot { transition: none !important; }
}

/* sections/10-hero */
/* Hero: a live pixel park (core/30-park.js) behind the copy. The canvas holds
   the world at its own resolution and CSS scales it by an exact integer device
   ratio; the bottom edge dissolves into paper inside the art. data-tod tunes
   the type shadow for each sky. */
.hero {
  --hero-sky: #0d5cbf; --hero-shadow: 0 1px 2px rgb(4 30 80 / .32), 0 2px 18px rgb(4 30 80 / .2);
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: max(100svh, 620px); background: var(--hero-sky);
}
.hero[data-tod="morning"] { --hero-sky: #1d5aab; --hero-shadow: 0 1px 2px rgb(6 40 96 / .42), 0 2px 20px rgb(6 40 96 / .28); }
.hero[data-tod="dawn"] { --hero-sky: #263f86; --hero-shadow: 0 1px 2px rgb(20 20 60 / .42), 0 2px 18px rgb(20 20 60 / .26); }
.hero[data-tod="golden"] { --hero-sky: #22509c; --hero-shadow: 0 1px 2px rgb(30 22 60 / .45), 0 2px 20px rgb(30 22 60 / .28); }
.hero[data-tod="dusk"] { --hero-sky: #14214f; --hero-shadow: 0 1px 2px rgb(6 8 30 / .4); }
.hero[data-tod="night"] { --hero-sky: #07112b; --hero-shadow: 0 1px 2px rgb(0 0 10 / .5); }

.hero-stage { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* Shade under the header. When the tree crown rises behind the header's white
   links, the top of the crown settles into a soft multiplied shade (leaves stay
   green, just deeper) so the links meet WCAG AA. The script cuts the mask from
   the park's foliage map, so it falls on leaves only, never on sky or clouds. */
.hero-stage::after {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: calc(var(--header-h) + 48px);
  display: none; pointer-events: none;
  background: linear-gradient(rgb(134 146 172), rgb(140 152 178) 44%, #fff);
  mix-blend-mode: multiply; image-rendering: pixelated;
  -webkit-mask: var(--shade-mask) var(--shade-pos) / var(--shade-size) no-repeat;
  mask: var(--shade-mask) var(--shade-pos) / var(--shade-size) no-repeat;
}
.hero[data-live][data-shade="on"] .hero-stage::after { display: block; }
.hero-canvas, .hero-poster { position: absolute; display: block; max-width: none; image-rendering: pixelated; }
/* The canvas is sized by the park engine (world columns x rows at K device px each), anchored bottom-left. */
.hero-canvas { left: 0; bottom: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .24s var(--ease-out); }
.hero[data-live] .hero-canvas { opacity: 1; }
.hero[data-shown] .hero-poster { visibility: hidden; }
/* The poster never moves once shown (no layout shift): on desktop it sits at a
   whole-number scale, anchored bottom-right like the live scene, and the
   canvas fades in over it. */
.hero-poster { right: 0; bottom: 0; width: 100%; width: round(up, 100%, 456px); height: auto; }
/* Phones: the poster fills the lower part, so the headline stays on sky. */
@media (max-width: 759px) {
  .hero-poster { left: 0; top: auto; width: 100%; height: min(100%, max(560px, 70%)); object-fit: cover; object-position: 82% 100%; }
}

/* Short laptop screens lift the copy a little so it stays above the horizon. */
.hero-copy { position: relative; padding-top: clamp(124px, 19svh, 200px); padding-bottom: 32px; }
.hero-title {
  font-size: 48px; line-height: 1.06; font-weight: 430; letter-spacing: -.015em; max-width: 15.6em;
  text-shadow: var(--hero-shadow);
}
.hero-sub { margin-top: 18px; max-width: 500px; font-size: 16px; line-height: 1.55; color: rgb(255 255 255 / .94); text-shadow: var(--hero-shadow); }
.hero-title .nw { white-space: nowrap; }
@media (min-width: 1600px) { .hero-title { max-width: 16.2em; } }
@media (max-width: 999px) { .hero-title { max-width: 13em; } }
@media (max-width: 759px) {
  .hero { min-height: 100svh; }
  .hero-copy { padding-top: calc(var(--header-h) + 18px); }
  .hero-title { font-size: 34px; line-height: 1.1; }
  .hero-sub { margin-top: 14px; font-size: 15.5px; }
}
@media (max-width: 379px) { .hero-title { font-size: 31px; text-wrap: pretty; } }

/* Notifications: Cofounder's glass notification stack, reproduced from its
   measured spec at the user's request (2026-10-24: "copy that exact design",
   "The status should have this liquid glass feel"). The same material is used by the product-scene notifications. The script anchors the stack's bottom centre above the
   team table and drives every row as a pure function of scene time. */
.hero-notifs {
  --hn-w: 240px; --hn-font: 12px; --hn-pad-y: 8px;
  --hn-glass: var(--notification-glass);
  --hn-glass-sh: var(--notification-shadow);
  --hn-live: #a3e635; --hn-live-glow: 0 0 6px rgb(163 230 53 / .4);
  position: absolute; left: 0; bottom: 0; z-index: 2; width: var(--hn-w);
  pointer-events: none; visibility: hidden;
  font: 400 var(--hn-font)/1.5 var(--f-text);
}
.hero[data-live] .hero-notifs[data-on] { visibility: visible; }
.hn-stack {
  display: flex; flex-direction: column; align-items: flex-end; width: 100%;
  transform: perspective(300px) rotateY(-12deg) rotateX(-2deg) rotateZ(2deg) scale(.88) skewX(1deg);
  transform-origin: bottom;
}
/* A row opens from 0fr to 1fr (and 0 to 8px above it) as its pill pops in. */
.hn-row { display: none; grid-template-rows: 0fr; width: 100%; }
.hn-row.is-up { display: grid; }
.hn-clip { min-height: 0; overflow: clip; }
/* Opacity sits on the glass itself so its backdrop blur holds while it fades. */
.hn-pill {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: var(--hn-pad-y) 12px; border: 1px solid transparent; border-radius: 8px;
  background: var(--hn-glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.19); backdrop-filter: blur(16px) saturate(1.19);
  box-shadow: var(--hn-glass-sh); text-shadow: 0 1px 1px rgb(0 0 0 / .2);
}
/* The muted label is Cofounder's white at .65 nudged to .74, so it holds about
   4.5:1 on the glass over the leaves (it measured 3.3-4.2:1 at .65). */
.hn-status { flex: none; display: flex; align-items: center; gap: 6px; font-weight: 460; letter-spacing: .01em; color: rgb(255 255 255 / .74); }
.hn-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--hn-live); box-shadow: var(--hn-live-glow); }
.hn-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 500; color: #fff; }
@media (min-width: 992px) { .hero-notifs { --hn-w: 276px; --hn-font: 13.8px; } }
@media (min-width: 1024px) { .hero-notifs { --hn-pad-y: 12px; } }

/* sections/20-proof */
/* Proof strip: four true facts as quiet embossed tiles, each with a tiny
   pixel story. Scoped to .proof. */
.proof { position: relative; padding: 32px 0 72px; }
.proof .proof-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.proof .proof-tile {
  display: flex; align-items: flex-start; gap: 14px; min-width: 0; min-height: 84px; padding: 14px 16px 14px 14px;
  border-radius: var(--r-panel); background: #f1f1ec; border: 1px solid rgb(var(--ink-rgb) / .075);
  box-shadow: var(--emboss), 0 1px 2px rgb(0 0 0 / .03);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s var(--ease-out);
}
.proof .proof-icon {
  position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px;
  background: var(--paper-sunk); box-shadow: inset 0 1px 2px rgb(0 0 0 / .08), inset 0 0 0 .5px rgb(0 0 0 / .05), 0 1px 0 #fff;
}
.proof .proof-icon canvas { width: 44px; height: 44px; image-rendering: pixelated; }
.proof .proof-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding-top: 3px; }
.proof .proof-label { font: 400 11px/1.4 var(--f-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.proof .proof-desc { font: 480 14px/1.4 var(--f-text); letter-spacing: .005em; color: var(--ink); text-wrap: balance; }
/* "Currently used in 20+ countries" (verified, 2026-10-24) reads like a quiet caption under the tiles,
   the way the user asked: a faint first half, a darker count, a small plain globe and a stepped roll-up.
   The static markup reads 20+ (no script, or before it runs); the script arms the reels at 0 and counts
   up once the line comes into view. */
.proof .proof-reach {
  --glow: 155 225 93;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 5px; margin: 24px auto 0;
  font: 460 14px/18px var(--f-text); letter-spacing: .01em; color: var(--ink-2); text-align: center;
}
.proof .proof-dim { color: var(--ink-3); }
.proof .proof-strong { color: var(--ink-2); }
.proof .proof-globe { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-right: 2px; }
.proof .proof-globe canvas { width: 15px; height: 15px; image-rendering: pixelated; }
/* The globe is painted by the script; without it the line keeps just the words. */
.proof .proof-reach:not(.is-armed) .proof-globe { display: none; }
.proof .proof-odo { display: inline-flex; align-items: center; flex: none; height: 18px; font: 560 14px/18px var(--f-text); color: var(--ink); font-variant-numeric: tabular-nums; }
/* A soft green flare as the count lands, then plain text. */
.proof .proof-reach.is-counted.is-awake .proof-odo { animation: proof-flare 1.1s steps(4, end) both; }
@keyframes proof-flare { 0% { color: #3d9a2c; text-shadow: 0 0 6px rgb(var(--glow) / .55); } 100% { text-shadow: none; } }
.proof .proof-reach.is-armed:not(.is-counted) .proof-odo { color: var(--ink); }
.proof .odo-digit { display: inline-block; width: 1ch; height: 18px; overflow: hidden; }
.proof .odo-reel { display: block; width: 1ch; line-height: 18px; will-change: transform; }
/* The reel's digits are generated content, so the page's text stays "Currently used in 20+ countries". */
.proof .odo-reel::before { content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9\A 0"; white-space: pre; }
/* Static (true) state: 2, 0 and the plus. */
.proof .odo-digit:first-child .odo-reel { transform: translateY(-36px); }
.proof .odo-plus { display: inline-block; margin-left: 1px; transform-origin: 50% 70%; }
.proof .odo-plus::before { content: "+"; }
.proof .proof-reach.is-armed:not(.is-counted) .odo-plus { opacity: 0; transform: translateY(4px) scale(.6); }
.proof .proof-reach.is-armed.is-counted .odo-plus { animation: proof-plus .36s var(--ease-spring) both; }
@keyframes proof-plus { from { opacity: 0; transform: translateY(4px) scale(.6); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .proof .proof-tile:hover { transform: translateY(-2px); background: #f4f4f0; box-shadow: var(--emboss), 0 1px 2px rgb(0 0 0 / .04), 0 8px 18px -10px rgb(0 0 0 / .14); }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .proof .proof-tile { flex-direction: column; gap: 12px; padding: 12px 14px 14px 12px; }
  .proof .proof-copy { padding-top: 0; }
}
@media (max-width: 899px) { .proof .proof-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .proof { padding: 24px 0 56px; } }
@media (max-width: 599px) {
  .proof .proof-tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .proof .proof-tile { align-items: center; min-height: 72px; padding: 10px 14px 10px 10px; }
  .proof .proof-copy { padding-top: 0; gap: 3px; }
  .proof .proof-reach { margin-top: 18px; }
}
/* Small phones: one line still, a touch tighter. */
@media (max-width: 379px) {
  .proof .proof-reach { font-size: 13px; }
}

/* sections/30-platform */
/* 30-platform (#inside): one Dayroom story told twice, as a time spine of one
   morning and as the app panel, with a step rail underneath.
   Every rule is scoped under .plat. */
.plat {
  --plat-hi: #eef5e6;
  /* Stepped pixel corners (9-slice sprites), the same drawing as the hero's status bubbles. */
  --px-solid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5' shape-rendering='crispEdges'%3E%3Cpath fill='%231f3a2c' d='M1 0h3v1h1v3h-1v1h-3v-1h-1v-3h1z'/%3E%3C/svg%3E");
  --px-ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5' shape-rendering='crispEdges'%3E%3Cpath fill='%23fbfbf8' d='M1 1h3v3h-3z'/%3E%3Cpath fill='%232e5843' d='M1 0h3v1h-3zM0 1h1v3h-1zM4 1h1v3h-1zM1 4h3v1h-3z'/%3E%3C/svg%3E");
}
/* Left-aligned like the other section heads, on the frame's own left edge. */
.plat .plat-title { max-width: 1080px; margin: 0 auto; }
.plat .plat-nw { white-space: nowrap; }
.plat .plat-title .dim { display: block; }
.plat-stage { margin-top: 80px; }
.plat-frame { max-width: 1080px; margin: 0 auto; }

/* Pixel icons are generated as crisp SVG by section.js. */
.plat .plat-ico { display: inline-flex; flex: none; color: inherit; }
.plat .plat-ico svg { display: block; shape-rendering: crispEdges; }
.plat canvas { image-rendering: pixelated; image-rendering: crisp-edges; }
.plat .plat-faces { display: inline-flex; flex: none; }
.plat .plat-faces canvas { width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 0 0 1.5px #fff; }
.plat .plat-faces canvas + canvas { margin-left: -5px; }

/* The demo: the canvas beside the app panel. */
.plat-demo { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 36%, 384px); gap: 10px; height: 560px; }

/* ---------- The canvas: one morning on a time spine ----------
   Events hang off a vertical spine at their minute, each with the person or
   tool who acted as its node. The companion's catch-up sits to the right and
   traces stepped citations back to its sources. The world glides (one CSS
   transform) down the spine, then settles on the whole morning. */
.plat-canvas { --cv-bg: #f1f1ec; height: 100%; background: var(--cv-bg); isolation: isolate; }
.plat-cv-view {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent), linear-gradient(transparent, #000 14px, #000 calc(100% - 58px), transparent calc(100% - 42px));
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent), linear-gradient(transparent, #000 14px, #000 calc(100% - 58px), transparent calc(100% - 42px));
  mask-composite: intersect;
}
.plat-world { position: absolute; left: 0; top: 0; padding: 14px 6px 14px 100px; transform-origin: 0 0; transition: transform .95s var(--ease-drawer); }
.plat-world.is-instant { transition: none; }
/* The floor: faint pixel crosses on a 24px grid, like the office's tiles. */
.plat-plane {
  position: absolute; left: -1200px; top: -1200px; width: 3200px; height: 3000px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' shape-rendering='crispEdges'%3E%3Cpath fill='%231c211d' fill-opacity='.1' d='M11 9h1v2h-1zM11 12h1v2h-1zM9 11h5v1h-5z'/%3E%3C/svg%3E") 0 0 / 24px 24px;
}
.plat-traces, .plat-ports { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.plat-traces { z-index: 0; }
.plat-ports { z-index: 2; }
.plat-spine-base { fill: none; stroke: rgb(var(--ink-rgb) / .22); stroke-width: 1; stroke-dasharray: 2 3; }
.plat-spine-fill { fill: none; stroke: var(--forest-2); stroke-width: 2; }
.plat-cite { fill: none; stroke: var(--forest-2); stroke-opacity: .6; stroke-width: 1; }
.plat-head-sq { fill: var(--leaf); stroke: var(--forest-2); stroke-width: 1; visibility: hidden; }
.plat-head-sq.is-on { visibility: visible; }
.plat-traces, .plat-ports, .plat-cv-cap { transition: opacity .45s var(--ease-out); }
.plat-world.is-clearing .plat-traces .plat-cite, .plat-world.is-clearing .plat-pin, .plat-world.is-clearing .plat-cv-cap { opacity: 0; }

.plat-spine-col { position: relative; z-index: 1; display: grid; grid-template-columns: 266px 240px; column-gap: 58px; row-gap: 12px; align-items: start; }
.plat-spine-col > .plat-cc { grid-column: 1; }
.plat-spine-col > .plat-cu { grid-column: 2; grid-row: 1 / span 5; align-self: center; }

/* Cards: placeholder (a dashed promise) → ghost (someone is typing) → in.
   A Works draft keeps its dashed edge until Amara presses Create. */
.plat-cc {
  position: relative; padding: 10px 12px 12px; border-radius: 10px; text-align: left;
  font-size: 13.5px; line-height: 1.42; color: var(--ink);
  background: var(--cv-bg); box-shadow: 0 0 0 0 transparent;
  transition: background-color .4s var(--ease-out), box-shadow .5s var(--ease-out);
}
.plat-cc::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px dashed rgb(var(--ink-rgb) / .22); pointer-events: none; transition: opacity .3s; }
.plat-cc.is-in { background: #fff; box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 1px 2px rgb(0 0 0 / .04), 0 8px 18px -12px rgb(28 40 32 / .2); }
.plat-cc.is-in::before { opacity: 0; }
.plat-cc.is-draft { background: #f8f8f4; }
.plat-cvrest { color: transparent; }
.plat-cc.is-draft::before { border-color: rgb(var(--ink-rgb) / .34); }
.plat-cc-h, .plat-cc-b { transition: opacity .35s var(--ease-out), transform .5s var(--ease-out); }
.plat-cc:not(.is-in):not(.is-draft) .plat-cc-b { opacity: 0; transform: translateY(3px); }
.plat-cc:not(.is-in):not(.is-draft):not(.is-ghost) .plat-cc-h { opacity: .5; }
.plat-cc:not(.is-in):not(.is-draft) .plat-cc-r { visibility: hidden; }
.plat-cc.is-ghost .plat-cc-h { opacity: .72; }
/* The catch-up only appears once the camera has pulled back far enough to show it whole: it waits
   out most of the .95s glide before fading in. */
.plat-cu { transition: background-color .4s var(--ease-out), box-shadow .5s var(--ease-out), opacity .45s var(--ease-out) .6s, visibility 0s .6s; }
.plat-world.is-close .plat-cu:not(.is-ghost):not(.is-in) { opacity: 0; visibility: hidden; transition: opacity .25s var(--ease-out), visibility 0s linear .25s; }
.plat-cc.is-focus { box-shadow: 0 0 0 1.5px var(--forest-2), 0 1px 2px rgb(0 0 0 / .04), 0 8px 18px -12px rgb(28 40 32 / .2); }
/* A cited card steps on a 1px forest outline as its citation lands (no glow). */
.plat-cc.is-cited { box-shadow: 0 0 0 1px var(--forest-2), 0 1px 2px rgb(0 0 0 / .04), 0 8px 18px -12px rgb(28 40 32 / .2); transition: none; }
@media (hover: hover) and (pointer: fine) { .plat-cc.is-in { cursor: pointer; } .plat-cc.is-in:hover { box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .3), 0 1px 2px rgb(0 0 0 / .04), 0 8px 18px -12px rgb(28 40 32 / .2); } }

/* The spine gutter: the minute, then the node of whoever acted. */
.plat-at {
  position: absolute; right: calc(100% + 44px); top: 10px; height: 19px; padding: 0 4px; display: flex; align-items: center;
  font: 400 11px/1 var(--f-pixel); letter-spacing: .02em; color: var(--ink-3); white-space: nowrap;
  border: 2px solid transparent; background: var(--cv-bg); transition: color .2s steps(2, jump-none);
}
.plat-cc:not(.is-in):not(.is-draft) .plat-at { color: transparent; }
.plat-at.is-now { color: #fff; border-image: var(--px-solid) 2 fill / 2px / 0 stretch; }
.plat-node {
  position: absolute; left: -36px; top: 9px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px;
  background: var(--cv-bg); box-shadow: 0 0 0 3px var(--cv-bg);
}
.plat-node canvas { width: 20px; height: 20px; border-radius: 5px; }
.plat-node-tool { background: var(--forest); color: #fff; border-radius: 5px; }
.plat-node-bot canvas { border-radius: 5px; }
/* Before it happens a node is only a small hollow pixel square on the spine. */
.plat-node > * { transition: opacity .2s steps(2, jump-none), transform .25s steps(3, jump-none); }
.plat-cc:not(.is-in):not(.is-draft) .plat-node { background: var(--cv-bg); }
.plat-cc:not(.is-in):not(.is-draft) .plat-node > * { opacity: 0; transform: scale(.5); }
.plat-node::after { content: ''; position: absolute; left: 6px; top: 6px; width: 8px; height: 8px; box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .3); opacity: 0; }
.plat-cc:not(.is-in):not(.is-draft) .plat-node::after { opacity: 1; }
.plat-cc.is-ghost .plat-node::after { box-shadow: inset 0 0 0 1px var(--forest-2); }

.plat-cc-h { display: flex; align-items: center; gap: 6px; height: 19px; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.plat-cc-h > .plat-ico { color: var(--forest-2); }
.plat-cc-h > b { font-weight: 580; color: var(--ink-2); }
.plat-cc-sub { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.plat-cc-sub::before { content: '·'; margin-right: 6px; }
.plat-cc-r { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 5px; font: 400 11px/1 var(--f-mono); color: var(--ink-3); }
.plat-cc-wait { position: absolute; left: 12px; right: 12px; top: 38px; display: flex; align-items: center; gap: 8px; font: 400 11px/1 var(--f-mono); color: var(--ink-3); opacity: 0; transition: opacity .25s; }
.plat-cc.is-ghost .plat-cc-wait { opacity: 1; }

.plat-cc-b { margin-top: 6px; }
.plat-cc-text b { font-weight: 600; margin-right: 3px; }
.plat-cc-task { display: flex; align-items: center; gap: 8px; font-weight: 560; }
.plat-cc-foot { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.plat-cc .plat-faces canvas { width: 18px; height: 18px; border-radius: 5px; box-shadow: 0 0 0 1.5px #fff; }
.plat-cc .plat-due { height: 20px; font-size: 11px; }

/* Works status: Draft → To do → In progress, as a stepped reel; Kofi slides in when he moves it. */
.plat-st {
  display: block; height: 19px; padding: 0 7px; overflow: hidden; border-radius: 5px; font: 400 11px/19px var(--f-mono); color: var(--ink-2);
  background: #f5f5f2; box-shadow: inset 0 0 0 .75px rgb(0 0 0 / .1);
  transition: background-color .24s steps(2, jump-none), box-shadow .24s steps(2, jump-none), color .24s steps(2, jump-none), width .26s steps(3, jump-none);
}
/* The chip fits its current label (section.js sets the width), so "To do" isn't padded out to "In progress". */
.plat-st-reel { display: flex; flex-direction: column; align-items: flex-start; transition: transform .26s steps(3, jump-none); }
.plat-st-reel > span { height: 19px; display: flex; align-items: center; gap: 5px; }
.plat-st-reel i { width: 4px; height: 4px; background: var(--leaf); box-shadow: 1px 1px 0 var(--forest-2); }
.plat-st[data-status="draft"] { background: transparent; box-shadow: inset 0 0 0 .75px rgb(var(--ink-rgb) / .3); color: var(--ink-3); }
.plat-st[data-status="todo"] .plat-st-reel { transform: translateY(-19px); }
.plat-st[data-status="doing"] .plat-st-reel { transform: translateY(-38px); }
.plat-st[data-status="doing"] { background: #e9f4dc; color: var(--forest); box-shadow: inset 0 0 0 .75px rgb(31 58 44 / .2); }
.plat-cc .plat-mover { width: 16px; height: 16px; border-radius: 4px; opacity: 0; transform: translateX(6px); transition: opacity .25s steps(2, jump-none), transform .25s steps(3, jump-none); }
.plat-cc .plat-mover.is-on { opacity: 1; transform: none; }

.plat-cc-call { display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-size: 13px; }
.plat-cc-names { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plat-cc-pair { display: inline-flex; flex: none; }
.plat-cc-pair canvas { width: 24px; height: 24px; border-radius: 6px; box-shadow: 0 0 0 1.5px #fff; }
.plat-cc-pair canvas + canvas { margin-left: -4px; }
.plat-cc-pair canvas.is-speaking { box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px var(--live); }
.plat-cc-time { font-variant-numeric: tabular-nums; }
.plat-cc-time .live-dot { width: 5px; height: 5px; }
.plat-cc.is-ended .plat-cc-time .live-dot { display: none; }
.plat-cc-notes {
  margin-left: auto; flex: none; height: 21px; padding: 0 8px; display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; background: var(--plat-hi); color: var(--forest);
  font: 520 11px/1 var(--f-text); box-shadow: inset 0 0 0 .75px rgb(31 58 44 / .16); opacity: 0; transition: opacity .2s steps(2, jump-none);
}
.plat-cc-notes.is-on { opacity: 1; }
.plat-cc-notes .live-dot { width: 5px; height: 5px; }
.plat-cc.is-ended .plat-cc-notes .live-dot { background: rgb(31 58 44 / .45); box-shadow: none; }

.plat-cc-list { display: grid; gap: 2px; }
.plat-cc-list li { position: relative; padding-left: 12px; }
.plat-cc-list li::before { content: ''; position: absolute; left: 1px; top: 8px; width: 4px; height: 4px; background: var(--leaf); box-shadow: 1px 1px 0 var(--forest-2); }
.plat-cc-sent { opacity: 0; transition: opacity .3s var(--ease-out); }
.plat-cc-sent.is-on { opacity: 1; }
.plat-cc-sent .plat-ico { color: var(--forest-2); }

/* The companion's catch-up: the same message the panel shows, with numbered sources. */
.plat-cu { padding: 12px 14px 14px; }
.plat-cu .plat-at, .plat-cu .plat-node { display: none; }
.plat-cu .plat-cc-h .plat-cu-av { width: 19px; height: 19px; border-radius: 5px; }
.plat-cc-lead { font-size: 14.5px; font-weight: 600; letter-spacing: -.003em; }
.plat-cu-list { margin-top: 8px; display: grid; gap: 7px; }
.plat-cu-list li { display: flex; gap: 9px; opacity: 0; transform: translateY(3px); transition: opacity .35s var(--ease-out), transform .5s var(--ease-out); }
.plat-cu-list li.is-in { opacity: 1; transform: none; }
.plat-n2 {
  flex: none; width: 17px; height: 17px; margin-top: 1px; display: grid; place-items: center; font: 400 11px/1 var(--f-pixel); font-style: normal; color: var(--forest);
  border: 2px solid transparent; border-image: var(--px-ring) 2 fill / 2px / 0 stretch;
}
.plat-n2.is-on { color: #fff; border-image: var(--px-solid) 2 fill / 2px / 0 stretch; }

/* Where each citation lands: a stepped pixel pin on the cited card's edge. */
.plat-pin {
  position: absolute; z-index: 2; right: -9px; top: 50%; width: 17px; height: 17px; margin-top: -9px; display: grid; place-items: center;
  font: 400 11px/1 var(--f-pixel); font-style: normal; color: #fff;
  border: 2px solid transparent; border-image: var(--px-solid) 2 fill / 2px / 0 stretch;
  visibility: hidden; transform: scale(.4); transition: transform .2s steps(3, jump-none), opacity .45s var(--ease-out);
}
.plat-pin.is-on { visibility: visible; transform: none; }

.plat-cv-cap {
  position: absolute; z-index: 1; left: 0; top: 0; display: flex; align-items: flex-start; gap: 7px;
  font-size: 12.5px; line-height: 1.3; color: var(--ink-2); opacity: 0; transform: translateY(4px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.plat-cv-cap .plat-ico { color: var(--forest-2); margin-top: 4px; }
.plat-cv-cap.is-on { opacity: 1; transform: none; }

/* Chrome along the bottom edge: the canvas's name and Fit. */
.plat-cv-label { position: absolute; z-index: 3; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 7px; font: 400 11px/1 var(--f-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); pointer-events: none; }
.plat-cv-label .plat-ico { color: var(--forest-2); }
.plat-fit {
  position: absolute; z-index: 3; right: 12px; bottom: 10px; height: 30px; padding: 0 10px 0 9px; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 8px;
  background: var(--paper-raised); color: var(--ink-2); font: 480 12px/1 var(--f-text);
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .12), 0 1px 2px rgb(0 0 0 / .05), inset 0 1px #fff;
  transition: background-color .16s, color .16s, box-shadow .16s, transform .14s var(--ease-out);
}
.plat-fit .plat-ico { color: var(--forest-2); }
.plat-fit:active { transform: translateY(1px) scale(.97); }
.plat-fit[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .62), 0 2px 4px rgb(0 0 0 / .06); }
@media (hover: hover) and (pointer: fine) { .plat-fit:hover { background: #fff; color: var(--ink); } }

/* App panel: Dayroom's own vertical rail (Home, DMs, Works) beside the screen. */
.plat-app { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 6px; min-width: 0; min-height: 0; }
.plat-tabs { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding-top: 6px; }
.plat-tab {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 2px; white-space: nowrap;
  font: 480 10.5px/1.1 var(--f-text); color: var(--ink-3); transition: color .2s;
}
.plat-tab-ico {
  position: relative; width: 34px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--ink-3);
  transition: color .2s, background-color .2s, box-shadow .2s;
}
/* Rail glyphs at a whole 2x, so the pixels stay square. */
.plat-tab-ico .plat-ico { transform: scale(2); }
.plat-tab.is-on { color: var(--ink); }
.plat-tab.is-on .plat-tab-ico { background: #fff; color: var(--forest-2); box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 1px 2px rgb(0 0 0 / .05), inset 0 -1px 0 rgb(0 0 0 / .03); }
.plat-badge {
  position: absolute; top: -4px; right: -5px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px;
  background: linear-gradient(var(--forest-2), var(--forest)); color: #fff; font: 600 9.5px/15px var(--f-text); text-align: center;
  box-shadow: 0 0 0 2px var(--paper-btn); transform: scale(0); transition: transform .36s var(--ease-spring);
}
.plat-tab.is-badge .plat-badge { transform: none; }

.plat-screen {
  position: relative; min-height: 0; overflow: hidden; border-radius: 10px; background: var(--paper-raised);
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 1px 3px rgb(0 0 0 / .04), inset 0 1px 0 #fff;
}
.plat-view {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.99);
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), visibility 0s linear .45s;
}
.plat-view.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .42s var(--ease-out) .08s, transform .55s var(--ease-out) .08s, filter .4s var(--ease-out), visibility 0s; }
.plat-view.is-dim { opacity: .5; transform: translateX(-10px); filter: blur(1.5px) saturate(.7); }

.plat-head { flex: none; height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.plat-head > b { font-weight: 580; color: var(--ink); }
.plat-head > .plat-ico { color: var(--ink-3); }
.plat-head-sub { font-size: 12px; color: var(--ink-3); }
.plat-head-faces { margin-left: auto; display: inline-flex; }
.plat-head-faces canvas { width: 20px; height: 20px; border-radius: 5px; box-shadow: 0 0 0 1.5px var(--paper-raised); }
.plat-head-faces canvas + canvas { margin-left: -5px; }
.plat-head-count { font: 400 10.5px/1 var(--f-mono); color: var(--ink-3); }
.plat-x { margin-left: auto; color: var(--ink-3); }

.plat-msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 2px 14px 12px; overflow: hidden; }
/* Items open their height smoothly, so the list grows like a real chat. */
.plat-item { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .44s var(--ease-drawer), opacity .26s var(--ease-out); }
.plat-item > * { min-height: 0; overflow: hidden; margin-inline: -3px; padding-inline: 3px; }
.plat-item.is-in { grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .44s var(--ease-drawer), opacity .4s var(--ease-out) .1s; }
.plat-pad { padding-top: 12px; padding-bottom: 2px; }
.plat-item > .plat-pad-card { padding: 12px 10px 14px; margin-inline: -10px; }
.plat-card .plat-task-title { font-size: 11.5px; gap: 6px; align-items: flex-start; line-height: 1.3; }
.plat-card .plat-check { width: 11px; height: 11px; margin-top: 1px; border-radius: 3px; }
.plat-item .plat-msg { transform: translateY(6px); transition: transform .5s var(--ease-out); }
.plat-item.is-in .plat-msg { transform: none; }

.plat-day { display: flex; align-items: center; gap: 10px; font: 400 10px/1 var(--f-mono); color: var(--ink-3); padding-top: 12px; }
.plat-day::before, .plat-day::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.plat-sys { display: flex; align-items: center; gap: 8px; padding-top: 12px; font-size: 12px; color: var(--ink-3); }
.plat-sys b { font-weight: 540; color: var(--ink-2); }
.plat-sys canvas { width: 16px; height: 16px; border-radius: 4px; }
.plat-msg { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.plat-av { width: 28px; height: 28px; border-radius: 7px; }
.plat-meta { display: flex; align-items: baseline; gap: 7px; font-size: 12.5px; line-height: 1.3; }
.plat-meta b { font-weight: 580; color: var(--ink); }
.plat-meta span { font: 400 10px/1 var(--f-mono); color: var(--ink-3); }
.plat-text { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.plat-caret { display: inline-block; width: 6px; height: 13px; margin-left: 1px; vertical-align: -2px; background: var(--forest-2); opacity: 0; }
.plat-caret.is-on { opacity: 1; }
.plat-replies {
  margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px 0 3px; border-radius: 6px;
  font-size: 11.5px; color: var(--ink-3); background: #fff; box-shadow: 0 0 0 .75px rgb(0 0 0 / .1);
  opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .4s var(--ease-spring);
}
.plat-replies b { font-weight: 560; color: var(--forest-2); }
.plat-replies canvas { width: 18px; height: 18px; border-radius: 4px; }
.plat-replies.is-in { opacity: 1; transform: none; }
.plat-mention { color: var(--forest); background: #e4f1d8; border-radius: 4px; padding: 0 2px; font-weight: 540; }
.plat-mention:empty { display: none; }

.plat-typing { display: flex; align-items: center; gap: 8px; padding: 12px 0 0 38px; font-size: 11.5px; color: var(--ink-3); }
.plat-dots { display: inline-flex; gap: 3px; align-items: flex-end; height: 8px; }
.plat-dots i { width: 4px; height: 4px; background: var(--ink-4); }
.plat-dots i.is-up { transform: translateY(-3px); background: var(--ink-3); }

.plat-composer {
  flex: none; margin: 0 10px 10px; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 12px;
  border-radius: 9px; background: #fff; box-shadow: 0 0 0 .75px rgb(0 0 0 / .13), 0 1px 2px rgb(0 0 0 / .04);
  font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden;
}
.plat-typed { color: var(--ink); overflow: hidden; text-overflow: clip; min-width: 0; }
.plat-composer.is-typing .plat-ph { display: none; }
.plat-send {
  margin-left: auto; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: #fff;
  background: linear-gradient(rgb(255 255 255 / .06), rgb(0 0 0 / .08)), linear-gradient(var(--forest-2), var(--forest));
  box-shadow: 0 0 0 1px #17291f, inset 0 1px rgb(255 255 255 / .2); opacity: .4; transition: opacity .2s, transform .14s var(--ease-out);
}
.plat-composer.is-typing .plat-send { opacity: 1; }
.plat-send.is-pressed { transform: scale(.88); }

/* Thread drawer */
.plat-thread {
  position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; width: calc(100% - 22px); display: flex; flex-direction: column;
  background: #fff; border-left: 1px solid var(--line);
  box-shadow: -18px 0 40px rgb(12 14 18 / .07), -2px 0 6px rgb(12 14 18 / .03);
  transform: translateX(104%); transition: transform .32s var(--ease-in);
}
.plat-thread.is-open { transform: none; transition: transform .52s var(--ease-drawer); }
.plat-thread .plat-composer { background: var(--paper-raised); }
.plat-msg.is-parent .plat-text { color: var(--ink-2); }
.plat-rule { display: flex; align-items: center; gap: 10px; padding-top: 12px; font: 400 10px/1 var(--f-mono); color: var(--ink-3); }
.plat-rule::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Works draft card */
.plat-draft { margin: 0 0 0 38px; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 .75px rgb(0 0 0 / .12), 0 2px 4px rgb(0 0 0 / .03), 0 6px 12px rgb(0 0 0 / .05); }
.plat-draft-from { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.plat-draft-from b { font-weight: 580; color: var(--ink); }
.plat-works-av { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; color: #fff; background: linear-gradient(var(--forest-2), var(--forest)); }
.plat-pill { margin-left: auto; padding: 4px 7px; border-radius: 99px; background: #f5f5f2; box-shadow: inset 0 0 0 .75px rgb(0 0 0 / .08); font: 400 9.5px/1 var(--f-mono); color: var(--ink-2); }
.plat-task { margin-top: 9px; padding: 9px 10px; border-radius: 8px; border: 1px dashed rgb(var(--ink-rgb) / .22); background: var(--paper-raised); transition: border-color .3s, background-color .3s; }
.plat-task-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 560; color: var(--ink); }
.plat-check { flex: none; width: 13px; height: 13px; border-radius: 4px; box-shadow: inset 0 0 0 1.25px rgb(var(--ink-rgb) / .3); display: grid; place-items: center; transition: background-color .2s, box-shadow .2s; }
.plat-check::after { content: ''; width: 5px; height: 3px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translateY(-1px) rotate(-45deg) scale(.4); opacity: 0; transition: transform .3s var(--ease-spring), opacity .15s; }
.is-created .plat-check, .plat-ghost .plat-check, .plat-card.is-new .plat-check { background: var(--leaf); box-shadow: none; }
.is-created .plat-check::after, .plat-ghost .plat-check::after { opacity: 1; transform: translateY(-1px) rotate(-45deg); }
.plat-task-meta { margin-top: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-2); }
.plat-due { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 6px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 .75px rgb(0 0 0 / .1); font: 400 10px/1 var(--f-mono); color: var(--ink-2); }
.plat-due .plat-ico { color: var(--forest-2); }
.plat-who { display: inline-flex; align-items: center; gap: 6px; }
.plat-who .plat-faces canvas, .plat-card .plat-faces canvas { width: 18px; height: 18px; border-radius: 5px; }
.plat-actions { margin-top: 10px; display: flex; justify-content: flex-end; gap: 6px; }
.plat-btn {
  height: 28px; padding: 0 12px; display: inline-grid; align-items: center; border-radius: 7px; font: 500 12px/1 var(--f-text);
  color: var(--ink); background: var(--paper-raised); box-shadow: 0 0 0 .75px rgb(0 0 0 / .14), 0 1px 2px rgb(0 0 0 / .06), inset 0 1px #fff;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background-color .2s;
}
.plat-btn.is-dark { color: #fff; background: linear-gradient(rgb(255 255 255 / .07), rgb(0 0 0 / .08)), linear-gradient(var(--forest-2), var(--forest)); box-shadow: 0 0 0 1px #17291f, inset 0 1px rgb(255 255 255 / .22), 0 2px 4px rgb(0 0 0 / .14); }
.plat-btn.is-pressed { transform: translateY(1px) scale(.95); box-shadow: 0 0 0 1px #17291f, inset 0 1px 3px rgb(0 0 0 / .32); transition-duration: .08s; }
.plat-btn-a, .plat-btn-b { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; transition: opacity .2s, transform .3s var(--ease-out); }
.plat-btn-b { opacity: 0; transform: translateY(5px); }
.is-created .plat-btn-a { opacity: 0; transform: translateY(-5px); }
.is-created .plat-btn-b { opacity: 1; transform: none; }
.is-created .plat-task { border-color: rgb(92 194 52 / .5); background: #f6faf1; }

.plat-ghost {
  position: absolute; z-index: 6; left: 0; top: 0; height: 30px; padding: 0 11px 0 9px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  border-radius: 8px; background: #fff; color: var(--ink); font: 560 12px/1 var(--f-text);
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .14), 0 12px 24px rgb(0 0 0 / .14), 0 2px 4px rgb(0 0 0 / .06);
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.plat-cursor { position: absolute; z-index: 7; left: 0; top: 0; width: 16px; height: 24px; opacity: 0; pointer-events: none; will-change: transform; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .18)); }
.plat-cursor svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }

/* Works board */
.plat-seg { margin-left: auto; display: inline-flex; padding: 2px; border-radius: 6px; background: var(--paper-sunk); font-size: 10.5px; color: var(--ink-3); }
.plat-seg span { padding: 4px 7px; border-radius: 4px; }
.plat-seg .is-on { background: #fff; color: var(--ink); box-shadow: 0 0 0 .5px rgb(0 0 0 / .1); }
.plat-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 10px; }
.plat-col {
  min-width: 0; padding: 7px 6px; border-radius: 7px; display: flex; flex-direction: column;
  background-color: #f2f2ee; background-image: radial-gradient(circle at center, rgb(var(--ink-rgb) / .14) .6px, transparent .9px); background-size: 7px 12px;
  box-shadow: inset 0 0 0 .75px rgb(0 0 0 / .05);
}
.plat-col-h { display: flex; justify-content: space-between; padding: 2px 3px 4px; font: 400 10px/1 var(--f-mono); color: var(--ink-3); }
.plat-card { margin-top: 6px; padding: 8px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 .7px rgb(0 0 0 / .09), 0 1px 2px rgb(0 0 0 / .04); font-size: 11.5px; line-height: 1.3; color: var(--ink-2); }
.plat-card.is-done > p:first-child { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgb(var(--ink-rgb) / .3); }
.plat-card-meta { margin-top: 7px; display: flex; align-items: center; justify-content: space-between; gap: 4px; flex-wrap: wrap; }
.plat-bar-s { display: block; width: 70%; height: 5px; border-radius: 3px; background: var(--paper-sunk); }
.plat-bar-s.is-short { width: 45%; }
.plat-item.plat-new-wrap > * { padding-bottom: 3px; }
.plat-card.is-new .plat-check::after { opacity: 1; transform: translateY(-1px) rotate(-45deg); }
.plat-add { margin-top: 8px; padding: 6px 4px; font: 400 10px/1 var(--f-mono); color: var(--ink-3); }
.plat-card.is-new { color: var(--ink); font-weight: 560; transform: translateY(-14px) scale(.96); transition: transform .62s var(--ease-spring), box-shadow 1.2s var(--ease-out) .5s; box-shadow: 0 0 0 1.5px var(--leaf), 0 6px 14px rgb(0 0 0 / .08); }
.plat-item.is-in .plat-card.is-new { transform: none; }
.plat-item.is-settled .plat-card.is-new { box-shadow: 0 0 0 .7px rgb(0 0 0 / .14), 0 1px 2px rgb(0 0 0 / .04); }

/* Phone booth call */
.plat-notes-on { opacity: 0; transform: scale(.85); transition: opacity .2s, transform .36s var(--ease-spring); }
.plat-notes-on.is-on { opacity: 1; transform: none; }
.plat-notes-on { margin-left: auto; height: 22px; padding: 0 8px; display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; background: var(--plat-hi); color: var(--forest); font: 520 11px/1 var(--f-text); box-shadow: inset 0 0 0 .75px rgb(31 58 44 / .16); }
.plat-notes-on .live-dot { width: 5px; height: 5px; }
.plat-timer { font: 400 10.5px/1 var(--f-mono); color: var(--ink-3); min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }
.plat-booth { position: relative; flex: 1; min-height: 0; margin: 12px 12px 0; display: grid; place-items: center; border-radius: 10px; overflow: hidden; background: linear-gradient(#c99d6c 70%, #dcc59c 70%); box-shadow: 0 0 0 .75px rgb(0 0 0 / .14), 0 2px 6px rgb(0 0 0 / .05); }
.plat-booth-art { display: block; }
.plat-who-chip {
  position: absolute; bottom: 8px; height: 26px; padding: 0 9px 0 4px; display: inline-flex; align-items: center; gap: 6px; border-radius: 7px;
  background: rgb(21 27 23 / .8); color: #fff; font: 520 11px/1 var(--f-text); box-shadow: inset 0 1px rgb(255 255 255 / .12);
}
.plat-who-chip { opacity: 0; transition: opacity .3s var(--ease-out), box-shadow .2s; }
.plat-who-chip.is-in { opacity: 1; }
.plat-who-chip canvas { width: 18px; height: 18px; border-radius: 4px; }
.plat-who-chip[data-speaker="amara"] { left: 8px; }
.plat-who-chip[data-speaker="kofi"] { right: 8px; }
.plat-who-chip.is-speaking { box-shadow: inset 0 1px rgb(255 255 255 / .12), 0 0 0 1.5px var(--live); }
.plat-call-note { margin: 10px 14px 0; font-size: 11.5px; line-height: 1.4; color: var(--ink-3); text-align: center; }
.plat-controls { display: flex; justify-content: center; gap: 10px; padding: 12px 0 14px; }
.plat-controls span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: var(--ink-2); box-shadow: 0 0 0 .75px rgb(0 0 0 / .12), 0 1px 2px rgb(0 0 0 / .05), inset 0 -1px 0 rgb(0 0 0 / .03); }
.plat-controls .is-leave { background: #c4553a; color: #fff; box-shadow: 0 0 0 1px #a54430, inset 0 1px rgb(255 255 255 / .2); }

/* Companion DM */
.plat-head > .plat-bot-av { width: 22px; height: 22px; border-radius: 6px; }
.plat-lead { font-weight: 580; }
.plat-points { margin-top: 3px; }
.plat-points li > span { display: flex; gap: 8px; padding-top: 4px; font-size: 13px; line-height: 1.42; color: var(--ink); }
.plat-points li > span::before { content: ''; flex: none; width: 4px; height: 4px; margin-top: 7px; background: var(--leaf); box-shadow: 1px 1px 0 var(--forest-2); }
.plat-sources { display: flex; flex-wrap: wrap; gap: 5px; padding-top: 10px; }
.plat-sources > span {
  height: 22px; padding: 0 7px; display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; white-space: nowrap;
  background: #f5f5f2; box-shadow: inset 0 0 0 .75px rgb(0 0 0 / .1); font: 400 10px/1 var(--f-mono); color: var(--ink-2);
  opacity: 0; transform: scale(.7) translateY(3px); transition: opacity .2s, transform .42s var(--ease-spring);
}
.plat-sources > span.is-in { opacity: 1; transform: none; }
.plat-sources .plat-ico { color: var(--forest-2); }
.plat-n { width: 13px; height: 13px; margin-left: -3px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: #fff; font: 500 8.5px/1 var(--f-mono); }

/* Step rail */
.plat-rail { max-width: 1080px; margin: 14px auto 0; padding: 0 10px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.plat-step {
  appearance: none; border: 0; background: none; padding: 10px 6px 10px 0; min-height: 52px; text-align: left; border-radius: 6px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 10px; color: var(--ink-3);
  transition: color .2s var(--ease-out);
}
.plat-track { grid-column: 1 / -1; height: 2px; margin-bottom: 12px; border-radius: 1px; background: rgb(var(--ink-rgb) / .1); overflow: hidden; }
.plat-track i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); transition: background-color .3s; }
.plat-step.is-past .plat-track i { background: rgb(var(--ink-rgb) / .34); }
.plat-num {
  min-width: 30px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 5px;
  font: 400 11px/1 var(--f-pixel); letter-spacing: .06em; color: var(--ink-3);
  background: rgb(255 255 255 / .5); box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), inset 0 1px #fff;
  transition: color .2s, background-color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.plat-label { font: 480 14px/1.2 var(--f-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plat-step.is-past { color: var(--ink-2); }
.plat-step[aria-selected="true"] { color: var(--ink); }
.plat-step[aria-selected="true"] .plat-num { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .62), 0 2px 4px rgb(0 0 0 / .06); }
@media (hover: hover) and (pointer: fine) {
  .plat-step:hover { color: var(--ink-2); }
  .plat-step:hover .plat-num { transform: translateY(-1px); background: #fff; }
  .plat-step[aria-selected="true"]:hover { color: var(--ink); }
}
.plat-step:active .plat-num { transform: translateY(1px) scale(.96); }
.plat-step:focus-visible { outline-offset: 0; }
.plat-caption { max-width: 640px; margin: 8px auto 0; padding: 4px 12px; min-height: 52px; text-align: center; font-size: 15px; line-height: 1.5; color: var(--ink-2); border-radius: 6px; }

/* Notes: three app items, each with the spine's own forest tool tile. */
.plat-notes { max-width: 1080px; margin: 72px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.plat-note-h { display: flex; align-items: center; gap: 10px; font-size: 15.5px; line-height: 1.3; font-weight: 560; color: var(--ink); }
.plat-note-ico { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: var(--forest); color: #fff; box-shadow: inset 0 1px rgb(255 255 255 / .14); }
.plat-note p { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }

/* The call to action as a Dayroom composer: the whole bar opens the app, the button sits in the send slot. */
.plat-cta { max-width: 1080px; margin: 128px auto 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 48px; row-gap: 18px; }
.plat-cta-copy { min-width: 0; }
.plat-cta-title { font-size: 22px; line-height: 1.25; font-weight: 460; letter-spacing: -.005em; color: var(--ink); }
.plat-cta-sub { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.plat-cta-bar {
  display: flex; align-items: center; gap: 14px; min-width: 0; height: 62px; padding: 0 9px 0 20px; border-radius: 14px;
  background: #fff; color: var(--ink-3); text-decoration: none;
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .13), 0 1px 2px rgb(0 0 0 / .04), 0 12px 28px -16px rgb(28 40 32 / .3);
  transition: box-shadow .2s var(--ease-out);
}
.plat-cta-ph { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.plat-cta-bar .plat-cta-btn { flex: none; }
.plat-cta-bar:active .plat-cta-btn { transform: translateY(1px) scale(.985); }
.plat-cta-bar:focus-visible { outline-offset: 3px; border-radius: 14px; }
@media (hover: hover) and (pointer: fine) {
  .plat-cta-bar:hover { box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .3), 0 1px 2px rgb(0 0 0 / .04), 0 12px 28px -16px rgb(28 40 32 / .3); }
  .plat-cta-bar:hover .plat-cta-btn { background: linear-gradient(rgb(255 255 255 / .1), rgb(0 0 0 / .04)), linear-gradient(var(--forest-2), var(--forest)); }
  .plat-cta-bar:hover .arrow { transform: translateX(2px); }
}

/* Medium: tighten the panel a touch. */
@media (max-width: 1099px) { .plat-demo { grid-template-columns: minmax(0, 1fr) clamp(320px, 38%, 360px); } }
@media (max-width: 999px) {
  .plat-demo { grid-template-columns: minmax(0, 1fr) 316px; }
  .plat-spine-col { grid-template-columns: 266px 212px; column-gap: 46px; }
  .plat-cu { padding: 11px 12px 13px; }
  .plat-cc-names, .plat-cu .plat-cc-sub { display: none; }
}

/* Small: the spine becomes a one-row-per-event log above the panel, short enough
   that a phone shows the log and the panel together. Every row keeps its height
   from the start, so the panel below never moves. */
@media (max-width: 899px) {
  .plat-demo { grid-template-columns: minmax(0, 1fr); height: auto; }
  .plat-app { height: 460px; }
  .plat-canvas { height: auto; }
  .plat-cv-view { position: relative; inset: auto; overflow: visible; padding: 12px 12px 40px; -webkit-mask-image: none; mask-image: none; }
  .plat-world { position: relative; max-width: 520px; margin: 0 auto; padding: 0 0 0 76px; transform: none !important; transition: none; }
  .plat-plane, .plat-fit, .plat-cite, .plat-head-sq, .plat-cv-label { display: none; }
  .plat-spine-col { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .plat-spine-col > .plat-cu { grid-column: 1; grid-row: auto; }
  .plat-cu .plat-node { display: grid; }
  .plat-cu .plat-at { display: flex; }
  /* One row: place, then what happened, then its status at the far end. */
  .plat-cc { height: 40px; padding: 0 10px 0 11px; display: flex; align-items: center; gap: 7px; font-size: 13px; }
  .plat-cc-h, .plat-cc-b, .plat-cc-call { display: contents; }
  .plat-cc-h > .plat-ico, .plat-cc-h > b, .plat-cc-h > .plat-cu-av { flex: none; }
  .plat-cc-sub, .plat-cc-foot, .plat-cc-names, .plat-cu-time, .plat-cc-time, .plat-cu .plat-cc-h > b, .plat-cu-av, .plat-cc-list li + li, .plat-cu-list li > span { display: none; }
  .plat-cc-r, .plat-cc-notes, .plat-cu-list { order: 2; margin-left: auto; }
  .plat-cc-text, .plat-cc-task, .plat-cc-lead, .plat-cc-list { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .plat-cc-text { display: block; }
  .plat-cc-task { display: block; font-weight: 520; }
  .plat-cc-task .plat-check { display: none; }
  .plat-cc-lead { font-size: 13px; font-weight: 580; }
  .plat-cc-list { display: block; color: var(--ink-2); }
  .plat-cc-list li { display: inline; padding: 0; }
  .plat-cc-list li::before { display: none; }
  .plat-cc[data-card="n"] .plat-cc-b { display: none; }
  .plat-cc-pair canvas { width: 20px; height: 20px; border-radius: 5px; }
  .plat-cu-list { margin-top: 0; display: flex; gap: 3px; }
  /* The header and body boxes are dissolved into the row, so their states move to their children. */
  .plat-cc:not(.is-in):not(.is-draft) .plat-cc-b > *, .plat-cc:not(.is-in):not(.is-draft) .plat-cc-call > * { visibility: hidden; }
  .plat-cc:not(.is-in):not(.is-draft):not(.is-ghost) .plat-cc-h > * { opacity: .5; }
  .plat-cc.is-ghost .plat-cc-h > * { opacity: .72; }
  .plat-cc-wait { left: auto; right: 10px; top: 50%; margin-top: -6px; }
  .plat-at { top: 9px; }
  .plat-node { top: 10px; }
  .plat-pin { top: -7px; right: -7px; margin-top: 0; }
  .plat-cu:not(.is-in) .plat-cc-h > b { display: inline; }
  .plat-cu:not(.is-in) .plat-cc-lead { display: none; }
  .plat-cv-cap { position: absolute; left: 50%; top: auto; bottom: -30px; width: max-content; max-width: calc(100% + 60px); white-space: nowrap; transform: translate(-50%, 4px); }
  .plat-cv-cap .plat-ico { margin-top: 3px; }
  .plat-cv-cap.is-on { transform: translate(-50%, 0); }
  .plat-notes { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 560px; margin-top: 56px; }
  .plat-cta { margin-top: 88px; }
}
@media (max-width: 767px) { .plat-stage { margin-top: 44px; } }
@media (max-width: 639px) {
  .plat-rail { gap: 6px; padding: 0 4px; }
  .plat-step { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 8px 0; min-height: 56px; }
  .plat-track { justify-self: stretch; margin-bottom: 10px; }
  .plat-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .plat-caption { font-size: 14.5px; min-height: 72px; margin-top: 4px; }
  .plat-thread { width: 100%; border-left: 0; }
  .plat-cta { grid-template-columns: minmax(0, 1fr); }
  .plat-cta-bar { height: 58px; padding-left: 16px; }
}
@media (max-width: 475px) {
  .plat-frame { padding: 6px; }
  .plat-app { height: 440px; }
  .plat-cv-view { padding: 10px 10px 38px; }
  .plat-world { padding-left: 70px; }
  .plat-at { right: calc(100% + 36px); padding: 0 3px; }
  .plat-node { left: -34px; }
  .plat-app { grid-template-columns: 40px minmax(0, 1fr); gap: 4px; }
  .plat-tab-ico { width: 30px; height: 28px; }
  .plat-cta-ph { font-size: 14px; }
  .plat-msgs { padding: 2px 12px 10px; }
  .plat-head { padding: 0 12px; }
  .plat-draft { margin-left: 0; }
  .plat-cols { padding: 8px; gap: 4px; }
  .plat-col { padding: 6px 4px; }
  .plat-card { padding: 7px 6px; font-size: 11px; }
  .plat-cta-title { font-size: 20px; }
}
/* Very narrow phones: the minutes leave the gutter; the nodes keep the spine. */
@media (max-width: 359px) {
  .plat-world { padding-left: 34px; }
  .plat-at { display: none !important; }
  .plat-node { left: -32px; }
  .plat-cc-sub { display: none; }
  .plat-tab { font-size: 10px; }
  .plat-seg { display: none; }
  .plat-who .plat-faces { display: none; }
}

/* sections/40-capabilities */
/* 40-capabilities: the intro and its room index, the room chip, the shared
   chapter layout (sections 41-44), rows with their autoplay rail, and the
   detail drawer (#dayroom-drawer). */

/* ---------- Intro ---------- */
#features { padding-bottom: 8px; }
#features .caps-head { max-width: 640px; }
#features .caps-head .eyebrow { margin-bottom: 18px; }
#features .caps-head .title .dim { display: block; }
#features .caps-head .lede { margin-top: 18px; max-width: 520px; }

/* The chapter index: four rooms, each a quiet card with its room chip, a
   stepped pixel glyph and a one-liner. */
#features .caps-index { margin-top: 52px; }
#features .caps-rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
#features .caps-rooms > li { display: flex; min-width: 0; }
#features .caps-room {
  position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px;
  padding: 14px 16px 18px; border-radius: var(--r-panel); background: var(--paper-raised);
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .08), 0 1px 2px rgb(0 0 0 / .03);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), background-color .22s var(--ease-out);
}
#features .caps-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
#features .caps-glyph { display: block; height: 24px; flex: none; color: var(--ink-solid); }
#features .caps-glyph svg { display: block; height: 24px; width: auto; image-rendering: pixelated; }
#features .caps-glyph .f { visibility: hidden; }
#features .caps-glyph .f0 { visibility: visible; }
#features .caps-line { font-size: 15px; line-height: 1.4; font-weight: 480; color: var(--ink); text-wrap: balance; }
#features .caps-room:focus-visible { outline-offset: 2px; border-radius: var(--r-panel); }
#features .caps-room:active { transform: translateY(0) scale(.99); }
@media (hover: hover) and (pointer: fine) {
  #features .caps-room:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 2px 4px rgb(0 0 0 / .04), 0 12px 24px -12px rgb(28 33 29 / .22); }
  #features .caps-room:hover .caps-glyph .f0 { animation: capsF0 .5s steps(1, end) infinite; }
  #features .caps-room:hover .caps-glyph .f1 { animation: capsF1 .5s steps(1, end) infinite; }
  #features .caps-room:hover .caps-glyph .f2 { animation: capsF2 .5s steps(1, end) infinite; }
}
#features .caps-room:focus-visible .caps-glyph .f0 { animation: capsF0 .5s steps(1, end) infinite; }
#features .caps-room:focus-visible .caps-glyph .f1 { animation: capsF1 .5s steps(1, end) infinite; }
#features .caps-room:focus-visible .caps-glyph .f2 { animation: capsF2 .5s steps(1, end) infinite; }
/* Three-frame stepped glyphs: each frame is visible for one third of the cycle. */
@keyframes capsF0 { 0% { visibility: visible; } 33.33% { visibility: hidden; } 100% { visibility: hidden; } }
@keyframes capsF1 { 0% { visibility: hidden; } 33.33% { visibility: visible; } 66.66% { visibility: hidden; } 100% { visibility: hidden; } }
@keyframes capsF2 { 0% { visibility: hidden; } 66.66% { visibility: visible; } 100% { visibility: visible; } }
@media (max-width: 899px) { #features .caps-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { #features .caps-index { margin-top: 40px; } }
@media (max-width: 519px) {
  #features .caps-rooms { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  #features .caps-room { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; align-items: center; padding: 14px 16px; }
  #features .caps-top { display: contents; }
  #features .caps-glyph { grid-column: 1; grid-row: 1 / span 2; }
  #features .caps-top .room-chip { grid-column: 2; grid-row: 1; justify-self: start; }
  #features .caps-line { grid-column: 2; grid-row: 2; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { #features .caps-glyph .f { animation: none !important; } }

/* ---------- Room chip (index, chapter labels and the drawer) ---------- */
.room-chip {
  display: inline-flex; align-items: center; flex: none; height: 22px; padding: 0 7px; border-radius: var(--r-chip);
  background: var(--tile); box-shadow: inset 0 0 0 1px var(--line);
  font: 400 11px/1 var(--f-pixel); letter-spacing: .03em; color: var(--ink); white-space: nowrap;
}
.room-chip > [aria-hidden] { color: var(--ink-3); margin-right: 1px; }
.room-tag { display: flex; align-items: center; gap: 10px; }
.room-of { font: 460 13px/1 var(--f-text); color: var(--ink-3); white-space: nowrap; }
/* While you are "in" a chapter (the header's scrollspy marks it), its chip
   makes room for the same presence dot that sits in the header. */
.room-tag .room-chip::before {
  content: ""; flex: none; width: 0; height: 6px; margin-right: 0; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 0 1px rgb(20 52 30 / .4); scale: 0;
  transition: width .36s var(--ease-out), margin-right .36s var(--ease-out), scale .3s var(--ease-spring) .08s;
}
.chapter[data-here] .room-tag .room-chip::before { width: 6px; margin-right: 6px; scale: 1; }
/* The index chips take the same dot on hover and focus: "step in". */
#features .caps-room .room-chip::before {
  content: ""; flex: none; width: 0; height: 6px; margin-right: 0; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 0 1px rgb(20 52 30 / .4); scale: 0;
  transition: width .3s var(--ease-out), margin-right .3s var(--ease-out), scale .28s var(--ease-spring) .06s;
}
#features .caps-room:focus-visible .room-chip::before { width: 6px; margin-right: 6px; scale: 1; }
@media (hover: hover) and (pointer: fine) { #features .caps-room:hover .room-chip::before { width: 6px; margin-right: 6px; scale: 1; } }
@media (prefers-reduced-motion: reduce) { .room-tag .room-chip::before, #features .caps-room .room-chip::before { transition: none; } }

/* ---------- Shared chapter layout (sections 41-44) ---------- */
.chapter { padding: 96px 0; }
.chapter-grid { display: grid; grid-template-columns: 372px minmax(0, 1fr); column-gap: 72px; row-gap: 48px; align-items: center; }
.chapter.flip .chapter-grid { grid-template-columns: minmax(0, 1fr) 372px; }
/* Two-tone chapter heads: the dim half always starts its own line. */
.chapter .subtitle .dim { display: block; }
.chapter .subtitle .nw { white-space: nowrap; }
.chapter.flip .chapter-demo { grid-column: 1; grid-row: 1; }
.chapter.flip .chapter-copy { grid-column: 2; grid-row: 1; }
.chapter-copy { min-width: 0; }
.chapter-copy .eyebrow { margin-bottom: 16px; }
.chapter-copy .lede { margin-top: 16px; }
.chapter-copy .rows { margin-top: 32px; }
.chapter-demo { position: relative; width: 100%; min-width: 0; aspect-ratio: 707 / 440; container: demo / inline-size; isolation: isolate; }
@media (max-width: 999px) {
  .chapter { padding: 72px 0; }
  .chapter-grid, .chapter.flip .chapter-grid { grid-template-columns: minmax(0, 1fr); }
  .chapter.flip .chapter-demo, .chapter.flip .chapter-copy { grid-column: auto; grid-row: auto; }
  .chapter-copy { max-width: 560px; }
}
@media (max-width: 767px) { .chapter-demo { min-height: 360px; } }

/* Chapter label: a room chip and where it sits among the four. */
.chapter-copy .room-tag { margin-bottom: 18px; }

/* Rows: a quiet list in the style of the app's sidebar. The active row is
   raised white; a panel icon says the row opens a side panel. */
.chapter .rows {
  gap: 2px; padding: 4px; border-radius: 14px;
  background: rgb(var(--ink-rgb) / .03); box-shadow: inset 0 0 0 1px var(--line);
}
.chapter .row {
  position: relative; overflow: hidden; isolation: isolate; gap: 10px;
  min-height: 48px; padding: 12px 12px 12px 16px; border: 0; border-radius: 10px;
  background: transparent; box-shadow: none;
  transition: background-color .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .15s var(--ease-out);
}
.chapter .row .label { text-wrap: balance; font-weight: 500; color: var(--ink-2); transition: color .18s var(--ease-out); }
.chapter .row[aria-current]:not([aria-current="false"]) {
  background: #fff; box-shadow: 0 0 0 .75px rgb(0 0 0 / .08), 0 1px 2px rgb(0 0 0 / .05), 0 6px 14px -8px rgb(28 33 29 / .18);
}
.chapter .row[aria-current]:not([aria-current="false"]) .label { color: var(--ink); font-weight: 520; }
.chapter .row .row-try {
  flex: none; font: 460 13px/1 var(--f-text); color: var(--ink-3); opacity: 0; translate: 4px 0;
  transition: opacity .2s var(--ease-out), translate .3s var(--ease-out);
}
.chapter .row[aria-current]:not([aria-current="false"]) .row-try { opacity: 1; translate: 0 0; }
.chapter .row .row-open { flex: none; width: 16px; height: 16px; color: var(--ink-3); transition: color .18s var(--ease-out); }
.chapter .row .row-open .row-open-fill { fill: currentColor; opacity: 0; transform-box: fill-box; transform-origin: right center; scale: .2 1; transition: opacity .2s var(--ease-out), scale .3s var(--ease-out); }
.chapter .row[aria-current]:not([aria-current="false"]) .row-open { color: var(--ink-2); }
.chapter .row:focus-visible { outline-offset: -2px; border-radius: 10px; }
.chapter .row:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) {
  .chapter .row:hover { transform: none; background: rgb(255 255 255 / .7); border-color: transparent; }
  .chapter .row[aria-current]:not([aria-current="false"]):hover { background: #fff; }
  .chapter .row:hover .label { color: var(--ink); }
  .chapter .row:hover .row-open { color: var(--ink); }
  .chapter .row:hover .row-open .row-open-fill { opacity: .32; scale: 1 1; }
}
.chapter .row:focus-visible .row-open .row-open-fill { opacity: .32; scale: 1 1; }
.chapter .row-rail { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .25s var(--ease-out); }
.chapter .row-rail > i { display: block; height: 100%; background: linear-gradient(90deg, var(--forest-2), var(--leaf)); transform: scaleX(0); transform-origin: left center; }
.chapter[data-autoplay] .row[aria-current="true"] .row-rail { opacity: 1; }
.chapter[data-autoplay] .row[aria-current="true"] .row-rail > i { animation: chapterRail var(--dwell, 7000ms) linear forwards; }
.chapter[data-autoplay="paused"] .row[aria-current="true"] .row-rail > i { animation-play-state: paused; }
@keyframes chapterRail { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .chapter .row-rail { display: none; } }

/* ---------- Detail drawer: docked like the app's own thread pane ---------- */
#dayroom-drawer { position: fixed; inset: 0; z-index: 300; }
#dayroom-drawer[hidden] { display: none; }
#dayroom-drawer .drawer-scrim {
  position: absolute; inset: 0; background: rgb(var(--ink-rgb) / .18);
  opacity: 0; transition: opacity .46s var(--ease-drawer);
}
#dayroom-drawer .drawer-panel {
  position: absolute; top: 0; bottom: 0; right: 0; width: min(584px, 100vw);
  display: flex; flex-direction: column; overflow: hidden; border-radius: 0;
  background: var(--paper-raised); border-left: 1px solid var(--line-2);
  box-shadow: -18px 0 40px rgb(12 14 18 / .08), -2px 0 6px rgb(12 14 18 / .03);
  transform: translate3d(calc(100% + 24px), 0, 0); transition: transform .46s var(--ease-drawer);
  color: var(--ink); outline: none;
}
#dayroom-drawer[data-state="open"] .drawer-scrim { opacity: 1; }
#dayroom-drawer[data-state="open"] .drawer-panel { transform: none; }
#dayroom-drawer[data-state="closing"] .drawer-scrim { transition: opacity .28s var(--ease-in); }
#dayroom-drawer[data-state="closing"] .drawer-panel { transition: transform .28s var(--ease-in); }
#dayroom-drawer[data-dragging] .drawer-panel, #dayroom-drawer[data-dragging] .drawer-scrim { transition: none; }

#dayroom-drawer .drawer-grip { display: none; }
/* The bar reads like the app's "Thread  #launch" header: a bold kind, the room, its place. */
#dayroom-drawer .drawer-bar {
  display: flex; align-items: center; gap: 12px; padding: 0 10px 0 28px; min-height: 56px; flex: none;
  border-bottom: 1px solid var(--line); background: #fff;
}
#dayroom-drawer .drawer-where { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; overflow: hidden; white-space: nowrap; font-size: 13px; color: var(--ink-2); }
#dayroom-drawer .drawer-kind { font-weight: 580; color: var(--ink); }
#dayroom-drawer .drawer-room { font-size: 12.5px; color: var(--ink-3); }
#dayroom-drawer .drawer-room > [aria-hidden] { font-family: var(--f-mono); margin-right: 1px; }
#dayroom-drawer .drawer-where .room-of { font: 400 11px/1 var(--f-mono); color: var(--ink-3); }
#dayroom-drawer .drawer-where .eyebrow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#dayroom-drawer .drawer-pager { display: flex; align-items: center; gap: 2px; }
#dayroom-drawer .drawer-page {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--r-btn);
  background: transparent; color: var(--ink-2); font: 460 15px/1 var(--f-text);
  transition: background-color .14s var(--ease-out), color .14s, transform .14s var(--ease-out);
}
#dayroom-drawer .drawer-page .arr { transition: transform .2s var(--ease-out); }
#dayroom-drawer .drawer-page:disabled { color: var(--ink-4); cursor: default; }
#dayroom-drawer .drawer-page:not(:disabled):active { transform: scale(.94); }
#dayroom-drawer .drawer-close {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: var(--r-btn); color: var(--ink-2);
  background: transparent; transition: background-color .14s var(--ease-out), color .14s, transform .14s var(--ease-out);
}
#dayroom-drawer .drawer-close svg { width: 14px; height: 14px; }
#dayroom-drawer .drawer-close:active { transform: scale(.94); }
#dayroom-drawer .drawer-pager + .drawer-close { margin-left: 2px; }
@media (hover: hover) and (pointer: fine) {
  #dayroom-drawer .drawer-page:not(:disabled):hover, #dayroom-drawer .drawer-close:hover { background: rgb(var(--ink-rgb) / .06); color: var(--ink); }
  #dayroom-drawer .drawer-page[data-dir="-1"]:not(:disabled):hover .arr { transform: translateX(-2px); }
  #dayroom-drawer .drawer-page[data-dir="1"]:not(:disabled):hover .arr { transform: translateX(2px); }
}
@media (pointer: coarse) { #dayroom-drawer .drawer-page, #dayroom-drawer .drawer-close { width: 44px; height: 44px; } }

#dayroom-drawer .drawer-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; container: drawer / inline-size; scrollbar-width: thin; }
#dayroom-drawer .drawer-item { padding-bottom: 32px; }
#dayroom-drawer .drawer-head { padding: 28px 32px 28px; }
#dayroom-drawer .drawer-title { font-size: 46px; line-height: 1.06; letter-spacing: -.02em; font-weight: 420; color: var(--ink); text-wrap: balance; }
#dayroom-drawer .drawer-body { margin-top: 16px; max-width: 500px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
#dayroom-drawer .drawer-preview { margin: 0 16px; padding: 6px; border-radius: var(--r-frame); background: var(--paper-sunk); box-shadow: inset 0 0 0 1px var(--line); }
#dayroom-drawer .drawer-preview > .chapter-demo { margin: 0; }
/* "Try it" is a Works checklist: a task card with one unticked box per step. */
#dayroom-drawer .drawer-how {
  margin: 28px 32px 0; border-radius: var(--r-row); background: #fff; overflow: hidden;
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 1px 2px rgb(0 0 0 / .04);
}
#dayroom-drawer .drawer-how-h {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line);
  font: 580 13px/1 var(--f-text); color: var(--ink);
}
#dayroom-drawer .drawer-how-h .how-ico { width: 20px; height: 20px; display: grid; place-items: center; flex: none; border-radius: 5px; background: var(--forest); color: #fff; }
#dayroom-drawer .drawer-how-h .how-ico svg { width: 10px; height: 9px; display: block; shape-rendering: crispEdges; }
#dayroom-drawer .drawer-how-h .how-n { margin-left: auto; font: 400 10.5px/1 var(--f-mono); color: var(--ink-3); }
#dayroom-drawer .drawer-steps { display: grid; padding: 4px 0; }
#dayroom-drawer .drawer-steps li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 14px; font-size: 14px; line-height: 1.45; font-weight: 480; color: var(--ink); }
#dayroom-drawer .drawer-steps li + li { box-shadow: inset 0 1px 0 var(--line); }
#dayroom-drawer .step-box { flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 4px; box-shadow: inset 0 0 0 1.25px rgb(var(--ink-rgb) / .34); background: #fff; }
#dayroom-drawer .step-t { text-wrap: pretty; }
/* New tasks drop into the list one at a time, the box stepping in like the pixel art. */
#dayroom-drawer[data-state="open"] .drawer-item.is-fresh .drawer-steps li { animation: drawerTask .42s var(--ease-out) both; animation-delay: calc(220ms + var(--i) * 140ms); }
#dayroom-drawer[data-state="open"] .drawer-item.is-fresh .step-box { animation: drawerBox .25s steps(3, jump-none) both; animation-delay: calc(260ms + var(--i) * 140ms); }
@keyframes drawerTask { from { opacity: 0; transform: translateY(-4px); } }
@keyframes drawerBox { from { transform: scale(.4); } }
#dayroom-drawer .drawer-note {
  display: flex; align-items: flex-start; gap: 10px; margin: 28px 32px 0; padding: 12px 14px; border-radius: var(--r-row);
  background: var(--tile); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: max-content;
}
#dayroom-drawer .drawer-note .note-ico { flex: none; width: 16px; height: 16px; margin-top: 2px; image-rendering: pixelated; }
#dayroom-drawer .drawer-note.is-ai {
  align-items: center; padding: 6px 12px 6px 8px; border-radius: 999px; font-weight: 520; font-size: 13px; color: var(--forest);
  background: #fff; box-shadow: inset 0 0 0 1px rgb(46 88 67 / .22), 0 1px 2px rgb(0 0 0 / .04);
}
#dayroom-drawer .drawer-note.is-ai .note-ico { margin: 0; }
#dayroom-drawer .drawer-cta { margin: 28px 32px 0; display: flex; flex-wrap: wrap; gap: 10px; }
#dayroom-drawer .drawer-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 767px) {
  #dayroom-drawer .drawer-panel {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 90dvh; border-radius: 20px 20px 0 0; border: 1px solid var(--line-2); border-bottom: 0;
    transform: translate3d(0, calc(100% + 20px), 0);
    box-shadow: 0 -16px 48px -8px rgb(17 24 19 / .2);
  }
  #dayroom-drawer .drawer-grip { display: grid; place-items: center; height: 20px; flex: none; touch-action: none; cursor: grab; }
  #dayroom-drawer .drawer-grip span { width: 38px; height: 5px; border-radius: 3px; background: rgb(var(--ink-rgb) / .2); }
  #dayroom-drawer .drawer-bar { padding: 0 8px 8px 20px; min-height: 56px; touch-action: none; background: transparent; }
  #dayroom-drawer .drawer-head { padding: 20px 20px 24px; }
  #dayroom-drawer .drawer-title { font-size: 32px; line-height: 1.1; }
  #dayroom-drawer .drawer-preview { margin: 0 12px; padding: 5px; }
  #dayroom-drawer .drawer-how, #dayroom-drawer .drawer-note, #dayroom-drawer .drawer-cta { margin-left: 20px; margin-right: 20px; }
  #dayroom-drawer .drawer-item { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
}
@media (max-width: 359px) {
  #dayroom-drawer .drawer-where .room-of { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #dayroom-drawer .drawer-panel, #dayroom-drawer .drawer-scrim { transition: none !important; }
  #dayroom-drawer .drawer-steps li, #dayroom-drawer .step-box { animation: none !important; }
}

/* sections/41-talk */
/* 41-talk: the Talk chapter demo. Layout of .chapter/.chapter-grid and the
   drawer belong to 40-capabilities; everything here is scoped to #talk. */
#talk .td { position: absolute; inset: 0; --dir: 1; color: var(--ink); font-family: var(--f-text); font-size: 12.5px; line-height: 1.4; letter-spacing: .005em; }

/* Scenes slide in the direction of travel; the old one steps the other way. */
#talk .td-scene {
  position: absolute; inset: 0; padding: 14px; visibility: hidden; opacity: 0;
  transform: translate3d(calc(var(--dir) * 22px), 0, 0) scale(.985);
  transition: opacity .3s var(--ease-in), transform .45s var(--ease-in), visibility 0s linear .45s;
}
#talk .td-scene.is-leaving { transform: translate3d(calc(var(--dir) * -22px), 0, 0) scale(.985); }
#talk [data-active-scene="1"] .td-scene[data-scene="1"],
#talk [data-active-scene="2"] .td-scene[data-scene="2"],
#talk [data-active-scene="3"] .td-scene[data-scene="3"],
#talk [data-active-scene="4"] .td-scene[data-scene="4"] {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity .5s var(--ease-out) .12s, transform .75s var(--ease-drawer) .12s, visibility 0s;
}
#talk [data-snapshot] *, #talk [data-snapshot] *::before, #talk [data-snapshot] *::after { transition: none !important; animation: none !important; }
#talk [data-snapshot] .td-cursor { display: none; }

/* Story steps: [data-in] waits for its cue only while the script is driving. */
#talk .td-grow { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease-drawer), opacity .4s var(--ease-out); }
#talk .td-fold { min-height: 0; overflow: hidden; }
#talk .td-grow > .td-fold > * { transition: transform .6s var(--ease-drawer); }
#talk .td.is-live .td-grow[data-in]:not(.is-in), #talk .td.is-live .td-grow.is-out { grid-template-rows: 0fr; opacity: 0; }
#talk .td.is-live .td-grow[data-in]:not(.is-in) > .td-fold > * { transform: translateY(10px); }
#talk .td:not(.is-live) [data-out], #talk .td.is-live .is-out:not(.td-grow) { display: none; }

/* Shared demo atoms */
#talk .td-pt { display: block; flex: none; image-rendering: pixelated; border-radius: 6px; }
#talk .td-pt-xs { width: 20px; height: 20px; border-radius: 5px; }
#talk .td-pt-sm { width: 32px; height: 32px; border-radius: 8px; }
#talk .td-ico { display: inline-block; flex: none; font-style: normal; line-height: 0; }
#talk .td-ico svg { display: block; image-rendering: pixelated; }
#talk .td-hash { font-style: normal; font-family: var(--f-mono); color: var(--ink-3); margin-right: 3px; }
#talk .td-faces { display: inline-flex; }
#talk .td-faces .td-pt { box-shadow: 0 0 0 1.5px #fff; }
#talk .td-faces .td-pt + .td-pt { margin-left: -5px; }
#talk .td-card { background: #fff; border-radius: 10px; box-shadow: 0 0 0 .75px rgb(0 0 0 / .08), 0 4px 8px rgb(0 0 0 / .03), 0 14px 28px -12px rgb(28 33 29 / .16); }
#talk .td-dots { display: inline-flex; gap: 3px; margin-right: 7px; }
/* Compositor-only: a dark dot stepping up and brightening (transform and opacity), paused off screen. */
#talk .td-dots i { width: 4px; height: 4px; background: var(--ink-solid); opacity: .64; animation: tdDot 1.05s steps(1, end) infinite; }
#talk:not(.is-running) .td-dots i { animation-play-state: paused; }
#talk .td-dots i:nth-child(2) { animation-delay: .35s; }
#talk .td-dots i:nth-child(3) { animation-delay: .7s; }
@keyframes tdDot { 0% { transform: translateY(-2px); opacity: 1; } 33% { transform: none; opacity: .64; } }
#talk .td-cursor {
  position: absolute; left: 0; top: 0; z-index: 20; width: 16px; height: 24px; pointer-events: none; opacity: 0;
  transform: translate3d(var(--cx, 50%), var(--cy, 120%), 0);
  transition: transform .75s var(--ease-drawer), opacity .3s var(--ease-out);
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / .25));
}
#talk .td-cursor.is-on { opacity: 1; }
#talk .td-cursor svg { display: block; transition: transform .14s var(--ease-out); transform-origin: 2px 2px; }
#talk .td-cursor.is-press svg { transform: scale(.82); }
#talk .td-cursor::after {
  content: ""; position: absolute; left: -9px; top: -9px; width: 20px; height: 20px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgb(255 255 255 / .9), 0 0 0 3.5px rgb(31 58 44 / .35); opacity: 0; transform: scale(.3);
}
#talk .td-cursor.is-press::after { animation: tdTap .5s var(--ease-out); }
@keyframes tdTap { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.5); } }

/* ---------- 1.1 Room ---------- */
#talk .td-app {
  position: relative; height: 100%; display: grid; grid-template-columns: 136px minmax(0, 1fr) 0px; grid-template-rows: minmax(0, 1fr); overflow: hidden;
  background: #fff; border-radius: 10px; box-shadow: 0 0 0 .75px rgb(0 0 0 / .08), 0 4px 8px rgb(0 0 0 / .03), 0 16px 32px -14px rgb(28 33 29 / .2);
  transition: grid-template-columns .65s var(--ease-drawer);
}
#talk .td-app.has-thread { grid-template-columns: 136px minmax(0, 1fr) 196px; }
#talk .td-side { min-width: 0; overflow: hidden; padding: 12px 8px; background: #f3f5f0; border-right: 1px solid var(--line); }
#talk .td-ws { display: flex; align-items: center; gap: 8px; padding: 2px 6px 8px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
#talk .td-ws-tile { width: 20px; height: 20px; flex: none; border-radius: 6px; background: var(--forest); color: #fff; font: 600 8.5px/20px var(--f-text); text-align: center; letter-spacing: .04em; box-shadow: inset 0 1px 0 rgb(255 255 255 / .2); }
#talk .td-side-h { padding: 10px 6px 5px; font: 400 9.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); white-space: nowrap; }
#talk .td-list li { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 6px; border-radius: 6px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
#talk .td-list li.is-on { background: #fff; color: var(--ink); font-weight: 560; box-shadow: 0 0 0 .75px rgb(0 0 0 / .07), 0 1px 2px rgb(0 0 0 / .05); }
#talk .td-list li.is-unread { color: var(--ink); font-weight: 560; }
#talk .td-list .td-pt-xs { width: 16px; height: 16px; border-radius: 4px; }
#talk .td-badge { margin-left: auto; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 5px; background: var(--forest-2); color: #fff; font: 600 9.5px/16px var(--f-mono); text-align: center; }
#talk .td-chan { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
#talk .td-chan-head { display: flex; align-items: center; gap: 10px; height: 44px; flex: none; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); }
#talk .td-chan-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#talk .td-iconbtn { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 7px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
#talk .td-msgs { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 6px 16px 4px; }
#talk .td-msg { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 7px 0; }
#talk .td-who { font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
#talk .td-who time { margin-left: 6px; font: 400 10px/1 var(--f-mono); color: var(--ink-3); }
#talk .td-text { margin-top: 2px; color: var(--ink-2); text-wrap: pretty; }
#talk .td-reacts { display: flex; gap: 5px; padding: 6px 0 2px; }
#talk .td-react {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 6px; border-radius: 999px;
  background: #eef5e8; box-shadow: inset 0 0 0 1px rgb(46 88 67 / .28); font: 500 11px/1 var(--f-mono); color: var(--forest);
  transition: transform .5s var(--ease-spring), opacity .2s;
}
#talk .td-react + .td-react { background: #f6f6f2; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
#talk .td.is-live .td-react[data-in]:not(.is-in) { transform: scale(.2); opacity: 0; }
#talk .td-count { display: inline-block; min-width: 7px; }
#talk .td-count.is-bump { animation: tdBump .35s var(--ease-spring); }
@keyframes tdBump { 40% { transform: translateY(-3px); } }
#talk .td-replies { display: flex; align-items: center; gap: 6px; padding-top: 6px; font-size: 11.5px; font-weight: 560; color: var(--forest-2); }
#talk .td-replies.is-pressed { color: var(--forest); }
#talk .td-faces-sm .td-pt-xs { width: 16px; height: 16px; border-radius: 4px; }
#talk .td-typing { display: flex; align-items: center; padding: 6px 0 6px 42px; font-size: 11.5px; color: var(--ink-3); }
#talk .td-compose { display: flex; align-items: center; justify-content: space-between; height: 34px; margin: 4px 12px 12px; padding: 0 8px 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-3); font-size: 12px; }
#talk .td-compose .td-ico { color: var(--ink-3); }
#talk .td-compose-thread { width: 172px; height: 30px; margin: 0 12px 12px; flex: none; }
#talk .td-day-room { padding: 0 0 4px; }
#talk .td-thread { min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; border-left: 1px solid var(--line); background: #fbfbf8; }
#talk .td-thread-head { display: flex; align-items: center; justify-content: space-between; height: 44px; flex: none; padding: 0 12px; border-bottom: 1px solid var(--line); width: 196px; }
#talk .td-thread-head p { display: flex; align-items: baseline; gap: 6px; font-size: 12.5px; white-space: nowrap; }
#talk .td-thread-head span { font: 400 10.5px/1 var(--f-mono); color: var(--ink-3); }
#talk .td-thread-head .td-ico { color: var(--ink-3); }
#talk .td-thread-body { width: 196px; flex: 1; min-height: 0; overflow: hidden; padding: 6px 12px; display: flex; flex-direction: column; }
#talk .td-thread .td-msg { grid-template-columns: 20px minmax(0, 1fr); gap: 8px; padding: 6px 0; }
#talk .td-thread .td-text { font-size: 12px; }
#talk .td-thread .td-typing { padding-left: 28px; }
#talk .td-msg-parent .td-text { color: var(--ink-3); }
#talk .td-rule { display: flex; align-items: center; gap: 8px; margin: 2px 0; font: 400 10px/1 var(--f-mono); color: var(--ink-3); white-space: nowrap; }
#talk .td-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* Mid widths: the sidebar steps aside when the thread opens. */
@container demo (max-width: 639px) {
  #talk .td-app.has-thread { grid-template-columns: 0px minmax(0, 1fr) 196px; }
  #talk .td-side { transition: opacity .3s var(--ease-out), padding .65s var(--ease-drawer); }
  #talk .td-app.has-thread .td-side { padding-inline: 0; opacity: 0; border-right-color: transparent; }
}
@container demo (max-width: 519px) {
  #talk .td-app, #talk .td-app.has-thread { grid-template-columns: 0px minmax(0, 1fr); }
  #talk .td-side { padding: 0; border: 0; }
  #talk .td-chan { transition: transform .65s var(--ease-drawer), opacity .5s var(--ease-out); }
  #talk .td-app.has-thread .td-chan { transform: translate3d(-28%, 0, 0); opacity: .35; }
  #talk .td-thread {
    position: absolute; inset: 0; z-index: 2; border-left: 0; transform: translate3d(102%, 0, 0);
    box-shadow: -14px 0 28px -14px rgb(28 33 29 / .3); transition: transform .65s var(--ease-drawer);
  }
  #talk .td-app.has-thread .td-thread { transform: none; }
  #talk .td-thread-head, #talk .td-thread-body { width: auto; }
  #talk .td-compose-thread { width: auto; }
  #talk .td-chan-head .td-faces { display: none; }
}

/* ---------- 1.2 Call ---------- */
#talk .td-stage {
  position: relative; height: 100%; overflow: hidden; border-radius: 10px; color: #fff;
  background: radial-gradient(120% 90% at 50% 0%, #26352d 0%, #18211c 62%, #131a16 100%);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .35), 0 16px 32px -14px rgb(12 20 16 / .45), inset 0 1px 0 rgb(255 255 255 / .06);
}
#talk .td-stage-head { position: absolute; left: 0; right: 0; top: 0; height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
#talk .td-stage-title { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 520; white-space: nowrap; }
#talk .td-live { width: 6px; height: 6px; background: var(--live); box-shadow: 0 0 0 2px rgb(155 225 93 / .2); }
#talk .td-clock { font: 400 10.5px/1 var(--f-mono); color: rgb(255 255 255 / .55); }
#talk .td-stage-count { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 7px; background: rgb(255 255 255 / .08); font: 500 11px/1 var(--f-mono); color: rgb(255 255 255 / .8); }
#talk .td-headcount.is-bump { animation: tdBump .35s var(--ease-spring); display: inline-block; }
#talk .td-area { position: absolute; left: 12px; right: 12px; top: 42px; bottom: 54px; }
#talk .td-tile {
  position: absolute; left: 0; top: 0; width: var(--w, 0px); height: var(--h, 0px); transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--s, 1));
  display: grid; place-items: center; overflow: hidden; border-radius: var(--r, 8px); background: var(--tint, #2b3a31);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06);
  transition: transform .75s var(--ease-drawer) var(--delay, 0s), width .75s var(--ease-drawer) var(--delay, 0s), height .75s var(--ease-drawer) var(--delay, 0s), border-radius .75s var(--ease-drawer), opacity .35s var(--ease-out) var(--delay, 0s), box-shadow .2s;
}
#talk .td-tile.is-hidden { opacity: 0; --s: .55; }
#talk .td-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--live); opacity: 0; transition: opacity .2s steps(2, end); }
#talk .td-tile.is-speaking::after { opacity: 1; }
#talk .td-tile-pt { width: var(--pt, 72px); height: var(--pt, 72px); image-rendering: pixelated; transition: width .75s var(--ease-drawer) var(--delay, 0s), height .75s var(--ease-drawer) var(--delay, 0s); }
#talk .td-name {
  position: absolute; left: 6px; bottom: 6px; display: flex; align-items: center; gap: 4px; height: 18px; padding: 0 6px; border-radius: 5px;
  background: rgb(10 16 12 / .45); font-size: 10.5px; font-weight: 520; color: #fff; white-space: nowrap; transition: opacity .3s;
}
#talk .td-name .td-ico { color: #ff9d8f; }
#talk .td-stage[data-layout="gather"] .td-name { opacity: 0; }
#talk .td-screen {
  position: absolute; left: 0; top: 0; width: var(--w, 0px); height: var(--h, 0px); transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--s, 1));
  overflow: hidden; border-radius: var(--r, 8px); background: #f4f4ef; container: screen / size;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 10px 24px -10px rgb(0 0 0 / .5);
  transition: transform .75s var(--ease-drawer), width .75s var(--ease-drawer), height .75s var(--ease-drawer), opacity .4s var(--ease-out), border-radius .75s var(--ease-drawer);
}
#talk .td-screen.is-hidden { opacity: 0; --s: .92; }
#talk .td-screen-tag {
  position: absolute; left: 8px; top: 8px; z-index: 1; display: flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 5px;
  background: var(--forest); color: #fff; font-size: 10.5px; font-weight: 520; white-space: nowrap;
}
#talk .td-screen-page { position: absolute; inset: 0; display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 6%; padding: 15% 7% 8%; background: linear-gradient(#fbfbf8, #efefe9); }
#talk .td-shot { display: flex; flex-direction: column; gap: 6px; padding: 10% 9%; border-radius: 6px; background: #fff; box-shadow: 0 0 0 .75px rgb(0 0 0 / .08), 0 2px 6px rgb(0 0 0 / .05); }
#talk .td-shot-main { align-items: center; background: linear-gradient(#e9f4fb, #fff 60%); }
#talk .td-shot-art { width: 40px; height: 56px; image-rendering: pixelated; margin: 4% 0 6%; }
#talk .td-bar { display: block; width: 100%; height: 5px; border-radius: 2px; background: rgb(var(--ink-rgb) / .12); }
#talk .td-bar-l { width: 80%; height: 6px; background: rgb(var(--ink-rgb) / .28); }
#talk .td-bar-s { width: 60%; }
#talk .td-bar-xs { width: 40%; }
#talk .td-shot-btn { display: block; width: 56%; height: 10px; margin-top: auto; border-radius: 3px; background: var(--forest); }
@container screen (max-width: 260px) { #talk .td-screen-tag { display: none; } #talk .td-shot-art { width: 20px; height: 28px; } #talk .td-screen-page { padding: 9% 7%; } #talk .td-shot { gap: 3px; } #talk .td-bar { height: 3px; } #talk .td-shot-btn { height: 5px; } }
@container screen (max-width: 130px) { #talk .td-shot-art { display: none; } #talk .td-screen-page { gap: 5%; padding: 10% 6%; } }
#talk .td-table { position: absolute; left: 0; top: 0; image-rendering: pixelated; opacity: 0; transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(.94); transition: opacity .5s var(--ease-out), transform .75s var(--ease-drawer); }
#talk .td-stage[data-layout="gather"] .td-table { opacity: 1; transform: translate3d(var(--x, 0px), var(--y, 0px), 0); }
#talk .td-controls {
  position: absolute; left: 50%; bottom: 11px; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px; border-radius: 12px;
  background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08);
}
#talk .td-ctl {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: rgb(255 255 255 / .86); background: rgb(255 255 255 / .08);
  transition: background-color .2s var(--ease-out), color .2s, transform .16s var(--ease-out);
}
#talk .td-ctl.is-on { background: #e8f2c9; color: var(--forest); }
#talk .td-ctl.is-pressed { transform: scale(.86); }
#talk .td-ctl-leave { width: 42px; background: #c9483e; color: #fff; }

/* ---------- 1.3 Phone booth ---------- */
#talk .td-booth-art {
  position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); border-radius: 10px; image-rendering: pixelated; background: #c4d1ba;
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 16px 32px -14px rgb(28 33 29 / .28);
}
#talk .td-booth-tag {
  position: absolute; left: var(--tx, 50%); top: var(--ty, 30%); z-index: 2; display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px 0 9px;
  border-radius: 8px; background: rgb(251 251 248 / .94); color: var(--ink); font-size: 11.5px; font-weight: 560; white-space: nowrap;
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 6px 14px -6px rgb(0 0 0 / .3);
  transform: translate(-50%, -100%); transition: transform .5s var(--ease-spring), opacity .25s var(--ease-out);
}
#talk .td-booth-tag::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: inherit; transform: rotate(45deg); box-shadow: 1px 1px 0 rgb(0 0 0 / .06); }
#talk .td.is-live .td-booth-tag:not(.is-in) { opacity: 0; transform: translate(-50%, -70%) scale(.7); }
#talk .td-busy-dot { width: 7px; height: 7px; background: #e0533f; box-shadow: 0 0 0 2px rgb(224 83 63 / .18); }

/* ---------- 1.4 Import ---------- */
#talk .td-imp { position: relative; height: 100%; display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 10px; }
#talk .td-imp-card, #talk .td-imp-room { position: relative; min-width: 0; overflow: hidden; background: #fff; border-radius: 10px; box-shadow: 0 0 0 .75px rgb(0 0 0 / .08), 0 4px 8px rgb(0 0 0 / .03), 0 16px 32px -14px rgb(28 33 29 / .2); transition: opacity .45s var(--ease-out), transform .65s var(--ease-drawer); }
#talk .td-imp-card { display: flex; flex-direction: column; padding: 14px; }
#talk .td-step-label { font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#talk .td-step-label b { font-weight: 600; }
#talk .td-step-name { color: var(--ink-2); font-weight: 500; }
#talk .td-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 9px; }
#talk .td-steps li { height: 4px; background: rgb(var(--ink-rgb) / .09); overflow: hidden; }
#talk .td-steps li::after { content: ""; display: block; height: 100%; background: var(--forest-2); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-drawer); }
#talk .td-steps li.is-done::after, #talk .td-steps li.is-on::after { transform: none; }
#talk .td-steps li.is-on::after { background: repeating-linear-gradient(90deg, var(--leaf) 0 4px, var(--forest-2) 4px 8px); }
#talk .td-imp-body { position: relative; flex: 1; min-height: 0; display: grid; margin-top: 2px; }
#talk .td-imp-sum {
  display: flex; align-items: center; gap: 7px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ink-2);
  transition: opacity .4s var(--ease-out);
}
#talk .td-sum-name { font-weight: 560; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#talk .td-sum-n { margin-left: auto; font: 400 10px/1 var(--f-mono); color: var(--ink-3); white-space: nowrap; }
#talk .td-imp[data-phase="file"] .td-imp-sum { opacity: 0; }
#talk .td-imp-file, #talk .td-who-pick { grid-area: 1 / 1; min-width: 0; padding-top: 14px; transition: opacity .4s var(--ease-out), transform .55s var(--ease-drawer); }
#talk .td-imp-file { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding-bottom: 18px; }
#talk .td-imp[data-phase="pick"] .td-imp-file, #talk .td-imp[data-phase="done"] .td-imp-file { opacity: 0; transform: translateY(-10px); visibility: hidden; }
#talk .td-imp[data-phase="file"] .td-who-pick { opacity: 0; transform: translateY(10px); visibility: hidden; }
#talk .td-drop {
  position: relative; display: grid; place-items: center; height: 108px; border-radius: 8px; background: #f7f7f3;
  background-image: repeating-linear-gradient(90deg, rgb(var(--ink-rgb) / .22) 0 4px, transparent 4px 8px), repeating-linear-gradient(90deg, rgb(var(--ink-rgb) / .22) 0 4px, transparent 4px 8px), repeating-linear-gradient(0deg, rgb(var(--ink-rgb) / .22) 0 4px, transparent 4px 8px), repeating-linear-gradient(0deg, rgb(var(--ink-rgb) / .22) 0 4px, transparent 4px 8px);
  background-size: 100% 1.5px, 100% 1.5px, 1.5px 100%, 1.5px 100%; background-position: 0 0, 0 100%, 0 0, 100% 0; background-repeat: no-repeat;
  color: var(--ink-3); font-size: 11.5px;
}
#talk .td-zip {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 9px; align-items: center;
  margin-top: -88px; margin-inline: 12px; padding: 9px 10px; border-radius: 8px; background: #fff;
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 8px 18px -8px rgb(28 33 29 / .35);
  transition: transform .7s var(--ease-spring), opacity .3s var(--ease-out);
}
#talk .td-zip .td-ico { grid-row: span 2; }
#talk .td-zip-name { font-size: 11.5px; font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#talk .td-zip-size { font: 400 10px/1.3 var(--f-mono); color: var(--ink-3); }
#talk .td.is-live .td-zip:not(.is-in) { opacity: 0; transform: translate3d(70px, -46px, 0) rotate(8deg) scale(.9); }
#talk .td-progress { margin-top: 18px; transition: opacity .35s var(--ease-out); }
#talk .td.is-live .td-progress:not(.is-in) { opacity: 0; }
#talk .td-progress p { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-2); }
#talk .td-progress-n { font: 500 11px/1.4 var(--f-mono); color: var(--ink); }
#talk .td-meter { display: block; height: 8px; margin-top: 8px; padding: 2px; background: #eeeee8; box-shadow: inset 0 0 0 1px var(--line); }
#talk .td-meter i { display: block; height: 100%; width: calc(var(--p, 1) * 100%); background: repeating-linear-gradient(90deg, var(--forest-2) 0 6px, transparent 6px 8px); }
#talk .td-who-pick { display: flex; flex-direction: column; gap: 10px; }
#talk .td-pick-note { font-size: 11.5px; line-height: 1.4; color: var(--ink-2); }
#talk .td-names { display: grid; gap: 6px; }
#talk .td-name-chip {
  display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 6px; border-radius: 8px; font-size: 12px; font-weight: 520; color: var(--ink);
  background: #f6f6f2; box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .25s var(--ease-out), color .25s, box-shadow .25s, transform .16s var(--ease-out), opacity .3s;
}
#talk .td-name-chip .td-ico { margin-left: auto; opacity: 0; transform: scale(.4); transition: transform .45s var(--ease-spring), opacity .2s; }
#talk .td-name-chip.is-picked { background: var(--forest); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 4px 10px -4px rgb(31 58 44 / .5); }
#talk .td-name-chip.is-picked .td-ico { opacity: 1; transform: none; }
#talk .td-name-chip.is-picked .td-chip-av { background: rgb(255 255 255 / .18); color: #fff; }
#talk .td-name-chip.is-pressed { transform: scale(.97); }
#talk .td-imp[data-phase="done"] .td-name-chip:not(.is-picked) { opacity: .5; }
#talk .td-chip-av { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 6px; background: #e4e4dd; color: var(--ink-2); font: 600 10px/1 var(--f-text); }
#talk .td-imp-room { display: flex; flex-direction: column; }
#talk .td-imp-count { font: 400 10.5px/1 var(--f-mono); color: var(--ink-3); white-space: nowrap; transition: opacity .3s; }
#talk .td.is-live .td-imp-count:not(.is-in) { opacity: 0; }
#talk .td-imp-msgs { position: relative; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px 14px 12px; }
#talk .td-imp-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-4); font-size: 11.5px; }
#talk .td-day { display: flex; justify-content: center; padding: 2px 0 8px; transition: opacity .3s; }
#talk .td-day span { padding: 3px 8px; border-radius: 6px; background: #f3f3ee; font: 400 10px/1.2 var(--f-mono); color: var(--ink-3); }
#talk .td.is-live .td-day[data-in]:not(.is-in) { opacity: 0; }
#talk .td-wmsg { display: flex; align-items: flex-end; gap: 8px; padding: 4px 0; }
#talk .td-wmsg .td-chip-av { width: 26px; height: 26px; border-radius: 7px; }
#talk .td-wmsg.is-me { flex-direction: row-reverse; }
#talk .td-wmsg .td-pt-sm { width: 26px; height: 26px; border-radius: 7px; }
#talk .td-bubble { max-width: 78%; padding: 7px 10px 6px; border-radius: 10px 10px 10px 3px; background: #f3f3ee; }
#talk .td-wmsg.is-me .td-bubble { border-radius: 10px 10px 3px 10px; background: #e3efda; }
#talk .td-bubble .td-who { font-size: 11.5px; }
#talk .td-bubble .td-text { margin-top: 1px; font-size: 12px; color: var(--ink); }
#talk .td-from { margin-top: 3px; font: 400 9.5px/1.3 var(--f-mono); color: var(--ink-3); letter-spacing: .02em; }
#talk .td-photos { position: relative; display: block; width: 104px; height: 64px; margin: 8px 6px 10px 2px; }
#talk .td-photos i { position: absolute; inset: 0; border-radius: 6px; border: 2px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .14); }
#talk .td-photos i:nth-child(1) { background: linear-gradient(#79bff0 0 55%, #6fae4f 55%); transform: rotate(-6deg) translate(-3px, 2px); }
#talk .td-photos i:nth-child(2) { background: linear-gradient(#f2c94c 0 40%, #e0533f 40% 70%, #3f8e6a 70%); transform: rotate(4deg) translate(3px, 1px); }
#talk .td-photos i:nth-child(3) { background: linear-gradient(135deg, #2f8fe6, #9be15d); }
#talk .td-photos b { position: absolute; right: 5px; bottom: 5px; padding: 2px 5px; border-radius: 4px; background: rgb(10 16 12 / .55); color: #fff; font: 500 9.5px/1.2 var(--f-mono); }
@container demo (max-width: 519px) {
  #talk .td-imp { grid-template-columns: minmax(0, 1fr); }
  #talk .td-imp-room { position: absolute; inset: 0; opacity: 0; transform: translate3d(28px, 0, 0); pointer-events: none; }
  #talk .td-imp[data-phase="done"] .td-imp-room { opacity: 1; transform: none; }
  #talk .td-imp[data-phase="done"] .td-imp-card { opacity: 0; transform: translate3d(-28px, 0, 0) scale(.98); }
  #talk .td-drop { height: 96px; }
  #talk .td-zip { margin-top: -78px; }
  #talk .td-photos { width: 88px; height: 54px; }
}
@container demo (max-width: 339px) { #talk .td-imp-msgs .td-day { display: none; } #talk .td-day-room { display: none; } }
@media (prefers-reduced-motion: reduce) {
  #talk .td-dots i { animation: none; }
}

/* sections/42-plan */
/* 42-plan: Works chapter. Everything is scoped under #plan.
   Layout of .chapter / .chapter-grid / .chapter-demo belongs to section 40. The
   layered line below only keeps the demo sized if 40's styles are missing; any
   unlayered rule wins over it. */
@layer chapter-fallback { #plan .chapter-demo { aspect-ratio: 707 / 440; min-width: 0; } }

#plan .pl-stage {
  --pl-card: #fff;
  --pl-line: rgb(var(--ink-rgb) / .09);
  --pl-chip: #f3f3ee;
  --pl-ok: #3e8f24;
  --pl-wire: #59ad3a;
  --pl-high: #d9573f;
  --pl-med: #e0a43a;
  --pl-low: #8fb7a2;
  --pl-move: cubic-bezier(.45, .05, .25, 1);
  position: absolute; inset: 0; overflow: hidden;
  container: pl / size;
  font: 450 12.5px/1.4 var(--f-text); letter-spacing: 0; color: var(--ink);
  -webkit-user-select: none; user-select: none;
}
#plan .pl-stage.is-instant, #plan .pl-stage.is-instant *, #plan .pl-stage.is-instant *::before, #plan .pl-stage.is-instant *::after { transition: none !important; }
#plan .pl-stage p { margin: 0; }
#plan .pl-stage canvas { image-rendering: pixelated; image-rendering: crisp-edges; display: block; flex: none; }
#plan .pl-stage canvas[data-look] { width: 20px; height: 20px; border-radius: 5px; }
#plan .pl-mono { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0; }
#plan .pl-faint { color: var(--ink-3); font-size: 11.5px; }
#plan .pl-strong { font-weight: 580; color: var(--ink-solid); font-size: 13px; }

/* Scenes cross over when the chapter changes scene. */
#plan .pl-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .24s var(--ease-in), transform .24s var(--ease-in), visibility 0s linear .24s; }
#plan .pl-scene.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .42s var(--ease-out) .08s, transform .52s var(--ease-out) .08s, visibility 0s; }
#plan .pl-scene.is-leaving { opacity: 0; transform: translateY(-4px); transition: opacity .26s var(--ease-in), transform .26s var(--ease-in); }

/* Shared mock pieces */
#plan .pl-win {
  position: absolute; background: var(--pl-card); border-radius: 10px;
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .085), 0 1px 2px rgb(0 0 0 / .04), 0 8px 18px -10px rgb(30 40 32 / .18);
}
#plan .pl-head { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 8px 0 12px; border-bottom: 1px solid var(--pl-line); }
#plan .pl-hash { font: 400 13px/1 var(--f-mono); color: var(--ink-3); }
#plan .pl-head-name { font-weight: 580; color: var(--ink-solid); font-size: 13px; margin-right: auto; }
#plan .pl-pile { display: inline-flex; align-items: center; }
#plan .pl-pile canvas { box-shadow: 0 0 0 1.5px #fff; }
#plan .pl-pile canvas + canvas { margin-left: -5px; }
#plan .pl-pile-sm canvas[data-look] { width: 20px; height: 20px; }
#plan .pl-iconbtn { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: var(--ink-2); transition: background-color .16s var(--ease-out), transform .14s var(--ease-out); }
#plan .pl-iconbtn svg { width: 16px; height: 16px; fill: currentColor; }
#plan .pl-iconbtn.is-hover, #plan .pl-iconbtn.is-pressed { background: var(--pl-chip); }
#plan .pl-msgs { padding: 6px 0 8px; }
#plan .pl-pin { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--pl-line); background: linear-gradient(90deg, rgb(92 194 52 / .08), rgb(92 194 52 / 0) 70%); font-size: 12px; }
#plan .pl-pin .pl-pix { width: 14px; height: 14px; }
#plan .pl-pin b { font-weight: 560; color: var(--ink-solid); }
#plan .pl-pin .pl-faint { margin-left: auto; font-size: 10px; }
#plan .pl-msg { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; padding: 5px 12px; }
#plan .pl-msg canvas { margin-top: 1px; }
#plan .pl-meta { display: flex; align-items: baseline; gap: 6px; font-size: 12px; line-height: 1.3; }
#plan .pl-meta b { font-weight: 580; color: var(--ink-solid); }
#plan .pl-meta span { font: 400 10px/1 var(--f-mono); color: var(--ink-3); }
#plan .pl-msg p + p { color: var(--ink); }
#plan .pl-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--pl-chip); box-shadow: inset 0 0 0 .75px rgb(0 0 0 / .06); font: 400 10px/1 var(--f-mono); color: var(--ink-2); white-space: nowrap; flex: none; }
#plan .pl-btn { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 11px; border-radius: 7px; font-size: 12px; font-weight: 520; white-space: nowrap; position: relative; transition: transform .12s var(--ease-out), background-color .16s, box-shadow .16s; }
#plan .pl-btn-ghost { color: var(--ink-2); }
#plan .pl-btn-dark { color: #fff; background: linear-gradient(rgb(255 255 255 / .07), rgb(0 0 0 / .06)), linear-gradient(var(--forest-2), var(--forest)); box-shadow: 0 0 0 1px #17291f, inset 0 1px rgb(255 255 255 / .22), 0 2px 4px rgb(0 0 0 / .14); }
#plan .pl-btn-dark.is-hover { background: linear-gradient(rgb(255 255 255 / .12), rgb(0 0 0 / .02)), linear-gradient(var(--forest-2), var(--forest)); }
#plan .pl-btn.is-pressed, #plan .pl-iconbtn.is-pressed { transform: translateY(1px) scale(.97); }
#plan .pl-pix { display: inline-block; width: 16px; height: 16px; flex: none; }
#plan .pl-pix svg { display: block; width: 100%; height: 100%; }
#plan .pl-pix-lg { width: 24px; height: 24px; }
#plan .pl-caret { display: inline-block; width: 1.5px; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: var(--ink-solid); border-radius: 1px; opacity: 0; }
#plan .is-typing .pl-caret, #plan .pl-input.is-focus .pl-caret { opacity: 1; animation: pl-blink 1s steps(1) infinite; }
@keyframes pl-blink { 50% { opacity: 0; } }
#plan .pl-grow { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .46s var(--ease-drawer); }
#plan .pl-grow > * { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease-out) .1s, transform .42s var(--ease-out) .06s; }
#plan .pl-grow.is-in { grid-template-rows: 1fr; }
#plan .pl-grow.is-in > * { opacity: 1; transform: none; }

/* Connectors drawn between cards. */
#plan .pl-wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#plan .pl-wire .pl-wire-line { fill: none; stroke: var(--pl-wire); stroke-width: 1.25; stroke-dasharray: 3 3; stroke-linecap: round; }
#plan .pl-wire .pl-wire-mask { fill: none; stroke: #fff; stroke-width: 4; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--pl-move); }
#plan .pl-wire .pl-wire-end { fill: #fff; stroke: var(--pl-wire); stroke-width: 1.25; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .2s, transform .3s var(--ease-spring); }
#plan .pl-wire.is-drawn .pl-wire-mask { stroke-dashoffset: 0; }
#plan .pl-wire.is-drawn .pl-wire-end { opacity: 1; transform: none; }
#plan .pl-wire.is-drawn .pl-wire-end + .pl-wire-end { transition-delay: .55s; }

/* ---------- 2.1 Start a project ---------- */
/* The room opens centred on the left, so the first frame is balanced before the menu and the
   project arrive (offset-based, not translate: the wires measure it with offsetTop). */
#plan .pl-room { left: 5%; top: 0; bottom: 0; margin: auto 0; height: fit-content; width: min(320px, 41%); z-index: 2; }
#plan .pl-menu {
  position: absolute; right: 6px; top: 34px; width: 172px; padding: 4px; z-index: 4;
  background: var(--pl-card); border-radius: 9px; box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 10px 24px -8px rgb(20 30 22 / .28);
  opacity: 0; transform: translateY(-4px) scale(.96); transform-origin: 90% 0; visibility: hidden;
  transition: opacity .16s var(--ease-in), transform .16s var(--ease-in), visibility 0s .16s;
}
#plan .pl-menu.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .18s var(--ease-out), transform .26s var(--ease-spring), visibility 0s; }
#plan .pl-mi { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; font-size: 12px; color: var(--ink); white-space: nowrap; transition: background-color .14s var(--ease-out); }
#plan .pl-mi .pl-pix { width: 14px; height: 14px; }
#plan .pl-mi.is-hover { background: var(--pl-chip); }
#plan .pl-mi.is-pressed { background: #e9e9e3; }
#plan .pl-veil { position: absolute; inset: 0; z-index: 5; background: rgb(231 231 225 / .62); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s .3s; }
#plan .pl-veil.is-on { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out), visibility 0s; }
#plan .pl-picker {
  z-index: 6; inset: 0; margin: auto; height: fit-content; width: min(392px, calc(100% - 40px)); padding: 14px 14px 12px;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.97);
  transition: opacity .2s var(--ease-in), transform .22s var(--ease-in), visibility 0s .22s;
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 24px 48px -18px rgb(20 30 22 / .32), 0 2px 4px rgb(0 0 0 / .05);
}
#plan .pl-picker.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease-out), transform .46s var(--ease-drawer), visibility 0s; }
#plan .pl-picker.is-closing { opacity: 0; transform: scale(.985); transition: opacity .2s var(--ease-in), transform .2s var(--ease-in), visibility 0s .2s; visibility: hidden; }
#plan .pl-picker-head { display: flex; align-items: center; gap: 10px; }
#plan .pl-picker-head .pl-pix { width: 24px; height: 24px; }
#plan .pl-picker-head .pl-faint { font-size: 11px; }
#plan .pl-field { display: flex; align-items: center; gap: 10px; height: 32px; margin: 12px 0 10px; padding: 0 10px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line-2); background: #fcfcfa; }
#plan .pl-field-label { font: 400 10px/1 var(--f-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
#plan .pl-field-value { color: var(--ink-solid); font-weight: 500; }
#plan .pl-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
#plan .pl-tile {
  position: relative; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 9px; border-radius: 8px;
  background: #fafaf7; box-shadow: inset 0 0 0 1px var(--pl-line); font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden;
  transition: box-shadow .18s var(--ease-out), background-color .18s, transform .14s var(--ease-out);
}
#plan .pl-tile .pl-tile-ico { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; flex: none; background: var(--tint, #eee); }
#plan .pl-tile .pl-tile-ico .pl-pix { width: 16px; height: 16px; }
#plan .pl-tile.is-hover { background: #fff; box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .2); }
#plan .pl-tile.is-pressed { transform: scale(.975); }
#plan .pl-tile.is-sel { background: #fff; box-shadow: inset 0 0 0 1.5px var(--forest-2), 0 2px 6px -2px rgb(31 58 44 / .25); }
#plan .pl-tile-tick { position: absolute; right: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--forest-2); display: grid; place-items: center; opacity: 0; transform: scale(.3); transition: opacity .16s, transform .32s var(--ease-spring); }
#plan .pl-tile-tick svg { width: 8px; height: 8px; color: #fff; }
#plan .pl-tile.is-sel .pl-tile-tick { opacity: 1; transform: none; }
#plan .pl-picker-foot { display: flex; justify-content: flex-end; gap: 6px; margin-top: 12px; }
#plan .pl-project {
  right: 24px; bottom: 24px; width: min(330px, 46%); padding: 12px; z-index: 3;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.96); transform-origin: 30% 0;
  transition: opacity .2s var(--ease-in), transform .2s var(--ease-in), visibility 0s .2s;
}
#plan .pl-project.is-in { opacity: 1; visibility: visible; transform: none; transition: opacity .32s var(--ease-out), transform .6s var(--ease-spring), visibility 0s; }
/* The project's slot, shown from the first frame so the opening is balanced; it gives way as the project lands. */
#plan .pl-slot {
  position: absolute; right: 24px; bottom: 24px; width: min(330px, 46%); height: 132px; padding: 12px; z-index: 1;
  display: grid; align-content: space-between; border-radius: 10px; border: 1px dashed rgb(var(--ink-rgb) / .22);
  transition: opacity .3s var(--ease-out);
}
#plan .pl-slot-h { display: flex; align-items: center; gap: 8px; font: 400 10.5px/1 var(--f-mono); color: var(--ink-3); }
#plan .pl-slot-h .pl-pix { width: 14px; height: 14px; opacity: .55; }
#plan .pl-slot-lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
#plan .pl-slot-lanes i { height: 44px; border-radius: 7px; border: 1px dashed rgb(var(--ink-rgb) / .14); }
#plan .pl-s1:has(.pl-project.is-in) .pl-slot { opacity: 0; }
#plan .pl-proj-top { display: flex; align-items: center; gap: 10px; }
#plan .pl-proj-id { flex: 1; min-width: 0; }
#plan .pl-proj-id .pl-faint { font-size: 10px; }
#plan .pl-proj-name { font-size: 15px; font-weight: 600; color: var(--ink-solid); letter-spacing: -.01em; line-height: 1.25; }
#plan .pl-proj-people { display: flex; align-items: center; gap: 8px; margin: 12px 0 12px; }
#plan .pl-pile-pop canvas { opacity: 0; transform: translateY(4px) scale(.5); transition: opacity .18s var(--ease-out), transform .42s var(--ease-spring); }
#plan .pl-pile-pop.is-in canvas { opacity: 1; transform: none; }
#plan .pl-pile-pop.is-in canvas:nth-child(2) { transition-delay: .08s; }
#plan .pl-pile-pop.is-in canvas:nth-child(3) { transition-delay: .16s; }
#plan .pl-pile-pop.is-in canvas:nth-child(4) { transition-delay: .24s; }
#plan .pl-proj-people .pl-faint { opacity: 0; transition: opacity .3s var(--ease-out) .3s; }
#plan .pl-pile-pop.is-in + .pl-faint { opacity: 1; }
#plan .pl-proj-lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
#plan .pl-ghost-lane { display: grid; align-content: start; gap: 6px; height: 54px; padding: 7px 8px; border-radius: 7px; background: #f7f7f3; box-shadow: inset 0 0 0 1px var(--pl-line); }
#plan .pl-ghost-lane b { font: 400 10px/1 var(--f-mono); color: var(--ink-3); }
#plan .pl-ghost-lane { min-width: 0; }
#plan .pl-ghost-lane i { font-style: normal; font-size: 11px; color: var(--ink-3); border: 1px dashed rgb(var(--ink-rgb) / .18); border-radius: 5px; padding: 2px 6px; justify-self: start; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 2.2 Board and calendar ---------- */
#plan .pl-bar { position: absolute; left: 14px; right: 14px; top: 14px; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 10px; background: var(--pl-card); border-radius: 10px; box-shadow: 0 0 0 .75px rgb(0 0 0 / .085), 0 1px 2px rgb(0 0 0 / .04); z-index: 3; }
#plan .pl-bar-title { flex: 1; min-width: 0; font-weight: 580; color: var(--ink-solid); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#plan .pl-bar-title .pl-mono { font-weight: 400; }
#plan .pl-seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; height: 28px; padding: 2px; border-radius: 8px; background: #efefea; box-shadow: inset 0 1px 1.5px rgb(0 0 0 / .06); flex: none; }
#plan .pl-seg-opt { position: relative; z-index: 1; display: grid; place-items: center; padding: 0 10px; font-size: 11.5px; font-weight: 520; color: var(--ink-3); transition: color .2s var(--ease-out); }
#plan .pl-seg-thumb { position: absolute; left: 2px; top: 2px; bottom: 2px; width: calc(50% - 2px); border-radius: 6px; background: #fff; box-shadow: 0 0 0 .75px rgb(0 0 0 / .08), 0 1px 2px rgb(0 0 0 / .1); transition: transform .42s var(--ease-drawer); }
#plan .pl-seg[data-v="board"] [data-t="seg-board"], #plan .pl-seg[data-v="cal"] [data-t="seg-cal"] { color: var(--ink-solid); }
#plan .pl-seg[data-v="cal"] .pl-seg-thumb { transform: translateX(100%); }
#plan .pl-seg.is-pressed .pl-seg-thumb { scale: .97; }
#plan .pl-board { position: absolute; inset: 0; }
#plan .pl-lane, #plan .pl-day { position: absolute; left: 0; top: 0; transition: transform .7s var(--ease-drawer), opacity .35s var(--ease-out), width .7s var(--ease-drawer), height .7s var(--ease-drawer); }
#plan .pl-lane::before, #plan .pl-day::before { content: ""; position: absolute; right: -6px; top: 0; bottom: 0; width: 1px; background: rgb(var(--ink-rgb) / .07); box-shadow: 1px 0 #fff; }
#plan .pl-lane.is-last::before, #plan .pl-day.is-last::before { display: none; }
#plan .pl-board.is-narrow .pl-day::before { left: 0; right: 0; top: auto; bottom: -1px; width: auto; height: 1px; box-shadow: 0 1px #fff; }
#plan .pl-board.is-narrow .pl-day { display: flex; align-items: center; }
#plan .pl-lane-head, #plan .pl-day-head { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px; border-radius: 999px; background: rgb(255 255 255 / .7); box-shadow: inset 0 0 0 .75px rgb(0 0 0 / .07); font: 400 10px/1 var(--f-mono); color: var(--ink-2); }
#plan .pl-lane-head .pl-count { color: var(--ink-3); display: inline-block; min-width: 6px; }
#plan .pl-count.is-tick { animation: pl-tick .36s var(--ease-out); }
@keyframes pl-tick { 0% { transform: translateY(0); } 40% { transform: translateY(-3px); opacity: .3; } 100% { transform: none; } }
#plan .pl-dot-s { width: 7px; height: 7px; border-radius: 2px; flex: none; }
#plan .pl-dot-s[data-s="todo"] { box-shadow: inset 0 0 0 1.5px rgb(var(--ink-rgb) / .35); }
#plan .pl-dot-s[data-s="doing"] { background: var(--pl-med); }
#plan .pl-dot-s[data-s="done"] { background: var(--pl-ok); }
#plan .pl-day { opacity: 0; }
#plan .pl-board[data-mode="cal"] .pl-lane { opacity: 0; }
#plan .pl-board[data-mode="cal"] .pl-day { opacity: 1; }
#plan .pl-day-head b { font-weight: 400; color: var(--ink-3); }
#plan .pl-day.is-today { background: linear-gradient(rgb(92 194 52 / .07), rgb(92 194 52 / 0)); border-radius: 8px; }
#plan .pl-day.is-today .pl-day-head { background: var(--forest-2); color: #fff; box-shadow: none; }
#plan .pl-day.is-today .pl-day-head b { color: rgb(255 255 255 / .75); }
#plan .pl-card {
  position: absolute; left: 0; top: 0; z-index: 2; overflow: hidden; border-radius: 8px; background: var(--pl-card);
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .085), 0 1px 2px rgb(0 0 0 / .05);
  transition: transform .7s var(--ease-drawer), width .7s var(--ease-drawer), height .7s var(--ease-drawer), box-shadow .2s var(--ease-out);
}
#plan .pl-card.is-hover { box-shadow: 0 0 0 .75px rgb(0 0 0 / .14), 0 6px 14px -6px rgb(20 30 22 / .25); }
#plan .pl-card.is-moving { z-index: 4; box-shadow: 0 0 0 .75px rgb(0 0 0 / .12), 0 14px 26px -10px rgb(20 30 22 / .32); }
#plan .pl-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--pri); opacity: 0; transition: opacity .3s; }
#plan .pl-card[data-pri="high"] { --pri: var(--pl-high); }
#plan .pl-card[data-pri="med"] { --pri: var(--pl-med); }
#plan .pl-card[data-pri="low"] { --pri: var(--pl-low); }
#plan .pl-card-full, #plan .pl-card-mini { position: absolute; left: 0; top: 0; transition: opacity .28s var(--ease-out); }
#plan .pl-card-full { padding: 9px 10px; display: grid; gap: 7px; }
#plan .pl-card-title { font-size: 12.5px; font-weight: 540; color: var(--ink-solid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 18px; }
#plan .pl-card-meta { display: flex; align-items: center; gap: 6px; }
#plan .pl-due { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 6px; border-radius: 5px; background: var(--pl-chip); font: 400 10px/1 var(--f-mono); color: var(--ink-2); }
#plan .pl-due svg { width: 10px; height: 10px; }
#plan .pl-pri { width: 7px; height: 7px; border-radius: 50%; background: var(--pri); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pri) 18%, transparent); }
#plan .pl-card-meta .pl-pile { margin-left: auto; }
#plan .pl-card-meta canvas[data-look] { width: 20px; height: 20px; }
#plan .pl-card-more { position: absolute; right: 4px; top: 5px; width: 22px; height: 20px; display: grid; place-items: center; border-radius: 5px; color: var(--ink-3); transition: background-color .14s, opacity .2s; }
#plan .pl-card-more svg { width: 14px; height: 14px; fill: currentColor; }
#plan .pl-card-more.is-hover, #plan .pl-card-more.is-pressed { background: var(--pl-chip); color: var(--ink); }
#plan .pl-card.is-done .pl-card-title { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgb(var(--ink-rgb) / .3); }
#plan .pl-card-mini { padding: 7px 8px 7px 11px; display: grid; gap: 4px; opacity: 0; }
#plan .pl-card-mini p { font-size: 11.5px; font-weight: 540; line-height: 1.3; color: var(--ink-solid); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#plan .pl-card-mini .pl-pile canvas[data-look] { width: 20px; height: 20px; }
#plan .pl-board[data-mode="cal"] .pl-card-full, #plan .pl-board[data-mode="cal"] .pl-card-more { opacity: 0; }
#plan .pl-board[data-mode="cal"] .pl-card-mini { opacity: 1; transition-delay: .18s; }
#plan .pl-board[data-mode="cal"] .pl-card::before { opacity: 1; }
#plan .pl-board[data-mode="cal"] .pl-card.is-done .pl-card-mini p { color: var(--ink-3); text-decoration: line-through; }
#plan .pl-board.is-narrow[data-mode="cal"] .pl-card-mini { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
#plan .pl-board.is-narrow[data-mode="cal"] .pl-card-mini p { -webkit-line-clamp: 1; }
#plan .pl-board.is-narrow[data-mode="cal"] .pl-card.is-split .pl-card-mini .pl-pile { display: none; }
#plan .pl-board.is-narrow[data-mode="cal"] .pl-card.is-split .pl-card-mini { grid-template-columns: minmax(0, 1fr); }
#plan .pl-status-menu {
  position: absolute; left: 0; top: 0; width: 138px; padding: 4px; z-index: 6;
  background: var(--pl-card); border-radius: 9px; box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 12px 26px -8px rgb(20 30 22 / .3);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.96); transform-origin: 85% 0;
  transition: opacity .16s var(--ease-in), transform .16s var(--ease-in), visibility 0s .16s;
}
#plan .pl-status-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease-out), transform .28s var(--ease-spring), visibility 0s; }
#plan .pl-menu-label { padding: 5px 8px 3px; font: 400 9.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
#plan .pl-status-menu .pl-tick { width: 13px; height: 13px; margin-left: auto; color: var(--ink-2); }
#plan .pl-toast {
  position: absolute; left: 14px; bottom: 14px; z-index: 5; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 28px);
  height: 34px; padding: 0 12px 0 7px; border-radius: 9px; background: rgb(255 255 255 / .96);
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .09), 0 10px 22px -10px rgb(20 30 22 / .3); font-size: 12px; color: var(--ink-2); white-space: nowrap;
  opacity: 0; transform: translateY(10px); visibility: hidden; transition: opacity .2s var(--ease-in), transform .2s var(--ease-in), visibility 0s .2s;
}
#plan .pl-toast > span:first-of-type { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#plan .pl-toast b { font-weight: 560; color: var(--ink-solid); }
#plan .pl-toast.is-in { opacity: 1; transform: none; visibility: visible; transition: opacity .3s var(--ease-out), transform .5s var(--ease-spring), visibility 0s; }

/* ---------- 2.3 @Works drafts tasks ---------- */
#plan .pl-chat { left: 14px; top: 0; bottom: 0; margin: auto 0; height: fit-content; max-height: calc(100% - 28px); width: calc(44% - 14px); display: flex; flex-direction: column; overflow: hidden; z-index: 2; }
#plan .pl-chat-log { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 6px 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 14px); mask-image: linear-gradient(transparent, #000 14px); }
#plan .pl-mention { display: inline-block; padding: 0 3px; margin: 0 -1px; border-radius: 4px; background: rgb(92 194 52 / .16); color: #2b6a17; font-weight: 560; }
#plan .pl-composer { position: relative; display: flex; align-items: center; height: 34px; margin: 0 8px 8px; padding: 0 4px 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); background: #fcfcfa; transition: box-shadow .2s; }
#plan .pl-composer.is-typing { box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .3), 0 0 0 3px rgb(var(--ink-rgb) / .05); }
#plan .pl-typed { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; color: var(--ink-solid); }
#plan .pl-typed-at.is-mention { padding: 0 3px; margin: 0 1px 0 -3px; border-radius: 4px; background: rgb(92 194 52 / .16); color: #2b6a17; font-weight: 560; }
#plan .pl-placeholder { position: absolute; left: 10px; color: var(--ink-3); pointer-events: none; transition: opacity .12s; }
#plan .pl-composer.has-text .pl-placeholder { opacity: 0; }
#plan .pl-send { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: var(--ink-3); background: transparent; transition: background-color .2s, color .2s, transform .12s; flex: none; }
#plan .pl-send svg { width: 14px; height: 14px; }
#plan .pl-composer.has-text .pl-send { background: var(--forest-2); color: #fff; }
#plan .pl-send.is-pressed { transform: scale(.9); }
#plan .pl-draft {
  right: 14px; top: 0; bottom: 0; margin: auto 0; height: fit-content; width: calc(50% - 6px); padding: 12px; z-index: 3;
  opacity: 0; visibility: hidden; transform: translateX(12px) scale(.97); transform-origin: 0 50%;
  transition: opacity .2s var(--ease-in), transform .2s var(--ease-in), visibility 0s .2s;
}
#plan .pl-draft.is-in { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease-out), transform .56s var(--ease-spring), visibility 0s; }
#plan .pl-draft-head { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
#plan .pl-draft-head .pl-pix { width: 18px; height: 18px; }
#plan .pl-chip-ai { margin-left: auto; background: rgb(92 194 52 / .12); color: #2b6a17; box-shadow: inset 0 0 0 .75px rgb(62 143 36 / .25); }
#plan .pl-chip-state { position: relative; overflow: hidden; }
#plan .pl-state-done { position: absolute; inset: 0; display: grid; place-items: center; background: var(--pl-ok); color: #fff; transform: translateY(100%); transition: transform .34s var(--ease-drawer); }
#plan .pl-draft.is-created .pl-state-done { transform: none; }
#plan .pl-draft-sub { margin: 6px 0 10px; font-size: 11px; }
#plan .pl-draft-rows { display: grid; gap: 6px; }
#plan .pl-draft-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 5px; }
#plan .pl-input { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 8px; border-radius: 6px; background: #fbfbf9; box-shadow: inset 0 0 0 1px var(--pl-line); white-space: nowrap; overflow: hidden; font-size: 12px; color: var(--ink-solid); transition: box-shadow .18s, background-color .3s; }
#plan .pl-input.is-focus { background: #fff; box-shadow: inset 0 0 0 1.25px var(--forest-2), 0 0 0 3px rgb(46 88 67 / .12); }
#plan .pl-input-who, #plan .pl-input-due { font-size: 11.5px; color: var(--ink-2); }
#plan .pl-input-due { font-family: var(--f-mono); font-size: 10.5px; }
#plan .pl-input-who canvas[data-look] { width: 20px; height: 20px; margin-left: -4px; }
#plan .pl-draft.is-created .pl-input { background: transparent; box-shadow: inset 0 0 0 1px transparent; }
#plan .pl-draft-foot { position: relative; display: flex; justify-content: flex-end; margin-top: 10px; height: 28px; }
#plan .pl-draft-actions { display: flex; gap: 6px; transition: opacity .2s var(--ease-in), transform .2s var(--ease-in); }
#plan .pl-draft-done { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease-out) .1s, transform .4s var(--ease-out) .1s; }
#plan .pl-draft-done .pl-pix { width: 16px; height: 16px; }
#plan .pl-draft.is-created .pl-draft-actions { opacity: 0; transform: translateY(-4px); }
#plan .pl-draft.is-created .pl-draft-done { opacity: 1; transform: none; }
#plan .pl-btn-busy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 3px; opacity: 0; }
#plan .pl-btn-busy i { width: 3px; height: 3px; background: #fff; opacity: .35; }
#plan .pl-btn.is-busy .pl-btn-label { opacity: 0; }
#plan .pl-btn.is-busy .pl-btn-busy { opacity: 1; }
#plan .pl-btn-busy[data-f="0"] i:nth-child(1), #plan .pl-btn-busy[data-f="1"] i:nth-child(2), #plan .pl-btn-busy[data-f="2"] i:nth-child(3) { opacity: 1; }

/* ---------- 2.4 To-dos ---------- */
#plan .pl-todo { left: 24px; top: 0; bottom: 0; margin: auto 0; height: fit-content; max-height: calc(100% - 28px); width: min(380px, 53%); display: flex; flex-direction: column; overflow: hidden; z-index: 2; }
#plan .pl-todo-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 46px; padding: 0 8px 0 14px; border-bottom: 1px solid var(--pl-line); }
#plan .pl-tabs { position: relative; display: inline-grid; grid-template-columns: auto auto; height: 28px; padding: 2px; border-radius: 8px; background: #efefea; box-shadow: inset 0 1px 1.5px rgb(0 0 0 / .06); }
#plan .pl-tab { position: relative; z-index: 1; display: grid; place-items: center; padding: 0 10px; font-size: 11.5px; font-weight: 520; color: var(--ink-3); transition: color .2s; white-space: nowrap; }
#plan .pl-tab-thumb { position: absolute; left: 0; top: 2px; bottom: 2px; width: 0; border-radius: 6px; background: #fff; box-shadow: 0 0 0 .75px rgb(0 0 0 / .08), 0 1px 2px rgb(0 0 0 / .1); transition: transform .42s var(--ease-drawer), width .42s var(--ease-drawer); }
#plan .pl-tabs[data-v="me"] [data-t="tab-me"], #plan .pl-tabs[data-v="team"] [data-t="tab-team"] { color: var(--ink-solid); }
#plan .pl-todo-panes { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
#plan .pl-todo-list { grid-area: 1 / 1; position: relative; padding: 6px 6px; display: flex; flex-direction: column; transition: opacity .3s var(--ease-out), transform .42s var(--ease-drawer); }
#plan .pl-todo-team { opacity: 0; transform: translateX(16px); visibility: hidden; }
#plan .pl-todo.is-team .pl-todo-me { opacity: 0; transform: translateX(-16px); visibility: hidden; transition: opacity .2s var(--ease-in), transform .3s var(--ease-in), visibility 0s .3s; }
#plan .pl-todo.is-team .pl-todo-team { opacity: 1; transform: none; visibility: visible; }
#plan .pl-item { position: relative; display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 8px; border-radius: 7px; font-size: 12.5px; color: var(--ink-solid); transition: background-color .2s; }
#plan .pl-item + .pl-item, #plan .pl-grow + .pl-item { box-shadow: 0 -1px 0 var(--pl-line); }
#plan .pl-grow.is-in + .pl-item { box-shadow: 0 -1px 0 var(--pl-line); }
#plan .pl-item.is-hover { background: #f7f7f3; }
#plan .pl-item-text { position: relative; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s var(--ease-out); }
#plan .pl-item-text b { font-weight: 560; margin-right: 4px; }
#plan .pl-item-text::after { content: ""; position: absolute; left: 0; right: auto; top: 52%; height: 1.25px; width: var(--strike, 0px); background: rgb(var(--ink-rgb) / .45); transition: width .32s var(--ease-out); }
#plan .pl-item.is-done .pl-item-text { color: var(--ink-3); }
#plan .pl-due-chip { flex: none; font: 400 10px/1 var(--f-mono); color: var(--ink-3); padding: 4px 6px; border-radius: 5px; background: var(--pl-chip); }
#plan .pl-from { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 6px 0 4px; border-radius: 5px; background: rgb(92 194 52 / .12); color: #2b6a17; font-size: 10.5px; font-weight: 520; }
#plan .pl-from .pl-pix { width: 12px; height: 12px; }
#plan .pl-item-works { overflow: visible; }
#plan .pl-item-works::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 2px; border-radius: 2px; background: var(--leaf); opacity: 0; transition: opacity .6s var(--ease-out) .4s; }
#plan .pl-grow.is-in .pl-item-works::before { opacity: 1; }
#plan .pl-item-person .pl-pix { width: 12px; height: 12px; opacity: .8; }
#plan .pl-check { position: relative; width: 16px; height: 16px; flex: none; }
#plan .pl-check svg { display: block; width: 16px; height: 16px; }
#plan .pl-check g { visibility: hidden; }
#plan .pl-check[data-f="0"] .f0, #plan .pl-check[data-f="1"] .f1, #plan .pl-check[data-f="2"] .f2, #plan .pl-check[data-f="3"] .f3, #plan .pl-check[data-f="4"] .f4 { visibility: visible; }
#plan .pl-check.is-hover[data-f="0"] .f0 rect { fill: rgb(var(--ink-rgb) / .55); }
#plan .pl-source { right: 24px; top: 0; bottom: 0; margin: auto 0; height: fit-content; width: min(210px, 31%); padding: 10px; z-index: 2; opacity: 0; visibility: hidden; transform: translateX(10px); transition: opacity .3s var(--ease-out), transform .5s var(--ease-out), visibility 0s .3s; }
#plan .pl-source.is-in { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease-out), transform .5s var(--ease-out), visibility 0s; }
#plan .pl-source > .pl-faint { font-size: 10px; margin: 0 2px 8px; }
#plan .pl-source-card { padding: 9px 10px; border-radius: 8px; background: #fafaf7; box-shadow: inset 0 0 0 1px var(--pl-line); display: grid; gap: 8px; }
#plan .pl-source-card .pl-strong { font-size: 12.5px; }
#plan .pl-source-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-2); }
#plan .pl-source-meta .pl-due-chip { margin-left: auto; }

/* The pointer that acts out each story. */
#plan .pl-cursor { position: absolute; left: 0; top: 0; z-index: 30; width: 12px; height: 19px; pointer-events: none; transform: translate3d(var(--x, 0px), var(--y, 0px), 0); transition: transform var(--d, .6s) var(--pl-move), opacity .3s var(--ease-out); opacity: 0; }
#plan .pl-cursor svg { display: block; width: 12px; height: 19px; transform-origin: 1px 1px; transition: transform .12s var(--ease-out); filter: drop-shadow(0 1px 1px rgb(0 0 0 / .2)); }
#plan .pl-cursor.is-on { opacity: 1; }
#plan .pl-cursor.is-down svg { transform: scale(.84); }
#plan .pl-stage.is-still .pl-cursor { display: none; }

/* Narrow demo (phones, and the single-column layout under 520px of demo width). */
@container pl (max-width: 519px) {
  #plan .pl-room { left: 12px; right: 12px; top: 12px; bottom: auto; margin: 0; width: auto; }
  #plan .pl-msgs { padding: 4px 0 6px; }
  #plan .pl-project { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 10px 12px; }
  #plan .pl-slot { left: 12px; right: 12px; bottom: 12px; width: auto; height: 116px; }
  #plan .pl-slot-lanes i { height: 36px; }
  #plan .pl-proj-people { margin: 9px 0; }
  #plan .pl-ghost-lane { height: 44px; }
  #plan .pl-picker { left: 8px; right: 8px; top: auto; bottom: 8px; margin: 0; width: auto; padding: 12px; }
  #plan .pl-tiles { gap: 5px; }
  #plan .pl-tile { height: 36px; gap: 6px; padding: 0 7px; font-size: 11.5px; }
  #plan .pl-tile .pl-tile-ico { width: 22px; height: 22px; }
  #plan .pl-field { margin: 10px 0 8px; height: 30px; }
  #plan .pl-picker-foot { margin-top: 10px; }
  #plan .pl-bar { left: 10px; right: 10px; top: 10px; }
  #plan .pl-bar .pl-mono { display: none; }
  #plan .pl-toast { left: 10px; bottom: 10px; max-width: calc(100% - 20px); }
  #plan .pl-chat { left: 10px; right: 10px; top: 10px; bottom: auto; margin: 0; width: auto; height: 168px; max-height: none; }
  #plan .pl-msg-extra { display: none; }
  #plan .pl-chat .pl-head { height: 34px; }
  #plan .pl-draft { left: 10px; right: 10px; width: auto; top: auto; bottom: 10px; margin: 0; transform: translateY(14px) scale(.98); transform-origin: 50% 100%; padding: 10px; }
  #plan .pl-draft-sub { margin: 5px 0 8px; }
  #plan .pl-input { height: 28px; }
  #plan .pl-chip-ai { margin-left: 0; }
  #plan .pl-todo { left: 10px; right: 10px; width: auto; max-height: calc(100% - 20px); }
  #plan .pl-source { display: none; }
  #plan .pl-todo-head { height: 42px; }
  #plan .pl-item { min-height: 36px; }
}
@container pl (max-width: 339px) {
  #plan .pl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #plan .pl-tile { height: 32px; }
  #plan .pl-field { display: none; }
  #plan .pl-chip-ai { font-size: 9.5px; padding: 0 6px; }
  #plan .pl-from span, #plan .pl-from { padding: 0 4px; }
  #plan .pl-from { font-size: 0; gap: 0; }
  #plan .pl-from .pl-pix { width: 12px; height: 12px; }
  #plan .pl-draft-row { grid-template-columns: minmax(0, 1fr) auto; }
  #plan .pl-draft-sub { display: none; }
  #plan .pl-draft-head { margin-bottom: 8px; }
  #plan .pl-draft-row .pl-input-who { display: none; }
  #plan .pl-todo-head .pl-strong { font-size: 12.5px; }
  #plan .pl-tab { padding: 0 8px; font-size: 11px; }
}
@container pl (max-height: 380px) and (min-width: 520px) {
  #plan .pl-room { top: 16px; bottom: auto; margin: 0; }
  #plan .pl-project { bottom: 16px; }
  #plan .pl-slot { bottom: 16px; }
  #plan .pl-msg { padding: 4px 12px; }
}
/* Wide single-column demos (tablets): let the cards claim more of the canvas. */
@container pl (min-width: 780px) {
  #plan .pl-room { left: 5%; width: min(360px, 42%); }
  #plan .pl-project { right: 40px; bottom: 40px; width: min(390px, 46%); }
  #plan .pl-slot { right: 40px; bottom: 40px; width: min(390px, 46%); height: 140px; }
  #plan .pl-todo { left: 40px; width: min(440px, 53%); }
  #plan .pl-source { right: 40px; width: min(250px, 31%); }
  #plan .pl-chat { left: 28px; }
  #plan .pl-draft { right: 28px; }
}

/* Project conversation, matching the app's own/right and teammate/left layout. */
.project-chat-feature{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,80px);align-items:center;margin-top:72px;padding-top:52px;border-top:1px solid var(--line)}
.project-chat-copy .subtitle{font-size:clamp(28px,3.3vw,44px)}
.project-chat-note{margin-top:20px;max-width:39ch;color:var(--ink-2);font-size:14px;line-height:1.65}
.project-chat-preview{margin:0;min-width:0;border:1px solid rgb(28 33 29 / .16);border-radius:18px;background:#faf9f5;overflow:hidden;color:#252c28;box-shadow:0 12px 35px rgb(28 33 29 / .05)}
.project-chat-preview figcaption{padding:22px 24px 0;border-bottom:1px solid rgb(28 33 29 / .12);display:flex;flex-direction:column;gap:6px}
.project-chat-context{font-size:12px;color:#566059}
.project-chat-preview figcaption strong{font-size:19px;font-weight:600}
.project-chat-tabs{display:flex;gap:22px;margin-top:12px;font-size:12px;color:#566059}
.project-chat-tabs>*{padding-bottom:10px}
.project-chat-tabs b{color:#294b3c;border-bottom:2px solid #3c624e;font-weight:600}
.project-chat-messages{display:flex;flex-direction:column;gap:18px;padding:24px}
.project-chat-message{align-self:flex-start;max-width:85%;display:flex;flex-direction:column;gap:6px}
.project-chat-author{font-size:11px;color:#566059;padding:0 4px}
.project-chat-message p{margin:0;padding:12px 15px;border-radius:18px 18px 18px 5px;background:#e9eae4;font-size:14px;line-height:1.5;overflow-wrap:anywhere;text-align:left}
.project-chat-message.is-mine{align-self:flex-end;align-items:flex-end}
.project-chat-message.is-mine p{background:#3d604d;color:#fff;border-radius:18px 18px 5px 18px}
.project-chat-caption{margin:0;padding:0 24px 20px;font-size:11px;color:#566059}
@media(max-width:720px){.project-chat-feature{grid-template-columns:1fr;margin-top:44px;padding-top:36px;gap:24px}.project-chat-messages{padding:20px}.project-chat-preview figcaption{padding:20px 20px 0}}

/* sections/43-catch-up */
/* 43-catch-up: the companion chapter. Everything is scoped under #catch-up.
   Layout of .chapter / .chapter-grid / .chapter-demo belongs to section 40. The
   layered line below only keeps the demo sized if 40's styles are missing; any
   unlayered rule wins over it. */
@layer chapter-fallback { #catch-up .chapter-demo { aspect-ratio: 707 / 440; min-width: 0; } }

#catch-up .cu-stage {
  --cu-card: #fff;
  --cu-line: rgb(var(--ink-rgb) / .09);
  --cu-chip: #f3f3ee;
  --cu-ok: #3e8f24;
  --cu-green-ink: #2b6a17;
  --cu-green-tint: rgb(92 194 52 / .13);
  --cu-wait: #b7771a;
  --cu-move: cubic-bezier(.45, .05, .25, 1);
  position: absolute; inset: 0; overflow: hidden;
  container: cu / size;
  font: 450 12.5px/1.45 var(--f-text); letter-spacing: 0; color: var(--ink);
  -webkit-user-select: none; user-select: none;
}
#catch-up .cu-stage.is-instant, #catch-up .cu-stage.is-instant *, #catch-up .cu-stage.is-instant *::before, #catch-up .cu-stage.is-instant *::after { transition: none !important; }
#catch-up .cu-stage p, #catch-up .cu-stage ul { margin: 0; padding: 0; list-style: none; }
#catch-up .cu-stage canvas { image-rendering: pixelated; image-rendering: crisp-edges; display: block; flex: none; width: 20px; height: 20px; border-radius: 5px; }
#catch-up .cu-pix { display: inline-block; width: 14px; height: 14px; flex: none; }
#catch-up .cu-pix svg { display: block; width: 100%; height: 100%; }
#catch-up .cu-faint { color: var(--ink-3); font-size: 11.5px; }

/* The app window: DM list beside the conversation. */
#catch-up .cu-app {
  position: absolute; inset: 14px; display: grid; grid-template-columns: 150px minmax(0, 1fr); overflow: hidden;
  background: var(--cu-card); border-radius: 12px;
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .085), 0 1px 2px rgb(0 0 0 / .04), 0 10px 24px -14px rgb(30 40 32 / .22);
}
#catch-up .cu-side { display: flex; flex-direction: column; gap: 1px; padding: 8px 7px; background: #f7f7f3; border-right: 1px solid var(--cu-line); min-width: 0; }
#catch-up .cu-side-label { padding: 8px 7px 5px; font: 400 9.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
#catch-up .cu-side-label:not(:first-child) { margin-top: 8px; }
#catch-up .cu-dm { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 7px; border-radius: 7px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
#catch-up .cu-dm > span { overflow: hidden; text-overflow: ellipsis; }
#catch-up .cu-dm.is-active { background: #fff; color: var(--ink-solid); font-weight: 540; box-shadow: 0 0 0 .75px rgb(0 0 0 / .07), 0 1px 2px rgb(0 0 0 / .05); }
#catch-up .cu-room i { width: 20px; text-align: center; font: 400 12px/1 var(--f-mono); font-style: normal; color: var(--ink-3); }
#catch-up .cu-room.is-unread { color: var(--ink-solid); font-weight: 580; }
#catch-up .cu-badge { margin-left: auto; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; display: grid; place-items: center; background: var(--forest-2); color: #fff; font: 400 9.5px/1 var(--f-mono); font-style: normal; }
#catch-up .cu-convo { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
#catch-up .cu-head { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--cu-line); flex: none; }
#catch-up .cu-head b { font-weight: 580; color: var(--ink-solid); font-size: 13px; }
#catch-up .cu-ai { height: 17px; padding: 0 5px; border-radius: 4px; display: inline-grid; place-items: center; background: var(--cu-green-tint); color: var(--cu-green-ink); font: 400 9.5px/1 var(--f-mono); letter-spacing: .04em; }

/* Call-ended banner (3.3). */
#catch-up .cu-banner { flex: none; display: flex; align-items: center; gap: 8px; height: 0; padding: 0 14px; overflow: hidden; background: #f6f7f2; border-bottom: 0 solid var(--cu-line); font-size: 12px; color: var(--ink-2); white-space: nowrap; transition: height .42s var(--ease-drawer), border-width .42s; }
#catch-up .cu-banner.is-in { height: 36px; border-bottom-width: 1px; }
#catch-up .cu-banner > * { opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease-out) .12s, transform .4s var(--ease-out) .12s; }
#catch-up .cu-banner.is-in > * { opacity: 1; transform: none; }
#catch-up .cu-banner-ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 .75px var(--cu-line); }
#catch-up .cu-banner-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#catch-up .cu-banner b { font-weight: 560; color: var(--ink-solid); }
#catch-up .cu-notes-on { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 .75px rgb(0 0 0 / .09); font: 400 10px/1 var(--f-mono); color: var(--ink-2); flex: none; }
#catch-up .cu-rec { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 2px rgb(92 194 52 / .18); }

/* Conversation log: newest at the bottom, older lines slip under a soft top edge. */
#catch-up .cu-log { position: relative; flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 16px); mask-image: linear-gradient(transparent, #000 16px); }
#catch-up .cu-thread { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px 0 6px; opacity: 0; visibility: hidden; transition: opacity .22s var(--ease-in), visibility 0s .22s; }
#catch-up .cu-stage[data-scene="1"] [data-thread="1"], #catch-up .cu-stage[data-scene="2"] [data-thread="2"], #catch-up .cu-stage[data-scene="3"] [data-thread="3"], #catch-up .cu-stage[data-scene="4"] [data-thread="4"] { opacity: 1; visibility: visible; transition: opacity .36s var(--ease-out) .06s, visibility 0s; }
#catch-up .cu-stage.is-leaving .cu-thread { opacity: 0; transition: opacity .26s var(--ease-in); }
#catch-up .cu-keep { white-space: nowrap; }
#catch-up .cu-divider { display: flex; align-items: center; gap: 10px; margin: 6px 14px 6px; font: 400 9.5px/1 var(--f-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
#catch-up .cu-divider::before, #catch-up .cu-divider::after { content: ""; flex: 1; height: 1px; background: var(--cu-line); }
#catch-up .cu-grow { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .46s var(--ease-drawer); flex: none; }
#catch-up .cu-grow > * { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease-out) .1s, transform .46s var(--ease-out) .06s; }
#catch-up .cu-grow.is-in { grid-template-rows: 1fr; }
#catch-up .cu-grow.is-in > * { opacity: 1; transform: none; }
#catch-up .cu-msg { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; padding: 5px 14px; }
#catch-up .cu-msg > canvas { margin-top: 1px; }
#catch-up .cu-meta { display: flex; align-items: baseline; gap: 6px; font-size: 12px; line-height: 1.3; margin-bottom: 1px; }
#catch-up .cu-meta b { font-weight: 580; color: var(--ink-solid); }
#catch-up .cu-meta span { font: 400 10px/1 var(--f-mono); color: var(--ink-3); }
#catch-up .cu-msg p:not(.cu-meta) { color: var(--ink); }

/* Typing dots step like pixels, then the answer streams in word by word. */
#catch-up .cu-typing { display: inline-flex; gap: 3px; height: 18px; align-items: center; }
#catch-up .cu-typing i { width: 4px; height: 4px; background: var(--ink-3); opacity: .3; animation: cu-dot .9s steps(1) infinite; }
#catch-up .cu-typing i:nth-child(2) { animation-delay: .3s; }
#catch-up .cu-typing i:nth-child(3) { animation-delay: .6s; }
@keyframes cu-dot { 0% { opacity: 1; } 33% { opacity: .3; } }
#catch-up .cu-answer { display: none; }
#catch-up .is-answering .cu-typing { display: none; }
#catch-up .is-answering .cu-answer { display: block; }
#catch-up .cu-answer .w { opacity: 0; transition: opacity .22s var(--ease-out); }
#catch-up .cu-answer .w.on { opacity: 1; }
#catch-up .cu-scaret { display: inline-block; width: 2px; height: 1.05em; margin: 0 1px -.16em; border-radius: 1px; background: var(--forest-2); animation: cu-soft 1.1s ease-in-out infinite; }
#catch-up .cu-scaret.is-off { display: none; }
@keyframes cu-soft { 0%, 100% { opacity: .2; } 50% { opacity: .9; } }
#catch-up .cu-bullets { display: grid; gap: 2px; margin-top: 3px; }
#catch-up .cu-bullets li { position: relative; padding-left: 13px; }
#catch-up .cu-bullets li::before { content: ""; position: absolute; left: 1px; top: .58em; width: 4px; height: 4px; background: var(--forest-2); }
#catch-up .cu-tag { display: inline-block; margin-left: 3px; padding: 1px 5px; border-radius: 4px; background: var(--cu-chip); font: 400 9.5px/1.3 var(--f-mono); color: var(--ink-3); vertical-align: 1px; }

/* Sources (3.2) */
#catch-up .cu-ref { display: inline-grid; place-items: center; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 4px; background: var(--cu-green-tint); color: var(--cu-green-ink); font: 400 9.5px/1 var(--f-mono); vertical-align: 1.5px; transition: background-color .2s, color .2s; }
#catch-up .cu-ref.is-hot { background: var(--forest-2); color: #fff; }
#catch-up .cu-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
#catch-up .cu-src {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px 0 4px; border-radius: 7px; white-space: nowrap;
  background: #fafaf7; box-shadow: inset 0 0 0 1px var(--cu-line); font-size: 11px; color: var(--ink-2);
  opacity: 0; transform: translateY(5px) scale(.96); transition: opacity .25s var(--ease-out), transform .4s var(--ease-spring), box-shadow .2s, background-color .2s;
}
#catch-up .cu-src b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: #ececE6; font: 400 9.5px/1 var(--f-mono); color: var(--ink-2); transition: background-color .2s, color .2s; }
#catch-up .cu-sources.is-in .cu-src { opacity: 1; transform: none; }
#catch-up .cu-sources.is-in .cu-src + .cu-src { transition-delay: .08s; }
#catch-up .cu-src.is-hot { background: #fff; box-shadow: inset 0 0 0 1.25px var(--forest-2), 0 4px 10px -4px rgb(31 58 44 / .3); transform: translateY(-1px); transition-delay: 0s; }
#catch-up .cu-src.is-hot b { background: var(--forest-2); color: #fff; }
#catch-up .cu-foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; font: 400 10px/1.2 var(--f-mono); color: var(--ink-3); opacity: 0; transition: opacity .4s var(--ease-out) .2s; }
#catch-up .cu-foot.is-in { opacity: 1; }
#catch-up .cu-foot .cu-pix { width: 12px; height: 12px; }
/* The highlighted source opens as a message card attached to its chip. */
#catch-up .cu-peek-wrap > div { overflow: visible; padding-top: 9px; }
#catch-up .cu-peek-wrap:not(.is-in) > div { overflow: hidden; }
#catch-up .cu-peek {
  position: relative; max-width: 300px; padding: 9px 11px 8px; border-radius: 10px; background: #fff;
  box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 14px 28px -14px rgb(20 30 22 / .35), 0 2px 5px rgb(0 0 0 / .05);
}
#catch-up .cu-peek::before { content: ""; position: absolute; top: -5px; left: var(--nx, 40px); width: 10px; height: 10px; margin-left: -5px; background: #fff; transform: rotate(45deg); box-shadow: -1px -1px 0 rgb(0 0 0 / .07); border-radius: 2px 0 0 0; transition: left .42s var(--ease-drawer); }
#catch-up .cu-peek-head { font: 400 10px/1 var(--f-mono); color: var(--ink-3); }
#catch-up .cu-peek-body { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; margin: 7px 0 6px; font-size: 12.5px; color: var(--ink-solid); }
#catch-up .cu-peek-body canvas { grid-area: 1 / 1; transition: opacity .2s; }
#catch-up .cu-peek-body p { grid-column: 2; line-height: 1.4; }
#catch-up .cu-peek[data-who="kofi"] canvas[data-who="amara"], #catch-up .cu-peek[data-who="amara"] canvas[data-who="kofi"] { opacity: 0; }
#catch-up .cu-peek-foot { font-size: 11px; color: var(--forest-2); font-weight: 540; }
#catch-up .cu-peek-foot::after { content: " →"; }
#catch-up .cu-peek-head, #catch-up .cu-peek p { transition: opacity .16s; }
#catch-up .cu-peek.is-swap .cu-peek-head, #catch-up .cu-peek.is-swap p { opacity: 0; }

/* Meeting notes (3.3) */
#catch-up .cu-notes { margin-top: 6px; padding: 10px 12px 10px; border-radius: 10px; background: #fbfbf8; box-shadow: inset 0 0 0 1px var(--cu-line), 0 1px 0 #fff; transform-origin: 30% 0; }
#catch-up .cu-grow:not(.is-in) .cu-notes { transform: translateY(-8px) scale(.98); }
#catch-up .cu-notes { transition: transform .6s var(--ease-spring) .05s; }
#catch-up .cu-notes-head { display: flex; align-items: center; gap: 7px; }
#catch-up .cu-notes-head b { font-weight: 600; color: var(--ink-solid); font-size: 12.5px; }
#catch-up .cu-notes-head .cu-faint { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
#catch-up .cu-pile { display: inline-flex; margin-left: auto; padding-left: 6px; }
#catch-up .cu-pile canvas { box-shadow: 0 0 0 1.5px #fbfbf8; }
#catch-up .cu-pile canvas + canvas { margin-left: -5px; }
#catch-up .cu-notes-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 14px; }
#catch-up .cu-notes-todos { grid-column: 1 / -1; }
#catch-up .cu-label { margin: 9px 0 3px; font: 400 9.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
#catch-up .cu-notes .cu-bullets { margin-top: 0; gap: 1px; }
#catch-up .cu-todos { display: grid; gap: 3px; }
#catch-up .cu-todos li { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
#catch-up .cu-due { flex: none; margin-left: 6px; padding: 2px 5px; border-radius: 4px; background: var(--cu-chip); font: 400 9.5px/1.2 var(--f-mono); color: var(--ink-3); }
#catch-up .cu-todos .cu-due { margin-left: auto; }
#catch-up .cu-notes-sol { display: flex; align-items: center; gap: 7px; margin-top: 9px; padding-top: 8px; border-top: 1px dashed rgb(var(--ink-rgb) / .14); font-size: 11.5px; color: var(--ink-2); }
#catch-up .cu-micoff { width: 14px; height: 14px; flex: none; color: #b0533c; }
#catch-up .cu-notes .cu-r { opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); }
#catch-up .cu-notes.is-read .cu-r { opacity: 1; transform: none; transition-delay: calc(var(--i) * 70ms); }

/* Drafts that wait (3.4) */
#catch-up .cu-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 7px; }
#catch-up .cu-action { padding: 8px 8px 8px 10px; border-radius: 9px; background: #fbfbf8; box-shadow: inset 0 0 0 1px var(--cu-line); transition: box-shadow .3s, background-color .3s; }
#catch-up .cu-grow:not(.is-in) .cu-action { transform: translateY(6px); }
#catch-up .cu-action { transition: transform .5s var(--ease-out), box-shadow .3s, background-color .3s; }
#catch-up .cu-action + .cu-action { transition-delay: .08s; }
#catch-up .cu-action-head { display: flex; align-items: center; gap: 6px; font-size: 12px; }
#catch-up .cu-action-head b { font-weight: 560; color: var(--ink-solid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#catch-up .cu-wait { position: relative; margin-left: auto; display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 999px; background: #fbf3e2; box-shadow: inset 0 0 0 .75px rgb(183 119 26 / .25); font: 400 9.5px/1 var(--f-mono); color: #8a5a12; white-space: nowrap; flex: none; overflow: hidden; }
#catch-up .cu-wait-dot { width: 5px; height: 5px; background: var(--cu-wait); animation: cu-wait 1.2s steps(1) infinite; }
@keyframes cu-wait { 50% { opacity: .25; } }
#catch-up .cu-wait-done { position: absolute; inset: 0; display: grid; place-items: center; background: #e6f3dc; color: var(--cu-green-ink); border-radius: 999px; box-shadow: inset 0 0 0 .75px rgb(62 143 36 / .3); transform: translateY(100%); transition: transform .36s var(--ease-drawer); }
#catch-up .cu-action-body { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 6px; }
#catch-up .cu-action-body > p { flex: 1 1 210px; min-width: 0; font-size: 12.5px; color: var(--ink-solid); }
#catch-up .cu-quote { padding-left: 8px; box-shadow: inset 2px 0 rgb(var(--ink-rgb) / .14); color: var(--ink-2) !important; }
#catch-up .cu-action-end { display: grid; margin-left: auto; }
#catch-up .cu-action-end > * { grid-area: 1 / 1; }
#catch-up .cu-action-btns { display: flex; gap: 4px; transition: opacity .2s var(--ease-in), transform .2s var(--ease-in); }
#catch-up .cu-btn { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 11.5px; font-weight: 520; white-space: nowrap; transition: transform .12s var(--ease-out), background-color .16s; }
#catch-up .cu-btn-ghost { color: var(--ink-2); }
#catch-up .cu-btn-dark { color: #fff; background: linear-gradient(rgb(255 255 255 / .07), rgb(0 0 0 / .06)), linear-gradient(var(--forest-2), var(--forest)); box-shadow: 0 0 0 1px #17291f, inset 0 1px rgb(255 255 255 / .22), 0 2px 4px rgb(0 0 0 / .14); }
#catch-up .cu-btn-dark.is-hover { background: linear-gradient(rgb(255 255 255 / .13), rgb(0 0 0 / .02)), linear-gradient(var(--forest-2), var(--forest)); }
#catch-up .cu-btn.is-pressed { transform: translateY(1px) scale(.96); }
#catch-up .cu-action-done { justify-self: end; align-self: center; white-space: nowrap; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-2); opacity: 0; transform: translateY(5px); transition: opacity .3s var(--ease-out) .12s, transform .4s var(--ease-out) .12s; pointer-events: none; }
#catch-up .cu-action.is-done { background: #fff; }
#catch-up .cu-action.is-done .cu-wait { background: transparent; box-shadow: none; }
#catch-up .cu-action.is-done .cu-wait-done { transform: none; }
#catch-up .cu-action.is-done .cu-action-btns { opacity: 0; transform: translateY(-4px); }
#catch-up .cu-action.is-done .cu-action-done { opacity: 1; transform: none; }

/* Composer */
#catch-up .cu-composer { position: relative; flex: none; display: flex; align-items: center; height: 34px; margin: 4px 10px 10px; padding: 0 4px 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); background: #fcfcfa; transition: box-shadow .2s; }
#catch-up .cu-composer.is-typing { box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .3), 0 0 0 3px rgb(var(--ink-rgb) / .05); }
#catch-up .cu-typed { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; color: var(--ink-solid); }
#catch-up .cu-caret { display: inline-block; width: 1.5px; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: var(--ink-solid); border-radius: 1px; opacity: 0; }
#catch-up .cu-composer.is-typing .cu-caret { opacity: 1; animation: cu-blink 1s steps(1) infinite; }
/* Nothing loops while the demo is off screen, paused, or still. */
#catch-up [data-cu-stage]:not(.is-running) :is(.cu-typing i, .cu-wait-dot, .cu-caret, .cu-scaret) { animation-play-state: paused; }
@keyframes cu-blink { 50% { opacity: 0; } }
#catch-up .cu-placeholder { position: absolute; left: 10px; color: var(--ink-3); pointer-events: none; transition: opacity .12s; }
#catch-up .cu-composer.has-text .cu-placeholder { opacity: 0; }
#catch-up .cu-send { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: var(--ink-3); transition: background-color .2s, color .2s, transform .12s; flex: none; }
#catch-up .cu-send svg { width: 14px; height: 14px; }
#catch-up .cu-composer.has-text .cu-send { background: var(--forest-2); color: #fff; }
#catch-up .cu-send.is-pressed { transform: scale(.9); }

/* The pointer that acts out each story. */
#catch-up .cu-cursor { position: absolute; left: 0; top: 0; z-index: 30; width: 12px; height: 19px; pointer-events: none; transform: translate3d(var(--x, 0px), var(--y, 0px), 0); transition: transform var(--d, .6s) var(--cu-move), opacity .3s var(--ease-out); opacity: 0; }
#catch-up .cu-cursor svg { display: block; width: 12px; height: 19px; transform-origin: 1px 1px; transition: transform .12s var(--ease-out); filter: drop-shadow(0 1px 1px rgb(0 0 0 / .2)); }
#catch-up .cu-cursor.is-on { opacity: 1; }
#catch-up .cu-cursor.is-down svg { transform: scale(.84); }
#catch-up .cu-stage.is-still .cu-cursor { display: none; }

@container cu (max-width: 599px) {
  #catch-up .cu-app { grid-template-columns: 128px minmax(0, 1fr); }
  #catch-up .cu-notes-body { grid-template-columns: minmax(0, 1fr); }
  #catch-up .cu-notes-col:nth-child(2) .cu-label { margin-top: 8px; }
}
@container cu (max-width: 519px) {
  #catch-up .cu-app { inset: 10px; grid-template-columns: minmax(0, 1fr); }
  #catch-up .cu-side { display: none; }
  #catch-up .cu-msg { padding: 4px 12px; }
  #catch-up .cu-head { height: 40px; padding: 0 12px; }
  #catch-up .cu-banner { padding: 0 12px; }
  #catch-up .cu-tag, #catch-up .cu-src-room { display: none; }
}
@container cu (max-width: 339px) {
  #catch-up .cu-banner-text { font-size: 11px; }
  #catch-up .cu-notes-on { padding: 0 6px; }
  #catch-up .cu-notes-head .cu-faint { display: none; }
  #catch-up .cu-wait { padding: 0 6px; }
  #catch-up .cu-tag { display: none; }
}
@container cu (max-height: 380px) {
  #catch-up .cu-label { margin-top: 7px; }
  #catch-up .cu-notes { padding: 8px 10px; }
  #catch-up .cu-notes-sol { margin-top: 7px; padding-top: 6px; }
  #catch-up .cu-head { height: 38px; }
  #catch-up .cu-composer { margin-bottom: 8px; }
}

/* Earlier messages in the same DM, carried over from the previous scene. */
#catch-up .cu-history { display: flex; flex-direction: column; flex: none; }
#catch-up .cu-history .cu-scaret { display: none; }

/* sections/44-office */
/* 44 — 4.0 Together: the real office renderer, a character lineup, your desk, and three windows.
   Layout, rows, rails and the drawer come from the shared chapter contract (40-capabilities). */
#office .chapter-demo { overflow: hidden; }
#office canvas { image-rendering: pixelated; image-rendering: crisp-edges; }

/* Scenes share one cell and follow data-active-scene; hidden ones keep their layout so canvases keep their size. */
#office .of-scene { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .32s var(--ease-out), visibility 0s linear .32s; }
#office .chapter-demo[data-active-scene="1"] [data-of-scene="1"],
#office .chapter-demo[data-active-scene="2"] [data-of-scene="2"],
#office .chapter-demo[data-active-scene="3"] [data-of-scene="3"],
#office .chapter-demo[data-active-scene="4"] [data-of-scene="4"] { visibility: visible; opacity: 1; transition: opacity .32s var(--ease-out), visibility 0s; z-index: 1; }

/* Scene 1: the live office. On wide wells the canvas runs past the well so the renderer's overlay
   has room (section.js fit()); on phones it stays the well's width and shows no overlay. */
#office .of-world { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: #93c46d; }
#office .of-world-canvas, #office .of-world-overlay { position: absolute; left: 0; top: 0; width: 100%; max-width: none; height: 100%; }
#office .of-world-overlay { pointer-events: none; }
#office .dr-door-anchor { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
/* Status bubbles: the hero's paper bubble (paper fill, a 1px forest outline with stepped corners,
   a stepped tail over the head, a hard 2px shadow). No gradient, glass or blur. */
#office .dr-bubble {
  position: absolute; left: 14px; bottom: 8px; transform: translateX(-50%); transform-origin: calc(50% - 14px) 100%;
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 7px 0 5px; white-space: nowrap;
  border: 3px solid transparent;
  border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7' shape-rendering='crispEdges'%3E%3Cpath fill='%23fbfbf8' d='M2 1h3v1h1v3h-1v1h-3v-1h-1v-3h1z'/%3E%3Cpath fill='%231f3a2c' d='M2 0h3v1h-3zM1 1h1v1h-1zM5 1h1v1h-1zM0 2h1v3h-1zM6 2h1v3h-1zM1 5h1v1h-1zM5 5h1v1h-1zM2 6h3v1h-3z'/%3E%3C/svg%3E") 3 fill / 3px / 0 stretch;
  font: 500 13px/1 var(--f-text); letter-spacing: .005em; color: var(--ink-solid);
  filter: drop-shadow(0 2px 0 rgb(18 44 32 / .2));
}
/* A square pixel presence dot, and the tail pointing down at the head (the anchor sits 14px left of centre). */
#office .dr-bubble::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--live); box-shadow: inset 0 0 0 1px var(--forest-2); }
#office .dr-bubble::after { content: ""; position: absolute; left: calc(50% - 17px); top: calc(100% + 2px); width: 7px; height: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4' shape-rendering='crispEdges'%3E%3Cpath fill='%23fbfbf8' d='M1 0h5v1h-1v1h-1v1h-1v-1h-1v-1h-1z'/%3E%3Cpath fill='%231f3a2c' d='M0 0h1v1h-1zM6 0h1v1h-1zM1 1h1v1h-1zM5 1h1v1h-1zM2 2h1v1h-1zM4 2h1v1h-1zM3 3h1v1h-1z'/%3E%3C/svg%3E") 0 0 / 7px 4px no-repeat; }
#office .dr-em { display: none; }
#office .dr-bubble.is-pop { animation: of-pop .17s steps(2, jump-none) both; }
@keyframes of-pop { from { transform: translateX(-50%) scale(.6); } }
#office .dr-door-label {
  position: absolute; left: 0; top: 0; height: 26px; padding: 0 8px; display: inline-flex; align-items: center; white-space: nowrap;
  border: 3px solid transparent;
  border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7' shape-rendering='crispEdges'%3E%3Cpath fill='%23fbfbf8' d='M2 1h3v1h1v3h-1v1h-3v-1h-1v-3h1z'/%3E%3Cpath fill='%231f3a2c' d='M2 0h3v1h-3zM1 1h1v1h-1zM5 1h1v1h-1zM0 2h1v3h-1zM6 2h1v3h-1zM1 5h1v1h-1zM5 5h1v1h-1zM2 6h3v1h-3z'/%3E%3C/svg%3E") 3 fill / 3px / 0 stretch;
  font: 400 11px/1 var(--f-pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-solid);
  filter: drop-shadow(0 2px 0 rgb(18 44 32 / .2));
}

/* Scene 2: the lineup */
#office .of-lineup { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; row-gap: 20px; }
#office .of-lrow { display: grid; justify-items: center; gap: 8px; }
#office .of-lrow canvas { display: block; max-width: none; }
#office .of-chips { display: grid; justify-items: center; }
#office .of-slot { display: flex; justify-content: center; min-width: 0; }
#office .of-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px 0 6px; border-radius: var(--r-chip);
  font: 400 11px/1 var(--f-pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  background: #fff; box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 1px 2px rgb(0 0 0 / .05);
  transform: translateY(6px) scale(.9); opacity: 0;
}
#office .of-chip i { width: 7px; height: 7px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); }
#office .of-chip.is-in { opacity: 1; transform: none; transition: transform .5s var(--ease-spring), opacity .2s var(--ease-out); }
/* At the smallest scale the 44px columns are narrower than the names: the chips wrap as a centred row instead. */
#office .of-chips.is-tight { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: 100%; }

/* Scene 3: your desk */
#office .of-desk { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; }
#office .of-room { position: relative; }
#office .of-room canvas { display: block; border-radius: 6px; box-shadow: 0 0 0 1px rgb(31 58 44 / .14), 0 10px 24px rgb(31 58 44 / .1); }
#office .of-plate {
  position: absolute; left: var(--x, 50%); top: var(--y, 20%); transform: translate(-50%, -100%) translateY(4px) scale(.85); transform-origin: 50% 100%;
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 8px; border-radius: 6px; white-space: nowrap;
  font: 400 11px/1 var(--f-pixel); letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: linear-gradient(rgb(46 88 67 / .92), rgb(31 58 44 / .96)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 4px 10px rgb(16 36 28 / .25);
  opacity: 0; pointer-events: none;
}
#office .of-plate::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 4px; transform: translateX(-50%); background: #1f3a2c; clip-path: polygon(0 0, 100% 0, 50% 100%); }
#office .of-plate i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
#office .of-plate.is-in { opacity: 1; transform: translate(-50%, -100%); transition: transform .5s var(--ease-spring), opacity .18s var(--ease-out); }
#office .of-keys { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; -webkit-user-select: none; }
#office .of-key {
  display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 8px;
  font: 500 15px/1 var(--f-text); color: var(--ink-solid);
  background: linear-gradient(#fff, #f3f3ee); border: 1px solid rgb(var(--ink-rgb) / .14);
  box-shadow: 0 3px 0 rgb(var(--ink-rgb) / .14), 0 4px 8px rgb(0 0 0 / .06), inset 0 1px 0 #fff;
  transition: transform .09s var(--ease-out), box-shadow .09s var(--ease-out), background-color .09s;
}
#office .of-key.is-down, #office .of-keys:active .of-key { transform: translateY(2px); box-shadow: 0 1px 0 rgb(var(--ink-rgb) / .16), 0 1px 2px rgb(0 0 0 / .06), inset 0 1px 0 #fff; background: linear-gradient(#f6f6f1, #ecece6); }
#office .of-keys-note { margin-left: 6px; }
#office .of-keys-alt { color: var(--ink-3); }

/* Scene 4: three windows */
#office .of-devices { position: absolute; inset: 0; }
#office .of-win {
  position: absolute; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 10px; background: var(--paper-raised);
  box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .16), 0 12px 28px rgb(31 58 44 / .12), 0 2px 4px rgb(31 58 44 / .06);
  opacity: 0; transform: translateY(14px) scale(.965);
}
#office .of-win.is-in { opacity: 1; transform: none; transition: transform .62s var(--ease-spring), opacity .24s var(--ease-out); }
/* Real screenshots of the app (art/app/), shown from the top-left so the sidebar and office lead. */
#office .of-win .of-shot { position: absolute; left: 0; top: 26px; width: 100%; height: calc(100% - 26px); display: block; max-width: none; object-fit: cover; object-position: left top; background: #f1f1ec; opacity: 0; transition: opacity .32s steps(4, end); }
#office .of-win.is-in .of-shot { opacity: 1; transition-delay: .18s; }
#office .of-win-bar {
  display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; flex: none;
  border-bottom: 1px solid rgb(var(--ink-rgb) / .1); font-size: 11.5px; color: var(--ink-2); background: #fff;
}
#office .of-lights { display: inline-flex; gap: 5px; }
#office .of-lights i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .28); }
#office .of-win-mac .of-lights i:nth-child(1) { background: #f0857a; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .18); }
#office .of-win-mac .of-lights i:nth-child(2) { background: #f4c45d; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .18); }
#office .of-win-mac .of-lights i:nth-child(3) { background: #7dc46a; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .18); }
#office .of-win-title { font-weight: 520; color: var(--ink); }
#office .of-win-mac .of-win-title { position: absolute; left: 50%; transform: translateX(-50%); }
#office .of-win-tag { margin-left: auto; font: 400 10px/1 var(--f-pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
#office .of-ctl { display: inline-flex; color: var(--ink-3); margin-left: 10px; }
#office .of-ctl svg { width: 30px; height: 8px; }
#office .of-win-pc .of-win-bar { padding-right: 10px; }
#office .of-win-pc .of-win-tag { margin-left: auto; }
#office .of-url {
  display: inline-flex; align-items: center; gap: 5px; height: 18px; padding: 0 9px; border-radius: 9px;
  background: var(--paper-sunk); color: var(--ink-2); font: 400 11px/1 var(--f-mono); flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#office .of-url svg { width: 9px; height: 9px; flex: none; }
#office .of-win-mac { left: 4%; top: 5%; width: 54%; height: 50%; }
#office .of-win-pc { right: 4%; top: 13%; width: 50%; height: 48%; }
#office .of-win-web { left: 17%; top: 39%; width: 64%; height: 56%; z-index: 2; }

/* #office breaks the alternating chapter rhythm: the map runs the full width under a two-column
   head, and the four rows become a room-switcher bar beneath it. */
@media (min-width: 1000px) {
  #office .chapter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px; row-gap: 0; align-items: end; }
  #office .chapter-copy { display: contents; }
  #office .chapter-copy .room-tag { grid-column: 1; grid-row: 1; }
  #office .chapter-copy .subtitle { grid-column: 1; grid-row: 2; }
  #office .chapter-copy .lede { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; max-width: 480px; }
  #office .chapter-grid > .chapter-demo { grid-column: 1 / -1; grid-row: 3; margin-top: 44px; aspect-ratio: 1100 / 500; }
  #office .chapter-copy .rows { grid-column: 1 / -1; grid-row: 4; margin-top: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
  #office .rows .row { height: 100%; }
  #office .rows .row .row-try { display: none; }
}

@media (max-width: 600px) {
  #office .of-keys { flex-wrap: wrap; justify-content: center; }
  #office .of-keys-alt { display: none; }
  #office .of-win-mac { left: 3%; top: 4%; width: 74%; height: 34%; }
  #office .of-win-pc { right: 3%; top: 26%; width: 72%; height: 34%; }
  #office .of-win-web { left: 6%; top: 50%; width: 88%; height: 46%; }
  #office .of-win-tag { display: none; }
  #office .of-chip { letter-spacing: .04em; padding: 0 6px 0 5px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  #office .of-chip, #office .of-win, #office .of-plate { transition: none; }
}

/* Liquid-glass navigation, coordinated with the floating day caption and
   capability cards. The solid fallback remains readable without blur. */
#office .rows,
#office .row[aria-current]:not([aria-current="false"]),
#features .caps-room,
#day[data-mode="scrub"] .day-card {
  background: linear-gradient(145deg, rgb(255 255 255 / .78), rgb(255 255 255 / .24) 48%, rgb(220 232 224 / .34)), #e9eee8;
  border: 1px solid rgb(255 255 255 / .8);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 -1px 0 rgb(40 66 49 / .12), 0 2px 4px rgb(28 50 36 / .06), 0 14px 28px -16px rgb(28 50 36 / .26);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #office .rows, #features .caps-room, #day[data-mode="scrub"] .day-card {
    background-color: rgb(240 246 240 / .48);
    -webkit-backdrop-filter: blur(22px) saturate(1.45);
    backdrop-filter: blur(22px) saturate(1.45);
  }
  /* Blur the tab tray once; the selected tab supplies its own lens highlight. */
  #office .row[aria-current]:not([aria-current="false"]) { background-color: rgb(255 255 255 / .38); }
}
#office .rows { border-radius: 24px; }
#office .row { border-radius: 19px; }
#features .caps-room { border-radius: 22px; }
#day[data-mode="scrub"] .day-card { color: #293c30; }
#day[data-mode="scrub"] :is(.day-name, .day-line, .day-time, .day-mark-t) { color: #293c30; }
@media (hover: hover) and (pointer: fine) {
  #features .caps-room:hover, #office .row:hover {
    background-color: rgb(255 255 255 / .58);
    box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(40 66 49 / .12), 0 4px 8px rgb(28 50 36 / .08), 0 18px 32px -16px rgb(28 50 36 / .3);
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  #office .rows, #office .row[aria-current]:not([aria-current="false"]), #features .caps-room, #day[data-mode="scrub"] .day-card {
    background: #f5f7f3; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: #647367;
  }
}
@media (forced-colors: active) {
  #office .rows, #office .row[aria-current]:not([aria-current="false"]), #features .caps-room, #day[data-mode="scrub"] .day-card {
    background: Canvas; color: CanvasText; border: 1px solid ButtonText; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  #office .row[aria-current]:not([aria-current="false"]) { outline: 2px solid Highlight; }
  #day[data-mode="scrub"] :is(.day-name, .day-line, .day-time, .day-mark-t) { color: CanvasText; }
}

/* sections/50-day */
/* 50 — A day at your desk. One pixel room by a big window; on wide screens the
   stage pins and the scroll sets the hour (data-mode="scrub"). Phones get a
   carousel of four stills ("carousel"), reduced motion a grid ("stills").
   Without script the captions stay as a plain list. The caption uses frosted glass; the room and speech bubbles keep their pixel artwork. */

#day { padding-bottom: 96px; }
#day .day-head { text-align: center; }
#day .day-head .eyebrow { margin-bottom: 14px; }
#day .day-head .title .dim { display: block; }
#day .day-track { position: relative; margin-top: 48px; }
#day canvas { image-rendering: crisp-edges; image-rendering: pixelated; }

/* ---- Captions (each beat's time, title and line) ---- */
#day .day-card { position: relative; }
#day .day-beats { margin: 0; padding: 0; list-style: none; }
#day .day-time { font: 400 11px/1.4 var(--f-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
#day .day-time::before { content: ""; width: 6px; height: 6px; background: var(--leaf); box-shadow: 0 0 0 1px var(--forest-2); }
#day .day-name { margin-top: 6px; font-size: 28px; line-height: 1.12; letter-spacing: -.012em; color: var(--ink); }
#day .day-line { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* ---- Stills (no script, reduced motion): a grid of four frames ---- */
#day .day-scene { display: none; }
#day .day-beats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
#day .day-shot {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-frame); overflow: hidden;
  background: linear-gradient(#7fb7e2, #cfe3ec 58%, #8aa58a 58%, #b8a088);
  box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .12), 0 3px 0 rgb(18 44 32 / .12);
}
#day .day-beat[data-beat="3"] .day-shot { background: linear-gradient(#0c1d45, #25467f 58%, #2b3a38 58%, #4a3a30); }
#day .day-still { position: absolute; left: 0; top: 0; max-width: none; }
#day .day-cap { padding: 16px 4px 0; }
@media (max-width: 759px) { #day .day-beats { grid-template-columns: minmax(0, 1fr); } }

/* ---- Bubbles: the hero's paper status bubbles, in this room ---- */
#day .day-bubs { position: absolute; inset: 0; pointer-events: none; }
#day .day-bub {
  --tx: 14px;
  position: absolute; left: 0; top: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start;
  visibility: hidden; transform-origin: var(--tx) 100%;
  filter: drop-shadow(0 2px 0 rgb(18 44 32 / .2));
}
#day .day-bub.is-up { visibility: visible; }
#day .day-bub[data-tail="left"] { flex-direction: row-reverse; align-items: center; transform-origin: 0 50%; }
#day .day-bub[data-tail="right"] { flex-direction: row; align-items: center; transform-origin: 100% 50%; }
#day .day-bub[data-night] { filter: drop-shadow(0 2px 0 rgb(0 0 0 / .34)) brightness(.9); }
#day .day-bub-box {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 5px; white-space: nowrap;
  border: 3px solid transparent;
  border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7' shape-rendering='crispEdges'%3E%3Cpath fill='%23fbfbf8' d='M2 1h3v1h1v3h-1v1h-3v-1h-1v-3h1z'/%3E%3Cpath fill='%231f3a2c' d='M2 0h3v1h-3zM1 1h1v1h-1zM5 1h1v1h-1zM0 2h1v3h-1zM6 2h1v3h-1zM1 5h1v1h-1zM5 5h1v1h-1zM2 6h3v1h-3z'/%3E%3C/svg%3E") 3 fill / 3px / 0 stretch;
  font: 500 13px/1 var(--f-text); letter-spacing: .005em; color: var(--ink-solid);
}
#day .day-bub-ico { flex: none; width: 11px; height: 11px; color: var(--forest-2); shape-rendering: crispEdges; }
#day .day-bub-t i { display: inline-block; width: 2px; height: 13px; margin-left: 1px; vertical-align: -2px; background: var(--forest-2); }
#day .day-bub-tail {
  display: block; flex: none; width: 7px; height: 4px; margin-top: -1px; margin-left: calc(var(--tx) - 3px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4' shape-rendering='crispEdges'%3E%3Cpath fill='%23fbfbf8' d='M1 0h5v1h-1v1h-1v1h-1v-1h-1v-1h-1z'/%3E%3Cpath fill='%231f3a2c' d='M0 0h1v1h-1zM6 0h1v1h-1zM1 1h1v1h-1zM5 1h1v1h-1zM2 2h1v1h-1zM4 2h1v1h-1zM3 3h1v1h-1z'/%3E%3C/svg%3E") 0 0 / 7px 4px no-repeat;
}
#day .day-bub[data-tail="left"] .day-bub-tail {
  width: 4px; height: 7px; margin: 0 -1px 0 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='7' shape-rendering='crispEdges'%3E%3Cpath fill='%23fbfbf8' d='M3 1h1v5h-1zM2 2h1v3h-1zM1 3h1v1h-1z'/%3E%3Cpath fill='%231f3a2c' d='M3 0h1v1h-1zM3 6h1v1h-1zM2 1h1v1h-1zM2 5h1v1h-1zM1 2h1v1h-1zM1 4h1v1h-1zM0 3h1v1h-1z'/%3E%3C/svg%3E") 0 0 / 4px 7px no-repeat;
}
#day .day-bub[data-tail="right"] .day-bub-tail {
  width: 4px; height: 7px; margin: 0 0 0 -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='7' shape-rendering='crispEdges'%3E%3Cpath fill='%23fbfbf8' d='M0 1h1v5h-1zM1 2h1v3h-1zM2 3h1v1h-1z'/%3E%3Cpath fill='%231f3a2c' d='M0 0h1v1h-1zM0 6h1v1h-1zM1 1h1v1h-1zM1 5h1v1h-1zM2 2h1v1h-1zM2 4h1v1h-1zM3 3h1v1h-1z'/%3E%3C/svg%3E") 0 0 / 4px 7px no-repeat;
}
/* Stills carry one bubble each: the beat's product moment, readable on a phone. */
#day .day-shot .day-bub { z-index: 1; }

/* ---- Scrub: the pinned stage ---- */
#day[data-mode="scrub"] .day-track { height: 300vh; }
#day[data-mode="scrub"] .day-stage {
  --avail: calc(100vh - var(--header-h) - 24px);
  --stage-h: max(420px, min(var(--avail), 940px, calc((min(100vw, 1440px) - var(--gutter) * 2) * .74)));
  position: sticky; top: calc(var(--header-h) + 12px + max(0px, (var(--avail) - var(--stage-h)) / 2));
  height: var(--stage-h); max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter);
}
@supports (height: 100svh) { #day[data-mode="scrub"] .day-stage { --avail: calc(100svh - var(--header-h) - 24px); } }
#day[data-mode="scrub"] .day-scene {
  display: block; position: absolute; inset: 0 var(--gutter); border-radius: var(--r-outer); overflow: hidden; isolation: isolate;
  background: #5c6e60; box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .14), 0 4px 0 rgb(18 44 32 / .1);
}
#day .day-canvas { position: absolute; left: 0; top: 0; max-width: none; }

/* Floating glass caption; the backing keeps every hour readable. */
#day[data-mode="scrub"] .day-card {
  position: absolute; left: calc(var(--gutter) + 20px); bottom: 20px; z-index: 2; width: 344px;
  padding: 18px 20px 4px; border-radius: 24px;
}
#day[data-mode="scrub"] .day-beats { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; gap: 0; margin: 0; max-width: none; }
#day[data-mode="scrub"] .day-beat { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .28s var(--ease-out), visibility 0s linear .28s; }
#day[data-mode="scrub"] .day-beat[data-active] { visibility: visible; opacity: 1; transition: opacity .32s var(--ease-out) .05s, visibility 0s; }
#day[data-mode="scrub"] .day-shot { display: none; }
#day[data-mode="scrub"] .day-cap { padding: 0; }

/* Narrower screens: the card sits under the scene, inside the pinned stage. The
   stage grows taller on portrait screens, showing more ceiling and floor. */
@media (max-width: 1179px) {
  #day[data-mode="scrub"] .day-stage {
    --stage-h: max(460px, min(var(--avail), calc((100vw - var(--gutter) * 2) * .82 + 160px)));
    display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px;
  }
  #day[data-mode="scrub"] .day-scene { position: relative; inset: auto; }
  #day[data-mode="scrub"] .day-card {
    position: relative; left: auto; bottom: auto; width: auto; padding: 8px 12px 0;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); align-items: center; gap: 8px 24px;
  }
  #day[data-mode="scrub"] .day-name { font-size: 24px; }
  #day[data-mode="scrub"] .day-line { font-size: 15px; }
  #day[data-mode="scrub"] .day-rail { margin: 0; }
}

/* ---- The sun rail ---- */
#day .day-rail { position: relative; height: 72px; margin: 10px 0 2px; }
#day .day-arc { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
#day .day-arc path { fill: none; stroke: rgb(var(--ink-rgb) / .32); stroke-width: 1.6; stroke-dasharray: 0 5.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* Each stop is a strip from its dot on the arc down to its label, so every
   label sits on one baseline and each target is at least 44px tall. */
#day .day-mark {
  position: absolute; bottom: -2px; width: 52px; min-height: 44px; margin: -10px 0 0 -26px; padding: 0 0 2px; border: 0; border-radius: 8px; background: none;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; color: var(--ink-3);
  transition: color .16s var(--ease-out);
}
#day .day-dot { width: 9px; height: 9px; margin-top: 5.5px; border-radius: 50%; background: var(--paper-raised); box-shadow: 0 0 0 1.5px rgb(var(--ink-rgb) / .38); transition: transform .2s var(--ease-spring), background-color .16s, box-shadow .16s; }
#day .day-mark-t { font: 400 11px/1 var(--f-pixel); letter-spacing: .06em; }
#day .day-mark[aria-current] { color: var(--ink); }
#day .day-mark[aria-current] .day-dot { background: var(--forest); box-shadow: 0 0 0 1.5px var(--forest), 0 0 0 4px rgb(31 58 44 / .14); transform: scale(1.1); }
@media (hover: hover) and (pointer: fine) {
  #day .day-mark:hover { color: var(--ink); }
  #day .day-mark:hover .day-dot { transform: scale(1.2); }
}
/* The sun (a moon after dusk) rides its own path just above the stops. */
#day .day-sun { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; pointer-events: none; will-change: transform; }

/* ---- Carousel (phones): the rail on top, the beats snap sideways ---- */
#day[data-mode="carousel"] .day-card { display: flex; flex-direction: column; }
#day[data-mode="carousel"] .day-rail { order: -1; width: min(330px, calc(100% - var(--gutter) * 2)); margin: 0 auto 20px; }
#day[data-mode="carousel"] .day-beats {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  width: 100%; margin: 0; padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none; max-width: none;
}
#day[data-mode="carousel"] .day-beats::-webkit-scrollbar { display: none; }
#day[data-mode="carousel"] .day-beat { flex: 0 0 min(88%, 420px); scroll-snap-align: center; }
#day[data-mode="carousel"] .day-shot { aspect-ratio: 5 / 4; }
#day[data-mode="carousel"] .day-name { font-size: 24px; }
#day[data-mode="carousel"] .day-line { font-size: 15px; }

#day .day-cta { margin-top: 40px; display: flex; justify-content: center; }
#day[data-mode="scrub"] .day-cta { margin-top: 28px; }
@media (max-width: 759px) { #day .day-track { margin-top: 36px; } }

/* Product-scene popups match the hero notification glass. */
#day .day-bub, #day .day-bub[data-night], #office .dr-bubble { filter: none; }
#day .day-bub-box, #office .dr-bubble, #plan .pl-toast {
  border: 1px solid rgb(255 255 255 / .16); border-image: none; border-radius: 8px;
  background: var(--notification-glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.19); backdrop-filter: blur(16px) saturate(1.19);
  box-shadow: var(--notification-shadow); color: #fff; text-shadow: 0 1px 1px rgb(0 0 0 / .2);
}
#day .day-bub-box { padding: 0 10px; }
#office .dr-bubble { padding: 0 9px; }
#day .day-bub-ico, #plan .pl-toast b { color: #fff; }
#day .day-bub-t i { background: #fff; }
#day .day-bub-tail, #office .dr-bubble::after { display: none; }
#office .dr-bubble::before { background: #a3e635; border-radius: 50%; box-shadow: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #day .day-bub-box, #office .dr-bubble, #plan .pl-toast, .hn-pill { background: #16453d; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  #day .day-bub-box, #office .dr-bubble, #plan .pl-toast, .hn-pill { background: #16453d; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (forced-colors: active) {
  #day .day-bub-box, #office .dr-bubble, #plan .pl-toast, .hn-pill {
    background: Canvas; color: CanvasText; border: 1px solid CanvasText; box-shadow: none; text-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  #day .day-bub-ico, #plan .pl-toast b, .hn-status, .hn-value { color: CanvasText; }
}

/* sections/60-anywhere */
/* 60-anywhere: a calm paper section whose star is the real app. Scoped under .aw (section#anywhere).
   Desktop: platform rows on the left (like rooms in the app's sidebar), a large window on the right
   that leans past the text column. Each platform swaps the window's frame and screenshot. */
.aw {
  --aw-side: 272px;
  --aw-gap: 44px;
  --aw-edge: 32px;   /* how close the window may come to the viewport's right edge */
  --aw-bar: 40px;
  --aw-app-bg: #f1f0ea;
  overflow-x: clip;
}
.aw-head { max-width: 640px; }
.aw-sub { margin-top: 16px; }

.aw-body {
  /* The window leans into the right margin on wide screens, keeping --aw-edge clear of the edge,
     so the app inside it renders close to its real size (about 0.82x at 1280px, 0.88x at 1440px, 1x at 1920px). */
  --aw-bleed: clamp(0px, calc((100vw - var(--wrap)) / 2 - var(--aw-edge)), 260px);
  display: grid; grid-template-columns: var(--aw-side) minmax(0, 1fr); column-gap: var(--aw-gap); align-items: start;
  margin-top: 56px; margin-right: calc(-1 * var(--aw-bleed));
}
.aw-side { grid-column: 1; grid-row: 1; min-width: 0; padding-top: 2px; }
.aw-stage { grid-column: 2; grid-row: 1; }

/* ---------- Platform rows: the app's sidebar, on paper ---------- */
.aw-label { padding: 0 12px 10px; font: 520 13px/1.2 var(--f-text); color: var(--ink-3); letter-spacing: .01em; }
.aw-rows { position: relative; display: grid; }
/* One selection pill glides between rows, the way a room highlight does in the app. */
.aw-hl {
  position: absolute; z-index: 0; left: 0; right: 0; top: 0; height: var(--aw-hl-h, 64px);
  transform: translateY(var(--aw-hl-y, 0px)); border-radius: var(--r-row);
  background: rgb(var(--ink-rgb) / .055); box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .04);
  transition: transform .36s var(--ease-drawer), height .36s var(--ease-drawer);
}
.aw-rows:not(.is-measured) .aw-hl { display: none; }
.aw-rows:not(.is-measured) .aw-row[aria-selected="true"] { background: rgb(var(--ink-rgb) / .055); }
.aw-row {
  appearance: none; position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 12px;
  width: 100%; min-height: 64px; margin: 0; padding: 12px 12px 13px; border: 0; border-radius: var(--r-row);
  background: transparent; color: var(--ink-2); text-align: left; font: inherit; letter-spacing: .01em;
  transition: background-color .16s var(--ease-out), color .16s var(--ease-out);
}
/* Hairlines between rows, hidden beside the selected one. */
.aw-row + .aw-row::before {
  content: ''; position: absolute; top: 0; left: 40px; right: 12px; height: 1px; background: var(--line-2);
  transition: opacity .2s var(--ease-out);
}
.aw-row[aria-selected="true"]::before, .aw-row[aria-selected="true"] + .aw-row::before { opacity: 0; }
.aw-row:focus-visible { outline: 2px solid rgb(var(--ink-rgb) / .8); outline-offset: -2px; border-radius: var(--r-row); }
@media (hover: hover) and (pointer: fine) {
  .aw-row[aria-selected="false"]:hover { background: rgb(var(--ink-rgb) / .03); color: var(--ink); }
  .aw-row[aria-selected="false"]:hover .aw-glyph { color: var(--ink-2); }
}
.aw-glyph { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--ink-3); transition: color .16s var(--ease-out); }
.aw-row[aria-selected="true"] { color: var(--ink); }
.aw-row[aria-selected="true"] .aw-glyph { color: var(--ink); }
.aw-row-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.aw-row-top { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.aw-row-name { font-size: 15px; line-height: 20px; font-weight: 520; color: var(--ink); }
.aw-row-meta { margin-left: auto; font-size: 12.5px; line-height: 20px; font-weight: 460; color: var(--ink-3); white-space: nowrap; }
.aw-row-live { display: inline-flex; align-items: center; gap: 7px; color: var(--forest-2); font-weight: 520; }
.aw-row-state { font-size: 13px; line-height: 1.45; font-weight: 440; color: var(--ink-3); }
/* Mac: the version line once launch.js has it; the "being prepared" sentence until then. */
.aw-row-state [data-release-meta]:not([hidden]) + .aw-row-pending { display: none; }

/* ---------- The selected platform's action ---------- */
.aw-panels { margin-top: 20px; padding: 0 12px; }
.aw-panel { display: grid; justify-items: start; gap: 12px; }
.aw-panel[hidden] { display: none; }
.aw-cta { margin-top: 2px; }
.aw .aw-dl[data-download-available="false"] {
  color: var(--ink-solid); background: var(--paper-raised); border-color: rgb(var(--ink-rgb) / .1);
  box-shadow: 0 2px 3px rgb(0 0 0 / .06), var(--emboss);
}
.aw-down { display: inline-block; transition: transform .2s var(--ease-out); }
.aw-dl:hover .aw-down { transform: translateY(2px); }
.aw-fine { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
/* The visitor's own character (their #yourself look once saved), the way the app shows a teammate. */
.aw-you { display: flex; align-items: center; gap: 10px; }
.aw-you-face { display: none; flex: none; width: 24px; height: 24px; border-radius: 6px; image-rendering: pixelated; box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .1); }
.aw-you-face.is-painted { display: block; }
.aw-notice {
  width: 100%; margin-top: 4px; padding: 12px 14px; border-radius: var(--r-row);
  background: var(--paper-raised); border: 1px solid var(--line-2); font-size: 14px; line-height: 1.5; color: var(--ink-2);
}
.aw-notice:not(:has(> :not([hidden]))) { display: none; }
.aw-notice-text { display: flex; gap: 10px; }
.aw-notice-text::before {
  content: '!'; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px;
  font: 400 11px/1 var(--f-pixel); color: var(--paper-raised); background: var(--forest-2); border-radius: 3px;
}
.aw-notice-text + .aw-help { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.aw-help summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px;
  list-style: none; cursor: pointer; font-weight: 520; color: var(--ink); border-radius: 4px;
}
.aw-help summary::-webkit-details-marker { display: none; }
.aw-help-chev { width: 12px; height: 12px; flex: none; color: var(--ink-3); transition: transform .22s var(--ease-out); }
.aw-help[open] .aw-help-chev { transform: rotate(90deg); }
.aw-steps { counter-reset: aw-step; display: grid; gap: 8px; margin-top: 8px; }
.aw-steps li { counter-increment: aw-step; position: relative; padding-left: 22px; }
.aw-steps li::before { content: counter(aw-step); position: absolute; left: 0; top: 0; font: 400 11px/1.9 var(--f-mono); color: var(--ink-3); }
.aw-steps b { font-weight: 560; color: var(--ink); }
.aw-note {
  display: flex; align-items: center; gap: 10px; margin: 26px 12px 0; padding-top: 16px; border-top: 1px solid var(--line);
  font: 400 12px/1.45 var(--f-mono); color: var(--ink-3); letter-spacing: 0;
}
.aw-note::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--leaf); }

/* ---------- The stage: one window whose frame changes with the platform ---------- */
.aw-stage {
  --aw-over: 2.6cqw;   /* how far the phone leans past the window's right edge */
  position: relative; margin: 0; container-type: inline-size; padding-bottom: 7.6%; /* % of the stage's width, like the cqw below */
}
/* A faint floor of dots under the window, fading out: the paper the window rests on. */
/* The paper the window rests on: a field of dots beneath it, fading up and out. */
.aw-stage::before {
  content: ''; position: absolute; z-index: 0; left: -3%; right: -4%; top: 38%; bottom: -6%; pointer-events: none;
  background-image: radial-gradient(circle at center, rgb(var(--ink-rgb) / .24) .75px, transparent 1.05px); background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(58% 62% at 50% 78%, #000 25%, transparent 100%); mask-image: radial-gradient(58% 62% at 50% 78%, #000 25%, transparent 100%);
}
.aw-win {
  position: relative; z-index: 1; width: calc(100% - var(--aw-over));
  border-radius: 12px; overflow: hidden; background: var(--paper-raised);
  box-shadow:
    0 0 0 1px rgb(var(--ink-rgb) / .13),
    inset 0 1px 0 #fff,
    0 1px 1px rgb(28 33 29 / .04),
    0 10px 22px -12px rgb(28 33 29 / .22),
    0 42px 70px -38px rgb(28 33 29 / .34);
  transition: border-radius .34s var(--ease-out);
}
.aw-stage[data-platform="windows"] .aw-win { border-radius: 8px; }

.aw-bar {
  position: relative; height: var(--aw-bar); background: #efefea; border-bottom: 1px solid rgb(var(--ink-rgb) / .1);
  transition: background-color .34s var(--ease-out);
}
.aw-stage[data-platform="mac"] .aw-bar { background: #f3f3ef; }
.aw-stage[data-platform="windows"] .aw-bar { background: #f6f6f3; }
.aw-bar-layer {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 14px; padding: 0 14px;
  opacity: 0; visibility: hidden; transition: opacity .26s var(--ease-out), visibility 0s linear .26s;
}
.aw-bar-layer.is-on { opacity: 1; visibility: visible; transition: opacity .32s var(--ease-out) .06s, visibility 0s; }

/* Browser: window dots, back and forward, the address. */
.aw-dots { display: flex; gap: 7px; flex: none; }
.aw-dots i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .2); }
.aw-navs { width: 30px; height: 12px; flex: none; color: rgb(var(--ink-rgb) / .34); }
.aw-url {
  display: flex; align-items: center; justify-content: center; gap: 7px; flex: 0 1 46%; min-width: 0; height: 26px;
  margin: 0 auto; padding: 0 14px; border-radius: 13px; background: var(--paper-raised); box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .1);
  font: 400 12.5px/1 var(--f-mono); color: var(--ink-2); letter-spacing: 0;
}
.aw-lock { width: 10px; height: 12px; flex: none; color: var(--ink-3); }
.aw-url-text { display: inline-block; box-sizing: content-box; width: 18ch; overflow: hidden; white-space: nowrap; border-right: 1px solid transparent; }
.aw-load { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--leaf); transform-origin: 0 50%; opacity: 0; }
.aw-bar-browser::after { content: ''; flex: none; width: 54px; } /* balances the dots and arrows so the address sits centred */

/* Mac: quiet traffic lights, a centred title. */
.aw-lights { display: flex; gap: 8px; flex: none; }
.aw-lights i { width: 12px; height: 12px; border-radius: 50%; background: #e7a59c; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .14); }
.aw-lights i:nth-child(2) { background: #e9cf8f; }
.aw-lights i:nth-child(3) { background: #a9cf98; }
.aw-wtitle { font: 520 13px/1 var(--f-text); color: var(--ink-3); letter-spacing: .01em; }
.aw-bar-mac .aw-wtitle { position: absolute; left: 50%; translate: -50% 0; }

/* Windows: icon and title on the left, caption buttons on the right. */
.aw-bar-windows { gap: 10px; padding-right: 0; }
.aw-wicon { width: 16px; height: 16px; flex: none; border-radius: 4px; }
.aw-bar-windows .aw-wtitle { font-size: 12.5px; color: var(--ink-2); }
.aw-caps { width: 120px; height: 12px; margin-left: auto; flex: none; color: var(--ink-2); }

/* The screen: the real app at the capture's own size (a 1024 x 740 window, so its text stays readable here). */
.aw-screen { position: relative; aspect-ratio: 1024 / 740; background: var(--aw-app-bg); overflow: hidden; }
.aw-shot { position: absolute; inset: 0; z-index: 1; display: block; opacity: 0; }
.aw-shot.is-on { opacity: 1; }
.aw-shot.is-top { z-index: 2; }
.aw-shot.is-entering { animation: aw-shot-in .56s cubic-bezier(.33, 0, .2, 1) both; }
.aw-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }

/* ---------- What sits at the window's feet: a phone, a dock, a taskbar ---------- */
.aw-foot-art {
  position: absolute; z-index: 2; opacity: 0; visibility: hidden; transform: translateY(1.2cqw);
  transition: opacity .28s var(--ease-out), transform .4s var(--ease-out), visibility 0s linear .4s;
}
.aw-foot-art.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .36s var(--ease-out) .08s, transform .5s var(--ease-out) .08s, visibility 0s; }

.aw-phone {
  right: 0; bottom: 0; width: 20.5cqw; padding: .55cqw; border-radius: 3.1cqw; background: var(--paper-raised);
  box-shadow:
    0 0 0 1px rgb(var(--ink-rgb) / .16),
    inset 0 1px 0 #fff,
    0 1.2cqw 2.4cqw -1.2cqw rgb(28 33 29 / .28),
    0 4cqw 6cqw -3.4cqw rgb(28 33 29 / .36);
}
.aw-island { display: block; width: 3.4cqw; height: .9cqw; margin: .4cqw auto .4cqw; border-radius: 1cqw; background: rgb(var(--ink-rgb) / .7); }
.aw-phone-screen { position: relative; overflow: hidden; aspect-ratio: 430 / 932; border-radius: 0 0 2.5cqw 2.5cqw; background: var(--aw-app-bg); box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .08); }
.aw-phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Mac and Windows: a quiet dock or taskbar, generic line glyphs around Dayroom, which is running. */
.aw-dock, .aw-taskbar {
  left: calc((100% - var(--aw-over)) / 2); translate: -50% 0;
  display: flex; align-items: center; background: rgb(251 251 248 / .9);
  box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .12), inset 0 1px 0 #fff, 0 .8cqw 1.8cqw -1cqw rgb(28 33 29 / .26);
}
.aw-dock svg, .aw-taskbar svg {
  display: block; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round;
}
.aw-knob { fill: var(--paper-raised); }
.aw-dock { bottom: .6cqw; gap: .8cqw; padding: .65cqw .8cqw; border-radius: 1.75cqw; }
.aw-tile {
  position: relative; display: grid; place-items: center; width: 4.4cqw; aspect-ratio: 1; border-radius: 1.05cqw;
  background: linear-gradient(#fdfdfb, #f1f1ec); color: rgb(var(--ink-rgb) / .5);
  box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .11), 0 1px 1px rgb(28 33 29 / .05);
}
.aw-tile svg { width: 52%; height: 52%; }
.aw-tile-app { background: none; box-shadow: none; }
.aw-tile-app img { display: block; width: 100%; height: 100%; transform: scale(1.1); filter: drop-shadow(0 1px 1px rgb(28 33 29 / .12)); }
/* Running: a small dot under the icon, and its name above it, as the dock shows on hover. */
.aw-tile-app::after { content: ''; position: absolute; left: 50%; bottom: -.48cqw; width: max(3px, .34cqw); aspect-ratio: 1; border-radius: 50%; background: var(--ink-2); translate: -50% 0; }
.aw-tip {
  position: absolute; left: 50%; bottom: calc(100% + 1cqw); translate: -50% 0; z-index: 1;
  padding: .3em .7em .34em; border-radius: 6px; white-space: nowrap;
  font: 520 clamp(10px, 1.2cqw, 12.5px)/1.2 var(--f-text); letter-spacing: .01em; color: var(--ink);
  background: rgb(251 251 248 / .97); box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .12), 0 3px 8px -3px rgb(28 33 29 / .25);
}
.aw-taskbar { bottom: .9cqw; gap: .5cqw; padding: .45cqw .7cqw; border-radius: 8px; }
.aw-tb {
  position: relative; display: flex; align-items: center; gap: .7cqw; height: 3.6cqw; padding: 0 .9cqw; border-radius: 5px;
  color: rgb(var(--ink-rgb) / .55);
}
.aw-tb svg { width: 2cqw; height: 2cqw; }
.aw-tb-app { padding: 0 1.1cqw 0 .8cqw; background: rgb(var(--ink-rgb) / .055); box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .05); }
.aw-tb-app img { display: block; width: 2.5cqw; height: 2.5cqw; transform: scale(1.12); }
.aw-tb-name { font: 480 clamp(10px, 1.25cqw, 13px)/1 var(--f-text); color: var(--ink); letter-spacing: .01em; white-space: nowrap; }
.aw-tb-app::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 2.2cqw; height: max(2px, .24cqw); border-radius: 1cqw; background: var(--forest-2); translate: -50% 0; }

/* ---------- Opening story (once, when the window comes into view) ----------
   The window settles in; in the browser the address types itself, the page loads,
   and the phone follows. section.js adds .is-armed, then swaps it for .is-intro. */
.aw.is-armed .aw-win, .aw.is-armed .aw-foot-art.is-on { opacity: 0; }
.aw.is-intro .aw-win { animation: aw-rise .7s var(--ease-out) both; }
.aw.is-intro .aw-foot-art.is-on { animation: aw-foot-in .62s var(--ease-out) .45s both; }
.aw.is-intro .aw-shot.is-on { animation: aw-shot-in .5s var(--ease-out) .3s both; }
/* Browser: the address types (~.4s), a thin load line runs, the page arrives, then the phone. */
.aw.is-intro [data-platform="browser"] .aw-url-text { animation: aw-type .4s steps(18, end) .18s both, aw-caret .9s linear .1s both; }
.aw.is-intro [data-platform="browser"] .aw-load { animation: aw-load .55s var(--ease-out) .5s both; }
.aw.is-intro [data-platform="browser"] .aw-shot.is-on { animation-delay: .74s; }
.aw.is-intro [data-platform="browser"] .aw-phone.is-on { animation-delay: 1.02s; }

@keyframes aw-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes aw-foot-in { from { opacity: 0; transform: translateY(2.4cqw); } }
@keyframes aw-shot-in { from { opacity: 0; transform: scale(1.008); } }
@keyframes aw-type { from { width: 0; } }
@keyframes aw-caret { 0%, 90% { border-right-color: currentColor; } 100% { border-right-color: transparent; } }
@keyframes aw-load { 0% { opacity: 1; transform: scaleX(0); } 75% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }

/* ---------- Responsive ---------- */
/* Laptops: a tighter gutter gives the window, and the app's text, more room. */
@media (max-width: 1439px) { .aw { --aw-gap: 32px; --aw-edge: 24px; } }
/* Narrower desktops and tablets: the window takes the full width, the rows sit beneath it. */
@media (max-width: 1279px) {
  .aw-body { grid-template-columns: minmax(0, 1fr); margin-right: 0; row-gap: 40px; margin-top: 44px; }
  .aw-stage { grid-column: 1; grid-row: 1; }
  .aw-side {
    grid-column: 1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr; column-gap: 48px; align-items: start;
  }
  .aw-label { grid-column: 1; grid-row: 1; }
  .aw-rows { grid-column: 1; grid-row: 2; }
  .aw-note { grid-column: 1; grid-row: 3; }
  .aw-panels { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; padding-top: 25px; }
}
@media (max-width: 699px) {
  .aw-side { display: block; }
  .aw-panels { padding-top: 0; margin-top: 18px; }
}
@media (max-width: 767px) {
  .aw { --aw-bar: 34px; }
  .aw-sub { margin-top: 14px; }
  .aw-bar-layer { gap: 10px; padding: 0 10px; }
  .aw-navs { display: none; }
  .aw-bar-browser::after { width: 20px; }
  .aw-url { flex-basis: 64%; height: 22px; padding: 0 10px; font-size: 11.5px; }
  .aw-caps { width: 96px; }
}
/* Phones: 4:5 crops at close to the app's own size (art/app/*-crop-*.webp): the phone layout's office,
   the #launch messages and two Works columns. The phone mock steps aside. */
@media (max-width: 600px) {
  .aw-body { margin-top: 36px; row-gap: 28px; }
  .aw-stage { --aw-over: 0px; padding-bottom: 0; }
  .aw-stage::before { display: none; }
  .aw-screen { aspect-ratio: 4 / 5; }
  .aw-foot-art { display: none; }
  .aw-win { border-radius: 12px; }
  .aw-stage[data-platform="windows"] .aw-win { border-radius: 8px; }
  .aw-lights i { width: 10px; height: 10px; }
  .aw-dots i { width: 8px; height: 8px; }
  .aw-row { min-height: 60px; }
  .aw-row-meta { font-size: 12px; }
}
@media (max-width: 359px) {
  .aw-row { gap: 10px; padding-left: 8px; padding-right: 8px; }
  .aw-row-top { flex-wrap: wrap; column-gap: 8px; row-gap: 0; }
  .aw-row-meta { margin-left: 0; white-space: normal; }
  .aw-url { flex-basis: 70%; }
  .aw-bar-browser::after { display: none; }
}

/* Forced colours drop the selection pill's fill; keep the chosen row outlined. */
@media (forced-colors: active) {
  .aw-hl { display: none; }
  .aw-row[aria-selected="true"] { outline: 2px solid CanvasText; outline-offset: -2px; }
}

@media (prefers-reduced-motion: reduce) {
  .aw *, .aw *::before, .aw *::after { animation: none !important; transition: none !important; }
  .aw.is-armed .aw-win, .aw.is-armed .aw-foot-art.is-on { opacity: 1; }
}

/* sections/70-yourself */
/* 70 — Make a little you: a fitting room (up close, its own grid) beside a window on the park
   (office size, the meadow's grid), then "A Dayroom for every ___" with that team's sidebar. */
#yourself.ys { padding: 120px 0 128px; overflow-x: clip; }
#yourself .ys-head { display: grid; justify-items: center; text-align: center; gap: 14px; }
#yourself .ys-head .lede { max-width: 520px; }
#yourself .ys-head .title { max-width: 640px; }

/* ---------- Two views of you, each on its own pixel grid ---------- */
#yourself .ys-views { --k: 8; display: flex; justify-content: center; gap: 12px; margin-top: 44px; }
#yourself .ys-mirror { position: relative; flex: none; }
#yourself .ys-room {
  display: block; width: calc(var(--k) * 36px); height: calc(var(--k) * 38px); max-width: none;
  border-radius: 10px; image-rendering: pixelated; image-rendering: crisp-edges; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06);
}
#yourself .ys-turntable { position: absolute; inset: 10px; border-radius: 10px; cursor: grab; touch-action: pan-y; }
#yourself .ys-turntable:active { cursor: grabbing; }
#yourself .ys-turntable:focus-visible { outline: 2px solid rgb(var(--ink-rgb) / .7); outline-offset: 3px; }
#yourself .ys-park { flex: 1 1 0; min-width: 0; max-width: 760px; }
#yourself .ys-field {
  position: relative; height: calc(var(--k) * 38px); overflow: hidden; border-radius: 10px; background: #dceef6;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
#yourself .ys-layer { position: absolute; left: 0; top: 0; max-width: none; image-rendering: pixelated; image-rendering: crisp-edges; pointer-events: none; }
#yourself .ys-front { z-index: 1; }
/* Your name card, as in the office: text stays out of the pixels. */
#yourself .ys-you {
  position: absolute; z-index: 2; left: 0; top: 0; display: none; align-items: center; gap: 5px; height: 20px; padding: 0 7px 0 6px;
  border-radius: 6px; background: rgb(255 255 255 / .9); box-shadow: 0 0 0 .75px rgb(0 0 0 / .1), 0 2px 6px rgb(18 42 36 / .16);
  font: 540 11px/1 var(--f-text); letter-spacing: .02em; color: var(--ink-solid); transform: translate(-50%, -100%); pointer-events: none; white-space: nowrap;
}
#yourself .ys-you.is-placed { display: inline-flex; }
#yourself .ys-you i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 2px rgb(155 225 93 / .2); }

/* ---------- Dock: controls, status label, carry link ---------- */
#yourself .ys-dock { display: grid; justify-items: center; gap: 14px; margin-top: 22px; }
#yourself .ys-controls {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  padding: 6px; border-radius: 14px; background: rgb(255 255 255 / .62);
  box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .08), inset 0 1px 0 #fff, 0 6px 18px rgb(31 58 44 / .07);
}
#yourself .ys-turn { --h: 44px; width: 44px; padding: 0; }
#yourself .ys-turn svg { width: 16px; height: 16px; }
#yourself .ys-surprise { --h: 44px; padding: 0 18px 0 14px; }
#yourself .ys-die { width: 16px; height: 16px; transition: transform .4s var(--ease-spring); }
#yourself .ys-surprise:hover .ys-die { transform: rotate(-12deg); }
#yourself .ys-surprise.is-rolling .ys-die { transform: rotate(180deg); }
#yourself .ys-surprise[aria-busy="true"] { cursor: progress; }
#yourself .ys-body {
  display: inline-flex; height: 44px; padding: 3px; gap: 2px; border-radius: 10px; margin-left: 4px;
  background: var(--paper-sunk); box-shadow: inset 0 1px 2px rgb(0 0 0 / .06);
}
#yourself .ys-body button {
  min-width: 64px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent;
  font: 500 14px/1 var(--f-text); color: var(--ink-2); transition: background-color .16s var(--ease-out), color .16s, box-shadow .16s;
}
#yourself .ys-body button[aria-checked="true"] { background: #fff; color: var(--ink-solid); box-shadow: 0 0 0 .5px rgb(0 0 0 / .1), 0 1px 2px rgb(0 0 0 / .08); }
#yourself .ys-body button:hover:not([aria-checked="true"]) { color: var(--ink); }
#yourself .ys-status {
  min-height: 1.5em; max-width: 640px; text-align: center;
  font: 400 12px/1.5 var(--f-mono); letter-spacing: .02em; color: var(--ink-3); text-wrap: balance;
}
#yourself .ys-carry {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px;
  font: 500 15px/1 var(--f-text); color: var(--forest-2);
  text-decoration: underline; text-decoration-color: rgb(46 88 67 / .3); text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: color .16s, text-decoration-color .16s;
}
#yourself .ys-carry:hover { color: var(--forest); text-decoration-color: rgb(46 88 67 / .7); }
#yourself .ys-carry .arrow { transition: transform .2s var(--ease-out); }
#yourself .ys-carry:hover .arrow { transform: translateX(3px); }

@media (max-width: 999px) {
  #yourself .ys-views { --k: 7; }
}
@media (max-width: 767px) {
  #yourself.ys { padding: 96px 0 96px; }
  #yourself .ys-views { --k: 6; flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; }
  #yourself .ys-park { width: 100%; max-width: 480px; flex: none; }
  #yourself .ys-field { height: 216px; }
  #yourself .ys-body { margin-left: 0; }
}
@media (max-width: 400px) {
  #yourself .ys-controls { gap: 6px; padding: 5px; }
  #yourself .ys-surprise { padding: 0 14px 0 12px; }
  #yourself .ys-body button { min-width: 58px; }
}

/* sections/80-faq */
/* FAQ: a sticky intro column (with a small garden vignette) beside native
   <details> that JS enhances with a grid-rows height animation. */
.faq .faq-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: start; }
.faq .faq-side { position: sticky; top: calc(var(--header-h) + 40px); min-width: 0; }
.faq .faq-title { margin-top: 14px; }
/* The faint half of the headline at a contrast that clears 3:1 for large text. */
.faq .faq-title .dim { color: rgb(var(--ink-rgb) / .52); }

.faq .faq-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 22px 0 0 -8px; }
.faq .faq-links a {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  font: 460 15px/1.4 var(--f-text); letter-spacing: .01em; color: var(--ink-2); transition: color .2s var(--ease-out);
}
.faq .faq-links a::before {
  content: ""; position: absolute; inset: 9px 0; z-index: -1; border-radius: var(--r-chip);
  background: rgb(231 231 225 / .85); opacity: 0; transition: opacity .2s var(--ease-out);
}
.faq .faq-links a::after { content: "→"; margin-left: 6px; font-size: 13px; opacity: .5; transition: transform .2s var(--ease-out), opacity .2s; }
@media (hover: hover) and (pointer: fine) {
  .faq .faq-links a:hover { color: var(--ink-solid); }
  .faq .faq-links a:hover::before { opacity: 1; }
  .faq .faq-links a:hover::after { transform: translateX(2px); opacity: .9; }
}

.faq .faq-scene { margin-top: 28px; padding: 8px; width: fit-content; max-width: 100%; }
.faq .faq-well {
  position: relative; overflow: hidden; border-radius: 10px; background: #dfeef6;
  box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .08), 1px 2px 2px #fff;
}
.faq .faq-canvas { display: block; width: 320px; height: 128px; max-width: none; image-rendering: pixelated; }

/* Questions */
.faq .faq-list { border-top: 1px solid var(--line-2); min-width: 0; }
.faq .faq-item { border-bottom: 1px solid var(--line-2); }
.faq .faq-q {
  display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 18px 4px 18px 0; cursor: pointer; list-style: none;
  font: 480 18px/1.35 var(--f-text); letter-spacing: -.003em; color: var(--ink); border-radius: 6px;
  -webkit-user-select: none; user-select: none;
}
.faq .faq-q::-webkit-details-marker { display: none; }
.faq .faq-q::marker { content: ""; }
.faq .faq-num { flex: none; width: 22px; font: 400 11px/1 var(--f-mono); color: var(--ink-3); transform: translateY(1px); }
.faq .faq-q-text { flex: 1; min-width: 0; text-wrap: pretty; transition: color .2s var(--ease-out); }
.faq .faq-icon {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-btn);
  color: var(--ink-2); background: var(--paper-raised);
  box-shadow: 0 0 0 .75px rgb(var(--ink-rgb) / .13), 0 1px 2px rgb(0 0 0 / .06), inset 0 1px #fff;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s;
}
.faq .faq-icon svg { transition: transform .5s var(--ease-spring); }
.faq .faq-item[data-open] .faq-icon svg, .faq:not(.is-enhanced) .faq-item[open] .faq-icon svg { transform: rotate(135deg); }
.faq .faq-item[data-open] .faq-icon { color: var(--ink-solid); }
.faq .faq-q:active .faq-icon { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .faq .faq-q:hover .faq-q-text { color: var(--ink-solid); }
  .faq .faq-q:hover .faq-icon { background: #fff; color: var(--ink-solid); box-shadow: 0 0 0 .75px rgb(var(--ink-rgb) / .2), 0 2px 4px rgb(0 0 0 / .07), inset 0 1px #fff; }
}

.faq .faq-a { display: grid; grid-template-rows: 1fr; }
.faq .faq-a-in { min-height: 0; overflow: hidden; }
.faq .faq-a p { max-width: 620px; padding: 0 56px 26px 38px; font: 440 16px/1.6 var(--f-text); color: var(--ink-2); }
.faq .faq-a a { color: var(--ink); text-decoration: underline; text-decoration-color: rgb(var(--ink-rgb) / .3); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.faq .faq-a a:hover { text-decoration-color: currentColor; }
.faq.is-enhanced .faq-a { grid-template-rows: 0fr; transition: grid-template-rows .44s var(--ease-drawer); }
.faq.is-enhanced .faq-item[data-open] .faq-a { grid-template-rows: 1fr; }
.faq.is-enhanced .faq-a p { opacity: 0; transform: translateY(-6px); transition: opacity .18s var(--ease-out), transform .3s var(--ease-out); }
.faq.is-enhanced .faq-item[data-open] .faq-a p { opacity: 1; transform: none; transition: opacity .32s var(--ease-out) .08s, transform .44s var(--ease-drawer) .04s; }

@media (max-width: 999px) {
  .faq .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq .faq-side { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; }
  .faq .faq-side > :not(.faq-scene) { grid-column: 1; }
  .faq .faq-scene { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: end; }
}
@media (max-width: 767px) {
  .faq .faq-side { display: block; }
  .faq .faq-scene { margin-top: 24px; width: 100%; }
  .faq .faq-well { display: flex; justify-content: center; }
  .faq .faq-q { font-size: 17px; min-height: 64px; gap: 12px; }
  .faq .faq-a p { padding: 0 8px 22px 34px; }
}
@media (max-width: 380px) {
  .faq .faq-num { display: none; }
  .faq .faq-a p { padding-left: 0; }
}

/* sections/90-footer */
/* Footer: the finale on paper. The closing line and the links up top; below
   them, your spot in the park: your status, in a card of liquid glass floating
   over a living pixel meadow (core/30-park.js, preset footer-grass), its tail
   reaching down to your own character, who acts out the status you pick. */
.foot {
  /* Dayroom's presence colours, as the app paints them (client-source window.css --st-*). */
  --st-available: #3DAA6D; --st-working: #E3A33B; --st-dnd: #E05A4F; --st-away: #A3ABA6;
  --foot-quiet: rgb(var(--ink-rgb) / .64);
  position: relative; isolation: isolate; overflow: clip;
  padding-top: 104px; background: var(--paper);
}

/* ---- Closing line and links ------------------------------------------- */
.foot .foot-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 64px; align-items: start; }
.foot .foot-head { min-width: 0; }
.foot .foot-title { font-size: 42px; line-height: 1.12; }
.foot .foot-title .dim { color: rgb(var(--ink-rgb) / .52); }
.foot .foot-line { display: block; }
.foot .foot-cta { margin-top: 28px; }

/* One chip glides between links (JS); without script each link draws its own chip. */
.foot .foot-nav {
  position: relative; isolation: isolate; justify-self: end; align-self: start;
  display: flex; flex-wrap: wrap; column-gap: 72px; row-gap: 32px; max-width: 100%; padding-top: 8px;
}
.foot .foot-col { min-width: 0; }
.foot .foot-col-title {
  margin: 0 0 14px; font: 400 11px/1.4 var(--f-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--foot-quiet);
}
.foot .foot-list { display: grid; gap: 2px; justify-items: start; }
.foot .foot-link {
  position: relative; display: inline-flex; align-items: center; min-height: 30px;
  font: 460 15px/1.4 var(--f-text); letter-spacing: .01em; color: var(--ink-2);
  transition: color .18s var(--ease-out);
}
.foot .foot-link::before {
  content: ""; position: absolute; inset: 2px -6px; z-index: -1; border-radius: var(--r-chip);
  background: rgb(231 231 225 / .9); box-shadow: inset 0 0 0 .5px rgb(var(--ink-rgb) / .06);
  opacity: 0; transition: opacity .18s var(--ease-out);
}
.foot .foot-link:focus-visible { outline: none; }
.foot .foot-link:focus-visible::before { opacity: 1; box-shadow: 0 0 0 2px rgb(var(--ink-rgb) / .8); }
.foot .foot-chip {
  position: absolute; left: 0; top: 0; z-index: -1; width: 0; height: 0; border-radius: var(--r-chip);
  background: rgb(231 231 225 / .9); box-shadow: inset 0 0 0 .5px rgb(var(--ink-rgb) / .06);
  opacity: 0; pointer-events: none;
  transition: transform .26s var(--ease-out), width .26s var(--ease-out), height .26s var(--ease-out), opacity .16s var(--ease-out);
}
.foot .foot-chip.is-on { opacity: 1; }
.foot .foot-chip.is-snap { transition: opacity .16s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .foot .foot-link:hover { color: var(--ink-solid); }
  .foot .foot-nav:not(.is-glide) .foot-link:hover::before { opacity: 1; }
}
.foot .foot-nav.is-glide .foot-link.is-chip { color: var(--ink-solid); }

/* ---- Your spot in the park --------------------------------------------- */
/* The glass card sits right above you, its tail pointing straight down at your
   head (the user, 2026-10-24: the card belongs on top of your character on
   desktop too). Script sets --tuck (how far the card's bottom edge reaches into
   the meadow) and slides the meadow so you stand under the card's centre.
   --meadow-h is 70 world rows at the hero's own pixel scale. */
.foot .foot-scene { position: relative; margin-top: 72px; }
.foot .foot-row {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; column-gap: 32px;
  margin-bottom: calc(-1 * var(--tuck, 0px));
}

/* ---- Your status, in liquid glass ----------------------------------------- */
/* The user, 2026-10-24: "The status should have this liquid glass feel". A pane
   of frosted glass over the meadow: the grass, flowers and passers-by show
   through it blurred and brightened; a thin bright rim that catches the light
   top-left, a brighter specular top edge, a sheen across the top third and a
   faint shade along the bottom; a soft green shadow on the grass. The tail is
   the same glass and reaches down to your character. This is the one place the
   page blurs (core's pixel finish holds everywhere else), and the presence dots
   inside stay crisp, stepped pixels. Script draws the outline (tail included);
   without it the card is a plain rounded pane of the same glass. */
.foot .foot-stage { grid-column: 2; width: 404px; max-width: 100%; }
.foot .fs {
  --fs-dot: var(--st-available);
  /* The glass tint thickens as the meadow darkens, so text keeps AA contrast at any hour. */
  --glass: rgb(255 255 255 / .34);
  --glass-hi: rgb(255 255 255 / .6);
  --glass-ink-2: rgb(var(--ink-rgb) / .88);
  --glass-ink-3: rgb(var(--ink-rgb) / .84);
  position: relative; padding: 8px 8px 6px; border-radius: 24px;
}
.foot .fs[data-glass="dusk"] { --glass: rgb(255 255 255 / .46); --glass-hi: rgb(255 255 255 / .66); }
.foot .fs[data-glass="night"] { --glass: rgb(250 252 250 / .56); --glass-hi: rgb(255 255 255 / .72); }
.foot .fs[data-status="focusing"] { --fs-dot: var(--st-working); }
.foot .fs[data-status="call"] { --fs-dot: var(--st-dnd); }
.foot .fs[data-status="off"] { --fs-dot: var(--st-away); }
.foot .fs-head, .foot .fs-set { position: relative; z-index: 3; }

.foot .fs-glass {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: 24px; background-color: var(--glass);
  background-image: linear-gradient(rgb(255 255 255 / .4), rgb(255 255 255 / .12) 20%, rgb(255 255 255 / 0) 46%);
  -webkit-backdrop-filter: blur(20px) saturate(1.6) brightness(1.05);
  backdrop-filter: blur(20px) saturate(1.6) brightness(1.05);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / .64), inset 0 1.5px 0 rgb(255 255 255 / .9), inset 0 -1px 0 rgb(23 58 36 / .1),
    0 1px 2px rgb(20 48 30 / .14), 0 18px 34px -14px rgb(22 70 38 / .34);
  transition: background-color .9s var(--ease-out);
}
/* Shaped by script: the outline (tail included) clips the glass; the SVG layers paint the light. */
.foot .fs-shade, .foot .fs-rim { position: absolute; left: 0; top: 0; display: none; max-width: none; overflow: visible; pointer-events: none; }
.foot .fs.is-shaped .fs-shade, .foot .fs.is-shaped .fs-rim { display: block; }
.foot .fs.is-shaped .fs-glass { inset: auto; border-radius: 0; background-image: none; box-shadow: none; }
.foot .fs-shade { z-index: 0; }
.foot .fs-rim { z-index: 2; }
.foot .fs-shade-soft { fill: rgb(22 72 40 / .3); }
.foot .fs-shade-touch { fill: rgb(20 48 30 / .17); }

/* Header: the app's own user panel (picture with a presence dot, name, status). */
.foot .fs-head { display: flex; align-items: center; gap: 12px; padding: 6px 8px 12px; }
.foot .fs-head::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 1px;
  background: rgb(var(--ink-rgb) / .08); box-shadow: 0 1px 0 rgb(255 255 255 / .6);
}
.foot .fs-face { position: relative; flex: none; width: 56px; height: 56px; }
.foot .fs-portrait {
  display: block; width: 56px; height: 56px; max-width: none; border-radius: 14px; image-rendering: pixelated;
  background: var(--paper-sunk); box-shadow: 0 1px 2px rgb(20 48 30 / .16), 0 4px 10px -4px rgb(20 48 30 / .22);
}
.foot .fs-face::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .7), inset 0 1px 0 1px rgb(255 255 255 / .35);
}
/* Presence: a stepped pixel dot in a white ring, its colour switched in one step. */
.foot .fs-dot {
  position: absolute; right: -4px; bottom: -4px; z-index: 1; width: 16px; height: 16px; background: #fff;
  clip-path: polygon(4px 0, 12px 0, 12px 2px, 14px 2px, 14px 4px, 16px 4px, 16px 12px, 14px 12px, 14px 14px, 12px 14px, 12px 16px, 4px 16px, 4px 14px, 2px 14px, 2px 12px, 0 12px, 0 4px, 2px 4px, 2px 2px, 4px 2px);
}
.foot .fs-dot::after {
  content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; background: var(--fs-dot);
  clip-path: polygon(2px 0, 10px 0, 10px 2px, 12px 2px, 12px 10px, 10px 10px, 10px 12px, 2px 12px, 2px 10px, 0 10px, 0 2px, 2px 2px);
}
.foot .fs-who { min-width: 0; flex: 1; }
.foot .fs-name { position: relative; display: flex; align-items: center; gap: 10px; min-height: 26px; font: 560 15px/1.3 var(--f-text); letter-spacing: .005em; color: var(--ink-solid); }
.foot .fs-line { display: flex; align-items: center; margin-top: 1px; font: 480 13px/1.4 var(--f-text); color: var(--glass-ink-3); }
/* "See you tomorrow.": a brighter drop of glass beside your name that pops in two 12fps frames. */
.foot .fs-say {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  visibility: hidden; transform-origin: 0 50%; pointer-events: none; white-space: nowrap;
  font: 500 13px/1 var(--f-text); letter-spacing: .005em; color: var(--ink-solid);
  background: rgb(255 255 255 / .78);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 .5px rgb(var(--ink-rgb) / .1), 0 1px 2px rgb(20 48 30 / .14), 0 6px 12px -6px rgb(20 48 30 / .3);
}
.foot .fs-say.is-up { visibility: visible; }

/* Options: native radios (arrow keys move between them), 44px pills, two by two,
   each led by a small pixel icon. The chosen pill is a brighter drop of glass.
   No status-coloured dots here: your portrait's corner dot is the card's one
   presence dot (the user, 2026-10-24: "i am noticing two green dots"). */
.foot .fs-set { min-width: 0; margin: 0; padding: 0; border: 0; }
.foot .fs-legend {
  float: left; width: 100%; padding: 12px 10px 7px;
  font: 400 11px/1.4 var(--f-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--glass-ink-3);
}
.foot .fs-opts { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.foot .fs-opt {
  position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr); align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px 0 12px; border-radius: 999px; cursor: pointer;
  font: 480 15px/1.3 var(--f-text); color: var(--glass-ink-2);
  transition: background-color .18s var(--ease-out), box-shadow .18s var(--ease-out), color .18s var(--ease-out);
}
.foot .fs-radio { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; border-radius: 999px; }
.foot .fs-ico { justify-self: center; width: 11px; height: 11px; color: var(--glass-ink-3); shape-rendering: crispEdges; }
.foot .fs-opt:has(.fs-radio:checked) {
  background-color: var(--glass-hi); color: var(--ink-solid);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 0 0 1px rgb(255 255 255 / .5), inset 0 -1px 0 rgb(23 58 36 / .06),
    0 1px 2px rgb(20 48 30 / .12), 0 6px 14px -8px rgb(20 48 30 / .3);
}
.foot .fs-opt:has(.fs-radio:checked) .fs-ico { color: var(--ink-2); }
.foot .fs-opt:has(.fs-radio:focus-visible) { outline: 2px solid rgb(var(--ink-rgb) / .82); outline-offset: 1px; }
/* High-contrast modes drop the glass, so the chosen option keeps an outline. */
@media (forced-colors: active) { .foot .fs-opt:has(.fs-radio:checked) { outline: 2px solid CanvasText; outline-offset: -2px; } }
@media (hover: hover) and (pointer: fine) {
  .foot .fs-opt:hover:not(:has(.fs-radio:checked)) { background-color: rgb(255 255 255 / .26); color: var(--ink); }
}
/* Without backdrop blur the glass would let busy grass through: use a near-solid pane instead. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .foot .fs, .foot .fs[data-glass] { --glass: rgb(251 251 248 / .96); --glass-hi: #fff; }
}
/* ---- The meadow -------------------------------------------------------- */
/* The engine draws the world at its own resolution (canvas = world window) and
   CSS scales it by the hero's exact integer device ratio, anchored bottom-left.
   Its top rows are the page's own paper, where heads and butterflies pass. */
.foot .foot-meadow {
  position: relative; overflow: hidden;
  height: calc(var(--meadow-h, 280px) + env(safe-area-inset-bottom, 0px));
}
.foot .foot-grass { position: absolute; left: 0; bottom: 0; display: block; max-width: none; image-rendering: pixelated; }
.foot .foot-meadow:not([data-painted]) .foot-grass { visibility: hidden; }
/* Until the engine paints (or without script): a stepped meadow in the page's grass palette. */
.foot .foot-meadow:not([data-painted])::before {
  content: ""; position: absolute; left: 0; right: 0; top: 24%; bottom: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 40' shape-rendering='crispEdges'%3E%3Cpath fill='%23a6d46e' d='M2 19h1v1h-1zM18 19h1v1h-1zM27 19h1v1h-1zM35 19h1v1h-1zM56 19h1v1h-1zM65 19h1v1h-1zM70 19h1v1h-1zM80 19h1v1h-1zM3 20h1v1h-1zM11 20h2v1h-2zM19 20h1v1h-1zM34 20h1v1h-1zM44 20h3v1h-3zM54 20h1v1h-1zM57 20h2v1h-2zM64 20h1v1h-1zM68 20h2v1h-2zM71 20h1v1h-1zM81 20h1v1h-1zM84 20h2v1h-2zM87 20h1v1h-1z'/%3E%3Cpath fill='%2372b34f' d='M2 21h1v1h-1zM18 21h1v1h-1zM27 21h1v1h-1zM35 21h1v1h-1zM56 21h1v1h-1zM65 21h1v1h-1zM70 21h1v1h-1zM80 21h1v1h-1zM1 22h3v1h-3zM11 22h3v1h-3zM17 22h3v1h-3zM26 22h3v1h-3zM34 22h3v1h-3zM44 22h5v1h-5zM54 22h5v1h-5zM63 22h4v1h-4zM68 22h5v1h-5zM79 22h3v1h-3zM83 22h5v1h-5z'/%3E%3C/svg%3E") 0 -40px / 176px 80px repeat-x,
    linear-gradient(transparent 4px, #93ca5f 4px 10px, #73ab4d 10px 34%, #5a944e 34% 69%, #1a3529 69% 74%, #3e6a40 74%);
}

/* ---- Narrower screens ---------------------------------------------------- */
@media (max-width: 1099px) { .foot .foot-nav { column-gap: 56px; } .foot .foot-inner { column-gap: 48px; } }
@media (max-width: 899px) {
  .foot .foot-nav { column-gap: 40px; }
  .foot .foot-title { font-size: 36px; }
  .foot .foot-stage { width: 384px; }
}
/* Phones: the closing line, the links, the small print, then your card just above the meadow. */
@media (max-width: 767px) {
  .foot { padding-top: 80px; }
  .foot .foot-inner { grid-template-columns: minmax(0, 1fr); }
  .foot .foot-title { font-size: 30px; line-height: 1.15; }
  .foot .foot-cta { margin-top: 24px; }
  .foot .foot-nav {
    justify-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px;
    width: 100%; margin-top: 52px; padding-top: 0;
  }
  .foot .foot-col-product { grid-row: span 2; }
  .foot .foot-scene { margin-top: 44px; }
  .foot .foot-row { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .foot .foot-stage { grid-column: 1; justify-self: center; width: 100%; max-width: 420px; }
}
@media (max-width: 419px) {
  .foot .fs-opt { padding: 0 8px 0 12px; }
  .foot .fs-head { gap: 10px; padding-inline: 6px; }
}
@media (pointer: coarse) {
  .foot .foot-link { min-height: 44px; }
  .foot .foot-list { gap: 0; }
}
