/* Same purple shell, heavy ink and warm panels as the RAV4U market. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.buyer-shell { padding-bottom: 22px; }
.buyer-intro { padding: 24px 0 26px; max-width: 780px; }
.eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .065em; line-height: 1.5; margin: 0 0 12px; }
.intro-mark { font-size: 1.6rem; margin-right: 8px; vertical-align: middle; }
.buyer-intro h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); letter-spacing: -.035em; line-height: 1.04; margin: 0; }
.buyer-intro > p:last-child { max-width: 58ch; font-size: 1.05rem; line-height: 1.55; margin: 18px 0 0; }
.buyer-workspace { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.input-panel { padding: 22px; border-top: 9px solid #ffd117; position: sticky; top: 20px; }
.input-panel > h2 { font-size: 1.4rem; }
.form-intro { font-size: .88rem; line-height: 1.45; margin: 14px 0 20px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.input-row { display: grid; grid-template-columns: .85fr 1.2fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 19px; min-width: 0; }
.field label { font-weight: 800; font-size: .87rem; }
.field label span { font-weight: 400; font-size: .8rem; }
.field input, .field select { width: 100%; min-width: 0; min-height: 50px; border: 2px solid #111; border-radius: 0; color: #111; background: #fffdf7; font: inherit; font-size: 1rem; padding: 10px 12px; }
.field input::placeholder { color: #78736b; }
.field input:focus-visible, .field select:focus-visible, .buyer-button:focus-visible, .example-button:focus-visible, .comp-link:focus-visible, summary:focus-visible, .buyer-footer a:focus-visible { outline: 3px solid #1745cc; outline-offset: 3px; }
.field input[aria-invalid="true"] { border-color: #a0223b; background: #fff0f3; }
.field-help { font-size: .73rem; line-height: 1.4; color: #4b575b; }
.money-input { display: flex; align-items: center; border: 2px solid #111; background: #fffdf7; }
.money-input > span { font-size: 1.4rem; padding-left: 12px; }
.money-input input { border: 0; font-size: 1.6rem; font-weight: 800; padding-left: 8px; font-variant-numeric: tabular-nums; }
.buyer-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 12px 16px; border: 2px solid #111; border-radius: 0; color: #111; font: inherit; font-weight: 800; background: #fffdf7; cursor: pointer; box-shadow: 3px 3px 0 #111; text-decoration: none; }
.primary-button { width: 100%; background: #ffd117; }
.primary-button:hover { background: #ffe778; }
.secondary-button { font-size: .82rem; padding: 10px 12px; }
.secondary-button:hover { background: #efdcff; }
fieldset:disabled { opacity: .65; }
.example-button { min-height: 44px; margin-top: 12px; padding: 8px 0; border: 0; font: inherit; font-size: .76rem; line-height: 1.4; background: transparent; text-decoration: underline; text-underline-offset: 3px; color: #4b575b; cursor: pointer; text-align: left; }
.form-message { font-size: .8rem; line-height: 1.45; margin: 12px 0; }
.form-message:empty { display: none; }
.form-privacy { margin: 10px 0 0; font-size: .73rem; color: #4b575b; }
.dataset-note { margin: 20px 0 0; border-top: 1px solid #c9c1b3; padding-top: 12px; font-size: .76rem; line-height: 1.55; color: #4b575b; }
.load-error { font-size: .9rem; line-height: 1.55; }
.buyer-output { min-width: 0; }
.empty-panel { padding: 34px; min-height: 490px; border-top: 9px solid #b762ff; }
.empty-symbol { display: grid; place-items: center; width: 78px; height: 70px; margin: 8px 0 28px; border: 3px solid #111; box-shadow: 5px 5px 0 #111; background: #efdcff; font-size: 2rem; font-weight: 800; transform: rotate(-5deg); }
.empty-panel > h2 { display: block; padding: 0; background: transparent; color: #111; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.025em; line-height: 1.06; }
.empty-panel > p:not(.eyebrow) { font-size: .95rem; line-height: 1.6; max-width: 48ch; }
.preview-points { list-style: none; padding: 0; margin: 24px 0; font-size: .87rem; }
.preview-points li { padding: 10px 0; border-top: 1px solid #c9c1b3; }
.preview-points li::before { content: '↗'; font-weight: 800; margin-right: 10px; }
.empty-panel .empty-caveat { font-size: .8rem !important; color: #4b575b; }
#assessment { scroll-margin-top: 20px; display: grid; gap: 22px; }
.verdict-panel { --signal: #27c7a7; padding: 24px; border-top: 9px solid var(--signal); }
.verdict-panel[data-tone="high"] { --signal: #ff576f; }
.verdict-panel[data-tone="neutral"] { --signal: #b762ff; }
.verdict-panel[data-tone="unknown"] { --signal: #ffd117; }
.verdict-kicker { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.verdict-kicker .eyebrow { margin: 0; }
.signal-stamp { background: var(--signal); font-size: .7rem; font-weight: 800; padding: 5px 9px; border: 2px solid #111; box-shadow: 2px 2px 0 #111; transform: rotate(2deg); }
.verdict-title { background: transparent !important; color: #111 !important; padding: 0 !important; font-size: clamp(1.9rem, 3.2vw, 2.7rem) !important; letter-spacing: -.025em; line-height: 1.1 !important; display: block !important; margin: 0; }
.verdict-description { font-size: .95rem; line-height: 1.6; margin: 14px 0 20px; max-width: 60ch; }
.price-stats { display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; margin: 0; }
.price-stat { border: 2px solid #111; padding: 14px; background: #fffdf7; min-width: 0; }
.price-stat.typical { background: #ddf9ee; }
.price-stat dt { font-size: .75rem; }
.price-stat dd { font-size: clamp(1.35rem, 2.3vw, 1.85rem); font-weight: 800; line-height: 1.25; margin: 7px 0 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.price-difference { margin: 16px 0 0; font-size: .93rem; line-height: 1.5; }
.price-difference strong { font-size: 1.05rem; }
.price-scale { margin: 26px 0 18px; border-top: 1px solid #c9c1b3; padding-top: 20px; }
.price-scale > h3 { font-size: .85rem; margin: 0 0 18px; }
.price-track { position: relative; height: 52px; margin: 0 7px; background: repeating-linear-gradient(to right, transparent 0, transparent calc(25% - 1px), #dcd6ca calc(25% - 1px), #dcd6ca 25%); }
.price-track::before { content: ''; position: absolute; top: 25px; left: 0; right: 0; border-top: 2px solid #c9c1b3; }
.price-range { position: absolute; top: 18px; height: 15px; min-width: 3px; border: 1px solid #111; border-radius: 10px; background: #27c7a7; }
.price-marker { position: absolute; transform: translateX(-50%); }
.typical-marker { width: 16px; height: 16px; top: 17px; border-radius: 50%; border: 3px solid #fffdf7; background: #111; box-shadow: 0 0 0 1px #111; }
.asking-marker { top: 2px; height: 48px; border-left: 2px dashed #7138a4; }
.asking-marker::before { content: ''; position: absolute; top: 0; left: -6px; width: 10px; height: 10px; border: 2px solid #111; background: #b762ff; transform: rotate(45deg); }
.price-axis { display: flex; justify-content: space-between; gap: 10px; font-size: .72rem; margin-top: 6px; font-variant-numeric: tabular-nums; }
.price-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .73rem; margin-top: 14px; }
.price-legend span { display: inline-flex; align-items: center; gap: 7px; }
.key-dot { width: 10px; height: 10px; border-radius: 50%; background: #111; }
.key-ask { width: 10px; height: 10px; border: 1px solid #111; background: #b762ff; transform: rotate(45deg); }
.key-band { width: 22px; height: 8px; border: 1px solid #111; border-radius: 9px; background: #27c7a7; }
.range-caption { font-size: .8rem; line-height: 1.5; margin: 12px 0; }
.price-position { font-size: .78rem; line-height: 1.5; color: #4b575b; margin: 0; }
.evidence-note { border: 2px solid #111; padding: 12px 14px; background: #fff2b8; font-size: .83rem; line-height: 1.55; margin: 20px 0 0; }
.evidence-note strong { display: block; margin-bottom: 3px; }
.match-context { font-size: .8rem; line-height: 1.55; margin: 18px 0 0; color: #4b575b; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.comparables-panel { padding: 24px; border-top: 9px solid #ff576f; }
.comparables-panel > h3, .notes-panel > h3 { display: inline-block; margin: 0; padding: 6px 10px; background: #111; color: #fff; font-size: 1.1rem; }
.comparables-description { font-size: .85rem; line-height: 1.5; margin: 14px 0; }
.share-fallback { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; color: #111; font-size: .82rem; overflow-wrap: anywhere; }
.comparable-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 18px 0 0; }
.comparable-card { border: 2px solid #111; background: #fffdf7; padding: 14px; min-width: 0; }
.comparable-card h4 { margin: 0; font-size: .9rem; line-height: 1.4; }
.comp-price { margin: 9px 0 0; font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.comp-km { margin: 4px 0 10px; font-size: .82rem; }
.comp-location, .comp-date { margin: 5px 0; font-size: .73rem; line-height: 1.4; color: #4b575b; overflow-wrap: anywhere; }
.comp-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #111; font-weight: 800; font-size: .77rem; text-underline-offset: 4px; }
.more-comparables { border-top: 1px solid #c9c1b3; margin-top: 18px; padding-top: 8px; }
.more-comparables summary, .method-details summary { cursor: pointer; min-height: 44px; padding: 12px 0; font-size: .83rem; font-weight: 800; }
.notes-panel { padding: 24px; }
.buyer-checklist { padding-left: 20px; margin: 16px 0 0; font-size: .85rem; line-height: 1.6; }
.buyer-checklist li { margin: 10px 0; padding-left: 4px; }
.method-details { border-top: 1px solid #c9c1b3; margin-top: 18px; }
.method-details ul { margin: 0; padding-left: 20px; font-size: .8rem; line-height: 1.6; }
.method-details li { margin: 8px 0; }
.buyer-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-top: 26px; font-size: .78rem; line-height: 1.5; }
.buyer-footer p { margin: 0; }
.buyer-footer a { color: #111; font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
@media (max-width: 1000px) {
  .buyer-workspace { grid-template-columns: minmax(280px, 320px) minmax(0, 1fr); gap: 18px; }
  .input-panel, .verdict-panel, .comparables-panel, .notes-panel { padding: 18px; }
  .comparable-list { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .buyer-workspace { grid-template-columns: 1fr; gap: 22px; }
  .input-panel { position: static; }
  .buyer-intro { padding: 22px 0; }
  .buyer-intro > p:last-child { font-size: .95rem; }
  .empty-panel { min-height: 0; padding: 24px; }
  .comparable-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .buyer-intro h2 { font-size: 2.2rem; }
  .eyebrow { font-size: .67rem; }
  .input-panel, .verdict-panel, .comparables-panel, .notes-panel { padding: 16px 12px; }
  .input-panel > h2 { font-size: 1.3rem; }
  .price-stats { gap: 8px; }
  .price-stat { padding: 12px 9px; }
  .price-stat dt { font-size: .7rem; }
  .price-stat dd { font-size: 1.45rem; }
  .comparable-list { grid-template-columns: 1fr; }
  .verdict-title { font-size: 2rem !important; }
  .result-actions .buyer-button { flex: 1 1 150px; }
}
