/* Admin › Access (stories): the coverage grid, the people list and the access matrix. Tokens only. */
.ac-page { gap: var(--sp-4); }
.ac-warn { color: var(--warn); }
.ac-grow { flex: 1; }
.ac-of { font-size: var(--fs-md); font-weight: 400; color: var(--muted); }
.ac-note { margin: 0; }
.ac-empty { padding: var(--sp-8) var(--sp-4); text-align: center; color: var(--muted); font-size: var(--fs-sm); }

/* people avatars: five stable colours */
.ac-av { width: 30px; height: 30px; border-radius: var(--r-full); display: inline-grid; place-items: center; font-size: var(--fs-2xs); font-weight: 600; flex: none; }
.ac-av--sm { width: 24px; height: 24px; }
.ac-av--0 { background: var(--info-soft); color: var(--info); }
.ac-av--1 { background: var(--success-soft); color: var(--success); }
.ac-av--2 { background: var(--ai-soft); color: var(--ai); }
.ac-av--3 { background: var(--warn-soft); color: var(--warn); }
.ac-av--4 { background: var(--brand-soft); color: var(--brand-text); }

/* the orange ticks of the design, only on this screen */
.ac-page .m-check input:checked, .ac-page .m-check input:indeterminate { background: var(--brand); border-color: var(--brand-hover); }
.ac-page .m-check input:checked::after { border-color: var(--on-brand); }
.ac-page .m-check input:indeterminate::after { background: var(--on-brand); }

/* toolbar + chips */
.ac-toolbar { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.ac-toolbar__label { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); margin-right: 2px; }
.ac-chip { display: inline-flex; align-items: center; gap: var(--sp-2); height: 34px; padding: 0 var(--sp-3) 0 4px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 var(--fs-sm)/1 var(--font-ui); cursor: pointer; }
.ac-chip:hover { border-color: var(--muted); }
.ac-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.ac-chip__name { font-weight: 600; }
.ac-chip__n { font-size: var(--fs-xs); font-weight: 400; color: var(--muted); }
.ac-chip.is-on .ac-chip__n { color: inherit; opacity: .8; }

/* the grid */
.ac-gridwrap { overflow-x: auto; }
.ac-grid { min-width: calc(336px + var(--cols) * 54px + 120px + 36px); }
.ac-row { display: grid; grid-template-columns: 336px repeat(var(--cols), 54px) 120px; align-items: center; padding: 8px 18px; border-bottom: 1px solid var(--line); }
.ac-row--head { background: var(--surface-2); position: sticky; top: 0; z-index: 2; font: 600 var(--fs-2xs)/1 var(--font-mono); color: var(--muted); letter-spacing: .04em; }
.ac-row.has-gap .ac-story { box-shadow: inset 3px 0 0 var(--warn); }
.ac-story { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; position: sticky; left: 0; z-index: 1; background: inherit; padding: 2px 12px 2px 0; }
.ac-row:not(.ac-row--head) .ac-story { background: var(--surface); }
.ac-row.has-gap .ac-story { padding-left: 12px; margin-left: -12px; }
.ac-row--head .ac-story { font: 600 var(--fs-xs)/1 var(--font-ui); background: var(--surface-2); }
.ac-thumb { width: 40px; height: 30px; border-radius: var(--r-xs); background: var(--surface-3); color: var(--ink-2); display: grid; place-items: center; font-size: var(--fs-xs); font-weight: 600; flex: none; }
.ac-story__main { min-width: 0; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.ac-story__title { font-size: var(--fs-md); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ac-story__name { display: flex; align-items: baseline; gap: 6px; min-width: 0; max-width: 100%; }
.ac-story__n { flex: none; font: 600 var(--fs-xs)/1 var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.ac-lang { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ac-lang.is-done { color: var(--success); }
.ac-lang__ok { font: 700 var(--fs-2xs)/1 var(--font-ui); }
.ac-sum { text-align: right; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.ac-row--head .ac-sum { font: 600 var(--fs-xs)/1 var(--font-ui); }
.ac-cellwrap { display: grid; place-items: center; }
.ac-cell { position: relative; width: 44px; height: 44px; border: 0; border-radius: var(--r-md); background: transparent; display: grid; place-items: center; cursor: pointer; }
.ac-cell:hover:not(:disabled) { background: var(--surface-3); }
.ac-cell:disabled { cursor: default; }
.ac-cell.is-picked { background: var(--brand-soft); box-shadow: 0 0 0 2px var(--brand); }
.ac-cell.is-dim { opacity: .22; }
.ac-none { color: var(--line-strong); font-size: var(--fs-md); }
.ac-gap { width: 30px; height: 30px; border-radius: var(--r-full); display: inline-grid; place-items: center; border: 1.5px dashed var(--warn); background: var(--warn-soft); color: var(--warn); font-size: var(--fs-lg); font-weight: 600; }
.ac-gap--sm { width: 20px; height: 20px; font-size: var(--fs-sm); }
.ac-done { width: 30px; height: 30px; border-radius: var(--r-full); display: inline-grid; place-items: center; background: var(--success-soft); color: var(--success); font-size: var(--fs-md); font-weight: 700; opacity: .5; }
.ac-done--sm { width: 20px; height: 20px; font-size: var(--fs-xs); }
.ac-badge { position: absolute; right: 1px; bottom: 3px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; font: 700 9px/14px var(--font-ui); text-align: center; box-shadow: 0 0 0 2px var(--surface); }
.ac-legend .ac-badge { position: static; display: inline-block; box-shadow: none; }
.ac-badge--warn { background: var(--warn); color: var(--on-tone); }
.ac-badge--info { background: var(--info); color: var(--on-tone); }
.ac-badge--ok { background: var(--success-soft); color: var(--success); box-shadow: 0 0 0 2px var(--surface), inset 0 0 0 1px var(--success-line); }
.ac-badge--count { background: var(--ink-2); color: var(--surface); }
.ac-legend { display: flex; gap: var(--sp-5); flex-wrap: wrap; font-size: var(--fs-xs); color: var(--muted); align-items: center; }
.ac-legend > span { display: inline-flex; align-items: center; gap: 6px; }

/* the sheet */
.ac-sheet__h { font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-top: var(--sp-2); }
.ac-recs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 var(--sp-5); }
.ac-rec { display: flex; gap: var(--sp-2); padding: 6px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.ac-rec__what { font-weight: 600; min-width: 110px; }
.ac-who { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) 0; border-bottom: 1px solid var(--line); }
.ac-who__name { flex: 1; min-width: 0; font-weight: 600; font-size: var(--fs-sm); }
.ac-who__sub { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--muted); }
.ac-who.is-swapping { background: var(--surface-2); border-radius: var(--r-md); padding-inline: var(--sp-2); }

/* by person */
.ac-people { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: flex-start; }
.ac-list { flex: 1 1 400px; max-width: 480px; min-width: 300px; overflow: hidden; }
.ac-list__head { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-4) var(--sp-4) var(--sp-3); border-bottom: 1px solid var(--line); }
.ac-list__title { display: flex; align-items: baseline; gap: var(--sp-2); }
.ac-list__title .m-panel__title { margin: 0; }
.ac-list__title .ac-of, .ac-stories__title .ac-of { font-size: var(--fs-xs); }
.ac-editor { flex: 999 1 520px; min-width: 0; }
.ac-person { display: flex; align-items: center; gap: var(--sp-3); width: 100%; min-height: 56px; padding: 10px var(--sp-4); border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font-family: inherit; cursor: pointer; text-align: left; }
.ac-person:hover { background: var(--surface-2); }
.ac-person.is-on { background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.ac-person.is-dim { opacity: .75; }
.ac-person__main { flex: 1; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; min-width: 0; }
.ac-person__name, .ac-person__sub { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-person__name { font-size: var(--fs-md); font-weight: 600; }
.ac-person__sub { font-size: var(--fs-xs); color: var(--muted); }

/* the editor */
.ac-ed__head { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ac-ed__who { flex: 1; min-width: 200px; }
.ac-ed__who h2 { margin: 0; font-size: var(--fs-lg); font-weight: 600; }
.ac-ed__body { padding: var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4); }
.ac-ed__foot { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3) var(--sp-5); border-top: 1px solid var(--line); background: var(--surface-2); flex-wrap: wrap; }
.ac-dirty { font-size: var(--fs-xs); font-weight: 600; }
.ac-mtools { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.ac-rules { margin: 0; padding-left: var(--sp-5); font-size: var(--fs-sm); color: var(--ink-2); }
.ac-matrix { border: 1px solid var(--line); border-radius: var(--r-md); max-height: 420px; overflow: auto; }
.ac-mrow { display: grid; grid-template-columns: minmax(190px, 1fr) repeat(4, 84px) 64px; align-items: center; padding: 0 var(--sp-4); min-width: 540px; }
.ac-mrow.is-first { border-top: 1px solid var(--line); }
.ac-mrow--head { position: sticky; top: 0; z-index: 2; background: var(--surface-2); border-bottom: 1px solid var(--line); padding-top: 8px; padding-bottom: 8px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.ac-mcell { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 32px; justify-content: center; }
.ac-mlead { display: flex; align-items: baseline; gap: var(--sp-2); }
.ac-mlang { font-size: var(--fs-sm); font-weight: 600; min-width: 110px; }
.ac-mvoice { font-size: var(--fs-xs); color: var(--muted); }
.ac-stories { border-top: 1px solid var(--line); padding-top: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.ac-stories__title { display: flex; align-items: baseline; gap: var(--sp-2); }
.ac-stories__h { font-size: var(--fs-md); font-weight: 600; }
.ac-ssearch { flex: 1 1 260px; }
.ac-slist { border: 1px solid var(--line); border-radius: var(--r-md); max-height: 400px; overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.ac-slist .ac-srow { display: flex; align-items: center; gap: var(--sp-3); min-height: 40px; padding: 0 14px; border-bottom: 1px solid var(--surface-3); font-size: var(--fs-sm); min-width: 0; cursor: pointer; }
.ac-slist .ac-srow:hover { background: var(--surface-2); }
.ac-slist .ac-srow:nth-child(odd) { border-right: 1px solid var(--surface-3); }
.ac-slist .ac-srow > span { display: flex; align-items: center; gap: var(--sp-3); flex: 1; min-width: 0; }
.ac-slist .ac-srow.is-off { color: var(--subtle); cursor: default; }
.ac-srow__n { width: 28px; flex: none; text-align: right; font: 600 var(--fs-xs)/1 var(--font-mono); color: var(--muted); }
.ac-srow__t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-slist__empty { grid-column: 1 / -1; }
.ac-problem { font-size: var(--fs-xs); font-weight: 500; color: var(--danger); }
.ac-textgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--sp-1) var(--sp-4); }
.ac-textrow { display: flex; align-items: center; gap: var(--sp-2); }
.ac-textrow.is-done .m-check { opacity: .55; }
.ac-textlist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); }
.ac-textblock { border-bottom: 1px solid var(--surface-3); }
.ac-textblock:last-child { border-bottom: 0; }
.ac-textblock .ac-textrow { min-height: 44px; padding: 0 var(--sp-3); }
.ac-textblock.is-open { background: var(--surface-2); }
.ac-textscope { border-top: 1px solid var(--line); margin: 0; padding: var(--sp-3); background: var(--surface); }
.ac-textrow__ok { margin-left: auto; font-size: var(--fs-2xs); font-weight: 600; color: var(--success); }
@media (max-width: 820px) { .ac-list { max-width: none; } }
@media (max-width: 640px) { .ac-slist { grid-template-columns: 1fr; } .ac-slist .ac-srow:nth-child(odd) { border-right: 0; } }

/* Assign work (2026-11-17): overlaps, the work list and Give work */
.ac-cell.is-overlap { background: var(--warn-soft); box-shadow: inset 0 0 0 1.5px var(--warn); }
.ac-legend__overlap { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-md); background: var(--warn-soft); box-shadow: inset 0 0 0 1.5px var(--warn); }
.ac-kinds { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.ac-sheet__acts { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-3) 0; }
.ac-work { width: 100%; }
.ac-work td, .ac-work th { vertical-align: top; }
.ac-work__sub { display: block; font-size: var(--fs-xs); color: var(--muted); }
.ac-work__warn { display: block; font-size: var(--fs-xs); color: var(--warn); }
.ac-give { display: flex; flex-direction: column; gap: var(--sp-4); }
.ac-give__row { display: grid; grid-template-columns: 120px 1fr; gap: var(--sp-3); align-items: start; }
.ac-give__k { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); padding-top: 6px; }
.ac-give__foot { display: flex; gap: var(--sp-2); justify-content: flex-end; }
.ac-section { display: flex; flex-direction: column; gap: var(--sp-3); }
.ac-ovl td { vertical-align: middle; }
.ac-names { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.ac-name { display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-sm); }
@media (max-width: 640px) { .ac-give__row { grid-template-columns: 1fr; } }

/* ── By person and Give work (owner design, 2026-11-18) ───────────────────────────────────────────
   One colour per job, from the kit tokens: suggestions use the AI purple, text the info blue,
   recordings the warn orange. Only the job icon tile, group heading and progress bar take it. */
.gw-sugg { --job: var(--ai); --job-soft: var(--ai-soft); --job-line: var(--ai-line); }
.gw-text { --job: var(--info); --job-soft: var(--info-soft); --job-line: var(--info-line); }
.gw-rec { --job: var(--warn); --job-soft: var(--warn-soft); --job-line: var(--warn-line); }
.gw-tile { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; flex: none; background: var(--job-soft); color: var(--job); border: 1px solid var(--job-line); }
.gw-tile--sm { width: 26px; height: 26px; }
.gw-tile--lg { width: 44px; height: 44px; border-radius: var(--r-md); }
.gw-tile--lg .i { width: 22px; height: 22px; }
.gw-small { font-size: var(--fs-xs); }
.gw-sub { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.gw-warntext { color: var(--warn); }
.gw-grow { flex: 1; min-width: 220px; }

/* the person panel */
.gw-person { display: flex; flex-direction: column; gap: var(--sp-4); }
.gw-head .gw-head__top { border-bottom: 0; padding: var(--sp-4); }
.gw-head__av { width: 44px; height: 44px; font-size: var(--fs-md); background: var(--brand-soft); color: var(--brand-text); }
.gw-head__name { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.gw-head__name h2 { margin: 0; font-size: var(--fs-xl); font-weight: 600; }
.gw-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.gw-stat { padding: var(--sp-3) var(--sp-4); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gw-stat + .gw-stat { border-left: 1px solid var(--line); }
.gw-stat b { font-size: var(--fs-xl); font-weight: 600; font-variant-numeric: tabular-nums; }
.gw-stat span { font-size: var(--fs-xs); color: var(--muted); }
.gw-idea-icon { color: var(--brand-text); }
.gw-ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-3); }
.gw-idea { display: flex; flex-direction: column; gap: var(--sp-2); padding: 14px; border: 1px solid var(--panel-border); border-radius: var(--r-md); background: var(--surface); min-width: 0; }
.gw-idea__top { display: flex; align-items: center; gap: 10px; }
.gw-idea__kind { font-size: var(--fs-xs); font-weight: 600; color: var(--job); }
.gw-idea__title { font-weight: 600; }
.gw-idea__act { margin-top: auto; padding-top: var(--sp-1); }
.gw-group { display: flex; align-items: center; gap: 10px; padding: 10px var(--sp-4); background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.gw-work > .gw-group:first-child { border-top: 0; }
.gw-group h4 { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--job); }
.gw-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 210px auto; gap: var(--sp-4); align-items: center; padding: 12px var(--sp-4); border-bottom: 1px solid var(--line); }
.gw-work > .gw-row:last-child { border-bottom: 0; }
.gw-row.is-warn { background: color-mix(in srgb, var(--warn-soft) 40%, var(--surface)); }
.gw-row__warn .m-btn { width: auto; }
.gw-person .m-panel__foot { flex-wrap: wrap; }
.gw-row__warn { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; margin-top: 4px; }
.gw-lang { font-weight: 600; }
.gw-prog { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: var(--fs-xs); }
.gw-prog__top { display: flex; justify-content: space-between; gap: var(--sp-2); }
.gw-prog .m-progress i { background: var(--job); }
.gw-acts { display: flex; gap: var(--sp-1); justify-content: flex-end; align-items: center; }
@media (max-width: 760px) {
    .gw-row { grid-template-columns: 1fr; gap: var(--sp-2); }
    .gw-acts { justify-content: flex-start; }
    .gw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gw-stat:nth-child(3) { border-left: 0; }
    .gw-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* the wizard */
.gw-dialog .m-dialog__body { gap: var(--sp-4); }
/* a wizard keeps Back and Next in view: the dialog stops at the window and its body scrolls (the kit lets dialogs grow) */
.m-overlay--dialog .m-dialog.gw-dialog { max-height: calc(100dvh - 96px); }
.gw-dialog .m-dialog__body > * { flex-shrink: 0; }
.gw-dialog .m-dialog__icon { border-radius: var(--r-sm); background: var(--job-soft, var(--info-soft)); color: var(--job, var(--info)); border: 1px solid var(--job-line, var(--info-line)); }
.m-steps.gw-steps { overflow-x: auto; flex-wrap: nowrap; }
.gw-steps > li { flex: none; }
.gw-langs > .m-panel__head, .gw-stories > .m-panel__head { flex-wrap: wrap; }
.gw-langs .m-seg { flex-wrap: wrap; }
.gw-allseg { flex-wrap: wrap; }
.gw-recs__lhead .m-panel__title { align-self: flex-start; }
.gw-recs__lhead > :not(.m-panel__title) { align-self: stretch; width: 100%; }
.gw-footnote { font-size: var(--fs-sm); color: var(--muted); }
.gw-footnote--left { margin-right: auto; }
.gw-kinds { display: flex; flex-direction: column; gap: var(--sp-3); }
.gw-kind { gap: var(--sp-4); padding: var(--sp-4); }
.gw-kind__main { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gw-kind__name { font-weight: 600; font-size: var(--fs-lg); }
.gw-kind__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.gw-lead { margin: 0; font-size: var(--fs-lg); line-height: 1.5; }
.gw-lhead, .gw-lrow { display: grid; grid-template-columns: 24px 160px minmax(0, 1fr) 140px; gap: 14px; align-items: center; padding: 11px var(--sp-4); }
.gw-lhead { padding-block: 8px; font-size: var(--fs-xs); color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.gw-lrow { border-bottom: 1px solid var(--line); cursor: pointer; }
.gw-lrow:has(input:checked) { background: var(--brand-soft); }
.gw-lrow.is-off { cursor: default; color: var(--muted); }
.gw-sec { padding: 8px var(--sp-4); font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.gw-cover { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gw-split { display: flex; }
.gw-split i { border-radius: 0; }
.gw-split .gw-split__held { background: var(--info); }
.gw-split .gw-split__free { background: var(--warn-line); }
.gw-who { font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-legend { display: inline-flex; align-items: center; gap: 6px; }
.gw-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.gw-legend__held { background: var(--info); }
.gw-legend__free { background: var(--warn-line); }
[data-bs-theme=dark] .gw-split .gw-split__free, [data-bs-theme=dark] .gw-legend__free { background: color-mix(in srgb, var(--warn) 70%, var(--surface)); }
.gw-recs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--sp-3); align-items: start; }
.gw-recs__lhead { flex-direction: column; align-items: stretch; gap: var(--sp-2); }
.gw-nav { display: flex; flex-direction: column; padding: 6px; max-height: 420px; overflow: auto; }
.gw-navbtn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: var(--r-sm); background: transparent; font: 500 var(--fs-sm) var(--font-ui); color: var(--ink); cursor: pointer; text-align: left; }
.gw-navbtn:hover { background: var(--surface-2); }
.gw-navbtn.is-on { background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-line); font-weight: 600; }
.gw-navbtn .m-count { margin-left: auto; }
.gw-count--warn { background: var(--warn-soft); color: var(--warn); }
.gw-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--success); }
.gw-dot.is-gap { background: var(--warn); }
.gw-reciter { padding: 14px var(--sp-4); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.gw-reciter__top { display: flex; align-items: center; gap: 10px; }
.m-choice-pill__badge.gw-badge--warn { background: var(--warn-soft); color: var(--warn); }
.gw-allseg { align-self: flex-start; }
.gw-picks { display: flex; flex-direction: column; gap: var(--sp-2); }
.gw-picks__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--sp-2); }
.gw-pick { font-size: var(--fs-sm); }
.gw-cat { display: flex; align-items: center; gap: 10px; padding: 0 var(--sp-4); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.gw-cat__toggle { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 40px; border: 0; background: transparent; font: inherit; color: var(--ink); cursor: pointer; text-align: left; padding: 0; }
.gw-cat__toggle b { flex: 1; }
.gw-cat__toggle .muted { font-size: var(--fs-xs); }
.gw-srow { display: grid; grid-template-columns: auto 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px var(--sp-4) 8px 42px; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.gw-srow .m-check input { margin: 0; }
.gw-n { font: 500 var(--fs-xs) var(--font-mono); color: var(--muted); }
.gw-tags { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.gw-stories > :last-child { border-bottom: 0; }
.gw-more { padding: 6px var(--sp-4) 6px 42px; border-bottom: 1px solid var(--line); }
.gw-kv { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: var(--sp-3); align-items: baseline; padding: 12px var(--sp-4); border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.gw-kv:last-child { border-bottom: 0; }
.gw-clash .body { display: flex; flex-direction: column; gap: 10px; }
.gw-clash__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
@media (max-width: 700px) {
    .gw-recs, .gw-clash__choices { grid-template-columns: 1fr; }
    .gw-lhead { display: none; }
    .gw-lrow { grid-template-columns: 24px minmax(0, 1fr); }
    .gw-lrow > .gw-cover, .gw-lrow > .gw-who { grid-column: 2; }
    .gw-kv { grid-template-columns: 1fr auto; }
    .gw-kv > :first-child { grid-column: 1 / -1; }
    .gw-srow { grid-template-columns: auto 30px minmax(0, 1fr); padding-left: var(--sp-4); }
    .gw-tags { grid-column: 3; justify-content: flex-start; }
    .gw-ideas { grid-template-columns: 1fr; }
    /* on a phone the step bar shows the numbers and only the current step's name */
    .gw-steps > li:not(.is-current) { font-size: 0; gap: 0; }
    .gw-allseg { max-width: 100%; }
    .gw-allseg button { flex: 1 1 auto; min-width: 0; white-space: normal; }
    .gw-steps li + li::before { width: 14px; margin-right: 8px; }
}
