@layer wsb-v4-shell {
  .wsb-booking-app { width: min(100%, var(--wsb-container-max)); min-height: 0; margin-inline: auto; overflow: visible; padding-bottom: calc(112px + env(safe-area-inset-bottom)); background: var(--wsb-booking-canvas-bg);}
  .wsb-booking-app__header { display: grid; gap: var(--wsb-space-l); padding: clamp(24px, 3vw, 40px) 0; background: var(--wsb-booking-canvas-bg); }
  .wsb-booking-app__header-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--wsb-space-m); }
  .wsb-booking-app__header-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
  .wsb-booking-app__intro { display: grid; gap: var(--wsb-space-3xs); max-width: 800px; }
  .wsb-booking-app__heading-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
  .wsb-booking-app__heading-divider { width: 1px; height: 1.35em; align-self: center; background: var(--wsb-color-border-strong); }
  .wsb-booking-app__eyebrow, .wsb-booking-app__summary-eyebrow { color: var(--wsb-color-brand); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
  .wsb-booking-app__brand-title { color: var(--wsb-color-ink-strong); font-size: clamp(26px, 3vw, 34px); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
  .wsb-booking-app__title { color: var(--wsb-color-muted); font-size: clamp(18px, 2vw, 22px); font-weight: 400; line-height: 1.2; letter-spacing: -.012em; }
  .wsb-booking-app__subtitle { color: var(--wsb-color-muted); font-size: clamp(16px, 1.6vw, 18px); }
  .wsb-booking-app__stepper { scroll-margin-top: calc(var(--wsb-sticky-offset, 0px) + 16px); }
  .wsb-booking-app__layout { display: grid; grid-template-columns: minmax(0, 3.12fr) minmax(var(--wsb-summary-min), 1fr); gap: clamp(16px, 2vw, 32px); padding: 0; background: var(--wsb-booking-canvas-bg); }
  .wsb-booking-app__main { min-width: 0; }
  .wsb-booking-app__empty, .wsb-booking-app__form { display: grid; gap: var(--wsb-space-m); }
  .wsb-booking-app__empty { min-height: 24rem; align-content: center; justify-items: start; border: .0625rem dashed var(--wsb-color-border); border-radius: var(--wsb-radius-l); padding: clamp(1.25rem, 4vw, 3rem); background: var(--wsb-color-surface); }
  .wsb-booking-app__toolbar { display: flex; align-items: start; justify-content: space-between; gap: var(--wsb-space-m); padding: 2px 0 8px; }
  .wsb-booking-app__toolbar > div { display: grid; gap: var(--wsb-space-3xs); }
  .wsb-booking-app__toolbar h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; }
  .wsb-booking-app__toolbar p { max-width: 42rem; color: var(--wsb-color-muted); }
  .wsb-booking-app__toolbar label { min-width: 192px; color: var(--wsb-color-muted); font-size: 12px; font-weight: 500; }
  .wsb-booking-app__trips { display: grid; gap: var(--wsb-space-s); }
  .wsb-booking-app__trip-empty { display: grid; min-height: 13rem; place-items: center; align-content: center; gap: var(--wsb-space-2xs); border: .0625rem dashed var(--wsb-color-border); border-radius: var(--wsb-radius-l); padding: var(--wsb-space-l); background: var(--wsb-color-surface); color: var(--wsb-color-muted); text-align: center; }
  .wsb-booking-app__add-trip { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: var(--wsb-space-2xs); border: 1px dashed color-mix(in srgb, var(--wsb-color-interaction) 42%, var(--wsb-color-border)); border-radius: var(--wsb-radius-m); padding: 12px 16px; background: var(--wsb-color-surface); color: var(--wsb-color-interaction); font-size: 16px; font-weight: 500; cursor: pointer; transition: border-color var(--wsb-motion-fast) ease, background var(--wsb-motion-fast) ease; }
  .wsb-booking-app__add-trip:hover { border-color: var(--wsb-color-interaction); background: color-mix(in srgb, var(--wsb-color-interaction) 5%, var(--wsb-color-surface)); }
  .wsb-booking-app:has(.wsb-trip--open) .wsb-booking-app__add-trip { border-color: var(--wsb-color-border-subtle); background: color-mix(in srgb, var(--wsb-color-canvas) 45%, var(--wsb-color-surface)); color: var(--wsb-color-muted); box-shadow: none; }
  .wsb-booking-app:has(.wsb-trip--open) .wsb-booking-app__add-trip:hover { border-color: var(--wsb-color-interaction); background: color-mix(in srgb, var(--wsb-color-interaction) 5%, var(--wsb-color-surface)); color: var(--wsb-color-interaction); }
  .wsb-booking-app__add-trip[aria-busy="true"] { border-style: solid; cursor: wait; }
	.wsb-booking-app__trip-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.wsb-booking-app__restart { display: flex; min-height: 56px; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--wsb-color-border); border-radius: var(--wsb-radius-m); padding: 10px 16px; background: color-mix(in srgb, var(--wsb-color-canvas) 56%, var(--wsb-color-surface)); color: var(--wsb-color-muted); cursor: pointer; }
	.wsb-booking-app__restart > span:last-child { display: grid; text-align: left; }
	.wsb-booking-app__restart strong { font-size: 14px; font-weight: 500; }
	.wsb-booking-app__restart small { font-size: 12px; font-weight: 400; }
	.wsb-reset-modal__backdrop { position: fixed; z-index: 10010; inset: 0; display: grid; place-items: center; padding: 20px; background: rgb(16 20 28 / 58%); }
	.wsb-reset-modal { display: grid; width: min(100%, 480px); gap: 22px; border: 1px solid var(--wsb-color-border); border-radius: 14px; padding: 24px; background: var(--wsb-color-surface); box-shadow: var(--wsb-shadow-high); }
	.wsb-reset-modal__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
	.wsb-reset-modal__heading h2 { margin: 0; font-size: 22px; }
	.wsb-reset-modal__copy { display: grid; gap: 7px; color: var(--wsb-color-muted); }
	.wsb-reset-modal__copy p { margin: 0; }
	.wsb-reset-modal__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.wsb-reset-modal__actions .wsb-trip__action { min-height: 48px; justify-content: center; border-radius: 10px; font-weight: 500; }
	.wsb-reset-modal__cancel { border: 1px solid var(--wsb-color-border); background: var(--wsb-color-surface); color: var(--wsb-color-ink); }
	.wsb-reset-modal__confirm { border: 0; background: linear-gradient(115deg, var(--wsb-color-brand) 2%, var(--wsb-color-interaction) 98%); color: var(--wsb-color-surface); }
  .wsb-booking-app__spinner { width: 18px; height: 18px; border: 2px solid color-mix(in srgb, var(--wsb-color-interaction) 24%, transparent); border-top-color: var(--wsb-color-interaction); border-radius: var(--wsb-radius-full); animation: wsb-spinner .72s linear infinite; }
  @keyframes wsb-spinner { to { transform: rotate(360deg); } }
  .wsb-booking-app__stage-action { position: fixed; z-index: 9990; right: max(16px, calc((100vw - var(--wsb-container-max)) / 2)); bottom: max(16px, env(safe-area-inset-bottom)); left: max(16px, calc((100vw - var(--wsb-container-max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: var(--wsb-space-m); border: 1px solid color-mix(in srgb, var(--wsb-color-border) var(--wsb-glass-border-alpha), transparent); border-radius: var(--wsb-radius-l); padding: 16px clamp(16px, 2.5vw, 36px); padding-bottom: max(16px, env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--wsb-color-surface) var(--wsb-glass-bg-alpha), transparent); box-shadow: 0 14px 44px color-mix(in srgb, var(--wsb-color-ink) var(--wsb-glass-shadow-alpha), transparent), inset 0 1px 0 rgba(255,255,255,.7); -webkit-backdrop-filter: blur(var(--wsb-glass-blur)) saturate(var(--wsb-glass-saturation)); backdrop-filter: blur(var(--wsb-glass-blur)) saturate(var(--wsb-glass-saturation)); }
  @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .wsb-booking-app__stage-action { background: color-mix(in srgb, var(--wsb-color-surface) 97%, var(--wsb-booking-canvas-bg)); } }
  .wsb-booking-app__stage-total { display: grid; gap: 2px; }
  .wsb-booking-app__stage-total small, .wsb-booking-app__stage-total span { color: var(--wsb-color-muted); font-size: 12px; }
  .wsb-booking-app__stage-total strong { color: var(--wsb-color-ink-strong); font-size: 20px; }
  .wsb-booking-app__mobile-summary-toggle { display: none; }
  .wsb-booking-app__stage-reason:not(.wsb-sr-only) { display: grid; min-height: 44px; max-width: 25rem; gap: 2px; border: 0; padding: .4rem .75rem; background: transparent; color: var(--wsb-color-interaction); font: inherit; font-size: 13px; font-weight: 500; text-align: left; cursor: pointer; }
  .wsb-booking-app__stage-reason-heading { color: var(--wsb-color-muted); font-size: 12px; font-weight: 400; }
  .wsb-booking-app__stage-reason-copy { text-decoration: underline; text-underline-offset: 3px; }
  .wsb-booking-app__button { display: inline-flex; min-width: min(100%, 420px); min-height: 56px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 10px; padding: 14px 24px; color: var(--wsb-color-surface); font-size: 16px; font-weight: 500; transition: background var(--wsb-motion-medium) ease, box-shadow var(--wsb-motion-medium) ease, transform var(--wsb-motion-fast) ease; }
  .wsb-booking-app__button--ready { background: linear-gradient(115deg, var(--wsb-color-brand) 2%, var(--wsb-color-interaction) 98%); cursor: pointer; box-shadow: 0 8px 20px color-mix(in srgb, var(--wsb-color-interaction) 18%, transparent); }
  .wsb-booking-app__button--ready:hover, .wsb-booking-app__button--ready:focus-visible { transform: translateY(-1px); box-shadow: 0 10px 24px color-mix(in srgb, var(--wsb-color-interaction) 24%, transparent); }
  .wsb-booking-app__button--locked, .wsb-booking-app__button[aria-disabled="true"] { background: var(--wsb-color-border-strong); color: color-mix(in srgb, var(--wsb-color-ink) 68%, var(--wsb-color-surface)); cursor: not-allowed; box-shadow: none; }
  .wsb-booking-app__admin-view { display: inline-flex; min-height: 32px; align-items: center; border: 1px solid var(--wsb-color-border); border-radius: 999px; padding: 4px 10px; background: var(--wsb-color-surface-muted); color: var(--wsb-color-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .wsb-booking-app__admin-new { display: inline-flex; min-height: 38px; align-items: center; border: 1px solid color-mix(in srgb, var(--wsb-color-interaction) 30%, var(--wsb-color-border)); border-radius: 10px; padding: 7px 12px; background: var(--wsb-color-surface); color: var(--wsb-color-interaction); font-size: 13px; font-weight: 650; letter-spacing: 0; text-decoration: none; text-transform: none; }
  @media (max-width: 40rem) {
	.wsb-booking-app__trip-actions { grid-template-columns: 1fr; }
	.wsb-reset-modal { padding: 20px; }
    .wsb-booking-app__header-top { align-items: stretch; flex-direction: column; }
    .wsb-booking-app__header-actions { justify-content: flex-start; }
    .wsb-booking-app__stage-action { align-items: stretch; flex-direction: column; }
    .wsb-booking-app__button { width: 100%; max-width: none; }
	.wsb-booking-app__heading-line { gap: 7px; }
	.wsb-booking-app__heading-divider { height: 1.15em; }
  }
  @media (prefers-reduced-motion: reduce) {
    .wsb-booking-app__add-trip .wsb-booking-app__spinner { animation-duration: 1.5s; }
    .wsb-booking-app__button { transition-duration: 0s; }
  }
}
