:root {
  color-scheme: light;
  font: 400 15px/1.5 "Mali", Thonburi, system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  --ink: #263841;
  --muted: #66747a;
  --accent: #ac3b66;
  --on-accent: white;
  --soft: #fbf0f4;
  --canvas: #f6f8f8;
  --surface: #ffffff;
  --border: #e1e7e7;
  --success: #256451;
  --notice: #a04731;
  --open-fill: #edf5f1;
  --open-border: #dcebe2;
  --full-ink: #7b6658;
  --full-fill: #f3f0ec;
  --full-border: #e6dfd5;
  min-height: 100dvh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  overflow-wrap: anywhere;
}

h1, h2, h3, p, ul, dl, figure { margin: 0; }
h1 { font-size: clamp(21px, 5.8vw, 28px); line-height: 1.25; }
h2 { font-size: 16px; line-height: 1.35; }
h3 { font-size: 15px; line-height: 1.35; }
small, .fine { font-size: 12px; color: var(--muted); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.amount { font-variant-numeric: tabular-nums; white-space: nowrap; }

.app-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  width: min(100%, 1000px);
  margin: auto;
  padding: 0 14px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wordmark {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
}
.demo-label {
  color: var(--muted);
  font-size: 12px;
}
.header-actions { display: flex; align-items: center; gap: 15px; }
.header-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--accent); }
.header-actions .demo-label { font-size: 10px; padding-left: 13px; border-left: 1px solid var(--border); }

.main-shell { width: min(100%, 1000px); margin: 0 auto; padding: 12px 14px 18px; }
.flow-page { display: grid; gap: 16px; }
.page-intro { display: grid; gap: 3px; }
.page-intro p { color: var(--muted); font-size: 13px; }
.page-intro h1:focus { outline: none; }

.btn, .icon-btn {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--surface);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover:not(:disabled) { filter: brightness(.91); }
.btn:disabled { background: var(--border); color: var(--muted); border-color: transparent; }
.btn-text { background: transparent; border: 0; color: var(--accent); font-size: 13px; }
.icon-btn { width: 44px; padding: 0; flex: 0 0 auto; font-size: 21px; }
.icon-btn:disabled { color: var(--muted); opacity: .6; }
.button-row { display: flex; align-items: center; gap: 7px; }
.button-row > .btn-primary { flex: 1; min-width: 0; text-align: center; }
.button-row > .btn-secondary { flex: 0 0 auto; }
.action-bar { display: grid; gap: 5px; padding: 8px 0 0; border-top: 1px solid var(--border); }

.page-columns, .main-column { min-width: 0; display: grid; gap: 10px; align-content: start; }
.calendar-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 7px;
}
.month-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 3px;
}
.month-title { text-align: center; font-weight: 700; font-size: 15px; }
.month-nav .icon-btn { border-color: transparent; background: #f4f6f6; }

.month-grid {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  align-items: stretch;
  gap: 2px;
  text-align: center;
}
.month-weekday { color: var(--muted); font-size: 11px; font-weight: 600; padding: 2px 0; }
.date-cell {
  border: 1px solid transparent;
  min-width: 0;
  padding: 0 1px;
  min-height: 29px;
  display: grid;
  gap: 2px;
  place-content: center;
  justify-items: center;
  text-align: center;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  background: transparent;
  color: var(--muted);
}
.date-cell.has-round {
  min-height: 44px;
  border-radius: 12px;
  border-color: transparent;
  background: var(--open-fill);
  color: var(--success);
  font-weight: 700;
}
.date-cell.is-full {
  border-color: var(--full-border);
  background: var(--full-fill);
  color: var(--full-ink);
}
.date-cell.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.date-cell.is-empty { visibility: hidden; }
.day-count { font-size: 11px; font-weight: 700; white-space: nowrap; }

.calendar-key {
  margin: 8px 0 2px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 11px;
}
.calendar-key span { display: inline-flex; gap: 4px; align-items: center; }
.day-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.calendar-key .full { background: var(--full-ink); }
.date-events { display: grid; align-content: start; gap: 6px; }
.date-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 8px; }
.round-summary { color: var(--success); font-weight: 700; font-size: 12px; white-space: nowrap; }
.round-summary.is-full { color: var(--full-ink); }

.event-option {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 6px 9px;
  background: var(--surface);
}
.event-option { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 8px; }
.event-select {
  min-height: 49px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  text-align: start;
}
.event-select { border: none; padding: 0; background: transparent; min-width: 0; }
.event-poster { display: grid; place-items: center; min-height: 56px; overflow: hidden; border-radius: 5px; background: var(--soft); }
.event-poster img { display: block; width: 44px; height: 56px; object-fit: cover; }
.event-option:hover { border-color: #bdc9c9; }
.event-info { min-width: 0; display: grid; gap: 1px; }
.event-info b { font-size: 14px; line-height: 1.36; }
.event-info small { line-height: 1.37; }
.event-info small:first-of-type { font-weight: 600; }
.event-status { color: var(--success); font-size: 12px; font-weight: 700; text-align: right; white-space: nowrap; }
.event-status.is-full, .pack-state.is-full { color: var(--full-ink); }
.upcoming .event-status { color: var(--accent); }
.event-status::after { content: " ›"; color: var(--accent); }
.date-events .event-option { border-inline-start: 3px solid #85b19f; }
.date-events .event-option.is-full { border-inline-start-color: #c2b6aa; }
.event-source { color: var(--accent); font-size: 12px; justify-self: start; }

@media (hover: hover) {
  .date-cell.has-round:not(.is-selected):hover { border-color: currentColor; }
}

.selection, .receipt, .notice, .account-form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 11px;
}
.selection { display: grid; gap: 4px; background: #edf3f6; border-color: transparent; }
.selection b { font-size: 15px; }
.pack-price { text-align: right; font-weight: 700; display: grid; justify-items: end; gap: 1px; }


.pack-state { font-size: 11px; color: var(--success); }
.notice { color: var(--notice); font-size: 13px; }

.form-stack { display: grid; gap: 8px; }
.field { display: grid; gap: 3px; min-width: 0; }
.field label { font-weight: 700; font-size: 14px; }
.field input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 5px 8px;
  min-height: 44px;
  width: 100%;
  font-size: 16px;
}
.field-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 5px; }

.inline-summary, .hold-line, .payment-method { display: flex; justify-content: space-between; align-items: center; gap: 7px; }
.inline-summary p { font-size: 13px; color: var(--muted); }
.hold-line { background: #edf3f6; border-radius: 9px; padding: 6px 9px; font-size: 13px; }
.hold-line output { font-weight: 700; }
.receipt { display: grid; gap: 6px; }
.receipt dl { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; border-top: 1px dashed var(--border); padding-top: 6px; }
.receipt dt { color: var(--muted); font-size: 13px; }
.receipt dd { text-align: right; margin: 0; }
.payment-method { border: 1px solid var(--border); border-radius: 9px; background: var(--surface); padding: 6px 9px; }
.payment-method b { font-size: 14px; }
.completed-icon { display: grid; place-items: center; background: var(--soft); color: var(--success); width: 37px; height: 37px; border-radius: 50%; font-weight: 700; }

@media (max-width: 355px) {
  .header-inner, .main-shell { padding-inline: 10px; }
  .month-grid { gap: 1px; }
  .calendar-panel { padding-inline: 4px; }
  .btn { font-size: 13px; padding-inline: 7px; }
  .event-option { padding-inline: 7px; }
}

@media (min-width: 720px) {
  .header-inner, .main-shell { padding-inline: 22px; }
  .main-shell { padding-block: 22px; }
  .page-columns { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .calendar-panel { padding: 10px; }
  .action-bar { grid-column: 1 / -1; }
  .flow-page { gap: 13px; }
}

/* Shared storefront structure. */
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-heading > div { min-width: 0; }
.section-caption { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.text-link { color: #405e6e; font-size: 12px; font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; gap: 6px; }
.text-link:hover { text-decoration: underline; }
.home-page { display: grid; gap: 28px; }
.home-hero { position: relative; isolation: isolate; margin: -12px -14px 0; background: #f4eff5; border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; display: grid; }
.home-visual { position: absolute; inset: 0; pointer-events: none; }
.home-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 85% top; opacity: .94; }
.home-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250,247,252,0) 0%, rgba(250,247,252,.06) 25%, rgba(250,247,252,.84) 46%, rgba(252,250,253,.96) 66%, #fff 100%); }
.home-copy { padding: 228px 20px 20px; }
.home-copy h1 { font-size: clamp(25px, 6.8vw, 32px); line-height: 1.4; letter-spacing: -.4px; margin-bottom: 9px; }
.home-copy p { font-size: 12px; color: #485764; line-height: 1.8; }
.home-actions { display: flex; gap: 20px; margin-top: 16px; align-items: center; }
.home-actions > .btn { padding-inline: 22px; }
.home-actions .text-link { font-size: 12px; }
.service-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--border); margin-inline: 20px; padding-block: 15px; gap: 8px; }
.service-strip > span { display: grid; gap: 4px; }
.service-strip > span:not(:first-child) { text-align: center; }
.service-strip b { font-size: 11px; font-weight: 600; white-space: nowrap; }
.service-strip small { font-size: 10px; line-height: 1.5; }
.upcoming, .rental-offers, .included-section, .faq-section { display: grid; gap: 12px; }
.upcoming-list, .events-list, .packages-list { display: grid; gap: 8px; }
.home-page .event-option { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; padding: 8px 0 12px; }
.event-status { font-size: 11px; }
.home-page .event-poster, .home-page .event-poster img { width: 48px; height: 64px; }
.home-page .event-option { grid-template-columns: 48px minmax(0,1fr); gap: 11px; }
.event-info b { font-size: 13px; }
.rental-offers { scroll-margin-top: 15px; }
.offer-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.offer { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; min-width: 0; transition: border-color .15s; }
.offer:hover { border-color: #b2c4c8; }
.offer-photo { height: 90px; padding: 12px 6px; display: grid; place-items: center; background: #eef3f5; }
.offer:nth-child(2) .offer-photo { background: #f6eef1; }
.offer:nth-child(3) .offer-photo { background: #eef4ee; }
.offer-photo img { display: block; width: 100%; height: 66px; min-width: 0; min-height: 0; object-fit: contain; }
.offer-copy { padding: 9px 8px 10px; }
.offer-copy h3 { font-size: 12px; line-height: 1.5; }
.offer-copy p { color: var(--muted); font-size: 10px; margin-block: 4px 8px; }
.offer-price { display: flex; align-items: center; justify-content: space-between; gap: 3px; font-size: 15px; }
.offer-price > span { font-size: 13px; color: var(--muted); }

.included-section { background: white; border: 1px solid var(--border); padding: 14px 10px; border-radius: 12px; gap: 15px; }
.included-section h2 { font-size: 14px; }
.included-note { color: var(--success); font-size: 11px; white-space: nowrap; }
.included-list { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }
.included-list li { display: grid; justify-items: center; align-content: start; gap: 5px; text-align: center; }
.included-list b { font-size: 11px; font-weight: 600; }
.included-list small { font-size: 9px; line-height: 1.5; }
.kit-icon { width: 24px; height: 29px; display: block; position: relative; color: #52768b; margin-bottom: 4px; }
.kit-phone { width: 17px; border: 1.6px solid currentColor; border-radius: 4px; }
.kit-phone::after { content: ""; position: absolute; width: 6px; height: 2px; background: currentColor; border-radius: 2px; bottom: 3px; left: 4px; }
.kit-case { width: 19px; border: 2px solid currentColor; border-radius: 5px; color: #847595; transform: rotate(7deg); }
.kit-case::after { content: ""; position: absolute; width: 6px; height: 7px; border: 1px solid currentColor; border-radius: 2px; top: 2px; left: 2px; }
.kit-battery { border: 1.6px solid currentColor; border-radius: 4px; height: 26px; margin-top: 3px; color: #39745c; }
.kit-battery::before { content: ""; position: absolute; width: 8px; height: 4px; top: -5px; left: 6px; border: 1.6px solid currentColor; border-bottom: 0; border-radius: 2px 2px 0 0; }
.kit-battery::after { content: "ϟ"; position: absolute; inset: -2px 0 0; font-family: system-ui; font-size: 23px; text-align: center; }
.kit-sim { width: 21px; border: 1.6px solid currentColor; border-radius: 7px 3px 3px; color: #9a7543; }
.kit-sim::after { content: ""; position: absolute; inset: 9px 4px 4px; border: 1px solid currentColor; border-radius: 2px; background: linear-gradient(90deg,transparent 45%,currentColor 45%,currentColor 51%,transparent 51%); }
.kit-bag { width: 26px; height: 22px; margin-top: 7px; border: 1.6px solid currentColor; border-radius: 4px; color: #707c83; }
.kit-bag::before { content: ""; position: absolute; top: -8px; left: 7px; width: 8px; height: 8px; border: 1.6px solid currentColor; border-radius: 6px 6px 0 0; border-bottom: 0; }
.kit-bag::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; border-top: 1px solid currentColor; }
.lens-included { padding-top: 9px; border-top: 1px solid var(--border); font-size: 12px; color: #4c6073; }
.lens-included span { font-size: 17px; }

.rental-info { padding: 18px 15px; border-radius: 12px; background: #eaf1f4; display: grid; gap: 14px; }
.rental-info-columns { display: grid; gap: 18px; }
.rental-info h3 { font-size: 13px; margin-bottom: 5px; }
.rental-info p { font-size: 12px; color: #506570; line-height: 1.75; }
.rental-info .fine { margin-top: 8px; font-size: 10px; }
.payment-example { display: grid; gap: 4px; margin-top: 9px; border-top: 1px solid #d0dee4; padding-top: 9px; font-size: 11px; }
.payment-example strong { font-size: 12px; }
.payment-example strong span { font-weight: 500; }
.faq-section { gap: 0; }
.faq-section h2 { margin-bottom: 8px; }
.faq-section details { border-bottom: 1px solid var(--border); }
.faq-section summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; min-height: 48px; padding: 10px 0; font-size: 13px; font-weight: 600; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; font-size: 20px; color: #667e87; flex: none; }
.faq-section details[open] summary::after { content: "−"; }
.faq-section details p { padding: 0 24px 14px 0; font-size: 12px; color: var(--muted); line-height: 1.8; }
.store-footer { border-top: 1px solid var(--border); padding-top: 20px; display: grid; gap: 18px; }
.store-footer > div > b { font-size: 21px; }
.store-footer p { color: var(--muted); font-size: 11px; margin-top: 4px; }
.contact-preview { font-size: 12px; }
.contact-preview small, .store-footer .demo-footnote { font-size: 10px; color: #6e7c83; }
.demo-footnote { padding-top: 10px; border-top: 1px solid var(--border); }

/* Package choice and the contents of a rental. */
.package-page .section-heading { gap: 8px; }
.package-page .page-intro h1 { font-size: clamp(20px,5.3vw,26px); }
.change-event { white-space: nowrap; }
.booking-context { display: flex; gap: 10px; align-items: center; padding-bottom: 13px; border-bottom: 1px solid var(--border); }
.booking-context img { object-fit: cover; border-radius: 5px; }
.booking-context > div { display: grid; gap: 4px; min-width: 0; }
.booking-context b { font-size: 13px; }
.booking-context small { font-size: 11px; line-height: 1.6; }
.pack-option { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 12px 10px; background: white; display: grid; grid-template-columns: 16px 54px minmax(0,1fr) auto; gap: 9px; align-items: center; text-align: left; transition: border-color .16s, box-shadow .16s; }
.pack-option:hover:not(:disabled) { border-color: #b7c3c9; }
.pack-option[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pack-option:disabled { background: #f1f3f3; color: #79858b; }
.pack-option:disabled .pack-photo { opacity: .45; }
.choice-mark { width: 16px; height: 16px; border: 1.5px solid #aab9be; border-radius: 50%; display: grid; place-items: center; }
.pack-option[aria-pressed="true"] .choice-mark { border-color: var(--accent); }
.pack-option[aria-pressed="true"] .choice-mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pack-photo { width: 54px; height: 58px; object-fit: contain; }
.pack-info { display: grid; gap: 4px; min-width: 0; }
.pack-info b { font-size: 13px; line-height: 1.4; }
.kit-label { color: #536777; font-size: 12px; line-height: 1.4; }
.pack-state { font-size: 10px; font-weight: 600; }
.pack-price { font-size: 16px; }
.pack-price small { font-size: 10px; font-weight: 400; }
.kit-details { gap: 13px; }
.pickup-detail { padding: 0 2px; font-size: 12px; }
.pickup-detail b { font-size: 12px; }
.pickup-detail p { font-size: 11px; color: var(--muted); margin-block: 3px 6px; }
.booking-total { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--border); padding: 11px 14px max(12px, env(safe-area-inset-bottom)); display: grid; gap: 7px; margin: 0 -14px -18px; box-shadow: 0 -6px 18px #26384106; z-index: 2; }
.booking-total .inline-summary strong { font-size: 20px; }
.booking-total .inline-summary p { color: var(--ink); font-weight: 600; }
.split-total { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.split-total b { color: var(--ink); font-weight: 600; }
.booking-total .btn { width: 100%; }

@media (max-width: 355px) {
  .main-shell { padding-top: 12px; }
  .home-copy { padding: 228px 14px 20px; }
  .home-actions { gap: 8px; }
  .home-actions > .btn { padding-inline: 12px; }
  .service-strip > span { padding-inline: 4px; }
  .service-strip b { font-size: 11px; }
  .offer-list { gap: 5px; }
  .offer-copy { padding-inline: 6px; }
  .offer-copy h3 { font-size: 11px; }
  .pack-option { grid-template-columns: 14px 38px minmax(0,1fr) auto; gap: 7px; padding: 11px 8px; }
  .choice-mark { width: 14px; height: 14px; }
  .pack-photo { width: 38px; }
  .pack-info b { font-size: 12px; }
  .kit-label { font-size: 11px; }
  .pack-price { font-size: 14px; }
  .included-section { padding-inline: 7px; }
  .included-list small { font-size: 8px; }
  .booking-total { margin-inline: -10px; padding-inline: 10px; }
}
@media (min-width: 720px) {
  .home-page { gap: 32px; }
  .home-hero { margin: -22px calc((100vw - 100%) / -2) 0; }
  .hero-inner { width: min(100%, 1000px); min-height: 438px; margin-inline: auto; padding: 0 22px; grid-template-rows: 1fr auto; }
  .home-copy { padding: 60px 0 35px; align-self: center; max-width: 430px; }
  .home-copy h1 { font-size: clamp(29px,3vw,36px); }
  .home-copy p { font-size: 13px; }
  .home-visual img { object-position: center top; }
  .home-visual::after { background: linear-gradient(90deg, rgba(252,250,253,.98) 0%, rgba(252,250,253,.92) 32%, rgba(252,250,253,.58) 49%, rgba(252,250,253,.03) 69%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,.75) 13%, rgba(255,255,255,0) 38%); }
  .service-strip { margin: 0; padding-block: 17px; border-color: #d9dfe5; }
  .service-strip > span { display: flex; align-items: center; justify-content: center; gap: 10px; }
  .service-strip b { font-size: 12px; }
  .service-strip small { font-size: 11px; }
  .upcoming-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 24px; }
  .offer-list { gap: 14px; }
  .offer { display: grid; grid-template-columns: 98px 1fr; align-items: center; }
  .offer-photo { height: 116px; }
  .offer-photo img { height: 90px; }
  .offer-copy { padding: 12px; }
  .offer-copy h3 { font-size: 13px; }
  .offer-copy p { font-size: 11px; }
  .included-section { padding: 18px; }
  .included-list b { font-size: 12px; }
  .included-list small { font-size: 10px; }
  .rental-info { padding: 22px; }
  .rental-info-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
  .store-footer { grid-template-columns: 1fr 1fr; }
  .contact-preview { justify-self: end; }
  .demo-footnote { grid-column: 1 / -1; }
  .booking-total { position: static; margin: 0; border: 1px solid var(--border); border-radius: 12px; padding: 13px; grid-template-columns: 1fr auto; gap: 5px 20px; }
  .booking-total .btn { grid-column: 2; grid-row: 1 / span 2; padding-inline: 24px; }
  .booking-total .split-total { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.member-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0; }
.member-heading .section-caption { font-size: 13px; }
.member-layout { display: grid; gap: 22px; }
.member-orders { min-width: 0; }
.member-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.member-tabs button { padding: 12px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 14px; color: var(--muted); }
.member-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 700; }
.member-tabs span { font-size: 11px; margin-left: 3px; }
.order-list { display: grid; gap: 12px; }
.order-card { display: grid; gap: 13px; width: 100%; padding: 14px; background: white; border: 1px solid var(--border); border-radius: 13px; text-align: left; }
.order-card:hover { border-color: #aabec8; }
.order-card-top, .order-card-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px; }
.order-card-top small { font-size: 10px; }
.order-status { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 6px; white-space: nowrap; font-size: 11px; font-weight: 600; }
.order-status.confirmed { color: #256451; background: #edf5f1; }
.order-status.pending { color: #8a611c; background: #fcf3de; }
.order-status.expired { color: #6a737a; background: #edf0f2; }
.order-card-main { display: flex; align-items: center; gap: 12px; }
.order-card-main img { border-radius: 5px; object-fit: cover; }
.order-card-main > span { display: grid; gap: 3px; min-width: 0; }
.order-card-main b { font-size: 14px; }
.order-card-main small { font-size: 11px; }
.order-card-bottom { border-top: 1px solid var(--border); padding-top: 11px; font-size: 11px; color: var(--muted); }
.order-card-bottom b { color: var(--ink); font-size: 14px; margin-left: 4px; }
.order-card-bottom > span:last-child { color: #526d7d; }
.member-sidebar { display: grid; gap: 16px; align-content: start; }
.member-profile { background: #edf3f6; padding: 17px; border-radius: 12px; display: grid; gap: 8px; }
.member-profile h2, .member-help h2, .member-documents h2 { font-size: 14px; }
.member-profile > b { font-size: 15px; }
.member-profile p { font-size: 12px; color: #5c6c76; }
.profile-status { font-size: 11px; color: var(--success); }
.member-help { padding: 0 3px; display: grid; gap: 7px; }
.member-help p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.member-sidebar > .btn { justify-self: start; }
.member-empty { background: white; border: 1px solid var(--border); border-radius: 13px; padding: 34px 20px; display: grid; justify-items: center; gap: 16px; }
.empty-ticket { font-size: 34px; color: #b0bdc3; }
.member-empty h2 { font-size: 15px; color: var(--muted); }
.wait-item { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.wait-item > div { display: grid; gap: 4px; }
.wait-item b { font-size: 13px; }
.wait-item small { font-size: 11px; }
.booking-reference { display: flex; gap: 12px; justify-content: space-between; padding: 12px 14px; background: #edf3f6; border-radius: 9px; font-size: 12px; }
.booked-kit { display: flex; align-items: center; gap: 13px; }
.booked-kit img { object-fit: contain; }
.booked-kit > div { display: grid; gap: 4px; }
.booked-kit b { font-size: 14px; }
.pickup-card { background: #edf5f1; border-radius: 12px; padding: 14px; display: grid; gap: 7px; }
.pickup-card h2 { font-size: 14px; }
.pickup-card p { font-size: 12px; color: #456459; line-height: 1.7; }
.member-documents { padding: 14px; background: white; border: 1px solid var(--border); border-radius: 12px; }
.member-documents summary { font-size: 12px; min-height: 44px; padding-block: 12px; cursor: pointer; }
.saved-signature { display: block; width: 100%; height: 120px; object-fit: contain; border: 1px solid var(--border); border-radius: 8px; }
.profile-form { display: grid; gap: 16px; max-width: 460px; width: 100%; background: white; border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.profile-form .field input { min-height: 48px; }
.profile-page, .contract-page { width: 100%; min-width: 0; max-width: 720px; margin-inline: auto; }
.login-benefit { padding: 16px; display: grid; align-content: start; gap: 10px; }
.login-benefit h2 { font-size: 16px; }
.login-benefit p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.document-toolbar { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--muted); align-items: center; }
.document-toolbar a { min-height: 44px; display: inline-flex; align-items: center; color: #405e6e; }
.pdf-pages { max-height: 430px; overflow-y: auto; background: #e5e9ec; border: 1px solid #d8e1e5; border-radius: 9px; padding: 8px; display: block; overscroll-behavior-y: contain; }
.pdf-pages img { width: 100%; height: auto; margin-bottom: 10px; display: block; box-shadow: 0 2px 5px #26384112; }
.signature-form { display: grid; gap: 10px; }
.signature-form h2 { font-size: 15px; }
.signer-name { font-size: 13px; color: var(--muted); }
#signature { display: block; width: 100%; height: 150px; background: white; border: 1px dashed #9daeb7; border-radius: 10px; touch-action: none; cursor: crosshair; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.8; padding-block: 6px; }
.consent input { width: 19px; height: 19px; flex: none; accent-color: var(--accent); margin: 1px 0 0; }
.contract-page .selection b { font-size: 14px; }
@media (max-width: 355px) {
  .header-actions { gap: 9px; }
  .header-actions .demo-label { padding-left: 8px; font-size: 9px; }
  .header-actions a { font-size: 11px; }
  .member-tabs { gap: 16px; }
  .order-card { padding: 12px; }
  .booking-page .section-heading { align-items: flex-start; }
  .booking-page h1 { font-size: 20px; }
  .wait-item { flex-wrap: wrap; }
}
@media (min-width: 720px) {
  .member-layout { grid-template-columns: minmax(0,1.5fr) minmax(260px,1fr); gap: 28px; }
  .member-sidebar { padding-top: 12px; }
  .order-card { padding: 18px; }
  .profile-form { margin-inline: auto; }
  .profile-page .page-intro { max-width: 460px; width: 100%; margin-inline: auto; }
  .pdf-pages { max-height: 530px; padding: 14px; }
}

.document-toolbar > div { display: flex; align-items: center; gap: 16px; }
.zoom-document { border: 0; background: none; color: #405e6e; min-height: 44px; padding: 0; }
.pdf-pages.zoomed img { min-width: 760px; }
.pdf-pages { overflow: auto; }

.order-status.returned { color: #44657b; background: #edf3f6; }
.order-status.cancelled { color: #6a737a; background: #edf0f2; }

@media (max-width: 355px) {
  .home-hero { margin-inline: -10px; }
  .home-copy { padding-inline: 16px; }
  .home-actions { gap: 16px; }
  .home-actions > .btn { padding-inline: 17px; }
  .service-strip { margin-inline: 16px; gap: 5px; }
  .service-strip b { font-size: 10px; }
  .service-strip small { font-size: 9px; }
}

.identity-upload { display: grid; gap: 8px; border-top: 1px solid var(--border); padding-top: 17px; min-width: 0; }
.identity-upload > label { font-weight: 600; }
.identity-purpose { color: #526d7d; font-size: 12px; line-height: 1.7; }
.identity-upload input { width: 100%; min-width: 0; font-size: 12px; padding: 10px; border: 1px dashed #b8c8ce; border-radius: 9px; background: #f6f9fa; }
.identity-upload input::file-selector-button { font: inherit; color: var(--ink); background: white; border: 1px solid var(--border); border-radius: 7px; padding: 10px; margin-right: 10px; cursor: pointer; }
.identity-preview { display: grid; gap: 5px; padding: 10px; border: 1px solid var(--border); border-radius: 9px; background: #f6f9fa; }
.identity-preview[hidden] { display: none; }
.identity-preview img { display: block; width: 100%; height: 170px; object-fit: contain; }
.identity-preview .btn { justify-self: end; }
#id-photo-status:empty { display: none; }

@media (min-width: 1800px) {
  .home-visual img { object-fit: contain; object-position: center top; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-copy { animation: hero-copy-in .45s ease-out both; }
  @keyframes hero-copy-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
}

.booking-preferences { display: grid; gap: 16px; padding: 17px 14px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.booking-preferences h2, .preferences-summary h2 { font-size: 14px; }
.delivery-options { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 9px; }
.delivery-options legend { font-size: 12px; font-weight: 600; margin-bottom: 9px; padding: 0; }
.preference-choice { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; min-height: 44px; padding-block: 5px; }
.preference-choice input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.preference-choice > span { display: grid; gap: 4px; }
.preference-choice b { font-size: 12px; font-weight: 600; line-height: 1.6; }
.preference-choice small { font-size: 11px; line-height: 1.7; }
.delivery-options .preference-choice { border: 1px solid var(--border); padding: 10px; border-radius: 9px; }
.delivery-options .preference-choice:has(input:checked) { border-color: #b76b88; background: #fdf6f9; }
.drive-fields { display: grid; gap: 7px; padding-left: 28px; }
.drive-fields[hidden] { display: none; }
.accessory-options { display: grid; gap: 8px; border-top: 1px solid var(--border); padding-top: 10px; }
.booking-preferences .field label { font-size: 12px; }
.booking-preferences textarea { box-sizing: border-box; width: 100%; min-height: 74px; resize: vertical; border: 1px solid var(--border); border-radius: 8px; padding: 10px; font: inherit; font-size: 12px; line-height: 1.7; color: var(--ink); }
.booking-preferences textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.preferences-summary { padding: 13px; border: 1px solid var(--border); border-radius: 10px; background: white; display: grid; gap: 8px; }
.preferences-summary dl { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 7px 16px; font-size: 12px; }
.preferences-summary dt { color: var(--muted); }
.preferences-summary dd { margin: 0; overflow-wrap: anywhere; text-align: right; }
.kit-details .included-list { grid-template-columns: repeat(auto-fit,minmax(42px,1fr)); }
.preferences-price-note { font-size: 10px; }

.public-demo-notice {
  padding: 6px 14px;
  background: var(--surface-soft, #fff7fa);
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 12px;
  text-align: center;
}
