/* ==========================================================================
   THE WORKSTATION — the page (workstation.html) and Build on workstation on
   a client's record (2026-10-20).

   Additions only, on the Office's own system: every colour, size and radius
   is office.css's token (--o-*), every button is the Office's (.ofc-primary,
   .ofc-ghost, .ofc-quiet, .ofc-mode, .oc-btn), every drawer is .ofc-drawer.
   Nothing here declares a colour of its own, a :root, or a focus ring: focus
   is the Office's lit edge (office.css), on these controls as on its own.

   Scoped under #office, the root both pages share (workstation.html's
   <main id="office">, client.html's <div id="office" class="oc-shell">).
   ========================================================================== */

/* ---------- the page ------------------------------------------------------ */
#office .st-boot { margin: 0 0 1.25rem; color: var(--o-dim); font-size: var(--o-t-md); font-weight: 550; line-height: 1.5; }
#office .st-boot .ofc-ghost { margin-left: 0.5rem; }
@media (min-width: 62.0625rem) {
  #office #st-stations-card { grid-column: span 7; }
  #office #st-runner-card { grid-column: span 5; }
}
#office .st-card .ofc-sub { margin-bottom: 0.75rem; }
#office .st-fresh { margin: 0; align-self: end; color: var(--o-faint); font-size: var(--o-t-label); font-weight: 500; font-variant-numeric: tabular-nums; }
#office .st-fresh:empty { display: none; }

/* A line said about a station, its tone in its colour (and always in words). */
#office .st-line { margin: 0.75rem 0 0; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 550; line-height: 1.5; }
#office .st-line:empty { display: none; }
#office .st-line[data-tone="ok"] { color: var(--o-ok); }
#office .st-line[data-tone="attn"] { color: var(--o-warn-ink); }
#office .st-runner { margin: 0; }

/* A NOTE UNDER WHAT IT IS ABOUT: what a press did, or why it did not. */
#office .st-note { margin: 0; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 550; line-height: 1.5; }
#office .st-note.is-bad { color: var(--o-warn-ink); }
#office .st-none { padding: 1rem 0; color: var(--o-faint); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.5; list-style: none; }

/* ---------- a station ------------------------------------------------------ */
#office .st-stations { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--o-line); }
#office .st-station {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.25rem 1rem;
  min-height: var(--o-row);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--o-line);
}
#office .st-station__top { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
#office .st-station__name { min-width: 0; overflow-wrap: anywhere; color: var(--o-text); font: 650 var(--o-t-md)/1.3 var(--body); }
#office .st-station__meta { grid-column: 1; margin: 0; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.45; }
#office .st-station__acts { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.5rem; }
#office .st-station > .st-note { grid-column: 1 / -1; }
#office .st-kind {
  flex: none;
  padding: 0.125rem 0.5rem;
  border-radius: var(--o-r-sm);
  background: var(--o-inset);
  color: var(--o-dim);
  font: 600 var(--o-t-xs)/1.3 var(--body);
}
/* On or off: a dot, and the words beside it say which. */
#office .st-dot { flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--o-neutral); }
#office .st-station[data-online="true"] .st-dot { background: var(--o-ok-mark); box-shadow: 0 0 0 3px var(--o-ok-bg); }
#office .st-confirm { color: var(--o-text); font-size: var(--o-t-sm); font-weight: 550; line-height: 1.4; }
#office .st-station__acts .st-confirm { flex: 1 1 100%; margin: 0; text-align: right; }
:is(#office) .ofc-ghost.st-danger { color: var(--o-bad); }
:is(#office) .ofc-ghost.st-danger:hover:not(:disabled) { border-color: var(--o-bad-mark); color: var(--o-bad); }

/* ---------- where a build is ------------------------------------------------ */
#office .st-st { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--o-dim); font: 600 var(--o-t-sm)/1.25 var(--body); white-space: nowrap; }
#office .st-st::before { content: ''; flex: none; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--o-neutral); }
#office .st-st[data-tone="run"] { color: var(--o-text); }
#office .st-st[data-tone="run"]::before { background: var(--o-text); animation: st-beat 1.6s var(--o-ease, ease) infinite; }
/* Waiting is a ring: nothing has happened to it yet. */
#office .st-st[data-tone="wait"]::before { box-sizing: border-box; background: transparent; border: 1.5px solid var(--o-faint); }
#office .st-st[data-tone="attn"] { color: var(--o-warn-ink); }
#office .st-st[data-tone="attn"]::before { background: var(--o-warn); }
#office .st-st[data-tone="ok"] { color: var(--o-ok); }
#office .st-st[data-tone="ok"]::before { background: var(--o-ok-mark); }
#office .st-st[data-tone="bad"] { color: var(--o-bad); }
#office .st-st[data-tone="bad"]::before { background: var(--o-bad-mark); }
@keyframes st-beat { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { #office .st-st[data-tone="run"]::before { animation: none; } }

/* ---------- a build --------------------------------------------------------- */
/* READY TO BUILD (FAC-02): over the jobs, the quotes a client accepted with no build sent since.
   Rows, a name and its quote, what they asked for under it, Build at the end. */
#office .st-orders { margin: 0 0 24px; }
#office .st-orders[hidden] { display: none; }
#office .st-orders__h { display: flex; align-items: baseline; gap: 8px; margin: 0; color: var(--o-text); font: 650 var(--o-t-md)/1.3 var(--body); }
#office .st-orders__n { color: var(--o-faint); font-size: var(--o-t-sm); font-weight: 550; font-variant-numeric: tabular-nums; }
#office .st-orders__sub { margin: 4px 0 12px; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.45; }
#office .st-orders__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--o-line-2); }
#office .st-order { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--o-line-2); }
#office .st-order:last-child { border-bottom: 0; }
#office .st-order__main { display: grid; gap: 4px; min-width: 0; }
#office .st-order__name { justify-self: start; color: var(--o-text); font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
#office .st-order__name:hover { text-decoration: underline; text-underline-offset: 3px; }
#office .st-order__meta { margin: 0; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; }
#office .st-order__paid { white-space: nowrap; }
#office .st-order__paid[data-tone="ok"] { color: var(--o-ok); }
#office .st-order__paid[data-tone="quiet"] { color: var(--o-faint); }
#office .st-order__asked { margin: 0; color: var(--o-faint); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.45; }
#office .st-order__go { white-space: nowrap; }
#office .st-jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--o-line); }
/* Not drawn until it has rows, so what arrives over it with them (Ready to build) moves nothing. */
#office .st-jobs:empty { display: none; }
#office .st-job { display: grid; gap: 0.5rem; min-width: 0; padding: 1rem 0 1rem; border-bottom: 1px solid var(--o-line); }
#office .st-job__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; min-width: 0; }
#office .st-job__t { min-width: 0; overflow-wrap: anywhere; color: var(--o-text); font: 650 var(--o-t-md)/1.35 var(--body); text-decoration: none; }
#office a.st-job__t:hover { text-decoration: underline; text-underline-offset: 3px; }
#office .st-job__who { color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; }
#office .st-job__meta { margin: 0; color: var(--o-faint); font-size: var(--o-t-label); font-weight: 500; line-height: 1.45; font-variant-numeric: tabular-nums; }
#office .st-preview { margin: 0; color: var(--o-faint); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.45; }
#office .st-err { margin: 0; color: var(--o-bad); font-size: var(--o-t-sm); font-weight: 550; line-height: 1.5; overflow-wrap: anywhere; }
#office .st-job__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 0.125rem; }
#office .st-job__acts .st-confirm { margin-right: 0.25rem; }
#office .st-job__all { max-height: 24rem; overflow-y: auto; overscroll-behavior: contain; padding: 0.25rem 0.5rem 0.25rem 0; }

/* ITS STEPS: a thin rule down the left, the time in figures, the latest the brightest. */
#office .st-steps { display: grid; gap: 0.25rem; margin: 0.125rem 0 0; padding: 0.125rem 0 0.125rem 1rem; border-left: 1px solid var(--o-line-2); list-style: none; }
#office .st-step { display: grid; grid-template-columns: 2.9rem minmax(0, 1fr); gap: 0.5rem; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.45; }
#office .st-step__at { color: var(--o-faint); font-variant-numeric: tabular-nums; }
#office .st-step__m { min-width: 0; overflow-wrap: anywhere; }
#office .st-steps:not([aria-label="Every step"]) .st-step:last-child .st-step__m { color: var(--o-text); }
#office .st-step:is([data-kind="log"], [data-kind="text"], [data-kind="status"]) .st-step__m { color: var(--o-faint); }
#office .st-step[data-tone="ok"] .st-step__m { color: var(--o-ok); }
#office .st-step[data-tone="bad"] .st-step__m { color: var(--o-bad); }

/* WHAT IT DID, once it is done. */
#office .st-result { display: grid; gap: 0.25rem; margin: 0; padding: 0; list-style: none; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.45; }
#office .st-result__l[data-tone="bad"] { color: var(--o-bad); }
#office .st-result__l[data-tone="ok"] { color: var(--o-ok); }
#office .st-result a { color: var(--o-text); }
/* A command or a path as it is spelled (translate="no"): a figure's face. */
#office .st-code-line {
  display: block;
  max-width: 100%;
  margin-top: 0.25rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--o-line-2);
  border-radius: var(--o-r-sm);
  background: var(--o-inset);
  color: var(--o-dim);
  font: 500 var(--o-t-xs)/1.5 var(--mono, ui-monospace, monospace);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

/* WHAT IT IS MADE OF (queue 49): the share as a bar, its mark the 70% line, a line each, what was written new folded. */
#office .st-comp { display: grid; gap: 0.5rem; min-width: 0; padding: 0.75rem; border: 1px solid var(--o-line-2); border-radius: var(--o-r-sm); background: var(--o-inset); }
#office .st-comp__h { margin: 0; color: var(--o-text); font: 650 var(--o-t-sm)/1.45 var(--body); overflow-wrap: anywhere; }
#office .st-comp__bar { position: relative; height: 6px; border-radius: 3px; background: var(--o-line-2); overflow: hidden; }
#office .st-comp__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--share, 0) * 100%); border-radius: 3px; background: var(--o-dim); }
#office .st-comp[data-tone="ok"] .st-comp__fill { background: var(--o-ok); }
#office .st-comp[data-tone="bad"] .st-comp__fill { background: var(--o-bad); }
#office .st-comp__mark { position: absolute; top: 0; bottom: 0; left: 70%; width: 2px; background: var(--o-text); }
#office .st-comp__lines { display: grid; gap: 0.25rem; margin: 0; padding: 0; list-style: none; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.45; }
#office .st-comp__lines li { overflow-wrap: anywhere; }
#office .st-comp__lines [data-tone="ok"] { color: var(--o-ok); }
#office .st-comp__lines [data-tone="bad"] { color: var(--o-bad); }
#office .st-comp__lines [data-tone="attn"] { color: var(--o-text); }
#office .st-comp__new > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--o-text); font-size: var(--o-t-sm); font-weight: 600; }
#office .st-comp__new > summary:focus-visible { outline: 1px solid var(--focus-edge); outline-offset: 2px; border-radius: var(--tk-r-sm); }
#office .st-comp__list { display: grid; gap: 0.375rem; margin: 0; padding: 0; list-style: none; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.45; }
#office .st-comp__list li { display: grid; gap: 0.125rem; min-width: 0; }
#office .st-comp__list code { overflow-wrap: anywhere; color: var(--o-text); font: 500 var(--o-t-xs)/1.5 var(--mono, ui-monospace, monospace); }

/* ---------- pairing (the drawer) ------------------------------------------------ */
#office .st-pair .ofc-drawer__body { display: grid; align-content: start; gap: 1rem; }
#office .st-pair__how { margin: 0; color: var(--o-text); font-size: var(--o-t-md); font-weight: 550; line-height: 1.5; }
/* THE CODE, as big as a thing read off one screen and typed into another. */
#office .st-pair__code {
  display: flex;
  justify-content: center;
  gap: 0.7em;
  margin: 0.25rem 0 0;
  padding: 1rem 0.75rem;
  border: 1px solid var(--o-line-3);
  border-radius: var(--o-r-sm);
  background: var(--o-inset);
  color: var(--tk-white);
  font: 600 clamp(1.6rem, 7vw, 2.4rem)/1 var(--mono, ui-monospace, monospace);
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  user-select: all;
}
#office .st-pair__left { margin: -0.25rem 0 0; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 550; font-variant-numeric: tabular-nums; text-align: center; }
#office .st-pair__cloud { margin: 0.5rem 0 -0.5rem; color: var(--o-faint); font-size: var(--o-t-sm); line-height: 1.5; }
#office .st-paired { margin: 0; color: var(--o-ok); font: 650 var(--o-t-lg)/1.3 var(--body); }
#office .st-paired:focus { outline: none; }
#office .st-pair .ofc-primary { justify-self: start; }

/* ---------- Build on workstation (a client's record) -------------------------------- */
#office .st-build .ofc-drawer__body { display: grid; align-content: start; gap: 1rem; }
#office .st-build .ofc-task { margin: 0; padding: 0; border: 0; gap: 1rem; }
#office .st-build .ofc-fields { gap: 1rem; }
#office .st-build textarea { min-height: 6.5rem; }
#office .st-set { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 0.5rem; }
#office .st-set > legend,
#office .st-set__h { padding: 0; margin: 0 0 0.5rem; color: var(--o-faint); font-size: var(--o-t-label); font-weight: 600; }
#office .st-kits { display: grid; gap: 0.5rem; }
#office .st-kits__g { display: grid; gap: 0.25rem; }
#office .st-kits__gh { margin: 0; color: var(--o-faint); font-size: var(--o-t-xs); font-weight: 550; }
#office .st-kits__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* A TICK CHIP: the Office's filter chip, with a tick drawn in when it is chosen. */
:is(#office) .st-kit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 30px;
  padding: 0 0.5rem;
  border: 1px solid var(--o-line-3);
  border-radius: var(--o-r-sm);
  background: transparent;
  box-shadow: none;
  color: var(--o-dim);
  font: 550 var(--o-t-label)/1.2 var(--body);
  text-align: left;
  cursor: pointer;
}
:is(#office) .st-kit::before {
  content: '';
  flex: none;
  box-sizing: border-box;
  width: 0.8rem;
  height: 0.8rem;
  border: 1px solid var(--o-line-3);
  border-radius: 3px;
}
:is(#office) .st-kit:hover { border-color: var(--o-line-4); color: var(--o-text); }
:is(#office) .st-kit:active { transform: none; }
:is(#office) .st-kit[aria-pressed="true"] { border-color: var(--tk-white); background: var(--o-press); color: var(--tk-white); }
:is(#office) .st-kit[aria-pressed="true"]::before {
  width: 0.42rem;
  height: 0.72rem;
  margin: -0.125rem 0.25rem 0 0.125rem;
  border: solid var(--tk-white);
  border-width: 0 2px 2px 0;
  border-radius: 0;
  transform: rotate(45deg);
}
#office .st-kits__n { margin: 0; color: var(--o-faint); font-size: var(--o-t-xs); font-weight: 500; }

/* WHAT THEY ASKED FOR (FAC-02): each thing a row, the kits it ticks beside it,
   and where the ask came from on the heading's line. Rows, not cards (rule 8). */
#office .st-ask__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
#office .st-ask__top .st-set__h { margin: 0; }
#office .st-ask__from { margin: 0; color: var(--o-faint); font-size: var(--o-t-xs); font-weight: 550; }
#office .st-ask__list { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--o-line-2);
  font-size: var(--o-t-sm); line-height: 1.45; }
#office .st-ask__list dt, #office .st-ask__list dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--o-line-2); }
#office .st-ask__list dt { padding-right: 16px; color: var(--o-text); font-weight: 600; overflow-wrap: anywhere; }
#office .st-ask__list dd { min-width: 0; color: var(--o-dim); font-weight: 500; }
#office .st-ask__list dd.is-none { color: var(--o-warn-ink); }

/* WHAT THE WORKSTATION IS GIVEN, from this record: said before the press. */
#office .st-given { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.25rem 1rem; margin: 0; padding: 0.75rem 0.75rem;
  border: 1px solid var(--o-line-2); border-radius: var(--o-r-sm); font-size: var(--o-t-sm); line-height: 1.45; }
#office .st-given dt { color: var(--o-faint); font-weight: 550; }
#office .st-given dd { min-width: 0; margin: 0; color: var(--o-dim); font-weight: 500; overflow-wrap: anywhere; }
#office .st-given__none { color: var(--o-faint); }
#office .st-build__sent { display: grid; gap: 0.75rem; }
#office .st-build__sent[hidden], #office .st-build .ofc-task[hidden] { display: none; }
#office .st-build__ok { margin: 0; color: var(--o-text); font: 650 var(--o-t-lg)/1.35 var(--body); }
#office .st-build__ok:focus { outline: none; }

/* The record's own band of builds. */
#office .st-band .st-jobs { border-top: 0; }
#office .st-band .st-job:last-child { border-bottom: 0; padding-bottom: 0.25rem; }
#office .st-band__foot { margin: 0.5rem 0 0; font-size: var(--o-t-sm); }
#office .st-band__foot a { color: var(--o-dim); }
#office .st-band__foot a:hover { color: var(--o-text); }

/* ---------- Claude logins (the Workstation page) -------------------------------------- */
#office .st-logins { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--o-line); }
#office .st-login { display: grid; gap: 0.25rem; padding: 0.75rem 0; border-bottom: 1px solid var(--o-line); }
#office .st-login__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
:is(#office) .st-kit.st-login__tick { min-height: 34px; font-size: var(--o-t-sm); font-weight: 650; }
:is(#office) .st-kit:disabled { opacity: 0.55; cursor: default; }
:is(#office) .st-kit:disabled:hover { border-color: var(--o-line-3); color: var(--o-dim); }
#office .st-login__facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.125rem 0; margin: 0; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.5; }
#office .st-login__name { color: var(--o-text); font-weight: 600; }
#office .st-login__name.is-none { color: var(--o-faint); font-weight: 500; }
#office .st-sep { color: var(--o-faint); white-space: pre; }
#office .st-login__facts .st-st { font-size: var(--o-t-sm); font-weight: 550; }
#office .st-login__where { margin: 0; color: var(--o-faint); font-size: var(--o-t-xs); font-weight: 500; overflow-wrap: anywhere; }
#office .st-login__edit, #office .st-login__ask { margin: 0.5rem 0 0.25rem; padding: 0.75rem 0 0; border-top: 1px solid var(--o-line); }
#office .st-login__ask { margin-top: 1rem; }
#office .st-hint { color: var(--o-faint); font-size: var(--o-t-xs); font-weight: 450; }
#office .st-logins__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 1rem; }
#office .st-logins__n { color: var(--o-faint); font-size: var(--o-t-sm); font-weight: 500; }
#office .st-logins__note { margin-top: 0.75rem; }
#office .st-logins__note:focus { outline: none; }

/* ---------- your own AI (FAC-07, the Workstation page) ------------------------------------
   One row a task: its name and stage, who writes it there (left); its numbers toward the next stage, a
   bar and the rules' sentence, and what it has logged (middle); the owner's move (right). Monochrome:
   colour only for state, the bar green once a task has earned its move, amber when the rules took it down. */
#office .st-ai__sum { margin: 0 0 0.75rem; color: var(--o-text); font-size: var(--o-t-sm); font-weight: 550; line-height: 1.5; }
#office .st-ais { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--o-line); }
#office .st-ai {
  display: grid;
  /* The move's column is the same width on every row, so every bar starts and ends in line. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 12rem;
  align-items: start;
  gap: 0.5rem 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--o-line);
}
#office .st-ai:last-child { border-bottom: 0; }
#office .st-ai__what, #office .st-ai__nums { display: grid; gap: 0.25rem; min-width: 0; }
#office .st-ai__top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; min-width: 0; }
#office .st-ai__name { min-width: 0; overflow-wrap: anywhere; color: var(--o-text); font: 650 var(--o-t-md)/1.3 var(--body); }
#office .st-ai__stage {
  flex: none;
  padding: 0.125rem 0.5rem;
  border-radius: var(--o-r-sm);
  background: var(--o-inset);
  color: var(--o-dim);
  font: 600 var(--o-t-xs)/1.3 var(--body);
}
/* Your model's tasks read brighter than Claude's: the same chip, the text at full. */
#office .st-ai:not([data-stage="0"]) .st-ai__stage { color: var(--o-text); }
#office .st-ai__who { margin: 0; color: var(--o-faint); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.45; }
#office .st-ai__bar { display: block; height: 4px; margin: 0.5rem 0 0.25rem; overflow: hidden; border-radius: var(--tk-r-2xs); background: var(--o-line-2); }
#office .st-ai__fill { display: block; width: 0; height: 100%; border-radius: var(--tk-r-2xs); background: var(--o-dim); }
#office .st-ai__fill[data-part="1"] { width: 5%; }
#office .st-ai__fill[data-part="2"] { width: 10%; }
#office .st-ai__fill[data-part="3"] { width: 15%; }
#office .st-ai__fill[data-part="4"] { width: 20%; }
#office .st-ai__fill[data-part="5"] { width: 25%; }
#office .st-ai__fill[data-part="6"] { width: 30%; }
#office .st-ai__fill[data-part="7"] { width: 35%; }
#office .st-ai__fill[data-part="8"] { width: 40%; }
#office .st-ai__fill[data-part="9"] { width: 45%; }
#office .st-ai__fill[data-part="10"] { width: 50%; }
#office .st-ai__fill[data-part="11"] { width: 55%; }
#office .st-ai__fill[data-part="12"] { width: 60%; }
#office .st-ai__fill[data-part="13"] { width: 65%; }
#office .st-ai__fill[data-part="14"] { width: 70%; }
#office .st-ai__fill[data-part="15"] { width: 75%; }
#office .st-ai__fill[data-part="16"] { width: 80%; }
#office .st-ai__fill[data-part="17"] { width: 85%; }
#office .st-ai__fill[data-part="18"] { width: 90%; }
#office .st-ai__fill[data-part="19"] { width: 95%; }
#office .st-ai__fill[data-part="20"] { width: 100%; }
#office .st-ai__nums[data-ready="true"] .st-ai__fill { background: var(--o-ok-mark); }
#office .st-ai__words { margin: 0; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.45; }
#office .st-ai__facts, #office .st-ai__moved { margin: 0; color: var(--o-faint); font-size: var(--o-t-label); font-weight: 500; line-height: 1.45; font-variant-numeric: tabular-nums; }
#office .st-ai__moved[data-tone="attn"] { color: var(--o-warn-ink); }
#office .st-ai__acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.5rem; }
#office .st-ai__acts:empty { display: none; }
/* Asking before it moves: the sentence and its two buttons take the row's whole width. */
#office .st-ai__acts:has(.st-confirm) { grid-column: 1 / -1; grid-row: auto; justify-content: flex-start; margin-top: 0.5rem; }
#office .st-ai__acts .st-confirm { flex: 1 1 100%; margin: 0; }
#office .st-ai > .st-note { grid-column: 1 / -1; margin-top: 0.25rem; }
#office .st-ai > .st-note:focus { outline: none; }

/* ---------- a phone ----------------------------------------------------------------- */
@media (max-width: 40rem) {
  #office .st-station { grid-template-columns: minmax(0, 1fr); }
  #office .st-station__acts { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  #office .st-station__acts .st-confirm { text-align: left; }
  #office .st-ai { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  #office .st-ai__acts { justify-content: flex-start; margin-top: 0.5rem; }
  #office .st-runner { display: flex; width: 100%; }
  #office .st-runner .ofc-mode__b { flex: 1 1 0; min-height: 36px; padding: 0 0.5rem; }
  /* THE KITS ARE A CHECKLIST, NOT A TOOLBAR: on a phone, two even columns of
     choices, each a whole target, rather than a row that wraps ragged. */
  #office .st-kits__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  :is(#office) .st-kit { min-height: 40px; padding: 0.25rem 0.5rem; }
  #office .st-given { grid-template-columns: minmax(0, 1fr); gap: 0.125rem; }
  #office .st-given dd + dt { margin-top: 0.25rem; }
  #office .st-ask__list { grid-template-columns: minmax(0, 1fr); }
  #office .st-ask__list dt { padding: 8px 0 0; border-bottom: 0; }
  #office .st-ask__list dd { padding: 0 0 8px; }
}

/* ---------- Launch (a client's record, FAC-04) ---------------------------------------- */
/* A drawer's fields are one column (office.css); the switch sits at its own width, whole on a phone. */
#office .st-launch [hidden] { display: none; }
#office .st-launch .st-runner { justify-self: start; }
@media (max-width: 40rem) { #office .st-launch .st-runner { justify-self: stretch; } }

/* ---------- Updates (the Workstation page, FAC-05) ------------------------------------ */
/* The rollout under way over the sites; each site its name, its release, the one before; Roll out under them. */
#office .st-upd__out { display: grid; gap: 0.5rem; margin: 0 0 1.25rem; }
#office .st-upd__h { margin: 0; color: var(--o-text); font: 650 var(--o-t-md)/1.3 var(--body); }
#office .st-upd__out .st-line, #office .st-upd__form .st-line { margin: 0; }
#office .st-upd__out .st-line[data-tone="bad"] { color: var(--o-bad); }
#office .st-upd__who { margin: 0; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.5; }
#office .st-upd__who b { color: var(--o-text); font-weight: 600; }
#office .st-upd__name { color: var(--o-text); font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
#office .st-upd__name:hover { text-decoration: underline; text-underline-offset: 3px; }
#office .st-upd__ver { color: var(--o-text); font-size: var(--o-t-sm); font-weight: 650; font-variant-numeric: tabular-nums; }
#office .st-upd__ver.is-none { color: var(--o-faint); font-weight: 500; }
#office .st-upd__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 0.25rem; }
#office .st-upd__acts .st-confirm { flex: 1 1 100%; margin: 0; }
#office .st-upd__form { display: grid; gap: 0.75rem; margin: 1.25rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--o-line); }
#office .st-upd__form .ofc-fields { max-width: 16rem; }
#office .st-upd__note { margin-top: 0.75rem; }
#office .st-upd__note:focus { outline: none; }
@media (max-width: 40rem) { #office .st-upd__form .ofc-fields { max-width: none; } }

/* ---------- Handover (a client's record, FAC-06) -------------------------------------- */
/* The date, their one-time link, the move grouped by kind, the exit checklist: each line its name, its state, how it
   moves, and the owner's tick. Done lines stay in place, quieter; nothing is struck through. */
#office .st-ho [hidden] { display: none; }
#office .st-ho__body { display: grid; gap: 1.75rem; margin-top: 0.5rem; }
#office .st-ho__body > .st-set { padding-top: 1.25rem; border-top: 1px solid var(--o-line); }
#office .st-ho__body > .st-set:first-child { padding-top: 0; border-top: 0; }
#office .st-ho__when { margin: 0; color: var(--o-text); font-weight: 650; }
#office .st-ho__link .st-line { margin: 0; }
#office .st-ho__shown { display: grid; gap: 0.5rem; }
#office .st-ho__shown input { font-variant-numeric: tabular-nums; }
#office .st-ho__group { display: grid; gap: 0.25rem; margin-top: 0.5rem; }
#office .st-ho__gh { margin: 0; color: var(--o-text); font-size: var(--o-t-sm); font-weight: 650; }
#office .st-ho__list { list-style: none; margin: 0; padding: 0; }
#office .st-ho__what { min-width: 0; color: var(--o-text); font-weight: 600; overflow-wrap: anywhere; }
#office .st-ho__item.is-done .st-ho__what,
#office .st-ho__item.is-not-used .st-ho__what { color: var(--o-dim); font-weight: 550; }
#office .st-ho__when-done { margin: 0; color: var(--o-faint); font-size: var(--o-t-sm); font-weight: 500; }
#office .st-ho .st-st[data-tone=""]::before { background: var(--o-faint); }

/* ---------- A launch's checks (a client's record, core-gaps 5 Nov) --------------------------------------------------- */
/* Each launch, its runs in order (the preview's, then the domain's): a card each, on the record's own ground. The
   verdict is a word, its tone a short mark beside it, never colour alone. The lab's numbers in figures. */
#office .lg-band__lede { margin: 0 0 1rem; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.5; max-width: 60ch; }
#office .lg-band__body { display: grid; gap: 1.5rem; }
#office .lg-launch { display: grid; gap: 0.75rem; min-width: 0; }
#office .lg-launch__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin: 0; font: 650 var(--o-t-md)/1.35 var(--body); color: var(--o-text); }
#office .lg-launch__domain { overflow-wrap: anywhere; }
#office .lg-launch__n { color: var(--o-faint); font-size: var(--o-t-sm); font-weight: 500; }
#office .lg-runs { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
#office .lg-run { display: grid; gap: 0.5rem; min-width: 0; padding: 1rem 1.25rem; border: 1px solid var(--o-line-2); border-radius: var(--tk-r-lg); background: var(--o-panel); }
#office .lg-run__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; }
#office .lg-run__phase { color: var(--o-text); font-weight: 650; }
#office .lg-run__verdict { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 650; }
#office .lg-run__verdict::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--o-faint); }
#office .lg-run--ok .lg-run__verdict { color: var(--o-ok); }
#office .lg-run--ok .lg-run__verdict::before { background: var(--o-ok-mark); }
#office .lg-run--bad .lg-run__verdict { color: var(--o-bad); }
#office .lg-run--bad .lg-run__verdict::before { background: var(--o-bad-mark); }
#office .lg-run--attn .lg-run__verdict { color: var(--o-warn-ink); }
#office .lg-run--attn .lg-run__verdict::before { background: var(--o-warn); }
#office .lg-run__when { margin-left: auto; color: var(--o-faint); font-size: var(--o-t-sm); font-weight: 500; font-variant-numeric: tabular-nums; }
#office .lg-run__read, #office .lg-run__counts, #office .lg-run__note { margin: 0; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
#office .lg-run__counts { color: var(--o-text); }
#office .lg-run__addr { color: var(--o-text); font-variant-numeric: tabular-nums; }
#office .lg-run__h { margin: 0 0 0.25rem; color: var(--o-text); font-size: var(--o-t-sm); font-weight: 650; }
#office .lg-run__block, #office .lg-run__lab { padding-top: 0.5rem; border-top: 1px solid var(--o-line); }
#office .lg-run__list { display: grid; gap: 0.25rem; margin: 0; padding: 0 0 0 1rem; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.5; }
#office .lg-run__list li { overflow-wrap: anywhere; }
#office .lg-run__block .lg-run__list { color: var(--o-text); }
#office .lg-run__lab .lg-run__list { list-style: none; padding: 0; }
#office .lg-run__lab li[data-tone="ok"] { color: var(--o-text); }
#office .lg-run__lab li[data-tone="bad"] { color: var(--o-bad); }
#office .lg-run__lab li[data-tone="attn"] { color: var(--o-warn-ink); }
#office .lg-run__lab .lg-run__sub { padding-left: 1rem; color: var(--o-faint); font-variant-numeric: tabular-nums; }
#office .lg-run__warn { padding-top: 0.5rem; border-top: 1px solid var(--o-line); color: var(--o-dim); font-size: var(--o-t-sm); }
#office .lg-run__warn > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--o-text); font-weight: 600; }
#office .lg-run__warn > summary:focus-visible { outline: 1px solid var(--focus-edge); outline-offset: 2px; border-radius: var(--tk-r-sm); }
@media (max-width: 40rem) {
  #office .lg-run { padding: 0.75rem; }
  #office .lg-run__when { margin-left: 0; flex-basis: 100%; }
}
