
/* rekenhulp oppervlakte (static/rekenhulp.js) op /oppervlakte-berekenen/ en /en/area-calculator/, 29 nov 2026 */
.rh-intro { color: var(--muted); margin: 16px 0 0; max-width: 40em; }
.rh { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--schaduw); padding: 24px; }
.rh-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.rh-eenheid { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.rh-eenheid .rh-label { margin-right: 6px; }
.rh-eenheid button { font: 600 14px/1.2 var(--body); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 36px; cursor: pointer; }
.rh-eenheid button:hover { background: var(--tint); }
.rh-eenheid button[aria-checked="true"] { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-dark); }
.rh input, .rh select { box-sizing: border-box; width: 100%; min-height: 44px; padding: 8px 12px; font: 400 16px/1.2 var(--body); color: var(--ink); background: var(--white); border: 1px solid #c9d1e1; border-radius: 10px; }
.rh input[inputmode] { font-variant-numeric: tabular-nums; }
.rh input::placeholder { color: var(--faint); }
.rh input:focus, .rh select:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.rh input[aria-invalid] { border-color: #c2410c; }
.rh-rij { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, 1fr) 36px; gap: 8px; align-items: center; padding: 6px 0; }
.rh-kop { font-size: 13px; font-weight: 600; color: var(--faint); padding-bottom: 2px; }
.rh-cel { display: block; margin: 0; }
.rh-mob { display: none; }
.rh-m2 { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.rh-weg { width: 36px; height: 36px; border: 0; border-radius: 999px; background: none; color: var(--faint); font-size: 22px; line-height: 1; cursor: pointer; }
.rh-weg:hover { background: var(--tint); color: var(--ink); }
.rh-hint { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: #9a3412; }
.rh-plus { margin-top: 12px; }
.rh-uitslag { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.rh-som { margin: 0; display: grid; gap: 6px; }
.rh-som > div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.rh-som dt { color: var(--muted); }
.rh-som dt small { display: block; font-size: 13px; color: var(--faint); }
.rh-som dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.rh-som .rh-totaal { order: -1; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.rh-som .rh-totaal dt { color: var(--ink); font-weight: 600; }
.rh-som .rh-totaal dd { font-family: var(--display); font-size: 26px; color: var(--brand-dark); }
.rh-noot { margin: 14px 0 0; font-size: 14px; color: var(--faint); }
.rh-acties { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.rh-status { margin: 10px 0 0; font-size: 14px; color: var(--muted); min-height: 1em; }
.rh-velden { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rh-veld { display: grid; gap: 6px; margin: 0; }
@media (max-width: 720px) {
  .rh { padding: 16px; border-radius: 16px; }
  .rh-kop { display: none; }
  .rh-rij { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; gap: 8px 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .rh-mob { display: block; font-size: 13px; font-weight: 600; color: var(--faint); margin-bottom: 4px; }
  .rh-naam { grid-column: 1 / 3; grid-row: 1; }
  .rh-weg { grid-column: 3; grid-row: 1; align-self: end; }
  .rh-soort { grid-column: 1 / 3; }
  .rh-rij .rh-m2 { grid-column: 1 / -1; text-align: right; padding: 0; }
  .rh-velden { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
