/* Prodiag – Diagnóstico Inteligente */
.pdd-root {
	--pdd-red: #d71920;
	--pdd-red-d: #b0121a;
	--pdd-red-soft: #fdeceb;
	--pdd-ink: #16181c;
	--pdd-ink-2: #3a3f47;
	--pdd-muted: #6b717b;
	--pdd-line: #e4e6ea;
	--pdd-bg: #f5f6f8;
	--pdd-card: #ffffff;
	--pdd-ok: #12805c;
	--pdd-mid: #b7791f;
	--pdd-high: #d9480f;
	--pdd-crit: #c0141b;
	--pdd-radius: 14px;
	font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	color: var(--pdd-ink);
	font-size: 15px;
	line-height: 1.5;
	max-width: 1180px;
	margin: 0 auto;
	-webkit-font-smoothing: antialiased;
}
.pdd-root *, .pdd-root *::before, .pdd-root *::after { box-sizing: border-box; }
.pdd-root h2, .pdd-root h3, .pdd-root h4, .pdd-root h5, .pdd-root p, .pdd-root ul { margin: 0; padding: 0; }
.pdd-root ul { list-style: none; }
.pdd-root button { font: inherit; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none; }
.pdd-root input, .pdd-root select, .pdd-root textarea { font: inherit; color: var(--pdd-ink); }

.pdd-ico { display: inline-flex; width: 18px; height: 18px; flex: 0 0 auto; }
.pdd-ico svg { width: 100%; height: 100%; }

.pdd-shell { background: var(--pdd-bg); border-radius: 20px; overflow: hidden; border: 1px solid var(--pdd-line); }

/* Cabeçalho */
.pdd-hero {
	position: relative;
	padding: 36px 36px 28px;
	color: #fff;
	background:
		radial-gradient(900px 300px at 100% 0%, rgba(215, 25, 32, .45), transparent 60%),
		linear-gradient(135deg, #111317 0%, #1d2026 55%, #2a1416 100%);
}
.pdd-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
	background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
	background-size: 28px 28px;
}
.pdd-hero-grid { position: relative; z-index: 1; display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.pdd-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffb3b5; }
.pdd-kicker .pdd-ico { color: var(--pdd-red); width: 14px; height: 14px; }
.pdd-root .pdd-title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; font-weight: 800; margin: 8px 0 10px; color: #fff; letter-spacing: -.02em; }
.pdd-sub { max-width: 620px; color: #c9ccd2; font-size: 16px; }
.pdd-usp { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px !important; }
.pdd-usp li { display: flex; align-items: center; gap: 7px; font-size: 14px; color: #e7e8eb; }
.pdd-usp .pdd-ico { color: #fff; background: var(--pdd-red); border-radius: 50%; padding: 3px; width: 18px; height: 18px; }

.pdd-plan-in { min-width: 230px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 12px 16px; backdrop-filter: blur(6px); }
.pdd-plan-in strong { display: block; font-size: 15px; }
.pdd-plan-in span { display: block; font-size: 12.5px; color: #c9ccd2; margin-top: 2px; }
.pdd-plan-in.is-pro { border-color: rgba(215, 25, 32, .7); background: rgba(215, 25, 32, .18); }
.pdd-plan-in.is-pro strong::before { content: "★ "; color: #ffcf5c; }
.pdd-meter { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .15); margin-top: 9px; overflow: hidden; }
.pdd-meter i { display: block; height: 100%; background: var(--pdd-red); border-radius: 3px; transition: width .4s; }

/* Separadores */
.pdd-tabs { display: flex; gap: 4px; padding: 0 28px; background: #fff; border-bottom: 1px solid var(--pdd-line); }
.pdd-root .pdd-tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 14px 11px; color: var(--pdd-muted); font-weight: 600; border-radius: 0; }
.pdd-root .pdd-tab:hover { color: var(--pdd-ink); background: none; }
.pdd-root .pdd-tab.is-active { color: var(--pdd-ink); border-bottom-color: var(--pdd-red); }

.pdd-main { padding: 28px; }

/* Formulário */
.pdd-form { display: grid; gap: 16px; }
.pdd-step { background: var(--pdd-card); border: 1px solid var(--pdd-line); border-radius: var(--pdd-radius); padding: 20px 22px 22px; }
.pdd-step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.pdd-step-h .pdd-ico { color: var(--pdd-red); }
.pdd-root .pdd-step-h h3 { font-size: 17px; font-weight: 700; color: var(--pdd-ink); }
.pdd-step-h em { font-style: normal; font-size: 13px; color: var(--pdd-muted); margin-left: auto; }
.pdd-num { width: 26px; height: 26px; border-radius: 8px; background: var(--pdd-ink); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.pdd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pdd-span2 { grid-column: span 3; }
.pdd-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.pdd-label { font-size: 13px; font-weight: 600; color: var(--pdd-ink-2); }
.pdd-root .pdd-field input, .pdd-root .pdd-step textarea, .pdd-root .pdd-feedback select, .pdd-root .pdd-feedback input {
	width: 100%; border: 1.5px solid var(--pdd-line); background: #fbfbfc; border-radius: 10px; padding: 11px 13px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; min-height: 46px; box-shadow: none;
}
.pdd-root .pdd-field input:focus, .pdd-root .pdd-step textarea:focus, .pdd-root .pdd-feedback select:focus, .pdd-root .pdd-feedback input:focus { border-color: var(--pdd-red); background: #fff; box-shadow: 0 0 0 4px rgba(215, 25, 32, .12); }
.pdd-root .pdd-step textarea { resize: vertical; min-height: 90px; }

.pdd-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.pdd-root .pdd-seg-btn, .pdd-root .pdd-toggle {
	border: 1.5px solid var(--pdd-line); background: #fff; color: var(--pdd-ink-2); border-radius: 999px; padding: 8px 15px; font-size: 14px; font-weight: 500; line-height: 1.2; transition: all .15s;
}
.pdd-root .pdd-seg-btn:hover, .pdd-root .pdd-toggle:hover { border-color: #c4c8cf; background: #fff; color: var(--pdd-ink); }
.pdd-root .pdd-seg-btn.is-on, .pdd-root .pdd-toggle.is-on, .pdd-root .pdd-seg-btn.is-on:hover, .pdd-root .pdd-toggle.is-on:hover { background: var(--pdd-ink); border-color: var(--pdd-ink); color: #fff; }
.pdd-root .pdd-toggle.is-on::before { content: "✓ "; color: #ff8a8e; }

.pdd-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 54px; border: 1.5px dashed #cfd3d9; border-radius: 12px; padding: 8px 10px; background: #fbfbfc; cursor: text; }
.pdd-chips:focus-within { border-color: var(--pdd-red); border-style: solid; background: #fff; }
.pdd-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--pdd-red); color: #fff; font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .04em; padding: 6px 6px 6px 12px; border-radius: 8px; font-size: 14px; }
.pdd-root .pdd-chip button { background: rgba(0, 0, 0, .18); border: 0; color: #fff; width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; padding: 3px; }
.pdd-root .pdd-chip button:hover { background: rgba(0, 0, 0, .35); }
.pdd-root .pdd-code-input { flex: 1; min-width: 160px; border: 0 !important; background: transparent !important; outline: none; font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 15px; text-transform: uppercase; padding: 6px 4px; box-shadow: none !important; }
.pdd-hint { display: block; color: var(--pdd-muted); font-size: 13px; margin-top: 8px; }

.pdd-sint { display: grid; gap: 14px; }
.pdd-sint-t { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pdd-muted); margin-bottom: 8px; }
.pdd-toggles { display: flex; flex-wrap: wrap; gap: 8px; }

.pdd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.pdd-error { background: var(--pdd-red-soft); color: var(--pdd-red-d); border: 1px solid #f6c3c5; padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; }

.pdd-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.pdd-submit small { color: var(--pdd-muted); font-size: 13px; }

/* Botões */
.pdd-root .pdd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 10px; padding: 11px 20px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .1s, background .15s, box-shadow .15s; line-height: 1.2; }
.pdd-root .pdd-btn:active { transform: translateY(1px); }
.pdd-root .pdd-btn-primary { background: var(--pdd-red); color: #fff; box-shadow: 0 6px 18px rgba(215, 25, 32, .28); }
.pdd-root .pdd-btn-primary:hover { background: var(--pdd-red-d); color: #fff; }
.pdd-root .pdd-btn-dark { background: var(--pdd-ink); color: #fff; }
.pdd-root .pdd-btn-dark:hover { background: #000; color: #fff; }
.pdd-root .pdd-btn-ghost { background: #fff; color: var(--pdd-ink); border-color: var(--pdd-line); }
.pdd-root .pdd-btn-ghost:hover { border-color: var(--pdd-ink); background: #fff; color: var(--pdd-ink); }
.pdd-root .pdd-btn-lg { padding: 15px 28px; font-size: 16px; }
.pdd-root .pdd-link { background: none; border: 0; color: var(--pdd-ink-2); text-decoration: underline; font-size: 14px; padding: 6px; display: inline-block; }

/* Carregamento */
.pdd-loading { background: #fff; border: 1px solid var(--pdd-line); border-radius: var(--pdd-radius); padding: 56px 24px; text-align: center; }
.pdd-scan { position: relative; width: 220px; height: 120px; margin: 0 auto 22px; border-radius: 14px; background: #111317; overflow: hidden; border: 1px solid #2b2f36; }
.pdd-scan-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 18px 18px; }
.pdd-scan-grid::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--pdd-red), transparent); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); animation: pdd-wave 1.6s ease-in-out infinite; }
.pdd-scan-line { position: absolute; top: 0; bottom: 0; width: 60px; background: linear-gradient(90deg, transparent, rgba(215, 25, 32, .55), transparent); animation: pdd-sweep 1.6s linear infinite; z-index: 1; }
.pdd-load-t { font-weight: 600; color: var(--pdd-ink-2); min-height: 24px; }
@keyframes pdd-sweep { from { left: -60px; } to { left: 220px; } }
@keyframes pdd-wave { 0%, 100% { transform: scaleY(1) translateY(-14px); } 50% { transform: translateY(14px); } }

/* Resultado */
.pdd-result { display: grid; gap: 18px; }
.pdd-res-head { background: #fff; border: 1px solid var(--pdd-line); border-radius: var(--pdd-radius); padding: 22px 24px; display: grid; gap: 12px; }
.pdd-res-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pdd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; }
.pdd-badge .pdd-ico { width: 15px; height: 15px; }
.pdd-g-ok { background: var(--pdd-ok); } .pdd-g-mid { background: var(--pdd-mid); } .pdd-g-high { background: var(--pdd-high); } .pdd-g-crit { background: var(--pdd-crit); }
.pdd-g-ok-soft { background: #e7f5ef; } .pdd-g-mid-soft { background: #fdf4e3; } .pdd-g-high-soft { background: #fdeee6; } .pdd-g-crit-soft { background: var(--pdd-red-soft); }
.pdd-src { font-size: 13px; font-weight: 600; color: var(--pdd-ink-2); background: var(--pdd-bg); padding: 6px 12px; border-radius: 999px; }
.pdd-ref { font-size: 12px; color: var(--pdd-muted); margin-left: auto; }
.pdd-veh { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.pdd-veh .pdd-ico { color: var(--pdd-red); width: 22px; height: 22px; }
.pdd-resumo { font-size: 16px; color: var(--pdd-ink-2); }
.pdd-circ { padding: 10px 14px; border-radius: 10px; font-size: 14.5px; }

.pdd-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.pdd-code { background: #fff; border: 1px solid var(--pdd-line); border-left: 4px solid var(--pdd-red); border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; }
.pdd-code b { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 15px; letter-spacing: .04em; }
.pdd-code span { font-size: 14px; color: var(--pdd-ink-2); }

.pdd-res-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.pdd-res-grid > div, .pdd-res-grid > aside { display: grid; gap: 14px; }
.pdd-root .pdd-sec-t { font-size: 18px; font-weight: 800; margin-top: 4px; color: var(--pdd-ink); }

.pdd-causas { display: grid; gap: 10px; }
.pdd-causa { background: #fff; border: 1px solid var(--pdd-line); border-radius: var(--pdd-radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.pdd-causa.is-open { border-color: #d3d6db; box-shadow: 0 10px 30px rgba(17, 19, 23, .07); }
.pdd-root .pdd-causa-h { width: 100%; display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; text-align: left; background: #fff; border: 0; padding: 16px 18px; color: var(--pdd-ink); border-radius: 0; }
.pdd-root .pdd-causa-h:hover { background: #fcfcfd; color: var(--pdd-ink); }
.pdd-rank { width: 34px; height: 34px; border-radius: 10px; background: var(--pdd-bg); color: var(--pdd-ink); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.pdd-causa:first-child .pdd-rank { background: var(--pdd-red); color: #fff; }
.pdd-causa-t strong { display: block; font-size: 16px; line-height: 1.3; }
.pdd-causa-m { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--pdd-muted); margin-top: 3px; }
.pdd-dif { font-weight: 600; }
.pdd-dif-facil { color: var(--pdd-ok); } .pdd-dif-media { color: var(--pdd-mid); } .pdd-dif-dificil { color: var(--pdd-high); }
.pdd-prob { display: grid; justify-items: end; gap: 5px; min-width: 90px; }
.pdd-prob b { font-size: 20px; font-weight: 800; line-height: 1; }
.pdd-prob-bar { width: 90px; height: 6px; background: var(--pdd-bg); border-radius: 3px; overflow: hidden; display: block; }
.pdd-prob-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff5a5f, var(--pdd-red)); border-radius: 3px; }
.pdd-chev { color: var(--pdd-muted); transition: transform .2s; }
.pdd-causa.is-open .pdd-chev { transform: rotate(180deg); }
.pdd-causa-b { display: none; padding: 0 18px 18px 66px; gap: 14px; }
.pdd-causa.is-open .pdd-causa-b { display: grid; }
.pdd-porque { color: var(--pdd-ink-2); font-size: 14.5px; }
.pdd-root .pdd-causa-b h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pdd-muted); margin-bottom: 8px; }

.pdd-check { display: grid; gap: 8px; }
.pdd-check li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.pdd-root .pdd-cbox { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #c4c8cf; background: #fff; color: transparent; padding: 3px; display: inline-flex; margin-top: 1px; }
.pdd-root .pdd-cbox:hover { border-color: var(--pdd-ink); background: #fff; }
.pdd-check li.is-done .pdd-cbox { background: var(--pdd-ok); border-color: var(--pdd-ok); color: #fff; }
.pdd-check li.is-done span { color: var(--pdd-muted); text-decoration: line-through; }

.pdd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pdd-tag { background: var(--pdd-bg); border: 1px solid var(--pdd-line); border-radius: 8px; padding: 4px 10px; font-size: 13.5px; }

.pdd-block { background: #fff; border: 1px solid var(--pdd-line); border-radius: var(--pdd-radius); padding: 18px 20px; }
.pdd-root .pdd-block h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--pdd-ink); }
.pdd-block h4 .pdd-ico { color: var(--pdd-red); }
.pdd-list { display: grid; gap: 8px; }
.pdd-list li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--pdd-ink-2); }
.pdd-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--pdd-red); }
.pdd-block-warn { background: #fff8f0; border-color: #f5d8b8; }
.pdd-block-warn h4 .pdd-ico { color: var(--pdd-high); }
.pdd-block-cta { border-color: #2a2d33; }
.pdd-upsell { margin-top: 14px; padding: 14px; border-radius: 10px; background: linear-gradient(135deg, #16181c, #2a1416); color: #e7e8eb; display: grid; gap: 10px; }
.pdd-upsell p { font-size: 13.5px; }
.pdd-root .pdd-upsell .pdd-btn-dark { background: var(--pdd-red); justify-self: start; padding: 9px 16px; font-size: 14px; }
.pdd-root .pdd-upsell .pdd-btn-dark:hover { background: var(--pdd-red-d); }

.pdd-feedback { background: #fff; border: 1px solid var(--pdd-line); border-radius: var(--pdd-radius); padding: 18px 20px; display: grid; grid-template-columns: 1fr minmax(0, 1.3fr); gap: 16px; align-items: center; }
.pdd-root .pdd-feedback h4 { font-size: 16px; font-weight: 700; color: var(--pdd-ink); }
.pdd-feedback p { font-size: 14px; color: var(--pdd-muted); }
.pdd-fb-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pdd-fb-row select, .pdd-fb-row input { flex: 1 1 200px; }
.pdd-thanks { display: flex; align-items: center; gap: 8px; color: var(--pdd-ok); font-weight: 600; grid-column: 1 / -1; }

.pdd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pdd-disc { font-size: 12.5px; color: var(--pdd-muted); }

.pdd-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: linear-gradient(135deg, #16181c, #2a1416); color: #fff; border-radius: var(--pdd-radius); padding: 16px 20px; margin-top: 18px; }
.pdd-form .pdd-banner { margin-top: 0; }
.pdd-banner span { color: #c9ccd2; }

/* Paywall */
.pdd-paywall { background: #fff; border: 1px solid var(--pdd-line); border-radius: var(--pdd-radius); padding: 40px 28px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.pdd-lock { width: 48px; height: 48px; color: #fff; background: var(--pdd-red); border-radius: 14px; padding: 11px; }
.pdd-root .pdd-paywall h3 { font-size: 24px; font-weight: 800; color: var(--pdd-ink); }
.pdd-paywall > p { color: var(--pdd-muted); max-width: 520px; }
.pdd-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; width: 100%; margin-top: 12px; text-align: left; }
.pdd-offer { border: 1.5px solid var(--pdd-line); border-radius: var(--pdd-radius); padding: 22px; display: grid; gap: 12px; align-content: start; position: relative; }
.pdd-offer.is-featured { border-color: var(--pdd-red); box-shadow: 0 14px 34px rgba(215, 25, 32, .14); }
.pdd-offer-k { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pdd-red); }
.pdd-root .pdd-offer h4 { font-size: 19px; font-weight: 800; color: var(--pdd-ink); }
.pdd-offer ul { display: grid; gap: 7px; }
.pdd-offer li { font-size: 14px; padding-left: 22px; position: relative; color: var(--pdd-ink-2); }
.pdd-offer li::before { content: "✓"; position: absolute; left: 0; color: var(--pdd-red); font-weight: 800; }
.pdd-offer .pdd-btn { margin-top: 4px; }

/* Histórico */
.pdd-history { display: grid; gap: 10px; }
.pdd-root .pdd-hist { display: grid; grid-template-columns: 120px 1fr; gap: 2px 16px; text-align: left; background: #fff; border: 1px solid var(--pdd-line); border-radius: 12px; padding: 14px 18px; color: var(--pdd-ink); }
.pdd-root .pdd-hist:hover { border-color: var(--pdd-ink); background: #fff; color: var(--pdd-ink); }
.pdd-hist-d { grid-row: span 3; font-size: 13px; color: var(--pdd-muted); }
.pdd-hist-c { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 13px; color: var(--pdd-red); }
.pdd-hist-t { font-size: 14px; color: var(--pdd-ink-2); }
.pdd-hist-ok { grid-column: 2; font-size: 13px; color: var(--pdd-ok); }
.pdd-muted { color: var(--pdd-muted); }

/* Responsivo */
@media (max-width: 920px) {
	.pdd-res-grid { grid-template-columns: 1fr; }
	.pdd-feedback { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.pdd-hero { padding: 26px 20px 22px; }
	.pdd-main { padding: 16px; }
	.pdd-tabs { padding: 0 12px; }
	.pdd-grid { grid-template-columns: 1fr 1fr; }
	.pdd-span2 { grid-column: span 2; }
	.pdd-step { padding: 16px; }
	.pdd-step-h em { margin-left: 0; width: 100%; }
	.pdd-root .pdd-causa-h { grid-template-columns: auto 1fr auto; padding: 14px; gap: 10px; }
	.pdd-chev { display: none; }
	.pdd-prob { min-width: 60px; }
	.pdd-prob-bar { width: 60px; }
	.pdd-causa-b { padding: 0 14px 16px; }
	.pdd-root .pdd-hist { grid-template-columns: 1fr; }
	.pdd-hist-d { grid-row: auto; }
	.pdd-hist-ok { grid-column: 1; }
	.pdd-plan-in { width: 100%; }
}

/* Impressão / PDF */
@media print {
	body * { visibility: hidden; }
	.pdd-root, .pdd-root * { visibility: visible; }
	.pdd-root { position: absolute; left: 0; top: 0; width: 100%; }
	.pdd-tabs, .pdd-noprint, .pdd-usp, .pdd-plan, .pdd-upsell .pdd-btn { display: none !important; }
	.pdd-shell { border: 0; background: #fff; }
	.pdd-hero { padding: 16px 0; background: #fff !important; color: #000; }
	.pdd-hero::after { display: none; }
	.pdd-root .pdd-title { color: #000; font-size: 22px; }
	.pdd-sub { display: none; }
	.pdd-main { padding: 0; }
	.pdd-res-grid { grid-template-columns: 1fr; }
	.pdd-causa-b { display: grid !important; }
	.pdd-causa, .pdd-block { break-inside: avoid; box-shadow: none !important; }
	.pdd-badge, .pdd-chip, .pdd-rank, .pdd-prob-bar i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Preço nos cartões de oferta */
.pdd-price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.pdd-price b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--pdd-ink); line-height: 1; }
.pdd-price span { font-size: 15px; font-weight: 600; color: var(--pdd-ink-2); }
.pdd-price small { width: 100%; font-size: 12.5px; color: var(--pdd-muted); }

/* ---- v1.1: códigos populares, ligações, confirmados, WhatsApp ---- */
.pdd-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--pdd-muted); }
.pdd-root .pdd-pop-c { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 12.5px; font-weight: 700; background: var(--pdd-bg); border: 1px solid var(--pdd-line); color: var(--pdd-ink-2); border-radius: 6px; padding: 3px 8px; }
.pdd-root .pdd-pop-c:hover { border-color: var(--pdd-red); color: var(--pdd-red); background: #fff; }
.pdd-root .pdd-code-link { font-size: 13px; font-weight: 600; color: var(--pdd-red); text-decoration: none; margin-top: 4px; }
.pdd-root .pdd-code-link:hover { text-decoration: underline; }
.pdd-small { font-size: 13px; margin-bottom: 10px !important; }
.pdd-block-ok { border-color: #bfe3d3; background: #f4fbf8; }
.pdd-block-ok h4 .pdd-ico, .pdd-block-ok h2 { color: var(--pdd-ok); }
.pdd-conf { display: grid; gap: 8px; }
.pdd-conf li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; font-size: 14px; }
.pdd-conf b { color: var(--pdd-ok); font-size: 13px; white-space: nowrap; }
.pdd-conf small { grid-column: 1 / -1; color: var(--pdd-muted); font-size: 12px; }
.pdd-root .pdd-btn-wa { background: #25d366; color: #0b3d1f; }
.pdd-root .pdd-btn-wa:hover { background: #1fb956; color: #0b3d1f; }

/* ---- Pergunte ao técnico IA ---- */
.pdd-chat { background: #fff; border: 1.5px solid var(--pdd-ink); border-radius: var(--pdd-radius); padding: 18px 20px; display: grid; gap: 14px; margin-top: 4px; }
.pdd-chat-h { display: flex; gap: 12px; align-items: flex-start; }
.pdd-chat-h > .pdd-ico { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--pdd-ink); color: #fff; flex: 0 0 38px; }
.pdd-root .pdd-chat-h h4 { font-size: 16px; font-weight: 800; color: var(--pdd-ink); }
.pdd-chat-h p { font-size: 14px; color: var(--pdd-muted); }
.pdd-chat-log { display: grid; gap: 10px; }
.pdd-chat-log:empty { display: none; }
.pdd-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; }
.pdd-msg p + p { margin-top: 6px; }
.pdd-msg .pdd-list { margin: 6px 0; }
.pdd-msg-q { justify-self: end; background: var(--pdd-ink); color: #fff; border-bottom-right-radius: 4px; }
.pdd-msg-a { justify-self: start; background: var(--pdd-bg); border: 1px solid var(--pdd-line); border-bottom-left-radius: 4px; }
.pdd-msg-who { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pdd-red); margin-bottom: 4px; }
.pdd-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.pdd-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--pdd-muted); animation: pdd-blink 1.2s infinite; }
.pdd-dots i:nth-child(2) { animation-delay: .2s; } .pdd-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes pdd-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.pdd-chat-f { display: grid; gap: 8px; }
.pdd-root .pdd-chat-f textarea { width: 100%; border: 1.5px solid var(--pdd-line); background: #fbfbfc; border-radius: 10px; padding: 11px 13px; font-size: 15px; resize: vertical; min-height: 64px; outline: none; box-shadow: none; }
.pdd-root .pdd-chat-f textarea:focus { border-color: var(--pdd-red); background: #fff; box-shadow: 0 0 0 4px rgba(215, 25, 32, .12); }
.pdd-chat-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pdd-root .pdd-chat-f .pdd-btn:disabled { opacity: .5; cursor: not-allowed; }
.pdd-chat.is-locked { border-style: dashed; border-color: #c4c8cf; }
.pdd-chat.is-locked .pdd-chat-h > .pdd-ico { background: var(--pdd-red); }
.pdd-chat-demo { position: relative; display: grid; gap: 8px; max-height: 150px; overflow: hidden; filter: blur(.4px); user-select: none; }
.pdd-chat-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, #fff); }
.pdd-chat-cta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pdd-chat-cta span { font-weight: 700; font-size: 14px; }

/* ---- Páginas SEO dos códigos ---- */
.pdd-seo-wrap { padding: 32px 16px 48px; }
.pdd-seo { display: grid; gap: 18px; }
.pdd-root.pdd-seo h1, .pdd-root.pdd-seo h2, .pdd-root.pdd-seo h3, .pdd-root.pdd-seo h4 { color: var(--pdd-ink); margin: 0; font-family: inherit; }
.pdd-crumbs { font-size: 13px; color: var(--pdd-muted); }
.pdd-crumbs a { color: var(--pdd-ink-2); text-decoration: none; }
.pdd-crumbs a:hover { color: var(--pdd-red); }
.pdd-seo-hero { position: relative; overflow: hidden; border-radius: 20px; padding: 32px; color: #fff; background: radial-gradient(800px 260px at 100% 0%, rgba(215, 25, 32, .45), transparent 60%), linear-gradient(135deg, #111317 0%, #1d2026 55%, #2a1416 100%); display: grid; gap: 12px; }
.pdd-root.pdd-seo .pdd-seo-hero h1 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.pdd-seo-code { justify-self: start; font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-weight: 800; font-size: 15px; letter-spacing: .06em; background: var(--pdd-red); padding: 5px 12px; border-radius: 8px; }
.pdd-seo-lead { color: #d3d5da; font-size: 16.5px; max-width: 780px; }
.pdd-seo-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pdd-seo-hero .pdd-src { background: rgba(255, 255, 255, .1); color: #e7e8eb; }
.pdd-seo-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: #fff; border: 1.5px solid var(--pdd-red); border-radius: var(--pdd-radius); padding: 18px 22px; box-shadow: 0 10px 30px rgba(215, 25, 32, .08); }
.pdd-seo-cta strong { font-size: 17px; display: block; margin-bottom: 3px; }
.pdd-seo-cta p { color: var(--pdd-muted); font-size: 14.5px; max-width: 720px; }
.pdd-seo-cta.is-big { background: linear-gradient(135deg, #16181c, #2a1416); border-color: transparent; color: #fff; padding: 26px; }
.pdd-seo-cta.is-big p { color: #c9ccd2; }
.pdd-root.pdd-seo .pdd-block h2 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.pdd-seo .pdd-block > p { font-size: 14.5px; color: var(--pdd-ink-2); }
.pdd-seo-causas { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: none; }
.pdd-seo-causa { border: 1px solid var(--pdd-line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; }
.pdd-seo-causa-h { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.pdd-root.pdd-seo .pdd-seo-causa h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.pdd-seo-causa:first-child .pdd-rank { background: var(--pdd-red); color: #fff; }
.pdd-root.pdd-seo .pdd-seo-causa h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pdd-muted); }
.pdd-seo-note { font-size: 13px; margin-top: 12px !important; }
.pdd-seo-note a { color: var(--pdd-red); }
.pdd-seo-faq details { border-top: 1px solid var(--pdd-line); padding: 12px 0; }
.pdd-seo-faq summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.pdd-seo-faq details p { margin-top: 8px; color: var(--pdd-ink-2); font-size: 14.5px; }
.pdd-seo-rel { display: grid; gap: 6px; }
.pdd-seo-rel a { display: block; font-size: 14px; color: var(--pdd-ink-2); text-decoration: none; padding: 6px 8px; border-radius: 8px; }
.pdd-seo-rel a:hover { background: var(--pdd-bg); color: var(--pdd-ink); }
.pdd-seo-rel b { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; color: var(--pdd-red); margin-right: 6px; }
.pdd-seo-search input { width: 100%; border: 1.5px solid var(--pdd-line); border-radius: 12px; padding: 14px 16px; font-size: 16px; outline: none; background: #fff; }
.pdd-seo-search input:focus { border-color: var(--pdd-red); box-shadow: 0 0 0 4px rgba(215, 25, 32, .12); }
.pdd-root.pdd-seo .pdd-seo-group h2 { font-size: 18px; font-weight: 800; margin: 8px 0 10px; }
.pdd-seo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.pdd-seo-grid a { display: grid; gap: 2px; background: #fff; border: 1px solid var(--pdd-line); border-left: 4px solid var(--pdd-red); border-radius: 10px; padding: 12px 14px; text-decoration: none; color: var(--pdd-ink); transition: box-shadow .15s, transform .15s; height: 100%; }
.pdd-seo-grid a:hover { box-shadow: 0 8px 22px rgba(17, 19, 23, .08); transform: translateY(-1px); }
.pdd-seo-grid b { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 15px; }
.pdd-seo-grid span { font-size: 14px; color: var(--pdd-ink-2); }
@media (max-width: 680px) {
	.pdd-seo-hero { padding: 24px 20px; }
	.pdd-msg { max-width: 100%; }
}
@media print { .pdd-chat-f, .pdd-btn-wa { display: none !important; } }

/* ---- v1.2: base de veículos ---- */
.pdd-slot { display: flex; }
.pdd-slot > * { flex: 1; min-width: 0; }
.pdd-root .pdd-slot select, .pdd-root .pdd-alt input {
	width: 100%; border: 1.5px solid var(--pdd-line); background: #fbfbfc; border-radius: 10px; padding: 11px 13px; font-size: 15px; outline: none; min-height: 46px; box-shadow: none; color: var(--pdd-ink);
}
.pdd-root .pdd-slot select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b717b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.pdd-root .pdd-slot select:focus, .pdd-root .pdd-alt input:focus { border-color: var(--pdd-red); background-color: #fff; box-shadow: 0 0 0 4px rgba(215, 25, 32, .12); }
.pdd-alt { display: flex; gap: 6px; }
.pdd-alt input { flex: 1; }
.pdd-root .pdd-alt-back { border: 1.5px solid var(--pdd-line); background: #fff; color: var(--pdd-ink-2); border-radius: 10px; padding: 0 10px; font-size: 13px; white-space: nowrap; }
.pdd-root .pdd-alt-back:hover { border-color: var(--pdd-ink); background: #fff; color: var(--pdd-ink); }
.pdd-motor-note { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--pdd-high); line-height: 1.35; margin-top: 2px; }
.pdd-motor-note .pdd-ico { width: 15px; height: 15px; margin-top: 1px; }
.pdd-block-motor { background: #fff8f0; border-color: #f5d8b8; }
.pdd-block-motor h4 .pdd-ico { color: var(--pdd-high); }
.pdd-col2 { grid-column: span 2; }

/* ---- v1.3: Plano MAX ---- */
.pdd-root { --pdd-gold: #c9a227; --pdd-gold-d: #a8851a; --pdd-gold-soft: #fbf6e6; }
.pdd-max-tag { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: #3d2f00; background: linear-gradient(135deg, #f3d77a, var(--pdd-gold)); border-radius: 5px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; line-height: 1.3; }
.pdd-max-tag.is-light { margin-left: 4px; }
.pdd-root .pdd-btn-max { background: linear-gradient(135deg, #1b1d22, #3a2f12); color: #f3d77a; border-color: #5a4714; }
.pdd-root .pdd-btn-max:hover { background: linear-gradient(135deg, #000, #4a3c14); color: #ffe38f; }
.pdd-root .pdd-btn-max:disabled { opacity: .6; cursor: wait; }
.pdd-root .pdd-btn-sm { padding: 7px 12px; font-size: 13.5px; }
.pdd-root .pdd-btn-sm .pdd-ico { width: 16px; height: 16px; }
.pdd-plan-in.is-max { border-color: rgba(243, 215, 122, .7); background: linear-gradient(135deg, rgba(201, 162, 39, .25), rgba(201, 162, 39, .08)); }
.pdd-plan-in.is-max strong::before { content: "◆ "; color: #f3d77a; }

.pdd-maxlock { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: linear-gradient(135deg, #16181c, #2c2410); color: #e9e2cc; border: 1px solid #4a3c14; border-radius: var(--pdd-radius); padding: 16px 18px; margin-top: 18px; }
.pdd-maxlock > div { flex: 1 1 260px; }
.pdd-maxlock strong { color: #fff; font-size: 15.5px; }
.pdd-maxlock p { font-size: 13.5px; color: #cfc7ad; margin-top: 2px !important; }
.pdd-maxlock-i { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #f3d77a, var(--pdd-gold)); color: #3d2f00; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; }
.pdd-maxlock-i .pdd-ico { width: 20px; height: 20px; }
.pdd-root .pdd-maxlock .pdd-btn-max { background: linear-gradient(135deg, #f3d77a, var(--pdd-gold)); color: #2b2100; border-color: transparent; }
.pdd-maxlock.is-compact { margin-top: 0; }
.pdd-step-locked { background: #fcfcfd; }

.pdd-root .pdd-inline-link { background: none; border: 0; padding: 0; color: var(--pdd-red); font-weight: 600; text-decoration: underline; font-size: inherit; cursor: pointer; }
.pdd-small-l { font-weight: 400; font-size: 12px; }
.pdd-root .pdd-plate-input { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pdd-plate-note { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 12.5px; color: var(--pdd-ok); line-height: 1.35; }
.pdd-plate-note .pdd-ico { width: 14px; height: 14px; }
.pdd-rep { color: var(--pdd-high); font-weight: 600; }
.pdd-plate { display: inline-flex; align-items: center; gap: 7px; border: 2px solid #16181c; border-radius: 6px; overflow: hidden; font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-weight: 800; letter-spacing: .06em; background: #fff; font-size: 15px; line-height: 1; padding-right: 8px; }
.pdd-plate i { font-style: normal; background: #1f4bb8; color: #fff; padding: 7px 5px 4px; font-size: 10px; align-self: stretch; display: flex; align-items: flex-end; }

.pdd-hint-top { margin: -6px 0 12px !important; display: block; }
.pdd-file { display: none !important; }
.pdd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdd-thumb { position: relative; width: 120px; height: 90px; border-radius: 10px; overflow: hidden; border: 1px solid var(--pdd-line); }
.pdd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdd-root .pdd-thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 6px; border: 0; background: rgba(0, 0, 0, .65); color: #fff; padding: 4px; display: inline-flex; }
.pdd-root .pdd-add-photo { width: 120px; height: 90px; border: 1.5px dashed #c4c8cf; border-radius: 10px; background: #fbfbfc; color: var(--pdd-ink-2); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 600; }
.pdd-root .pdd-add-photo:hover { border-color: var(--pdd-red); color: var(--pdd-red); background: #fff; }
.pdd-add-photo .pdd-ico { width: 24px; height: 24px; }

.pdd-src-max { display: inline-flex; align-items: center; gap: 5px; background: var(--pdd-gold-soft); color: #6b5410; }
.pdd-src-max .pdd-ico { width: 14px; height: 14px; }
.pdd-block-photo { border-color: #e6d699; background: var(--pdd-gold-soft); }
.pdd-block-photo h4 .pdd-ico { color: var(--pdd-gold-d); }

.pdd-chat-btns { display: flex; gap: 8px; }
.pdd-chat-foto { display: inline-flex; position: relative; }
.pdd-chat-foto:empty { display: none; }
.pdd-chat-foto img { height: 64px; border-radius: 8px; border: 1px solid var(--pdd-line); }
.pdd-root .pdd-chat-foto button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--pdd-ink); color: #fff; padding: 4px; display: inline-flex; }
.pdd-msg-img { display: block; max-width: 220px; max-height: 160px; border-radius: 8px; margin-top: 8px; }

.pdd-offer.is-max { border-color: var(--pdd-gold); background: linear-gradient(180deg, #fffdf6, #fff); box-shadow: 0 14px 34px rgba(201, 162, 39, .18); }
.pdd-offer.is-max .pdd-offer-k { color: var(--pdd-gold-d); display: inline-flex; gap: 5px; align-items: center; }
.pdd-offer.is-max .pdd-offer-k .pdd-ico { width: 14px; height: 14px; }
.pdd-offer.is-max li::before { color: var(--pdd-gold-d); }
.pdd-offers-1 { max-width: 380px; }
.pdd-offers-2 { max-width: 760px; }
.pdd-lock-max { background: linear-gradient(135deg, #f3d77a, var(--pdd-gold)) !important; color: #3d2f00 !important; display: inline-flex; }

/* Relatório */
.pdd-report, .pdd-vehicles, .pdd-ficha { display: grid; gap: 16px; }
.pdd-rep-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.pdd-root .pdd-rep-head h3 { font-size: 21px; font-weight: 800; color: var(--pdd-ink); margin-top: 4px; }
.pdd-rep-head .pdd-max-tag { margin-left: 0; }
.pdd-rep-of summary { cursor: pointer; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; list-style: none; }
.pdd-rep-of summary::-webkit-details-marker { display: none; }
.pdd-rep-of summary .pdd-ico { color: var(--pdd-red); }
.pdd-rep-of[open] summary { margin-bottom: 14px; }
.pdd-grid-2 { grid-template-columns: 1fr 1fr; }
.pdd-root .pdd-report .pdd-field input, .pdd-root .pdd-report textarea, .pdd-root .pdd-report .pdd-slot select, .pdd-root .pdd-report .pdd-orc input {
	width: 100%; border: 1.5px solid var(--pdd-line); background: #fbfbfc; border-radius: 10px; padding: 10px 12px; font-size: 14.5px; outline: none; box-shadow: none; color: var(--pdd-ink);
}
.pdd-root .pdd-report textarea { resize: vertical; }
.pdd-report .pdd-field { margin-top: 10px; }
.pdd-logo-row { display: flex; gap: 10px; align-items: center; }
.pdd-logo-prev { width: 120px; height: 46px; border: 1px dashed #c4c8cf; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--pdd-muted); overflow: hidden; background: #fff; }
.pdd-logo-prev img { max-width: 100%; max-height: 100%; }
.pdd-ai-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.pdd-table-wrap { overflow-x: auto; }
.pdd-orc { width: 100%; border-collapse: collapse; min-width: 560px; }
.pdd-orc th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--pdd-muted); text-align: left; padding: 6px; }
.pdd-orc td { padding: 4px 6px; border-top: 1px solid var(--pdd-line); }
.pdd-orc td:nth-child(2) { width: 80px; } .pdd-orc td:nth-child(3) { width: 150px; } .pdd-orc td:nth-child(4) { width: 110px; } .pdd-orc td:nth-child(5) { width: 40px; }
.pdd-num-c { text-align: right; font-weight: 600; white-space: nowrap; }
.pdd-root .pdd-icon-btn { width: 30px; height: 30px; border: 0; background: none; color: var(--pdd-muted); padding: 6px; border-radius: 8px; display: inline-flex; }
.pdd-root .pdd-icon-btn:hover { background: var(--pdd-red-soft); color: var(--pdd-red); }
.pdd-orc-foot { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin-top: 12px; align-items: start; }
.pdd-totals { background: var(--pdd-bg); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; font-size: 14px; }
.pdd-totals div { display: flex; justify-content: space-between; gap: 10px; }
.pdd-totals .is-total { border-top: 2px solid var(--pdd-ink); padding-top: 8px; margin-top: 4px; font-size: 18px; }

/* Veículos e ficha */
.pdd-root .pdd-veh-search { border: 1.5px solid var(--pdd-line); border-radius: 10px; padding: 10px 14px; font-size: 15px; min-width: 260px; outline: none; }
.pdd-veh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.pdd-root .pdd-veh-card { display: grid; gap: 6px; justify-items: start; text-align: left; background: #fff; border: 1px solid var(--pdd-line); border-radius: 14px; padding: 16px; color: var(--pdd-ink); transition: box-shadow .15s, transform .15s; }
.pdd-root .pdd-veh-card:hover { box-shadow: 0 10px 26px rgba(17, 19, 23, .08); transform: translateY(-1px); background: #fff; color: var(--pdd-ink); }
.pdd-veh-card strong { font-size: 16px; }
.pdd-veh-card .pdd-muted { font-size: 13px; }
.pdd-veh-stats { font-size: 12.5px; color: var(--pdd-ink-2); }
.pdd-timeline { display: grid; gap: 0; position: relative; padding-left: 22px; }
.pdd-timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--pdd-line); }
.pdd-tl-item { position: relative; padding-bottom: 14px; }
.pdd-tl-dot { position: absolute; left: -21px; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #c4c8cf; }
.pdd-tl-item.is-ok .pdd-tl-dot { border-color: var(--pdd-ok); }
.pdd-tl-body { background: #fff; border: 1px solid var(--pdd-line); border-radius: 12px; padding: 12px 16px; display: grid; gap: 4px; font-size: 14px; }
.pdd-tl-h { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.pdd-tl-ok { color: var(--pdd-ok); font-weight: 600; }

@media (max-width: 680px) {
	.pdd-grid-2, .pdd-orc-foot { grid-template-columns: 1fr; }
	.pdd-root .pdd-veh-search { min-width: 0; width: 100%; }
	.pdd-thumb, .pdd-root .pdd-add-photo { width: 100px; height: 76px; }
}
.pdd-tl-body .pdd-inline-link { justify-self: start; }
/* ---- v1.3.2: telemóvel ---- */
@media (max-width: 680px) {
	#pdd-app.pdd-root .pdd-grid { grid-template-columns: 1fr; gap: 12px; }
	#pdd-app.pdd-root .pdd-grid > .pdd-col2, #pdd-app.pdd-root .pdd-grid > .pdd-span2 { grid-column: auto; }
	#pdd-app.pdd-root .pdd-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 6px; gap: 0; }
	#pdd-app.pdd-root .pdd-tabs::-webkit-scrollbar { display: none; }
	#pdd-app.pdd-root .pdd-tab { flex: 0 0 auto; white-space: nowrap; padding: 13px 10px 10px; font-size: 14px; }
	#pdd-app.pdd-root .pdd-hero { padding: 20px 18px 18px; }
	#pdd-app.pdd-root .pdd-title { font-size: 26px; margin: 6px 0 8px; }
	#pdd-app.pdd-root .pdd-sub { font-size: 14.5px; }
	#pdd-app.pdd-root .pdd-hero-grid { gap: 14px; }
	#pdd-app.pdd-root .pdd-usp { gap: 6px 14px; margin-top: 14px !important; }
	#pdd-app.pdd-root .pdd-usp li { font-size: 13px; }
	#pdd-app.pdd-root .pdd-plan-in { min-width: 0; width: 100%; }
	#pdd-app.pdd-root .pdd-main { padding: 12px; }
	#pdd-app.pdd-root .pdd-step { padding: 16px 14px; }
	#pdd-app.pdd-root .pdd-step-h { margin-bottom: 12px; }
	#pdd-app.pdd-root .pdd-step-h em { margin-left: 0; width: 100%; font-size: 12.5px; }
	#pdd-app.pdd-root .pdd-submit .pdd-btn-lg { width: 100%; }
	#pdd-app.pdd-root .pdd-res-head, #pdd-app.pdd-root .pdd-block, #pdd-app.pdd-root .pdd-chat, #pdd-app.pdd-root .pdd-feedback { padding: 16px 14px; }
	#pdd-app.pdd-root .pdd-actions .pdd-btn { flex: 1 1 100%; }
	#pdd-app.pdd-root .pdd-veh { font-size: 16px; align-items: flex-start; }
	#pdd-app.pdd-root .pdd-ref { margin-left: 0; }
	#pdd-app.pdd-root .pdd-rep-head { flex-direction: column; }
}
