/* CarTotalos Leads – intake wizard + tracking page (RTL, mobile-first; tokens from ctp.css). */
.ctp-sell, .ctp-track { max-width: 760px; margin-inline: auto; }
.ctp-sell__head h2 { font-size: clamp(1.35rem, 4.5vw, 1.9rem); }
.ctp-sell__form { padding: 18px 16px; }
.ctp-step { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.ctp-step + .ctp-step { border-top: 1px solid var(--ctp-line); padding-top: 18px; }
.ctp-sell.is-js .ctp-step + .ctp-step { border-top: 0; padding-top: 0; }
.ctp-step__title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; padding: 0; }
.ctp-step__title:focus { outline: none; }
.ctp-step__num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ctp-brand); color: var(--ctp-brand-ink); font-size: .95rem; }
.ctp-step__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.ctp-step__nav .ctp-btn { flex: 1 1 0; }
.ctp-step__nav[hidden], .ctp-step[hidden], .ctp-progress[hidden], [data-prev][hidden] { display: none !important; }
.ctp-opt { font-style: normal; font-weight: 400; color: var(--ctp-muted); font-size: .9em; }
.ctp-req { color: var(--ctp-bad); }
.ctp-err { display: block; color: var(--ctp-bad); font-size: .9em; margin-top: 4px; font-weight: 600; }
.ctp [aria-invalid="true"] { border-color: var(--ctp-bad) !important; }
.ctp-cols { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .ctp-cols { grid-template-columns: 1fr 1fr; } .ctp-cols--3 { grid-template-columns: 1fr 1fr 1fr; } }
.ctp-check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; min-height: 44px; cursor: pointer; }
.ctp-check input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--ctp-brand); }
.ctp-check small { display: block; }
.ctp-consents { border-top: 1px solid var(--ctp-line); margin-top: 10px; padding-top: 8px; }
.ctp-linkbtn { background: none; border: 0; padding: 0 4px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ctp-brand); text-decoration: underline; cursor: pointer; font: inherit; }
.ctp-resume { margin-bottom: 14px; }

/* progress */
.ctp-progress { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 14px; padding: 0; counter-reset: none; }
.ctp-progress li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .78rem; color: var(--ctp-muted); text-align: center; position: relative; }
.ctp-progress li::before { content: ""; position: absolute; top: 15px; inset-inline-start: 50%; width: 100%; height: 3px; background: var(--ctp-line); z-index: 0; }
.ctp-progress li:last-child::before { display: none; }
.ctp-progress li.is-done::before { background: var(--ctp-brand); }
.ctp-progress__n { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--ctp-line); font-weight: 700; color: var(--ctp-muted); }
.ctp-progress li.is-current .ctp-progress__n, .ctp-progress li.is-done .ctp-progress__n { border-color: var(--ctp-brand); color: var(--ctp-brand); }
.ctp-progress li.is-done .ctp-progress__n { background: var(--ctp-brand); color: #fff; }
.ctp-progress li.is-current { color: var(--ctp-ink); font-weight: 700; }
@media (max-width: 380px) { .ctp-progress__l { display: none; } }

/* official data box */
.ctp-gov { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -4px 0 14px; padding: 10px 12px; border-radius: 10px; background: #f0f6fd; border: 1px solid #bcd6f3; }
.ctp-gov[hidden] { display: none; }

/* routes */
.ctp-routes { display: grid; gap: 10px; }
.ctp-route { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 12px 14px; border: 1px solid var(--ctp-line); border-radius: var(--ctp-radius); cursor: pointer; background: #fff; }
.ctp-route input { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ctp-brand); }
.ctp-route__t { font-weight: 700; }
.ctp-route__d { color: var(--ctp-muted); font-size: .92em; }
.ctp-route:has(input:checked) { border-color: var(--ctp-brand); background: #e9f2fc; box-shadow: 0 0 0 1px var(--ctp-brand) inset; }

/* thumbs */
.ctp-thumbs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; }
.ctp-thumbs li { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--ctp-surface); font-size: .7rem; display: grid; place-items: center; word-break: break-all; }
.ctp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ctp input[type=file] { width: 100%; min-height: 44px; padding: 8px; border: 1px dashed var(--ctp-control-border); border-radius: 10px; background: var(--ctp-surface); }
.ctp-form-status { min-height: 1.4em; margin: 10px 0 0; font-weight: 600; }

/* tracking */
.ctp-track > * + * { margin-top: 14px; }
.ctp-track__head h2 { margin-bottom: 6px; }
.ctp-track__next { margin: 8px 0 0; }
.ctp-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.ctp-timeline li { position: relative; padding: 0 22px 14px 0; }
.ctp-timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ctp-brand); }
.ctp-timeline li::after { content: ""; position: absolute; inset-inline-start: 4px; top: 18px; bottom: 0; width: 2px; background: var(--ctp-line); }
.ctp-timeline li:last-child::after { display: none; }
.ctp-timeline__l { font-weight: 600; display: block; }
.ctp-recover { max-width: 520px; }
@media (prefers-reduced-motion: reduce) { .ctp-sell * { scroll-behavior: auto !important; } }
