.calculator-page {
  background: var(--interior-bg);
}

.calc-shell,
.pmc-shell {
  --calc-bg: #f7f6f3;
  --calc-surface: #ffffff;
  --calc-surface-soft: #fbfaf8;
  --calc-ink: #1c1b19;
  --calc-muted: #68655f;
  --calc-faint: #746f67;
  --calc-border: #e7e4de;
  --calc-border-strong: #d8d4cc;
  --calc-accent: #2c6587;
  --calc-accent-hover: #204e6a;
  --calc-accent-soft: #e7f0f7;
  --calc-positive: #2e6b3f;
  --calc-positive-soft: #e8f1e9;
  --calc-negative: #9a3f37;
  --calc-negative-soft: #f8e9e6;
  --calc-shadow: 0 1px 2px rgba(28, 27, 25, 0.04), 0 16px 42px rgba(28, 27, 25, 0.06);
  min-height: 100dvh;
  overflow: clip;
  color: var(--calc-ink);
  background:
    radial-gradient(circle at 86% 1%, rgba(231, 240, 247, 0.72), transparent 28rem),
    radial-gradient(circle at 7% 21%, rgba(232, 241, 233, 0.52), transparent 23rem),
    var(--calc-bg);
}

.calc-shell--whatnot {
  --calc-accent: #1c1b19;
  --calc-accent-hover: #343128;
  --calc-accent-soft: #eeece7;
}

.pmc-shell {
  --calc-accent: #8a4454;
  --calc-accent-hover: #703543;
  --calc-accent-soft: #f5e9ec;
  background:
    radial-gradient(circle at 86% 1%, rgba(245, 233, 236, 0.76), transparent 28rem),
    radial-gradient(circle at 7% 21%, rgba(247, 238, 212, 0.42), transparent 23rem),
    var(--calc-bg);
}

.calc-shell *,
.pmc-shell * {
  box-sizing: border-box;
}

.calc-shell a,
.pmc-shell a {
  text-underline-offset: 0.18em;
}

.calc-stage,
.pmc-stage {
  width: min(100% - 2rem, 72.5rem);
  margin-inline: auto;
  padding: 1.25rem 0 4.5rem;
}

.calc-hero,
.pmc-hero {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.calc-hero-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.calc-eyebrow,
.pmc-eyebrow,
.calc-panel-kicker,
.pmc-panel-kicker,
.calc-results-kicker,
.pmc-results-kicker,
.calc-section-kicker,
.pmc-section-kicker,
.calc-field-note,
.pmc-field-note,
.calc-source-note,
.pmc-source-note {
  color: var(--calc-muted);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.055em;
  line-height: 1.1;
  text-transform: uppercase;
}

.calc-eyebrow,
.pmc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
}

.calc-eyebrow::before,
.pmc-eyebrow::before {
  width: 0.46rem;
  height: 0.46rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--calc-accent);
  box-shadow: 0 0 0 0.22rem var(--calc-accent-soft);
  content: "";
}

.calc-title,
.pmc-title {
  max-width: 18ch;
  margin: 0;
  color: var(--calc-ink);
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 0.97;
  text-wrap: balance;
}

.calc-lede,
.pmc-lede {
  max-width: 43rem;
  margin: 0.7rem 0 0;
  color: var(--calc-muted);
  font-size: 0.98rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.calc-top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.calc-action,
.pmc-action {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  color: var(--calc-ink) !important;
  border: 1px solid var(--calc-border-strong);
  border-radius: 0.68rem;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 730;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 140ms ease, color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.calc-action:hover,
.pmc-action:hover {
  color: var(--calc-ink) !important;
  border-color: #b9b4aa;
  background: #fff;
  box-shadow: 0 7px 18px rgba(28, 27, 25, 0.08);
  transform: translateY(-1px);
}

.calc-action-primary,
.pmc-action-primary,
.calc-data-cta {
  color: #fff !important;
  border-color: var(--calc-accent);
  background: var(--calc-accent);
}

.calc-action-primary:hover,
.pmc-action-primary:hover,
.calc-data-cta:hover {
  color: #fff !important;
  border-color: var(--calc-accent-hover);
  background: var(--calc-accent-hover);
  box-shadow: 0 8px 22px rgba(28, 27, 25, 0.14);
}

.calc-action:active,
.pmc-action:active,
.calc-data-cta:active {
  transform: translateY(1px) scale(0.995);
}

.calc-grid,
.pmc-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.82fr);
  gap: 0.75rem;
  align-items: stretch;
}

.calc-panel,
.pmc-panel,
.calc-results,
.pmc-results,
.calc-data-strip,
.calc-section,
.pmc-section {
  min-width: 0;
  border: 1px solid var(--calc-border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--calc-shadow);
}

.calc-form,
.pmc-panel {
  padding: 1rem;
}

.calc-panel-head,
.pmc-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--calc-border);
}

.calc-panel-kicker,
.pmc-panel-kicker,
.calc-section-kicker,
.pmc-section-kicker {
  margin: 0;
}

.calc-panel-title,
.pmc-panel-title,
.calc-section-title,
.pmc-section-title {
  margin: 0.36rem 0 0;
  color: var(--calc-ink);
  font-size: clamp(1.1rem, 1.7vw, 1.38rem);
  font-weight: 790;
  letter-spacing: -0.018em;
  line-height: 1.08;
  text-wrap: balance;
}

.calc-live-chip,
.pmc-live-chip,
.pmc-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.58rem;
  color: var(--calc-positive);
  border: 1px solid #cedfce;
  border-radius: 999px;
  background: var(--calc-positive-soft);
  font-size: 0.69rem;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.calc-live-chip::before,
.pmc-live-chip::before {
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.calc-field-grid,
.pmc-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.calc-field,
.pmc-field {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
}

.calc-field-wide,
.pmc-field-wide {
  grid-column: 1 / -1;
}

.calc-label-row,
.pmc-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.calc-label-row label,
.pmc-label-row label {
  color: var(--calc-ink);
  font-size: 0.79rem;
  font-weight: 720;
  line-height: 1.2;
}

.calc-control,
.pmc-control,
.calc-money-control,
.pmc-money-control {
  width: 100%;
  min-height: 2.75rem;
  color: var(--calc-ink);
  border: 1px solid var(--calc-border-strong);
  border-radius: 0.65rem;
  background: var(--calc-surface);
  font: inherit;
  font-weight: 690;
  line-height: 1;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.calc-control,
.pmc-control {
  padding: 0 0.72rem;
}

.calc-money-control,
.pmc-money-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
}

.calc-money-control > span,
.pmc-money-control > span {
  padding-inline: 0.72rem 0.38rem;
  color: var(--calc-muted);
  font-size: 0.88rem;
  font-weight: 740;
}

.calc-money-control > span:last-child,
.pmc-money-control > span:last-child {
  padding-inline: 0.38rem 0.72rem;
}

.calc-money-control input,
.pmc-money-control input {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 2rem;
  align-self: stretch;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--calc-ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.calc-control:hover,
.pmc-control:hover,
.calc-money-control:hover,
.pmc-money-control:hover {
  border-color: #b9b4aa;
}

.calc-control:focus,
.pmc-control:focus,
.calc-money-control:focus-within,
.pmc-money-control:focus-within {
  border-color: var(--calc-accent);
  outline: 0;
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--calc-accent) 14%, transparent);
}

.calc-grid input[type="number"],
.pmc-calculator input[type="number"] {
  -moz-appearance: textfield;
}

.calc-grid input::-webkit-outer-spin-button,
.calc-grid input::-webkit-inner-spin-button,
.pmc-calculator input::-webkit-outer-spin-button,
.pmc-calculator input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.calc-options {
  margin-top: 0.72rem;
  border-top: 1px solid var(--calc-border);
}

.calc-options summary {
  padding: 0.7rem 0 0;
  color: var(--calc-muted);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 720;
}

.calc-options[open] summary {
  margin-bottom: 0.7rem;
  color: var(--calc-ink);
}

.calc-check {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.72rem;
  color: var(--calc-muted);
  border: 1px solid var(--calc-border);
  border-radius: 0.65rem;
  background: var(--calc-surface-soft);
  font-size: 0.78rem;
  font-weight: 690;
}

.calc-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--calc-accent);
}

.pmc-segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.22rem;
  padding: 0.22rem;
  border-radius: 0.62rem;
  background: #eeece7;
}

.pmc-segment {
  min-height: 2rem;
  padding: 0.38rem 0.32rem;
  color: var(--calc-muted);
  border: 0;
  border-radius: 0.46rem;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 720;
  transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.pmc-segment:hover {
  color: var(--calc-ink);
}

.pmc-segment[aria-pressed="true"] {
  color: var(--calc-ink);
  background: #fff;
  box-shadow: 0 1px 3px rgba(28, 27, 25, 0.12);
}

.pmc-helper {
  margin: 0;
  color: var(--calc-faint);
  font-size: 0.68rem;
  line-height: 1.35;
}

.pmc-alert,
.calc-no-js {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.78rem;
  color: var(--calc-negative);
  border: 1px solid #e8c7c1;
  border-radius: 0.62rem;
  background: var(--calc-negative-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.calc-results,
.pmc-results {
  display: grid;
  align-content: start;
  overflow: hidden;
}

.calc-results-head,
.pmc-results-head {
  margin: 0;
  padding: 1rem 1.05rem;
  border-bottom: 1px solid var(--calc-border);
  background:
    radial-gradient(circle at 84% 12%, var(--calc-positive-soft), transparent 13rem),
    var(--calc-surface);
}

.calc-results-label,
.pmc-results-label {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.calc-results-kicker,
.pmc-results-kicker {
  margin: 0;
}

.calc-profit,
.pmc-profit {
  display: block;
  margin-top: 0.38rem;
  color: var(--calc-positive);
  font-size: clamp(2.55rem, 5.3vw, 3.8rem);
  font-weight: 830;
  letter-spacing: -0.035em;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
}

.calc-profit.is-negative,
.pmc-profit.is-negative {
  color: var(--calc-negative);
}

.pmc-status.is-warn {
  color: #825700;
  border-color: #ead9a8;
  background: #f7eed4;
}

.pmc-status.is-bad {
  color: var(--calc-negative);
  border-color: #e8c7c1;
  background: var(--calc-negative-soft);
}

.calc-profit-caption,
.pmc-profit-caption {
  margin: 0.62rem 0 0;
  color: var(--calc-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.calc-result-list,
.pmc-results-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calc-result-row,
.pmc-result-row {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.58rem 1rem;
  border-bottom: 1px solid var(--calc-border);
}

.calc-result-row:last-child,
.pmc-result-row:last-child {
  border-bottom: 0;
}

.calc-result-row span:first-child,
.pmc-result-row span:first-child {
  min-width: 0;
  color: var(--calc-muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.calc-result-row strong,
.pmc-result-row strong {
  color: var(--calc-ink);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.calc-data-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: stretch;
  overflow: hidden;
}

.calc-data-item {
  min-width: 0;
  padding: 0.7rem 0.8rem;
  border-right: 1px solid var(--calc-border);
}

.calc-data-item span {
  display: block;
  color: var(--calc-muted);
  font-size: 0.64rem;
  font-weight: 740;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.calc-data-item strong {
  display: block;
  margin-top: 0.38rem;
  overflow-wrap: anywhere;
  color: var(--calc-ink);
  font-size: clamp(0.94rem, 1.75vw, 1.2rem);
  font-weight: 790;
  letter-spacing: -0.018em;
  line-height: 1.08;
}

.calc-data-item small {
  display: block;
  margin-top: 0.24rem;
  color: var(--calc-muted);
  font-size: 0.69rem;
  line-height: 1.25;
}

.calc-data-cta {
  display: flex;
  min-width: 9.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 740;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 140ms ease;
}

.pmc-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(28rem, 1.2fr);
  gap: 1.5rem;
  align-items: end;
}

.pmc-hero-copy > :not(.pmc-note-strip) {
  grid-column: 1;
}

.pmc-note-strip {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 3;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  align-self: end;
}

.pmc-note {
  display: flex;
  min-width: 0;
  min-height: 3.6rem;
  align-items: start;
  gap: 0.48rem;
  padding: 0.65rem;
  color: var(--calc-muted);
  border: 1px solid var(--calc-border);
  border-radius: 0.68rem;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
  line-height: 1.35;
}

.pmc-note-mark {
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  margin-top: 0.23rem;
  border-radius: 50%;
  background: var(--calc-accent);
}

.calc-content,
.pmc-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.5fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.calc-section,
.pmc-section {
  margin-bottom: 1rem;
  padding: clamp(1.1rem, 2.7vw, 1.65rem);
  box-shadow: none;
}

.calc-section p,
.pmc-section p {
  color: var(--calc-muted);
  line-height: 1.62;
}

.calc-section > p:not([class]),
.pmc-section > p:not([class]) {
  max-width: 68ch;
  margin: 0.8rem 0 0;
}

.calc-table-wrap,
.pmc-table-wrap {
  width: 100%;
  margin-top: 0.9rem;
  overflow-x: auto;
  border: 1px solid var(--calc-border);
  border-radius: 0.7rem;
  background: var(--calc-surface);
  scrollbar-color: var(--calc-border-strong) transparent;
}

.calc-table,
.pmc-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--calc-ink);
  --bs-table-border-color: var(--calc-border);
  width: 100%;
  min-width: 39rem;
  margin: 0 !important;
  color: var(--calc-ink) !important;
  border-collapse: collapse;
  font-size: 0.8rem;
  line-height: 1.35;
}

.calc-table th,
.calc-table td,
.pmc-table th,
.pmc-table td {
  padding: 0.66rem 0.72rem !important;
  color: inherit;
  border: 0 !important;
  border-bottom: 1px solid var(--calc-border) !important;
  background: transparent !important;
  box-shadow: none !important;
  vertical-align: middle;
}

.calc-table th,
.pmc-table th {
  color: var(--calc-muted) !important;
  background: var(--calc-surface-soft) !important;
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.calc-table tbody tr:last-child td,
.pmc-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

.calc-table tbody tr:hover td,
.pmc-table tbody tr:hover td {
  background: #fdfcf9 !important;
}

.calc-table td:first-child,
.pmc-table td:first-child {
  color: var(--calc-ink);
  font-weight: 700;
}

.calc-table td:not(:first-child),
.calc-table th:not(:first-child),
.pmc-table-number {
  text-align: right;
}

.pmc-table .is-positive {
  color: var(--calc-positive) !important;
  font-weight: 750;
}

.pmc-table .is-negative {
  color: var(--calc-negative) !important;
  font-weight: 750;
}

.calc-link-list,
.pmc-rule-list {
  display: grid;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.calc-link-list a {
  display: block;
  padding: 0.72rem 0.78rem;
  color: var(--calc-ink) !important;
  border: 1px solid var(--calc-border);
  border-radius: 0.68rem;
  background: var(--calc-surface-soft);
  text-decoration: none;
  transition: transform 140ms ease, border-color 150ms ease, background-color 150ms ease;
}

.calc-link-list a:hover {
  color: var(--calc-ink) !important;
  border-color: var(--calc-border-strong);
  background: #fff;
  transform: translateY(-1px);
}

.calc-link-list strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 750;
}

.calc-link-list span {
  display: block;
  margin-top: 0.18rem;
  color: var(--calc-muted);
  font-size: 0.73rem;
  line-height: 1.4;
}

.pmc-rule-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pmc-rule {
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid var(--calc-border);
  border-radius: 0.68rem;
  background: var(--calc-surface-soft);
}

.pmc-rule span {
  display: block;
  color: var(--calc-muted);
  font-size: 0.66rem;
  font-weight: 720;
}

.pmc-rule strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--calc-ink);
  font-size: 1.2rem;
  font-weight: 790;
  letter-spacing: -0.02em;
}

.pmc-rule p {
  margin: 0.35rem 0 0;
  font-size: 0.7rem;
  line-height: 1.4;
}

.pmc-steps {
  display: grid;
  gap: 0.62rem;
  margin: 0.9rem 0 0;
  padding-left: 1.25rem;
  color: var(--calc-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.pmc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.9rem;
}

.calc-faq,
.pmc-faq {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.9rem;
}

.calc-faq details,
.pmc-faq details {
  overflow: hidden;
  border: 1px solid var(--calc-border);
  border-radius: 0.68rem;
  background: var(--calc-surface-soft);
}

.calc-faq summary,
.pmc-faq summary {
  position: relative;
  padding: 0.8rem 2.6rem 0.8rem 0.85rem;
  color: var(--calc-ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.35;
  list-style: none;
}

.calc-faq summary::-webkit-details-marker,
.pmc-faq summary::-webkit-details-marker {
  display: none;
}

.calc-faq summary::after,
.pmc-faq summary::after {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  color: var(--calc-muted);
  content: "+";
  font-size: 1.05rem;
  font-weight: 500;
  transform: translateY(-50%);
}

.calc-faq details[open] summary,
.pmc-faq details[open] summary {
  border-bottom: 1px solid var(--calc-border);
  background: #fff;
}

.calc-faq details[open] summary::after,
.pmc-faq details[open] summary::after {
  content: "−";
}

.calc-faq details p,
.pmc-faq details p {
  margin: 0;
  padding: 0.78rem 0.85rem 0.9rem;
  color: var(--calc-muted);
  background: #fff;
  font-size: 0.8rem;
  line-height: 1.55;
}

.calc-source-note,
.pmc-source-note {
  display: block;
  margin: 0.9rem 0 0;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.pmc-stage > .pmc-source-note {
  max-width: 72rem;
  margin: 0.8rem auto 0;
  padding-inline: 0.15rem;
}

@media (max-width: 991.98px) {
  .pmc-hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.8rem;
  }

  .calc-content,
  .pmc-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pmc-hero-copy > :not(.pmc-note-strip),
  .pmc-note-strip {
    grid-column: 1;
    grid-row: auto;
  }

  .calc-data-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-data-item:nth-child(2n) {
    border-right: 0;
  }

  .calc-data-item:nth-child(n + 3) {
    border-top: 1px solid var(--calc-border);
  }

  .calc-data-cta {
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 2.75rem;
  }
}

@media (max-width: 767.98px) {
  .calc-stage,
  .pmc-stage {
    width: min(100% - 1.5rem, 72.5rem);
    padding: 0.8rem 0 3.5rem;
  }

  .calc-hero,
  .pmc-hero {
    gap: 0.65rem;
  }

  .calc-hero-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.8rem;
  }

  .calc-grid,
  .pmc-calculator {
    grid-template-columns: minmax(0, 1fr);
  }

  .calc-title,
  .pmc-title {
    max-width: none;
    font-size: clamp(1.95rem, 8.7vw, 2.45rem);
    line-height: 0.98;
  }

  .calc-lede,
  .pmc-lede {
    margin-top: 0.48rem;
    font-size: 0.82rem;
    line-height: 1.36;
  }

  .calc-top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .calc-action,
  .pmc-action {
    min-height: 2.45rem;
    padding: 0.56rem 0.62rem;
    font-size: 0.75rem;
  }

  .calc-form,
  .pmc-panel {
    padding: 0.65rem;
  }

  .calc-panel-head,
  .pmc-panel-head {
    align-items: center;
    margin-bottom: 0.48rem;
    padding-bottom: 0.48rem;
  }

  .calc-panel-title,
  .pmc-panel-title {
    font-size: 1rem;
  }

  .calc-field-grid,
  .pmc-field-grid {
    gap: 0.4rem;
  }

  .calc-field,
  .pmc-field {
    gap: 0.28rem;
  }

  .calc-label-row label,
  .pmc-label-row label {
    font-size: 0.72rem;
  }

  .calc-field-note,
  .pmc-field-note {
    display: none;
  }

  .calc-control,
  .pmc-control,
  .calc-money-control,
  .pmc-money-control {
    min-height: 2.35rem;
    border-radius: 0.58rem;
  }

  .calc-control,
  .pmc-control,
  .calc-money-control input,
  .pmc-money-control input {
    font-size: 0.88rem;
  }

  .pmc-note-strip {
    display: flex;
    gap: 0.42rem;
    overflow-x: auto;
    padding: 0.05rem 0.05rem 0.22rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .pmc-note {
    width: min(75vw, 16rem);
    min-height: 3.2rem;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .calc-results-head,
  .pmc-results-head {
    padding: 0.68rem 0.78rem;
  }

  .calc-profit,
  .pmc-profit {
    font-size: clamp(2.25rem, 11vw, 2.85rem);
  }

  .calc-profit-caption,
  .pmc-profit-caption {
    margin-top: 0.42rem;
    font-size: 0.7rem;
  }

  .calc-result-list,
  .pmc-results-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calc-result-row,
  .pmc-result-row {
    display: grid;
    align-content: start;
    gap: 0.18rem;
    min-height: 2.9rem;
    padding: 0.48rem 0.56rem;
    border-right: 1px solid var(--calc-border);
  }

  .calc-result-row:nth-child(3n),
  .pmc-result-row:nth-child(3n) {
    border-right: 0;
  }

  .calc-result-row span:first-child,
  .pmc-result-row span:first-child {
    font-size: 0.59rem;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .calc-result-row strong,
  .pmc-result-row strong {
    overflow-wrap: anywhere;
    font-size: 0.72rem;
    text-align: left;
    white-space: normal;
  }

  .calc-content,
  .pmc-content-grid {
    margin-top: 1.1rem;
  }

  .calc-section,
  .pmc-section {
    margin-bottom: 0.75rem;
    padding: 1rem;
  }

  .pmc-rule-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  .calc-stage,
  .pmc-stage {
    padding-top: 0.35rem;
  }

  .calc-hero,
  .pmc-hero {
    gap: 0.5rem;
  }

  .calc-panel-title,
  .pmc-panel-title,
  .calc-profit-caption,
  .pmc-profit-caption,
  .pmc-note-strip,
  .pmc-helper {
    display: none;
  }

  .calc-live-chip,
  .pmc-live-chip,
  .pmc-status {
    padding: 0.34rem 0.48rem;
    font-size: 0.63rem;
  }

  .pmc-field-wide {
    grid-column: auto;
  }

  .pmc-field:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .pmc-field:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 389.98px) {
  .calc-stage,
  .pmc-stage {
    width: min(100% - 1rem, 72.5rem);
  }

  .calc-lede,
  .pmc-lede {
    display: none;
  }

}

@media (prefers-reduced-motion: reduce) {
  .calc-shell *,
  .calc-shell *::before,
  .calc-shell *::after,
  .pmc-shell *,
  .pmc-shell *::before,
  .pmc-shell *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
