/* Task #ROI-20260908 | 2026-09-08 | George | Match the restored calculator to the current public homepage. */
.home-roi .roi-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid #dce2ed; border-radius: 12px; overflow: hidden; background: #fff; }
.home-roi .roi-form, .home-roi .roi-summary { min-width: 0; padding: clamp(22px, 3vw, 40px); }
.home-roi .roi-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-roi .roi-fields > div { min-width: 0; }
.home-roi label { display: block; margin-bottom: 9px; color: #25334b; font-size: 14px; font-weight: 600; line-height: 1.5; }
.home-roi input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #8c9bb2; border-radius: 6px; background: #fff; color: #182231; font: inherit; font-size: 16px; }
.home-roi input[aria-invalid="true"] { border-color: #a51d2d; }
.home-roi small { display: block; margin-top: 8px; color: #536074; font-size: 12px; line-height: 1.5; }
.home-roi .roi-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.home-roi .roi-actions span { color: #536074; font-size: 12px; }
.home-roi .roi-actions button { cursor: pointer; font-family: inherit; }
.home-roi .roi-actions button:disabled { cursor: default; opacity: .65; }
.home-roi .roi-error { margin: 18px 0; color: #a51d2d; font-size: 14px; }
.home-roi .roi-error:empty { margin-top: 24px; }
.home-roi .roi-summary { display: flex; flex-direction: column; justify-content: center; background: #edf2fb; }
.home-roi .roi-result { color: #183fca; font-size: clamp(32px, 4vw, 56px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.home-roi .roi-summary > p:not(.home-eyebrow) { color: #46566b; font-size: 13px; }
.home-roi .roi-assumptions { margin-bottom: 0; padding-top: 18px; border-top: 1px solid #cbd7e6; }

/* Task #ROI-20260908 | 2026-09-08 | George | Keep calculator labels, controls and results within narrow viewports. */
@media (max-width: 760px) {
  .home-roi .roi-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .home-roi .roi-fields { grid-template-columns: 1fr; gap: 18px; }
}
