/* brief1016 2026-10-16 — its own stylesheet, loaded after style.css (public/index.html), so the weekly
   brief never collides with work on style.css. It builds only on the client skin's tokens. */
/* ── brief1016 2026-10-16: Research → This week (public/brief.js) ───────────────────────────
   Five numbered cards: it IS a sequence — the week's shoot list — so the numeral is the spine and
   turns into a filled azure disc when that video is filmed. The one bold element is the five-
   segment strip in the header; everything else is the client skin's quiet paper and ink. */
.br { display: grid; gap: var(--cs-4, 16px); max-width: 680px; }
.br-top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--cs-4, 16px); flex-wrap: wrap; }
.br-h { margin: 0; font-family: var(--display, var(--sans)); font-size: var(--ct-xl, 25px); line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.br-week { margin: 2px 0 0; color: var(--ink-3); font-size: var(--ct-sm, 13.5px); }
.br-lede { margin: 0; color: var(--ink-2); line-height: 1.5; max-width: 60ch; }
.br-progress { display: grid; justify-items: end; gap: 6px; }
.br-strip { display: grid; grid-template-columns: repeat(5, 28px); gap: 4px; }
.br-seg { display: block; height: 8px; border-radius: 4px; background: var(--rule-strong); }
.br-seg.is-done { background: var(--accent-strong, var(--accent)); }
.br-seg.is-skipped { background: repeating-linear-gradient(135deg, var(--rule-strong) 0 3px, transparent 3px 6px); }
.br-count { margin: 0; font-size: var(--ct-sm, 13.5px); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.br-count b { color: var(--ink); }
.br-list { display: grid; gap: var(--cs-3, 12px); counter-reset: none; }
.br-card { position: relative; display: grid; gap: var(--cs-2, 8px); padding: var(--cs-4, 16px) var(--cs-4, 16px) var(--cs-4, 16px) 60px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--cr-lg, 22px); box-shadow: var(--ce-1, none); }
.br-card.is-done { background: var(--paper-2); }
.br-card.is-skipped { opacity: .62; }
.br-card.is-swapping { opacity: .55; }
.br-head { display: contents; }
.br-n { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--rule-strong); color: var(--ink-2); font-family: var(--display, var(--sans)); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.br-card.is-done .br-n { background: var(--accent-strong, var(--accent)); border-color: transparent; color: #fff; }
.br-kind { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: var(--ct-xs, 12px); font-weight: 600; }
.br-kind::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.kind-question .br-kind::before { background: var(--accent); }
.kind-winner .br-kind::before { background: var(--st-ok); }
.br-title { margin: 0; font-family: var(--display, var(--sans)); font-size: var(--ct-lg, 20px); line-height: 1.2; color: var(--ink); text-wrap: balance; }
.br-card > *, .br > * { min-width: 0; }   /* the example strip scrolls inside the card, never widens it */
.br-card.is-done .br-title, .br-card.is-done .br-hook { color: var(--ink-2); }
.br-why { margin: 0; color: var(--ink-2); font-size: var(--ct-sm, 13.5px); line-height: 1.45; overflow-wrap: anywhere; }
.br-hook { margin: 2px 0 0; padding: 10px 12px; border-radius: var(--cr-sm, 12px); background: var(--accent-soft); color: var(--ink);
  font-size: var(--ct-md, 17px); line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.br-hook-l { display: block; margin-bottom: 2px; color: var(--accent-ink); font-size: var(--ct-xs, 12px); font-weight: 600; }
.br-acts { display: flex; flex-wrap: wrap; gap: var(--cs-2, 8px); align-items: center; margin-top: 4px; }
.br-acts .br-film { border-radius: var(--cr-pill, 999px); min-height: 44px; padding: 0 1.25rem; }
.br-ex-btn, .br-browse, .br-chk, .br-skip { min-height: 44px; padding: 0 1rem; border-radius: var(--cr-pill, 999px); border: 1px solid var(--rule-strong);
  background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; font-size: var(--ct-sm, 13.5px); cursor: pointer; }
.br-ex-btn:hover, .br-browse:hover, .br-chk:hover, .br-skip:hover { background: var(--wash); }
.br-ex-btn[aria-expanded="true"] { background: var(--wash); }
.br-chk.is-on { background: var(--accent-strong, var(--accent)); border-color: transparent; color: #fff; }
.br-skip.is-on { background: var(--wash); }
.br-ex { display: flex; gap: var(--cs-2, 8px); overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.br-ex-item { flex: 0 0 auto; width: min(200px, 62vw); margin: 0; scroll-snap-align: start; }
.br-ex-item iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: var(--cr-sm, 12px); background: #000; }
.br-ex-item figcaption { margin-top: 4px; color: var(--ink-3); font-size: var(--ct-xs, 12px); overflow-wrap: anywhere; }
.br-ex-open { color: var(--accent-ink); }
.br-script { border-top: 1px solid var(--rule); padding-top: 8px; }
.br-script summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--ct-sm, 13.5px); color: var(--ink); }
.br-words { color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.br-beats { margin: 6px 0 0; padding-left: 1.2rem; display: grid; gap: 6px; color: var(--ink); line-height: 1.45; }
.br-os { display: block; color: var(--ink-3); font-size: var(--ct-xs, 12px); }
.br-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cs-2, 8px); border-top: 1px solid var(--rule); padding-top: 10px; }
.br-ctl .br-swap { margin-left: auto; min-height: 44px; font-size: var(--ct-sm, 13.5px); }
.br-note { margin: 0; color: var(--ink-3); font-size: var(--ct-sm, 13.5px); }
.br-notes { margin: 0; padding-left: 1.1rem; color: var(--ink-3); font-size: var(--ct-sm, 13.5px); line-height: 1.5; }
.br-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--cs-3, 12px); }
/* r2 (client N2): the answer to Try again, written under the button; 14 px, plain ink, never only a toast. */
.br-retry-say { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2, var(--ink)); }
.br-retry-say.is-bad { color: var(--ink); font-weight: 600; }
.br-swaps { margin: 0; color: var(--ink-3); font-size: var(--ct-sm, 13.5px); }
.br-skel { display: grid; gap: 12px; }
.br-skel i { display: block; height: 132px; border-radius: var(--cr-lg, 22px); background: var(--wash); }
.br :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
:root[data-theme="dark"] .br-chk.is-on, :root[data-theme="dark"] .br-card.is-done .br-n { color: #04202e; }
:root[data-theme="dark"] .br-hook { background: rgba(19,151,212,.14); }
@media (max-width: 480px) {
  .br-card { padding-left: 16px; padding-top: 56px; }
  .br-n { top: 14px; }
  .br-kind { position: absolute; left: 56px; top: 21px; right: 16px; }
  .br-acts .br-film { flex: 1 1 100%; }
  .br-strip { grid-template-columns: repeat(5, 22px); }
}
/* Five faces in the Research control: a little tighter on a phone so "In the works" still fits. */
@media (max-width: 420px) {
  body.cl-research .cl-seg-btn { padding: 0 .25rem; font-size: 12.5px; }
}
