:root{--navy:#102541;--royal:#1d4ed8;--ink:#334155;--ice:#eff6ff;--line:#cedbec;--paper:#fff}
body{color:var(--ink)}
#hero{background:linear-gradient(115deg,#fff 30%,var(--ice));border-bottom:1px solid var(--line)}
#hero h1,.guide h1,.guide h2{color:var(--navy);letter-spacing:-.035em;text-wrap:balance}
#hero h1{max-width:18ch}
header.sticky{border-bottom:1px solid var(--line);background:#fff}
#hero .hero-action, #runQuickMatchBtn{background:var(--royal);color:white;border:1px solid var(--royal)}
#hero .hero-action:hover,#runQuickMatchBtn:hover{background:#173ba5}
header .counsel-link,#hero .counsel-link{background:white;color:var(--navy);border:1px solid #8098b6;box-shadow:none}
#hero .guide-link{color:var(--royal);background:transparent;border:0;padding-inline:.4rem;text-decoration:underline;text-underline-offset:.25em}
footer:not(.guide footer){border-top-color:var(--royal)}
.pro-panel,.pro-card{border-color:var(--line)}
.guide{color:var(--ink);padding-bottom:3rem}
.guide nav{font-size:.9rem}.guide h1{max-width:24ch}.guide>p{max-width:78ch}
.guide .scroll-table{border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.guide caption{padding:1rem;color:var(--navy)}.guide thead th{background:var(--navy);color:white}.guide tbody tr:nth-child(even){background:#f5f8fd}
.guide a{color:var(--royal);text-underline-offset:.15em}
.guide>p:last-child{background:var(--ice);padding:1rem;border-radius:10px}
:focus-visible{outline:3px solid #2563eb!important;outline-offset:3px}
@media(max-width:640px){#hero h1{font-size:2.1rem}.guide .scroll-table th:first-child{max-width:8.5rem}.guide td{min-width:11rem}}
.wa-symbol{display:inline-grid;place-items:center;vertical-align:middle;margin-inline-end:.45em;width:1.55em;height:1.55em;background:#25d366;border:1px solid #08753c;border-radius:50% 50% 50% 15%;color:#073c24;font: bold 1em/1 system-ui}.wa-symbol::before{content:"☎";font-family:Arial,sans-serif}
a[href*="wa.me/"],#studentLeadForm button[type=submit],#leadDirectWhatsAppAnchor{background:#fff!important;color:#102541!important;border:2px solid #08753c!important;min-height:44px}
a[href*="wa.me/"]:hover,#studentLeadForm button[type=submit]:hover,#leadDirectWhatsAppAnchor:hover{background:#e9fbef!important}
#hero .hero-action,#runQuickMatchBtn,.guide>p:last-child a:first-child{background:#1d4ed8;color:white;border-radius:.65rem;min-height:46px;padding:.75rem 1.2rem;font-weight:700;box-shadow:0 3px 8px #10254126}
.guide>p:last-child a{display:inline-flex;align-items:center;min-height:44px}
#hero .hero-action:hover,#runQuickMatchBtn:hover,.guide>p:last-child a:first-child:hover{background:#173ba5}
@media(max-width:480px){#hero .hero-action{width:100%}}

dialog {max-width:min(96vw,64rem);max-height:94vh;padding:0;background:transparent;border:0;margin:auto}
dialog::backdrop {background:rgb(15 23 42 / .72)}
.fee-page {margin:0;background:#f6f8fb;color:#102541;font:1rem/1.55 system-ui,sans-serif}
.fee-page * {box-sizing:border-box}
.fee-page header,.fee-page main {max-width:62rem;margin:auto;padding:1.2rem}
.fee-page header,.fee-page header a,.fee-actions {display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.fee-page header {justify-content:space-between;background:white;border-bottom:1px solid #cedbec}
.fee-page a {color:#164cb3}
.fee-page h1 {font-size:clamp(2rem,5vw,3rem);line-height:1.12}
.fee-page form {padding:clamp(1rem,3vw,2rem);background:white;border:1px solid #cedbec;border-radius:1rem}
.fee-fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr));gap:1rem}
.fee-page label {display:block;font-weight:650;margin:.65rem 0}
.fee-page [hidden] {display:none}
.fee-page input,.fee-page select,#quickProgramme,#filterProgramme {display:block;width:100%;padding:.65rem;border:1px solid #899ab2;border-radius:.4rem;background:white;color:#102541;font:inherit}
.fee-result {background:#102541;color:white;padding:1.25rem;border-radius:.65rem;margin:1.4rem 0}
.fee-result h2 {margin-top:0}.fee-result strong {font-size:1.35rem}
.fee-page button {background:#1d4ed8;color:white;border:0;border-radius:.45rem;padding:.8rem 1rem;font:inherit;font-weight:700;cursor:pointer}
.fee-page li {margin-bottom:.6rem}
