/* Keep title, question count and disclosure indicator in stable columns. */
#apex-ep-service-design .ep-section .tax-faq-group>summary{
 display:grid;grid-template-columns:minmax(0,1fr) 4ch 20px;gap:20px;align-items:center;
}
#apex-ep-service-design .ep-section .tax-faq-group>summary>span:first-child{min-width:0;overflow-wrap:anywhere}
#apex-ep-service-design .ep-section .tax-faq-group>summary>span:nth-child(2){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
#apex-ep-service-design .ep-section .tax-faq-group>summary:after{justify-self:end;text-align:center;width:20px}
#apex-ep-service-design .ep-section .tax-faq-group>summary:not(:has(>span:nth-child(2))){grid-template-columns:minmax(0,1fr) 20px}
#apex-ep-service-design .ep-section .tax-category-toggle>summary,
#apex-ep-service-design .ep-section .tax-faq-section-toggle>summary{
 display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:20px;align-items:center;
}
#apex-ep-service-design .ep-section .tax-category-toggle>summary>h3,
#apex-ep-service-design .ep-section .tax-faq-section-toggle>summary>.ep-heading{min-width:0}
#apex-ep-service-design .ep-num{flex:0 0 24px;text-align:right;font-variant-numeric:tabular-nums}
#apex-ep-service-design .ep-rule summary>.ep-points{margin-left:auto;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#apex-ep-service-design .ep-section .tax-official-question>span{font-variant-numeric:tabular-nums;text-align:right}
#apex-ep-service-design td,#apex-ep-design td{font-variant-numeric:tabular-nums}
#apex-ep-design .ap-service-section td:last-child{font-variant-numeric:tabular-nums}
@media(max-width:650px){
 #apex-ep-service-design .ep-section .tax-faq-group>summary{grid-template-columns:minmax(0,1fr) 3ch 18px;gap:12px}
 #apex-ep-service-design .ep-section .tax-faq-group>summary:after{width:18px}
 #apex-ep-service-design .ep-section .tax-category-toggle>summary,
 #apex-ep-service-design .ep-section .tax-faq-section-toggle>summary{gap:12px}
 #apex-ep-service-design .ep-rule summary>.ep-points{white-space:normal;max-width:40%;flex-shrink:0}
}

#apex-ep-service-design .ep-section summary:has(>.ep-faq-count){display:grid;grid-template-columns:minmax(0,1fr) 7ch 20px;gap:20px;align-items:center}
#apex-ep-service-design .ep-section summary>.ep-faq-count{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#apex-ep-service-design .ep-section summary:has(>.ep-faq-count):after{justify-self:end;width:20px;text-align:center}
@media(max-width:650px){#apex-ep-service-design .ep-section summary:has(>.ep-faq-count){gap:12px;grid-template-columns:minmax(0,1fr) 7ch 18px}}
