/*
 * Handsoff design tokens.
 * Source: Claude Design project db76a1bb-af58-40e4-a1f2-8c9b0907f525,
 *         file "Handsoff Screens and Rules.dc.html" (copy in design/source/).
 * Imported 2026-10-04. Logo block added 2026-10-05 (H-Pass, option 3a).
 * The brand is Herman's choice: do not change values without him.
 * Every value below is copied from the source. Where the source gives no value,
 * the line says "not specified in source".
 * Rules for using these tokens: design/RULES.md.
 */

/* ---------- Fonts ---------- */
/* Load: https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&family=IBM+Plex+Mono:wght@400;500;600&display=swap */
:root {
  --hs-font: 'Archivo', sans-serif;               /* everything */
  --hs-font-mono: 'IBM Plex Mono', monospace;     /* real code only: commands, hashes, file names */
  --hs-stretch-display: 125%;                     /* Expanded: display and labels */
  --hs-stretch-reading: 87%;                      /* Semi Condensed: reading */
}

/* ---------- Colour, light (default) ---------- */
:root {
  --hs-surface: #F5F6F7;      /* page background */
  --hs-raised: #FFFFFF;       /* cards, panels, callouts, tables */
  --hs-sunken: #EBEDEF;       /* row hover, active nav item, browser chrome */
  --hs-line: #D5D8DC;         /* borders and dividers, always 1px */
  --hs-ink: #111214;          /* text, primary button fill, waiting badge outline */
  --hs-ink-2: #4A4D52;        /* secondary text, labels, metadata */
  --hs-field: #C23B22;        /* marketing hero and closing band only */
  --hs-zone: #A92F19;         /* the exchange zone band */
  --hs-lane: #FFFFFF;         /* lane lines on the field, 3px */
  --hs-on-field: #FFFFFF;     /* text on field */
  --hs-red: #C23B22;          /* text and borders that mean dropped; link underline */
  --hs-blue: #2F4FC7;         /* text and borders that mean blocked */
  --hs-baton: #FFD60A;        /* baton shape, held badge, link hover, field button */
  --hs-on-baton: #111214;     /* text on baton, always ink */
  --hs-btn: #111214;          /* primary button fill */
  --hs-on-btn: #FFFFFF;
  --hs-inverse: #111214;      /* one inverted section per marketing page */
  --hs-on-inverse: #F5F6F7;
  --hs-on-inverse-2: #A4A8AE;
  --hs-held: #FFD60A;
  --hs-on-held: #111214;
  --hs-dropped: #C23B22;
  --hs-on-dropped: #FFFFFF;
  --hs-blocked: #2F4FC7;
  --hs-on-blocked: #FFFFFF;
  --hs-closed: #E3E5E8;
  --hs-on-closed: #4A4D52;
  --hs-code: #111214;         /* code block background */
  --hs-on-code: #F5F6F7;      /* code text */
  --hs-code-2: #9A9EA4;       /* prompts and output in code blocks */
  --hs-underline: #C23B22;    /* link underline */
}

/* ---------- Colour, dark ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hs-surface: #111214;
    --hs-raised: #1B1D20;
    --hs-sunken: #0A0B0C;
    --hs-line: #33363B;
    --hs-ink: #F5F6F7;
    --hs-ink-2: #A4A8AE;
    --hs-field: #111214;
    --hs-zone: #C23B22;
    --hs-lane: #3A3D42;
    --hs-on-field: #F5F6F7;
    --hs-red: #FF5A3C;
    --hs-blue: #8EA6FF;
    --hs-baton: #FFD60A;
    --hs-on-baton: #111214;
    --hs-btn: #F5F6F7;
    --hs-on-btn: #111214;
    --hs-inverse: #1B1D20;
    --hs-on-inverse: #F5F6F7;
    --hs-on-inverse-2: #A4A8AE;
    --hs-held: #FFD60A;
    --hs-on-held: #111214;
    --hs-dropped: #FF5A3C;
    --hs-on-dropped: #111214;
    --hs-blocked: #8EA6FF;
    --hs-on-blocked: #111214;
    --hs-closed: #2A2D31;
    --hs-on-closed: #A4A8AE;
    --hs-code: #0A0B0C;
    --hs-on-code: #F5F6F7;
    --hs-code-2: #9A9EA4;
    --hs-underline: #FF5A3C;
  }
}
[data-theme="dark"] {
  --hs-surface: #111214;
  --hs-raised: #1B1D20;
  --hs-sunken: #0A0B0C;
  --hs-line: #33363B;
  --hs-ink: #F5F6F7;
  --hs-ink-2: #A4A8AE;
  --hs-field: #111214;
  --hs-zone: #C23B22;
  --hs-lane: #3A3D42;
  --hs-on-field: #F5F6F7;
  --hs-red: #FF5A3C;
  --hs-blue: #8EA6FF;
  --hs-baton: #FFD60A;
  --hs-on-baton: #111214;
  --hs-btn: #F5F6F7;
  --hs-on-btn: #111214;
  --hs-inverse: #1B1D20;
  --hs-on-inverse: #F5F6F7;
  --hs-on-inverse-2: #A4A8AE;
  --hs-held: #FFD60A;
  --hs-on-held: #111214;
  --hs-dropped: #FF5A3C;
  --hs-on-dropped: #111214;
  --hs-blocked: #8EA6FF;
  --hs-on-blocked: #111214;
  --hs-closed: #2A2D31;
  --hs-on-closed: #A4A8AE;
  --hs-code: #0A0B0C;
  --hs-on-code: #F5F6F7;
  --hs-code-2: #9A9EA4;
  --hs-underline: #FF5A3C;
}

/* ---------- State colours, named by meaning ----------
 * These alias the tokens above, so they follow light and dark automatically.
 * --hs-state-<x> is the badge colour; -bg and -text are the badge fill and its text.
 */
:root {
  /* Held: carried now, on a lease. Nobody else can take it. */
  --hs-state-held: var(--hs-held);
  --hs-state-held-bg: var(--hs-held);
  --hs-state-held-text: var(--hs-on-held);

  /* Waiting: on the ground, ready for the next carrier. Nothing is wrong.
     The source gives waiting no fill: a 1.5px ink outline with ink text. */
  --hs-state-waiting: var(--hs-ink);
  --hs-state-waiting-bg: transparent;
  --hs-state-waiting-text: var(--hs-ink);
  --hs-state-waiting-outline: 1.5px;

  /* Dropped: the carrier stopped without passing. */
  --hs-state-dropped: var(--hs-dropped);
  --hs-state-dropped-bg: var(--hs-dropped);
  --hs-state-dropped-text: var(--hs-on-dropped);

  /* Blocked: can't go on until a person acts. */
  --hs-state-blocked: var(--hs-blocked);
  --hs-state-blocked-bg: var(--hs-blocked);
  --hs-state-blocked-text: var(--hs-on-blocked);

  /* Closed: finished, read-only. */
  --hs-state-closed: var(--hs-closed);
  --hs-state-closed-bg: var(--hs-closed);
  --hs-state-closed-text: var(--hs-on-closed);
}

/* ---------- Type scale ----------
 * size / line-height · phone size · weight · letter-spacing
 */
:root {
  --hs-display-xl-size: 150px;   --hs-display-xl-lh: 0.9;  --hs-display-xl-phone: 74px;  --hs-display-xl-weight: 900; --hs-display-xl-tracking: -0.03em;  /* capitals, hero only */
  --hs-display-size: 64px;       --hs-display-lh: 1.0;     --hs-display-phone: 38px;     --hs-display-weight: 900;    --hs-display-tracking: -0.025em;    /* section headlines */
  --hs-h1-size: 48px;            --hs-h1-lh: 1.0;          --hs-h1-phone: 34px;          --hs-h1-weight: 900;         --hs-h1-tracking: -0.02em;          /* page titles */
  --hs-h2-size: 26px;            --hs-h2-lh: 1.15;         --hs-h2-phone: 22px;          --hs-h2-weight: 800;         --hs-h2-tracking: -0.01em;
  --hs-body-l-size: 20px;        --hs-body-l-lh: 1.5;      --hs-body-l-phone: 18px;      --hs-body-l-weight: 500;     /* leads */
  --hs-body-size: 17px;          --hs-body-lh: 1.55;       --hs-body-weight: 400;        /* all reading; phone size not specified in source */
  --hs-small-size: 15px;         --hs-small-lh: 1.45;      /* metadata, captions; weight not specified in source */
  --hs-label-size-min: 12px;     --hs-label-size-max: 14px; --hs-label-weight: 800;     --hs-label-tracking: 0.12em; /* capitals; baton parts, table heads */
  --hs-code-size-min: 14px;      --hs-code-size-max: 15px; --hs-code-lh: 1.8;           --hs-code-weight: 400;       /* Plex Mono, code only */
}

/* ---------- Spacing (4px base) ---------- */
:root {
  --hs-space-1: 4px;
  --hs-space-2: 8px;
  --hs-space-3: 12px;
  --hs-space-4: 16px;
  --hs-space-6: 24px;
  --hs-space-8: 32px;
  --hs-space-12: 48px;
  --hs-space-16: 64px;
  --hs-space-24: 96px;
  --hs-space-32: 128px;
  --hs-page-margin: 64px;        /* phone: 20px */
  --hs-page-margin-phone: 20px;
  --hs-section-pad: 128px;       /* phone: 64px */
  --hs-section-pad-phone: 64px;
}

/* ---------- Radius ---------- */
:root {
  --hs-radius-control: 2px;      /* buttons, badges, inputs, tabs */
  --hs-radius-panel: 4px;        /* cards, callouts, code */
  --hs-radius-baton: 3px;        /* the baton shape */
  --hs-baton-skew: -24deg;       /* transform: skewX(var(--hs-baton-skew)) */
  /* Full-bleed sections are square. Nothing is round, nothing is pill-shaped. */
}

/* ---------- Components (sizes from HsKit) ---------- */
:root {
  --hs-btn-height: 48px;         /* primary and secondary; padding 0 24px; weight 700 */
  --hs-btn-field-height: 52px;   /* baton-yellow button on the field; 18px, weight 800 */
  --hs-btn-outline: 1.5px;       /* secondary button: inset ink outline */
  --hs-focus-ring: 3px;          /* 3px ink outline */
  --hs-focus-offset: 3px;
  --hs-badge-height: 24px;       /* padding 0 8px; 12px, weight 800, tracking 0.08em, stretch 125% */
  --hs-row-min-height: 56px;     /* table rows; 16px side padding */
  --hs-callout-border: 2px;      /* all four sides; padding 16px 20px */
  --hs-link-underline: 2px;      /* underline offset 3px */
  --hs-lane-width: 3px;
}

/* ---------- Logo (H-Pass, option 3a) ----------
 * Numbers from the Logo section of "Handsoff Screens and Rules.dc.html"
 * (design/source/, lines 78 to 123). The mark's colours are the colour tokens above
 * (--hs-field tile on light, --hs-on-field runners, --hs-baton), except the two
 * single-colour values below. How to draw the mark: design/RULES.md, Logo.
 */
:root {
  --hs-logo-tilt: -14deg;                 /* "the baton, tilted 14°" (Logo intro); every mark's baton CSS is rotate(-14deg) skewX(-24deg), right end up */
  --hs-logo-mark-scale: 1.5;              /* "The mark is 1.5× the wordmark size" (MARK ALONE, AND MARK WITH WORDMARK) */
  --hs-logo-gap: calc(1 / 3);             /* "the gap is ⅓ of the mark width" (same block); a fraction of the mark width */
  --hs-logo-clear-space: 0.25;            /* "¼ of the mark width on every side, for the mark alone and the lockup" (CLEAR SPACE); a fraction of the mark width */
  --hs-logo-pass: 2.6s;                   /* "One pass is 2.6 s." (PASSING ANIMATION); loops only while the wait lasts, stops on frame 2 */

  /* Minimum sizes (MINIMUM SIZES table). Below the lockup minimum, use the mark alone. */
  --hs-logo-min-mark: 16px;               /* mark alone, screen */
  --hs-logo-min-mark-print: 5mm;          /* mark alone, print */
  --hs-logo-min-lockup-mark: 18px;        /* mark with wordmark, screen: "18 px mark, 12 px word" */
  --hs-logo-min-lockup-word: 12px;
  --hs-logo-min-lockup-print: 25mm;       /* mark with wordmark, print: "25 mm wide" */
  --hs-logo-min-mono: 20px;               /* single colour, screen */
  --hs-logo-min-mono-print: 6mm;          /* single colour, print */

  /* Single colour: "Runners and baton in one colour, no tile: ink on light, white on dark"
     (VERSIONS, line 84, drawn #111214 and #FFFFFF). Fixed values, not themed: the dark
     theme has no #FFFFFF token (its off-white #F5F6F7 is the Dark version's runners). */
  --hs-logo-mono-on-light: #111214;
  --hs-logo-mono-on-dark: #FFFFFF;
}

/* ---------- Terminal mockup colours ----------
 * Users pick their own terminal colours. These are the two "typical" themes the
 * source uses to preview terminal output. Scope them to a terminal preview, not the page.
 */
.hs-term-dark {
  --t-bg: #101112;
  --t-fg: #D9DBDE;
  --t-bold: #FFFFFF;
  --t-dim: #868A90;
  --t-red: #F0524B;
  --t-yellow: #E8C547;
  --t-blue: #2F5FD0;     /* BLOCKED badge background (44), bright white text. Defined in source. Never reuse --hs-blue */
  --t-black: #000000;
  --t-white: #FFFFFF;
  --t-chrome: #1C1D1F;
  --t-chrome-fg: #9A9EA4;
  --t-border: #2A2C30;
  --t-dot: #3A3D42;
}
.hs-term-light {
  --t-bg: #FFFFFF;
  --t-fg: #1F2023;
  --t-bold: #000000;
  --t-dim: #6B6F75;
  --t-red: #C4302B;
  --t-yellow: #D6A800;
  --t-blue: #2A4FB8;     /* BLOCKED badge background (44), bright white text. Defined in source. Never reuse --hs-blue */
  --t-black: #000000;
  --t-white: #FFFFFF;
  --t-chrome: #ECEDEF;
  --t-chrome-fg: #55595F;
  --t-border: #CFD2D6;
  --t-dot: #C5C8CC;
}
/* NO_COLOR preview (HsStatus with nocolor): the source lays these over the dark
   theme. Colour, bold, dim and backgrounds go; the words and columns stay. */
.hs-term-nocolor {
  --t-bold: #D9DBDE;
  --t-dim: #D9DBDE;
  --t-red: #D9DBDE;
  --t-nc-bg: transparent;
  --t-nc-fg: #D9DBDE;
  --t-nc-w: 400;
}
/* Every other ANSI colour (32-37 as text, 90-96, backgrounds 40, 42, 45-47,
   100-107) is never used, so it has no token. Reasons: design/RULES.md. */

/* Handsoff pages: the brand's layout and components. Every colour, size and radius comes from the
   brand tokens (design/tokens.css), which the service serves in front of this file. No script. */

@font-face {
  font-family: 'Archivo';
  src: url('archivo-ede0eb5746.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('plex-mono-6a3412f058.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Base. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--hs-surface);
  color: var(--hs-ink);
  font-family: var(--hs-font);
  font-stretch: var(--hs-stretch-reading);
  font-size: var(--hs-body-size);
  line-height: var(--hs-body-lh);
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  body { color-scheme: dark; }
}
:focus-visible { outline: var(--hs-focus-ring) solid var(--hs-ink); outline-offset: var(--hs-focus-offset); }
time, .num { font-variant-numeric: tabular-nums; }
time { white-space: nowrap; }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.mono { font-family: var(--hs-font-mono); font-size: 0.88em; font-stretch: normal; overflow-wrap: anywhere; }

/* Link: ink, a 2px red underline at a 3px offset; on hover the baton sits behind it. */
a {
  color: var(--hs-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--hs-underline);
  text-decoration-thickness: var(--hs-link-underline);
  text-underline-offset: 3px;
}
a:hover { background: var(--hs-baton); color: var(--hs-on-baton); text-decoration-color: var(--hs-on-baton); padding: 0 2px; margin: 0 -2px; }

/* Buttons: primary is an ink fill, secondary a 1.5px inset ink outline; 48px tall, 2px corners. */
.btn {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  height: var(--hs-btn-height); padding: var(--hs-space-3) var(--hs-space-6); border: 0; border-radius: var(--hs-radius-control);
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
}
.btn.primary { background: var(--hs-btn); color: var(--hs-on-btn); }
.btn.secondary { background: transparent; color: var(--hs-ink); box-shadow: inset 0 0 0 var(--hs-btn-outline) var(--hs-ink); }
.btn:hover { padding: var(--hs-space-3) var(--hs-space-6); margin: 0; text-decoration: none; }
.btn.primary:hover { background: var(--hs-btn); color: var(--hs-on-btn); }
.btn.secondary:hover { background: var(--hs-sunken); color: var(--hs-ink); }

/* State badge: one uppercase word, 24px tall, 2px corners. Never a number. */
.badge {
  display: inline-flex; flex: none; align-items: center; box-sizing: border-box; height: var(--hs-badge-height);
  padding: 0 var(--hs-space-2); border-radius: var(--hs-radius-control);
  font-stretch: var(--hs-stretch-display); font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  line-height: 1; text-transform: uppercase; white-space: nowrap;
}
.badge.held, .badge.stalled { background: var(--hs-state-held-bg); color: var(--hs-state-held-text); }
.badge.waiting { background: var(--hs-state-waiting-bg); color: var(--hs-state-waiting-text); box-shadow: inset 0 0 0 var(--hs-state-waiting-outline) var(--hs-state-waiting); }
.badge.dropped { background: var(--hs-state-dropped-bg); color: var(--hs-state-dropped-text); }
.badge.blocked { background: var(--hs-state-blocked-bg); color: var(--hs-state-blocked-text); }
.badge.closed { background: var(--hs-state-closed-bg); color: var(--hs-state-closed-text); }

/* The wordmark: the H-Pass mark, then HANDS, the baton in the exchange zone, OFF. */
.mark {
  --mark-gap: var(--hs-space-2);
  display: inline-flex; align-items: center; gap: var(--mark-gap);
  color: var(--hs-ink); font-stretch: var(--hs-stretch-display); font-weight: 900; font-size: 20px;
  letter-spacing: -0.01em; text-decoration: none;
}
.mark:hover { background: transparent; padding: 0; margin: 0; color: var(--hs-ink); }
.baton {
  display: inline-block; flex: none; width: 24px; height: 8px; background: var(--hs-baton);
  transform: skewX(var(--hs-baton-skew)); border-radius: 2px; box-shadow: 0 0 0 1px var(--hs-ink);
}
/* The H-Pass mark (the Logo rules): two runners, and the baton tilted 14 degrees between them. It is
   1.5 times the wordmark's size, and ⅓ of its own width from HANDS (its margin makes up the row
   gap to that). Light: the red tile, white runners, the yellow baton; on the red field the tile is
   field on field, so none shows. Never a shadow, an outline or a gradient. */
.hpass {
  position: relative; display: block; flex: none; overflow: hidden; width: 1em; height: 1em; font-size: 1.5em;
  margin-right: calc(1em / 3 - var(--mark-gap)); background: var(--hs-field);
}
.hp-run, .hp-baton { position: absolute; }
.hp-run { top: 0.2em; left: 0.24em; width: 0.17em; height: 0.6em; background: var(--hs-on-field); transform: skewX(-12deg); }
.hp-run + .hp-run { left: 0.59em; }
.hp-baton { top: 0.425em; left: 0.15em; width: 0.7em; height: 0.15em; background: var(--hs-baton); transform: rotate(-14deg) skewX(-24deg); }
/* Dark: no tile on any surface, off-white runners (--hs-on-field), and the wordmark's baton without
   its outline. The selectors follow the tokens' own dark ones. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hpass { background: transparent; }
  :root:not([data-theme="light"]) .baton { box-shadow: none; }
}
[data-theme="dark"] .hpass { background: transparent; }
[data-theme="dark"] .baton { box-shadow: none; }
/* High-contrast (forced colours) mode drops background colours, which would leave a blank where the
   mark and the wordmark's baton are drawn: they keep their own colours there. */
@media (forced-colors: active) {
  .hpass, .baton { forced-color-adjust: none; }
}

/* The bar. */
.bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hs-space-2) var(--hs-space-4);
  min-height: 72px; box-sizing: border-box; padding: var(--hs-space-3) var(--hs-page-margin);
  background: var(--hs-raised); border-bottom: 1px solid var(--hs-line);
}
.me { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--hs-space-2) var(--hs-space-4); }
.me > span { color: var(--hs-ink-2); font-size: var(--hs-small-size); }
.me form { margin: 0; }

/* The page. */
.page {
  display: flex; flex-direction: column; gap: 40px; box-sizing: border-box;
  padding: var(--hs-space-12) var(--hs-page-margin) var(--hs-space-16);
}
.page > * { min-width: 0; }
.head { display: flex; flex-direction: column; gap: var(--hs-space-3); }
.eyebrow { margin: 0; color: var(--hs-ink-2); font-size: var(--hs-small-size); }
.title {
  margin: 0; font-stretch: var(--hs-stretch-display); font-weight: var(--hs-h1-weight); font-size: var(--hs-h1-size);
  line-height: var(--hs-h1-lh); letter-spacing: var(--hs-h1-tracking); text-wrap: balance; overflow-wrap: anywhere;
}
.title .count { color: var(--hs-ink-2); }
.row-state { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hs-space-2) var(--hs-space-3); margin: 0; font-size: 18px; }
.row-state > span:last-child { min-width: 0; max-width: 34em; overflow-wrap: anywhere; }
.meta { max-width: 36em; margin: 0; color: var(--hs-ink-2); font-size: var(--hs-small-size); overflow-wrap: anywhere; }
.next { margin: 0; font-weight: 700; }
.lens { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--hs-space-4); margin: 0; color: var(--hs-ink-2); font-size: var(--hs-small-size); }
.lens b { color: var(--hs-ink); }
.lens .other { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 var(--hs-space-3); }

h2.sec {
  margin: 0 0 var(--hs-space-2); font-stretch: var(--hs-stretch-display); font-weight: var(--hs-h2-weight);
  font-size: 22px; line-height: var(--hs-h2-lh); letter-spacing: var(--hs-h2-tracking);
}

/* Callout: raised, a 2px border on all four sides, 4px corners. Neutral is ink. */
.callout {
  display: flex; flex-direction: column; gap: 6px; margin: 0; padding: var(--hs-space-4) 20px;
  background: var(--hs-raised); border: var(--hs-callout-border) solid var(--hs-ink); border-radius: var(--hs-radius-panel);
}
.callout > b { color: var(--hs-ink); }
.callout.blocked { border-color: var(--hs-blue); }
.callout.blocked > b { color: var(--hs-blue); }
.callout.dropped { border-color: var(--hs-red); }
.callout.dropped > b { color: var(--hs-red); }
.box {
  display: flex; flex-direction: column; gap: 6px; padding: 20px var(--hs-space-6);
  border: 1px solid var(--hs-line); border-radius: var(--hs-radius-panel);
}
.box > span { color: var(--hs-ink-2); font-size: 16px; }

/* The timeline (desktop): lanes of carriers, batons at the hand-overs, the drop and the wait. */
.tl {
  padding: 28px 32px 20px; background: var(--hs-raised); border: 1px solid var(--hs-line); border-radius: var(--hs-radius-panel);
}
.tl svg { display: block; width: 100%; height: 132px; overflow: visible; }
.tl .lane { stroke: var(--hs-line); stroke-width: 1; }
.tl .bar-ink { fill: var(--hs-ink); }
.tl .bar-blocked { fill: var(--hs-blocked); }
.tl .drop { fill: var(--hs-dropped); }
.tl .ground { fill: none; stroke: var(--hs-ink-2); stroke-width: 1.5; stroke-dasharray: 4 3; }
.tl .ahead { fill: none; stroke: var(--hs-ink); stroke-width: 1.5; stroke-dasharray: 4 3; }
.tl .bt { fill: var(--hs-baton); stroke: var(--hs-ink); stroke-width: 1.5; stroke-linejoin: round; }
.tl text { fill: var(--hs-ink); font-family: var(--hs-font); font-stretch: var(--hs-stretch-reading); font-size: 15px; font-weight: 700; }
.tl text.lbl-blocked { fill: var(--hs-blue); font-size: 14px; }
.tl text.lbl-dropped { fill: var(--hs-red); font-size: 14px; }
.tl text.lbl-now { font-size: 14px; }
.tl text.tick { fill: var(--hs-ink-2); font-size: 13px; font-weight: 400; font-variant-numeric: tabular-nums; }

/* Two columns: the legs, and the side. */
.cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--hs-space-12); }
.legs { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: var(--hs-space-2); }
.side { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: var(--hs-space-8); }
.legs .h-meta { margin: -8px 0 var(--hs-space-2); color: var(--hs-ink-2); font-size: var(--hs-small-size); }

/* A leg card. */
.leg { display: flex; flex-direction: column; gap: var(--hs-space-2); scroll-margin-top: 8px; }
.card {
  display: flex; flex-wrap: wrap; gap: var(--hs-space-3) var(--hs-space-8); padding: 20px var(--hs-space-6);
  background: var(--hs-raised); border: 1px solid var(--hs-line); border-radius: var(--hs-radius-panel);
}
.leg.live .card { border: 2px solid var(--hs-ink); padding: 19px 23px; }
.card .col { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.card .lbl { color: var(--hs-ink-2); font-size: 14px; }
.card .who { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.card .sub { color: var(--hs-ink-2); font-size: var(--hs-small-size); overflow-wrap: anywhere; }
.card .col > span:not(.lbl):not(.badge) { overflow-wrap: anywhere; }
.card .badge { margin: 2px 0; }
.card .foot {
  flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 4px var(--hs-space-6); margin: 0; padding-top: var(--hs-space-3);
  border-top: 1px solid var(--hs-line); color: var(--hs-ink-2); font-size: var(--hs-small-size);
}
.card .foot > span { max-width: 36em; }
.card .foot > span { min-width: 0; overflow-wrap: anywhere; }
.card .foot b { color: var(--hs-ink); font-weight: 600; }

/* Events, between and under the legs. */
.evs { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.ev {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--hs-space-4);
  padding: var(--hs-space-2) var(--hs-space-6);
}
.ev > time { flex: none; width: 52px; color: var(--hs-ink-2); font-size: var(--hs-small-size); }
.ev > time .day { display: block; }
.ev > .k { flex: none; font-weight: 700; }
.ev > .badge { align-self: center; }
.ev > .who { flex: none; color: var(--hs-ink-2); font-size: var(--hs-small-size); }
.ev > .d { flex: 1 1 240px; min-width: 0; max-width: 34em; overflow-wrap: anywhere; }
.ev .code { margin-right: var(--hs-space-2); font-weight: 700; }
.ev .late { margin-right: var(--hs-space-2); color: var(--hs-ink-2); font-weight: 700; }
.ev .kk { color: var(--hs-ink-2); }
.ev.quiet > .k, .ev.quiet > .d { color: var(--hs-ink-2); font-weight: 400; }
.ev.quiet > .k { font-weight: 600; }
.ev > details { flex: 1 1 100%; margin-left: 68px; }
.ev.synth { align-items: center; }

/* A baton, as the Markdown it was saved as. */
details > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; cursor: pointer; list-style: none;
  font-weight: 700;
}
details > summary::-webkit-details-marker { display: none; }
details > summary::before {
  content: ''; flex: none; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); margin-right: 2px;
}
details[open] > summary::before { transform: rotate(45deg); }
.md {
  margin: var(--hs-space-2) 0 0; padding: var(--hs-space-4) 20px; background: var(--hs-raised);
  border: 1px solid var(--hs-line); border-radius: var(--hs-radius-panel); color: var(--hs-ink);
  font: inherit; font-size: 16px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere;
}
.side .md { margin: 0; }
.warns { margin: var(--hs-space-2) 0 0; padding: 0; list-style: none; color: var(--hs-ink-2); font-size: var(--hs-small-size); }

/* Tables of works and workspaces: rows on raised, 56px tall, a 1px line between them. */
.table { margin: 0; padding: 0; list-style: none; background: var(--hs-raised); border: 1px solid var(--hs-line); border-radius: var(--hs-radius-panel); }
.table > li + li { border-top: 1px solid var(--hs-line); }
.row {
  display: grid; align-items: center; gap: 4px var(--hs-space-6); box-sizing: border-box; min-height: var(--hs-row-min-height);
  padding: var(--hs-space-3) var(--hs-space-4); color: var(--hs-ink); font-weight: 400; text-decoration: none;
}
.row:hover { background: var(--hs-sunken); color: var(--hs-ink); padding: var(--hs-space-3) var(--hs-space-4); margin: 0; }
.row:focus-visible { outline-offset: -3px; }
.row .lk {
  font-weight: 700; text-decoration: underline; text-decoration-color: var(--hs-underline);
  text-decoration-thickness: var(--hs-link-underline); text-underline-offset: 3px; overflow-wrap: anywhere;
}
.row .sub { display: block; color: var(--hs-ink-2); font-size: 14px; overflow-wrap: anywhere; }
.row .cell { color: var(--hs-ink-2); font-size: var(--hs-small-size); overflow-wrap: anywhere; }
.row .cell i { font-style: normal; }
.thead {
  display: grid; gap: 4px var(--hs-space-6); padding: var(--hs-space-3) var(--hs-space-4);
  font-stretch: var(--hs-stretch-display); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--hs-ink-2);
}
.works .row, .works .thead { grid-template-columns: minmax(0, 1fr) 160px 200px 112px; }
.works .row .badge { justify-self: end; }
.works .thead span:last-child { text-align: right; }
.spaces .row { grid-template-columns: minmax(0, 1fr); }
.empty { margin: 0; font-size: var(--hs-body-size); }
.whoami { margin: 0; color: var(--hs-ink-2); font-size: var(--hs-small-size); overflow-wrap: anywhere; }

/* Signed out, and errors: a calm centred card. */
.door { display: flex; flex-direction: column; align-items: center; gap: var(--hs-space-8); padding: var(--hs-space-16) 20px; }
.door-card {
  box-sizing: border-box; width: min(560px, 100%); display: flex; flex-direction: column; gap: var(--hs-space-4);
  padding: 40px; background: var(--hs-raised); border: 1px solid var(--hs-line); border-radius: var(--hs-radius-panel);
}
.door-card .title { font-size: 40px; }
.door-card p { margin: 0; }
.door-card .lead { color: var(--hs-ink-2); }
.acts { display: flex; flex-wrap: wrap; gap: var(--hs-space-3); }
.why > summary { color: var(--hs-ink-2); font-size: var(--hs-small-size); }
.why dl { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px var(--hs-space-3); margin: var(--hs-space-2) 0 0; font-size: var(--hs-small-size); }
.why dt { color: var(--hs-ink-2); }
.why dd { margin: 0; overflow-wrap: anywhere; }
.note-line { margin: 0; }

/* Phone: the 20px margin, stacked rows, and nothing smaller than 44px to press. */
@media (max-width: 720px) {
  .bar { padding: var(--hs-space-2) var(--hs-page-margin-phone); }
  .me { display: contents; }
  .me form { order: 1; }
  .me > span { order: 2; flex: 1 1 100%; }
  .page { padding: 28px var(--hs-page-margin-phone) 40px; gap: 28px; }
  .title { font-size: var(--hs-h1-phone); }
  .door-card .title { font-size: var(--hs-h1-phone); }
  .door-card { padding: var(--hs-space-6); }
  .row-state { font-size: 17px; }
  .tl { display: none; }
  .card { padding: var(--hs-space-4); gap: var(--hs-space-3); }
  .leg.live .card { padding: 15px; }
  .ev { padding: var(--hs-space-2) var(--hs-space-4); }
  .ev > details { margin-left: 0; }
  .works .thead { display: none; }
  .works .row { grid-template-columns: minmax(0, 1fr) auto; }
  .works .row > .w-main { grid-column: 1; }
  .works .row > .badge { grid-column: 2; grid-row: 1; align-self: start; }
  .works .row > .cell { grid-column: 1 / -1; }
  .works .row .cell i { color: var(--hs-ink-2); }
  .lens .other a, .eyebrow a { display: inline-flex; align-items: center; min-height: 44px; }
  details > summary { min-height: 44px; }
  .mark { min-height: 44px; }
}
@media (min-width: 721px) {
  .works .row .cell i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
