/* Public discovery pages: stronger colour, hierarchy and contact affordances. */
html[data-firstliners-editorial]:has(body[data-contact-actions]){--fl-paper:#faf9f5;--fl-ink:#12362f;--fl-navy:#123d33;--fl-jade:#17634e;--fl-gold:#d7b369;--fl-line:#d5dfd6;--fl-muted:#52665c;--mp-soft:#ecf1e9}
body[data-contact-actions] .header{background:#fffefaed;border-bottom:2px solid #c4a360}
body[data-contact-actions] :is(.university-card,.programme-result,.guide-card){border-top:3px solid #17634e;box-shadow:0 8px 24px #143e3010!important}
body[data-contact-actions] :is(.university-card,.programme-result,.guide-card):nth-child(3n+2){border-top-color:#b78b43}
body[data-contact-actions] :is(.university-card,.programme-result,.guide-card):nth-child(3n){border-top-color:#a5664c}
body[data-contact-actions] :is(.university-card,.guide-card):hover{border-color:#17634e;box-shadow:0 12px 30px #143e301c!important}
body[data-contact-actions] .page-heading.shell{border-bottom:2px solid #bd9a56}
body[data-contact-actions] .section-head .eyebrow{display:inline-flex;align-items:center;gap:10px}
body[data-contact-actions] .section-head .eyebrow:before{content:'';width:23px;height:3px;background:#b78b43}
body[data-contact-actions] .profile-stats{background:#143f33;border-top:3px solid #d7b369}
body[data-contact-actions] .content-section>h2{padding-left:18px;border-left:4px solid #b78b43}
body[data-contact-actions] .guide-answer{border-left:4px solid #b78b43;background:#edf3eb}
body[data-contact-actions] .footer{background:#0d3029;border-top:4px solid #c4a360}
body[data-editorial-page=home] .immersive-hero{background:#102f2a;color:#fffdf4;border:0}
body[data-editorial-page=home] .immersive-hero>.fl-bg-layer{background:#102f2a}
body[data-editorial-page=home] .immersive-hero>.fl-bg-layer:after{background:linear-gradient(90deg,#102f2afa 0%,#102f2af0 43%,#102f2a90 100%)}
body[data-firstliners-editorial][data-editorial-page=home] .immersive-hero[data-fl-generated][data-fl-generated-layout=preserve-media]>.fl-generated-scene{width:100%;background:#102f2a}
body[data-firstliners-editorial][data-editorial-page=home] .immersive-hero[data-fl-generated][data-fl-generated-layout=preserve-media]>.fl-generated-scene:after{background:linear-gradient(90deg,#102f2aff 0%,#102f2afa 43%,#102f2ad9 56%,#102f2a55 73%,#102f2a40 100%)}
body[data-editorial-page=home] .immersive-hero .hero-copy{background:transparent!important;box-shadow:none!important;color:#fffdf4}
body[data-editorial-page=home] .immersive-hero .hero-intake{color:#e7c77e}
body[data-editorial-page=home] .immersive-hero h1{color:#fffdf4;font-size:clamp(52px,6.1vw,88px);line-height:1.01;letter-spacing:-.055em}
body[data-editorial-page=home] .immersive-hero h1 em{display:block;color:#e7c77e}
body[data-editorial-page=home] .immersive-hero .hero-copy>p{color:#dbe7dd;font-size:19px}
body[data-editorial-page=home] .immersive-hero .hero-actions .hero-primary{background:#e7c77e!important;border-color:#e7c77e!important;color:#173d31!important}
body[data-editorial-page=home] .immersive-hero .hero-actions .hero-support-link{color:#fffdf4!important;border-color:#b9ccba!important;background:transparent!important}
body[data-editorial-page=home] .immersive-hero :is(.fl-student-cue,.discovery-search-label,.discovery-links a,.hero-subjects a){color:#eef4e9!important}
body[data-editorial-page=home] .immersive-hero .fl-student-cue small{color:#d2dfd3}
body[data-editorial-page=home] .immersive-hero .hero-subjects a{padding:5px 10px;background:#ffffff0a;border:1px solid #759184!important;border-radius:4px;text-decoration:none}
body[data-editorial-page=home] .immersive-hero .hero-subjects{gap:8px;margin-top:14px}
body[data-editorial-page=home] .immersive-stage{box-shadow:0 18px 55px #041a2540}
body[data-editorial-page=home] .fl-editorial-index{padding-block:35px}
body[data-editorial-page=home] .homepage-stories{padding:44px;border:1px solid #cddbd0;border-top:4px solid #b78b43;border-radius:12px;background:#e8efe5}
body[data-editorial-page=home] .homepage-programme-finder{margin-top:36px;border-top:0}
body[data-editorial-page=home] #home-finder{border-top:4px solid #17634e;background:#e8efe5}
body[data-editorial-page=home] .company-service{border-top:2px solid #bd9a56}
body[data-editorial-page=home] .homepage-contact .contact-banner{background:#123d33!important;color:#fffdf4;border:0;border-top:4px solid #d7b369;padding:48px}
body[data-editorial-page=home] .homepage-contact .contact-banner :is(h2,p){color:#fffdf4}
body[data-editorial-page=home] .homepage-contact .contact-banner .eyebrow{color:#e7c77e}
body[data-editorial-page=home] .homepage-contact .contact-whatsapp{background:#e7c77e!important;color:#163d31!important;border-color:#e7c77e!important}
body[data-contact-actions]{padding-bottom:84px}
.fl-wa-widget{position:fixed;z-index:48;right:24px;bottom:calc(22px + env(safe-area-inset-bottom));font:500 15px/1.5 Source,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#143b30;max-width:calc(100vw - 32px)}
.fl-wa-widget>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:10px;width:max-content;min-width:156px;min-height:58px;padding:13px 20px;border:2px solid #fff;border-radius:40px;background:#087b48;color:#fff;box-shadow:0 5px 24px #073c363b;cursor:pointer;font-weight:700;user-select:none;position:relative;box-sizing:border-box}
.fl-wa-widget>summary::-webkit-details-marker{display:none}
.fl-wa-widget>summary svg{width:28px;height:28px;fill:currentColor;flex:none}
.fl-wa-widget>summary:after{content:'';position:absolute;inset:-7px;border:2px solid #21966566;border-radius:40px;opacity:0;pointer-events:none;animation:fl-wa-pulse 4s ease-out 3}
.fl-wa-widget:not([open])>summary svg{animation:fl-wa-nudge 4s ease-in-out 3}
.fl-wa-widget[open]>summary:after{animation:none;opacity:0}
.fl-wa-widget[open]>summary svg{animation:none}
.fl-wa-panel{position:absolute;right:0;bottom:calc(100% + 14px);width:330px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 180px);overflow:auto;background:#fffefa;border:1px solid #b7cabc;border-radius:16px;box-shadow:0 18px 60px #082a2d33;padding:24px;box-sizing:border-box}
.fl-wa-panel strong{display:block;padding-right:28px;font-size:21px;line-height:1.25;color:#123d33}
.fl-wa-panel p{margin:12px 0 20px;font-size:15px;line-height:1.65;color:#52665c}
.fl-wa-panel .fl-wa-open{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px;background:#087b48;color:#fff;border-radius:7px;text-decoration:none;font-weight:700;text-align:center}
.fl-wa-panel .fl-wa-open svg{width:22px;height:22px;fill:currentColor;flex:none}
.fl-wa-panel .fl-wa-prepare{display:block;padding-top:14px;text-align:center;min-height:44px;text-decoration:underline;color:#17634e;text-underline-offset:4px}
.fl-wa-close{position:absolute;right:13px;top:12px;display:grid;place-items:center;min-width:44px;min-height:44px;border:0;background:transparent;color:#123d33;cursor:pointer;font-size:26px;line-height:1}
body[data-contact-actions]:has(:is(dialog[open],.nav-links.is-open,.programme-toggle[aria-expanded=true],.compare-tray:not([hidden]))) .fl-wa-widget{visibility:hidden;pointer-events:none}
@keyframes fl-wa-pulse{0%,55%,100%{opacity:0;transform:scale(.94)}65%{opacity:1;transform:scale(1)}90%{opacity:0;transform:scale(1.18)}}
@keyframes fl-wa-nudge{0%,58%,78%,100%{transform:rotate(0)}62%{transform:rotate(-10deg)}67%{transform:rotate(9deg)}72%{transform:rotate(-5deg)}}
@media(max-width:760px){body[data-editorial-page=home] .immersive-hero h1{font-size:66px}body[data-editorial-page=home] .immersive-hero .hero-copy>p{font-size:17px}body[data-editorial-page=home] .homepage-stories{padding:25px 19px}body[data-editorial-page=home] .homepage-contact .contact-banner{padding:29px 23px}.fl-wa-widget{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.fl-wa-widget>summary{min-width:142px;min-height:56px;padding:12px 17px;font-size:14px}}
@media(max-width:380px){body[data-editorial-page=home] .immersive-hero h1{font-size:56px}}
@media(max-width:760px){body[data-firstliners-editorial][data-editorial-page=home] .immersive-hero[data-fl-generated][data-fl-generated-layout=preserve-media]>.fl-generated-scene:after{background:linear-gradient(180deg,#102f2af2 0%,#102f2ae8 62%,#102f2abf 100%)}}
@media(prefers-reduced-motion:reduce){.fl-wa-widget *,.fl-wa-widget *:after{animation:none!important;transition:none!important}}
@media(forced-colors:active){.fl-wa-widget>summary,.fl-wa-panel,.fl-wa-open{border:2px solid ButtonText}.fl-wa-widget>summary:after{display:none}}
@media print{.fl-wa-widget{display:none}body[data-contact-actions]{padding-bottom:0}body[data-editorial-page=home] .immersive-hero,body[data-editorial-page=home] .homepage-contact .contact-banner{background:#fff!important;color:#000}body[data-editorial-page=home] .immersive-hero :is(h1,em,p,a,label,span){color:#000!important}}

/* Comfortable reading and consistent space inside coloured panels. */
body[data-contact-actions]{font-size:17px;line-height:1.75}
body[data-contact-actions] :is(.reading,.guide-reading,.csca-reading,.sg-section,.kc-section){font-size:18px;line-height:1.85}
body[data-contact-actions] :is(.guide-reading,.csca-reading,.sg-section) p{max-width:76ch}
body[data-contact-actions] :is(.reading,.guide-reading,.csca-chapter,.sg-section,.content-section) :is(p,li,dd){font-size:17px;line-height:1.85}
body[data-contact-actions] :is(.section-head p,.page-heading p,.service-intro>p,.story-section-intro,.consultation-next p){font-size:17px;line-height:1.8}
body[data-contact-actions] :is(.programme-facts,.programme-expanded,.finder-location,.finder-billing,.card-body p,.guide-card p,.kc-topic-card p,.service-card p,.process-step p){font-size:15px;line-height:1.75}
body[data-contact-actions] :is(.programme-price small,.programme-price>span,.finder-billing,.finder-result-details,.card-body small,.field label,.field-help,.small,.guide-meta,.sg-source-check){font-size:14px;line-height:1.7}
body[data-contact-actions] :is(.eyebrow,.finder-result-subject){font-size:12px;line-height:1.5}
body[data-contact-actions] :is(.csca-toc a,.sg-toc a,.section-nav a,.discovery-links a,.hero-subjects a){font-size:14px!important}
body[data-contact-actions] :is(.guide-answer,.kc-start-note,.csca-note,.csca-tool,.csca-room,.service-card,.process-step,.consultation-next){padding:clamp(22px,2.5vw,32px);box-sizing:border-box}
body[data-contact-actions] :is(.kc-step-list,.kc-csca-path)>li{padding:24px;gap:16px;box-sizing:border-box}
body[data-contact-actions] :is(.guide-reading>section:not(.guide-next):not(.guide-answer),.csca-chapter,.sg-section){padding:clamp(22px,3vw,36px);margin-block:24px;background:#fffefa;border:1px solid #d5dfd6;border-radius:10px;box-sizing:border-box;min-width:0}
body[data-contact-actions] :is(.guide-reading>section:not(.guide-next):not(.guide-answer),.csca-chapter,.sg-section):nth-of-type(3n+2){background:#ecf2e9}
body[data-contact-actions] :is(.guide-reading>section:not(.guide-next):not(.guide-answer),.csca-chapter,.sg-section):nth-of-type(3n){background:#f6f0e3}
body[data-contact-actions] :is(.guide-reading>section:not(.guide-next):not(.guide-answer),.csca-chapter,.sg-section)>h2:first-child{margin-top:0}
body[data-contact-actions] .guide-reading>section :is(.guide-answer,.csca-note){background:#fffefa}
body[data-contact-actions] :is(.kc-topic-card,.sg-route-card,.sg-card){border-top:3px solid #17634e;background:#fffefa}
body[data-contact-actions] :is(.kc-topic-card,.sg-route-card,.sg-card):nth-child(3n+2){border-top-color:#b78b43}
body[data-contact-actions] :is(.kc-topic-card,.sg-route-card,.sg-card):nth-child(3n){border-top-color:#a5664c}
body[data-contact-actions] :is(.kc-step-list,.kc-csca-path)>li:nth-child(even){background:#f6f0e3}
body[data-contact-actions][data-editorial-page=profile] .content-section{padding:32px;margin-block:24px;border:1px solid #d5dfd6;border-radius:10px;background:#fffefa}
body[data-contact-actions][data-editorial-page=profile] .content-section:nth-of-type(3n+2){background:#ecf2e9}
body[data-contact-actions][data-editorial-page=profile] .content-section:nth-of-type(3n){background:#f6f0e3}
body[data-contact-actions] :is(.kc-next,.csca-next,.guide-next,.sg-related,.editorial-next-step){padding:clamp(25px,3vw,40px);border-radius:12px;border-top:3px solid #d7b369;box-sizing:border-box}
body[data-contact-actions] .programme-filters{padding:24px;background:#ecf2e9;border-top:3px solid #17634e}
body[data-contact-actions] .fee-plan{background:#fffefa;border-top:3px solid #b78b43}
body[data-contact-actions] .fee-plan:nth-of-type(even){background:#f5f0e4}
body[data-contact-actions] .service-card{background:#fffefa;border-top:3px solid #17634e}
body[data-contact-actions] .service-card:nth-child(even){background:#f6f0e3;border-top-color:#b78b43}
body[data-contact-actions] .enquiry-layout form{background:#fffefa;border-top:3px solid #b78b43}
body[data-contact-actions] .consultation-next{background:#ecf2e9;border-radius:10px;border:1px solid #d5dfd6}
body[data-contact-actions] [data-knowledge-home] .guide-tools>a{padding:26px;border-top:3px solid #17634e;background:#fffefa}
body[data-contact-actions] [data-knowledge-home] .guide-tools>a:nth-child(even){background:#f6f0e3;border-top-color:#b78b43}
body[data-editorial-page=home] .service-steps{display:grid;gap:14px;border-top:0}
body[data-editorial-page=home] .service-steps>details{background:#edf2e8;border:1px solid #c8d7c9;border-radius:9px}
body[data-editorial-page=home] .service-steps>details:nth-child(2){background:#f6f0e3}
body[data-editorial-page=home] .service-steps>details:nth-child(3){background:#eef2f4}
body[data-editorial-page=home] .service-steps>details>summary{display:grid;grid-template-columns:2ch minmax(0,1fr) 28px;gap:16px;align-items:center;min-height:88px;padding:24px 28px;box-sizing:border-box}
body[data-editorial-page=home] .service-steps>details>summary>span{font-size:15px;line-height:1.5;color:#436555;min-width:2ch}
body[data-editorial-page=home] .service-steps>details>summary>h3{margin:0;min-width:0;font-size:22px;line-height:1.4;overflow-wrap:anywhere}
body[data-editorial-page=home] .service-steps>details>summary>b{width:28px;margin:0;line-height:1;font-size:26px}
body[data-editorial-page=home] .service-steps>details>div{padding:0 28px 28px calc(28px + 2ch + 16px)}
body[data-editorial-page=home] .service-steps>details>div p{font-size:17px;line-height:1.85;margin-top:0}
body[data-contact-actions] :is(.button,.programme-actions button,.save-control,.compare-control){font-size:15px}
body[data-contact-actions] .header .nav-actions>a{font-size:13px}
@media(max-width:760px){
  body[data-contact-actions]{font-size:16px;line-height:1.75}
  body[data-contact-actions] :is(.reading,.guide-reading,.csca-reading,.sg-section,.kc-section),body[data-contact-actions] :is(.reading,.guide-reading,.csca-chapter,.sg-section,.content-section) :is(p,li,dd){font-size:17px;line-height:1.8}
  body[data-contact-actions] :is(.guide-reading>section:not(.guide-next):not(.guide-answer),.csca-chapter,.sg-section){padding:20px 18px;margin-block:20px}
  body[data-contact-actions][data-editorial-page=profile] .content-section{padding:22px 18px;margin-block:20px}
  body[data-contact-actions] :is(.guide-answer,.kc-start-note,.csca-note,.csca-tool,.csca-room,.service-card,.process-step,.consultation-next){padding:20px}
  body[data-contact-actions] :is(.kc-step-list,.kc-csca-path)>li{padding:20px;gap:14px}
  body[data-editorial-page=home] .service-steps>details>summary{padding:20px 22px;gap:12px;min-height:84px}
  body[data-editorial-page=home] .service-steps>details>summary>h3{font-size:20px}
  body[data-editorial-page=home] .service-steps>details>div{padding:0 22px 24px calc(22px + 2ch + 12px)}
  body[data-editorial-page=home] .service-steps>details>div p{font-size:16px}
}
body[data-contact-actions] :is(.content-section,.csca-reading,.sg-section,.guide-reading) :is(td,th){font-size:15px;line-height:1.7}
body[data-contact-actions] .kc-scope{padding:clamp(24px,3vw,36px);background:#f6f0e3;border:1px solid #ddcfb2;border-radius:10px}
body[data-contact-actions] .enquiry-layout>.enquiry-aside{padding:clamp(22px,3vw,32px);background:#ecf2e9;border:1px solid #d5dfd6;border-radius:10px;box-sizing:border-box}
body[data-contact-actions][data-firstliners-editorial] :is(.guide-next,.csca-next,.kc-next,.sg-related,.editorial-next-step){background-color:#123d33!important;color:#fffdf4}
body[data-contact-actions][data-firstliners-editorial] :is(.guide-next,.csca-next,.kc-next,.sg-related,.editorial-next-step) :is(h2,h3,p,li,dt,dd,strong){color:#fffdf4}
body[data-contact-actions][data-firstliners-editorial] :is(.guide-next,.csca-next,.kc-next,.sg-related,.editorial-next-step) :is(small,.small){color:#e3eee5}
body[data-contact-actions][data-firstliners-editorial] :is(.guide-next,.csca-next,.kc-next,.sg-related,.editorial-next-step) :is(.eyebrow,a:not(.button)){color:#e7c77e}
body[data-contact-actions][data-firstliners-editorial] :is(.guide-next,.csca-next,.kc-next,.sg-related,.editorial-next-step) .button:not(.outline):not(.contact-whatsapp){background:#e7c77e!important;border-color:#e7c77e!important;color:#12362f!important}
body[data-contact-actions][data-firstliners-editorial] :is(.guide-next,.csca-next,.kc-next,.sg-related,.editorial-next-step) .button.outline{background:transparent!important;border-color:#d3dfd4!important;color:#fffdf4!important}
body[data-contact-actions][data-firstliners-editorial] :is(.guide-next,.csca-next,.kc-next,.sg-related,.editorial-next-step) .button.contact-whatsapp{background:#087b48!important;border-color:#b9d5c2!important;color:#fff!important}
@media(max-width:380px){body[data-editorial-page=home] .service-steps>details>div{padding-inline:22px}}
@media(max-width:680px){body[data-contact-actions] :is(.kc-step-list,.kc-csca-path)>li{padding:22px 22px 22px 70px}}
@media print{body[data-contact-actions][data-firstliners-editorial] :is(.guide-next,.csca-next,.kc-next,.sg-related,.editorial-next-step){background:#fff!important;color:#000!important}body[data-contact-actions][data-firstliners-editorial] :is(.guide-next,.csca-next,.kc-next,.sg-related,.editorial-next-step) :is(h2,h3,p,li,dt,dd,strong,small,a){color:#000!important}}
