/* New investigation, step 4 (concept financing: gauges, segmented choices, investment plan) */

.big{font-family:var(--sans);font-size:2rem;font-weight:700;letter-spacing:-.02em;color:var(--navy);line-height:1.1}
.gauge{margin:.75rem 0}
.gauge .top{display:flex;justify-content:space-between;font-size:.9rem}
.gauge .track{position:relative;height:12px;background:var(--line-soft);border-radius:2px;margin-top:.25rem}
.gauge .fill{height:100%;border-radius:2px;background:var(--ok)}
.gauge.nok .fill{background:var(--bad)}
.gauge .lim{position:absolute;top:-4px;bottom:-4px;width:2px;background:var(--navy)}


/* external mortgages to repay: one line per building with the balance from the buildings page */
.payoff{list-style:none;margin:0 0 1rem;padding:0}
.payoff li{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.4rem 0;border-top:1px solid var(--line-soft);font-size:.92rem}
.payoff li:first-child{border-top:0}
.payoff b{color:var(--navy)}

/* investment plan / financing structure: section headings, the buyer's costs indented under their group row, bold totals, compact right-aligned inputs */
.plan td{padding:.35rem .6rem}
.plan tr.sec th{background:none;border-bottom:1px solid var(--line);padding:1rem .6rem .35rem;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.plan tr.sec:first-child th{padding-top:0}
.plan tr.grp td{font-weight:600;border-bottom:0;padding-bottom:.15rem}
.plan tr.sub td:first-child{padding-left:1.6rem}
.plan tr.tot td{font-weight:700;color:var(--navy)}
.plan td input[type=number]{width:9.5rem;margin:0;padding:.3rem .45rem;text-align:right;font-size:.9rem}

/* the choices (fixed-interest period, repayment type, repayment-free steps) are segmented buttons like everywhere else; room under them before the next field */
.grid-main div.f{margin-bottom:1rem}
.grid-main div.f .seg{display:flex;width:max-content;margin-top:.35rem}
.grid-main label.f .seg{margin:.3rem 0 .4rem}
