/* Instalação Perfeita (lista, opções e resultado vêm de detetive/detetive.css) */
.in-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.in-progress .n { font-weight: 700; font-size: 14px; color: var(--pf-muted); white-space: nowrap; }
.in-progress .bar { flex: 1; height: 8px; border-radius: 999px; background: var(--pf-track); overflow: hidden; }
.in-progress .bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand); transition: width .3s; }
.in-progress .rw { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; background: var(--pf-ok-soft); color: var(--pf-ok-text); }
.in-progress .rw.bad { background: var(--pf-bad-soft); color: var(--pf-bad-text); }

/* a cena é sempre clara (como uma maquete), nos dois temas */
.in-stage { border-radius: 14px; background: linear-gradient(#f4f7fb, #e3eaf3); display: grid; place-items: center; overflow: hidden; }
.in-scene { display: block; width: min(100%, 440px); height: auto; max-height: 42vh; }
.in-scene polygon { stroke: rgba(15, 23, 42, .32); stroke-width: .22; stroke-linejoin: round; }
.in-scene polygon.flat { stroke: none; }
.in-scene .cable { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.in-scene .wifi { fill: none; stroke: #2563eb; stroke-width: .7; stroke-linecap: round; opacity: .75; }
.in-scene .lcd { font: 800 5.4px ui-monospace, Consolas, monospace; fill: #4ade80; text-anchor: middle; }

.in-step h3 { margin: 14px 0 4px; font-size: clamp(18px, 2.6vw, 21px); }
.in-step .q { margin: 0 0 12px; font-size: 15.5px; line-height: 1.45; }
.dt-cause:disabled { cursor: default; }
.dt-cause.dim { opacity: .5; }
.dt-cause.right { border-color: var(--pf-ok); background: var(--pf-ok-soft); }
.dt-cause.right i { border: 6px solid var(--pf-ok); }
.dt-cause.wrong { border-color: var(--pf-bad); background: var(--pf-bad-soft); }
.dt-cause.wrong i { border: 6px solid var(--pf-bad); }
.dt-cause.meh { border-color: #d97706; background: color-mix(in srgb, #d97706 14%, transparent); }
.dt-cause.meh i { border: 6px solid #d97706; }

.in-fb { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--pf-soft); border-left: 5px solid var(--pf-ok); animation: dt-in .25s ease-out; }
.in-fb.aceitavel { border-color: #d97706; }
.in-fb.errado { border-color: var(--pf-bad); }
.in-fb h4 { margin: 0 0 4px; font-size: 17px; }
.in-fb p { margin: 4px 0 0; line-height: 1.45; }
.in-fb .pf-actions { margin-top: 12px; }

.in-log { text-align: left; display: grid; gap: 6px; margin: 14px 0 4px; }
.in-log div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--pf-soft); font-size: 14.5px; }
.in-log .m { flex: none; }
.in-log .t { flex: 1; min-width: 0; }
.in-log .t small { display: block; color: var(--pf-muted); font-size: 12.5px; }
.in-log .p { flex: none; font-weight: 800; font-variant-numeric: tabular-nums; }
