/* Source: /login.css */
:root{color-scheme:light;--ink:#152544;--muted:#52617b;--navy:#102344;--lime:#ddf4a5;--line:#cbd7e8;--focus:#52617b;--focus-dark:#d5e1f3}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 8% 30%,#dae7f6 0,transparent 45%),linear-gradient(145deg,#f7faff,#edf3fc);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.6}button,input,select,textarea{font:inherit}a{color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,main:focus-visible,.error:focus-visible{outline:2px solid var(--focus);outline-offset:3px}input,select,textarea{border-radius:10px}input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:0 0 0 5px #52617b24}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2rem,4.5vw,3.3rem)}h2{font-size:1.5rem}h3{font-size:1.15rem}[hidden]{display:none!important}.skip-link{position:fixed;left:16px;top:-80px;padding:12px 18px;background:#fff;z-index:100;border-radius:10px}.skip-link:focus{top:10px}.development-notice{display:flex;align-items:center;justify-content:center;gap:8px;background:#e4eccf;color:#344923;padding:8px 18px;font-size:15px}.development-notice span[aria-hidden="true"],.scope-status span{height:6px;width:6px;border-radius:50%;background:#567131;flex-shrink:0}.header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px max(24px,calc((100vw - 1100px)/2));border-bottom:1px solid var(--line);background:#f8fbff}.brand{display:flex;align-items:center;gap:11px;text-decoration:none}.brand img{display:block;flex-shrink:0}.brand strong{display:block;font-size:1.35rem;letter-spacing:-.055em;line-height:1}.brand small{display:block;font-size:.55rem;letter-spacing:.18em;margin-top:6px}main{width:min(1100px,calc(100% - 48px));margin:44px auto 0}.intro{max-width:730px;margin-bottom:30px}.intro>p:last-child{font-size:18px;color:var(--muted);margin-top:16px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:15px;font-weight:700;color:#49658f;margin-bottom:12px}.workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr);gap:24px;align-items:start}.auth-panel{min-width:0;padding:27px;border:1px solid var(--line);border-radius:22px;background:#fafdff;box-shadow:inset 0 1px 0 #fff,0 16px 36px #1023440a}.panel-heading{margin-bottom:20px}.panel-heading p{font-size:16px;color:var(--muted);margin-top:9px}.loading{padding:22px;background:#edf3fc;border:1px solid var(--line);border-radius:14px;color:var(--muted);font-size:18px}.error{padding:15px;border:1px solid #dca9a5;background:#fff2f0;color:#762b30;font-size:16px;border-radius:12px;margin:16px 0}.scope-panel{min-width:0;padding:30px;border:1px solid #355382;border-radius:22px;background:radial-gradient(ellipse at top right,#354773,transparent 80%),var(--navy);color:#f1f6ff;box-shadow:0 18px 38px #10234413}.scope-panel .eyebrow{color:#bed5f6}.scope-panel p:not(.eyebrow){font-size:18px;color:#c7d7ef;margin-top:17px}.scope-panel p.privacy-note{font-size:15px;color:#bfd0e8}.scope-status{display:flex;align-items:center;gap:10px;padding:15px 0 0;margin-top:18px;border-top:1px solid #456184;font-size:16px}.scope-status span{background:var(--lime)}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}button{border:1px solid #233e70;border-radius:12px;background:#233e70;color:white;padding:11px 16px;min-height:44px;font-size:16px;font-weight:600}.secondary{background:#fff;color:#233e70;border-color:#b5c5df}.retry{margin-top:18px}.auth-switch{display:flex;gap:20px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:24px;font-size:16px}.auth-switch a{border-radius:4px;text-underline-offset:3px}#verification-state{margin-top:12px;color:var(--muted);font-size:18px}#identity-panel{padding:20px;border:1px solid #cbd8eb;background:#f6f9ff;border-radius:16px}#verified-details{margin:20px 0 0;font-size:16px}#verified-details div{padding:11px 0;border-top:1px solid var(--line)}dt{font-size:16px;color:var(--muted)}dd{margin:2px 0 0;overflow-wrap:anywhere}#auth-mount{min-width:0;max-width:100%}#auth-mount .cl-rootBox,#auth-mount .cl-cardBox,#auth-mount .cl-card{width:100%;max-width:100%;min-width:0}#auth-mount .cl-card{box-shadow:none}footer{width:min(1100px,calc(100% - 48px));margin:32px auto;padding:18px 0;border-top:1px solid var(--line);font-size:15px;color:var(--muted)}
@supports(backdrop-filter:blur(1px)){.header{background:#f8fbffed;backdrop-filter:blur(10px)}.auth-panel{background:#fafdfff2}}
@media(max-width:760px){main{width:calc(100% - 32px);margin-top:30px}.workspace{grid-template-columns:minmax(0,1fr);gap:18px}.auth-panel,.scope-panel{padding:22px}.header{padding:18px 20px}.brand strong{font-size:1.25rem}.intro{margin-bottom:23px}footer{width:calc(100% - 32px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.header{backdrop-filter:none}}
@media(prefers-reduced-transparency:reduce){.header{background:#f8fbff;backdrop-filter:none}.auth-panel{background:#fafdff}}
@media(forced-colors:active){a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,main:focus-visible,.error:focus-visible{outline:2px solid Highlight}input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:none}.scope-panel{background:Canvas;color:CanvasText}}

.application-context{padding:24px;margin:0 0 24px;border:1px solid #b1c1db;border-radius:18px;background:#f5f9ff}.application-context p{margin-top:14px;font-size:18px}.application-context a{display:inline-block;margin-top:16px;font-size:1rem;text-underline-offset:4px}

.sign-in-again{display:inline-block;margin-top:18px;text-underline-offset:4px}.sign-in-again[hidden]{display:none}.scope-panel a{color:inherit;text-underline-offset:4px}.scope-panel a:focus-visible{outline-color:#fff}

label{font-size:16px}small{font-size:15px}#auth-mount .cl-formFieldLabel{font-size:16px}#auth-mount .cl-formFieldInput,#auth-mount .cl-formButtonPrimary,#auth-mount .cl-socialButtonsBlockButton{font-size:16px}#auth-mount .cl-footerActionText,#auth-mount .cl-formFieldHintText{font-size:15px}

/* Company information stays readable on account screens. */
.auth-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.auth-footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; overflow-wrap: anywhere; }
.auth-footer p { margin-top: 18px; font-size: 15px; }


/* Source: /site-depth.css */
/* Light, edges and a soft second shadow give surfaces depth without shifting their contents. */
:root {
  --depth-edge: #bccde1;
  --depth-shadow: 0 2px 5px #132b4810, 0 16px 32px -12px #18375730;
  --depth-button: inset 0 1px 0 #ffffff42, inset 0 -1px 0 #06162b24, 0 3px 6px #10244012, 0 8px 18px -8px #10244040;
  --depth-ease: cubic-bezier(.2, .7, .25, 1);
}
.header {
  background: #f7faff;
  border-bottom-color: #c4d3e6;
  box-shadow: inset 0 1px 0 #fff, 0 1px 3px #102b4510, 0 10px 30px -18px #102b4540;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header {
    background: #f7faffeb;
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
  }
}
body :is(.university-card, .finder-result, .guide-card, .programme-result, .download-card,
  .profile-side, .housing-option, .service-card, .student-story, .video-card,
  .review-preview, .process-step, .guide-tools > a, .programme-group, .subject-tile) {
  border-color: var(--depth-edge);
  box-shadow: inset 0 1px 0 #ffffffed, inset 1px 0 0 #ffffff80, var(--depth-shadow);
}
body :is(.university-card, .guide-card, .download-card, .finder-result) {
  background-image: linear-gradient(145deg, #fff 0%, #f8fbff 55%, #edf4fc 100%);
}
.downloads .download-card {
  border-left: 5px solid #b8cde7;
  background-image: linear-gradient(115deg, #e6eef9 0, #fff 26px, #f4f8fd 100%);
  box-shadow: 2px 2px 0 #d9e5f3, 4px 4px 0 #edf3fa, 0 14px 28px -12px #10244036;
}
body :is(.page-heading, .profile-top, .contact-banner, .hero-scene, .guide-opening, .guide-hub-opening) {
  box-shadow: inset 0 1px 0 #ffffff52, 0 2px 6px #12284012, 0 24px 46px -20px #10244038;
}
.gallery-grid figure {
  background: #f7faff;
  border: 1px solid var(--depth-edge);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 #fff, var(--depth-shadow);
  overflow: hidden;
}
.gallery-grid figcaption { padding: 13px 16px; margin: 0; }
body :is(a.button, button.button, .save-control, .compare-control,
  .hero-view-controls button, .subject-choice > span, .finder-subject) {
  box-shadow: var(--depth-button);
}
body :is(.button.outline, .save-control, .compare-control) {
  background-image: linear-gradient(160deg, #fff, #f0f6fd);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #d5e0ee80, 0 3px 7px #1227410c, 0 8px 18px -12px #12274138;
}
body :is(.save-control, .compare-control)[aria-pressed=true] {
  background-image: none;
  box-shadow: inset 0 1px 3px #14284021, 0 1px 0 #ffffff;
}
body .button:is(:hover, :active) { transform: none; }
body .button:active { box-shadow: inset 0 1px 4px #081a3329, 0 1px 2px #12274112; }
/* A steady illuminated edge marks the main action. Its text and target stay still. */
body a.apply-cta,
body .header .nav-links > a.apply-cta,
body .header .nav-links > a.apply-cta:is(:hover, [aria-current=page]) {
  position: relative;
  isolation: isolate;
  background: linear-gradient(145deg, #effbcf, #d8eea6 70%, #cfe69d);
  color: #14283b;
  border: 1px solid #e4f3bd;
  min-height: 54px;
  padding: 14px 24px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 750;
  text-align: center;
  border-radius: 15px;
  box-shadow: inset 0 1px 0 #ffffffcc, inset 0 -1px 0 #71944d45, 0 2px 4px #283c2314, 0 9px 20px -8px #71964b5c;
  transform: none;
  overflow: visible;
}
.apply-cta::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border: 1px solid #d8eeb578;
  border-radius: inherit;
  box-shadow: 0 0 18px #b5d67e26;
  pointer-events: none;
  animation: none !important;
}
body a.apply-cta:hover { filter: brightness(1.035); }
body a.apply-cta:active { box-shadow: inset 0 2px 4px #71944d35, 0 1px 3px #283c2314; }
body .header .nav-actions > a.nav-login,
body .apply-dock > a.dock-login {
  background: linear-gradient(145deg, #fff, #edf4fd);
  border-color: #bbcee5;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #cbd9eb66, 0 2px 4px #1024400c, 0 8px 18px -10px #10244035;
}
.header .utility-inner { min-height: 44px; }
.header .utility-inner > div { align-items: center; }
.apply-dock { display: none; }
body[data-depth-release] .mobile-contact { display: none !important; }
body:has(dialog[open]) .apply-dock,
body:has(.nav-links.is-open) .apply-dock,
body:has(.compare-tray:not([hidden])) .apply-dock { visibility: hidden; pointer-events: none; }
@media (min-width: 1000px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html:not([data-ui-motion=off]) body:not([data-ui-task]) :is(.university-card, .guide-card, .download-card, .finder-result) {
    transition: transform 240ms var(--depth-ease), box-shadow 240ms var(--depth-ease), border-color 200ms ease;
  }
  html:not([data-ui-motion=off]) body:not([data-ui-task]) :is(.university-card, .guide-card, .download-card, .finder-result):hover {
    transform: perspective(1600px) translateY(-4px) rotateX(.6deg) rotateY(-.45deg);
    border-color: #89a9d0;
    box-shadow: inset 0 1px 0 #fff, inset 1px 0 0 #ffffffbf, 0 3px 6px #10244010, 0 24px 38px -14px #17395840;
  }
  body :is(.university-card, .guide-card, .download-card, .finder-result):focus-within { transform: none !important; }
  body:not([data-ui-task]) :is(.button, .save-control, .compare-control, .finder-subject, .hero-view-controls button) {
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  }
}
@media (max-width: 960px) {
  .apply-dock {
    position: static;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 440px;
    width: calc(100% - 36px);
    margin: 20px auto calc(20px + env(safe-area-inset-bottom));
    padding: 10px;
    background: linear-gradient(145deg, #203a59, #122b48);
    border: 1px solid #547293;
    border-radius: 23px;
    box-shadow: inset 0 1px 0 #ffffff45, inset 0 -1px 0 #091b312e, 0 4px 8px #06192f15, 0 18px 38px -14px #06192f80;
  }
  body .apply-dock .apply-cta { flex: 1; min-width: 0; min-height: 52px; padding: 13px 14px; }
}
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #f7fafff7; }
  body :is(.university-card, .guide-card, .finder-result, .programme-result, .service-card, .profile-side) {
    box-shadow: inset 0 1px 0 #ffffffed, 0 2px 4px #1024400c, 0 12px 22px -12px #10244035;
  }
  .downloads .download-card { box-shadow: 2px 2px 0 #d9e5f3, 4px 4px 0 #edf3fa, 0 12px 22px -14px #10244038; }
}
@media (max-width: 760px) { .header .utility-inner { min-height: 28px; } }
html[data-ui-motion=off] :is(.button, .university-card, .guide-card, .download-card, .finder-result,
  .hero-campus-scene, .hero-student-preview, .university-card .card-photo img,
  .guide-card .guide-card-image img) { transform: none !important; transition: none !important; }
/* Inputs and financial controls retain fixed positions and clear, opaque surfaces. */
body :is(form, .application-entry, .enquiry-layout, .journey-panel, .prep-panel) :is(.button, button, input, select, textarea) { transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  body :is(.button, .save-control, .compare-control, .finder-subject, .hero-view-controls button,
    .university-card, .guide-card, .download-card, .finder-result, .hero-campus-scene) { transform: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .header { background: #f7faff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .apply-dock { background: #142d4b; }
}
@media (forced-colors: active) {
  .header, .apply-dock { background: Canvas; border-color: CanvasText; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body :is(.university-card, .finder-result, .guide-card, .programme-result, .download-card, .profile-side,
    .housing-option, .service-card, .student-story, .video-card, .review-preview, .process-step,
    .guide-tools > a, .programme-group, .subject-tile, .page-heading, .profile-top,
    .contact-banner, .hero-scene, .guide-opening, .guide-hub-opening, .gallery-grid figure) { box-shadow: none; border-color: CanvasText; background-image: none; }
  body :is(a.button, button.button, .save-control, .compare-control, .hero-view-controls button,
    .subject-choice > span, .finder-subject), body a.apply-cta,
  body .header .nav-links > a.apply-cta, body .header .nav-actions > a.nav-login,
  body .apply-dock > a.dock-login { color: ButtonText; background: ButtonFace; border-color: ButtonText; box-shadow: none; }
  body .immersive-hero .hero-view-controls,
  body .immersive-hero .hero-view-controls button { forced-color-adjust: auto; }
  body .immersive-hero .hero-view-controls button {
    color: ButtonText !important;
    background: ButtonFace !important;
    border: 2px solid transparent;
    box-shadow: none !important;
  }
  body .immersive-hero .hero-view-controls button[aria-selected=true] {
    color: CanvasText !important;
    background: Canvas !important;
    border-color: Highlight !important;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
  .apply-cta::after { display: none; }
}


/* Source: /reading.css */
/* Readable student pages. This layer follows the existing page styles. */
body { font-size: 18px; line-height: 1.7; }
body main p { font-size: 18px !important; line-height: 1.7; }
body main :is(input, select, textarea, label, button) { font-size: 16px !important; }
body :is(.button, .text-action, .text-link, .save-control, .compare-control) {
  font-size: 16px !important;
  line-height: 1.5;
}
body main :is(input, select, textarea) { min-width: 0; }
body main :is(p, li, dd, label) { overflow-wrap: anywhere; }

/* Supporting facts remain easy to read without competing with page headings. */
body main small,
body main :is(.small, .eyebrow, .pill, .breadcrumbs, .card-location,
  .profile-stats small, .fee-title p, .fee-table th, .fee-table td small,
  .fee-total span, .housing-option small, .gallery-grid figcaption,
  .programme-photograph figcaption, .finder-result-photo figcaption,
  .mobile-campus-photo figcaption, .founder-portrait figcaption,
  .guide-byline, .guide-breadcrumb, .guide-card-date, .guide-reading p.guide-small,
  .guide-reading .guide-evidence, .guide-tuition-table small,
  .guide-tuition-table caption, .guide-budget-parts span) {
  font-size: 15px !important;
  line-height: 1.65;
}
body .eyebrow { letter-spacing: .08em; }
body main :is(.finder-filter-line p, .finder-preview-note, .finder-bottom > span,
  .finder-result-university, .finder-location, .finder-price-label,
  .finder-billing, .finder-result-details, .finder-facts span,
  .finder-results-line p, .returning-plan p, .review-fallback summary,
  .field-help, .enquiry-actions p, .enquiry-aside > p,
  .enquiry-aside .responsibility-grid p, .enquiry-aside .contact-direct small) {
  font-size: 16px !important;
  line-height: 1.65;
}
body .subject-choice > span { font-size: 16px !important; }
body .finder-result-subject { font-size: 15px !important; }
body :is(.finder-result-enquiry, .finder-result-details, .finder-result-prepare,
  .programme-prepare-link, .application-card-link, .review-preview-copy > a,
  .campus-guide-entry, .campus-guide-entry a, .card-link) {
  font-size: 16px !important;
}

/* Labels, consent and payment units are part of the task, not fine print. */
body :is(.filter-bar, .programme-filters, .quick-finder, .finder-filter-line,
  .journey-panel, .prep-choice, .prep-panel, .enquiry-layout) .field label {
  font-size: 16px !important;
  line-height: 1.55;
}
body :is(.enquiry-fieldset legend, .journey-check, .prep-check,
  .journey-small, .journey-mode p, .journey-choice p, .journey-choice small,
  .journey-currency, .journey-check-item p, .journey-check-item select,
  .journey-history-row time, .prep-small, .prep-privacy, .prep-selected p,
  .prep-doc-item p, .prep-doc-item select, .prep-doc-item label,
  .prep-practice-heading, .prep-calendar-list time) {
  font-size: 16px !important;
  line-height: 1.65;
}
body :is(.fee-table, .journey-fees, .guide-tuition-table) {
  font-size: 16px !important;
  line-height: 1.6;
}
body :is(.fee-table, .journey-fees, .guide-tuition-table) small {
  font-size: 15px !important;
}
body .prep-answer .journey-fees td:nth-child(2)::before,
body .prep-answer .journey-fees td:nth-child(3)::before {
  font-size: 15px !important;
  line-height: 1.5;
}
body .prep-tool-nav button { font-size: 16px !important; }
body .prep-tool-nav small { font-size: 15px !important; line-height: 1.55; }
body .prep-tool-icon { font-size: 14px !important; }
body .prep-topics button { font-size: 16px !important; }

/* Keep navigation compact, with room for names and hints to wrap. */
.header :is(.nav-links, .nav-links > a, .nav-plan, .programme-toggle,
  .programme-panel-head > a, .menu-button) { font-size: 15px !important; }
.programme-group > h2 { font-size: 15px !important; line-height: 1.5; letter-spacing: .05em; }
.programme-category strong { font-size: 16px !important; line-height: 1.4; }
.programme-category small { font-size: 15px !important; line-height: 1.5; }
.programme-category > :is(span, div) { min-width: 0; }
.programme-category :is(strong, small) { overflow-wrap: anywhere; }
.programme-panel-head > a { white-space: normal; text-align: right; }
body .hero-subjects a { font-size: 15px !important; line-height: 1.5; }
body .hero-view-controls button { font-size: 16px !important; }
body .hero-view-controls button > span { font-size: 14px !important; }
body .immersive-hero :is(.hero-intake, .scene-label, .campus-location,
  .hero-evidence span, .hero-student-preview span, .hero-student-preview small) {
  font-size: 15px !important;
  line-height: 1.5;
}
body .immersive-hero .hero-student-preview strong { font-size: 16px !important; line-height: 1.4; }
body .immersive-hero :is(.campus-scene-copy p, .hero-founder-copy p,
  .hero-people-copy p, .hero-support-link, .campus-scene-copy > a,
  .hero-people-copy > a, .hero-founder-copy > a) { font-size: 16px !important; line-height: 1.6; }
.header .utility-inner { font-size: 14px; line-height: 1.5; letter-spacing: .05em; }
.header .utility-inner a { font-size: 15px; }
.header .utility-inner > span { min-width: 0; }
.footer :is(.footer-bottom, .footer-links, .footer-email, .footer-wecom,
  .footer-top .small, .social-link) { font-size: 15px !important; line-height: 1.65; }

@media (max-width: 760px) {
  body main p { line-height: 1.65; }
  .header .utility-inner { gap: 12px; padding-block: 6px; align-items: center; }
  .header .utility-inner > span { font-size: 12px; line-height: 1.5; }
  .header .nav-links { align-items: stretch; }
  .programme-panel-head { align-items: flex-start; }
  .programme-panel-head > a { text-align: left; }
  .programme-category { min-height: 76px; }
  body .prep-tool-nav button { min-width: 195px; min-height: 78px; }
  body .hero-view-controls { flex-wrap: wrap; }
  body .hero-view-controls button { padding-inline: 12px; }
  body .hero-subjects { gap: 8px 14px; }
  body .hero-subjects a { min-height: 44px; }
  body .immersive-hero .hero-student-preview { flex-wrap: wrap; }
  body .immersive-hero .hero-student-preview > div { min-width: 0; flex: 1 1 155px; }
  body .enquiry-aside .responsibility-grid p { overflow-wrap: normal; }
  body .prep-doc-item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body .prep-doc-item > div { min-width: 0; }
  body .prep-doc-item select { width: 100%; }
}
@media (max-width: 420px) {
  .programme-panel-head { flex-direction: column; gap: 8px; }
  body .hero-view-controls button > span { display: none; }
  body .hero-view-controls button { padding-inline: 10px; }
  body .hero-people-scene { grid-template-columns: minmax(0, 1fr); }
  body .hero-review-video { width: 100%; max-width: 210px; justify-self: center; }
  body .hero-people-copy { min-width: 0; }
  body .prep-practice-heading { flex-wrap: wrap; }
}

/* Student login and Apply now form one aligned action group. */
.header .nav-actions { display: flex; align-items: stretch; gap: 10px; flex: 0 0 auto; }
body .header .nav-actions > a { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; font-size: 16px; line-height: 1.35; font-weight: 700; border-radius: 15px; white-space: nowrap; }
body .header .nav-actions > .nav-login { padding: 14px 20px; border: 1px solid #9bb1ce; color: #16314e; background: #f6f9fd; box-shadow: inset 0 1px 0 #fff, 0 3px 0 #b7c8dc70, 0 7px 14px #12274112; }
body .apply-dock { gap: 12px; }
body .apply-dock > a { display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 54px; line-height: 1.35; font-size: 16px; font-weight: 700; border-radius: 15px; text-align: center; }
body .apply-dock > .dock-login { flex: 1.25; padding: 14px 12px; background: #f6f9fd; color: #16314e; border: 1px solid #c3d1e4; box-shadow: inset 0 1px 0 #fff, 0 4px 0 #75879e; }
body .apply-dock > .apply-cta { flex: 1; padding: 14px 12px; }
@media (max-width: 1240px) { .header .nav-actions { width: 100%; } body .header .nav-actions > a { flex: 1; white-space: normal; } }

.header .utility-partners { font-weight: 600; }
@media (min-width: 1241px) { .header .nav-links > a[href="/for-universities/"] { display: none !important; } }
@media (max-width: 1240px) { .header .utility-partners { display: none; } }

@media (min-width: 1241px) and (max-width: 1400px) { .header .nav-links { flex-wrap: wrap; justify-content: flex-end; gap: 12px 18px; } .header .nav { padding-block: 16px; } }

body .apply-dock > a { height: 54px !important; min-height: 54px !important; }

/* Mobile visual order follows the search-first document order. */
@media (max-width: 760px) {
  .immersive-hero .hero-copy > * { order: 0; }
}

/* Keep desktop discovery visible without squeezing every control into one row. */
@media (min-width: 961px) and (max-width: 1380px) {
  .header .nav { flex-wrap: wrap; gap: 8px 16px; padding-block: 14px; }
  .header .brand { flex: 1 1 auto; }
  .header .menu-button { display: none; }
  .header .nav-links, .header .nav-links.is-open { display: contents; }
  .header .nav::after { content: ''; flex-basis: 100%; height: 0; order: 0; }
  .header .nav-links > :is(a, .programme-menu, .nav-plan) { order: 1; }
  .header .nav-links > .nav-actions { order: 0; width: auto; }
  body .header .nav-actions > a { flex: 0 0 auto; white-space: nowrap; }
  .header .programme-menu { width: auto; }
  .header .programme-toggle { width: auto; }
  .header .programme-panel {
    position: absolute; left: 50%; top: calc(100% - 1px); transform: translateX(-50%);
    width: min(1080px, calc(100vw - 48px)); max-height: calc(100dvh - var(--header-height) - 16px);
    overflow-y: auto; margin: 0; padding: 26px; border-radius: 0 0 24px 24px;
    background: #fbfcff; box-shadow: 0 24px 48px #09183624;
  }
}
@media (min-width: 961px) {
  .header .utility-partners { display: flex; }
  .header .nav-links > a[href="/for-universities/"] { display: none !important; }
}


/* Source: /assets/editorial-ui.css */
/* FirstLiners editorial design. Authentic campus media and the existing page architecture. */
body[data-editorial-page] {
  --paper: #f3f0e8; --ink: #152b36; --muted: #53615f; --line: #ced2c8;
  --forest: #264f40; --lime: #dcedaf; --navy: #142d3c;
  background: var(--paper); color: var(--ink); background-image: none;
}
body[data-editorial-page]::before,
body[data-editorial-page]::after { content: none !important; }
body[data-editorial-page] .shell { width: calc(100% - 80px); max-width: 1280px; }
body[data-editorial-page] .header { background: var(--paper); box-shadow: none; border-bottom: 1px solid var(--line); }
body[data-editorial-page] .brand-utility { background: var(--navy); }
body[data-editorial-page] .utility-inner { min-height: 30px; font-size: 12px; }
body[data-editorial-page] .header .nav { min-height: 84px; padding-block: 14px; }
body[data-editorial-page] .nav-links { font-size: 14px; gap: 18px; }
body[data-editorial-page] .nav-links .button { border-radius: 7px; min-height: 44px; font-size: 14px; padding: 10px 16px; box-shadow: none; }
body[data-editorial-page] .brand strong { color: var(--navy); }
body[data-editorial-page] .button { border-radius: 7px; box-shadow: none; min-height: 48px; font-size: 15px; }
body[data-editorial-page] .button.dark { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
body[data-editorial-page] .button.outline { color: var(--navy); border: 1px solid #83938a; background: transparent; }
body[data-editorial-page] .eyebrow { color: var(--forest); font-size: 11px; letter-spacing: .13em; }
body[data-editorial-page] h2 { letter-spacing: -.04em; color: var(--ink); }
body[data-editorial-page] .text-link { color: var(--forest); text-underline-offset: 5px; }
body[data-editorial-page] a:focus-visible,
body[data-editorial-page] button:focus-visible,
body[data-editorial-page] input:focus-visible,
body[data-editorial-page] select:focus-visible,
body[data-editorial-page] summary:focus-visible { outline: 3px solid #347451 !important; outline-offset: 4px !important; }
body[data-editorial-page] .footer a:focus-visible,
body[data-editorial-page] .zip-feature a:focus-visible { outline-color: var(--lime) !important; }
body[data-editorial-page] .discovery-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
body[data-editorial-page] .discovery-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); text-decoration: underline; text-underline-offset: 5px; }

/* The first decision is a university search, grounded by a real campus. */
body[data-editorial-page="home"] .immersive-hero { background: var(--paper); color: var(--ink); overflow: hidden; border-bottom: 1px solid var(--line); }
body[data-editorial-page="home"] .immersive-hero::before,
body[data-editorial-page="home"] .immersive-hero::after,
body[data-editorial-page="home"] .immersive-stage::before,
body[data-editorial-page="home"] .immersive-stage::after { content: none !important; }
body[data-editorial-page="home"] .immersive-layout { grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); gap: 60px; padding-block: 44px 46px; min-height: 0; align-items: center; }
body[data-editorial-page="home"] .hero-copy { max-width: 580px; }
body[data-editorial-page="home"] .hero-intake { color: var(--forest); margin-bottom: 24px; font-size: 11px; }
body[data-editorial-page="home"] .hero-intake > span { background: var(--forest); box-shadow: none; }
body[data-editorial-page="home"] .immersive-hero h1 { color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(42px,4.9vw,70px); letter-spacing: -.06em; line-height: 1.05; margin: 0 0 23px; text-shadow: none; }
body[data-editorial-page="home"] .immersive-hero h1 > span { color: var(--forest); font: inherit; font-style: italic; }
body[data-editorial-page="home"] .hero-copy > p { color: var(--muted); max-width: 460px; font-size: 17px; line-height: 1.7; margin: 0 0 28px; }
body[data-editorial-page="home"] .hero-finder { display: block; background: transparent; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: 0; }
body[data-editorial-page="home"] .discovery-search-label { display: block; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
body[data-editorial-page="home"] .discovery-search-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; padding: 6px; border: 1px solid #acb9ae; border-radius: 9px; background: #fffef9; box-shadow: 0 5px 0 #dfe3d6; }
body[data-editorial-page="home"] .hero-finder input { width: 100%; min-width: 0; min-height: 48px; font-size: 15px; padding: 10px; border: 0; background: transparent; color: var(--ink); }
body[data-editorial-page="home"] .hero-finder button { width: auto; min-height: 48px; padding: 12px 17px; font-size: 14px; }
body[data-editorial-page="home"] .discovery-links { margin-top: 9px; }
body[data-editorial-page="home"] .hero-subjects { margin: 8px 0 0; gap: 4px 16px; }
body[data-editorial-page="home"] .hero-subjects a { color: var(--forest); background: transparent; border: 0; border-radius: 0; min-height: 40px; padding: 4px 0; font-size: 13px; text-decoration: underline; text-decoration-color: #9fac99; text-underline-offset: 5px; }
body[data-editorial-page="home"] .hero-actions { margin-top: 23px; gap: 18px; }
body[data-editorial-page="home"] .hero-primary { background: var(--lime); border: 1px solid #a7ba80; color: var(--navy); border-radius: 7px; min-height: 46px; padding: 11px 17px; font-size: 14px; box-shadow: none; }
body[data-editorial-page="home"] .hero-support-link { color: var(--forest); min-height: 44px; font-size: 14px; border-color: #96a595; }
body[data-editorial-page="home"] .hero-copy > .hero-zip-note { font-size: 12px; line-height: 1.65; max-width: 455px; color: var(--muted); margin: 13px 0 0; }
body[data-editorial-page="home"] .immersive-stage { min-height: 0; padding: 0; justify-content: flex-start; align-self: center; }
body[data-editorial-page="home"] .hero-scene { flex: none; border-radius: 4px; border: 0; min-height: 0; max-height: none; height: 570px; background: var(--navy); box-shadow: none; transform: none !important; }
body[data-editorial-page="home"] .hero-campus-scene { overflow: hidden; padding: 0 !important; }
body[data-editorial-page="home"] .cosmos-campus-frame { inset: 0; border-radius: 4px; transform: none !important; margin: 0; }
body[data-editorial-page="home"] .cosmos-campus-frame img { object-fit: cover; object-position: center; width: 100%; height: 100%; transform: none !important; filter: none; }
body[data-editorial-page="home"] .cosmos-campus-frame::after { background: linear-gradient(180deg, transparent 52%,#102b35b3 80%,#102b35ed); }
body[data-editorial-page="home"] .hero-campus-scene > .scene-label { left: 25px; top: 24px; background: #173644e8; border-radius: 2px; padding: 7px 10px; color: #fff; font-size: 10px; }
body[data-editorial-page="home"] .campus-location { display: none; }
body[data-editorial-page="home"] .campus-scene-copy { left: 27px; bottom: 26px; right: 25px; }
body[data-editorial-page="home"] .campus-scene-copy h2 { font-family: Georgia,'Times New Roman',serif; font-size: 37px; font-weight: 400; line-height: 1.1; color: #fff; margin-bottom: 10px; }
body[data-editorial-page="home"] .campus-scene-copy p { color: #e1e9e3; font-size: 13px; margin-bottom: 12px; }
body[data-editorial-page="home"] .campus-scene-copy > a { color: var(--lime); font-size: 14px; min-height: 44px; }
body[data-editorial-page="home"] .hero-view-controls { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 13px 0 0; gap: 23px; align-self: flex-start; }
body[data-editorial-page="home"] .hero-view-controls button { background: transparent; border: 0; border-radius: 0; border-bottom: 2px solid transparent; padding: 7px 0; color: var(--muted); min-height: 44px; font-size: 13px; box-shadow: none; }
body[data-editorial-page="home"] .hero-view-controls button[aria-selected="true"] { color: var(--forest); border-color: var(--forest); }
body[data-editorial-page="home"] .hero-view-controls button span { display: none; }
body[data-editorial-page="home"] .hero-people-copy { color: #fff; }
body[data-editorial-page="home"] .hero-people-copy h2 { color: #fff; }
body[data-editorial-page="home"] .hero-people-copy a { color: var(--lime); }
body[data-editorial-page="home"] .hero-people-copy .scene-label { color: #fff; }
body[data-editorial-page="home"] .homepage-stories > .hero-student-preview { position: static; display: inline-flex; margin-top: 24px; max-width: 480px; width: 100%; background: #e5eade; border: 1px solid var(--line); border-radius: 6px; box-shadow: none; color: var(--ink); }

/* Programme and university surfaces keep their real, labelled data and controls. */
body[data-editorial-page="home"] .section { padding-block: 65px; }
body[data-editorial-page="home"] .homepage-campuses { background: transparent; border-radius: 0; padding-inline: 0; }
body[data-editorial-page="home"] .homepage-campuses h2,
body[data-editorial-page="home"] .finder-intro h2,
body[data-editorial-page="home"] .home-study-guides h2 { font-family: Georgia,'Times New Roman',serif; font-weight: 400; font-size: 44px; line-height: 1.1; }
body[data-editorial-page="home"] .university-card { border: 1px solid var(--line); border-radius: 5px; background: #fffef9; box-shadow: none; transform: none !important; }
body[data-editorial-page="home"] .card-photo { border-radius: 4px 4px 0 0; aspect-ratio: 1.85; }
body[data-editorial-page="home"] .card-photo img { transform: none !important; }
body[data-editorial-page="home"] .card-body { background: #fffef9; }
body[data-editorial-page="home"] .card-body h3 { font-size: 20px; letter-spacing: -.035em; }
body[data-editorial-page="home"] .card-tools { background: #ebeede; border-top: 1px solid var(--line); }
body[data-editorial-page="home"] .pill { background: #e9eddf; color: var(--forest); border: 1px solid #cbd5c1; border-radius: 3px; }
body[data-editorial-page="home"] .homepage-programme-finder { border-block: 1px solid var(--line); }
body[data-editorial-page="home"] #home-finder { background: #e5eade; border-radius: 5px; border: 1px solid #c8d2c1; box-shadow: none; }
body[data-editorial-page="home"] .subject-choice > span { background: #f9f8f1; border-color: #afbfad; color: var(--ink); border-radius: 4px; }
body[data-editorial-page="home"] .subject-choice input:checked + span { background: var(--forest); color: #fff; border-color: var(--forest); }
body[data-editorial-page="home"] .finder-result { border-radius: 5px; background: #fffef9; border-color: var(--line); box-shadow: none; }
body[data-editorial-page="home"] .guide-card { border-radius: 4px; background: #fffef9; border-color: var(--line); box-shadow: none; }
body[data-editorial-page="home"] .guide-card-image { border-radius: 4px 4px 0 0; }
body[data-editorial-page="home"] .company-service { border-top: 1px solid var(--line); }
body[data-editorial-page="home"] .service-steps details { background: #e5eade; border-radius: 5px; border-color: var(--line); }
body[data-editorial-page="home"] .homepage-founder { background: #e1e7dc; }
body[data-editorial-page="home"] .founder-portrait { border-radius: 4px; box-shadow: none; }
body[data-editorial-page="home"] .contact-banner { background: var(--lime); border-radius: 5px; box-shadow: none; border: 1px solid #b9cb98; }

/* Depth has a job: named documents become one pack, then a manual adviser handoff. */
body[data-editorial-page="home"] .zip-feature { margin-block: 60px 0; background: var(--navy); color: #e4ece7; border: 0; border-radius: 6px; padding: 42px; grid-template-columns: minmax(0,1.7fr) minmax(200px,1fr); gap: 40px; box-shadow: none; }
body[data-editorial-page="home"] .zip-feature::before,
body[data-editorial-page="home"] .zip-feature::after { content: none !important; }
body[data-editorial-page="home"] .zip-feature h2 { color: #fff; font-family: Georgia,'Times New Roman',serif; font-weight: 400; font-size: 42px; line-height: 1.1; }
body[data-editorial-page="home"] .zip-feature .eyebrow { color: var(--lime); }
body[data-editorial-page="home"] .zip-feature p { color: #d7e2de; font-size: 16px; }
body[data-editorial-page="home"] .zip-feature small { color: #d7e2de; font-size: 12px; }
body[data-editorial-page="home"] .zip-feature-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-block: 30px 20px; }
body[data-editorial-page="home"] .zip-feature-steps li { display: flex; flex-direction: column; align-items: flex-start; padding: 17px 13px; gap: 13px; min-height: 116px; color: var(--ink); background: #f5f3e8; border: 1px solid #c3cfc2; border-radius: 3px; box-shadow: 4px 4px 0 #677d6f; font-size: 13px; }
body[data-editorial-page="home"] .zip-feature-steps li:nth-child(2) { background: #e4edcf; box-shadow: 4px 4px 0 #839668; }
body[data-editorial-page="home"] .zip-feature-steps li:nth-child(3) { background: #c8dccd; box-shadow: 4px 4px 0 #5b8067; }
body[data-editorial-page="home"] .zip-feature-steps li > span { color: var(--forest); background: transparent; border-radius: 0; padding: 0; width: auto; height: auto; font-family: Georgia,serif; font-size: 25px; }
body[data-editorial-page="home"] .zip-feature .prep-entry-actions .button { background: var(--lime); color: var(--navy); border: 1px solid #b8ce90; }
body[data-editorial-page="home"] .zip-feature .text-link { color: #e5f0d6; font-size: 13px; }

/* Retained university-directory proposal: same facts and existing search handlers. */
body[data-editorial-page="universities"] .page-heading { background: var(--navy); border-radius: 5px; box-shadow: none; margin-top: 30px; padding: 35px; }
body[data-editorial-page="universities"] .page-heading h1 { color: #fff; font-family: Georgia,serif; font-weight: 400; }
body[data-editorial-page="universities"] .page-heading .eyebrow { color: var(--lime); }
body[data-editorial-page="universities"] .page-heading p { color: #d7e2df; }
body[data-editorial-page="universities"] .page-heading a { color: #e3f2ce; }
body[data-editorial-page="universities"] .filter-bar { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 23px; border-radius: 5px; background: #e5eade; border: 1px solid var(--line); box-shadow: none; }
body[data-editorial-page="universities"] .filter-bar .field:first-child { grid-column: 1/-1; }
body[data-editorial-page="universities"] #university-search { min-height: 52px; font-size: 17px; }
body[data-editorial-page="universities"] #directory-search-help { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }

/* University first view: identity, exact degree facts and campus, before application. */
body[data-editorial-page="profile"] .breadcrumbs { padding-block: 22px 12px; font-size: 12px; color: var(--muted); }
body[data-editorial-page="profile"] .editorial-profile-hero { padding-block: 10px 28px; }
body[data-editorial-page="profile"] .profile-top { display: block; padding: 0; background: transparent; border: 0; box-shadow: none; margin: 0 0 26px; }
body[data-editorial-page="profile"] .profile-identity { margin-bottom: 14px; gap: 17px; }
body[data-editorial-page="profile"] .profile-identity .university-logo { width: auto !important; height: 40px !important; max-width: 160px !important; object-fit: contain; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
body[data-editorial-page="profile"] .profile-identity .eyebrow { font-size: 10px; margin-bottom: 3px; }
body[data-editorial-page="profile"] .profile-identity p { color: var(--muted); font-size: 13px; }
body[data-editorial-page="profile"] .profile-title { font-family: Georgia,'Times New Roman',serif; font-weight: 400; font-size: clamp(38px,4.9vw,66px); color: var(--ink); letter-spacing: -.055em; line-height: 1.08; max-width: none; }
body[data-editorial-page="profile"] .editorial-profile-study { display: grid; grid-template-columns: minmax(230px,1fr) minmax(0,2.6fr); gap: 28px; }
body[data-editorial-page="profile"] .profile-stats { margin: 0; padding: 0; background: var(--navy); border: 0; border-radius: 5px; }
body[data-editorial-page="profile"] .editorial-facts { display: grid; grid-template-columns: 1fr; gap: 0; padding: 22px 25px; }
body[data-editorial-page="profile"] .editorial-facts > div { padding: 12px 0; border-bottom: 1px solid #6d8a883d; }
body[data-editorial-page="profile"] .editorial-facts > div:last-child { border: 0; }
body[data-editorial-page="profile"] .profile-stats small { color: #cbdbd5; font-size: 10px; letter-spacing: .08em; }
body[data-editorial-page="profile"] .profile-stats strong { display: block; color: #fff; font-size: 19px; line-height: 1.45; font-weight: 500; margin-top: 7px; }
body[data-editorial-page="profile"] .editorial-facts > div:nth-child(2) strong { font-size: 15px; }
body[data-editorial-page="profile"] .editorial-facts > div:last-child strong { color: var(--lime); font-size: 27px; letter-spacing: -.04em; }
body[data-editorial-page="profile"] .editorial-profile-campus { margin: 0; display: flex; flex-direction: column; min-width: 0; background: #e2e8dd; border-radius: 4px; overflow: hidden; }
body[data-editorial-page="profile"] .profile-photo { display: block; margin: 0; width: 100%; max-width: none; height: 100%; min-height: 335px; aspect-ratio: auto; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
body[data-editorial-page="profile"] .editorial-profile-campus figcaption { font-size: 11px; color: var(--forest); padding: 10px 14px; background: #e2e8dd; }
body[data-editorial-page="profile"] .editorial-profile-jumps { display: flex; flex-wrap: wrap; gap: 6px 30px; padding-block: 16px 0; }
body[data-editorial-page="profile"] .editorial-profile-jumps a { display: inline-flex; align-items: center; min-height: 44px; gap: 15px; color: var(--forest); font-size: 14px; border-bottom: 1px solid #aab9a4; }
body[data-editorial-page="profile"] .section-nav { margin-top: 0; background: #e1e7dc; border-block: 1px solid #c0cebb; box-shadow: none; }
body[data-editorial-page="profile"] .section-nav .shell { padding-block: 15px; font-size: 13px; gap: 32px; }
body[data-editorial-page="profile"] .section-nav a { color: var(--forest); }
body[data-editorial-page="profile"] .profile-content { padding-top: 50px; }
body[data-editorial-page="profile"] .content-section { border-color: var(--line); padding-bottom: 48px; }
body[data-editorial-page="profile"] .content-section + .content-section { padding-top: 44px; }
body[data-editorial-page="profile"] .content-section > h2 { font-family: Georgia,serif; font-weight: 400; font-size: 40px; margin-block: 13px 24px; }
body[data-editorial-page="profile"] .reading { color: var(--muted); max-width: 860px; font-size: 17px; line-height: 1.85; }
body[data-editorial-page="profile"] .info-list { border-color: var(--line); }
body[data-editorial-page="profile"] .info-list li { background: transparent; border-color: var(--line); }
body[data-editorial-page="profile"] .info-list p { color: var(--muted); line-height: 1.8; }
body[data-editorial-page="profile"] .programme { background: var(--navy); color: #e1e8e4; border-radius: 5px; border: 0; box-shadow: none; }
body[data-editorial-page="profile"] .programme h3 { color: #fff; }
body[data-editorial-page="profile"] .programme .pill { background: #244934; border: 1px solid #648368; color: #eaf3df; border-radius: 3px; }
body[data-editorial-page="profile"] .fee-tabs { border-radius: 5px; background: #dbe4d2; }
body[data-editorial-page="profile"] .fee-tabs button { border-radius: 4px; color: var(--forest); }
body[data-editorial-page="profile"] .fee-tabs button[aria-pressed="true"] { background: var(--forest); color: #fff; }
body[data-editorial-page="profile"] .fee-plan { border-radius: 5px; border-color: #b5c6ad; background: #fffef8; box-shadow: none; }
body[data-editorial-page="profile"] .fee-title { background: #e5eade; }
body[data-editorial-page="profile"] .fee-title h3 { color: var(--ink); }
body[data-editorial-page="profile"] .fee-title p { color: var(--muted); }
body[data-editorial-page="profile"] .fee-total { background: var(--navy); color: #fff; }
body[data-editorial-page="profile"] .fee-total strong { color: var(--lime); }
body[data-editorial-page="profile"] .fee-total small { color: #d7e3dc; }
body[data-editorial-page="profile"] .fee-notes { background: #e4e9dd; color: var(--muted); border-radius: 4px; }
body[data-editorial-page="profile"] .housing-option,
body[data-editorial-page="profile"] .download-card { background: #fffef8; border: 1px solid var(--line); border-radius: 4px; box-shadow: none; }
body[data-editorial-page="profile"] .gallery-grid figure { border-radius: 4px; background: #e2e8dd; }
body[data-editorial-page="profile"] .gallery-grid img { border-radius: 4px 4px 0 0; }
body[data-editorial-page="profile"] .editorial-next-step { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; background: #e1e7dc; padding: 36px; border: 1px solid #bdcbb4; border-radius: 5px; margin-top: 30px; }
body[data-editorial-page="profile"] .editorial-next-step h2 { font-family: Georgia,serif; font-size: 34px; line-height: 1.1; font-weight: 400; margin: 13px 0 20px; }
body[data-editorial-page="profile"] .editorial-next-step p { color: var(--muted); font-size: 15px; line-height: 1.8; }
body[data-editorial-page="profile"] .editorial-next-copy .button { margin-top: 23px; white-space: normal; text-align: center; }
body[data-editorial-page="profile"] .editorial-next-copy .text-link { display: flex; align-items: center; min-height: 44px; margin-top: 13px; font-size: 14px; }
body[data-editorial-page="profile"] .profile-side { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
body[data-editorial-page="profile"] .profile-side > p { display: block; }
body[data-editorial-page="profile"] .profile-side .button { width: 100%; display: flex; justify-content: center; align-items: center; border-radius: 7px; min-height: 48px; padding: 13px 17px; font-size: 14px; line-height: 1.4; white-space: normal; text-align: center; }
body[data-editorial-page="profile"] .contact-banner { background: var(--lime); border-radius: 5px; box-shadow: none; border: 1px solid #b9cb98; }

@media (max-width: 1100px) {
  body[data-editorial-page] .shell { width: calc(100% - 48px); }
  body[data-editorial-page] .nav-links { gap: 12px 16px; }
  body[data-editorial-page="home"] .immersive-layout { gap: 30px; }
  body[data-editorial-page="home"] .hero-finder button { font-size: 13px; padding-inline: 13px; }
  body[data-editorial-page="home"] .hero-scene { height: 575px; }
  body[data-editorial-page="profile"] .editorial-profile-study { gap: 18px; grid-template-columns: minmax(225px,1fr) minmax(0,2fr); }
  body[data-editorial-page="profile"] .profile-title { font-size: 54px; }
}
@media (max-width: 960px) {
  body[data-editorial-page] .header .nav { min-height: 72px; padding-block: 10px; }
  body[data-editorial-page] .nav-links { background: var(--paper); }
  body[data-editorial-page] .nav-links .button { width: 100%; }
  body[data-editorial-page] .apply-dock { background: #e1e7dc; border-color: var(--line); border-radius: 5px; box-shadow: none; }
  body[data-editorial-page] .apply-dock .button { min-height: 48px; border-radius: 7px; }
  body[data-editorial-page="home"] .discovery-search-controls { grid-template-columns: 1fr; }
  body[data-editorial-page="home"] .hero-finder button { width: 100%; }
  body[data-editorial-page="home"] .zip-feature { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
}
@media (max-width: 760px) {
  body[data-editorial-page] .shell { width: calc(100% - 40px); }
  body[data-editorial-page] .utility-inner { min-height: 27px; font-size: 10px; }
  body[data-editorial-page] .header .brand strong { font-size: 21px; }
  body[data-editorial-page] .header .nav { min-height: 70px; }
  body[data-editorial-page] .menu-button { border-radius: 5px; padding: 10px 14px; background: var(--navy); color: #fff; }
  body[data-editorial-page="home"] .immersive-layout { grid-template-columns: 1fr; padding-block: 32px 27px; gap: 18px; }
  body[data-editorial-page="home"] .hero-copy > * { order: initial; }
  body[data-editorial-page="home"] .hero-intake { margin-bottom: 16px; font-size: 10px; }
  body[data-editorial-page="home"] .immersive-hero h1 { font-size: clamp(40px,10.8vw,55px); margin-bottom: 17px; line-height: 1.08; letter-spacing: -.05em; }
  body[data-editorial-page="home"] .hero-copy > p { font-size: 15px; line-height: 1.65; margin-bottom: 22px; }
  body[data-editorial-page="home"] .discovery-search-label { font-size: 13px; }
  body[data-editorial-page="home"] .discovery-search-controls { grid-template-columns: minmax(0,1fr) auto; }
  body[data-editorial-page="home"] .hero-finder input { min-height: 48px; font-size: 14px; padding: 8px 5px; }
  body[data-editorial-page="home"] .hero-finder button { font-size: 12px; width: auto; padding: 10px 12px; }
  body[data-editorial-page="home"] .hero-finder button span { display: none; }
  body[data-editorial-page="home"] .discovery-links { gap: 4px 19px; font-size: 12px; margin-top: 8px; }
  body[data-editorial-page="home"] .hero-subjects { gap: 3px 15px; margin-top: 0; }
  body[data-editorial-page="home"] .hero-subjects a { font-size: 12px; min-height: 35px; }
  body[data-editorial-page="home"] .hero-actions { margin-top: 13px; gap: 8px 19px; }
  body[data-editorial-page="home"] .hero-primary { font-size: 13px; padding: 10px 13px; }
  body[data-editorial-page="home"] .hero-support-link { font-size: 12px; }
  body[data-editorial-page="home"] .hero-copy > .hero-zip-note { font-size: 11px; margin: 11px 0 20px; }
  body[data-editorial-page="home"] .mobile-campus-photo { display: block; border-radius: 4px; margin: 0; background: #e1e7dc; }
  body[data-editorial-page="home"] .mobile-campus-photo img { width: 100%; height: auto; aspect-ratio: 2.15; object-fit: cover; }
  body[data-editorial-page="home"] .mobile-campus-photo figcaption { color: var(--forest); font-size: 10px; padding: 7px 10px; background: #e1e7dc; }
  body[data-editorial-page="home"] .hero-scene { height: auto; min-height: 0; }
  body[data-editorial-page="home"] .hero-campus-scene { background: transparent; }
  body[data-editorial-page="home"] .hero-campus-scene .campus-scene-copy { position: static; padding: 0; margin: 0; }
  body[data-editorial-page="home"] .hero-campus-scene .campus-scene-copy > a { color: var(--forest); font-size: 13px; }
  body[data-editorial-page="home"] .hero-view-controls { margin-top: 10px; }
  body[data-editorial-page="home"] .hero-people-scene { min-height: 290px; background: var(--navy); border-radius: 4px; }
  body[data-editorial-page="home"] .hero-founder-scene { min-height: 340px; }
  body[data-editorial-page="home"] .section { padding-block: 38px; }
  body[data-editorial-page="home"] .homepage-campuses h2,
  body[data-editorial-page="home"] .finder-intro h2,
  body[data-editorial-page="home"] .home-study-guides h2 { font-size: 32px; }
  body[data-editorial-page="home"] .zip-feature { padding: 24px; margin-top: 32px; }
  body[data-editorial-page="home"] .zip-feature h2 { font-size: 32px; }
  body[data-editorial-page="home"] .zip-feature p { font-size: 14px; }
  body[data-editorial-page="home"] .zip-feature-steps { grid-template-columns: 1fr; gap: 13px; margin-block: 25px 18px; }
  body[data-editorial-page="home"] .zip-feature-steps li { min-height: 65px; flex-direction: row; align-items: center; gap: 19px; font-size: 13px; padding: 13px; }
  body[data-editorial-page="universities"] .page-heading { padding: 25px; }
  body[data-editorial-page="universities"] .filter-bar { grid-template-columns: 1fr; padding: 20px; }
  body[data-editorial-page="profile"] .breadcrumbs { padding-block: 16px 10px; font-size: 10px; line-height: 1.6; }
  body[data-editorial-page="profile"] .profile-top { margin-bottom: 20px; }
  body[data-editorial-page="profile"] .profile-identity { gap: 11px; margin-bottom: 14px; }
  body[data-editorial-page="profile"] .profile-identity .university-logo { max-width: 120px !important; height: 30px !important; }
  body[data-editorial-page="profile"] .profile-identity .eyebrow { font-size: 11px !important; letter-spacing: .08em; line-height: 1.5; }
  body[data-editorial-page="profile"] .profile-identity p { font-size: 12px; }
  body[data-editorial-page="profile"] .profile-title { font-size: 39px; line-height: 1.1; letter-spacing: -.06em; }
  body[data-editorial-page="profile"] .editorial-profile-study { grid-template-columns: 1fr; gap: 18px; }
  body[data-editorial-page="profile"] .editorial-facts { grid-template-columns: 1fr 1fr; gap: 17px 19px; padding: 20px; }
  body[data-editorial-page="profile"] .editorial-facts > div { padding: 0; border: 0; }
  body[data-editorial-page="profile"] .editorial-facts > div:nth-child(2) { grid-row: 2; grid-column: 1; }
  body[data-editorial-page="profile"] .editorial-facts > div:nth-child(3) { grid-row: 1; grid-column: 2; }
  body[data-editorial-page="profile"] .editorial-facts > div:nth-child(4) { grid-row: 2; grid-column: 2; }
  body[data-editorial-page="profile"] .profile-stats small { font-size: 8px; line-height: 1.7; }
  body[data-editorial-page="profile"] .profile-stats strong { font-size: 17px; line-height: 1.45; margin-top: 5px; }
  body[data-editorial-page="profile"] .editorial-facts > div:nth-child(2) strong { font-size: 12px; }
  body[data-editorial-page="profile"] .editorial-facts > div:last-child strong { font-size: 23px; }
  body[data-editorial-page="profile"] .profile-photo { height: auto; min-height: 0; aspect-ratio: 2.05; object-fit: cover; }
  body[data-editorial-page="profile"] .editorial-profile-campus figcaption { font-size: 9px; padding: 8px 10px; }
  body[data-editorial-page="profile"] .editorial-profile-jumps { gap: 0 21px; padding-top: 8px; }
  body[data-editorial-page="profile"] .editorial-profile-jumps a { font-size: 12px; min-height: 44px; gap: 12px; }
  body[data-editorial-page="profile"] .section-nav .shell { font-size: 12px; gap: 25px; padding-block: 12px; }
  body[data-editorial-page="profile"] .profile-content { padding-top: 32px; }
  body[data-editorial-page="profile"] .content-section > h2 { font-size: 31px; }
  body[data-editorial-page="profile"] .reading { font-size: 15px; }
  body[data-editorial-page="profile"] .content-section { padding-bottom: 34px; }
  body[data-editorial-page="profile"] .content-section + .content-section { padding-top: 31px; }
  body[data-editorial-page="profile"] .editorial-next-step { grid-template-columns: 1fr; gap: 30px; padding: 23px; }
  body[data-editorial-page="profile"] .editorial-next-step h2 { font-size: 30px; }
  body[data-editorial-page="profile"] .profile-side { display: grid; grid-template-columns: 1fr; gap: 12px; }
  body[data-editorial-page="profile"] .profile-side > * { grid-column: 1 !important; }
  body[data-editorial-page="profile"] .editorial-next-copy .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-editorial-page] *,
  body[data-editorial-page] *::before,
  body[data-editorial-page] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* The same material, type and controls across discovery and student tools. */
body[data-editorial-page] { --focus: #347451; --focus-dark: #dcedaf; }
body[data-editorial-page] .header { backdrop-filter: none; }
body[data-editorial-page] textarea:focus-visible,
body[data-editorial-page] [tabindex]:focus-visible { outline: 3px solid #347451 !important; outline-offset: 4px !important; }
body[data-editorial-page] :is(.page-heading,.partner-hero,.prep-opening,.journey-opening) {
  background: var(--navy); color: #e3eae5; border: 1px solid #294550;
  border-radius: 5px; box-shadow: none; margin-top: 30px; padding: 38px;
}
body[data-editorial-page] :is(.page-heading,.partner-hero,.prep-opening,.journey-opening)::before,
body[data-editorial-page] :is(.page-heading,.partner-hero,.prep-opening,.journey-opening)::after { content: none; }
body[data-editorial-page] :is(.page-heading,.partner-hero,.prep-opening,.journey-opening) h1 {
  font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: #fff;
  font-size: clamp(36px,4.1vw,60px); line-height: 1.13; letter-spacing: -.045em;
}
body[data-editorial-page] :is(.page-heading,.partner-hero,.prep-opening,.journey-opening) :is(p,.eyebrow,small) { color: #d5e2d9; }
body[data-editorial-page] :is(.page-heading,.partner-hero,.prep-opening,.journey-opening) :is(a,.text-link) { color: var(--lime); }
body[data-editorial-page] :is(.page-heading,.partner-hero,.prep-opening,.journey-opening) .button { background: var(--lime); color: var(--navy); border-color: #b9cb98; }
body[data-editorial-page] :is(.page-heading,.partner-hero,.prep-opening,.journey-opening,.dark-section,.guide-opening,.guide-hub-opening,.application-entry,.scope-panel) :focus-visible { outline-color: var(--lime) !important; }
body[data-editorial-page] :is(.university-card,.programme-result,.guide-card,.service-card,.process-step,.student-story,.download-card,.auth-panel,.application-context,.journey-panel,.prep-panel,.prep-choice,.document-preparation-entry,.apply-panel,.selected-plan,.enquiry-review,.consultation-next,.tuition-tool,.housing-option) {
  border-color: var(--line); background: #fffef9; border-radius: 5px; box-shadow: none;
}
body[data-editorial-page] :is(.guide-tools a,.guide-budget-parts > div,.guide-reading details,.preview-tools,.enquiry-aside,.prep-handoff,.journey-next,.guide-reading .guide-next,.contact-banner) { background: #e1e7dc; color: var(--ink); border: 1px solid #bdcbb4; border-radius: 5px; box-shadow: none; }
body[data-editorial-page] :is(.enquiry-aside,.consultation-next,.journey-next,.prep-handoff,.preview-tools,.contact-banner) :is(p,small,.eyebrow,li,label) { color: var(--muted); }
body[data-editorial-page] :is(.enquiry-aside,.consultation-next,.journey-next,.prep-handoff,.preview-tools,.contact-banner) :is(h2,h3,strong) { color: var(--ink); }
body[data-editorial-page] :is(.enquiry-aside,.consultation-next,.journey-next) :is(a.text-link,a:not(.button)) { color: var(--forest); }
body[data-editorial-page] :is(.programme-filters,.filter-bar) { background: #e5eade; border: 1px solid #c8d2c1; border-radius: 5px; box-shadow: none; }
body[data-editorial-page] :is(input:not([type=checkbox],[type=radio]),select,textarea) { color: var(--ink); background: #fffef9; border-color: #acb9ae; border-radius: 5px; }
body[data-editorial-page] :is(.programme-result,.guide-card,.service-card,.process-step,.journey-panel,.prep-panel) h2 { color: var(--ink); }
body[data-editorial-page] :is(.programme-price,.card-tools,.programme-expanded,.guide-table-scroll caption,.guide-reading .guide-evidence) { background: #e5eade; color: var(--ink); }
body[data-editorial-page] :is(.programme-price strong,.guide-reading h3,.programme-university,.guide-reading p,.guide-card p,.guide-card h3 a,.guide-jump a,.guide-breadcrumb a,.guide-tools span,.guide-tools small) { color: var(--forest); }
body[data-editorial-page] :is(.guide-layout,.programme-directory,.enquiry-layout) { padding-top: 36px; }
body[data-editorial-page] :is(.guide-opening,.guide-hub-opening,.application-entry,.scope-panel,.dark-section) { background: var(--navy); border-color: #294550; border-radius: 5px; box-shadow: none; }
body[data-editorial-page] :is(.guide-opening,.guide-hub-opening)::before { content: none; }
body[data-editorial-page] :is(.guide-opening,.guide-hub-opening) h1 { font-family: Georgia,serif; font-weight: 400; line-height: 1.12; }
body[data-editorial-page] :is(.guide-opening,.guide-hub-opening) figure { border-radius: 3px; border-color: #567268; }
body[data-editorial-page] :is(.guide-opening,.guide-hub-opening,.scope-panel) :is(p,figcaption,.guide-byline) { color: #d5e2d9; }
body[data-editorial-page] :is(.dark-section,.application-entry,.scope-panel) :is(h1,h2,h3) { color: #fff; }
body[data-editorial-page] :is(.dark-section,.application-entry,.scope-panel,.guide-opening,.guide-hub-opening) .eyebrow { color: var(--lime); }
body[data-editorial-page] .breadcrumbs a { color: var(--forest); }
body[data-editorial-page] .guide-reading h2 { font-family: Georgia,serif; font-weight: 400; font-size: clamp(27px,2.6vw,36px); color: var(--ink); }
body[data-editorial-page] .guide-reading .guide-evidence a { color: var(--forest); }
body[data-editorial-page] .guide-card { overflow: hidden; }
body[data-editorial-page] .guide-card-image { border-radius: 4px 4px 0 0; }
body[data-editorial-page] .guide-table-scroll { border-color: var(--line); border-radius: 4px; }
body[data-editorial-page] .guide-tuition-table thead { background: var(--navy); }
body[data-editorial-page] .guide-tuition-table th a { color: var(--forest); }
body[data-editorial-page] :is(.pill,.guide-topic-controls button) { background: #e9eddf; color: var(--forest); border: 1px solid #cbd5c1; border-radius: 4px; }
body[data-editorial-page] .guide-topic-controls button[aria-pressed=true] { background: var(--forest); color: #fff; border-color: var(--forest); }
body[data-editorial-page] :is(dialog,.explorer-dialog) { background: #fffef9; color: var(--ink); border-color: #a9bca7; border-radius: 6px; box-shadow: 0 24px 70px #142d3c33; }
body[data-editorial-page] dialog::backdrop { background: #142d3cb3; }
body[data-editorial-page] :is(.comparison-item,.shortlist-row,.dialog-head) { background: transparent; border-color: var(--line); border-radius: 4px; }
body[data-editorial-page] .account-nav-link { background: #e5eade; color: var(--navy); border-color: #afbfad; box-shadow: none; }
body[data-editorial-page] .light { background: #e1e7dc; }
body[data-editorial-page] .contact-banner { background: var(--lime); border-color: #b9cb98; }
body[data-editorial-page] .footer { background: var(--navy); color: #d8e2dd; border-color: #3f5c5b; }
body[data-editorial-page] .footer :is(h2,h3,strong,a) { color: #eef3e7; }
body[data-editorial-page="account"] .intro h1 { font-family: Georgia,serif; font-weight: 400; }
body[data-editorial-page="account"] :is(.loading,#identity-panel) { background: #e5eade; color: var(--ink); border-color: var(--line); border-radius: 5px; }
body[data-editorial-page="account"] :is(.scope-panel .eyebrow,.scope-status) { color: var(--lime); }
body[data-editorial-page="account"] :is(button,.secondary) { border-radius: 5px; }
body[data-editorial-page="profile"] .profile-identity > div { min-width: 0; }
body[data-editorial-page="profile"] .profile-identity .eyebrow { white-space: normal; overflow-wrap: anywhere; }
body[data-editorial-page="profile"] .editorial-facts > div { min-width: 0; }
body[data-editorial-page="profile"] .profile-stats small { font-size: 12px; }
body[data-editorial-page="home"] #home-preparation-tools.zip-feature { background: var(--navy); color: #e4ece7; border: 0; }
body[data-editorial-page="home"] #home-preparation-tools :is(h2,p,small) { color: #e4ece7; }
body[data-editorial-page="home"] #home-preparation-tools :is(.eyebrow,.text-link) { color: var(--lime); }
body[data-editorial-page="home"] .review-preview-media button { color: var(--lime); }
body[data-editorial-page="home"] :is(.hero-student-preview small,.service-steps details p) { color: var(--muted); }
body[data-editorial-page="profile"] .programme :is(p,small,.reading) { color: #d5e2d9; }
body[data-editorial-page] .application-entry #application-back { color: var(--lime); }
body[data-editorial-page] .eyebrow { font-size: 12px; }
@media(max-width: 960px) {
  body[data-editorial-page] .nav-links { top: 100%; }
}
@media(max-width: 760px) {
  body[data-editorial-page] :is(.page-heading,.partner-hero,.prep-opening,.journey-opening) { padding: 25px; margin-top: 22px; }
  body[data-editorial-page] :is(.page-heading,.partner-hero,.prep-opening,.journey-opening) h1 { font-size: clamp(32px,8.6vw,44px); }
  body[data-editorial-page="profile"] .editorial-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-editorial-page="profile"] .profile-title { font-size: clamp(31px,9.8vw,39px); overflow-wrap: normal; }
  body[data-editorial-page="profile"] .profile-identity .eyebrow { font-size: 12px !important; }
  body[data-editorial-page="profile"] .profile-stats small { font-size: 12px; letter-spacing: .03em; }
  body[data-editorial-page="profile"] .editorial-profile-campus figcaption { font-size: 12px; }
  body[data-editorial-page] :is(.programme-actions,.card-tools) { flex-wrap: wrap; }
  body[data-editorial-page] :is(.programme-directory,.enquiry-layout) { padding-top: 26px; }
}
@media(forced-colors:active) {
  body[data-editorial-page] :focus-visible { outline-color: Highlight !important; }
  body[data-editorial-page] :is(.page-heading,.guide-opening,.guide-hub-opening,.application-entry,.scope-panel,.profile-stats) { background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
}

