.autoshop-match-modal[hidden]{display:none}
.autoshop-match-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center}
.autoshop-match-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.autoshop-match-modal__panel{position:relative;background:#fff;border-radius:14px;width:92%;max-width:480px;max-height:90vh;overflow:auto;padding:22px;box-shadow:0 16px 50px rgba(0,0,0,.25)}
.autoshop-match-modal__close{border:0;background:none;font-size:18px;cursor:pointer;color:#9ca3af;line-height:1;flex:none;padding:2px}
.autoshop-match-modal__close:hover{color:#374151}
/* Header do modal (marca + BETA) */
.autoshop-match-modal__header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #eef0f3}
.autoshop-match-modal__brand{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#4f46e5}
.autoshop-match-modal__brand i{font-size:15px}
.autoshop-match-modal__beta{font-size:9px;font-weight:800;color:#fff;background:#6366f1;padding:2px 6px;border-radius:6px;letter-spacing:.08em}
/* Hero (robô + título + subtítulo) — persistente em todos os passos */
.autoshop-match-hero{text-align:center;margin-bottom:16px}
.autoshop-match-hero__bot{display:inline-flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#6366f1);color:#fff;font-size:33px;box-shadow:0 8px 20px rgba(79,70,229,.35)}
.autoshop-match-hero__title{margin:12px 0 4px;font-size:19px;font-weight:800;line-height:1.25;color:#0f172a}
.autoshop-match-hero__sub{margin:0;font-size:13px;color:#64748b}
/* Passo X de Y + nome */
.autoshop-match-step{font-size:11px;font-weight:700;letter-spacing:.04em;color:#64748b;margin-bottom:6px}
.autoshop-match-step__no{text-transform:uppercase}
.autoshop-match-step__name{color:#0f172a}
/* Pergunta do passo */
.autoshop-match-q{font-weight:700;font-size:14.5px;color:#0f172a;margin:12px 0 10px}
/* Grid 2 colunas de opções */
.autoshop-match-opts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.autoshop-match-safe{display:flex;align-items:center;justify-content:center;gap:6px;margin:14px 0 0;font-size:12px;color:#94a3b8}
.autoshop-match-progress{height:6px;background:#eef0f3;border-radius:3px;overflow:hidden;margin:8px 0 16px}
.autoshop-match-progress>span{display:block;height:100%;background:#2563eb;transition:width .25s}
.autoshop-match-opt{display:flex;align-items:center;gap:8px;padding:12px 13px;border:1px solid #e5e7eb;border-radius:11px;background:#fff;cursor:pointer;font-size:13.5px;font-weight:600;color:#1f2937;text-align:left;line-height:1.2;transition:border-color .12s,background .12s}
.autoshop-match-opt i{font-size:18px;color:#6366f1;flex:none}
.autoshop-match-opt[aria-pressed="true"],.autoshop-match-opt:hover{border-color:#2563eb;background:#eff6ff}
.autoshop-match-opt[aria-pressed="true"] i{color:#2563eb}
.autoshop-match-actions{display:flex;justify-content:space-between;gap:8px;margin-top:16px}
.autoshop-match-actions button{padding:12px 16px;border-radius:11px;font-size:14px;font-weight:700;cursor:pointer;border:1px solid #e5e7eb;background:#fff;color:#374151}
.autoshop-match-actions button[disabled]{opacity:.5;cursor:default}
.autoshop-match-actions .is-primary{flex:1;border:0;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;box-shadow:0 10px 24px rgba(37,99,235,.28);transition:transform .12s,box-shadow .12s}
.autoshop-match-actions .is-primary:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(37,99,235,.36)}
.autoshop-match-result{text-align:center}
.autoshop-match-result__score{font-size:40px;font-weight:800;color:#111827;line-height:1.1}
.autoshop-match-bar{height:10px;background:#eef0f3;border-radius:5px;overflow:hidden;margin:12px 0}
.autoshop-match-bar>span{display:block;height:100%;background:#10b981}
.autoshop-match-reasons{text-align:left;margin-top:14px;font-size:14px;color:#374151;list-style:none;padding:0}
.autoshop-match-reasons li{margin:4px 0}

/* ===== Tela de ações pós-resultado (Concierge C1) ===== */
.autoshop-match-acts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}
.autoshop-match-act{display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 12px;border:1px solid #e5e7eb;border-radius:11px;background:#fff;color:#1f2937;font-size:13.5px;font-weight:600;line-height:1.2;cursor:pointer;text-decoration:none;transition:border-color .12s,background .12s,transform .12s}
.autoshop-match-act:hover{border-color:#2563eb;background:#f5f8ff;transform:translateY(-1px)}
.autoshop-match-act i{font-size:17px;flex:none}
.autoshop-match-act.is-primary{grid-column:1 / -1;background:#25d366;border-color:#25d366;color:#fff;font-size:15px;padding:13px}
.autoshop-match-act.is-primary:hover{background:#1fbe5a;border-color:#1fbe5a}
.autoshop-match-act.is-faved{border-color:#ef4444;color:#ef4444;background:#fef2f2}

/* ===== Mini-form de captura (Concierge C2) ===== */
.autoshop-match-capture{text-align:left}
.autoshop-match-capture__title{margin:0 0 4px;font-size:17px;font-weight:800;color:#0f172a}
.autoshop-match-capture__sub{margin:0 0 14px;font-size:13.5px;color:#475569;line-height:1.4}
.autoshop-match-capture input[type="text"],.autoshop-match-capture input[type="tel"]{width:100%;padding:11px 13px;border:1px solid #e5e7eb;border-radius:10px;font-size:14px;color:#1f2937;margin-bottom:10px;box-sizing:border-box}
.autoshop-match-capture input[type="text"]:focus,.autoshop-match-capture input[type="tel"]:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.autoshop-match-capture__consent{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:#475569;line-height:1.4;margin-bottom:10px}
.autoshop-match-capture__consent input{margin-top:2px;flex:none}
.autoshop-match-capture__consent a{color:#2563eb;text-decoration:underline}
.autoshop-match-capture__err{margin:0 0 10px;font-size:13px;color:#b91c1c}
.autoshop-match-capture__btns{display:flex;gap:8px}
.autoshop-match-capture__btns button{flex:1;padding:11px 14px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;border:1px solid #e5e7eb;background:#fff;color:#374151}
.autoshop-match-capture__btns .is-primary{flex:2;background:#25d366;border-color:#25d366;color:#fff}
.autoshop-match-capture__btns .is-primary:hover{background:#1fbe5a;border-color:#1fbe5a}

/* ===== Faixa de stats reais (abaixo do card no single) ===== */
.autoshop-match-stats{display:flex;align-items:center;gap:10px;max-width:430px;margin:10px 0 0;padding:12px 14px;border-radius:14px;border:1px solid #eef0f5;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.autoshop-match-stats__item{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.autoshop-match-stats__icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:#eef2ff;color:#4f46e5;font-size:17px;flex:none}
.autoshop-match-stats__num{font-size:15px;font-weight:800;color:#0f172a;line-height:1.1}
.autoshop-match-stats__label{font-size:11px;color:#64748b;line-height:1.2}
.autoshop-match-stats__sep{width:1px;align-self:stretch;background:#eef0f5;flex:none}

/* ===== Recomendações de veículos (Concierge C3) ===== */
.autoshop-match-recs{margin-top:18px;text-align:left}
.autoshop-match-recs__title{font-size:13px;font-weight:800;color:#0f172a;margin:0 0 10px}
.autoshop-match-rec{display:flex;align-items:center;gap:11px;padding:9px;border:1px solid #eef0f5;border-radius:12px;text-decoration:none;margin-bottom:8px;transition:border-color .12s,box-shadow .12s}
.autoshop-match-rec:hover{border-color:#2563eb;box-shadow:0 6px 16px rgba(37,99,235,.1)}
.autoshop-match-rec__thumb{width:54px;height:42px;border-radius:8px;background:#eef2ff;background-size:cover;background-position:center;background-repeat:no-repeat;flex:none;display:inline-flex;align-items:center;justify-content:center;color:#94a3b8;font-size:20px}
.autoshop-match-rec__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.autoshop-match-rec__title{font-size:13px;font-weight:700;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.autoshop-match-rec__price{font-size:12.5px;font-weight:700;color:#2563eb}
.autoshop-match-rec__badge{flex:none;font-size:12px;font-weight:800;color:#fff;background:#10b981;border-radius:999px;padding:4px 9px}

/* ===== Card no single (visual "Assistente de Compra IA") ===== */
.autoshop-match-card{margin:18px 0;padding:22px;border-radius:20px;border:1px solid #e5e9f5;background:linear-gradient(160deg,#fbfcff 0%,#eef2ff 55%,#e9efff 100%);box-shadow:0 10px 30px rgba(37,71,235,.08);max-width:430px}
.autoshop-match-card__badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;letter-spacing:.06em;color:#4f46e5;background:#eef2ff;border:1px solid #e0e3f6;padding:5px 10px;border-radius:999px}
.autoshop-match-card__badge i{font-size:13px}
.autoshop-match-card__beta{margin-left:4px;font-size:9px;font-weight:800;color:#fff;background:#6366f1;padding:2px 6px;border-radius:6px;letter-spacing:.08em}
.autoshop-match-card__title{margin:14px 0 6px;font-size:19px;font-weight:800;line-height:1.25;color:#0f172a}
.autoshop-match-card__sub{margin:0;font-size:14px;color:#475569;line-height:1.45}
.autoshop-match-card__hero{display:flex;align-items:center;justify-content:center;gap:14px;margin:18px 0;padding:18px;border-radius:16px;background:linear-gradient(135deg,#eaf0ff,#f3eefe)}
.autoshop-match-card__bot{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#6366f1);color:#fff;font-size:34px;box-shadow:0 8px 20px rgba(79,70,229,.35)}
.autoshop-match-card__clip{position:relative;display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:14px;background:#fff;border:1px solid #e5e9f5;color:#6366f1;font-size:28px;box-shadow:0 6px 16px rgba(15,23,42,.08)}
.autoshop-match-card__ok{position:absolute;right:-7px;bottom:-7px;width:24px;height:24px;border-radius:50%;background:#10b981;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px;border:2px solid #fff}
.autoshop-match-card__list{list-style:none;margin:16px 0;padding:0}
.autoshop-match-card__list li{display:flex;align-items:center;gap:9px;font-size:14px;color:#334155;margin:9px 0}
.autoshop-match-card__list i{color:#4f46e5;font-size:18px;flex:none}
.autoshop-match-card__cta{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:13px 18px;border:0;border-radius:12px;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 10px 24px rgba(37,99,235,.3);transition:transform .12s,box-shadow .12s}
.autoshop-match-card__cta:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(37,99,235,.38)}
.autoshop-match-card__safe{display:flex;align-items:center;justify-content:center;gap:6px;margin:12px 0 0;font-size:12px;color:#94a3b8}
