.bench-calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}
.calc-sheet {
  background: var(--surface);
  border-radius: var(--r);
  padding: 20px 24px;
  box-shadow: var(--lift);
  min-width: 0;
}
.calc-receipt {
  position: sticky;
  top: 24px;
}
.calc-sheet-title {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
}
.calc-group {
  margin-bottom: 16px;
  border: 0;
  padding: 0;
}
.calc-group:last-child { margin-bottom: 0; }
.calc-label {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-2);
}
.seg-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--canvas);
}
.seg-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg-opt {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.seg-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg-opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink-2);
  border-right: 1px solid var(--border);
}
.seg-opt:last-child span { border-right: 0; }
.seg-opt:hover span { color: var(--ink); }
.seg-opt input:checked + span {
  background: var(--steam);
  color: var(--canvas);
}
.seg-opt input:focus-visible + span {
  outline: 2px solid var(--steam);
  outline-offset: -2px;
}
.money-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--canvas);
  min-height: 44px;
  padding: 0 12px;
}
.money-wrap:hover { border-color: var(--ink-3); }
.money-wrap:focus-within { border-color: var(--steam); }
.money-prefix {
  font-family: var(--f-mono);
  font-size: 15px;
  color: var(--ink-3);
  margin-right: 6px;
}
.money-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.money-input:focus { outline: none; }
.slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.slider-head .calc-label { margin-bottom: 0; }
.slider-val {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--steam);
  font-variant-numeric: tabular-nums;
}
.calc-range {
  width: 100%;
  margin: 4px 0 6px;
  accent-color: var(--steam);
}
.range-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.receipt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.receipt-table th, .receipt-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: baseline;
}
.receipt-table thead th {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--steam);
  text-align: right;
  padding-top: 0;
}
.receipt-table thead th:first-child { text-align: left; color: var(--ink-3); }
.receipt-table tbody th {
  text-align: left;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink-2);
  padding-right: 12px;
}
.receipt-table tbody td {
  text-align: right;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-left: 12px;
}
.receipt-table tbody .receipt-total-row th,
.receipt-table tbody .receipt-total-row td {
  border-top: 2px solid var(--steam);
  border-bottom: 1px solid var(--border);
  padding-top: 14px;
  padding-bottom: 12px;
}
.receipt-table tbody .receipt-total-row th {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.receipt-table tbody .receipt-total-row td {
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
}
.receipt-table tbody .receipt-meta-row th,
.receipt-table tbody .receipt-meta-row td {
  border-bottom: 0;
  padding-top: 7px;
  padding-bottom: 3px;
  color: var(--ink-2);
}
.receipt-verdict {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.verdict-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
}
.verdict-note {
  margin: 0;
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
@media (max-width: 820px) {
  .bench-calc { grid-template-columns: minmax(0, 1fr); }
  .calc-receipt { position: static; }
}
@media (max-width: 480px) {
  .calc-sheet { padding: 18px; }
  .seg-row-3 { grid-template-columns: minmax(0, 1fr); }
  .seg-row-3 .seg-opt span { border-right: 0; border-bottom: 1px solid var(--border); }
  .seg-row-3 .seg-opt:last-child span { border-bottom: 0; }
  .receipt-table tbody .receipt-total-row td { font-size: 22px; }
  .receipt-table tbody td { padding-left: 8px; }
}