/* Calculation presentation: units belong to headers; emphasis belongs to key lines. */
.page-tools .calc-results .result-table,
.page-tools .calc-results .tax-comparison {width:100%;table-layout:fixed;border-collapse:collapse;}
.page-tools .calc-results .result-table th,
.page-tools .calc-results .result-table td,
.page-tools .calc-results .tax-comparison th,
.page-tools .calc-results .tax-comparison td {width:auto;padding:11px 9px;vertical-align:top;overflow-wrap:anywhere;line-height:1.55;}
.page-tools .calc-results .result-table tbody th,
.page-tools .calc-results .tax-comparison tbody th,
.page-tools .calc-results .result-table tbody td,
.page-tools .calc-results .tax-comparison tbody td {font-weight:400;}
.page-tools .calc-results .result-table thead th,
.page-tools .calc-results .result-table .result-table-heading th,
.page-tools .calc-results .tax-comparison thead th {font-weight:700;font-size:12px;color:#e8cb96;text-align:left;border-bottom:1px solid #ffffff50;}
.page-tools .calc-results .result-table th:first-child,
.page-tools .calc-results .tax-comparison th:first-child {width:46%;text-align:left;}
.page-tools .calc-results .result-table td,
.page-tools .calc-results .tax-comparison td {font-variant-numeric:tabular-nums;text-align:right;}
.page-tools .calc-results .regime-comparison th:first-child {width:46%;}
.page-tools .calc-results .regime-comparison td,
.page-tools .calc-results .regime-comparison thead th:not(:first-child) {width:27%;}
.page-tools .comparison-label-col {width:46%;}
.page-tools .calc-results .result-table .result-key-row th,
.page-tools .calc-results .result-table .result-key-row td,
.page-tools .calc-results .tax-comparison .result-key-row th,
.page-tools .calc-results .tax-comparison .result-key-row td {font-weight:700!important;}
.page-tools .tax-summary {display:block;margin:0 0 26px;padding:0 0 18px;border-bottom:1px solid #ffffff30;}
.page-tools .tax-summary h3 {font-size:22px;margin:0 0 8px;}
.page-tools .tax-summary .result-table {margin:0;}
.page-tools .tax-summary .result-table tbody th,
.page-tools .tax-summary .result-table tbody td {font-weight:650;}
.page-tools .tax-summary .help {font-size:12px;line-height:1.7;color:#e1e8ee;margin:12px 0 0;}
.page-tools .calc-results .result-table caption {text-align:left;color:#e1e8ee;font-size:12px;font-weight:400;padding:10px 0;}
.page-tools .capital-explanation {display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0;}
.page-tools .capital-reason {border:1px solid #ffffff30;border-radius:6px;padding:17px;min-width:0;}
.page-tools .capital-reason h4 {font-size:16px;color:#e8cb96;margin:0 0 9px;font-weight:700;line-height:1.45;}
.page-tools .capital-reason p {font-size:13px;color:#e1e8ee;font-weight:400;line-height:1.8;margin:0;}
#result-area[data-tax-view=old] .regime-comparison tr>*:nth-child(3),
#result-area[data-tax-view=new] .regime-comparison tr>*:nth-child(2) {display:none;}
@media(max-width:700px){
  .page-tools .capital-explanation {grid-template-columns:1fr;gap:10px;}
  .page-tools .calc-results .result-table,.page-tools .calc-results .tax-comparison {font-size:11px;}
  .page-tools .calc-results .result-table th,.page-tools .calc-results .result-table td,
  .page-tools .calc-results .tax-comparison th,.page-tools .calc-results .tax-comparison td {padding:10px 5px;}
  .page-tools .calc-results .result-table thead th,.page-tools .calc-results .tax-comparison thead th,
  .page-tools .calc-results .result-table .result-table-heading th {font-size:10px;}
  .page-tools .tax-summary h3 {font-size:20px;}
}
@media print{
  .page-tools .tax-summary,.page-tools .capital-reason {border-color:#aaa;}
  .page-tools .capital-reason h4,.page-tools .capital-reason p,.page-tools .tax-summary .help,
  .page-tools .calc-results .result-table thead th,.page-tools .calc-results .result-table .result-table-heading th {color:#111!important;}
}
