/* All styles are scoped to .university-dashboard so they won't affect your main website. */
    .university-dashboard {
      --ud-ink: #14245f;
      --ud-muted: #687087;
      --ud-accent: #e7b94f;
      --ud-line: #e9ebf2;
      --ud-card: #ffffff;
      --ud-soft: #f7f8fc;
      color: var(--ud-ink);
      font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
      width: 100%;
      box-sizing: border-box;
      padding: clamp(18px, 3.5vw, 44px);
      background: #fff;
      border-radius: 18px;
      overflow: hidden;
    }
    .university-dashboard *, .university-dashboard *::before, .university-dashboard *::after {
      box-sizing: border-box;
    }
    .ud-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 18px;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }
    .ud-eyebrow {
      margin: 0 0 8px;
      color: #8a6a1e;
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .14em;
      text-transform: uppercase;
    }
    .ud-title {
      margin: 0;
      color: #111827;
      font-size: clamp(1.8rem, 4vw, 2.7rem);
      line-height: 1.12;
      font-weight: 800;
      letter-spacing: -.045em;
    }
    .ud-subtitle {
      margin: 10px 0 0;
      color: var(--ud-muted);
      max-width: 620px;
      line-height: 1.6;
      font-size: .96rem;
    }
    .ud-updated {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #f5f7fb;
      color: #4c566d;
      padding: 9px 13px;
      border-radius: 999px;
      font-size: .78rem;
      font-weight: 650;
      white-space: nowrap;
    }
    .ud-live-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #26a269; display: inline-block;
      box-shadow: 0 0 0 4px #26a2691a;
    }
    .ud-featured {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      margin-bottom: 18px;
    }
    .ud-hero-card {
      position: relative;
      min-height: 170px;
      padding: 24px;
      border-radius: 16px;
      overflow: hidden;
      background: var(--ud-ink);
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .ud-hero-card::after {
      content: "";
      position: absolute;
      width: 180px; height: 180px;
      border: 1px solid #ffffff24;
      border-radius: 50%;
      right: -60px; bottom: -95px;
      box-shadow: 0 0 0 22px #ffffff08, 0 0 0 44px #ffffff06;
      pointer-events: none;
    }
    .ud-hero-label { font-size: .85rem; color: #d7def8; font-weight: 600; }
    .ud-hero-value { font-size: clamp(2rem, 4vw, 3rem); font-weight: 850; letter-spacing: -.045em; margin: 12px 0 4px; }
    .ud-hero-note { font-size: .8rem; color: #d7def8; }
    .ud-hero-icon {
      width: 38px; height: 38px; display: grid; place-items: center;
      border-radius: 11px; background: #ffffff1b; color: #fff;
      font-size: 1.15rem; position: absolute; right: 20px; top: 20px;
    }
    .ud-hero-card.gold { background: #f4c65d; color: #172554; }
    .ud-hero-card.gold .ud-hero-label, .ud-hero-card.gold .ud-hero-note { color: #3e3a2e; }
    .ud-hero-card.gold .ud-hero-icon { background: #17255412; color: #172554; }
    .ud-hero-card.pale { background: #f2f4fb; color: var(--ud-ink); border: 1px solid var(--ud-line); }
    .ud-hero-card.pale .ud-hero-label, .ud-hero-card.pale .ud-hero-note { color: var(--ud-muted); }
    .ud-hero-card.pale .ud-hero-icon { background: #14245f0c; color: var(--ud-ink); }
    .ud-section-heading {
      display: flex; align-items: center; justify-content: space-between;
      gap: 14px; margin: 30px 0 15px; flex-wrap: wrap;
    }
    .ud-section-heading h3 { margin: 0; color: #172033; font-size: 1.12rem; font-weight: 800; }
    .ud-section-heading span { color: var(--ud-muted); font-size: .82rem; }
    .ud-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }
    .ud-stat {
      min-width: 0;
      background: var(--ud-card);
      border: 1px solid var(--ud-line);
      border-radius: 14px;
      padding: 19px;
      box-shadow: 0 4px 18px #18244b05;
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }
    .ud-stat:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #18244b0d; border-color: #d4d9e8; }
    .ud-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .ud-stat-icon {
      display: grid; place-items: center; width: 38px; height: 38px;
      border-radius: 11px; background: #f0f2fa; color: var(--ud-ink); font-size: 1.08rem;
      flex: 0 0 auto;
    }
    .ud-trend { font-size: .72rem; color: #25825d; background: #eaf7f0; border-radius: 999px; padding: 5px 7px; font-weight: 750; }
    .ud-number { margin: 17px 0 6px; font-size: clamp(1.65rem, 2.6vw, 2.2rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 850; color: var(--ud-ink); overflow-wrap: anywhere; }
    .ud-label { margin: 0; font-size: .86rem; line-height: 1.4; color: #535d73; font-weight: 650; }
    .ud-detail { color: #8991a3; font-size: .75rem; margin-top: 7px; line-height: 1.4; }
    .ud-progress-wrap { margin-top: 14px; }
    .ud-progress-meta { display: flex; justify-content: space-between; gap: 8px; color: #788196; font-size: .72rem; margin-bottom: 7px; }
    .ud-progress { width: 100%; height: 6px; border-radius: 99px; background: #edf0f6; overflow: hidden; }
    .ud-progress-fill { width: 0; height: 100%; border-radius: inherit; background: var(--ud-accent); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
    .ud-bottom-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 18px; }
    .ud-panel { border: 1px solid var(--ud-line); background: #fff; border-radius: 16px; padding: 22px; min-width: 0; }
    .ud-panel h3 { margin: 0; font-size: 1rem; color: #172033; font-weight: 800; }
    .ud-panel-intro { margin: 7px 0 18px; color: var(--ud-muted); font-size: .82rem; line-height: 1.5; }
    .ud-bar-row { display: grid; grid-template-columns: minmax(95px, .8fr) 2fr auto; align-items: center; gap: 12px; margin: 16px 0; }
    .ud-bar-label { color: #505a70; font-size: .8rem; font-weight: 650; }
    .ud-bar-track { height: 9px; border-radius: 99px; background: #eff1f6; overflow: hidden; }
    .ud-bar-fill { height: 100%; width: 0; background: var(--ud-ink); border-radius: inherit; transition: width 1.2s ease; }
    .ud-bar-fill.gold { background: var(--ud-accent); }
    .ud-bar-value { color: var(--ud-ink); font-size: .78rem; font-weight: 800; text-align: right; }
    .ud-ratio-list { display: grid; gap: 15px; }
    .ud-ratio-item { display: flex; align-items: center; gap: 12px; }
    .ud-ratio-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #f2f4fb; font-size: 1.15rem; }
    .ud-ratio-text { min-width: 0; flex: 1; }
    .ud-ratio-name { color: #596278; font-size: .79rem; margin-bottom: 4px; }
    .ud-ratio-value { color: var(--ud-ink); font-size: 1.1rem; font-weight: 800; }
    .ud-footer { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--ud-line); color: #8991a3; font-size: .75rem; line-height: 1.5; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
    @media (max-width: 980px) {
      .ud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .ud-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 620px) {
      .university-dashboard { padding: 18px 14px; border-radius: 12px; }
      .ud-featured, .ud-bottom-grid { grid-template-columns: 1fr; }
      .ud-grid { gap: 10px; }
      .ud-stat { padding: 14px; }
      .ud-number { font-size: 1.7rem; }
      .ud-label { font-size: .78rem; }
      .ud-trend { display: none; }
      .ud-bar-row { grid-template-columns: 90px 1fr auto; gap: 8px; }
      .ud-panel { padding: 17px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .university-dashboard *, .university-dashboard *::before, .university-dashboard *::after {
        transition: none !important; scroll-behavior: auto !important;
      }
    }
