/* ==========================================================================
   My Account (find / dashboard / manage) + modals
   ========================================================================== */
.hp-account { max-width: 1200px; margin-inline: auto; padding: 24px clamp(14px,2.5vw,28px) 70px; min-height: 70vh; }

/* Find */
.hp-find { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 820px) { .hp-find { grid-template-columns: 1fr; } }
.hp-find__form { background: #fff; border-radius: 22px; padding: clamp(22px,4vw,40px); border: 1px solid var(--hp-line-08); }
.hp-find__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hp-saffron-ink-2); }
.hp-find__h1 { font-family: var(--hp-font-display); font-size: clamp(32px,4vw,48px); line-height: 1; font-weight: 700; letter-spacing: -.025em; margin: 8px 0; }
.hp-find__form p { color: var(--hp-text-2); margin-bottom: 16px; }
.hp-find__form form { display: grid; gap: 12px; }
.hp-find__panel { background-size: cover; background-position: center; border-radius: 22px; min-height: 340px; display: flex; align-items: flex-end; color: #fff; }
.hp-find__panel-b { padding: 24px; }
.hp-find__panel-b h2 { font-family: var(--hp-font-display); font-size: 24px; color: #fff; margin: 0 0 12px; }
.hp-find__panel-b ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hp-find__panel-b li { display: flex; gap: 10px; align-items: flex-start; color: #E3EAEE; }
.hp-find__panel-b .hp-icon { width: 18px; height: 18px; color: var(--hp-saffron-l); flex: 0 0 auto; }

/* Guest / missing */
.hp-account__guest, .hp-missing { text-align: center; padding: 60px 20px; }
.hp-account__guest-btns { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }

/* Dashboard */
.hp-dash__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.hp-dash__hi { color: var(--hp-muted); }
.hp-dash__h1 { font-family: var(--hp-font-display); font-size: clamp(34px,4.6vw,54px); line-height: 1; letter-spacing: -.03em; margin: 0; }
.hp-dash__find { color: var(--hp-ink); border-bottom: 2px solid var(--hp-saffron); font-weight: 600; }
.hp-nextup { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 22px; overflow: hidden; background: var(--hp-ink); color: #fff; margin-bottom: 20px; animation: hp-up .5s both; }
@media (max-width: 820px) { .hp-nextup { grid-template-columns: 1fr; } }
.hp-nextup__img { min-height: 180px; background-size: cover; background-position: center; }
.hp-nextup__b { padding: clamp(20px,3vw,32px); }
.hp-nextup__eye { color: var(--hp-saffron-l); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; }
.hp-nextup__t { font-family: var(--hp-font-display); font-size: clamp(26px,3vw,36px); margin: 6px 0; }
.hp-nextup__d { color: var(--hp-divider); }
.hp-nextup__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.hp-nextup .hp-pill { background: rgba(255,255,255,.14); color: #fff; }

.hp-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--hp-line-08); scrollbar-width: none; margin-bottom: 18px; }
.hp-tabs::-webkit-scrollbar { display: none; }
.hp-tab { border: 0; background: none; padding: 12px 14px; font-weight: 600; color: var(--hp-muted); white-space: nowrap; cursor: pointer; border-bottom: 3px solid transparent; }
.hp-tab.is-on { color: var(--hp-ink); border-bottom-color: var(--hp-saffron); }
.hp-tab__n { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border-radius: 999px; background: #E6EBEE; color: var(--hp-text-2); font-size: 12px; padding: 0 6px; }
.hp-tab.is-on .hp-tab__n { background: var(--hp-ink); color: #fff; }

.hp-blist { display: grid; gap: 12px; }
.hp-bcard { display: grid; grid-template-columns: 150px minmax(0,1fr) auto; gap: 14px; background: #fff; border: 1px solid var(--hp-line-08); border-radius: 18px; overflow: hidden; align-items: center; padding-right: 16px; transition: border-color .2s; }
.hp-bcard:hover { border-color: var(--hp-saffron); text-decoration: none; }
.hp-bcard.is-cancelled { opacity: .85; }
@media (max-width: 560px) { .hp-bcard { grid-template-columns: 1fr; } }
.hp-bcard__img { width: 100%; height: 110px; object-fit: cover; }
.hp-bcard__mid { padding: 12px 0; min-width: 0; }
.hp-chip2 { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.hp-bcard__ref { color: var(--hp-muted); font-size: 12.5px; }
.hp-bcard__title { font-family: var(--hp-font-display); font-size: 21px; font-weight: 700; }
.hp-bcard__meta { color: var(--hp-text-2); font-size: 14px; }
.hp-bcard__right { text-align: right; }
.hp-bcard__total { font-family: var(--hp-font-display); font-size: 19px; font-weight: 800; }
.hp-bcard__sub { font-size: 13px; }
.hp-review-prompt { background: #FFF4E2; border-radius: 16px; padding: 18px; margin-bottom: 12px; }
.hp-review-prompt strong { font-size: 16px; }
.hp-review-prompt p { color: var(--hp-text-2); margin: 4px 0 12px; }

/* Profile */
.hp-profile { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 820px) { .hp-profile { grid-template-columns: 1fr; } }
.hp-profile__side { display: flex; flex-direction: column; gap: 16px; }
.hp-notif { display: flex; gap: 10px; padding: 10px 0; align-items: flex-start; }
.hp-notif input { width: 18px; height: 18px; accent-color: var(--hp-ink); margin-top: 2px; }
.hp-profile__del { color: #A3123F; border: 1px solid rgba(163,18,63,.3); background: #fff; }
.hp-profile__delbox { background: #FDECEF; border-radius: 12px; padding: 14px; margin-top: 10px; color: #6B0F2E; }

/* Manage */
.hp-manage__back { display: inline-block; color: var(--hp-text-2); margin-bottom: 12px; }
.hp-banner { border-radius: 12px; padding: 12px 14px; font-weight: 700; margin-bottom: 14px; }
.hp-banner--cancel { background: #F3E3E3; color: #8A1C1C; }
.hp-banner--past { background: #E6EBEE; color: var(--hp-ink); }
.hp-manage { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: clamp(18px,3vw,32px); align-items: start; }
@media (max-width: 1080px) { .hp-manage { grid-template-columns: 1fr; } }
.hp-manage__main { display: flex; flex-direction: column; gap: 16px; }
.hp-manage__aside { position: sticky; top: calc(var(--hp-abar,0px) + var(--hp-hdr,68px) + 20px); display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 1080px) { .hp-manage__aside { position: static; } }
.hp-quote-ready { background: #FFF1DC; border: 1px solid #FFD699; border-radius: 18px; padding: 22px; }
.hp-quote-ready__eye { color: #6B3A00; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.hp-quote-ready__total { font-family: var(--hp-font-display); font-size: 32px; font-weight: 800; }
.hp-quote-ready__sub { color: #3A2A12; margin-bottom: 12px; }
.hp-quote-req { background: #EAF1FC; color: #1F2E37; border-radius: 18px; padding: 18px; }
.hp-manage__progress-head { display: flex; justify-content: space-between; align-items: center; }
.hp-manage__countdown { color: var(--hp-text-2); font-weight: 600; }
.hp-progress { display: grid; grid-template-columns: repeat(5,1fr); gap: 4px; margin-top: 10px; }
.hp-progress--3 { grid-template-columns: repeat(3,1fr); }
.hp-progress__bar { display: block; height: 6px; border-radius: 3px; background: #E6EBEE; margin-bottom: 6px; }
.hp-progress__bar.is-on { background: var(--hp-saffron); }
.hp-progress__bar--g.is-on { background: var(--hp-green); }
.hp-progress__lbl { font-size: 12px; color: #8A979F; }
.hp-progress__lbl.is-on { color: var(--hp-ink); }
.hp-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
@media (max-width: 560px) { .hp-actions { grid-template-columns: repeat(2,1fr); } }
.hp-action { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; padding: 14px; border: 1px solid var(--hp-line-12); border-radius: 12px; background: #fff; cursor: pointer; }
.hp-action:hover { border-color: var(--hp-ink); text-decoration: none; }
.hp-action__i .hp-icon { width: 20px; height: 20px; }
.hp-action__l { font-weight: 700; font-size: 14px; }
.hp-action__s { font-size: 12px; color: var(--hp-muted); }
.hp-action--danger { color: #8A1C1C; border-color: #EFC9C9; background: #FDF6F6; }
.hp-timeline { display: flex; flex-direction: column; gap: 12px; }
.hp-timeline__row { display: flex; gap: 10px; }
.hp-timeline__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hp-saffron); margin-top: 5px; flex: 0 0 auto; }
.hp-timeline__t { font-size: 14.5px; font-weight: 600; }
.hp-timeline__at { font-size: 13px; color: var(--hp-muted); }
.hp-needhand { background: var(--hp-ink); color: #fff; }
.hp-needhand p { color: var(--hp-divider); font-size: 14px; }
.hp-needhand__call { display: block; text-align: center; color: #fff; margin-top: 10px; }

/* Modal */
.hp-modal { position: fixed; inset: 0; z-index: 960; background: rgba(7,19,27,.55); display: none; align-items: center; justify-content: center; padding: 20px; }
.hp-modal.is-open { display: flex; }
@media (max-width: 820px) { .hp-modal { align-items: flex-end; padding: 0; } }
.hp-modal__box { width: min(560px,100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 20px; padding: 20px; animation: hp-rise .3s both; }
@media (max-width: 820px) { .hp-modal__box { width: 100%; border-radius: 22px 22px 0 0; max-height: 92vh; padding-bottom: calc(20px + env(safe-area-inset-bottom,0px)); } }
.hp-modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hp-modal__head h3 { font-family: var(--hp-font-display); font-size: 22px; margin: 0; }
.hp-modal__x { width: 38px; height: 38px; border-radius: 9px; background: #EEF2F3; border: 0; cursor: pointer; }
.hp-modal__summary { background: var(--hp-bg); border-radius: 12px; padding: 14px; margin: 12px 0; }
.hp-modal__diff--pos { color: #8A1C1C; } .hp-modal__diff--neg { color: #0B6142; }
@keyframes hp-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ---- Manage-booking modal extras (design-parity) ---- */
/* Cancel: refund tier cards + highlighted refund box + retention nudge */
.hp-cancel__intro { color: var(--hp-text-2); margin: 0 0 12px; }
.hp-ctiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hp-ctier { padding: 12px; border-radius: 12px; background: #F3F6F7; border: 1px solid transparent; }
.hp-ctier.is-here { background: #fff; border-color: var(--hp-ink); }
.hp-ctier__pct { font-weight: 800; font-size: 18px; }
.hp-ctier__lbl { font-size: 12px; color: #33434D; }
.hp-ctier__here { font-size: 11.5px; font-weight: 800; color: var(--hp-ink); margin-top: 6px; }
.hp-refundbox { margin: 14px 0; padding: 16px; border-radius: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hp-refundbox__l { font-size: 13px; font-weight: 700; }
.hp-refundbox__s { font-size: 13px; color: #33434D; }
.hp-refundbox__amt { font-family: var(--hp-font-display); font-size: 30px; font-weight: 800; }
.hp-cancel__nudge { font-size: 13.5px; color: #33434D; margin-top: 12px; background: #F3F6F7; border-radius: 10px; padding: 12px; }
.hp-cancel__nudge button { border: 0; background: none; color: #1C5FD4; font-weight: 700; cursor: pointer; padding: 0; font: inherit; font-size: 13.5px; }
/* Add-extras rows: description + price */
.hp-addon__d { display: block; font-size: 13px; color: var(--hp-text-2); }
.hp-addon__p { margin-left: auto; font-weight: 700; white-space: nowrap; }
/* Invoice document */
.hp-invoice { background: #fff; border-radius: 12px; padding: 20px; color: var(--hp-ink); font-size: 14px; }
.hp-inv__head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.hp-inv__logo { height: 34px; width: auto; }
.hp-inv__meta { text-align: right; font-size: 12.5px; color: var(--hp-text-2); }
.hp-inv__co { font-size: 12.5px; color: var(--hp-text-2); margin-bottom: 12px; }
.hp-inv__billed { margin-bottom: 12px; }
.hp-inv__row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(14,27,36,.08); }
.hp-inv__total { font-weight: 800; border-top-width: 2px; }
.hp-inv__paid { color: #0B6142; font-weight: 700; }
/* Print isolation: only the invoice reaches the printer */
@media print {
  body.hp-printing * { visibility: hidden !important; }
  body.hp-printing .hp-invoice, body.hp-printing .hp-invoice * { visibility: visible !important; }
  body.hp-printing .hp-invoice { position: fixed; inset: 0; margin: 0; padding: 24px; background: #fff; border-radius: 0; }
}

/* ==== Responsive audit fixes ==== */
@media (max-width: 480px) { .hp-progress { gap: 2px; } .hp-progress__lbl { font-size: 10px; } }
@media (max-width: 560px) { .hp-tabpanel[data-panel="payments"] .hp-conf__row { grid-template-columns: 1fr; gap: 2px; } }
