
  :root {
    color-scheme: light dark;
    /* Ink and surface are separate scales so a card can sit on the page
       without a border doing all the work - the flat grey-on-white with one
       hairline everywhere is what made this read as a template. */
    --ink: #10131a; --dim: #5b6472; --faint: #98a1b0;
    --line: #e6e9ee; --line-strong: #cfd5de;
    --bg: #ffffff; --page: #f6f7f9; --panel: #ffffff; --panel-alt: #fafbfc;
    --brand: #2f5fd8; --brand-strong: #244cb0; --brand-ink: #ffffff;
    --brand-wash: #eef2fd;
    --ok: #1a7f37; --warn: #b25b00; --bad: #b3261e;
    --radius: 14px; --radius-sm: 10px; --measure: 68ch;
    --lift: 0 1px 2px rgba(16, 19, 26, 0.06);
    --lift-2: 0 1px 2px rgba(16, 19, 26, 0.06),
              0 8px 24px -12px rgba(16, 19, 26, 0.18);
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --ink: #e9ecf1; --dim: #9aa4b2; --faint: #6b7482;
      --line: #232831; --line-strong: #333b47;
      --bg: #0f1115; --page: #0b0d11; --panel: #14171d; --panel-alt: #171b22;
      --brand: #6c92f5; --brand-strong: #8aa9f8; --brand-ink: #0f1115;
      --brand-wash: #182034;
      --ok: #4ac26b; --warn: #e0913a; --bad: #f2685c;
      --lift: 0 1px 2px rgba(0, 0, 0, 0.4);
      --lift-2: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.7);
    }
  }
  * { box-sizing: border-box; }
  body {
    margin: 0; color: var(--ink); background: var(--page);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16.5px; line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-variant-numeric: tabular-nums;
  }
  /* The page is wide; prose is not. Text stays at a readable line length
     while cards, tables and diagrams use the full width - three boxes
     squeezed into a reading column are three cramped boxes. */
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
  main.wrap > .hero,
  main.wrap section > h2,
  main.wrap section > p,
  main.wrap > h2,
  main.wrap > p,
  main.wrap ul.plain,
  main.wrap .proof { max-width: 72ch; }
  .narrow { max-width: var(--measure); }
  header.top {
    border-bottom: 1px solid var(--line); padding: 0.85rem 0;
    position: sticky; top: 0; background: var(--bg); z-index: 5;
  }
  header.top .wrap {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
  }
  /* One word. The markup is Zenda<span>vox</span>; a flex gap here laid
     the text and the span out 8px apart, so from 0.6.1 to 0.7.7 every page
     read "Zenda vox". Steven, 2026-09-07: "Zendavox is all one word." */
  .brand {
    font-weight: 700; letter-spacing: -0.025em; font-size: 1.18rem;
    display: inline-flex; align-items: center;
  }
  .brand span { color: var(--brand); }
  a.brand, a.brand:hover { text-decoration: none; color: inherit; }
  /* Every signed-in page carries the same way to everywhere else, as
     buttons down the left rather than a row of text links - Steven,
     2026-09-06: "I would rather have buttons" and "vertical down the far
     left side". Below 860px they lie flat above the page instead, because
     a phone has no far left to spare. */
  .withnav { display: flex; align-items: flex-start; gap: 2rem; }
  .withnav > main {
    flex: 1 1 auto; min-width: 0; padding-left: 0; padding-right: 0;
  }
  nav.sitenav {
    flex: 0 0 13.5rem; width: 13.5rem; padding: 1.75rem 0 2rem 1.5rem;
    display: flex; flex-direction: column; gap: 0.2rem;
    position: sticky; top: 4.6rem;
  }
  /* Anything you can click is --brand, here and everywhere else. These were
     --dim, which is the colour of text that is not a link, and a menu of
     grey words does not look like a menu - Steven, 2026-09-06. */
  nav.sitenav a {
    display: block; padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
    border: 1px solid transparent; color: var(--brand);
    font-size: 0.93rem; font-weight: 600; text-decoration: none;
    line-height: 1.3; transition: background 0.12s ease, color 0.12s ease;
  }
  nav.sitenav a:hover {
    background: var(--brand-wash); color: var(--brand-strong);
  }
  nav.sitenav .navgroup {
    margin: 1.25rem 0 0.35rem; padding: 0 0.75rem; font-size: 0.82rem;
    font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--faint);
  }
  @media (max-width: 860px) {
    .withnav { display: block; }
    nav.sitenav {
      width: auto; position: static; flex-direction: row; flex-wrap: wrap;
      gap: 0.4rem; padding: 0.9rem 1.5rem 0;
    }
    nav.sitenav a {
      display: inline-block; border-color: var(--line);
      background: var(--bg); color: var(--ink);
    }
    nav.sitenav .navgroup { display: none; }
  }
  h1 {
    font-size: clamp(1.85rem, 3.6vw, 2.45rem); line-height: 1.15;
    letter-spacing: -0.03em; font-weight: 700; margin: 0 0 0.6rem;
  }
  h2 {
    font-size: 1.28rem; letter-spacing: -0.018em;
    margin: 2.75rem 0 0.85rem; font-weight: 660;
  }
  h3 {
    font-size: 1.01rem; margin: 0 0 0.4rem; font-weight: 650;
    letter-spacing: -0.008em;
  }
  p { margin: 0 0 1rem; }
  .lede { font-size: 1.08rem; color: var(--dim); margin-bottom: 1.5rem; }
  .muted { color: var(--dim); }
  .small { font-size: 0.92rem; }
  /* The line above a heading that says what kind of thing this is. */
  .eyebrow {
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.09em;
    text-transform: uppercase; color: var(--faint); margin: 0 0 0.5rem;
  }
  section { padding: 0.5rem 0; }
  .hero { padding: 2.25rem 0 0.5rem; }
  .hero + section > h2 { margin-top: 1.25rem; }
  .grid {
    display: grid; gap: 1.25rem; margin: 1.5rem 0;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .grid.trio { grid-template-columns: repeat(3, 1fr); }
  .grid.quad { grid-template-columns: repeat(2, 1fr); }
  @media (max-width: 720px) {
    .grid.trio, .grid.quad { grid-template-columns: 1fr; }
  }
  /* A card, not a box with a coloured stripe. The stripe was doing the work
     that a surface, a border and a little elevation should be doing. */
  .panel {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.35rem 1.5rem;
    box-shadow: var(--lift);
  }
  .panel > h3:first-child { margin-top: 0; }
  .panel + .panel { margin-top: 1.25rem; }
  /* A row of figures at the top of a page: what is open, what is waiting. */
  .stats {
    display: grid; gap: 1rem; margin: 1.5rem 0;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .stat {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1rem 1.15rem;
    box-shadow: var(--lift);
  }
  .stat .figure {
    font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em;
    line-height: 1.1; margin: 0 0 0.15rem;
  }
  .stat .label {
    font-size: 0.82rem; color: var(--dim); margin: 0; line-height: 1.35;
  }
  .stat.attention .figure { color: var(--warn); }
  /* A small coloured word: draft, approved, open, overdue. */
  .pill {
    display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 650; letter-spacing: 0.01em;
    border: 1px solid var(--line-strong); color: var(--dim);
    background: var(--panel-alt); white-space: nowrap;
  }
  .pill.good {
    color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent);
    background: color-mix(in srgb, var(--ok) 10%, transparent);
  }
  .pill.open {
    color: var(--brand-strong);
    border-color: color-mix(in srgb, var(--brand) 45%, transparent);
    background: var(--brand-wash);
  }
  .pill.late {
    color: var(--warn);
    border-color: color-mix(in srgb, var(--warn) 45%, transparent);
    background: color-mix(in srgb, var(--warn) 10%, transparent);
  }
  /* What to say when a table or list has nothing in it yet: never a blank
     area, always what it is for and what to do about it. */
  .empty {
    border: 1px dashed var(--line-strong); border-radius: var(--radius);
    padding: 1.5rem; text-align: center; color: var(--dim);
    background: var(--panel-alt);
  }
  .empty strong { display: block; color: var(--ink); margin-bottom: 0.3rem; }
  /* A definition list read as two columns - what the profile page is. */
  .facts { display: grid; gap: 0 1.5rem; margin: 0; }
  .facts > div {
    display: grid; grid-template-columns: 13rem 1fr; gap: 0.75rem;
    padding: 0.6rem 0; border-bottom: 1px solid var(--line);
  }
  .facts > div:last-child { border-bottom: none; }
  .facts dt { color: var(--dim); font-size: 0.9rem; }
  .facts dd { margin: 0; }
  @media (max-width: 620px) {
    .facts > div { grid-template-columns: 1fr; gap: 0.15rem; }
  }
  /* Two-column form rows, so a profile with thirty fields is not thirty
     full-width boxes down an endless page. */
  .formgrid {
    display: grid; gap: 0 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .formgrid .full { grid-column: 1 / -1; }
  .fieldnote {
    font-size: 0.84rem; color: var(--dim); margin: 0.3rem 0 0;
  }
  .proof {
    border-left: 3px solid var(--brand); background: var(--panel);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.1rem 1.3rem; margin: 1.75rem 0;
  }
  .proof .figure {
    font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.4rem;
  }
  table {
    width: 100%; border-collapse: collapse; margin: 0; font-size: 0.94rem;
  }
  th, td {
    text-align: left; padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--line); vertical-align: top;
  }
  thead th {
    font-weight: 640; color: var(--dim); font-size: 0.76rem;
    text-transform: uppercase; letter-spacing: 0.06em;
    background: var(--panel-alt); border-bottom: 1px solid var(--line-strong);
    white-space: nowrap;
  }
  tbody tr:last-child td { border-bottom: none; }
  tbody tr:hover td { background: var(--panel-alt); }
  /* The table itself is the card: a hairline round the whole thing beats a
     stack of full-width rules running off both edges. */
  .tablewrap {
    overflow-x: auto; border: 1px solid var(--line);
    border-radius: var(--radius); background: var(--panel);
    box-shadow: var(--lift); margin: 1.25rem 0;
  }
  .panel .tablewrap { box-shadow: none; }
  ul.plain { list-style: none; padding: 0; margin: 1rem 0; }
  ul.plain li {
    padding: 0.5rem 0 0.5rem 1.6rem; position: relative;
    border-bottom: 1px solid var(--line);
  }
  ul.plain li::before {
    content: ""; position: absolute; left: 0.25rem; top: 1.12rem; width: 7px;
    height: 7px; border-radius: 50%; background: var(--brand);
  }
  .cards {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }
  .card {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.35rem 1.5rem;
    box-shadow: var(--lift);
  }
  .card h2 { margin-top: 0; font-size: 1.15rem; }
  /* A card that is itself a link to somewhere - a module's home page, a
     section of a profile. The whole card is the target, not a word in it. */
  a.card {
    display: block; color: inherit; text-decoration: none;
    transition: border-color 0.12s ease, box-shadow 0.12s ease,
                transform 0.12s ease;
  }
  a.card:hover {
    border-color: var(--brand); box-shadow: var(--lift-2);
    transform: translateY(-1px); color: inherit;
  }
  a.card h3 { color: var(--brand-strong); }
  a.card p { margin-bottom: 0; color: var(--dim); font-size: 0.93rem; }
  label {
    display: block; margin: 1rem 0 0.3rem; font-size: 0.88rem;
    font-weight: 620; color: var(--ink);
  }
  label .hint { display: block; font-weight: 450; color: var(--dim); }
  /* Inputs fill their column; buttons never do. A submit stretched the
     width of the page is the single loudest "unstyled template" tell, and
     this stylesheet used to do it to every button on the site. */
  input, select, textarea {
    width: 100%; padding: 0.6rem 0.75rem; font: inherit; font-size: 0.97rem;
    border-radius: 10px; border: 1px solid var(--line);
    background: var(--bg); color: var(--ink);
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
  }
  input::placeholder, textarea::placeholder { color: var(--faint); }
  input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
  input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
  }
  textarea { line-height: 1.6; resize: vertical; }
  button {
    display: inline-flex; align-items: center; justify-content: center;
    width: auto; margin-top: 1.1rem; padding: 0.58rem 1.15rem;
    font: inherit; font-size: 0.95rem; font-weight: 620; line-height: 1.2;
    cursor: pointer; border: 1px solid transparent; border-radius: 10px;
    background: var(--brand); color: var(--brand-ink);
    box-shadow: var(--lift);
    transition: filter 0.12s ease, transform 0.06s ease;
  }
  button:hover { filter: brightness(1.07); }
  button:active { transform: translateY(1px); }
  button.quiet, a.btn.quiet {
    background: var(--bg); color: var(--ink); border-color: var(--line-strong);
    box-shadow: none; font-weight: 600;
  }
  button.quiet:hover, a.btn.quiet:hover {
    border-color: var(--brand); color: var(--brand);
  }
  button.danger { background: var(--bad); color: #fff; }
  /* One size for a button that sits inside a table row or beside a heading,
     rather than four hand-written inline styles that had all drifted. */
  button.btn-sm, a.btn.btn-sm {
    margin-top: 0; padding: 0.34rem 0.75rem; font-size: 0.86rem;
    font-weight: 600;
  }
  /* A link that is an action: same shape as a button, still a link, so it
     never has to be a <button> wrapped in an <a>. */
  a.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.58rem 1.15rem; border-radius: 10px;
    border: 1px solid transparent; background: var(--brand);
    color: var(--brand-ink); font-size: 0.95rem; font-weight: 620;
    line-height: 1.2; text-decoration: none; box-shadow: var(--lift);
    transition: filter 0.12s ease;
  }
  a.btn:hover { filter: brightness(1.07); color: var(--brand-ink); }
  a.btn.quiet:hover { filter: none; }
  a { color: var(--brand); text-underline-offset: 2px; }
  a:hover { color: var(--brand-strong); }
  input[type=checkbox] { width: auto; margin: 0 0.45rem 0 0; }
  .show {
    display: flex; align-items: center; margin: 0.4rem 0 0; font-size: 0.88rem;
    font-weight: 450;
  }
  .banner {
    padding: 0.9rem 1.15rem; border-radius: var(--radius-sm);
    margin: 1.25rem 0; border: 1px solid var(--line);
    font-size: 0.95rem;
  }
  .ok {
    background: color-mix(in srgb, var(--ok) 12%, transparent);
    border-color: var(--ok);
  }
  .bad {
    background: color-mix(in srgb, #c03333 12%, transparent); border-color: #c03333;
  }
  .warn {
    background: color-mix(in srgb, var(--warn) 14%, transparent);
    border-color: var(--warn);
  }
  figure.flow { margin: 1.75rem 0; }
  figure.flow svg { width: 100%; height: auto; display: block; }
  footer {
    border-top: 1px solid var(--line); margin-top: 4rem; padding: 2rem 0 3rem;
    color: var(--dim); font-size: 0.9rem;
  }
  @media (max-width: 560px) {
    body { font-size: 16px; }
    .hero { padding-top: 2.5rem; }
    h2 { margin-top: 2.5rem; }
  }
