/* HPA Site Core: data-driven aircraft listing (aircraft.listing). */
.hpa-lt {
  --lt-navy: #0c2340;
  --lt-teal: #20b9bb;
  --lt-teal-ink: #0b6466;
  --lt-line: #dfe6ea;
  --lt-soft: #f3f6f8;
  --lt-mut: #56697a;
  --lt-ink: #1d2b38;
  --lt-display: "Barlow Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  --lt-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  background: #fff;
  color: var(--lt-ink);
  font-size: 17px;
  line-height: 1.6;
}
.hpa-lt *, .hpa-lt *::before, .hpa-lt *::after { box-sizing: border-box; }
.hpa-lt img { max-width: 100%; height: auto; }
.hpa-lt a { color: var(--lt-teal-ink); }
.hpa-lt h1, .hpa-lt h2 { font-family: var(--lt-display); color: var(--lt-navy); font-weight: 700; line-height: 1.05; text-wrap: balance; margin: 0; padding: 0; }
.hpa-lt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hpa-lt-wrap { max-width: 1240px; margin: 0 auto; padding: 18px max(16px, env(safe-area-inset-left, 0px)) 40px max(16px, env(safe-area-inset-right, 0px)); }

.hpa-lt-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--lt-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lt-mut); margin-bottom: 12px; }
.hpa-lt-crumbs a { color: var(--lt-mut); text-decoration: none; }
.hpa-lt-crumbs a:hover { color: var(--lt-navy); text-decoration: underline; }

/* Media mosaic */
/* --hpa-r is the hero photo's width over height (ListingView::heroRatio, 1.5 for a 3:2 camera frame).
   Each mosaic is sized so the hero tile has exactly that shape, so the nose and tail are never cropped,
   and the small tiles share it. */
.hpa-lt-media { display: grid; gap: 4px; border-radius: 10px; overflow: hidden; background: var(--lt-navy); max-width: 100%; aspect-ratio: calc(var(--hpa-r, 1.5) * 2); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.hpa-lt-media--1 { aspect-ratio: var(--hpa-r, 1.5); max-height: 720px; grid-template-columns: 1fr; grid-template-rows: 1fr; }
.hpa-lt-media--2 { aspect-ratio: calc(var(--hpa-r, 1.5) * 2); grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.hpa-lt-media--3 { aspect-ratio: calc(var(--hpa-r, 1.5) * 1.5); grid-template-columns: 2fr 1fr; }
.hpa-lt-tile { all: unset; position: relative; overflow: hidden; cursor: zoom-in; background: var(--lt-navy); min-width: 0; min-height: 0; }
.hpa-lt-tile--main { grid-row: 1 / -1; }
.hpa-lt-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hpa-lt-tile:hover img { transform: scale(1.03); }
.hpa-lt-tile:focus-visible { outline: 3px solid var(--lt-teal); outline-offset: -3px; }
.hpa-lt-badge { position: absolute; left: 14px; top: 14px; font-family: var(--lt-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; padding: 3px 10px; border-radius: 3px; color: #fff; background: #237a33; }
.hpa-lt-badge--pending { background: #c77700; }
.hpa-lt-badge--sold { background: #c92a2a; }
.hpa-lt-all--phone { display: none; }
.hpa-lt-all { position: absolute; right: 10px; bottom: 10px; background: rgba(12, 35, 64, .88); color: #fff; font-size: .84rem; font-weight: 600; padding: 6px 10px; border-radius: 4px; }

/* Body */
.hpa-lt-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; margin-top: 26px; align-items: start; }
.hpa-lt-main { display: grid; gap: 34px; min-width: 0; }
.hpa-lt-head { display: grid; gap: 6px; }
.hpa-lt-id { font-family: var(--lt-mono); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--lt-mut); margin: 0; padding: 0; }
.hpa-lt-title { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
.hpa-lt-tagline { font-size: 1.12rem; color: var(--lt-mut); margin: 0; padding: 0; }

.hpa-lt-keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: -10px 0 0; border-top: 2px solid var(--lt-navy); border-bottom: 1px solid var(--lt-line); }
.hpa-lt-keys--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hpa-lt-keys--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hpa-lt-keys--1 { grid-template-columns: minmax(0, 1fr); }
.hpa-lt-keys div { display: grid; gap: 2px; align-content: start; padding: 13px 16px 14px; min-width: 0; }
.hpa-lt-keys div + div { border-left: 1px solid var(--lt-line); }
.hpa-lt-keys dt { font-family: var(--lt-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lt-teal-ink); }
.hpa-lt-keys dd { margin: 0; font-family: var(--lt-display); font-size: 1.5rem; font-weight: 700; line-height: 1.1; color: var(--lt-navy); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hpa-lt-keys span { font-size: .86rem; color: var(--lt-mut); line-height: 1.35; }

.hpa-lt-sec { display: grid; gap: 14px; min-width: 0; scroll-margin-top: 90px; }
.hpa-lt-sec h2 { font-size: 1.55rem; text-transform: uppercase; letter-spacing: .02em; }
.hpa-lt-prose { margin: 0; padding: 0; max-width: 70ch; }
.hpa-lt-prose p { margin: 0 0 .8em; padding: 0; }
.hpa-lt-prose p:last-child { margin-bottom: 0; }
.hpa-lt-asof { font-size: .82rem; color: var(--lt-mut); margin: 0; padding: 0; }

.hpa-lt-table { overflow-x: auto; border: 1px solid var(--lt-line); border-radius: 8px; }
.hpa-lt-table table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: .95rem; }
.hpa-lt-table th, .hpa-lt-table td { text-align: left; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--lt-line); vertical-align: top; }
.hpa-lt-table tr:last-child th, .hpa-lt-table tr:last-child td { border-bottom: 0; }
.hpa-lt-table thead th { font-family: var(--lt-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lt-mut); font-weight: 500; background: var(--lt-soft); }
.hpa-lt-table tbody th { color: var(--lt-navy); font-weight: 600; }
.hpa-lt-num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

.hpa-lt-yt { all: unset; position: relative; display: block; cursor: pointer; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; background: #000; }
.hpa-lt-yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hpa-lt-yt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 35, 64, 0) 45%, rgba(12, 35, 64, .7)); }
.hpa-lt-yt-cap { position: absolute; left: 18px; bottom: 14px; color: #fff; font-family: var(--lt-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .03em; text-transform: uppercase; }
.hpa-lt-yt:hover .hpa-lt-play { background: var(--lt-teal); }
.hpa-lt-yt:focus-visible { outline: 3px solid var(--lt-teal); outline-offset: 3px; }
.hpa-lt-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 54px; border-radius: 14px; background: rgba(12, 35, 64, .9); }
.hpa-lt-play::after { content: ""; position: absolute; left: 31px; top: 15px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.hpa-lt-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.hpa-lt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hpa-lt-chips button, .hpa-lt-modes button { all: unset; cursor: pointer; font-size: .9rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--lt-line); color: var(--lt-navy); background: #fff; }
.hpa-lt-chips button span { font-family: var(--lt-mono); font-size: .72rem; opacity: .7; margin-left: 6px; }
.hpa-lt-chips button[aria-pressed="true"], .hpa-lt-modes button[aria-pressed="true"] { background: var(--lt-navy); color: #fff; border-color: var(--lt-navy); }
.hpa-lt-chips button:focus-visible, .hpa-lt-modes button:focus-visible { outline: 3px solid var(--lt-teal); outline-offset: 2px; }
.hpa-lt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.hpa-lt-thumb { all: unset; cursor: zoom-in; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: var(--lt-soft); min-width: 0; }
.hpa-lt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.hpa-lt-thumb:hover img { transform: scale(1.04); }
.hpa-lt-thumb:focus-visible { outline: 3px solid var(--lt-teal); outline-offset: 2px; }
.hpa-lt-grid [data-hpa-more], .hpa-lt-grid .hpa-lt-off { display: none; }
.hpa-lt-grid.hpa-lt-grid--all [data-hpa-more]:not(.hpa-lt-off) { display: block; }
.hpa-lt-more { all: unset; cursor: pointer; justify-self: start; font-weight: 700; color: var(--lt-navy); border-bottom: 2px solid var(--lt-teal); padding-bottom: 2px; }
.hpa-lt-more:focus-visible { outline: 2px solid var(--lt-teal); outline-offset: 3px; }
.hpa-lt-more[hidden] { display: none; } /* all: unset above would otherwise beat the hidden attribute */

.hpa-lt-specs { display: grid; gap: 10px; }
.hpa-lt-group { border: 1px solid var(--lt-line); border-radius: 8px; overflow: hidden; }
.hpa-lt-group summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-family: var(--lt-display); font-size: 1.22rem; font-weight: 700; color: var(--lt-navy); text-transform: uppercase; letter-spacing: .02em; background: var(--lt-soft); }
.hpa-lt-group summary::-webkit-details-marker { display: none; }
.hpa-lt-group summary span { margin-left: auto; font-family: var(--lt-mono); font-size: .72rem; font-weight: 500; color: var(--lt-mut); }
.hpa-lt-group summary::after { content: "+"; font-family: var(--lt-mono); font-size: 1.1rem; color: var(--lt-teal-ink); }
.hpa-lt-group[open] summary::after { content: "\2212"; }
.hpa-lt-group summary:focus-visible { outline: 3px solid var(--lt-teal); outline-offset: -3px; }
.hpa-lt-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--lt-line); margin: 0; }
.hpa-lt-dl div { background: #fff; padding: 10px 16px; min-width: 0; }
.hpa-lt-dl dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--lt-mut); }
.hpa-lt-dl .hpa-lt-dl-line { grid-column: 1 / -1; }
.hpa-lt-dl .hpa-lt-dl-line dd { margin: 0; font-weight: 500; }
.hpa-lt-dl dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hpa-lt-list { margin: 0; padding: 12px 16px 14px 36px; columns: 2 260px; column-gap: 32px; }
.hpa-lt-list li { margin: 0 0 4px; break-inside: avoid; }

/* Inquiry */
.hpa-lt-inquire { background: var(--lt-soft); border-radius: 12px; padding: 26px; }
.hpa-lt-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.hpa-lt-mode-note { margin: 0; padding: 0; color: var(--lt-mut); font-size: .95rem; }
/* One card style for the offer terms, the buyer and the Gravity Forms contact fields. */
.hpa-lt-offer { display: grid; gap: 14px; min-width: 0; }
.hpa-lt-offer[hidden] { display: none; }
.hpa-lt-card { border: 1px solid var(--lt-line); border-radius: 8px; background: #fff; padding: 16px 18px 18px; margin: 0; min-width: 0; }
.hpa-lt-card-h { font-family: var(--lt-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; color: var(--lt-navy); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 12px; padding: 0; }
fieldset.hpa-lt-card { padding-top: 6px; }
fieldset.hpa-lt-card > legend.hpa-lt-card-h { float: left; width: 100%; padding: 10px 0 0; }
fieldset.hpa-lt-card > legend.hpa-lt-card-h + * { clear: both; }
.hpa-lt-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.hpa-lt-offer label { display: grid; gap: 4px; font-size: .86rem; font-weight: 600; color: var(--lt-navy); min-width: 0; }
.hpa-lt-offer .hpa-lt-wide { grid-column: 1 / -1; }
.hpa-lt-offer input, .hpa-lt-offer select, .hpa-lt-offer textarea,
.hpa-lt-form .gform_wrapper input[type="text"], .hpa-lt-form .gform_wrapper input[type="email"], .hpa-lt-form .gform_wrapper input[type="tel"], .hpa-lt-form .gform_wrapper textarea {
  width: 100%; font: inherit; font-size: 1rem; font-weight: 400; line-height: 1.4; padding: 9px 10px; border: 1px solid #c9d3da; border-radius: 5px; background: #fff; color: var(--lt-ink); box-shadow: none; }
.hpa-lt-offer input:focus, .hpa-lt-offer select:focus, .hpa-lt-offer textarea:focus,
.hpa-lt-form .gform_wrapper input:focus, .hpa-lt-form .gform_wrapper textarea:focus { outline: 2px solid var(--lt-teal); outline-offset: 1px; border-color: #c9d3da; }
.hpa-lt-offer input[aria-invalid="true"] { border-color: #c92a2a; }
.hpa-lt-offer-error { color: #c92a2a; font-weight: 600; margin: 0; padding: 0; }
.hpa-lt-offer-grid[hidden] { display: none; }
.hpa-lt-offer label.hpa-lt-check { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.hpa-lt-offer .hpa-lt-check input { width: 18px; height: 18px; margin: 0; padding: 0; flex: none; accent-color: var(--lt-navy); }
.hpa-lt-trade-note { margin: 12px 0 0; padding: 0; font-size: .86rem; color: var(--lt-mut); }
.hpa-lt-tradelink { display: block; width: 100%; margin: 0 0 12px; padding: 9px 12px; border: 1px dashed var(--lt-teal); border-radius: 6px; background: transparent; color: var(--lt-navy); font: inherit; font-size: .9rem; text-align: left; cursor: pointer; }
.hpa-lt-tradelink b { color: var(--lt-teal-ink); white-space: nowrap; }
.hpa-lt-tradelink:hover, .hpa-lt-tradelink:focus-visible { background: #f2fbfb; outline: 2px solid var(--lt-teal); outline-offset: 1px; }
.hpa-lt-terms { border-left: 4px solid var(--lt-teal); background: #fff; border-radius: 8px; padding: 14px 18px; }
.hpa-lt-terms .hpa-lt-card-h { font-size: 1rem; margin-bottom: 6px; }
.hpa-lt-terms ul { list-style: disc outside !important; margin: 0; padding: 0 0 0 18px; display: grid; gap: 4px; font-size: .92rem; line-height: 1.5; }
.hpa-lt-terms li { list-style: inherit !important; margin: 0; padding: 0; }
.hpa-lt-terms b { color: var(--lt-navy); }

/* Gravity Form 14 inside the card, matched to the offer fields. */
.hpa-lt-form .gform_wrapper { margin: 0 !important; }
.hpa-lt-form .gform_wrapper .gform_required_legend, .hpa-lt-form .gform_wrapper .gfield_required { display: none !important; }
/* The site's Gravity Forms theme lays fields out as blocks; set the 12-column grid here. */
.hpa-lt-form .gform_wrapper .gform_fields { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)) !important; row-gap: 12px !important; column-gap: 16px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.hpa-lt-form .gform_wrapper .gfield { grid-column: 1 / -1; margin: 0 !important; padding: 0 !important; min-width: 0; }
.hpa-lt-form .gform_wrapper .gfield.gform_hidden, .hpa-lt-form .gform_wrapper .gform_validation_container { display: none !important; }
.hpa-lt-form .gform_wrapper .ginput_container input:not([type="checkbox"]):not([type="radio"]), .hpa-lt-form .gform_wrapper .ginput_container textarea { width: 100% !important; max-width: 100% !important; }
.hpa-lt-form .gform_wrapper .gchoice { display: flex; gap: 8px; align-items: center; }
.hpa-lt-form .gform_wrapper .gchoice input[type="checkbox"] { width: 18px !important; height: 18px; margin: 0 !important; flex: none; accent-color: var(--lt-navy); }
.hpa-lt-form .gform_wrapper .gchoice label { margin: 0 !important; max-width: none !important; }
.hpa-lt-form .gform_wrapper .gfield_label, .hpa-lt-form .gform_wrapper legend.gfield_label { font-family: inherit !important; font-size: .86rem !important; font-weight: 600 !important; line-height: 1.4 !important; color: var(--lt-navy) !important; margin: 0 0 4px !important; padding: 0 !important; }
.hpa-lt-form .gform_wrapper .ginput_complex { gap: 0 16px; }
.hpa-lt-form .gform_wrapper .ginput_complex label, .hpa-lt-form .gform_wrapper .gform-field-label--type-sub { font-size: .76rem !important; color: var(--lt-mut) !important; padding-top: 3px !important; }
.hpa-lt-form .gform_wrapper #field_14_2 { grid-column: 1 / 7; }
.hpa-lt-form .gform_wrapper #field_14_3 { grid-column: 7 / -1; }
.hpa-lt-form .gform_wrapper #field_14_12 .gfield_label { font-size: .86rem !important; }
.hpa-lt-form .gform_wrapper #field_14_12 .gchoice label { font-size: .9rem; }
.hpa-lt-form .gform_wrapper .gfield_description { font-size: .78rem; color: var(--lt-mut); padding-top: 4px !important; }
.hpa-lt-form .gform_wrapper .gform_footer { margin: 16px 0 0 !important; padding: 0 !important; }
.hpa-lt-form .gform_wrapper .gform_footer .gform_button { all: unset; box-sizing: border-box; display: inline-block; cursor: pointer; min-width: 240px; text-align: center; padding: 12px 22px; border-radius: 6px; font-weight: 700; font-size: 1rem; line-height: 1.3; background: var(--lt-navy); color: #fff; }
.hpa-lt-form .gform_wrapper .gform_footer .gform_button:hover { filter: brightness(1.15); }
.hpa-lt-form .gform_wrapper .gform_footer .gform_button:focus-visible { outline: 3px solid var(--lt-teal); outline-offset: 2px; }
.hpa-lt-form .gform_wrapper .gform_validation_errors { margin: 0 0 12px !important; }
.hpa-lt[data-hpa-mode="offer"] .hpa-lt-form #field_14_11:not(.gfield_error),
.hpa-lt[data-hpa-mode="trade"] .hpa-lt-form #field_14_11:not(.gfield_error),
.hpa-lt[data-hpa-mode="spec"] .hpa-lt-form #field_14_11,
.hpa-lt[data-hpa-mode="logbooks"] .hpa-lt-form #field_14_11 { display: none !important; }
.hpa-lt-call { margin: 0; padding: 0; font-size: .95rem; }
.hpa-lt-sheet-ready { background: #fff; border: 1px solid var(--lt-line); border-left: 4px solid var(--lt-teal); border-radius: 8px; padding: 16px 18px; }
.hpa-lt-sheet-ready p { margin: 0 0 10px; padding: 0; }
.hpa-lt-sheet-ready p:last-child { margin: 0; }
.hpa-lt-sheet-ready ol { margin: 0 0 10px; padding: 0 0 0 20px; }
.hpa-lt-sheet-ready li { margin: 0 0 4px; padding: 0; }
.hpa-lt-access { background: #fff; border: 1px solid var(--lt-line); border-left: 4px solid var(--lt-navy); border-radius: 10px; padding: 20px 22px; }
.hpa-lt-access-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hpa-lt-access-btns .hpa-lt-btn { min-width: 200px; }
.hpa-lt-access [data-hpa-open-logs]::after { content: " \2197"; }
/* In the lead panel the open line shows only on the Logbooks tab. */
.hpa-lt-havepw { display: none; margin: 0; padding: 0; font-size: .95rem; color: var(--lt-mut); }
#hpa-listing[data-hpa-mode="logbooks"] .hpa-lt-havepw { display: block; }
.hpa-lt-havepw a { color: var(--lt-teal-ink); font-weight: 700; }
.hpa-lt-havepw a::after { content: " \2197"; }
.hpa-lt-print-only { display: none; }
.hpa-lt-disclaimer { font-size: .8rem; color: var(--lt-mut); margin: -10px 0 0; padding: 0; max-width: 80ch; }

/* Rail */
.hpa-lt-rail { position: sticky; top: 110px; display: grid; gap: 10px; border: 1px solid var(--lt-line); border-radius: 10px; padding: 20px; background: #fff; box-shadow: 0 12px 32px rgba(12, 35, 64, .08); }
.hpa-lt-price { font-family: var(--lt-display); font-size: 2.5rem; line-height: 1; font-weight: 700; color: var(--lt-navy); margin: 0; padding: 0; font-variant-numeric: tabular-nums; }
.hpa-lt-mini { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .86rem; color: var(--lt-mut); margin: 0 0 6px; padding: 0; }
.hpa-lt-mini b { color: var(--lt-navy); font-variant-numeric: tabular-nums; }
.hpa-lt-btn { all: unset; box-sizing: border-box; display: block; cursor: pointer; text-align: center; padding: 11px 12px; border-radius: 6px; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.hpa-lt a.hpa-lt-btn { text-decoration: none; }
.hpa-lt-btn--pri, .hpa-lt a.hpa-lt-btn--pri { background: var(--lt-teal); color: #06303a; }
.hpa-lt-btn--sec { background: var(--lt-navy); color: #fff; }
.hpa-lt-btn--ter, .hpa-lt a.hpa-lt-btn--ter { border: 1px solid var(--lt-line); color: var(--lt-navy); }
.hpa-lt-btn:hover { filter: brightness(.96); }
.hpa-lt-btn--ter:hover { border-color: var(--lt-navy); }
.hpa-lt-btn:focus-visible { outline: 3px solid var(--lt-navy); outline-offset: 2px; }
.hpa-lt-rep { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--lt-line); padding-top: 14px; margin-top: 4px; }
.hpa-lt-av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; background: #e6edf1; display: grid; place-items: center; font-family: var(--lt-display); font-weight: 700; color: var(--lt-navy); }
.hpa-lt-rep b { color: var(--lt-navy); }
.hpa-lt-rep small { display: block; color: var(--lt-mut); font-size: .82rem; line-height: 1.4; }
.hpa-lt-fin { margin: 0; padding: 0; font-size: .86rem; }

/* Phone action bar */
.hpa-lt-bar { display: none; }

/* Lightbox */
.hpa-lt-box { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 18, 33, .96); color: #fff; }
.hpa-lt-box::backdrop { background: rgba(6, 18, 33, .96); }
.hpa-lt-box figure { position: absolute; inset: 56px 64px 64px; margin: 0; display: grid; place-items: center; }
.hpa-lt-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hpa-lt-box button { all: unset; cursor: pointer; position: absolute; color: #fff; font-size: 2rem; line-height: 1; padding: 10px 14px; border-radius: 6px; background: rgba(6, 18, 33, .55); }
.hpa-lt-box button:focus-visible { outline: 3px solid var(--lt-teal); }
.hpa-lt-box .hpa-lt-x { top: 8px; right: 10px; }
.hpa-lt-box .hpa-lt-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.hpa-lt-box .hpa-lt-next { right: 6px; top: 50%; transform: translateY(-50%); }
.hpa-lt-box .hpa-lt-count { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font-family: var(--lt-mono); font-size: .8rem; letter-spacing: .08em; }

/* Insta360 panoramas (aircraft.pano_viewer) under the walk-around */
.hpa-lt-sec > .hpa-pano-set { margin-top: 0; }
.hpa-lt .hpa-pano__poster { height: 100%; } /* beats the img reset above, which would letterbox the poster in the 16:9 stage */

/* Explore the panel (aircraft.panel_hotspots) */
.hpa-lt-panel { position: relative; display: grid; gap: 14px; }
.hpa-lt-panel-stage { position: relative; border-radius: 10px; overflow: hidden; background: var(--lt-navy); line-height: 0; }
.hpa-lt-panel-stage img { display: block; width: 100%; height: auto; }
.hpa-lt-dot { all: unset; box-sizing: border-box; position: absolute; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--lt-teal); color: #06303a; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(12, 35, 64, .45); font-family: var(--lt-mono); font-size: .8rem; font-weight: 500; line-height: 1; transition: transform .15s ease, background-color .15s ease; }
.hpa-lt-dot::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; }
.hpa-lt-dot:hover { transform: scale(1.12); }
.hpa-lt-dot[aria-expanded="true"] { background: var(--lt-navy); color: #fff; transform: scale(1.12); }
.hpa-lt-dot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--lt-navy); }
.hpa-lt-panel-card { position: absolute; z-index: 5; width: min(320px, calc(100% - 24px)); padding: 14px 16px 12px; background: #fff; border: 1px solid var(--lt-line); border-top: 3px solid var(--lt-teal); border-radius: 8px; box-shadow: 0 12px 32px rgba(12, 35, 64, .22); font-size: .95rem; line-height: 1.5; }
.hpa-lt-panel-card[hidden] { display: none; }
.hpa-lt-panel-card p { margin: 0 0 .6em; padding: 0; }
.hpa-lt-panel-card-h { font-weight: 700; color: var(--lt-navy); display: flex; gap: 8px; align-items: baseline; }
.hpa-lt-panel-card-h span, .hpa-lt-panel-list span { flex: none; display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--lt-teal); color: #06303a; font-family: var(--lt-mono); font-size: .75rem; font-weight: 500; }
.hpa-lt-panel-close { all: unset; cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--lt-teal-ink); padding: 4px 0; }
.hpa-lt-panel-close:focus-visible { outline: 2px solid var(--lt-navy); outline-offset: 2px; }
.hpa-lt-panel-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 18px; font-size: .92rem; }
.hpa-lt-panel-list li { display: flex; gap: 8px; align-items: baseline; margin: 0; padding: 0; }

/* Keep the legacy listing injections off this page. */
.hpa-lt-page #hpa-video, .hpa-lt-page #hpa-logbooks, .hpa-lt-page #hpa-inquiry,
.hpa-lt-page .hpa-ff, .hpa-lt-page .hpa-bottom, .hpa-lt-page #hpa-sold-recovery { display: none !important; }

@media (max-width: 980px) {
  .hpa-lt-body { grid-template-columns: minmax(0, 1fr); }
  .hpa-lt-rail { position: static; order: -1; }
  .hpa-lt-main { display: contents; }
  .hpa-lt-head { order: -2; }
  .hpa-lt-keys { order: -1; margin-top: 0; }
}
@media (max-width: 760px) {
  /* Hero across the top in its own shape, two tiles of the same shape under it. */
  .hpa-lt-media, .hpa-lt-media--3, .hpa-lt-media--5 { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; aspect-ratio: calc(var(--hpa-r, 1.5) / 1.5); }
  .hpa-lt-tile--main { grid-column: 1 / -1; grid-row: auto; }
  .hpa-lt-tile--main .hpa-lt-all--phone { display: block; }
  .hpa-lt-media .hpa-lt-tile:nth-child(n+4) { display: none; }
  .hpa-lt-media--2 { grid-template-rows: 1fr; aspect-ratio: var(--hpa-r, 1.5); }
  .hpa-lt-media--2 .hpa-lt-tile:nth-child(2) { display: none; }
  .hpa-lt-keys, .hpa-lt-keys--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hpa-lt-keys div:nth-child(3) { border-left: 0; }
  .hpa-lt-keys div:nth-child(n+3) { border-top: 1px solid var(--lt-line); }
  .hpa-lt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hpa-lt-offer-grid { grid-template-columns: minmax(0, 1fr); }
  .hpa-lt-card { padding: 14px 14px 16px; }
  .hpa-lt-form .gform_wrapper #field_14_2, .hpa-lt-form .gform_wrapper #field_14_3 { grid-column: 1 / -1; }
  .hpa-lt-form .gform_wrapper .gform_footer .gform_button { display: block; width: 100%; min-width: 0; }
  .hpa-lt-inquire { padding: 20px 16px; }
  .hpa-lt-box figure { inset: 52px 8px 56px; }
  .hpa-lt { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body.hpa-lt-page .grecaptcha-badge { bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
  .hpa-lt-bar { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: var(--lt-navy); box-shadow: 0 -6px 20px rgba(12, 35, 64, .25); }
  .hpa-lt-bar-price { font-family: var(--lt-display); font-weight: 700; font-size: 1.3rem; color: #fff; margin-right: auto; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .hpa-lt-bar a, .hpa-lt-bar button { all: unset; cursor: pointer; font-weight: 700; font-size: .9rem; color: #fff; padding: 9px 11px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .35); white-space: nowrap; }
  .hpa-lt-bar button { background: var(--lt-teal); color: #06303a; border-color: var(--lt-teal); }
  .hpa-lt-bar a:focus-visible, .hpa-lt-bar button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
}
@media (max-width: 760px) {
  .hpa-lt-dot { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: .74rem; }
  .hpa-lt-dot::before { inset: -8px; }
  .hpa-lt-panel-card { position: static; width: auto; box-shadow: none; }
  .hpa-lt-panel-list { grid-template-columns: minmax(0, 1fr); }
}
/* Print: the listing itself, one column, no site chrome, forms or players. */
@media print {
  @page { margin: 0.5in; }
  #main-header, #top-header, .et-l--header, .et-l--footer, #main-footer, .et_pb_scroll_top, .grecaptcha-badge,
  #hpa-logbooks, #hpa-video,
  .hpa-lt-crumbs, .hpa-lt-bar, .hpa-lt-inquire, #hpa-lt-video, #hpa-lt-360, #hpa-lt-photos, .hpa-lt-access, .hpa-lt-panel,
  .hpa-lt-rail .hpa-lt-btn, .hpa-lt-tradelink, .hpa-lt-fin, .hpa-lt-all, .hpa-lt-badge, .hpa-lt-box { display: none !important; }
  #page-container { padding-top: 0 !important; margin-top: 0 !important; }
  .hpa-lt { font-size: 11pt; line-height: 1.45; padding-bottom: 0 !important; }
  .hpa-lt-wrap { max-width: none; padding: 0 !important; }
  /* Paper is phone-narrow (about 720 px), so undo the phone mosaic. */
  .hpa-lt-media, .hpa-lt-media--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: calc(var(--hpa-r, 1.5) * 2); }
  .hpa-lt-media--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: calc(var(--hpa-r, 1.5) * 1.5); }
  .hpa-lt-media { border-radius: 0; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hpa-lt-media .hpa-lt-tile--main { grid-column: auto; grid-row: 1 / -1; }
  .hpa-lt-media .hpa-lt-tile:nth-child(n+4) { display: block; }
  .hpa-lt-keys, .hpa-lt-keys--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hpa-lt-keys--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hpa-lt-keys div:nth-child(n+3) { border-top: 0; }
  .hpa-lt-keys div:nth-child(3) { border-left: 1px solid var(--lt-line); }
  .hpa-lt-tile img { transform: none !important; }
  /* One column in reading order: title, highlights, price and contact, then the details. */
  .hpa-lt-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16pt; margin-top: 14pt; }
  .hpa-lt-main { display: contents; }
  .hpa-lt-head { order: -3; }
  .hpa-lt-keys { order: -2; margin-top: 0; }
  .hpa-lt-rail { order: -1; position: static; box-shadow: none; border: 0; border-bottom: 1px solid var(--lt-line); border-radius: 0; padding: 0 0 10pt; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4pt 18pt; break-inside: avoid; }
  .hpa-lt-rail .hpa-lt-rep { border: 0; padding: 0; margin: 0; }
  .hpa-lt-rail .hpa-lt-price { font-size: 22pt; }
  .hpa-lt-title { font-size: 26pt; }
  .hpa-lt-sec h2 { font-size: 14pt; }
  .hpa-lt-keys, .hpa-lt-table, .hpa-lt-group, .hpa-lt-dl div { break-inside: avoid; }
  .hpa-lt-group summary { background: none; padding: 6pt 0; }
  .hpa-lt-group summary::after, .hpa-lt-group summary span { display: none; }
  .hpa-lt-group { border: 0; border-top: 1px solid var(--lt-line); border-radius: 0; }
  .hpa-lt-dl { background: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hpa-lt-dl div { padding: 4pt 0; }
  .hpa-lt-table thead th { background: none; }
  .hpa-lt a { color: inherit; text-decoration: none; }
  .hpa-lt-print-only { display: block; margin-top: 12pt; font-size: 9pt; color: var(--lt-mut); }
}
@media (prefers-reduced-motion: reduce) {
  .hpa-lt-tile img, .hpa-lt-thumb img { transition: none; }
  .hpa-lt-dot { transition: none; }
}
