/* Horizon Jets client account polish (2026-11-27, member pass).
   Loaded by experience-release/member.php on the flight request, receipt, request-update,
   sign-in and signed-in account pages. Presentation only. */

/* ---------- Shared header where trust.php does not run (receipt + signed-in pages) ---------- */
@font-face{font-family:HJBrand;src:url(fonts/Manrope-Variable.ttf) format("truetype");font-style:normal;font-weight:200 800;font-display:swap}
body.hjmx-chrome{
  --hj-font:HJBrand,"Helvetica Neue",Arial,sans-serif;--hj-navy:#0b293b;--hj-navy-2:#123a56;--hj-ink:#102f40;--hj-slate:#49647c;
  --hj-paper:#f8f7f3;--hj-surface:#fff;--hj-line:#c9d2d8;--hj-line-strong:#9fb0bc;--hj-champagne:#b8995f;--hj-champagne-soft:#efe6d4;
  --hj-on-navy:#fff;--hj-on-navy-muted:#c9d6e2;--hj-radius:6px;--hj-radius-pill:999px;--hj-focus:0 0 0 3px rgba(184,153,95,.45);
  --hj-fs-xs:12px;--hj-fs-sm:14px;--hj-fs-md:16px;--hj-fs-lg:20px;--hj-wrap:1200px;
}
.hjt-header{position:relative;z-index:50;background:var(--hj-navy);color:var(--hj-on-navy);font-family:var(--hj-font)}
.hjt-wrap{max-width:var(--hj-wrap);margin:0 auto;padding:0 24px;box-sizing:border-box}
.hjt-bar{background:#08202f;border-bottom:1px solid rgba(255,255,255,.08)}
.hjt-bar .hjt-wrap{display:flex;justify-content:space-between;align-items:center;min-height:36px;gap:16px}
.hjt-bar a{color:var(--hj-on-navy);text-decoration:none;font:500 var(--hj-fs-xs)/1 var(--hj-font);letter-spacing:.06em}
.hjt-bar a:hover,.hjt-bar a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.hjt-main{display:flex;align-items:center;gap:28px;min-height:76px}
.hjt-logo{display:inline-flex;flex:0 1 auto;min-width:0}
.hjt-logo img{display:block;width:clamp(200px,30vw,360px);max-width:100%;height:68px;margin:-11px 0;object-fit:contain;object-position:left center;filter:brightness(1.45)}
.hjt-nav{display:flex;gap:26px;margin-left:auto;align-items:center}
.hjt-nav a{color:var(--hj-on-navy);text-decoration:none;font:500 var(--hj-fs-sm)/1 var(--hj-font);letter-spacing:.02em;padding:8px 0;border-bottom:1px solid transparent}
.hjt-nav a:hover,.hjt-nav a:focus-visible,.hjt-nav a[aria-current="page"]{border-bottom-color:var(--hj-champagne)}
.hjt-cta{display:inline-flex;align-items:center;min-height:44px;padding:0 22px;border:1px solid rgba(255,255,255,.6);border-radius:var(--hj-radius-pill);color:var(--hj-on-navy);text-decoration:none;font:600 var(--hj-fs-sm)/1 var(--hj-font);white-space:nowrap}
.hjt-cta:hover,.hjt-cta:focus-visible{background:var(--hj-on-navy);color:var(--hj-navy)}
.hjt-toggle{display:none;min-height:44px;padding:0 18px;border:1px solid rgba(255,255,255,.6);border-radius:var(--hj-radius-pill);background:transparent;color:var(--hj-on-navy);font:600 var(--hj-fs-sm)/1 var(--hj-font);cursor:pointer}
.hjt-menu{background:var(--hj-navy);border-top:1px solid rgba(255,255,255,.1);padding:8px 24px 20px}
.hjt-menu[hidden]{display:none}
.hjt-menu a{display:block;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.1);color:var(--hj-on-navy);text-decoration:none;font:400 var(--hj-fs-lg)/1.3 var(--hj-font)}
.hjt-menu a[aria-current="page"]{color:var(--hj-champagne-soft)}
.hjt-menu .hjt-menu-phone{border-bottom:0;font-size:var(--hj-fs-md);color:var(--hj-on-navy-muted)}
.hjt-header a:focus-visible,.hjt-header button:focus-visible{outline:none;box-shadow:var(--hj-focus);border-radius:4px}
@media (min-width:1080px){.hjt-menu{display:none!important}}
@media (max-width:1079px){
  .hjt-nav{display:none}
  .hjt-cta{margin-left:auto}
  .hjt-toggle{display:inline-flex;align-items:center}
}
@media (max-width:520px){
  .hjt-wrap{padding:0 16px}
  .hjt-main{gap:10px;min-height:64px}
  .hjt-logo{flex:0 1 auto;min-width:0}.hjt-logo img{width:170px;max-width:100%;height:36px;margin:0}
  .hjt-cta{padding:0 14px;font-size:13px}
  .hjt-toggle{padding:0 14px;font-size:13px}
}
body.hjmx-chrome .hjt-header a:not(.hjt-cta){border:0;background:none;box-shadow:none}
body.hjmx-chrome .hjt-header a.hjt-cta{border:1px solid rgba(255,255,255,.6);background:none;color:var(--hj-on-navy);text-decoration:none}
body.hjmx-chrome .hjt-header a.hjt-cta:hover,body.hjmx-chrome .hjt-header a.hjt-cta:focus-visible{background:var(--hj-on-navy);color:var(--hj-navy)}

/* Signed-in account links in the shared header */
.hjt-header .hjmx-account{display:flex;align-items:center;gap:18px}
.hjt-header .hjmx-account a{color:var(--hj-on-navy);text-decoration:none;font:500 var(--hj-fs-xs)/1 var(--hj-font);letter-spacing:.06em}
.hjt-header .hjmx-account a[aria-current="page"]{color:var(--hj-champagne-soft);text-decoration:underline;text-underline-offset:3px}
.hjt-header .hjmx-signout{display:inline;margin:0}
.hjt-header .hjmx-signout button{appearance:none;background:none;border:0;padding:0;color:var(--hj-on-navy-muted);font:500 var(--hj-fs-xs)/1 var(--hj-font);letter-spacing:.06em;cursor:pointer;min-height:0;width:auto}
.hjt-header .hjmx-signout button:hover,.hjt-header .hjmx-signout button:focus-visible{color:var(--hj-on-navy);text-decoration:underline}
.hjt-menu .hjmx-menu-account{display:block}
.hjt-menu .hjmx-menu-account .hjmx-signout{display:block}
.hjt-menu .hjmx-menu-account .hjmx-signout button{display:block;width:100%;text-align:left;padding:14px 0;font-size:var(--hj-fs-md);color:var(--hj-on-navy-muted);border-bottom:1px solid rgba(255,255,255,.1)}
@media (max-width:760px){.hjt-header .hjmx-account a{display:none}}
@media (max-width:760px){.hjt-bar .hjmx-account .hjmx-signout{display:none}}

/* ---------- Flight request form ---------- */
body.hj49-request-page input[type=checkbox],body.hj49-customer-page input[type=checkbox],body.hjfull-customer input[type=checkbox]{color-scheme:light}
/* Optional services: compact checkbox rows (the generic field rule made them 48px boxes on their own line) */
body.hj49-request-page #hv-booking-form .hjis-services{padding:12px 16px 6px}
body.hj49-request-page #hv-booking-form .hjis-services legend{font:600 16px/1.3 var(--hj49-font,inherit);padding:0 6px}
body.hj49-request-page #hv-booking-form label.hjis-choice{display:flex!important;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;min-height:44px;margin:0;font:500 15px/1.4 var(--hj49-font,inherit);grid-template-columns:none}
body.hj49-request-page #hv-booking-form label.hjis-choice input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;min-width:20px;min-height:20px;max-width:20px;margin:0;padding:0;order:0}
/* Baggage & aircraft preference disclosure: a real chevron and a tappable row */
body.hj49-request-page :is(.hj49-preferences,.hj49-communication)>summary:before{content:'';flex:0 0 auto;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);margin:0 4px 0 2px;transition:transform .15s}
body.hj49-request-page :is(.hj49-preferences,.hj49-communication)[open]>summary:before{transform:rotate(45deg)}
body.hj49-request-page .hj49-preferences>summary{min-height:48px}
/* Notes for your charter team */
body.hj49-request-page .hjmx-notes{display:grid;gap:6px;margin:4px 0 16px}
body.hj49-request-page .hjmx-notes textarea{min-height:84px;resize:vertical;width:100%;box-sizing:border-box}
body.hj49-request-page .hjmx-notes small{color:var(--hj49-muted,#49647c);font-size:13px}
/* Review: Edit actions at a usable size */
body.hj49-request-page #hv-ready .hv28-edit,body.hj49-request-page #hv-ready dd .hv-text-button,body.hj49-request-page #hv-ready .hv-text-button{min-height:44px;min-width:44px;padding:8px 12px;font-size:15px;font-weight:600;line-height:1.2}
body.hj49-request-page .hjmx-review-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:14px 0 0}
body.hj49-request-page #hv-ready button.hjmx-copy{min-height:44px;padding:0 18px;border:1px solid #9fb0bc;border-radius:6px;background:#fff;color:#0b293b;font:600 15px/1 var(--hj49-font,inherit);cursor:pointer;width:auto}
body.hj49-request-page #hv-ready button.hjmx-copy:hover{border-color:#0b293b}
body.hj49-request-page .hjmx-copy-status{margin:0;font-size:14px;color:#49647c}

/* ---------- Sign-in ---------- */
.hjm-remember input[type=checkbox]{color-scheme:light;appearance:auto;-webkit-appearance:checkbox;width:18px;height:18px;min-height:18px;background:#fff;accent-color:#0b293b}
.hjmx-signed-out{margin:0 0 18px;padding:12px 14px;border:1px solid #c9d2d8;border-left:4px solid #b8995f;border-radius:6px;background:#fff;color:#102f40;font-size:15px}

/* ---------- My trips ---------- */
.hjmx-greeting{margin:4px 0 18px;font-size:18px;color:#49647c}
.hj45-next-line{margin:10px 0 0;padding:10px 12px;border-radius:6px;background:#f3f1ea;color:#102f40;font-size:14px;line-height:1.45}
.hj45-next-line:before{content:'Next step: ';font-weight:700}
.hjmx-team{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;max-width:1080px;margin:28px auto 8px;padding:22px 24px;border:1px solid #c9d2d8;border-radius:8px;background:#fff;color:#102f40;box-sizing:border-box}
.hjmx-team h2{margin:0 0 6px;font-size:20px;line-height:1.25;color:#0b293b}
.hjmx-team p{margin:0;max-width:52ch;color:#49647c;font-size:15px}
.hjmx-team-actions{display:flex;flex-wrap:wrap;gap:10px}
main .hjmx-team .hjmx-team-actions a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid #0b293b;border-radius:6px;color:#0b293b;font-weight:600;text-decoration:none}
main .hjmx-team .hjmx-team-actions a.hjmx-team-phone{background:#0b293b;color:#fff}
@media (max-width:600px){.hjmx-team{margin:20px 16px 8px;padding:18px}.hjmx-team-actions,.hjmx-team-actions a{width:100%;justify-content:center}}

/* ---------- Request detail ---------- */
.hjmx-next-step{margin:0 0 18px;padding:14px 16px;border-left:4px solid #b8995f;border-radius:6px;background:#f3f1ea;color:#102f40}
.hjmx-next-step strong{display:block;margin-bottom:4px}
.hjmx-next-step p{margin:0}

/* ---------- Request a change ---------- */
.hjmx-update-head{margin:0 0 18px}
.hjmx-update-head .hx-eyebrow{margin:0 0 6px;color:#49647c;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.hjmx-update-head h1{margin:0 0 8px;font-size:clamp(28px,5vw,38px);line-height:1.15}
.hjmx-update-form{display:grid;gap:12px;margin:0 0 24px}
.hjmx-update-form textarea{min-height:140px;width:100%;box-sizing:border-box}
.hjmx-original{margin:24px 0 0;border-top:1px solid #c9d2d8;padding-top:8px}
.hjmx-original>summary{min-height:44px;display:flex;align-items:center;font-weight:600;cursor:pointer}

/* ---------- Saved routes ---------- */
.hjmx-airport-field{position:relative}
.hjmx-route-note{color:#49647c;font-size:14px}

/* ---------- Desk-free safety: never let these widen the page ---------- */
.hjmx-team,.hjmx-next-step,.hjmx-review-tools,.hjmx-update-head{overflow-wrap:anywhere}

/* ---------- Booking pages (phase 2) ---------- */
/* One five-step tracker on the quote page, matching My trips, signing and deposit */
.hj49-progress-unified{max-width:40rem;margin:0 0 20px}
.hj49-progress-unified .hj51-journey{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;margin:0;padding:0}
/* Agreement summary above the DocuSeal button */
.hjg-sign-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:16px 0 18px;padding:14px 16px;border:1px solid #c9d2d8;border-radius:8px;background:#fbfaf7}
.hjg-sign-summary div{min-width:0}
.hjg-sign-summary dt{margin:0;color:#49647c;font-size:13px;font-weight:600}
.hjg-sign-summary dd{margin:2px 0 0;color:#102f40;font-size:16px;font-weight:600;overflow-wrap:anywhere}
@media (max-width:480px){.hjg-sign-summary{grid-template-columns:minmax(0,1fr)}}
/* Deposit panel heading at section size */
.hjsp-panel #hjsp-title,.hjsp-panel h2#hjsp-title{font-size:clamp(24px,4vw,30px);line-height:1.2;letter-spacing:0;margin:8px 0 6px}
.hj49-pay-note{margin:10px 0 0;color:#49647c;font-size:13px;line-height:1.45}
/* Cancellation terms: summary visible, full wording expandable */
.hj49-term-summary{padding:14px 0;border-bottom:1px solid #e1e6e9}
.hj49-term-summary h3{margin:0 0 6px;font-size:15px;font-weight:600;color:#102f40}
.hj49-term-summary p{margin:0 0 8px;color:#33495a;font-size:14px;line-height:1.5}
.hj49-term-summary details>summary{cursor:pointer;color:#0b293b;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;min-height:32px;display:inline-flex;align-items:center}

/* Trip overview: clear path to the quote panel; 44px target, full width on small screens */
body .hj48-overview .hjmx-quote-link,.hj48-overview .hjmx-quote-link{margin:20px 0 28px}
.hj48-overview .hjmx-quote-link+.hj48-progress{margin-top:0}
.hj48-overview .hjmx-quote-link .hj48-primary,
.hj48-overview a.hjmx-view-quote{
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  min-height:44px;padding:10px 18px;max-width:100%;
}
@media (max-width:480px){
  .hj48-overview .hjmx-quote-link .hj48-primary,
  .hj48-overview a.hjmx-view-quote{display:flex;width:100%}
}
