[data-page="book-tee-time"] {
  display: block;
  min-height: 100vh;
}

.ps-book-page {
  position: relative;
  min-height: 100vh;
  padding-bottom: 2rem;
  color: var(--ps-text-primary);
  background: var(--ps-bg-base);
  isolation: isolate;
}

.ps-book-eagle-bg {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8) 44%, rgba(0, 0, 0, 0.92)),
    url('/images/eagle-golf-bg.png');
  background-position: center, center 30%;
  background-repeat: no-repeat;
  background-size: cover;
}

.ps-book-page button,
.ps-book-modal button {
  border: 0;
  color: inherit;
  background: transparent;
}

.ps-book-page button:disabled,
.ps-book-modal button:disabled {
  opacity: 0.5;
}

.ps-book-page .ps-book-icon,
.ps-book-modal .ps-book-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.ps-book-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--ps-border);
  background: color-mix(in srgb, var(--ps-bg-surface) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ps-book-header__inner {
  width: min(40rem, 100%);
  min-height: 3.75rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ps-book-header h1 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Poppins, sans-serif;
  font-size: 1.25rem;
}

.ps-book-header h1 .ps-book-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--ps-primary);
}

.ps-book-user-toggle,
.ps-book-view-toggle {
  padding: 0.125rem;
  display: flex;
  gap: 0.125rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--ps-bg-elevated) 90%, transparent);
}

.ps-book-user-toggle button {
  min-height: 2rem;
  padding: 0.375rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 0.4rem;
  color: var(--ps-text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  transition: 160ms ease;
}

.ps-book-user-toggle button.is-active {
  color: #fff;
  background: var(--ps-primary);
}

.ps-book-user-toggle button.is-proshop.is-active {
  background: #f59e0b;
}

.ps-book-content {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.ps-book-onboarding {
  position: relative;
  height: 14rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.66), transparent 64%, rgba(0, 0, 0, 0.2)),
    url('/images/eagle-golf-bg.png');
  background-position: center, center 30%;
  background-size: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.ps-book-ball {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.25rem;
  border-radius: 50%;
  background: white;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
  animation: ps-book-ball-drop 2.5s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.ps-book-ball span {
  width: 100%;
  height: 100%;
  display: block;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #ededed);
  box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes ps-book-ball-drop {
  0% { top: 0.75rem; opacity: 0; transform: translateX(-50%) scale(0.5); }
  60% { top: 33%; opacity: 1; transform: translateX(-50%) scale(1); }
  100% { top: 64%; opacity: 1; transform: translateX(-50%) scale(1); }
}

.ps-book-onboarding__copy {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 1rem;
  left: 0;
  text-align: center;
  animation: ps-book-copy-in 500ms 2.3s both;
}

@keyframes ps-book-copy-in {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: none; }
}

.ps-book-onboarding__copy h2 {
  margin: 0;
  color: white;
  font-family: Poppins, sans-serif;
  font-size: 1.5rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.ps-book-onboarding__copy p {
  margin: 0.125rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.ps-book-badge {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: white;
  background: rgba(245, 158, 11, 0.9);
  font-size: 0.6875rem;
  font-weight: 800;
}

.ps-book-date-nav {
  padding: 0.5rem;
  display: flex;
  align-items: center;
  border: 1px solid var(--ps-border);
  border-radius: 0.6rem;
  background: color-mix(in srgb, var(--ps-bg-surface) 90%, transparent);
  backdrop-filter: blur(12px);
}

.ps-book-date-nav > button:not(.ps-book-date-nav__current) {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  color: var(--ps-text-secondary);
}

.ps-book-date-nav > button:hover {
  background: var(--ps-bg-hover);
}

.ps-book-date-nav__current {
  min-width: 0;
  flex: 1;
  text-align: center;
}

.ps-book-date-nav__current strong,
.ps-book-date-nav__current small {
  display: block;
}

.ps-book-date-nav__current strong {
  font-size: 0.9rem;
}

.ps-book-date-nav__current small {
  color: var(--ps-text-muted);
  font-size: 0.72rem;
}

.ps-book-selected-course {
  padding: 0.75rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.625rem;
  border: 1px solid color-mix(in srgb, var(--ps-primary) 30%, transparent);
  border-radius: 0.65rem;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ps-primary) 10%, transparent), rgba(34, 197, 94, 0.1));
}

.ps-book-selected-course > .ps-book-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--ps-primary);
}

.ps-book-selected-course > div,
.ps-book-selected-course > div > div {
  min-width: 0;
}

.ps-book-selected-course > div > div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ps-book-selected-course strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
}

.ps-book-selected-course span {
  padding: 0.125rem 0.4rem;
  border-radius: 999px;
  color: white;
  background: var(--ps-primary);
  font-size: 0.6rem;
  font-weight: 700;
}

.ps-book-selected-course small {
  display: block;
  color: var(--ps-text-muted);
  font-size: 0.72rem;
}

.ps-book-selected-course button {
  color: var(--ps-text-muted);
  font-size: 0.72rem;
}

.ps-book-discovery {
  display: grid;
  gap: 0.75rem;
}

.ps-book-search {
  position: relative;
}

.ps-book-search > .ps-book-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0.75rem;
  color: var(--ps-text-muted);
  transform: translateY(-50%);
}

.ps-book-search input {
  width: 100%;
  height: 2.75rem;
  padding: 0 6.5rem 0 2.25rem;
  color: var(--ps-text-primary);
  background: var(--ps-bg-surface);
}

.ps-book-search > button {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 0.5rem;
  min-width: 5.25rem;
  min-height: 1.75rem;
  padding: 0.25rem 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  color: white;
  background: var(--ps-primary);
  font-size: 0.67rem;
  transform: translateY(-50%);
}

.ps-book-tabs {
  padding: 0.25rem;
  display: flex;
  gap: 0.25rem;
  border-radius: 0.55rem;
  background: var(--ps-bg-elevated);
}

.ps-book-tabs button {
  min-width: 0;
  min-height: 2.25rem;
  padding: 0.35rem 0.5rem;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: 0.4rem;
  color: var(--ps-text-secondary);
  font-size: 0.69rem;
  font-weight: 600;
}

.ps-book-tabs button.is-active {
  color: var(--ps-text-primary);
  background: var(--ps-bg-surface);
}

.ps-book-tabs button.is-green,
.ps-book-tabs button.is-amber,
.ps-book-tabs button.is-blue {
  color: white;
}

.ps-book-tabs button.is-green { background: var(--ps-primary); }
.ps-book-tabs button.is-amber { background: #f59e0b; }
.ps-book-tabs button.is-blue { background: #3b82f6; }

.ps-book-course-list {
  max-height: 25rem;
  overflow-y: auto;
  border: 1px solid var(--ps-border);
  border-radius: 0.65rem;
  background: var(--ps-bg-surface);
}

.ps-book-course-item {
  width: 100%;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid var(--ps-border) !important;
  text-align: left;
}

.ps-book-course-item:last-child {
  border-bottom: 0 !important;
}

.ps-book-course-item:hover {
  background: var(--ps-bg-hover);
}

.ps-book-course-item__icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ps-text-muted);
  background: var(--ps-bg-elevated);
}

.ps-book-course-item__icon.is-partner {
  color: var(--ps-primary);
  background: color-mix(in srgb, var(--ps-primary) 20%, transparent);
}

.ps-book-course-item__copy {
  min-width: 0;
}

.ps-book-course-item__copy strong,
.ps-book-course-item__copy small {
  display: flex;
  align-items: center;
}

.ps-book-course-item__copy strong {
  gap: 0.35rem;
  font-size: 0.8rem;
}

.ps-book-course-item__copy strong .ps-book-icon {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--ps-primary);
}

.ps-book-course-item__copy small {
  margin-top: 0.1rem;
  color: var(--ps-text-muted);
  font-size: 0.68rem;
}

.ps-book-online-label {
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.18);
  font-size: 0.58rem;
  font-weight: 700;
}

.ps-book-web-course {
  border-bottom: 1px solid var(--ps-border);
}

.ps-book-web-course:last-child {
  border-bottom: 0;
}

.ps-book-web-course__header {
  padding: 0.75rem 0.75rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.ps-book-web-course__header > div {
  min-width: 0;
}

.ps-book-web-course__header strong,
.ps-book-web-course__header small {
  display: flex;
}

.ps-book-web-course__header strong {
  font-size: 0.8rem;
}

.ps-book-web-course__header small {
  margin-top: 0.15rem;
  align-items: center;
  gap: 0.25rem;
  color: var(--ps-text-muted);
  font-size: 0.66rem;
}

.ps-book-web-course__header > span {
  padding: 0.2rem 0.45rem;
  border-radius: 0.3rem;
  color: #a3a3a3;
  background: rgba(115, 115, 115, 0.18);
  font-size: 0.58rem;
  white-space: nowrap;
}

.ps-book-web-course__header > span.has-api {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.18);
}

.ps-book-external-toggle {
  width: calc(100% - 1.5rem);
  min-height: 2.25rem;
  margin: 0.6rem 0.75rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.5rem !important;
  color: var(--ps-primary) !important;
  background: color-mix(in srgb, var(--ps-primary) 20%, transparent) !important;
  font-size: 0.72rem;
  font-weight: 600;
}

.ps-book-external-toggle:hover {
  background: color-mix(in srgb, var(--ps-primary) 30%, transparent) !important;
}

.ps-book-external-times {
  padding: 0 0.75rem 0.75rem;
}

.ps-book-demo-note {
  margin-bottom: 0.5rem;
  padding: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 0.45rem;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  font-size: 0.65rem;
}

.ps-book-external-grid {
  max-height: 18.75rem;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.ps-book-external-grid > button {
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--ps-border) !important;
  border-radius: 0.5rem !important;
  background: var(--ps-bg-surface) !important;
  text-align: left;
}

.ps-book-external-grid > button:hover {
  border-color: var(--ps-primary) !important;
}

.ps-book-external-grid > button > span {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
}

.ps-book-external-grid strong {
  font-size: 0.75rem;
}

.ps-book-external-grid b {
  color: #22c55e;
  font-size: 0.68rem;
}

.ps-book-external-grid small {
  color: var(--ps-text-muted);
  font-size: 0.6rem;
}

.ps-book-external-grid small.is-cart {
  color: #22c55e;
}

.ps-book-external-links,
.ps-book-course-invite {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ps-border);
}

.ps-book-external-links p {
  margin: 0 0 0.45rem;
  color: var(--ps-text-secondary);
  font-size: 0.68rem;
  font-weight: 600;
}

.ps-book-external-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ps-book-external-links a {
  min-height: 1.8rem;
  padding: 0.25rem 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.4rem;
  font-size: 0.62rem;
  font-weight: 600;
}

.ps-book-external-links a.is-blue { color: #60a5fa; background: rgba(59, 130, 246, 0.18); }
.ps-book-external-links a.is-green { color: #4ade80; background: rgba(34, 197, 94, 0.18); }
.ps-book-external-links a.is-amber { color: #fbbf24; background: rgba(245, 158, 11, 0.18); }
.ps-book-external-links a.is-purple { color: #c084fc; background: rgba(168, 85, 247, 0.18); }

.ps-book-external-links > small,
.ps-book-course-invite,
.ps-book-course-invite button {
  color: var(--ps-text-muted);
  font-size: 0.6rem;
}

.ps-book-external-links > small,
.ps-book-course-invite,
.ps-book-course-invite button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.ps-book-external-links > small {
  margin-top: 0.4rem;
}

.ps-book-external-links > small .ps-book-icon,
.ps-book-course-invite > .ps-book-icon {
  color: #22c55e;
}

.ps-book-course-invite button:hover {
  color: var(--ps-primary);
}

.ps-book-primary,
.ps-book-secondary {
  min-height: 2.5rem;
  padding: 0.6rem 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.55rem !important;
  font-size: 0.78rem;
  font-weight: 700;
}

.ps-book-primary {
  color: white !important;
  background: var(--ps-primary) !important;
}

.ps-book-primary:hover {
  background: var(--ps-primary-dark) !important;
}

.ps-book-primary.is-amber {
  background: #f59e0b !important;
}

.ps-book-primary.is-amber:hover {
  background: #d97706 !important;
}

.ps-book-secondary {
  border: 1px solid var(--ps-border) !important;
  color: var(--ps-text-primary) !important;
  background: transparent !important;
}

.ps-book-quick {
  width: 100%;
}

.ps-book-empty {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid var(--ps-border);
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--ps-bg-surface) 90%, transparent);
  text-align: center;
}

.ps-book-empty > .ps-book-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.65rem;
  padding: 0.65rem;
  border-radius: 50%;
  color: var(--ps-primary);
  background: color-mix(in srgb, var(--ps-primary) 10%, transparent);
}

.ps-book-empty h2,
.ps-book-empty strong {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 0.95rem;
}

.ps-book-empty p,
.ps-book-empty span {
  margin: 0.25rem 0 0;
  color: var(--ps-text-muted);
  font-size: 0.75rem;
}

.ps-book-empty ul {
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  color: var(--ps-text-muted);
  list-style: none;
  font-size: 0.68rem;
}

.ps-book-empty li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ps-book-empty li .ps-book-icon {
  color: var(--ps-primary);
}

.ps-book-empty--small {
  min-height: 8rem;
  padding: 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ps-book-empty--small > .ps-book-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.35rem;
  padding: 0;
  color: var(--ps-text-muted);
  background: transparent;
}

.ps-book-loading,
.ps-book-proshop-loading {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ps-text-muted);
  font-size: 0.75rem;
}

.ps-book-loading--small {
  min-height: 4rem;
}

.ps-book-spinner {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  display: inline-block;
  border: 2px solid color-mix(in srgb, var(--ps-primary) 25%, transparent);
  border-top-color: var(--ps-primary);
  border-radius: 50%;
  animation: ps-book-spin 650ms linear infinite;
}

button .ps-book-spinner {
  width: 1rem;
  height: 1rem;
}

@keyframes ps-book-spin {
  to { transform: rotate(360deg); }
}

.ps-book-tee-sheet,
.ps-book-my-bookings,
.ps-book-proshop-panel {
  overflow: hidden;
  border: 1px solid var(--ps-border);
  border-radius: 0.65rem;
  background: var(--ps-bg-surface);
}

.ps-book-tee-sheet > header {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--ps-border);
  background: var(--ps-bg-elevated);
}

.ps-book-tee-sheet > header > div:first-child {
  min-width: 0;
}

.ps-book-tee-sheet > header h2 {
  margin: 0;
  overflow: hidden;
  font-family: Poppins, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.ps-book-tee-sheet > header span {
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ps-text-muted);
  font-size: 0.64rem;
}

.ps-book-view-toggle button {
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 0.35rem;
  color: var(--ps-text-muted);
}

.ps-book-view-toggle button.is-active {
  color: white;
  background: var(--ps-primary);
}

.ps-book-slots {
  max-height: 28rem;
  overflow-y: auto;
}

.ps-book-slots.is-grid {
  padding: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  background: var(--ps-bg-base);
}

.ps-book-slot {
  width: 100%;
  min-height: 4rem;
  padding: 0.75rem 1rem;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--ps-border) !important;
  text-align: left;
  transition: 150ms ease;
}

.ps-book-slots.is-list .ps-book-slot:last-child {
  border-bottom: 0 !important;
}

.ps-book-slots.is-grid .ps-book-slot {
  min-height: 6.25rem;
  padding: 0.7rem;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 0.35rem;
  border: 1px solid var(--ps-border) !important;
  border-radius: 0.55rem;
  background: var(--ps-bg-surface);
}

.ps-book-slots.is-grid .ps-book-slot > time {
  grid-column: 1;
}

.ps-book-slots.is-grid .ps-book-slot > div {
  grid-column: 1 / -1;
}

.ps-book-slots.is-grid .ps-book-slot > b,
.ps-book-slots.is-grid .ps-book-slot > button,
.ps-book-slots.is-grid .ps-book-slot > .ps-book-slot-actions {
  grid-column: 2;
  grid-row: 1;
}

.ps-book-slots.is-grid .ps-book-booker {
  grid-column: 1 / -1 !important;
}

.ps-book-slot:hover.is-available {
  background: color-mix(in srgb, var(--ps-primary) 6%, transparent);
}

.ps-book-slot > time {
  color: var(--ps-text-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 700;
}

.ps-book-slot > div:not(.ps-book-booker):not(.ps-book-slot-actions) {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.ps-book-status {
  min-height: 1.75rem;
  padding: 0.3rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
}

.ps-book-status.is-available {
  border-color: color-mix(in srgb, var(--ps-primary) 20%, transparent);
  color: var(--ps-primary);
  background: color-mix(in srgb, var(--ps-primary) 10%, transparent);
}

.ps-book-status.is-available i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ps-primary);
  animation: ps-book-pulse 1.4s ease-in-out infinite;
}

@keyframes ps-book-pulse {
  50% { opacity: 0.4; transform: scale(0.8); }
}

.ps-book-status.is-full {
  border-color: rgba(115, 115, 115, 0.2);
  color: var(--ps-text-muted);
  background: rgba(115, 115, 115, 0.1);
}

.ps-book-status.is-partial {
  border-color: rgba(245, 158, 11, 0.2);
  color: #d97706;
  background: rgba(245, 158, 11, 0.1);
}

.ps-book-slot.is-full,
.ps-book-slot.is-blocked {
  opacity: 0.62;
  background: color-mix(in srgb, var(--ps-bg-elevated) 50%, transparent);
}

.ps-book-slot.is-full > time {
  color: var(--ps-text-muted);
  text-decoration: line-through;
}

.ps-book-slot.is-partial {
  background: rgba(245, 158, 11, 0.05);
}

.ps-book-slot.is-partial > time {
  color: #f59e0b;
}

.ps-book-slot > b,
.ps-book-slot > button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ps-primary);
  font-size: 0.7rem;
  font-weight: 600;
}

.ps-book-spots {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ps-text-muted);
}

.ps-book-spots small {
  font-size: 0.62rem;
}

.ps-book-player-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.ps-book-player-dots i {
  width: 0.45rem;
  height: 0.45rem;
  display: block;
  border: 1px dashed var(--ps-text-muted);
  border-radius: 50%;
  background: var(--ps-border);
}

.ps-book-player-dots i.is-filled {
  border-color: var(--ps-primary);
  background: var(--ps-primary);
}

.ps-book-player-dots.is-large i {
  width: 0.65rem;
  height: 0.65rem;
}

.ps-book-open {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  color: var(--ps-primary);
  background: color-mix(in srgb, var(--ps-primary) 10%, transparent);
  font-size: 0.62rem;
  font-weight: 600;
}

.ps-book-booker {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ps-book-booker > img,
.ps-book-booker > span:first-child,
.ps-book-management-person > img,
.ps-book-management-person > span:first-child {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid color-mix(in srgb, var(--ps-primary) 30%, transparent);
  border-radius: 50%;
  color: white;
  background: var(--ps-primary);
  object-fit: cover;
  font-size: 0.68rem;
  font-weight: 700;
}

.ps-book-booker > span:last-child {
  min-width: 0;
}

.ps-book-booker strong,
.ps-book-booker small {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ps-book-booker strong {
  overflow: hidden;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-book-booker small {
  margin-top: 0.2rem;
  color: var(--ps-text-muted);
  font-size: 0.6rem;
}

.ps-book-booker em {
  color: #f59e0b;
  font-style: normal;
}

.ps-book-slot-actions {
  display: flex;
  gap: 0.1rem;
}

.ps-book-slot-actions button,
.ps-book-my-bookings article > button {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  color: var(--ps-text-muted);
}

.ps-book-slot-actions button:hover,
.ps-book-my-bookings article > button:hover {
  color: var(--ps-primary);
  background: color-mix(in srgb, var(--ps-primary) 10%, transparent);
}

.ps-book-slot-actions button.is-danger:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.ps-book-my-bookings {
  padding: 1rem;
}

.ps-book-my-bookings h2 {
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: Poppins, sans-serif;
  font-size: 0.85rem;
}

.ps-book-my-bookings h2 .ps-book-icon {
  color: var(--ps-primary);
}

.ps-book-my-bookings > p {
  margin: 0;
  padding: 1rem 0;
  color: var(--ps-text-muted);
  text-align: center;
  font-size: 0.72rem;
}

.ps-book-my-bookings > div {
  display: grid;
  gap: 0.5rem;
}

.ps-book-my-bookings article {
  padding: 0.7rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--ps-border);
  border-radius: 0.55rem;
  background: var(--ps-bg-base);
}

.ps-book-my-bookings__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  color: var(--ps-primary);
  background: color-mix(in srgb, var(--ps-primary) 20%, transparent);
}

.ps-book-my-bookings article > div {
  min-width: 0;
}

.ps-book-my-bookings article > div strong,
.ps-book-my-bookings article > div small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-book-my-bookings article > div strong {
  font-size: 0.75rem;
}

.ps-book-my-bookings article > div small {
  color: var(--ps-text-muted);
  font-size: 0.64rem;
}

.ps-book-proshop {
  display: grid;
  gap: 0.75rem;
}

.ps-book-proshop__hero {
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 0.6rem;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), rgba(34, 197, 94, 0.1));
}

.ps-book-proshop__hero > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ps-book-proshop__hero > div > .ps-book-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #f59e0b;
}

.ps-book-proshop__hero strong,
.ps-book-proshop__hero small {
  display: block;
}

.ps-book-proshop__hero strong {
  overflow: hidden;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-book-proshop__hero small {
  color: var(--ps-text-muted);
  font-size: 0.63rem;
}

.ps-book-proshop__hero > button {
  min-height: 2rem;
  padding: 0.35rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: 0.4rem;
  color: #f59e0b;
  font-size: 0.68rem;
}

.ps-book-proshop-tabs button {
  min-height: 2.4rem;
}

.ps-book-proshop-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.ps-book-proshop-stats article {
  padding: 0.5rem 0.25rem;
  border: 1px solid var(--ps-border);
  border-radius: 0.55rem;
  background: var(--ps-bg-surface);
  text-align: center;
}

.ps-book-proshop-stats strong,
.ps-book-proshop-stats span {
  display: block;
}

.ps-book-proshop-stats strong {
  color: var(--ps-primary);
  font-size: 1.2rem;
}

.ps-book-proshop-stats span {
  color: var(--ps-text-muted);
  font-size: 0.58rem;
}

.ps-book-proshop-stats .is-green strong { color: #22c55e; }
.ps-book-proshop-stats .is-amber strong { color: #f59e0b; }
.ps-book-proshop-stats .is-blue strong { color: #3b82f6; }

.ps-book-proshop-panel {
  padding: 0.75rem;
}

.ps-book-proshop-panel > header {
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ps-book-proshop-panel > header h2 {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 0.75rem;
}

.ps-book-proshop-panel > header > div {
  display: flex;
  gap: 0.2rem;
}

.ps-book-proshop-panel > header button {
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--ps-border);
  border-radius: 0.35rem;
  color: var(--ps-text-secondary);
}

.ps-book-filter-pills {
  margin-bottom: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ps-book-filter-pills button {
  min-height: 1.8rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--ps-border);
  border-radius: 999px;
  color: var(--ps-text-secondary);
  background: var(--ps-bg-surface);
  font-size: 0.65rem;
  font-weight: 600;
}

.ps-book-filter-pills button.is-active {
  border-color: #f59e0b;
  color: white;
  background: #f59e0b;
}

.ps-book-management-list {
  max-height: 25rem;
  overflow-y: auto;
  display: grid;
  gap: 0.5rem;
}

.ps-book-management-row {
  padding: 0.7rem;
  display: grid;
  gap: 0.5rem;
  border: 1px solid var(--ps-border);
  border-radius: 0.55rem;
  background: var(--ps-bg-surface);
}

.ps-book-management-row > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ps-book-management-row > header > div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ps-book-management-row time {
  color: var(--ps-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95rem;
  font-weight: 800;
}

.ps-book-management-row > header span {
  padding: 0.15rem 0.4rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.57rem;
  text-transform: capitalize;
}

.ps-book-management-row > header span.is-confirmed { border-color: rgba(34, 197, 94, 0.3); color: #22c55e; background: rgba(34, 197, 94, 0.15); }
.ps-book-management-row > header span.is-pending { border-color: rgba(245, 158, 11, 0.3); color: #f59e0b; background: rgba(245, 158, 11, 0.15); }
.ps-book-management-row > header span.is-cancelled { border-color: rgba(239, 68, 68, 0.3); color: #ef4444; background: rgba(239, 68, 68, 0.15); }
.ps-book-management-row > header span.is-no_show { border-color: rgba(115, 115, 115, 0.3); color: #a3a3a3; background: rgba(115, 115, 115, 0.15); }

.ps-book-management-row > header > small {
  color: var(--ps-text-muted);
  font-size: 0.6rem;
}

.ps-book-management-row > header em {
  font-style: normal;
}

.ps-book-management-row > header em.is-paid { color: #22c55e; }
.ps-book-management-row > header em.is-pending { color: #f59e0b; }
.ps-book-management-row > header em.is-unpaid { color: #ef4444; }

.ps-book-management-person {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ps-book-management-person strong,
.ps-book-management-person small {
  display: block;
}

.ps-book-management-person strong {
  font-size: 0.72rem;
}

.ps-book-management-person small {
  color: var(--ps-text-muted);
  font-size: 0.62rem;
}

.ps-book-management-row > p {
  margin: 0;
  padding: 0.4rem;
  border-radius: 0.35rem;
  color: var(--ps-text-muted);
  background: var(--ps-bg-base);
  font-size: 0.62rem;
}

.ps-book-management-row > footer {
  display: flex;
  gap: 0.25rem;
}

.ps-book-management-row > footer button {
  min-width: 1.8rem;
  min-height: 1.8rem;
  padding: 0.25rem 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border: 1px solid var(--ps-border);
  border-radius: 0.35rem;
  color: var(--ps-text-secondary);
  font-size: 0.6rem;
}

.ps-book-management-row > footer button.is-confirm {
  flex: 1;
  border-color: #22c55e;
  color: white;
  background: #22c55e;
}

.ps-book-management-row > footer button.is-danger {
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.ps-book-proshop-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.ps-book-proshop-actions button {
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--ps-border);
  border-radius: 0.5rem;
  color: var(--ps-text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
}

.ps-book-proshop-actions button.is-amber {
  border-color: rgba(245, 158, 11, 0.5);
  color: #f59e0b;
}

.ps-book-modal-open {
  overflow: hidden;
}

.ps-book-modal-backdrop {
  position: fixed;
  z-index: 200;
  inset: 0;
  padding: 1rem;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.ps-book-modal {
  width: min(24rem, 100%);
  max-height: min(85vh, 50rem);
  overflow-y: auto;
  border: 1px solid var(--ps-border);
  border-radius: 0.8rem;
  color: var(--ps-text-primary);
  background: var(--ps-bg-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.ps-book-modal.is-wide {
  width: min(32rem, 100%);
}

.ps-book-modal > header {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--ps-border);
  background: var(--ps-bg-surface);
}

.ps-book-modal > header > div {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.ps-book-modal > header > div > .ps-book-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.12rem;
  color: var(--ps-primary);
}

.ps-book-modal > header h2,
.ps-book-modal > header p {
  margin: 0;
  font-family: Poppins, sans-serif;
}

.ps-book-modal > header h2 {
  font-size: 1rem;
}

.ps-book-modal > header p {
  margin-top: 0.2rem;
  color: var(--ps-text-muted);
  font-size: 0.68rem;
}

.ps-book-modal > header > button {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.4rem;
  color: var(--ps-text-muted);
}

.ps-book-modal > header > button:hover {
  color: var(--ps-text-primary);
  background: var(--ps-bg-hover);
}

.ps-book-modal__body {
  padding: 1rem;
}

.ps-book-modal form,
.ps-book-modal fieldset {
  display: grid;
  gap: 0.85rem;
}

.ps-book-modal fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid var(--ps-border);
}

.ps-book-modal fieldset:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.ps-book-modal legend {
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.ps-book-modal legend.is-amber { color: #f59e0b; }
.ps-book-modal legend.is-green { color: #22c55e; }
.ps-book-modal legend.is-blue { color: #3b82f6; }

.ps-book-field {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
}

.ps-book-field > span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ps-text-secondary);
  font-size: 0.68rem;
}

.ps-book-field > span em {
  margin-left: 0.2rem;
  padding: 0.1rem 0.3rem;
  border-radius: 0.25rem;
  color: var(--ps-primary);
  background: color-mix(in srgb, var(--ps-primary) 20%, transparent);
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 700;
}

.ps-book-field > span b {
  color: #ef4444;
}

.ps-book-field input,
.ps-book-field select,
.ps-book-field output,
.ps-book-share-action input {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--ps-border);
  border-radius: 0.5rem;
  color: var(--ps-text-primary);
  background: var(--ps-bg-base);
  font-size: 0.75rem;
}

.ps-book-field output {
  display: flex;
  align-items: center;
}

.ps-book-field select option {
  color: var(--ps-text-primary);
  background: var(--ps-bg-base);
}

.ps-book-course-summary,
.ps-book-no-partners {
  padding: 0.6rem;
  border-radius: 0.5rem;
}

.ps-book-course-summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid color-mix(in srgb, var(--ps-primary) 30%, transparent);
  color: var(--ps-primary);
  background: color-mix(in srgb, var(--ps-primary) 10%, transparent);
}

.ps-book-course-summary[hidden] {
  display: none;
}

.ps-book-course-summary strong,
.ps-book-course-summary small,
.ps-book-no-partners strong,
.ps-book-no-partners small {
  display: block;
}

.ps-book-course-summary strong {
  color: var(--ps-text-primary);
  font-size: 0.72rem;
}

.ps-book-course-summary small,
.ps-book-no-partners small {
  color: var(--ps-text-muted);
  font-size: 0.61rem;
}

.ps-book-no-partners {
  border: 1px solid var(--ps-border);
  background: var(--ps-bg-base);
  text-align: center;
}

.ps-book-no-partners strong {
  font-size: 0.68rem;
}

.ps-book-modal-submit {
  width: 100%;
  margin-top: 0.15rem;
}

.ps-book-share-summary {
  padding: 0.75rem;
  border: 1px solid var(--ps-border);
  border-radius: 0.55rem;
  background: var(--ps-bg-elevated);
}

.ps-book-share-summary > div,
.ps-book-share-summary footer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ps-book-share-summary > div > .ps-book-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.6rem;
  border-radius: 0.5rem;
  color: var(--ps-primary);
  background: color-mix(in srgb, var(--ps-primary) 20%, transparent);
}

.ps-book-share-summary strong,
.ps-book-share-summary small {
  display: block;
}

.ps-book-share-summary strong {
  font-size: 0.75rem;
}

.ps-book-share-summary small {
  color: var(--ps-text-muted);
  font-size: 0.62rem;
}

.ps-book-share-summary footer {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--ps-border);
}

.ps-book-share-summary footer > span:not(.ps-book-player-dots) {
  color: var(--ps-text-muted);
  font-size: 0.62rem;
}

.ps-book-share-summary footer b {
  margin-left: auto;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  color: var(--ps-primary);
  background: color-mix(in srgb, var(--ps-primary) 10%, transparent);
  font-size: 0.6rem;
}

.ps-book-share-action {
  display: grid;
  gap: 0.4rem;
}

.ps-book-share-action label {
  color: var(--ps-text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
}

.ps-book-share-action > button {
  width: 100%;
}

.ps-book-share-action > button.is-added {
  background: #16a34a !important;
}

.ps-book-share-action > small {
  color: var(--ps-text-muted);
  font-size: 0.6rem;
}

.ps-book-share-action > div {
  display: flex;
  gap: 0.45rem;
}

.ps-book-share-action > div > input {
  min-width: 0;
  flex: 1;
}

.ps-book-share-action > div > button {
  min-width: 4.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: white;
  background: #f59e0b;
  font-size: 0.7rem;
  font-weight: 700;
}

.ps-book-form-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.ps-book-switch-row {
  position: relative;
  padding: 0.65rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background: var(--ps-bg-base);
  cursor: pointer;
}

.ps-book-switch-row > span:first-child {
  display: grid;
  place-items: center;
}

.ps-book-switch-row > span.is-green { color: #22c55e; }
.ps-book-switch-row > span.is-amber { color: #f59e0b; }
.ps-book-switch-row > span.is-blue { color: #3b82f6; }
.ps-book-switch-row > span.is-purple { color: #a855f7; }

.ps-book-switch-row strong,
.ps-book-switch-row small {
  display: block;
}

.ps-book-switch-row strong {
  font-size: 0.7rem;
}

.ps-book-switch-row small {
  color: var(--ps-text-muted);
  font-size: 0.58rem;
}

.ps-book-switch-row input {
  position: absolute;
  opacity: 0;
}

.ps-book-switch-row > i {
  position: relative;
  width: 2.2rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--ps-border-light);
  transition: 160ms ease;
}

.ps-book-switch-row > i::after {
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: white;
  content: '';
  transition: 160ms ease;
}

.ps-book-switch-row input:checked + i {
  background: var(--ps-primary);
}

.ps-book-switch-row input:checked + i::after {
  transform: translateX(0.95rem);
}

.ps-book-switch-row input:focus-visible + i {
  outline: 2px solid var(--ps-primary);
  outline-offset: 2px;
}

.ps-book-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.ps-book-modal-copy {
  margin: 0;
  color: var(--ps-text-muted);
  font-size: 0.7rem;
}

.theme-light .ps-book-eagle-bg {
  opacity: 0.9;
}

.theme-light .ps-book-page {
  background: transparent;
}

@media (max-width: 420px) {
  .ps-book-content,
  .ps-book-header__inner {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .ps-book-user-toggle button {
    padding-right: 0.55rem;
    padding-left: 0.55rem;
  }

  .ps-book-course-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ps-book-online-label {
    display: none;
  }

  .ps-book-slot {
    padding-right: 0.7rem;
    padding-left: 0.7rem;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: 0.45rem;
  }

  .ps-book-slots.is-grid {
    grid-template-columns: 1fr;
  }

  .ps-book-slot .ps-book-spots small {
    display: none;
  }

  .ps-book-my-bookings article {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .ps-book-my-bookings article > .ps-book-spots {
    display: none;
  }

  .ps-book-form-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .native-shell-topbar,
  .native-shell-bottom-nav,
  .ps-book-header,
  .ps-book-onboarding,
  .ps-book-date-nav,
  .ps-book-discovery,
  .ps-book-quick,
  .ps-book-tee-sheet,
  .ps-book-my-bookings,
  .ps-book-proshop__hero > button,
  .ps-book-proshop-tabs,
  .ps-book-proshop-actions,
  .ps-book-proshop-panel > header button,
  .ps-book-management-row footer {
    display: none !important;
  }

  .ps-book-page,
  .native-app-shell {
    color: #111;
    background: white;
  }

  .ps-book-eagle-bg {
    display: none;
  }

  .ps-book-content {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .ps-book-proshop-panel,
  .ps-book-management-row {
    border-color: #bbb;
    color: #111;
    background: white;
    break-inside: avoid;
  }

  .ps-book-management-list {
    max-height: none;
    overflow: visible;
  }
}
