@font-face {
  font-family: "Stitch Inter";
  src: url("../../../fonts/stitch/inter.bff0f6e3b9e2.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Stitch Jakarta";
  src: url("../../../fonts/stitch/plus-jakarta-sans.6b68a2205325.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

/* Civic Calm palette and aliases consumed by the shared Django components. */
[data-design="stitch"] {
  --page-max-width: 58rem;
  --page-gutter: 1rem;
  --primary: #003c4a;
  --accent: #1d5363;
  --sage: #31685c;
  --highlight: #d48239;
  --error: #ba1a1a;
  --bg: #f6faff;
  --surface: #fff;
  --ink: #151c22;
  --ink-strong: var(--primary);
  --muted: #40484b;
  --line: #dbe2e6;
  --surface-tint: var(--surface);
  --surface-neutral-soft: #edf4fd;
  --surface-strong: #e7eff7;
  --surface-accent-soft: #edf4f4;
  --surface-accent-soft-hover: #e7eff7;
  --surface-row-alt: #f8f9fa;
  --text-neutral-soft: #526268;
  --text-link-hover: var(--primary);
  --border-neutral-strong: #71787c;
  --border-contrast: var(--line);
  --border-accent-focus: var(--accent);
  --type-announcement: var(--sage);
  --type-task: var(--accent);
  --type-poll: var(--sage);
  --type-event: var(--accent);
  --type-scheduling: var(--sage);
  --type-initiative: var(--primary);
  --type-signup: var(--sage);
  --type-table: var(--accent);
  --type-minutes: var(--sage);
  --type-attachment: var(--accent);
  --type-priority: var(--highlight);
  --shadow-soft: 0 1px 3px rgb(29 83 99 / 5%);
  --shadow-card: var(--shadow-soft);
  --shadow-input-neutral: none;
  --shadow-input-accent: none;
  --shadow-control-accent: none;
  --shadow-table-accent: var(--shadow-soft);
  --shadow-overlay: 0 12px 32px rgb(29 83 99 / 16%);
  --radius-card: 8px;
  --radius-card-sm: 8px;
  --radius-surface: 8px;
  --radius-surface-sm: 8px;
  --radius-float: 16px;
  --radius-input: 8px;
  --radius-control: 8px;
  --space-card: clamp(16px, 3vw, 24px);
  --space-xl: 24px;
  --card-gap: 24px;
  --font-body: "Stitch Inter", system-ui, sans-serif;
  --font-heading: "Stitch Jakarta", var(--font-body);
  --font-size-meta: 0.8125rem;
  --font-size-label: 0.875rem;
  --font-size-section-heading: 1.25rem;
  --line-height-heading: 1.33;
  --font-weight-bold: 700;
  --letter-spacing-heading: -0.015em;
}
