.fees-page { max-width: 1120px; margin-right: auto; margin-left: auto; padding: 40px 24px 64px; color: #00274c; line-height: 1.6; }
.fees-page a { color: #175c9f; text-decoration: underline; }
.fees-heading { max-width: 780px; margin-bottom: 32px; }
.fees-page h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.2; margin: 8px 0 16px; }
.fees-page h2 { font-size: 24px; margin: 0 0 12px; }
.session-label { font-weight: 700; color: #526274; }
.calculator-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.fee-panel { min-width: 0; border: 1px solid #cbd5df; padding: 28px; border-radius: 6px; }
#calculator, #annual-fees { scroll-margin-top: 150px; }
.fee-panel > label { display: block; font-weight: 700; margin: 22px 0 8px; }
.fees-page select { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid #7c8d9f; border-radius: 4px; background: #fff; color: #00274c; font: inherit; }
.fees-page select:disabled { background: #edf1f5; }
.fees-page fieldset { margin: 28px 0 0; min-width: 0; border: 0; }
.fees-page legend { font-weight: 700; margin-bottom: 10px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkbox-label input { flex-shrink: 0; margin: 6px 0 0; width: 18px; height: 18px; }
.field-help { font-size: 14px; color: #526274; }
.fees-page fieldset .field-help, #programme-note { margin-top: 10px; }
.fee-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fee-actions button { min-height: 44px; padding: 11px 24px; font: inherit; font-weight: 700; border: 1px solid #00274c; border-radius: 4px; cursor: pointer; }
.calculate-button { color: #fff; background: #00274c; }
.reset-button { color: #00274c; background: #ffcb05; }
.fees-page :focus-visible { outline: 3px solid #b38200; outline-offset: 3px; }
.fee-result { background: #f4f7fa; }
#result-selection { font-weight: 700; margin: 12px 0; }
.fee-result dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #cbd5df; }
.fee-result dd { text-align: right; white-space: nowrap; font-weight: 700; }
.fee-result .fee-total { font-size: 20px; border-bottom: 0; margin-top: 8px; }
.annual-fees { margin-top: 48px; }
.annual-fees > p { margin-bottom: 12px; }
.fee-table-wrapper { max-width: 100%; overflow-x: auto; margin-top: 24px; }
.fees-page table { width: 100%; border-collapse: collapse; text-align: left; }
.fees-page caption { text-align: left; font-weight: 700; padding-bottom: 12px; }
.fees-page th, .fees-page td { padding: 12px 14px; border: 1px solid #cbd5df; }
.fees-page thead { background: #00274c; color: #fff; }
.fees-page td:last-child { white-space: nowrap; }
.fees-page tbody tr:nth-child(even) { background: #f4f7fa; }
.fees-notice { padding: 16px; margin-bottom: 24px; background: #fff4cf; }
.fees-page [hidden] { display: none; }
@media (max-width: 720px) {
  .fees-page { padding: 24px 16px 40px; }
  .calculator-layout { grid-template-columns: 1fr; }
  .fee-panel { padding: 20px; }
  .fee-result dl > div { flex-wrap: wrap; gap: 4px 16px; }
  .fee-result dd { margin-left: auto; }
  .fees-page th, .fees-page td { padding: 10px; }
}
