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

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