/* The comparison lives on the page; the conversation leaves its layout intact. */
body.pilot-board-open #main > :not(#pilot-board) { display: none !important; }
.pilot-board { max-width: 1480px; margin: 0 auto; padding: 55px clamp(20px,4vw,70px) 80px; color: #173e45; background: #f7f8f0; min-height: 70vh; }
.px-board-head { display: flex; justify-content: space-between; align-items: start; gap: 25px; padding-bottom: 27px; border-bottom: 1px solid #cbd6c7; }
.px-eyebrow { margin: 0 0 13px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #a95924; }
.px-board-head h1 { margin: 0 0 13px; font-family: Manrope,'DM Sans',sans-serif; font-size: clamp(32px,4vw,64px); font-weight: 400; letter-spacing: -.055em; line-height: 1.1; }
.px-board-head p:last-child { margin: 0; font-size: 13px; color: #657862; line-height: 1.65; }
.pilot-board .px-preferences { grid-template-columns: repeat(2,minmax(0,1.2fr)) repeat(3,minmax(0,.9fr)); border-bottom: 1px solid #cbd6c7; margin-bottom: 28px; }
.px-board-cars { display: grid; grid-template-columns: repeat(var(--car-count),minmax(0,1fr)); gap: 24px; align-items: start; }
.px-comparison-car { min-width: 0; }
.px-comparison-photo { display: block; aspect-ratio: 1.5; overflow: hidden; background: #e5eadf; }
.px-comparison-photo img { width: 100%; height: 100%; object-fit: cover; }
.px-comparison-title { padding: 18px 0 12px; display: grid; gap: 10px; }
.px-comparison-title h2 { margin: 0; font: 500 clamp(17px,1.7vw,24px)/1.3 Manrope,'DM Sans',sans-serif; letter-spacing: -.035em; }
.px-comparison-title h2 a { color: inherit; text-decoration: none; }
.px-comparison-title > strong { font-family: Manrope,'DM Sans',sans-serif; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.px-match-status { font-size: 11px; line-height: 1.5; padding-block: 9px; margin: 0; color: #66765d; border-block: 1px solid #d6dfcd; }
.px-match-status[data-result="met"] { color: #386647; }
.px-match-status[data-result="missed"] { color: #ac5421; }
.px-match-status[data-result="unknown"] { color: #766e53; }
.px-checks { margin: 0; }
.px-checks > div { display: flex; gap: 10px; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #d6dfcd; font-size: 11px; line-height: 1.5; }
.px-checks dt, .px-checks dd { display: grid; gap: 5px; margin: 0; }
.px-checks dd { text-align: end; }
.px-checks small { font-size: 10px; color: #748169; }
.px-checks [data-result="missed"] dd small { color: #a85325; }
.px-checks [data-result="met"] dd small { color: #44704b; }
.px-car-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 17px; }
.px-listing-source { font-size: 10px; line-height: 1.6; color: #748069; margin-top: 16px; }
.px-board-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 48px; }
.px-board-empty { grid-column: 1 / -1; border-block: 1px solid #d6dfcd; padding: 40px 0; }
.px-board-empty h2 { margin: 0 0 12px; font-size: 22px; font-weight: 500; }
.px-board-empty p { margin: 0; font-size: 13px; color: #657862; }
.px-choice-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid #cbd6c7; padding-bottom: 15px; }
.px-choice-heading h2 { font-family: Manrope,'DM Sans',sans-serif; font-size: 24px; font-weight: 500; margin: 0; letter-spacing: -.035em; }
.px-choice-count { margin: 0; font-size: 11px; line-height: 1.6; color: #627862; }
.px-board-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
.px-choice { display: flex; align-items: center; gap: 13px; padding: 18px 0; border-bottom: 1px solid #d6dfcd; min-width: 0; }
.px-choice > a { flex: none; width: 82px; }
.px-choice img { width: 82px; height: 62px; object-fit: cover; }
.px-choice > div { flex: 1; min-width: 0; display: grid; gap: 7px; }
.px-choice > div a { font-size: 12px; line-height: 1.4; color: #294c40; text-decoration: none; }
.px-choice > div span { font-size: 10px; line-height: 1.5; color: #6b7e62; }
.px-pick { flex: none; min-height: 42px; padding: 10px; border: 1px solid #bbcab5; color: #385b45; background: none; font-size: 10px; }
.px-pick[aria-pressed="true"] { background: #173e45; color: #fff; border-color: #173e45; }
.px-choice[data-match="false"] { opacity: .7; }
.px-choice[data-match="false"]:focus-within, .px-choice[data-match="false"]:hover { opacity: 1; }
.pilot-photo-item { position: relative; flex: none; scroll-snap-align: start; }
.pilot-photo-item .vx-shot { display: block; }
.pilot-photo-ask, .pilot-photo-select, .pilot-summary-button { border: 1px solid #869c92; padding: 10px 13px; color: #173e45; background: #fffff6; font: 12px/1.4 inherit; font-family: inherit; font-size: 12px; cursor: pointer; min-height: 42px; }
.pilot-photo-item > .pilot-photo-ask { position: absolute; bottom: 14px; right: 14px; background: #fffffff0; }
.pilot-photo-item .vx-shot > span { right: auto; }
.pilot-photo-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 13px 20px; background: #f5f7ee; color: #173e45; }
.pilot-photo-tools > span { flex: 1; min-width: 180px; font-size: 11px; line-height: 1.6; }
.lightbox-body { position: relative; }
.pilot-photo-selector { position: absolute; z-index: 5; overflow: hidden; touch-action: none; cursor: crosshair; }
.pilot-photo-box { position: absolute; border: 2px solid #ffac6a; box-shadow: 0 0 0 9999px #092b3570; pointer-events: none; }
.pilot-summary-control { grid-column: 1 / -1; display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid #c5d0c1; font-size: 12px; color: #607660; }
.pilot-summary-button { justify-self: start; background: none; }
.pilot-native-summary { display: grid; gap: 12px; padding: 18px; border: 1px solid #bdcdb5; background: #f4f7ec; }
.pilot-native-summary h3, .pilot-native-summary p { margin: 0; font-size: 13px; line-height: 1.6; }
.pilot-native-summary .px-summary-text { margin: 0; min-height: 180px; }
.pilot-photo-ask:hover, .pilot-photo-select:hover, .pilot-summary-button:hover { border-color: #bd672b; color: #9d4b17; }
@media(max-width:900px) { .pilot-board .px-preferences { grid-template-columns: repeat(2,minmax(0,1fr)); } .px-board-choices { grid-template-columns: minmax(0,1fr); } }
@media(max-width:640px) {
 .pilot-board { padding: 30px 18px 60px; }
 .px-board-head { flex-direction: column; gap: 18px; }
 .px-board-head h1 { font-size: 36px; }
 .px-board-head .px-back { align-self: start; padding: 8px 11px; }
 .px-board-cars { grid-template-columns: repeat(var(--car-count),minmax(220px,1fr)); gap: 18px; overflow-x: auto; padding-bottom: 15px; scroll-snap-type: x mandatory; }
 .px-comparison-car { scroll-snap-align: start; }
 .px-board-actions .px-button { width: 100%; }
 .px-choice { gap: 10px; }
 .px-choice > a, .px-choice img { width: 64px; }
 .px-choice img { height: 54px; }
 .pilot-photo-item .vx-shot { height: 300px; }
 .pilot-photo-item > .pilot-photo-ask { font-size: 10px; right: 10px; }
 .pilot-photo-tools { padding: 12px; gap: 8px; }
 .pilot-photo-tools > span { flex-basis: 100%; }
 .pilot-photo-ask, .pilot-photo-select { font-size: 11px; }
}
@media(prefers-reduced-motion:no-preference) {
 @view-transition { navigation: auto; }
 ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; }
 ::view-transition-old(pilot-vehicle), ::view-transition-new(pilot-vehicle) { animation-duration: 320ms; }
}
