.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 16px; }
@media (max-width: 640px) { .sc-grid { grid-template-columns: 1fr; } }
.sc-label { font-weight: 600; font-size: .95rem; margin: 8px 0 8px; }
#oh-amount { margin-top: 12px; max-width: 360px; }
#oh-amount[hidden], [data-prov-only][hidden] { display: none; }

/* Page head */
.calc-head { padding-top: 20px; padding-bottom: 8px; }
.calc-head h1 { margin: .2em 0 .3em; }
.calc-head .lead { margin: 0; }
.muted-h { color: var(--ink-3); font-weight: 600; }

/* Two-column tool: inputs left, live result right */
.calc { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: 28px; align-items: start; padding-top: 28px; padding-bottom: 72px; }
.calc-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.calc-form fieldset { border: 0; margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.calc-form legend { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; padding: 0; }
.calc-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; }
.calc-form label { font-size: .9rem; }
.calc-form .hint { display: block; font-size: .8rem; margin-top: 1px; }
.calc-form .choice label { font-size: .9rem; }
.money { position: relative; display: block; }
.money::before { content: "$"; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; pointer-events: none; }
.money input { padding-left: 27px; }
.sc-adv { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 0; }
.sc-adv summary { cursor: pointer; font-weight: 700; }
.sc-adv[open] summary { margin-bottom: 14px; }

.calc-side { position: sticky; top: 92px; }
.calc-result { background: var(--brand-deep); color: #cfe3db; border-radius: 20px; padding: 28px; }
.calc-result:focus { outline: none; }
.calc-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin: 0 0 8px; }
.calc-result .big-number { color: #fff; font-size: clamp(2.4rem, 4vw, 3.2rem); margin: 0 0 10px; }
.calc-result.empty .big-number { color: rgba(255,255,255,.35); }
.calc-result #r-means { font-size: .95rem; color: #cfe3db; margin-bottom: 18px; }
.calc-result .kv { border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; gap: 8px 14px; font-size: .9rem; }
.calc-result .kv dt { color: #a9c2b9; }
.calc-result .kv dd { color: #fff; }
.calc-result .small { font-size: .82rem; color: #a9c2b9 !important; margin: 10px 0 0; }
.calc-result.empty .kv, .calc-result.empty .small, .calc-result.empty .calc-assume { display: none; }
.calc-assume { margin-top: 12px; font-size: .82rem; }
.calc-assume summary { cursor: pointer; color: #a9c2b9; font-weight: 600; }
.calc-result .cta-row { margin-top: 20px; }
.calc-result .btn-primary { background: #fff; color: var(--ink); width: 100%; justify-content: center; }
.calc-result .btn-primary:hover { background: var(--mint); }

.calc-bar { display: none; }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc-side { position: static; }
  .calc-form { padding: 22px; }
  .calc-bar:not([hidden]) { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 6; align-items: center; gap: 10px; background: var(--ink); color: #cfe3db; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: .9rem; }
  .calc-bar b { color: #fff; font-size: 1.1rem; margin-right: auto; }
  .calc-bar a { color: var(--mint); font-weight: 700; text-decoration: none; }
}
@media print { .calc-bar { display: none !important; } }
.wide-tool .updated { max-width: var(--wrap); }
/* Align fields in a row even when one label has a hint */
.sc-grid > div { display: flex; flex-direction: column; }
.sc-grid > div > select, .sc-grid > div > input, .sc-grid > div > .money { margin-top: auto; }
