/* Recording review desk. Load after focus-recordings.css and white-modules.css. */
body.mac-theme .focus-shell .recordings-page.rec-research {
  --rec-ink: #263b34;
  --rec-muted: #62736a;
  --rec-accent: #2b675b;
  --rec-line: #dce6df;
  --rec-soft: #f4f8f5;
  max-width: 1500px;
  color: var(--rec-ink);
}
body.mac-theme .focus-shell .recordings-page.rec-research :is(button, a, summary, input, select):focus-visible {
  outline: 3px solid #6ca994;
  outline-offset: 2px;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 0 0 17px;
  border: 0;
  border-bottom: 1px solid var(--rec-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-heading::before { display: none; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-heading > div { display: block; min-width: 0; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-kicker,
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-kicker,
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-queue-heading > span {
  display: block;
  margin-bottom: 5px;
  color: var(--rec-accent);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .11em;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-heading h1 {
  margin: 0 0 4px;
  color: var(--rec-ink);
  font-size: clamp(26px, 2.7vw, 35px);
  font-weight: 760;
  letter-spacing: -.055em;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-heading p { color: var(--rec-muted); font-size: 13px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-heading > button {
  min-height: 37px;
  border: 1px solid var(--rec-line);
  border-radius: 8px;
  background: #fff;
  color: var(--rec-accent);
  box-shadow: none;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 83px;
  margin-bottom: 13px;
  padding: 14px 21px;
  border: 1px solid var(--rec-line);
  border-left: 4px solid var(--rec-accent);
  border-radius: 10px;
  background: #fff;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-summary > div { display: flex; align-items: baseline; gap: 13px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-summary > div > span { color: var(--rec-muted); font-size: 13px; font-weight: 650; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-summary > div > strong {
  color: var(--rec-accent);
  font-size: 32px;
  font-weight: 770;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-summary > div > strong small { margin-left: 2px; font-size: 13px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-summary p { margin: 0; color: var(--rec-muted); font-size: 12px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-summary p strong { color: var(--rec-ink); }

/* The left surface is a queue, and the right surface explains the next real recording. */
body.mac-theme .focus-shell .recordings-page.rec-research .rec-review-workspace {
  display: grid;
  grid-template-columns: minmax(390px, .9fr) minmax(380px, 1.1fr);
  align-items: start;
  gap: 13px;
}
body.mac-theme .focus-shell .recordings-page.rec-research :is(.rec-queue-panel, .rec-queue-preview, .rec-detail-queue, .rec-detail-main) {
  min-width: 0;
  border: 1px solid var(--rec-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-panel { overflow: hidden; padding: 14px 0 12px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-view-switch {
  display: flex;
  gap: 5px;
  margin: 0 15px 18px;
  padding: 4px;
  border: 1px solid #e7eeea;
  border-radius: 9px;
  background: #f5f8f6;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-view-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--rec-muted);
  box-shadow: none;
  text-align: center;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-view-tile[aria-pressed="true"] { border-color: var(--rec-line); background: #fff; color: var(--rec-accent); box-shadow: 0 1px 3px #24402d10; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-view-tile :is(.rec-view-label, .rec-view-count) { display: inline; margin: 0; color: inherit; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-view-tile .rec-view-count { font-variant-numeric: tabular-nums; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-view-tile small { display: none; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-section-heading {
  display: block;
  margin: 0 19px 13px;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-section-kicker { margin-bottom: 4px; color: var(--rec-accent); font-size: 9px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-section-heading h2 { color: var(--rec-ink); font-size: 19px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-section-heading h2 span { margin-left: 3px; font-size: 12px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-section-heading p { margin-top: 3px; font-size: 11px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-search {
  display: flex;
  align-items: center;
  width: auto;
  min-height: 37px;
  margin: 0 15px 9px;
  border-color: var(--rec-line);
  border-radius: 7px;
  background: #fff;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-search input { min-width: 0; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-list-meta { min-height: 35px; margin: 0 15px 5px; padding: 0; font-size: 10px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-list-range { gap: 3px 8px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-panel > .rec-pagination-bottom { padding: 11px 15px 0; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-list { overflow: hidden; border: 0; border-top: 1px solid var(--rec-line); border-bottom: 1px solid var(--rec-line); border-radius: 0; box-shadow: none; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  min-height: 86px;
  padding: 13px 18px;
  border: 0;
  border-bottom: 1px solid #e8eee9;
  border-left: 3px solid transparent;
  border-radius: 0;
  background: #fff;
  text-align: left;
}
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row:last-child { border-bottom: 0; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row:hover { background: #f5f9f6; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row.is-review,
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row.is-current { border-left-color: var(--rec-accent); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row.is-error { border-left-color: #bd7b50; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row.is-current { background: #eef6f0; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 6px; background: #eaf4ed; color: var(--rec-accent); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-mark .icon { width: 14px; height: 14px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-main { min-width: 0; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-main strong { display: block; overflow: hidden; color: var(--rec-ink); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-meta { display: flex; flex-wrap: wrap; gap: 3px 9px; margin: 4px 0 0; color: var(--rec-muted); font-size: 10px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-project-label { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-end { display: flex; align-items: center; justify-content: space-between; grid-column: 2; min-width: 0; gap: 9px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row .rec-row-mark { grid-column: 1; grid-row: 1 / span 2; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row .rec-row-main { grid-column: 2; grid-row: 1; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row .rec-row-end { grid-column: 2; grid-row: 2; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-state { max-width: 100%; padding: 3px 7px; border-radius: 5px; background: #f0f4f1; color: #557166; font-size: 10px; font-weight: 690; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-state.needs-review { background: #e6f2e9; color: var(--rec-accent); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-state.has-error { background: #fbefe7; color: #916443; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-action { margin-left: auto; color: var(--rec-accent); font-size: 10px; font-weight: 660; }

body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-preview { position: sticky; top: 18px; overflow: hidden; min-height: 510px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-content { display: flex; flex-direction: column; min-height: 510px; padding: 25px 27px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-kicker { margin: 0; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-status { padding: 4px 8px; border-radius: 5px; background: #eff4f0; color: var(--rec-muted); font-size: 10px; font-weight: 700; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-status.is-review { background: #e6f2e9; color: var(--rec-accent); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-status.is-error { background: #fbefe7; color: #916443; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-content h2 { max-width: 32ch; margin: 21px 0 8px; color: var(--rec-ink); font-size: clamp(21px, 2vw, 27px); font-weight: 740; line-height: 1.45; letter-spacing: -.045em; overflow-wrap: anywhere; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-meta { display: flex; gap: 14px; margin: 0 0 12px; color: var(--rec-muted); font-size: 11px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-intro { margin: 16px 0 19px; color: #4f665b; font-size: 13px; line-height: 1.65; word-break: keep-all; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-candidates { padding-top: 16px; border-top: 1px solid var(--rec-line); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-candidates h3 { margin: 0 0 9px; color: var(--rec-ink); font-size: 13px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-candidates h3 span { color: var(--rec-accent); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-candidates ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-candidates li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 42px; padding: 7px 10px; border: 1px solid #e7eeea; border-radius: 7px; background: #fbfcfb; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-kind { color: var(--rec-accent); font-size: 10px; font-weight: 700; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-candidates li strong { min-width: 0; overflow: hidden; color: var(--rec-ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-candidates li small { color: var(--rec-muted); font-size: 10px; white-space: nowrap; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-candidates > p { color: var(--rec-muted); font-size: 10px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-footer { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 23px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-footer > span { color: var(--rec-muted); font-size: 10px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-footer button { flex: none; min-height: 38px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-empty { display: grid; place-content: center; min-height: 510px; padding: 28px; text-align: center; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-empty h2 { margin: 15px 0 5px; color: var(--rec-ink); font-size: 19px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-empty p { margin: 0; color: var(--rec-muted); font-size: 12px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-mark { display: grid; place-items: center; justify-self: center; width: 40px; height: 40px; border-radius: 9px; background: #eaf4ed; color: var(--rec-accent); }

/* Deep-linked recording detail keeps a narrow, factual review queue beside the source. */
body.mac-theme .focus-shell .recordings-page.rec-detail.rec-research { max-width: 1500px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-backline { margin: 0 0 12px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-backline button { color: var(--rec-accent); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-workspace { display: grid; grid-template-columns: 272px minmax(0, 1fr); align-items: start; gap: 13px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-queue { position: sticky; top: 18px; overflow: hidden; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-queue-heading { padding: 18px 17px 13px; border-bottom: 1px solid var(--rec-line); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-queue-heading h2 { margin: 0; color: var(--rec-ink); font-size: 16px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-queue-heading p { margin: 5px 0 0; color: var(--rec-muted); font-size: 10px; line-height: 1.5; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-queue-list { max-height: min(730px, calc(100dvh - 205px)); overflow-y: auto; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row.is-compact { grid-template-columns: minmax(0, 1fr); min-height: 75px; gap: 4px; padding: 11px 13px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row.is-compact .rec-row-mark { display: none; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row.is-compact .rec-row-main { grid-column: 1; grid-row: 1; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row.is-compact .rec-row-end { grid-column: 1; grid-row: 2; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row.is-compact .rec-row-end { grid-column: 1; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row.is-compact .rec-row-action { display: none; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-main { padding: 23px 26px 28px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-heading { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 11px; padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--rec-line); border-radius: 0; background: transparent; box-shadow: none; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-heading::before { display: none; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-eyebrow { display: block; margin-bottom: 4px; color: var(--rec-accent); font-size: 11px; font-weight: 700; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-heading h1 { color: var(--rec-ink); font-size: clamp(21px, 2vw, 27px); line-height: 1.4; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-next-step { margin: 16px 0 19px; border-radius: 8px; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-pane-tabs { margin-bottom: 17px; border-color: var(--rec-line); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-pane-tabs button[aria-selected="true"] { color: var(--rec-accent); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-pane-tabs button[aria-selected="true"]::after { background: var(--rec-accent); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-candidates { border-color: var(--rec-line); background: #fff; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-candidate { border-color: var(--rec-line); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-candidate > summary:hover,
body.mac-theme .focus-shell .recordings-page.rec-research .rec-candidate[open] > summary { background: #f2f8f4; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-candidate-title strong { color: var(--rec-ink); }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-candidate-body { color: #475f54; }
body.mac-theme .focus-shell .recordings-page.rec-research .rec-evidence { border-color: var(--rec-line); background: #f8faf8; }
body.mac-theme .focus-shell .recordings-page.rec-research :is(.summary-groups button[aria-pressed="true"], .rec-filters button[aria-pressed="true"]) { color: var(--rec-accent); background: #eaf4ed; }

@media (max-width: 1120px) {
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-review-workspace { grid-template-columns: minmax(325px, .9fr) minmax(330px, 1.1fr); }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-workspace { grid-template-columns: 220px minmax(0, 1fr); }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-candidates li { grid-template-columns: 58px minmax(0, 1fr); }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-candidates li small { display: none; }
}
@media (max-width: 980px) {
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-review-workspace { grid-template-columns: minmax(0, 1fr); }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-preview { position: static; min-height: 0; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-content { min-height: 0; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-workspace { grid-template-columns: minmax(0, 1fr); }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-queue { display: none; }
}
@media (max-width: 560px) {
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-heading > div { display: block; min-width: 0; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-heading h1 { font-size: 25px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-heading p { grid-column: 1 / -1; font-size: 11px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-page-heading > button { grid-column: 2; grid-row: 1; max-width: 126px; padding: 7px 8px; font-size: 10px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-summary { display: block; padding: 12px 14px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-summary > div { justify-content: space-between; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-summary p { margin-top: 5px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-view-switch { gap: 2px; margin: 0 10px 14px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-view-tile { gap: 3px; min-height: 37px; padding: 5px 4px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-view-tile :is(.rec-view-label, .rec-view-count) { font-size: 10px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-section-heading { margin: 0 13px 12px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-search { margin: 0 11px 7px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-list-meta { margin: 0 11px 6px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-list-range > span + span { display: none; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-queue-row { grid-template-columns: 21px minmax(0, 1fr); gap: 7px; padding: 11px 12px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-mark { width: 21px; height: 21px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-row-action { display: none; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-content { padding: 18px 17px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-content h2 { margin-top: 14px; font-size: 21px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-preview-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-main { padding: 17px 14px 19px; }
  body.mac-theme .focus-shell .recordings-page.rec-research .rec-detail-heading h1 { font-size: 21px; }
}
