/* ---------- profile ---------- */
.bl-pf { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.bl-pf-rail { position: sticky; top: calc(var(--bl-nav-height) + 16px); display: grid; gap: 14px; }
/* The rail is a sticky stacking context; lift it while its nested dialog is open so page save bars and fixed pills stay behind the overlay. */
.bl-pf-rail:has(.bl-confirm-overlay) { z-index: 120200; }
.bl-pf-main { display: grid; gap: 16px; min-width: 0; }
.bl-pf-card { padding: 18px 20px; border: 1px solid var(--bl-line); border-radius: 18px; background: #fff; }
.bl-pf-card h2 { margin: 0 0 12px; color: var(--bl-navy); font: 700 17px/1.2 var(--font-display); }
.bl-pf-card h2 .req, .bl-pf .req { color: #C2410C; }
.bl-pf-hint { margin: 4px 0 0; color: var(--bl-slate); font: 400 12px/1.5 var(--font-body); }
.bl-pf-error { margin: 6px 0 0; color: #B3261E; font: 600 12px/1.4 var(--font-body); }
.bl-pf-link { padding: 0; border: 0; background: none; color: var(--bl-navy); font: 700 12px/1.4 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bl-pf-me { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; align-items: center; }
.bl-pf-avatar { grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: var(--bl-navy); color: #fff; font: 700 22px var(--font-display); }
.bl-pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bl-pf-me-text { min-width: 0; }
.bl-pf-me-text strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 15px/1.3 var(--font-body); }
.bl-pf-me-text small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bl-slate); font-size: 12px; }
.bl-pf-me-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.bl-pf-me-actions label { position: relative; cursor: pointer; }
.bl-pf-me-actions label.is-busy { opacity: .6; pointer-events: none; }
.bl-pf-me .bl-pf-hint, .bl-pf-me .bl-pf-error { grid-column: 1 / -1; margin-top: 2px; }
.bl-pf-status { margin: 0; font: 700 14px/1.3 var(--font-body); }
.bl-pf-status.is-good { color: #1F7A4F; }
.bl-pf-status.is-wait { color: #8A6A00; }
.bl-pf-status.is-bad { color: #B3261E; }
.bl-pf-card .bl-btn-block { margin-top: 10px; }
.bl-pf-big { margin: 0; color: var(--bl-navy); font: 700 26px/1.2 var(--font-display); }
.bl-pf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.bl-pf-stats div { display: flex; flex-direction: column-reverse; }
.bl-pf-stats dd { margin: 0; color: var(--bl-navy); font: 700 18px/1.2 var(--font-display); }
.bl-pf-stats dt { color: var(--bl-slate); font: 600 11px/1.3 var(--font-body); }
.bl-pf-links { display: grid; gap: 2px; padding: 8px; }
.bl-pf-links a { padding: 9px 12px; border-radius: 10px; color: var(--bl-navy); font: 600 13px/1.3 var(--font-body); text-decoration: none; }
.bl-pf-links a:hover { background: #F3EBCB; }
.bl-pf-password-button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--bl-navy); font: 600 13px/1.3 var(--font-body); text-align: left; }
.bl-pf-password-button:hover { background: #F3EBCB; }
.bl-pf-notification-button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--bl-navy); font: 600 13px/1.3 var(--font-body); text-align: left; }
.bl-pf-notification-button:hover { background: #F3EBCB; }
.bl-pf-phone { display: grid; grid-template-columns: minmax(118px, .42fr) minmax(0, 1fr); gap: 8px; }
@media (max-width: 420px) { .bl-pf-phone { grid-template-columns: minmax(0, 1fr); } }
.bl-pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.bl-pf-field { display: grid; gap: 6px; margin-bottom: 14px; align-content: start; }
.bl-pf-grid .bl-pf-field { margin-bottom: 0; }
.bl-pf-grid .bl-pf-location { grid-column: 1 / -1; }
.bl-pf-card > .bl-pf-field:last-child { margin-bottom: 0; }
.bl-pf :is(.form-label,.bl-label) { margin: 0; color: var(--bl-navy); font: 700 12px/1.3 var(--font-body); letter-spacing: .2px; }
.bl-pf :is(.form-control,.bl-input) { min-height: 44px; border: 1px solid var(--bl-line); border-radius: 12px; background: #fff; color: var(--bl-navy); font: 500 14px/1.4 var(--font-body); box-shadow: none; }
.bl-pf .bl-pf-email-display { display: flex; align-items: center; height: auto; overflow-wrap: anywhere; white-space: normal; }
.bl-pf textarea.form-control { min-height: 72px; padding-top: 10px; }
.bl-pf :is(.form-control,.bl-input):focus { border-color: var(--bl-navy); box-shadow: 0 0 0 3px rgba(245, 213, 63, .55); }
.bl-pf .validation-message { color: #B3261E; font: 600 12px/1.4 var(--font-body); }
.bl-pf .invalid { border-color: #B3261E; }
.bl-pf .bl-ps.is-invalid .bl-ps-btn,
.bl-pf .bl-ps.is-invalid .bl-ps-combo { border-color: #B3261E; }

/* fields nobody can edit are greyed out */
.bl-pf :is(.form-control,.bl-input):disabled, .bl-pf :is(.form-control,.bl-input)[readonly], .bl-sel-btn:disabled {
    border-color: transparent; background-color: #ECE9DF; color: #8B90A0; cursor: not-allowed; -webkit-text-fill-color: #8B90A0; opacity: 1;
}
.bl-pf-lock { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: #ECE9DF; color: var(--ink-secondary); font: 700 10px/1.2 var(--font-body); letter-spacing: .6px; text-transform: uppercase; vertical-align: 1px; }

/* styled dropdown */
.bl-sel { position: relative; }
.bl-sel-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid var(--bl-line); border-radius: 12px; background: #fff; color: var(--bl-navy); font: 500 14px/1.4 var(--font-body); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.bl-sel-btn:hover:not(:disabled) { border-color: rgba(26, 35, 64, .35); }
.bl-sel-btn:focus-visible, .bl-sel.is-open .bl-sel-btn { outline: 0; border-color: var(--bl-navy); box-shadow: 0 0 0 3px rgba(245, 213, 63, .55); }
.bl-sel.is-invalid .bl-sel-btn { border-color: #B3261E; }
.bl-sel-btn .is-placeholder { color: var(--bl-slate); }
.bl-sel-btn svg { width: 16px; height: 16px; flex: none; color: var(--bl-slate); transition: transform .15s; }
.bl-sel.is-open .bl-sel-btn svg { transform: rotate(180deg); }
.bl-sel-backdrop { position: fixed; inset: 0; z-index: 40; }
.bl-sel-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 41; max-height: 260px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; border: 1px solid var(--bl-line); border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(11, 21, 48, .16); }
.bl-sel-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--bl-navy); font: 500 14px/1.3 var(--font-body); cursor: pointer; }
.bl-sel-list li.is-active { background: #F3EBCB; }
.bl-sel-list li.is-selected { font-weight: 700; }
.bl-sel-list li svg { width: 15px; height: 15px; color: #1F7A4F; }

/* tags: every flavour keeps the same dark text, only the soft tint changes */
.bl-pf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-tag { min-height: 34px; padding: 0 14px; border: 1px solid var(--bl-line); border-radius: 999px; background: #fff; color: var(--bl-navy); font: 600 13px/1 var(--font-body); cursor: pointer; transition: background .15s, border-color .15s; }
.bl-tag:hover { border-color: var(--bl-navy); }
.bl-tag.is-on { border-color: var(--bl-navy); background: var(--bl-navy); color: #fff; }
.bl-tag:focus-visible { outline: 2px solid var(--bl-navy); outline-offset: 2px; }
.bl-pf-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 0 4px; background: linear-gradient(transparent, var(--bl-page) 28%); }
.bl-pf-savebar .bl-pf-error { margin: 0 auto 0 0; }
@media (max-width: 1100px) {
    .bl-pf { grid-template-columns: minmax(0, 1fr); }
    .bl-pf-rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bl-pf-me, .bl-pf-links { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .bl-pf-rail, .bl-pf-grid { grid-template-columns: minmax(0, 1fr); }
}

/* floating "lemon with us" pill: small at rest, opens on hover, focus or tap */
.bl-hostpill { position: fixed; top: calc(var(--bl-nav-height) + 14px); right: max(16px, calc((var(--bl-vw) - min(var(--bl-shell-max, 2400px), var(--bl-vw) - var(--bl-shell-gutter, 112px))) / 2)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.bl-hostpill-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 10px; border: 1px solid rgba(11, 24, 48, .12); border-radius: 999px; background: var(--bl-lemon); color: var(--bl-navy); font: 700 12px/1 var(--font-body); box-shadow: 0 6px 18px rgba(11, 21, 48, .16); cursor: pointer; transition: transform .15s; }
.bl-hostpill-tab svg { width: 20px; height: 20px; flex: none; }
.bl-hostpill-tab .rind { fill: #fff; stroke: var(--bl-navy); stroke-width: 1.4; }
.bl-hostpill-tab .pith { fill: #FFF1A8; }
.bl-hostpill-tab .seg { fill: none; stroke: var(--bl-navy); stroke-width: 1.1; stroke-linecap: round; }
.bl-hostpill-pop { display: none; width: 280px; padding: 16px 18px; border-radius: 18px; background: var(--bl-navy); color: #DCE3F0; box-shadow: 0 18px 40px rgba(11, 21, 48, .3); animation: bl-pill-in .18s ease both; }
.bl-hostpill:hover .bl-hostpill-pop, .bl-hostpill:focus-within .bl-hostpill-pop { display: block; }
.bl-hostpill:hover .bl-hostpill-tab { transform: translateY(-1px); }
.bl-hostpill-pop strong { display: block; color: #fff; font: 700 15px/1.3 var(--font-display); }
.bl-hostpill-pop p { margin: 6px 0 12px; font: 400 12.5px/1.5 var(--font-body); }
@keyframes bl-pill-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bl-hostpill-pop { animation: none; } }
@media (max-width: 760px) { .bl-hostpill { right: 12px; top: calc(var(--bl-nav-height) + 8px); } }

/* Host secret spots */
.bl-hp-spots-lede { margin: -6px 0 10px; color: var(--ink-secondary); font: 400 var(--body-compact)/1.55 var(--font-body); }
.bl-hp-spots { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: spot; }
.bl-hp-spots li { counter-increment: spot; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--bl-line); border-radius: 16px; background: #fff; font: 600 15px/1.35 var(--font-body); }
.bl-hp-spots li::before { content: counter(spot); flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-yellow); color: var(--ink-primary); font: 800 13px/1 var(--font-body); }

/* Type-to-search select (country, state): the boxed field is the search input itself */
.bl-ss .bl-ps-combo { min-height: 44px; padding: 0 14px; border: 1px solid var(--bl-line); border-radius: 12px; background: #fff; }
.bl-ss .bl-ps-combo:hover { border-color: rgba(26, 35, 64, .35); }
.bl-ss .bl-ps-combo:focus-within, .bl-ss.is-open .bl-ps-combo { border-color: var(--bl-navy); box-shadow: 0 0 0 3px rgba(245, 213, 63, .55); }
.bl-ss.is-invalid .bl-ps-combo { border-color: #B3261E; }
.bl-ss .bl-ps-input { font-weight: 500; font-size: 15px; }
.bl-ss .bl-ps-input:disabled { cursor: not-allowed; }
.bl-ss .bl-ps-pop { width: 100%; max-width: none; }

