/* whatudo story — the 2D product layer (dashboard → call room), HTML speech bubbles and the conversation rail.
   The layer is laid out at a fixed 1280×760 and transformed each frame (translate + scale) so it can grow out of
   the 3D wall screen and shrink back into it. Everything visible is set from `t` in ui.js; no CSS transitions
   drive state, so frame-by-frame rendering is deterministic. */
:root {
  --success: #4F9A7A; --success-soft: rgba(79,154,122,.16); --danger: #C9605F; --danger-soft: rgba(201,96,95,.16); --warn: #D9A441;
  --l-bg: #FAFAFA; --l-surface: #fff; --l-surface-2: #F2F2F2; --l-text: #171717; --l-muted: #666; --l-faint: #999; --l-line: #EAEAEA; --l-line-2: #D4D4D4;
}
html.render *, html.render *::before, html.render *::after { transition: none !important; animation-play-state: paused !important; animation-delay: calc(var(--t, 0) * -1s) !important; }

/* ---- dim the 3D while the product is up ---- */
.dim { position: fixed; inset: 0; z-index: 2; background: #000; opacity: 0; pointer-events: none; }

/* ---- the product layer ---- */
.product { position: fixed; left: 0; top: 0; width: 1280px; height: 760px; transform-origin: 0 0; z-index: 3; opacity: 0; pointer-events: none;
  border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px #262626, 0 40px 120px rgba(0,0,0,.85); color: var(--text); font: 13px/1.45 var(--sans); }
.product * { box-sizing: border-box; }
.product .chrome { height: 38px; display: grid; grid-template-columns: 72px minmax(0,1fr) 72px; align-items: center; gap: 12px; padding: 0 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.lights { display: inline-flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); border: 1px solid #3d3d3d; }
.urlbar { justify-self: center; display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 12px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.urlbar b { color: var(--text); font-weight: 500; }
.urlbar svg { width: 11px; height: 11px; color: var(--faint); }
.live { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); animation: pulse 1.6s infinite; }
.live.off i { background: var(--faint); box-shadow: none; animation: none; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
.pane { position: absolute; inset: 38px 0 0 0; }
.view { position: absolute; inset: 0; display: none; }
.view.on { display: block; }

/* ---- dashboard (Graphite, sidebar + main) ---- */
.dash { display: grid; grid-template-columns: 220px 1fr; height: 100%; background: var(--bg); }
.sidebar { background: var(--surface); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.sidebar .brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 12px; font-family: var(--display); font-size: 17px; }
.sidebar .brand svg { width: 16px; height: 16px; }
.sidebar .prod { display: flex; align-items: center; gap: 8px; margin: 0 4px 10px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; font-weight: 500; }
.sidebar .prod i { width: 14px; height: 14px; border-radius: 4px; background: var(--text); }
.sidebar .prod span { margin-left: auto; color: var(--faint); font-size: 11px; }
.sidebar .h { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 10px 10px 4px; }
.sidebar a { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 6px; color: var(--muted); font-size: 13px; }
.sidebar a svg { width: 14px; height: 14px; color: var(--faint); }
.sidebar a.on { background: var(--surface-2); color: var(--text); }
.sidebar a.on svg { color: var(--text); }
.sidebar .foot { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.sidebar .foot i { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 9.5px; font-weight: 600; color: var(--text); }
.main { padding: 22px 28px; min-width: 0; overflow: hidden; }
.main h2 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -.015em; }
.main .sub { color: var(--muted); margin: 3px 0 16px; }
.flow { display: flex; gap: 6px; margin: 0 0 20px; }
.flow span { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.flow span i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 10px; color: var(--success); }
.flow span.done { color: var(--text); border-color: var(--line-2); }
.flow span.done i { border-color: var(--success); background: var(--success-soft); }
.flow span.now { color: var(--text); border-color: var(--text); }
.flow span.dis { opacity: .45; }
.card { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 18px 20px; }
.card h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.card .hint { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; }
.field { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 12px; margin: 8px 0; font-size: 12.5px; color: var(--muted); }
.field .in { min-height: 32px; border: 1px solid var(--line-2); border-radius: 7px; padding: 6px 10px; color: var(--text); background: var(--bg); font-size: 13px; white-space: nowrap; overflow: hidden; display: flex; align-items: center; gap: 8px; }
.field .in.mono { font-family: var(--mono); font-size: 12px; }
.field .in.typing { border-color: var(--text); }
.field .in.typing::after { content: "▍"; color: var(--accent); }
.field .in .ok { margin-left: auto; color: var(--success); font-size: 12px; }
.field .in .ok::before { content: "✓ "; }
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.b { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 7px; border: 1px solid var(--line-2); color: var(--text); font-size: 13px; font-weight: 500; background: var(--surface); }
.b.ghost { color: var(--muted); }
.b.primary { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.b.pressed { transform: scale(.96); }
/* explore */
.explore { display: grid; grid-template-columns: 1fr 250px; gap: 14px; }
.win { border-radius: 10px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); position: relative; }
.win .chrome { height: 30px; grid-template-columns: 52px minmax(0,1fr) 52px; }
.win .chrome .lights i { width: 9px; height: 9px; }
.win .chrome .urlbar { height: 20px; font-size: 10px; }
.screen { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--l-bg); }
.hud { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 10px; align-items: center; background: rgba(0,0,0,.82); color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px 4px 6px; font-size: 12px; z-index: 30; }
.hud i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hud .mono { color: var(--muted); font-size: 11px; }
.log { list-style: none; margin: 0; padding: 12px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-family: var(--mono); font-size: 11px; color: var(--muted); display: flex; flex-direction: column; gap: 5px; height: 100%; overflow: hidden; }
.log .h { font-family: var(--sans); font-size: 12.5px; color: var(--text); font-weight: 600; margin-bottom: 4px; display: flex; justify-content: space-between; }
.log .h b { font-family: var(--mono); color: var(--accent); font-weight: 500; }
.log li { display: flex; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log li .t { color: var(--faint); flex: none; }
.log li b { color: var(--text); font-weight: 500; }
.log li .hid { color: var(--accent); }
/* features */
.feats { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.frow { display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.frow:last-child { border-bottom: 0; }
.frow .n { font-weight: 500; }
.frow .d { color: var(--muted); font-size: 12px; margin-top: 1px; }
.frow .tag { display: inline-block; margin-left: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.seg3 { display: inline-flex; border: 1px solid var(--line-2); border-radius: 7px; overflow: hidden; justify-self: end; }
.seg3 span { padding: 5px 10px; font-size: 11.5px; color: var(--muted); border-left: 1px solid var(--line-2); white-space: nowrap; }
.seg3 span:first-child { border-left: 0; }
.seg3 span.on { background: var(--surface-2); color: var(--text); }
.seg3 span.on.hide { color: var(--danger); }
/* brief */
.brief { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 14px 16px; }
.q .qq { font-weight: 600; margin-bottom: 8px; }
.q .a { min-height: 54px; border: 1px solid var(--line-2); border-radius: 7px; padding: 8px 10px; color: var(--text); background: var(--bg); font-size: 13px; }
.q .a.typing { border-color: var(--text); }
.q .a.typing::after { content: "▍"; color: var(--accent); }
.q .a .ai { color: var(--faint); }

/* ---- the call room (per design/pages/call.html) ---- */
.room { height: 100%; display: grid; grid-template-rows: 48px 1fr; background: var(--bg); }
.room-bar { display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.room-bar .brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 16px; }
.room-bar .brand svg { width: 14px; height: 14px; }
.room-bar .brand .sep { color: var(--faint); margin: 0 2px; }
.room-bar .brand .ctx { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); animation: pulse 1.6s infinite; }
.room-bar .timer { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.room-url { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.room-url b { color: var(--text); font-weight: 500; }
.room-bar .rb { height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.room-bar .rb.danger { color: var(--danger); border-color: rgba(201,96,95,.4); }
.call { display: grid; grid-template-columns: 1fr 336px; min-height: 0; }
.stage { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 20px; gap: 8px; min-width: 0; }
.stage .win { width: 100%; }
.stage .hintline { color: var(--faint); font-size: 12px; text-align: center; }
.stage .hintline b { color: var(--muted); font-weight: 500; }
.side { border-left: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; min-height: 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 12px 8px; }
.tile { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; pointer-events: none; }
.tile.speaking::after { box-shadow: inset 0 0 0 2px var(--text); }
.tile.agent { background: radial-gradient(110% 100% at 50% 42%, #1F1F1F 0%, #0C0C0C 65%, #080808 100%); }
.tile.you { background: repeating-linear-gradient(0deg, transparent 0 15px, rgba(255,255,255,.025) 15px 16px), repeating-linear-gradient(90deg, transparent 0 15px, rgba(255,255,255,.025) 15px 16px), var(--surface-2); }
.tile .who { position: absolute; left: 9px; right: 9px; bottom: 7px; display: flex; align-items: flex-end; justify-content: space-between; }
.tile .name { font-weight: 600; font-size: 11.5px; color: var(--text); }
.tile .state { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.tile.speaking .state { color: var(--text); }
.tile .state svg { width: 11px; height: 11px; }
.tile .corner { position: absolute; top: 7px; right: 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; color: var(--faint); }
.bars { display: inline-flex; gap: 2px; align-items: center; height: 10px; }
.bars i { width: 2.5px; height: 3px; border-radius: 2px; background: currentColor; animation: lvl 1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: -.3s; } .bars i:nth-child(3) { animation-delay: -.6s; } .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes lvl { 0%,100% { height: 3px } 50% { height: 10px } }
.orb { position: relative; width: 62px; height: 62px; display: grid; place-items: center; margin-top: -10px; }
.orb .halo { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(237,237,237,.5) 0%, rgba(237,237,237,0) 70%); filter: blur(6px); opacity: .35; transform: scale(.9); }
.tile.speaking .orb .halo { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scale(.9); opacity: .55 } 50% { transform: scale(1.35); opacity: 1 } }
.orb .disc { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; }
.orb .disc svg { width: 15px; height: 15px; }
.tile .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 600; margin-top: -10px; }
.now { padding: 0 12px 10px; }
.now .ncard { border: 1px solid var(--line); border-radius: 8px; background: var(--bg); padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.now .ntop { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); }
.now .step { font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.now .feat { font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.now .next { color: var(--muted); font-size: 11.5px; }
.now .next b { color: var(--text); font-weight: 500; }
.transcript { flex: 1; min-height: 0; overflow: hidden; padding: 4px 12px 8px; display: flex; flex-direction: column; gap: 7px; }
.tstamp { align-self: center; font-family: var(--mono); font-size: 10px; color: var(--faint); }
.turn { display: flex; flex-direction: column; gap: 4px; max-width: 92%; }
.turn.agent { align-self: flex-start; } .turn.user { align-self: flex-end; align-items: flex-end; }
.msg { padding: 7px 11px; border-radius: 10px; line-height: 1.4; font-size: 12.5px; }
.msg.agent { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.user { background: var(--text); color: var(--bg); border-bottom-right-radius: 4px; }
.msg.sys { align-self: center; color: var(--faint); font-size: 11px; padding: 0; }
.msg.streaming::after { content: "▍"; color: var(--accent); margin-left: 1px; }
.src { display: flex; gap: 4px; padding-left: 3px; }
.src span { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; line-height: 15px; white-space: nowrap; }
.src span svg { width: 9px; height: 9px; }
.composer { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.composer .in { flex: 1; min-width: 0; height: 34px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 7px; padding: 0 11px; display: flex; align-items: center; color: var(--text); font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.composer .in .ph { color: var(--faint); }
.composer .in.typing { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.composer .in.typing::after { content: "▍"; color: var(--accent); }
.composer .b { height: 34px; }
/* captions in the frame */
.cc { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0 auto; width: fit-content; max-width: 86%; padding: 8px 13px 9px; border-radius: 8px; background: rgba(0,0,0,.8); border: 1px solid rgba(255,255,255,.08); color: #fff; font-size: 14.5px; line-height: 1.35; font-weight: 500; z-index: 25; }
.cc b { color: #A1A1A1; font-weight: 600; margin-right: 8px; }
.cc .cur { display: inline-block; width: 2px; height: .95em; background: #fff; vertical-align: -.12em; margin-left: 2px; }
/* agent cursor inside a screen */
.cur { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 40; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }
.cur svg { display: block; position: absolute; left: -4px; top: -3px; width: 26px; height: 26px; }
.cur .rip { position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2.5px solid var(--accent); opacity: 0; }
.hl { position: absolute; border: 2px solid var(--accent); border-radius: 7px; box-shadow: 0 0 0 4px var(--accent-soft); pointer-events: none; z-index: 22; opacity: 0; }
/* end card inside the room */
.endc { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); z-index: 50; opacity: 0; }
.endc .card { width: 380px; text-align: center; padding: 24px 24px 20px; }
.endc h3 { font-family: var(--display); font-weight: 500; font-size: 20px; margin: 0 0 4px; }
.endc .hint { margin-bottom: 14px; }
.stars { display: flex; justify-content: center; gap: 6px; margin: 0 0 14px; }
.stars i { width: 26px; height: 26px; display: block; color: var(--line-2); }
.stars i.on { color: #E3B341; }
.stars i svg { width: 100%; height: 100%; }
.endc .nextstep { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; text-align: left; background: var(--bg); }
.endc .nextstep .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.endc .nextstep .v { font-weight: 500; }

/* ---- mock product (Relay), copied from site.css so the story is self-contained ---- */
.mock { position: absolute; inset: 0; width: 720px; height: 450px; transform: scale(var(--k, 1)); transform-origin: 0 0; background: var(--l-bg); color: var(--l-text); font-size: 12px; display: grid; grid-template-rows: 40px 1fr; color-scheme: light; font-family: var(--sans); }
.mock * { box-sizing: border-box; }
.mock a { color: inherit; text-decoration: none; }
.m-top { display: flex; align-items: center; gap: 22px; padding: 0 16px; background: var(--l-surface); border-bottom: 1px solid var(--l-line); }
.m-logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px; }
.m-logo i { width: 14px; height: 14px; border-radius: 4px; background: var(--l-text); }
.m-top nav { display: flex; gap: 2px; }
.m-top nav a { padding: 5px 9px; border-radius: 6px; color: var(--l-muted); }
.m-top nav a.on { color: var(--l-text); background: var(--l-surface-2); }
.m-avatar { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: var(--l-surface-2); border: 1px solid var(--l-line-2); display: grid; place-items: center; font-size: 10px; font-weight: 600; }
.m-body { display: grid; grid-template-columns: 172px 1fr; min-height: 0; }
.mock aside { border-right: 1px solid var(--l-line); background: var(--l-surface); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.m-h { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--l-faint); padding: 6px 8px 4px; font-weight: 600; }
.mock aside a { padding: 5px 8px; border-radius: 6px; color: var(--l-muted); }
.mock aside a.on { background: var(--l-surface-2); color: var(--l-text); font-weight: 500; }
.mock main { padding: 18px 22px; position: relative; min-width: 0; }
.m-head { display: flex; align-items: center; gap: 8px; position: relative; margin-bottom: 14px; }
.m-head h4 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.m-actions { margin-left: auto; display: flex; gap: 6px; }
.m-actions button { font: inherit; font-size: 11.5px; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--l-line-2); background: var(--l-surface); color: var(--l-text); }
.m-actions .m-more { padding: 4px 7px; letter-spacing: .1em; }
.m-menu { position: absolute; right: 0; top: 30px; width: 168px; background: var(--l-surface); border: 1px solid var(--l-line-2); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 4px; opacity: 0; transform: translateY(-4px) scale(.98); pointer-events: none; z-index: 5; }
.mock.menu-open .m-menu { opacity: 1; transform: none; }
.m-menu a { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-radius: 5px; color: var(--l-text); }
.m-sw { width: 24px; height: 14px; border-radius: 999px; background: var(--l-line-2); position: relative; }
.m-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.mock.recur-on .m-sw { background: var(--l-text); }
.mock.recur-on .m-sw::after { left: 12px; }
.mock table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.mock th { text-align: left; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--l-faint); padding: 6px 8px; border-bottom: 1px solid var(--l-line); font-weight: 600; }
.mock td { padding: 8px; border-bottom: 1px solid var(--l-line); color: var(--l-text); }
.mock td.m { color: var(--l-muted); }
.mock tr.rc td { background: #E5F0FD; }
.mock tr.rc td:first-child::after { content: "  ↻ recurring"; color: #0761D1; font-size: 10.5px; }
.pill { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 500; background: var(--l-surface-2); color: var(--l-muted); }
.pill.done { background: #E6F1EB; color: #2D7A55; } .pill.prog { background: #E5F0FD; color: #0761D1; } .pill.block { background: #F7E6E5; color: #B4403E; }
.m-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 240px; background: var(--l-surface); border-left: 1px solid var(--l-line); box-shadow: -10px 0 30px rgba(0,0,0,.08); padding: 18px; transform: translateX(100%); z-index: 6; }
.mock.panel-open .m-panel { transform: none; }
.m-panel h5 { margin: 0 0 12px; font-size: 13px; font-weight: 600; }
.m-panel label { display: block; font-size: 10.5px; color: var(--l-faint); text-transform: uppercase; letter-spacing: .05em; margin: 10px 0 4px; font-weight: 600; }
.m-panel .sel { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--l-line-2); border-radius: 6px; padding: 6px 8px; font-size: 11.5px; }
.m-panel .link { font-family: var(--mono); font-size: 10.5px; color: var(--l-muted); background: var(--l-surface-2); border-radius: 6px; padding: 7px 8px; margin-top: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-panel .pbtn { margin-top: 12px; display: inline-block; background: var(--l-text); color: #fff; border-radius: 6px; padding: 6px 10px; font-size: 11.5px; font-weight: 500; }
.m-reports { display: none; }
.mock.view-reports .m-table { display: none; } .mock.view-reports .m-reports { display: block; }
.m-reports .bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 12px 6px 0; border-bottom: 1px solid var(--l-line); }
.m-reports .bars i { flex: 1; background: var(--l-surface-2); border: 1px solid var(--l-line-2); border-bottom: 0; border-radius: 4px 4px 0 0; height: var(--h); animation: none; width: auto; }
.m-reports .bars i.hi { background: var(--l-text); border-color: var(--l-text); }
.bars-x { display: flex; gap: 10px; padding: 6px 6px 0; font-size: 10px; color: var(--l-faint); }
.bars-x span { flex: 1; text-align: center; }
[data-f] { position: relative; border-radius: 6px; }
[data-f].found { box-shadow: 0 0 0 2px var(--accent); }
[data-f].found::after { content: ""; position: absolute; right: -5px; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
/* the docs page nobody finishes reading (desk monitors in 3D show it; here for the explore start) */

/* ---- HTML speech bubbles over the 3D office ---- */
.bubs { position: fixed; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.bub { position: absolute; transform: translate(-50%, -100%); max-width: 260px; padding: 9px 14px; border-radius: 14px; background: #fff; color: #111; font: 600 16px/1.25 var(--sans); text-align: center; opacity: 0; box-shadow: 0 8px 30px rgba(0,0,0,.45); white-space: pre-line; }
.bub::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 16px; height: 16px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.bub .w { display: block; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #777; margin-bottom: 4px; }

/* ---- conversation rail ---- */
.convo { position: fixed; right: 22px; top: 84px; width: 300px; z-index: 4; display: flex; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; }
.convo .h { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.convo .ln { display: grid; gap: 2px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(10,10,10,.8); backdrop-filter: blur(10px); opacity: 0; transform: translateY(6px); }
.convo .ln .w { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.convo .ln .x { font-size: 14px; color: var(--text); line-height: 1.35; }
.convo .ln.vis .w { color: #C9A0A8; }
.convo .ln.fnd .w { color: #8FB4E8; }

/* ---- sound ---- */
.sound { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 500 12.5px/1 var(--sans); cursor: pointer; }
.sound svg { width: 14px; height: 14px; }
.sound.on { color: var(--text); border-color: var(--text); }
.sound .off-i { display: none; } .sound:not(.on) .on-i { display: none; } .sound:not(.on) .off-i { display: block; }
.startgate { position: fixed; inset: 0; z-index: 8; display: grid; place-items: center; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.startgate button { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--primary); color: var(--primary-fg); font: 500 16px/1 var(--sans); cursor: pointer; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.startgate button svg { width: 18px; height: 18px; }
.startgate .quiet { position: absolute; bottom: 92px; color: var(--muted); font-size: 13px; background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.startgate[hidden] { display: none; }
@media (max-width: 720px) { .convo { display: none; } }
