:root {
  color-scheme: light;
  --ink: #172635;
  --muted: #607080;
  --line: #dce3ea;
  --surface: #fff;
  --canvas: #f4f7fa;
  --brand: #164b63;
  --brand-hover: #0f394c;
  --pending: #fce9a6;
  --confirmed: #177b68;
  --checked-in: #285b87;
  --checked-out: #e7edf2;
  --blocked: #a83a2e;
  --focus: #e59b20;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.5; }
a { color: #155c78; }
a:hover { color: var(--brand-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; top: -4rem; left: 1rem; z-index: 2;
  padding: .6rem 1rem; background: #fff; border-radius: .4rem;
}
.skip-link:focus { top: .5rem; }
nav[aria-label] {
  display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  min-height: 3.6rem; padding: .5rem clamp(1rem, 3vw, 2.5rem);
  background: #132b3a; color: #fff;
}
nav[aria-label] a { color: #e3eef3; text-decoration: none; padding: .5rem .7rem; border-radius: .35rem; }
nav[aria-label] a:hover { background: #254456; color: #fff; }
nav[aria-label] .brand { color: #fff; font-weight: 750; margin-right: .4rem; }
nav .spacer { flex: 1; }
nav .user { color: #bfd0d9; font-size: .9rem; padding: .5rem; }
main { max-width: 1440px; margin: 0 auto; padding: clamp(1rem, 3vw, 2.25rem); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: .25rem; font-size: clamp(1.75rem, 3vw, 2.35rem); letter-spacing: -.035em; line-height: 1.15; }
h2 { font-size: 1.15rem; letter-spacing: -.015em; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.rate-management-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); gap: 1rem; }
.quote-breakdown { margin: -.5rem 0 1rem; padding-left: 1.25rem; color: var(--muted); font-size: .9rem; }
.date-range-picker { min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .65rem; }
.date-range-picker legend { padding: 0 .35rem; font-weight: 700; }
.date-range-summary { min-height: 1.5rem; margin-bottom: .75rem; color: var(--muted); }
.date-range-controls { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.date-range-controls button { min-width: 2.5rem; }
.date-range-calendar { display: grid; grid-template-columns: repeat(7, minmax(2.25rem, 1fr)); gap: .25rem; }
.date-range-weekday { padding: .35rem 0; color: var(--muted); font-size: .78rem; font-weight: 700; text-align: center; }
.date-range-day { min-height: 2.5rem; padding: .35rem; border: 0; border-radius: .4rem; background: transparent; color: var(--ink); cursor: pointer; font: inherit; }
.date-range-day:hover:not(:disabled), .date-range-day.is-preview { background: #dcecf2; }
.date-range-day.is-in-range { border-radius: 0; background: #e8f2f5; }
.date-range-day.is-start, .date-range-day.is-end { border-radius: .4rem; background: var(--brand); color: #fff; }
.date-range-day:disabled { color: #aab4bc; cursor: not-allowed; }
.eyebrow { margin-bottom: .25rem; color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.muted, .subline { color: var(--muted); }
.button-link, button {
  display: inline-flex; justify-content: center; align-items: center; gap: .35rem;
  min-height: 2.5rem; padding: .55rem .85rem; border: 1px solid #b9c7d1;
  border-radius: .45rem; background: #fff; color: var(--ink); font: inherit;
  font-size: .9rem; font-weight: 650; text-decoration: none; cursor: pointer;
}
.button-link:hover, button:hover { border-color: #879cab; background: #f7fafc; color: var(--ink); }
.button-link.primary, button.primary { border-color: var(--brand); background: var(--brand); color: #fff; }
.button-link.primary:hover, button.primary:hover { background: var(--brand-hover); }
.panel { padding: 1.1rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); box-shadow: 0 2px 8px #192f3b0a; }
.today-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.today-grid .panel { min-height: 13rem; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.section-heading h2 { margin-bottom: 0; }
.count { min-width: 2rem; padding: .12rem .55rem; border-radius: 99px; background: #eaf0f4; color: #294556; font-size: .85rem; font-weight: 750; text-align: center; }
.operations-list { list-style: none; margin: 0; padding: 0; }
.operations-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1rem; padding: .7rem 0; border-top: 1px solid #edf1f4; }
.operations-list li:first-child { border-top: 0; }
.operations-list li > a { font-weight: 700; }
.operations-list li > span { color: var(--muted); font-size: .88rem; text-align: right; }
.operations-list li > .status-text { grid-column: 1 / -1; text-align: left; text-transform: capitalize; }
.attention-panel { margin-top: 1rem; }
.empty-state { padding: 1.2rem; color: var(--muted); text-align: center; }
.empty-state h2 { color: var(--ink); margin-bottom: .4rem; }
.table-wrap { max-width: 100%; overflow-x: auto; border-radius: .45rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .7rem .75rem; border-bottom: 1px solid #e8edf1; text-align: left; vertical-align: middle; }
thead th { color: #526575; background: #f7f9fb; font-size: .76rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f8fafc; }
.subline { display: block; font-size: .78rem; }
.status-label, .status-badge { display: inline-block; padding: .18rem .5rem; border-radius: 99px; background: #e7edf2; font-size: .78rem; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.res-pending.status-label, .status-badge.res-pending { background: var(--pending); color: #453300; }
.res-confirmed.status-label, .status-badge.res-confirmed { background: #d9f2e9; color: #0b5d49; }
.res-checked_in.status-label, .status-badge.res-checked_in { background: #dceaf7; color: #1f4d76; }
.res-checked_out.status-label, .status-badge.res-checked_out { background: #e7edf2; color: #435363; }
.res-cancelled.status-label, .res-no_show.status-label, .res-expired.status-label { background: #f9e3e0; color: #8f2f25; }
.filters { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)); gap: .9rem; align-items: end; }
.filters label, form label { display: grid; gap: .35rem; color: #334957; font-size: .86rem; font-weight: 650; }
input, select, textarea { width: 100%; min-height: 2.55rem; padding: .55rem .65rem; border: 1px solid #bdcbd5; border-radius: .4rem; background: #fff; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
.filter-actions { display: flex; align-items: center; gap: .9rem; min-height: 2.55rem; }
.results-heading { display: flex; justify-content: flex-end; margin: 1rem 0 .5rem; color: var(--muted); font-size: .85rem; }
.results-heading p { margin: 0; }
form#reservation-form, form#reservation-edit-form, form#payment-form, form#block-form { max-width: 38rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: .75rem; background: #fff; }
form#reservation-form label, form#reservation-edit-form label, form#payment-form label, form#block-form label { margin: .75rem 0; }
form#reservation-form button, form#reservation-edit-form button, form#payment-form button, form#block-form button { margin-top: .35rem; }
.form-errors, .success-message { margin: .5rem 0 1rem; padding: .75rem 1rem; border-radius: .5rem; }
.form-errors { border: 1px solid #edc5bf; background: #fff1ef; color: #852e25; }
.success-message { border: 1px solid #b9e0d0; background: #eaf7f1; color: #155d47; }
.form-errors li + li { margin-top: .2rem; }
dl.details { display: grid; grid-template-columns: minmax(9rem, .35fr) 1fr; gap: .35rem 1rem; max-width: 52rem; margin: 1rem 0 2rem; }
dl.details dt { font-weight: 700; }
dl.details dd { margin: 0; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 1.5rem; }
.check-in-form { width: min(100%, 34rem); }
.vehicle-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-bottom: .6rem; }
.vehicle-row input { width: 100%; }
.totals { font-weight: 650; }
table#payments, table#blocks-table { margin: .5rem 0 1rem; border: 1px solid var(--line); border-radius: .5rem; overflow: hidden; }
.calendar-nav { display: flex; gap: .5rem; margin: 1rem 0; }
.calendar-view-nav { display: flex; gap: .3rem; width: max-content; max-width: 100%; margin-top: 1rem; padding: .25rem; border: 1px solid var(--line); border-radius: .65rem; background: #f2f6f8; }
.calendar-view-nav a { padding: .45rem .8rem; border-radius: .45rem; color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.calendar-view-nav a[aria-current="page"] { background: #fff; color: var(--brand); box-shadow: 0 1px 4px #192f3b18; }
.calendar-view-nav a:focus-visible { outline: 3px solid #e6a62e; outline-offset: 1px; }
.calendar-wrap { max-width: 100%; overflow: auto; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
#calendar { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; font-size: .82rem; }
#calendar th, #calendar td { min-width: 2.55rem; padding: .28rem; border-right: 1px solid #e5ebef; border-bottom: 1px solid #e5ebef; text-align: center; }
#calendar thead th { position: sticky; top: 0; z-index: 1; background: #f7f9fb; text-transform: none; letter-spacing: 0; }
#calendar th:first-child { position: sticky; left: 0; z-index: 2; min-width: 9rem; background: #f7f9fb; text-align: left; }
#calendar thead th:first-child { z-index: 3; }
#calendar th.day { min-width: 2.7rem; }
#calendar th.day span, #calendar th.day strong { display: block; }
#calendar th.day span { color: var(--muted); font-size: .68rem; font-weight: 550; }
#calendar th.day strong { font-size: .85rem; }
#calendar th.day.today { color: #0c5571; box-shadow: inset 0 -3px #e6a62e; }
#calendar th.day.today span { color: #0c5571; }
#calendar th.cabin { white-space: nowrap; }
#calendar td.cell { height: 2.4rem; }
#calendar td.cell a { display: block; color: inherit; font-weight: 750; text-decoration: none; }
#calendar td.cell a:hover { text-decoration: underline; }
.calendar-status { display: inline-block; min-width: 1rem; margin-left: .12rem; padding: 0 .12rem; border-radius: .2rem; background: #ffffffaa; color: inherit; font-size: .62rem; font-weight: 800; line-height: 1.35; }
#calendar .span-start { border-top-left-radius: .5rem; border-bottom-left-radius: .5rem; }
#calendar .span-end { border-top-right-radius: .5rem; border-bottom-right-radius: .5rem; }
#calendar td.free.today { box-shadow: inset 0 0 0 2px #e6a62e; }
#calendar td.free a { color: #738693; }
#calendar td.blocked { background: #f9e3e0; color: var(--blocked); font-weight: 800; }
.res-pending { background: var(--pending); color: #453300; }
.res-confirmed { background: var(--confirmed); color: #fff; }
.res-checked_in { background: var(--checked-in); color: #fff; }
.res-checked_out { background: var(--checked-out); color: #435363; }
.turnover-pending { background: #fff0c2; color: #4f3a00; }
.turnover-in_progress { background: #d9eaf5; color: #17445d; }
.turnover-ready { background: #dcefe3; color: #1f5632; }
.blocked { background: var(--blocked); color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0; }
.legend .swatch { padding: .25rem .65rem; border-radius: 99px; font-size: .78rem; font-weight: 650; }
.agenda-list { margin: 0; padding: 0 1rem; list-style: none; }
.agenda-event { display: grid; grid-template-columns: minmax(12rem, .9fr) minmax(0, 1.6fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #edf1f4; }
.agenda-event:last-child { border-bottom: 0; }
.agenda-date, .agenda-description { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem .75rem; }
.agenda-date { align-content: start; color: #405767; font-variant-numeric: tabular-nums; }
.agenda-description > * { min-width: 0; }
.agenda-description > a, .agenda-description > strong { font-weight: 750; }
.agenda-description > span:last-child { color: var(--muted); }
.htmx-indicator { display: none; position: sticky; top: .5rem; z-index: 5; width: max-content; margin: 0 auto .5rem; padding: .4rem .8rem; border: 1px solid #c6d7e1; border-radius: 99px; background: #fff; color: var(--ink); box-shadow: 0 2px 8px #192f3b18; }
.htmx-indicator.htmx-request { display: block; }
.heading-period { color: #516675; font-size: .72em; font-weight: 550; letter-spacing: -.02em; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1.6rem; }
.metric-card { min-width: 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .7rem; background: #fff; box-shadow: 0 2px 8px #192f3b0a; }
.metric-label { margin-bottom: .35rem; color: #4e6372; font-size: .84rem; font-weight: 700; }
.metric-value { margin: 0; color: #173d50; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 760; letter-spacing: -.04em; line-height: 1.2; overflow-wrap: anywhere; }
.metric-note { margin: .45rem 0 0; color: var(--muted); font-size: .78rem; }
.report-section { margin-top: 1.5rem; }
.report-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; }
.report-heading h2 { margin-bottom: .2rem; }
.report-heading .eyebrow { margin-bottom: .15rem; }
.report-heading p { margin-bottom: .2rem; }
.strong-cell { font-weight: 700; }
.occupancy-value { min-width: 9rem; }
.occupancy-value > span { display: inline-block; min-width: 3.3rem; font-weight: 700; }
.occupancy-value progress { width: min(8rem, 50%); height: .55rem; margin-left: .35rem; accent-color: var(--brand); vertical-align: .06rem; }
#occupancy tfoot { background: #f3f7f9; }
#occupancy tfoot th { border-top: 1px solid var(--line); }
.rate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.rate-grid > div { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.rate-grid dt { color: #526575; font-size: .8rem; font-weight: 700; }
.rate-grid dd { margin: .15rem 0 0; font-size: 1.3rem; font-weight: 750; }
.rate-grid dd span { color: var(--muted); font-size: .88rem; font-weight: 550; }
.balance-cell { color: #8f3e28; font-weight: 750; white-space: nowrap; }
.guest-search { grid-template-columns: minmax(0, 2fr) auto; align-items: end; }
.guest-contact { margin-bottom: 1.4rem; }
.guest-contact h2 { margin-top: 0; }
.guest-contact dl { max-width: 48rem; }
.guest-history .results-heading { align-items: baseline; }
.guest-history .results-heading h2 { margin: 0; }
.guest-history .results-heading p { margin: 0; }
.upcoming-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.upcoming-grid .report-heading { align-items: center; }
.upcoming-list { list-style: none; margin: 0; padding: 0; }
.upcoming-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; padding: .75rem 0; border-top: 1px solid #edf1f4; }
.upcoming-list li:first-child { border-top: 0; }
.upcoming-list time { color: #526575; font-size: .84rem; font-variant-numeric: tabular-nums; }
.upcoming-list li div > a, .upcoming-list li div > span { display: block; }
.upcoming-list li div > a { font-weight: 700; }
.upcoming-list li div > span { color: var(--muted); font-size: .82rem; text-transform: capitalize; }
table#occupancy, table#outstanding, table#blocks-table { border-collapse: collapse; margin: 0; border: 0; border-radius: 0; overflow: visible; }
table#occupancy td, table#outstanding td, table#blocks-table td { white-space: nowrap; }
table#outstanding td:nth-child(2), table#blocks-table td:nth-child(4) { white-space: normal; min-width: 9rem; }
table#blocks-table button { min-height: 2.2rem; padding: .35rem .65rem; }
.cabin-inventory-list { display: grid; gap: 1rem; }
.cabin-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.cabin-form.panel { padding: 1rem; }
.cabin-form-actions { grid-column: 1 / -1; }
.cabin-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.cabin-card-heading h3 { margin: 0 0 .2rem; font-size: 1.1rem; }
.cabin-card-heading p { margin-bottom: .75rem; }
.cabin-bed-count { padding: .2rem .6rem; border-radius: 99px; background: #eaf0f4; font-size: .85rem; font-weight: 650; }
.cabin-feature-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.cabin-feature-list li { padding: .2rem .55rem; border-radius: 99px; background: #eaf3f6; color: #244a5b; font-size: .82rem; }
.cabin-active-form { margin-top: .75rem; }
.guest-signin-prompt { display: grid; justify-items: start; gap: .6rem; padding: 1rem; border: 1px solid var(--card-border); border-radius: .6rem; background: var(--canvas); }
.guest-request-list { display: grid; gap: 1rem; }
.guest-request-card h2 { margin-top: 0; }
.guest-auth-form { display: grid; gap: .9rem; max-width: 38rem; }
.guest-auth-form label { display: grid; gap: .35rem; }
.guest-auth-form button { justify-self: start; }
.guest-registration-details { padding-top: .25rem; }
.guest-registration-details summary { cursor: pointer; font-weight: 650; }
.guest-registration-fields { display: grid; gap: .9rem; margin: .9rem 0 0; padding: 0; border: 0; }

/* Navigation badge & request inbox */
nav[aria-label] .nav-requests {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d97706;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  line-height: 1;
}
.requests-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  flex-wrap: wrap;
}
.requests-tabs a {
  padding: 0.45rem 0.85rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}
.requests-tabs a.active {
  background: var(--brand);
  color: #fff;
}
.requests-tabs a:hover:not(.active) {
  background: #eaf0f4;
  color: var(--ink);
}
.requests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 32rem), 1fr));
  gap: 1.25rem;
}
.request-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(25, 47, 59, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.request-card.urgent {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px #f59e0b, 0 2px 10px rgba(245, 158, 11, 0.1);
}
.request-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.request-expiry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
}
.request-expiry-badge.urgent {
  background: #fee2e2;
  color: #991b1b;
}
.request-expiry-badge.expired {
  background: #f3f4f6;
  color: #6b7280;
}
.request-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.request-info-group strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.btn-wa-staff {
  background: #25d366;
  color: #fff;
  border: none;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.4rem;
  font-size: 0.85rem;
  transition: background-color 0.15s;
}
.btn-wa-staff:hover {
  background: #128c7e;
  color: #fff;
}
.btn-confirm {
  background: #059669;
  border-color: #059669;
  color: #fff;
}
.btn-confirm:hover {
  background: #047857;
  color: #fff;
}
.btn-reject {
  color: #dc2626;
  border-color: #fca5a5;
  background: #fff;
}
.btn-reject:hover {
  background: #fef2f2;
  border-color: #dc2626;
}
.app-version {
  color: var(--muted);
  font-size: 0.75rem;
  padding: 0 1.5rem 1rem;
  text-align: right;
}

.payment-choice {
  padding: 1.75rem clamp(1rem, 4vw, 2rem);
  margin-bottom: 1.75rem;
}
.payment-choice h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--brand);
}
.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}
.payment-options .payment-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  padding: 1.25rem;
  border: 2px solid var(--card-border);
  border-radius: .65rem;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.payment-option strong {
  font-size: 1rem;
}
.payment-option span {
  font-size: .85rem;
  color: var(--body-text);
}
.payment-options .payment-option:hover,
.payment-options .payment-option.is-selected {
  border-color: var(--brand);
  background: var(--quote-bg);
}
.payment-options .payment-option:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.payment-option .payment-option-note {
  padding: .15rem .5rem;
  border-radius: 999px;
  background: var(--canvas);
  font-weight: 600;
}
.request-form-intro { margin: 0 0 1rem; color: var(--body-text); font-size: .9rem; line-height: 1.55; }
.request-verified-email { display: flex; flex-wrap: wrap; gap: .25rem .4rem; margin: 0 0 1.25rem; color: var(--muted); }
.request-verified-email strong { color: var(--ink); }
.request-form-section { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--card-border); }
.request-form-section h4 { margin: 0 0 .9rem; color: var(--ink); font-size: 1rem; }
.request-form-section h4 span { color: var(--muted); font-size: .88rem; font-weight: 400; }
.request-personal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.request-guest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.request-field-hint { margin: .45rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.request-child-ages { display: grid; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); gap: .75rem; margin-top: .7rem; }
.request-pet-card { min-height: 100%; padding: 1rem; border: 1px solid var(--card-border); border-radius: .65rem; background: var(--surface); }
.request-pet-choice { display: flex; align-items: center; gap: .65rem; color: var(--ink); cursor: pointer; }
.request-pet-choice input[type="checkbox"], .request-payment-choice input[type="radio"] { flex: 0 0 auto; width: 1.2rem; min-height: 1.2rem; height: 1.2rem; margin: 0; padding: 0; accent-color: var(--brand); }
.request-notes-label { margin: 0; }
.request-notes-label textarea { min-height: 5rem; }
.request-payment-fieldset { margin: 1.35rem 0 0; padding: 1rem; border: 1px solid var(--card-border); border-radius: .75rem; }
.request-payment-fieldset legend { padding: 0 .4rem; color: var(--ink); font-size: 1rem; font-weight: 700; }
.request-payment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.request-payment-choice { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border: 1px solid var(--card-border); border-radius: .7rem; background: var(--surface); color: var(--ink); cursor: pointer; }
.request-payment-choice:has(input:checked) { border-color: var(--brand); background: var(--quote-bg); box-shadow: inset 0 0 0 1px var(--brand); }
.request-payment-choice:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.request-payment-choice > span { display: grid; gap: .35rem; }
.request-payment-choice strong { font-size: .95rem; }
.request-payment-choice small { color: var(--muted); font-size: .83rem; line-height: 1.4; }
.request-payment-note { margin: .8rem 0 0; color: var(--muted); font-size: .83rem; }
.request-form-submit { display: flex; justify-content: flex-end; margin-top: 1rem; }
.request-form-submit button { min-height: 2.75rem; padding-inline: 1.25rem; }
.payment-unavailable {
  margin: 1rem 0 0;
  padding: 1rem;
  border-radius: .5rem;
  background: var(--canvas);
}

@media (max-width: 900px) {
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters label:first-child { grid-column: 1 / -1; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-guest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-pet-card { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 640px) {
  nav[aria-label] { gap: .1rem; }
  nav[aria-label] a { padding: .45rem .5rem; font-size: .86rem; }
  nav .spacer { display: none; }
  nav .user { order: 1; width: 100%; padding: .1rem .5rem .3rem; }
  main { padding: 1rem; }
  .page-heading { align-items: flex-start; }
  .today-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .filters label:first-child { grid-column: auto; }
  .filter-actions { justify-content: space-between; }
  .calendar-nav { flex-wrap: wrap; }
  .agenda-event { grid-template-columns: 1fr; gap: .35rem; }
  dl.details { grid-template-columns: 1fr; gap: .1rem; }
  .vehicle-row { grid-template-columns: 1fr; }
  dl.details dd { margin-bottom: .6rem; }
  .operations-list li { grid-template-columns: 1fr; }
  .operations-list li > span { text-align: left; }
  .operations-list li > .status-text { grid-column: auto; }
  .upcoming-grid { grid-template-columns: 1fr; }
  .rate-grid { grid-template-columns: 1fr; }
  .report-heading { align-items: flex-start; }
  .cabin-form { grid-template-columns: 1fr; }
  .cabin-form-actions { grid-column: auto; }
  .cabin-card-heading { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .request-personal-grid, .request-guest-grid, .request-payment-options { grid-template-columns: 1fr; }
  .request-pet-card { grid-column: auto; }
  .request-form-submit button { width: 100%; }
}
