/* Cash For Cars San Angelo: quote and offer flow */
.cq-page { background: var(--paper); }
.cq-head .cf-wrap { min-height: 68px; }
.cq-head__call { font-size: 15px; }
body.is-offer .cq-head__call { display: none; }
@media (max-width: 479px) { .cq-head__call { padding: 8px 10px; font-size: 14px; } .cq-head__call svg { display: none; } }

.cq-main { min-height: 70vh; padding: 22px 0 64px; }
.cq-q { width: 100%; max-width: 688px; margin: 0 auto; padding: 0 16px; }
.cq-q[hidden] { display: none; }
.cq-q__bar { display: flex; align-items: center; gap: 16px; min-height: 44px; margin-bottom: 14px; }
.cq-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px 6px 2px; border: 0; background: none; font: 600 16px/1 var(--sans); color: var(--ink); cursor: pointer; }
.cq-back svg { width: 18px; height: 18px; }
.cq-back:hover { color: var(--river); }
.cq-back[hidden] { display: none; }
.cq-progress { flex: 1; height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; border: 1px solid var(--line); }
.cq-progress span { display: block; height: 100%; width: 0; background: var(--river); transition: width .25s ease; }
.cq-progress[hidden] { visibility: hidden; }

.cq-stage { position: relative; }
.cq-card { background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: 30px 32px 28px; box-shadow: 8px 8px 0 rgba(44, 74, 124, .9); }
@media (max-width: 599px) { .cq-card { background: transparent; border: 0; box-shadow: none; padding: 4px 0 0; } }
.cq-anim-fwd { animation: cq-fwd .22s ease both; }
.cq-anim-back { animation: cq-back .22s ease both; }
@keyframes cq-fwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes cq-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .cq-anim-fwd, .cq-anim-back { animation: cq-fade .15s ease both; }
  @keyframes cq-fade { from { opacity: 0; } to { opacity: 1; } }
}

.cq-car { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14.5px; font-weight: 600; color: var(--river); text-transform: uppercase; letter-spacing: .08em; }
.cq-car svg { width: 26px; height: 14px; }
.cq-h { font: 700 clamp(26px, 4vw, 34px)/1.15 var(--display); letter-spacing: -.012em; margin: 0 0 8px; }
.cq-h:focus { outline: none; }
.cq-help { color: var(--ink-soft); margin: 0 0 4px; }
.cq-help .cf-link-btn { min-height: 0; padding: 0; font-size: inherit; }
.cq-body { margin-top: 22px; }

/* choices */
.cq-choices { display: flex; flex-direction: column; gap: 10px; }
.cq-choice {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  min-height: 60px; padding: 14px 18px; text-align: left; cursor: pointer;
  font: 600 17.5px/1.3 var(--sans); color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 8px;
  transition: border-color .12s ease, background-color .12s ease, transform .12s ease;
}
.cq-choice:hover { border-color: var(--ink); }
.cq-choice__mark { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center; }
.cq-choice__mark svg { width: 15px; height: 15px; opacity: 0; color: var(--ink); }
.cq-choice[aria-checked="true"] { border: 2px solid var(--ink); background: var(--marigold-tint); box-shadow: 3px 3px 0 var(--ink); }
.cq-choice[aria-checked="true"] .cq-choice__mark { background: var(--marigold); border-color: var(--ink); }
.cq-choice[aria-checked="true"] .cq-choice__mark svg { opacity: 1; }
.cq-choice[aria-disabled="true"] { cursor: not-allowed; color: var(--ink-faint); border-style: dashed; background: transparent; }
.cq-choice[aria-disabled="true"]:hover { border-color: var(--line-strong); }
.cq-choice__off { font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.cq-choice__num { display: none; }
@media (hover: hover) and (min-width: 768px) {
  .cq-choice__num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; margin-right: 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; color: var(--ink-faint); }
  .cq-choice__txt { flex: 1; display: flex; align-items: center; }
}

.cq-info { display: flex; gap: 10px; margin: 16px 0 0; padding: 12px 14px; background: var(--river-tint); border-radius: 6px; color: var(--ink); font-size: 15.5px; }
.cq-info svg { flex: none; width: 20px; height: 20px; color: var(--river); margin-top: 2px; }
.cq-flag { margin: 0 0 16px; padding: 12px 14px; border-left: 4px solid var(--error); background: var(--error-tint); border-radius: 4px; font-weight: 600; color: var(--error); }
.cq-flag--soft { border-left-color: var(--clay); background: var(--marigold-tint); color: var(--ink); }

.cq-actions { display: flex; justify-content: flex-end; margin-top: 22px; }
.cq-actions .cf-btn { min-width: 180px; }
@media (max-width: 599px) { .cq-actions .cf-btn { width: 100%; } }

/* corner picker */
.cq-corners { margin: 18px 0 0; padding: 18px; border: 1.5px dashed var(--line-strong); border-radius: 8px; background: var(--paper); }
.cq-corners legend { font-weight: 700; padding: 0 6px; }
.cq-corners__car { display: grid; grid-template-columns: 1fr 74px 1fr; grid-template-rows: auto auto auto auto; gap: 8px 10px; align-items: center; }
.cq-corners__end { grid-column: 1 / -1; text-align: center; font: 600 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.cq-corners__body { grid-column: 2; grid-row: 2 / span 2; height: 150px; color: var(--line-strong); }
.cq-tile { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--card); cursor: pointer; font-weight: 600; font-size: 15.5px; }
.cq-tile input { width: 20px; height: 20px; accent-color: var(--river); margin: 0; flex: none; }
.cq-tile:has(input:checked) { border: 2px solid var(--ink); background: var(--marigold-tint); }
.cq-tile:focus-within { outline: 3px solid var(--river); outline-offset: 2px; }

/* text steps */
.cq-input-row { max-width: 360px; }
.cq-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 6px; min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 600; }
.cq-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--river); flex: none; }
.cq-seg { display: inline-flex; padding: 4px; background: var(--paper-2); border-radius: 8px; border: 1px solid var(--line); margin-bottom: 18px; }
.cq-seg button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 6px; background: transparent; font: 600 15.5px/1 var(--sans); color: var(--ink-soft); cursor: pointer; }
.cq-seg button[aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.cq-found { margin: 0 0 6px; padding: 12px 14px; background: var(--river-tint); border-left: 4px solid var(--river); border-radius: 4px; font-weight: 600; }

/* loading */
.cq-load { text-align: center; padding: 26px 0 10px; }
.cq-load__truck { width: 120px; height: 70px; color: var(--ink); margin: 0 auto 8px; display: block; }
.cq-load__truck .cq-wheel { transform-box: fill-box; transform-origin: center; animation: cf-spin 1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .cq-load__truck .cq-wheel { animation: none; } }
.cq-load ul { list-style: none; padding: 0; margin: 22px auto 0; max-width: 300px; text-align: left; }
.cq-load li { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: var(--ink-faint); font-weight: 600; }
.cq-load li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px dashed var(--line-strong); flex: none; }
.cq-load li.is-done { color: var(--ink); }
.cq-load li.is-done::before { border: 2px solid var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cq-load__slow { margin-top: 16px; color: var(--ink-soft); }

/* terminal */
.cq-end { text-align: left; }
.cq-end__badge { width: 64px; height: 64px; margin-bottom: 8px; color: var(--ok); }
.cq-end__badge--warm { color: var(--clay); }
.cq-end__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.cq-end__box { margin: 18px 0 0; padding: 16px 18px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 8px; }
.cq-end__box dt { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); }
.cq-end__box dd { margin: 2px 0 12px; font-weight: 600; }
.cq-end__box dd:last-child { margin-bottom: 0; }
.cq-end ol { padding-left: 22px; }
.cq-end ol li { margin-bottom: 6px; }

/* offer / accept */
.cq-offer { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.cq-offer[hidden] { display: none; }
.cq-offer__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; }
.cq-rail { position: sticky; top: 20px; }
.cq-rail__card { background: var(--river); color: #fff; border-radius: 10px; padding: 22px 22px 20px; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.cq-rail__label { margin: 0; font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cq-rail__amt { margin: 4px 0 2px; font: 800 52px/1 var(--display); color: var(--marigold); letter-spacing: -.02em; }
.cq-rail__car { margin: 0; font-weight: 600; }
.cq-rail__speed { margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.35); font-size: 15px; }
.cq-rail__how { margin-top: 22px; padding: 4px 4px 0; }
.cq-rail__how h2 { font: 700 21px/1.2 var(--display); margin: 0 0 10px; }
.cq-rail__how ol { list-style: none; counter-reset: how; margin: 0; padding: 0; }
.cq-rail__how li { counter-increment: how; position: relative; padding: 0 0 14px 40px; color: var(--ink-soft); font-size: 15.5px; }
.cq-rail__how li::before { content: counter(how); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--ink); background: var(--card); }
.cq-rail__how li:not(:last-child)::after { content: ""; position: absolute; left: 13.5px; top: 28px; bottom: 2px; border-left: 1.5px dashed var(--line-strong); }

.cq-sheet { min-width: 0; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: 26px 32px 30px; }
.cq-back--offer { margin: -6px 0 4px -2px; }
.cq-sheet__car { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--river); text-transform: uppercase; letter-spacing: .08em; }
.cq-sheet__h { font: 800 clamp(30px, 4.4vw, 42px)/1.08 var(--display); margin: 6px 0 6px; letter-spacing: -.02em; }
.cq-sheet__h:focus { outline: none; }
.cq-sheet__h [data-amt] { color: var(--river); background: linear-gradient(transparent 62%, var(--marigold-tint) 62%); padding: 0 2px; }
.cq-sheet__sub { margin: 0 0 6px; color: var(--ink-soft); }
.cq-sec { padding: 22px 0 6px; border-top: 1.5px dashed var(--line); margin-top: 18px; }
.cq-sec[hidden] { display: none; }
.cq-sec__h { display: flex; align-items: center; gap: 10px; font: 700 21px/1.2 var(--display); margin: 0 0 16px; }
.cq-sec__opt { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); border: 1px solid var(--line-strong); border-radius: 20px; padding: 5px 9px; }
.cq-sec__tick { display: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cq-sec.is-saved .cq-sec__tick { display: inline-block; }
.cq-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cq-grid2[hidden] { display: none; }
.cq-span2 { grid-column: 1 / -1; }
@media (max-width: 599px) { .cq-grid2 { grid-template-columns: 1fr; } }
.cq-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 8px; margin-bottom: 12px; }
.cq-summary[hidden] { display: none; }
.cq-summary p { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cq-summary small { display: block; font-weight: 400; color: var(--ink-soft); }
.cq-gate { margin-top: 4px; }
.cq-gate[hidden] { display: none; }
.cq-gate__next { margin: 12px 0 0; font-size: 15px; color: var(--ink-soft); text-align: center; }
.cq-legal { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 4px 0 16px; }
.cq-legal .cf-link-btn { min-height: 0; padding: 0; font-size: inherit; }
.cq-oops { margin: 0 0 12px; padding: 12px 14px; border-left: 4px solid var(--error); background: var(--error-tint); border-radius: 4px; font-weight: 600; color: var(--error); }
.cq-oops[hidden] { display: none; }
.cq-oops .cf-link-btn { min-height: 0; padding: 0 0 0 4px; }

.cq-close { padding-top: 24px; margin-top: 14px; border-top: 1.5px dashed var(--line); }
.cq-accept { min-height: 62px; font-size: 20px; }
.cq-close__note { margin: 12px 0 6px; text-align: center; font-weight: 600; color: var(--ink); }
.cq-close .cq-legal { text-align: center; margin-top: 4px; }
.cq-tally { margin: 0 0 12px; padding: 12px 14px; background: var(--error-tint); border-left: 4px solid var(--error); border-radius: 4px; font-weight: 700; color: var(--error); }
.cq-tally[hidden] { display: none; }
.cq-tally .cf-link-btn { min-height: 0; padding: 0; color: var(--error); }

/* pickup */
.cq-pick__intro { margin: -6px 0 14px; color: var(--ink-soft); }
.cq-slot { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--card); font: 600 16.5px/1.3 var(--sans); color: var(--ink); text-align: left; cursor: pointer; margin-bottom: 8px; }
.cq-slot__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.cq-slot[aria-pressed="true"] { border: 2px solid var(--ink); background: var(--marigold-tint); }
.cq-slot[aria-pressed="true"] .cq-slot__dot { border: 6px solid var(--ink); background: var(--marigold); }
.cq-slot small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.cq-days { margin: 10px 0 8px; }
.cq-days__nav { display: none; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-weight: 600; font-size: 15px; }
.cq-days__nav button { width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--card); cursor: pointer; font-size: 18px; }
.cq-days__nav button:disabled { opacity: .35; cursor: default; }
.cq-days__strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; }
.cq-day { scroll-snap-align: start; flex: 0 0 auto; min-width: 74px; min-height: 64px; padding: 8px 6px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--card); cursor: pointer; font: 600 14px/1.25 var(--sans); color: var(--ink); text-align: center; }
.cq-day b { display: block; font-size: 17px; }
.cq-day.is-weekend { background: var(--paper-2); }
.cq-day[aria-pressed="true"] { border: 2px solid var(--ink); background: var(--marigold-tint); }
@media (min-width: 768px) {
  .cq-days__nav { display: flex; }
  .cq-days__strip { overflow: visible; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cq-day { min-width: 0; }
  .cq-day[data-off] { display: none; }
}
.cq-wins { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.cq-wins__h { margin: 6px 0 2px; font-weight: 700; }
.cq-wins__hint { margin: 2px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.cq-picked { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 0; padding: 10px 14px; background: var(--river-tint); border-radius: 6px; font-weight: 700; }

/* changed-offer dialog */
.cq-changed__amt { display: grid; gap: 2px; margin: 14px 0 8px; padding: 16px; border: 2px solid var(--ink); border-radius: 8px; background: var(--marigold-tint); }
.cq-changed__amt span { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.cq-changed__amt strong { font: 800 44px/1 var(--display); color: var(--river); }
.cq-changed__amt em { font-style: normal; font-weight: 600; color: var(--ink-soft); }
.cq-changed__prev { margin: 0; color: var(--ink-faint); font-size: 15px; }
.cq-changed__hold { margin: 8px 0 0; font-size: 15px; }

.cq-noscript { max-width: 640px; margin: 20px auto; padding: 0 16px; font-weight: 600; }

@media (max-width: 899px) {
  .cq-offer__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cq-rail { position: static; display: contents; }
  .cq-rail__card { display: none; }
  .cq-rail__how { order: 3; margin-top: 26px; }
  .cq-sheet { order: 1; }
}
@media (max-width: 599px) {
  .cq-main { padding-top: 10px; }
  .cq-sheet { border: 0; background: transparent; padding: 0; }
  .cq-sheet__h { font-size: 31px; }
}
