/* GarageVenema — automotive steel + navy + gold
   Revert: copy assets/css/style.css.checkpoint-pre-automotive-2026-08-01 over this file. */

/* Calibre (headlines) — place licensed files in /assets/fonts/
   Expected: Calibre-Regular.woff2, Calibre-Medium.woff2, Calibre-Semibold.woff2, Calibre-Bold.woff2 */
@font-face {
  font-family: "Calibre";
  src: url("../fonts/Calibre-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/Calibre-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/Calibre-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/Calibre-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #F2F3F5;
  --muted: #E7EAEE;
  --surface: #FFFFFF;
  --foreground: #2F343A;
  --fg-muted: #6B7280;
  --fg-subtle: #8B929A;
  --primary: #1E3A5F;
  --primary-fg: #F7F8F9;
  --brand: #1E3A5F;
  --brand-hover: #152D4A;
  --highlight: #D8A81E;
  --highlight-hover: #C0961A;
  --highlight-fg: #2F343A;
  --surface-dark: #152536;
  --surface-dark-2: #1E3A5F;
  --border: #C8CED6;
  --border-strong: #8B929A;
  --danger: #a33d3d;
  --success: #2f6b4f;
  --warn: #8a6d1d;
  --radius: 0.5rem;
  --container: 70rem;
  --container-narrow: 42rem;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Calibre", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 12px 40px rgba(47, 52, 58, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  background-attachment: fixed;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}
p { margin: 0; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2rem, var(--container-narrow)); margin-inline: auto; }
.site-main { flex: 1; }

/* Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.nav {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.25rem;
  padding: 0.85rem 0;
}
.brand-lockup {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: var(--foreground); flex-shrink: 0;
  justify-self: start;
}
.brand-lockup:hover { color: var(--foreground); opacity: 0.85; }
.brand-lockup img { height: 2.75rem; width: auto; object-fit: contain; object-position: left; }
.brand-lockup__text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.brand-word {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  letter-spacing: -0.02em; color: inherit; line-height: 1.15;
}
.brand-slogan {
  font-family: var(--font-sans); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.01em; color: var(--fg-muted); line-height: 1.2;
}
.brand-lockup--invert { color: #fff; }
.brand-lockup--invert .brand-slogan { color: rgba(255,255,255,0.55); }
.brand-lockup--invert img { filter: brightness(0) invert(1); height: 2.5rem; }
.nav-links--desktop { display: none; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  position: relative; color: var(--fg-muted); font-size: 0.95rem;
  font-weight: 500; letter-spacing: 0.01em; padding: 0.35rem 0;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--brand); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.15rem;
  height: 2px; background: var(--highlight);
}
.nav-end {
  display: flex; align-items: center; justify-self: end; justify-content: flex-end;
}
.nav-actions { display: none; align-items: center; gap: 0.55rem; }
.nav-account {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius);
  color: var(--fg-muted); background: transparent;
}
.nav-account:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-right: 0.25rem; color: var(--fg-muted); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.04em; user-select: none;
}
.lang-switch svg { flex-shrink: 0; opacity: 0.75; }
.lang-switch a {
  color: var(--fg-muted); text-decoration: none; line-height: 1;
}
.lang-switch a:hover { color: var(--brand); }
.lang-switch a.is-active { color: var(--foreground); font-weight: 700; }
.lang-switch__sep { color: color-mix(in srgb, var(--fg-muted) 70%, transparent); font-weight: 500; }
.lang-switch--compact { margin-right: 0.1rem; }
.nav-mobile-bar { display: flex; align-items: center; gap: 0.35rem; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border: 0; background: transparent;
  border-radius: var(--radius); cursor: pointer; color: var(--foreground); padding: 0;
}
.nav-toggle:hover { background: var(--muted); }
.nav-mobile {
  display: none; flex-direction: column; gap: 1.25rem;
  padding: 1.25rem 1.25rem 2rem; border-top: 1px solid var(--border);
  background: var(--background);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; color: var(--foreground);
}
.nav-mobile a.is-active { color: var(--brand); }
.nav-mobile-ctas { display: grid; gap: 0.65rem; margin-top: 1rem; }
@media (min-width: 1024px) {
  .nav {
    grid-template-columns: 1fr auto 1fr;
    min-height: 6rem;
    padding: 1.1rem 0;
  }
  .nav-links--desktop { display: flex; justify-self: center; }
  .nav-actions { display: flex; }
  .nav-mobile-bar { display: none; }
  .nav-mobile { display: none !important; }
  .brand-lockup img { height: 3rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.25rem; border-radius: var(--radius); border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: background 180ms var(--ease), transform 180ms var(--ease), border-color 180ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--brand-hover); color: var(--primary-fg); }
.btn-highlight { background: var(--highlight); color: var(--highlight-fg); }
.btn-highlight:hover { background: var(--highlight-hover); color: var(--highlight-fg); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--foreground); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--primary-fg); border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 0.45rem 0.8rem; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero — title, slogan, trust on image */
.hero-block {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.hero {
  position: relative;
  height: clamp(20rem, 48vh, 30rem);
  color: #fff;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--surface-dark);
}
.hero-media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s var(--ease) infinite alternate;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,36,56,0.28) 0%, rgba(14,36,56,0.48) 50%, rgba(14,36,56,0.92) 100%);
}
.hero-inner {
  position: relative;
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  padding: 0 0 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero h1 {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s var(--ease) both;
}
.hero-tagline {
  margin: 0.95rem 0 0;
  max-width: 32rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
  animation: fadeUp 0.8s var(--ease) 0.08s both;
}
.hero-trust {
  list-style: none;
  margin: 1.45rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  animation: fadeUp 0.8s var(--ease) 0.14s both;
}
@media (min-width: 720px) {
  .hero-trust {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.3;
}
.hero-trust li svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.85;
}
@media (min-width: 720px) {
  .hero-trust li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 0.95rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
  }
}
.site-main > .hero-block + .section {
  padding-top: 3.25rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media, .hero h1, .hero-tagline, .hero-trust { animation: none; }
}

/* Sections — alternating steel greys for depth */
.section { padding: 4.5rem 0; background: var(--background); }
.section-lg { padding: 6rem 0; }
.section-muted { background: var(--muted); }
.section-dark { background: var(--surface-dark); color: #fff; }
.site-main > .section:last-of-type:not(.section-dark) { background: var(--muted); }
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 0.75rem;
}
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.section-head p { margin-top: 0.85rem; color: var(--fg-muted); font-size: 1.05rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center p { margin-inline: auto; max-width: 34rem; }

.service-highlights {
  display: grid;
  gap: 1.75rem 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.75rem;
}
@media (min-width: 800px) {
  .service-highlights { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.service-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.service-highlight:hover { color: inherit; }
.service-highlight__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
  border-radius: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.service-highlight__icon svg,
.service-highlight__icon img {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
}
.service-highlight:hover .service-highlight__icon {
  transform: translateY(-2px);
  background: none;
  box-shadow: none;
  opacity: 0.9;
}
.service-highlight h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.service-highlights-foot {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.link-line {
  position: relative;
  display: inline-block;
  color: var(--fg-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 0.4rem;
}
.link-line::after {
  content: '';
  position: absolute;
  left: 0;
  right: -0.55rem;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.link-line:hover { color: var(--fg); }
.page-header { padding: 3.5rem 0 1rem; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-header p { margin-top: 0.75rem; color: var(--fg-muted); max-width: 36rem; }

.grid-3 { display: grid; gap: 2rem; }
@media (min-width: 800px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.grid-2 { display: grid; gap: 2rem; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }

.feature-block { padding-top: 1.5rem; border-top: 1px solid var(--border); }
.feature-block h3 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; }
.feature-block p { margin-top: 0.65rem; color: var(--fg-muted); }
.step-num { color: var(--brand); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; }

.service-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.service-row {
  display: grid; gap: 0.75rem; padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 700px) {
  .service-row { grid-template-columns: 1.1fr 1.6fr auto; align-items: center; gap: 1.5rem; }
}
.service-row h3 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; }
.service-row p { color: var(--fg-muted); font-size: 0.95rem; }

.service-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
.service-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.08);
  color: inherit;
}
.service-card__media {
  aspect-ratio: 4 / 3;
  background: var(--muted);
  overflow: hidden;
}
.service-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.service-card:hover .service-card__media img { transform: scale(1.03); }
.service-card__body {
  display: flex; flex-direction: column; gap: 0.45rem;
  padding: 1.1rem 1.15rem 1.25rem; flex: 1;
}
.service-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.service-card__body p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1;
}
.service-card__more {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
}
.service-detail {
  display: grid; gap: 1.75rem;
}
@media (min-width: 800px) {
  .service-detail { grid-template-columns: 1.05fr 1fr; align-items: start; gap: 2.5rem; }
}
.service-detail__media {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--muted);
  aspect-ratio: 4 / 3;
}
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-detail__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--fg-muted);
  margin: 0;
}

.photo-frame {
  border-radius: calc(var(--radius) + 2px); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--muted);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.cta-band { padding: 3.5rem 0; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-band p { margin-top: 0.75rem; color: rgba(255,255,255,0.7); max-width: 32rem; }
.cta-band .btn-row { margin-top: 1.5rem; }

/* Forms */
.form-stack { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: var(--fg-muted); }
input, select, textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface); color: var(--foreground);
  font: inherit; transition: border-color 150ms ease, box-shadow 150ms ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 107, 143, 0.18);
}
textarea { min-height: 120px; resize: vertical; }
.help { font-size: 0.8rem; font-weight: 400; color: var(--fg-subtle); }
.form-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.booking-wrap { width: min(100% - 2rem, 64rem); margin-inline: auto; }
.booking-panel { padding: 1.25rem 1.25rem 1.5rem; }
@media (min-width: 768px) { .booking-panel { padding: 1.5rem 1.75rem 1.75rem; } }
.booking-title { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.booking-subtitle { font-size: 0.98rem; font-weight: 600; letter-spacing: -0.015em; margin: 0; color: var(--foreground); }
.booking-grid { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 960px) {
  .booking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
.booking-col {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.booking-col__intro { flex: 0 0 auto; margin-bottom: 0.5rem; }
.booking-empty {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: color-mix(in srgb, var(--muted) 55%, white);
  padding: 1.1rem 1rem; font-size: 0.875rem; color: var(--fg-muted);
}
.booking-schedule {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: color-mix(in srgb, var(--muted) 35%, white);
  padding: 0.85rem 0.85rem 0.65rem;
}
.booking-schedule__body { flex: 1 1 auto; min-height: 0; }
.booking-schedule__footer {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  justify-content: flex-end;
}
.booking-schedule__footer[hidden] { display: none !important; }
.page-header--compact { padding: 1.75rem 0 0.75rem; }
.page-header--compact h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.section--tight { padding-top: 1rem; padding-bottom: 2rem; }
.link-back {
  border: 0; background: none; padding: 0; font: inherit; font-size: 0.85rem;
  color: var(--fg-muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.link-back:hover { color: var(--brand); }
.moment-card {
  margin: 0; display: grid; gap: 0.85rem;
  padding: 1.1rem 1.15rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
}
.moment-card dt {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg-muted); margin: 0 0 0.2rem;
}
.moment-card dd {
  margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--foreground);
}
.wizard-steps {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.65rem;
  margin-bottom: 1rem; font-size: 0.82rem; letter-spacing: 0.04em; font-weight: 600;
  color: var(--fg-subtle);
}
.wizard-step { background: none; padding: 0; border-radius: 0; color: inherit; }
.wizard-step em { font-style: normal; margin-right: 0.2rem; }
.wizard-step.is-active { background: none; color: var(--brand); }
.wizard-step.is-done { background: none; color: var(--fg-muted); }
.wizard-sep { color: var(--border-strong); font-weight: 500; }
.wizard-pane { display: none; }
.wizard-pane.is-active { display: block; animation: fadeUp 0.35s var(--ease); }

.service-list {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface);
}
.service-list li + li { border-top: 1px solid var(--border); }
.service-row {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.7rem 0.85rem; cursor: pointer; margin: 0; font-weight: 500;
  transition: background 150ms ease;
}
.service-row:hover { background: color-mix(in srgb, var(--brand) 6%, white); }
.service-row:has(input:checked) { background: color-mix(in srgb, var(--brand) 12%, white); }
.service-row input { width: auto; margin-top: 0.15rem; accent-color: var(--primary); }
.service-row strong { display: block; color: var(--foreground); font-size: 0.9rem; }

.month-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.month-tab {
  border: 0; border-radius: var(--radius); padding: 0.3rem 0.55rem;
  font: inherit; font-size: 0.75rem; font-weight: 600; cursor: pointer;
  background: var(--muted); color: var(--fg-muted);
}
.month-tab:hover { background: color-mix(in srgb, var(--brand) 12%, white); color: var(--brand); }
.month-tab.is-active { background: var(--primary); color: #fff; }

.avail-calendar {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 0.4rem; transition: opacity 150ms ease;
  max-width: 100%;
}
.avail-calendar.is-loading { opacity: 0.55; }
.avail-weekdays, .avail-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.15rem; }
.avail-weekdays span {
  text-align: center; padding: 0.15rem 0; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-subtle);
}
.avail-day {
  aspect-ratio: 1; border-radius: 0.28rem; border: 1px solid transparent;
  font: inherit; font-size: 0.72rem; font-weight: 600; cursor: pointer;
  background: color-mix(in srgb, var(--muted) 70%, white); color: var(--fg-subtle);
  min-width: 0; padding: 0;
}
.avail-day:disabled { cursor: not-allowed; }
.avail-day.is-empty { visibility: hidden; pointer-events: none; border: 0; background: transparent; }
.avail-day.is-available {
  border-color: color-mix(in srgb, var(--success) 30%, transparent);
  background: color-mix(in srgb, var(--success) 15%, white); color: var(--foreground);
}
.avail-day.is-available:hover { background: color-mix(in srgb, var(--success) 25%, white); }
.avail-day.is-limited {
  border-color: color-mix(in srgb, var(--highlight) 40%, transparent);
  background: color-mix(in srgb, var(--highlight) 22%, white); color: var(--foreground);
}
.avail-day.is-limited:hover { background: color-mix(in srgb, var(--highlight) 32%, white); }
.avail-day.is-full {
  border-color: color-mix(in srgb, var(--danger) 25%, transparent);
  background: color-mix(in srgb, var(--danger) 10%, white); color: color-mix(in srgb, var(--danger) 80%, black);
}
.avail-day.is-unavailable { background: color-mix(in srgb, var(--muted) 70%, white); color: var(--fg-subtle); }
.avail-day.is-selected { border-color: var(--primary) !important; background: var(--primary) !important; color: #fff !important; }

.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
@media (max-width: 420px) { .slot-grid { grid-template-columns: repeat(3, 1fr); } }
.slot-btn {
  border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius);
  padding: 0.5rem 0.25rem; font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.slot-btn:hover:not(:disabled) { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); background: color-mix(in srgb, var(--brand) 8%, white); }
.slot-btn.is-selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.slot-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.service-choice {
  display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem;
  border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; background: var(--surface);
}
.service-choice:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27,107,143,0.12); }
.service-choice input { width: auto; margin-top: 0.2rem; }

/* Tables / badges */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--fg-muted); }
tr:last-child td { border-bottom: 0; }
.badge {
  display: inline-flex; align-items: center; padding: 0.2rem 0.55rem; border-radius: 0.35rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
}
.badge-warn { background: #f5e7b8; color: var(--warn); }
.badge-ok { background: #d7ebe0; color: var(--success); }
.badge-danger { background: #f3d6d6; color: var(--danger); }
.badge-muted { background: var(--muted); color: var(--fg-muted); }

.alert {
  padding: 0.9rem 1rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-size: 0.95rem;
}
.alert-success { background: #d7ebe0; color: var(--success); }
.alert-error { background: #f3d6d6; color: var(--danger); }
.alert-info { background: #E8EBEE; color: var(--brand); }

/* Footer — one continuous block */
.site-footer {
  margin-top: auto;
  background: var(--surface-dark);
  color: rgba(255,255,255,0.7);
  padding: 2.75rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.footer-grid { display: grid; gap: 1.75rem 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-lead { margin-top: 0.75rem; max-width: 18rem; font-size: 0.875rem; line-height: 1.45; color: rgba(255,255,255,0.55); }
.footer-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.footer-list { list-style: none; margin: 0.65rem 0 0; padding: 0; display: grid; gap: 0.2rem; }
.footer-list a, .footer-list--plain { font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.7); }
.footer-list a:hover { color: #fff; }
.footer-hours { margin-top: 0.65rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.7); }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; }
.site-footer h3 { font-family: var(--font-sans); font-size: 0.85rem; color: #fff; margin-bottom: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-brand { font-family: var(--font-display); font-size: 1.35rem; color: #fff; }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center;
  justify-content: space-between;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-legal a { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* Auth / portal / admin shells */
.auth-shell { min-height: 70vh; display: grid; place-items: center; padding: 3rem 1rem; }
.auth-card { width: min(100%, 26rem); }

.admin-body { background: var(--muted); }
.admin-shell { min-height: 100dvh; }
@media (min-width: 900px) {
  .admin-shell { display: grid; grid-template-columns: 15.5rem 1fr; }
}
.admin-sidebar {
  display: none; flex-direction: column;
  background: var(--surface-dark); color: #fff;
}
@media (min-width: 900px) {
  .admin-sidebar { display: flex; position: sticky; top: 0; height: 100dvh; }
}
.admin-sidebar.is-open {
  display: flex; position: fixed; inset: 0 auto 0 0; width: min(16.5rem, 88vw); z-index: 60;
}
.admin-sidebar__head { padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar__brand {
  color: #fff; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: -0.02em; text-decoration: none;
}
.admin-sidebar__brand:hover { color: #fff; opacity: 0.9; }
.admin-sidebar__eyebrow {
  margin: 0.65rem 0 0; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.admin-sidebar__nav { flex: 1; padding: 1rem 0.75rem; display: flex; flex-direction: column; gap: 0.2rem; overflow: auto; }
.admin-nav-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.75rem; border-radius: var(--radius);
  color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.9rem;
}
.admin-nav-link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.admin-nav-link.is-active { background: rgba(255,255,255,0.1); color: #fff; }
.admin-nav-link__icon { display: inline-flex; color: rgba(255,255,255,0.4); }
.admin-nav-link.is-active .admin-nav-link__icon,
.admin-nav-link:hover .admin-nav-link__icon { color: rgba(255,255,255,0.85); }
.admin-nav-link__label { flex: 1; }
.admin-nav-link__badge {
  font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.4rem;
  border-radius: 0.3rem; background: rgba(255,255,255,0.15); color: #fff;
}
.admin-sidebar__foot { padding: 1rem 1.15rem 1.25rem; border-top: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar__user { margin: 0; font-size: 0.9rem; font-weight: 600; color: #fff; }
.admin-sidebar__role { margin: 0.2rem 0 0; font-size: 0.75rem; color: rgba(255,255,255,0.4); text-transform: lowercase; }
.admin-sidebar__actions {
  margin-top: 0.9rem; display: flex; align-items: stretch; gap: 0.45rem;
}
.admin-foot-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  height: 2.35rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15); color: #fff; text-decoration: none;
  font-size: 0.85rem; font-weight: 600; line-height: 1;
}
.admin-foot-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.admin-foot-btn--site { flex: 1; min-width: 0; }
.admin-foot-btn--site svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.85; }
.admin-foot-btn--logout { width: 2.35rem; flex: 0 0 2.35rem; padding: 0; }

.admin-main { min-width: 0; display: flex; flex-direction: column; min-height: 100dvh; }
.admin-mobilebar {
  display: flex; align-items: center; justify-content: space-between;
  height: 3.5rem; padding: 0 1rem; border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted) 90%, white); position: sticky; top: 0; z-index: 30;
}
@media (min-width: 900px) { .admin-mobilebar { display: none; } }
.admin-mobilebar__brand { font-family: var(--font-display); font-weight: 600; color: var(--foreground); text-decoration: none; }
.admin-mobilebar__toggle {
  border: 0; background: transparent; width: 2.5rem; height: 2.5rem; border-radius: var(--radius); cursor: pointer; color: var(--foreground);
}
.admin-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 50; }
@media (min-width: 900px) { .admin-backdrop { display: none !important; } }
.admin-content { flex: 1; padding: 1.25rem 1rem 1.5rem; width: 100%; max-width: none; box-sizing: border-box; }
@media (min-width: 900px) { .admin-content { padding: 1.5rem 1.75rem 1.75rem; } }

.admin-pagehead {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem;
}
.admin-pagehead h1 { margin: 0.15rem 0 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.admin-pagehead__eyebrow {
  margin: 0; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-muted);
}
.btn-ghost {
  border: 0; background: transparent; color: var(--fg-muted); font: inherit; font-weight: 600;
  padding: 0.4rem 0.7rem; border-radius: var(--radius); text-decoration: none; cursor: pointer;
}
.btn-ghost:hover { color: var(--foreground); background: color-mix(in srgb, var(--muted) 80%, white); }

.settings-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; }
.settings-actions [hidden] { display: none !important; }
.settings-grid {
  display: grid; gap: 1rem;
}
@media (min-width: 800px) {
  .settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.35rem 1.4rem 1.5rem;
}
.settings-card--wide { grid-column: 1 / -1; }
.inline-form { display: inline; margin: 0; }
.text-right { text-align: right; }
.settings-card__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.settings-dl {
  margin: 1.15rem 0 0;
  display: grid;
  gap: 1rem;
}
.settings-dl dt {
  margin: 0;
  font-size: 0.85rem;
  color: var(--fg-subtle);
}
.settings-dl dd {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.45;
}
.settings-edit .form-stack { margin-top: 1.15rem; }
.settings-edit label { font-size: 0.85rem; color: var(--fg-muted); }
.settings-edit input {
  margin-top: 0.35rem;
  width: 100%;
  box-sizing: border-box;
}

.admin-toast {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, calc(-100% - 1rem));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  opacity: 0;
  max-width: min(calc(100vw - 2rem), 28rem);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(14, 36, 56, 0.18);
  pointer-events: none;
}
.admin-toast.is-in {
  transform: translate(-50%, 1rem);
  opacity: 1;
}
.admin-toast.is-out {
  transform: translate(-50%, calc(-100% - 1rem));
  opacity: 0;
}
.admin-toast--success {
  background: #143d2a;
  color: #e8f6ee;
}
.admin-toast--error {
  background: #5c1d1d;
  color: #f8e8e8;
}

/* Compact agenda — fills viewport, no inner scroll */
.agenda-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px);
  overflow: hidden; display: flex; flex-direction: column;
  width: 100%;
  min-height: calc(100dvh - 10.5rem);
  max-height: calc(100dvh - 9rem);
}
@media (min-width: 900px) {
  .agenda-panel {
    min-height: calc(100dvh - 9rem);
    max-height: calc(100dvh - 7.5rem);
  }
}
.agenda-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.agenda-toolbar__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; min-width: 0; }
.agenda-toolbar__title {
  margin: 0 0 0 0.35rem; font-size: 0.95rem; font-weight: 600; letter-spacing: -0.015em;
  text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.agenda-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: var(--radius); border: 1px solid var(--border);
  color: var(--foreground); text-decoration: none; font-size: 1.1rem; line-height: 1; background: var(--surface);
}
.agenda-icon-btn:hover { background: var(--muted); color: var(--foreground); }
.agenda-toolbar__right {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem;
}
.agenda-schedule-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--foreground);
  font: inherit; font-size: 0.8rem; font-weight: 600;
  padding: 0.4rem 0.75rem; cursor: pointer;
}
.agenda-schedule-btn:hover { background: var(--muted); }
.agenda-schedule-btn.is-active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.agenda-schedule-hint {
  margin: 0; padding: 0.55rem 1rem;
  font-size: 0.8rem; color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, white);
  border-bottom: 1px solid var(--border);
}
.agenda-panel.is-scheduling .agenda-board__slot {
  cursor: crosshair;
  pointer-events: auto;
}
.agenda-panel.is-scheduling .agenda-board__slot:hover {
  background: color-mix(in srgb, var(--brand) 14%, white);
}
.agenda-panel.is-scheduling .agenda-month__cell[data-schedule-day] {
  cursor: crosshair;
  outline: 1px dashed transparent;
}
.agenda-panel.is-scheduling .agenda-month__cell[data-schedule-day]:hover {
  outline-color: color-mix(in srgb, var(--brand) 45%, transparent);
  background: color-mix(in srgb, var(--brand) 10%, white);
}

.agenda-dialog {
  border: 0; border-radius: calc(var(--radius) + 6px);
  padding: 0; width: min(calc(100vw - 2rem), 36rem);
  max-height: calc(100dvh - 2rem);
  box-shadow: 0 24px 60px rgba(14, 36, 56, 0.28);
}
.agenda-dialog::backdrop { background: rgba(14, 36, 56, 0.45); }
.agenda-dialog__form { display: flex; flex-direction: column; max-height: calc(100dvh - 2rem); }
.agenda-dialog__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.25rem 0.85rem; border-bottom: 1px solid var(--border);
}
.agenda-dialog__title { margin: 0.15rem 0 0; font-size: 1.35rem; }
.agenda-dialog__body { padding: 1rem 1.25rem; overflow: auto; }
.agenda-dialog__foot {
  display: flex; justify-content: flex-end; gap: 0.5rem;
  padding: 0.85rem 1.25rem 1.15rem; border-top: 1px solid var(--border);
}
.agenda-mode-tabs {
  display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.2rem; gap: 0.15rem; margin-bottom: 0.85rem;
}
.agenda-mode-tab {
  border: 0; background: transparent; border-radius: 0.35rem;
  padding: 0.4rem 0.75rem; font: inherit; font-size: 0.8rem; font-weight: 600;
  color: var(--fg-muted); cursor: pointer;
}
.agenda-mode-tab.is-active { background: var(--foreground); color: #fff; }
.agenda-customer-results {
  margin-top: 0.5rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); max-height: 12rem; overflow: auto;
}
.agenda-customer-result {
  display: grid; gap: 0.15rem; width: 100%; text-align: left;
  border: 0; border-bottom: 1px solid var(--border); background: var(--surface);
  padding: 0.65rem 0.75rem; font: inherit; cursor: pointer;
}
.agenda-customer-result:last-child { border-bottom: 0; }
.agenda-customer-result:hover { background: color-mix(in srgb, var(--brand) 8%, white); }
.agenda-customer-result strong { font-size: 0.9rem; }
.agenda-customer-result span { font-size: 0.78rem; color: var(--fg-muted); }
.agenda-customer-picked {
  margin-top: 0.65rem; display: grid; gap: 0.2rem;
  padding: 0.75rem; border-radius: var(--radius);
  background: color-mix(in srgb, var(--muted) 55%, white); border: 1px solid var(--border);
}
.agenda-customer-picked[hidden],
.agenda-customer-results[hidden],
[data-custom-service][hidden],
[data-vehicle-select-wrap][hidden],
[data-panel-new][hidden],
[data-schedule-hint][hidden] {
  display: none !important;
}
.agenda-service-meta {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.agenda-form-errors {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  background: #f3d6d6;
  color: var(--danger);
  font-size: 0.875rem;
}
.agenda-form-errors[hidden] { display: none !important; }
.agenda-form-errors ul { margin: 0.35rem 0 0; padding-left: 1.1rem; }
.agenda-fieldset {
  margin: 0; padding: 0.85rem 1rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.agenda-fieldset legend {
  padding: 0 0.35rem; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle);
}
.agenda-viewtab {
  padding: 0.35rem 0.75rem; border-radius: 0.35rem; font-size: 0.8rem; font-weight: 600;
  color: var(--fg-muted); text-decoration: none;
}
.agenda-viewtab.is-active { background: var(--foreground); color: #fff; }
.agenda-viewtab:hover:not(.is-active) { color: var(--foreground); }

.agenda-board { display: flex; flex-direction: column; min-height: 0; flex: 1; overflow: hidden; }
.agenda-board__head {
  display: grid; grid-template-columns: 3rem repeat(var(--agenda-cols, 5), minmax(0, 1fr));
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.agenda-board__gutter { border-right: 1px solid var(--border); }
.agenda-board__dayhead {
  text-align: center; padding: 0.45rem 0.25rem; border-left: 1px solid var(--border);
}
.agenda-board__dayhead.is-today { background: color-mix(in srgb, var(--brand) 10%, white); }
.agenda-board__dow {
  display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-subtle);
}
.agenda-board__dom { display: block; margin-top: 0.1rem; font-size: 1.05rem; font-weight: 600; }
.agenda-board__dayhead.is-today .agenda-board__dom { color: var(--brand); }

.agenda-board__body {
  display: grid; grid-template-columns: 3rem repeat(var(--agenda-cols, 5), minmax(0, 1fr));
  flex: 1; min-height: 0;
}
.agenda-board__hours {
  display: grid; grid-template-rows: repeat(9, minmax(0, 1fr));
  border-right: 1px solid var(--border);
}
.agenda-board__hour {
  border-bottom: 1px solid var(--border); position: relative;
  font-size: 0.65rem; color: var(--fg-subtle); text-align: right; padding-right: 0.35rem;
}
.agenda-board__hour span { display: block; transform: translateY(-0.35rem); }
.agenda-board__col {
  position: relative; display: grid; grid-template-rows: repeat(9, minmax(0, 1fr));
  border-left: 1px solid var(--border); min-height: 0;
}
.agenda-board__col.is-today { background: color-mix(in srgb, var(--brand) 6%, white); }
.agenda-board__slot {
  border: 0; border-bottom: 1px solid var(--border);
  background: transparent; padding: 0; margin: 0; width: 100%;
  display: block; pointer-events: none; cursor: default;
}

.agenda-event {
  position: absolute; left: 0.2rem; right: 0.2rem; z-index: 2;
  overflow: hidden; border-radius: 0.4rem; padding: 0.25rem 0.4rem;
  background: var(--surface-dark); color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08); font-size: 0.7rem; line-height: 1.25;
}
.agenda-event:hover { color: #fff; opacity: 0.92; }
.agenda-event strong { display: block; font-weight: 600; font-size: 0.7rem; }
.agenda-event span { display: block; color: rgba(255,255,255,0.55); font-size: 0.65rem; margin-top: 0.1rem; }
.agenda-event.is-compact { padding: 0.15rem 0.3rem; }
.agenda-event.is-compact strong { font-size: 0.62rem; }

.agenda-month { padding: 0.5rem; overflow: auto; flex: 1; min-height: 0; }
.agenda-month__head, .agenda-month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.25rem; }
.agenda-month__head span {
  text-align: center; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-subtle); padding: 0.25rem;
}
.agenda-month__cell {
  min-height: 4.5rem; border-radius: 0.5rem; padding: 0.35rem;
  text-decoration: none; color: inherit; border: 1px solid transparent;
  display: flex; flex-direction: column; gap: 0.25rem;
}
@media (min-width: 900px) { .agenda-month__cell { min-height: 5.25rem; } }
.agenda-month__cell:hover { border-color: var(--border); background: color-mix(in srgb, var(--muted) 50%, white); color: inherit; }
.agenda-month__cell.is-out { opacity: 0.35; }
.agenda-month__cell.is-today { border-color: color-mix(in srgb, var(--brand) 35%, transparent); background: color-mix(in srgb, var(--brand) 10%, white); }
.agenda-month__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
}
.agenda-month__num.is-today { background: var(--foreground); color: #fff; }
.agenda-month__events { display: grid; gap: 0.15rem; }
.agenda-month__chip {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: var(--surface-dark); color: rgba(255,255,255,0.9);
  border-radius: 0.3rem; padding: 0.15rem 0.35rem; font-size: 0.6rem;
}
.agenda-month__more { font-size: 0.6rem; color: var(--fg-subtle); padding: 0 0.25rem; }

/* Legacy portal shell still used */
.app-shell { display: grid; min-height: 100vh; }
@media (min-width: 900px) { .app-shell { grid-template-columns: 240px 1fr; } }
.sidebar {
  background: var(--surface-dark); color: rgba(255,255,255,0.8); padding: 1.25rem;
}
.sidebar a { color: rgba(255,255,255,0.78); display: block; padding: 0.55rem 0.7rem; border-radius: var(--radius); }
.sidebar a:hover, .sidebar a.is-active { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar-brand { color: #fff; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1.5rem; display: block; }
.app-content { padding: 1.5rem 1.25rem 3rem; }
@media (min-width: 900px) { .app-content { padding: 2rem 2rem 3rem; } }
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 2rem; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem;
}
.stat strong { display: block; font-size: 1.6rem; font-family: var(--font-display); }
.stat span { color: var(--fg-muted); font-size: 0.85rem; }

.agenda-grid { display: none; }

.muted { color: var(--fg-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Nederlands kenteken */
.nl-plate {
  display: flex;
  height: 3rem;
  overflow: hidden;
  border-radius: 0.4rem;
  border: 1px solid #8a8a8a;
  background: #F7C948;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  max-width: 18rem;
}
.nl-plate:focus-within {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.18);
}
.nl-plate__eu {
  display: flex;
  width: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: #003399;
  color: #fff;
}
.nl-plate__nl {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
.nl-plate__input,
.nl-plate input.nl-plate__input {
  min-width: 0;
  flex: 1;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 0.85rem !important;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.nl-plate__input::placeholder {
  letter-spacing: 0.12em;
  color: rgba(26, 26, 26, 0.4);
  font-weight: 600;
}
.apk-line {
  margin-top: 0.45rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--fg-muted);
}
.apk-line [data-apk-value] {
  font-weight: 600;
  color: var(--foreground);
}
.apk-line.is-loading [data-apk-value] {
  color: var(--fg-muted);
  font-weight: 500;
}
.nl-plate-chip {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  border-radius: 0.3rem;
  background: #F7C948;
  border: 1px solid #c9a62e;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: #1a1a1a;
}
.nl-plate-chip__eu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.35rem;
  background: #003399;
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.nl-plate-chip:not(:has(.nl-plate-chip__eu)) {
  padding: 0.2rem 0.55rem;
}
.nl-plate-chip:has(.nl-plate-chip__eu) {
  padding-right: 0.5rem;
  gap: 0;
}

.choice-toggle {
  display: flex;
  gap: 0.75rem;
}
.choice-toggle__btn {
  flex: 1;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--foreground);
}
.choice-toggle__btn:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
  background: var(--brand-muted, color-mix(in srgb, var(--brand) 8%, white));
}
.choice-toggle__btn.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.consent-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.45;
}
.consent-row a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
.confirm-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--fg-muted);
}
.confirm-summary strong { color: var(--foreground); font-weight: 600; }
.confirm-summary dl { margin: 0; display: grid; gap: 0.45rem; }
.confirm-summary dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--fg-muted); }
.confirm-summary dd { margin: 0; color: var(--foreground); font-weight: 500; }

/* Booking extras */
.account-choice-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .account-choice-grid { grid-template-columns: 1fr 1fr; } }
.account-choice {
  text-align: left; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 1.15rem; cursor: pointer; font: inherit; color: inherit;
  transition: border-color 150ms ease, background 150ms ease;
}
.account-choice:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); background: color-mix(in srgb, var(--brand) 6%, white); }
.account-choice strong { display: block; font-size: 1rem; color: var(--foreground); }
.account-choice span { display: block; margin-top: 0.5rem; font-size: 0.875rem; color: var(--fg-muted); font-weight: 400; }
.booking-success {
  background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px);
  padding: 2rem; box-shadow: var(--shadow);
}
.booking-success .eyebrow { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; font-weight: 600; color: var(--brand); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 0.55rem 0.85rem; margin: 0.6rem 0 0; padding: 0; list-style: none; font-size: 0.72rem; color: var(--fg-muted); }
.cal-legend i { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 0.2rem; margin-right: 0.35rem; vertical-align: middle; border: 1px solid transparent; }
.cal-legend .ok { background: color-mix(in srgb, var(--success) 35%, white); border-color: color-mix(in srgb, var(--success) 40%, transparent); }
.cal-legend .limited { background: color-mix(in srgb, var(--highlight) 28%, white); border-color: color-mix(in srgb, var(--highlight) 45%, transparent); }
.cal-legend .full { background: color-mix(in srgb, var(--danger) 18%, white); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.cal-legend .na { background: color-mix(in srgb, var(--muted) 80%, white); border-color: transparent; }
.value-card {
  height: 100%; border-left: 4px solid var(--brand); background: var(--surface); padding: 1.15rem 1.25rem;
  box-shadow: 0 1px 0 rgba(14,36,56,0.04);
}
.value-card .num { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--highlight); }
.auth-inline-note { border: 1px solid var(--border); background: var(--muted); border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--fg-muted); }
[data-account-panel][hidden], [data-guest-fields][hidden], [data-login-fields][hidden], [data-register-fields][hidden] { display: none !important; }
