/* App pages (traveler, host dashboard, admin, messages): one shared shell so every page lines up with the header,
   the same heading weight as the public pages, and tighter vertical rhythm. */
.bl-app-page { padding: calc(var(--bl-nav-height) + 32px) 0 72px; }
.bl-page-shell { width: min(1328px, calc(100% - 112px)); }
.bl-app-page h1 { font-weight: 700; }
.bl-app-page h2, .bl-app-page h3 { font-weight: 700; }
.bl-page-heading { margin-bottom: 22px; }
.bl-workspace-page:not(.bl-editor-page) .bl-workspace-layout { gap: 32px; }
@media (max-width: 1100px) {
    .bl-page-shell { width: min(1328px, calc(100% - 64px)); }
}
@media (max-width: 760px) {
    .bl-app-page { padding: calc(var(--bl-nav-height) + 20px) 0 56px; }
    .bl-page-shell { width: calc(100% - 32px); }
}

/* booking tabs: an older pill rule forced white text on the underline tabs, so the active tab was unreadable */
.bl-bookings-page .bl-filter-pills .nav-link { color: var(--bl-slate) !important; font-weight: 600; }
.bl-bookings-page .bl-filter-pills .nav-link.active { background: transparent !important; color: var(--bl-navy) !important; border-color: transparent !important; box-shadow: inset 0 -2px var(--bl-navy); }
.bl-bookings-page .bl-booking-actions .bl-booking-view { border: 1px solid #111 !important; }
.bl-bookings-page .bl-booking-actions .bl-booking-cancel { border: 1px solid #111 !important; background: transparent !important; color: #111 !important; }
.bl-bookings-page .bl-status-badge.bl-status-completed { background: #E1F3E6 !important; color: #176B3A !important; }

/* host upgrade card: the generic white card rule hid its light text on the dark variant */
.bl-app-page .bl-host-upgrade { background: linear-gradient(145deg, #f4ebbd 0%, #fff9dc 55%, #e7f1dc 100%); }
.bl-app-page .bl-host-upgrade-active { background: linear-gradient(145deg, #172443 0%, #2f476d 100%); color: #f9f8f1; }
.bl-app-page .bl-host-upgrade-active h5 { color: #fff; font-weight: 700; }
.bl-app-page .bl-host-upgrade-active .bl-eyebrow { color: var(--bl-lemon); }
.bl-app-page .bl-host-upgrade-active .bl-btn { background: var(--bl-lemon); border-color: var(--bl-lemon); color: var(--bl-navy); }
/* Host insights (U-04): a card body is a column, so a bare button in it stretches across the card; keep it button-sized */
.bl-ins-action { align-self: flex-start; }
.bl-confirm-overlay { position: fixed; inset: 0; z-index: 120200; display: grid; place-items: center; padding: 20px; background: rgba(10, 20, 40, .48); }
.bl-app-page :is(.card,.bl-card):has(.bl-confirm-overlay):hover { transform: none !important; }
.bl-confirm-dialog { width: min(100%, 440px); padding: 28px; border: 1px solid rgba(26,35,64,.1); border-radius: 18px; background: #fff; box-shadow: 0 24px 64px rgba(10,20,40,.22); }
.bl-confirm-dialog h2 { margin: 0 0 10px; color: var(--bl-navy); font: 700 22px/1.2 var(--font-display); }
.bl-confirm-dialog p { margin: 0; color: var(--bl-slate); }
.bl-confirm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.bl-guide-password-button { width: 100%; border: 0; text-align: left; }
.bl-notification-dialog { position: fixed; inset: 0; width: min(440px, calc(100vw - 40px)); max-width: calc(100vw - 40px); max-height: calc(100dvh - 40px); margin: auto; padding: 32px 28px 28px; overflow-y: auto; box-sizing: border-box; }
.bl-notification-dialog::backdrop { background: rgba(10, 20, 40, .48); }
.bl-notification-content { position: relative; }
.bl-dialog-close { position: absolute; top: 12px; right: 14px; display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--bl-slate); font: 400 28px/1 var(--font-body); cursor: pointer; }
.bl-dialog-close:hover { background: #F3F1EA; color: var(--bl-navy); }
.bl-notification-options { display: grid; gap: 14px; margin-top: 22px; }
.bl-notification-option { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border: 1px solid rgba(26,35,64,.1); border-radius: 12px; cursor: pointer; }
.bl-notification-option input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--bl-navy); }
.bl-notification-option span { display: grid; gap: 4px; }
.bl-notification-option strong { color: var(--bl-navy); font-size: 14px; }
.bl-notification-option small, .bl-notification-note { color: var(--bl-slate); font-size: 13px; line-height: 1.45; }
.bl-notification-note { margin: 14px 0 0; }
.bl-notification-error, .bl-notification-success { margin: 12px 0 0; font-size: 13px; }
.bl-notification-error { color: #a22d2d; }
.bl-notification-success { color: #23784b; }

/* bookings: vertical timeline, latest first */
.bl-tl { position: relative; margin: 0; padding: 0; list-style: none; }
.bl-tl::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 79px; width: 2px; background: linear-gradient(var(--bl-line), var(--bl-line)); }
.bl-tl-month { position: relative; margin: 8px 0 14px; padding-left: 108px; }
.bl-tl-month span { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--bl-navy); color: #fff; font: 700 12px/1 var(--font-body); letter-spacing: 1.2px; text-transform: uppercase; }
.bl-tl-month:not(:first-child) { margin-top: 26px; }
.bl-tl-item { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 44px; align-items: start; margin-bottom: 18px; }
.bl-tl-date { display: grid; justify-items: center; align-content: center; width: 64px; padding: 8px 0; border: 1px solid var(--bl-line); border-radius: 14px; background: var(--bl-surface); color: var(--bl-navy); text-align: center; }
.bl-tl-date b { font: 700 22px/1 var(--font-display); }
.bl-tl-date span { margin-top: 3px; color: var(--bl-slate); font: 700 12px/1 var(--font-body); letter-spacing: .5px; text-transform: uppercase; }
.bl-tl-dot { position: absolute; top: 22px; left: 72px; z-index: 1; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--bl-page); background: var(--bl-lemon); box-shadow: 0 0 0 1px var(--bl-navy); }
.bl-tl-dot.is-past { background: var(--bl-slate); }
.bl-tl-dot.is-cancelled { background: #D6453D; }
.bl-tl-body .bl-booking-card { margin: 0; }
.bl-tl-body .bl-booking-card .col-4 { flex: 0 0 160px; max-width: 160px; }
@media (max-width: 760px) {
    .bl-tl::before { left: 13px; }
    .bl-tl-month { padding-left: 38px; }
    .bl-tl-item { grid-template-columns: minmax(0, 1fr); padding-left: 38px; }
    .bl-tl-date { display: none; }
    .bl-tl-dot { left: 6px; }
    .bl-tl-body .bl-booking-card .col-4 { flex: 0 0 110px; max-width: 110px; }
}
.bl-tl-card :is(.card-title,.bl-card-title) { font-size: 20px; }

/* desktop zoom (.8) shrinks the 1328px page width too; fill the screen: only a side gutter, capped for ultra-wide monitors.
   One pair of numbers sets the page width for every shell; the home hero (revamp-home.css) and the host pill (revamp-profile.css) read the same pair (U-04). */
:root { --bl-shell-gutter: 112px; --bl-shell-max: 2400px; }
@media (min-width: 1101px) {
    html .bl-shell, html .bl-page-shell, html .bl-pp-page, html .bk-shell, html .bl-co-shell, html .bl-ms-shell, html .bl-hp-shell, html .bl-co-header-inner {
        width: min(var(--bl-shell-max), calc(100% - var(--bl-shell-gutter)));
    }
}

/* booking details dialog: wider, roomier columns */
.bl-bk-modal { max-width: min(1080px, calc(100vw - 32px)); }
.bl-bk-modal .modal-body { padding: 24px 28px; }
.bl-bk-modal .modal-body > .row > .col-md-4 { flex: 0 0 38%; max-width: 38%; }
.bl-bk-modal .modal-body > .row > .col-md-8 { flex: 0 0 62%; max-width: 62%; padding-left: 24px; }
.bl-bk-modal .bl-bk-main-row { align-items: stretch; }
.bl-bk-modal .bl-bk-image-col { display: flex; }
.bl-bk-main-image, .bl-bk-no-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--bl-cream-dark); }
.bl-bk-no-image { display: grid; place-items: center; color: var(--bl-slate); font-size: 13px; }
.bl-bk-modal .bl-bk-detail-col { display: flex; flex-direction: column; min-width: 0; }
.bl-bk-detail-col h5 { margin: 0 0 5px; font-weight: 700; }
.bl-bk-facts { display: grid; flex: 1; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px 12px; min-height: 196px; margin-top: 4px; }
.bl-bk-facts > div { display: grid; align-content: center; gap: 3px; min-width: 0; }
.bl-bk-facts small { color: var(--bl-slate); font-size: 12px; }
.bl-bk-facts strong { color: var(--bl-navy); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
/* Host strip: one row under the photo and facts (avatar, who, optional Message button), no stacked columns */
.bl-bk-host { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 20px; padding: 12px 16px; border: 1px solid rgba(26,35,64,.12); border-radius: 12px; background: var(--bl-surface, #fff); }
.bl-bk-host-avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; object-fit: cover; }
.bl-bk-host-initial { display: grid; place-items: center; background: var(--bl-navy); color: #fff; font-weight: 700; }
.bl-bk-host-info { display: grid; flex: 1 1 160px; gap: 1px; min-width: 0; line-height: 1.3; }
.bl-bk-host-info small { color: var(--bl-slate); font-size: 12px; }
.bl-bk-host-info strong { color: var(--bl-navy); font-size: 15px; overflow-wrap: anywhere; }
.bl-bk-host-rating { color: var(--bl-slate); font-size: 12px; }
.bl-bk-host-rating > span { color: var(--bl-rating); }
.bl-bk-host-contact { display: flex; align-items: center; margin-left: auto; }
.bl-bk-host-error { flex: 1 0 100%; margin: 0; color: #a8372c; }
.modal-footer > .bl-bk-modal-main { min-width: 178px; }
.bl-bk-meeting-point { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(26,35,64,.12); }
/* Review button after the 14-day window: disabled, but the wrapper stays hoverable and focusable so the tooltip shows */
.bl-review-closed { display: inline-flex; cursor: not-allowed; }
.bl-review-closed > .btn, .bl-review-closed > .bl-btn { pointer-events: none; opacity: .55; }
.bl-review-star-on { color: var(--bl-rating); }
.bl-bk-meeting-point h6 { margin-bottom: 8px; }
@media (max-width: 767px) {
    .bl-bk-modal .modal-body { padding: 20px 16px; }
    .bl-bk-modal .modal-body > .row > [class*="col-md"] { flex: 0 0 100%; max-width: 100%; padding-left: 12px; }
    .bl-bk-modal .bl-bk-detail-col { padding-top: 18px; }
    .bl-bk-facts { grid-template-rows: none; grid-auto-rows: minmax(56px, auto); min-height: 0; }
    .bl-bk-host { margin-top: 16px; }
    .bl-bk-host-contact { flex: 1 0 100%; margin-left: 0; }
    .bl-bk-host-contact .btn { width: 100%; min-height: 44px; }
}
/* Booking details sit below the fixed site nav (never under it); long content scrolls inside the dialog. */
body:has(.bl-bk-modal) .modal:has(.bl-bk-modal) { z-index: 120100; padding: calc(var(--bl-nav-height) + 16px) 16px 16px; overflow: hidden; }
body:has(.bl-bk-modal) .modal-dialog-centered.bl-bk-modal { max-height: calc(var(--bl-vh) - var(--bl-nav-height) - 32px); min-height: 0; margin: 0 auto; }
body:has(.bl-bk-modal) .bl-bk-modal > .modal-content { display: flex; max-height: calc(var(--bl-vh) - var(--bl-nav-height) - 32px); overflow: hidden; }
body:has(.bl-bk-modal) .bl-bk-modal > .modal-content > .modal-header,
body:has(.bl-bk-modal) .bl-bk-modal > .modal-content > .modal-footer { flex: 0 0 auto; }
body:has(.bl-bk-modal) .bl-bk-modal > .modal-content > .modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
@media (max-height: 720px) {
    body:has(.bl-bk-modal) .modal-dialog-centered.bl-bk-modal { align-items: flex-start; }
}
@media (max-width: 767px) {
    body:has(.bl-bk-modal) .modal-dialog-centered.bl-bk-modal { height: calc(100vh - var(--bl-nav-height) - 32px); height: calc(100dvh - var(--bl-nav-height) - 32px); }
    body:has(.bl-bk-modal) .bl-bk-modal > .modal-content { height: 100%; min-height: 0; }
}

/* Review form: constrain long reviews to the viewport and keep actions reachable. */
.bl-review-modal { z-index: 120100; }
.bl-review-dialog { display: flex; flex-direction: column; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); min-height: 0; margin: 16px auto; }
.bl-review-dialog > .modal-content { display: flex; flex: 1 1 auto; min-height: 0; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden; }
.bl-review-dialog > .modal-content > .modal-header,
.bl-review-dialog > .modal-content > .modal-footer { flex: 0 0 auto; }
.bl-review-dialog > .modal-content > .modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
@media (max-height: 720px) {
    .bl-review-dialog { align-items: flex-start; }
}
@media (max-width: 575.98px) {
    .bl-review-dialog { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); margin: 8px; }
    .bl-review-dialog > .modal-content { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
}

/* Host payout settings must sit above the fixed site navigation and remain usable on short screens. */
.bl-payout-modal { z-index: 120100; padding: calc(var(--bl-nav-height) + 16px) 16px 16px; overflow-y: auto; }
.bl-payout-modal .modal-dialog { max-width: min(500px, 100%); min-height: 0; margin: 0 auto; }
.bl-payout-modal .modal-content { max-height: calc(100vh - var(--bl-nav-height) - 32px); max-height: calc(100dvh - var(--bl-nav-height) - 32px); overflow-y: auto; }

/* Withdraw card (host Earnings): the main summary card, plus the confirm dialog's detail list */
.bl-withdraw-card { box-shadow: inset 0 0 0 2px var(--bl-navy) !important; }
.bl-withdraw-open { padding: 12px; border: 1px solid var(--bl-line); border-radius: 12px; background: var(--bl-surface); }
.bl-withdraw-summary { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; }
.bl-withdraw-summary dt { color: #64748b; font-weight: 500; }
.bl-withdraw-summary dd { margin: 0; overflow-wrap: anywhere; }

/* ---- QA polish: bootstrap-era host pages ---- */
/* status badges: soft fills with readable text */
.bl-app-page .badge { padding: 5px 11px; border-radius: 999px; font: 800 12px/1.2 var(--font-body); letter-spacing: .4px; text-transform: uppercase; }
.bl-app-page .badge.bg-success { background: #E8F8F1 !important; color: #1F7A4F !important; }
.bl-app-page .badge.bg-secondary { background: #ECE9DF !important; color: #4D5568 !important; }
.bl-app-page .badge.bg-warning { background: #FFF1C9 !important; color: #7A5B00 !important; }
.bl-app-page .badge.bg-danger { background: #FFE9E7 !important; color: #B3261E !important; }
.bl-app-page .badge.bg-primary { background: #E4EBFA !important; color: #1A2E6B !important; }
.bl-app-page .badge.bg-info { background: #E1F4F8 !important; color: #0C5667 !important; }
.bl-app-page .badge.bg-dark { background: #1A2340 !important; color: #fff !important; }
/* muted copy had too little contrast */
/* small.text-muted hints take the one hint colour (.bl-hint group, revamp-type.css; I-69); other muted copy keeps this grey */
.bl-workspace-page .text-muted { color: #5B6377 !important; }
.bl-workspace-page .bl-guide-email-display { display: flex; align-items: center; height: auto; min-height: 44px; white-space: normal; overflow-wrap: anywhere; }
.bl-workspace-page .text-white-50 { color: inherit !important; opacity: .75; }
/* coloured stat cards: one calm style with an accent edge */
.bl-workspace-page :is(.card,.bl-card).bg-primary, .bl-workspace-page :is(.card,.bl-card).bg-success, .bl-workspace-page :is(.card,.bl-card).bg-info, .bl-workspace-page :is(.card,.bl-card).bg-secondary { background: #fff !important; color: var(--bl-navy) !important; border: 1px solid var(--bl-line); border-left-width: 5px; }
.bl-workspace-page :is(.card,.bl-card).bg-primary { border-left-color: #F5D53F; }
.bl-workspace-page :is(.card,.bl-card).bg-success { border-left-color: #1F7A4F; }
.bl-workspace-page :is(.card,.bl-card).bg-info { border-left-color: #2F7FA3; }
.bl-workspace-page :is(.card,.bl-card).bg-secondary { border-left-color: #B3261E; }
.bl-workspace-page :is(.card,.bl-card).text-white h3, .bl-workspace-page :is(.card,.bl-card).text-white small { color: var(--bl-navy) !important; }
.bl-workspace-page :is(.card,.bl-card).text-white .bl-dashboard-icon { color: var(--bl-slate); opacity: .6; }
/* tables */
.bl-workspace-page :is(.table,.bl-table) thead th { padding: 12px 16px; color: #5B6377; font: 800 11px/1.2 var(--font-body); letter-spacing: .8px; text-transform: uppercase; }
.bl-workspace-page :is(.table,.bl-table) tbody td { padding: 14px 16px; vertical-align: middle; }
.bl-workspace-page :is(.table-responsive,.bl-table-responsive), .bl-workspace-page :is(.card,.bl-card) :is(.table,.bl-table) { border-radius: 16px; }
.bl-workspace-page .bl-tours-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* the "more" split button had no label */
.bl-workspace-page .dropdown-toggle-split::after { margin: 0; }
.bl-workspace-page .dropdown-toggle-split { min-width: 34px; }
/* earnings icon tiles were a dark square with a dark icon */
.bl-workspace-page [class*="bg-opacity-10"] { background: #F3EBCB !important; color: var(--bl-navy) !important; border-radius: 12px !important; }
.bl-workspace-page [class*="bg-opacity-10"] .text-primary, .bl-workspace-page [class*="bg-opacity-10"] .text-success, .bl-workspace-page [class*="bg-opacity-10"] .text-warning, .bl-workspace-page [class*="bg-opacity-10"] .text-info { color: var(--bl-navy) !important; }
/* availability page used a narrower, centred column; match the other host pages */
.bl-workspace-page .bl-schedule-content.col-lg-10 { flex: 0 0 100%; max-width: 100%; margin-inline: 0 !important; }
/* Width sweep D6: the date button in Block dates sits in a col-md-3 (72 to 92px of text room at 1024 and 1100): the date wraps instead of ending in an ellipsis */
.bl-schedule-blocks .bl-dp-btn { padding-block: 6px; text-align: left; }
.bl-schedule-blocks .bl-dp-btn span { overflow: visible; text-overflow: clip; white-space: normal; }
.bl-app-page .breadcrumb { margin: 0; padding: 0; background: none; }
.bl-app-page .breadcrumb a { color: var(--bl-slate); text-decoration: none; }
.bl-app-page .breadcrumb a:hover { color: var(--bl-navy); text-decoration: underline; }
.bl-app-page .breadcrumb-item.active { color: var(--bl-navy); font-weight: 600; }
.bl-workspace-page :is(.table,.bl-table) > :not(caption) > * > * { padding: 12px 16px; }
/* Host workspace tables: side padding (app.css:1604 sets 0 and wins on specificity). Admin keeps its own wrap padding. */
.bl-workspace-page:not(.bl-admin-page):not(.bl-editor-page) :is(.table,.bl-table) :is(th,td) { padding-left: 16px; padding-right: 16px; }

/* signed-in nav ran past the screen on small phones: tighten, and drop the wordmark when it can't fit */
@media (max-width: 480px) {
    .bl-nav-actions { gap: 4px; }
}
/* tablet widths (901-1180px): the seven links and the account actions no longer fit side by side, so Stories ran under the location button.
   Tighten gaps and padding first; the How it works and Home links step aside too (the logo goes home; How it works stays in the footer and on the home page). */
@media (min-width: 901px) and (max-width: 1180px) {
    .bl-nav-inner { gap: 12px; }
    .bl-nav-links { gap: 0; min-width: 0; }
    .bl-nav-links a { padding-inline: 9px; white-space: nowrap; }
    .bl-nav-actions { gap: 6px; flex-shrink: 0; }
}
/* measured signed in as a host (the widest action set): seven links run under the actions up to about 1395px, and Home alone tips it over up to 1500px */
@media (min-width: 901px) and (max-width: 1420px) {
    .bl-nav-links a[href="how-it-works"] { display: none; }
}
@media (min-width: 901px) and (max-width: 1500px) {
    .bl-nav-links > a:first-child { display: none; }
}
/* up to 1100px even the shortened set (now with Community) runs under the actions (measured: clipped at 1060, clear at 1100): use the same link-free header as 900px and below. From 1101px the page zoom gives the row room again. */
@media (min-width: 901px) and (max-width: 1100px) {
    .bl-nav-links { display: none; }
}
.bl-lang-short { display: none; }
.bl-menu-search { display: none; }
/* signed in on a phone: the header has no room for Search, so it moves into the account menu; the language button shortens */
@media (max-width: 430px) {
    .bl-nav-actions:has(.bl-profile-toggle) .bl-nav-searchlink, .bl-nav-actions:has(.bl-profile-toggle) .bl-nav-maplink { display: none; }
    .bl-nav-actions:has(.bl-profile-toggle) .bl-lang-full { display: none; }
    .bl-nav-actions:has(.bl-profile-toggle) .bl-lang-short { display: inline; }
    .bl-menu-search { display: list-item; }
}
/* signed out on a phone: the short language label keeps "Create account" fully on screen at 360 */
@media (max-width: 430px) {
    .bl-nav-actions .bl-lang-full { display: none; }
    .bl-nav-actions .bl-lang-short { display: inline; }
}
@media (max-width: 380px) {
    .bl-nav-actions .bl-nav-searchlink, .bl-nav-actions .bl-nav-maplink { display: none; }
    .bl-nav-actions .bl-btn-lemon { padding: 0 12px; }
}
/* the wordmark text ran under the header controls between 431 and about 600px; the lemon mark alone carries the brand until there is room */
.bl-nav .bl-brand { flex: 0 0 auto; }
@media (max-width: 640px) {
    .bl-nav .bl-brand > span:not(.bl-brand-mark) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 360px) {
    .bl-nav-inner { width: calc(100% - 16px); }
    .bl-nav-actions { gap: 2px; }
    .bl-nav-actions > .bl-lang { padding-inline: 8px; }
}
@media (max-width: 480px) {
    .bl-co-header-inner { gap: 8px; }
    .bl-co-header .bl-brand > span:not(.bl-brand-mark) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .bl-co-header-right { display: none; }
    .bk-stepper li:not(:last-child)::after { width: 12px; margin: 0 5px; }
    .bk-stepper li { gap: 6px; }
    .bl-schedule-content > .d-flex.justify-content-between.align-items-center.mb-4 { align-items: flex-start !important; flex-direction: column; gap: 12px; }
    .bl-schedule-weekly .ms-4 { margin-left: 0 !important; }
    .bl-schedule-weekly .bl-schedule-slot { flex-wrap: wrap; }
    .bl-schedule-weekly .bl-schedule-slot select { width: auto !important; min-width: 0; flex: 1 1 100px; }
    .bl-schedule-blocks .pt-3 > .d-flex.gap-3.mb-3 { flex-wrap: wrap; }
    .bl-schedule-blocks .btn-group { max-width: 100%; }
}

/* Stash page: note for a signed-out visitor, and the merge confirmation */
.bl-stash-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 24px; padding: 16px 20px; border: 1px solid var(--bl-line, #E7E9EC); border-radius: 14px; background: #fff; }
.bl-stash-note p { margin: 0; max-width: 60ch; color: var(--bl-navy); }
.bl-stash-note.is-good { background: #F4FBE8; border-color: #D5EAA8; }
.bl-stash-note-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Passport stamps: one per booked experience, tinted by flavour. Examples are dashed and labelled. */
.bl-stamp-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.bl-stamp { --stamp: #2864ff; display: flex; align-items: center; gap: 14px; padding: 14px; background: #fff; border: 1px solid #e7e9ec; border-radius: 14px; min-width: 0; }
.bl-stamp.is-eat { --stamp: #c2410c; } .bl-stamp.is-make { --stamp: #7c3aed; } .bl-stamp.is-outside { --stamp: #15803d; }
.bl-stamp.is-after-dark { --stamp: #163b97; } .bl-stamp.is-culture { --stamp: #a16207; } .bl-stamp.is-slow-down { --stamp: #0f766e; } .bl-stamp.is-hidden-corners { --stamp: #be185d; }
.bl-stamp-ring { flex: 0 0 92px; width: 92px; height: 92px; border-radius: 50%; border: 3px double var(--stamp); color: var(--stamp); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-6deg); padding: 6px; overflow: hidden; }
.bl-stamp-city { font: 700 12px/1.1 var(--font-display, Lora, serif); max-width: 100%; overflow-wrap: anywhere; }
.bl-stamp-flavour { font: 600 12px/1.2 Inter, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }
.bl-stamp-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bl-stamp-text strong { font: 600 15px/1.25 Inter, system-ui, sans-serif; color: #111827; overflow-wrap: anywhere; }
.bl-stamp-text > span { font-size: 13px; color: #64748b; }
.bl-stamp-tag { align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: #475569 !important; font-size: 12px !important; }
.bl-stamp-tag.is-new { background: #efff69; color: #111827 !important; }
.bl-stamp.is-preview { border-style: dashed; background: #faf9f5; }
.bl-stamp.is-preview .bl-stamp-ring { opacity: .75; }
.bl-stamp-reveal { margin: 0 0 14px; padding: 14px 16px; background: #fbffd1; border: 1px solid #e3f04f; border-radius: 14px; }
.bl-stamp-reveal p { margin: 0 0 10px; color: #111827; }
.bl-stamp-reveal-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-stamp.is-new .bl-stamp-ring { animation: bl-stamp-in .7s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes bl-stamp-in { from { transform: rotate(-24deg) scale(1.9); opacity: 0; } to { transform: rotate(-6deg) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bl-stamp.is-new .bl-stamp-ring { animation: none; } }
@media (max-width: 480px) { .bl-stamp-wall { grid-template-columns: 1fr; } }

/* Day-of essentials on My bookings and the confirmed page */
.bl-trip-prep { display: grid; gap: 12px; padding: 16px; margin: 16px 0; background: #fff; border: 1px solid #e7e9ec; border-radius: 14px; }
.bl-trip-count { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.bl-trip-count strong { font: 600 22px/1.2 var(--font-display, Lora, serif); color: var(--bl-navy, #1a2340); }
.bl-trip-count.is-past strong { color: #64748b; }
.bl-trip-count span { font-size: 14px; color: #64748b; }
.bl-trip-map { width: 100%; height: 220px; border-radius: 12px; }
.bl-trip-row { display: grid; gap: 4px; margin: 0; font-size: 14px; color: #111827; }
.bl-trip-row small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.bl-trip-row ul { margin: 0; padding-left: 18px; }
/* I-273: the Local's directions on a confirmed booking (DirectionsBlock). The text keeps its line breaks. */
.bl-directions { display: grid; gap: 6px; justify-items: start; margin-top: 10px; }
.bl-directions-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.bl-directions-text { margin: 0; font-size: 14px; color: #111827; white-space: pre-line; overflow-wrap: anywhere; }
.bl-directions-error { margin: 0; font-size: 13px; color: #b42318; }

/* Admin: email delivery card */
.bl-email-health { display: grid; gap: 12px; padding: 16px; margin: 16px 0; background: #fff; border: 1px solid #e7e9ec; border-radius: 14px; }
.bl-email-health header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bl-email-health h2 { margin: 0; font-size: 18px; }
.bl-email-health .is-warn strong { color: #b42318; }
.bl-email-health-note { margin: 0; font-size: 14px; color: #64748b; }
.bl-email-health-note.is-warn { color: #7a2e0e; background: #fff4e5; border-radius: 10px; padding: 10px 12px; }
.bl-email-health-codes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bl-email-health-codes li { display: inline-flex; gap: 8px; align-items: center; padding: 4px 10px; border: 1px solid #e7e9ec; border-radius: 999px; font-size: 13px; }

/* Phone pass 2026-11-11: small controls reach 44px without changing how they look */
@media (max-width: 760px) {
  .bl-cur-trigger, .bl-nav-actions .bl-cur-trigger { min-width: 44px; min-height: 44px; }
  .bl-ps .bl-ps-input { min-height: 44px; }
  .bl-nav-actions .bl-nav-searchlink { min-width: 40px; }
  .bl-switch::after { content: ""; position: absolute; inset: -9px -4px; }
  .bl-footer .bl-footer-col a { min-height: 44px; min-width: 44px; }
  .bl-footer-bottom a, .bl-footer a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Phone pass 3 (PHONE-04 in the 2026-11-11 full QC runs, see docs/qa/QC_LOG.md): the last controls under 40px. The checklist labels on /host-resources were already 44px high;
   the checkbox itself stays small but sits inside a full-height label that toggles it. */
@media (max-width: 760px) {
  html body .bl-vibes-head-link { padding-block: 14px; }
  html body .bl-map-breadcrumbs button { min-height: 44px; }
  html body .bl-map-canvas .maplibregl-ctrl-group button { width: 44px; height: 44px; }
  html body .bl-pp-edit { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  html body .bl-welcome-brand { min-height: 44px; min-width: 44px; }
  html body .bl-auth-check { min-height: 44px; }
  html body .bl-auth-check input { width: 22px; height: 22px; }
}

/* QC full 3, PHONE-04: tap targets on phones */
@media (max-width: 640px) {
    /* carousel dots: wider spacing so each dot has a 24px-wide, 40px-tall hit area without overlapping its neighbour */
    html body .bl-fc-dots { gap: 16px; }
    html body .bl-fc-dots .bl-fc-dot::after { inset: -16px -8px; }
}
/* category link above the experience title: 44px tall hit area, layout unchanged */
.bl-detail-head .bl-eyebrow a { display: inline-block; padding: 14px 4px; margin: -14px 0; }
/* booking calendar days: 40px wide at 360px */
@media (max-width: 400px) {
    .bk-card .bk-cal-grid { gap: 2px; }
}
@media (max-width: 380px) {
    .bk-card { padding-left: 12px; padding-right: 12px; }
    .bk-card .bk-cal-grid { gap: 1px; }
}

/* ---- Membership: member card, welcome page, header mark (2026-11-13) ---- */
.bl-member-mark { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; border-radius: 50%; background: var(--bl-lemon); box-shadow: inset -3px -3px 0 rgba(11, 24, 48, .18); }

.bl-member-card { position: relative; overflow: hidden; width: 100%; max-width: 380px; padding: 20px 22px; border-radius: 20px; color: #fff; isolation: isolate;
    background: radial-gradient(120% 90% at 100% 0%, rgba(239, 255, 105, .22), transparent 55%), linear-gradient(135deg, var(--bl-night-2), var(--bl-night) 70%);
    box-shadow: 0 18px 44px rgba(11, 24, 48, .28), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.bl-member-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .14) 50%, transparent 60%); transform: translateX(-120%); }
.bl-member-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bl-member-card-brand { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--font-display); letter-spacing: .01em; }
.bl-member-card-status { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); font: 600 12px/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.bl-member-card-plan { margin: 26px 0 2px; color: var(--bl-lemon); font: italic 700 40px/1 var(--font-display); }
.bl-member-card-holder { margin: 0; font: 600 14px/1.4 var(--font-body); color: rgba(255, 255, 255, .86); overflow-wrap: anywhere; }
.bl-member-card-dates { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 22px 0 0; }
.bl-member-card-dates dt { font: 600 12px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.bl-member-card-dates dd { margin: 2px 0 0; font: 600 14px/1.3 var(--font-body); }
.bl-member-card.is-large { max-width: 420px; padding: 26px 28px; }
.bl-member-card.is-large .bl-member-card-plan { font-size: 52px; margin-top: 34px; }
.bl-member-next { margin: 14px 0 12px; font-size: 14px; }
.bl-membership-panel .bl-member-card { margin-bottom: 4px; }

.bl-mw-page { padding-top: 0; }
.bk-page.bl-mw-page .bl-mw { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 136px 0 24px; } /* the page starts under the fixed header */
.bl-mw-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.bl-mw .bl-mw-intro { width: auto; margin: 0; padding: 0; text-align: left; justify-items: start; gap: 12px; }
.bl-mw-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 700 12px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-green-text) !important; }
.bl-mw-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bl-mw .bl-mw-intro h1 { font: 700 clamp(2.1rem, 4.4vw, 3.4rem)/1.06 var(--font-display); text-wrap: balance; }
.bl-mw-lead { font-size: 18px; line-height: 1.5; max-width: 34em; }
.bl-mw-receipt { font-size: 13.5px; }
.bl-mw-card { display: flex; justify-content: flex-end; }
.bl-mw-sub { margin: 64px 0 18px; font: 700 12px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-secondary); }
.bl-mw-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--bl-line); }
.bl-mw-perks li { display: grid; gap: 6px; align-content: start; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--bl-line); }
.bl-mw-perks strong { font: 700 22px/1.2 var(--font-display); color: var(--ink-primary); }
.bl-mw-perks span { font-size: 14.5px; line-height: 1.55; color: var(--ink-secondary); }
.bl-mw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 36px; }
.bl-mw-manage { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font: 600 14px/1 var(--font-body); color: var(--ink-primary); text-decoration: underline; text-underline-offset: 4px; }

.bl-profile-toggle > span.is-member { box-shadow: 0 0 0 2px var(--bl-page), 0 0 0 4px var(--bl-navy); }
.bl-member-chip { padding: 3px 8px; border-radius: 999px; background: var(--bl-navy); color: var(--bl-lemon); font: italic 700 12px/1.2 var(--font-display); letter-spacing: .02em; }
.bl-nav.is-dark .bl-member-chip { background: var(--bl-lemon); color: var(--bl-navy); }
.bl-account-menu .dropdown-item.bl-menu-member { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, var(--bl-night-2), var(--bl-night)); color: #fff; }
.bl-account-menu .dropdown-item.bl-menu-member:hover, .bl-account-menu .dropdown-item.bl-menu-member:focus, .bl-account-menu .dropdown-item.bl-menu-member.active { background: linear-gradient(135deg, var(--bl-night-2), var(--bl-night)); color: #fff; filter: brightness(1.12); }
.bl-menu-member-text { display: grid; gap: 1px; min-width: 0; }
.bl-menu-member-text strong { font: 700 14px/1.3 var(--font-display); color: var(--bl-lemon); }
.bl-menu-member-text small { font-size: 12px; color: rgba(255, 255, 255, .76); white-space: normal; }
.bl-account-menu .dropdown-item.bl-menu-plus { width: 100%; border: 0; text-align: left; cursor: pointer; }
.bl-menu-tag { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--bl-lemon); color: var(--bl-navy); font: italic 700 12px/1.2 var(--font-display); letter-spacing: .02em; }

@media (max-width: 1100px) { .bl-member-chip { display: none; } }
@media (max-width: 820px) {
    .bk-page.bl-mw-page .bl-mw { padding-top: 96px; }
    .bl-mw-hero { grid-template-columns: 1fr; gap: 28px; }
    .bl-mw-card { justify-content: flex-start; order: -1; }
    .bl-mw-sub { margin-top: 40px; }
    .bl-mw-perks li { padding-right: 0; }
    .bl-mw-actions .bl-btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: no-preference) {
    .bl-member-card.is-large::after { animation: bl-member-shine 1.6s ease-out .35s 1 both; }
    @keyframes bl-member-shine { to { transform: translateX(120%); } }
}

/* ---- Admin vouchers ---- */
.bl-voucher-form { max-width: 640px; }
.bl-voucher-form .bl-admin-search, .bl-voucher-form .bl-select { max-width: none; width: 100%; min-height: 44px; box-sizing: border-box; }
.bl-voucher-form textarea.bl-admin-search { border-radius: 16px; }
.bl-voucher-form input:disabled, .bl-voucher-form select:disabled { opacity: .6; cursor: not-allowed; }
.bl-voucher-check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.bl-voucher-check input { width: 22px; height: 22px; flex: none; }
.bl-voucher-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-voucher-form .bl-voucher-actions .bl-btn { margin-top: 14px; }
@media (max-width: 600px) { .bl-voucher-actions .bl-btn { min-height: 44px; } }
/* Host guest list: print only the list */
@media print { body:has(.bl-guest-list) :is(.bl-nav, .bl-footer, .bl-bottom-nav, .bl-skip) { display: none !important; } }
/* Staff payouts tables: same look as Users and Bookings; only a gap between columns */
html body .bl-payout-table > :not(caption) > * > * { padding-right: 14px; }
html body .bl-payout-table > :not(caption) > * > *:last-child { padding-right: 0; }
.bl-payout-requests td:nth-child(3) { white-space: nowrap; min-width: 110px; }
.bl-payout-requests td:nth-child(2) { min-width: 120px; }
.bl-payout-requests td:nth-child(4) { min-width: 140px; }
.bl-payout-requests td:nth-child(5) { min-width: 150px; }
.bl-payout-requests td:first-child { width: 36px; min-width: 36px; }
.bl-payout-table td > input[type="checkbox"] { display: block; margin: 0; }
.bl-payout-table td > .bl-admin-error { display: block; padding: 0; background: none; border-radius: 0; }

/* Goal 43 stage 8: Errors and jobs page. Three stat cards fit beside the sidebar; tables get a gap between columns */
.bl-errorlog-metrics { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.bl-errorlog-metrics .bl-dashboard-metric { min-height: 0; padding: 20px 22px; }
.bl-errorlog-metrics .bl-dashboard-metric p { line-height: 1.3; }
.bl-workspace-page:not(.bl-editor-page) .bl-errorlog-table.bl-table :is(th, td) { padding-right: 18px; }
.bl-workspace-page:not(.bl-editor-page) .bl-errorlog-table.bl-table :is(th, td):last-child { padding-right: 0; }
.bl-errorlog-table td { vertical-align: top; }
.bl-errorlog-table .bl-status-badge { white-space: nowrap; }

/* Host vibes: six at most. Counter, locked chips and the "needs a new vibe" flag */
.bl-vibe-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 12px; font-size: 13px; color: #64748B; }
.bl-vibe-count strong { color: var(--bl-navy); font-size: 15px; }
.bl-vibe-count.is-full strong { color: #8A5A00; }
.bl-card .btn.is-locked { opacity: .45; cursor: not-allowed; }
.bl-vibe-flag { margin: 0 0 16px; padding: 14px 16px; border: 1px solid #E8C25C; border-radius: 10px; background: #FFF8E1; color: #4A3A00; font-size: 14px; }
.bl-vibe-flag strong { display: block; margin-bottom: 4px; }
.bl-vibe-flag p { margin: 0 0 8px; }
.bl-vibe-flag ul { margin: 0 0 8px; padding-left: 18px; }
.bl-vibe-flag a { color: var(--bl-navy); font-weight: 600; text-decoration: underline; }
.bl-vibe-flag small { color: #6B5600; }
.bl-vibe-flag-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #FFF1BF; color: #4A3A00; font-weight: 600; text-decoration: none; }

/* Following: the host name and the experience title are the headings of their card, so they sit above the line beneath them (Bootstrap's h5/h6 sizes had them smaller than the 16px text under them) */
.bl-following .bl-card h2 { font-size: var(--bl-fs-h3); line-height: 1.3; }
.bl-following .bl-card h3 { font-size: var(--bl-fs-h3); line-height: 1.3; margin-bottom: 4px; }
.bl-following .bl-card p { font-size: 14px; }
@media (max-width: 600px) {
    /* on a phone the place goes on its own line, so the dot never hangs at the end of the line above */
    .bl-following-sep { display: none; }
    .bl-following-place { display: block; }
}

/* Guide dashboard, experience cards at 1001 to 1279 (four across, cards about 124px wide): the footer and its button give up side padding so "Edit experience" (about 99px) stays on one line inside the 36px button */
@media (min-width: 1001px) and (max-width: 1279px) {
    .bl-dashboard-page .col-lg-3 > .bl-card > .bl-card-footer { padding-left: 3px; padding-right: 3px; }
    .bl-dashboard-page .col-lg-3 > .bl-card > .bl-card-footer .bl-btn-sm { padding-left: 2px; padding-right: 2px; white-space: nowrap; text-align: center; }
}

/* I-117: phone tap targets in the three cancel dialogs (guest My bookings, host booking page, host session cancel). CSS only, found by their title ids. 44px each way; desktop is unchanged. */
@media (max-width: 767.98px) {
    :is([aria-labelledby="traveler-cancel-title"], [aria-labelledby="booking-cancel-title"], [aria-labelledby="session-cancel-title"]) .btn-close { box-sizing: border-box; width: 44px; height: 44px; padding: 0; }
    :is([aria-labelledby="traveler-cancel-title"], [aria-labelledby="booking-cancel-title"], [aria-labelledby="session-cancel-title"]) .modal-footer :is(.btn, .bl-btn) { height: auto; min-height: 44px; }
    :is([aria-labelledby="traveler-cancel-title"], [aria-labelledby="booking-cancel-title"], [aria-labelledby="session-cancel-title"]) :is(.form-control, .form-select) { min-height: 44px; }
}

/* I-260: the review dialog is taller than a laptop screen, so it stuck to the top edge. Keep it inside the viewport, centred, and let the body scroll. */
.modal:has(.bl-review-dialog) { overflow: hidden; padding: 16px; }
.modal-dialog-centered.bl-review-dialog { max-height: calc(var(--bl-vh, 100vh) - 32px); min-height: 0; margin: 0 auto; align-items: center; }
.bl-review-dialog > .modal-content { display: flex; flex-direction: column; max-height: calc(var(--bl-vh, 100vh) - 32px); overflow: hidden; }
.bl-review-dialog > .modal-content > .modal-header,
.bl-review-dialog > .modal-content > .modal-footer { flex: 0 0 auto; }
.bl-review-dialog > .modal-content > .modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

