:root {
  color-scheme: light;
  --ink: #171f2a;
  --muted: #35465a;
  --line: #aebdca;
  --paper: #f2f6f7;
  --surface: #ffffff;
  --surface-strong: #e5edf0;
  --navy: #17283a;
  --teal: #00776d;
  --green: #3f7a43;
  --rose: #a13f5a;
  --amber: #93610f;
  --blue: #175f9a;
  --violet: #6751a0;
  --crimson: #a4123f;
  --slate: #435464;
  --wash: #ddece8;
  --shadow: 0 10px 26px rgba(23, 34, 48, 0.08);
  --radius: 8px;
  /* Canonical portal stack (matches the dashboard header) — system fonts first so
     hardcoded English renders identically on every page. */
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: hidden;
}

a {
  color: var(--blue);
  text-decoration-color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #0e4a78;
  text-decoration-color: currentColor;
}

strong {
  color: #111925;
  font-weight: 750;
}

/* Program emphasis: bold only, no color. Tried crimson; reads as visual
   noise next to blue school links. Bold is enough emphasis when the
   program acronym sits next to a colored linked school name. The colon
   between **School:** **Program.** plus the bold weight differentiates
   them visually without a third color in the palette.
   Schools = blue + bold + underline. Programs = bold only. Body = black
   regular. Headings = teal h2 / navy h3. Three-color system, not five. */
.program,
strong.program,
strong:has(a) + strong:not(:has(a)) {
  font-weight: 750;
}

/* All school links render bold consistently — whether the markdown source
   uses **School Name** explicitly or the auto-link feature catches a
   bare reference like "iCLA". Eliminates the "Yamanashi Gakuin (bold) +
   iCLA (not bold)" inconsistency across guide and uni pages. */
a[href*="universities/"],
a[href*="../universities/"],
a[href*="./universities/"] {
  font-weight: 700;
}

/* Unified heading colors across guide and university pages. */
.guide-content h2,
.university-content h2 {
  color: var(--teal);
}

.guide-content h3,
.university-content h3 {
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 0.8rem;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: static;
  z-index: 5;
  border-bottom: 1px solid rgba(217, 224, 232, 0.9);
  background: rgba(251, 252, 253, 0.94);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.site-affiliation {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

/* Money-type tag — does the family pay anything back? Shown on scholarship cards. */
.repay-tag {
  display: inline-block;
  width: fit-content;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
  border: 1px solid transparent;
}
.repay-not { background: #e8f3ec; border-color: #c2dccb; color: #1f6b3a; }
.repay-req { background: #fcf2e2; border-color: #eed9a8; color: #875812; }

.splash {
  min-height: calc(100vh - 58px);
  display: grid;
  align-items: center;
  background: var(--wash);
}

.splash-shell {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.splash-kicker {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.splash h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.splash p {
  max-width: 650px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  margin-top: 1.6rem;
  padding: 0.8rem 1.15rem;
  color: #fff;
  background: var(--navy);
  border-radius: 7px;
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.primary-action:hover,
.primary-action:focus-visible {
  color: #fff;
  background: #111f2d;
}

.overview-shell {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.overview-intro {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.overview-intro h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.overview-intro p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.guide-content {
  max-width: 850px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  grid-template-areas:
    "intro index"
    "main index";
  gap: 1.7rem 2.25rem;
  align-items: start;
}

.guide-intro {
  grid-area: intro;
}

.guide-main {
  grid-area: main;
}

.guide-content h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.guide-content h2 {
  scroll-margin-top: 5rem;
  margin: 2rem 0 0.75rem;
  padding-top: 1.2rem;
  border-top: 2px solid #87aaa4;
  color: var(--teal);
  font-size: 1.65rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
}

.guide-content h2 strong {
  color: inherit;
}

.guide-content h3 {
  margin: 1.25rem 0 0.45rem;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.guide-content h2 + h3 {
  margin-top: 0.7rem;
}

.guide-content p {
  max-width: 78ch;
}

/* (removed) .guide-content strong color override — was forcing all bold to
   teal #006b62, which clashed with the .program crimson rule and made the
   guide feel monochrome. Bold now inherits black; .program rule below
   colors known program acronyms in crimson with extra weight. */

.guide-content hr {
  height: 1px;
  margin: 1.4rem 0;
  border: 0;
  background: var(--line);
}

.guide-content hr + h2 {
  padding-top: 0;
  border-top: 0;
}

.guide-section {
  margin-top: 2rem;
}

.guide-section h2 {
  margin: 0 0 0.8rem;
  font-size: 1.65rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.guide-section > p {
  max-width: 760px;
  color: var(--muted);
}

.guide-index {
  grid-area: index;
  position: sticky;
  top: 5.2rem;
  max-height: calc(100vh - 6.5rem);
  overflow-y: auto;
  padding-left: 1rem;
  padding-right: 0.5rem;
  border-left: 2px solid var(--line);
}

.guide-index h2 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.guide-index .school-links {
  max-width: none;
  border-top: 1px solid var(--line);
}

.guide-index .school-link {
  gap: 0;
  padding: 0.58rem 0;
}

.guide-index .school-link strong {
  font-size: 0.94rem;
  line-height: 1.25;
}

.guide-index .school-link span {
  font-size: 0.82rem;
  line-height: 1.25;
}

.plain-steps {
  max-width: 820px;
  margin: 0;
  padding-left: 1.45rem;
}

.plain-steps li + li {
  margin-top: 0.75rem;
}

.school-links {
  display: grid;
  max-width: 820px;
  border-top: 1px solid var(--line);
}

.school-link {
  display: grid;
  gap: 0.12rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.school-link:hover,
.school-link:focus-visible {
  color: var(--blue);
}

.school-link span {
  color: var(--muted);
  font-size: 0.95rem;
}

.choice-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
}

.choice-item {
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  background: var(--surface);
}

.choice-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.choice-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.1rem 1.25rem 1.7rem;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.2rem, 5.1vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 720px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.intent-board {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(31, 48, 66, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.intent-kicker {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.intent-row {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 0.7rem;
  padding: 0.46rem 0;
  border-top: 1px solid rgba(214, 222, 230, 0.9);
}

.intent-mark {
  width: 4px;
  min-height: 100%;
  border-radius: 999px;
  background: var(--slate);
}

.tone-english-heavy-campus .intent-mark { background: var(--blue); }
.tone-bilingual .intent-mark { background: var(--violet); }
.tone-big-private .intent-mark { background: var(--rose); }
.tone-national-public .intent-mark { background: var(--green); }
.tone-stem .intent-mark { background: var(--teal); }
.tone-foreign-campus .intent-mark { background: var(--amber); }

.intent-copy {
  display: grid;
  gap: 0.1rem;
}

.intent-copy strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.2;
}

.intent-copy small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.content-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.4rem;
}

.search-box {
  display: grid;
  gap: 0.35rem;
}

.search-box label,
.filter-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.search-box input {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font: inherit;
}

.search-box input:focus {
  outline: 3px solid rgba(8, 125, 122, 0.18);
  border-color: var(--teal);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.filter-button {
  min-height: 2.35rem;
  padding: 0.45rem 0.58rem;
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter-button[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--navy);
  background: transparent;
}

.filter-button:focus-visible {
  outline: 3px solid rgba(47, 111, 178, 0.2);
}

.results-count {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.university-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--slate);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: none;
}

.university-card[data-category="english-heavy-campus"] { border-left-color: var(--blue); }
.university-card[data-category="bilingual"] { border-left-color: var(--violet); }
.university-card[data-category="big-private"] { border-left-color: var(--rose); }
.university-card[data-category="national-public"] { border-left-color: var(--green); }
.university-card[data-category="stem"] { border-left-color: var(--teal); }
.university-card[data-category="foreign-campus"] { border-left-color: var(--amber); }
.university-card[data-category="small-private"] { border-left-color: #8f6b2f; }

.card-eyebrow,
.meta-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.university-card h2 {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.university-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.card-fit {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.card-fit ul {
  display: grid;
  gap: 0.28rem;
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.card-actions {
  margin-top: auto;
  padding-top: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(31, 48, 66, 0.28);
  text-underline-offset: 0.22em;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--blue);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--ink);
}

.university-hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.university-hero-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.4rem;
}

.university-hero h1 {
  max-width: 880px;
  margin: 0.65rem 0 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.university-meta-line {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: 5px;
  color: var(--ink);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 800;
}

.badge.category-english-heavy-campus { border-left-color: var(--blue); }
.badge.category-bilingual { border-left-color: var(--violet); }
.badge.category-big-private { border-left-color: var(--rose); }
.badge.category-national-public { border-left-color: var(--green); }
.badge.category-stem { border-left-color: var(--teal); }
.badge.category-foreign-campus { border-left-color: var(--amber); }
.badge.category-small-private { border-left-color: #8f6b2f; }

.university-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.university-content {
  min-width: 0;
}

.university-content h2 {
  margin: 2.3rem 0 0.7rem;
  padding-top: 0.2rem;
  border-top: 1px solid var(--line);
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.university-content h2:first-child {
  margin-top: 0;
  border-top: none;
}

.university-content h3 {
  margin-top: 1.4rem;
  font-size: 1.12rem;
}

.university-content p,
.university-content li {
  max-width: 78ch;
}

.university-content ul,
.university-content ol {
  padding-left: 1.2rem;
}

.university-content li + li {
  margin-top: 0.32rem;
}

.table-wrap {
  max-width: 100%;
  margin: 1rem 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.university-content table,
.guide-content table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.university-content th,
.university-content td,
.guide-content th,
.guide-content td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  /* Japanese has no inter-word spaces: without this a long unbroken JA (or
     URL) run forces its column arbitrarily wide, pushing the table past its
     min-width and deepening the horizontal overflow. Let cells wrap. */
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.university-content th,
.guide-content th {
  color: var(--navy);
  background: var(--surface-strong);
  font-weight: 800;
}

.university-content tr:last-child td,
.guide-content tr:last-child td {
  border-bottom: 0;
}

/* The financing-guide markdown renderer emits bare tables (no .table-wrap),
   so the guide table carries its own outer border. */
.guide-content table {
  border: 1px solid var(--line);
  background: var(--surface);
}

/* Mobile: body{overflow-x:hidden} means a 620px-min table with no scroll
   wrapper is clipped off the right edge on a phone with no way to scroll.
   Drop the hard min-width so tables reflow to the viewport; cells that hold
   their own scroll wrapper (the JS-built ones) still scroll if truly wide. */
@media (max-width: 640px) {
  .university-content table,
  .guide-content table {
    min-width: 0;
    font-size: 0.86rem;
  }
  .university-content th,
  .university-content td,
  .guide-content th,
  .guide-content td {
    padding: 0.5rem 0.55rem;
  }
  /* Inline white-space:nowrap on the JS-built deadline/track cells forces
     wide columns for long JA date/award strings — let them wrap on phones. */
  .university-content td[style*="nowrap"],
  .guide-content td[style*="nowrap"] {
    white-space: normal !important;
  }
}

.university-content blockquote {
  margin: 1.2rem 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--teal);
  background: var(--surface-strong);
}

.side-panel {
  align-self: start;
  position: sticky;
  top: 5.1rem;
  display: grid;
  gap: 0.8rem;
}

.meta-card {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.meta-card p {
  margin: 0.25rem 0 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.35;
}

.meta-card ul {
  margin: 0.45rem 0 0;
  padding-left: 1rem;
}

.meta-card li {
  color: var(--muted);
  font-size: 0.92rem;
}

.toc {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.toc a {
  display: block;
  padding: 0.25rem 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--ink);
}

.empty-state {
  display: none;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: transparent;
}

.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.3rem;
  color: #a4adb6;
  font-size: 0.55rem;
  text-align: center;
  letter-spacing: 0.02em;
}

@media (max-width: 820px) {
  .hero-shell,
  .university-layout,
  .guide-layout,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .guide-layout {
    grid-template-areas:
      "intro"
      "index"
      "main";
    gap: 1.45rem;
  }

  .guide-index {
    position: static;
    padding: 1rem 0 0;
    border-top: 2px solid var(--teal);
    border-left: 0;
  }

  .guide-index h2 {
    color: var(--teal);
    font-size: 1.18rem;
  }

  .guide-index .school-link {
    padding: 0.68rem 0;
  }

  .filters {
    justify-content: flex-start;
  }

  .side-panel {
    position: static;
    order: -1;
  }

  .nav-shell {
    align-items: center;
    flex-direction: row;
  }

}

@media (max-width: 520px) {
  .hero-shell,
  .content-shell,
  .university-hero-shell,
  .university-layout {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-shell {
    gap: 1.1rem;
    padding-top: 1.55rem;
    padding-bottom: 1.25rem;
  }

  .intent-board {
    min-height: 0;
    padding: 0.85rem;
  }

  .intent-row {
    padding: 0.55rem 0;
  }

  .hero-copy h1,
  .university-hero h1 {
    font-size: 2.35rem;
    line-height: 1;
  }

  .splash-shell,
  .overview-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .splash h1 {
    font-size: 3.2rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand span:last-child {
    font-size: 0.95rem;
  }

  .site-affiliation {
    font-size: 0.82rem;
  }

  .guide-content h1 {
    font-size: 2.4rem;
    line-height: 1.02;
  }

  .guide-content h2 {
    color: var(--teal);
    font-size: 1.45rem;
  }

  .guide-index .school-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .guide-index .school-link {
    padding: 0.52rem 0;
  }

  .guide-index .school-link strong {
    font-size: 0.9rem;
  }

  .guide-index .school-link span {
    display: none;
  }
}

/* ───────────────────────────────────────────────────────────
   Financing & Scholarships additions (Guidance Engine)
   Reuses the guide's classes; only the few extras below are new.
   ─────────────────────────────────────────────────────────── */

/* Auth bar lives in the header affiliation slot */
.auth-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}
.auth-bar button {
  min-height: 2.2rem;
  padding: 0.35rem 0.7rem;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
}
.auth-bar button:hover { background: #111f2d; }

/* Award figure inside a stacked scholarship link */
.school-link .award { color: var(--teal); font-weight: 750; }

/* A clear, named call-to-action under a guide situation */
.situation-cta { margin: 0.6rem 0 0.2rem; }

/* Soft note / disclaimer block (reuses the guide's blockquote feel) */
.note {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.note strong { color: var(--ink); }

/* Named "how to apply" links — stacked, like the guide's official-links list */
.apply-links { display: grid; gap: 0; margin: 0.3rem 0 0; max-width: 820px; }

/* Loading + spinner for live data pages */
.loading { padding: 3rem 1rem; color: var(--muted); text-align: center; }
.spinner {
  display: inline-block; width: 22px; height: 22px; margin-bottom: 0.6rem;
  border: 3px solid var(--line); border-top-color: var(--teal);
  border-radius: 50%; animation: ge-spin 0.8s linear infinite;
}
@keyframes ge-spin { to { transform: rotate(360deg); } }

/* Hero subtitle for the financing/scholarship pages */
.hero-lead { max-width: 720px; margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; }
