/* Hallmark · genre: editorial · theme: existing CarSeek Paper/Ink/Blue · macrostructure: Workbench
   pre-emit critique: P5 H4 E4 S4 R4 V4 · nav/footer: preserved site chrome · no decorative assets */
@import url('../../tokens.css');
.choice h1, .choice h2, .choice h3 { overflow-wrap: anywhere; min-width: 0; scroll-margin-top: calc(var(--hd-h) + 16px); }
.choice { max-width: 1080px; margin: 0 auto; padding: 32px var(--gutter) 64px; color: var(--choice-text); }
.choice [hidden], .choice-return[hidden] { display: none !important; }
.choice h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.4; font-weight: 700; margin: 0 0 12px; }
.choice h2 { font-size: clamp(21px, 3vw, 28px); line-height: 1.5; margin: 0 0 10px; }
.choice h3 { font-size: 20px; margin: 0 0 8px; }
.choice p { margin: 0 0 12px; }
.choice small, .choice .muted { color: var(--choice-muted); }
.choice-intro { max-width: 680px; margin-bottom: 24px; }
.choice-intro p { font-size: 16px; }
.choice-intro a, .choice-method a, .choice-results a:not(.choice-button), .choice-error a { text-decoration: underline; text-underline-offset: 3px; }
.choice-status { min-height: 24px; color: var(--ink-2); margin-bottom: 12px; }
.choice-layout { display: grid; grid-template-columns: minmax(0,1fr) 236px; gap: 32px; align-items: start; }
.choice-form { background: var(--choice-panel); border: 1px solid var(--line-strong); border-radius: var(--choice-radius); padding: clamp(16px,3vw,32px); }
.choice-progress { display: flex; list-style: none; padding: 0; margin: 0 0 24px; gap: 6px; counter-reset: none; }
.choice-progress li { flex: 1; padding-bottom: 8px; border-bottom: 3px solid var(--line); color: var(--choice-muted); font-size: 13px; }
.choice-progress li[aria-current="step"] { border-color: var(--choice-focus); color: var(--choice-text); font-weight: 700; }
.choice fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.choice legend, .choice-label { display: block; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.choice legend small, .choice-label small { font-weight: 400; }
.choice-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.choice-option { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--choice-radius); cursor: pointer; overflow-wrap: anywhere; }
.choice-option:has(input:checked) { border-color: var(--choice-focus); background: var(--choice-selected); box-shadow: inset 0 0 0 1px var(--choice-focus); }
.choice-option:has(input:focus-visible) { outline: 2px solid var(--choice-focus); outline-offset: 3px; }
.choice input[type=radio] { accent-color: var(--choice-focus); width: 16px; height: 16px; flex: 0 0 16px; }
.choice-number { display: flex; align-items: center; gap: 10px; }
.choice input[type=number], .choice input[type=text], .choice select { background: var(--choice-panel); color: var(--choice-text); border: 1px solid var(--line-strong); border-radius: var(--choice-radius); padding: 10px 12px; font: inherit; font-size: 16px; min-height: 48px; min-width: 0; max-width: 100%; }
.choice input[type=number] { width: 150px; }
.choice input[aria-invalid=true] { border-color: var(--choice-focus); box-shadow: inset 0 0 0 1px var(--choice-focus); }
.choice input::placeholder { color: var(--choice-muted); opacity: 1; }
.choice-field { margin-bottom: 20px; }
.choice-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.choice-dimensions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.choice-dimensions input { width: 100% !important; }
.choice-help { font-size: 13px; color: var(--choice-muted); margin-top: 6px !important; }
.choice-error { padding: 12px 16px; border-left: 3px solid var(--choice-focus); background: var(--choice-selected); margin-bottom: 16px; }
.choice-error ul { margin: 4px 0; padding-left: 20px; }
.choice-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.choice-actions--form { justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); margin-top: 12px; }
.choice-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-strong); background: var(--choice-panel); color: var(--choice-text); border-radius: var(--choice-radius); font: inherit; font-weight: 500; line-height: 1.4; text-decoration: none; cursor: pointer; }
.choice-button--primary { background: var(--ink); color: var(--surface-1); border-color: var(--ink); }
.choice-button:disabled { opacity: .65; cursor: not-allowed; }
.choice-button:active:not(:disabled) { background: var(--surface-3); }
.choice-button--primary:active:not(:disabled) { background: var(--ink-2); }
.choice-button[aria-pressed=true] { outline: 2px solid var(--choice-focus); outline-offset: 2px; }
.choice :focus-visible { outline: 2px solid var(--choice-focus); outline-offset: 3px; }
.choice-summary { padding: 0 0 16px; border-bottom: 1px solid var(--line-strong); font-size: 14px; }
.choice-summary h2 { font-size: 16px; }
.choice-summary dl { margin: 12px 0; }
.choice-summary dt { color: var(--choice-muted); margin-top: 14px; }
.choice-summary dd { margin: 2px 0 0; }
.choice-summary small { display: block; margin-top: 16px; }
.choice-method { max-width: 760px; margin-top: 32px; }
.choice summary { min-height: 44px; cursor: pointer; padding: 10px 0; font-weight: 500; }
.choice-method details { border-top: 1px solid var(--line-strong); }
.choice-method ul, .choice-card ul { padding-left: 22px; }
.choice-method li, .choice-card li { margin-bottom: 6px; }
.choice-results__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.choice-card { border-top: 2px solid var(--ink); padding: 24px 0 28px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px 32px; }
.choice-card__name { margin-bottom: 6px !important; font-size: 26px !important; }
.choice-card__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-variant-numeric: tabular-nums; }
.choice-card__facts span { white-space: nowrap; }
.choice-card__price { font-size: 24px; font-weight: 600; }
.choice-card__price small { font-size: 13px; font-weight: 400; }
.choice-card__body { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.choice-card__body h4 { font-size: 15px; margin: 0; }
.choice-card__body ul { margin: 8px 0 0; }
.choice-card__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.choice-card__evidence { grid-column: 1 / -1; font-size: 13px; }
.choice-card__evidence p { margin-top: 8px; }
.choice-compare { margin: 24px 0; overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--choice-radius); }
.choice table { border-collapse: collapse; width: 100%; font-size: 14px; }
.choice caption { padding: 12px; font-weight: 700; text-align: left; }
.choice th, .choice td { border-top: 1px solid var(--line); text-align: left; vertical-align: top; padding: 12px; min-width: 120px; }
.choice th { font-weight: 500; }
.choice tr th:first-child { min-width: 105px; }
.choice-feedback { border-top: 1px solid var(--line-strong); padding-top: 24px; margin-top: 24px; }
.choice-share { width: 100%; margin: 8px 0; }
.choice-empty { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 24px; margin: 20px 0; }
.choice-entry, .choice-return { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.choice-entry a, .choice-return a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.choice-entry p, .choice-return p { margin: 0; font-size: 14px; }
.choice-return { background: var(--surface-2); }
.choice-print-only { display: none; }
@media (hover:hover) { .choice-button:hover { background: var(--surface-2); } .choice-button--primary:hover { background: var(--ink-2); } .choice-option:hover { border-color: var(--ink-2); } }
@media (max-width: 850px) { .choice-layout { grid-template-columns: 1fr; gap: 24px; } .choice-summary dl { display: flex; flex-wrap: wrap; gap: 8px 20px; } .choice-summary dt { margin-top: 0; } .choice-summary small { margin-top: 6px; } }
@media (max-width: 560px) { .choice { padding-top: 24px; } .choice-options { grid-template-columns: 1fr; } .choice-pair { gap: 12px; } .choice-dimensions { grid-template-columns: 1fr; gap: 0; } .choice-dimensions .choice-field { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 8px; } .choice-dimensions label { margin: 0; } .choice-card, .choice-card__body { grid-template-columns: 1fr; gap: 16px; } .choice-results__heading { display: block; } .choice-card__actions { flex-direction: column; } .choice-card__actions .choice-button { width: 100%; } .choice-progress { gap: 4px; } .choice-progress li { font-size: 12px; } .choice-entry p { max-width: 100%; } }
@media (prefers-reduced-motion: no-preference) { .choice-panel { animation: choice-in 150ms ease; } @keyframes choice-in { from { opacity: .4; } to { opacity: 1; } } }
@media print { .hd, .drawer, .ft, .skip, .choice-intro, .choice-layout, .choice-actions, .choice-card__actions, .choice-feedback, .choice-method, .choice-status, .choice-results__heading button, .choice-share, .choice-error { display: none !important; } .choice { padding: 0; max-width: none; } .choice-print-only { display: block; } .choice-card { break-inside: avoid; } .choice-card__body { display: block; } .choice a { color: inherit; } .choice-compare { overflow: visible; border: 0; } .choice th, .choice td { min-width: 0; padding: 6px; } .choice-card__evidence details > * { display: block; } }
