/* Brim guides. The canvas approved on 2026-12-04 (GUIDES.PLAN.md): ink on cream, one deep
   green, the blue of the cues used only for "look here" and "press here". */

:root {
  --ground: #fbf7ef;
  --paper: #ffffff;
  --sunk: #f5f3ec;
  --ink: #13241f;
  --ink-soft: #2b3b35;
  --ink-muted: #56625c;
  --line: #ece5d7;
  --line-2: #f1ebdf;
  --key-line: #cfc8b8;
  --green: #0f4a3a;
  --green-2: #17604b;
  --green-tint: #e3efe8;
  --on-green: #fbf7ef;
  --on-green-soft: #bfd0c8;
  --lime: #b8dc6a;
  --cue: #2f6fd0;
  --cue-halo: rgba(47, 111, 208, 0.18);
  --slate: #3f5a6b;
  --new-bg: #eef6d8;
  --new-ink: #3e5c10;
  --new-dot: #5e8a1b;
  --note-bg: #e8f0f6;
  --note-bar: #2e5b7a;
  --msg-bg: #fbe3dc;
  --msg-ink: #9b2c1a;
  --frame: #1c2321;
  --frame-edge: #2e3734;
  --shadow: 0 16px 32px -24px rgba(19, 36, 31, 0.5);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --ground: #0f1513;
    --paper: #17201d;
    --sunk: #1d2724;
    --ink: #ece7dd;
    --ink-soft: #cdc8be;
    --ink-muted: #a2a59d;
    --line: #2a3531;
    --line-2: #25302c;
    --key-line: #4a5550;
    --green: #8fd0b0;
    --green-2: #17604b;
    --green-tint: #1c3a31;
    --on-green: #fbf7ef;
    --on-green-soft: #bfd0c8;
    --cue: #6a9cec;
    --cue-halo: rgba(106, 156, 236, 0.22);
    --slate: #4d6c80;
    --new-bg: #26331a;
    --new-ink: #c5e48a;
    --new-dot: #9ccc52;
    --note-bg: #1b2a35;
    --note-bar: #6c9cc0;
    --msg-bg: #3a1f19;
    --msg-ink: #f2a593;
    --frame: #0a0d0c;
    --frame-edge: #2e3734;
    --shadow: 0 16px 32px -24px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --ground: #0f1513;
  --paper: #17201d;
  --sunk: #1d2724;
  --ink: #ece7dd;
  --ink-soft: #cdc8be;
  --ink-muted: #a2a59d;
  --line: #2a3531;
  --line-2: #25302c;
  --key-line: #4a5550;
  --green: #8fd0b0;
  --green-2: #17604b;
  --green-tint: #1c3a31;
  --on-green: #fbf7ef;
  --on-green-soft: #bfd0c8;
  --cue: #6a9cec;
  --cue-halo: rgba(106, 156, 236, 0.22);
  --slate: #4d6c80;
  --new-bg: #26331a;
  --new-ink: #c5e48a;
  --new-dot: #9ccc52;
  --note-bg: #1b2a35;
  --note-bar: #6c9cc0;
  --msg-bg: #3a1f19;
  --msg-ink: #f2a593;
  --frame: #0a0d0c;
  --frame-edge: #2e3734;
  --shadow: 0 16px 32px -24px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 500 16px/1.5 Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
a { color: var(--green); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cue); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 12px; border-radius: 8px; background: var(--paper); color: var(--ink); }
.skip:focus { top: 12px; }
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.ic { flex: none; }
.muted { color: var(--ink-muted); }

/* ── The green band ─────────────────────────────────────────────────────── */

.top { background: #0f4a3a; color: var(--on-green); }
.top-row { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--on-green); text-decoration: none; font-size: 17px; font-weight: 800; }
.logo svg { color: var(--on-green); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--on-green-soft); min-width: 0; }
.crumbs a { color: var(--on-green-soft); text-decoration: none; }
.crumbs a:hover { color: var(--on-green); text-decoration: underline; }
.crumbs .here { color: var(--on-green); font-weight: 700; }
.gs { display: flex; gap: 2px; padding: 4px; border-radius: 24px; background: rgba(251, 247, 239, 0.08); overflow-x: auto; max-width: 100%; }
.gs a, .gs span { height: 36px; padding: 0 14px; border-radius: 18px; display: inline-flex; align-items: center; white-space: nowrap; font-size: 15px; font-weight: 700; color: #dce8e2; text-decoration: none; }
.gs a:hover { background: rgba(251, 247, 239, 0.1); }
.gs .gs-on { background: #fbf7ef; color: #0f4a3a; font-weight: 800; }
.find { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px; border-radius: 10px; background: #17604b; color: #bfd0c8; margin-left: auto; min-width: min(300px, 100%); }
.find input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; color: #fbf7ef; font: 500 15px Manrope, system-ui, sans-serif; }
.find input::placeholder { color: #bfd0c8; }
.find kbd { background: rgba(251, 247, 239, 0.14); box-shadow: none; color: #dce8e2; }
.find:focus-within { box-shadow: 0 0 0 3px var(--lime); }

/* ── Marks: each looks like the thing it names (the cues board) ─────────── */

.m-btn, .m-btn-quiet { padding: 1px 9px; border-radius: 7px; background: #0f4a3a; color: #fff; font-weight: 700; white-space: nowrap; }
.m-tab { font-weight: 800; border-bottom: 3px solid var(--green); }
.m-item { padding: 1px 7px; border-radius: 6px; background: var(--paper); box-shadow: 0 0 0 1.5px var(--green); font-weight: 800; }
.m-field { padding: 1px 7px; border-radius: 6px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--key-line); font-weight: 700; }
.m-link { font-weight: 800; color: var(--green); text-decoration: underline; }
.m-nav { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; vertical-align: baseline; }
.m-nav-group { padding: 1px 7px; border-radius: 6px; background: var(--green-tint); color: var(--green); font-weight: 800; }
.m-nav-on { padding: 1px 8px; border-radius: 6px; background: #0f4a3a; color: #fff; font-weight: 700; box-shadow: inset 3px 0 0 var(--lime); }
.m-nav .sep { color: var(--ink-muted); font-weight: 700; }
kbd { min-width: 26px; height: 26px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--key-line), inset 0 -3px 0 var(--line); font: 800 14px Manrope, system-ui, sans-serif; color: var(--ink); vertical-align: 1px; }
q.said { quotes: '“' '”'; font-weight: 700; }
code { font: 600 0.92em ui-monospace, 'SF Mono', Menlo, monospace; padding: 1px 5px; border-radius: 5px; background: var(--sunk); }
.xref { font-weight: 800; text-decoration: none; }
.xref:hover { text-decoration: underline; }
.xref.planned:hover { text-decoration: none; }
.xn { font-variant-numeric: tabular-nums; margin-right: 8px; color: var(--ink-muted); font-weight: 700; }
.xref .xn { color: inherit; }
.msg { display: inline-flex; gap: 8px; align-items: flex-start; padding: 8px 12px; border-radius: 10px; background: var(--msg-bg); color: var(--msg-ink); font-weight: 700; line-height: 1.4; }
.msg .ic { margin-top: 1px; }
.perm { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.perm .ic { color: var(--green); }

/* ── Cards ──────────────────────────────────────────────────────────────── */

.card { border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); padding: 20px 22px; min-width: 0; }
.card h2 { margin: 0; font-size: 20px; line-height: 26px; font-weight: 800; text-wrap: balance; }
.card p { margin: 10px 0 0; color: var(--ink-soft); }
.card ul { margin: 10px 0 0; padding: 0 0 0 18px; color: var(--ink-soft); }
.card li + li { margin-top: 6px; }

/* ── A task ─────────────────────────────────────────────────────────────── */

.task, .book, .search-page, .cues { padding-block: 28px 56px; }
.task-tag { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.task-tag .no { height: 30px; padding: 0 12px; border-radius: 8px; background: var(--slate); color: #fff; font-size: 15px; font-weight: 800; display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; }
.task-tag .kind { font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.task-tag .new { height: 26px; padding: 0 10px; border-radius: 13px; background: var(--new-bg); color: var(--new-ink); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; }
h1 { margin: 12px 0 0; font-size: clamp(30px, 4vw, 40px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.purpose { margin: 6px 0 0; max-width: 760px; font-size: 19px; line-height: 28px; color: var(--ink-soft); }

.facts { margin: 22px 0 0; display: flex; flex-wrap: wrap; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.facts > div { flex: 1 1 250px; padding: 14px 20px; box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line); min-width: 0; }
.facts dt { font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.facts dd { margin: 6px 0 0; }
.facts .who { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 16px; }
.facts .note { margin: 2px 0 0 28px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.facts .where { font-size: 15px; }
.facts .ons { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.facts .on { display: inline-flex; align-items: center; gap: 6px; }

.before { margin-top: 20px; background: var(--note-bg); box-shadow: inset 4px 0 0 var(--note-bar); }

.play-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 28px 36px; align-items: flex-start; }
.steps { flex: 1 1 340px; min-width: 0; }
.steps h2 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 800; }
.steps ol { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.step { display: flex; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border: none; border-radius: 14px; cursor: pointer; font: inherit; color: var(--ink); background: transparent; transition: background 0.3s, box-shadow 0.3s; }
.step:hover { background: var(--sunk); }
.step[aria-current='step'] { background: var(--paper); box-shadow: 0 0 0 2px var(--green), var(--shadow); }
.no-player .step { cursor: default; }
.no-player .step[aria-current='step'] { background: transparent; box-shadow: none; }
.disc { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; background: var(--paper); color: var(--ink-soft); box-shadow: inset 0 0 0 2px var(--ink-muted); }
.disc .tick { display: none; color: var(--green); }
.step[aria-current='step'] .disc { background: #0f4a3a; color: #fff; box-shadow: none; }
.step.done .disc { background: var(--green-tint); box-shadow: none; }
.step.done .disc .n { display: none; }
.step.done .disc .tick { display: block; }
.step-text { flex: 1; min-width: 0; font-size: 16px; line-height: 26px; }
.step-more { display: block; margin-top: 6px; color: var(--ink-soft); }

.player { flex: 0 1 860px; min-width: 0; margin: 0; }
.devices { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: flex-end; }
.device { min-width: 0; }
.dev-computer { flex: 1 1 560px; max-width: 860px; }
.dev-computer .screen-wrap { position: relative; padding: 16px 18px 20px; border-radius: 22px 22px 8px 8px; background: var(--frame); box-shadow: inset 0 0 0 2px var(--frame-edge), 0 40px 60px -40px rgba(19, 36, 31, 0.6); }
.dev-computer .screen-wrap::before { content: ''; position: absolute; top: 6px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3a4542; }
.dev-computer .base { height: 14px; margin: 0 -3%; border-radius: 2px 2px 12px 12px; background: linear-gradient(#e7e9e8, #b9bebc); position: relative; }
.dev-computer .base::after { content: ''; position: absolute; top: 0; left: 50%; width: 96px; margin-left: -48px; height: 6px; border-radius: 0 0 7px 7px; background: #a2a8a6; }
.dev-phone { flex: 0 1 300px; }
.dev-phone .screen-wrap { padding: 8px; border-radius: 40px; background: #0e1211; box-shadow: inset 0 0 0 1.5px #3a4441, 0 22px 34px -20px rgba(11, 58, 46, 0.7); }
.dev-phone .screen { border-radius: 32px; }
.dev-station { flex: 1 1 520px; max-width: 760px; }
.dev-station .screen-wrap { padding: 22px; border-radius: 26px; background: #1c2321; box-shadow: inset 0 0 0 2px #2e3734; }
.dev-name { margin-top: 10px; text-align: center; font-size: 14px; font-weight: 800; color: var(--ink-muted); }
.screen { position: relative; overflow: hidden; border-radius: 3px; background: var(--sunk); width: 100%; max-width: 100%; }
.cam { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 1s cubic-bezier(0.45, 0, 0.2, 1); }
.cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s; }
.cam img.on { opacity: 1; }
.ring { position: absolute; border: 4px solid var(--cue); border-radius: 12px; box-shadow: 0 0 0 8px var(--cue-halo); pointer-events: none; transition: left 0.9s cubic-bezier(0.45, 0, 0.2, 1), top 0.9s cubic-bezier(0.45, 0, 0.2, 1), width 0.9s cubic-bezier(0.45, 0, 0.2, 1), height 0.9s cubic-bezier(0.45, 0, 0.2, 1); animation: ringIn 0.6s ease-out both; }
.ring-n { position: absolute; left: -20px; top: -20px; width: 36px; height: 36px; border-radius: 50%; background: var(--cue); border: 3px solid #fff; color: #fff; font: 800 17px Manrope, system-ui, sans-serif; display: flex; align-items: center; justify-content: center; }
.ripple { position: absolute; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(47, 111, 208, 0.45); pointer-events: none; animation: tap 3.4s ease-out both; }
.pointer { position: absolute; margin: -2px 0 0 -2px; pointer-events: none; transition: left 0.9s cubic-bezier(0.45, 0, 0.2, 1), top 0.9s cubic-bezier(0.45, 0, 0.2, 1); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); }
.dev-phone .pointer, .dev-station .pointer { display: none; }
@keyframes ringIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes tap { 0%, 26% { opacity: 0; transform: scale(0.2); } 32% { opacity: 0.9; transform: scale(0.35); } 62% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; transform: scale(1.5); } }

.controls { margin-top: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ctl { height: 44px; min-width: 44px; padding: 0 12px; border: none; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--key-line); color: var(--ink); font: 700 15px Manrope, system-ui, sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.ctl-main { min-width: 110px; background: #0f4a3a; color: #fff; box-shadow: none; }
.ctl-main .when-playing { display: none; }
.ctl-main[aria-pressed='true'] .when-playing { display: inline-flex; align-items: center; gap: 8px; }
.ctl-main[aria-pressed='true'] .when-paused { display: none; }
.ctl-main .when-paused { display: inline-flex; align-items: center; gap: 8px; }
.ticks { flex: 1 1 120px; display: flex; gap: 5px; min-width: 80px; }
.ticks span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); transition: background 0.3s; }
.ticks span.on { background: var(--green); }
.count { font-size: 14px; font-weight: 800; color: var(--ink-muted); font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }

.cards { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.cards .after { flex: 1 1 300px; transition: box-shadow 0.3s, background 0.3s; }
.cards .after.lit { background: var(--green-tint); box-shadow: 0 0 0 2px var(--green); }
.cards .wrong { flex: 2 1 520px; }
.cards .see { flex: 1 1 260px; }
.cards .see ul { list-style: none; padding: 0; }
.msgs { margin: 12px 0 0; display: flex; flex-direction: column; gap: 14px; }
.msgs dd { margin: 6px 0 0; color: var(--ink-soft); }
.msgs > div:target .msg { box-shadow: 0 0 0 3px var(--cue); }

/* ── A book ─────────────────────────────────────────────────────────────── */

.chapter { margin-top: 34px; }
.chapter h2 { margin: 0; font-size: 24px; line-height: 30px; font-weight: 800; display: flex; gap: 12px; align-items: baseline; }
.chapter .cn { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.chapter h3 { margin: 18px 0 0; font-size: 15px; font-weight: 800; color: var(--ink-muted); }
.task-list { list-style: none; margin: 8px 0 0; padding: 0; }
.task-list li { border-top: 1px solid var(--line-2); }
.task-list a, .task-list li.unwritten { display: flex; align-items: center; min-height: 46px; padding: 8px 0; text-decoration: none; color: var(--ink); font-weight: 700; }
.task-list a:hover { text-decoration: underline; }
.task-list li.unwritten { color: var(--ink-muted); font-weight: 600; }
.task-list .xn { width: 52px; flex: none; }

/* ── Home ───────────────────────────────────────────────────────────────── */

.hero { background: radial-gradient(ellipse 46% 78% at 80% 58%, #1b6a53 0%, rgba(27, 106, 83, 0) 72%), #0f4a3a; color: #fbf7ef; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 56px; align-items: center; padding-block: 28px 56px; }
@media (min-width: 1100px) { .hero-row { grid-template-columns: minmax(0, 1fr) 580px; } }
.edition { margin: 0; font-size: 15px; font-weight: 700; color: #bfd0c8; }
.hero h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.16; letter-spacing: -0.025em; }
.find.big { margin: 28px 0 0; max-width: 640px; height: 64px; padding: 0 16px 0 20px; border-radius: 16px; background: #fff; color: #56625c; box-shadow: 0 0 0 4px rgba(184, 220, 106, 0.5), 0 22px 44px -22px rgba(0, 0, 0, 0.6); }
.find.big input { color: #13241f; font-size: 18px; }
.find.big input::placeholder { color: #6b746f; }
.search-page .find.big { margin-top: 18px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.try { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; }
.try span { color: #bfd0c8; font-weight: 700; margin-right: 2px; }
.try a { min-height: 38px; padding: 6px 16px; display: inline-flex; align-items: center; border-radius: 19px; background: rgba(251, 247, 239, 0.1); box-shadow: inset 0 0 0 1px rgba(251, 247, 239, 0.18); color: #fbf7ef; text-decoration: none; font-weight: 700; }
.try a:hover { background: rgba(251, 247, 239, 0.18); }
.hero-shot { position: relative; margin: 0; max-width: 580px; width: 100%; justify-self: center; }
.hero-shot .device { max-width: 540px; margin: 0 auto; }
.hero-shot .ring { animation: ringPulse 2.4s ease-in-out infinite; }
@keyframes ringPulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(47, 111, 208, 0.2); } 50% { box-shadow: 0 0 0 22px rgba(47, 111, 208, 0.05); } }
.carry { display: block; position: absolute; left: -48px; bottom: 58px; width: 290px; padding: 16px 18px 18px; border-radius: 16px; background: #fff; color: #13241f; text-decoration: none; box-shadow: 0 0 0 1px rgba(19, 36, 31, 0.06), 0 28px 50px -22px rgba(0, 0, 0, 0.6); }
@media (max-width: 1240px) { .carry { position: static; width: auto; max-width: 420px; margin: 18px auto 0; } }
.carry-k { display: block; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #56625c; }
.carry-t { display: block; margin-top: 8px; font-size: 16px; line-height: 22px; font-weight: 800; }
.carry-t .xn { color: #0f4a3a; }
.carry-m { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; font-weight: 700; color: #56625c; }
.carry .ticks { margin-top: 8px; }
.carry .ticks span { background: #e4dccb; }
.carry .ticks span.on { background: #0f4a3a; }
.carry .ticks span.at { background: #2f6fd0; }
.carry:hover .carry-t span:last-child { text-decoration: underline; }

.home { padding-block: 44px 56px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 1100px) { .home-grid { grid-template-columns: minmax(0, 1fr) 400px; } }
.home-main { min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.home h2.big { margin: 0; font-size: 24px; line-height: 30px; font-weight: 800; letter-spacing: -0.01em; }
.sub { font-size: 15px; color: var(--ink-muted); margin-left: 12px; font-weight: 600; }
.for-screen { margin-bottom: 40px; }
.for-screen .task-list { max-width: 760px; }
.office-cards { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.office { border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow); padding: 22px 22px 8px; min-width: 0; }
.office-head { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.office-head:hover .ot { text-decoration: underline; }
.badge { width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; }
.ob { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.ob .start { height: 20px; padding: 0 8px; border-radius: 10px; background: var(--new-bg); color: var(--new-ink); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; }
.ot { display: block; font-size: 19px; line-height: 24px; font-weight: 800; }
.office p { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.office .task-list { margin-top: 12px; }
.office .task-list .xn { width: 44px; font-size: 14px; }
.office-grid { margin: 16px 0 0; padding: 0; list-style: none; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); overflow: hidden; }
.office-grid li { box-shadow: 0 -1px 0 var(--line-2), -1px 0 0 var(--line-2); }
.office-grid a { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; text-decoration: none; color: var(--ink); }
.office-grid a:hover .ot2 { text-decoration: underline; }
.office-grid .badge { width: 40px; height: 40px; border-radius: 11px; background: var(--sunk); color: var(--ink-soft); }
.ot2 { display: block; font-size: 15px; line-height: 20px; font-weight: 700; }
.home-aside { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.from { display: block; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--sunk); text-decoration: none; color: var(--ink); }
.from-k { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.from-t { display: block; margin-top: 4px; font-size: 15px; line-height: 21px; font-weight: 800; color: var(--green); }
.down { display: flex; justify-content: center; padding: 6px 0 0; color: var(--ink-muted); }
.new-card { background: var(--green-tint); box-shadow: none; }
.new-card h2 { color: var(--green); }
.new-card .task-list li { border-top-color: rgba(15, 74, 58, 0.14); }
.new-card .task-list a::before { content: ''; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--new-dot); margin-right: 12px; }
.find.small { margin-top: 14px; background: var(--ground); color: var(--ink-muted); box-shadow: inset 0 0 0 1.5px var(--key-line); min-width: 0; }
.find.small input { color: var(--ink); }
.find.small input::placeholder { color: var(--ink-muted); }

/* ── Search, cues ───────────────────────────────────────────────────────── */

.results-count { margin: 18px 0 0; font-weight: 700; color: var(--ink-muted); }
.results { list-style: none; margin: 12px 0 0; padding: 0; max-width: 860px; display: flex; flex-direction: column; gap: 12px; }
.results a { display: block; padding: 16px 18px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.results a:hover { box-shadow: 0 0 0 2px var(--green); }
.results .rt { display: block; font-size: 17px; font-weight: 800; }
.results .rs { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 15px; }
.results .msg { margin-top: 8px; font-size: 15px; }
.results mark { background: rgba(184, 220, 106, 0.45); color: inherit; border-radius: 3px; }
.cue-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.cue-dl { margin: 14px 0 0; display: grid; grid-template-columns: 96px 1fr; gap: 12px 14px; align-items: center; }
.cue-dl dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.cue-dl dd { margin: 0; }

.foot { padding-block: 26px 40px; color: var(--ink-muted); font-size: 14px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  .cam, .cam img, .ring, .pointer, .step, .ticks span { transition: none !important; }
  .ring, .hero-shot .ring { animation: none !important; }
  .ripple { display: none !important; }
}
@media (max-width: 719px) {
  .play-row { flex-direction: column-reverse; }
  .player { width: calc(100% + 32px); margin: 0 -16px; padding: 20px 16px; background: var(--green-tint); }
  .steps, .player { flex-basis: auto; }
  .find { margin-left: 0; width: 100%; }
  .home-page .top .find { display: none; }
  .sub { display: block; margin: 2px 0 0; }
  .gs { width: 100%; }
  .gs a, .gs span { flex: 1 0 auto; justify-content: center; padding: 0 9px; font-size: 14px; }
}

/* ── Home, the approved board's details ─────────────────────────────────── */

.find.big kbd { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 7px; background: #f4eee2; box-shadow: inset 0 -2px 0 #e3ddd0; font: 800 15px Manrope, system-ui, sans-serif; color: #2b3b35; display: inline-flex; align-items: center; justify-content: center; }
.oh { min-width: 0; }
.office .task-list a { gap: 12px; min-height: 46px; padding: 0; }
.office .task-list .tt { flex: 1; min-width: 0; font-size: 15px; }
.office .task-list a .ic { color: var(--ink-muted); }
.office .task-list a:hover { text-decoration: none; }
.office .task-list a:hover .tt { text-decoration: underline; }
.office-grid .ob { font-size: 12px; }
.saw p { margin: 4px 0 0; font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.saw .msg { display: flex; margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 21px; color: var(--msg-ink); }
.saw .msg .ic { flex: none; margin-top: 1px; }
.saw .todo { margin-top: 14px; }
.saw .todo b { color: var(--ink); }
.nh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.nh span { font-size: 13px; font-weight: 700; color: var(--green-2); }
.new-card .task-list a { padding: 11px 0; align-items: center; }
.nt { flex: 1; min-width: 0; }
.nt .tt { display: block; font-size: 15px; line-height: 20px; font-weight: 800; }
.ns { display: block; font-size: 13px; font-weight: 600; color: var(--green-2); }
.carry .ticks { display: flex; gap: 4px; }
.carry .ticks span { flex: 1; height: 6px; border-radius: 3px; }
.carry .ticks span.at { animation: segPulse 2.4s ease-in-out infinite; }
@keyframes segPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.hero-shot .pointer { animation: ptrNudge 2.4s ease-in-out infinite; }
@keyframes ptrNudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, -7px); } }
.hero-shot .screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 32%, rgba(255, 255, 255, 0) 32.2%); }
@media (prefers-reduced-motion: reduce) {
  .hero-shot .pointer, .carry .ticks span.at { animation: none !important; }
}
