
:root {
  --navy-900: #0a1d33;
  --navy-800: #0f2a4a;
  --navy-700: #16395f;
  --navy-600: #1f4e80;
  --blue-500: #2563eb;
  --blue-100: #dbe7fe;
  --blue-50: #eef4ff;
  --amber-500: #f5b301;
  --amber-400: #ffc933;
  --amber-100: #fff3cc;
  --green-600: #15803d;
  --green-100: #dcfce7;
  --red-600: #c62828;
  --red-100: #fde4e4;
  --orange-600: #c2410c;
  --orange-100: #ffedd5;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #5f6774; 
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --text: var(--gray-900);
  --text-muted: var(--gray-500);
  --border: var(--gray-200);
  --bg: var(--white);
  --bg-muted: var(--gray-50);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgb(15 42 74 / 0.06);
  --shadow: 0 1px 3px rgb(15 42 74 / 0.08), 0 4px 12px rgb(15 42 74 / 0.06);
  --shadow-lg: 0 10px 30px rgb(15 42 74 / 0.12);
  --focus: 0 0 0 3px rgb(37 99 235 / 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.admin {
  background: var(--bg-muted);
}
h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--blue-500);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--navy-600);
}
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--gray-100);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}
img {
  max-width: 100%;
}
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--amber-500);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 1rem;
}
.muted { color: var(--text-muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.optional { font-weight: 400; color: var(--text-muted); font-size: 0.85em; }
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--wide { max-width: 1320px; }
.narrow { max-width: 820px; }
.tiny { max-width: 460px; }
.site-main {
  flex: 1;
  padding-bottom: 3rem;
}
.admin .site-main {
  padding-top: 1.5rem;
}
.section {
  padding: 3rem 0;
}
.section--muted {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.page-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.page-title .muted { font-weight: 400; }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); 
  gap: 2.5rem;
  align-items: start;
}
.two-col--admin {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1.5rem;
}
.site-header {
  background: var(--navy-800);
  color: var(--white);
  border-bottom: 4px solid var(--amber-500);
}
.site-header--admin {
  background: var(--navy-900);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}
.brand:hover { color: var(--white); }
.brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
}
.logo-mark { display: block; width: 100%; height: 100%; }
.brand:hover .logo-mark { transform: rotate(-6deg); }
.logo-mark { transition: transform 0.2s ease; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong { font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-accent { color: var(--amber-400); }
.brand-tld { color: rgb(255 255 255 / 0.6); font-weight: 600; }
.brand-text small { color: rgb(255 255 255 / 0.65); font-size: 0.75rem; }
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.nav-link {
  color: rgb(255 255 255 / 0.82);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-link:hover {
  color: var(--white);
  background: rgb(255 255 255 / 0.08);
}
.nav-link.is-active {
  color: var(--white);
  background: rgb(255 255 255 / 0.14);
}
.main-nav .btn { margin-left: 0.5rem; }
.public .site-header { --header-control: 2.25rem; }
.public .site-header .brand { margin-right: auto; }
.public .site-header .main-nav { order: 2; }
.header-actions { order: 3; display: flex; align-items: center; gap: 0.5rem; }
.header-actions .btn,
.public .site-header .main-nav .nav-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  height: var(--header-control);
  min-height: var(--header-control);
  max-height: var(--header-control);
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}
.nav-toggle {
  box-sizing: border-box;
  display: none;
  place-items: center;
  width: var(--header-control);
  min-width: var(--header-control);
  height: var(--header-control);
  min-height: var(--header-control);
  max-height: var(--header-control);
  margin: 0;
  line-height: 1;
  flex: none;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle:hover { background: rgb(255 255 255 / 0.08); }
.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.nav-toggle-input:focus-visible ~ .header-actions .nav-toggle { box-shadow: var(--focus); }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle-input:checked ~ .header-actions .nav-toggle-bars { background: transparent; }
.nav-toggle-input:checked ~ .header-actions .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle-input:checked ~ .header-actions .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .header-actions { order: 2; }
  .public .site-header { position: relative; }
  .public .site-header .main-nav {
    position: absolute;
    top: calc(100% + 4px); 
    left: 0;
    right: 0;
    z-index: 150;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.5rem 1.25rem 0.75rem;
    background: var(--navy-800);
    border-bottom: 4px solid var(--amber-500);
    box-shadow: 0 12px 24px rgb(10 29 51 / 0.35);
  }
  .public .site-header .main-nav .nav-link { height: 2.75rem; min-height: 2.75rem; max-height: none; padding: 0 0.8rem; font-size: 1rem; }
  .nav-toggle { display: grid; }
  .public .site-header .main-nav { display: none; }
  .public .nav-toggle-input:checked ~ .main-nav { display: flex; }
}
@media (max-width: 420px) {
  .public .site-header .header-inner { gap: 0.5rem; }
  .public .site-header .brand { gap: 0.6rem; }
  .public .site-header .brand-text small { display: none; }
  .public .site-header .brand-mark { width: 40px; height: 40px; }
  .header-actions { gap: 0.4rem; }
  .header-actions .btn { padding-left: 0.7rem; padding-right: 0.7rem; }
  .public .site-header { --header-control: 2.125rem; }
}
@media (max-width: 360px) {
  .public .site-header .brand-text strong { font-size: 1rem; }
  .public .site-header .brand-mark { width: 36px; height: 36px; }
  .header-actions .btn { font-size: 0.8rem; }
}
@media (max-width: 340px) {
  .public .site-header .brand-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
.site-footer {
  background: var(--navy-900);
  color: rgb(255 255 255 / 0.75);
  font-size: 0.92rem;
  padding-top: 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-title {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}
.site-footer a { color: rgb(255 255 255 / 0.85); }
.site-footer a:hover { color: var(--amber-400); }
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 0.35rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.5);
}
.site-footer .hours-row dt,
.site-footer .hours-row dd { color: rgb(255 255 255 / 0.75); }
.site-footer .hours-row { border-color: rgb(255 255 255 / 0.08); }
.site-footer .hours-row.is-today dt,
.site-footer .hours-row.is-today dd { color: var(--amber-400); }
.admin-footer {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.btn {
  --btn-bg: var(--gray-100);
  --btn-fg: var(--gray-900);
  --btn-border: transparent;
  --btn-hover: var(--gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}
.btn:hover {
  background: var(--btn-hover);
  color: var(--btn-fg);
}
.btn:active { transform: translateY(1px); }
.btn--primary { --btn-bg: var(--navy-700); --btn-fg: var(--white); --btn-hover: var(--navy-800); }
.btn--accent { --btn-bg: var(--amber-500); --btn-fg: var(--navy-900); --btn-hover: var(--amber-400); box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.12); }
.btn--ghost { --btn-bg: var(--white); --btn-fg: var(--navy-700); --btn-border: var(--gray-300); --btn-hover: var(--gray-100); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgb(255 255 255 / 0.45); --btn-hover: rgb(255 255 255 / 0.1); }
.btn--success { --btn-bg: var(--green-600); --btn-fg: var(--white); --btn-hover: #116632; }
.btn--warning { --btn-bg: var(--orange-600); --btn-fg: var(--white); --btn-hover: #9a3412; }
.btn--danger { --btn-bg: var(--red-600); --btn-fg: var(--white); --btn-hover: #a11f1f; }
.btn--danger-ghost { --btn-bg: var(--white); --btn-fg: var(--red-600); --btn-border: #f3b4b4; --btn-hover: var(--red-100); }
.btn--muted { --btn-bg: var(--gray-200); --btn-fg: var(--gray-700); --btn-hover: var(--gray-300); }
.site-header .btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgb(255 255 255 / 0.35); --btn-hover: rgb(255 255 255 / 0.1); }
.btn.is-active { --btn-bg: var(--navy-700); --btn-fg: var(--white); --btn-border: var(--navy-700); }
.btn--lg { padding: 0.9rem 1.6rem; font-size: 1.05rem; border-radius: var(--radius); }
.btn--sm { padding: 0.45rem 0.85rem; font-size: 0.875rem; }
.btn--xs { padding: 0.3rem 0.6rem; font-size: 0.8rem; }
.btn--block { width: 100%; }
.inline-form { display: inline-flex; margin: 0; }
.link-arrow {
  font-weight: 600;
  text-decoration: none;
}
.alert {
  margin: 1.25rem 0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid;
  border-left-width: 5px;
  font-size: 0.95rem;
}
.alert ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.alert--success { background: var(--green-100); border-color: #86efac; border-left-color: var(--green-600); color: #14532d; }
.alert--error { background: var(--red-100); border-color: #fca5a5; border-left-color: var(--red-600); color: #7f1d1d; }
.alert--warning { background: var(--amber-100); border-color: #fcd34d; border-left-color: var(--amber-500); color: #78350f; }
.alert--info { background: var(--blue-50); border-color: var(--blue-100); border-left-color: var(--blue-500); color: var(--navy-800); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}
.card-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}
.badge--scheduled { background: var(--blue-100); color: var(--navy-700); border-color: #bfd3fb; }
.badge--passed { background: var(--green-100); color: var(--green-600); border-color: #a7e8bd; }
.badge--failed { background: var(--orange-100); color: var(--orange-600); border-color: #fdc896; }
.badge--no-show { background: var(--gray-200); color: var(--gray-700); }
.badge--cancelled { background: var(--gray-100); color: var(--gray-500); text-decoration: line-through; }
.plate {
  display: inline-flex;
  align-items: stretch;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--gray-900);
  background: var(--white);
  border: 2px solid var(--gray-900);
  border-radius: 5px;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: middle;
}
.plate::before {
  content: "RO";
  display: grid;
  place-items: center;
  padding: 0 0.3rem;
  font-size: 0.55rem;
  letter-spacing: 0;
  color: var(--white);
  background: #003399;
}
.plate { padding-right: 0.45rem; gap: 0.4rem; line-height: 1.6; }
.table-wrap {
  position: relative; 
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.table th,
.table td {
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}
.table th {
  background: var(--gray-50);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  font-weight: 700;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table--hover tbody tr:hover { background: var(--blue-50); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions > * + * { margin-left: 0.35rem; }
.row--inactive td { color: var(--gray-500); }
.form-card {
  padding: 1.75rem;
}
.fieldset {
  border: 0;
  margin: 0 0 1.75rem;
  padding: 0;
  min-width: 0;
}
.fieldset legend {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  padding: 0;
  color: var(--navy-800);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.field--inline {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.input {
  width: 100%;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:hover { border-color: var(--gray-400); }
.input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: var(--focus);
}
.field--inline .input { width: auto; min-width: 200px; }
textarea.input { resize: vertical; min-height: 80px; }
select.input {
  appearance: none;
  padding-right: 2.25rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gray-600) 50%),
    linear-gradient(135deg, var(--gray-600) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.input--sm { padding: 0.4rem 0.6rem; font-size: 0.875rem; width: auto; }
.input--plate,
.input--code {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.input--plate {
  border: 2px solid var(--gray-900);
  border-left: 28px solid #003399;
}
.input--plate::placeholder,
.input--code::placeholder { font-weight: 400; letter-spacing: 0.04em; color: var(--gray-400); }
.field--invalid .input { border-color: var(--red-600); background: #fffafa; }
.field--invalid .input--plate { border-left-color: #003399; }
.field-error {
  margin: 0.15rem 0 0;
  color: var(--red-600);
  font-size: 0.85rem;
  font-weight: 500;
}
.fieldset > .field-error { margin-bottom: 0.75rem; }
.hint {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400 !important;
  cursor: pointer;
}
.checkbox input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--navy-700);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: 1 / -1; }
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.form-actions:only-child,
.form-actions > .btn:only-child { margin-left: auto; }
.form-card--admin { max-width: 980px; }
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice-input,
.slot-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.choice-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  height: 100%;
  padding: 1rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.choice:hover .choice-body { border-color: var(--gray-400); }
.choice-title { font-weight: 700; color: var(--navy-800); }
.choice-meta { font-size: 0.85rem; color: var(--text-muted); }
.choice-price { margin-top: auto; padding-top: 0.4rem; font-weight: 800; font-size: 1.15rem; color: var(--navy-700); }
.choice-input:checked + .choice-body {
  border-color: var(--navy-700);
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1px var(--navy-700);
}
.choice-input:checked + .choice-body .choice-title::before {
  content: "✓ ";
  color: var(--green-600);
}
.choice-input:focus-visible + .choice-body,
.slot-input:focus-visible + .slot-body {
  box-shadow: var(--focus);
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.5rem;
}
.slot { position: relative; display: block; cursor: pointer; }
.slot-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0.4rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.slot:hover .slot-body { border-color: var(--navy-600); }
.slot-time {
  font-weight: 800;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  color: var(--navy-800);
}
.slot-meta { font-size: 0.72rem; color: var(--green-600); font-weight: 600; }
.slot-input:checked + .slot-body {
  background: var(--navy-700);
  border-color: var(--navy-700);
}
.slot-input:checked + .slot-body .slot-time,
.slot-input:checked + .slot-body .slot-meta { color: var(--white); }
.slot--disabled { cursor: not-allowed; }
.slot--disabled .slot-body { background: var(--gray-100); border-style: dashed; }
.slot--disabled:hover .slot-body { border-color: var(--border); }
.slot--disabled .slot-time { color: var(--gray-500); text-decoration: line-through; }
.slot--disabled .slot-meta { color: var(--gray-500); }
.progress {
  display: flex;
  list-style: none;
  margin: 1rem 0 2rem;
  padding: 0;
  counter-reset: step;
}
.progress-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.progress-step + .progress-step::before {
  content: "";
  position: absolute;
  top: 17px;
  right: 50%;
  left: -50%;
  height: 3px;
  background: var(--gray-200);
  z-index: 0;
}
.progress-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gray-200);
  font-weight: 800;
  color: var(--gray-500);
}
.progress-step--current { color: var(--navy-800); font-weight: 700; }
.progress-step--current .progress-dot { border-color: var(--navy-700); background: var(--navy-700); color: var(--white); }
.progress-step--done .progress-dot { border-color: var(--green-600); background: var(--green-600); color: var(--white); }
.progress-step--done + .progress-step::before,
.progress-step--current + .progress-step::before { background: var(--gray-200); }
.progress-step--done + .progress-step--done::before,
.progress-step--done + .progress-step--current::before { background: var(--green-600); }
.summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
}
.summary-bar > div { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.day-strip {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.day-arrow {
  display: grid;
  place-items: center;
  min-width: 36px;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--navy-700);
  border-radius: var(--radius);
}
.day-arrow:hover { background: var(--gray-100); }
.day-arrow.is-disabled { color: var(--gray-300); pointer-events: none; }
.day-arrow.is-disabled:hover { background: none; }
.day-chip {
  flex: 1;
  min-width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.55rem 0.3rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  color: var(--text);
  line-height: 1.2;
  transition: border-color 0.15s ease;
}
.day-chip:hover { border-color: var(--navy-600); color: var(--text); }
.day-chip-name { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: var(--text-muted); }
.day-chip-num { font-size: 1.4rem; font-weight: 800; color: var(--navy-800); }
.day-chip-month { font-size: 0.75rem; color: var(--text-muted); }
.day-chip-free { margin-top: 0.25rem; font-size: 0.68rem; font-weight: 700; color: var(--green-600); }
.day-chip.is-selected { border-color: var(--navy-700); background: var(--navy-700); }
.day-chip.is-selected span { color: var(--white); }
.day-chip.is-closed { background: var(--gray-100); border-style: dashed; }
.day-chip.is-closed .day-chip-num { color: var(--gray-500); }
.day-chip.is-closed .day-chip-free { color: var(--gray-500); }
.day-chip.is-full .day-chip-free { color: var(--red-600); }
.day-chip.is-selected .day-chip-free { color: var(--white); } 
.empty-state {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--white);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  color: var(--gray-600);
}
.empty-state h2 { font-size: 1.2rem; color: var(--navy-800); }
.empty-state p:last-child { margin-bottom: 0; }
.details { margin: 0; }
.details > div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}
.details > div:last-child { border-bottom: 0; }
.details dt { font-weight: 600; color: var(--text-muted); font-size: 0.9rem; }
.details dd { margin: 0; }
.details dd p:last-child { margin-bottom: 0; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 0.3rem 0; }
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgb(245 179 1 / 0.18), transparent 40%),
    linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40px;
  background: repeating-linear-gradient(-45deg, var(--amber-500) 0 18px, var(--navy-900) 18px 36px);
  opacity: 0.9;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 2rem;
  padding-top: 4rem;
  padding-bottom: 5.5rem;
}
.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-400);
}
.eyebrow--dark { color: var(--navy-600); margin-bottom: 0.25rem; }
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.lead {
  font-size: 1.15rem;
  color: rgb(255 255 255 / 0.85);
  max-width: 560px;
}
.lead-dark {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.hero-card {
  display: grid;
  place-items: center;
}
.sticker {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background:
    radial-gradient(circle, var(--amber-400) 0 58%, var(--amber-500) 58% 62%, var(--amber-400) 62% 100%);
  color: var(--navy-900);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.35), inset 0 0 0 8px rgb(255 255 255 / 0.35);
  transform: rotate(-8deg);
}
.sticker-label { font-size: 3.2rem; font-weight: 900; letter-spacing: 0.06em; line-height: 1; }
.sticker-status {
  padding: 0.15rem 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--white);
  background: var(--green-600);
  border-radius: 4px;
}
.sticker-date { font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.step-card h3 { font-size: 1.1rem; color: var(--navy-800); }
.step-card p { color: var(--gray-600); margin: 0; }
.two-col--equal { align-items: stretch; }
.two-col--equal .step-card { display: flex; flex-direction: column; }
.two-col--equal .step-number { align-self: flex-start; }
.step-card .step-card-action { margin-top: auto; padding-top: 0.9rem; }
.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.9rem;
  border-radius: 10px;
  background: var(--amber-100);
  color: var(--navy-800);
  font-weight: 900;
  font-size: 1.1rem;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.service-item > div { display: flex; flex-direction: column; }
.service-item .muted { font-size: 0.85rem; }
.price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-700);
  white-space: nowrap;
}
.hours { margin: 0; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row dt { color: var(--gray-600); }
.hours-row dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours-row.is-today dt,
.hours-row.is-today dd { color: var(--navy-700); font-weight: 800; }
.notice-box {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: var(--amber-100);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.notice-box ul { margin: 0.3rem 0 0; padding-left: 1.1rem; }
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}
.doc-card p { margin: 0; font-weight: 600; color: var(--navy-800); }
.doc-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--navy-700);
  color: var(--amber-400);
  font-size: 1.2rem;
}
.ticket {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: var(--navy-800);
  color: var(--white);
}
.ticket-header .badge { border-color: rgb(255 255 255 / 0.3); }
.ticket-code {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.ticket-when {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.25rem 1.75rem;
  background: var(--amber-100);
  border-bottom: 2px dashed var(--amber-500);
}
.ticket-day { font-size: 1.15rem; font-weight: 700; color: var(--navy-800); }
.ticket-time { font-size: 1.6rem; font-weight: 900; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.ticket .details { padding: 0.5rem 1.75rem; }
.ticket-footer {
  padding: 1.1rem 1.75rem;
  background: var(--gray-50);
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--gray-700);
}
.ticket-footer p:last-child { margin-bottom: 0; }
.ticket--cancelled .ticket-header { background: var(--gray-600); }
.ticket--cancelled .ticket-when { background: var(--gray-100); border-bottom-color: var(--gray-300); }
.ticket--cancelled .ticket-time { text-decoration: line-through; color: var(--gray-500); }
.ticket--passed .ticket-header { background: var(--green-600); }
.ticket--failed .ticket-header { background: var(--orange-600); }
.danger-zone {
  margin-bottom: 2rem;
  border: 1px solid #f3b4b4;
  border-radius: var(--radius);
  background: #fffafa;
}
.danger-zone summary {
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  color: var(--red-600);
  cursor: pointer;
  list-style: none;
}
.danger-zone summary::-webkit-details-marker { display: none; }
.danger-zone summary::before { content: "▸ "; display: inline-block; transition: transform 0.15s ease; }
.danger-zone[open] summary::before { transform: rotate(90deg); }
.danger-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 0 1.1rem 1.1rem;
}
.lookup-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.lookup-booking {
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy-700);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.lookup-booking--passed { border-left-color: var(--green-600); }
.lookup-booking--failed { border-left-color: var(--orange-600); }
.lookup-booking--cancelled,
.lookup-booking--no-show { border-left-color: var(--gray-300); }
.lookup-booking-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.lookup-booking-head p { margin: 0; }
.lookup-booking-when { font-size: 1.05rem; color: var(--navy-800); }
.lookup-booking-when strong { font-variant-numeric: tabular-nums; }
.lookup-booking--cancelled .lookup-booking-when { color: var(--gray-500); text-decoration: line-through; }
.lookup-booking .details { margin: 0.5rem 0; }
.lookup-booking-link { margin: 0; }
.lookup-booking .danger-zone,
.lookup-booking .alert { margin: 0.9rem 0 0; }
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.page-head .page-title { margin-bottom: 0; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.page-head .page-title .plate { font-size: 1rem; }
.page-head-actions { display: flex; gap: 0.5rem; }
.date-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.date-jump { gap: 0.4rem; margin-left: 0.4rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gray-300);
  border-radius: var(--radius);
}
.stat-value { font-size: 1.8rem; font-weight: 800; line-height: 1.1; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); }
.stat--info { border-top-color: var(--blue-500); }
.stat--success { border-top-color: var(--green-600); }
.stat--warning { border-top-color: var(--orange-600); }
.agenda {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.agenda-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  border-bottom: 1px solid var(--border);
}
.agenda-row:last-child { border-bottom: 0; }
.agenda-time {
  padding: 0.9rem 1rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-800);
  background: var(--gray-50);
  border-right: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}
.agenda-row--past .agenda-time { color: var(--gray-500); }
.agenda-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.6rem;
}
.agenda-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-500);
  background: var(--white);
}
.agenda-item--passed { border-left-color: var(--green-600); background: #f7fdf9; }
.agenda-item--failed { border-left-color: var(--orange-600); background: #fffaf5; }
.agenda-item--no-show { border-left-color: var(--gray-400); background: var(--gray-50); }
.agenda-item--cancelled { border-left-color: var(--gray-300); background: var(--gray-50); }
.agenda-item--cancelled .agenda-item-link { color: var(--gray-500); }
.agenda-item--cancelled .agenda-item-link strong { text-decoration: line-through; }
.agenda-item-main { display: flex; flex-direction: column; gap: 0.15rem; }
.agenda-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: var(--text);
  text-decoration: none;
}
.agenda-item-link:hover strong { text-decoration: underline; }
.agenda-item-side { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.agenda-free {
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  color: var(--gray-500);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-sm);
}
.status-actions { display: flex; gap: 0.35rem; flex-wrap: wrap; }
aside .status-actions .btn { flex: 1; }
.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.filters .field { margin-bottom: 0; }
.filters-actions { display: flex; gap: 0.5rem; }
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.pagination-info { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .field:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-card { display: none; }
  .two-col,
  .two-col--admin { grid-template-columns: minmax(0, 1fr); }
  .steps,
  .doc-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid--3 .span-3 { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-header--admin .header-inner { justify-content: center; }
  .site-header--admin .main-nav { justify-content: center; }
  .main-nav .btn { margin-left: 0; }
  .section { padding: 2rem 0; }
  .page-title { font-size: 1.6rem; }
  .form-card { padding: 1.25rem; }
  .form-grid,
  .form-grid--3 { grid-template-columns: 1fr; }
  .span-2,
  .span-3 { grid-column: auto; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .form-actions .btn { width: 100%; }
  .progress-label { font-size: 0.72rem; }
  .details > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .ticket-code { font-size: 1.5rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr; }
  .agenda-row { grid-template-columns: 1fr; }
  .agenda-time { border-right: 0; border-bottom: 1px solid var(--border); padding: 0.5rem 1rem; }
  .field--inline .input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@media print {
  .site-header, .site-footer, .danger-zone, .progress, .btn { display: none !important; }
  .ticket { box-shadow: none; border: 2px solid #000; }
}
.hint--top { margin: -0.4rem 0 0.8rem; }
.agenda-free {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.agenda-free--full {
  color: var(--red-600);
  border-color: #f3b4b4;
  background: #fffafa;
}
.agenda-add {
  margin-left: auto;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--blue-500);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.agenda-add:hover,
.agenda-add:focus-visible { background: var(--blue-50); text-decoration: underline; }
.stand-meter {
  display: inline-flex;
  gap: 3px;
}
.stand-meter span {
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: var(--green-100);
  border: 1px solid #a7e8bd;
}
.stand-meter span.is-busy {
  background: var(--navy-600);
  border-color: var(--navy-600);
}
.stand-tag {
  display: inline-block;
  padding: 0 0.4rem;
  border-radius: 4px;
  background: var(--navy-700);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
}
.card-title--spaced { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.hero-inner--search { grid-template-columns: 1fr 1fr; align-items: center; }
.hero-search { color: var(--text); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.search-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  align-items: end;
}
.search-form .field { margin-bottom: 0; }
.search-form--hero,
.hero-search .search-form { grid-template-columns: 1fr 1fr; }
.hero-search .search-form .field:last-of-type { grid-column: span 2; }
.hero-search .search-form-action { grid-column: 1 / -1; }
.hero-search .search-form-action .btn { width: 100%; padding: 0.85rem; font-size: 1rem; }
.search-card { margin-bottom: 1.5rem; padding: 1.1rem 1.25rem; }
body:has(.search-form.is-loading) :is(.results, .results-head, .empty-state, .unavailable-list) {
  opacity: 0.45;
  transition: opacity 0.15s;
}
.results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.results-head h2 { margin: 0; font-size: 1.3rem; color: var(--navy-800); }
.results { display: flex; flex-direction: column; gap: 0.75rem; }
.result-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy-700);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.result-info h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.result-info h3 a { color: var(--navy-800); text-decoration: none; }
.result-info h3 a:hover { text-decoration: underline; }
.result-info p { margin: 0 0 0.35rem; }
.result-service { display: flex; flex-direction: column; gap: 0.15rem; margin: 0 0 0.35rem; }
.result-service-meta { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.result-times { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.time-chip {
  display: inline-block;
  min-width: 64px;
  padding: 0.45rem 0.6rem;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--navy-800);
  background: var(--white);
  border: 2px solid var(--blue-100);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.time-chip:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.time-more { font-size: 0.85rem; font-weight: 600; text-decoration: none; margin-left: 0.25rem; }
.subsection-title { margin: 2rem 0 0.75rem; font-size: 1rem; color: var(--gray-600); }
.unavailable-list { list-style: none; margin: 0; padding: 0; }
.unavailable-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--gray-600);
}
.price--sm { font-size: 1rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.section-title .muted { font-weight: 400; }
.section-title--spaced { margin-top: 2rem; }
.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.station-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.station-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; }
.station-card-head h2,
.station-card-head h3 { font-size: 1.15rem; margin: 0 0 0.25rem; }
.station-card-head a { color: var(--navy-800); text-decoration: none; }
.station-card-head a:hover { text-decoration: underline; }
.station-card-stats {
  list-style: none;
  margin: 0.25rem 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
  color: var(--gray-600);
}
.station-card-actions { margin-top: auto; display: flex; gap: 0.5rem; }
.city-tag {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-700);
  background: var(--amber-100);
  border-radius: 999px;
  white-space: nowrap;
  vertical-align: middle;
}
.owner-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
}
.owner-cta p:last-child { margin-bottom: 0; max-width: 620px; }
.filters--public { grid-template-columns: 2fr 1fr auto; }
.station-hero {
  padding: 2.5rem 0 2rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  border-bottom: 4px solid var(--amber-500);
}
.station-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.4rem; }
.station-hero .lead { margin-bottom: 0.75rem; }
.station-hero .alert { color: var(--text); }
.station-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  color: rgb(255 255 255 / 0.8);
  font-size: 0.95rem;
}
.hero-note { color: rgb(255 255 255 / 0.85); font-size: 0.92rem; align-self: center; }
.service-item-side { display: flex; align-items: center; gap: 0.75rem; }
.doc-list { margin: 0; padding-left: 1.2rem; color: var(--gray-700); }
.doc-list li { margin-bottom: 0.35rem; }
.booking-station { margin-bottom: 0.5rem; }
.booking-station .page-title { margin-bottom: 0.2rem; }
.booking-station p.muted { margin-bottom: 0; }
.station-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.station-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.station-bar-title { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.station-bar-title strong { font-size: 1.1rem; color: var(--navy-800); }
.station-tabs { display: flex; flex-wrap: wrap; gap: 0.15rem; }
.station-tabs .nav-link { color: var(--gray-700); }
.station-tabs .nav-link:hover { color: var(--navy-800); background: var(--gray-100); }
.station-tabs .nav-link.is-active { color: var(--white); background: var(--navy-700); }
.checklist { margin-bottom: 1.5rem; border-left: 5px solid var(--amber-500); }
.checklist-steps { list-style: none; margin: 0; padding: 0; }
.checklist-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}
.checklist-steps li:last-child { border-bottom: 0; }
.checklist-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  background: var(--gray-200);
  color: var(--gray-600);
}
.checklist-steps li.is-done .checklist-mark { background: var(--green-600); color: var(--white); }
.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0 1rem;
}
.input--mono { font-family: var(--font-mono); font-size: 0.92rem; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span {
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  white-space: nowrap;
}
.input-prefix .input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.form-card--narrow { max-width: 560px; }
.fieldset--boxed {
  padding: 1rem 1.1rem 0.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.fieldset--boxed legend { padding: 0 0.4rem; font-size: 1rem; }
@media (max-width: 860px) {
  .hero-inner--search { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-form-action { grid-column: 1 / -1; }
  .result-card { grid-template-columns: 1fr; }
  .owner-cta { flex-direction: column; align-items: flex-start; }
  .filters--public { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .search-form,
  .hero-search .search-form { grid-template-columns: 1fr; }
  .hero-search .search-form .field:last-of-type { grid-column: auto; }
  .input-prefix { flex-direction: column; }
  .input-prefix span { border-right: 1px solid var(--gray-300); border-bottom: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0; padding: 0.4rem 0.7rem; }
  .input-prefix .input { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
}
.station-map {
  position: relative;
  height: 460px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, var(--blue-100), transparent 55%),
    var(--blue-50);
  box-shadow: var(--shadow-sm);
}
.station-map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  color: var(--gray-600);
}
.station-map-fallback p { margin: 0; }
.map-marker {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.map-marker-pin {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--navy-700);
  box-shadow: 0 3px 8px rgb(0 0 0 / 0.35);
  transition: background-color 0.15s ease;
}
.map-marker:hover .map-marker-pin,
.map-marker:focus-visible .map-marker-pin { background: var(--amber-500); }
.map-marker:hover .map-marker-label,
.map-marker:focus-visible .map-marker-label { color: var(--navy-900); }
.map-marker:focus-visible { box-shadow: none; outline: none; }
.map-marker:focus-visible .map-marker-pin { box-shadow: var(--focus); }
.map-marker-label {
  transform: rotate(45deg);
  font: 900 0.62rem/1 var(--font);
  letter-spacing: 0.04em;
  color: var(--amber-400);
}
.maplibregl-popup-content {
  padding: 0.9rem 1rem !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  font-family: var(--font);
}
.map-popup { display: flex; flex-direction: column; gap: 0.2rem; }
.map-popup-title { font-size: 1rem; color: var(--navy-800); padding-right: 1rem; }
.map-popup-meta { font-size: 0.82rem; color: var(--gray-600); }
.map-popup-price { font-size: 0.85rem; font-weight: 700; color: var(--navy-700); }
.map-popup-actions { display: flex; gap: 0.4rem; margin-top: 0.5rem; }
.map-popup-actions .btn--primary { color: var(--white); }
@media (max-width: 640px) {
  .station-map { height: 360px; }
}
.input-with-action { display: flex; gap: 0.5rem; align-items: stretch; }
.input-with-action .input { flex: 1; min-width: 0; }
.input-with-action .btn { white-space: nowrap; }
.input-with-action .btn[hidden] { display: none; }
.location-picker {
  width: min(920px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--text);
}
.location-picker[open] { display: flex; flex-direction: column; }
.location-picker::backdrop { background: rgb(10 29 51 / 0.55); }
.location-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem 0.25rem;
}
.location-picker-head h2 { margin: 0; font-size: 1.15rem; color: var(--navy-800); }
.location-picker-close {
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
}
.location-picker-close:hover { color: var(--navy-800); background: var(--gray-100); }
.location-picker-help { margin: 0; padding: 0 1.25rem 0.75rem; font-size: 0.9rem; color: var(--gray-600); }
.location-picker-map {
  height: min(560px, calc(100vh - 14rem));
  min-height: 280px;
  background: var(--blue-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.location-picker-map .maplibregl-canvas { cursor: crosshair; }
.map-marker--picker { cursor: grab; }
.map-marker--picker:active { cursor: grabbing; }
.location-picker-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-muted);
}
.location-picker-search { display: flex; gap: 0.5rem; padding: 0 1.25rem 0.75rem; }
.location-picker-search .input { flex: 1; min-width: 0; }
.input[readonly] { background: var(--gray-100); color: var(--gray-700); cursor: not-allowed; }
.input[readonly]:focus { box-shadow: none; }
.location-status { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--gray-600); }
.location-status--success { color: var(--green-600); }
.location-status--warning { color: var(--navy-800); font-weight: 600; }
.location-status--error { color: var(--red-600); font-weight: 600; }
.location-picker-coords { font-family: var(--font-mono); font-size: 0.9rem; color: var(--gray-700); }
.location-picker-actions { display: flex; gap: 0.5rem; }
@media (max-width: 640px) {
  .input-with-action { flex-direction: column; }
  .location-picker-actions { width: 100%; }
  .location-picker-actions .btn { flex: 1; }
}
.hero-link { color: var(--amber-400); }
.hero-link:hover { color: var(--white); }
.view-toggle {
  display: inline-flex;
  padding: 3px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.view-toggle-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.2;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.view-toggle-item:hover { color: var(--navy-800); background: var(--white); }
.view-toggle-item.is-active { color: var(--white); background: var(--navy-700); box-shadow: var(--shadow-sm); }
.station-map--tall { height: 600px; }
.map-count { margin: 0.6rem 0 0; }
@media (max-width: 640px) {
  .station-map--tall { height: 440px; }
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--gray-500);
}
.breadcrumbs li + li::before { content: "›"; margin-right: 0.25rem; color: var(--gray-400); }
.breadcrumbs a { color: var(--gray-600); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy-700); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--gray-700); font-weight: 600; }
.breadcrumbs--light,
.breadcrumbs--light a { color: rgb(255 255 255 / 0.7); }
.breadcrumbs--light a:hover { color: var(--white); }
.breadcrumbs--light [aria-current] { color: var(--white); }
.breadcrumbs--light li + li::before { color: rgb(255 255 255 / 0.4); }
.facts { margin-bottom: 0.5rem; }
.facts-list { margin: 0; }
.facts-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.facts-list > div:last-child { border-bottom: 0; }
.facts-list dt { color: var(--text-muted); font-weight: 600; }
.facts-list dd { margin: 0; }
.facts-list address { font-style: normal; }
.facts-summary { margin: 0.75rem 0 0; font-size: 0.88rem; color: var(--gray-600); }
.faq { display: grid; gap: 0.75rem; }
.faq-item {
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq-item h3 { font-size: 1.02rem; margin-bottom: 0.35rem; color: var(--navy-800); }
.faq-item p { margin: 0; color: var(--gray-700); }
.city-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.city-links--spaced { margin-top: 2rem; }
.city-chip {
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  text-decoration: none;
}
.city-chip:hover { background: var(--blue-50); border-color: var(--navy-600); }
a.city-tag { text-decoration: none; }
a.city-tag:hover { background: var(--amber-400); color: var(--navy-900); }
.footer-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .facts-list > div { grid-template-columns: 1fr; gap: 0.1rem; }
}
.icon { display: block; flex-shrink: 0; }
@media (max-width: 720px) {
  .day-chip--far { display: none; }
  .day-chip { min-width: 0; }
  .day-arrow { min-width: 40px; }
}
.display-html, .display-body { height: 100%; background: var(--navy-900); }
.display-body { margin: 0; color: var(--white); font-size: clamp(14px, 1.15vw, 40px); overflow: hidden; }
.display {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 2.5vh 2.5vw 1.5vh;
  box-sizing: border-box;
  gap: 2vh;
}
.display-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2vw; }
.display-eyebrow { margin: 0; color: var(--amber-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.95em; }
.display-title h1 { margin: 0.1em 0 0; font-size: 2.6em; line-height: 1.1; color: var(--white); }
.display-date { margin: 0.2em 0 0; font-size: 1.3em; color: var(--gray-300); }
.display-clock { font-family: var(--font-mono); font-weight: 700; font-size: 5.5em; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.display-board {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 2vh 2vw;
}
.display-panel { background: var(--navy-800); border-radius: 1.2em; padding: 1.4em 1.6em; overflow: hidden; }
.display-panel h2, .display-subtitle { margin: 0 0 0.8em; font-size: 1.35em; color: var(--gray-300); text-transform: uppercase; letter-spacing: 0.08em; }
.display-panel .display-subtitle { margin-top: 1.4em; }
.display-muted { margin: 0; color: var(--gray-400); font-size: 1.2em; }
.display .plate { font-size: 1.6em; border-width: 3px; border-radius: 0.3em; }
.display .plate::before { font-size: 0.45em; padding: 0 0.45em; }
.display-stands { display: grid; grid-template-columns: repeat(auto-fit, minmax(14em, 1fr)); gap: 1em; }
.display-stand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
  padding: 1em 1.2em;
  border-radius: 0.9em;
  border: 2px solid transparent;
}
.display-stand--busy { background: rgb(245 179 1 / 0.12); border-color: var(--amber-500); }
.display-stand--free { background: rgb(21 128 61 / 0.18); border-color: #22c55e; }
.display-stand--waiting { border-style: dashed; }
.display-stand-name { font-weight: 700; font-size: 1.3em; }
.display-stand-state { font-size: 2em; font-weight: 700; color: #4ade80; }
.display-stand-service { font-size: 1.1em; color: var(--gray-200); }
.display-stand-until { font-size: 1.1em; color: var(--amber-400); font-weight: 600; }
.display-closed { display: flex; flex-direction: column; gap: 0.4em; padding: 1.2em 1.4em; border-radius: 0.9em; background: rgb(255 255 255 / 0.06); }
.display-closed strong { font-size: 2em; }
.display-closed span { font-size: 1.2em; color: var(--gray-300); }
.display-free { display: flex; flex-wrap: wrap; gap: 0.6em; margin: 0; padding: 0; list-style: none; }
.display-free li {
  font-family: var(--font-mono);
  font-size: 1.5em;
  font-weight: 700;
  padding: 0.25em 0.6em;
  border-radius: 0.4em;
  background: rgb(255 255 255 / 0.08);
  color: #4ade80;
}
.display-panel--next { display: flex; flex-direction: column; }
.display-next {
  flex: 0 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  overflow: hidden;
  gap: 0.55em;
}
.display-next li {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  grid-template-areas:
    "time  plate service"
    "stand plate service";
  align-items: center;
  gap: 0.15em 1em;
  padding: 0.55em 0.8em;
  border-radius: 0.6em;
  background: rgb(255 255 255 / 0.05);
}
.display-next li:first-child { background: rgb(37 99 235 / 0.28); }
.display-next-time { grid-area: time; align-self: end; font-family: var(--font-mono); font-size: 1.7em; font-weight: 700; line-height: 1; }
.display-next .plate { grid-area: plate; font-size: 1.35em; }
.display-next-service { grid-area: service; font-size: 1.15em; line-height: 1.25; color: var(--gray-200); overflow-wrap: break-word; }
.display-next-stand { grid-area: stand; align-self: start; font-size: 0.95em; line-height: 1.2; color: var(--gray-300); white-space: nowrap; }
.display-panel--next .display-muted { margin-top: 0.8em; }
.display-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; }
.display-stats div { display: flex; align-items: baseline; gap: 0.5em; padding: 0.7em 1.1em; border-radius: 0.8em; background: var(--navy-800); }
.display-stats strong { font-size: 2.2em; font-variant-numeric: tabular-nums; }
.display-stats span { font-size: 1.1em; color: var(--gray-300); }
.display-stats--pending strong { color: #93c5fd; }
.display-stats--passed strong { color: #4ade80; }
.display-stats--failed strong { color: #fb923c; }
.display-message {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  text-align: center;
  background: var(--navy-800);
  border-radius: 1.2em;
}
.display-message strong { font-size: 3em; }
.display-message span { font-size: 1.8em; color: var(--amber-400); }
.display-foot { display: flex; align-items: center; justify-content: space-between; gap: 1em; font-size: 0.85em; color: var(--gray-400); }
.display-link { color: var(--gray-400); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; }
.display-link:hover, .display-link:focus-visible { color: var(--white); text-decoration: underline; }
.display-link[hidden] { display: none; }
.display-status--offline { color: #fb923c; font-weight: 700; }
@media (max-width: 900px), (orientation: portrait) {
  .display-body { overflow: auto; font-size: 15px; }
  .display { height: auto; min-height: 100vh; }
  .display-board { grid-template-columns: 1fr; grid-template-rows: none; }
  .display-stats { grid-template-columns: repeat(2, 1fr); }
  .display-clock { font-size: 3.5em; }
}
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 -6px 24px rgb(10 29 51 / 0.25);
  padding: 1rem 0;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { display: flex; align-items: center; gap: 1.5rem; }
.cookie-banner-text { flex: 1; margin: 0; font-size: 0.92rem; line-height: 1.5; color: rgb(255 255 255 / 0.85); }
.cookie-banner-actions { display: flex; gap: 0.6rem; }
.cookie-banner-actions .btn { min-width: 7.5rem; }
.footer-link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.footer-link-button:hover, .footer-link-button:focus-visible { color: var(--white); }
.footer-link-button[hidden] { display: none; }
@media (max-width: 720px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .cookie-banner-actions .btn { flex: 1; }
}
.blog-list { display: grid; gap: 1rem; }
.blog-card { padding: 1.4rem 1.5rem; }
.blog-card-meta, .article-meta { margin: 0 0 0.4rem; font-size: 0.85rem; color: var(--text-muted); }
.blog-card-title { margin: 0 0 0.5rem; font-size: 1.3rem; line-height: 1.3; }
.blog-card-title a { color: var(--navy-800); text-decoration: none; }
.blog-card-title a:hover { text-decoration: underline; }
.blog-card-text { margin: 0 0 0.8rem; color: var(--gray-700); }
.blog-card-link { font-weight: 600; }
.article-head { margin-bottom: 1.5rem; }
.article-head .page-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.2; margin-bottom: 0.5rem; }
.article-head .lead-dark { margin: 0.75rem 0 0; font-size: 1.12rem; }
.article-summary {
  margin: 0 0 2rem;
  padding: 1.2rem 1.4rem 1.25rem;
  background: var(--amber-100);
  border-left: 5px solid var(--amber-500);
  border-radius: var(--radius);
}
.article-summary h2 { margin: 0 0 0.6rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy-800); }
.article-summary ul { margin: 0; padding-left: 1.2rem; }
.article-summary li { line-height: 1.55; color: var(--gray-900); }
.article-summary li + li { margin-top: 0.45rem; }
.prose { font-size: 1.05rem; line-height: 1.7; color: var(--gray-900); }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin: 2.2rem 0 0.6rem; font-size: 1.45rem; line-height: 1.3; color: var(--navy-800); scroll-margin-top: 1rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.45rem; }
.prose code { font-family: var(--font-mono); font-size: 0.92em; padding: 0.1em 0.35em; border-radius: 4px; background: var(--gray-100); }
.prose .table-wrap { margin: 1.25rem 0; }
.prose .table tbody th[scope="row"] { font-weight: 600; white-space: normal; text-transform: none; letter-spacing: normal; font-size: inherit; color: var(--gray-900); }
.article-note { font-size: 0.9rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 2rem !important; }
.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.4rem 1.6rem;
  background: var(--navy-800);
  color: var(--white);
  border: 0;
}
.article-cta h2 { margin: 0 0 0.3rem; font-size: 1.25rem; color: var(--white); }
.article-cta p { margin: 0; color: rgb(255 255 255 / 0.8); }
.article-cta .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .article-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .prose { font-size: 1rem; }
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; }
.footer-legal p { margin: 0; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.footer-legal-links a { color: rgb(255 255 255 / 0.6); }
.footer-legal-links a:hover { color: var(--white); }
.cookie-banner-link { color: var(--amber-400); font-weight: 600; }
.pricing-note { margin-bottom: 1.25rem; line-height: 1.55; }
.footer-logo { flex: none; display: block; width: 34px; height: 34px; color: rgb(255 255 255 / 0.35); transition: color 0.15s ease; }
.footer-logo:hover, .footer-logo:focus-visible { color: var(--amber-400); }
.driver-banner {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  color: var(--white);
}
.driver-banner-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.driver-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-900) 40%, rgb(10 29 51 / 0.75) 46%, rgb(10 29 51 / 0) 58%);
}
.driver-banner-inner { position: relative; z-index: 2; width: 100%; padding-top: 4rem; padding-bottom: 4rem; }
.driver-banner-content { max-width: 500px; }
.driver-banner .eyebrow { color: var(--amber-400); }
.driver-banner h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; color: var(--white); letter-spacing: -0.02em; }
.driver-banner h2 span { color: var(--amber-400); white-space: nowrap; }
.driver-banner-lead { margin: 0 0 1.25rem; font-size: 1.15rem; line-height: 1.55; color: rgb(255 255 255 / 0.88); }
.driver-banner-points { margin: 0 0 1.75rem; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.driver-banner-points li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--white); }
.driver-banner-points li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--amber-500);
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 900;
}
.driver-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.driver-banner-link { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.driver-banner-link:hover { color: var(--amber-400); }
.driver-banner-note { margin: 1.5rem 0 0; font-size: 0.88rem; color: rgb(255 255 255 / 0.6); }
@media (max-width: 860px) {
  .driver-banner { display: block; min-height: 0; }
  .driver-banner::before { display: none; }
  .driver-banner-img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-position: 50% 15%; }
  .driver-banner-inner { padding-top: 2rem; padding-bottom: 2.5rem; }
  .driver-banner-actions .btn { width: 100%; }
}
