/* REQ-126: Your office, a person's office, Waiting for you, tasks and the device check. The colour tokens (:root) and shared components are in ../styles.css; this file never defines :root variables. */

/* Your office (REQ-21): the waiting room as a queue, in the side panel. */
.mo-head { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 12px; padding-right: 20px; }
.mo-head h2 { margin: 4px 0 0; font: 800 26px/1.1 var(--font-display); }
.mo-body { display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.mo-sec { display: flex; flex-direction: column; gap: 10px; }
.mo-sec h3 { margin: 0; font: 700 11px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.mo-empty { margin: 0; color: var(--mute); font-size: 14px; }
.mo-row { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--needs); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mo-row.in { border-left-color: #f59e0b; box-shadow: 0 0 0 1px color-mix(in srgb, #f59e0b 35%, transparent); }
.mo-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mo-av { width: 40px; height: 40px; border-radius: 12px; flex: none; background: var(--sunken); }
.mo-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mo-who b { font: 800 17px/1.15 var(--font-display); }
.mo-who span { color: var(--mute); font-size: 12.5px; overflow-wrap: anywhere; }
.mo-wait { font: 600 11.5px/1 var(--font-mono); color: var(--mute); white-space: nowrap; padding: 4px 8px; border-radius: 999px; background: var(--sunken); }
.mo-wait.long { color: var(--needs); background: var(--needs-soft); }
.mo-qs { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 14.5px; overflow-wrap: anywhere; }
.mo-noq, .mo-now, .mo-by { margin: 0; font-size: 13.5px; color: var(--mute); overflow-wrap: anywhere; }
.mo-log { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--mute); overflow-wrap: anywhere; }
.mo-ago { font: 600 11px/1 var(--font-mono); color: var(--faint); }
.mo-nosession { font-size: 12.5px; color: var(--faint); }
.mo-act .btn { padding: 10px 14px; font-size: 13.5px; }
.mo-act .btn.ghost { padding: 9px 12px; }
.mo-hbtns { display: flex; gap: 8px; flex: none; }
.mo-hbtns .btn.icon { min-width: 44px; min-height: 44px; }
/* REQ-77.1: 'Hide waiting list', an icon and words; 'Hide' below 400 px. */
.mo-hbtns .mo-fold { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px; white-space: nowrap; }
.mo-fold i { font-style: normal; }
.mo-fold .mo-fold-short { display: none; }
@media (max-width: 399px) { .mo-fold .mo-fold-long { display: none; } .mo-fold .mo-fold-short { display: inline; } }
/* REQ-61: the waiting list folded away, a tab at the right edge of the Office page. */
.mo-tab { position: fixed; right: 0; top: 66%; transform: translateY(-50%); z-index: 30; min-width: 44px; min-height: 44px; padding: 10px 14px 10px 12px; border: 1px solid var(--line); border-right: 0; border-left: 4px solid var(--needs); border-radius: 14px 0 0 14px; background: var(--bg); color: var(--ink); font: 700 13.5px/1.2 var(--font-mono); white-space: nowrap; cursor: pointer; box-shadow: -6px 0 20px rgba(0, 0, 0, 0.18); animation: mo-tab-in .2s ease-out; }
.mo-tab:hover { background: var(--panel); }
.mo-tab:focus-visible { outline: 3px solid var(--needs); outline-offset: 2px; }
.mo-tab[hidden] { display: none; }
@keyframes mo-tab-in { from { transform: translate(100%, -50%); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .mo-tab { animation: none; } }
/* REQ-77.1: on a phone the tab is a button in the office bar (it lives there), so it
   never covers the floor switch or any other control. */
@media (max-width: 600px) {
  .mo-tab { position: static; transform: none; z-index: auto; border: 1px solid var(--line); border-left: 4px solid var(--needs); border-radius: 999px; box-shadow: none; animation: none; background: var(--panel); }
}

/* Your office (REQ-32): numbered questions with their state as shape plus label (Pablo's UX note). */
.mo-qs { margin: 8px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.mo-q { padding-left: 2px; }
.mo-qtext { font-weight: 600; overflow-wrap: anywhere; }
.mo-qmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: 12.5px; color: var(--mute); }
.mo-qst { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font: 800 11px/1.6 var(--font-mono); letter-spacing: .04em; background: var(--needs-soft); color: var(--needs); flex: none; }
.mo-qst i { font-style: normal; }
.q-answered .mo-qst { background: var(--done-soft); color: var(--done); }
.q-dropped .mo-qst { background: var(--idle-soft); color: var(--idle); }
.mo-qwait { font: 600 11.5px/1.3 var(--font-mono); color: var(--faint); }
/* REQ-74.2: possibly stale (icon + words). */
/* Pablo: neutral, a hint to the agent rather than an alarm for Steven. */
.mo-qstale, .q-stale { font: 600 11.5px/1.3 var(--font-mono); color: var(--mute); }
.q-stale { margin: 4px 0 0; }
.mo-qnote { margin: 4px 0 0; font-size: 13px; color: var(--ink); }
.q-needs-more .mo-qnote { color: var(--needs); font-weight: 700; }
.mo-qctx-btn { min-height: 44px; margin-top: 2px; }
.mo-qctx { margin: 2px 0 0; font-size: 13px; color: var(--mute); overflow-wrap: anywhere; }
.mo-qctx[hidden] { display: none; }
.mo-done { margin: 8px 0 0; font-weight: 800; color: var(--done); }
/* The list: a panel by the top right on a wide screen, a bottom sheet on a phone. */
.wy-panel { inset: 0 0 auto auto; margin: 120px 20px 0 0; width: min(460px, calc(100vw - 40px)); height: auto; max-height: calc(100dvh - 140px); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.wy-panel::backdrop { background: rgba(8, 6, 14, 0.25); }
.wy-head .wy-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; }
.wy-body { gap: 16px; padding-bottom: 20px; }
.wy-sec h3 { margin: 0 0 6px; font: 800 11px/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.wy-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); text-decoration: none; }
.wy-row:hover { border-color: var(--accent); }
.wy-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wy-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wy-t b { font: 700 14px/1.3 var(--font-body); overflow-wrap: anywhere; }
.wy-d { color: var(--mute); font-size: 12.5px; overflow-wrap: anywhere; }
.wy-verb { flex: none; padding: 6px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font: 800 12px/1 var(--font-body); }
.wy-none { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--mute); font-size: 15px; }
.wy-none i { font-style: normal; color: var(--done); font-weight: 800; }
@media (max-width: 600px) {
  .wy-panel { inset: auto 0 0 0; margin: 0; width: 100vw; max-width: 100vw; max-height: 85dvh; border-radius: 16px 16px 0 0; border-width: 1px 0 0; }
}
.wy-row.nolink:hover { border-color: var(--line); }

/* Waiting for you (REQ-62). The page: the same grouped rows as the quick
   list, a little wider; the release sign-offs below. */
.wf .wf-groups { display: flex; flex-direction: column; gap: 18px; margin: 6px 0 28px; }
/* REQ-114.2.4: what waits on invited people, under the count. */
.wf .wf-invited { margin: 10px 0 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.wf .wy-none { padding: 18px 0; }
.wf .wy-row { padding: 12px 14px; }
.wf #signoffsView { padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.wf #signoffsView > h2 { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin: 0 0 4px; }
.wf .wy-sec { scroll-margin-top: 90px; }
/* A row's end: how long it has waited ('2 h', as text), then the verb. */
.wy-end { flex: none; display: flex; align-items: center; gap: 10px; }
.wy-age { color: var(--mute); font: 700 12px/1 var(--font-mono); white-space: nowrap; }
.wy-all { display: flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 700; text-decoration: none; }
.wy-all:hover { text-decoration: underline; }
/* REQ-84.3: My office (everyone but Steven), and a person’s office panel. Its own class:
   .my-office-btn is the office’s 👑 Your office (office.js, the UAT harness). */
.person-office-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font-weight: 700; }
.person-office-btn[hidden] { display: none; }
.person-office-btn .tab-badge { margin: 0; min-width: 22px; height: 22px; font-size: 12px; }
.ho-wait { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--accent-soft); }
.ho-wait[hidden] { display: none; }
.ho-wait p { margin: 0; }
.ho-wait .btn { min-height: 44px; }
.ho-body { gap: 18px; }
.ho-sum { margin: 0; font-weight: 700; }
.ho-ro { padding: 10px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.ho-sec { display: flex; flex-direction: column; gap: 10px; }
.ho-h { margin: 0; font: 800 11px/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ho-unread { border-color: var(--accent); }
.ho-linked { margin: 0; font-weight: 700; }
/* REQ-158.1.5: why this person has a human office. */
.ho-broke { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--line); font-weight: 700; }
.wy-who { flex: 0 0 auto; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.wy-who img { width: 100%; height: 100%; object-fit: cover; }
.wy-who + .wy-t { flex: 1; min-width: 0; }
.wy-uncounted h3 { color: var(--mute); }
/* Your office with one item selected (REQ-62.1): a side panel over the office. */
.oi-panel { width: min(560px, 100vw); }
.oi-head { position: relative; }
.oi-head h2:focus { outline: none; }
.oi-body { gap: 14px; padding-bottom: 24px; }
.oi-req { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.oi-id { margin: 0; font-size: 15px; }
.oi-why { margin: 0; color: var(--mute); font-size: 14px; }
.oi-stories { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.oi-gaps { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--needs-soft); color: var(--ink); font-size: 13.5px; }
.oi-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.oi-btns .btn { min-height: 44px; }
.oi-confirm { margin: 0; font-weight: 700; }
.oi-q { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.oi-q h3 { margin: 0; font: 800 11px/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.oi-qtext { margin: 0; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.oi-answer { width: 100%; box-sizing: border-box; }
.oi-done { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--done-soft); color: var(--done); font-weight: 700; }
.oi-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 700; text-decoration: none; }
.oi-link:hover { text-decoration: underline; }
/* REQ-57: a comment on the requirement, and Next at the foot of the item panel. */
.oi-comment { display: flex; flex-direction: column; gap: 8px; }
.oi-foot { display: flex; justify-content: flex-end; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.oi-next { min-height: 44px; }
@media (max-width: 600px) {
  .wy-row { flex-wrap: wrap; }
  .wy-end { width: 100%; justify-content: space-between; }
}

/* My tasks in Your office (REQ-65): kind (icon + label), progress as text and
   a bar, each step numbered with its instruction, where (monospace, with a
   44 px copy button) and a separate "You should see" block (Pablo). */
.oi-meta { margin: 0; color: var(--mute); font-size: 13px; overflow-wrap: anywhere; }
.oi-meta a { color: var(--accent); }
.oi-kind { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.oi-ttitle { margin: 0; font: 800 17px/1.3 var(--font-display); }
.oi-progress { display: flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--font-mono); color: var(--mute); }
.oi-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.oi-bar i { display: block; height: 100%; background: var(--accent); }
.oi-build { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.oi-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.oi-label { font: 700 10.5px/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.oi-mono { flex: 1 1 200px; min-width: 0; padding: 8px 10px; border-radius: 8px; background: var(--bg); font: 12.5px/1.4 var(--font-mono); overflow-wrap: anywhere; color: var(--ink); }
a.oi-mono { color: var(--accent); }
.oi-copybtn { min-height: 44px; min-width: 64px; }
.oi-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.oi-step { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.oi-step.r-done, .oi-step.r-pass { border-color: color-mix(in srgb, var(--done) 45%, var(--line)); }
.oi-step.r-fail { border-color: color-mix(in srgb, var(--blocked) 55%, var(--line)); }
.oi-sn { margin: 0; font: 800 11px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.oi-stext { margin: 0; font-size: 16px; font-weight: 600; white-space: pre-wrap; overflow-wrap: anywhere; }
.oi-see { padding: 10px 12px; border-radius: 10px; background: var(--done-soft); }
.oi-see b { display: block; font: 800 11px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--done); }
.oi-see p { margin: 2px 0 0; overflow-wrap: anywhere; }
.oi-res { margin: 0; font-weight: 700; }
.oi-res.r-done, .oi-res.r-pass { color: var(--done); }
.oi-res.r-fail { color: var(--blocked); }
.oi-btns .btn.on { box-shadow: inset 0 0 0 2px currentColor; }
.oi-fail { display: flex; flex-direction: column; gap: 6px; }
.oi-fail textarea { width: 100%; box-sizing: border-box; }
.oi-close { padding-top: 6px; border-top: 1px solid var(--line); }
.oi-hist summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--mute); font-weight: 700; }
.oi-hist ul { margin: 0; padding-left: 18px; color: var(--mute); font-size: 13px; }

/* A device check, one step per screen (REQ-65.3, Pablo): full screen on a
   phone, a centred column on a wide screen; Pass / Fail in a sticky bottom
   bar, each at least 56 px and half the width. */
.dc-panel { margin: 0; padding: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; background: var(--bg); color: var(--ink); }
.dc-panel[open] { display: flex; flex-direction: column; }
.dc-panel::backdrop { background: var(--bg); }
.dc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px 6px; max-width: 720px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.dc-head h2 { margin: 2px 0 0; font: 800 18px/1.25 var(--font-display); overflow-wrap: anywhere; }
.dc-pause { min-height: 44px; min-width: 72px; flex: none; }
.dc-progress { display: flex; align-items: center; gap: 10px; padding: 0 16px 8px; max-width: 720px; width: 100%; margin: 0 auto; box-sizing: border-box; font: 700 12.5px/1 var(--font-mono); color: var(--mute); }
.dc-main { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 12px 16px 24px; max-width: 720px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.dc-n { margin: 0; font: 800 12px/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.dc-n:focus { outline: none; }
.dc-text { margin: 0; font: 700 24px/1.35 var(--font-body); white-space: pre-wrap; overflow-wrap: anywhere; }
.dc-where { margin: 0; color: var(--mute); font: 13px/1.4 var(--font-mono); overflow-wrap: anywhere; }
.dc-see p { font-size: 17px; }
.dc-pre { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.dc-pre summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.dc-pre p { margin: 4px 0; overflow-wrap: anywhere; }
.dc-nav { display: flex; justify-content: space-between; gap: 10px; }
.dc-nav .btn { min-height: 44px; }
.dc-bar { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--line); }
.dc-bar .btn { flex: 1 1 50%; min-height: 56px; font-size: 18px; font-weight: 800; justify-content: center; }
.dc-pass { background: var(--done); color: var(--on-done, #fff); border-color: var(--done); }
.dc-fail { background: var(--blocked); color: var(--on-blocked, #fff); border-color: var(--blocked); }
.dc-toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 6px 8px 6px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.dc-toast .btn { min-height: 44px; color: var(--bg); border-color: transparent; }
.dc-scrim { position: fixed; inset: 0; background: rgba(8, 6, 14, 0.45); }
.dc-sheet { position: fixed; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin: 0 auto; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--panel); box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.3); }
.dc-sheet h3 { margin: 0; font: 800 18px/1.2 var(--font-display); }
.dc-sheet textarea { width: 100%; box-sizing: border-box; }
.dc-sheet .err:empty { display: none; }
.dc-photo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dc-addphoto { min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; }
.dc-addphoto:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.dc-thumb { display: flex; align-items: center; gap: 8px; margin: 0; }
.dc-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.dc-thumb figcaption { font: 12px/1.3 var(--font-mono); color: var(--mute); overflow-wrap: anywhere; }
.dc-done { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; }
.oi-run { min-height: 56px; font-size: 16px; font-weight: 800; }
.oi-shot { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 700; }
/* REQ-71.3: a question's answer options. Steven gets buttons (44 px, full
   text, wrapping, one column); everyone else a list. 'Answered: …' + Undo. */
.qa-box { margin-top: 6px; }
.qa-opts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.qa-opts.read li { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; background: var(--panel); overflow-wrap: anywhere; }
.qa-opt { min-height: 44px; width: 100%; text-align: left; white-space: normal; overflow-wrap: anywhere; justify-content: flex-start; line-height: 1.35; padding-top: 10px; padding-bottom: 10px; height: auto; }
.qa-live { margin: 0; font-weight: 600; }
.qa-live:empty { display: none; }
/* REQ-171.2 (Pablo's note 3): the suggested option on --accent-soft with a 'Suggested' chip (never colour alone); an answered one marks its pick. */
.qa-opt, .qa-opts.read li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.qa-otext { flex: 1 1 12ch; min-width: 0; overflow-wrap: anywhere; }
.qa-opt.qa-suggested, .qa-opts.read li.qa-suggested { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.qa-sugg, .qa-picked { flex: none; background: var(--panel); color: var(--accent); font-weight: 700; }
.qa-opts.read li.qa-pick { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.qa-undo { min-height: 44px; margin-top: 6px; }

/* REQ-95.2: a suggestion in Your office: authors, prototype links, the two
   buttons (Dismiss is secondary, not red), the inline reason and the Undo toast. */
.su-box { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; }
.su-proto { margin: 0; font-size: 13px; color: var(--mute); overflow-wrap: anywhere; }
.su-reason { width: 100%; min-height: 44px; }
.su-toast { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--ink, #17151F); color: var(--panel, #fff); font-weight: 600; }
.su-toast .btn { min-height: 44px; color: inherit; border-color: currentColor; }
.mo-answer { min-height: 44px; display: inline-flex; align-items: center; }
.wy-src { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--accent); font-size: 13px; font-weight: 700; text-decoration: none; }
.wy-src:hover { text-decoration: underline; }

/* REQ-116.1 (UAT-157): a person's own avatar beside their office's name. */
.pa-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pa-face { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--sunken); }
/* REQ-171.3: Waiting for you opens the cycle view. */
.wf-cycle { min-height: 44px; display: inline-flex; align-items: center; margin: 0 0 12px; text-decoration: none; }
.wf-cycle[hidden] { display: none; }

/* REQ-175.1: a release row's own buttons (Approve / Change, Add / Not now),
   the scope change it opens to, and the Change dialog. */
.wy-acting:hover { border-color: var(--line); }
.wy-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.wy-acts .btn { min-height: 44px; }
.wy-scope { margin: 6px 0 0 12px; color: var(--mute); font-size: 13px; }
.wy-scope summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--ink); }
.wy-scope ul { margin: 4px 0 0; padding-left: 18px; }
.wy-scope li.add { color: var(--done); }
.wy-scope li.drop { color: var(--blocked); }
.tc-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tc-word { color: var(--mute); font-size: 12px; }
.tc-scope { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin: 12px 0 0; max-height: 40vh; overflow: auto; }
.tc-req { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.tc-req input { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .tc-dates { grid-template-columns: 1fr; }
  .wy-acts { width: 100%; }
  .wy-acts .btn { flex: 1; }
}
/* REQ-211.1.1: a train to approve on Waiting for you opens its release document. */
.wy-doc { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--accent); }
