/* Groomkin — generated from tokens.json */
:root, [data-theme="light"] {
  --surface: #ffffff; /* Default ground: the page, cards and sheets. Every text token is checked on it. */
  --surface-sunken: #f7f6fc; /* App background behind cards, input wells, the inactive track of segmented controls. */
  --surface-raised: #ffffff; /* Anything lifted above the page: menus, popovers, the selected segment. In light it matches surface and leans on shadow-md. */
  --line: #e7e4f0; /* Hairlines: card borders, dividers, table rules. Decorative only, never the sole edge of a control. */
  --line-strong: #89819c; /* Control borders (inputs, secondary buttons, unchecked switches). Holds 3:1 on surface, surface-sunken and surface-raised. */
  --ink: #181226; /* Primary text and the ink line of illustrations, on surface, surface-sunken, surface-raised, brand-wash and brand-soft. */
  --ink-muted: #5a536c; /* Secondary text: breed and age lines, hints, timestamps, placeholders. On surface, surface-sunken, surface-raised and brand-wash. */
  --brand: #8047d3; /* Wisteria, the brand purple. Primary buttons, selected states, links, the focus ring. As text, on surface, surface-sunken, surface-raised and brand-wash. */
  --brand-strong: #6027a7; /* Hover and pressed brand fills; brand text on brand-soft (selected chips, brand badges). */
  --brand-soft: #ece4ff; /* Lilac tint: brand badges, selected service cards, hover on quiet buttons, highlighted rows. */
  --brand-wash: #f8f5ff; /* The faintest lilac: hero bands, empty-state grounds, alternating sections. Pairs with any text token. */
  --on-brand: #ffffff; /* Text and icons on a brand or brand-strong fill (the primary button label). Never use plain white in dark. */
  --success: #006b5b; /* Done, paid, vaccines current. Text and icons on surface, surface-sunken and success-soft. Teal, so it never relies on red vs green. */
  --success-soft: #d9f8ef; /* Background of success badges and banners, behind success text. */
  --warning: #8b551c; /* Needs attention soon: expiring vaccines, deposits due, late arrivals. Text on surface, surface-sunken and warning-soft. */
  --warning-soft: #fff2ce; /* Background of warning badges and banners. */
  --danger: #c22826; /* Errors, no-shows, cancellations, bite or medical alerts. Text on surface, surface-sunken and danger-soft; always with an icon or word. */
  --danger-soft: #ffe9e8; /* Background of danger badges, error banners and invalid fields. */
  --info: #1c67a4; /* Neutral notices: reminders sent, notes from the pet parent. Text on surface, surface-sunken and info-soft. */
  --info-soft: #dff3ff; /* Background of info badges and banners. */
  --art-line: var(--ink); /* The ink line of every illustration and doodle. An alias of ink, so drawings flip with the theme. */
  --art-paper: #ffffff; /* Light fills inside drawings: bubbles, white fur, eyes, towels. Never a page ground. */
  --lilac: #d4c2ff; /* The brand hue as an illustration fill and decorative blob behind headings. Never text. */
  --marigold: #fec84b; /* Sunny yellow fill: rubber ducks, stars, sparkles, highlight swooshes under a word. Never text. */
  --coral: #f89177; /* Warm fill: tongues, collars, cat fur, hearts. Never text. */
  --mint: #97e4c2; /* Fresh fill: grass, towels, bath tiles, success doodles. Never text. */
  --sky: #a1d6f5; /* Water and bubbles fill, night-sky blocks in boarding art. Never text. */
  --biscuit: #eccaa7; /* Fur and wood: dog coats, beds, the cushion under a napping cat. Never text. */
  --shadow-sm: 0 1px 2px #2a1a4a0f, 0 2px 8px #2a1a4a0d; /* Cards at rest. */
  --shadow-md: 0 2px 4px #2a1a4a0f, 0 8px 24px #2a1a4a14; /* Hovered cards, the selected segment, sticky bars. */
  --shadow-lg: 0 4px 8px #2a1a4a12, 0 20px 48px -8px #2a1a4a29; /* Menus, popovers, dialogs, toasts: anything floating. */
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #8047d3; /* Keyboard focus on every control: a 2px gap in the surface colour, then 2px of solid brand. Box-shadow, so it follows the pill. */
}
[data-theme="dark"] {
  --surface: #16131e;
  --surface-sunken: #0d0a14;
  --surface-raised: #221e2c;
  --line: #322d3e;
  --line-strong: #837b98;
  --ink: #f4f2fb;
  --ink-muted: #bcb7cc;
  --brand: #bb9ef9;
  --brand-strong: #d7c6ff;
  --brand-soft: #362653;
  --brand-wash: #1c1529;
  --on-brand: #1a0e2d;
  --success: #74dfbf;
  --success-soft: #07332a;
  --warning: #f5c66d;
  --warning-soft: #3e290f;
  --danger: #fe9b95;
  --danger-soft: #4e2020;
  --info: #8ac9f6;
  --info-soft: #163045;
  --art-line: var(--ink);
  --art-paper: #3f3a4b;
  --lilac: #5c418b;
  --marigold: #886116;
  --coral: #984838;
  --mint: #226952;
  --sky: #2a5d81;
  --biscuit: #7c5c3f;
  --shadow-sm: 0 1px 2px #00000066;
  --shadow-md: 0 4px 16px #00000080;
  --shadow-lg: 0 20px 48px -8px #000000b3;
  --focus-ring: 0 0 0 2px #16131e, 0 0 0 4px #bb9ef9;
}
:root {
  --space-1: 4px; /* Icon-to-label gap inside badges. */
  --space-2: 8px; /* Gap between an icon and a button label; between stacked badges. */
  --space-3: 12px; /* Between a label and its field; between chips in a time-slot grid. */
  --space-4: 16px; /* Padding inside compact cards and list rows. */
  --space-5: 20px; /* Gap between fields in a form. */
  --space-6: 24px; /* Default card padding; gap between cards. */
  --space-8: 32px; /* Padding inside large cards and dialogs; gap between groups. */
  --space-12: 48px; /* Between page sections inside the app. */
  --space-16: 64px; /* Marketing section padding, empty-state breathing room. */
  --space-24: 96px; /* Between marketing bands. */
  --radius-xs: 8px; /* Checkboxes, tiny tags, tooltip corners. */
  --radius-sm: 12px; /* Menus, small tiles, image thumbnails. */
  --radius-md: 16px; /* Inputs, time-slot chips, compact cards. */
  --radius-lg: 24px; /* Cards: pet, service, stay, appointment. */
  --radius-xl: 32px; /* Dialogs, hero panels, empty-state grounds. */
  --radius-full: 9999px; /* Buttons, badges, switches, segmented controls, avatars. */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --text-display-xl: 600 64px/68px var(--font-display); /* Marketing heroes and the cover. One per page. */
  --text-display-lg: 600 48px/54px var(--font-display); /* Landing sections, onboarding screens. */
  --text-display-md: 600 36px/42px var(--font-sans); /* App page titles and empty-state headlines. */
  --text-display-sm: 600 28px/34px var(--font-display); /* Card-level hero lines: a pickup notice, a booking confirmation. */
  --text-heading-lg: 700 22px/30px var(--font-sans); /* Section headings inside the app. */
  --text-heading-md: 700 18px/26px var(--font-sans); /* Card titles, dialog titles. */
  --text-heading-sm: 700 16px/22px var(--font-display); /* Pet names in cards and lists, set in Fraunces. PetCard, StayCard, ScheduleCalendar and BookingCheckout apply this class, so edits here reach every pet name. */
  --text-body-lg: 400 18px/28px var(--font-sans); /* Intro paragraphs and marketing copy. */
  --text-body: 400 16px/24px var(--font-sans); /* Default reading text. */
  --text-body-sm: 400 14px/20px var(--font-sans); /* Dense rows, metadata, hints under fields. */
  --text-label: 600 14px/20px var(--font-sans); /* Field labels, buttons at sm size, tab labels. */
  --text-caption: 600 12px/16px var(--font-sans); /* Badges, timestamps, chart axes. Never below 12px. */
  --text-hand: 600 24px/28px var(--font-hand); /* Doodled annotations beside illustrations and marketing headlines. Never for instructions, data or anything a person must read to finish a task. */
}
.display-xl {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 68px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 54px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.display-md {
  font-family: var(--font-sans);
  font-size: 36px;
  line-height: 42px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.display-sm {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.heading-lg {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.heading-md {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0;
}
.heading-sm {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0;
}
.body-lg {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
}
.body-sm {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hand {
  font-family: var(--font-hand);
  font-size: 24px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Soft.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree-Italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/Caveat.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
