/* One set of interaction surfaces for cards, details and comparison. */
body.max-soft-style #details .detail-summary h2{font-size:1.25rem;line-height:1.45;margin-bottom:18px}
body.max-soft-style #details .detail-summary-price{background:var(--max-price-surface);padding:14px;margin-bottom:20px!important;min-height:54px}
body.max-soft-style #details .detail-summary-price .price-amount{font-size:1.5rem}
body.max-soft-style #details .detail-selection-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px;min-width:0}
body.max-soft-style #details .detail-selection-actions :is(.favorite-toggle,.compare-choice){margin:0;min-height:44px;min-width:0;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:8px;background:#f1efec;border:1px solid transparent;border-radius:4px;color:var(--ink);font-size:.8125rem;line-height:1.5;white-space:nowrap;box-sizing:border-box;cursor:pointer}
body.max-soft-style #details .detail-selection-actions :is(.favorite-toggle,.compare-choice):hover{background:#f1efec}
body.max-soft-style #details .detail-selection-actions .favorite-toggle[aria-pressed=true],body.max-soft-style #details .detail-selection-actions .compare-choice:has(input:checked){background:#f1efec;color:var(--blue)}
body.max-soft-style #details .detail-selection-actions .favorite-toggle svg{width:20px;height:20px;flex-shrink:0}
body.max-soft-style #details .detail-selection-actions input{margin:0;width:18px;height:18px;flex:0 0 18px;accent-color:var(--blue)}
body.max-soft-style #details .detail-selection-actions .compare-choice:has(input:focus-visible){outline:2px solid var(--blue);outline-offset:-3px}
body.max-soft-style #details .detail-summary .button{border-radius:4px;min-height:46px;font-size:.875rem}
body.max-soft-style #details #detail-back-compare{margin:0 30px 24px;border-radius:4px;font-size:.875rem;min-height:44px}
body.max-soft-style #comparison>.dialog-top{background:#fff;border-bottom:1px solid #f1efec;min-height:64px;padding:12px 24px}
body.max-soft-style #comparison>.dialog-top h2{font-size:1.25rem;line-height:1.4;font-weight:500}
body.max-soft-style #comparison .comparison-scroll-hint{font-size:.8125rem;line-height:1.5;color:var(--muted);padding:10px 24px;margin:0;background:#fff}
body.max-soft-style #comparison .comparison-scroll-hint[hidden]{display:none}
body.max-soft-style #comparison-content{overscroll-behavior-x:contain;scrollbar-width:thin}
body.max-soft-style .compare-column>img{width:100%;height:clamp(180px,20vw,280px);aspect-ratio:4/3;object-fit:contain;background:#f1efec}
body.max-soft-style .compare-column>.vehicle-card-meta{align-items:center;justify-content:space-between;gap:6px;margin-block:10px 6px}
body.max-soft-style .compare-column .compare-remove-inline{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 8px;margin-right:-8px;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:.75rem;line-height:1.5;cursor:pointer}
body.max-soft-style .compare-column .compare-remove-inline:hover{background:#f1efec;color:var(--blue)}
body.max-soft-style .compare-column>h3{font-size:1.125rem;line-height:1.45;padding-bottom:14px;overflow-wrap:anywhere}
body.max-soft-style .compare-column dl>div{padding-block:9px}
body.max-soft-style .compare-column>.listing-notes{padding-block:12px 16px}
@media(max-width:760px){body.max-soft-style #details .detail-summary h2{font-size:1.125rem;margin-bottom:16px}body.max-soft-style #details #detail-back-compare{margin-inline:20px}body.max-soft-style #comparison>.dialog-top{padding:10px 18px;gap:12px;min-height:60px}body.max-soft-style #comparison>.dialog-top h2{font-size:1.125rem}body.max-soft-style #comparison .comparison-scroll-hint{padding-inline:18px}body.max-soft-style .compare-column>img{height:195px}body.max-soft-style .compare-column>h3{font-size:1rem}body.max-soft-style .compare-column .compare-remove-inline{font-size:.75rem}}
/* The card's historical absolute positioning must not leak into detail controls. */
body.max-soft-style #details .detail-selection-actions .favorite-toggle{position:static;inset:auto;transform:none;width:100%;opacity:1;margin:0}
/* Keep horizontal movement inside the comparison, including on phones. */
body.max-soft-style #comparison-content{overflow-x:auto;max-width:100%;min-width:0}
body.max-soft-style #comparison .comparison-scroll-hint{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-block:4px}
.comparison-scroll-controls{display:flex;gap:4px;flex:0 0 auto}
.comparison-scroll-controls button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:4px;background:#f1efec;color:var(--blue)}
.comparison-scroll-controls button:hover{background:#f1efec}
.comparison-scroll-controls button:disabled{opacity:.35;cursor:default}
.comparison-scroll-controls svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
