/* Generated from src/tokens.ts by scripts/build.mjs. Do not edit by hand. */
:root {
  --sshl-ink: #202529;
  --sshl-charcoal: #30373B;
  --sshl-silver: #B9BDBC;
  --sshl-paper: #F4F2EC;
  --sshl-slate: #626D73;
  --sshl-white: #FFFFFF;
  --sshl-black: #000000;
  --sshl-font-manrope: "Manrope", Arial, sans-serif;
  --sshl-font-cormorant: "Cormorant Garamond", Georgia, serif;
  --sshl-space-8: 8px;
  --sshl-space-16: 16px;
  --sshl-space-24: 24px;
  --sshl-space-32: 32px;
  --sshl-space-48: 48px;
  --sshl-space-64: 64px;
  --sshl-space-96: 96px;
  --sshl-radius-sm: 8px;
  --sshl-radius-md: 12px;
  --sshl-radius-lg: 16px;
  --sshl-radius-pill: 999px;
  --sshl-motion-fast: 180ms;
  --sshl-motion-slow: 300ms;
  --sshl-max-width: 1200px;
  --sshl-gutter: 24px;
  --sshl-gutter-wide: 32px;
  --sshl-target: 44px;
  --sshl-bg: #F6F5F1;
  --sshl-surface: #FFFFFF;
  --sshl-raised: #FFFFFF;
  --sshl-hover: #EEEDE8;
  --sshl-menu: #E2E1DB;
  --sshl-fg: #14181D;
  --sshl-muted: #525D69;
  --sshl-fg2: #525D69;
  --sshl-fg3: #606B78;
  --sshl-line: rgba(16,20,26,0.10);
  --sshl-line-strong: rgba(16,20,26,0.18);
  --sshl-line-input: rgba(16,20,26,0.50);
  --sshl-accent: #1F5EDB;
  --sshl-accent-strong: #1748A8;
  --sshl-accent-tint: rgba(31,94,219,0.10);
  --sshl-on-accent: #FFFFFF;
  --sshl-metal: linear-gradient(180deg, #EDEFF0 0%, #B9BDBC 55%, #D9DCDD 100%);
  --sshl-on-metal: #14181D;
  --sshl-signal-danger: #B42323;
  --sshl-signal-danger-on: #FFFFFF;
  --sshl-signal-danger-tint: rgba(180,35,35,0.12);
  --sshl-signal-wait: #8A5300;
  --sshl-signal-wait-on: #FFFFFF;
  --sshl-signal-wait-tint: rgba(138,83,0,0.12);
  --sshl-signal-done: #1A6B3A;
  --sshl-signal-done-on: #FFFFFF;
  --sshl-signal-done-tint: rgba(26,107,58,0.12);
  --sshl-shadow-float: 0 12px 32px -20px rgba(16,20,26,0.35);
  --sshl-accent-text: var(--sshl-accent);
  --sshl-highlight: #B9BDBC;
  --sshl-card-highlight: inset 0 0 0 0 transparent;
}

:root[data-theme="dark"] {
  --sshl-bg: #0E1115;
  --sshl-surface: #15191E;
  --sshl-raised: #1C2128;
  --sshl-hover: #252B33;
  --sshl-menu: #2F3640;
  --sshl-fg: #F2F4F7;
  --sshl-muted: #A3ACB8;
  --sshl-fg2: #A3ACB8;
  --sshl-fg3: #808B99;
  --sshl-line: rgba(255,255,255,0.08);
  --sshl-line-strong: rgba(255,255,255,0.16);
  --sshl-line-input: rgba(255,255,255,0.34);
  --sshl-accent: #79B0FF;
  --sshl-accent-strong: #4C8DFF;
  --sshl-accent-tint: rgba(121,176,255,0.14);
  --sshl-on-accent: #0A1322;
  --sshl-metal: linear-gradient(180deg, #EDEFF0 0%, #B9BDBC 55%, #D9DCDD 100%);
  --sshl-on-metal: #14181D;
  --sshl-signal-danger: #F28B8B;
  --sshl-signal-danger-on: #0E1115;
  --sshl-signal-danger-tint: rgba(242,139,139,0.12);
  --sshl-signal-wait: #F2C14E;
  --sshl-signal-wait-on: #0E1115;
  --sshl-signal-wait-tint: rgba(242,193,78,0.12);
  --sshl-signal-done: #7FDC9A;
  --sshl-signal-done-on: #0E1115;
  --sshl-signal-done-tint: rgba(127,220,154,0.12);
  --sshl-shadow-float: 0 12px 32px -16px rgba(0,0,0,0.8);
  --sshl-accent-text: var(--sshl-accent);
  --sshl-highlight: #B9BDBC;
  --sshl-card-highlight: inset 0 1px 0 rgba(255,255,255,0.03);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sshl-bg: #0E1115;
    --sshl-surface: #15191E;
    --sshl-raised: #1C2128;
    --sshl-hover: #252B33;
    --sshl-menu: #2F3640;
    --sshl-fg: #F2F4F7;
    --sshl-muted: #A3ACB8;
    --sshl-fg2: #A3ACB8;
    --sshl-fg3: #808B99;
    --sshl-line: rgba(255,255,255,0.08);
    --sshl-line-strong: rgba(255,255,255,0.16);
    --sshl-line-input: rgba(255,255,255,0.34);
    --sshl-accent: #79B0FF;
    --sshl-accent-strong: #4C8DFF;
    --sshl-accent-tint: rgba(121,176,255,0.14);
    --sshl-on-accent: #0A1322;
    --sshl-metal: linear-gradient(180deg, #EDEFF0 0%, #B9BDBC 55%, #D9DCDD 100%);
    --sshl-on-metal: #14181D;
    --sshl-signal-danger: #F28B8B;
    --sshl-signal-danger-on: #0E1115;
    --sshl-signal-danger-tint: rgba(242,139,139,0.12);
    --sshl-signal-wait: #F2C14E;
    --sshl-signal-wait-on: #0E1115;
    --sshl-signal-wait-tint: rgba(242,193,78,0.12);
    --sshl-signal-done: #7FDC9A;
    --sshl-signal-done-on: #0E1115;
    --sshl-signal-done-tint: rgba(127,220,154,0.12);
    --sshl-shadow-float: 0 12px 32px -16px rgba(0,0,0,0.8);
    --sshl-accent-text: var(--sshl-accent);
    --sshl-highlight: #B9BDBC;
    --sshl-card-highlight: inset 0 1px 0 rgba(255,255,255,0.03);
  }
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-600.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-400.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
}

:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; }
}

/* Display: Cormorant 500, 48 to 64 px */
.sshl-display {
  font-family: var(--sshl-font-cormorant);
  font-weight: 500;
  font-size: clamp(48px, calc(48px + 16 * ((100vw - 375px) / 825)), 64px);
  line-height: 1.1;
  margin: 0;
}

/* Page heading: Cormorant 500, 36 to 44 px */
.sshl-h1 {
  font-family: var(--sshl-font-cormorant);
  font-weight: 500;
  font-size: clamp(36px, calc(36px + 8 * ((100vw - 375px) / 825)), 44px);
  line-height: 1.1;
  margin: 0;
}

/* Section heading: Manrope 600, 22 to 28 px */
.sshl-h2 {
  font-family: var(--sshl-font-manrope);
  font-weight: 600;
  font-size: clamp(22px, calc(22px + 6 * ((100vw - 375px) / 825)), 28px);
  line-height: 1.25;
  margin: 0;
}

/* Body: Manrope 400, 16 to 18 px */
.sshl-body {
  font-family: var(--sshl-font-manrope);
  font-weight: 400;
  font-size: clamp(16px, calc(16px + 2 * ((100vw - 375px) / 825)), 18px);
  line-height: 1.6;
  margin: 0;
}

/* Label and caption: 12 to 14 px; tracked capitals for short navigational labels only */
.sshl-label {
  font-family: var(--sshl-font-manrope);
  font-weight: 600;
  font-size: clamp(12px, calc(12px + 2 * ((100vw - 375px) / 825)), 14px);
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.sshl-figures {
  font-variant-numeric: tabular-nums;
}

.sshl-container {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--sshl-max-width) + 2 * var(--sshl-gutter-wide));
  margin-inline: auto;
  padding-inline: var(--sshl-gutter);
}

@media (min-width: 1024px) {
  .sshl-container {
    padding-inline: var(--sshl-gutter-wide);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus: one ring on every control. The accent hairline plus a soft accent-tint halo. */
.sshl-btn:focus-visible, .sshl-input:focus-visible, .sshl-chip:focus-visible, .sshl-segment button:focus-visible, .sshl-nav a:focus-visible {
  outline: 1px solid var(--sshl-accent);
  outline-offset: 0;
  box-shadow: 0 0 0 3px var(--sshl-accent-tint);
}

.sshl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--sshl-target);
  min-width: var(--sshl-target);
  padding: 0 var(--sshl-space-24);
  border: 1px solid transparent;
  border-radius: var(--sshl-radius-md);
  font-family: var(--sshl-font-manrope);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: filter var(--sshl-motion-fast) ease, background-color var(--sshl-motion-fast) ease, border-color var(--sshl-motion-fast) ease;
}
.sshl-btn:disabled, .sshl-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
/* Primary: brushed silver. The material of the action a page is built around. */
.sshl-btn--primary { background: var(--sshl-metal); color: var(--sshl-on-metal); border: 0; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset; }
.sshl-btn--primary:hover:not(:disabled) { filter: brightness(1.06); }
.sshl-btn--secondary { background: var(--sshl-raised); color: var(--sshl-fg); border-color: var(--sshl-line-strong); }
.sshl-btn--secondary:hover:not(:disabled) { background: var(--sshl-hover); }
.sshl-btn--outline { background: transparent; color: var(--sshl-fg); border-color: var(--sshl-line-strong); }
.sshl-btn--outline:hover:not(:disabled) { background: var(--sshl-hover); }
.sshl-btn--ghost { background: transparent; color: var(--sshl-fg2); border-color: transparent; padding: 0 var(--sshl-space-16); }
.sshl-btn--ghost:hover:not(:disabled) { background: var(--sshl-hover); color: var(--sshl-fg); }
/* Accent: the ONE action a panel asks for. */
.sshl-btn--accent { background: var(--sshl-accent); color: var(--sshl-on-accent); }
.sshl-btn--accent:hover:not(:disabled) { background: var(--sshl-accent-strong); }
.sshl-btn--danger { background: var(--sshl-signal-danger-tint); color: var(--sshl-signal-danger); }
.sshl-btn--danger:hover:not(:disabled) { filter: brightness(1.15); }

/* Cards: depth is the graphite step, not a shadow. */
.sshl-card {
  background: var(--sshl-surface);
  color: var(--sshl-fg);
  border: 1px solid var(--sshl-line);
  border-radius: var(--sshl-radius-lg);
  box-shadow: var(--sshl-card-highlight);
  padding: var(--sshl-space-24);
}

.sshl-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 var(--sshl-space-8);
  border: 1px solid var(--sshl-line);
  border-radius: var(--sshl-radius-pill);
  font-family: var(--sshl-font-manrope);
  font-size: 12px;
  font-weight: 600;
  color: var(--sshl-fg);
  background: var(--sshl-surface);
}
.sshl-badge--accent { background: var(--sshl-accent-tint); border-color: transparent; color: var(--sshl-accent); }
.sshl-badge--danger { background: var(--sshl-signal-danger-tint); border-color: transparent; color: var(--sshl-signal-danger); }
.sshl-badge--wait { background: var(--sshl-signal-wait-tint); border-color: transparent; color: var(--sshl-signal-wait); }
.sshl-badge--done { background: var(--sshl-signal-done-tint); border-color: transparent; color: var(--sshl-signal-done); }

/* Chip: a filter a person turns on. Selected is the accent; "needs attention" is the wait signal. */
.sshl-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--sshl-line);
  border-radius: var(--sshl-radius-pill);
  background: var(--sshl-raised);
  color: var(--sshl-fg2);
  font-family: var(--sshl-font-manrope);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--sshl-motion-fast) ease, border-color var(--sshl-motion-fast) ease;
}
.sshl-chip:hover { background: var(--sshl-hover); }
.sshl-chip__count {
  min-width: 20px;
  padding: 0 6px;
  border-radius: var(--sshl-radius-pill);
  background: var(--sshl-bg);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.sshl-chip--selected { background: var(--sshl-accent-tint); border-color: var(--sshl-accent); color: var(--sshl-fg); }
.sshl-chip--selected .sshl-chip__count { color: var(--sshl-accent); }
.sshl-chip--wait { background: var(--sshl-signal-wait-tint); border-color: var(--sshl-signal-wait); color: var(--sshl-fg); }

/* Segmented control: a pill track; the selected item is the hover ground. */
.sshl-segment {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--sshl-line);
  border-radius: var(--sshl-radius-pill);
  background: var(--sshl-bg);
}
.sshl-segment button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--sshl-radius-pill);
  background: transparent;
  color: var(--sshl-fg2);
  font-family: var(--sshl-font-manrope);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.sshl-segment button[aria-selected="true"] { background: var(--sshl-hover); color: var(--sshl-fg); }
.sshl-segment__count { color: var(--sshl-fg3); font-size: 12px; font-variant-numeric: tabular-nums; }
.sshl-segment button[aria-selected="true"] .sshl-segment__count { color: var(--sshl-fg2); }

/* Status pill: a dot and the WORD. Colour only repeats the word. */
.sshl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: var(--sshl-radius-pill);
  background: var(--sshl-hover);
  color: var(--sshl-fg2);
  font-family: var(--sshl-font-manrope);
  font-size: 12px;
  font-weight: 600;
}
.sshl-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sshl-pill--danger { background: var(--sshl-signal-danger-tint); color: var(--sshl-signal-danger); }
.sshl-pill--wait { background: var(--sshl-signal-wait-tint); color: var(--sshl-signal-wait); }
.sshl-pill--done { background: var(--sshl-signal-done-tint); color: var(--sshl-signal-done); }

/* Document tile for attachment lists: 48 by 56 on the metal gradient. */
.sshl-doc-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 56px;
  border-radius: var(--sshl-radius-sm);
  background: var(--sshl-metal);
  color: var(--sshl-on-metal);
  font-family: var(--sshl-font-manrope);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sshl-field { display: grid; gap: 4px; }
.sshl-field > label { font-size: 14px; font-weight: 600; color: var(--sshl-fg); }
.sshl-hint { font-size: 14px; color: var(--sshl-fg2); }
.sshl-error { font-size: 14px; color: var(--sshl-signal-danger); }
.sshl-input {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--sshl-target);
  padding: 8px var(--sshl-space-16);
  border: 1px solid var(--sshl-line-input);
  border-radius: var(--sshl-radius-md);
  background: var(--sshl-bg);
  color: var(--sshl-fg);
  font-family: var(--sshl-font-manrope);
  font-size: 16px;
  line-height: 1.5;
}
.sshl-input::placeholder { color: var(--sshl-fg3); }
textarea.sshl-input { min-height: 96px; resize: vertical; }

.sshl-table { width: 100%; border-collapse: collapse; font-family: var(--sshl-font-manrope); font-size: 16px; color: var(--sshl-fg); }
.sshl-table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sshl-fg3); border-bottom: 1px solid var(--sshl-line); padding: 8px var(--sshl-space-16); }
.sshl-table td { border-bottom: 1px solid var(--sshl-line); padding: 12px var(--sshl-space-16); }
.sshl-table tbody tr:hover { background: var(--sshl-hover); }
.sshl-table .sshl-num { text-align: right; font-variant-numeric: tabular-nums; }

/* Top bar: translucent surface over the page, a hairline below; the current item is a hover pill with a 2px accent underline. */
.sshl-nav {
  display: flex;
  align-items: center;
  gap: var(--sshl-space-24);
  min-height: 64px;
  padding: 0 var(--sshl-gutter);
  background: color-mix(in srgb, var(--sshl-surface) 90%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sshl-line);
  color: var(--sshl-fg);
}
.sshl-nav a { display: inline-flex; align-items: center; min-height: var(--sshl-target); padding: 0 12px; border-radius: var(--sshl-radius-pill); color: var(--sshl-fg2); font-weight: 600; text-decoration: none; }
.sshl-nav a:hover { color: var(--sshl-fg); }
.sshl-nav a[aria-current="page"] { background: var(--sshl-hover); color: var(--sshl-fg); box-shadow: inset 0 -2px 0 var(--sshl-accent); }
