/* Content fitting uses the existing panel, typography and table rules. */
main[data-heritage-final] .editorial-section table,main[data-heritage-final] .shared-counselling table{min-width:0;width:100%;table-layout:fixed}
main[data-heritage-final] th,main[data-heritage-final] td{white-space:normal;overflow-wrap:anywhere;min-width:0}
main[data-heritage-final] .fees-two-column small{display:block}
main[data-heritage-final] .candidate-statistics th:first-child{width:58%}
main[data-heritage-final] .candidate-statistics td:nth-child(2){white-space:normal}
main[data-heritage-final] .heritage-intro p{line-height:1.8}
main[data-heritage-final] .heritage-faq-group h3{margin-top:28px}
@media(max-width:600px){main[data-heritage-final] td,main[data-heritage-final] th{padding:10px 8px;font-size:13px;line-height:1.5}}

/* Heritage-only brochure state; existing banner styling comes from SRMS. */
main[data-heritage-final] .heritage-brochure-panel{margin-top:28px;padding:24px;border:1px solid #d5dece;border-radius:18px;background:#eef1e6}
main[data-heritage-final] .heritage-brochure-panel h3{margin-top:8px}
main[data-heritage-final] .heritage-brochure-panel .actions{display:flex;flex-wrap:wrap;gap:12px}
main[data-heritage-final] .heritage-brochure-panel button:disabled{opacity:1;color:#5b655e;background:#e1e6de;border-color:#b8c3b8;cursor:not-allowed}
@media(max-width:600px){main[data-heritage-final] .heritage-brochure-panel{padding:20px 16px}main[data-heritage-final] .heritage-brochure-panel .actions>*{width:100%;text-align:center;white-space:normal}}
