/* Shared palette for the four pages preceding Campus Life.
   Scoped to opt-in pages; responsive layouts and photography are unchanged. */
.palette-refresh {
  --paper: #fdfcf9;
  --warm: #f1f3f2;
  --line: #dce1df;
  --ink: #292d30;
  --muted: #575e61;
  --accent: #e08a3c;
  --accent-dark: var(--brand-text);
  background: var(--paper);
}
.palette-refresh .solid-button,
.palette-refresh .ac-button,
.palette-refresh .ac-assessment-apply,
.palette-refresh .ac-page .ac-university-results-button {
  background: var(--accent); color: #202124;
}
.palette-refresh .solid-button:hover,
.palette-refresh .ac-button:hover,
.palette-refresh .ac-assessment-apply:hover,
.palette-refresh .ac-page .ac-university-results-button:hover {
  background: #ef9e55; color: #202124;
}

/* Homepage: keep the cinematic dark sections and open up the light ones. */
.palette-refresh .school-mission { background: #f1f3f2; }
.palette-refresh .editorial-trust,
.palette-refresh .campus-panorama,
.palette-refresh .campus-ecology { background: #fdfcf9; }
.palette-refresh .editorial-trust .editorial-credentials figure,
.palette-refresh .glo-section .academic-panel { background: #eef1f2; }
.palette-refresh #classroom-experience.micro-experience { background: #fdfcf9; }
.palette-refresh #classroom-experience.micro-experience .micro-points span {
  background: #edf0ef; color: #424e50;
}
.palette-refresh #admissions.admissions { background: #f1f3f2; }
.palette-refresh #outcomes .destinations-action a {
  background: var(--accent); color: #202124;
}
.palette-refresh #outcomes .destinations-action a:hover {
  background: #ef9e55; color: #202124;
}

/* Academic content: neutral course surfaces, a consistent orange active state. */
.palette-refresh .ac-course-table-wrap,
.palette-refresh .ac-guide-body,
.palette-refresh .ac-page .ac-early-timeline,
.palette-refresh .ac-hs-overview { background: #eef1f2; }
.palette-refresh .ac-ms-learning { background: #f0f2ef; }
.palette-refresh .ac-hs-years,
.palette-refresh .ac-ms-opening .ac-ms-age-index,
.palette-refresh .ac-es-opening .ac-es-age-index {
  background: rgba(239,243,241,.96); color: #424e50;
}
.palette-refresh .ac-pathway-band,
.palette-refresh .ac-pathway-band::before,
.palette-refresh .ac-pathway-band .ac-reading-nav,
.palette-refresh .ac-pathway-band .ac-reading-nav.is-pinned,
.palette-refresh .ac-pathway-band .ac-reading-nav.is-pinned::before { background: #2f3236; }
.palette-refresh .ac-pathway-band .ac-reading-nav a[aria-current],
.palette-refresh .ac-pathway-band .ac-reading-nav a[aria-current]:hover {
  background: var(--accent); color: #202124;
}
.palette-refresh .ac-university-tabs button { color: #424e50; }
.palette-refresh .ac-university-tabs button:hover { background: #f8eadc; }
.palette-refresh .ac-university-tabs button[aria-selected="true"] {
  background: var(--accent); color: #202124;
}
.palette-refresh .ac-page .ac-early-timeline .ac-phase-label {
  background: #dfe5e1; color: #344640;
}
.palette-refresh .ac-course-table .ac-course-code,
.palette-refresh .ac-course-standard-name { color: #424e50; }

/* Faculty: lighter leadership feature, subtle separation for teaching. */
.palette-refresh .fc-page { --fc-gold: var(--brand-text); --fc-dark: #2f3236; }
.palette-refresh .fc-head.fc-message { background: #eef1f2; }
.palette-refresh .fc-teaching { background: #f0f2ef; }
.palette-refresh .fc-directory-controls select { background-color: #fdfcf9; color: #343b3e; }
.palette-refresh .fc-directory-more { color: var(--brand-text); }
.palette-refresh .fc-directory-more:hover { background: #f8eadc; }
.palette-refresh .fc-filters button { color: #626b6e; }
.palette-refresh .fc-filters button[aria-pressed=true] {
  color: #292d30; border-bottom-color: var(--accent);
}
.palette-refresh .fc-link,
.palette-refresh .fc-message .fc-head-copy .fc-message-eyebrow,
.palette-refresh .fc-message .fc-message-quote p { color: var(--brand-text); }
.palette-refresh .fc-message .fc-head-copy .fc-message-note,
.palette-refresh .fc-page .fc-leadership-grid .fc-person-copy > .fc-credential,
.palette-refresh .fc-page .fc-support-team .fc-person-copy > p.fc-support-credential,
.palette-refresh .fc-page .fc-support-team .fc-person-copy > p.fc-support-bio { color: #626b6e; }

/* Outcomes: distinguish the directory, guidance, and invitation. */
.palette-refresh .oc-page { --oc-gold: var(--brand-text); --oc-dark: #2f3236; }
.palette-refresh .oc-directory { background: #f0f2ef; }
.palette-refresh .oc-support-section { background: #eef1f2; }
.palette-refresh .oc-logo-section { background: #fdfcf9; }
.palette-refresh .oc-closing-section { background: #f4f1eb; }
.palette-refresh .oc-journey-band,
.palette-refresh .oc-story-panel { background: #2f3236; }
.palette-refresh .oc-tools input,
.palette-refresh .oc-tools select { background: #fdfcf9; color: #343b3e; }
.palette-refresh .oc-years button,
.palette-refresh .oc-story-select button,
.palette-refresh .oc-support-choice { color: #626b6e; }
.palette-refresh .oc-years button[aria-pressed=true],
.palette-refresh .oc-story-select button[aria-pressed=true] {
  color: #292d30; border-bottom-color: var(--accent);
}
.palette-refresh .oc-support-choice:hover { background: #e3e9e6; color: #292d30; }
.palette-refresh .oc-support-choice[aria-expanded="true"] {
  background: #dbe4df; color: #293d34;
}
.palette-refresh .oc-text-link,
.palette-refresh .oc-tools button,
.palette-refresh .oc-logo-toggle,
.palette-refresh .oc-directory-summary .oc-year-intro h3 { color: var(--brand-text); }
.palette-refresh .oc-page .oc-support-panel .oc-step-lead,
.palette-refresh .oc-page .oc-support-step .oc-step-lead { color: #424e50; }
.palette-refresh .oc-page .oc-note { color: #626b6e; }
.palette-refresh .oc-ivy-tag { background: #e1e8e3; color: #344640; }

/* These colour rules follow all existing mobile styles, so small screens use
   the same palette without changing their type sizes, stacking or spacing. */

/* Filled orange controls should not inherit the former charcoal border. */
.palette-refresh .solid-button,
.palette-refresh .ac-button,
.palette-refresh .ac-assessment-apply,
.palette-refresh .ac-page .ac-university-results-button,
.palette-refresh .ac-page .ac-university-results-button:hover,
.palette-refresh .ac-university-tabs button[aria-selected="true"],
.palette-refresh .ac-university-tabs button[aria-selected="true"]:hover,
.palette-refresh #outcomes .destinations-action a { border-color: transparent; }

/* Explicit sticky state for the academic stage index, on every viewport. */
.palette-refresh .ac-pathway-band .ac-reading-nav.is-pinned a[aria-current],
.palette-refresh .ac-pathway-band .ac-reading-nav.is-pinned a[aria-current]:hover {
  background: var(--accent); color: #202124;
}

/* Deep charcoal labels with medium weight on orange filled controls. */
.palette-refresh .solid-button,
.palette-refresh .solid-button:hover,
.palette-refresh .ac-button,
.palette-refresh .ac-button:hover,
.palette-refresh .ac-assessment-apply,
.palette-refresh .ac-assessment-apply:hover,
.palette-refresh .ac-page .ac-university-results-button,
.palette-refresh .ac-page .ac-university-results-button:hover,
.palette-refresh #outcomes .destinations-action a,
.palette-refresh #outcomes .destinations-action a:hover,
.palette-refresh .ac-university-tabs button[aria-selected="true"],
.palette-refresh .ac-university-tabs button[aria-selected="true"]:hover,
.palette-refresh .ac-pathway-band .ac-reading-nav a[aria-current],
.palette-refresh .ac-pathway-band .ac-reading-nav a[aria-current]:hover,
.palette-refresh .ac-pathway-band .ac-reading-nav.is-pinned a[aria-current],
.palette-refresh .ac-pathway-band .ac-reading-nav.is-pinned a[aria-current]:hover {
  color: #2f3236; font-weight: 600;
}
