main.booking-history {
  --bh-ink: #101b3e;
  --bh-text: #384964;
  --bh-border: #cfe0f5;
  --bh-blue: #075bce;
  min-height: 64vh;
  color: var(--bh-ink);
  background: linear-gradient(161deg, #e8f3ff, #f7faff 52%, #fff 86%);
  padding: 21px 16px clamp(36px, 6vw, 78px);
  font: 16px/1.5 Arial, Helvetica, sans-serif;
  scroll-margin-top: 84px;
}

.booking-history *, .booking-history *::before, .booking-history *::after { box-sizing: border-box; }
.booking-history .bh-wrap { width: min(100%, 1040px); margin-inline: auto; }
.booking-history .bh-crumb { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 17px; color: var(--bh-text); font-size: 13px; }
.booking-history .bh-crumb a, .booking-history .bh-text-actions :is(a,button) { color: #164a9c; }
.booking-history .bh-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 13px 18px; margin-bottom: 20px; }
.booking-history h1 { margin: 0; font: 800 clamp(35px, 5vw, 54px)/1.08 Arial, Helvetica, sans-serif; letter-spacing: -.045em; }
.booking-history .bh-heading p { margin: 5px 0 0; color: var(--bh-text); }
.booking-history .bh-panel { padding: clamp(14px,3vw,28px); border: 1px solid var(--bh-border); border-radius: 18px; background: #fff; box-shadow: 0 9px 32px #173e7910; }
.booking-history .bh-panel h2 { margin: 0 0 6px; font: 800 clamp(19px,2.7vw,25px)/1.2 Arial,Helvetica,sans-serif; letter-spacing: -.026em; }
.booking-history .bh-panel p { color: var(--bh-text); }
.booking-history .bh-panel > p, .booking-history .bh-empty p { margin: 0 0 10px; }
.booking-history .bh-panel > p { max-width: 68ch; }
.booking-history .bh-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.booking-history .bh-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 7px 14px; color: #17488f; background: #fff; border: 1px solid #a9c5ef; border-radius: 9px; font: 700 14px/1.25 Arial,Helvetica,sans-serif; cursor: pointer; text-decoration: none; }
.booking-history .bh-button:hover { background: #eef5ff; }
.booking-history .bh-button.bh-primary { background: var(--bh-blue); border-color: var(--bh-blue); color: #fff; }
.booking-history .bh-button.bh-primary:hover { background: #084ca5; border-color: #084ca5; }
.booking-history :is(a,button):focus-visible { outline: 3px solid #185eae; outline-offset: 3px; }
.booking-history .bh-status { margin: 0 0 8px; color: var(--bh-text); font-size: 13px; }
.booking-history .bh-status:empty { margin: 0; }
.booking-history .bh-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; margin: 0 0 13px; }
.booking-history .bh-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; background: transparent; }
.booking-history .bh-filters button { min-height: 40px; padding: 6px 13px; border: 1px solid #c6d9f2; border-radius: 9px; background: #f7faff; color: var(--bh-ink); font: 700 13px/1.2 Arial,Helvetica,sans-serif; letter-spacing: normal; text-transform: none; cursor: pointer; }
.booking-history .bh-filters button:hover { background: #e8f1ff; }
.booking-history .bh-filters button[aria-pressed="true"] { color: #fff; border-color: var(--bh-blue); background: var(--bh-blue); }
.booking-history .bh-text-actions { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.booking-history .bh-text-actions button { border: 0; background: transparent; font: inherit; cursor: pointer; text-decoration: underline; }
.booking-history .portal-booking-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.booking-history .portal-booking-card { min-width: 0; padding: 14px; color: var(--bh-ink); background: #f9fbff; border: 1px solid var(--bh-border); border-radius: 12px; overflow-wrap: anywhere; }
.booking-history .portal-booking-card h3 { font: 800 clamp(17px,2vw,21px)/1.2 Arial,Helvetica,sans-serif; letter-spacing: -.015em; }
.booking-history .portal-booking-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; }
.booking-history .portal-booking-reference { color: #23558e; }
.booking-history .portal-booking-meta { margin-block: 11px; }
.booking-history .portal-booking-note p { overflow-wrap: anywhere; }
.booking-history .portal-status { white-space: normal; }
.booking-history .bh-empty { padding: 15px; border: 1px dashed #bdd4f2; border-radius: 12px; background: #f6faff; }
.booking-history .bh-empty p { margin-bottom: 0; }
.bh-skip { position: absolute; inset: 8px auto auto 10px; z-index: 100; padding: 8px 10px; background: #fff; transform: translateY(-180%); }
.bh-skip:focus { transform: none; }

@media (max-width: 725px) {
  .booking-history .portal-booking-list { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 400px) {
  main.booking-history { padding-inline: 11px; }
  .booking-history .bh-heading { margin-bottom: 14px; }
  .booking-history .portal-booking-meta { grid-template-columns: minmax(0,1fr); }
}
