/* Telas da categoria Calcular: resultado grande à esquerda, campos em passos à direita */
.calc-head { display: flex; flex-direction: column; gap: 6px; }
.calc-head h1 { margin: 0; font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.calc-head p { margin: 0; font-size: 18px; color: var(--muted); }

.result { flex: 3 1 480px; min-width: 0; padding: 26px; border-radius: 22px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 16px; }
.result .big { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-end; }
.result .price { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; }
.result .price span, .result .kpis span { font-size: 14px; font-weight: 600; color: var(--subtle); }
.result .price b { font-size: clamp(40px, 5vw, 54px); line-height: 1.05; color: var(--link); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.result .price small { font-size: 14px; color: var(--muted); min-height: 1.2em; }
.result .kpis { display: flex; gap: 28px; }
.result .kpis div { display: flex; flex-direction: column; gap: 2px; }
.result .kpis b { font-size: 26px; font-variant-numeric: tabular-nums; }
.result .kpis b.ok { color: var(--ok-fg); }
.bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--sunk); gap: 2px; }
.bar span { min-width: 0; }
.lines { display: flex; flex-direction: column; }
.lines div { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lines div:last-child { border-bottom: 0; }
.lines i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.lines span { flex: 1 1 auto; color: var(--muted); }
.lines span small { color: var(--subtle); }
.lines b { font-variant-numeric: tabular-nums; }
.lines .total { border-top: 2px solid var(--line-strong); font-size: 16px; }
.lines .total span { color: var(--fg); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lf { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--muted); }
.unit { display: flex; align-items: center; border: 2px solid var(--line-strong); border-radius: 12px; background: var(--surface); overflow: hidden; }
.unit:focus-within { border-color: var(--link); }
.unit input { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 18px; font-weight: 700; color: var(--fg); background: transparent; border: 0; padding: 9px 12px; outline: none; font-variant-numeric: tabular-nums; }
.unit em { font-style: normal; padding: 0 12px 0 4px; font-size: 13px; font-weight: 600; color: var(--subtle); white-space: nowrap; }
.unit.bad { border-color: var(--danger); }
.time { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick { align-self: flex-start; }
.pick .btn { cursor: pointer; }
@media (max-width: 960px) { .result { position: static; } }
@media (max-width: 420px) { .pair { grid-template-columns: 1fr; } }
