:root {
  --bg: #f7f7f7;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --surface-soft: #fafafa;
  --ink: #1a1a1a;
  --muted: #666666;
  --muted-soft: #999999;
  --line: rgba(26, 26, 26, 0.1);
  --accent: #7a1e2c;
  --accent-deep: #7a1e2c;
  --accent-soft: #f4e8eb;
  --brand-navy: #7a1e2c;
  --brand-blue: #7a1e2c;
  --brand-sky: #f7f7f7;
  --brand-sea: #7a1e2c;
  --brand-gold: #f9a825;
  --brand-gold-deep: #f9a825;
  --brand-gold-soft: #fff8e8;
  --warning-soft: #fff8e8;
  --warning-ink: #f9a825;
  --danger-soft: #fdeaea;
  --danger-ink: #c62828;
  --success-soft: #eaf4eb;
  --success-ink: #2e7d32;
  --stored-soft: #eaf4eb;
  --stored-ink: #2e7d32;
  --shadow: 0 18px 40px rgba(26, 26, 26, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(122, 30, 44, 0.03), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

a {
  color: var(--accent-deep);
}

.customer-page {
  background:
    radial-gradient(circle at top right, rgba(122, 30, 44, 0.05), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.customer-announcement {
  padding: 0.8rem 1rem;
  background: #7a1e2c;
  color: #ffffff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

img,
svg {
  max-width: 100%;
}

.page-shell {
  width: min(1260px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.panel,
.customer-card,
.task-panel,
.staff-header-panel,
.mobile-checkin-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.panel,
.customer-card,
.task-panel,
.staff-header-panel,
.mobile-checkin-card {
  border-radius: 30px;
}

.panel,
.customer-card,
.task-panel {
  padding: 1.35rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-service-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.45rem;
  box-shadow: 0 10px 24px rgba(107, 31, 29, 0.12);
}

.brand-title-wrap {
  display: grid;
  gap: 0.22rem;
}

.brand-title {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-title-main {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.customer-page .brand-title-main {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  color: #6b1f1d;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--brand-sky);
  color: var(--brand-sea);
}

.brand-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.eyebrow,
.card-label,
.ticket-label,
.price-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.customer-page .eyebrow,
.customer-page .ticket-label {
  color: #93625a;
}

.hero-text,
.field-help,
.summary-note {
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 0.3rem;
}

.section-heading h1,
.section-heading h2,
.customer-intro h1,
.mobile-summary h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-heading h1 {
  font-size: clamp(2.15rem, 5vw, 3.4rem);
}

.section-heading h2,
.step-heading h2,
.selected-booking-header h2 {
  font-size: 1.6rem;
}

.customer-shell {
  width: min(100% - 1rem, 760px);
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.customer-page .customer-shell {
  width: min(100% - 1rem, 980px);
  padding-top: 1.4rem;
}

.customer-card,
.mobile-checkin-card {
  display: grid;
  gap: 1rem;
}

.customer-page .customer-card {
  gap: 1.5rem;
  padding: 1.55rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(26, 26, 26, 0.05);
  box-shadow: 0 22px 48px rgba(26, 26, 26, 0.06);
}

.customer-intro {
  display: grid;
  gap: 0.7rem;
}

.customer-page .customer-intro {
  gap: 1rem;
}

.customer-intro h1 {
  font-size: clamp(2rem, 7vw, 3.35rem);
}

.customer-page .customer-intro h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 8.5vw, 4.7rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #6b1f1d;
}

.customer-subtitle {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.customer-page .customer-subtitle {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #5f4f4c;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-start-button {
  min-width: 240px;
}

.brand-reassurance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.brand-reassurance-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(107, 31, 29, 0.08);
  color: #7c2a26;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(107, 31, 29, 0.05);
}

.brand-reassurance-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.72;
  margin-right: 0.5rem;
}

.customer-form,
.booking-form,
.storage-form {
  display: grid;
  gap: 1.2rem;
}

.welcome-stage-card,
.booking-details-stage,
.booking-details-card {
  display: grid;
  gap: 1.2rem;
}

.welcome-stage-card,
.booking-details-card {
  padding: 1.25rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow: 0 18px 36px rgba(26, 26, 26, 0.05);
}

.welcome-stage-copy,
.booking-stage-header,
.field-section-header {
  display: grid;
  gap: 0.3rem;
}

.welcome-stage-copy h2,
.booking-stage-header h2,
.field-section-header h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.welcome-stage-copy h2,
.booking-stage-header h2 {
  font-size: clamp(1.7rem, 4vw, 2.25rem);
}

.field-section-header h3 {
  font-size: 1.18rem;
}

.welcome-location-grid {
  margin-top: 0.15rem;
}

.location-selection-helper,
.selected-location-strip {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: #f7f7f7;
  border: 1px solid rgba(26, 26, 26, 0.08);
}

.location-selection-helper-copy,
.selected-location-copy {
  display: grid;
  gap: 0.25rem;
}

.location-selection-helper-copy strong,
.selected-location-copy strong {
  font-size: 1rem;
  color: var(--ink);
}

.location-selection-helper-actions,
.selected-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.action-helper-text {
  width: 100%;
  margin: -0.15rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.location-address {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.booking-stage-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.field-section {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 22px;
  background: #fafafa;
  border: 1px solid rgba(26, 26, 26, 0.05);
  transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease,
    transform 180ms ease;
}

.field-section.is-complete {
  background: rgba(247, 247, 247, 0.88);
  border-color: rgba(46, 125, 50, 0.14);
}

.payment-review-section {
  background: #ffffff;
  border-color: rgba(26, 26, 26, 0.06);
}

.booking-details-card {
  gap: 1.35rem;
}

.booking-total-inline {
  margin: 0.1rem 0;
}

.is-stage-highlighted {
  animation: stageGlow 1.1s ease;
}

@keyframes stageGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(122, 30, 44, 0.14);
  }

  35% {
    box-shadow: 0 0 0 10px rgba(122, 30, 44, 0.08);
  }

  100% {
    box-shadow: 0 18px 36px rgba(26, 26, 26, 0.05);
  }
}

.booking-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.booking-progress-step {
  display: grid;
  gap: 0.24rem;
  align-items: center;
  justify-items: start;
  padding: 1rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(107, 31, 29, 0.08);
  background: rgba(255, 255, 255, 0.76);
  color: #72534d;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
}

.booking-progress-step:disabled {
  cursor: default;
  opacity: 0.72;
}

.booking-progress-step.is-active {
  border-color: rgba(107, 31, 29, 0.16);
  background: rgba(255, 246, 241, 0.94);
  box-shadow: 0 18px 28px rgba(107, 31, 29, 0.08);
  transform: translateY(-2px);
}

.booking-progress-step.is-complete {
  border-color: rgba(47, 98, 64, 0.2);
  background: rgba(231, 242, 233, 0.96);
  color: var(--success-ink);
}

.booking-progress-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(107, 31, 29, 0.1);
  color: #7c2a26;
  font-size: 0.92rem;
  font-weight: 800;
}

.booking-progress-step.is-complete .booking-progress-index {
  background: rgba(47, 98, 64, 0.12);
  color: var(--success-ink);
}

.booking-progress-label {
  font-size: 0.92rem;
  font-weight: 800;
}

.booking-flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.booking-steps-column {
  display: grid;
  gap: 0.95rem;
}

.booking-total-strip {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow: 0 14px 28px rgba(26, 26, 26, 0.05);
}

.booking-total-copy {
  display: grid;
  gap: 0.2rem;
}

.booking-total-strip strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 7vw, 2.8rem);
  line-height: 0.96;
  color: var(--ink);
}

.booking-total-strip #price-breakdown {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.progressive-step {
  scroll-margin-top: 1rem;
  transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.progressive-step.is-active {
  border-color: rgba(107, 31, 29, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 42px rgba(107, 31, 29, 0.1);
  transform: translateY(-1px);
}

.progressive-step.is-complete:not(.is-active) {
  background: rgba(255, 252, 248, 0.9);
}

.progressive-step.is-highlighted {
  animation: stepPulse 1.2s ease;
}

.progressive-step-header {
  display: grid;
  gap: 1rem;
}

.progressive-step-complete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(244, 249, 245, 0.95);
  border: 1px solid rgba(47, 98, 64, 0.12);
}

.progressive-step-summary {
  display: grid;
  gap: 0.18rem;
  color: #4b3a36;
}

.progressive-step-summary strong {
  color: var(--success-ink);
  font-size: 0.98rem;
}

.progressive-step-summary span {
  color: var(--muted);
  line-height: 1.45;
}

.step-edit-button {
  min-height: 42px;
  padding-inline: 0.9rem;
  white-space: nowrap;
}

.progressive-step-body {
  display: grid;
  gap: 1rem;
}

.step-continue-button {
  width: 100%;
  min-height: 60px;
}

@keyframes stepPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(162, 71, 59, 0.25);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(162, 71, 59, 0);
  }
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.customer-page label {
  color: #4a2d2a;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(22, 50, 68, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 0.85rem 1rem;
}

.customer-page input,
.customer-page select,
.customer-page textarea {
  min-height: 56px;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(26, 26, 26, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: 2px solid rgba(143, 54, 48, 0.26);
  outline-offset: 2px;
}

.customer-page input:focus-visible,
.customer-page select:focus-visible,
.customer-page textarea:focus-visible,
.customer-page button:focus-visible,
.customer-page a:focus-visible,
.customer-page summary:focus-visible {
  outline: 3px solid rgba(122, 30, 44, 0.22);
  outline-offset: 3px;
}

.customer-page input[aria-invalid="true"],
.customer-page select[aria-invalid="true"],
.customer-page textarea[aria-invalid="true"] {
  border-color: rgba(198, 40, 40, 0.48);
  background: rgba(253, 234, 234, 0.55);
}

.submit-button,
.secondary-button,
.secondary-link,
.mobile-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 20px;
  padding: 0.95rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease, border-color 180ms ease;
}

.submit-button {
  background: linear-gradient(135deg, #7a1e2c 0%, #651824 100%);
  color: #fff8f4;
  box-shadow: 0 18px 34px rgba(107, 31, 29, 0.22);
}

.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 22px 38px rgba(107, 31, 29, 0.24);
}

.submit-button:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.submit-button.action-success {
  background: linear-gradient(135deg, #2f6240 0%, #4b8b5d 100%);
  color: #f5fff8;
  box-shadow: 0 14px 30px rgba(47, 98, 64, 0.2);
}

.submit-button.action-warning {
  background: linear-gradient(135deg, #9a6420 0%, #c48a3a 100%);
  color: #fff9ef;
  box-shadow: 0 14px 30px rgba(154, 100, 32, 0.2);
}

.submit-button.action-danger {
  background: linear-gradient(135deg, #8d231f 0%, #c4453b 100%);
  color: #fff8f4;
  box-shadow: 0 14px 30px rgba(141, 35, 31, 0.22);
}

.customer-page .submit-button {
  background: linear-gradient(135deg, #7a1e2c 0%, #651824 100%);
  box-shadow: 0 18px 36px rgba(107, 31, 29, 0.2);
}

.secondary-button,
.secondary-link,
.mobile-link-button {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-color: rgba(107, 31, 29, 0.08);
  box-shadow: 0 10px 20px rgba(107, 31, 29, 0.04);
}

.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.customer-page .secondary-link {
  border-color: rgba(107, 31, 29, 0.12);
  color: #6b1f1d;
}

.submit-button.is-loading {
  pointer-events: none;
  opacity: 0.92;
}

.submit-button.is-loading::after {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-left: 0.7rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  animation: buttonSpin 0.8s linear infinite;
}

.primary-cta {
  min-height: 62px;
  font-size: 1.06rem;
}

.form-message {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
}

.form-message.success {
  background: rgba(217, 242, 223, 0.92);
  color: var(--success-ink);
}

.form-message.error {
  background: rgba(253, 232, 229, 0.96);
  color: var(--danger-ink);
}

.field-error {
  display: block;
  min-height: 1rem;
  margin: 0;
  color: var(--danger-ink);
  font-size: 0.84rem;
  line-height: 1.35;
}

.field-grid,
.confirmation-grid,
.selected-booking-grid,
.admin-booking-grid,
.mobile-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-span-2 {
  grid-column: 1 / -1;
}

.step-card,
.detail-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.customer-page .step-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(26, 26, 26, 0.06);
  box-shadow: 0 14px 28px rgba(26, 26, 26, 0.05);
}

.customer-page .fast-booking-card,
.customer-page .compact-terms-card {
  gap: 1rem;
  padding: 1.15rem;
}

.customer-page .fast-booking-card .compact-grid {
  grid-template-columns: 1fr;
}

.location-reveal-panel {
  display: grid;
  gap: 1rem;
  padding-top: 0.3rem;
}

.location-compact-helper {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: #fafafa;
  border: 1px solid rgba(26, 26, 26, 0.05);
}

.location-compact-copy {
  display: grid;
  gap: 0.2rem;
}

.location-compact-copy strong {
  font-size: 1rem;
  color: var(--ink);
}

.location-compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
}

.compact-link {
  min-height: 44px;
  padding-inline: 0.9rem;
}

.location-address-details {
  color: var(--muted);
}

.location-address-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.location-address-details p {
  margin: 0.55rem 0 0;
  line-height: 1.5;
}

.time-entry-panel {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 24px;
  background: rgba(255, 251, 247, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 26px rgba(107, 31, 29, 0.05);
}

.mini-step-heading {
  align-items: center;
}

.mini-step-heading h3 {
  margin: 0.12rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  color: #4a2d2a;
}

.stepper-field {
  gap: 0.55rem;
}

.stepper-control {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 0.55rem;
  align-items: center;
}

.stepper-control input {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  padding-inline: 0.5rem;
}

.stepper-button {
  min-height: 58px;
  border-radius: 20px;
  border: 1px solid rgba(107, 31, 29, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: #6b1f1d;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(107, 31, 29, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.stepper-button:hover,
.stepper-button:focus-visible {
  border-color: rgba(107, 31, 29, 0.18);
  background: rgba(255, 247, 242, 0.96);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(107, 31, 29, 0.08);
}

.location-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.location-choice-button {
  min-height: 108px;
  display: grid;
  gap: 0.3rem;
  align-content: start;
  padding: 1.1rem 1.1rem 1rem;
  border-radius: 24px;
  border: 1px solid rgba(26, 26, 26, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 247, 247, 0.96) 100%);
  color: #5a3732;
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(26, 26, 26, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, filter 180ms ease;
}

.location-choice-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #4a2d2a;
}

.location-choice-helper {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: #7a625d;
}

.location-choice-button:hover,
.location-choice-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(122, 30, 44, 0.16);
  box-shadow: 0 18px 32px rgba(26, 26, 26, 0.08);
  filter: brightness(1.01);
}

.location-choice-button.is-selected {
  border-color: rgba(122, 30, 44, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 232, 235, 0.95) 100%);
  color: #6b1f1d;
  box-shadow: 0 18px 34px rgba(122, 30, 44, 0.12);
  transform: translateY(-2px) scale(1.01);
}

.location-choice-button.is-selected .location-choice-title,
.location-choice-button.is-selected .location-choice-helper {
  color: #6b1f1d;
}

.location-choice-grid.is-invalid .location-choice-button {
  border-color: rgba(198, 40, 40, 0.26);
}

.location-description {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 248, 243, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #5f4f4c;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 10px 22px rgba(107, 31, 29, 0.04);
}

.step-heading {
  display: flex;
  gap: 0.85rem;
  align-items: start;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  flex-shrink: 0;
}

.customer-page .step-number,
.transition-step-number {
  background: rgba(107, 31, 29, 0.1);
  color: #7c2a26;
}

.booking-summary {
  display: grid;
  gap: 0.65rem;
  padding: 1.05rem 1.15rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #6b1f1d 0%, #a2473b 100%);
  color: #fff7f2;
}

.customer-page .booking-summary {
  gap: 0.9rem;
  background: linear-gradient(135deg, #6b1f1d 0%, #9f4136 100%);
  position: sticky;
  top: 1rem;
  box-shadow: 0 26px 48px rgba(107, 31, 29, 0.2);
}

.booking-summary-hero {
  display: grid;
  gap: 0.25rem;
}

.booking-summary-trust {
  color: rgba(255, 244, 238, 0.88);
  font-size: 0.94rem;
  line-height: 1.4;
}

.booking-summary strong {
  display: block;
  margin-top: 0.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.booking-summary-breakdown {
  display: grid;
  gap: 0.55rem;
}

.price-line-items {
  display: grid;
  gap: 0.45rem;
}

.price-line-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 244, 238, 0.92);
  font-size: 0.96rem;
}

.price-line-item strong {
  margin-top: 0;
  font-size: 1rem;
  font-family: "Space Grotesk", sans-serif;
}

.price-line-item.discount {
  color: #ffe9ae;
}

.summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.summary-line strong {
  margin-top: 0;
  font-size: 1rem;
  text-align: right;
}

.booking-summary p {
  margin: 0;
}

.customer-page .booking-summary .ticket-label,
.customer-page .booking-summary .summary-note,
.customer-page .booking-summary #price-breakdown {
  color: rgba(255, 244, 238, 0.88);
}

.customer-page .booking-summary #estimated-total {
  font-size: clamp(2.35rem, 8vw, 3.7rem);
  line-height: 0.95;
}

.customer-page .form-message {
  background: rgba(255, 251, 247, 0.92);
  border: 1px solid rgba(107, 31, 29, 0.08);
  color: #5f4f4c;
}

.payment-action-note {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.payment-security-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.payment-submit-summary {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 250, 245, 0.96);
  border: 1px solid rgba(107, 31, 29, 0.1);
  box-shadow: 0 14px 28px rgba(107, 31, 29, 0.08);
}

.payment-submit-summary strong {
  display: block;
  margin-top: 0.15rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  color: #6b1f1d;
  line-height: 1;
}

.payment-submit-summary span {
  color: #5f4f4c;
  line-height: 1.55;
}

.payment-submit-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.payment-submit-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 248, 243, 0.78);
  border: 1px solid rgba(107, 31, 29, 0.06);
  color: #6b1f1d;
  font-size: 0.84rem;
  font-weight: 700;
}

.payment-transition-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.05rem 1.1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.96) 0%, rgba(250, 244, 239, 0.92) 100%);
  border: 1px solid rgba(107, 31, 29, 0.1);
}

.fast-next-steps {
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.96) 0%, rgba(250, 244, 239, 0.92) 100%);
  border-color: rgba(107, 31, 29, 0.1);
}

.fast-next-steps p,
.fast-next-steps h2 {
  color: var(--ink);
}

.quick-step-list {
  display: grid;
  gap: 0.65rem;
  counter-reset: quick-steps;
}

.quick-step-list span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.82rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #4a2d2a;
  font-weight: 800;
  counter-increment: quick-steps;
  box-shadow: 0 10px 22px rgba(107, 31, 29, 0.04);
}

.quick-step-list span::before {
  content: counter(quick-steps);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #6b1f1d;
  color: #fff8f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex: 0 0 auto;
}

@keyframes buttonSpin {
  to {
    transform: rotate(360deg);
  }
}

.transition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.transition-step {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(107, 31, 29, 0.08);
}

.transition-step-number {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.transition-step strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1;
  color: #6b1f1d;
}

.transition-step p,
.transition-note {
  margin: 0;
  color: #5f4f4c;
  line-height: 1.55;
}

.walkin-tablet-page {
  min-height: 100vh;
}

.walkin-shell {
  width: min(100% - 1rem, 980px);
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
}

.walkin-card,
.walkin-form-tablet {
  gap: 1.2rem;
}

.walkin-site-chooser-card {
  gap: 1.35rem;
}

.walkin-site-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.walkin-site-choice-card {
  display: grid;
  gap: 0.5rem;
  padding: 1.15rem;
  border-radius: 22px;
  background: rgba(255, 252, 248, 0.94);
  border: 1px solid rgba(107, 31, 29, 0.1);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(107, 31, 29, 0.08);
}

.walkin-site-choice-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.22rem;
  color: var(--brand-navy);
}

.walkin-site-choice-card span {
  color: var(--muted);
  line-height: 1.55;
}

.walkin-site-choice-card:hover,
.walkin-site-choice-card:focus-visible {
  border-color: rgba(107, 31, 29, 0.24);
  box-shadow: 0 18px 36px rgba(107, 31, 29, 0.12);
}

.walkin-summary-card {
  position: sticky;
  top: 1rem;
}

.walkin-legal-note {
  margin: 0;
}

.walkin-live-dropoff-card {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.96) 0%, rgba(249, 241, 235, 0.9) 100%);
  border: 1px solid rgba(107, 31, 29, 0.12);
}

.walkin-live-dropoff-card strong {
  font-size: 1.05rem;
  color: #4a2d2a;
}

.walkin-live-dropoff-card .summary-note {
  margin: 0;
}

.terms-card {
  display: grid;
  gap: 0.95rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(255, 252, 248, 0.92);
  border: 1px solid rgba(107, 31, 29, 0.1);
}

.terms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.terms-feedback {
  margin: 0;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(107, 31, 29, 0.1);
}

.checkbox-row input {
  width: 1.35rem;
  min-width: 1.35rem;
  min-height: 1.35rem;
  margin-top: 0.1rem;
  padding: 0;
}

.checkbox-row span {
  font-weight: 700;
  color: #4a2d2a;
  line-height: 1.5;
}

.signature-wrap {
  display: grid;
  gap: 0.85rem;
}

.signature-pad {
  width: 100%;
  height: 240px;
  border: 2px dashed rgba(107, 31, 29, 0.24);
  border-radius: 24px;
  background: #ffffff;
  touch-action: none;
}

.signature-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tablet-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98) 0%, rgba(251, 243, 237, 0.94) 100%);
  border: 1px solid rgba(107, 31, 29, 0.12);
}

.tablet-submit-bar p {
  margin: 0;
}

.tablet-submit-bar .submit-button {
  min-width: 280px;
}

.walkin-success {
  background: rgba(255, 252, 248, 0.96);
  border: 1px solid rgba(107, 31, 29, 0.08);
}

.walkin-success .hero-text {
  margin: 0;
}

.walkin-success .secondary-button {
  justify-self: start;
}

.terms-modal {
  width: min(100% - 1rem, 920px);
}

.terms-modal-card {
  display: grid;
  gap: 1rem;
}

.terms-viewer-wrap {
  min-height: 60vh;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(107, 31, 29, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.terms-frame {
  width: 100%;
  min-height: 60vh;
  border: none;
  background: #ffffff;
}

.terms-modal-note {
  margin: 0;
}

.customer-instruction-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.customer-instruction-card p {
  margin: 0;
  color: #f6fdff;
  line-height: 1.55;
}

.customer-policy-card {
  background: rgba(255, 241, 204, 0.16);
  border-color: rgba(255, 241, 204, 0.28);
}

.privacy-note-card {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(244, 223, 216, 0.38);
  border: 1px solid rgba(107, 31, 29, 0.08);
}

.confirmation-card .confirmation-grid {
  margin-top: 0.25rem;
}

.confirmation-ticket-card {
  gap: 0.75rem;
}

.confirmation-reference {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 7vw, 3.1rem);
  line-height: 1;
  color: #6b1f1d;
}

.confirmation-qr-card {
  justify-items: center;
  text-align: center;
}

.confirmation-qr-wrap {
  display: inline-flex;
  background: #ffffff;
  padding: 0.75rem;
  border-radius: 20px;
}

.confirmation-barcode-wrap {
  width: 100%;
  justify-content: center;
  padding: 1rem 0.85rem;
}

.confirmation-qr-wrap svg,
.qr-svg {
  width: 170px;
  height: 170px;
}

.confirmation-barcode-wrap svg {
  width: min(320px, 100%);
  height: auto;
}

.confirmation-barcode-wrap img {
  width: min(520px, 100%);
  height: auto;
}

.location-card {
  align-content: start;
}

.location-address {
  line-height: 1.65;
  color: var(--ink);
}

.location-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.location-action-row .submit-button,
.location-action-row .secondary-link {
  min-height: 46px;
}

.staff-shell {
  display: grid;
  gap: 1rem;
}

.admin-view-surface {
  display: grid;
  gap: 1rem;
}

.staff-header-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
}

.staff-header-actions {
  display: grid;
  gap: 0.85rem;
  justify-items: end;
}

.site-banner,
.storage-pill,
.hero-points span,
.task-note {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  background: var(--brand-gold-soft);
  color: var(--brand-gold-deep);
}

.task-panel {
  display: grid;
  gap: 1rem;
}

.admin-view-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem;
  border-radius: 28px;
  background: rgba(255, 251, 247, 0.9);
  border: 1px solid rgba(107, 31, 29, 0.08);
  box-shadow: var(--shadow);
  width: 100%;
}

.admin-view-tab {
  min-height: 46px;
  flex: 1 1 170px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.admin-view-tab.active {
  background: linear-gradient(135deg, #6b1f1d 0%, #a2473b 100%);
  color: #fff8f4;
  box-shadow: 0 12px 24px rgba(107, 31, 29, 0.18);
}

.live-status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.live-status-card {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 50, 68, 0.08);
}

.live-status-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  color: var(--ink);
}

.live-status-card small {
  color: var(--muted);
  line-height: 1.45;
}

.live-status-card.urgent {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.98) 0%, rgba(255, 229, 231, 0.96) 100%);
  border-color: rgba(161, 51, 61, 0.18);
}

.live-status-card.urgent strong {
  color: var(--danger-ink);
}

.task-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.task-tile {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  padding: 1.15rem 1rem;
  border-radius: 24px;
  border: 1px solid rgba(22, 50, 68, 0.1);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.task-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(107, 31, 29, 0.22);
}

.task-tile strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.task-tile span {
  color: var(--muted);
  line-height: 1.45;
}

.task-tile.active {
  background: linear-gradient(135deg, #6b1f1d 0%, #a2473b 100%);
  color: #fff8f4;
  box-shadow: 0 14px 30px rgba(107, 31, 29, 0.2);
}

.task-tile.active .eyebrow,
.task-tile.active span {
  color: rgba(246, 253, 255, 0.85);
}

.scanner-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(102, 31, 28, 0.98) 0%, rgba(143, 54, 48, 0.96) 58%, rgba(196, 138, 58, 0.9) 100%);
  color: #fff8f4;
}

.scanner-panel .hero-text,
.scanner-panel .eyebrow {
  color: rgba(248, 253, 255, 0.82);
}

.scanner-panel h2 {
  margin: 0.2rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.scanner-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
}

.scanner-input-label {
  grid-column: 1 / -1;
  color: rgba(248, 253, 255, 0.92);
  font-size: 1rem;
  font-weight: 700;
}

#desk-scan-input {
  min-height: 68px;
  font-size: 1.14rem;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

#desk-scan-input:focus {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.scanner-form .submit-button {
  min-height: 68px;
  white-space: nowrap;
}

#desk-scan-input {
  font-weight: 700;
}

.manual-lookup-panel {
  display: grid;
  gap: 1rem;
}

.manual-lookup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
}

.manual-lookup-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(244, 223, 216, 0.42);
  border: 1px solid rgba(107, 31, 29, 0.08);
  color: var(--muted);
}

.manual-lookup-results {
  display: grid;
  gap: 0.75rem;
}

.bookings-workflow-helper {
  display: grid;
  gap: 1rem;
}

.operations-fallback-panel {
  display: grid;
  gap: 1rem;
}

.operations-fallback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.operations-note-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 50, 68, 0.08);
}

.operations-note-card strong {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}

.operations-note-card span {
  color: var(--muted);
  line-height: 1.45;
}

.operations-note-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.legacy-admin-workspace {
  display: none !important;
}

.manual-lookup-summary {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 251, 247, 0.92);
  border: 1px solid rgba(107, 31, 29, 0.08);
}

.manual-lookup-result-list {
  display: grid;
  gap: 0.75rem;
}

.lookup-result-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.lookup-result-card.selected {
  border-color: rgba(107, 31, 29, 0.24);
  box-shadow: 0 14px 28px rgba(107, 31, 29, 0.1);
}

.lookup-result-empty {
  justify-items: start;
}

.lookup-result-alert {
  background: rgba(255, 241, 242, 0.96);
  border-color: rgba(161, 51, 61, 0.16);
}

.lookup-result-main,
.lookup-result-actions,
.lookup-result-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lookup-result-main > div,
.lookup-result-details {
  display: grid;
  gap: 0.3rem;
}

.lookup-result-details span {
  color: var(--muted);
  line-height: 1.45;
}

.selected-booking-panel {
  display: grid;
}

.selected-booking-card {
  display: grid;
  gap: 1rem;
}

.checkout-action-card,
.secondary-details-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 50, 68, 0.08);
}

.checkout-action-grid,
.secondary-details-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-secondary-action {
  min-width: 210px;
}

.manual-fallback-button {
  border-color: rgba(154, 100, 32, 0.22);
  background: rgba(255, 249, 239, 0.96);
  color: var(--warning-ink);
}

.manual-fallback-button:hover,
.manual-fallback-button:focus-visible {
  border-color: rgba(154, 100, 32, 0.34);
  background: rgba(255, 243, 222, 0.98);
}

.secondary-details-panel summary {
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.secondary-details-panel summary::-webkit-details-marker {
  display: none;
}

.secondary-details-panel summary::after {
  content: "Show more";
  margin-left: 0.75rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
}

.secondary-details-panel[open] summary::after {
  content: "Hide details";
}

.empty-selected {
  min-height: 180px;
  align-content: center;
}

.selected-booking-header,
.checkout-header,
.admin-toolbar,
.admin-booking-top,
.admin-status-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.selected-booking-grid,
.admin-booking-grid,
.mobile-detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.selected-late-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 241, 204, 0.92);
}

.selected-no-show-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.collection-risk-panel {
  display: grid;
  gap: 0.45rem;
}

.collection-risk-panel.warning {
  background: linear-gradient(135deg, rgba(255, 248, 229, 0.98) 0%, rgba(255, 243, 210, 0.92) 100%);
  border-color: rgba(183, 109, 18, 0.22);
  box-shadow: inset 5px 0 0 rgba(183, 109, 18, 0.68);
}

.collection-risk-panel.danger {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.98) 0%, rgba(255, 229, 231, 0.96) 100%);
  border-color: rgba(161, 51, 61, 0.22);
  box-shadow: inset 5px 0 0 rgba(161, 51, 61, 0.68);
}

.selected-booking-actions,
.booking-action-group,
.checkout-actions,
.storage-actions,
.admin-actions,
.checkout-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.compact-actions {
  justify-content: flex-end;
}

.admin-primary-action {
  min-width: 210px;
}

.admin-export-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(22, 50, 68, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.queue-panel,
.walkin-panel {
  display: grid;
  gap: 1rem;
}

.walkin-create-panel {
  background: rgba(255, 250, 245, 0.78);
  border-style: dashed;
}

.walkin-create-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}

.walkin-create-panel summary::-webkit-details-marker {
  display: none;
}

.walkin-create-panel summary > span:first-child {
  display: grid;
  gap: 0.25rem;
}

.walkin-create-panel summary strong {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
}

.walkin-create-panel[open] summary {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.walkin-mode-card {
  border-color: rgba(107, 31, 29, 0.14);
  box-shadow: 0 18px 42px rgba(93, 47, 41, 0.12);
}

.walkin-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.walkin-flow-steps span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem;
  border-radius: 999px;
  background: rgba(250, 246, 241, 0.94);
  border: 1px solid rgba(107, 31, 29, 0.08);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.walkin-flow-steps span.active {
  background: var(--warning-soft);
  border-color: rgba(183, 109, 18, 0.2);
  color: var(--warning-ink);
}

.walkin-flow-steps span.done {
  background: var(--success-soft);
  border-color: rgba(31, 106, 56, 0.18);
  color: var(--success-ink);
}

.admin-actions input,
.admin-actions select {
  min-width: 220px;
}

.admin-workflow-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.admin-operational-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 0.75rem;
}

.admin-overview-panel {
  display: grid;
  gap: 1rem;
}

.admin-overview-toolbar {
  align-items: end;
}

.admin-overview-toolbar.bookings-toolbar-mode {
  align-items: start;
}

.admin-overview-toolbar.bookings-toolbar-mode .admin-planning-actions {
  display: none;
}

.admin-planning-actions {
  justify-content: flex-end;
}

.admin-inline-field {
  display: grid;
  gap: 0.4rem;
  min-width: 180px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-inline-field input {
  min-height: 48px;
}

.admin-inline-field select {
  min-height: 48px;
}

.planning-range-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 0.75rem;
  min-width: min(100%, 520px);
}

.planning-range-buttons,
.planning-range-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  grid-column: 1 / -1;
}

.planning-range-presets button {
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(107, 31, 29, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-deep);
  font-weight: 800;
  cursor: pointer;
  padding: 0.55rem 0.85rem;
}

.planning-range-presets button:hover,
.planning-range-presets button:focus-visible {
  border-color: rgba(107, 31, 29, 0.28);
  background: var(--accent-soft);
}

.admin-overview-summary,
.admin-planning-bookings,
.admin-planning-dates,
.admin-hourly-planning,
.admin-location-breakdown {
  display: grid;
  gap: 0.9rem;
}

.bookings-dashboard-shell {
  display: grid;
  gap: 0.9rem;
}

.bookings-control-row {
  display: grid;
  grid-template-columns:
    minmax(280px, 2.6fr)
    minmax(140px, 0.9fr)
    minmax(120px, 0.72fr)
    minmax(120px, 0.72fr)
    minmax(160px, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.bookings-search-field,
.bookings-filter-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.bookings-search-label,
.bookings-filter-field span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bookings-search-field input,
.bookings-filter-field select,
.bookings-filter-field input {
  min-height: 56px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(22, 50, 68, 0.1);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.bookings-search-field input {
  font-size: 1rem;
  font-weight: 700;
}

.bookings-search-field input:focus,
.bookings-filter-field select:focus,
.bookings-filter-field input:focus {
  outline: none;
  border-color: rgba(107, 31, 29, 0.28);
  box-shadow: 0 0 0 4px rgba(107, 31, 29, 0.12);
}

.bookings-custom-range {
  display: grid;
  grid-column: 1 / span 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.bookings-summary-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(22, 50, 68, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.bookings-summary-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bookings-summary-card strong {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.bookings-dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.bookings-dashboard-header h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: var(--ink);
}

.bookings-updated-indicator,
.bookings-range-label,
.bookings-toolbar-hint {
  color: var(--muted);
}

.bookings-updated-indicator {
  font-weight: 700;
}

.bookings-range-label {
  font-size: 0.92rem;
}

.overview-metric-card,
.planning-date-card,
.location-breakdown-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 50, 68, 0.08);
}

.overview-metric-card strong,
.planning-date-card strong,
.location-breakdown-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: var(--ink);
}

.overview-metric-card span,
.planning-date-card span,
.location-breakdown-card span {
  color: var(--muted);
  line-height: 1.45;
}

.admin-overview-summary {
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
}

.planning-strip-heading h3,
.admin-location-breakdown h3 {
  margin: 0;
}

.planning-date-strip,
.location-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

.planning-booking-table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 50, 68, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.planning-booking-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) minmax(180px, 1fr) repeat(3, minmax(130px, auto));
  gap: 0.8rem;
  align-items: end;
}

.bookings-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.25rem 0 0.15rem;
}

.bookings-toolbar-hint {
  font-size: 0.9rem;
  line-height: 1.45;
}

.planning-search-field {
  min-width: 0;
}

.planning-booking-stat,
.training-guide-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 50, 68, 0.08);
}

.planning-booking-stat span,
.training-guide-card span {
  color: var(--muted);
  line-height: 1.45;
}

.planning-booking-stat strong,
.training-guide-card strong {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}

.planning-booking-table {
  width: 100%;
  min-width: 1200px;
  border-collapse: collapse;
}

.planning-booking-table th,
.planning-booking-table td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(22, 50, 68, 0.08);
  text-align: left;
  vertical-align: middle;
}

.planning-booking-table thead th {
  background: rgba(22, 50, 68, 0.05);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.planning-booking-table tbody th {
  color: var(--ink);
  font-weight: 800;
}

.planning-booking-table tbody td {
  color: var(--muted);
  font-weight: 700;
}

.planning-booking-table tbody td span {
  color: var(--muted);
  font-size: 0.9rem;
}

.planning-booking-row {
  position: relative;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.planning-booking-row.just-highlighted {
  animation: booking-row-flash 1.1s ease;
}

.planning-booking-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 6px;
  background: transparent;
}

.planning-booking-row.is-overdue {
  background: rgba(255, 239, 240, 0.72);
}

.planning-booking-row.is-overdue::before {
  background: var(--danger-ink);
}

.planning-booking-row.is-payment-required {
  background: rgba(255, 236, 239, 0.82);
}

.planning-booking-row.is-payment-required::before {
  background: var(--danger-ink);
}

.planning-booking-row.is-due-soon {
  background: rgba(255, 247, 229, 0.76);
}

.planning-booking-row.is-due-soon::before {
  background: var(--warning-ink);
}

.planning-booking-row.is-ready-checkout {
  background: rgba(236, 246, 242, 0.8);
}

.planning-booking-row.is-ready-checkout::before {
  background: var(--stored-ink);
}

.planning-booking-row.is-ready-checkin,
.planning-booking-row.is-ready-store {
  background: rgba(255, 247, 229, 0.82);
}

.planning-booking-row.is-ready-checkin::before,
.planning-booking-row.is-ready-store::before {
  background: var(--warning-ink);
}

.planning-booking-row.is-complete {
  background: rgba(242, 239, 236, 0.78);
}

.planning-booking-row.is-complete::before {
  background: #8e7f79;
}

.planning-booking-row.selected {
  box-shadow: inset 0 0 0 2px rgba(107, 31, 29, 0.18);
}

.planning-customer-cell {
  display: grid;
  gap: 0.18rem;
}

.planning-customer-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.planning-customer-cell strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.planning-urgency-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.planning-urgency-label.is-overdue {
  background: var(--danger-soft);
  color: var(--danger-ink);
}

.planning-urgency-label.is-payment-required {
  background: var(--danger-soft);
  color: var(--danger-ink);
}

.planning-urgency-label.is-ready-checkout {
  background: var(--stored-soft);
  color: var(--stored-ink);
}

.planning-urgency-label.is-ready-checkin,
.planning-urgency-label.is-ready-store,
.planning-urgency-label.is-due-soon {
  background: var(--warning-soft);
  color: var(--warning-ink);
}

.planning-urgency-label.is-complete {
  background: rgba(239, 231, 226, 0.9);
  color: #7a6760;
}

.planning-reference-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: rgba(107, 31, 29, 0.08);
  color: #7c2a26;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
}

.planning-ref-cell span:last-child {
  width: fit-content;
}

.planning-ref-cell,
.planning-bag-cell,
.planning-time-cell {
  display: grid;
  gap: 0.2rem;
}

.planning-bags-times-cell {
  display: grid;
  gap: 0.22rem;
}

.planning-bags-times-cell strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.planning-bags-times-cell span {
  color: var(--muted);
  font-size: 0.88rem;
}

.planning-location-cell {
  display: grid;
  gap: 0.28rem;
}

.planning-location-cell span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.storage-location-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--stored-soft);
  color: var(--stored-ink);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.storage-location-badge.pending {
  background: rgba(239, 231, 226, 0.82);
  color: var(--muted);
}

.planning-ref-cell strong,
.planning-bag-cell strong,
.planning-time-cell strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.planning-status-stack {
  display: grid;
  gap: 0.38rem;
}

.planning-status-detail {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.planning-status-detail.danger {
  color: var(--danger-ink);
}

.source-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.source-badge.compact {
  min-height: 28px;
  padding: 0.32rem 0.62rem;
  font-size: 0.72rem;
}

.source-badge.source-online {
  background: rgba(25, 118, 210, 0.12);
  color: #1976d2;
}

.source-badge.source-walkin {
  background: rgba(251, 140, 0, 0.14);
  color: #fb8c00;
}

.planning-inline-checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(22, 50, 68, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.planning-inline-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.planning-inline-checkbox.disabled {
  background: rgba(239, 231, 226, 0.7);
  color: var(--muted);
  cursor: not-allowed;
}

.planning-inline-checkbox.disabled input {
  cursor: not-allowed;
}

.planning-checkin-cell {
  display: grid;
  gap: 0.55rem;
}

.planning-next-action-cell {
  display: grid;
  gap: 0.55rem;
  min-width: 190px;
}

.planning-next-action-button {
  min-height: 46px;
  justify-content: center;
  width: 100%;
}

.planning-next-action-button.next-action-danger {
  background: linear-gradient(135deg, #b43239 0%, #d04d43 100%);
}

.planning-next-action-button.next-action-warning {
  background: linear-gradient(135deg, #d48621 0%, #ebb048 100%);
  color: #3f2610;
}

.planning-next-action-button.next-action-success {
  background: linear-gradient(135deg, #2b7b5e 0%, #4ea676 100%);
}

.planning-step-complete {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  width: fit-content;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  background: var(--stored-soft);
  border: 1px solid rgba(45, 123, 95, 0.18);
  color: var(--stored-ink);
  font-weight: 800;
}

.planning-step-complete.neutral {
  background: rgba(239, 231, 226, 0.78);
  border-color: rgba(22, 50, 68, 0.08);
  color: var(--muted);
}

.planning-step-complete.blocked {
  background: var(--danger-soft);
  border-color: rgba(156, 52, 46, 0.16);
  color: var(--danger-ink);
}

.planning-step-complete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(45, 123, 95, 0.16);
  color: var(--stored-ink);
  font-size: 0.9rem;
  line-height: 1;
}

.planning-step-complete.neutral .planning-step-complete-icon {
  background: rgba(22, 50, 68, 0.08);
  color: var(--muted);
}

.planning-step-complete.blocked .planning-step-complete-icon {
  background: rgba(156, 52, 46, 0.12);
  color: var(--danger-ink);
}

.selected-booking-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.planning-inline-payment-note {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 239, 240, 0.92);
  border: 1px solid rgba(180, 50, 57, 0.12);
}

.planning-inline-payment-note.compact {
  padding: 0.75rem 0.85rem;
}

.planning-inline-payment-note strong {
  color: var(--danger-ink);
}

.planning-inline-payment-note span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.planning-inline-field {
  display: grid;
  gap: 0.28rem;
}

.planning-inline-field span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.planning-inline-payment-button {
  min-height: 44px;
  justify-content: center;
}

.planning-inline-payment-reference-row {
  min-height: 40px;
}

.planning-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.planning-row-actions.primary {
  flex-direction: column;
  align-items: stretch;
}

.planning-row-actions.secondary {
  margin-top: 0.95rem;
}

.planning-primary-action {
  min-height: 46px;
  width: 100%;
  justify-content: center;
}

.planning-primary-action-danger {
  background: linear-gradient(135deg, #b43239 0%, #d04d43 100%);
}

.planning-primary-action-warning {
  background: linear-gradient(135deg, #d48621 0%, #ebb048 100%);
  color: #3f2610;
}

.planning-primary-action-neutral {
  background: linear-gradient(135deg, #163244 0%, #27506b 100%);
}

.planning-inline-details-row td {
  background: rgba(250, 246, 241, 0.88);
  padding-top: 0;
}

.planning-inline-details-wrap {
  padding: 0.95rem 0;
}

.planning-inline-workflow {
  display: grid;
  gap: 0.95rem;
}

.planning-inline-workflow-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.planning-inline-meta {
  display: grid;
  justify-items: end;
  gap: 0.55rem;
}

.planning-inline-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.planning-inline-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.planning-inline-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 50, 68, 0.08);
}

.planning-inline-card strong {
  color: var(--ink);
}

.planning-storage-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.planning-storage-preset {
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(22, 50, 68, 0.1);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.planning-storage-preset.active {
  background: var(--stored-soft);
  border-color: rgba(45, 123, 95, 0.2);
  color: var(--stored-ink);
}

.planning-inline-card-notes {
  grid-column: 1 / -1;
}

.planning-inline-input {
  min-height: 46px;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(22, 50, 68, 0.12);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.planning-inline-button {
  margin-top: 0.35rem;
}

.planning-inline-action-stack {
  display: grid;
  gap: 0.6rem;
}

.planning-inline-scan-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.planning-inline-feedback {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(22, 50, 68, 0.08);
  background: rgba(245, 248, 250, 0.92);
}

.planning-inline-feedback.success {
  background: var(--success-soft);
  border-color: rgba(31, 106, 56, 0.16);
}

.planning-inline-feedback.warning {
  background: var(--warning-soft);
  border-color: rgba(183, 109, 18, 0.18);
}

.planning-inline-bag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
}

.planning-bag-tile {
  display: grid;
  gap: 0.25rem;
  min-height: 112px;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(22, 50, 68, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.planning-bag-tile strong {
  color: var(--ink);
}

.planning-bag-tile.confirmed {
  background: var(--success-soft);
  border-color: rgba(31, 106, 56, 0.18);
}

.planning-bag-tile.matched {
  box-shadow: 0 0 0 3px rgba(31, 106, 56, 0.18);
}

.planning-inline-confirm-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 251, 247, 0.94);
  border: 1px solid rgba(107, 31, 29, 0.12);
}

.planning-inline-confirm-strip strong {
  color: var(--ink);
}

.planning-inline-confirm-strip span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.planning-inline-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.planning-open-button {
  min-height: 40px;
  padding-inline: 0.85rem;
  white-space: nowrap;
}

.training-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.planning-booking-table tbody tr:last-child th,
.planning-booking-table tbody tr:last-child td {
  border-bottom: none;
}

@keyframes booking-row-flash {
  0% {
    box-shadow: inset 0 0 0 2px rgba(21, 91, 142, 0.3), 0 0 0 0 rgba(21, 91, 142, 0.22);
  }
  55% {
    box-shadow: inset 0 0 0 2px rgba(21, 91, 142, 0.24), 0 0 0 8px rgba(21, 91, 142, 0.12);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(21, 91, 142, 0), 0 0 0 0 rgba(21, 91, 142, 0);
  }
}

.planning-hourly-note {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(244, 223, 216, 0.7);
  border: 1px solid rgba(107, 31, 29, 0.12);
  color: var(--muted);
  line-height: 1.5;
}

.planning-hourly-note strong {
  color: var(--ink);
}

.hourly-planning-table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 50, 68, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hourly-planning-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.hourly-planning-table th,
.hourly-planning-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(22, 50, 68, 0.08);
}

.hourly-planning-table thead th {
  background: rgba(107, 31, 29, 0.06);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.hourly-planning-table tbody th,
.hourly-planning-table tbody td {
  font-variant-numeric: tabular-nums;
}

.hourly-planning-table tbody th {
  color: var(--ink);
  font-weight: 700;
}

.hourly-planning-table tbody td {
  color: var(--muted);
}

.hourly-planning-table tbody tr:last-child th,
.hourly-planning-table tbody tr:last-child td {
  border-bottom: none;
}

.workflow-tab {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(22, 50, 68, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
}

.workflow-tab span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.workflow-tab strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.workflow-tab.active {
  color: #fff8f4;
  box-shadow: 0 12px 24px rgba(107, 31, 29, 0.16);
}

.workflow-tab.active span {
  color: rgba(246, 253, 255, 0.86);
}

.operational-filter {
  display: grid;
  gap: 0.3rem;
  justify-items: start;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(22, 50, 68, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
}

.operational-filter span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.operational-filter strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
}

.operational-filter small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.operational-filter.active {
  background: linear-gradient(135deg, #6b1f1d 0%, #a2473b 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(107, 31, 29, 0.16);
}

.operational-filter.active span {
  color: rgba(255, 255, 255, 0.86);
}

.operational-filter.active small {
  color: rgba(255, 255, 255, 0.82);
}

.workflow-tab-awaiting.active {
  background: linear-gradient(135deg, #9c342e 0%, #c85a4f 100%);
}

.workflow-tab-booked.active,
.workflow-tab-paid.active {
  background: linear-gradient(135deg, #6b1f1d 0%, #9f4136 100%);
}

.workflow-tab-checked-in.active {
  background: linear-gradient(135deg, #9a6420 0%, #c48a3a 100%);
}

.workflow-tab-stored.active {
  background: linear-gradient(135deg, #3b8544 0%, #69b56e 100%);
}

.workflow-tab-late.active {
  background: linear-gradient(135deg, #b76d12 0%, #ebb44b 100%);
}

.workflow-tab-no-show.active {
  background: linear-gradient(135deg, #a1333d 0%, #d85664 100%);
}

.workflow-tab-collected.active {
  background: linear-gradient(135deg, #78645d 0%, #9a867f 100%);
}

.admin-bookings {
  display: grid;
  gap: 1rem;
}

.admin-booking-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.admin-booking-card.selected {
  border-color: rgba(107, 31, 29, 0.28);
  box-shadow: 0 18px 34px rgba(107, 31, 29, 0.12);
}

.admin-summary-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  gap: 0.7rem 1rem;
  align-items: center;
}

.admin-summary-row span {
  color: var(--muted);
  font-weight: 700;
}

.admin-summary-row strong {
  color: var(--ink);
}

.admin-badge-stack {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.admin-timestamp-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(250, 246, 241, 0.92);
  border: 1px solid rgba(107, 31, 29, 0.08);
}

.admin-timestamp-row span {
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-timestamp-row strong {
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0.58rem 0.98rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}

.payment-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 700;
}

.payment-status-bar.compact {
  margin-bottom: 1rem;
}

.payment-status-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.payment-status-detail {
  flex: 1;
  text-align: right;
  font-size: 0.94rem;
  line-height: 1.35;
}

.payment-status-unpaid {
  background: linear-gradient(135deg, rgba(198, 40, 40, 0.08) 0%, rgba(198, 40, 40, 0.14) 100%);
  border-color: rgba(198, 40, 40, 0.18);
  box-shadow: inset 5px 0 0 rgba(198, 40, 40, 0.72);
}

.payment-status-unpaid .payment-status-label {
  background: rgba(198, 40, 40, 0.12);
  color: var(--danger-ink);
}

.payment-status-unpaid .payment-status-detail {
  color: var(--danger-ink);
}

.payment-status-paid {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.08) 0%, rgba(46, 125, 50, 0.14) 100%);
  border-color: rgba(46, 125, 50, 0.18);
  box-shadow: inset 5px 0 0 rgba(46, 125, 50, 0.72);
}

.payment-status-paid .payment-status-label {
  background: rgba(46, 125, 50, 0.12);
  color: var(--success-ink);
}

.payment-status-paid .payment-status-detail {
  color: var(--success-ink);
}

.status-awaiting-payment {
  background: var(--danger-soft);
  color: var(--danger-ink);
}

.status-booked,
.status-paid {
  background: rgba(46, 125, 50, 0.12);
  color: var(--success-ink);
}

.status-online-check-in,
.status-walk-in-check-in {
  background: rgba(249, 168, 37, 0.14);
  color: var(--warning-ink);
}

.status-checked-in,
.status-ready-to-check-in,
.status-ready-to-store {
  background: rgba(249, 168, 37, 0.14);
  color: var(--warning-ink);
}

.status-stored,
.status-ready-for-checkout {
  background: var(--stored-soft);
  color: var(--stored-ink);
}

.status-unpaid {
  background: var(--danger-soft);
  color: var(--danger-ink);
}

.status-late-collection {
  background: var(--danger-soft);
  color: var(--danger-ink);
}

.status-no-show {
  background: #f7f7f7;
  color: #999999;
}

.status-collected {
  background: #f7f7f7;
  color: #999999;
}

.storage-pill {
  background: var(--stored-soft);
  color: var(--stored-ink);
}

.storage-highlight-card {
  background: linear-gradient(135deg, rgba(232, 246, 236, 0.96) 0%, rgba(223, 241, 229, 0.92) 100%);
  border-color: rgba(31, 106, 56, 0.16);
  box-shadow: inset 5px 0 0 rgba(31, 106, 56, 0.68);
}

.storage-highlight-card strong {
  color: var(--stored-ink);
  font-family: "Space Grotesk", sans-serif;
}

.storage-highlight-card span {
  color: var(--stored-ink);
  font-weight: 700;
}

.verification-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
}

.verification-pill-pending {
  background: var(--warning-soft);
  color: var(--warning-ink);
}

.verification-pill-verified {
  background: var(--success-soft);
  color: var(--success-ink);
}

.admin-notes,
.walkin-payment-panel,
.late-fee-panel,
.no-show-panel,
.id-check-panel,
.checkout-panel,
.bag-reference-list,
.price-strip,
.selected-late-panel,
.selected-no-show-panel,
.mobile-summary,
.mobile-primary-action-wrap {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.admin-notes.has-notes {
  background: linear-gradient(135deg, rgba(255, 248, 229, 0.98) 0%, rgba(255, 243, 210, 0.92) 100%);
  border-color: rgba(183, 109, 18, 0.22);
  box-shadow: inset 4px 0 0 rgba(183, 109, 18, 0.68);
}

.walkin-payment-panel {
  display: grid;
  gap: 0.45rem;
}

.walkin-payment-panel strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.walkin-payment-panel span {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.walkin-payment-panel.awaiting {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.98) 0%, rgba(255, 229, 231, 0.96) 100%);
  border-color: rgba(161, 51, 61, 0.18);
  box-shadow: inset 5px 0 0 rgba(161, 51, 61, 0.74);
}

.walkin-payment-panel.awaiting strong,
.walkin-payment-panel.awaiting span:first-of-type {
  color: var(--danger-ink);
}

.walkin-payment-panel.paid {
  background: linear-gradient(135deg, rgba(233, 247, 238, 0.98) 0%, rgba(220, 243, 229, 0.94) 100%);
  border-color: rgba(31, 106, 56, 0.18);
  box-shadow: inset 5px 0 0 rgba(31, 106, 56, 0.72);
}

.walkin-payment-panel.selected {
  margin-bottom: 1rem;
}

.manual-lookup-panel .section-heading,
.manual-checkout-panel .manual-checkout-header {
  align-items: start;
}

@media (max-width: 720px) {
  .payment-status-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-status-detail {
    text-align: left;
  }
}

.admin-notes span {
  line-height: 1.55;
}

.activity-log-panel {
  display: grid;
  gap: 0.8rem;
}

.activity-log-list {
  display: grid;
  gap: 0.75rem;
}

.activity-log-item {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(250, 246, 241, 0.92);
  border: 1px solid rgba(107, 31, 29, 0.08);
}

.activity-log-item > div {
  display: grid;
  gap: 0.18rem;
}

.activity-log-item strong {
  color: var(--ink);
}

.activity-log-item span,
.activity-log-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.booking-timeline,
.checkout-summary-grid {
  display: grid;
  gap: 0.8rem;
}

.booking-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.checkout-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-booking-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.checkout-booking-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(250, 246, 241, 0.92);
  border: 1px solid rgba(107, 31, 29, 0.08);
}

.checkout-booking-card span {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-progress-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 248, 229, 0.96);
  border: 1px solid rgba(183, 109, 18, 0.18);
  box-shadow: inset 5px 0 0 rgba(183, 109, 18, 0.62);
}

.checkout-progress-hero strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  color: var(--warning-ink);
}

.checkout-progress-hero span {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.checkout-progress-hero.complete {
  background: rgba(233, 247, 238, 0.98);
  border-color: rgba(31, 106, 56, 0.18);
  box-shadow: inset 5px 0 0 rgba(31, 106, 56, 0.72);
}

.checkout-progress-hero.complete strong {
  color: var(--success-ink);
}

.checkout-scan-feedback {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.checkout-scan-feedback strong {
  font-family: "Space Grotesk", sans-serif;
}

.checkout-scan-feedback span {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-scan-feedback.success {
  background: rgba(233, 247, 238, 0.98);
  border-color: rgba(31, 106, 56, 0.18);
}

.checkout-scan-feedback.success strong {
  color: var(--success-ink);
}

.checkout-scan-feedback.error {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.98) 0%, rgba(255, 229, 231, 0.96) 100%);
  border-color: rgba(161, 51, 61, 0.18);
}

.checkout-scan-feedback.error strong {
  color: var(--danger-ink);
}

.checkout-scan-feedback.warning,
.checkout-scan-feedback.info {
  background: var(--warning-soft);
  border-color: rgba(183, 109, 18, 0.18);
}

.checkout-scan-feedback.warning strong,
.checkout-scan-feedback.info strong {
  color: var(--warning-ink);
}

.manual-checkout-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 248, 229, 0.96);
  border: 1px solid rgba(183, 109, 18, 0.18);
}

.manual-checkout-header {
  display: grid;
  gap: 0.3rem;
}

.manual-checkout-header span {
  color: var(--muted);
  line-height: 1.5;
}

.manual-checkout-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.manual-checkout-checklist {
  display: grid;
  gap: 0.75rem;
}

.manual-checkout-check {
  background: rgba(255, 255, 255, 0.88);
}

.checkout-confirm-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.late-fee-panel {
  background: #fff8e6;
  border-color: rgba(183, 109, 18, 0.18);
}

.no-show-panel,
.selected-no-show-panel {
  background: #fff0f2;
  border-color: rgba(161, 51, 61, 0.16);
}

.id-check-card {
  background: rgba(250, 246, 236, 0.96);
  border-color: rgba(183, 109, 18, 0.14);
}

.id-check-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.id-check-panel.pending {
  background: #fff8e6;
  border-color: rgba(183, 109, 18, 0.18);
}

.id-check-panel.verified {
  background: rgba(232, 246, 236, 0.94);
  border-color: rgba(31, 106, 56, 0.16);
}

.id-check-panel > div {
  display: grid;
  gap: 0.3rem;
}

.walkin-meta-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(255, 252, 248, 0.94);
  border: 1px solid rgba(107, 31, 29, 0.09);
}

.walkin-meta-card span {
  color: var(--muted);
  line-height: 1.5;
}

.signature-preview {
  width: 100%;
  max-width: 360px;
  min-height: 140px;
  object-fit: contain;
  padding: 0.7rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.bag-progress-grid,
.bag-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.bag-progress-card,
.bag-reference-chip {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.bag-progress-card.scanned,
.bag-reference-chip.done {
  background: rgba(217, 242, 223, 0.92);
  border-color: rgba(47, 125, 77, 0.18);
}

.bag-progress-card.highlighted {
  background: rgba(255, 243, 214, 0.96);
  border-color: rgba(183, 109, 18, 0.24);
}

.bag-progress-grid.scan-error .bag-progress-card:not(.scanned):not(.already-collected) {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.98) 0%, rgba(255, 229, 231, 0.96) 100%);
  border-color: rgba(161, 51, 61, 0.2);
}

.bag-progress-grid.scan-error .bag-progress-card:not(.scanned):not(.already-collected) span:last-child {
  color: var(--danger-ink);
  font-weight: 700;
}

.bag-progress-card.already-collected {
  background: rgba(239, 231, 226, 0.92);
  border-color: rgba(122, 103, 96, 0.18);
}

.text-button {
  border: none;
  background: none;
  padding: 0.35rem 0;
  color: var(--accent-deep);
  font-weight: 700;
  cursor: pointer;
}

.booking-item.empty {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px dashed var(--line);
  color: var(--muted);
}

.price-strip {
  display: grid;
  gap: 0.4rem;
}

.price-strip strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
}

.payment-form {
  display: grid;
  gap: 1rem;
}

.payment-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.payment-summary-card {
  display: grid;
  gap: 0.3rem;
}

.payment-summary-card strong {
  font-family: "Space Grotesk", sans-serif;
}

.payment-summary-card-due {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.98) 0%, rgba(255, 229, 231, 0.96) 100%);
  border-color: rgba(161, 51, 61, 0.18);
}

.payment-summary-card-due strong {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  color: var(--danger-ink);
}

.storage-modal {
  width: min(100% - 1rem, 560px);
  border: none;
  padding: 0;
  background: transparent;
}

.storage-modal::backdrop {
  background: rgba(94, 35, 31, 0.34);
  backdrop-filter: blur(4px);
}

.storage-form {
  padding: 1.2rem;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.storage-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.storage-preset-button {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(107, 31, 29, 0.12);
  background: rgba(255, 255, 255, 0.94);
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.mobile-checkin-shell {
  width: min(100% - 1rem, 680px);
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.mobile-checkin-content {
  display: grid;
  gap: 1rem;
}

.mobile-status-row {
  display: flex;
  justify-content: flex-start;
}

.mobile-summary {
  display: grid;
  gap: 0.45rem;
}

.mobile-summary h1 {
  font-size: clamp(2rem, 9vw, 3rem);
}

.mobile-primary-action-wrap {
  display: grid;
  gap: 0.75rem;
}

.mobile-link-button {
  width: 100%;
}

.admin-login-card {
  margin-top: 2rem;
}

.code-fallback {
  display: grid;
  gap: 0.45rem;
  align-items: center;
  justify-items: center;
  padding: 0.85rem;
  border-radius: 18px;
  border: 2px dashed rgba(22, 50, 68, 0.22);
  background: #ffffff;
  text-align: center;
}

.code-fallback span {
  font-size: 0.9rem;
  word-break: break-all;
}

@media (max-width: 1080px) {
  .task-tiles,
  .live-status-strip,
  .bookings-control-row,
  .bookings-custom-range,
  .walkin-flow-steps,
  .planning-range-controls,
  .planning-booking-toolbar,
  .admin-workflow-tabs,
  .admin-operational-filters,
  .admin-overview-summary,
  .planning-date-strip,
  .location-breakdown-grid,
  .training-guide-grid,
  .selected-booking-grid,
  .checkout-action-grid,
  .checkout-booking-panel,
  .secondary-details-grid,
  .admin-booking-grid,
  .booking-timeline,
  .checkout-summary-grid,
  .admin-timestamp-row,
  .field-grid,
  .transition-grid,
  .confirmation-grid,
  .mobile-detail-grid,
  .selected-late-panel,
  .selected-no-show-panel,
  .payment-summary-grid,
  .checkout-confirm-summary,
  .manual-checkout-summary-grid,
  .bag-progress-grid,
  .bag-reference-grid,
  .booking-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-flow-layout {
    grid-template-columns: 1fr;
  }

  .location-choice-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
  }

  .staff-header-panel,
  .admin-toolbar,
  .selected-booking-header,
  .checkout-header,
  .admin-booking-top,
  .admin-status-row,
  .staff-header-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .bookings-control-row,
  .bookings-custom-range,
  .admin-view-tabs,
  .task-tiles,
  .live-status-strip,
  .walkin-flow-steps,
  .planning-view-nav,
  .planning-range-controls,
  .planning-booking-toolbar,
  .admin-workflow-tabs,
  .admin-operational-filters,
  .admin-overview-summary,
  .planning-date-strip,
  .location-breakdown-grid,
  .training-guide-grid,
  .selected-booking-grid,
  .checkout-action-grid,
  .checkout-booking-panel,
  .secondary-details-grid,
  .admin-booking-grid,
  .booking-timeline,
  .checkout-summary-grid,
  .admin-timestamp-row,
  .field-grid,
  .transition-grid,
  .confirmation-grid,
  .mobile-detail-grid,
  .selected-late-panel,
  .selected-no-show-panel,
  .payment-summary-grid,
  .checkout-confirm-summary,
  .manual-checkout-summary-grid,
  .planning-inline-workflow-grid,
  .planning-inline-details,
  .bag-progress-grid,
  .bag-reference-grid,
  .booking-progress {
    grid-template-columns: 1fr;
  }

  .checkout-progress-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-progress-hero span {
    text-align: left;
  }

  .admin-view-tabs {
    width: 100%;
  }

  .admin-view-tab {
    flex: 1 1 0;
  }

  .compact-grid {
    grid-template-columns: 1fr;
  }

  .location-choice-grid,
  .quick-booking-grid {
    grid-template-columns: 1fr;
  }

  .location-selection-helper,
  .selected-location-strip,
  .booking-stage-header {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .location-selection-helper-actions,
  .selected-location-actions {
    width: 100%;
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
  }

  .location-compact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .compact-link {
    width: 100%;
  }

  .handoff-summary-grid {
    grid-template-columns: 1fr;
  }

  .customer-page .booking-summary {
    position: static;
    order: -1;
  }

  .progressive-step-complete {
    flex-direction: column;
    align-items: stretch;
  }

  .step-edit-button {
    width: 100%;
  }

  .payment-submit-summary {
    position: sticky;
    bottom: 0.75rem;
    z-index: 4;
  }

  .walkin-summary-card {
    position: static;
  }

  .tablet-submit-bar,
  .signature-actions,
  .terms-actions,
  .id-check-panel,
  .planning-inline-confirm-strip,
  .planning-inline-confirm-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tablet-submit-bar .submit-button {
    min-width: 0;
    width: 100%;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-actions input,
  .admin-actions select {
    min-width: 0;
    width: 100%;
  }

  .walkin-site-choice-grid {
    grid-template-columns: 1fr;
  }

  .manual-lookup-form {
    grid-template-columns: 1fr;
  }

  .manual-lookup-support,
  .lookup-result-main,
  .lookup-result-actions {
    align-items: stretch;
  }

  .lookup-result-actions .secondary-button,
  .lookup-result-actions .submit-button {
    width: 100%;
  }

  .admin-primary-action,
  .admin-secondary-action {
    min-width: 0;
    width: 100%;
  }

  .bookings-dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 560px) {
  .customer-card,
  .panel,
  .task-panel,
  .staff-header-panel,
  .mobile-checkin-card {
    border-radius: 24px;
    padding: 1rem;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .brand-service-logo {
    width: 62px;
    height: 62px;
  }

  .customer-announcement {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .admin-summary-row {
    grid-template-columns: repeat(2, minmax(0, auto));
  }

  .summary-line {
    align-items: start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .signature-pad {
    height: 210px;
  }
}
