/* Isolated buyer surface: all selectors stay inside .pbh. */
.pbh {
  --pbh-bg: var(--bg, #14141e);
  --pbh-panel: var(--panel, #1b1d2a);
  --pbh-teal: var(--teal, #35d0c5);
  --pbh-deep: var(--teal-deep, #1fa89f);
  --pbh-mint: var(--mint, #a9f3e1);
  --pbh-brand: var(--brandteal, #87D9CF);
  --pbh-text: #f5f6fa;
  --pbh-muted: #b9bdce;
  --pbh-line: #383b4d;
  color: var(--pbh-text);
  background: var(--pbh-bg);
  font-family: var(--font, 'Outfit', system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.5;
  max-width: 1160px;
  min-width: 0;
  margin: 0 auto;
  padding: 40px 32px 56px;
  text-align: left;
  color-scheme: dark;
}
.pbh *, .pbh *::before, .pbh *::after { box-sizing: border-box; }
.pbh h1, .pbh h2, .pbh h3, .pbh p { margin: 0; }
.pbh h1, .pbh h2, .pbh h3 { color: var(--pbh-text); text-wrap: balance; }
.pbh h2 { font-size: 21px; line-height: 1.3; font-weight: 650; letter-spacing: -.015em; }
.pbh h3 { font-size: 18px; line-height: 1.45; font-weight: 600; }
.pbh p { text-wrap: pretty; max-width: 70ch; }
.pbh a { text-decoration: none; }
.pbh button, .pbh a { -webkit-tap-highlight-color: transparent; }
.pbh button { font: inherit; cursor: pointer; letter-spacing: normal; }
.pbh button:disabled { cursor: default; }
.pbh :is(button,a):focus-visible { outline: 3px solid var(--pbh-mint); outline-offset: 4px; }
.pbh .pbh-title:focus { outline: none; }
.pbh .pbh-header { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-bottom: 28px; }
.pbh .pbh-title { font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.pbh .pbh-subtitle { color: var(--pbh-muted); margin-top: 9px; font-size: 16px; }
.pbh .pbh-button { min-height: 44px; padding: 10px 17px; border: 1px solid #50556b; background: transparent; color: var(--pbh-text); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background-color 160ms ease-out, border-color 160ms ease-out; }
.pbh .pbh-button:hover:not(:disabled) { background: #292d3d; border-color: var(--pbh-brand); }
.pbh .pbh-button:active:not(:disabled) { background: #333a49; }
.pbh .pbh-button:disabled { color: #afb3c6; border-color: var(--pbh-line); background: #202330; }
.pbh .pbh-primary { background: var(--pbh-teal); border-color: var(--pbh-teal); color: #101b23; }
.pbh .pbh-primary:hover:not(:disabled) { background: var(--pbh-mint); border-color: var(--pbh-mint); }
.pbh .pbh-primary:active:not(:disabled) { background: var(--pbh-brand); }
.pbh .pbh-refresh { flex-shrink: 0; }
.pbh .pbh-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.pbh .pbh-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 16px; border-bottom: 1px solid var(--pbh-line); margin-bottom: 30px; }
.pbh .pbh-tab { border: 0; border-radius: 9px; background: transparent; color: var(--pbh-muted); min-height: 44px; padding: 10px 18px; font-weight: 500; transition: color 150ms ease-out, background-color 150ms ease-out; }
.pbh .pbh-tab:hover { background: #222735; color: var(--pbh-text); }
.pbh .pbh-tab[aria-pressed=true] { background: #213b3e; color: var(--pbh-mint); }
.pbh .pbh-layout { display: grid; grid-template-columns: minmax(0,1fr) 236px; align-items: start; gap: 32px; }
.pbh .pbh-main { min-width: 0; }
.pbh .pbh-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.pbh .pbh-filters { display: inline-flex; padding: 3px; background: #222432; border-radius: 10px; }
.pbh .pbh-filter { min-height: 38px; padding: 8px 14px; background: transparent; border: 0; border-radius: 7px; color: var(--pbh-muted); font-size: 14px; }
.pbh .pbh-filter[aria-pressed=true] { background: #3c4055; color: #fff; }
.pbh .pbh-filter:hover { color: #fff; }
.pbh .pbh-timezone { color: var(--pbh-muted); font-size: 13px; margin: 12px 0 22px; }
.pbh .pbh-notice { color: var(--pbh-muted); font-size: 14px; margin: 0 0 20px; }
.pbh .pbh-list { display: flex; flex-direction: column; gap: 16px; }
.pbh .pbh-booking { background: var(--pbh-panel); border: 1px solid var(--pbh-line); border-radius: 14px; padding: 24px; display: flex; gap: 22px; }
.pbh .pbh-date { width: 62px; flex: 0 0 62px; align-self: flex-start; display: flex; flex-direction: column; align-items: center; padding: 7px 0 9px; border-radius: 10px; background: #27363f; color: var(--pbh-mint); }
.pbh .pbh-date span { font-size: 13px; font-weight: 500; }
.pbh .pbh-date strong { font-size: 29px; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; }
.pbh .pbh-booking-content { flex: 1; min-width: 0; }
.pbh .pbh-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.pbh .pbh-person { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.pbh .pbh-person-text { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.pbh .pbh-creator { color: var(--pbh-text); font-weight: 600; font-size: 15px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.pbh a.pbh-creator:hover { color: var(--pbh-mint); text-decoration: underline; }
.pbh .pbh-handle { color: var(--pbh-muted); font-size: 12px; margin-top: 2px; }
.pbh .pbh-avatar { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #324450; color: var(--pbh-mint); font-size: 17px; overflow: hidden; }
.pbh .pbh-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pbh .pbh-badge { display: inline-flex; padding: 4px 9px; border-radius: 5px; background: #303344; color: #d2d6e4; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pbh .pbh-badge-accent { background: #243e3f; color: var(--pbh-mint); }
.pbh .pbh-card-title { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.pbh .pbh-card-title .pbh-icon { color: var(--pbh-brand); }
.pbh .pbh-when { color: #e2e5ef; font-size: 14px; font-variant-numeric: tabular-nums; }
.pbh .pbh-schedule { color: var(--pbh-muted); font-size: 13px; margin-top: 8px; }
.pbh .pbh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.pbh .pbh-join-note { color: var(--pbh-muted); font-size: 12px; margin-top: 11px; }
.pbh .pbh-aside { padding: 24px 0 0 24px; border-left: 1px solid var(--pbh-line); color: var(--pbh-muted); font-size: 14px; }
.pbh .pbh-aside > .pbh-icon { color: var(--pbh-brand); width: 28px; height: 28px; margin-bottom: 16px; }
.pbh .pbh-aside h2 { font-size: 18px; margin-bottom: 10px; }
.pbh .pbh-aside h3 { font-size: 14px; margin: 23px 0 7px; }
.pbh .pbh-aside hr { border: 0; border-top: 1px solid var(--pbh-line); margin: 23px 0 0; }
.pbh .pbh-entry { padding: 24px; border: 1px solid var(--pbh-line); border-radius: 14px; background: var(--pbh-panel); overflow-wrap: anywhere; }
.pbh .pbh-entry .pbh-card-top { margin-bottom: 16px; }
.pbh .pbh-detail { font-size: 14px; color: var(--pbh-muted); margin-top: 7px; }
.pbh .pbh-entry > .pbh-button, .pbh .pbh-entry-link { margin-top: 20px; }
.pbh .pbh-link { color: var(--pbh-mint); display: inline-flex; min-height: 44px; align-items: center; }
.pbh .pbh-link:hover { text-decoration: underline; }
.pbh .pbh-order-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pbh .pbh-amount { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pbh .pbh-order-id { color: var(--pbh-muted); font-size: 11px; margin-top: 14px; overflow-wrap: anywhere; }
.pbh .pbh-list-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 24px; }
.pbh .pbh-page-status, .pbh .pbh-updated { color: var(--pbh-muted); font-size: 12px; }
.pbh .pbh-updated { margin-top: 18px; }
.pbh .pbh-state { padding: 52px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pbh .pbh-state > .pbh-icon { color: var(--pbh-brand); width: 36px; height: 36px; margin-bottom: 8px; }
.pbh .pbh-state p { color: var(--pbh-muted); max-width: 42ch; }
.pbh .pbh-state .pbh-button { margin-top: 8px; }
.pbh .pbh-empty { border: 1px dashed #4b5064; border-radius: 14px; }
.pbh .pbh-error { padding: 24px; margin-top: 16px; background: #30252c; border-radius: 12px; }
.pbh .pbh-error p { color: #e1cbd1; margin: 8px 0 18px; }
.pbh .pbh-loading-label { color: var(--pbh-muted); font-size: 14px; }
.pbh .pbh-skeleton { height: 200px; margin-top: 16px; background: #232634; border-radius: 14px; animation: pbh-pulse 1.5s ease-in-out infinite alternate; }
@keyframes pbh-pulse { to { opacity: .6; } }
@media (max-width: 1100px) {
  .pbh { padding: 32px 24px 48px; }
  .pbh .pbh-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .pbh .pbh-aside { border-left: 0; border-top: 1px solid var(--pbh-line); padding: 24px 0 0; }
}
@media (max-width: 600px) {
  .pbh { padding: 24px 16px 36px; font-size: 14px; }
  .pbh .pbh-header { align-items: flex-start; gap: 12px; padding-bottom: 23px; }
  .pbh .pbh-title { font-size: 29px; }
  .pbh .pbh-subtitle { font-size: 14px; margin-top: 9px; }
  .pbh .pbh-refresh { padding: 10px; font-size: 12px; gap: 5px; }
  .pbh .pbh-refresh .pbh-icon { width: 16px; height: 16px; }
  .pbh .pbh-tabs { gap: 4px; margin-bottom: 24px; padding-bottom: 16px; }
  .pbh .pbh-tab { font-size: 13px; padding: 10px 11px; }
  .pbh h2 { font-size: 19px; }
  .pbh .pbh-toolbar { gap: 14px; }
  .pbh .pbh-booking { padding: 18px; gap: 14px; flex-wrap: wrap; }
  .pbh .pbh-date { flex: 0 0 48px; width: 48px; }
  .pbh .pbh-date strong { font-size: 25px; }
  .pbh .pbh-booking-content { min-width: 210px; }
  .pbh .pbh-card-top { gap: 12px; margin-bottom: 20px; }
  .pbh .pbh-booking .pbh-card-top { flex-direction: column; }
  .pbh .pbh-card-title { font-size: 17px; }
  .pbh .pbh-when { font-size: 13px; }
  .pbh .pbh-actions { flex-direction: column; align-items: stretch; }
  .pbh .pbh-entry { padding: 20px; }
  .pbh .pbh-list-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .pbh *, .pbh *::before, .pbh *::after { animation: none !important; transition: none !important; }
}
