.dd-comparison { min-width: 0; }
.st-section-head .dd-transfer { color: var(--ink); font-weight: 600; }
.dd-settings, .dd-tax-fields { display: grid; align-items: end; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px 18px; }
.dd-settings > *, .dd-tax-fields > * { min-width: 0; }
.dd-select { width: 100%; min-height: 44px; padding: 8px; border: 1px solid #becdc2; border-radius: 7px; color: var(--ink); background: white; }
.dd-tax.st-method { margin-top: 16px; padding-top: 0; border-top: 0; }
.dd-tax-fields { margin-top: 12px; }
.dd-outcome { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin: 22px 0 8px; padding: 19px 22px; background: #e6f1e7; color: var(--forest); border-radius: 12px; }
.dd-outcome h3 { color: inherit; }
.dd-outcome span { display: block; margin-top: 3px; font-size: .88rem; color: #466653; }
.dd-outcome strong { font-size: clamp(1.75rem, 3.2vw, 2.8rem); line-height: 1.12; font-weight: 580; letter-spacing: -.05em; overflow-wrap: anywhere; }
.dd-table { border-collapse: collapse; width: 100%; table-layout: fixed; margin-top: 14px; }
.dd-table th, .dd-table td { text-align: right; padding: 10px 6px; vertical-align: middle; overflow-wrap: anywhere; }
.dd-table tr > :first-child { text-align: left; width: 42%; padding-left: 0; }
.dd-table thead th { color: var(--muted); font-size: .84rem; font-weight: 550; }
.dd-table tbody th { color: var(--muted); font-weight: 450; }
.dd-table tbody tr { border-top: 1px solid var(--line); }
.dd-table tbody td { font-weight: 550; }
#dd-totals tr:last-child > * { color: var(--forest); font-weight: 650; }
.dd-detail.st-method { margin-top: 9px; }
@media (max-width: 600px) {
  .dd-outcome { padding: 15px; }
  .dd-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 8px; padding: 9px 0; }
  .dd-table th, .dd-table td { text-align: left; padding: 0; }
  .dd-table thead, .dd-table tbody { display: block; }
  .dd-table thead tr > :first-child { display: none; }
  .dd-table tbody tr > :first-child { width: 100%; grid-column: 1 / -1; font-size: .83rem; }
  .dd-table { display: block; }
  .scenario-nav a { min-width: 0; padding: 7px 5px; font-size: .85rem; }
}
