@media (max-width: 960px) {
  html body .preview-quick-booking.compact-live-actions {
    grid-template-columns: repeat(3,minmax(0,1fr));
    padding: 0 max(4px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(4px,env(safe-area-inset-left,0px));
    gap: 0;
    border-top: 1px solid rgb(255 255 255 / 20%);
    background: var(--navy,#014567);
    color: #fff;
  }
  html body .preview-quick-booking.compact-live-actions .mobile-bottom-hours { display: none; }
  html body .preview-quick-booking.compact-live-actions .preview-bottom-link {
    display: flex; flex-direction: row; flex-wrap: wrap; align-content: center; align-items: center; justify-content: center;
    column-gap: 5px; row-gap: 2px; min-height: 55px !important; min-width: 0; padding: 4px 2px !important; margin: 0;
    font: 600 15px/1.2 var(--font-body,system-ui,sans-serif); color: #fff; text-align: center; font-size: 15px !important;
    background: none; border: 0; box-shadow: none; cursor: pointer;
  }
  html body .preview-quick-booking.compact-live-actions .preview-bottom-link > span { font: inherit; font-size: inherit !important; color: inherit; }
  html body .preview-quick-booking.compact-live-actions .preview-bottom-link svg {
    display: block; inline-size: 17px; block-size: 17px; flex: none; color: #fff;
  }
  html body .preview-quick-booking.compact-live-actions .preview-bottom-link > .compact-next-hours {
    flex: 0 0 100%; color: #fff; font: 400 11px/1.1 var(--font-body,system-ui,sans-serif); font-size: 11px !important;
  }
  html body .preview-quick-booking.compact-live-actions .cains-call-indicator { display: none; }
  html body .preview-quick-booking.compact-live-actions .preview-bottom-link:focus-visible {
    outline: 2px solid #f5c04a; outline-offset: -3px;
  }
  html:has(body.mobile-quick-actions-visible) { scroll-padding-bottom: var(--compact-actions-clearance,calc(56px + env(safe-area-inset-bottom,0px))); }

  .compact-directions-sheet {
    position: fixed; inset: auto 0 0; margin: 0 auto; box-sizing: border-box;
    width: min(100%,34rem); max-width: none; max-height: 80dvh; overflow-y: auto; overscroll-behavior: contain;
    padding: 1.15rem max(18px,env(safe-area-inset-right,0px)) max(18px,env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px));
    border: 0; border-radius: 18px 18px 0 0; background: var(--navy,#014567); color: #fff; text-align: left;
  }
  .compact-directions-sheet::backdrop { background: rgb(0 20 30 / 60%); }
  .compact-directions-sheet h2 { color: #fff; margin: 0 0 .45em; padding-right: 48px; font-size: 24px; }
  .compact-directions-sheet address { font-style: normal; }
  .compact-directions-sheet :is(.compact-map-link,summary) {
    display: flex; align-items: center; min-height: 44px; width: fit-content;
    color: #f5c04a; font-weight: 600; text-underline-offset: 3px;
  }
  .compact-directions-sheet summary { cursor: pointer; text-decoration: underline; }
  .compact-directions-sheet summary::after { content: "+"; margin-inline-start: .5em; }
  .compact-directions-sheet details[open] summary::after { content: "−"; }
  .compact-directions-sheet .mobile-hours-content { max-height: none; overflow: visible; padding: 0 0 8px; }
  .compact-directions-sheet .mobile-hours-content :is(td,th) { white-space: normal; }
  .compact-directions-close {
    position: absolute; inset: 6px 6px auto auto; width: 44px; height: 44px; padding: 0; border: 0;
    background: transparent; color: #fff; font: 400 25px/1 system-ui,sans-serif; cursor: pointer;
  }
}
.compact-directions-sheet:not([open]) { display: none; }


@layer type-scale {
  @media (max-width: 960px) {
    html body .preview-quick-booking.compact-live-actions .preview-bottom-link,
    html body .preview-quick-booking.compact-live-actions .preview-bottom-link > span {
      font-size: 15px !important;
    }
    html body .preview-quick-booking.compact-live-actions .preview-bottom-link > .compact-next-hours {
      font-size: 11px !important;
    }
  }
}
@media (max-width: 960px) {
  html body .preview-quick-booking.compact-live-actions .preview-bottom-link:not(:has(.compact-next-hours)) { flex-wrap: nowrap; }
}
@layer type-scale {
  @media (max-width: 360px) {
    html body .preview-quick-booking.compact-live-actions .preview-bottom-link,
    html body .preview-quick-booking.compact-live-actions .preview-bottom-link > span { font-size: 14px !important; }
    html body .preview-quick-booking.compact-live-actions .preview-bottom-link > .compact-next-hours { font-size: 11px !important; }
  }
}
@media (max-width: 960px) {
  html body .preview-quick-booking.compact-live-actions .preview-bottom-link:is(:link,:visited,:hover,:active) { text-decoration: none; }
  .compact-directions-sheet .mobile-hours-content :is(th,td) { padding: 8px 4px; line-height: 1.25; }
}
@layer type-scale {
  @media (max-width: 960px) {
    .compact-directions-sheet :is(address,.compact-map-link,summary) { font-size: 16px !important; }
    .compact-directions-sheet .mobile-hours-content :is(td,th) { font-size: 14px !important; }
    .compact-directions-sheet .mobile-hours-content thead th { font-size: 13px !important; }
    .compact-directions-sheet .mobile-hours-content .footer-holiday { font-size: 12px !important; }
    .compact-directions-sheet .compact-directions-close { font-size: 25px !important; }
  }
}
