/* The console's one stylesheet: the CL-1 look (docs/director_inputs/CONSOLE_LOOK_2026-10-04/BRIEF.md tokens).
   No external font: a serif stack beginning with Georgia and the system sans stack. No inline style anywhere
   (Content-Security-Policy default-src 'self'): the outcome bar's widths are the classes g-1 .. g-100 at the end. */
:root { color-scheme: light; --ground: #F7F6F2; --card: #FFFFFF; --border: #D9DCE5; --rule: #E4E6EC;
        --ink: #18213F; --secondary: #3F4867; --caption: #565E7A; --band: #18213F; --band-ink: #F7F6F2;
        --band-link: #C9D2EA; --current: #E2B25C; --section: #A8382B;
        --ok: #1F6F52; --stale: #A15C00; --held: #B3261E; --demo: #4B3FA6;
        --serif: Georgia, "Times New Roman", Times, serif;
        --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.45 var(--sans); color: var(--ink); background: var(--ground); }
a { color: var(--ink); }
a:hover { color: var(--section); }
code { font-size: 0.9em; overflow-wrap: anywhere; }
p { margin: 0; }

/* header band */
.band { background: var(--band); color: var(--band-ink); }
.band-in { max-width: 1200px; margin: 0 auto; padding: 16px 32px; display: flex; flex-wrap: wrap; align-items: center;
           gap: 12px 36px; }
.wordmark { color: var(--band-ink); text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.wm-name { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.wm-tag { font-size: 12px; font-weight: 600; letter-spacing: 3px; color: var(--band-link); }
.band nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 320px; }
.band nav a { color: var(--band-link); text-decoration: none; padding: 12px 14px; min-height: 44px;
              border-bottom: 3px solid transparent; }
.band nav a:hover { color: #FFFFFF; }
.band nav a[aria-current="page"] { color: #FFFFFF; font-weight: 600; border-bottom-color: var(--current); }
.who { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--band-link); }
.signout { font: inherit; font-size: 14px; color: var(--band-ink); background: transparent; border: 1px solid #5A6488;
           border-radius: 6px; padding: 10px 14px; min-height: 44px; cursor: pointer; }
.who-status:empty { display: none; }
.banner { background: var(--demo); color: #FFFFFF; padding: 10px 20px; text-align: center; font-weight: 600; }

/* page */
main { max-width: 1200px; margin: 0 auto; padding: 36px 32px 56px; display: flex; flex-direction: column; gap: 24px; }
h1 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 700; }
h2 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 700; }
.asof { margin: -12px 0 0; font-size: 14px; color: var(--caption); }
.label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
         color: var(--section); }
.secondary { margin: 0; color: var(--secondary); }
.caption { margin: 0; font-size: 14px; color: var(--caption); }
.strong { font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }

/* cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 24px 28px;
        display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card.status { padding: 22px 24px; gap: 8px; }
.status .label { color: var(--caption); }
.big-row { display: flex; align-items: center; gap: 12px; }
.big { font-family: var(--serif); font-size: 28px; font-weight: 700; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.dot-fresh { background: var(--ok); }
.dot-stale { background: var(--stale); }
.pair { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.card.wide { flex: 2 1 520px; }
.card.side { flex: 1 1 320px; }
.headline { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.25; }
.stack { display: flex; flex-direction: column; gap: 6px; }
.part { border-top: 1px solid var(--rule); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.sub { font-size: 14px; font-weight: 600; color: var(--secondary); }
.next { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.task-head { display: block; }
.task-title { display: block; font-size: 13px; }
.counts-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.count-inline strong { font-size: 22px; }
.count-inline span { color: var(--secondary); }
.push { margin-left: auto; }
.counts { display: flex; flex-wrap: wrap; gap: 12px; }
.count { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 20px;
         display: flex; align-items: baseline; gap: 10px; }
.count strong { font-size: 24px; }
.count span { color: var(--secondary); }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.figure-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.figure { font-family: var(--serif); font-size: 44px; font-weight: 700; line-height: 1; }
.study { border-top: 1px solid var(--rule); padding: 12px 0 0; display: flex; flex-direction: column; gap: 6px; }
.study-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.rows { display: flex; flex-direction: column; }
.row { border-top: 1px solid var(--rule); padding: 11px 0; display: flex; flex-wrap: wrap; align-items: baseline;
       gap: 4px 20px; }
.row .caption { flex: none; width: 84px; }
.row .grow { flex: 1 1 280px; min-width: 0; }
.items { margin: 0; padding-left: 20px; columns: 2 220px; font-size: 14px; color: var(--secondary); }
.plain-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plain-list li { display: flex; flex-direction: column; }

/* tables: wide ones scroll in their own box */
.scroll { overflow-x: auto; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
table.t-record { min-width: 760px; }
th { text-align: left; padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--caption);
     border-bottom: 1px solid var(--border); }
td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--rule); }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
.t-work td:first-child { width: 44%; }
td .caption { display: block; margin-top: 4px; }

/* state words: always the word, its colour and a mark beside it (never colour alone) */
.state-fresh, .state-running { color: var(--ok); font-weight: 600; }
.state-stale, .state-absent, .state-unreadable { color: var(--stale); font-weight: 600; }
.state-held { color: var(--held); font-weight: 600; }
.state-fresh::before, .state-running::before, .state-stale::before, .state-absent::before,
.state-unreadable::before, .state-held::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em;
  margin-right: 0.35em; border-radius: 50%; background: currentColor; vertical-align: 0.08em; }
.state-absent::before, .state-unreadable::before { background: transparent; border: 2px solid currentColor; }

/* chips: tinted ground, dark text */
.chip { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
        white-space: nowrap; background: #EDEBE4; color: var(--secondary); }
.chip::first-letter { text-transform: uppercase; }
.chip.oc-chg { background: #E3E6EF; color: #18213F; }
.chip.oc-inc { background: #F6E9CC; color: #6B4A00; }
.chip.oc-con { background: #DCEFE6; color: #14523B; }
.chip.oc-nsp { background: #E6E2F2; color: #3F3870; }
.chip.oc-nor { background: #F8DEDA; color: #8A2318; }
.chip.oc-mck, .chip.oc-unk { background: #EDEBE4; color: #3F4867; }

/* the outcome bar (the public record's colours) */
.bar { display: flex; height: 18px; border-radius: 4px; overflow: hidden; gap: 2px; }
.seg { flex-basis: 0; flex-shrink: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--secondary); }
.key { display: flex; align-items: center; gap: 8px; }
.swatch { width: 12px; height: 12px; flex: none; }
.seg.oc-chg, .swatch.oc-chg { background: #18213F; }
.seg.oc-inc, .swatch.oc-inc { background: #E2B25C; }
.seg.oc-mck, .swatch.oc-mck { background: #8A91A8; }
.seg.oc-con, .swatch.oc-con { background: #1F6F52; }
.seg.oc-nor, .swatch.oc-nor { background: #D2493A; }
.seg.oc-nsp, .swatch.oc-nsp { background: #5E5690; }
.seg.oc-unk, .swatch.oc-unk { background: #C9CDD8; }

/* forms (the sign-in and enrolment pages) */
button { font: inherit; padding: 10px 16px; min-height: 44px; border-radius: 6px; border: 1px solid var(--border);
         background: var(--card); color: var(--ink); cursor: pointer; }
input { font: inherit; padding: 10px; min-height: 44px; width: 100%; max-width: 22rem; border: 1px solid var(--border);
        border-radius: 6px; }

/* phone width (390 px): the status cards become one card of three rows, the pairs stack, the page links scroll
   sideways; wide tables scroll in their own box (above) */
@media (max-width: 640px) {
  .band-in { padding: 14px 20px 0; gap: 6px 12px; }
  .wm-name { font-size: 20px; }
  .band nav { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; gap: 2px; }
  .band nav a { padding: 12px 10px; white-space: nowrap; }
  .who { margin-left: auto; }
  .who > span:first-child { display: none; }
  main { padding: 22px 20px 28px; gap: 16px; }
  h1 { font-size: 26px; }
  .headline { font-size: 20px; }
  .card { padding: 18px; }
  .status-grid { display: flex; flex-direction: column; gap: 0; background: var(--card); border: 1px solid var(--border);
                 border-radius: 10px; padding: 4px 18px; }
  .card.status { border: 0; border-radius: 0; padding: 12px 0; border-top: 1px solid var(--rule); }
  .card.status:first-child { border-top: 0; }
  .big { font-size: 20px; }
  .pair { flex-direction: column; }
  .card.wide, .card.side { flex: 1 1 auto; }
  .figure { font-size: 34px; }
}

/* the outcome bar's widths: one class per whole per cent of the records (render.BAR_STEPS) */
.g-1 { flex-grow: 1; } .g-2 { flex-grow: 2; } .g-3 { flex-grow: 3; } .g-4 { flex-grow: 4; } .g-5 { flex-grow: 5; }
.g-6 { flex-grow: 6; } .g-7 { flex-grow: 7; } .g-8 { flex-grow: 8; } .g-9 { flex-grow: 9; } .g-10 { flex-grow: 10; }
.g-11 { flex-grow: 11; } .g-12 { flex-grow: 12; } .g-13 { flex-grow: 13; } .g-14 { flex-grow: 14; } .g-15 { flex-grow: 15; }
.g-16 { flex-grow: 16; } .g-17 { flex-grow: 17; } .g-18 { flex-grow: 18; } .g-19 { flex-grow: 19; } .g-20 { flex-grow: 20; }
.g-21 { flex-grow: 21; } .g-22 { flex-grow: 22; } .g-23 { flex-grow: 23; } .g-24 { flex-grow: 24; } .g-25 { flex-grow: 25; }
.g-26 { flex-grow: 26; } .g-27 { flex-grow: 27; } .g-28 { flex-grow: 28; } .g-29 { flex-grow: 29; } .g-30 { flex-grow: 30; }
.g-31 { flex-grow: 31; } .g-32 { flex-grow: 32; } .g-33 { flex-grow: 33; } .g-34 { flex-grow: 34; } .g-35 { flex-grow: 35; }
.g-36 { flex-grow: 36; } .g-37 { flex-grow: 37; } .g-38 { flex-grow: 38; } .g-39 { flex-grow: 39; } .g-40 { flex-grow: 40; }
.g-41 { flex-grow: 41; } .g-42 { flex-grow: 42; } .g-43 { flex-grow: 43; } .g-44 { flex-grow: 44; } .g-45 { flex-grow: 45; }
.g-46 { flex-grow: 46; } .g-47 { flex-grow: 47; } .g-48 { flex-grow: 48; } .g-49 { flex-grow: 49; } .g-50 { flex-grow: 50; }
.g-51 { flex-grow: 51; } .g-52 { flex-grow: 52; } .g-53 { flex-grow: 53; } .g-54 { flex-grow: 54; } .g-55 { flex-grow: 55; }
.g-56 { flex-grow: 56; } .g-57 { flex-grow: 57; } .g-58 { flex-grow: 58; } .g-59 { flex-grow: 59; } .g-60 { flex-grow: 60; }
.g-61 { flex-grow: 61; } .g-62 { flex-grow: 62; } .g-63 { flex-grow: 63; } .g-64 { flex-grow: 64; } .g-65 { flex-grow: 65; }
.g-66 { flex-grow: 66; } .g-67 { flex-grow: 67; } .g-68 { flex-grow: 68; } .g-69 { flex-grow: 69; } .g-70 { flex-grow: 70; }
.g-71 { flex-grow: 71; } .g-72 { flex-grow: 72; } .g-73 { flex-grow: 73; } .g-74 { flex-grow: 74; } .g-75 { flex-grow: 75; }
.g-76 { flex-grow: 76; } .g-77 { flex-grow: 77; } .g-78 { flex-grow: 78; } .g-79 { flex-grow: 79; } .g-80 { flex-grow: 80; }
.g-81 { flex-grow: 81; } .g-82 { flex-grow: 82; } .g-83 { flex-grow: 83; } .g-84 { flex-grow: 84; } .g-85 { flex-grow: 85; }
.g-86 { flex-grow: 86; } .g-87 { flex-grow: 87; } .g-88 { flex-grow: 88; } .g-89 { flex-grow: 89; } .g-90 { flex-grow: 90; }
.g-91 { flex-grow: 91; } .g-92 { flex-grow: 92; } .g-93 { flex-grow: 93; } .g-94 { flex-grow: 94; } .g-95 { flex-grow: 95; }
.g-96 { flex-grow: 96; } .g-97 { flex-grow: 97; } .g-98 { flex-grow: 98; } .g-99 { flex-grow: 99; } .g-100 { flex-grow: 100; }
