/* Holiday Visit Manager - base styles.
   Visual language: "Lake house, people first" (see docs/DESIGN_DIRECTION.md and
   DESIGN.md's Visual Language section). A cool, calm palette drawn from a winter lake
   (slate water, pine, birch, a pale sky) with one humanist sans throughout. Colour on
   the calendar identifies people, not status; status is carried by form (fill vs. tint
   vs. badge), never by colour alone. 8px grid, soft rounding on things you tap, no
   shadows, no gradients. */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/static/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/static/fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/static/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/static/fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Base palette (docs/DESIGN_DIRECTION.md) - a winter lake: pale sky, slate water,
     pine, birch. Cool and calm, not corporate. */
  --sky: #EDF2F3;
  --surface: #FFFFFF;
  --ink: #1A2426;
  --muted: #51676B;
  --accent: #2C5560;
  --accent-strong: #1C3E46;
  --border: #6E8892;
  --hairline: #D7E1E3;

  /* Status: only "danger" is an independent colour. Approved/tentative are carried by
     the party's own hue (fill vs. tint), never a separate status colour. */
  --danger: #A83A32;
  --danger-bg: #F5E3E1;
  --accent-bg: #E2EAEC;

  /* Six harmonious, muted "party" hues - booking_id % 6 picks one; the same booking
     keeps the same hue in every room row and in the phone day list. Each has a solid
     form (approved) and a light tint (tentative); all six pass 4.5:1 with white text
     solid, and with --ink on their tint (see docs/DESIGN_DIRECTION.md contrast check). */
  --hue-0: #3E6472; /* slate water */
  --hue-0-tint: #E0E6E8;
  --hue-1: #3B6B4E; /* pine */
  --hue-1-tint: #E0E7E3;
  --hue-2: #8A6A2E; /* birch gold */
  --hue-2-tint: #ECE7DE;
  --hue-3: #6B4C6B; /* heather plum */
  --hue-3-tint: #E7E2E7;
  --hue-4: #71583F; /* driftwood */
  --hue-4-tint: #E8E4E0;
  --hue-5: #4E6B57; /* juniper */
  --hue-5-tint: #E3E7E4;

  /* Occupancy heat strip (borrowed from direction B's desktop calendar, re-tuned to
     C's slate-water hue): four buckets from very light to strong, all light enough to
     keep --ink text at >= 4.5:1. Over capacity uses --danger-bg instead, not a 5th
     heat step, so "over" always reads as its own distinct state, never "just full". */
  --heat-1: #E6EDEE;
  --heat-2: #C9DBDD;
  --heat-3: #A2C1C6;
  --heat-4: #78A3AB;

  /* Back-compat aliases used across the three stylesheets */
  --bg: var(--sky);
  --text: var(--ink);
  --accent-contrast: #FFFFFF;
  --warn: var(--danger);
  --warn-bg: var(--danger-bg);
  --conflict: var(--danger);
  --conflict-bg: var(--danger-bg);

  --font-sans: "Atkinson Hyperlegible Next", -apple-system, "Segoe UI", system-ui, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --radius: 10px;
  --radius-sm: 6px;
  --touch: 44px;
}

* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  background: var(--sky);
  color: var(--ink);
}

@media (max-width: 719px) {
  body {
    font-size: 17px;
  }
}

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-2);
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1rem;
}

p {
  margin: 0 0 var(--space-2);
  max-width: 65ch;
}

a {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.tabular-nums,
time,
.stat__value {
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- Layout */

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  border-top: 4px solid var(--accent);
}

.topbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: nowrap;
}

/* Matches .page--wide so the header lines up with the calendar's wide content
   instead of staying capped to the narrower default page width. */
.topbar__inner--wide {
  max-width: min(100%, 1600px);
}

.topbar__house {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-right: var(--space-1);
  flex-shrink: 0;
  white-space: nowrap;
}

.topbar__nav {
  display: flex;
  gap: var(--space-2);
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}

.topbar__nav::-webkit-scrollbar {
  display: none;
}

.topbar__nav a {
  text-decoration: none;
  color: var(--ink);
  padding: var(--space-1) 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-size: 0.95rem;
}

.topbar__nav a.is-active,
.topbar__nav a:hover {
  border-bottom-color: var(--accent);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}

.lang-switch a {
  text-decoration: none;
  padding: 4px;
  color: var(--ink);
}

.lang-switch a.is-active {
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.logout-form {
  margin: 0;
}

/* The old mobile <details> "Menu" is gone: phones use the fixed bottom tab bar
   (.tabbar, below) instead. The desktop top bar (with its full nav) now shows from
   the same breakpoint the tab bar disappears at, so there's exactly one nav model per
   viewport width, never a switch mid-way. */
@media (max-width: 719px) {
  .topbar__nav,
  .topbar__actions .logout-form {
    display: none;
  }
  .topbar__inner {
    padding: var(--space-1) var(--space-2);
  }
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-2) var(--space-4);
}

/* The calendar is the one screen that wants to show as many night columns as will
   fit; every other screen keeps the narrower, more readable default width. */
.page--wide {
  max-width: min(100%, 1600px);
}

@media (max-width: 719px) {
  .page {
    padding: var(--space-2) var(--space-2) calc(var(--space-4) + 64px);
  }
  /* Leave room for the fixed bottom tab bar so content is never hidden behind it. */
  .page--wide {
    padding-bottom: calc(var(--space-2) + 64px + env(safe-area-inset-bottom, 0px));
  }
  /* The booking form also pins a sticky "Save" bar above the tab bar - leave room for
     both (plus the safe-area inset, and a little extra breathing room) so the last
     field/hint is never hidden behind either. */
  .page--sticky-actions {
    padding-bottom: calc(var(--space-4) + 64px + 76px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------------------------------------------------------------- Bottom tab bar
   Phone-only navigation (docs/DESIGN_DIRECTION.md "Phone navigation"). CSS + template
   only, no JS: the "More" destination is a <details> sheet that opens upward, closed
   by default, no different from the old <details> menu mechanically - just fixed to
   the bottom and limited to a handful of icons instead of a full link list. */

.tabbar {
  display: none;
}

@media (max-width: 719px) {
  .tabbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    background: var(--surface);
    border-top: 1px solid var(--hairline);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .tabbar__row {
    display: flex;
    align-items: stretch;
  }

  .tabbar__item {
    flex: 1 1 0;
    /* Without this a flex item's default min-width:auto stops it shrinking below its
       label's intrinsic width, which is exactly what pushed the 4th/5th tab past the
       viewport edge at 360-390px; min-width:0 lets the ellipsis rule below do its job
       instead. */
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: var(--touch);
    padding: 6px 1px 4px;
    text-decoration: none;
    color: var(--muted);
    border-top: 3px solid transparent;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
  }

  .tabbar__item span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tabbar__item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .tabbar__item.is-active {
    color: var(--accent);
    border-top-color: var(--accent);
  }

  /* The "More" tab reuses <details>/<summary> exactly like the old mobile menu did -
     no JS - but opens as a sheet anchored above the bar instead of an inline dropdown,
     and only ever holds the manager's overflow destinations (4 items, never the whole
     nav), so it stays short enough to need no scrolling of its own. */
  .tabbar__more {
    position: relative;
  }

  .tabbar__more > summary {
    list-style: none;
    cursor: pointer;
  }

  .tabbar__more > summary::-webkit-details-marker {
    display: none;
  }

  .tabbar__more[open] > summary .tabbar__item {
    color: var(--accent);
    border-top-color: var(--accent);
  }

  .tabbar__sheet {
    position: absolute;
    bottom: 100%;
    right: 0;
    left: auto;
    margin-bottom: 1px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: none;
    min-width: 12rem;
    padding: var(--space-1) 0;
  }

  .tabbar__sheet a {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    min-height: var(--touch);
    padding: 0 var(--space-2);
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
  }

  .tabbar__sheet a:hover {
    background: var(--sky);
  }

  .tabbar__sheet form {
    margin: 0;
    border-top: 1px solid var(--hairline);
  }

  .tabbar__sheet-btn {
    appearance: none;
    background: none;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    min-height: var(--touch);
    padding: 0 var(--space-2);
    text-decoration: none;
    color: var(--danger);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
  }

  .tabbar__sheet-btn:hover {
    background: var(--sky);
  }
}

/* ---------------------------------------------------------------- Sticky phone actions
   The booking form's primary action, pinned above the tab bar on phones so "Save" is
   always reachable while scrolling a long form. The full action row (Save, plus
   Cancel/Delete) still renders inline under the form at every width; this bar just
   duplicates the primary button on phones via `form="..."` and hides the inline one
   there, so there is exactly one visible "Save" at a time. */
.sticky-actions {
  display: none;
}

@media (max-width: 719px) {
  .sticky-actions {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    z-index: 19;
    background: var(--surface);
    border-top: 1px solid var(--hairline);
    padding: var(--space-1) var(--space-2);
  }

  .sticky-actions .btn {
    width: 100%;
  }

  .booking-actions__save {
    display: none;
  }
}

@media (max-width: 719px) and (prefers-reduced-motion: no-preference) {
  .tabbar__item {
    transition: color 0.1s ease, border-color 0.1s ease;
  }
}

/* ---------------------------------------------------------------- Sections
   "Cards" carry no box: a bordered rectangle around every section is the generic
   SaaS-kit look this redesign avoids. `.card` is a plain spacing wrapper; a hairline
   appears only between two stacked sections, not around one. */

.card {
  margin-bottom: var(--space-4);
}

.card + .card,
.stats + .card {
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-3);
}

/* `.card--narrow` marks the one focused thing on a page (a login form, a saved
   notice, a confirmation). It used to be a bordered white box - the generic SaaS-card
   look this redesign otherwise avoids everywhere else - so it's now the same plain
   spacing wrapper as `.card`, just capped to a comfortable reading width. */
.card--narrow {
  max-width: 26rem;
}

/* `.form-page` is the wrapper for a full working form (settings, invite): a sensible
   reading width, left-aligned with the page title above it, no box. */
.form-page {
  max-width: 40rem;
}

/* `.booking-page` is the same idea but sized for the booking form's two-column layout
   (`.booking-layout` in calendar.css): the 40rem form column plus its ~20rem
   availability aside plus the gap between them, so the title/hint above lines up with
   the full width of that layout instead of clipping the aside's column down to fit a
   plain 40rem page. */
.booking-page {
  max-width: 62rem;
}

/* `.auth-page` (login, magic-link landing, invite landing): centred on the page but
   left-aligned within itself, with a small deliberate mark (the accent rule under the
   heading, echoing the topbar's own accent line) instead of a bordered panel. */
.auth-page {
  max-width: 26rem;
  margin: var(--space-4) auto 0;
}

.auth-page h1 {
  display: inline-block;
  padding-bottom: var(--space-1);
  border-bottom: 3px solid var(--accent);
}

.auth-page p {
  color: var(--muted);
}

.auth-page .btn--primary {
  min-width: 12rem;
}

.empty-state {
  padding: var(--space-4) 0 var(--space-2);
  max-width: 40ch;
}

.empty-state p {
  color: var(--muted);
}

/* ---------------------------------------------------------------- Forms
   One consistent boxed style for every field type (fixes the old mix of underlined
   inputs / boxed textarea / tiny native checkboxes called out in the brief). */

.field {
  margin-bottom: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 420px;
}

.field label {
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: var(--space-1) var(--space-2);
  min-height: var(--touch);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field textarea {
  min-height: calc(var(--touch) * 2);
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field--error input,
.field--error textarea,
.field--error select {
  border-color: var(--danger);
}

.field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--danger);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 700;
}

.field-error::before {
  content: "\26A0";
  flex-shrink: 0;
}

.field-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.field .required-mark {
  color: var(--danger);
  font-weight: 700;
}

/* Two fields sharing one row (e.g. arrival + departure, party size + label): side by
   side once there's room, stacked on a phone. Children keep their own `.field` sizing;
   `.field-row__grow` lets one child (the label text field) take the remaining space. */
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  max-width: 560px;
}

.field-row > .field {
  margin-bottom: var(--space-2);
  flex: 1 1 12rem;
}

.field-row > .field-row__grow {
  flex: 2 1 14rem;
}

/* A number field whose width should fit its content (party size), not stretch to the
   shared 420px field width. Only the input itself is narrow - the label ("Personenzahl
   *" in German) keeps room to lay out on one line instead of wrapping above a tiny box. */
.field--narrow {
  max-width: none;
}

.field-row > .field--narrow {
  flex: 0 1 9rem;
}

.field--narrow input {
  max-width: 7rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Quiet section headings inside a form ("When", "Who", "Where", "Notes"): a small,
   muted label plus a hairline - spacing and typography carry the grouping, never a
   box. Each group is a real <fieldset>/<legend> (screen readers announce the group
   name before its fields), so this also resets the browser's default fieldset
   border/padding/margin. The hairline lives on the *legend*, not the fieldset: a
   fieldset's own border is rendered with a gap notched out for its legend, which is
   not what a plain full-width divider rule needs. */
.form-group {
  border: none;
  min-width: 0;
  padding: 0;
  margin: var(--space-3) 0 0;
}

.form-group:first-of-type {
  margin-top: 0;
}

.form-group__title {
  /* A <legend>'s UA default includes a couple of pixels of inline padding (part of
     how it notches into a fieldset's border) - reset all four sides explicitly, not
     just padding-top, so the text lines up exactly with the labels/inputs below it
     instead of sitting ~2px off the shared left edge. */
  margin: 0 0 var(--space-2);
  padding: var(--space-2) 0 0;
  width: 100%;
  border-top: 1px solid var(--hairline);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

.form-group:first-of-type > .form-group__title {
  padding: 0;
  border-top: none;
}

/* Room selection is now a grid of tappable tiles (`.room-tiles`/`.room-tile`, in
   calendar.css next to the rest of the booking-form styles) instead of a checkbox
   list. */

/* ---------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0 var(--space-2);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  border-color: var(--ink);
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}

.btn--primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn--danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #FFFFFF;
}

.btn--danger:hover {
  background: #832E27;
  border-color: #832E27;
}

.btn--link {
  background: none;
  border: none;
  color: var(--accent);
  padding: 0;
  min-height: auto;
  text-decoration: underline;
  font-weight: 700;
}

/* ---------------------------------------------------------------- Tables */

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: var(--space-1) var(--space-2) var(--space-1) 0;
  border-bottom: 1px solid var(--hairline);
}

.table th {
  color: var(--muted);
  font-weight: 700;
  border-bottom: 2px solid var(--ink);
}

/* ---------------------------------------------------------------- Tags */

.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--ink);
}

.tag--tentative {
  color: var(--ink);
  border-color: var(--border);
  background: var(--sky);
  border-style: dashed;
}

.tag--approved {
  color: var(--accent-contrast);
  background: var(--accent);
  border-color: var(--accent);
}

.tag--deleted {
  color: var(--muted);
  text-decoration: line-through;
}

.tag--conflict {
  color: #FFFFFF;
  border-color: var(--danger);
  background: var(--danger);
}

.tag--conflict::before {
  content: "\26A0 ";
}

/* ---------------------------------------------------------------- Alerts */

.flashes {
  margin-bottom: var(--space-2);
}

.alert {
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-2);
  margin-bottom: var(--space-1);
  background: var(--surface);
}

.alert--info {
  background: var(--surface);
}

.alert--success {
  background: var(--accent-bg);
  border-left-color: var(--accent);
  color: var(--accent-strong);
}

.alert--warning {
  background: var(--hue-2-tint);
  border-left-color: var(--hue-2);
  color: #5C4720;
}

.alert--error {
  background: var(--danger-bg);
  border-left-color: var(--danger);
  color: var(--danger);
}

/* ---------------------------------------------------------------- Stat row
   A row of big numerals separated by hairlines, not four bordered boxes. */

.stats {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin: 0 0 var(--space-2);
}

.stat {
  display: flex;
  flex-direction: column;
  flex: 1 1 160px;
  padding: var(--space-2) var(--space-3) var(--space-2) 0;
  margin-left: var(--space-3);
  border-left: 1px solid var(--hairline);
  padding-left: var(--space-3);
}

.stat:first-child {
  border-left: none;
  margin-left: 0;
  padding-left: 0;
}

.stat__label {
  color: var(--muted);
  font-size: 0.9rem;
  order: 2;
  margin-top: 4px;
}

.stat__value {
  font-size: 2.25rem;
  font-weight: 700;
  order: 1;
}

@media (max-width: 640px) {
  .stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    margin-left: 0;
    padding-left: var(--space-2);
    border-left: 1px solid var(--hairline);
  }
  .stat:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
  .stat:nth-child(n+3) {
    border-top: 1px solid var(--hairline);
    padding-top: var(--space-2);
  }
}
