/* The Groomkin design-system stylesheet, trimmed at build to the rules this site uses. Generated; the full copy is bundle.css. */
/* Groomkin — component styles. Values come from tokens.css; motion lives here. */
:root {
  --gk-ease-out: cubic-bezier(.22, 1, .36, 1);
  --gk-ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --gk-dur-quick: 120ms;
  --gk-dur-base: 200ms;
  --gk-dur-slow: 360ms;
}
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 24px; background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }
.gk-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gk-icon { flex: none; display: inline-block; vertical-align: middle; }

/* Button */
.gk-btn { box-sizing: border-box; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font: inherit; font-weight: 600; border-radius: var(--radius-full); border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color var(--gk-dur-base) var(--gk-ease-out), border-color var(--gk-dur-base) var(--gk-ease-out), color var(--gk-dur-base), transform var(--gk-dur-quick) var(--gk-ease-out), box-shadow var(--gk-dur-base); }
.gk-btn--sm { min-height: 36px; padding: 0 var(--space-4); font-size: 14px; }
.gk-btn--md { min-height: 48px; padding: 0 var(--space-6); font-size: 16px; }
.gk-btn--lg { min-height: 56px; padding: 0 var(--space-8); font-size: 18px; }
.gk-btn--full { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-top: var(--space-2); padding-bottom: var(--space-2); }
.gk-btn--primary { background: var(--brand); color: var(--on-brand); }
.gk-btn--primary:hover:not(:disabled) { background: var(--brand-strong); }
.gk-btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.gk-btn--secondary:hover:not(:disabled) { background: var(--brand-wash); border-color: var(--brand); }
.gk-btn--ghost { background: transparent; color: var(--brand); }
.gk-btn--ghost:hover:not(:disabled) { background: var(--brand-soft); color: var(--brand-strong); }
.gk-btn:active:not(:disabled) { transform: translateY(1px) scale(.98); }
.gk-btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.gk-btn:disabled { cursor: not-allowed; opacity: .45; }
/* A link styled as a button (href): disabled or loading, it keeps its place but can't be followed. */
/* The label stays in the accessibility tree while loading, so the button keeps its name. */

/* Badge */
.gk-badge { display: inline-flex; align-items: center; gap: var(--space-1); height: 24px; padding: 0 10px; border-radius: var(--radius-full); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.gk-badge .gk-icon { margin-left: -2px; }
.gk-badge--brand { background: var(--brand-soft); color: var(--brand-strong); }
.gk-badge--success { background: var(--success-soft); color: var(--success); }
.gk-badge--warning { background: var(--warning-soft); color: var(--warning); }

/* Card */
.gk-card { display: block; border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); }
.gk-card--outline { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gk-card--pad-md { padding: var(--space-6); }

/* TextField */
.gk-field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.gk-field__label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.gk-field__optional { font-weight: 400; color: var(--ink-muted); }
.gk-field__box { position: relative; display: flex; }
.gk-field__control { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 24px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); padding: 11px var(--space-4); transition: border-color var(--gk-dur-base), box-shadow var(--gk-dur-base); }
input.gk-field__control { height: 48px; }
textarea.gk-field__control { resize: vertical; min-height: 96px; }
.gk-field__control::placeholder { color: var(--ink-muted); opacity: 1; }
.gk-field__control:hover { border-color: var(--ink-muted); }
.gk-field__control:focus { outline: 2px solid transparent; border-color: var(--brand); box-shadow: var(--focus-ring); }
.gk-field__hint { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.gk-field__error { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--danger); }

/* Switch */

/* SegmentedControl */
.gk-seg { box-sizing: border-box; display: inline-flex; width: fit-content; max-width: 100%; gap: var(--space-1); padding: var(--space-1); border-radius: var(--radius-full); background: var(--surface-sunken); border: 1px solid var(--line); }
.gk-seg__opt { display: inline-flex; align-items: center; gap: var(--space-2); height: 40px; padding: 0 var(--space-5); border: 0; border-radius: var(--radius-full); background: transparent; color: var(--ink-muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color var(--gk-dur-base), color var(--gk-dur-base), box-shadow var(--gk-dur-base); }
.gk-seg__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gk-seg__opt:hover { color: var(--ink); }
.gk-seg__opt.is-on { background: var(--surface-raised); color: var(--brand-strong); box-shadow: var(--shadow-md); }
.gk-seg__opt:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
@media (max-width: 520px) {
  .gk-seg { display: flex; width: 100%; }
  .gk-seg__opt { flex: 1 1 0; min-width: 0; justify-content: center; padding: 0 var(--space-2); }
  .gk-seg__opt .gk-icon { display: none; }
}

/* PetAvatar */
.gk-avatar { position: relative; display: inline-flex; flex: none; }
 .gk-avatar__face { width: 100%; height: 100%; border-radius: var(--radius-full); object-fit: cover; }
.gk-avatar__face { display: flex; align-items: center; justify-content: center; color: var(--art-line); box-shadow: inset 0 0 0 1.5px var(--art-line); }
 .gk-avatar--ready .gk-avatar__face { outline: 2.5px solid var(--brand); outline-offset: 2px; }
 .gk-avatar--ready .gk-avatar__face { outline-color: var(--success); }
.gk-avatar__status { position: absolute; right: -4px; bottom: -4px; width: 40%; height: 40%; min-width: 18px; min-height: 18px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; background: var(--brand); color: var(--on-brand); border: 2px solid var(--surface); box-sizing: border-box; }
.gk-avatar--ready .gk-avatar__status { background: var(--success); color: var(--surface); }

/* PetCard */

/* ServiceCard */

/* TimeSlotPicker */
.gk-slot { height: 44px; font: inherit; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); cursor: pointer; transition: background-color var(--gk-dur-base), border-color var(--gk-dur-base), color var(--gk-dur-base), transform var(--gk-dur-quick); }
.gk-slot:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-wash); }
.gk-slot:active:not(:disabled) { transform: scale(.97); }
.gk-slot.is-on, .gk-slot.is-on:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.gk-slot:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
/* A slot with a groomer or places: the time, then a small second line. */

/* StayCard */
.gk-stay { display: flex; flex-direction: column; gap: var(--space-4); container-type: inline-size; width: 100%; box-sizing: border-box; min-width: 0; }
.gk-stay__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-3); row-gap: var(--space-1); }
.gk-stay__id { flex: 1; min-width: 0; }
.gk-stay__name { overflow-wrap: anywhere; margin: 0; }
.gk-stay__room { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.gk-stay__dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-sunken); }
.gk-stay__dates > div:last-child { text-align: right; }
.gk-stay__v { white-space: nowrap; }
.gk-stay__k { display: block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .02em; color: var(--ink-muted); }
.gk-stay__v { display: block; font-size: 14px; line-height: 20px; font-weight: 700; }
.gk-stay__nights { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 var(--space-3); border-radius: var(--radius-full); background: var(--brand-soft); color: var(--brand-strong); font-size: 12px; font-weight: 700; }
.gk-stay__care { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); font-size: 14px; line-height: 20px; }
.gk-stay__care li { display: flex; gap: var(--space-3); align-items: flex-start; }
.gk-stay__care .gk-icon { color: var(--brand); }
.gk-stay__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
@container (max-width: 340px) {
  .gk-stay__head { grid-template-columns: auto minmax(0, 1fr); }
  .gk-stay__head > .gk-badge { grid-column: 2; justify-self: start; }
  .gk-stay__dates { grid-template-columns: 1fr 1fr; row-gap: var(--space-2); }
  .gk-stay__nights { grid-row: 2; grid-column: 1 / -1; justify-self: start; }
}
@container (max-width: 200px) {
  .gk-stay__dates { grid-template-columns: 1fr; }
  .gk-stay__dates > div:last-child { text-align: left; }
  .gk-stay__v { white-space: normal; }
}

/* GroomingProgress */
/* Five or six stages on a phone: smaller nodes, and the current stage named once under the trail. */

/* EmptyState */
@media (prefers-reduced-motion: reduce) {
  .gk-btn, .gk-slot { transition: none; }
}

/* Shared small controls */
.gk-link { font: inherit; font-size: 14px; font-weight: 600; color: var(--brand); background: none; border: 0; padding: 4px 2px; border-radius: var(--radius-xs); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.gk-link:hover { color: var(--brand-strong); }
.gk-link:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }

/* Money: every amount in tabular figures, so columns line up (format it with formatMoney). */
.gk-amount { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Logo */
.gk-logo { display: inline-block; vertical-align: middle; overflow: visible; max-width: 100%; height: auto; }
/* The mark keeps its own colours in every theme; only the name follows the tokens. */
.gk-logo__tile { fill: #8047d3; }
.gk-logo__glyph { fill: #ffc53d; }
.gk-logo__groom, .gk-logo__toes { fill: var(--ink); }
.gk-logo__kin { fill: var(--brand); }
.gk-logo__slogan { fill: var(--ink-muted); }
.gk-logo--reverse .gk-logo__groom, .gk-logo--reverse .gk-logo__slogan, .gk-logo--reverse .gk-logo__tile { fill: var(--on-brand); }
.gk-logo--reverse .gk-logo__kin, .gk-logo--reverse .gk-logo__toes { fill: #ffc53d; }
.gk-logo--reverse .gk-logo__glyph { fill: #8047d3; }
.gk-logo--ink .gk-logo__tile, .gk-logo--ink .gk-logo__groom, .gk-logo--ink .gk-logo__kin, .gk-logo--ink .gk-logo__toes, .gk-logo--ink .gk-logo__slogan { fill: var(--ink); }
.gk-logo--ink .gk-logo__glyph { fill: var(--surface); }
.gk-logo__wag { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .gk-logo--wag-hover:hover .gk-logo__wag { animation: gk-logo-wag .9s var(--gk-ease-out); }
  .gk-logo--wag-always .gk-logo__wag { animation: gk-logo-wag 3.2s var(--gk-ease-out) infinite; }
}
@keyframes gk-logo-wag { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-14px); } 55% { transform: translateY(4px); } 75% { transform: translateY(-3px); } }

/* Shared small controls: reduced motion, dark fields and a disabled link */
.gk-link:disabled { color: var(--ink-muted); text-decoration: none; cursor: default; }

/* Choice chips (ChoiceChips, used by several areas) */
.gk-slot.is-on:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }

/* ───────── Basic controls ───────── */

/* Checkbox */

/* RadioGroup */

/* Select (shares TextField's box) */
.gk-field--select select.gk-field__control { -webkit-appearance: none; appearance: none; height: 48px; padding-top: 0; padding-bottom: 0; padding-right: 44px; cursor: pointer; text-overflow: ellipsis; }
.gk-field--select option { color: var(--ink); background: var(--surface); }
.gk-field__chev { position: absolute; right: 14px; top: 14px; color: var(--ink-muted); pointer-events: none; transition: transform var(--gk-dur-base) var(--gk-ease-out); }
.gk-field--select .gk-field__box:hover .gk-field__chev { color: var(--ink); }

/* Tabs */

/* List + ListRow */

/* Banner */
/* An incident on Groomkin's side: the affected part leads, and the status page is one tap away. */

/* Toast */

/* Dialog + BottomSheet */
/* The scrim: the dark theme's sunken surface at half strength, the same in both themes. */
/* SidePanel's ⋮ menu sits left of the close button. */

/* SidePanel: right edge on desktop, bottom sheet on phones */
/* ───────── Shared pieces ───────── */
/* Small classes several areas and the foundation use inside their own components. They keep their
   original names; change them here, never in an area's stylesheet. Owned by the integrator. */

@keyframes gk-pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }

/* Error line inside a panel */

/* Text bubble: a text message as the client will see it */

/* The chevron on a details/summary disclosure */
.gk-policy__chev { transition: transform var(--gk-dur-base) var(--gk-ease-out); }
@media (prefers-reduced-motion: reduce) {
  .gk-policy__chev { transition: none; }
}

/* Confirmation line, field chips and the plain text link used inside panels */

/* ───────── Boarding and daycare ───────── */

/* OccupancyGrid */

/* CarePlan */

/* CareRounds */
.gk-round { container-type: inline-size; width: 100%; box-sizing: border-box; min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.gk-round__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.gk-round__title { margin: 0; font-size: 18px; line-height: 26px; font-weight: 700; }
.gk-round__sub { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.gk-round__progress { display: flex; flex-direction: column; gap: var(--space-2); }
.gk-round__progress-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-1) var(--space-3); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.gk-round__bar { height: 8px; border-radius: var(--radius-full); background: var(--line); overflow: hidden; }
.gk-round__bar span { display: block; height: 100%; border-radius: inherit; background: var(--brand); transition: width var(--gk-dur-slow) var(--gk-ease-out); }
.gk-round__muted { color: var(--ink-muted); font-weight: 400; }
.gk-round__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.gk-round__task { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); min-width: 0; transition: background-color var(--gk-dur-base), border-color var(--gk-dur-base); }
.gk-round__task.is-late { border-color: var(--warning); box-shadow: inset 0 0 0 1px var(--warning); }
.gk-round__task.is-done { gap: var(--space-2); background: var(--surface-sunken); border-color: transparent; }
.gk-round__top { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.gk-round__who { flex: 1; min-width: 0; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.gk-round__who .heading-sm { font-size: 16px; line-height: 22px; }
.gk-round__due { flex: none; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.gk-round__top > .gk-badge { flex: none; }
.gk-round__what { display: flex; align-items: flex-start; gap: var(--space-2); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.gk-round__what > .gk-icon { flex: none; margin-top: 1px; color: var(--brand); }
.gk-round__task.is-med .gk-round__what > .gk-icon { color: var(--info); }
.gk-round__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.gk-round__choices .gk-slot { height: auto; min-height: 44px; padding: var(--space-2) var(--space-1); line-height: 20px; }
.gk-round__choices .gk-slot:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.gk-round__acts { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.gk-round__log { display: flex; align-items: flex-start; gap: var(--space-2); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.gk-round__log > .gk-icon { flex: none; margin-top: 2px; color: var(--success); }
.gk-round__log > span { flex: 1; min-width: 0; }
.gk-round__change { flex: none; min-height: 32px; margin: -6px 0; padding: 0 var(--space-2); border: 0; border-radius: var(--radius-sm); background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--brand-strong); cursor: pointer; position: relative; }
.gk-round__change::after { content: ""; position: absolute; inset: -6px 0; }
.gk-round__change:hover { text-decoration: underline; text-underline-offset: 3px; }
.gk-round__change:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.gk-round__done { border-top: 1px solid var(--line); padding-top: var(--space-2); }
.gk-round__done summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 44px; margin-bottom: var(--space-2); border-radius: var(--radius-sm); font-weight: 600; color: var(--brand); cursor: pointer; }
.gk-round__done summary::-webkit-details-marker { display: none; }
.gk-round__done summary:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.gk-round__done[open] .gk-policy__chev { transform: rotate(180deg); }
.gk-round__fine { margin: 0; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.gk-round__short { display: none; }
.gk-round__head .gk-seg__opt { position: relative; }
@container (max-width: 440px) {
  .gk-round__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gk-round__short { display: inline; }
  .gk-round__head .gk-seg { width: 100%; box-sizing: border-box; }
  .gk-round__head .gk-seg__opt { flex: 1 1 0; min-width: 0; justify-content: center; padding: 0 var(--space-2); }
}

/* PlayRoster */

/* BelongingsCheck */

@media (prefers-reduced-motion: reduce) {
   .gk-round__task, .gk-round__bar span { transition: none; }
}

/* ───────── App frame ───────── */

/* Keyboard keys */

/* Tooltip */
.gk-tooltip { position: relative; display: inline-flex; max-width: 100%; }
.gk-tooltip__bubble { position: absolute; z-index: 70; left: 50%; bottom: calc(100% + 8px); display: none; width: max-content; max-width: 220px; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--ink); color: var(--surface); font-size: 13px; line-height: 18px; font-weight: 600; text-align: center; pointer-events: none; transform: translateX(-50%); }
.gk-tooltip__bubble.is-open { display: block; animation: gk-tip-in var(--gk-dur-quick) var(--gk-ease-out); }
@keyframes gk-tip-in { from { opacity: 0; } }

/* IconButton */
.gk-ibtn { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid transparent; border-radius: var(--radius-full); background: transparent; color: var(--ink); cursor: pointer; transition: background-color var(--gk-dur-base), border-color var(--gk-dur-base), color var(--gk-dur-base), transform var(--gk-dur-quick); }
.gk-ibtn--sm { width: 36px; height: 36px; }
.gk-ibtn--sm::after { content: ""; position: absolute; inset: -4px 0; }
.gk-ibtn--secondary { border-color: var(--line-strong); background: var(--surface); }
.gk-ibtn--secondary:hover { border-color: var(--brand); background: var(--brand-wash); }
.gk-ibtn:active { transform: scale(.92); }
.gk-ibtn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.gk-ibtn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.gk-ibtn:disabled:hover { background: transparent; border-color: transparent; }
.gk-ibtn--secondary:disabled:hover { background: var(--surface); border-color: var(--line-strong); }
.gk-ibtn[aria-expanded="true"] { background: var(--surface-sunken); }

/* Menu */

/* PageHeader */

/* AppNav */
/* Help sits in the same place on every screen: just above the plan and the person signed in (REQ-PLT-618). */

/* TabBar */
/* The location switcher, at the top of More: open More, pick a place (REQ-MLO-608). */

/* ProBadge */

/* QuickFind */

@media (prefers-reduced-motion: reduce) {
  .gk-ibtn { transition: none; }
   .gk-tooltip__bubble { animation: none; }
}
/* ───────── Wide screens ───────── */
/* Natural widths. Phone-first panels stop growing at a readable width instead of stretching across a desktop page.
   A page can set these on any wrapper to widen or narrow everything inside it. */
:root {
  --gk-width-client: 560px;
  --gk-width-flow: 640px;
  --gk-width-wide: 760px;
}
 .gk-round { max-width: var(--gk-width-wide); }
/* ───────────── SplitView ───────────── */
/* Narrow: one pane at a time */
/* Wide: side by side, each pane scrolls on its own */

/* ───────────── DashboardGrid ───────────── */
/* ───────── Calendars and booking checkout ───────── */

/* ScheduleCalendar */
/* Pet names take the heading-sm style; blocks keep a compact size. */

/* MonthCalendar */

/* BookingCheckout. Phone order: the visit, the summary, the pay card, then Book. From 760px of its own width:
   the visit and the pay card on the left; the summary and Book on the right. Nothing sticks: the pay card sits
   between the summary and Book in reading order, so they can't share one sticky column. */

/* The summary */

/* The pay card */

/* Book */
/* Round 6: a covered line, rule and reward lines, and a gift card toward the deposit (CU-237, CU-061, CU-263). */

/* The outcome: one centered column at any width */

/* ScheduleCalendar: parts, stages and off time */
/* The line's other parts while one part holds the stage: the word, quieter. */
/* Hovering or focusing a block outlines every block of its visit. */

/* ScheduleCalendar and WeekCalendar: moving */
/* The bar after a move: Undo, Move only … instead, Apply to following. Bottom left inside the calendar; the foot's width on a phone. */

/* Round 3: the marks on a block (CU-096). The pill, Not confirmed and the location join a full block's lines; a compact block keeps one mark icon. */
/* Round 3: a waiting request's held slot (REQ-OBK-342 (4)). A dashed outline on the plain surface, never the booked lilac; never movable. */

/* Round 5b: a booking kept under a block (CU-352), Block beside Book and a saved block that opens (CU-353). */

/* Wide screens: natural widths and two-column layouts */
/* Checkout goes two columns (details, then the summary beside them) from 760px, so it stops wider. */
/* ───────── Visit components (the pet parent's visit link) ───────── */

/* VisitStatus */

/* BeforeAfter */

/* GroomNote */

/* PayPanel */

/* RebookCard */

/* RatingPrompt */
/* BeforeAfter: one photo, and the credits */

/* GroomNote: the people line, the checker and the embedded form */

/* RatingPrompt */

/* ConditionCheck */

/* PetReportCard */

/* RebookCard: offers, pets, the due email box */

/* PayPanel: pets, tax per line, what's paid, store credit, part payment, ways to pay */
/* Round 6: prepaid credits under their line, gift cards, and visit-reward progress (CU-237, CU-263). */

/* VisitPage */

/* Phone-width fixes */

/* Wide screens: natural widths and two-column layouts */
/* What pet parents see: the visit link, booking and pre-arrival. */
/* ───────── Safety and check-in ───────── */

/* HandlingFlags */
.gk-flags { list-style: none; margin: 0; padding: 0; min-width: 0; }
.gk-flags--chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.gk-flags--chips li { display: flex; min-width: 0; }
.gk-flags-sum { max-width: 100%; box-sizing: border-box; }
.gk-flags-sum__vis { display: inline-flex; align-items: center; gap: var(--space-1); min-width: 0; }
.gk-flags-sum__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gk-flags--rows { display: flex; flex-direction: column; gap: var(--space-2); }
.gk-flag { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-md); }
.gk-flag--warning { background: var(--warning-soft); }
.gk-flag--brand { background: var(--brand-wash); box-shadow: inset 0 0 0 1px var(--brand-soft); }
.gk-flag__icon { flex: none; width: 32px; height: 32px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--ink); }
.gk-flag--warning .gk-flag__icon, .gk-flag--warning .gk-flag__label { color: var(--warning); }
.gk-flag--brand .gk-flag__icon, .gk-flag--brand .gk-flag__label { color: var(--brand); }
.gk-flag__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.gk-flag__label { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--space-2); row-gap: 2px; font-size: 16px; line-height: 24px; font-weight: 700; overflow-wrap: anywhere; }
.gk-flag__auto { padding: 0 8px; border-radius: var(--radius-full); background: var(--surface); color: var(--ink-muted); font-size: 12px; line-height: 20px; font-weight: 600; letter-spacing: .02em; }

/* CheckInAlert */

/* VaccineCard */
/* A certificate with several vaccines (CU-327): one photo, a fieldset per vaccine, one Looks right. */
/* Floated, the legend sits under the fieldset's top line instead of breaking it. */
/* The failed checks, shared with desk's VerifyQueue through vaccinefields (CU-327 rule 9, CU-334). */
/* Read-only fields, for a role that can't verify (REQ-CLI-342 (14)). */
/* The photo check's actions are 44px targets, as small buttons. */
/* A save error with Try again. */
/* The Undo window's Undo and Dismiss are 44px targets. */
@container (max-width: 340px) {
  /* The photo check's actions are full width on the phone (CU-327 §6). */
}

/* WaiverSign */

/* PreCheck */

/* Wide screens: natural widths and two-column layouts */
/* ───────── The groomer's phone ───────── */

/* StageBoard: list (the groomer's phone) */
.gk-stage { min-width: 0; }
.gk-stage__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.gk-stagecard { container-type: inline-size; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.gk-stagecard.is-ready { border-color: var(--success); box-shadow: inset 0 0 0 1px var(--success), var(--shadow-sm); }
.gk-stagecard__head { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.gk-stagecard__id { flex: 1; min-width: 0; }
.gk-stagecard__name { margin: 0; overflow-wrap: anywhere; }
.gk-stagecard__sub { font-size: 14px; line-height: 20px; color: var(--ink-muted); overflow-wrap: anywhere; }
.gk-stagecard__head > .gk-flags-sum { flex: 0 1 auto; min-width: 0; }
.gk-stagecard__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.gk-stagecard__step { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gk-stagecard__seg { position: relative; height: 8px; border-radius: var(--radius-full); background: var(--line); overflow: hidden; }
.gk-stagecard__step.is-done .gk-stagecard__seg { background: var(--brand); }
.gk-stagecard.is-ready .gk-stagecard__step .gk-stagecard__seg { background: var(--success); }
.gk-stagecard__step.is-now .gk-stagecard__seg { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px var(--brand); }
.gk-stagecard__step.is-now .gk-stagecard__seg::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 50%; border-radius: inherit; background: var(--brand); }
.gk-stagecard__lbl { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .02em; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gk-stagecard__step.is-now .gk-stagecard__lbl { color: var(--brand-strong); font-weight: 700; overflow: visible; }
.gk-stagecard.is-ready .gk-stagecard__step:last-child .gk-stagecard__lbl { color: var(--success); font-weight: 700; }
.gk-stagecard__meta { display: flex; align-items: flex-start; gap: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.gk-stagecard__meta .gk-icon { margin-top: 2px; color: var(--brand); }
.gk-stagecard.is-ready .gk-stagecard__meta .gk-icon { color: var(--success); }
.gk-stagecard__act { display: flex; flex-direction: column; gap: var(--space-2); }
.gk-stagecard__taps { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }
.gk-stagecard__taps .gk-btn { align-self: stretch; }
.gk-stagecard__wait { display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-4); border-radius: var(--radius-full); background: var(--surface-sunken); color: var(--ink-muted); font-size: 16px; font-weight: 600; }
.gk-stagecard__wait .gk-icon { color: var(--brand); }
.gk-stagecard__wait.is-next { background: var(--brand-wash); color: var(--brand-strong); }
.gk-stagecard > .gk-flags--rows { margin: 0; }
.gk-stagecard > .gk-flags-sum { align-self: flex-start; }
.gk-stagecard__cap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ink-muted); text-align: center; }
.gk-stagecard__cap .gk-icon { color: var(--brand); }
/* The undo window's 44px target (REQ-GRM-223, accessibility bar). */
/* CU-312: Before photo, Checks and After photo beside the tap, side by side; they stack on a narrow card. */
.gk-stagecard:focus { outline: none; }
.gk-stagecard:focus-visible, .gk-sboard__card:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.gk-sboard__card:focus { outline: none; }
@container (max-width: 360px) {
  /* Only the current stage's word shows, spanning the whole track so it never spills. */
  .gk-stagecard__track { position: relative; padding-bottom: 22px; }
  .gk-stagecard__step .gk-stagecard__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gk-stagecard__step.is-now .gk-stagecard__lbl, .gk-stagecard.is-ready .gk-stagecard__step:last-child .gk-stagecard__lbl { left: 0; right: 0; top: 14px; width: auto; height: auto; clip: auto; overflow: hidden; text-overflow: ellipsis; }
}
@container (max-width: 260px) {
  .gk-stagecard__head { flex-wrap: wrap; }
  .gk-stagecard__head > .gk-flags-sum { margin-left: 60px; }
}

/* StageBoard: board (the front desk and the lobby screen) */
.gk-sboard { min-width: 0; }
.gk-sboard__cols { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 1fr); gap: var(--space-3); overflow-x: auto; padding-bottom: var(--space-2); scrollbar-width: thin; }
.gk-sboard__col { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; padding: var(--space-3); border-radius: var(--radius-lg); background: var(--surface-sunken); }
.gk-sboard__col.is-ready { background: var(--success-soft); }
.gk-sboard__head { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-1) var(--space-1) 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink); }
.gk-sboard__icon { flex: none; width: 28px; height: 28px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--brand); }
.gk-sboard__col.is-ready .gk-sboard__icon { color: var(--success); }
.gk-sboard__label { flex: 1; min-width: 0; }
.gk-sboard__count { min-width: 24px; height: 24px; padding: 0 8px; box-sizing: border-box; border-radius: var(--radius-full); background: var(--surface); color: var(--ink); font-size: 12px; line-height: 24px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.gk-sboard__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.gk-sboard__card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-2); padding: var(--space-3); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.gk-sboard__text { grid-column: 1 / -1; grid-row: 2; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.gk-sboard__flags { grid-column: 1 / -1; grid-row: 3; display: flex; min-width: 0; }
.gk-sboard__name { margin: 0; overflow-wrap: break-word; max-width: 100%; }
.gk-sboard__sub { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .02em; color: var(--ink-muted); margin-bottom: 2px; }
.gk-sboard__go { grid-column: 2; grid-row: 1; justify-self: end; }
.gk-sboard__card > .gk-avatar { grid-column: 1; grid-row: 1; }
.gk-sboard__empty { margin: 0; padding: var(--space-3); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); font-size: 14px; line-height: 20px; color: var(--ink-muted); text-align: center; }

/* StageBoard: lobby and back-room displays (read-only, type scales with the screen) */

/* AddOnApproval */

/* FinishVisit: its own classes (round 2 moves it off visit.css's gk-tip* and gk-pay2__*) */

/* The pet groups */
/* Round 6: credits under their line with the 1-tap switch, the reward's star, gift cards and the house account (CU-237, CU-061, CU-263, CU-368). */
/* A container's size is its content box: the desk's 480px panel has about 430px inside, so the row holds there and stacks on a phone. */
/* A visit's travel fee, changed or waived before Charge (CU-361): an inline editor under its line, capped at 420px. */

/* Code, notices and totals */

/* The tip's split, on the staff side */

/* Next visits */

/* Errors */

/* Nobody's home */

/* Paying */

/* The tip screen, handed to the pet parent */

/* Done */

/* SendQueue */
@media (prefers-reduced-motion: no-preference) {
  .gk-stagecard__step.is-now .gk-stagecard__seg::after { animation: gk-seg-fill .5s var(--gk-ease-out) backwards; }
  .gk-stagecard__step.is-done .gk-stagecard__seg { animation: gk-seg-done .4s var(--gk-ease-out) backwards; }
  .gk-sboard__card { animation: gk-card-in .36s var(--gk-ease-bounce) backwards; }
}
@keyframes gk-seg-fill { from { width: 0; } }
@keyframes gk-seg-done { from { opacity: .4; } }
@keyframes gk-card-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }

/* RouteStop */
.gk-routestop { container-type: inline-size; min-width: 0; display: flex; flex-direction: column; }
.gk-routestop__leg { position: relative; display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) 0 var(--space-3) 56px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.gk-routestop__leg .gk-icon { color: var(--brand); }
.gk-routestop__leg-line { position: absolute; left: 35px; top: 0; bottom: 0; border-left: 2px dashed var(--line-strong); }
.gk-routestop__card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; transition: border-color var(--gk-dur-base), box-shadow var(--gk-dur-base), background-color var(--gk-dur-base); }
.gk-routestop.is-en-route .gk-routestop__card { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand), var(--shadow-md); }
.gk-routestop.is-grooming .gk-routestop__card { background: var(--brand-wash); border-color: var(--brand-soft); }
.gk-routestop.is-done .gk-routestop__card { gap: var(--space-1); padding-top: var(--space-3); padding-bottom: var(--space-3); background: var(--surface-sunken); border-color: transparent; box-shadow: none; }
.gk-routestop__head { display: flex; align-items: flex-start; gap: var(--space-3); min-width: 0; }
.gk-routestop__num { flex: none; width: 32px; height: 32px; box-sizing: border-box; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; border: 2px solid var(--brand); background: var(--surface); color: var(--brand); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gk-routestop.is-en-route .gk-routestop__num, .gk-routestop.is-grooming .gk-routestop__num { background: var(--brand); color: var(--on-brand); }
.gk-routestop.is-done .gk-routestop__num { border-color: var(--success); background: var(--success); color: var(--surface); }
.gk-routestop__id { flex: 1; min-width: 0; padding-top: 4px; }
.gk-routestop__title { margin: 0; overflow-wrap: anywhere; }
.gk-routestop__sub { font-size: 14px; line-height: 20px; color: var(--ink-muted); overflow-wrap: anywhere; }
.gk-routestop__head > .gk-badge { margin-top: 4px; }
.gk-routestop__window { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.gk-routestop__window .gk-icon { color: var(--brand); }
.gk-routestop__pets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.gk-routestop__pets li { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
.gk-routestop__pet { min-width: 0; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.gk-routestop__pet-name { font-weight: 600; }
.gk-routestop__petbody { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gk-routestop__pets li:has(.gk-routestop__petflags) { align-items: flex-start; }
.gk-routestop__muted { color: var(--ink-muted); }
.gk-routestop__where { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-2) var(--space-3); }
.gk-routestop__where > .gk-icon { flex: none; margin-top: 3px; color: var(--brand); }
.gk-routestop__addr { flex: 1 1 8rem; min-width: 0; font-size: 16px; line-height: 24px; overflow-wrap: anywhere; }
.gk-routestop__access { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2) var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-sunken); }
.gk-routestop__access > div { display: contents; }
.gk-routestop__access dt { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 20px; font-weight: 600; letter-spacing: .02em; color: var(--ink-muted); white-space: nowrap; }
.gk-routestop__access dt .gk-icon { color: var(--brand); }
.gk-routestop__access dd { margin: 0; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.gk-routestop__access dd.is-code { font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.gk-routestop__eta { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--brand-wash); box-shadow: inset 0 0 0 1px var(--brand-soft); }
.gk-routestop__road { position: relative; height: 24px; margin: 0 4px; }
.gk-routestop__road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--line-strong); }
.gk-routestop__road::after { content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: var(--radius-full); background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.gk-routestop__van { position: absolute; top: 1px; left: 58%; display: flex; padding: 0 2px; background: var(--brand-wash); color: var(--brand); transform: translateX(-50%); }
.gk-routestop__eta-text { display: flex; flex-direction: column; font-size: 16px; line-height: 24px; }
.gk-routestop__eta-text strong { font-weight: 700; color: var(--brand); }
.gk-routestop__eta-text .gk-routestop__muted { font-size: 14px; line-height: 20px; }
.gk-routestop__hint { display: flex; align-items: flex-start; gap: var(--space-1); margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.gk-routestop__hint .gk-icon { margin-top: 3px; flex: none; color: var(--brand); }
.gk-routestop__late { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); background: var(--warning-soft); color: var(--warning); font-size: 14px; line-height: 20px; font-weight: 600; }
.gk-routestop__late > span { flex: 1 1 10rem; min-width: 0; }
.gk-routestop__late .gk-link { margin-left: auto; min-height: 44px; padding: 0 var(--space-2); color: var(--ink); white-space: nowrap; }
@container (max-width: 360px) {
  /* The badge wraps under the name. */
  .gk-routestop__head { flex-wrap: wrap; }
  .gk-routestop__id { flex-basis: calc(100% - 44px); }
  .gk-routestop__head > .gk-badge { margin: 0 0 0 44px; }
}
.gk-routestop__act { display: flex; flex-direction: column; gap: var(--space-2); }
.gk-routestop__more { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1) var(--space-2); }
.gk-routestop__done { padding-left: 44px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* EarningsWallet */
@media (prefers-reduced-motion: no-preference) {
  .gk-routestop__van { animation: gk-drive 4s linear infinite; }
  .gk-routestop.is-done .gk-routestop__num { animation: gk-pop .45s var(--gk-ease-bounce) backwards; }
}
@media (prefers-reduced-motion: reduce) {
  .gk-routestop__card { transition: none; }
}
@keyframes gk-drive { 0% { left: 4%; opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { left: 90%; opacity: 0; } }

/* Wide screens: natural widths and two-column layouts */
/* A task done in one column: taking a card, sending a link, a settings group. */
.gk-routestop { max-width: var(--gk-width-flow); }
.gk-stage { max-width: var(--gk-width-flow); }
/* ───────── Protecting the booked slot ───────── */

/* PriceRange */
/* "$100.00–$125.00" on one line at every width: the figure scales with the card and never wraps. */
/* A member's price: the regular price, then each rule with its amount, in the order they apply (round 6, CU-061). */

/* PriceGrid */
/* Prices at: a location's own figures, kept as differences from the business's (round 3). */

/* PolicyNotice */
/* A fee a held package or plan credit pays: the credit in place of dollars (round 6, CU-057). */

/* DepositNotice */
/* The heading keeps room for its amount and pets: in a narrow detail the badge wraps under it rather than squeezing it to a letter-wide column. */
/* Round 5b: a pet's pin from a date, and the scheduled price changes a grid waits on. */

/* Wide screens: natural widths and two-column layouts */
/* ───────── Keeping clients coming back ───────── */

/* MessageComposer */
/* Email mode (round 5): subject, photo, button, code, the month's emails, the email preview, the confirm. */

/* ConsentSettings */

/* TextPreferences */

/* MembershipCard */
/* Round 6: waiting and consent-paused bands, the plain lines (price change, skips, reminder, switch, lock, offline), panel titles that take focus. */

/* GiftCard */
/* Round 6: the terms under the balance, set-aside lines, staff's holder line and actions, closed cards, the desk sale and the certificate. */

/* WaitlistOffer */

/* Wide screens: natural widths and two-column layouts */
/* ───────── Getting paid ───────── */

/* PaymentsSetup */

/* CardReader */

/* CardOnFile */

/* FeeDisclosure */

/* PayoutCard */

/* RateCard */

/* RefundPanel */
/* Round 6: unused credits, a gift card's refund, a credit or a gift card's part going back. */

/* PayLinkCard */
/* A long label ("Charge Dana’s saved card $116.75") wraps inside the card at 320px instead of spilling. */
/* Round 6: an estimate's link and a statement's one link. */

/* Wide screens: natural widths and two-column layouts */

/* Two-column layouts for the panels that use the room. Each sits inside its own container, so it follows the space it's given, not the window. */

/* ───────── Data basics ───────── */

/* Skeleton */

/* Pagination */

/* FilterBar */
/* Value chips: a chip that opens a panel, plus its own remove button once it holds a value. */

/* DataTable */
/* Toolbar: Select all, Columns and Group by on one line above the table. */
/* Row actions: a column at the end that stays at the end edge while the table scrolls sideways; the first column stays at the start. */
/* Groups: a heading row per group inside its own rowgroup. */
/* The Columns chooser. */

/* Phones: each row becomes a card; sortable headers become chips */
/* ───────── Owner reports ───────── */
/* Numbers in reports are data, not a moment: Figtree. Money is always in tabular figures; other big values are proportional, and columns and axes are tabular. */

/* StatTile */

/* Shared chart chrome */

/* Table twin */

/* BreakdownBar and FunnelChart */

/* PeriodPicker */

/* ReportCard */
@container (max-width: 420px) {
  /* Export CSV and Send this report collapse to 44px icon buttons, still named in full. */
}

/* DayClose */
/* Each line shares the list's columns, so names, splits and amounts line up. */
@container (max-width: 480px) {
  /* Tip lines stack: the name (with its checkbox) over the amounts. */
}
@container (max-width: 380px) {
  /* The narrowest lines stack all three: name, then the split, then the amount and Change. */
}

/* ReportAlerts */

/* Wide screens: natural widths and two-column layouts */
/* Alerts: the digest and the alerts side by side on a wide container, schedules under them. */
/* Long notes never run wider than a comfortable line. */
/* ───────── Forms ───────── */
/* Shared form building blocks. Every field wears TextField's gk-field classes; what's new is prefixed
   gk-fbox (a field box with things inside it), gk-flist (the option list), gk-popover and one block per field. */

/* The field box: .gk-field__control on a wrapper, so prefixes, units, chips and buttons sit inside the same pill-cornered box. */

/* Popover: an anchored panel in the top layer. */

/* The option list behind Combobox, TimeField and AddressField. */

/* Combobox: chips inside the box when several can be chosen. */

/* TimeField */

/* MoneyField, NumberField, PhoneField */

/* AddressField */

/* FileUpload */
/* The compact zone: one row, at least 48px, icon, call to action and limits on one line. */
/* Waiting for a connection. */
/* Tagging each photo to its pet: cards with the whole photo, then a toggle per pet. */

/* PromoCodeField */
/* ───────── Structure ───────── */
/* Shared building blocks: Accordion, Stepper, PersonAvatar, AvatarStack, Timeline, Meter, DetailList,
   SettingsSection, SettingRow, SaveBar. Each reads its own width (container queries on an inner wrapper). */

/* A 44px hit area for small buttons inside dense rows, without making the row taller. */

/* ───────────── Accordion ───────────── */
/* The panel's height animates through a 0fr → 1fr grid row; closed panels are hidden from everyone. */

/* ───────────── Stepper ───────────── */
/* Connectors: dotted until the step before is done, then solid brand. */
/* Narrow horizontal: one line of summary, a bar, and the full list on request. */

/* ───────────── PersonAvatar ───────────── */
.gk-person { position: relative; display: inline-flex; flex: none; vertical-align: middle; border-radius: var(--radius-full); }
.gk-person--sm { width: 32px; height: 32px; font-size: 12px; }
 .gk-person__face { width: 100%; height: 100%; box-sizing: border-box; border-radius: var(--radius-full); object-fit: cover; }
.gk-person__face { display: flex; align-items: center; justify-content: center; color: var(--art-line); box-shadow: inset 0 0 0 1.5px var(--art-line); font-family: var(--font-sans); font-weight: 700; line-height: 1; letter-spacing: .02em; user-select: none; -webkit-user-select: none; }
/* Status: a shape per state (filled, ring, bar, hollow) so it never rests on color alone. */

/* ───────────── AvatarStack ───────────── */

/* ───────────── Timeline ───────────── */

/* ───────────── Meter ───────────── */
.gk-meter { min-width: 0; display: flex; flex-direction: column; gap: var(--space-2); color: var(--ink); }
.gk-meter__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: var(--space-3); row-gap: 2px; }
.gk-meter__label { font-size: 14px; line-height: 20px; font-weight: 600; overflow-wrap: anywhere; }
.gk-meter__value { font-size: 14px; line-height: 20px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.gk-meter__track { position: relative; display: block; height: 10px; border-radius: var(--radius-full); background: var(--brand-soft); overflow: hidden; }
.gk-meter--sm { gap: 6px; }
.gk-meter--sm .gk-meter__track { height: 6px; }
.gk-meter--sm .gk-meter__label, .gk-meter--sm .gk-meter__value { font-size: 13px; line-height: 18px; }
.gk-meter__fill { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .gk-meter__fill { transition: width var(--gk-dur-slow) var(--gk-ease-out), background-color var(--gk-dur-base); }
  .gk-meter__track { transition: background-color var(--gk-dur-base); }
}

/* ───────────── DetailList ───────────── */
/* One column reads as rows: hairlines between, label above the value until there's room beside it. */
/* Two or more columns read as a grid of facts: label above value. */

/* ───────────── SettingsSection ───────────── */

/* ───────────── SettingRow ───────────── */
/* Marks and notes: a changed or location's own value, who may change it, Groomkin's default, Fixed by Groomkin, Reset. */
/* The row's label names the setting on screen. A Switch, Select or TextField keeps its own label for screen readers only. */
/* Stacked: the control sits under the words and fills the row. */
/* Narrow rows stack too, except a Switch, which stays at the end like a phone's settings. */

/* ───────────── SaveBar ───────────── */
/* ───────── Pets, clients and their records ───────── */

/* PetProfile */

/* GroomHistory */

/* CutRecipe */

/* NotesPanel */

/* PetStatusChange */

/* IncidentReport */

/* PaperworkChase */

/* Wide screens: natural widths and two-column layouts */
/* Records that read best in one column but carry more per row. */
/* A just-saved report is a short confirmation: it keeps a reading measure on a wide screen. */

/* ───── Round 2 ───── */
/* GroomHistory: who did each part. Below 360px of the card, one “Part: Name” a line. */

/* NotesPanel: where a note shows. */

/* PaperworkChase: requests, sent-back items, each item's reminders, a bounce, and a stopped chase. */
@container (max-width: 479px) {
  /* Full width, and a long label wraps inside the button rather than spilling out of a 320px screen. */
}

/* IncidentReport: the pets, each pet's block, the saved report and its corrections. */
/* Each pet's three answers sit in a row while they fit, and stack on a narrow card. In a row they need about 296px,
   which the bordered pet block leaves from 340px inside the card; a 375px phone's card has less, so they stack there. */

/* ── PetProfile: the cadence (round 3) ── */
/* ───────── Clients and households ───────── */

/* HouseholdCard */
/* Money first: the owed band, any certificate banner, then the row of credit, card and certificate (REQ-PAY-510 (6); REQ-PAY-520 (4)). */
/* Booking terms (CU-325, CU-341, CU-361): the household's own, each beside the business's, under the columns. */
/* The window's Select holds “Same as the business (2 hr)” whole: a wider control than SettingRow's 50%, until the row stacks. */
/* Switch's track is 28px tall: a 44px target in this row, the wrapper and a hit area round the track (Requests: Switch's own target). */

/* Round 6: the household's money in one line pattern (CU-076, CU-263, CU-264). A line is an icon, what it is, how much or how many, a state Badge and at most one action. */
/* Under a pet: its plan, the plan's credits, its packages and its visit reward, above the row's open target. */
/* Beside the name on a wide card, clear of the chevron; on a phone the lines take the row's whole width, under the avatar and the chevron too. */
/* The house account's band, in place of the owed band (REQ-PAY-541 (1)). */
/* The money row's lines: store credit with Add credit, gift cards beside it, then the referrals, a full row each. */
/* Each owner's and member's news-and-offers answer (REQ-COM-115 (7)). */

/* DuplicateNotice */

/* MergeClients */

/* Wide screens: natural widths and two-column layouts */
/* ───────── Notifications and sync ───────── */

/* NotificationCenter */
/* An action's ask, opened in the notice (round 5b) */

/* NotificationBell */

/* SyncStatus */

/* NotificationSettings */

/* ConflictReview */

/* Wide screens: natural widths and two-column layouts */
/* ───────── Booking ───────── */
/* AppointmentForm (gk-apf), AppointmentDetail (gk-apd), CancelVisit (gk-cxl), NotifyChange (gk-nch),
   RepeatPicker (gk-rpt), SeriesScope (gk-scope), and the bits they share (gk-bk*). Each reads its own width. */

/* ───────────── shared ───────────── */

/* The message preview: a text bubble, or a plain email card. */
/* A 44px hit area for the small buttons in these rows, without making the rows taller. */

/* ───────────── RepeatPicker ───────────── */
/* A weekly block (subject="block"): the checkbox, then Ends and the last date, beside it from 480px */

/* ───────────── SeriesScope ───────────── */
/* A long label (“Take Pepper out of 4 visits”) wraps inside its button rather than spilling at 320px. */

/* ───────────── SeriesView ───────────── */
/* A pet leaving or joining (round 5b): the pets with Take out, and the ones not in the series with Add */

/* ───────────── NotifyChange ───────────── */
/* Banner: one line after a drag on the calendar, with the message a tap away. */
/* A late move's question (round 5b): cards in the panel, a compact pair in the banner's bar */

/* ───────────── CancelVisit ───────────── */
/* Quiet text buttons line up with the words above them; the hover wash still shows. */

/* ───────────── AppointmentDetail ───────────── */
/* Round 5b: the late request first, a kept overlap under This visit, a late move in Details, and the visit's own changes under Repeats. */
/* A phone: each button under its words. */
/* The narrowest phones: the pets' faces above the names, and the main button on its own row with Cancel visit and More below. */
/* Below about 340px the two halves and More can't fit their words: the main button takes its own row, Cancel visit and More the next. */

/* ───────────── AppointmentForm ───────────── */
/* Inside a SidePanel or Dialog the panel is surface-raised, so the cards and the sticky bar match it. */
/* Two to a row once the card is about 480px wide (two 210px pickers and the gap fit its content box), one to a row below. */
@media (prefers-reduced-motion: no-preference) {
}
/* ───────── CalendarViews ───────── */
/* Class prefixes: gk-calstat (status pill), gk-caltb (CalendarToolbar), gk-week (WeekCalendar), gk-smonth (StaffMonth), gk-agenda (AgendaList),
   gk-daysum (DaySummary), gk-slotfind (SlotFinder). WeekCalendar sits on ScheduleCalendar's own classes (gk-sched,
   gk-sched__*, gk-appt) so blocks, grid, slots, breaks, ghost and now line look exactly like the day view. */

/* Status pill: the same color per status as the appointment blocks */

/* CalendarToolbar */
/* Round 3: roles beside names, the location filter's icons, and the phone trigger's words cut before the chevron (CU-126) */

/* WeekCalendar: the grid (built on gk-sched) */
/* Round 3: the marks on a week block. The pill takes one line; in a lane narrower than 124px it gives way to the mark icon. */
@container (max-width: 124px) {
  /* With initials, they and the status icon take the first line and the name the second. */
}

/* WeekCalendar on a phone: a day strip above that day's list */

/* StaffMonth: everyone's month (CU-099). From 600px a seven-column grid; under it a list by week, as the phone week is. */
/* A regular day off (CU-332): quieter than time off, said in words, never by color alone. */
/* The people's month */
/* Under 600px: the month as a list by week */
/* Loading */

/* AgendaList (also the rows in WeekCalendar's phone list) */
/* Round 3: a row per pet line with its parts and people, request rows, and the marks (CU-123, CU-096) */

/* Open time in WeekCalendar's phone list */
/* Round 5: Block beside Book (CU-342) */
/* Round 5b: a booking kept under a block, a saved block on the phone's list, and Block beside Book on an empty day (CU-352, CU-353) */
/* A narrow row's kept pill keeps its icon and ends in an ellipsis; the row's label has the full words. */

/* AgendaList as a printed day sheet: always the light theme (data-theme), flat, ink text, a page per day */

/* DaySummary */
.gk-daysum { container-type: inline-size; box-sizing: border-box; min-width: 0; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.gk-daysum--bar { padding: var(--space-4) var(--space-5); }
.gk-daysum__layout { display: flex; flex-direction: column; gap: var(--space-4); }
.gk-daysum__nums { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.gk-daysum__stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); }
.gk-daysum__stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; min-width: 0; }
.gk-daysum__stat dt { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.gk-daysum__stat dd { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gk-daysum__unconf { box-sizing: border-box; display: flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: var(--space-2) var(--space-4); border: 0; border-radius: var(--radius-full); font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; text-align: left; }
.gk-daysum__unconf .gk-icon { flex: none; }
.gk-daysum__unconf.is-due { background: var(--warning-soft); color: var(--warning); }
button.gk-daysum__unconf { cursor: pointer; transition: box-shadow var(--gk-dur-base); }
button.gk-daysum__unconf:hover { box-shadow: inset 0 0 0 1.5px var(--warning); }
button.gk-daysum__unconf:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.gk-daysum__unconfnum { font-weight: 800; font-variant-numeric: tabular-nums; }
.gk-daysum__review { margin-left: auto; padding-left: var(--space-3); display: inline-flex; align-items: center; gap: 2px; font-weight: 700; }
.gk-daysum__staff { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--space-3) var(--space-5); }
.gk-daysum--bar .gk-daysum__staff { padding-top: var(--space-4); border-top: 1px solid var(--line); }
.gk-daysum__person { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.gk-daysum__meter { flex: 1 1 auto; }
@container (min-width: 560px) {
  .gk-daysum__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gk-daysum__unconf { align-self: flex-start; }
}
@container (min-width: 760px) {
  .gk-daysum--bar .gk-daysum__nums { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-6); }
  .gk-daysum--bar .gk-daysum__stats { grid-template-columns: repeat(4, auto); column-gap: var(--space-8); }
  .gk-daysum--bar .gk-daysum__unconf { align-self: center; }
}

/* SlotFinder */

/* Round 3: the household's pets with the person on each part, rebook's lines and decline's offer (CU-128, CU-129) */

/* Round 5: a van's search: the client's address first, then one list of windows, best first, each with its reason (CU-127) */
@container (max-width: 559px) {
  /* a ticked offer chip carries its check, so “11:30 am” needs the room to stay on one line */
}

@media (prefers-reduced-motion: reduce) {
   button.gk-daysum__unconf { transition: none; }
}

/* Round 5: BlockTime, a block of time or an ask for one, with the visits under it (CU-342) */
/* Round 5b: the bookings kept under a saved block, with Mark settled (CU-352) */

/* Round 5b (CU-355): SlotFinder's “Where's the visit?” — a van household's saved addresses, full width above the other fields. */

/* Round 5b (CU-354): TimeAsks — everyone's asks for a block of their own time, for Owners and Managers. */

/* Round 5b (D989): TimeAskReasons — the business's reasons for declining an ask for time. */
/* ───────── Texting ───────── */
/* Blocks: gk-convo (ConversationList), gk-thread (MessageThread), gk-sreply (SavedReplies), gk-remind (ReminderSettings),
   and two shared pieces: gk-tvar (insert-a-variable chips) and gk-tpreview (the filled-in “Dana sees” preview). */

/* ───────────── shared: variable chips ───────────── */

/* ───────────── shared: preview ───────────── */

/* ───────────── ConversationList ───────────── */

/* ───────────── MessageThread ───────────── */
/* The booking a message is about, once at the start of a run */
/* Under the newest staff message: the heads-up, its state, nobody hears */
/* Notes: the team's own, full width with a dashed edge and a lock */
/* Events: what happened, in the stream */
/* New messages while scrolled up */

/* Composer */
/* A composer has no room for the full drop zone: keep it to one row (see Requests: a compact FileUpload). */

/* ───────────── SavedReplies ───────────── */
/* manage */

/* ───────────── ReminderSettings ───────────── */
/* ───────── Setup ───────── */
/* The owner's setup editors. Blocks: gk-svcmenu (ServiceMenu), gk-svced (ServiceEditor), gk-wkhrs (the week of
   hours shared by BusinessHours and StaffHours), gk-bizhrs, gk-staffhrs and gk-bkrules. Each root is its own
   container, so the layout follows the width it's given. */
/* A settings page stops growing so fields stay near 640px on a wide monitor; the menu, a table, gets more room. */
/* Focus never lands behind the sticky SaveBar: scrolling to a focused control leaves room for it. */
/* Small buttons in dense rows keep a 44px target without making the rows taller. */

/* ───────────── ServiceMenu ───────────── */
/* From 680px of its own width: a table-like row with time, price and online status in columns. */

/* ───────────── ServiceEditor ───────────── */
/* Parts: a card each, its fields stacked on the phone; the running total at the end. */
/* Who it's for: a box per species, size, coat or vaccine, wrapping into columns as room allows. */
/* Where it's offered: a row per location, its differences under it. */

/* ───────────── The week of hours (BusinessHours, StaffHours) ───────────── */
/* Phone: one card per day. From 560px of its own width: one box, a row per day, the day on the left. */
/* The spoken labels (“Monday opens”) stay for screen readers; on screen, the dash says it. */
/* The add buttons: words under the times on a phone, a + beside the last range on a computer. */
/* Too narrow for two times on a line: stack them and show their words. */

/* ───────────── BusinessHours ───────────── */
/* A closed range's two days sit on one line on the web and stack on the phone. */
/* Closures that come from the business, read-only at a location. */

/* ───────────── StaffHours ───────────── */
/* Four weeks: the tabs scroll sideways on a phone instead of squeezing. */

/* ───────────── BookingRules ───────────── */
/* From 880px of its own width (a web page) the sentence sits beside the sections and stays in view as they scroll. */
/* Fields under a rule: a pair side by side once there's room, the deposit's three in a row when they fit. */

/* ───────── Round 5b ───────── */

/* ServiceMenu: the scheduled price changes and each row's mark (CU-348). */

/* ServiceEditor: the scheduled price change under the price (CU-348). */

/* ServiceEditor: people's adjustments, PriceGrid's group in the editor's classes (CU-324). */

/* ServiceEditor: sales tax (CU-323). The kind over the marks, side by side from 560px of the section's width. */

/* BookingRules at a location (CU-360). */
/* ───────── Start ───────── */
/* Getting a business going: sign-in (gk-signin), the code field (gk-otp), the go-live checklist (gk-golive),
   the import wizard (gk-importw), the client form (gk-clientf) and the pet form (gk-petf). gk-stlink is the
   link-style button they share. Each block reads its own width through a named container. */

/* Link-style button: “Use a different number”, “Do this later”, “Undo this import”. */

/* ── CodeInput ── */

/* ── SignIn ── */
/* Help before sign-in (CU-357): centered under the card's last line, never sticky; a long name wraps, centered. */
/* SignIn, round 5: a passkey first (CU-320), and the household pick (CU-321). */

/* ── SetupChecklist ── */
/* SetupChecklist, round 3: in review, not available, the concierge's lines, steps someone else holds, offline. */

/* ── ImportWizard ── */
/* ImportWizard, round 3: Where from, Files to bring, the preview's sections, Your imports, a record, and the undo Dialog. */

/* ImportWizard, round 6: Packages and plans, Points as store credit, Stop these plans, and Waiting for the client. */

/* ── ClientForm ── */
/* ClientForm, round 3: people with roles, the visit-messages line, offline, and the You step. */
/* Referred by (D728): the field after How they found you, or, locked, its words. */
/* Each person's message choices, closed until opened (D994). */
/* ClientForm, round 5: every address a mobile groomer serves the household at (CU-322). */

/* ── PetForm ── */
/* PetForm, round 3: the cadence (staff), and a pet parent's change that waits for the salon. */
/* ───────── Money ───────── */
/* Receipt, Invoice, PlanPicker, UpgradePrompt. Money on documents is Figtree with tabular figures,
   "$85.00", and "−$20.00" for anything taken off. Each component reads its own width (container queries). */

/* ───────────── UpgradePrompt ───────────── */

/* ───────────── Receipt ───────────── */
/* Round 6: a credit under its pet, what's left, a package or plan sold, visit-reward progress. */

/* Print: black on white for thermal (80mm) or letter paper. The root sets data-theme="light". */

/* ───────────── Invoice ───────────── */
/* A banner's action ("Ask for a new estimate") wraps inside the banner at 320px instead of spilling. */
/* Round 6: an estimate's ranges, ticks, proposals and deposit; a statement's entries. */
@container gkinvpaper (max-width: 479px) {
  /* The menu track is the 44px button plus the 4px gap before it, so the button never spills out of its row. */
}

/* ───────────── PlanPicker ───────────── */
/* Round 6: Pro's billing, its states and the read-only and offline notes. */
/* ───────── Access ───────── */
/* Who a device is signed in as, and how it stays that way: the desk and van phones' avatars and PIN (gk-pinsw), the
   PIN step they share with the lock (gk-pinent), a personal phone's lock (gk-lockscr), signed-in devices
   (gk-sessions), passkeys and second factors (gk-secset), the permission ask (gk-permask) and support's
   time-boxed look at the business (gk-supportac), the fresh check before a sensitive action (gk-stepup) and
   the desk code a person's own phone shows (gk-deskcode). gk-axlink is the link-style button they share. Each
   block reads its own width through a named container. */

/* Link-style button: “Use your PIN”, “Not Theo? Pick someone else.”, “Show a QR code instead”. */

/* ── PinEntry (internal): the avatar, the name and a secret 4-digit PIN ── */
/* Use my phone (PinSwitch only): the button under the PIN, and the step that reads the desk code. */

/* ── PinSwitch ── */
/* The opening screen and identify: a centered column that fills the phone. */
/* The strip: who the phone runs as, every avatar in one row that scrolls inside itself, and the desk menu. */
/* Changes still waiting to sync on the phone, named before a sign-out or a take-over (both phones). */

/* ── LockScreen ── */
@media (prefers-reduced-motion: no-preference) {
}

/* ── SessionList ── */

/* ── SecuritySetup ── */
/* Enrolling a second factor. */

/* SecuritySetup's Password section and its set step (CU-290). */

/* ── PermissionPrompt ── */

/* ── SupportAccess ── */

/* ── StepUpDialog: the fresh check, in a Dialog sm ── */
/* The lead button is full width inside a 400px dialog (224px of content at 320px): a narrower inset keeps “Use your passkey” on one line. */

/* ── DeskCode: the code on a person's own phone ── */
/* 240px of code inside 12px of padding and the border; it gives way rather than spill in a frame narrower than a phone's screen. */
/* ───────── Desk ───────── */
/* TodayBoard (gk-today), NoShowPrompt (gk-noshow), FeesToCharge (gk-fees), RequestList (gk-reqs), ChangeReview (gk-chrev),
   UnfinishedBookings (gk-unfin), VerifyQueue (gk-vq), and what they share (gk-desk-*). Each reads its own width. */

/* ───────────── shared ───────────── */
/* The window's Undo and Dismiss are 44px targets (area rule 2). */

/* ───────────── NoShowPrompt ───────────── */
/* Below 360px the buttons go full width under the words (§6). */
/* Wider, the words with the buttons at the end of the line. */

/* ───────────── TodayBoard ───────────── */
/* The person filter scrolls sideways inside its own strip, never the page (§6). */
/* Groups: stacked sections on the phone, five columns from 1100px of the board's own width. */
/* Cards side by side wherever two fit; one column on a phone. */
/* Ask to confirm */
/* From 1100px: the five groups side by side, each scrolling on its own (§6). */

/* ───────────── FeesToCharge ───────────── */
/* Nine columns: tighter cells, so the table fits a laptop’s width before it scrolls in its frame. */
/* On a phone the cards read the stacked values left to right, as DataTable lays them out. */

/* ───────────── RequestList ───────────── */
/* The open request */
/* The actions stay in view: the footer sticks to the bottom of the screen while the request is open (§6). */
/* From 1100px of the detail’s own width: the pets and deposit on the left, Around the slot on the right. */
/* DepositNotice's heading shrinks to a sliver beside its badge in a narrow detail: let the badge wrap under it (a gap logged for slot). */

/* ───────── ChangeReview ───────── */
/* The phone: each line a block, the field as its title, On file and New stacked, who and when beneath, the buttons side by side. */
/* From 760px of its own width: each line one row, field, on file, new, who and when, then the buttons, in columns that line up
   from line to line; values wrap, never truncate. */

/* ───────── UnfinishedBookings ───────── */
/* The phone: the actions stacked full width, Call first and largest. */

/* ───────── VerifyQueue ───────── */
/* The photo first, full width; from 760px of the item's own width, the photo on the left and the fields on the right. */
/* ───────── Team ───────── */
/* RoleEditor (gk-roles), StaffRoster (gk-team), ReassignVisits (gk-reassign), and what they share (gk-tm-*).
   Each reads its own width through container queries, never the window. */

/* ───────────── shared ───────────── */
/* The window's Undo and Dismiss are 44px targets. */

/* ───────────── RoleEditor ───────────── */
/* The roles list reads as a list, not a table: it stops at 760px in a wide page. */

/* The roles list */

/* A custom role's name and home */

/* Layout: summary, jump row, groups. Stacked below 760px; jump beside groups from 760px; summary a right column from 1100px. */

/* The summary in words */

/* The person view */

/* The invite */

/* The preview frame */

/* ───────────── StaffRoster ───────────── */
/* In a narrow list (the phone, or SplitView's 360px list) the order controls sit under the row's words, at its end. */

/* The profile */
/* On the phone each section's action is a full-width 44px button at its foot. */

/* ───────────── ReassignVisits ───────────── */
/* A long name (“Archive the Queens van”) wraps inside a narrow sheet rather than past it. */
/* The action stays in view in a sticky footer. */
/* The route kinds (CU-344): a visit is one card. Keep or Move sits under its words, and at the card's end from 560px of the card's own width. */
/* Each option sized by its words, so “Keep as booked” reads whole at 320px; it wraps before it truncates. */
/* Several pets on a narrow card: their faces take their own row, so the names keep the width. */
/* From 1100px of its own width the households sit in a right column (400px) as they arrive. */
/* ───────── Staff pay ───────── */
/* PayPlanEditor (gk-payplan), TipRules (gk-tiprules), TipSplitChange (gk-tipsplit), TimeClock (gk-clock), ClockSettings (gk-clockset),
   TimecardReview (gk-tcard), and what they share (gk-staffpay-*). Each reads its own width. */

/* ───────────── shared ───────────── */
/* The window's Undo and Dismiss are 44px targets. */

/* ───────────── TipRules ───────────── */
/* Dollar amounts go three across from 360px; a percent keeps its − and +, so they need 520px. */

/* ───────────── ClockSettings ───────────── */
/* The radius's hint stays visible beside a hidden label. */

/* ───────────── PayPlanEditor ───────────── */

/* ───────────── TipSplitChange ───────────── */
/* The body of the app's SidePanel (480px) or BottomSheet. */

/* ───────────── TimeClock ───────────── */
/* Phone only: one column, never past 480px. */
/* The bar: one line for the top of a home screen. */

/* ───────────── TimecardReview ───────────── */
/* From 760px of its own width, the shifts on the left and the history on the right. */
/* A long label wraps on a narrow phone instead of running past the edge. */
/* ───────── Route ───────── */
/* RouteMap (gk-rmap, and gk-rmap-pin, the pin face the app's map may borrow), RouteChanges (gk-rchg), MileageLog (gk-miles),
   VanEditor (gk-vaned), ServiceAreaEditor (gk-sarea), AreaDays (gk-adays), and what they share (gk-rerr, gk-rwait, gk-rhist,
   gk-rvan, gk-rsheet, and gk-rmap-frame and gk-rmap-card, the map's frame and its chosen card). Each reads its own width. gk-route* is RouteStop's (groomer); never here. */

/* ───────────── shared ───────────── */
/* Every press target in the area is 44px (area rule 9); the foundation's small buttons are 36px. */

/* ───────────── AreaDays ───────────── */
/* The business's arrival-window length (CU-341): one row, saved at once, apart from the days. */
/* From 560px: the day's name beside its picker, and a date row's fields on one line (§6). */

/* ───────────── VanEditor ───────────── */

/* ───────────── the map frame, the chosen card and the pin face (RouteMap and ServiceAreaEditor; area rule 2) ───────────── */
/* The app's map fills the stage; the frame draws only what stays put. */
/* The pin face the app's map may use for its marker content: `<span class="gk-rmap-pin" data-state="upcoming" data-locked="true" data-selected="false">3</span>`.
   State reads in shape as well as color: upcoming is outlined, current is filled, done is dashed and quiet; the start and end are square;
   locked squares the corners and adds a bar under the number; selected grows a ring. The pin's spoken name comes from routeMapPins. */

/* ───────────── RouteMap ───────────── */
/* The leg between rows, as RouteStop's dashed leg (rule 3). */
/* From 960px of its own width: the list (360px, scrolling on its own) beside the map, no view switch (§6). */
/* Phone: the card's actions full width (§6). */

/* ───────────── ServiceAreaEditor ───────────── */
/* The drawing bar over the map's foot. */
/* The area's form, in a SidePanel or a BottomSheet. */
/* 44px targets, and on a phone “Draw on the map” wraps to two lines rather than cutting off. */
/* A long area name wraps inside the button rather than past the form. */
/* From 960px of its own width: the list (360px) beside the map (§6). The form's SidePanel opens over the list's side. */

/* ───────────── RouteChanges ───────────── */
/* Confirm keeps its own width from 600px; the lines and the result run the full width. */
/* Phone: the footer sticks to the viewport's foot, and the list scrolls under it; options stack full width (§6). */

/* ───────────── MileageLog ───────────── */
/* The open trip and the sheets. */
/* From 720px: the totals on one row of figures (§6). */
/* A phone: Add a trip and Export full width. */
/* ───────── Retention ───────── */
/* DueList (gk-due), WaitlistList (gk-wlist), WaitlistJoin (gk-wjoin), CadenceSuggestion (gk-cadsug), PromoCodeEditor (gk-pced),
   SegmentPicker (gk-segpick), EmailLayout (gk-email), RetentionSettings (gk-retset), MarketingEmails (gk-mktmail), and what they
   share (gk-ret-*, gk-reasons). Each reads its own width. */

/* ───────────── shared ───────────── */
/* The window's Undo and Dismiss are 44px targets (area rule 2). */

/* The reason picker and its Edit reasons (area rule 11) */

/* ───────────── CadenceSuggestion ───────────── */

/* ───────────── EmailLayout ───────────── */
/* The preview: a header in the app's theme, then the email on light paper (data-theme="light"), at most 600px. */
/* The email's own parts. Block elements and plain properties only: the pipeline inlines these rules with the light theme's
   values, and mail apps keep them (Request 2). */
/* Beside its photo, a long line wraps beside the photo, not under it: inline blocks, which mail apps keep. */

/* ───────────── DueList ───────────── */
/* Three fitted tabs with their counts fit a 320px phone. */
/* The email state is words in its Badge, so it may wrap (area rule 9: words, never color alone). */

/* ───────────── WaitlistList ───────────── */

/* ───────────── WaitlistJoin ───────────── */

/* ───────────── PromoCodeEditor ───────────── */

/* ───────────── SegmentPicker ───────────── */
/* The six choices: one column, then two from 640px of its own width. RadioGroup's columns={2} fits as many 220px columns as there's room for, so the area sets two itself. */
/* Where focus moves for reading (a note, a count, a heading), not onto a control: no ring, as safety's areas do. */
/* The table's wordy columns keep a readable measure; the table scrolls inside its own frame before they squeeze. */

/* ───────────── RetentionSettings ───────────── */
/* A switch's numbers, in the row's well: one column on a phone, two side by side from 400px of the well's width. */
/* Your own line: one line that grows as it wraps, never a box for paragraphs (rule 14). */
/* A switch keeps its 46px-tall target without reaching past its own width, so a row never spills at 320px. */

/* ───────────── MarketingEmails ───────────── */
/* Each row's lines stack under its subject at every width: the sent line, who it reached, the counts. */
/* Pro's row is the last item and takes the whole width, so its words and action never squeeze into one column. */
/* A draft's badge wraps under its meta on a phone (§6). */
/* ───────── Policies ───────── */
/* Five editors: gk-blimits (BookingLimits), gk-cancelpol (CancellationPolicy), gk-vaxrules (VaccineRules), gk-feerules (FeeRules),
   gk-pricechg (PriceChange), with a few shared pieces (gk-polact, gk-polnote, gk-polwarn, gk-polerr, gk-pollink, gk-polhist).
   Each root is its own container, so each reads its own width, not the window's. */
/* Focus never lands behind the sticky SaveBar: scrolling to a focused control leaves room for it. */
/* Small buttons in dense rows keep a 44px target without making the rows taller. */

/* ───────────── Shared ───────────── */

/* ───────────── BookingLimits ───────────── */
/* From 760px of its own width: the summary sits beside the sections and stays in view as they scroll. */

/* ───────────── CancellationPolicy ───────────── */
/* From 880px of its own width: the summary sits beside the sections and stays in view as they scroll (as BookingRules lays its sentence out). */
/* The three lists side by side from 1100px of the component's own width. */
/* Someone else published: under 760px of the component's width the Banner's two choices go under its words. */

/* ───────────── VaccineRules ───────────── */
/* Each vaccine's boxes flow in columns where there's room (from about 400px of the row), one under another on a phone. */

/* ───────────── FeeRules ───────────── */
/* With room, the actions sit at the row's end and the amount right-aligned before them. */

/* ───────────── PriceChange ───────────── */
/* Cells sit in two columns from 560px of the card's width. */
/* Under 560px of the card, cells sit in one column and each new low and top stack under the cell's name (the phone). */
/* Round 5b: CancellationPolicy's Day to day settings. */

/* A segmented choice in a narrow column wraps its words rather than cut them off (“By drop-off slot”, “% of the price”). */
/* ───────── Portal ───────── */
/* PortalFrame (gk-portal), ParentThread (gk-pthread), InvoicesDue (gk-invdue), HouseholdPeople (gk-hhp), ReportCardHistory (gk-rch),
   RescheduleFlow (gk-resched), OfferedTimes (gk-otimes), ReferralCard (gk-refer), and what they share (gk-portal-err, gk-portal-off). Each reads its own width. */

/* ───────────── shared ───────────── */

/* ───────────── PortalFrame ───────────── */
/* The top: the business (or the switcher), then Book a visit and the person menu or Sign in. */
/* The phone's way back inside a section: Home, and the sections sheet. */
/* From 768px of the frame's own width: the sections down the side, always shown. */
/* The section links: a side list, or rows on the phone's home and in its sheet. */
/* The home: the visits, then To do; side by side once the home has the room. */
/* The first-run screen. */

/* ───────────── ParentThread ───────────── */
/* The thread scrolls in its own region and opens at the newest; set --gk-pthread-height to fill a panel. */

/* ───────────── InvoicesDue ───────────── */
/* PayPanel's own card title names a single visit; here the list above is what it pays. */
/* On a phone, Pay and its total stay in view at the bottom while the pay part is on screen. */

/* ───────────── HouseholdPeople ───────────── */
/* The household's addresses (round 5b): a list as the people's, each row's actions as buttons on a computer and a Menu on a phone. */

/* ───────────── ReportCardHistory ───────────── */
/* A long download name wraps rather than run past a 320px screen. */

/* ───────────── RescheduleFlow ───────────── */
/* Steps in one panel at the flow's width; the calendar and the day's times sit side by side from 640px of its own width. */
/* On the narrowest phones the days shrink with the flow rather than run past its edge. */

/* ───────────── OfferedTimes ───────────── */
/* One column on a phone, Book stuck to the foot while a time is chosen; from 600px of its own width (is-wide, set from its width)
   the times sit on the left and the chosen time's summary, with Book, on the right, sticky. The footer spans both. */
/* On a phone Book sticks to the page's foot while a time is chosen. */

/* ReferralCard: the household's one link, the words for what it earns, then Share and Copy link (REQ-MKT-708 (2), (3)). */
/* From 600px of the card's width: its content box is 40px narrower. */
/* ───────── Books ───────── */
/* DisputeStatus (gk-dispute), TaxSetup (gk-taxset), TaxCertificate (gk-taxcert), ConnectFlow (gk-connect), AccountMapping (gk-acctmap),
   PaySetup (gk-paysetup), PayrollClose (gk-payroll), and what they share (gk-books-*). Each reads its own width. */

/* ───────────── shared ───────────── */
/* Focus lands on these lines after an action; they show the ring. */

/* ───────────── DisputeStatus ───────────── */
/* The row: one button for the whole line. */

/* ───────────── TaxSetup ───────────── */

/* ───────────── TaxCertificate ───────────── */

/* ───────────── ConnectFlow ───────────── */

/* ───────────── AccountMapping ───────────── */
/* DataTable's selectable cards: its sticky first column's left: 0 outranks the checkbox's right: 6px, so the box lands on the item's name. Put it back on the right (Request in docs/books.md). */

/* ───────────── PaySetup ───────────── */

/* ───────────── PayrollClose ───────────── */
/* ───────── Account ───────── */
/* Blocks: gk-audit, gk-loced, gk-help, gk-inchist, gk-sample, gk-export, gk-closebiz, gk-xfer, gk-delsign, and gk-acct- for the lines they share. */

/* ── Shared lines: the unreached error, the no-signal note, “As of” ── */

/* ── SampleMark ── */

/* ── IncidentHistory ── */

/* ── DeleteSignIn ── */

/* ── DataExport ── */
/* The jobs list is its own container, since CloseBusiness draws it too, inside its own card. */

/* ── CloseBusiness ── */

/* ── OwnerTransfer ── */

/* ── AuditLog ── */

/* ── HelpEntry ── */
/* A narrow panel: the message field takes the row, and Send goes under it. */

/* ── LocationEditor ── */
/* DetailList compact in its two-column grid keeps 8px on every item but the first, so the first row's labels don't line up. Remove it here until structure fixes it (Requests). */
/* The pick list picks; it doesn't go anywhere, so no chevron. The picked row shows its check. */
/* ───────── Site ───────── */
/* Blocks: gk-sitehome (with the embed), gk-sitefoot (the foot and the how-to-reach block, shared in the area), gk-sitecopy (a Copy
   button and what it said), gk-links, gk-sitepub, gk-clinic, gk-intreq, gk-intake, gk-handover, gk-siteqs, gk-listing. */

/* ───────────── Shared: the foot, the how-to-reach block, Copy ───────────── */

/* ───────────── BookingSiteHome ───────────── */
/* PortalFrame's link layout is a column that starts its main at the content's width (align-items: start), so a page whose root is
   a size container would collapse. Until the frame stretches its main (Request 5), a site page asks for the row itself. */
/* The picker: a strip that scrolls sideways inside itself; each chip has the place and a second line. */
/* The site's card wears ServiceCard's look; as a link it keeps the text color, and a plain one has no hover. */
/* Who grooms here: a sideways row of people on a phone, each a toggle. */
/* Where and when */
/* The embed's link to the whole site. */
/* From 900px of its own width: the services on the left two-thirds; Who grooms here and Where and when on the right, sticky. */
/* The embed: one column under 560px, two up to 880px, three past it. */
/* The narrowest phones (under 360px of the page's own width): the service's icon steps aside so its words keep their room. */

/* ───────────── LinkTools ───────────── */
/* The embed box scrolls sideways inside itself, never the page. */
/* The narrowest phones: the link's and QR code's buttons stack at full width, so none wraps its words alone. */
/* Desktop: the QR code beside its buttons, the builder's selects in one row. */
/* The builder's selects share a row once each has room for its longest choice: two from 400px of the builder's own width,
   three from 600px (the section's 720px leaves the builder about 480px beside its heading column). */

/* ───────────── SitePublish ───────────── */
/* The icon and words wrap together, beside each other; the badge is what moves to the next line. */

/* ───────────── Shared: the offline line, a phone number inside a sentence ───────────── */

/* ───────────── ClinicUpload ───────────── */
/* Phone: That's everything as a full-width button. */

/* ───────────── IntakeRequest ───────────── */
/* Close lines up with the title's first line; its wrapper (Tooltip's, or the button alone) keeps inside the head. */

/* ───────────── NewClientIntake ───────────── */
/* Phone: each step's buttons full width at its foot. */

/* ───────────── HandOver ───────────── */
/* The locked screen fills its container; the app keeps everything else off the screen (REQ-CLI-361 (7)). */

/* Long button words wrap inside a narrow column instead of spilling past it. */
/* PetForm's “Don't know it? Enter an age” wraps in a narrow step (see Requests). */

/* ───────────── SiteQuestions ───────────── */

/* ───────────── ListingSteps ───────────── */
/* On a narrow column the profile and the marks are full width, and a long label wraps rather than spill. */
/* ───────── Insights ───────── */
/* Blocks: gk-goal (GoalEditor), gk-rcat (ReportsCatalog), gk-figs (FigurePicker), gk-mpaper (MissingPaperwork). */

/* Shared bits each block repeats under its own name. */

/* ── GoalEditor ── */

/* ── ReportsCatalog ── */

/* ── FigurePicker ── */

/* ── MissingPaperwork ── */
/* DataTable's cards: its selection cell keeps the sticky first column's `left: 0`, which puts the checkbox over the visit.
   Scoped here until data.css takes the fix (a Request in build/docs/insights.md). */
/* ───────── Prepaid ───────── */
/* Packages and membership plans. Blocks: gk-pplan (PlanBuilder), gk-ppkg (PackageEditor), gk-ppdraft (the editors'
   shared draft pieces), gk-psale (PackageSale), gk-pterms (PlanTerms), gk-plists (PrepaidLists), gk-pass (PassBalance).
   Each root is its own container, so each reads its own width, not the window's. */
/* Focus never lands behind the sticky SaveBar or the sale's sticky total. */
/* Small buttons in dense rows keep a 44px target without making the rows taller. */

/* ───────────── The editors (PlanBuilder, PackageEditor) ───────────── */
/* Included services */
/* Discounts and perks */
/* Terms */
/* Archive */
/* PackageEditor's own pieces */
/* The draft's Reset and the read-only words */

/* ───────────── PackageSale ───────────── */
/* Offers: one column under 560px, two above */
/* The summary */
/* Sold */

/* ───────────── PlanTerms ───────────── */

/* ───────────── PrepaidLists ───────────── */
/* The first column never squeezes to a letter a line: the table scrolls inside its own frame instead. */

/* ───────────── PassBalance ───────────── */

/* Illustrations: line + offset-fill scenes; every color is a token. */
