@layer wsb-v4-shell {
  .wsb-booking-app { width: min(100%, var(--wsb-container-max)); min-height: calc(100svh - 64px); margin-inline: auto; overflow: visible; border: 1px solid var(--wsb-color-border-subtle); border-radius: var(--wsb-radius-l); padding-bottom: 112px; background: var(--wsb-color-surface); box-shadow: var(--wsb-shadow-low); }
  .wsb-booking-app__header { display: grid; gap: var(--wsb-space-l); padding: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--wsb-color-border-subtle); background: var(--wsb-color-surface); }
  .wsb-booking-app__intro { display: grid; gap: var(--wsb-space-3xs); max-width: 800px; }
  .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__title { color: var(--wsb-color-ink-strong); font-size: clamp(28px, 3vw, 36px); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
  .wsb-booking-app__subtitle { color: var(--wsb-color-muted); font-size: clamp(16px, 1.6vw, 18px); }
  .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: clamp(16px, 2.5vw, 36px); background: var(--wsb-color-surface-raised); }
  .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: end; justify-content: space-between; gap: var(--wsb-space-m); }
  .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__add-trip[aria-busy="true"] { border-style: solid; cursor: wait; }
  .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 var(--wsb-color-border-subtle); border-radius: var(--wsb-radius-l); padding: 16px clamp(16px, 2.5vw, 36px); background: color-mix(in srgb, var(--wsb-color-surface) 96%, transparent); box-shadow: 0 14px 44px color-mix(in srgb, var(--wsb-color-ink) 14%, transparent); backdrop-filter: blur(12px); }
  .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__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__button-arrow { margin-left: auto; font-size: 22px; }
  .wsb-booking-app__button-arrow[hidden] { display: none; }
  .wsb-booking-app__admin-view { display: inline-flex; min-height: 24px; align-items: center; margin-inline-start: 8px; border: 1px solid var(--wsb-color-border); border-radius: 999px; padding: 2px 8px; background: var(--wsb-color-surface-muted); color: var(--wsb-color-muted); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
  @media (max-width: 40rem) {
    .wsb-booking-app__stage-action { align-items: stretch; flex-direction: column; }
    .wsb-booking-app__button { width: 100%; max-width: none; }
  }
  @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; }
  }
}
