/* Lansing Car Rentals — black / gold / white
   Gold is an accent: CTAs, rules, small highlights. Text stays black or white. */

:root {
  --ink: #0b0b0c;
  --ink-2: #151517;
  --ink-3: #222226;
  --paper: #ffffff;
  --cream: #f6f3ec;
  --line: #e6e1d6;
  --line-dark: #2c2c31;
  --text: #1a1a1c;
  --muted: #5b5b61;           /* 6.6:1 on white */
  --muted-dark: #b9b6ae;      /* 9:1 on ink */
  --gold: #c9a24a;            /* buttons/accents; black text on it = 8.9:1 */
  --gold-light: #e2c47a;      /* gold text on black = 11:1 */
  --gold-deep: #7d5f17;       /* gold text on white/cream = 5.9:1 */
  --danger: #a3261b;
  --ok: #1e6b3a;
  --radius: 14px;
  --radius-sm: 10px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  /* THE shared photo size. Every .photo uses exactly this width + 4:3 ratio. */
  --photo-w: 100%;
  --section-y: 72px;
}
@media (min-width: 700px) { :root { --gutter: 32px; --photo-w: 640px; --section-y: 96px; } }
@media (min-width: 960px) { :root { --photo-w: 500px; --section-y: 112px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.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: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

/* Type */
.display { font-family: var(--serif); font-weight: 700; font-size: clamp(2.1rem, 5.4vw, 3.55rem); line-height: 1.08; letter-spacing: -0.015em; }
.display em { font-style: italic; color: var(--gold-light); }
.h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.14; letter-spacing: -0.01em; }
.h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.2; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); line-height: 1.6; color: #e9e7e1; max-width: 38em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.eyebrow--dark { color: var(--gold-deep); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.eyebrow .i { width: 16px; height: 16px; }
.fine { font-size: .86rem; line-height: 1.55; color: var(--muted-dark); }
.fine--dark { color: var(--muted); }
.fine--center { text-align: center; max-width: 44em; margin: 28px auto 0; }
.muted { color: var(--muted); }
.i { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(201, 162, 74, .7); }
.btn--gold:hover { background: var(--gold-light); color: var(--ink); transform: translateY(-1px); }
.section--dark .btn--gold, .section--dark .btn--gold:hover, .site-header .btn--gold, .sticky-cta .btn--gold { color: var(--ink); }
.btn--outline { background: transparent; border-color: currentColor; color: inherit; }
.btn--outline:hover { background: rgba(201, 162, 74, .12); color: inherit; }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 1.08rem; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.offer { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0; font-size: .98rem; color: #e9e7e1; }
.offer strong { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-light); }
.offer--dark { color: var(--muted); }
.offer--dark strong { color: var(--ink); }
.cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.cta-group--center { justify-content: center; text-align: center; }
.booking-band .offer { color: var(--muted); }
.booking-band .offer strong { color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-dark); color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.wordmark:hover { color: #fff; }
.wordmark__mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--gold); border-radius: 10px; font: 700 .78rem/1 var(--sans); letter-spacing: .08em; color: var(--gold-light); }
.wordmark__text { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; }
.site-nav { display: none; gap: 28px; }
.site-nav a { color: #d8d5cd; text-decoration: none; font-size: .95rem; font-weight: 600; }
.site-nav a:hover { color: var(--gold-light); }
.site-header__cta { display: flex; align-items: center; gap: 14px; }
.price-chip { font-size: .86rem; color: var(--muted-dark); white-space: nowrap; }
.secure-note { font-size: .85rem; color: var(--muted-dark); }
@media (max-width: 520px) { .wordmark__text { font-size: 1rem; } .secure-note { display: none; } }
@media (min-width: 900px) { .site-nav { display: flex; } }
@media (max-width: 459.98px) { .site-header:not(.site-header--simple) .wordmark__text { display: none; } .site-header__cta { gap: 10px; } }

/* Sections */
.section { padding: var(--section-y) 0; }
.section--dark { background: var(--ink); color: #f3f1ec; }
.section--dark a { color: var(--gold-light); }
.section--cream { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); font-size: 1.06rem; margin-top: 16px; }
.section-head--light p:last-child { color: var(--muted-dark); }

/* Split rows: text + one photo. Photo column is exactly --photo-w wide. */
.split { display: grid; gap: 36px; align-items: center; }
.split__text > *:last-child { margin-bottom: 0; }
.split__text .h2, .split__text .h3 { margin-bottom: 18px; }
@media (min-width: 960px) {
  .split { gap: 64px; }
  .split--photo-right { grid-template-columns: minmax(0, 1fr) var(--photo-w); }
  .split--photo-left { grid-template-columns: var(--photo-w) minmax(0, 1fr); }
}
@media (max-width: 959.98px) { .split .photo { justify-self: center; } .split--photo-left .photo, .split--photo-right .photo { order: 2; } .split--photo-left .split__text, .split--photo-right .split__text { order: 1; } .hero .split .photo { order: 2; } }

/* ===== THE PHOTO FRAME (shared by all six photos) ===== */
.photo { margin: 0; width: var(--photo-w); max-width: 100%; }
.photo__frame { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .55); }
.photo__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .35); pointer-events: none; }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.photo__caption { margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--gold); font-size: .92rem; line-height: 1.5; color: var(--muted); }
.section--dark .photo__caption { color: var(--muted-dark); }

/* Hero */
.hero { padding-top: 56px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 85% 10%, rgba(201, 162, 74, .14), transparent 60%); pointer-events: none; }
.hero .container { position: relative; }
.hero .display { margin-bottom: 22px; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 26px 0 10px; }
.stats li { display: flex; flex-direction: column; min-width: 150px; padding: 14px 18px; border: 1px solid var(--line-dark); border-top: 2px solid var(--gold); border-radius: var(--radius-sm); background: var(--ink-2); }
.stats__value { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: #fff; line-height: 1.1; }
.stats__label { font-size: .88rem; color: var(--muted-dark); }
.hero .fine { max-width: 34em; }

/* Checks */
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .i { color: var(--gold-deep); margin-top: 4px; }
.checks--tight { gap: 10px; margin: 16px 0 18px; }

/* Topics */
.topics { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .topics { grid-template-columns: repeat(3, 1fr); } }
.topic { position: relative; padding: 26px 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.topic:hover { border-color: var(--gold); }
.topic__num { display: block; font: 700 .8rem/1 var(--sans); letter-spacing: .14em; color: var(--gold-deep); margin-bottom: 14px; }
.topic__title { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; margin-bottom: 10px; }
.topic p { margin: 0; color: var(--muted); font-size: .98rem; }
.topic--featured { background: var(--ink); border-color: var(--ink); color: #f3f1ec; }
.topic--featured p { color: var(--muted-dark); }
.topic--featured .topic__num { color: var(--gold-light); }
.topic__flag { justify-self: start; width: fit-content; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(201, 162, 74, .16); color: var(--gold-light); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.topic__flag .i { width: 15px; height: 15px; }
@media (min-width: 700px) { .topic--featured { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; } .topic--featured .topic__num { grid-row: span 3; font-size: 2.2rem; font-family: var(--serif); letter-spacing: 0; } }
@media (min-width: 1040px) { .topic--featured { grid-column: span 3; } }

.feature { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.feature--accident { margin-top: 64px; }

/* Value */
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .values { grid-template-columns: repeat(4, 1fr); } }
.values li { padding: 26px 24px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); }
.values h3 { font-family: var(--serif); font-size: 1.25rem; color: #fff; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.values p { margin: 0; color: var(--muted-dark); font-size: .98rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold-light); font: 700 1rem/1 var(--serif); margin-bottom: 14px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.steps .i { color: var(--gold-deep); margin-top: 3px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; font-family: var(--serif); font-size: 1.16rem; font-weight: 700; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 22px; height: 22px; flex: none; border: 1.5px solid var(--gold-deep); border-radius: 50%; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: var(--gold-deep); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 4px 22px; color: var(--muted); }
.faq__answer p { margin: 0; }

/* Final CTA */
.final-cta__inner { text-align: center; }
.final-cta .h2 { max-width: 20em; margin: 0 auto; }

/* Footer */
.site-footer { background: #050506; color: var(--muted-dark); padding: 44px 0 110px; font-size: .9rem; border-top: 1px solid var(--line-dark); }
.site-footer a { color: var(--gold-light); }
.site-footer__inner { display: grid; gap: 24px; }
@media (min-width: 860px) { .site-footer__inner { grid-template-columns: 1fr 1.4fr; } .site-footer { padding-bottom: 44px; } }
.site-footer__brand { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 8px; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: rgba(11, 11, 12, .96); border: 1px solid var(--line-dark); border-radius: 999px; color: #fff; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); }
.sticky-cta[hidden] { display: none; }
.sticky-cta__offer { font-size: .95rem; }
.sticky-cta__offer strong { color: var(--gold-light); font-family: var(--serif); font-size: 1.2rem; }
@media (min-width: 900px) { .sticky-cta { display: none !important; } }

/* ===== Booking page ===== */
.page-book { background: var(--cream); }
.book { padding-top: 32px; }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-weight: 600; }
.book__head .offer { flex-wrap: nowrap; align-items: baseline; }
.book__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 26px; }
.book__grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 980px) { .book__grid { grid-template-columns: 1.15fr 1fr; gap: 28px; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
@media (min-width: 700px) { .panel { padding: 30px; } }
.book__grid .panel { margin-bottom: 0; }
.panel--center { text-align: center; }
.panel--narrow { max-width: 440px; margin: 0 auto; }
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }
.panel .h3 { font-size: 1.3rem; }
.tz-note { margin: 0; font-size: .9rem; color: var(--muted); }
.tz-note strong { color: var(--text); }
.hint { font-size: .86rem; color: var(--muted); margin: 8px 0 0; }
.hint--center { text-align: center; margin-top: 12px; }

.week { display: grid; grid-template-columns: 40px 1fr 40px; gap: 8px; align-items: stretch; margin-bottom: 18px; }
.week__nav { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-sm); font-size: 1.4rem; cursor: pointer; color: var(--text); }
.week__nav:disabled { opacity: .35; cursor: default; }
.week__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 2px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer; font: inherit; color: var(--text); min-width: 0; }
.day:hover { border-color: var(--gold); }
.day.is-selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.day.is-empty .day__count { color: #9a988f; }
.day.is-blocked { background: repeating-linear-gradient(45deg, #f3f0e9, #f3f0e9 6px, #ebe6db 6px, #ebe6db 12px); }
.day.is-selected.is-blocked { background: var(--ink-3); }
.day__dow { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.day__date { font-family: var(--serif); font-weight: 700; font-size: .98rem; white-space: nowrap; }
.day__count { font-size: .68rem; color: var(--gold-deep); white-space: nowrap; }
.day.is-selected .day__count { color: var(--gold-light); }
@media (max-width: 639.98px) {
  .week { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 6px; }
  .week__days { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
  .week__days::-webkit-scrollbar { display: none; }
  .day { flex: 0 0 68px; scroll-snap-align: start; padding: 9px 2px; }
}

.slots-wrap { border: 0; padding: 0; margin: 0; min-width: 0; }
.slots__label { font-weight: 700; margin: 0 0 10px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font: 600 .95rem/1 var(--sans); color: var(--text); cursor: pointer; }
.slot:hover { border-color: var(--gold); background: #fffaf0; }
.slot.is-selected { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.fields { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #cfc9bc; border-radius: var(--radius-sm); font: inherit; color: var(--text); background: #fff; }
.field input:focus { border-color: var(--gold-deep); outline: 3px solid rgba(201, 162, 74, .35); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; font-weight: 600; margin: 6px 0 0; }

.summary { margin: 24px 0 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); }
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: .95rem; }
.summary__row span { color: var(--muted); }
.summary__row strong { text-align: right; }
.summary__row--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 1.05rem; }

.policy { margin-bottom: 20px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--gold); background: #fffaf0; }
.policy__title { font-weight: 800; margin-bottom: 6px; }
.policy p { font-size: .94rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check--inline { font-weight: 500; font-size: .92rem; align-items: center; }
.check--inline input { width: 18px; height: 18px; margin: 0; }

.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.notice--error { border-color: #e7b5ae; background: #fdf1ef; color: var(--danger); }
.notice--info { border-color: var(--gold); background: #fffaf0; color: var(--text); }
.notice--ok { border-color: #a9d6b8; background: #eff8f2; color: var(--ok); }

/* Thank-you */
.thanks { min-height: 60vh; }
.thanks__card { max-width: 680px; margin: 0 auto; padding: 36px 28px; border: 1px solid var(--line-dark); border-top: 3px solid var(--gold); border-radius: var(--radius); background: var(--ink-2); }
@media (min-width: 700px) { .thanks__card { padding: 48px; } }
.thanks__card .h2 { margin-bottom: 26px; }
.thanks__details { display: grid; gap: 0; margin: 0 0 24px; border-top: 1px solid var(--line-dark); }
.thanks__details div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.thanks__details dt { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); padding-top: 3px; }
.thanks__details dd { margin: 0; font-weight: 700; color: #fff; }
.thanks .btn--outline { color: var(--gold-light); margin-top: 8px; }

/* Owner */
.owner-login { min-height: 80vh; background: var(--cream); }
.owner { background: var(--cream); min-height: 100vh; padding-top: 32px; }
.owner__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.table-wrap { overflow-x: auto; }
.appts { width: 100%; border-collapse: collapse; font-size: .94rem; }
.appts th { text-align: left; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.appts td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.flag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; margin: 0 4px 4px 0; white-space: nowrap; }
.flag--ok { background: #eff8f2; border-color: #a9d6b8; color: var(--ok); }
.flag--bad { background: #fdf1ef; border-color: #e7b5ae; color: var(--danger); }
.owner-day__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; font-size: .82rem; color: var(--muted); }
.lg::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--line); }
.lg--available::before { background: #fff; }
.lg--blocked::before { background: #d9d4c8; }
.lg--booked::before { background: var(--ink); }
.lg--held::before { background: var(--gold); }
.owner-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.oslot { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font: inherit; text-align: left; cursor: pointer; color: var(--text); }
.oslot:hover:not(:disabled) { border-color: var(--gold); }
.oslot:disabled { cursor: default; }
.oslot__time { font-weight: 700; }
.oslot__state { font-size: .76rem; color: var(--muted); }
.oslot--blocked { background: #e7e2d7; }
.oslot--booked { background: var(--ink); color: #fff; border-color: var(--ink); }
.oslot--booked .oslot__state { color: var(--gold-light); }
.oslot--held { background: #fbf1d8; border-color: var(--gold); }
.oslot--too_soon, .oslot--beyond_horizon { opacity: .55; }

/* Owner appointments as stacked cards on small screens */
@media (max-width: 699.98px) {
  .appts thead { display: none; }
  .appts, .appts tbody, .appts tr, .appts td { display: block; width: 100%; }
  .appts tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .appts td { border: 0; padding: 3px 0; overflow-wrap: anywhere; }
  .appts td::before { content: attr(data-label); display: inline-block; min-width: 92px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
}

/* Owner setup notice */
.setup-list { margin: 6px 0 10px; padding-left: 20px; font-weight: 500; }
.setup-list li { margin: 4px 0; }
