/* Wireframe Kit — generated from tokens.json by scripts/build-tokens.mjs. Do not edit by hand. */
:root, [data-theme="day"] {
  --canvas: #f3f4f6; /* The page or app background that panels sit on. Night is Perch's deepest map tone. */
  --surface: #ffffff; /* Panels, modals, nav bars, sidebars. Perch's modal panel background. */
  --surface-raised: #f9fafb; /* Cards, inputs and grouped rows inside a surface. Perch's cardBg. */
  --surface-hover: #f3f4f6; /* Hover and pressed state for rows, ghost buttons and menu items on surface. */
  --surface-glass: rgba(255, 255, 255, 0.9); /* Floating panels over imagery or maps, always paired with a backdrop blur. */
  --border: #e5e7eb; /* Hairlines: panel edges, dividers, card and input borders. */
  --border-strong: #868d99; /* Control outlines that must be seen: secondary buttons, checkboxes, off toggle tracks, dashed hotspot outlines. At least 3:1 against surface, surface-raised and canvas in both themes (WCAG 1.4.11). Darker than Perch's #d1d5db / #475569, which missed 3:1. */
  --ink: #111827; /* Headings and primary text on surface, surface-raised and canvas (17:1 day, 14:1 night on surface). */
  --ink-2: #374151; /* Body copy and row titles on surface, surface-raised and canvas (10:1 day, 12:1 night on surface). */
  --muted: #5b6370; /* Secondary text: subtitles, metadata, table headers, inactive tabs, section labels. Passes 4.5:1 on surface, surface-raised, canvas and placeholder in both themes (6.1:1 day, 7:1 night on surface). Day value darkened from Perch's #6b7280 to meet WCAG on canvas. */
  --subtle: #6b7280; /* Placeholder text, close glyphs, supporting icons, on surface and surface-raised (4.6:1 or more in both themes). Lightened from Perch (#9ca3af day, #64748b night), which missed WCAG AA. */
  --fill-strong: var(--ink); /* The one solid fill: primary buttons, selected chips and segments, on toggles. Replaces Perch's blue at night so the kit stays colorless. */
  --on-fill-strong: #ffffff; /* Text and icons on fill-strong (18:1 day, 14:1 night). */
  --placeholder: #e5e7eb; /* Image, video, map and avatar placeholder boxes, and skeleton text bars. */
  --placeholder-line: #d1d5db; /* The cross lines inside a placeholder box and skeleton text bars. Decorative only. */
  --focus: var(--ink); /* 2px focus ring on every interactive part; solid ink so it meets 3:1 on every surface. */
  --backdrop: rgba(0, 0, 0, 0.4); /* Scrim behind modals, with a small backdrop blur. */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* Selected segment, raised chips. */
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* Menus, popovers, floating panels. */
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* Modals (Perch shadow-2xl). */
}
[data-theme="night"] {
  --canvas: #0a0f1a;
  --surface: #0f172a;
  --surface-raised: #1e293b;
  --surface-hover: #1e293b;
  --surface-glass: rgba(15, 23, 42, 0.9);
  --border: #334155;
  --border-strong: #718198;
  --ink: #e2e8f0;
  --ink-2: #cbd5e1;
  --muted: #94a3b8;
  --subtle: #8494aa;
  --fill-strong: var(--ink);
  --on-fill-strong: #0f172a;
  --placeholder: #1e293b;
  --placeholder-line: #334155;
  --focus: var(--ink);
  --backdrop: rgba(0, 0, 0, 0.4);
}
:root {
  --space-1: 4px; /* Icon-to-text gap inside small chips. */
  --space-2: 8px; /* Gap between inline controls; icon-to-label gap in buttons. */
  --space-3: 12px; /* Row padding (vertical 8, horizontal 12); content padding block in modals. */
  --space-4: 16px; /* Card padding; gap between cards; screen gutter on phones. */
  --space-5: 20px; /* Panel and modal horizontal padding (Perch px-5). */
  --space-6: 24px; /* Gap between sections inside a screen. */
  --space-8: 32px; /* Page gutter on desktop; space above page titles. */
  --space-12: 48px; /* Gap between major page bands. */
  --radius-md: 6px; /* Small chips, badges, checkboxes. */
  --radius-lg: 8px; /* Buttons, inputs, cards inside panels, placeholder boxes. */
  --radius-xl: 12px; /* Standalone cards and floating panels. */
  --radius-2xl: 16px; /* Modals and sheets. */
  --radius-full: 9999px; /* Icon buttons, toggles, pills, avatars. */
  --font-sans: Inter, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --text-display: 700 30px/36px var(--font-sans); /* Hero headline, one per screen. */
  --text-h1: 700 24px/32px var(--font-sans); /* Page title. */
  --text-h2: 600 18px/28px var(--font-sans); /* Section heading. */
  --text-title: 700 16px/24px var(--font-sans); /* Modal, panel and card titles. */
  --text-body: 400 14px/20px var(--font-sans); /* Default UI and paragraph text. */
  --text-body-strong: 500 14px/20px var(--font-sans); /* Row titles, button labels. */
  --text-small: 400 12px/16px var(--font-sans); /* Secondary lines, helper text, tabs. */
  --text-caption: 400 11px/16px var(--font-sans); /* Metadata under row titles. */
  --text-label: 600 10px/14px var(--font-sans); /* Uppercase section labels inside panels (add the wf-label class for the uppercase). */
  --text-data: 500 12px/16px var(--font-mono); /* Numbers, codes, timestamps, coordinates. */
}
.display {
  font-family: var(--font-sans);
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.h1 {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0;
}
.h2 {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0;
}
.title {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.body-strong {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
}
.small {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.data {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0;
}
