/* The GrowMailers dashboard's own stylesheet (Email Delivery Tracker, app/styles.css at commit 352052c, live since
   5 Nov 2026), copied unchanged so the App Vault looks exactly like the dashboard (Sourya, 15 Nov 2026: "use the
   dashboard UI/UX as a baseline ... Only the contents are going to be different"). The only edits: the two font
   paths point at this app's /static/fonts/. The App Vault's own few rules are in app.css, loaded after this file. */

/* Email Delivery Tracker — internal reporting view.

   Direction (redesign 23 Sep): calm instrument. Soft, slightly cool-tinted surfaces instead of
   black-and-white; one quiet blue accent for anything interactive; colour otherwise reserved for
   DATA (chart series) and STATUS (small dots, always next to a word). Nothing is highlighted in
   a solid signal colour any more — the old orange pills and bands read as alarms.

   Every text token clears WCAG AA 4.5:1 on its surface in both themes (measured 23 Sep).
   Chart series (blue/aqua) were run through the dataviz validator: dark all-pass; light aqua is
   2.82:1 on white, so every chart ships with a legend and its table (the required relief). */

/* Type — the GrowMailers brand typefaces (Brand Guidelines pp. 14-16), served from this site's own
   fonts/ folder (copied from the company font kit; licence in fonts/OFL.txt). Nothing is fetched from
   Google or anywhere else.
   DM Sans carries all text, in the guide's Regular and Bold. Its digits are proportional — a "1" is
   about half the width of a "0" and the font has no tabular figures — so numbers that must line up
   down a column (table cells, chart axes, tooltip values) are set in Inter Tight, the guide's own
   named alternate, whose tabular figures keep every column aligned. */
@font-face {
  font-family: "DM Sans";
  src: url("/static/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/static/fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* Colour (redesign, 1 Oct): the GrowMailers brand (Brand Guidelines (1), pp. 12-13). Dark Slate
   Gray carries the type, Mint Green the links, emphasis and the one primary action; the guide's
   lighter layout puts slate-50 behind the page. The chart series and status colours are NOT brand
   colours: they stay the validated set (colour-blind separation and 3:1 on their surface, re-run
   1 Oct against white and against the dark theme's slate-950 cards).
   Every text token clears WCAG AA 4.5:1 on every surface it sits on, in both themes (computed). */
:root {
  --mint-50: #EEFBF4; --mint-100: #D7F4E4; --mint-200: #B3E7CD; --mint-300: #80D5B0; --mint-400: #44B286;
  --mint-500: #2A9F74; --mint-600: #1B805D; --mint-700: #16664C; --mint-800: #14513E; --mint-900: #114334;
  --slate-50: #F2F9F8; --slate-100: #DDF0EF; --slate-200: #BEE3E1; --slate-300: #91CFCD; --slate-400: #5DB3B2;
  --slate-500: #429898; --slate-600: #397E81; --slate-700: #34666A; --slate-800: #315559; --slate-900: #2C484C; --slate-950: #192F33;

  --bg:          #F2F9F8;     /* behind everything: the sidebar sits on it */
  --inset:       #ffffff;     /* the page panel beside the sidebar */
  --surface:     #ffffff;     /* cards */
  --surface-2:   #F7FBFB;
  --surface-3:   #EAF3F2;
  --side-hover:  #E6F0EF;
  --line:        #DCE8E7;
  --line-soft:   #E9F1F0;
  --ink:         #192F33;     /* 14.0:1 on white, 13.2:1 on slate-50 */
  --ink-soft:    #3E585C;     /*  7.6:1 / 7.1:1 */
  --ink-faint:   #536B6E;     /*  5.7:1 / 5.3:1, 4.9:1 on the hover tint */
  --accent:      #1B805D;     /* mint-600: links and emphasis, 4.9:1 on white */
  --accent-ink:  #ffffff;
  --accent-soft: #EEFBF4;
  --accent-line: #B3E7CD;
  --primary:     #16664C;     /* mint-700: the one filled button, white text 6.9:1 */
  --primary-hover: #14513E;
  --primary-ink: #ffffff;
  --good:        #1b8a61;
  --warn:        #b7791f;
  --bad:         #c0443f;
  --good-ink: #0B6E46; --good-bg: #E8F6EF; --good-line: #BFE5D2;     /* badges: 5.7:1 */
  --bad-ink:  #A1201C; --bad-bg:  #FDECEA; --bad-line:  #F4C7C3;     /*          6.7:1 */
  --focus:       #2A9F74;
  --hatch:       rgba(25, 47, 51, .07);
  --series-1:    #2a78d6;
  --series-2:    #173a6b;     /* navy, by lightness — the old green read as "good" and failed 3:1 */
  --series-3:    #b0278c;     /* magenta: an automation's share (1 Oct; validated against 1, 2 and 4) */
  --series-4:    #6b6b1f;     /* olive: an email whose kind is not known */
  /* status in charts: good / watch / bad / not counted (validated for colour-blind separation) */
  --st-good: #0b6e46; --st-warn: #c48a00; --st-bad: #c5221f; --st-muted: #8a94a6;
  --grid:        #E6EEED;
  --axis:        #C3D1D0;
  --mark:        #A9BCBB;                 /* quiet non-data marks (coverage meter) */
  --radius:      10px;
  --shadow-sm:   0 1px 2px rgba(25, 47, 51, .05);
  --shadow:      0 1px 2px rgba(25, 47, 51, .04), 0 2px 8px rgba(25, 47, 51, .04);
  --side-w:      264px;
  /* the guide's order: DM Sans, then Helvetica Neue or Inter Tight where DM Sans is not available */
  --sans: "DM Sans", "Helvetica Neue", "Inter Tight", "Segoe UI", Helvetica, Arial, sans-serif;
  --num:  "Inter Tight", "Helvetica Neue", "DM Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}

/* White is the default for everyone, whatever the computer's own setting (owner, 23 Sep: "make
   the background white, not black"; again 1 Oct: "white theme as a default"). There is deliberately
   NO prefers-color-scheme rule: it turned the whole tracker — sign-in page included — black on every
   dark-mode PC. Dark exists only for someone who picks it, and it is pure black and white (owner,
   1 Oct: "this dark theme is bad make pure black and white"): neutral black surfaces, white type, a
   white primary action — no slate or mint tint. Text tokens computed: white 16.5-21:1, #D4D4D4
   11-14:1, #A3A3A3 6.5-8.3:1 on every dark surface; the chart colours re-validated on #111111. */
:root[data-theme="dark"] {
  --bg: #000000; --inset: #0A0A0A; --surface: #111111; --surface-2: #171717; --surface-3: #1F1F1F;
  --side-hover: #141414;
  --line: #2A2A2A; --line-soft: #1C1C1C;
  --ink: #FFFFFF; --ink-soft: #D4D4D4; --ink-faint: #A3A3A3;
  --accent: #FFFFFF; --accent-ink: #000000; --accent-soft: #1A1A1A; --accent-line: #525252;
  --primary: #FFFFFF; --primary-hover: #E5E5E5; --primary-ink: #000000;
  --good: #43b98d; --warn: #dcaa4a; --bad: #e57373;
  --good-ink: #7FE0B0; --good-bg: #0F2219; --good-line: #1F4D36;
  --bad-ink: #F6B4B0; --bad-bg: #2A1415; --bad-line: #5C2A2D;
  --focus: #FFFFFF;
  --hatch: rgba(255, 255, 255, .08);
  --series-1: #5b9cf0; --series-2: #b9d6fb; --series-3: #d65db1; --series-4: #b8b45a;
  --st-good: #5fd39a; --st-warn: #d4952a; --st-bad: #e5484d; --st-muted: #7d8a9c;
  --grid: #1F1F1F; --axis: #3A3A3A; --mark: #525252;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow: 0 1px 2px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 14px/1.55 var(--sans);
}
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
a { color: var(--accent); }
:root[data-theme="dark"] main a:not(.btn):not(.nav-item):not(.ov-bar-name) { text-decoration: underline; text-underline-offset: 2px; }
svg.i, .icon-btn svg, .side-theme svg {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
/* the 16px icons draw with stroke 2, so every icon's line is about 1.3px whatever its size
   (16px at 1.75 came out lighter than the 18px ones beside it) */
svg.i.s16, .nav-sub svg.i, .nav-chev, .btn svg.i, .find svg.i { width: 16px; height: 16px; stroke-width: 2; }
/* a disclosure chevron points right when closed and turns down when open */
svg.i.disc { transition: transform .15s ease; }
details[open] > summary > svg.disc, .bk-toggle[aria-expanded="true"] svg.disc { transform: rotate(90deg); }
.disc-sum { display: flex; align-items: center; gap: 6px; list-style: none; }
.disc-sum::-webkit-details-marker { display: none; }
/* a warning sign inside free text (alerts, workbook notes): the icon, in the warning colour */
svg.i.inline-warn { display: inline-block; vertical-align: -3px; color: var(--st-warn); }
@media (prefers-reduced-motion: reduce) { svg.i.disc { transition: none; } }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 9px 14px; border-radius: 8px;
        background: var(--primary); color: var(--primary-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- masthead (the privacy page) */
/* Solid, not frosted glass: a backdrop blur is recomputed over the moving page on every frame of
   a scroll — a known cause of the jerky scrolling reported on 24 Sep. */
.masthead {
  position: sticky; top: 0; z-index: 30;
  background: var(--inset);
  border-bottom: 1px solid var(--line);
}
.masthead-in {
  max-width: 1440px; margin: 0 auto; padding: 0 24px;
  height: 56px; display: flex; align-items: center; gap: 16px; justify-content: space-between;
}
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
/* the GrowMailers logo (brand/ — the website's own files), light and dark versions */
.wordmark-logo { height: 24px; width: auto; display: block; flex: none; }
.wordmark-logo.logo-dark, .side-logo.logo-dark { display: none; }
:root[data-theme="dark"] .wordmark-logo.logo-light, :root[data-theme="dark"] .side-logo.logo-light { display: none; }
:root[data-theme="dark"] .wordmark-logo.logo-dark, :root[data-theme="dark"] .side-logo.logo-dark { display: block; }
.wordmark-sep { color: var(--ink-faint); }
.wordmark-app { font: 400 14px/1 var(--sans); color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- the app shell */
/* The sidebar sits on the slate-50 ground; the page is a white panel beside it (the efferd
   dashboard's inset layout). The header button folds the sidebar away on a wide screen; below
   1024px the sidebar is a sheet over the page. */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; width: var(--side-w); flex: none;
  display: flex; flex-direction: column; gap: 6px; padding: 14px 12px 12px;
  background: var(--bg); transition: margin-left .2s ease;
}
:root.side-collapsed .sidebar { margin-left: calc(-1 * var(--side-w)); visibility: hidden; }
.inset {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  margin: 8px 8px 8px 0; min-height: calc(100vh - 16px);
  background: var(--inset); border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
}
:root.side-collapsed .inset { margin-left: 8px; }
.side-head { display: flex; align-items: flex-start; gap: 8px; padding: 2px 6px 12px; }
/* align-items: flex-start keeps the logo its own shape: a column flexbox stretches its children to the
   widest line ("Email Delivery Tracker"), which drew the logo 13% too wide — the guide: never stretch */
.side-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; color: inherit; min-width: 0; }
.side-logo { height: 26px; width: auto; display: block; flex: none; }
.side-app { font: 400 12.5px/1.2 var(--sans); color: var(--ink-faint); }
.icon-btn.side-close { display: none; margin-left: auto; }
.side-nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; margin: 0 -4px; padding: 0 4px; }
.nav-group { margin: 0 0 14px; }
.nav-group-label {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  margin: 0; padding: 6px 10px; border: 0; background: none; border-radius: 6px;
  font: 400 12px/1.2 var(--sans); color: var(--ink-faint); text-align: left;
}
button.nav-group-label { cursor: pointer; }
button.nav-group-label:hover { color: var(--ink); background: var(--side-hover); }
.nav-chev { width: 16px !important; height: 16px !important; stroke-width: 2; transition: transform .15s ease; }
.nav-group-label[aria-expanded="false"] .nav-chev { transform: rotate(-90deg); }
.nav-list, .nav-sub { list-style: none; margin: 0; padding: 0; }
.nav-item {
  display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 6px 10px; border-radius: 8px;
  font: 400 14px/1.25 var(--sans); color: var(--ink-soft); text-decoration: none;
}
a.nav-item:hover { background: var(--side-hover); color: var(--ink); }
.nav-item[aria-current="page"] {
  background: var(--inset); color: var(--ink); font-weight: 700;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
}
.nav-item[aria-current="page"] svg.i { color: var(--accent); }
.nav-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-item.is-disabled { color: var(--ink-faint); cursor: not-allowed; }
.nav-count {
  min-width: 22px; padding: 3px 7px; border-radius: 999px; text-align: center;
  font: 700 11px/1.2 var(--num); font-variant-numeric: tabular-nums; color: var(--ink-soft); background: var(--surface-3);
}
.nav-count.is-critical { color: var(--bad-ink); background: var(--bad-bg); }
.nav-client.is-open:not([aria-current]) { color: var(--ink); font-weight: 700; }
.nav-status { display: inline-flex; align-items: center; gap: 5px; flex: none; font: 400 11.5px/1 var(--sans); color: var(--ink-faint); }
.nav-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--st-good); }
.nav-status.warn::before { background: var(--st-warn); }
.nav-status.bad::before { background: var(--st-bad); }
.nav-status.idle::before { background: var(--st-muted); }
.nav-sub { margin: 4px 0 8px 17px; padding-left: 9px; border-left: 1px solid var(--line); }
.nav-sub .nav-item { min-height: 30px; padding: 5px 9px; font-size: 13.5px; gap: 9px; }
.nav-sub svg.i { width: 16px; height: 16px; }
.side-foot { border-top: 1px solid var(--line); padding: 10px 2px 0; display: flex; flex-direction: column; gap: 6px; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 4px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
          font: 700 13px/1 var(--sans); color: var(--mint-800); background: var(--mint-100); }
:root[data-theme="dark"] .avatar { color: #FFFFFF; background: #262626; }
.side-user-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.side-user-mail { font: 400 13px/1.2 var(--sans); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user-role { font: 400 12px/1.2 var(--sans); color: var(--ink-faint); }
form.signout { display: inline; margin: 0; }
.side-theme {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border: 0; border-radius: 8px;
  background: none; font: 400 13px/1.2 var(--sans); color: var(--ink-soft); cursor: pointer; text-align: left;
}
.side-theme:hover { background: var(--side-hover); color: var(--ink); }
.side-theme .i-moon { display: none; }
:root[data-theme="dark"] .side-theme .i-sun { display: none; }
:root[data-theme="dark"] .side-theme .i-moon { display: block; }
.nav-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(8, 20, 22, .48); }
.nav-overlay[hidden] { display: none; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 12px;
  background: var(--inset); border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0;
}
.topbar-sep { width: 1px; height: 18px; background: var(--line); flex: none; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 34px; height: 34px; border-radius: 8px; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-3); color: var(--ink); }
.asof { font: 400 12.5px/1 var(--sans); color: var(--ink-faint); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.asof::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--st-good); }
.whoami, .alertbadge, .theme-toggle {
  font: 400 12.5px/1 var(--sans); color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; cursor: pointer;
}
.whoami:hover, .alertbadge:hover, .theme-toggle:hover { color: var(--ink); background: var(--surface-2); }
.alertbadge { display: inline-flex; align-items: center; gap: 7px; }
.alertbadge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--st-muted); }
.alertbadge.has-critical::before { background: var(--st-warn); }
.alertbadge-wb { color: var(--ink-faint); }            /* the workbooks' count, apart from the tracker's */
@media (max-width: 560px) { .alertbadge-wb { display: none; } }   /* a phone's header keeps one number */

/* ---------------------------------------------------------------- crumbs (in the header) */
.crumbs { min-width: 0; flex: 1; }
/* no overflow clip on the list: it cut the links' focus ring to a sliver (review, 2 Oct); only the last crumb clips */
.crumbs ol { list-style: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin: 0; padding: 0; min-width: 0; }
.crumbs li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-faint); white-space: nowrap; min-width: 0; }
/* on a phone only the current page gives way (ending in "…"); the links before it keep their width,
   so a word never slides under the next "/" */
.crumbs li:not(:last-child) { flex-shrink: 0; }
.crumbs li:last-child { overflow: hidden; }
.crumbs li:last-child > * { overflow: hidden; text-overflow: ellipsis; }
.crumbs li + li::before { content: "/"; color: var(--axis); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

@media (max-width: 1023px) {
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; height: auto;
    width: min(300px, 86vw); margin-left: 0 !important; padding-top: 12px;
    background: var(--inset); box-shadow: 0 16px 48px rgba(8, 20, 22, .28);
    transform: translateX(-104%); visibility: hidden;
    transition: transform .22s ease, visibility 0s linear .22s;
  }
  body.nav-open .sidebar { transform: none; visibility: visible; transition: transform .22s ease, visibility 0s; }
  .icon-btn.side-close { display: inline-flex; }
  .inset, :root.side-collapsed .inset { margin: 0; border-radius: 0; box-shadow: none; min-height: 100vh; }
  .topbar { border-radius: 0; }
}

/* ---------------------------------------------------------------- main */
main { width: 100%; max-width: 1440px; margin: 0 auto; padding: 24px 28px 56px; flex: 1; }
main:focus { outline: none; }
.loading { padding: 48px 0; color: var(--ink-faint); font: 400 13px/1 var(--sans); }

.view-head { margin: 0 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
.view-head > * { grid-column: 1; }
.eyebrow { font: 400 12px/1 var(--sans); color: var(--ink-faint); margin: 0 0 8px; }
.view-title { font: 700 28px/1.2 var(--sans); letter-spacing: -.02em; margin: 0; color: var(--ink); }
.view-title:focus, .view-title:focus-visible { outline: none; }   /* focused for screen readers, not a control */
.view-sub { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; max-width: 72ch; }

.section-title { font: 700 13px/1.2 var(--sans); color: var(--ink-soft); margin: 32px 0 12px; }

/* add a client (admins) */
.view-head .head-action { display: inline-block; margin-top: 12px; text-decoration: none; }
.add-panel { max-width: 720px; padding: 20px 24px 24px; }
.add-steps { margin: 0 0 20px; padding-left: 20px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; }
.add-steps strong { color: var(--ink); font-weight: 700; }
.add-field { margin: 0 0 16px; }
.add-field label { display: block; font: 400 13px/1.3 var(--sans); color: var(--ink-soft); margin: 0 0 6px; }
.add-field input, .add-field select { width: 100%; max-width: 480px; font: 400 15px/1.4 var(--sans); padding: 9px 12px; color: var(--ink);
                   background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.add-field input:focus, .add-field select:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.add-field input:disabled, .add-field select:disabled { background: var(--surface-2); color: var(--ink-faint); }
/* every platform the tracker reads (owner, 30 Oct): the platform picked first, AWeber's Allow page, Zoho CRM's tick */
.add-platforms { margin-bottom: 12px; }
.add-steps, .add-hint { overflow-wrap: break-word; }    /* a scope list or a cookie example is one long word */
.add-field .add-tick { color: var(--ink); }
.add-allow { display: inline-block; text-decoration: none; }
/* a button, not a link in running text: kept out of the dark theme's link underline (above it, by one class more) */
:root[data-theme="dark"] main a.add-allow:not(.btn):not(.nav-item):not(.ov-bar-name) { text-decoration: none; }
.add-allow[aria-disabled="true"] { color: var(--ink-faint); background: var(--surface-2); cursor: not-allowed; }
.add-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-faint); }
.add-actions { display: flex; gap: 8px; margin: 8px 0 16px; }
.add-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.add-primary:hover { background: var(--accent); color: var(--accent-ink); filter: brightness(1.08); }
.add-actions button:disabled { opacity: 1; background: var(--surface-2); border-color: var(--line); color: var(--ink-faint); cursor: not-allowed; filter: none; }
.add-result { font-size: 14px; color: var(--ink-soft); }
.add-result .add-msg { margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.add-result.is-bad .add-msg { color: var(--bad); }
.add-result.is-ok .add-msg { color: var(--good-ink); }     /* text: 6.3:1 on white (--good is 4.33:1) */
.add-acct { margin: 0 0 8px; }
.add-checks { list-style: none; margin: 0 0 12px; padding: 0; }
.add-checks li { padding: 3px 0; }
.add-checks .add-mark { display: inline-block; width: 22px; }
.add-checks .add-mark svg.i { vertical-align: -3px; }
.add-checks li.ok .add-mark { color: var(--good); }
.add-checks li.bad .add-mark { color: var(--bad); }
.add-checks code { font: 400 12.5px/1.4 var(--mono); color: var(--ink); }
.add-detail { color: var(--ink-soft); }

/* logins (admins) and Your account (2 Oct): the add-client form's look, a role choice, client ticks,
   and the password the tracker made, shown once */
.panel-title.usr-h { margin: 0 0 18px; font-size: 15px; }
.usr-add { margin: 0 0 20px; }
.usr-roles, .usr-clients { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.usr-roles legend, .usr-clients legend { padding: 0; margin: 0 0 8px; font: 400 13px/1.3 var(--sans); color: var(--ink-soft); }
.usr-clients[hidden] { display: none; }
.usr-role { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 14px; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.usr-role strong { color: var(--ink); font-weight: 700; }
.usr-role input, .usr-client input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--primary); }
.usr-client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 16px; }
.usr-client { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; font-size: 14px; line-height: 1.4; color: var(--ink); cursor: pointer; }
.usr-table td { vertical-align: middle; }
.usr-actions { text-align: right; }
.usr-actions .tb-btn + .tb-btn { margin-left: 6px; }
.usr-actions .usr-remove { color: var(--bad-ink); }
.usr-you { font-weight: 400; color: var(--ink-faint); }
.usr-msg { padding: 12px 18px 0; }
.usr-msg:empty { display: none; }
.usr-msg .add-msg { margin: 0; }
tbody tr.usr-edit td, tbody tr.usr-edit:hover td { background: var(--surface-2); white-space: normal; padding: 16px 18px 8px; }
.usr-edit-title { margin: 0 0 12px; font-weight: 700; color: var(--ink); }
/* a password the admin sets (owner, 3 Oct): the field sits under its choice, with Show beside it */
.usr-edit-note { margin: -6px 0 12px; font-size: 13px; color: var(--ink-soft); }
.usr-pw-field { margin: 6px 0 4px 26px; }
.usr-pw-field[hidden] { display: none; }
.usr-pw-row { display: flex; align-items: center; gap: 8px; max-width: 480px; }
.usr-pw-row input { flex: 1 1 auto; min-width: 0; }
.usr-pw-row .tb-btn { flex: none; }
.usr-list .note { border-top: 1px solid var(--line-soft); }
.pw-once { max-width: 720px; margin: 0 0 20px; padding: 18px 22px; border-radius: var(--radius);
           background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent-line); }
.pw-once-title { margin: 0 0 10px; font-size: 14px; color: var(--ink); }
.pw-once-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; }
.pw-once-code { padding: 8px 12px; border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px var(--line);
                font: 600 18px/1.4 var(--mono); letter-spacing: .02em; color: var(--ink); user-select: all; overflow-wrap: anywhere; }
.pw-once-note { margin: 0 0 12px; max-width: 64ch; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }

/* The outline is a ring (box-shadow), not a border. At 125% display scaling a 1px border snaps
   to 0.8 CSS px, which put the table scroller at x.8: the pinned first column and the clip edge
   then straddled a device pixel, and scrolled header text showed through in a 1px sliver. A
   ring takes no layout space, so the scroller starts on a whole pixel. */
.panel {
  background: var(--surface); border: 0;
  border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), var(--shadow);
  overflow: clip;       /* not hidden: still clips to the rounded corners, but is not a scroll box,
                           so the sideways scrollbar inside can stick to the WINDOW's bottom edge */
}
.panel + .panel { margin-top: 20px; }
.panel-head {
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.panel-title { font: 700 14px/1.3 var(--sans); margin: 0; }
.panel-meta { font: 400 12px/1.3 var(--sans); color: var(--ink-faint); }
.panel-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- stat tiles */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 20px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px; min-width: 0;
  display: flex; flex-direction: column;       /* each tile's small chart sits on the bottom edge */
}
.stat-label { font: 400 12.5px/1.3 var(--sans); color: var(--ink-faint); margin: 0; }
.stat-value { font: 700 26px/1.15 var(--sans); letter-spacing: -.02em; color: var(--ink); margin: 8px 0 0; }
.stat-sub { font: 400 12.5px/1.4 var(--sans); color: var(--ink-soft); margin: 6px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stat-viz { margin-top: auto; padding-top: 14px; }
.stat-spark { display: block; width: 100%; height: auto; }
.stat .dotstrip { display: flex; flex-wrap: wrap; gap: 7px; }
.dotstrip i { width: 10px; height: 10px; border-radius: 50%; background: var(--good); display: block; }
.dotstrip i.warn { background: var(--warn); }
.dotstrip i.bad  { background: var(--bad); }
.dotstrip i.idle { background: var(--axis); }
.delta { font-weight: 400; }
/* text: --good-ink (6.3:1 on white), not --good (4.33:1, under the 4.5:1 text needs) */
.delta.up { color: var(--good-ink); } .delta.down { color: var(--bad); } .delta.flat { color: var(--ink-faint); }

/* ---------------------------------------------------------------- charts */
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; margin: 0 0 20px; }
.chart-grid.chart-stack { grid-template-columns: minmax(0, 1fr); }
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px 12px; min-width: 0; position: relative; }
.chart-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.chart-title { font: 700 14px/1.3 var(--sans); margin: 0; }
.chart-sub { font: 400 12px/1.3 var(--sans); color: var(--ink-faint); }
.chart-legend { display: flex; gap: 14px; margin-left: auto; flex-wrap: wrap; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-soft); }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.chart-legend i.line { height: 2px; width: 14px; border-radius: 1px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.chart .baseline { stroke: var(--axis); stroke-width: 1; shape-rendering: crispEdges; }
.chart text { fill: var(--ink-faint); font: 400 11px/1 var(--num); font-variant-numeric: tabular-nums; }
.chart .value-label { fill: var(--ink-soft); font-weight: 700;
                      paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
.chart .bar { transition: opacity .12s ease; }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:hover + .bar, .chart .hit:focus + .bar { opacity: .78; }
.chart .crosshair { stroke: var(--axis); stroke-width: 1; }
.chart .s1 { fill: var(--series-1); }
.chart .muted { fill: var(--axis); }
.chart .s2 { fill: var(--series-2); }
.chart .s3 { fill: var(--series-3); } .chart .s4 { fill: var(--series-4); }
.chart .st-good { fill: var(--st-good); } .chart .st-warn { fill: var(--st-warn); }
.chart .st-bad { fill: var(--st-bad); } .chart .st-muted { fill: var(--st-muted); }
.chart .dot.st-good, .chart .dot.st-warn, .chart .dot.st-bad { stroke: var(--surface); stroke-width: 2; }
.chart-legend i.st-good { background: var(--st-good); } .chart-legend i.st-warn { background: var(--st-warn); }
.chart-legend i.st-bad { background: var(--st-bad); } .chart-legend i.st-muted { background: var(--st-muted); }
.chart .value-label-quiet { fill: var(--ink-soft); font-weight: 400; }
.chart .ref-label-bg { fill: var(--surface); opacity: .88; }
.chart .lineseries.l1 { stroke: var(--series-1); }
.chart .dot.l1 { fill: var(--series-1); stroke: var(--surface); stroke-width: 2; }
.chart-legend i.s1 { background: var(--series-1); }
.chart-legend i.ref { width: 16px; height: 0; border-radius: 0; border-top: 2px dashed var(--ink-soft); }
.chart-legend i.s2 { background: var(--series-2); }
.chart-legend i.s3 { background: var(--series-3); } .chart-legend i.s4 { background: var(--series-4); }
.chart-empty { padding: 36px 0; text-align: center; color: var(--ink-faint); font-size: 13px; }
/* a benchmark the bars are measured against: dashed, labelled in words, never a series colour */
.chart .ref-line { stroke: var(--ink-soft); stroke-width: 1.5; stroke-dasharray: 5 4; pointer-events: none; }
.chart .ref-label { fill: var(--ink-soft); font-weight: 400; pointer-events: none;
                    paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
.chart .gap-label { fill: var(--ink-faint); font-style: italic; }
.tip {
  position: absolute; pointer-events: none; z-index: 20; min-width: 150px;
  background: var(--surface-3); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18); padding: 9px 11px; font-size: 12px; color: var(--ink-soft);
}
.tip-title { color: var(--ink-faint); margin: 0 0 5px; font-size: 11.5px; }
.tip-row { display: flex; align-items: center; gap: 8px; }
.tip-row b { color: var(--ink); font-family: var(--num); font-weight: 700; margin-left: auto; font-variant-numeric: tabular-nums; }
.tip-row i { width: 12px; height: 2px; border-radius: 1px; display: inline-block; }

/* sparklines (client list, picker) */
.spark { display: block; }
.spark rect { fill: var(--series-1); }
.spark rect.dim { fill: var(--axis); }
.spark rect.spark-hit { fill: transparent; }
.spark rect.spark-hit:hover { fill: var(--hatch); }
.spark polyline { fill: none; stroke: var(--series-1); stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; }
.spark circle { fill: var(--series-1); stroke: var(--surface); stroke-width: 1.5; }

/* ---------------------------------------------------------------- segmented switches */
.navbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 0 0 20px; }
.seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; padding: 3px; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
/* wraps rather than pushing the page sideways: six report tabs are wider than a tablet */
.seg button {
  font: 700 13px/1 var(--sans); color: var(--ink-soft); background: transparent; border: 0;
  padding: 8px 14px; border-radius: 7px; cursor: pointer; white-space: nowrap;
}
.seg button:hover:not(:disabled):not([aria-pressed="true"]) { color: var(--ink); background: var(--surface-3); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 0 0 1px var(--line); }
/* not available: a fainter word and a not-allowed pointer — never opacity (the owner's rule: it dims text) */
.seg button:disabled { color: var(--ink-faint); cursor: not-allowed; }

/* ---------------------------------------------------------------- tables */
/* ⚠ The scroller owns BOTH axes: overflow-x alone still makes it a y scroll container, which
   captures the sticky header. So both axes scroll here and the header pins to top: 0. */
.scroller:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
/* position: relative makes the scroller the containing block of the .sr-only labels inside the
   table (position: absolute). Without it they escaped its clipping and widened the whole page
   to the table's full width — a horizontal scrollbar on every report. */
/* Tables scroll SIDEWAYS only; up and down, the page scrolls as one. They used to scroll inside
   themselves too (max-height + overscroll-behavior: contain): a wheel over a table moved only
   its rows, the page froze part-way down, and at the table's end the wheel did nothing at all —
   the scrollbar was the only way on (owner, 24 Sep). overflow-y: hidden means a table can never
   capture the wheel.
   clip-path hides the scroller's first pixel column: at a fractional scroll offset (313.6 is
   normal at 125% scaling) Chrome snaps the pinned column and the scrolled layer differently, and
   scrolled header text showed through in a 1px sliver beside the pinned column. */
.scroller { overflow-x: auto; overflow-y: hidden; position: relative; clip-path: inset(0 0 0 1px); }
/* The sideways scrollbar of a report table, kept on screen (app.js stickyScrollbar): it sticks to
   the bottom of the window while the table runs below it, and settles under the table after.
   The table's own scrollbar is hidden so there are never two. */
.hbar { position: sticky; bottom: 0; z-index: 6; overflow-x: auto; overflow-y: hidden;
        background: var(--surface); border-top: 1px solid var(--line-soft); }
.hbar[hidden] { display: none; }
.hbar-inner { height: 1px; }
.scroller.has-hbar { scrollbar-width: none; }
.scroller.has-hbar::-webkit-scrollbar { display: none; }
.scroller.free { max-height: none; }
table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; }
th, td { padding: 10px 14px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line-soft); }
thead th {
  position: sticky; top: 0; z-index: 10;
  background: var(--surface-3); color: var(--ink);
  font: 700 12.5px/1.3 var(--sans); border-bottom: 1px solid var(--axis); vertical-align: bottom;
}
/* .num/.pct set the CELL font; a header keeps the header's, or right-aligned headings came out
   larger and lighter than their neighbours */
thead th.num, thead th.pct { font: 700 12.5px/1.3 var(--sans); color: var(--ink); }
/* the period cell: its label is the heading (.hd-label), its date range the quiet second line */
thead th.hd { font-weight: 400; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody tr:hover td { background: var(--surface-2); }
.num, .pct { text-align: right; font: 400 13px/1.45 var(--num); font-variant-numeric: tabular-nums; }
.pct { color: var(--ink-soft); }
.subject { white-space: normal; min-width: 22ch; max-width: 46ch; }
.wrap { white-space: normal; min-width: 18ch; max-width: 54ch; }

tbody th[scope="row"] { font-weight: 400; color: var(--ink); text-align: left; white-space: normal; }
/* a label-and-value table (Gmail, GlockApps, Warmy, Yahoo weeks) has no header row: its label
   column is the heading, so it reads as one, not as the first figure of the row */
table.kv tbody th[scope="row"] { font: 700 12.5px/1.45 var(--sans); color: var(--ink); }
.pinned th:first-child, .pinned td:first-child {
  position: sticky; left: 0; z-index: 5; background: var(--surface);
  border-right: 1px solid var(--line-soft); min-width: 15rem; white-space: normal; font-weight: 400;
}
.pinned thead th:first-child { z-index: 15; font-weight: 700; background: var(--surface-3); }   /* "KPI": a heading like its row, not a row label */
.pinned tbody tr:hover td:first-child, .pinned tbody tr:hover th:first-child { background: var(--surface-2); }

/* workflow blocks: a quiet band with an accent edge, not an inverted slab */
.block-head th, .block-head td,
.pinned tbody tr.block-head th:first-child, .pinned tbody tr.block-head td:first-child {
  background: var(--surface-2); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-soft);
  font: 700 12.5px/1.35 var(--sans); white-space: normal; text-align: left;
}
.block-head th:first-child { box-shadow: inset 3px 0 0 var(--axis); }
.block-head td.bh-period { font: 700 11px/1.35 var(--sans); color: var(--ink-soft); text-align: right; white-space: nowrap; }
.block-head.is-combined th, .block-head.is-combined td,
.pinned tbody tr.block-head.is-combined th:first-child,
.pinned tbody tr.block-head.is-combined td:first-child { background: var(--accent-soft); color: var(--ink); }
.block-head.is-combined th:first-child { box-shadow: inset 3px 0 0 var(--accent); }
/* the pinned first cell must be opaque: the tint alone is see-through, and the period labels
   scrolling underneath showed through it ("ALL WORKFLOWS COMBINEDSun 13 Sep") */
.pinned tbody tr.block-head.is-combined th:first-child,
.pinned tbody tr.block-head.is-combined td:first-child {
  background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface);
}
/* workflows the workbook does not track: their own section below the combined total */
.block-head.is-section th, .block-head.is-section td,
.pinned tbody tr.block-head.is-section th:first-child {
  background: var(--surface); border-top: 2px solid var(--line); padding-top: 18px;
  font: 700 12.5px/1.35 var(--sans); letter-spacing: 0; color: var(--ink);
}
.block-head.is-section th:first-child { box-shadow: none; }
.block-head.is-untracked th:first-child { box-shadow: inset 3px 0 0 var(--mark); }
.row-formula th:first-child, .row-formula td:first-child { color: var(--ink-soft); font-weight: 400; }
.row-summary td { background: var(--surface-2); font-weight: 700; }
.pinned tbody tr.row-summary td:first-child { background: var(--surface-2); }

/* where each column came from */
tr.row-source th, tr.row-source td {
  font-size: 11.5px; color: var(--ink-faint); background: var(--surface); white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
tr.row-source td { text-align: right; }
/* filled = read live · hollow grey = the workbook · hollow blue = both · half = live, but only
   from the first reading (a floor) */
.src { display: inline-flex; align-items: center; gap: 5px; }
.src::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--series-1); background: var(--series-1); flex: none; }
.src.sheet::before { background: transparent; border-color: var(--ink-faint); }
.src.mixed::before { background: transparent; }
.src.partial::before { background: linear-gradient(90deg, var(--series-1) 50%, transparent 50%); }

/* ------------------------------------------------- THE TYPOGRAPHY OF ABSENCE
   Three states a generic dashboard collapses into one: a measured zero, no reading, and
   not-tracked. They differ in TEXT, not only in colour. */
.cell-zero    { color: var(--ink-soft); }
/* empty figures say what they are in words (spec §6): small and quiet, never read as a number */
.cell-unknown { color: var(--ink-faint); cursor: help; font-size: 11.5px; font-style: italic; white-space: nowrap; }
.cell-unknown.is-pending { color: var(--ink-soft); }
.cell-norate  { color: var(--ink-faint); cursor: help; font-size: 11.5px; font-style: italic; white-space: nowrap; }
/* a rate on under 50 delivered: greyed, the figure kept */
td.too-small, td.too-small span { color: var(--ink-faint); }
td.too-small { background: var(--surface-2); cursor: help; }
.cell-na { background-image: repeating-linear-gradient(-45deg, transparent 0 4px, var(--hatch) 4px 5px); }
.cell-na-mark { color: var(--ink-faint); font-style: normal; font-size: 11.5px; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; padding: 12px 18px; border-top: 1px solid var(--line-soft); }
.legend span { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-faint); }
.legend i { width: 20px; height: 15px; border: 1px solid var(--line); border-radius: 4px; display: inline-block;
            font: 400 11px/13px var(--sans); text-align: center; font-style: normal; color: var(--ink-faint); }
.legend i.cell-na { background-image: repeating-linear-gradient(-45deg, transparent 0 4px, var(--hatch) 4px 5px); }
.is-partial { position: relative; }
.is-partial::after { content: "+"; color: var(--ink-faint); font-weight: 700; margin-left: 1px; }

/* ---------------------------------------------------------------- client list */
.client-row { cursor: pointer; }
.client-row td { padding-top: 13px; padding-bottom: 13px; }
.client-name { font-weight: 700; color: var(--ink); }
.client-crm { display: block; font-size: 12px; color: var(--ink-faint); margin-top: 2px; font-weight: 400; }
.tag { display: inline-block; font: 400 11.5px/1 var(--sans); padding: 5px 9px; border-radius: 999px; color: var(--ink-soft); background: var(--surface-3); }
.coverage { font: 400 13px/1 var(--num); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.coverage-na { font: 400 12px/1 var(--sans); color: var(--ink-faint); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-soft); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); flex: none; }
.status.warn::before { background: var(--warn); }
.status.bad::before { background: var(--bad); }
.status.idle::before { background: var(--ink-faint); }
.status-detail { display: block; font-size: 12px; color: var(--ink-faint); margin: 3px 0 0 15px; white-space: normal; max-width: 44ch; }
/* Coverage is metadata: a full meter is the NORMAL state and stays quiet (slate, not the series
   blue — 90 blue cells out-shouted every figure on the page). Only the exceptions differ: an
   outline for n/a, a faint blue for "filling in". */
.meter { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 8px; }
.meter i { width: 6px; height: 14px; border-radius: 2px; background: var(--mark); display: block; }
.meter i.na { background: transparent; box-shadow: inset 0 0 0 1px var(--axis); }
.meter i.pending { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.muted { color: var(--ink-faint); }

/* ---------------------------------------------------------------- report picker */
.picker-group { margin: 0 0 28px; }
.picker-group-title { font: 700 15px/1.3 var(--sans); color: var(--ink); margin: 0 0 12px; }
/* three columns = daily / weekly / monthly, so each group reads across and the grains line up
   down the page (auto-fill left an empty fourth track at desktop widths) */
.picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pick {
  display: flex; flex-direction: column; width: 100%; text-align: left; cursor: pointer; min-height: 132px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 18px; color: inherit; font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.pick:hover:not(:disabled) { border-color: var(--accent-line); box-shadow: 0 4px 16px rgba(0, 0, 0, .10); transform: translateY(-1px); }
.pick:disabled { cursor: not-allowed; background: var(--surface-2); box-shadow: none; }
.pick:disabled .pick-name { color: var(--ink-faint); }
.pick-kind { font: 400 12px/1 var(--sans); color: var(--ink-faint); display: block; margin-bottom: 6px; }
.pick-name { font: 700 16px/1.25 var(--sans); display: block; color: var(--ink); }
.pick-value { font: 400 13px/1.35 var(--sans); color: var(--ink-soft); display: block; margin-top: 6px; }
.pick-note { font: 400 12px/1.4 var(--sans); color: var(--ink-faint); display: block; margin-top: auto; padding-top: 10px; }
.pick .spark { margin-top: 12px; width: 100%; height: auto; }
.pick.pick-na { border-style: dashed; }

/* ---------------------------------------------------------------- misc */
.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.controls label { font: 400 12px/1 var(--sans); color: var(--ink-faint); }
.controls select {
  font: 400 12.5px/1 var(--sans); padding: 7px 10px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
}
.tb-btn {
  font: 400 12.5px/1 var(--sans); cursor: pointer; padding: 7px 12px;
  background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line); border-radius: 8px;
}
.tb-btn:hover { color: var(--ink); background: var(--surface-2); }
.toolbar { display: none; }                  /* export moved into the panel header */

.note { padding: 14px 18px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); background: var(--surface-2); border-top: 1px solid var(--line-soft); }
.note .note-lead { margin: 0 0 8px; }
.note strong { color: var(--ink); font-weight: 700; }
/* the source sections of the Deliverability page: Gmail (Postmaster), GlockApps, Warmy, Yahoo, contacts */
.gmail { margin-top: 24px; border-top: 1px solid var(--line); }
.gmail-head { padding: 16px 18px 6px; margin: 0; align-items: center; }
.gmail td { white-space: normal; }
/* Bookings & revenue (D51): dates and amounts stay on one line; long text wraps */
.bk td { white-space: nowrap; }
.bk td.wrap { white-space: normal; min-width: 18ch; max-width: 46ch; }
.bk td.bk-cal { min-width: 30ch; }
.bk .row-quiet td.client-name { font-weight: 400; color: var(--ink-soft); }
.bk-apart { border-top: 1px solid var(--line-soft); }
.bk-apart > summary { cursor: pointer; padding: 12px 18px; font: 400 13px/1.3 var(--sans); color: var(--ink-soft); }
.bk-apart[open] > summary { color: var(--ink); }
.bk-checks { list-style: none; margin: 0; padding: 4px 18px 16px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.bk-checks li { padding: 3px 0; }
.bk-checks strong { color: var(--ink); font-weight: 700; }
.bk-mark { display: inline-block; width: 22px; }
.bk-mark svg.i { vertical-align: -3px; }
.bk-checks li.ok .bk-mark { color: var(--good); }
.bk-checks li.bad .bk-mark { color: var(--bad); }
.bk-checks li.info .bk-mark { color: var(--ink-faint); }
/* Bookings & revenue, the combined page (owner, 1 Oct): the plain summary, the source table, the tidy figures */
.bk-brief { margin: 0 0 14px; max-width: 110ch; font: 400 15px/1.55 var(--sans); color: var(--ink); }
.bk-brief b { font-weight: 700; }
.bk-src { margin: 0 0 16px; padding: 14px 18px 8px; }
.bk-src-head { margin: 0 0 6px; }
.bk-src-scroll { overflow-x: auto; }
.bk-src-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bk-src-table th, .bk-src-table td { padding: 8px 12px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.bk-src-table thead th { font: 700 12.5px/1.3 var(--sans); color: var(--ink); background: var(--surface-3); position: static; text-align: left;
                          border-bottom-color: var(--axis); vertical-align: bottom; }
.bk-src-table thead th.num { text-align: right; }
.bk-src-table tbody th { font-weight: 400; color: var(--ink); text-align: left; }
.bk-src-table td.num { font: 400 13.5px/1.3 var(--num); font-variant-numeric: tabular-nums; text-align: right; color: var(--ink); }
.bk-src-table tr.bk-src-group th, .bk-src-table tr.bk-src-group td { font-weight: 700; }
.bk-src-table tr.bk-src-sub th { padding-left: 30px; color: var(--ink-soft); }
.bk-src-table tr.bk-src-apart th, .bk-src-table tr.bk-src-apart td { color: var(--ink-soft); }
.bk-src-table tr.bk-src-apart:first-of-type th, .bk-src-table tr.bk-src-apart th { font-style: normal; }
.bk-src-table tr.bk-src-total th, .bk-src-table tr.bk-src-total td { font-weight: 700; border-bottom: 0; border-top: 1.5px solid var(--line); }
.bk-src-table .bk-src-barh, .bk-src-table .bk-src-bar { width: 22%; min-width: 120px; }
.bk-src-bar span { display: block; height: 8px; border-radius: 3px; background: var(--series-1); min-width: 0; }
.bk-src-table tr.bk-src-sub .bk-src-bar span { background: var(--series-1); }
.bk-src-table tr.bk-src-apart .bk-src-bar span { background: var(--axis); }
.bk-src-table tr.bk-src-total .bk-src-bar span { background: var(--ink-soft); }
/* the period figures: a section is its title and, beside it, how it is counted */
table.bk-period tr.block-head th { white-space: normal; }
/* eight weeks fit beside the sidebar: a period's dates may wrap under its name; the row names keep room */
table.bk-period th.hd { white-space: normal; min-width: 88px; }
table.bk-period th.hd .hd-range { white-space: normal; }
table.bk-period td { padding-left: 10px; padding-right: 12px; }
table.bk-period th:first-child, table.bk-period td:first-child { min-width: 14.5rem; max-width: 18rem; }
table.bk-period td { white-space: normal; }               /* a word such as "no Breakthrough Sessions" wraps; a figure never does */
table.bk-period td.num, table.bk-period td.pct { white-space: nowrap; }
table.bk-period .cell-unknown, table.bk-period .cell-norate, table.bk-period td.cell-unknown { white-space: normal; }
.bk-sec-title { display: block; font: 700 13.5px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.bk-sec-rule { display: block; margin-top: 2px; font: 400 12px/1.35 var(--sans); color: var(--ink-faint); text-transform: none; letter-spacing: 0; }
.bk-checks-fold { margin: 16px 0 0; border-top: 1px solid var(--line-soft); }
.bk-checks-fold > summary { cursor: pointer; padding: 12px 18px; font: 400 13px/1.3 var(--sans); color: var(--ink-soft); }
.bk-checks-fold[open] > summary { color: var(--ink); }

/* Bookings & revenue, Daily: one list at a time, a row opens for the rest of its details */
.bk-trust { margin: 14px 18px 2px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.bk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 18px 14px; border-bottom: 1px solid var(--line-soft); }
.bk-find { margin-left: auto; min-width: 220px; font: 400 13px/1.2 var(--sans); padding: 7px 10px;
           border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.bk-find:disabled { color: var(--ink-faint); background: var(--surface-2); cursor: not-allowed; }
.bk-list td { white-space: nowrap; vertical-align: top; }
.bk-list td.wrap { white-space: normal; min-width: 18ch; max-width: 46ch; }
.bk-list tr.bk-row { cursor: pointer; }
.bk-list td.bk-tog-cell { width: 26px; padding-right: 0; }
.bk-toggle { border: 0; background: none; color: var(--ink-soft); font-size: 14px; line-height: 1; cursor: pointer; padding: 3px 5px; border-radius: 4px; }
/* the row toggle holds the chevron icon; Per email's "Show N more workflows" text button keeps the rule above */
.bk-tog-cell .bk-toggle { display: inline-flex; align-items: center; padding: 2px 3px; }
.bk-tog-cell .bk-toggle:hover { color: var(--ink); }
.bk-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.bk-list tr.is-open td { background: var(--surface-2); border-bottom-color: transparent; }
.bk-detail td { background: var(--surface-2); white-space: normal; padding-top: 2px; }
.bk-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 18px; margin: 0 0 8px 26px; font-size: 13px; line-height: 1.45; }
.bk-dl dt { color: var(--ink-faint); }
.bk-dl dd { margin: 0; color: var(--ink); }
.bk-list tr.bk-day th { padding-top: 12px; }
@media (max-width: 640px) { .bk-find { margin-left: 0; min-width: 0; width: 100%; } .bk-dl { margin-left: 0; grid-template-columns: 1fr; } }
/* a grid row that breaks down the row above it, indented under it */
.pinned tbody th.row-sub { font-weight: 400; color: var(--ink-soft); }
.pinned tbody th.row-sub-1 { padding-left: 30px; }
.pinned tbody th.row-sub-2 { padding-left: 46px; }
.empty { padding: 44px 18px; text-align: center; color: var(--ink-faint); font-size: 14px; }

.pagefoot { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 28px 28px; }
.pagefoot p { font-size: 12.5px; color: var(--ink-faint); margin: 0; max-width: 78ch; line-height: 1.6; }

/* ---------------------------------------------------------------- the status board (Overview) */
.biz-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 16px; font-size: 13px; }
.biz-k { color: var(--ink-soft); }
.biz-v { font: 700 15px/1 var(--sans); color: var(--ink); margin-right: 12px; }
.grad-flag { margin-left: 8px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.board td { vertical-align: middle; }
.board td.num, .board th.num { width: 1%; }
.board .bench { font-weight: 700; color: var(--ink); }
/* the reason takes the room the table has (the team's list, 16 Oct, 2.3: at 1210 px it wrapped to four lines), and the
   whole table fits that width (2.4: "Last read" was cut off): the client's platform line wraps under its name */
.board .reason { white-space: normal; color: var(--ink); width: 100%; min-width: 20ch; }
.ov-list .board .client-cell { white-space: nowrap; max-width: 15em; }
.ov-list .board .client-txt { white-space: normal; max-width: calc(100% - 44px); }
.ov-list .board .client-name { white-space: nowrap; }
@media (max-width: 1320px) { .ov-list .board th, .ov-list .board td { padding-left: 10px; padding-right: 10px; } }
.board .last-read { white-space: nowrap; }
.board .last-read .status-detail { white-space: normal; }
.reason-more { color: var(--ink-faint); font-size: 12.5px; cursor: help; border-bottom: 1px dotted var(--axis); }
.rules { border-top: 1px solid var(--line-soft); background: var(--surface-2); padding: 12px 18px; font-size: 13px; color: var(--ink-soft); }
.rules summary { cursor: pointer; color: var(--accent); font-weight: 400; }
.rules-title { margin: 0; font: 700 13px/1.4 var(--sans); color: var(--ink); }
.rules ul { margin: 10px 0 2px; padding-left: 18px; line-height: 1.6; max-width: 100ch; }
.rules li { margin: 0 0 4px; }
.rules strong { color: var(--ink); font-weight: 700; }
/* "About these figures": the explanations, one click from the table (spec §3) */
/* the popover hangs from the table's header bar, never from its button: at a phone's width the
   button sits at the left and a box hung from it opened off-screen */
.panel-head { position: relative; }
.about > summary { cursor: pointer; list-style: none; font: 400 12.5px/1 var(--sans); color: var(--accent);
                   padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface);
                   display: flex; align-items: center; gap: 6px; }
.about > summary::-webkit-details-marker { display: none; }
.about > summary svg.i { margin: -2px 0; }     /* the 16px icon keeps the button its 12.5px-text height */
.about[open] > summary { background: var(--surface-2); }
.about-body { position: absolute; right: 12px; top: calc(100% - 6px); z-index: 25; width: min(560px, calc(100% - 24px));
              max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--line);
              border-radius: var(--radius); box-shadow: 0 10px 28px rgba(0, 0, 0, .16); padding: 14px 16px;
              font-size: 13px; line-height: 1.6; color: var(--ink-soft); text-align: left; }
.about-body p { margin: 0 0 10px; }
.about-body strong { color: var(--ink); }
.about-body .note-lead { margin: 0 0 10px; }
.about-h { font-weight: 700; color: var(--ink); margin: 12px 0 4px !important; }
.marks { margin: 0; padding-left: 18px; }
.marks li { margin: 0 0 3px; }
/* workflow tables: the top five, the rest on request */
.bh-tag { font-weight: 400; color: var(--ink-faint); text-transform: none; letter-spacing: 0; }
.wf-toggle { margin: 2px 0; }
/* Yahoo: the week's figure typed in from Sender Hub (admins) */
.yahoo-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 18px 14px; }
.yahoo-form-k { font-size: 13px; color: var(--ink-soft); margin-right: 4px; }
.gmail > .dl-line { margin: 10px 18px 2px; }          /* a line straight in a section, padded like its rows */
.cfl > .dl-line { margin: 10px 18px 2px; }            /* Yahoo's complaint lines, padded the same */
.ew-toggle, .ew-note { margin: 10px 18px; }            /* each email, week by week: under its table */
.cell-note { font-size: 11px; color: var(--ink-faint); margin-left: 3px; white-space: nowrap; }   /* "so far", "partial" */
.cfl td.cfl-when { white-space: nowrap; }             /* "29 Sep, 03:18" on one line */
.yahoo-form select, .yahoo-form input { font: 400 13px/1.2 var(--sans); padding: 6px 8px; border: 1px solid var(--line);
                                        border-radius: 7px; background: var(--surface); color: var(--ink); }
.yahoo-form input { width: 11em; }
.form-msg { font-size: 12.5px; color: var(--ink-soft); }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; }
.stat-sub .status { align-items: flex-start; }          /* the dot on the first line of a name list */
.stat-sub .status::before { margin-top: 5px; }
/* on a phone each client is a card: the status and its reason must not sit off-screen to the right */
@media (max-width: 640px) {
  .board thead { display: none; }
  .board tr.client-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 4px;
                         padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
  .board td { display: block; padding: 0; border: 0; white-space: normal; }
  .board td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .board td:nth-child(2) { grid-column: 2; grid-row: 1; text-align: right; }
  .board td:nth-child(3) { grid-column: 1 / span 2; grid-row: 2; }
  .board td:nth-child(4) { grid-column: 1 / span 2; grid-row: 3; }
  .board td:nth-child(5) { grid-column: 1 / span 2; grid-row: 4; }
  .board .reason { min-width: 0; }
}

/* on a phone each login is a card: its status and its buttons must not sit off-screen to the right */
@media (max-width: 640px) {
  .usr-table thead { display: none; }
  .usr-table tbody tr:not(.usr-edit) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 8px; row-gap: 6px;
                                       padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
  .usr-table tbody tr:last-child { border-bottom: 0; }
  .usr-table td { display: block; padding: 0; border: 0; white-space: normal; }
  .usr-table tbody tr:hover td { background: none; }
  .usr-table td:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; overflow-wrap: anywhere; }
  .usr-table td:nth-child(4) { grid-column: 3; grid-row: 1; }
  .usr-table td:nth-child(2) { grid-column: 1; grid-row: 2; }
  .usr-table td:nth-child(3) { grid-column: 2 / span 2; grid-row: 2; max-width: none; min-width: 0; }
  .usr-table td:nth-child(3)::before { content: "\00B7  "; color: var(--ink-faint); }
  .usr-table td:nth-child(5) { grid-column: 1 / span 3; grid-row: 3; }
  .usr-table td:nth-child(5)::before { content: "Last sign-in "; color: var(--ink-faint); }
  .usr-table td.usr-actions { grid-column: 1 / span 3; grid-row: 4; display: flex; flex-wrap: wrap; gap: 6px; text-align: left; }
  .usr-table td.usr-actions .tb-btn + .tb-btn { margin-left: 0; }
  .usr-table tr.usr-edit, .usr-table tr.usr-edit td { display: block; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: 700 13.5px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn svg.i { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

/* ---------------------------------------------------------------- the Overview (dashboard)
   Laid out as the sign-in page's picture of it (owner, 1 Oct): four calm figures; the placement
   chart beside the live readings and the client book; then one client list. */
.view-head .head-actions { grid-column: 2; grid-row: 1 / span 3; align-self: end; display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--st-good); }
.dot.warn { background: var(--st-warn); } .dot.bad { background: var(--st-bad); } .dot.idle { background: var(--st-muted); }
.card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.card-flush { overflow: clip; }
.card-title { margin: 0; font: 700 15px/1.3 var(--sans); color: var(--ink); }
.card-empty { margin: 0; padding: 28px 20px; color: var(--ink-faint); font-size: 13.5px; }
.find { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border: 1px solid var(--line);
        border-radius: 8px; background: var(--surface); color: var(--ink-faint); }
.find:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.find svg.i { width: 16px; height: 16px; }
.find input { width: 180px; border: 0; outline: 0; background: transparent; font: 400 13.5px/1 var(--sans); color: var(--ink); }
.find input::placeholder { color: var(--ink-faint); }

/* the four figures */
/* one compact title line: "Clients" with its counts, the add button at the right */
/* the first screen: everything above the client list is one window tall (100dvh less the header
   and the page's top padding), so All clients begins just below the fold — never half in view */
.ov-top { display: flex; flex-direction: column; min-height: calc(100dvh - 100px); margin: 0 0 24px; }
.ov-top .ov-duo { flex: 1; margin-bottom: 0; }
.ov-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: -6px 0 10px; }
.ov-head .view-title { font-size: 24px; }
.ov-head-sub { margin: 0; font: 400 13.5px/1.3 var(--sans); color: var(--ink-soft); }
.ov-head .head-actions { margin-left: auto; align-self: center; }
.ov-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; }
/* the two statuses that need someone, across the row with room between them (the team's list, 16 Oct, 1.1) */
.ov-kpis.ov-kpis-status { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ov-kpi { display: grid; align-content: start; gap: 6px; min-width: 0; width: 100%; padding: 10px 14px 12px; text-align: left;
          font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
button.ov-kpi { cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
button.ov-kpi:hover { border-color: var(--accent-line); }
button.ov-kpi[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.ov-kpi-label { display: flex; align-items: center; gap: 8px; font: 400 13px/1.3 var(--sans); color: var(--ink-soft); }
.ov-kpi-value { font: 700 22px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.ov-kpi-unit { font: 400 14px/1 var(--sans); letter-spacing: 0; color: var(--ink-faint); }
.ov-kpi-bar { display: block; height: 5px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.ov-kpi-bar span { display: block; height: 100%; border-radius: 3px; background: var(--st-good); }
.ov-kpi-bar .tone-warn { background: var(--st-warn); } .ov-kpi-bar .tone-bad { background: var(--st-bad); }
.ov-kpi-note { font: 400 12px/1.4 var(--sans); color: var(--ink-faint); }
/* the rows of figures, each under a one-line caption saying what it covers */
.ov-row-cap { margin: 0 0 6px; font: 400 12px/1.3 var(--sans); color: var(--ink-faint); }
.ov-row-cap b { font-weight: 700; color: var(--ink); }
/* the all-client rows: deliverability and sending, last 7 days */
.ov-stat-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-width: 0; }
.ov-stat-spark { width: 96px; height: 24px; flex: none; }
.ov-kpi-sub { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; font: 400 12px/1.35 var(--sans); color: var(--ink-faint); }
.ov-kpi-sub .delta { font-weight: 700; }
button.ov-kpi[aria-pressed="true"] .ov-kpi-note { color: var(--accent); }

/* the chart beside the live readings and the client book */
.ov-duo { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 12px; margin: 0 0 12px; align-items: stretch; }
.ov-side { display: grid; gap: 12px; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0; }
/* Live readings takes the height beside the chart; the readings that do not fit are counted below */
.ov-side > .ov-card:first-child { display: flex; flex-direction: column; min-height: 0; overflow: hidden; contain: size; }
/* contain: size — the readings never set the band's height; the chart does, and they fill what is left */
.ov-side .ov-feed { flex: 1; min-height: 0; overflow: hidden; }
.ov-feed-more { margin-top: auto; padding-top: 6px; }
.ov-card { padding: 10px 14px 10px; }
.ov-card .card-title { font-size: 14px; }
.ov-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.ov-ref, .ov-ref-plain { font: 400 12px/1.3 var(--sans); color: var(--ink-faint); white-space: nowrap; }
.ov-ref::before { content: ""; display: inline-block; width: 16px; margin-right: 7px; vertical-align: middle; border-top: 1.5px dashed var(--ink-soft); }
.ov-card-foot { margin: 6px 0 0; font: 400 12px/1.4 var(--sans); color: var(--ink-faint); }

/* the chart fills its card: its rows share the height of the readings and book beside it */
.ov-chart { display: flex; flex-direction: column; }
/* equal bands, each with a fine rule under it, filling the card: a tidy chart whatever the window's height */
.ov-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: minmax(26px, 1fr); flex: 1; }
.ov-bar-row + .ov-bar-row { border-top: 1px solid var(--line-soft); }
.ov-head-keys { display: inline-flex; align-items: baseline; gap: 16px; }
.ov-bar-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr) 3.6rem 11.5rem; align-items: center; gap: 14px; min-height: 22px; }
.ov-bar-name { font: 400 13px/1.3 var(--sans); color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.ov-bar-name:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.ov-track { position: relative; height: clamp(10px, 1.5vh, 14px); border-radius: 4px; background: var(--surface-3); }
.ov-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; }
.ov-fill.st-good { background: var(--st-good); } .ov-fill.st-warn { background: var(--st-warn); }
.ov-fill.st-bad { background: var(--st-bad); } .ov-fill.st-muted { background: var(--st-muted); }
.ov-tabs { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--series-1); }
.ov-legend i.ov-tabs-key { background: var(--series-1); }
.ov-floor { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--axis); }
.ov-refline { position: absolute; top: -5px; bottom: -5px; width: 0; border-left: 1.5px dashed var(--ink-soft); }
.ov-track.is-empty { background: repeating-linear-gradient(-45deg, transparent 0 4px, var(--hatch) 4px 5px); box-shadow: inset 0 0 0 1px var(--line); }
.ov-none { position: absolute; left: 8px; top: -2px; font: italic 400 11.5px/14px var(--sans); color: var(--ink-faint); white-space: nowrap; }
.ov-bar-val { text-align: right; font: 700 13px/1 var(--num); font-variant-numeric: tabular-nums; color: var(--ink); }
.ov-bar-when { font: 400 12px/1.2 var(--sans); color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line-soft);
             font: 400 12px/1.3 var(--sans); color: var(--ink-soft); }
.ov-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ov-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.ov-legend i.st-good { background: var(--st-good); } .ov-legend i.st-warn { background: var(--st-warn); }
.ov-legend i.st-bad { background: var(--st-bad); } .ov-legend i.st-muted { background: var(--st-muted); }
.ov-legend .ov-legend-note { margin-left: auto; color: var(--ink-faint); }

.ov-live-title { display: flex; align-items: center; gap: 9px; }
.ov-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--st-good); flex: none; }
.ov-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--st-good); animation: ov-ring 2.2s ease-out infinite; }
@keyframes ov-ring { from { transform: scale(.45); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.ov-feed { list-style: none; margin: 0; padding: 0; }
.ov-feed-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 5px 0;
               border-top: 1px solid var(--line-soft); font: 400 12.5px/1.35 var(--sans); color: var(--ink-soft); }
.ov-feed-row:first-child { border-top: 0; padding-top: 2px; }
.ov-feed-row[hidden] { display: none; }        /* the grid display above would otherwise beat [hidden] */
.ov-feed-what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-feed-what b { color: var(--ink); font-weight: 700; }
.ov-feed-when { font: 400 12.5px/1.3 var(--num); font-variant-numeric: tabular-nums; color: var(--ink-faint); white-space: nowrap; }
.ov-feed-when.bad { color: var(--bad-ink); }

.ov-book { margin: 0; }
.ov-book-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--line-soft); }
.ov-book-row:first-child { border-top: 0; padding-top: 2px; }
.ov-book dt { font: 400 12.5px/1.35 var(--sans); color: var(--ink-soft); }
.ov-book dd { margin: 0; font: 700 15px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.ov-book-note { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-faint); }

/* the client list's head: the title (or the active filter) and the search */
.ov-list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
                margin: 0; padding: 8px 16px; border-bottom: 1px solid var(--line-soft); }
.ov-list-head .find { height: 30px; }
/* the client list, tighter: one line per client where it fits */
.ov-list .board th, .ov-list .board td { padding-top: 7px; padding-bottom: 7px; }
.ov-list .board .client-row td { padding-top: 6px; padding-bottom: 6px; }
.ov-list .mono { width: 32px; height: 32px; margin-right: 10px; border-radius: 8px; font-size: 11px; }
/* a client's own logo in place of its initials: on white (logos are drawn for a light ground), with a hairline */
.mono-img { object-fit: contain; background: #ffffff; padding: 2px; box-shadow: none; border: 1px solid var(--line); }
.ov-list .mono-img { width: 32px; height: 32px; padding: 2px; }
.ov-list .client-name { font-size: 13.5px; }
.ov-list .client-crm { font-size: 11.5px; margin-top: 1px; }
.ov-list-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.ov-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; cursor: pointer;
           font: 400 12.5px/1 var(--sans); color: var(--ink); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.ov-chip-x { color: var(--accent); margin-left: 2px; }
.bench { white-space: nowrap; }
.bench-weeks { display: inline-block; width: 96px; margin-left: 10px; vertical-align: middle; }

/* eight weeks of placement tests: a small bar per week at its real share (benchSpark) */
.bspark { display: block; width: 100%; }
.bspark svg { display: block; width: 100%; height: auto; overflow: visible; }
.bspark .b-good { fill: var(--st-good); } .bspark .b-warn { fill: var(--st-warn); } .bspark .b-bad { fill: var(--st-bad); }
.bspark .b-none { fill: var(--axis); }
.bspark .b-tabs { fill: var(--series-1); }
.bspark .b-now-fill { fill: var(--st-muted); }
.bspark .b-now { fill: none; stroke: var(--axis); stroke-width: 1; stroke-dasharray: 2 2; }
.bspark .b-base { stroke: var(--line); stroke-width: 1; }
.bspark .b-ref { stroke: var(--ink-soft); stroke-width: 1.25; stroke-dasharray: 3 3; pointer-events: none; }
.bspark .b-hit { fill: transparent; }
.bspark g:hover rect:not(.b-hit) { filter: brightness(1.12); }
.bspark-axis { display: flex; justify-content: space-between; gap: 8px; margin-top: 5px; font: 400 11px/1.2 var(--sans); color: var(--ink-faint); }
.bspark-ref::before { content: ""; display: inline-block; width: 12px; margin-right: 5px; vertical-align: middle; border-top: 1.5px dashed var(--ink-soft); }
.pick .bspark { margin-top: 14px; }

/* the client list */
.board th, .board td { padding-left: 16px; padding-right: 16px; }
.board thead th { background: var(--surface-3); }
.client-cell { white-space: nowrap; }
.mono { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-right: 12px;
        border-radius: 9px; vertical-align: middle; font: 700 12px/1 var(--sans); color: var(--slate-900); background: var(--slate-100); }
:root[data-theme="dark"] .mono { color: #E5E5E5; background: #262626; }
.client-txt { display: inline-block; vertical-align: middle; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; border: 1px solid;
         font: 700 12px/1 var(--sans); }
.badge.is-good { color: var(--good-ink); background: var(--good-bg); border-color: var(--good-line); }
.badge.is-bad { color: var(--bad-ink); background: var(--bad-bg); border-color: var(--bad-line); }
.badge.is-idle { color: var(--ink-faint); background: var(--surface-3); border-color: var(--line); }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 999px; white-space: nowrap;
        font: 400 12.5px/1 var(--sans); color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--st-good); }
.pill.warn::before { background: var(--st-warn); } .pill.bad::before { background: var(--st-bad); } .pill.idle::before { background: var(--st-muted); }
.more-btn { border: 0; background: none; padding: 0; cursor: pointer; font: 400 12.5px/1.4 var(--sans); color: var(--accent);
            text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.reason-also { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.card .rules { border-top: 1px solid var(--line-soft); }

/* loading: the page's shape, quietly pulsing, until the figures arrive */
.skel-page { padding-top: 4px; }
.skel { background: var(--surface-3); border-radius: 10px; animation: skel 1.4s ease-in-out infinite; }
@keyframes skel { 50% { background: var(--line-soft); } }
.skel-line { height: 12px; margin: 0 0 12px; }
.skel-line.tall { height: 26px; margin-bottom: 24px; }
.w30 { width: 30%; } .w60 { width: 60%; }
.skel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
.skel-card { height: 120px; border-radius: 12px; }
.skel-block { height: 340px; border-radius: 12px; }

@media (max-width: 1180px) { .ov-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .ov-top { min-height: 0; }
  .ov-side { grid-template-rows: none; }
  .ov-duo { grid-template-columns: minmax(0, 1fr); }
  .ov-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 760px) { .ov-side { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .view-head { grid-template-columns: minmax(0, 1fr); }
  .view-head .head-actions { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .ov-kpis { gap: 10px; }
  .ov-kpi { padding: 14px 14px 12px; gap: 8px; }
  .ov-kpi-value { font-size: 26px; }
  .ov-card { padding: 14px 14px 14px; }
  .ov-card-head { flex-wrap: wrap; }
  .ov-bar-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name val" "track when"; gap: 4px 12px; padding: 4px 0; }
  .ov-bar-name { grid-area: name; } .ov-track { grid-area: track; } .ov-bar-val { grid-area: val; } .ov-bar-when { grid-area: when; text-align: right; }
  .ov-legend .ov-legend-note { margin-left: 0; }
  .ov-list-head { padding: 12px 14px; }
  .find, .ov-list-head .find { width: 100%; }
  .find input { width: 100%; }
  .skel-grid { grid-template-columns: 1fr 1fr; }
  .mono { display: none; }
  /* a client on a phone: the name with its eight weeks beside it, then the status, the reason, the read */
}
/* Warmy's panel, under the first screen and the full width: rows of their own height, room for "inbox + promotions" */
.ov-wide { margin: 0 0 24px; }
.ov-wide .ov-bars { grid-auto-rows: minmax(44px, 1fr); }
@media (min-width: 641px) { .ov-wide .ov-bar-row { grid-template-columns: 9rem minmax(0, 1fr) 3.6rem 18rem; } }
@media (prefers-reduced-motion: reduce) { .ov-pulse::after { animation: none; } }
/* a short window (a small laptop): the chart's rows a little closer, so the first screen still holds it all */
@media (max-height: 820px) and (min-width: 1101px) {
  .ov-bars { grid-auto-rows: minmax(22px, 1fr); }
  .ov-bar-row { min-height: 22px; }
  .ov-kpi { padding-top: 8px; padding-bottom: 9px; gap: 4px; }
  .ov-kpi-value { font-size: 20px; }
  .ov-stat-spark { height: 20px; }
  .ov-card { padding-top: 8px; padding-bottom: 8px; }
  .ov-feed-row, .ov-book-row { padding-top: 4px; padding-bottom: 4px; }
  .ov-legend { margin-top: 4px; padding-top: 5px; }
}
@media (max-height: 800px) and (min-width: 1101px) {
  .ov-row-cap { margin-bottom: 4px; font-size: 11.5px; }
  .ov-kpis { gap: 10px; margin-bottom: 10px; }
  .ov-kpi-sub { font-size: 11.5px; }
  .ov-bars { grid-auto-rows: minmax(21px, 1fr); }
  .ov-bar-row { min-height: 21px; }
}
@media (max-height: 740px) and (min-width: 1101px) {
  .ov-bars { grid-auto-rows: minmax(18px, 1fr); }
  .ov-bar-row { min-height: 18px; }
  .ov-legend { margin-top: 2px; padding-top: 4px; }
  .ov-head { margin-bottom: 6px; }
  .ov-kpis { gap: 8px; margin-bottom: 8px; }
  .ov-kpi-bar { height: 4px; }
  .ov-book-note, .ov-side .ov-card-foot:not(.ov-feed-more) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

/* ---------------------------------------------------------------- Deliverability */
/* eight weeks as eight marks — the shape carries the state as well as the colour:
   filled = passed, outlined = below 80%, a thin dash = not tested */
.benchstrip { display: flex; align-items: center; gap: 4px; margin-top: 12px; height: 12px; }
.benchstrip i { flex: 1; height: 12px; border-radius: 3px; display: block; }
.benchstrip i.pass { background: var(--good); }
.benchstrip i.fail { box-shadow: inset 0 0 0 1.5px var(--bad); }
.benchstrip i.none { height: 2px; background: var(--axis); }
.stat-sub .status { font-size: 12.5px; }
/* a sentence with a status dot: the dot sits on the first line, not the middle of the paragraph */
.note .status { align-items: flex-start; }
.note .status::before { margin-top: 7px; }
.note .dl-share { margin: 8px 0 0 15px; }
.dl-line { margin: 10px 0 8px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.row-quiet td { background: var(--surface-2); }       /* a week with no test: a row, not a zero */

/* ---------------------------------------------------------------- Contacts by inbox */
.espwrap { padding: 18px 18px 6px; }
.espbar { display: flex; width: 100%; height: 12px; border-radius: 6px; overflow: hidden; background: var(--surface-3); gap: 2px; }
.espseg { display: block; height: 100%; min-width: 2px; }
.swatchcell { width: 1px; padding-right: 0; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: middle; }

/* ------------------------------------------------- period header, as the workbook shows it */
th.hd { vertical-align: bottom; padding-top: 9px; padding-bottom: 9px; }
.hd-label { display: block; font: 700 12.5px/1.25 var(--sans); color: var(--ink); }
.hd-range { display: block; font: 400 11px/1.3 var(--sans); color: var(--ink-faint); margin-top: 2px; }
.hd-key   { display: none; }                 /* the machine key stays in the export and the tooltip */

/* ---------------------------------------------------------------- alerts */
.alerts { display: flex; flex-direction: column; }
.alerts-section { font: 700 15px/1.3 var(--sans); color: var(--ink); margin: 28px 0 10px; }   /* the tracker / the workbooks */
.alert { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); border-left: 3px solid transparent; }
.alert:last-child { border-bottom: 0; }
.alert.sev-critical { border-left-color: var(--bad); }
.alert.sev-warning  { border-left-color: var(--warn); }
.alert.sev-ok       { border-left-color: var(--good); }
.alert-top { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.alert-kind { font: 400 11.5px/1 var(--sans); color: var(--ink-faint); }
.alert-since { font: 400 11.5px/1 var(--sans); color: var(--ink-faint); margin-left: auto; }
/* system health, closed until opened (the team's list, 16 Oct, 3.1); the workbook history one line at its foot */
.alerts-system { margin-top: 8px; }
.alerts-system > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; }
.alerts-system > summary::-webkit-details-marker { display: none; }
.alerts-system .panel-meta { font-weight: 400; }
.alerts-history { margin: 6px 0 0; padding: 10px 14px; font-size: 13px; color: var(--ink-soft); border-left: 3px solid var(--line); }
.alerts-history b { color: var(--ink); }
.alerts-history.is-bad { border-left-color: var(--st-bad); }
.alert-title { margin: 0 0 4px; font: 700 14px/1.35 var(--sans); }
.alert-detail { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.55; max-width: 92ch; }
.alert-action { margin: 7px 0 0; font-size: 12.5px; color: var(--ink-soft); max-width: 92ch; line-height: 1.55; }
.alert-action-label { font: 700 12px/1 var(--sans); color: var(--ink); margin-right: 5px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 560px) { .asof { display: none; } }
@media (max-width: 640px) {
  .masthead-in { height: 52px; padding: 0 16px; }
  .wordmark-app, .wordmark-sep { display: none; }
  .topbar { padding: 0 12px 0 8px; gap: 8px; }
  main, .pagefoot { padding-left: 16px; padding-right: 16px; }
  main { padding-top: 18px; }
  .view-title { font-size: 22px; }
  .pinned th:first-child, .pinned td:first-child { min-width: 11rem; }
  .picker { grid-template-columns: 1fr; }
  .chart-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .seg { max-width: 100%; flex-wrap: wrap; }   /* wraps: a scrolled switch hid "Sending volume" behind a scrollbar */
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------------- Workflow emails · Per email */
.pe-table tbody th[scope="row"] { min-width: 18rem; max-width: 30rem; }
.pe-step { display: inline-block; min-width: 1.6em; color: var(--ink-faint); font-family: var(--num); font-variant-numeric: tabular-nums; }
.pe-name { color: var(--ink); }
.pe-sub { display: block; margin: 2px 0 0 1.6em; font-size: 12px; color: var(--ink-faint); }
.pe-legend { font-size: 12.5px; color: var(--ink-soft); margin: 0; display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; }
.pe-legend .pe-flag { margin: 0 0 0 8px; }
.pe-flag { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.pe-flag.bad { background: var(--st-bad); } .pe-flag.warn { background: var(--st-warn); }
.pe-table tr.row-formula th, .pe-table tr.row-formula td { color: var(--ink-soft); }
/* D73: Per email, week by week — the switch and the week, the week's line, and a workflow's quiet emails */
.pe-weeks { min-width: 0; max-width: 100%; margin-block: -3px; }
.pe-weeks select { max-width: min(330px, 100%); min-width: 0; text-overflow: ellipsis; }
.pe-week-note, .pe-credit-note { border-top: 0; border-bottom: 1px solid var(--line-soft); }
.pe-table tr.pe-quiet td { text-align: left; font-size: 13px; padding-block: 8px; }

/* ---------------------------------------------------------------- print / PDF
   The screen view is a dense grid; the PDF is a REPORT built into #print, the only thing on paper. */
#print { display: none; }
@media print {
  @page { size: A4; margin: 15mm 14mm; }
  body { background: #fff; color: #000; font: 400 10pt/14pt var(--sans); }
  body.printing > *:not(#print) { display: none !important; }
  #print { display: block; }
  .pr-kicker { font: 700 7.5pt/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #555; margin: 0 0 5pt; }
  .pr-title { font: 700 18pt/1.2 var(--sans); margin: 0 0 10pt; letter-spacing: -.01em; }
  .pr-head { border-bottom: 1.5pt solid #000; padding-bottom: 8pt; margin-bottom: 12pt; }
  .pr-meta { display: grid; grid-template-columns: max-content 1fr; gap: 2pt 12pt; margin: 0; font-size: 9pt; }
  .pr-meta dt { font-weight: 700; color: #444; }
  .pr-meta dd { margin: 0; }
  .pr-h2 { font: 700 8pt/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin: 14pt 0 6pt; padding-bottom: 3pt; border-bottom: .5pt solid #bbb; }
  .pr-facts { list-style: none; margin: 0; padding: 0; }
  .pr-facts li { display: grid; grid-template-columns: 16em max-content 1fr; gap: 10pt; padding: 3.5pt 0; border-bottom: .25pt solid #e2e2e2; font-size: 9.5pt; }
  .pr-fact-k { color: #333; }
  .pr-fact-v { font: 400 9.5pt/1.3 var(--num); font-variant-numeric: tabular-nums; text-align: right; }
  .pr-fact-n { color: #666; font-size: 8.5pt; }
  .pr-table { width: 100%; border-collapse: collapse; font-size: 8pt; margin-top: 3pt; }
  .pr-table th { text-align: left; font: 700 7pt/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; border-bottom: .75pt solid #000; padding: 3pt 4pt; white-space: normal; vertical-align: bottom; }
  .pr-table td { padding: 2.5pt 4pt; border-bottom: .25pt solid #e6e6e6; white-space: normal; overflow-wrap: break-word; vertical-align: top; }
  .pr-table td.pr-fig { white-space: nowrap; overflow-wrap: normal; }     /* a figure never breaks */
  .pr-table .pr-min { display: block; font: 400 7pt/1.2 var(--sans); color: #555; }   /* "at least", over a minimum's figure */
  .pr-table th.pr-nowrap { white-space: nowrap; }                       /* "SEP 2026" stays one line */
  .pr-part { font: 400 8pt/1.3 var(--sans); color: #555; margin: 10pt 0 3pt; break-after: avoid; }
  .pr-num { text-align: right; font-family: var(--num); font-variant-numeric: tabular-nums; }
  .pr-table th.pr-num { text-align: right; font-family: var(--sans); }
  .pr-table thead { display: table-header-group; }
  .pr-table tr { break-inside: avoid; }
  /* never a page of its own: the break goes before the figures' last rows instead (a client's Bookings
     Weekly printed a fifth page holding only this footer) */
  .pr-foot { margin-top: 12pt; padding-top: 7pt; border-top: .5pt solid #bbb; font-size: 8pt; color: #555; line-height: 1.5;
             break-before: avoid; break-inside: avoid; }
  .pr-list { margin: 6pt 0 0; font-size: 9pt; }
  :root[data-theme] { color-scheme: light; }
  .pr-visuals { margin: 0 0 4pt; }
  .pr-visuals .stats, .pr-visuals .stat, .pr-visuals .chart-card, .pr-visuals .bk-src, .pr-visuals .bk-brief { break-inside: avoid; }
}

/* ---------------------------------------------------------------- PDF: the page's own summary
   The tiles, charts and blocks above "The figures", printed (printVisuals in app.js). The same rules
   size the hidden stage the charts are drawn in (.pr-stage, A4 less its margins: 182 mm) and the
   copy on paper (#print), so a chart's drawn width IS its printed width — 1:1, never squeezed. */
.pr-stage { position: absolute; top: 0; left: -10000px; width: 182mm; visibility: hidden; pointer-events: none; }
/* paper is always the light palette, whatever the screen's theme: the :root values again on #print */
#print {
  --bg: #F2F9F8; --inset: #ffffff; --surface: #ffffff; --surface-2: #F7FBFB; --surface-3: #EAF3F2;
  --line: #DCE8E7; --line-soft: #E9F1F0;
  --ink: #192F33; --ink-soft: #3E585C; --ink-faint: #536B6E;
  --accent: #1B805D; --accent-soft: #EEFBF4; --accent-line: #B3E7CD;
  --good: #1b8a61; --warn: #b7791f; --bad: #c0443f;
  --good-ink: #0B6E46; --good-bg: #E8F6EF; --good-line: #BFE5D2;
  --bad-ink: #A1201C; --bad-bg: #FDECEA; --bad-line: #F4C7C3;
  --series-1: #2a78d6; --series-2: #173a6b; --series-3: #b0278c; --series-4: #6b6b1f;
  --st-good: #0b6e46; --st-warn: #c48a00; --st-bad: #c5221f; --st-muted: #8a94a6;
  --grid: #E6EEED; --axis: #C3D1D0; --mark: #A9BCBB;
  color-scheme: light;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
:is(#print, .pr-stage) .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0 0 12px; }
:is(#print, .pr-stage) .stat { box-shadow: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; }
:is(#print, .pr-stage) .stat-label { font-size: 10.5px; }
:is(#print, .pr-stage) .stat-value { font-size: 20px; margin-top: 4px; }
:is(#print, .pr-stage) .stat-sub { font-size: 10px; margin-top: 4px; }
:is(#print, .pr-stage) .stat-sub .status { font-size: 10px; }
:is(#print, .pr-stage) .chart-grid { grid-template-columns: 1fr; gap: 10px; margin: 0 0 12px; }
:is(#print, .pr-stage) .chart-card { box-shadow: none; border-radius: 8px; padding: 10px 12px 6px; }
:is(#print, .pr-stage) .chart-head { gap: 4px 10px; margin: 0 0 6px; }
:is(#print, .pr-stage) .chart-title { font-size: 12.5px; }
:is(#print, .pr-stage) .chart-sub, :is(#print, .pr-stage) .chart-legend span { font-size: 10.5px; }
:is(#print, .pr-stage) .bk-brief { font-size: 12px; margin: 0 0 10px; max-width: none; }
:is(#print, .pr-stage) .bk-src { box-shadow: none; border-radius: 8px; padding: 8px 12px 4px; margin: 0 0 12px; }
:is(#print, .pr-stage) .bk-src .card-title { font-size: 12.5px; }
:is(#print, .pr-stage) .bk-src .card-sub { font-size: 10.5px; margin: 2px 0 0; }
/* what the screen says only on hover, printed as a line (printVisuals: a tile's "+", a "–" cell) */
#print .pr-note { color: var(--ink-soft); }
#print p.card-sub.pr-note { font-size: 10px; line-height: 1.4; margin: 4px 0 4px; }
:is(#print, .pr-stage) .bk-src-table { font-size: 11px; }
:is(#print, .pr-stage) .bk-src-table th, :is(#print, .pr-stage) .bk-src-table td { padding: 4px 8px; }
:is(#print, .pr-stage) .bk-src-table td.num { font-size: 11px; }
:is(#print, .pr-stage) .bk-src-table thead th { font-size: 10px; }
:is(#print, .pr-stage) .bk-src-table .bk-src-barh, :is(#print, .pr-stage) .bk-src-table .bk-src-bar { min-width: 0; }
/* colour that is not a fill: Chrome's PDF leaves out backgrounds unless "Background graphics" is
   ticked, so a legend key, a status dot and a source bar are drawn as BORDERS, which always print */
#print .chart-legend i { background: none; box-sizing: border-box; border: 5px solid var(--ink-soft); }
#print .chart-legend i.s1 { border-color: var(--series-1); } #print .chart-legend i.s2 { border-color: var(--series-2); }
#print .chart-legend i.s3 { border-color: var(--series-3); } #print .chart-legend i.s4 { border-color: var(--series-4); }
#print .chart-legend i.st-good { border-color: var(--st-good); } #print .chart-legend i.st-warn { border-color: var(--st-warn); }
#print .chart-legend i.st-bad { border-color: var(--st-bad); } #print .chart-legend i.st-muted { border-color: var(--st-muted); }
#print .chart-legend i.line { border-width: 1px 7px; }
#print .chart-legend i.ref { border: 0; border-top: 2px dashed var(--ink-soft); }
#print .status::before { background: none; box-sizing: border-box; border: 4px solid var(--good); }
#print .status.warn::before { border-color: var(--warn); } #print .status.bad::before { border-color: var(--bad); }
#print .status.idle::before { border-color: var(--ink-faint); }
#print .pe-flag { background: none; box-sizing: border-box; border: 4.5px solid var(--st-bad); }
#print .pe-flag.warn { border-color: var(--st-warn); }
#print .bk-src-bar span { height: 0; background: none; border-top: 8px solid var(--series-1); }
#print .bk-src-table tr.bk-src-apart .bk-src-bar span { border-top-color: var(--axis); }
#print .bk-src-table tr.bk-src-total .bk-src-bar span { border-top-color: var(--ink-soft); }

/* Visually hidden but read aloud. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* One list at a time (an account read list by list, an AWeber account): the List picker in "The
   figures" bar, and the line under the bar that says which list the page shows */
/* the select is 34px, the bar's buttons 28.5px: the picker overhangs by 3px each side so it never makes
   the bar taller (Per email has no other select), and sits exactly where it would in a 34px row */
.list-pick { min-width: 0; max-width: 100%; margin-block: -3px; }
.list-pick select { max-width: min(300px, 100%); min-width: 0; text-overflow: ellipsis; }
.list-line { margin: 0; padding: 10px 18px; font-size: 13px; line-height: 1.5; color: var(--ink-soft);
             background: var(--surface-2); border-bottom: 1px solid var(--line-soft); }
.list-line strong { color: var(--ink); font-weight: 700; }
.list-line .link-btn { font-size: 13px; }

/* ---------------------------------------------------------------- the Lists page
   An account read list by list (an AWeber account): the design the owner chose in the local design lab
   (app/design-lab/…/final, never deployed), unchanged. Every rule is scoped under .lx-f. */
.lx-f { max-width: 1240px; }
.lx-f .view-head { margin-bottom: 16px; }
.lx-f a:focus-visible, .lx-f button:focus-visible, .lx-f select:focus-visible, .lx-f input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* the period switch, its dates, and "Open a list" */
.lx-f-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin: 0 0 18px; }
.lx-f-bar-left { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; max-width: 100%; }
.lx-f-bar-note { font: 400 12.5px/1.4 var(--sans); color: var(--ink-faint); }
.lx-f-open { display: flex; flex-direction: column; gap: 5px; min-width: 0; max-width: 100%; }
.lx-f-open label, .lx-f-find-label, .lx-f-sort-label { font: 400 12px/1.2 var(--sans); color: var(--ink-faint); }
.lx-f-open-row { display: flex; gap: 8px; min-width: 0; max-width: 100%; }
.lx-f-open-go { flex: none; height: 36px; font-weight: 400; }
.lx-f-open select { width: 340px; max-width: 100%; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink); font: 400 13.5px/1.2 var(--sans); }

/* the one sentence */
.lx-f-brief { margin: 0 0 16px; max-width: 110ch; font: 400 15px/1.55 var(--sans); color: var(--ink); }
.lx-f-brief b { font-weight: 700; }
.lx-f-stats { margin-bottom: 24px; }
.lx-f-stats.lx-f-stats-few { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.lx-f-stats .stat-value { font-family: var(--num); font-variant-numeric: tabular-nums; }

/* "too few to judge": a word in a quiet pill, never a colour alone */
.lx-f-few { display: inline-block; margin-top: 4px; padding: 3px 8px; border-radius: 999px; background: var(--surface-3);
  border: 1px solid var(--line); font: 400 11.5px/1.3 var(--sans); font-style: normal; color: var(--ink-soft); white-space: normal; }
.lx-f .stat-sub .lx-f-few { display: table; margin-top: 5px; }   /* its own line under the count */

/* ---------------------------------------------------------------- the journey map */
.lx-f-map { padding: 18px 20px 16px; margin: 0 0 8px; }
.lx-f-map-sub { margin: 4px 0 16px; }
.lx-f .card-sub { margin: 4px 0 0; font: 400 13px/1.5 var(--sans); color: var(--ink-soft); }
.lx-f-journey { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 0 8px; }
.lx-f-arrow { align-self: center; font: 400 18px/1 var(--sans); color: var(--ink-faint); }
.lx-f-side-label { margin: 18px 0 8px; font: 700 12.5px/1.3 var(--sans); color: var(--ink-soft); }
.lx-f-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.lx-f-step {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; min-width: 0;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2);
  font: 400 13px/1.4 var(--sans); color: var(--ink-soft); cursor: pointer;
}
.lx-f-step:hover { border-color: var(--accent-line); background: var(--surface); }
.lx-f-step-num { font: 400 12px/1.3 var(--sans); color: var(--ink-faint); }
.lx-f-step-name { font: 700 15px/1.3 var(--sans); color: var(--ink); }
.lx-f-step-big { margin: 4px 0 2px; color: var(--ink-soft); }
.lx-f-step-n { font: 700 22px/1.15 var(--num); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); }
.lx-f-step-word { font: 700 14px/1.3 var(--sans); color: var(--ink); }
.lx-f-step-unit { font-size: 12.5px; }
.lx-f-step-line { font-variant-numeric: tabular-nums; }
.lx-f-step-quiet { font-style: italic; color: var(--ink-faint); }
.lx-f-step.is-side { padding: 12px 14px; }
.lx-f-step.is-side .lx-f-step-n { font-size: 18px; }
.lx-f-proposal { margin: 14px 0 0; font: 400 12.5px/1.5 var(--sans); color: var(--ink-faint); max-width: 110ch; }

/* ---------------------------------------------------------------- stages */
.lx-f-sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin: 32px 0 12px; }
.lx-f-section { font: 700 18px/1.3 var(--sans); color: var(--ink); margin: 0; letter-spacing: -.01em; }
.lx-f-section-tight { margin: 8px 0 12px; }
.lx-f-subsection { font: 700 15px/1.3 var(--sans); color: var(--ink-soft); margin: 26px 0 10px; }
.lx-f-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.lx-f-find { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.lx-f-find input { width: 15rem; max-width: 100%; height: 36px; padding: 0 11px; font: 400 13.5px/1.2 var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.lx-f-find input::placeholder { color: var(--ink-faint); }
.lx-f-allquiet { font-weight: 400; color: var(--ink-soft); }
.lx-f-allquiet[aria-pressed="true"] { color: var(--ink); }

.lx-f-found-card { padding: 14px 20px 10px; margin: 0 0 16px; }
.lx-f-found-status { margin: 0 0 6px; font: 700 13.5px/1.4 var(--sans); color: var(--ink); }
.lx-f-found-list { list-style: none; margin: 0; padding: 0; }
.lx-f-found-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 7px 0; border-top: 1px solid var(--line-soft); font-size: 13.5px; }
.lx-f-found-meta { font: 400 12.5px/1.4 var(--sans); color: var(--ink-soft); }

.lx-f-stage { padding: 18px 20px 14px; margin: 0 0 16px; scroll-margin-top: 16px; }
.lx-f-stage-head { margin: 0 0 10px; }
.lx-f-stage-num { margin: 0 0 4px; font: 400 12px/1.3 var(--sans); color: var(--ink-faint); }
.lx-f-stage-title { margin: 0; font: 700 17px/1.3 var(--sans); color: var(--ink); }
.lx-f-stage-title:focus { outline: none; }
.lx-f-nosend { margin: 0; font: 400 13.5px/1.5 var(--sans); color: var(--ink-soft); }

/* tables: the app's look, scrolling sideways inside their own box */
.lx-f-scroll { overflow-x: auto; overflow-y: hidden; }
.lx-f-scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.lx-f-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lx-f-table th, .lx-f-table td { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; vertical-align: top; }
.lx-f-table thead th { position: static; font: 400 12px/1.3 var(--sans); color: var(--ink-faint); background: none; text-align: left; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.lx-f-table thead th.num { text-align: right; }
.lx-f-th { display: block; }
.lx-f-th-sub { display: block; font-size: 11.5px; color: var(--ink-faint); }
.lx-f-table tbody th { font-weight: 400; color: var(--ink); text-align: left; white-space: normal; min-width: 13rem; }
.lx-f-table td.num { font: 400 13.5px/1.35 var(--num); font-variant-numeric: tabular-nums; text-align: right; color: var(--ink); }
.lx-f-table td.lx-f-unknown { font: italic 400 12px/1.35 var(--sans); color: var(--ink-faint); }
.lx-f-table tbody tr:hover td, .lx-f-table tbody tr:hover th { background: var(--surface-2); }
.lx-f-table td.lx-f-none { color: var(--ink-faint); font-style: italic; white-space: normal; }
.lx-f-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.lx-f-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.lx-f-when { display: block; margin-top: 2px; font: 400 12px/1.35 var(--sans); color: var(--ink-faint); }
.lx-f-swipe { display: none; margin: 0 0 8px; font: 400 12.5px/1.45 var(--sans); color: var(--ink-faint); }
.lx-f-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the one yardstick: the whole account in the same period, once, above every stage */
.lx-f-yard { margin: 0 0 16px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.lx-f-yard-title { margin: 0; font: 700 14.5px/1.3 var(--sans); color: var(--ink); }
.lx-f-yard-sub { margin: 2px 0 0; font: 400 12.5px/1.45 var(--sans); color: var(--ink-soft); }
.lx-f-yard-list { display: grid; grid-template-columns: repeat(7, minmax(0, auto)); justify-content: space-between; align-items: end; gap: 10px 20px; margin: 10px 0 0; }
.lx-f-yard-item { min-width: 0; }
.lx-f-yard-item dt { font: 400 12px/1.3 var(--sans); color: var(--ink-soft); }
.lx-f-yard-item dt .lx-f-th-sub { color: var(--ink-soft); }
.lx-f-yard-item dd { margin: 3px 0 0; font: 700 16px/1.25 var(--num); font-variant-numeric: tabular-nums; color: var(--ink); }

/* quiet lists: one line per stage, the names behind the one "Show all quiet lists" switch */
.lx-f-quiet { margin: 12px 0 2px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.lx-f-rows + .lx-f-quiet, .lx-f-scroll + .lx-f-quiet { margin-top: 4px; }
.lx-f-quiet-title { margin: 0; font: 400 13px/1.45 var(--sans); color: var(--ink-soft); }
.lx-f-quiet-title b { color: var(--ink); }
.lx-f-quiet-hint { color: var(--ink-faint); }
.lx-f-quiet.is-open .lx-f-quiet-hint { display: none; }
.lx-f-quiet .lx-f-quiet-list { display: none; }
.lx-f-quiet.is-open .lx-f-quiet-list { display: grid; margin-top: 6px; }
.lx-f-quiet-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.lx-f-quiet-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; min-width: 0; }
.lx-f-quiet-list .lx-f-link { font-weight: 400; min-width: 0; overflow-wrap: anywhere; }
.lx-f-quiet-n { flex: none; font: 400 13px/1.35 var(--num); font-variant-numeric: tabular-nums; color: var(--ink-soft); }

/* not split by list yet */
.lx-f-later { padding: 18px 20px 12px; margin: 24px 0 0; }
.lx-f-later-list { margin: 10px 0 0; padding: 0; list-style: none; }
.lx-f-later-list li { padding: 8px 0; border-top: 1px solid var(--line-soft); font: 400 13.5px/1.55 var(--sans); color: var(--ink-soft); max-width: 120ch; }
.lx-f-later-list li:first-child { border-top: 0; }
.lx-f-later-list b { color: var(--ink); }
.lx-f-foot { margin: 16px 0 8px; font: 400 12.5px/1.6 var(--sans); color: var(--ink-faint); max-width: 120ch; }

/* ---------------------------------------------------------------- one list */
.lx-f-back { display: inline-block; margin: 0 0 14px; font: 400 13.5px/1.3 var(--sans); color: var(--accent); text-decoration: none; }
.lx-f-back:hover { text-decoration: underline; text-underline-offset: 2px; }
.lx-f-charts { margin-bottom: 16px; }
.lx-f .chart .lx-f-dot-few { fill: var(--surface); stroke: var(--series-1); stroke-width: 2; }
.lx-f-every, .lx-f-big, .lx-f-sibs { padding: 18px 20px 12px; margin: 0 0 16px; }
.lx-f-card-head { margin: 0 0 10px; }
.lx-f-big-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; }
.lx-f-sort { display: flex; flex-direction: column; gap: 5px; }
.lx-f-more { margin: 12px 0 4px; font-weight: 400; color: var(--ink-soft); }
.lx-f-wide tbody th { min-width: 10rem; }
/* the period or month stays in view while the figures scroll sideways */
.lx-f-wide tbody th[scope="row"], .lx-f-wide thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: inset -1px 0 0 var(--line-soft); }
.lx-f-wide tr.is-chosen th[scope="row"] { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--accent), inset -1px 0 0 var(--line-soft); }
.lx-f-wide td.num { padding-left: 14px; }
.lx-f-count { display: block; }
.lx-f-rate { display: block; font-size: 12px; color: var(--ink-soft); }
.lx-f-table tr.lx-f-group th { padding-top: 16px; font: 700 12.5px/1.3 var(--sans); color: var(--ink-soft); background: none; border-bottom: 1px solid var(--line); }
.lx-f-table tr.lx-f-group:hover th { background: none; }
.lx-f-table tr.is-chosen th, .lx-f-table tr.is-chosen td { background: var(--surface-2); }
.lx-f-table tr.is-chosen th { box-shadow: inset 3px 0 0 var(--accent); }
.lx-f-subject { white-space: normal; min-width: 18rem; max-width: 34rem; }
.lx-f-subject > span:first-child { display: block; }
.lx-f-date { color: var(--ink-soft); }
.lx-f-sibs .lx-f-quiet-list { margin-top: 8px; }

/* ---------------------------------------------------------------- narrower screens */
@media (max-width: 1180px) {
  .lx-f-journey { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); row-gap: 10px; }
  .lx-f-journey > .lx-f-arrow:nth-of-type(2) { display: none; }   /* the row break: stage 3 starts a new line */
  .lx-f-yard-list { grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: stretch; }
}
/* the list rows stack below a laptop width (measured: the 9 columns need about 1,260px of window): name on top, then the figures, each named */
@media (max-width: 1260px) {
  .lx-f-swipe { display: block; }
  .lx-f-rows thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lx-f-rows, .lx-f-rows tbody { display: block; }
  .lx-f-rows tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .lx-f-rows tbody th, .lx-f-rows td { display: block; padding: 0; border: 0; min-width: 0; white-space: normal; }
  .lx-f-rows tbody th { grid-column: 1 / -1; max-width: none; }
  .lx-f-rows td.num { text-align: left; }
  .lx-f-rows td[data-label]::before { content: attr(data-label); display: block; font: 400 11.5px/1.3 var(--sans); color: var(--ink-faint); font-style: normal; }
  .lx-f-rows td.lx-f-none { grid-column: 2 / -1; align-self: end; }
  .lx-f-rows tbody tr:hover td, .lx-f-rows tbody tr:hover th { background: none; }
}
@media (max-width: 640px) {
  .lx-f-journey { grid-template-columns: minmax(0, 1fr); }
  .lx-f-journey > .lx-f-arrow, .lx-f-journey > .lx-f-arrow:nth-of-type(2) { display: block; justify-self: start; margin-left: 18px; transform: rotate(90deg); }
  .lx-f-side { grid-template-columns: minmax(0, 1fr); }
  .lx-f-quiet-list { grid-template-columns: minmax(0, 1fr); }
  .lx-f-map, .lx-f-stage, .lx-f-later, .lx-f-every, .lx-f-big, .lx-f-sibs, .lx-f-found-card { padding-left: 14px; padding-right: 14px; }
  .lx-f-yard { padding: 12px 14px; }
  .lx-f-yard-list { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; }
  .lx-f-open-row { width: 100%; }
  .lx-f-open select { flex: 1 1 auto; width: auto; }
  .lx-f-open, .lx-f-find, .lx-f-find input, .lx-f-tools, .lx-f-allquiet { width: 100%; }
  .lx-f-rows tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lx-f-table tbody th { min-width: 11rem; }
  .lx-f-subject { min-width: 14rem; }
  .lx-f-wide tbody th { min-width: 8.5rem; }
  /* a broadcast's row stacks on a phone too */
  .lx-f-sends thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lx-f-sends, .lx-f-sends tbody { display: block; }
  .lx-f-sends tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .lx-f-sends tbody th, .lx-f-sends td { display: block; padding: 0; border: 0; min-width: 0; white-space: normal; }
  .lx-f-sends tbody th { grid-column: 1 / -1; max-width: none; }
  .lx-f-sends td.num { text-align: left; }
  .lx-f-sends td[data-label]::before { content: attr(data-label); display: block; font: 400 11.5px/1.3 var(--sans); color: var(--ink-faint); }
  .lx-f-sends tbody tr:hover td, .lx-f-sends tbody tr:hover th { background: none; }
  .lx-f-sends tr:last-child { border-bottom: 0; }
}

/* the same list on the broadcast pages (their List picker) */
.lx-f-also { margin: -4px 0 14px; font: 400 13px/1.5 var(--sans); color: var(--ink-soft); }
.lx-f-also a { color: var(--accent); }

/* "The figures" bar, one step bigger and bold (owner, 3 Oct: "make this dropdown for the lists one step
   bigger and bold the fonts in it, so that it is visible", "along with the export options we need to bold
   and make one size bigger for this row"). Only this bar: the same controls elsewhere keep their size.
   The read-time note stays regular (it is a status line, not a control) but one step bigger too. */
.panel-head:has(> .panel-tools) > .panel-title { font-size: 16px; }
.panel-head:has(> .panel-tools) > .panel-meta { font-size: 13px; color: var(--ink-soft); }
.panel-tools .controls label { font: 700 13.5px/1 var(--sans); color: var(--ink-soft); }
.panel-tools .controls select { font: 700 14px/1.2 var(--sans); padding: 8px 12px; }
.panel-tools .controls select option, .panel-tools .controls select optgroup { font-weight: 700; font-size: 14px; }
.panel-tools .tb-btn { font: 700 14px/1 var(--sans); padding: 9px 14px; color: var(--ink); }
.panel-tools .about > summary { font: 700 14px/1 var(--sans); padding-block: 8px; }

/* ---------------------------------------------------------------- Reputations and Content (D64)
   Three verdict cards (content, IP, domain): the word and its mark carry the verdict, the left edge
   repeats it in colour — never colour alone; text keeps the text tokens. */
.rep-card { border-left: 4px solid var(--st-muted); }
.rep-card.is-good { border-left-color: var(--st-good); }
.rep-card.is-warn { border-left-color: var(--st-warn); }
.rep-card.is-bad  { border-left-color: var(--st-bad); }
.rep-card.is-worst { border-left-color: var(--bad-ink); background: var(--bad-bg); }   /* Bad: Google's lowest */
.rep-card.is-clear { border-left-color: var(--pm-clear); }   /* D75: No problem reported, the IP section's only */
.rep-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0;
             font: 700 15px/1.3 var(--sans); color: var(--ink); }
.rep-value { display: flex; align-items: center; gap: 8px; }
.rep-value svg.i.rep-mark { width: 24px; height: 24px; stroke-width: 2.25; }
.is-good .rep-mark { color: var(--st-good); } .is-warn .rep-mark { color: var(--st-warn); }
.is-bad .rep-mark { color: var(--st-bad); }   .is-idle .rep-mark { color: var(--st-muted); }
.is-worst .rep-mark { color: var(--bad-ink); }
.is-clear .rep-mark { color: var(--st-good); }   /* the shield, in the text-safe green: the pale one is the edge's */
.tag.rep-fix { font-weight: 700; color: var(--ink); background: var(--surface-3); }
.is-bad .tag.rep-fix, .is-worst .tag.rep-fix { color: var(--bad-ink); background: var(--bad-bg); box-shadow: inset 0 0 0 1px var(--bad-line); }
.rep-focus { margin: -4px 0 20px; }
.rep-focus-line { margin: 0; font: 700 15px/1.5 var(--sans); color: var(--ink); max-width: 90ch; }
.rep-focus-sub { margin: 4px 0 0; font: 400 13px/1.5 var(--sans); color: var(--ink-soft); }
.gmail.rep-first { margin-top: 0; border-top: 0; }
.rep-sec .gmail-head .panel-meta { font-size: 12.5px; color: var(--ink-soft); }
.rep-note { max-width: 64ch; }
.mono-cell { font-family: var(--num); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rep-sec td.rep-date, .rep-sec th.rep-when { white-space: nowrap; }
/* the Overview's IP and Domain reputation figures (D64): a bar of every client's level, side by side */
a.ov-kpi.ov-rep { text-decoration: none; color: inherit; }
.ov-rep-bar { display: flex; gap: 2px; background: none; }
.ov-rep-bar span { border-radius: 0; }
.ov-rep-bar span:first-child { border-radius: 3px 0 0 3px; } .ov-rep-bar span:last-child { border-radius: 0 3px 3px 0; }
.ov-rep-bar span:only-child { border-radius: 3px; }
.ov-kpi-bar .tone-worst { background: var(--bad-ink); }
.ov-kpi-bar .tone-clear { background: var(--pm-clear); }
/* Google Postmaster's two charts under the cards (D64; owner, 4 Oct: "I need the exact graphical view"): Postmaster's
   own colours — its green, amber and red, its Bad a step darker (adjacent levels ΔE 19+ for normal vision, 14.5+
   colour-blind; every level is also named in the legend, the tooltip and the table) — and its Google-blue line, the
   same in light, in dark and on paper. Text keeps the text tokens. */
/* D75: "No problem reported" (an IP with nothing against it, nothing showing it High) is a paler green, never one of
   Postmaster's levels: ΔE 40 from High and 33 from the grey for normal vision, 23+ for colour-blind vision (measured,
   7 Oct); lighter than both, so it parts from them by lightness too. */
:root { --pm-high: #0f9d58; --pm-medium: #f4b400; --pm-low: #db4437; --pm-bad: #8b1a0e; --pm-none: #9aa0a6; --pm-blue: #4285f4;
        --pm-clear: #a8dab5; }
.pm-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
           box-shadow: var(--shadow); padding: 18px 22px 18px; margin: 0 0 16px; min-width: 0; }
.pm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
/* Postmaster's menus: the domain beside the title, the period at the right (owner, 4 Oct) */
.pm-head-left { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; min-width: 0; }
.pm-select { font: 400 13px/1.2 var(--sans); padding: 7px 10px; color: var(--ink); max-width: 100%; min-width: 0;
             background: var(--surface); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.pm-select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pm-select.pm-domain { font-weight: 700; text-overflow: ellipsis; }
.pm-from { margin: 6px 0 0; max-width: 110ch; font: 400 12.5px/1.45 var(--sans); color: var(--ink-soft); }
/* a client's page names its own domain beside the title; the tracker's own page has the menus (owner, 4 Oct) */
.pm-domain-name { font: 700 14px/1.3 var(--sans); color: var(--ink); }
.pm-all-table { margin: 0 0 16px; }
.pm-all-table td .tb-btn { white-space: nowrap; }
.pm-title { display: inline-flex; align-items: center; gap: 2px; margin: 0; font: 700 18px/1.3 var(--sans); color: var(--ink); }
.pm-help { display: inline-grid; place-items: center; flex: none; width: 17px; height: 17px; margin: 0 0 0 3px; padding: 0;
           border: 0; border-radius: 50%; background: var(--ink-faint); color: var(--surface); font: 700 11px/1 var(--sans); cursor: pointer; }
.pm-help:hover, .pm-help[aria-expanded="true"] { background: var(--ink-soft); }
.pm-about { margin: 8px 0 0; max-width: 92ch; font: 400 13px/1.5 var(--sans); color: var(--ink-soft); }
.pm-chart { margin: 4px 0 0; }
.pm-svg .pm-hline, .pm-svg .pm-vline { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.pm-svg .pm-hline.is-minor { stroke: var(--line-soft); }
.pm-svg .pm-vline.is-month { stroke: var(--axis); }
.pm-svg .pm-base { stroke: var(--axis); stroke-width: 1; shape-rendering: crispEdges; }
.pm-svg .pm-ylab { fill: var(--ink-soft); font: 400 13px/1 var(--sans); }
.pm-svg .pm-date { fill: var(--ink-soft); font: 400 12.5px/1 var(--sans); }
.pm-svg .pm-ytitle { fill: var(--ink-soft); font: italic 400 13px/1 var(--sans); }
.pm-svg .pm-legend-word { fill: var(--ink); font: 400 13px/1 var(--sans); }
.pm-svg .pm-empty { fill: var(--ink-faint); font: 400 13px/1 var(--sans); }
.pm-svg .pm-seg, .pm-svg .pm-key { shape-rendering: crispEdges; }
.pm-svg .pm-high { fill: var(--pm-high); } .pm-svg .pm-medium { fill: var(--pm-medium); }
.pm-svg .pm-low { fill: var(--pm-low); }   .pm-svg .pm-bad { fill: var(--pm-bad); } .pm-svg .pm-none { fill: var(--pm-none); }
.pm-svg .pm-clear { fill: var(--pm-clear); }
.pm-svg .pm-cut { stroke: var(--surface); stroke-width: 1; shape-rendering: crispEdges; }   /* between two IPs' blocks */
.pm-svg .pm-pick { fill: var(--ink); }
.pm-svg .pm-line, .pm-svg .pm-key-line { fill: none; stroke: var(--pm-blue); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pm-svg .pm-lone { fill: var(--pm-blue); }
.pm-svg .pm-hover { fill: var(--pm-blue); stroke: var(--surface); stroke-width: 2; }
.pm-svg .hit { fill: transparent; cursor: pointer; outline: none; }
.pm-svg .pm-levels-hit { cursor: default; }
.pm-svg .hit:focus-visible { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 2; }
.tip-note { margin: 6px 0 0; max-width: 300px; white-space: normal; color: var(--ink); font-size: 12px; line-height: 1.45; }
/* the IP bars' hover: each level a heading with a square key, its IPs set in under it, the one under the pointer
   in bold ink with a bar at its left (a mark, not colour alone) */
.tip-row i.box { width: 10px; height: 10px; border-radius: 2px; }
.pm-card .tip-row + .tip-row:not(.tip-sub) { margin-top: 6px; }
.tip-row.tip-sub { padding: 1px 0 1px 18px; }
.tip-row.tip-sub span { font-family: var(--num); font-variant-numeric: tabular-nums; }
.tip-row.is-on { box-shadow: inset 2px 0 0 var(--ink); }
.tip-row.is-on span, .tip-row.is-on b { color: var(--ink); font-weight: 700; }
.pm-svg .pm-seg.is-hot { stroke: var(--ink); stroke-width: 1.5px; }
.pm-hint { margin: 8px 0 0; text-align: center; font: 400 13px/1.4 var(--sans); color: var(--ink-soft); }
.pm-detail { margin: 14px 0 0; }
.pm-detail:empty { display: none; }
.pm-detail-title { margin: 0 0 6px; font: 400 13.5px/1.45 var(--sans); color: var(--ink-soft); }
.pm-detail-title strong { color: var(--ink); font-weight: 700; }
.pm-why { margin: 0 0 8px; max-width: 110ch; font: 400 13px/1.5 var(--sans); color: var(--ink); }
.pm-card > .scroller { margin-top: 14px; }
.pm-table td.pm-level { white-space: nowrap; }
.pm-table th.rep-when { white-space: nowrap; }
/* a level's colour in a table: a border, so it prints without "Background graphics" */
.pm-sw { display: inline-block; width: 0; height: 0; margin: 0 7px 0 0; vertical-align: -1px; border: 6px solid var(--pm-none); border-radius: 2px; }
.pm-sw.pm-high { border-color: var(--pm-high); } .pm-sw.pm-medium { border-color: var(--pm-medium); }
.pm-sw.pm-low { border-color: var(--pm-low); }   .pm-sw.pm-bad { border-color: var(--pm-bad); }
.pm-sw.pm-clear { border-color: var(--pm-clear); }
@media (max-width: 560px) {
  .pm-card { padding: 14px 14px 14px; }
  .pm-title { font-size: 16px; }
}
:is(#print, .pr-stage) .pm-card { box-shadow: none; border-radius: 8px; padding: 10px 12px 8px; margin: 0 0 10px; break-inside: avoid; }
:is(#print, .pr-stage) .pm-title { font-size: 13px; }
:is(#print, .pr-stage) .pm-help, :is(#print, .pr-stage) .pm-hint { display: none; }
/* on paper a menu is its chosen words: the domain and the period, without the box and the arrow */
:is(#print, .pr-stage) .pm-select { appearance: none; -webkit-appearance: none; border: 0; padding: 0; background: none; font-size: 12px; }
/* the main status large; the reason and the scale in small print under it (owner, 4 Oct) */
.rep-card .rep-value { font-size: 32px; }
.rep-value svg.i.rep-mark { width: 28px; height: 28px; }
.rep-why { margin: 0; font: 400 12.5px/1.45 var(--sans); color: var(--ink); }
.rep-why strong { font-weight: 700; }
.rep-key { margin: 10px 0 0; padding: 10px 0 0; list-style: none; border-top: 1px solid var(--line-soft);
           font: 400 11.5px/1.45 var(--sans); color: var(--ink-soft); }
.rep-key li { display: flex; gap: 7px; }
.rep-key li + li { margin-top: 3px; }
.rep-key li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 4.5px; border-radius: 50%; background: var(--st-good); }
.rep-key li.is-medium::before { background: var(--st-warn); }
.rep-key li.is-low::before { background: var(--st-bad); }
.rep-key li.is-bad::before { background: var(--bad-ink); }
.rep-key li.is-clear::before { background: var(--pm-clear); box-shadow: inset 0 0 0 1.5px var(--st-good); }
.rep-key strong { font-weight: 700; color: var(--ink); white-space: nowrap; }
/* D75: the longest label and value, in a phone's half-width card (they pushed the page 26px sideways at 375px) */
@media (max-width: 640px) {
  .rep-key li.is-clear strong { white-space: normal; }
  .rep-card.is-clear .rep-value { font-size: 23px; }
}

/* ---- dashboard v1 (the team's list, 16 Oct; the owner's decisions, 29 Oct) ---- */
/* the client's status in one plain line under its name (4.1), the other reasons after it */
.client-status .status-line { color: var(--ink); max-width: 96ch; }
.client-status .status-line .status { margin-right: 4px; }
.status-also { color: var(--ink-soft); }
/* the Gmail tile, greyed where Gmail put under half the test emails in the inbox (5.3, 14.1): a grey ground and the
   secondary ink, never a fainter text */
.stat.is-muted { background: var(--surface-2); }
.stat.is-muted .stat-value { color: var(--ink-soft); }
.stat-caveat { display: block; width: 100%; color: var(--ink); font-weight: 700; }
/* the week's benchmark rows (5.x) */
.bench-card { margin: 0 0 16px; }
.bench-table { width: 100%; }
.bench-table th, .bench-table td { vertical-align: top; }
.bench-table th.client-name { white-space: nowrap; }
.bench-table td.bench-target, .bench-table td.bench-date, .bench-table td.bench-now { white-space: nowrap; }
.bench-table td.bench-src { min-width: 14ch; max-width: 34ch; }
/* the week still running (D87): its figure so far, uncoloured, and the day it is from under it */
.bench-run { color: var(--ink); font-variant-numeric: tabular-nums; }
.bench-shown { display: block; font: 400 11.5px/1.3 var(--sans); color: var(--ink-faint); margin-top: 2px; }
.bench-beside { color: var(--ink-soft); }
.bench-more { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-soft); max-width: 52ch; white-space: normal; }
/* GlockApps week by week: each test a small dot on its week's column (14.2), its period menu at the right (5.4) */
.chart .test-dot { fill: var(--ink); stroke: var(--surface); stroke-width: 2; pointer-events: none; }
.chart-legend i.tdot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.chart-head .ga-range { margin-left: auto; }
/* the GrowMailers estimate in one line (7.1), what the levels mean behind its info mark (7.2) */
.rep-line { margin: 0 0 16px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.rep-line-text { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; font-size: 14px; color: var(--ink); }
.rep-line-sub { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-soft); max-width: 110ch; }
.rep-legend { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-soft); display: grid;
              grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 18px; }
.rep-legend[hidden] { display: none; }                 /* closed until its info mark is pressed */
.rep-legend > p { grid-column: 1 / -1; margin: 0; max-width: 110ch; }
.rep-legend .rep-key { margin: 0; padding: 0; border: 0; }
.rep-legend .rep-key-head { font-weight: 700; color: var(--ink); }
.rep-legend .rep-key-head::before { display: none; }
.rep-charts { margin-top: 10px; }
.rep-charts > summary, .figs-more > summary, .cfl-list > summary { cursor: pointer; color: var(--ink); font-weight: 700; font-size: 13.5px; padding: 6px 0; }
.rep-charts .pm-card { margin-top: 10px; }
/* the figures one click away (5.5, 6.6, 7.6) */
.figs-more { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 8px; }
.figs-more .panel-meta { font-weight: 400; margin-left: 6px; }
.figs-more > .scroller, .figs-more > section { margin-top: 8px; }
/* a second line in a tile: the open rate's cause (8.1), the running month so far (9.2) */
.stat-line { display: block; width: 100%; color: var(--ink-soft); }
/* an unsubscribe or hard-bounce rate over the team's 0.2% target (8.6, 9.3): bold, in the bad ink, with a mark — never
   colour alone */
td.over-target { color: var(--bad-ink); font-weight: 700; }
td.over-target::after { content: " ▲"; font-size: 9px; vertical-align: 1px; }
/* the latest test, a row per provider (6.7, 6.9) */
.prov-table th .status { font-weight: 700; }
.cfl-list { margin: 6px 0; }
/* every campaign, read once (D99) */
.camp-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.camp-count { color: var(--muted, inherit); margin-right: auto; }
.camp-table td.wrap { min-width: 240px; max-width: 360px; white-space: normal; }
.camp-table td.camp-when, .camp-table td.camp-type { white-space: nowrap; }
.camp-table td.camp-bad { color: var(--bad-ink); font-weight: 700; }
.camp-table tr.camp-total th, .camp-table tr.camp-total td { font-weight: 700; border-top: 2px solid currentColor; }
