/* GradLens — light floor, plum + teal (July 2026 reskin) */

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  /* GradLens colour rebrand, July 2026: light floor, plum lead + teal
     partner. Original dark UniLens tokens replaced here — see memory
     project_gradlens_rebrand for the agreed rulebook. */
  --bg: #eceaf3;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-hover: #f3f0f8;
  --text: #1b1530;
  --text-secondary: #4a4458;
  --text-muted: #7b7488;
  --border: rgba(27, 21, 48, 0.14);
  --accent: #6d3a9e;
  --accent-hover: #7e48b3;
  --accent-deep: #57277f;
  --accent-glow: rgba(109, 58, 158, 0.15);
  --accent2: #0e9e93;
  --accent2-glow: rgba(14, 158, 147, 0.15);
  --action: #e4572e;
  --green: #2e9e6b;
  --amber: #d9920f;
  --red: #d94a3d;
  --radius: 16px;
  --shadow: 0 6px 22px rgba(27, 21, 48, 0.12);
  --max-width: 840px;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(27, 21, 48, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-padding-top: 60px;
}

body {
  font-family: 'Inter', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans Devanagari', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #22d3ee; }

/* ── Header ─────────────────────────────────────── */

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 24px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.tagline {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Language toggle ──────────────────────────────── */

.lang-toggle {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.5px;
  min-height: 44px;
}

.lang-btn:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.lang-dropdown {
  position: fixed;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 140px;
  padding: 4px 0;
  z-index: 10000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-family: inherit;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}

.lang-option:hover {
  background: rgba(6, 182, 212, 0.1);
  color: var(--text);
}

.lang-option.active {
  color: var(--accent);
  font-weight: 600;
}

.lang-backdrop {
  display: none;
}

@media (max-width: 600px) {
  .lang-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
  }
  .lang-backdrop[hidden] { display: none; }
}

/* ── Country pill ────────────────────────────────── */

.country-pill-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.country-pill-btn {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  letter-spacing: 0.3px;
  white-space: nowrap;
  min-height: 44px;
}
.country-pill-btn:hover {
  color: var(--text);
  border-color: var(--text-muted);
}
.country-pill-btn.active {
  background: rgba(52, 211, 153, 0.15);
  border-color: var(--green);
  color: var(--green);
}
.country-pill-btn.has-flag {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: transparent;
  padding: 6px 8px;
}
.country-pill-btn.has-flag:hover { border-color: transparent; }
.hc-chip {
  display: inline-block;
  background: rgba(7, 11, 20, 0.74);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: normal;
  padding: 4px 10px;
  border-radius: 7px;
}
.country-pill-dropdown {
  position: fixed;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 220px;
  max-height: 360px;
  overflow-y: auto;
  padding: 4px 0;
  z-index: 10000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.country-pill-option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-family: inherit;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.country-pill-option:hover {
  background: rgba(6, 182, 212, 0.1);
  color: var(--text);
}
.country-pill-option.active {
  color: var(--green);
  font-weight: 600;
}
.country-pill-sep {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  padding: 10px 14px 4px;
  text-transform: uppercase;
}
.country-pill-backdrop {
  display: none;
  z-index: 9999;
}

@media (max-width: 600px) {
  .country-pill-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-radius: 16px 16px 0 0;
    min-width: 0;
    max-height: 60vh;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    z-index: 10000;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.6);
  }
  .country-pill-option {
    padding: 14px 20px;
    font-size: 15px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .country-pill-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
  }
  .country-pill-backdrop[hidden] { display: none; }
}

/* ── Auth nav ──────────────────────────────────── */

.auth-nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

.auth-link {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 13px;
  font-family: inherit;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.auth-link:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.auth-signup {
  background: var(--accent);
  color: #0a0e1a;
  border-color: var(--accent);
  font-weight: 600;
}

.auth-signup:hover {
  background: #22d3ee;
  border-color: #22d3ee;
  color: #0a0e1a;
}

.auth-logout {
  color: var(--text-muted);
  border-color: transparent;
  padding: 10px 14px;
  min-height: 44px;
}

/* ── Section blur + upgrade prompt ─────────────── */

.section-blurred {
  position: relative;
  overflow: hidden;
}

.section-blurred > *:not(.section-blur-overlay) {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.section-blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
}

.upgrade-prompt {
  text-align: center;
  padding: 32px 24px;
  max-width: 400px;
}

.upgrade-prompt h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.upgrade-prompt p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.upgrade-btn {
  font-size: 14px;
  padding: 10px 24px;
}

.compare-upgrade {
  text-align: center;
  padding: 48px 24px;
  max-width: 500px;
  margin: 0 auto;
}

.compare-upgrade h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.compare-upgrade p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.pdf-gate-tip {
  text-align: center;
  padding: 24px 16px;
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* ── View toggle (List / Map) ──────────────────── */

.view-toggle {
  margin-left: auto;
  display: flex;
  background: var(--bg-elevated);
  border-radius: 6px;
  padding: 3px;
}

.vt-btn {
  background: transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.vt-btn.active {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}

.vt-btn:hover:not(.active) {
  color: var(--text);
}

/* ── Main layout ────────────────────────────────── */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px 64px;
}

/* ── Landing page ───────────────────────────────── */

.landing-hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}

.landing-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent2-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.1); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-benefits {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 520px;
  margin: 0 auto 40px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.25s both;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), #0891b2);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.3);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

/* ── Subject strip (landing hero) ───────────────── */

.subject-strip {
  text-align: center;
  margin-top: 18px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.subject-strip-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 6px;
}

.subject-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}

.subject-pill {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.subject-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--surface-hover);
}

/* ── Stats banner ───────────────────────────────── */

.stats-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 640px;
  margin: 60px auto 0;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item {
  background: var(--surface);
  padding: 24px 16px;
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ── Country strip ─────────────────────────────── */

.country-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.country-flag {
  font-size: 24px;
  line-height: 1;
  cursor: default;
  transition: transform 0.15s;
}

.country-flag img {
  width: 30px;
  height: 22px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
}

.country-flag:hover { transform: scale(1.2); }

.country-coming {
  opacity: 0.35;
  position: relative;
}

.country-coming::after {
  content: "soon";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--text-muted);
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* ── Value props ────────────────────────────────── */

.value-section {
  padding: 80px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 48px;
}
/* Scoped: inside a two-column layout the large bottom margin is too much */
.depth-left .section-title,
.jr-top .section-title {
  margin-bottom: 16px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.3s;
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.value-icon.cyan {
  background: var(--accent-glow);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.value-icon.violet {
  background: var(--accent2-glow);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.value-icon.green {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Preview section ────────────────────────────── */

.preview-section {
  padding: 40px 24px 80px;
  max-width: 960px;
  margin: 0 auto;
}

.preview-window {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--glass-border);
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
}

.preview-dot:first-child { background: var(--red); opacity: 0.7; }
.preview-dot:nth-child(2) { background: var(--amber); opacity: 0.7; }
.preview-dot:nth-child(3) { background: var(--green); opacity: 0.7; }

.preview-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.preview-body {
  padding: 24px;
}

.preview-search {
  width: 100%;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.preview-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.preview-search::placeholder {
  color: var(--text-muted);
}

.preview-results {
  margin-top: 16px;
  list-style: none;
}

.preview-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}

.preview-item:hover {
  background: var(--surface);
  color: var(--text);
}

.preview-item-name {
  font-weight: 600;
  font-size: 14px;
}

.preview-item-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.preview-item-earnings {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* ── CTA section ────────────────────────────────── */

.cta-section {
  padding: 80px 24px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

.cta-contact {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-secondary);
}

.cta-contact a {
  color: var(--accent);
  text-decoration: none;
}

.cta-contact a:hover {
  text-decoration: underline;
}

/* ── Content gate ──────────────────────────────── */

.gate-wall {
  position: relative;
  margin: -40px auto 40px;
  max-width: 800px;
  padding: 0 16px;
}

.gate-fade {
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  margin-bottom: -1px;
}

.gate-content {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
}

.gate-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.gate-content > p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.gate-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto 16px;
}

.gate-fields input {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  min-height: 44px;
  width: 100%;
}

.gate-fields input::placeholder {
  color: var(--text-muted);
}

.gate-btn {
  font-size: 15px;
  padding: 12px 32px;
}

.gate-note {
  color: var(--text-muted) !important;
  font-size: 13px !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

.gate-success {
  color: var(--accent);
  font-size: 15px;
}

@media (max-width: 500px) {
  .gate-fields {
    grid-template-columns: 1fr;
  }
}

/* ── Credibility block ─────────────────────────── */

.credibility-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

.credibility-block p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 16px;
}

/* ── Landing footer ─────────────────────────────── */

.landing-footer {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
  line-height: 1.8;
}

.landing-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.landing-footer a:hover {
  color: var(--accent);
}

.landing-footer .footer-legal {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ── Animations ─────────────────────────────────── */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Hero section (profile) ─────────────────────── */

.hero {
  margin-bottom: 0;
}

/* ── Sticky section nav ────────────────────────── */

.section-nav {
  position: sticky;
  top: 56px;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  margin: 0 calc(-1 * max(16px, (100vw - var(--max-width)) / 2));
  padding: 0 max(16px, (100vw - var(--max-width)) / 2);
  margin-bottom: 24px;
}

.nav-track {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
}
.nav-track::-webkit-scrollbar { display: none; }

.nav-pill {
  flex-shrink: 0;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-pill:hover { color: var(--text-secondary); background: var(--surface); }
.nav-pill.active { color: var(--accent); background: rgba(6, 182, 212, 0.1); }

/* ── Mini country flags (SVG — emoji flags do not render on Windows) ── */

.mini-flag {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  vertical-align: -1px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
}

/* ── Profile descriptor tooltip ('i' icon) ─────────── */

.info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.info-tip .info-btn { margin-left: 6px; padding: 0 2px; }
.info-tip-bubble {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9500;
  width: 260px;
  max-width: 72vw;
  background: var(--bg-elevated);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s;
  pointer-events: none;
}
.info-tip:hover .info-tip-bubble,
.info-tip:focus-within .info-tip-bubble,
.info-tip.open .info-tip-bubble {
  opacity: 1;
  visibility: visible;
}
.info-tip-left .info-tip-bubble { left: auto; right: -8px; transform: none; }

/* ── Info buttons & modal ──────────────────────── */

.info-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  margin-left: auto;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.info-btn:hover { opacity: 0.8; }
.info-btn svg { stroke: var(--text-secondary); fill: none; stroke-width: 1.5; vertical-align: middle; }

.info-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9000;
}

.info-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9001;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 440px;
  width: calc(100% - 32px);
  box-shadow: var(--shadow);
}

.info-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.info-modal-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.info-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.info-modal-close:hover { color: var(--text); }

.info-modal p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.info-modal .info-modal-source {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.hero h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.inst-profile {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 640px;
}

.detail-profile {
  margin: 6px 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.cg-profile {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-secondary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.website-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  text-decoration: none;
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  transition: background 0.2s;
}
.website-link:hover { background: var(--surface-hover); }
.website-link.disabled {
  color: var(--text-muted);
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: auto;
}
.website-link.disabled:hover { background: var(--surface); }
.website-link.disabled svg { stroke: var(--text-muted); }
.website-link svg { stroke: var(--accent); fill: none; stroke-width: 2; }

.tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ── Cards ──────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(148, 163, 184, 0.2);
}

.card h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h2 svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 16px 0 8px;
}

/* ── Metric blocks ──────────────────────────────── */

.metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.metric {
  text-align: center;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.metric-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Charts ─────────────────────────────────────── */

.chart-row {
  position: relative;
  margin: 8px 0;
}

/* ── Tables ─────────────────────────────────────── */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 8px 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

td:last-child, th:last-child {
  text-align: right;
  color: var(--accent);
  font-weight: 600;
}

/* ── GradLens bar rows (occupations, flows, region sector concentration) ──
   #section-gl-jobs already had its own scoped .gl-flow rules (added with
   Profile A); #section-gl-flows (Profile B) and the new region profile
   view never got equivalent styling. Generic, unscoped versions here so
   both fall back to something styled; the existing #section-gl-jobs rules
   are more specific and keep winning there, so nothing changes for it. */
.gl-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
}
.gl-flow-name {
  flex: 0 0 auto;
  width: 120px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gl-flow-name-wide { width: 180px; }
.gl-flow-bar {
  flex: 1 1 auto;
  height: 8px;
  border-radius: 999px;
  background: var(--bg);
  overflow: hidden;
}
.gl-flow-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}
.gl-flow-val {
  flex: 0 0 auto;
  width: 44px;
  text-align: right;
  font-weight: 700;
  color: var(--text);
  font-size: 12.5px;
}

/* ── Region profile ─────────────────────────────── */
.region-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  margin-bottom: 8px;
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.15s;
}
.region-list-item:hover { border-color: var(--accent); }
.region-list-item .rli-name { font-weight: 600; color: var(--text); font-size: 14px; }
.region-list-item .rli-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.region-list-item .rli-val { font-weight: 700; color: var(--accent); font-size: 15px; white-space: nowrap; }
.gl-bignum {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.gl-bignum span { font-size: 13px; font-weight: 500; color: var(--text-muted); margin-left: 6px; }
.gl-lead { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
.gl-hint { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.gl-source, .gl-source-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}
.na-block { font-size: 13.5px; color: var(--text-muted); }
.region-uni-link {
  display: inline-block;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  text-align: left;
}
.region-uni-link:hover { color: var(--accent-hover, var(--accent)); text-decoration: underline; }

/* ── Stability indicator ────────────────────────── */

.stability-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
}

.stability-indicator .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 12px currentColor;
}

.stability-green {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--green);
}
.stability-green .dot { background: var(--green); }

.stability-amber {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--amber);
}
.stability-amber .dot { background: var(--amber); }

.stability-red {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: var(--red);
}
.stability-red .dot { background: var(--red); }

/* ── Rent comparison bar ───────────────────────── */

.rent-bar-wrap {
  margin-top: 16px;
}

.rent-comparison {
  position: relative;
  height: 32px;
  background: var(--bg-elevated);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.rent-fill {
  height: 100%;
  border-radius: 6px 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  transition: width 0.6s ease;
}

.rent-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--text-secondary);
  opacity: 0.6;
}

.rent-marker-label {
  position: absolute;
  top: -18px;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

.rent-context {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Domicile bar ──────────────────────────────── */

.domicile-bar-wrap {
  margin-bottom: 12px;
}

.domicile-bar {
  display: flex;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  gap: 2px;
}

.domicile-bar .seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  min-width: 28px;
  transition: flex-basis 0.4s ease;
}

.seg-uk { background: var(--accent); }
.seg-eu { background: var(--accent2); }
.seg-noneu { background: #f97316; }

.domicile-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.domicile-legend .swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: middle;
}

.country-students-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 4px 24px;
  margin-bottom: 4px;
}

.country-student-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.country-student-row .cs-country {
  color: var(--text-secondary);
}

.country-student-row .cs-count {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text);
}

.ukvi-source,
.chart-source,
.source-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

.visa-toggle {
  display: block;
  margin: 12px auto 0;
  padding: 6px 16px;
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.visa-toggle:hover {
  background: var(--accent);
  color: var(--bg);
}

.visa-search {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 6px 10px;
  margin-bottom: 8px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border, rgba(255,255,255,0.15));
  border-radius: 6px;
  font-size: 13px;
}
.visa-search::placeholder {
  color: var(--text-muted);
}

/* ── No data ────────────────────────────────────── */

.no-data {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  text-align: center;
  padding: 16px 0;
}

/* ── Loading state ──────────────────────────────── */
.loading-state {
  display: flex;
  justify-content: center;
  padding: 60px 0;
  list-style: none;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Footer ─────────────────────────────────────── */

.data-footer {
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ── Browse page ────────────────────────────────── */

.search-bar {
  margin-bottom: 24px;
}

.search-bar input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-bar input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.destination-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.dest-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  white-space: nowrap;
}

.dest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dest-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.dest-active {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid var(--green);
  color: var(--green);
}

.dest-active em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
}

.dest-soon {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.dest-soon em {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  opacity: 0.7;
}

.dest-preview {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.dest-preview em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

button.dest-pill {
  cursor: pointer;
  transition: opacity 0.15s;
}

button.dest-pill:hover {
  opacity: 0.8;
}

.not-available {
  color: var(--text-muted);
  font-size: 11px;
  font-style: italic;
}

.cg-cell .not-available {
  font-size: 10px;
}

.kv-v .not-available {
  font-size: 11px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filters select {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.filters select:focus {
  border-color: var(--accent);
}

.inst-list {
  list-style: none;
}

.inst-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.inst-item {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.inst-item:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
  transform: translateX(4px);
  color: var(--text);
}

.inst-item-name {
  font-weight: 600;
  font-size: 15px;
}

.inst-item-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inst-item-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meta-icon {
  flex-shrink: 0;
  opacity: 0.6;
}

.dot-small {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.dot-amber { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.dot-red { background: var(--red); box-shadow: 0 0 6px var(--red); }
.dot-grey { background: #555; }

.stat-na { opacity: 0.45; }

.country-stat { color: var(--accent); }

/* ── Student living costs ──────────────────────── */

.student-costs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 12px 0 8px;
}

.cost-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  background: var(--bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  text-align: center;
}

.cost-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.cost-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cost-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.cost-national {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

.student-costs-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* ── Browse two-column layout ─────────────────── */

.browse-body {
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.browse-body .site-header {
  flex-shrink: 0;
  position: static;
  z-index: 200;
}

.browse-filters {
  background: var(--bg);
  padding: 10px 22px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  flex-shrink: 0;
  /* Above the floating career card (650), so the career picker that drops
     from this bar is never buried behind it (2026-07-29). The session-start
     overlay (2000) still covers everything. */
  z-index: 700;
  position: relative; /* anchors the drop-down career chooser panel */
}

/* ── Bar career chooser panel (2026-07-29): the same chooser as the
   session-start modal, dropping down from the top left of the bar. ── */
.cal-career-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 12px;
  z-index: 1500;
  width: 580px;
  max-width: calc(100vw - 32px);
  max-height: 72vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border, rgba(27, 21, 48, .14));
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(27, 21, 48, .24);
  padding: 14px;
  opacity: 0;
  transform: translateY(-10px);
  transform-origin: top left;
  transition: opacity .16s ease, transform .16s ease;
}
.cal-career-panel.open { opacity: 1; transform: translateY(0); }
.cal-career-panel[hidden] { display: none; }
.cal-cc-clear { margin-top: 12px; font-family: inherit; font-size: 12.5px; background: none; border: none; color: var(--accent, #6d3a9e); cursor: pointer; padding: 0; }
.cal-cc-clear:hover { text-decoration: underline; }
.glo-dem { font-style: normal; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: rgba(228, 87, 46, .12); color: #b8431f; border-radius: 999px; padding: 1px 6px; margin-left: 6px; vertical-align: middle; }
.glo-filterline { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.glo-demtoggle { font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; border: 1.5px solid var(--border, rgba(27, 21, 48, .14)); background: #fff; color: var(--text2, #4a4458); border-radius: 999px; padding: 5px 13px; }
.glo-demtoggle:hover { border-color: var(--action, #e4572e); }
.glo-demtoggle.on { border-color: var(--action, #e4572e); background: rgba(228, 87, 46, .1); color: #b8431f; }
.glo-filterhint { font-size: 11px; color: var(--muted, #7b7488); line-height: 1.35; }
.glo-loctoggle { font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; border: 1.5px solid var(--border, rgba(27, 21, 48, .14)); background: #fff; color: var(--text2, #4a4458); border-radius: 999px; padding: 5px 13px; }
.glo-loctoggle:hover { border-color: var(--accent, #6d3a9e); }
.glo-loctoggle.on { border-color: var(--accent, #6d3a9e); background: rgba(109, 58, 158, .1); color: var(--accent, #6d3a9e); }
.glo-loc { font-style: normal; font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: rgba(109, 58, 158, .1); color: var(--accent, #6d3a9e); border-radius: 999px; padding: 1px 6px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }

/* ── Career-card narrowing controls (2026-07-29): three facts about the
   person (distance, size, chance of an offer) that reduce the map's unis.
   Sliders where the spread is real, so no cut is hidden. ── */
.gj-filters { border-top: 1px solid var(--glass-border); margin-top: 11px; padding-top: 11px; }
.gj-fhead { font-size: 13px; font-weight: 700; color: var(--text); margin: 0; }
.gj-fsub { font-size: 11px; color: var(--text-muted); line-height: 1.45; margin: 2px 0 10px; }
.gj-ctl { margin-bottom: 12px; }
.gj-ctop { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; margin-bottom: 3px; }
.gj-cname { font-weight: 700; color: var(--text); }
.gj-cval { color: var(--accent, #6d3a9e); font-weight: 700; font-size: 12px; }
.gj-ctl input[type=range] { width: 100%; accent-color: var(--accent, #6d3a9e); margin: 1px 0 0; }
.gj-cends { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text-muted); }
.gj-cnote { font-size: 10.5px; color: var(--text-muted); font-style: italic; margin: 4px 0 0; line-height: 1.4; }
.gj-seg { display: flex; gap: 5px; margin-top: 5px; }
.gj-seg button { flex: 1; font-family: inherit; font-size: 11.5px; cursor: pointer; border: 1.5px solid var(--border, rgba(27, 21, 48, .14)); background: #fff; color: var(--text2, #4a4458); border-radius: 9px; padding: 7px 4px; line-height: 1.25; }
.gj-seg button:hover { border-color: var(--accent, #6d3a9e); }
.gj-seg button.on { border-color: var(--accent, #6d3a9e); background: rgba(109, 58, 158, .1); color: var(--accent, #6d3a9e); font-weight: 700; }
.gj-fbar { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px solid var(--glass-border); padding-top: 9px; margin-top: 2px; }
.gj-fcount { font-size: 12px; color: var(--text2, #4a4458); }
.gj-fcount b { color: var(--accent, #6d3a9e); font-size: 15px; }
.gj-clear { font-family: inherit; font-size: 11.5px; color: var(--accent2, #0e9e93); background: none; border: none; cursor: pointer; padding: 0; white-space: nowrap; }
.gj-clear:hover { text-decoration: underline; }

/* ── Ordering lenses on the university list (2026-07-29) ── */
.uni-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 2px 4px; }
.uni-sort-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-right: 2px; }
.uni-sort-btn { font-family: inherit; font-size: 12px; cursor: pointer; border: 1.5px solid var(--border, rgba(27, 21, 48, .14)); background: var(--bg, #fff); color: var(--text-secondary); border-radius: 999px; padding: 4px 11px; }
.uni-sort-btn:hover { border-color: var(--accent, #6d3a9e); }
.uni-sort-btn.on { border-color: var(--accent, #6d3a9e); background: rgba(109, 58, 158, .08); color: var(--accent, #6d3a9e); font-weight: 700; }
.uni-sort-note { flex-basis: 100%; font-size: 10.5px; color: var(--text-muted); font-style: italic; }

/* ── LSIP: what employers here say they need (2026-07-29) ── */
.lsip-lead { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; margin: 0 0 9px; }
.lsip-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lsip-chip { font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; border: 1.5px solid var(--accent, #6d3a9e); background: rgba(109, 58, 158, .07); color: var(--accent, #6d3a9e); border-radius: 999px; padding: 5px 12px; }
.lsip-chip:hover { background: rgba(109, 58, 158, .15); }
.lsip-more { font-size: 11px; color: var(--text-muted); margin: 8px 0 0; line-height: 1.45; }
.lsip-more a { color: var(--accent2, #0e9e93); }
.lsip-line { border-left: 3px solid var(--accent, #6d3a9e); background: rgba(109, 58, 158, .05); border-radius: 0 8px 8px 0; padding: 8px 11px; font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); margin: 0 0 10px; }
.lsip-line b { color: var(--text); }
.lsip-line .src { display: block; font-size: 10px; color: var(--text-muted); font-style: italic; margin-top: 3px; }

.browse-filters select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 13px;
  padding: 8px 14px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.browse-filters select:focus {
  border-color: var(--accent);
}

/* Career picker — the career-first way in, per UI-MAPPING.md's "start from
   a career" mapping. Lives here, in the persistent filters bar, so it's
   present on every view (list, map, college) rather than a one-time splash. */
.career-picker { position: relative; }
.career-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  border-radius: var(--radius-pill, 999px);
  background: var(--action, #e4572e);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
}
.career-picker-btn:hover { filter: brightness(1.06); }
.career-picker-btn.on { filter: brightness(0.92); }
.career-picker-icon { font-size: 12px; }
.career-picker-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 600;
  width: min(92vw, 380px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow, 0 8px 26px rgba(27, 21, 48, 0.18));
  padding: 14px;
}
.career-picker-search { position: relative; }
.career-picker-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
}
.career-picker-search input:focus { outline: none; border-color: var(--accent); }
.career-picker-sugg {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow, 0 8px 26px rgba(27, 21, 48, 0.18));
  max-height: 240px;
  overflow: auto;
  z-index: 5;
  display: none;
}
.career-picker-sugg.open { display: block; }
.career-picker-sugg button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
}
.career-picker-sugg button:hover { background: var(--bg); color: var(--accent); }
.career-picker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.career-chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
}
.career-chip:hover { border-color: var(--accent); color: var(--accent); }
.career-picker-routes { text-align: left; }
.career-routes-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.career-route {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  border-top: 1px solid var(--glass-border);
  padding: 10px 2px;
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
}
.career-route:first-of-type { border-top: none; }
.career-route span { font-weight: 500; color: var(--text-muted); font-size: 12px; }
.career-route:hover { color: var(--accent-deep, var(--accent)); }
.career-back {
  margin-top: 6px;
  border: none;
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 2px;
}
.career-back:hover { color: var(--text); }
.career-picker-note {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.4;
}

.browse-filters .count {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: auto;
}

.browse-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 520px;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}

.browse-list-col {
  overflow-y: auto;
  padding: 16px 22px 100px;
}

.browse-layout .panel {
  background: var(--bg);
  border-left: 1px solid var(--glass-border);
  overflow-y: auto;
  padding: 18px 18px 30px;
}

.inst-item-selected {
  border-color: var(--accent) !important;
  background: var(--surface-hover);
}

.panel-destinations {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--glass-border);
}

.inst-item-add {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.inst-item-add:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.inst-item-add.added {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.inst-item-content {
  flex: 1;
  min-width: 0;
}

/* ── Show more button ──────────────────────────── */

.show-more-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.show-more-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Request box ────────────────────────────────── */

.request-box {
  margin-top: 40px;
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.request-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}

.request-box > p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.request-fields {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.request-fields input {
  flex: 1;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.request-fields input::placeholder { color: var(--text-muted); }
.request-fields input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.request-btn {
  padding: 10px 32px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}

.request-btn:hover { opacity: 0.85; }

.request-success {
  font-size: 14px;
  color: var(--green);
  margin: 12px 0 0;
}

/* ── Responsive ─────────────────────────────────── */

@media (max-width: 768px) {
  .value-grid { grid-template-columns: 1fr; }

  .landing-hero { min-height: 60vh; padding: 48px 20px 40px; }
  .section-nav { top: 0; }
}

/* ── Compare page ──────────────────────────────── */

.compare-link {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  margin-top: 8px;
}

.compare-link:hover {
  color: #22d3ee;
}

.compare-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.compare-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
}

.compare-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.compare-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.compare-slot {
  position: relative;
}

.compare-search-wrap {
  position: relative;
}

.compare-search {
  width: 100%;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.compare-search:focus {
  border-color: var(--accent);
}

.compare-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 4px;
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
}

.compare-results li {
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
}

.compare-results li:hover {
  background: var(--surface-hover);
  color: var(--accent);
}

.compare-selected {
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 8px;
}

.compare-selected:not([hidden]) {
  display: flex;
}

.compare-selected-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 0 0 0 8px;
  line-height: 1;
}

.compare-remove:hover {
  color: var(--red);
}

.compare-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: 40px 0;
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table thead th {
  text-align: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  vertical-align: bottom;
}

.compare-table thead th:first-child {
  text-align: left;
  width: 180px;
}

.compare-table thead th a {
  color: var(--accent);
}

.cmp-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 2px;
}

.compare-table tbody td {
  padding: 8px 16px;
  text-align: center;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--glass-border);
}

.compare-table tbody td:first-child {
  text-align: left;
  color: var(--text-muted);
  font-size: 13px;
}

.cmp-section td {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent) !important;
  padding-top: 20px !important;
  border-bottom: 1px solid var(--border) !important;
}

.cmp-best {
  color: var(--accent) !important;
  font-weight: 600;
}

.cmp-green { color: var(--green) !important; font-weight: 600; }
.cmp-amber { color: var(--amber) !important; font-weight: 600; }
.cmp-red { color: var(--red) !important; font-weight: 600; }

.compare-gate {
  margin: 0 0 0;
}

.compare-gate .gate-fade {
  height: 60px;
}

/* ── Compare v2 (lightweight overview) ────────────── */

.compare-main--v2 { max-width: 560px; }

.cmp-map-wrap {
  margin-bottom: 20px;
}
.cmp-map-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 8px;
}

.cmp-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.cmp-card {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-left: 3px solid;
  border-radius: 10px;
  padding: 14px 16px;
  transition: background 0.15s, border-color 0.15s;
}
.cmp-card:hover {
  background: var(--surface-hover);
}
.cmp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.cmp-card-name {
  font-weight: 600;
  font-size: 15px;
}
.cmp-card-city {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.cmp-card-arrow {
  font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 12px;
}

.cmp-headline-table {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.cmp-hl-header {
  display: grid;
  grid-template-columns: 120px repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.cmp-hl-col {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cmp-hl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.cmp-hl-row {
  display: grid;
  grid-template-columns: 120px repeat(3, 1fr);
  gap: 8px;
  padding: 6px 0;
}
.cmp-hl-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cmp-hl-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.entry-band {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}
.entry-open { background: rgba(56, 189, 248, 0.18); color: #38bdf8; }
.entry-accessible { background: rgba(52, 211, 153, 0.18); color: var(--green); }
.entry-moderate { background: rgba(251, 191, 36, 0.18); color: var(--amber); }
.entry-selective { background: rgba(251, 146, 60, 0.18); color: #fb923c; }
.entry-highly-selective { background: rgba(248, 113, 113, 0.18); color: var(--red); }

.cmp-brief-bar {
  margin-bottom: 20px;
}
.cmp-brief-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.cmp-brief-btn:hover { opacity: 0.9; }
.cmp-brief-btn svg { flex-shrink: 0; }

@media (max-width: 600px) {
  .cmp-hl-header,
  .cmp-hl-row {
    grid-template-columns: 90px repeat(3, 1fr);
  }
  .cmp-hl-val { font-size: 13px; }
  .cmp-card { padding: 12px 14px; }
}

/* ── Profile map ─────────────────────────────────── */

.profile-map-wrap {
  max-width: var(--max-width);
  margin: 0 auto 0;
  padding: 20px 20px 0;
}
#profile-map {
  height: 200px;
  border-radius: 12px;
  z-index: 0;
}
@media (min-width: 769px) {
  .profile-with-map {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .profile-with-map .profile-content {
    min-width: 0;
  }
  .profile-with-map .profile-map-wrap {
    position: sticky;
    top: 80px;
    align-self: start;
    padding: 20px 0 0;
    margin: 0;
  }
  .profile-with-map #profile-map {
    height: 280px;
  }
}

.back-to-compare {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 12px;
  transition: opacity 0.15s;
}
.back-to-compare:hover { opacity: 0.8; }

/* ── end compare v2 ───────────────────────────────── */

@media (max-width: 600px) {
  .hero h1 { font-size: 22px; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 16px; }
  /* Header: row 1 = logo + auth, row 2 = List/Map + home country + lang.
     ::after at order 3 forces a hard line break between the two rows. */
  .site-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
  }
  .site-header::after {
    content: '';
    flex-basis: 100%;
    order: 3;
    height: 0;
  }
  .logo { flex: 1 1 auto; order: 1; align-self: center; }
  .auth-nav { flex: 0 0 auto; order: 2; margin-left: 0; }
  .view-toggle { order: 4; flex: 0 0 auto; margin-left: 0; }
  #country-pill { order: 5; flex: 0 0 auto; }
  #lang-toggle { order: 6; flex: 0 0 auto; }
  .tagline { display: none; }
  html { scroll-padding-top: 100px; }

  .lang-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-radius: 16px 16px 0 0;
    min-width: 0;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    z-index: 10000;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.6);
  }
  .lang-option {
    padding: 14px 20px;
    font-size: 15px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .hero-title { letter-spacing: -1px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .request-fields { flex-direction: column; }
  .compare-slots { grid-template-columns: 1fr; }
  .compare-table thead th:first-child { width: 120px; }

  /* Browse two-column → stacked on mobile */
  .browse-body { height: auto; overflow: auto; }
  .browse-layout { display: flex; flex-direction: column; }
  .browse-list-col { overflow-y: visible; padding: 14px 14px 30px; }
  /* Map mode: give the iframe host a height; don't clip it */
  body.uni-open .browse-list-col { overflow: visible; }
  #left-map { height: 60vh; min-height: 300px; }
  .browse-layout .panel {
    border-left: none;
    border-top: 1px solid var(--glass-border);
    min-height: 0;
    overflow-y: visible;
    padding: 14px 14px 100px;
  }
  .browse-filters {
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 6px;
  }
  .browse-filters .search-box {
    max-width: none;
    flex-basis: 100%;
    order: -1;
  }
  .browse-filters select {
    flex: 1 1 calc(50% - 3px);
    min-width: 0;
    font-size: 12px;
    padding: 7px 10px;
  }
  .browse-filters .count {
    flex-basis: 100%;
    text-align: center;
    margin-left: 0;
  }

  /* Filters */
  .filters select { flex: 1 1 calc(50% - 4px); min-width: 0; font-size: 12px; padding: 8px 10px; }

  /* List items */
  .inst-item { padding: 12px 14px; }
  .inst-item-name { font-size: 14px; }
  .inst-item-meta { gap: 8px; }
  .inst-item-add { width: 44px; height: 44px; font-size: 18px; }
}

/* ── Data showcase (index.html) ───────────────────── */

.data-showcase {
  padding: 80px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.data-tile {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s;
}

.data-tile:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.data-tile-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.data-tile h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.data-tile p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .data-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .data-tile { padding: 16px 12px; }
  .data-tile-icon { font-size: 22px; margin-bottom: 8px; }
  .data-tile h4 { font-size: 12px; }
}

/* ── Pricing preview (index.html) ────────────────── */

.pricing-preview {
  padding: 60px 24px 80px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.pricing-preview-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 20px 24px;
  text-align: center;
  transition: all 0.3s;
}

.pricing-preview-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-preview-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.pricing-preview-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-preview-price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-preview-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-preview-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.pricing-preview-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

.pricing-preview-link:hover {
  color: #22d3ee;
}

@media (max-width: 640px) {
  .pricing-preview-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
}

/* ── Pricing page ─────────────────────────────────── */

.pricing-hero {
  padding: 80px 24px 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.pricing-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.pricing-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Cards */
.pricing-cards {
  padding: 40px 24px 80px;
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #0891b2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--glass-border);
}

.pricing-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.pricing-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-value {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Feature list */
.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 24px;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* CTAs */
.pricing-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.pricing-cta-primary {
  background: linear-gradient(135deg, var(--accent), #0891b2);
  color: #fff;
}

.pricing-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.3);
  color: #fff;
}

.pricing-cta-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.pricing-cta-secondary:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

/* Comparison table */
.pricing-compare {
  padding: 0 24px 80px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pricing-table thead th {
  padding: 14px 16px;
  font-weight: 600;
  text-align: center;
  border-bottom: 2px solid var(--border);
  color: var(--text-secondary);
}

.pricing-table thead th:first-child {
  text-align: left;
}

.pricing-th-featured {
  color: var(--accent) !important;
}

.pricing-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text-secondary);
}

.pricing-table tbody td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.pricing-check {
  color: var(--accent) !important;
  font-weight: 700;
}

.pricing-dash {
  color: var(--text-muted) !important;
  opacity: 0.4;
}

/* FAQ */
.pricing-faq {
  padding: 0 24px 80px;
  max-width: 700px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: color 0.15s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card-featured { order: -1; }
  .pricing-table { font-size: 12px; }
  .pricing-table thead th,
  .pricing-table tbody td { padding: 10px 8px; }
}

/* ── Focus-visible ─────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ── Filter touch targets ─────────────────────────── */

.filters select,
.browse-filters select {
  min-height: 44px;
}

/* ── RTL overrides (Arabic) ──────────────────────── */

[dir="rtl"] .auth-nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .lang-option { text-align: right; }
[dir="rtl"] .data-table td:last-child { text-align: left; }
[dir="rtl"] .metric-sub { direction: ltr; }
[dir="rtl"] .rent-context { direction: ltr; }
[dir="rtl"] .compare-table th,
[dir="rtl"] .compare-table td { text-align: right; }
[dir="rtl"] .compare-table td:first-child { text-align: right; }
[dir="rtl"] .hero-cta { flex-direction: row-reverse; }
[dir="rtl"] .search-bar { direction: rtl; }
[dir="rtl"] .filters { direction: rtl; }
[dir="rtl"] .nav-track { direction: rtl; }
[dir="rtl"] .domicile-bar { direction: ltr; }
[dir="rtl"] .cost-item { direction: rtl; }
[dir="rtl"] .footer-legal { direction: ltr; }

/* ── Courses section ─────────────────────────────── */

.courses-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.courses-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.courses-toggle-group {
  display: flex;
  gap: 2px;
}

.courses-toggle {
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
}

.courses-toggle.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.courses-search-input {
  flex: 1;
  min-width: 160px;
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
}

.courses-subject-select {
  max-width: 100%;
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.courses-subject-select:focus { border-color: var(--accent); }

#courses-tier2 .courses-subject-select {
  display: block;
  margin-bottom: 0.5rem;
}

.courses-expand-btn {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.courses-expand-btn:hover { background: var(--accent-glow); }

#courses-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.courses-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.courses-item:last-child { border-bottom: none; }

.courses-item a {
  color: var(--accent);
  text-decoration: none;
  flex: 1;
}

.courses-item a:hover { text-decoration: underline; }

.courses-award {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.75rem;
  white-space: nowrap;
}

.courses-tier2-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.courses-tier2-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.courses-search-btn {
  white-space: nowrap;
  font-size: 0.875rem;
  padding: 0.4rem 1rem;
}

.courses-search-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.courses-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.courses-secondary-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.15s;
}

.courses-secondary-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* No-URL courses (CRICOS / College Scorecard): informational, not a link */
.courses-item .courses-nolink {
  flex: 1;
  color: var(--text-secondary);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255, 255, 255, 0.8); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── D2 rules: white is the way in — every text entry box, site-wide ── */
input[type="text"],
input[type="search"],
input[type="email"],
input:not([type]),
textarea {
  background: #ffffff;
  color: #0f172a;
  border-color: transparent;
}
input[type="text"]::placeholder,
input[type="search"]::placeholder,
input[type="email"]::placeholder,
input:not([type])::placeholder,
textarea::placeholder {
  color: #64748b;
}

/* White entry boxes: classed inputs that out-rank the generic rule above */
.request-box .request-fields input,
.request-fields input,
.courses-search-input,
.compare-search,
.gate-fields input {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: transparent;
}
.request-box .request-fields input::placeholder,
.request-fields input::placeholder,
.courses-search-input::placeholder,
.compare-search::placeholder,
.gate-fields input::placeholder {
  color: #64748b;
}

/* ── Career journey view (prototype slice 2026-07-23) ─────────────
   The in-page career profile (#left-career), rendered by js/careers.js.
   Same card language as the region profile; coral only for the active
   audience toggle (selection), teal for the apprenticeship route accent. */
#left-career, #left-college { padding: 26px 36px 60px; overflow-y: auto; max-height: calc(100vh - 130px); }
#left-career .left-crumbs a { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 13.5px; }
.cj-hero h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.3px; margin: 10px 0 2px; }
.cj-full { font-size: 14px; color: var(--text-muted); margin: 0 0 8px; }
.cj-demand { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 3px 11px; }
.cj-demand.crit { background: rgba(228,87,46,0.14); color: #b8431f; }
.cj-demand.elev { background: rgba(14,158,147,0.14); color: #0a6f68; }
.cj-demand.low { background: rgba(27,21,48,0.07); color: var(--text-muted); }
.cj-facts { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 18px; }
.cj-fact { background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 14px 18px; min-width: 140px; }
.cj-fact-num { font-size: 22px; font-weight: 800; color: var(--accent); }
.cj-fact-lab { font-size: 12px; color: var(--text-muted); }
.cj-card { background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; }
.cj-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.cj-ksb { display: flex; flex-wrap: wrap; gap: 8px; }
.cj-chip { font-size: 12.5px; background: rgba(109,58,158,0.07); border: 1px solid rgba(109,58,158,0.16); color: var(--accent-deep, var(--accent)); border-radius: 999px; padding: 5px 12px; }
.cj-prov { font-size: 11.5px; color: var(--text-muted); font-style: italic; margin: 12px 0 0; }
.cj-aud { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: var(--surface); width: fit-content; margin: 4px 0 14px; }
.cj-aud button { font-family: inherit; font-size: 13px; font-weight: 600; border: none; background: none; padding: 8px 16px; cursor: pointer; color: var(--text-secondary); }
.cj-aud button.active { background: var(--action, #e4572e); color: #fff; }
.cj-route { background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.cj-route-head { padding: 12px 18px 8px; border-top: 4px solid var(--accent); }
.cj-route.apr .cj-route-head { border-top-color: var(--accent2); }
.cj-route.deg .cj-route-head { border-top-color: var(--action, #e4572e); }
.cj-route-kind { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.cj-route-title { font-size: 16px; font-weight: 700; margin-top: 2px; }
.cj-route-body { padding: 2px 18px 14px; font-size: 13.5px; color: var(--text-secondary); }
.cj-ev { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--glass-border); }
.cj-ev:last-of-type { border-bottom: none; }
.cj-ev b { color: var(--text); text-align: right; }
.cj-na { color: var(--text-muted); font-style: italic; }
.cj-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 5px; }
.cj-spark { letter-spacing: 1px; color: var(--accent2); font-weight: 700; }
.cj-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cj-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); padding: 6px 8px; border-bottom: 2px solid var(--glass-border); }
.cj-table td { padding: 8px; border-bottom: 1px solid var(--glass-border); }
.career-chip-journey { border-color: var(--accent) !important; }

/* College profile: career block, pay chooser, careers-team strip */
.clg-career { border-top: 4px solid var(--action, #e4572e); }
.clg-career-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.clg-career-for { font-size: 12px; color: var(--text-muted); }
.clg-cb-h { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 6px; }
.cj-ev-block { padding: 10px 0; border-bottom: 1px solid var(--glass-border); }
.cj-ev-block:last-of-type { border-bottom: none; }
.clg-cb-line { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; margin: 0; }
.clg-sx { border: 1px solid var(--glass-border); border-radius: 12px; padding: 16px 18px; background: rgba(109, 58, 158, 0.03); }
.clg-sx-name { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.clg-sx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .clg-sx-cols { grid-template-columns: 1fr; } }
.clg-sx-big { font-size: 22px; font-weight: 800; color: var(--accent); }
.clg-sx-unit { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.clg-sx-sub { font-size: 12.5px; color: var(--text-secondary); margin-top: 3px; line-height: 1.5; }
.clg-sx-switch { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--text-secondary); }
.clg-team { margin-top: 34px; border-top: 2px solid var(--glass-border); padding-top: 10px; }
.clg-team-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: rgba(27, 21, 48, 0.07); color: var(--text-muted); border-radius: 999px; padding: 3px 11px; margin-bottom: 12px; }

/* Right panel tabs: Your area / My options */
.panel-tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 2px solid var(--glass-border); }
.panel-tab { font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; border: none; background: none; color: var(--text-muted); padding: 8px 14px; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.panel-tab.on { color: var(--accent); border-bottom-color: var(--accent); }
.panel-tab-badge { display: inline-block; font-size: 10.5px; font-weight: 800; background: var(--action, #e4572e); color: #fff; border-radius: 999px; padding: 0 7px; margin-left: 5px; }
.pa-kicker { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent2, #0e9e93); margin-bottom: 2px; display: block; }
.pa-title { font-size: 20px; font-weight: 800; letter-spacing: -.2px; margin: 0 0 2px; }
.pa-sub { font-size: 12.5px; color: var(--text-muted); margin: 0 0 14px; }
.pa-card { border: 1px solid var(--glass-border); border-radius: 10px; padding: 13px 15px; margin-bottom: 12px; background: var(--surface); }
.pa-card h3 { font-size: 13px; font-weight: 700; margin: 0 0 9px; }
.pa-row { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 12.5px; }
.pa-rn { flex: 0 0 128px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa-rb { flex: 1; height: 8px; background: rgba(27, 21, 48, .05); border-radius: 999px; overflow: hidden; }
.pa-rb span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.pa-rv { flex: 0 0 52px; text-align: right; font-weight: 700; font-size: 12px; }
.pa-row.you .pa-rb span { background: var(--action, #e4572e); }
.pa-row.you .pa-rn, .pa-row.you .pa-rv { color: #b8431f; font-weight: 700; }
.pa-you { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: rgba(228, 87, 46, .12); color: #b8431f; border-radius: 999px; padding: 1px 6px; margin-left: 5px; }
.pa-duo { display: flex; gap: 12px; margin-bottom: 12px; }
.pa-duo .pa-card { flex: 1; margin-bottom: 0; }
.pa-big { font-size: 21px; font-weight: 800; color: var(--accent); }
.pa-bigsub { font-size: 11px; color: var(--text-muted); line-height: 1.4; margin: 0; }
.pa-note { font-size: 11.5px; color: var(--text-secondary); margin: 8px 0 0; line-height: 1.5; }
.pa-prov { font-size: 10.5px; color: var(--text-muted); font-style: italic; margin: 4px 0 0; }
.pa-claim { display: flex; gap: 10px; align-items: flex-end; padding: 4px 0 2px; }
.pa-cl { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; }
.pa-cl span { width: 100%; max-width: 30px; background: var(--accent2, #0e9e93); border-radius: 4px 4px 0 0; display: block; }
.pa-cl i { font-size: 9.5px; color: var(--text-muted); font-style: normal; }
.pa-hint { font-size: 11.5px; color: var(--text-muted); text-align: center; margin: 6px 0 0; }
.pa-rp { flex: 0 0 60px; text-align: right; font-size: 11px; font-weight: 700; color: var(--accent2, #0e9e93); }
.pa-stat { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; font-size: 12.5px; border-bottom: 1px solid var(--glass-border); }
.pa-stat:last-of-type { border-bottom: none; }
.pa-sn { color: var(--text-secondary); }
.pa-sv { font-weight: 700; }
.pa-sub2 { font-size: 11px; color: var(--text-muted); margin: 0 0 8px; line-height: 1.4; }
.pa-dcms { width: 100%; border-collapse: collapse; font-size: 12px; }
.pa-dcms th { text-align: left; font-size: 9.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); font-weight: 700; padding: 0 0 6px; }
.pa-dcms th:not(:first-child), .pa-dcms td.n { text-align: right; }
.pa-dcms td { padding: 5px 0; border-top: 1px solid var(--glass-border); }
.pa-dcms td.n { color: var(--accent2, #0e9e93); font-weight: 700; }
.pa-uni-list { display: flex; flex-direction: column; gap: 6px; }
.pa-uni-btn { text-align: left; font-family: inherit; font-size: 12.5px; font-weight: 600; padding: 8px 11px; border-radius: 8px; border: 1px solid var(--glass-border); background: transparent; cursor: pointer; color: var(--text-primary, inherit); }
.pa-uni-btn:hover { border-color: var(--accent, #6d3a9e); color: var(--accent, #6d3a9e); }

/* Shell guidance: the career card, floating over the map */
.browse-layout { position: relative; }
.shell-guide {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 650;
  max-width: 420px;
  /* Fix 2026-07-31: floats over the map with no scroll of its own, so once
     the redesigned card grew three sections tall it ran off the bottom of
     the screen (Nic's screenshot). First attempt used 100vh, which is wrong
     here — this box sits inside .browse-layout, which starts well below the
     GradLens header and calibration bar, so "100% of the viewport" was
     still taller than the space actually available and the box kept
     running off the bottom. .browse-layout is a flex child sized to
     exactly the remaining space below the header (that's how the map next
     to it fills the screen correctly), so measuring against ITS height
     (100%), not the viewport, is the fix. */
  max-height: calc(100% - 36px);
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(27, 21, 48, 0.18);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}
body:not(.map-open) .shell-guide { display: none; }
.shell-guide strong { color: var(--text); }
.gc-career { position: relative; background: linear-gradient(125deg, #7e48b3 0%, var(--accent) 45%, var(--accent-deep, #57277f) 100%); color: #fff; padding: 16px 18px 14px; overflow: hidden; }
.gc-career::before { content: ""; position: absolute; right: -30px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(14, 158, 147, 0.35) 0%, transparent 68%); }
.gc-kicker { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-bottom: 2px; display: block; }
.gc-career h2 { font-size: 24px; font-weight: 800; letter-spacing: -.3px; margin: 0 0 2px; position: relative; color: #fff; }
.gc-demand { position: absolute; top: 14px; right: 16px; font-size: 10.5px; font-weight: 700; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 3px 11px; z-index: 1; text-align: right; }
.gc-demand b { display: block; font-size: 13px; }
.gc-facts { display: flex; position: relative; margin-top: 12px; }
.gc-fact { flex: 1; font-size: 10.5px; line-height: 1.35; opacity: .85; padding: 0 12px; border-left: 1px solid rgba(255, 255, 255, .25); text-transform: uppercase; letter-spacing: .04em; }
.gc-fact:first-child { border-left: none; padding-left: 0; }
.gc-fact b { display: block; font-size: 17px; font-weight: 800; opacity: 1; letter-spacing: 0; text-transform: none; margin-bottom: 1px; }
.gc-day { position: relative; font-size: 12px; margin: 12px 0 0; padding: 8px 12px; background: rgba(255, 255, 255, .12); border-radius: 8px; line-height: 1.5; }
.gc-day b { font-weight: 700; }
.gc-body { padding: 13px 18px 15px; }
.gc-lead { font-size: 13px; color: var(--text-secondary); margin: 0 0 10px; }
.gc-lead strong { color: var(--text); }
.gc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* Dense two-column career list (Nic, 5 Aug: the pill cloud wasted a whole
   column of vertical space). Rows, not pills: two tidy columns, long names
   clipped with an ellipsis, full name on hover via title. */
.gc-chips.gc-chips-dense { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.gc-chips-dense .guide-chip {
  width: 100%; text-align: left; border-radius: 7px; padding: 5px 9px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px;
}
.guide-chip { font-family: inherit; font-size: 12.5px; cursor: pointer; border: 1px solid var(--glass-border); border-radius: 999px; padding: 5px 12px; background: var(--surface); color: var(--text-secondary); }
.guide-chip b { color: var(--accent); }
.guide-chip .cm { color: var(--text-muted); }
.guide-chip:hover { border-color: var(--accent); }
.guide-chip.sel { border-color: var(--action, #e4572e); box-shadow: 0 0 0 2px rgba(228, 87, 46, .2); }
.gc-college { margin-top: 12px; border-top: 1px solid var(--glass-border); padding-top: 11px; }
.gc-college .n { font-size: 14.5px; font-weight: 800; color: var(--text); }
.gc-college .m { font-size: 12px; color: #b8431f; font-weight: 700; margin-left: 8px; }
.gc-college p { font-size: 12.5px; color: var(--text-secondary); margin: 4px 0 0; }
.gc-cta { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--action, #e4572e); border: none; border-radius: 999px; padding: 6px 14px; cursor: pointer; font-family: inherit; }
.guide-lead { font-weight: 700; color: var(--text); }
.guide-chip {
  font-family: inherit; font-size: 12.5px; cursor: pointer;
  border: 1px solid var(--glass-border); border-radius: 999px;
  padding: 5px 12px; background: var(--surface); color: var(--text-secondary);
}
.guide-chip:hover { border-color: var(--action, #e4572e); color: var(--text); }
.guide-chip strong { color: var(--accent); }

/* Calibration bar selects: the person is the filter */
.cal-select {
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 12px; border: 1px solid var(--glass-border); border-radius: 8px;
  background: var(--surface); color: var(--text); cursor: pointer;
}
.cal-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

/* College profile course list (uni pattern, GradLens colours) */
#college-courses-card .courses-listbox { border: 1px solid var(--glass-border); border-radius: 10px; max-height: 330px; overflow-y: auto; padding: 2px 14px; margin-bottom: 10px; }
#college-courses-card #clg-list { list-style: none; padding: 0; margin: 0; }
#college-courses-card .courses-item { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--glass-border); font-size: 13.5px; }
#college-courses-card .courses-item:last-child { border-bottom: none; }
#college-courses-card .courses-select { background: none; border: none; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-align: left; flex: 1; }
#college-courses-card .courses-select:hover { text-decoration: underline; }
#college-courses-card .courses-select.on { color: var(--accent-deep, var(--accent)); font-weight: 700; }
#college-courses-card .courses-select.on::before { content: "\2605  "; }
#college-courses-card .courses-select.capped { opacity: .45; cursor: default; }
#college-courses-card .courses-outlink { color: var(--text-muted); text-decoration: none; font-size: 12px; }
#college-courses-card .courses-outlink:hover { color: var(--accent); }
#college-courses-card .courses-award { color: var(--text-muted); font-size: .78rem; white-space: nowrap; margin-left: auto; }
#college-courses-card .courses-subject-select { font-family: inherit; font-size: .85rem; padding: .35rem .6rem; border: 1px solid var(--glass-border); border-radius: 6px; background: var(--surface); color: var(--text); max-width: 200px; }

/* Calibration step inside the career picker */
.cal-q { font-size: 13px; font-weight: 700; margin: 12px 0 6px; color: var(--text); }
.cal-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.cal-opts button {
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
  background: var(--surface); color: var(--text-secondary);
}
.cal-opts button.active { background: var(--action, #e4572e); border-color: var(--action, #e4572e); color: #fff; }

/* GradLens: occupations bars (ported from old GradLens socBody) */
#section-gl-jobs .gl-flow { display:grid; grid-template-columns:190px 1fr 44px; align-items:center; gap:10px; margin-bottom:8px; }
#section-gl-jobs .gl-flow-name-wide { font-size:12px; line-height:1.3; }
#section-gl-jobs .gl-flow-bar { height:8px; background:#eceaf3; border-radius:4px; overflow:hidden; }
#section-gl-jobs .gl-flow-bar > span { display:block; height:100%; background:linear-gradient(90deg,#57277f,#6d3a9e); border-radius:4px; }
#section-gl-jobs .gl-flow-val { font-size:12px; font-weight:700; color:#6d3a9e; text-align:right; }

/* GradLens: the full course chip list + course sheet drill-down (2026-07-29),
   restoring what the original provider page showed before it was thinned to
   a top-8 earnings table. Colours reuse the plum/teal tokens already in
   :root, ported from the old build's own gradlens-map.css. */
.gl-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 4px; }
.gl-chip {
  background: rgba(109,58,158,0.1); border: 1px solid var(--accent); color: var(--accent);
  font-family: inherit; font-size: 12px; font-weight: 500; padding: 6px 12px;
  border-radius: 999px; cursor: pointer;
}
.gl-chip:hover { background: rgba(109,58,158,0.2); }
.gl-chip.sel { background: var(--accent); color: #fff; }
.gl-chip-flat { background: var(--surface); border-color: var(--border); color: var(--text-secondary); }
.gl-chip-flat:hover { background: var(--surface-hover); }
.gl-chip-flat.sel { background: var(--text-secondary); border-color: var(--text-secondary); color: #fff; }

.gl-sheet { margin-top: 14px; border-top: 1px solid var(--glass-border); padding-top: 12px; }
.gl-sheet-h { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.gl-sheet-card { margin-bottom: 14px; }
.gl-sheet-card h4 { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin: 0 0 8px; }
.gl-sheet-loading { font-size: 12.5px; color: var(--text-muted); padding: 8px 0; }

.gl-earn-row { margin-bottom: 14px; }
.gl-earn-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.gl-earn-when { font-size: 12px; color: var(--text-secondary); font-weight: 600; }
.gl-earn-med { font-size: 16px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.gl-earn-track { position: relative; height: 16px; background: var(--bg); border-radius: 8px; overflow: visible; }
.gl-earn-range { position: absolute; top: 4px; height: 8px; background: linear-gradient(90deg, rgba(109,58,158,0.55), rgba(14,158,147,0.6)); border-radius: 4px; }
.gl-earn-median { position: absolute; top: 1px; width: 3px; height: 14px; background: var(--accent-hover); border-radius: 2px; transform: translateX(-1px); box-shadow: 0 0 5px rgba(109,58,158,0.6); }
.gl-earn-sector { position: absolute; top: 0; width: 2px; height: 16px; background: var(--accent2); transform: translateX(-1px); }
.gl-earn-foot { display: flex; justify-content: space-between; margin-top: 5px; font-size: 10.5px; color: var(--text-muted); }
.gl-earn-vs { color: var(--text-secondary); }
.gl-earn-legend { font-size: 10.5px; color: var(--text-muted); margin-top: 4px; }
.gl-k-median, .gl-k-sector { display: inline-block; width: 9px; height: 9px; border-radius: 2px; vertical-align: middle; margin-right: 2px; }
.gl-k-median { background: var(--accent-hover); }
.gl-k-sector { background: var(--amber); }

.gl-b3-row { padding: 9px 0; border-bottom: 1px solid var(--glass-border); }
.gl-b3-row:last-child { border-bottom: none; }
.gl-b3-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gl-b3-name { font-size: 12.5px; color: var(--text); }
.gl-b3-foot { display: flex; align-items: baseline; gap: 10px; margin-top: 3px; }
.gl-b3-val { font-size: 17px; font-weight: 800; color: var(--text); }
.gl-b3-bm { font-size: 11px; color: var(--text-muted); }

.gl-cmp-row { display: flex; justify-content: space-between; padding: 7px 9px; border-radius: 6px; font-size: 12.5px; }
.gl-cmp-row.gl-cmp-me { background: rgba(109,58,158,0.12); border: 1px solid var(--accent); }
.gl-cmp-name { color: var(--text-secondary); }
.gl-cmp-me .gl-cmp-name { color: var(--text); font-weight: 600; }
.gl-cmp-val { color: var(--accent); font-weight: 700; }

/* ── School profile (2026-07-30) ── */
#left-school { padding: 4px 2px 30px; }
.sch-cohort { font-size: 12.5px; color: var(--text-secondary); margin: 0 0 9px; }
.glo-pcalt { font-size: 11.5px; color: var(--muted, #7b7488); margin: 8px 0 6px; }
.glo-pcalt a { color: var(--accent2, #0e9e93); }
#panel-tab-study .cj-hero h2 { font-size: 20px; }
#panel-tab-study .cj-facts { margin: 10px 0 12px; }
#panel-tab-study .cj-fact { min-width: 120px; padding: 10px 13px; }
#panel-tab-study .cj-fact-num { font-size: 18px; }

/* ── Onboarding chooser (2026-07-28): session-start Student details ── */
.glo-overlay{position:fixed;inset:0;z-index:2000;background:rgba(27,21,48,.55);display:flex;align-items:center;justify-content:center;padding:24px 16px}
.glo-overlay[hidden]{display:none}
.glo-modal{background:#fff;border-radius:18px;box-shadow:0 16px 46px rgba(27,21,48,.28);overflow:hidden;max-width:600px;width:100%;max-height:calc(100vh - 48px);display:flex;flex-direction:column}
.glo-top{background:var(--accent,#6d3a9e);color:#fff;padding:16px 24px;flex-shrink:0}
.glo-top h2{font-size:20px;font-weight:800;margin:0}
.glo-body{padding:20px 24px 22px;overflow-y:auto;flex:1 1 auto}
.glo-foot{flex-shrink:0}
.new-session-btn{margin-left:auto;font-family:inherit;font-size:13px;font-weight:700;color:#fff;background:var(--accent,#6d3a9e);border:none;border-radius:9px;padding:9px 15px;cursor:pointer}
.new-session-btn:hover{background:var(--deep,#57277f)}
.glo-field{margin-bottom:24px}
.glo-label{font-size:14px;font-weight:700;margin-bottom:3px}
.glo-help{font-size:12.5px;color:var(--muted,#7b7488);margin-bottom:10px}
.glo-seg{display:flex;gap:8px;flex-wrap:wrap}
.glo-seg button{font-family:inherit;font-size:13.5px;font-weight:600;border:1.5px solid var(--border,rgba(27,21,48,.14));background:#fff;color:var(--text2,#4a4458);border-radius:10px;padding:9px 16px;cursor:pointer}
.glo-seg button.on{background:var(--accent,#6d3a9e);color:#fff;border-color:var(--accent,#6d3a9e)}
.glo-pc{font-family:inherit;font-size:15px;padding:11px 14px;border:1.5px solid var(--border,rgba(27,21,48,.14));border-radius:10px;width:150px;text-transform:uppercase}
.glo-pc:focus{outline:none;border-color:var(--accent,#6d3a9e)}
.glo-search{position:relative}
.glo-search input{width:100%;font-family:inherit;font-size:15px;padding:12px 14px 12px 38px;border:1.5px solid var(--border,rgba(27,21,48,.14));border-radius:10px}
.glo-search input:focus{outline:none;border-color:var(--accent,#6d3a9e);box-shadow:0 0 0 3px rgba(109,58,158,.12)}
.glo-mag{position:absolute;left:13px;top:13px;color:var(--muted,#7b7488)}
.glo-results{list-style:none;margin:6px 0 0;padding:0;max-height:230px;overflow:auto;border:1px solid var(--border,rgba(27,21,48,.14));border-radius:10px;display:none}
.glo-results.show{display:block}
.glo-results li{padding:9px 13px;cursor:pointer;border-bottom:1px solid var(--border,rgba(27,21,48,.14))}
.glo-results li:last-child{border-bottom:none}
.glo-results li:hover{background:rgba(109,58,158,.07)}
.glo-rj{font-size:14px;font-weight:600}
.glo-rw{font-size:11px;color:var(--muted,#7b7488)}
.glo-rw b{color:var(--teal,#0e9e93)}
.glo-orline{font-size:12px;color:var(--muted,#7b7488);text-align:center;margin:12px 0 10px}
.glo-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.glo-tile{font-family:inherit;text-align:left;cursor:pointer;border:1.5px solid var(--border,rgba(27,21,48,.14));background:#fff;border-radius:11px;padding:11px 12px 11px 16px;position:relative}
.glo-tile:hover{border-color:var(--accent,#6d3a9e)}
.glo-tile .glo-bar{position:absolute;left:0;top:10px;bottom:10px;width:5px;border-radius:3px}
.glo-tile .glo-tn{font-size:13px;font-weight:700;display:block;line-height:1.25}
.glo-tile .glo-tc{font-size:10.5px;color:var(--muted,#7b7488)}
.glo-tile.dim{opacity:.3}
.glo-tile.hl{border-color:var(--action,#e4572e);box-shadow:0 0 0 2px rgba(228,87,46,.18)}
.glo-chips{display:flex;flex-wrap:wrap;gap:6px}
.glo-chip{font-family:inherit;font-size:12.5px;cursor:pointer;border:1.5px solid var(--border,rgba(27,21,48,.14));background:#fff;color:var(--text2,#4a4458);border-radius:999px;padding:6px 13px}
.glo-chip.on{border-color:var(--action,#e4572e);background:rgba(228,87,46,.08);color:var(--action,#e4572e);font-weight:700}
.glo-back{font-family:inherit;font-size:12.5px;color:var(--accent,#6d3a9e);font-weight:600;background:none;border:none;cursor:pointer;padding:0;margin-bottom:10px}
.glo-crumb{font-size:12.5px;color:var(--muted,#7b7488);margin-bottom:8px}
.glo-crumb b{color:var(--text,#1b1530)}
.glo-grp{border-top:1px solid var(--border,rgba(27,21,48,.14))}
.glo-gh{padding:10px 2px;cursor:pointer;display:flex;justify-content:space-between;font-size:13.5px;font-weight:700;color:var(--accent,#6d3a9e)}
.glo-gh .glo-gc{color:var(--muted,#7b7488);font-weight:600;font-size:11px}
.glo-gb{display:none;padding:2px 2px 11px}
.glo-grp.open .glo-gb{display:block}
.glo-occ{display:flex;flex-wrap:wrap;gap:5px}
.glo-o{font-size:12.5px;background:#f2eef8;border-radius:8px;padding:4px 10px;color:var(--text2,#4a4458);cursor:pointer}
.glo-o:hover{background:rgba(14,158,147,.12);color:#0a6f68}
.glo-o.d::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--teal,#0e9e93);margin-right:5px;vertical-align:middle}
.glo-chosen{margin-top:10px;padding:11px 14px;background:rgba(14,158,147,.09);border-radius:10px;font-size:13.5px;color:#0a6f68;display:none}
.glo-chosen.show{display:block}
.glo-chosen b{color:#075}
.glo-foot{border-top:1px solid var(--border,rgba(27,21,48,.14));padding:16px 24px}
.glo-go{font-family:inherit;font-size:15px;font-weight:700;color:#fff;background:var(--action,#e4572e);border:none;border-radius:11px;padding:12px 22px;cursor:pointer;width:100%}
.glo-go:disabled{background:#c9c4d2;cursor:not-allowed}

/* ── Journey card (2026-07-28): apprenticeships + university subjects ── */
.gl-journey-card{top:auto;bottom:18px;max-height:min(56vh,480px);overflow-y:auto}
.gj-body{padding:14px 17px 16px}
.gj-h{font-size:13px;font-weight:800;margin-bottom:2px}
.gj-sub{font-size:11.5px;color:var(--muted,#7b7488);margin-bottom:9px}
.gj-row{display:flex;justify-content:space-between;gap:8px;padding:6px 0;font-size:12px;border-bottom:1px solid var(--border,rgba(27,21,48,.1))}
.gj-row:last-child{border-bottom:none}
.gj-row .gjn{color:var(--text2,#4a4458)}
.gj-row .gjn b{color:var(--text,#1b1530)}
.gj-lvl{font-size:9.5px;font-weight:700;text-transform:uppercase;border-radius:999px;padding:2px 7px;white-space:nowrap;margin-left:6px}
.gj-lvl.Intermediate{background:rgba(14,158,147,.12);color:#0a6f68}
.gj-lvl.Advanced{background:rgba(109,58,158,.12);color:var(--accent,#6d3a9e)}
.gj-lvl.Higher{background:rgba(228,87,46,.12);color:#b8431f}
.gj-lvl.Degree{background:rgba(87,39,127,.14);color:#57277f}
.gj-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.gj-chip{font-family:inherit;font-size:12px;cursor:pointer;border:1px solid var(--border,rgba(27,21,48,.12));border-radius:999px;padding:5px 11px;background:#fff;color:var(--text2,#4a4458)}
.gj-chip:hover{border-color:var(--accent,#6d3a9e);color:var(--text,#1b1530)}
.gj-conf{font-size:9px;color:var(--muted,#7b7488);text-transform:uppercase;margin-left:4px}
.gj-none{font-size:12px;color:var(--muted,#7b7488);font-style:italic}

/* ── Map lens chips in the Your area panel (2026-07-28) ── */
.pa-lens{display:flex;flex-wrap:wrap;gap:6px}
.pa-lens-chip{font-family:inherit;font-size:12px;cursor:pointer;border:1.5px solid var(--border,rgba(27,21,48,.14));border-radius:999px;padding:5px 12px;background:#fff;color:var(--text2,#4a4458)}
.pa-lens-chip:hover{border-color:var(--accent,#6d3a9e)}
.pa-lens-chip.on{border-color:var(--accent,#6d3a9e);background:rgba(109,58,158,.08);color:var(--accent,#6d3a9e);font-weight:700}

/* journey section inside the guidance card (2026-07-28 rework) */
.gj-sec{border-top:1px solid var(--border,rgba(27,21,48,.1))}
.gj-mini{font-size:12px;color:var(--text2,#4a4458);padding:3px 0;line-height:1.45}
.gj-mini b{color:var(--text,#1b1530);font-weight:600}
.gj-lvl-s{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--accent,#6d3a9e);background:rgba(109,58,158,.1);border-radius:999px;padding:1px 7px;margin-left:4px;white-space:nowrap}

/* ── Career pick card, redesigned (2026-07-31, Nic-approved mockup) ──
   Replaces the flat .gj-college list above. Nic: "why is everything all so
   white, hard to ascertain the distinctions" — so each kind of thing (a
   college course, university, an apprenticeship) is now its own coloured
   section, not white-on-white with a hairline border. College rows collapse
   to name + course count and open on click, so four colleges takes the same
   space as one until you actually want to look. No icons — colour and the
   heading carry the distinction (Nic: "get rid of those emojis"). */
.gj-section{padding:13px 15px;border-left:4px solid transparent;border-radius:0 10px 10px 0;margin:0 0 9px}
.gj-section.course{background:#f1ebf9;border-left-color:var(--accent,#6d3a9e)}
.gj-section.uni{background:#fdefe7;border-left-color:var(--action,#e4572e)}
.gj-section.appr{background:#e9f7f5;border-left-color:var(--accent2,#0e9e93)}
.gj-section.checked{background:#eef6ee;border-left-color:#2e7d4f}
.gj-section-head{display:flex;align-items:baseline;gap:8px;margin-bottom:9px}
.gj-section-title{font-size:13px;font-weight:800}
.gj-section.course .gj-section-title{color:var(--accent-deep,#57277f)}
.gj-section.uni .gj-section-title{color:#b8431f}
.gj-section.appr .gj-section-title{color:#0a6f68}
.gj-section.checked .gj-section-title{color:#1f5c38}
.gj-section-sub{font-size:10.5px;color:var(--text-muted,#7b7488);margin-left:auto;white-space:nowrap}
.gj-step-n{width:20px;height:20px;border-radius:50%;background:var(--text,#1b1530);color:#fff;font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;flex:none;align-self:center}
.gj-range{font-size:11px;color:var(--text-muted,#7b7488);margin:8px 0 0}
.gj-range-more{border:none;background:none;padding:0;font-family:inherit;font-size:11px;font-weight:700;color:var(--accent,#6d3a9e);cursor:pointer;text-decoration:underline}

/* Checked route (2026-07-31): career-by-career reviewed answers, see
   gl-data/COURSE-MAPPING-METHOD.md. Distinct green so it visually reads as
   "checked", separate from the older word-matched course section. */
.gj-checked-item{font-size:12.5px;padding:6px 0;border-top:1px dashed rgba(31,92,56,.15)}
.gj-checked-item:first-of-type{border-top:none}
.gj-checked-item>div:first-child{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.gj-checked-subj{font-weight:600;color:var(--text,#1b1530)}
.gj-checked-tag{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#1f5c38;background:rgba(46,125,79,.12);border-radius:999px;padding:2px 8px;white-space:nowrap}
.gj-checked-item .gj-crow{margin-top:6px}
.gj-checked-nomatch{font-size:11px;color:var(--text-muted,#7b7488);margin-top:5px;font-style:italic}
.gj-checked-source{font-size:11px;color:#1f5c38;text-decoration:underline;display:inline-block;margin-top:8px}

/* college row — collapsed by default, click to open. White card sitting on
   the tinted section so individual colleges still stand out from the
   grouping colour behind them. */
.gj-crow{background:#fff;border-radius:9px;margin-bottom:6px;overflow:hidden;box-shadow:0 1px 3px rgba(27,21,48,.08)}
.gj-crow:last-child{margin-bottom:0}
.gj-crow-head{display:flex;align-items:center;gap:9px;padding:9px 11px;cursor:pointer;user-select:none;font-family:inherit;width:100%;border:none;background:none;text-align:left}
.gj-crow-head:hover{background:var(--surface,#f6f4fa)}
.gj-crow-name{font-weight:700;font-size:12.5px;color:var(--text,#1b1530);flex:1;min-width:0}
.gj-crow-miles{font-size:10.5px;color:var(--text-muted,#7b7488);white-space:nowrap}
.gj-crow-count{font-size:10px;font-weight:700;background:rgba(109,58,158,.1);color:var(--accent,#6d3a9e);border-radius:999px;padding:2px 8px;white-space:nowrap}
.gj-crow-chev{font-size:9px;color:var(--text-muted,#7b7488);transition:transform .15s ease;flex:none}
.gj-crow.open .gj-crow-chev{transform:rotate(90deg)}
.gj-crow-body{display:none;padding:0 11px 9px 11px}
.gj-crow.open .gj-crow-body{display:block}
.gj-crs{padding:4px 0 4px 13px;border-left:2px solid var(--border,rgba(27,21,48,.12));font-size:11.5px;color:var(--text2,#4a4458);margin-left:1px}

/* apprenticeship tile — its own shape, not a text list */
.gj-atile{display:flex;align-items:center;gap:9px;background:#fff;border-radius:9px;padding:8px 11px;margin-bottom:6px;box-shadow:0 1px 3px rgba(27,21,48,.08)}
.gj-atile:last-child{margin-bottom:0}
.gj-atile-dot{width:6px;height:6px;border-radius:50%;background:var(--accent2,#0e9e93);flex:none}
.gj-atile-body{flex:1;min-width:0}
.gj-atile-title{font-size:12px;font-weight:700;color:var(--text,#1b1530)}
.gj-atile-meta{font-size:10.5px;color:var(--text-muted,#7b7488)}
