/* Roof pricer. Uses the io-roofing theme tokens when present. */
.ior-pricer { --ior-slate: var(--slate, #1f2a33); --ior-copper: var(--copper, #b8642b); --ior-stone: var(--stone, #f5f1ec); --ior-good: var(--good, #0c7a43); max-width: 760px; }
.ior-step { border: 1px solid #e3ddd5; border-radius: 14px; padding: 20px 22px; margin: 0 0 18px; background: #fff; }
.ior-step legend { font-weight: 700; color: var(--ior-slate); padding: 0 6px; }
.ior-step label { display: block; font-weight: 600; margin: 12px 0 4px; }
.ior-step input[type="text"], .ior-step input[type="number"], .ior-step select { width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid #cfc7bd; border-radius: 10px; font: inherit; }
.ior-step [data-action="measure"] { margin-top: 12px; }
.ior-measured { background: var(--ior-stone); border-radius: 10px; padding: 10px 14px; }
.ior-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ior-line { border: 2px solid #e3ddd5; border-radius: 12px; padding: 14px; cursor: pointer; margin: 0 !important; font-weight: 400 !important; }
.ior-line:has(input:checked) { border-color: var(--ior-copper); }
.ior-line input { margin-right: 6px; }
.ior-tier { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ior-copper); }
.ior-line strong, .ior-line span { display: block; }
.ior-soon, .ior-warn { background: #fff4e5; border-left: 4px solid var(--ior-copper); padding: 10px 14px; border-radius: 6px; }
.ior-promise { color: #6b6259; font-size: 14px; }
.ior-result { margin-top: 20px; padding: 22px; border-radius: 14px; background: var(--ior-stone); }
.ior-total { font-size: 40px; font-weight: 700; color: var(--ior-good); margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.ior-total span { font-size: 16px; color: #6b6259; font-weight: 500; }
.ior-items { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.ior-items td { padding: 6px 0; border-bottom: 1px solid #e3ddd5; }
.ior-items td:last-child { text-align: right; }
.ior-note { font-size: 14px; color: #6b6259; }
