/* Result-page presentation for local review; numeric producers and access gates stay intact. */
#annualisationArea{display:none!important}
.unified-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0}
.unified-controls [aria-pressed=true]{background:#3E8F98;color:#fff}
.annualisation-intro{margin:24px 0;color:#253b40;font-size:14px;line-height:1.65}
.annualisation-intro h4{font-size:18px;line-height:1.4;margin:0 0 10px}
.annualisation-intro p{margin:0 0 10px}
.annualisation-parameters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr);align-items:center;gap:24px;margin:28px 0}
.annualisation-parameters h4{margin:0;font-size:16px}
.annualisation-cards{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(70px,.65fr) minmax(0,1.3fr);gap:14px;margin:0}
.annualisation-cards>div{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-width:0;padding:14px 10px;border:2px solid #C4E3E6;background:#EDFBFC;border-radius:14px}
.annualisation-cards dt{font-size:12px;line-height:1.45}
.annualisation-cards dd{margin:8px 0 0;font-size:16px;font-weight:700;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.annualisation-cards .annualisation-days{background:#FFF4D2;border-color:#FFD24C;flex-direction:column-reverse}
.annualisation-days dd{margin:0}
#incomeRecapV19 .unified-deductions thead th{background:#EDFBFC;color:#253b40}
#incomeRecapV19 .unified-deductions th:first-child{width:56%}
#incomeRecapV19 .unified-deductions td{font-variant-numeric:tabular-nums}
#resultsDetail{margin:24px 0 30px;min-width:0}
#resultsDetailTitle{font-size:clamp(24px,3vw,34px);margin:0 0 16px;color:var(--ink,#253b40)}
.results-detail-figures{display:grid;grid-template-columns:minmax(240px,1fr) minmax(240px,1fr);gap:32px;align-items:center;margin:16px 0 24px}
#resultsDetail .donut-wrap{display:flex;justify-content:center;align-items:center;margin:0;padding:0;min-width:0}
#resultsDetail #legend,#resultsDetail .d02-legend-wrap{display:none!important}
#resultsDetail .breakdown{display:grid;grid-template-columns:1fr!important;gap:10px;margin:0;border:0;background:none}
#resultsDetail .tax-cell{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #C4E3E6;border-left:5px solid #FFD24C;border-radius:12px;padding:16px 18px;min-width:0}
#resultsDetail .tax-cell:nth-child(3){border-left-color:#90CBD2}
#resultsDetail .tax-cell:nth-child(4){border-left-color:#a6aaa7}
#resultsDetail .tax-cell::before{display:none}
#resultsDetail .tax-cell small{font-size:14px;line-height:1.45;flex:1;text-align:left;min-width:0}
#resultsDetail .tax-cell b{font-size:18px;white-space:nowrap}
#results .fp-year-control,#results .result-year-caption>.result-year-switch,
#results [data-allocation-year],#results [data-allocation-regime],#results [data-annual-year],
#deductionsDisclosure .v16-kicker,#deductionsArea>.pd-overview-head,#deductionsArea>#details,
#fiscalPosition .fp-heading .eyebrow,#fiscalPosition .fp-heading p,#d02ChartTitle,
#fiscalPosition .fp-explorer,#fiscalPosition .fp-takeaway,#fpData,#resultSources,
#quotientBreakdown>.v16-q-note,#socialInsights>summary,#socialInsights .social02-scope{display:none!important}
#allocationArea>.v16-explainer>.v16-explainer-inner>.v16-tool-row{display:none}
#allocationContent .v17-regime-label{display:none}
#deductionsArea{border:0;padding:0;margin:0;background:none}
#personalDeductionsPanel{margin:0;border:0;padding:0}
#personalDeductionsPanel .pd-shell{border:0;box-shadow:none}
#personalDeductionsPanel .pd-common-badge{display:none}
#deductionsArea.pd-expanded #incomeRecapV19{display:block}
#deductionsFullReview{margin-top:24px;border-top:1px solid #C4E3E6;padding-top:20px;min-width:0}
#deductionsFullReview>summary{cursor:pointer;font-weight:700;color:#3E8F98;padding:14px 18px;border-radius:12px;background:#EDFBFC;min-height:48px}
#deductionsFullReview>summary:focus-visible{outline:3px solid #3E8F98;outline-offset:3px}
#incomeRecapV19 .r19-head>div:first-child,#incomeRecapV19 [role=tablist]{display:none}
#incomeRecapV19 .r19-head{margin:18px 0;gap:12px;justify-content:flex-end}
#fiscalPosition .fp-person-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:start}
#fiscalPosition .fp-person-strip>div{min-width:0}
#fiscalPosition .fp-person-strip strong{font-size:clamp(19px,2.2vw,28px)}
#resultsCurveExplanation{line-height:1.65;font-size:15px;margin:20px 0}
#resultsCurveExplanation p{margin:0 0 12px}
#quotientDisclosure #socialInsights{border:0;border-top:1px solid #C4E3E6;border-radius:0;padding:20px 0 0;margin:0 28px 24px;box-shadow:none}
#quotientDisclosure .social-insights-body{padding:0}
.results-quotient-explanation{font-size:15px;line-height:1.6;margin:0 0 20px}
#results .legal-full{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,230px);gap:12px;align-items:stretch;border:0;background:none;padding:0;margin:24px 0;font-size:13px;line-height:1.65}
#results .legal-copy{min-width:0;padding:16px 18px;border:2px solid #C4E3E6;border-radius:16px;background:#EDFBFC}
#results .legal-copy p{margin:0}
#results .legal-full .legal-appointment{display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:64px;height:auto;padding:18px 20px;border:2px solid #FFD24C;border-radius:18px;background:#FFF4D2;color:#253b40;text-align:center;font-size:16px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;text-decoration:none}
#results .legal-appointment:hover{background:#FFDE7A}
.allocation-pair-scroll{max-width:100%;overflow:auto;border:1px solid #C4E3E6;border-radius:12px;position:relative}
.allocation-pair-scroll:focus-visible{outline:3px solid #3E8F98;outline-offset:3px}
#allocationContent .allocation-pair{width:100%;min-width:900px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:13px}
.allocation-pair th,.allocation-pair td{padding:12px 9px;border-bottom:1px solid #dce8e9;text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}
.allocation-pair tbody th,.allocation-pair thead th[rowspan]{width:28%;text-align:left;position:sticky;left:0;z-index:2;background:#fff;box-shadow:1px 0 #C4E3E6}
.allocation-pair thead th{background:#EDFBFC;color:#253b40}
.allocation-pair thead tr:first-child th:not(:first-child){text-align:center;font-size:17px}
.allocation-pair thead tr:first-child th:nth-child(2){background:#C4E3E6;border-top:4px solid #3E8F98}
.allocation-pair thead tr:first-child th:nth-child(3){background:#FFDE7A;border-top:4px solid #FFD24C}
.allocation-pair thead tr:nth-child(2) th{background:#EDFBFC;text-align:right;width:auto}
.allocation-pair thead tr:nth-child(2) th:nth-child(n+4){background:#FFF4D2}
.allocation-pair tbody td{background:#fff}
.allocation-pair tbody tr>td:nth-child(5),.allocation-pair thead tr:nth-child(2)>th:nth-child(4),.allocation-pair thead tr:first-child>th:nth-child(3){border-left:3px solid #90CBD2}
.allocation-pair tbody tr:hover>*{box-shadow:inset 0 0 0 9999px #3E8F9809}
.allocation-pair th small{display:block;font-weight:400;font-size:11px;margin-top:4px}
.allocation-pair .v16-row-total>*{background:#C4E3E6!important;font-weight:bold}
.allocation-pair .v16-row-subtotal>*{background:#EDFBFC!important;font-weight:bold;border-top:1px solid #90CBD2}
.allocation-pair .v17-key-row>*{background:#FFF4D2!important;border-top:1px solid #FFDE7A}
.allocation-filter{display:flex;align-items:center;gap:10px;margin:16px 0;font-size:14px}
.allocation-filter input{width:18px;height:18px;accent-color:#3E8F98}
.allocation-pair-totals{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}
.allocation-pair-totals h4{margin:0 0 10px}
.allocation-pair-totals .v16-base-tiles{display:grid;grid-template-columns:1fr;gap:8px}
.allocation-scroll-hint{font-size:12px;line-height:1.5;color:#52636a;margin:8px 0 14px}
@media(max-width:700px){
 .annualisation-parameters{grid-template-columns:1fr;gap:14px}
 .annualisation-cards{grid-template-columns:1fr;gap:10px}
 .annualisation-cards>div{padding:12px 14px}
 #results .legal-full{grid-template-columns:1fr;gap:12px;font-size:14px}
 #results .stage-actions{display:flex;flex-wrap:wrap;gap:14px}
 #results .stage-actions>.btn{flex:1 1 200px;min-width:0;max-width:100%;height:auto;white-space:normal;line-height:1.5;justify-content:center}
 .results-detail-figures{grid-template-columns:1fr;gap:22px}
 #resultsDetail .tax-cell{padding:13px 12px}
 #resultsDetail .tax-cell b{font-size:16px!important}
 #resultsDetail .tax-cell small{font-size:12px!important;min-height:0}
 #fiscalPosition .fp-person-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
 #resultsCurveExplanation{font-size:14px}
 .allocation-pair-totals{grid-template-columns:1fr}
 #allocationContent .allocation-pair{min-width:850px}
 .allocation-pair tbody th,.allocation-pair thead th[rowspan]{width:180px;max-width:180px}
 #quotientDisclosure .social-grid{grid-template-columns:1fr}
 #quotientDisclosure #socialInsights{margin:0 14px 16px}
}
@media(max-width:620px){#incomeRecapV19 .unified-deductions th:first-child{width:auto}.unified-deductions .r19-mobile-regime{max-width:55%;line-height:1.35}}
