.calc-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  width: 100%;
  padding: 3px;
  margin-top: 12px;
  border: 1px solid #d2decf;
  border-radius: 9px;
  background: #e5ece1;
}
.calc-tabs button {
  flex: 1 1 auto;
  min-height: 34px;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.calc-tabs button[aria-selected="true"] {
  color: var(--brand);
  background: var(--paper);
  box-shadow: 0 1px 3px rgb(30 58 41 / 12%);
}
.calc-tabs button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
.calc-assumptions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
  gap: 0 10px;
}
.calc-assumptions input { min-width: 0; }
.estimate-result .calc-unit { font-size: 14px; font-weight: 600; }
.calc-no-target { display: block; margin: 4px 0; }
@media (pointer: coarse) {
  .calc-tabs button { min-height: 42px; }
}
