:root {
  --ink: #101112;
  --muted: #737b80;
  --line: rgba(16, 17, 18, 0.08);
  --paper: #f6fafc;
  --panel: rgba(255, 255, 255, 0.82);
  --white: #ffffff;
  --brand: #00d0e2;
  --hop: #00d0e2;
  --brand-dark: #008b99;
  --brand-soft: #d8fbff;
  --night: #07151d;
  --navy: #426AB7;
  --green: #BFE900;
  --green-soft: #f4ffd1;
  --amber: #FFD000;
  --amber-soft: #fff6c6;
  --red: #df5f53;
  --red-soft: #ffe7e4;
  --shadow: 0 22px 70px rgba(16, 17, 18, 0.14);
  --tile-shadow: 0 16px 44px rgba(16, 17, 18, 0.08);
  --tile-shadow-hover: 0 24px 48px rgba(0, 208, 226, 0.16);
  --panel-shadow: 0 22px 60px rgba(7, 21, 29, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --app-width: min(100% - 44px, 1042px);
  --progress: 0%;
  --progress-decimal: 0;
  --font-body: "Proxima Nova", "proxima-nova", "Avenir Next", Inter, system-ui, sans-serif;
  --font-heading: "Roca 2", "Roca", "Roca Italic", "Roca One", "Proxima Nova", Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  padding-bottom: 118px;
}

.locked {
  overflow: hidden;
}

.locked .portal-shell,
.locked .bottom-nav,
.locked dialog {
  display: none;
}

.locked .top-profile {
  visibility: hidden;
}

.preview-lock,
.advisor-onboarding-screen,
.advisor-verification-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--hop);
}

body:not(.locked) .preview-lock {
  display: none;
}

body.advisor-onboarding,
body.advisor-hold {
  overflow: hidden;
}

body.advisor-onboarding .portal-shell,
body.advisor-onboarding .bottom-nav,
body.advisor-onboarding .preview-lock,
body.advisor-hold .portal-shell,
body.advisor-hold .bottom-nav,
body.advisor-hold .preview-lock {
  display: none;
}

body.portal-resolving .portal-shell,
body.portal-resolving .bottom-nav,
body.portal-resolving .preview-lock {
  display: none;
}

.preview-lock-card {
  width: min(100%, 460px);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(16, 17, 18, 0.2);
}

.preview-lock-logo {
  width: 118px;
  height: auto;
}

.preview-lock-card h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 12vw, 4.6rem);
  text-shadow: none;
}

.preview-lock-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.preview-lock-card form,
.preview-lock-card label {
  display: grid;
  gap: 10px;
}

.preview-lock-card label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.preview-lock-card input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--white);
}

.preview-lock-card select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--white);
}

.preview-lock-card small {
  min-height: 18px;
  color: var(--red);
  font-weight: 700;
}

.advisor-onboarding-card {
  width: min(100%, 430px);
  max-width: calc(100vw - 32px);
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 430px;
  margin: auto 0;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.advisor-onboarding-card h1 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--white);
  font-size: clamp(56px, 16vw, 86px);
  font-weight: 650;
  line-height: 0.92;
  text-transform: lowercase;
  text-shadow: none;
}

.advisor-onboarding-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.advisor-onboarding-card form {
  display: grid;
  gap: 10px;
  padding: 0;
}

.advisor-onboarding-card label {
  display: grid;
  gap: 10px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 650;
  text-transform: none;
}

.advisor-onboarding-card input,
.advisor-onboarding-card select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(16, 17, 18, 0.08);
}

.advisor-onboarding-country-code {
  max-width: 220px;
}

.advisor-onboarding-phone-field {
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  align-items: end;
}

.advisor-onboarding-phone-field span {
  grid-column: 1 / -1;
}

.advisor-onboarding-country-code.hidden {
  display: none;
}

.advisor-onboarding-card small {
  min-height: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.advisor-onboarding-card .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.advisor-onboarding-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.advisor-onboarding-actions .primary-action,
.advisor-onboarding-actions .task-action {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-transform: none;
}

.advisor-onboarding-actions .primary-action {
  color: var(--hop);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(16, 17, 18, 0.16);
}

.advisor-onboarding-actions .primary-action:hover,
.advisor-onboarding-actions .primary-action:focus-visible {
  color: var(--hop);
  background: var(--white);
  border-color: transparent;
}

.advisor-onboarding-actions .primary-action:active {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.advisor-onboarding-actions .task-action {
  color: var(--hop);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(16, 17, 18, 0.1);
}

.advisor-onboarding-actions .task-action:hover,
.advisor-onboarding-actions .task-action:focus-visible {
  color: var(--hop);
  background: rgba(255, 255, 255, 0.92);
}

.advisor-onboarding-actions .task-action:active {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.advisor-terms-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  text-transform: none;
}

.advisor-terms-row input {
  width: 22px;
  min-height: 22px;
  margin-top: 1px;
  accent-color: var(--white);
  box-shadow: none;
}

.advisor-terms-row span {
  color: var(--white);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.hidden {
  display: none !important;
}

button,
select,
input {
  font: inherit;
}

a.primary-action,
a.task-action {
  text-decoration: none;
}

.portal-shell {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 42px;
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: max(12px, env(safe-area-inset-top)) 14px 8px;
  background: transparent;
  transition: background 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}

.hop-logo-img {
  display: block;
  width: 74px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 10px 22px rgba(16, 17, 18, 0.18));
  transition: filter 260ms ease, opacity 260ms ease;
}

.brand-mark {
  display: block;
  min-width: 74px;
}

.top-profile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  justify-content: start;
  transition: color 260ms ease;
}

.profile-avatar {
  position: relative;
  overflow: hidden;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  padding: 0;
  color: var(--hop);
  background: white;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  box-shadow: 0 14px 30px rgba(16, 17, 18, 0.12);
  transition: color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.profile-avatar.has-photo {
  overflow: hidden;
  padding: 0;
  position: relative;
  color: var(--hop);
  background: #f4f6f7;
}

.profile-avatar.has-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.avatar-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

.top-profile strong,
.top-profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-profile strong {
  font-size: 14px;
  line-height: 1.05;
}

.top-profile small {
  max-width: 140px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  transition: color 260ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 7px;
}

.header-icon-button,
.settings-chip {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(16, 17, 18, 0.12);
  transition: color 260ms ease, background 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.alert-count {
  position: absolute;
  right: -2px;
  top: -4px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: #101112;
  background: white;
  border: 1px solid rgba(16, 17, 18, 0.08);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.profile-avatar {
  display: none !important;
}

.deadline-chip-top {
  min-width: 86px;
  min-height: 38px;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 6px 10px;
  color: var(--hop);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
}

body.hero-scrolled .app-header {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(16, 17, 18, 0.08);
  backdrop-filter: blur(18px);
}

body.hero-scrolled .hop-logo-img {
  filter: drop-shadow(0 8px 18px rgba(0, 208, 226, 0.16));
}

body.hero-scrolled .top-profile {
  color: var(--ink);
}

body.hero-scrolled .top-profile small {
  color: var(--brand-dark);
}

body.hero-scrolled .top-profile .profile-avatar {
  color: var(--white);
  background: var(--hop);
  box-shadow: 0 12px 26px rgba(0, 208, 226, 0.22);
}

body.hero-scrolled .settings-chip {
  color: var(--brand-dark);
  background: rgba(0, 208, 226, 0.1);
  border-color: rgba(0, 208, 226, 0.24);
  box-shadow: 0 12px 26px rgba(16, 17, 18, 0.08);
}

body.hero-scrolled .deadline-chip-top {
  color: var(--brand-dark);
  background: rgba(0, 208, 226, 0.1);
  border-color: rgba(0, 208, 226, 0.24);
  box-shadow: 0 12px 26px rgba(16, 17, 18, 0.08);
}

body.hero-scrolled .alert-count {
  color: var(--white);
  background: var(--hop);
  border-color: rgba(0, 208, 226, 0.24);
}

.calendar-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: currentColor;
}

.calendar-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 14px;
  width: 214px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(16, 17, 18, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 52px rgba(16, 17, 18, 0.18);
}

.account-menu button,
.account-menu a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
}

.account-menu button:hover,
.account-menu button:focus-visible,
.account-menu a:hover,
.account-menu a:focus-visible {
  background: rgba(0, 208, 226, 0.12);
}

.deadline-chip-top strong {
  font-size: 13px;
  line-height: 1;
}

.settings-chip span,
.settings-chip span::before,
.settings-chip span::after {
  display: block;
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}

.settings-chip span {
  position: relative;
}

.settings-chip span::before,
.settings-chip span::after {
  content: "";
  position: absolute;
  top: 0;
}

.settings-chip span::before {
  left: -8px;
}

.settings-chip span::after {
  right: -8px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  width: 100vw;
  min-height: 100svh;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  padding: 118px max(18px, calc((100vw - 1120px) / 2 + 18px)) 92px;
  border-radius: 0;
  color: var(--white);
  background:
    linear-gradient(160deg, #00d0e2 0%, #0fd8e8 48%, #00bdd0 100%);
  box-shadow: inset 0 -120px 120px rgba(16, 17, 18, 0.1);
  transform: scale(1);
  transform-origin: top center;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), border-radius 520ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, border-radius;
}

.hero-version-tag {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(7, 21, 29, 0.14);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-down-arrow {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  width: 46px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: transparent;
  transform: translateX(-50%);
  text-decoration: none;
  animation: hero-arrow-bounce 2.8s ease-in-out infinite;
}

.hero-down-arrow svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-down-arrow:hover,
.hero-down-arrow:focus-visible {
  color: rgba(255, 255, 255, 0.78);
}

@keyframes hero-arrow-bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

.hero.is-loading::after {
  content: "";
  position: absolute;
  right: max(18px, calc((100vw - 1120px) / 2 + 18px));
  top: 98px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.38);
  border-top-color: var(--white);
  border-radius: 999px;
  animation: spin-mark 820ms linear infinite;
}

body.hero-scrolled .hero {
  transform: scale(0.93);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero__content,
.hero__status {
  position: relative;
  z-index: 1;
}

.eyebrow,
.label {
  margin: 0 0 8px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-body);
  line-height: 1.02;
}

h1 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(52px, 13vw, 92px);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
  text-transform: lowercase;
  text-shadow: 0 20px 44px rgba(16, 17, 18, 0.14);
}

.hero__copy {
  max-width: 360px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.role-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 5px;
  margin-top: 24px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 34px rgba(16, 17, 18, 0.12);
  backdrop-filter: blur(14px);
}

.role-tab {
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
}

.role-tab.is-active {
  color: var(--night);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(16, 17, 18, 0.1);
}

.role-tab:disabled,
.role-tab.is-disabled {
  color: rgba(16, 17, 18, 0.34);
  cursor: not-allowed;
  opacity: 0.62;
}

.preview-lock .role-switch {
  width: fit-content;
  margin-top: 0;
  border-color: rgba(0, 208, 226, 0.32);
  background: rgba(0, 208, 226, 0.18);
}

.preview-lock .role-tab {
  color: rgba(16, 17, 18, 0.46);
}

.preview-lock .role-tab.is-active {
  color: var(--night);
  background: rgba(255, 255, 255, 0.96);
}

.hero-metrics span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

.hero__status {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 10px;
  min-width: 168px;
  min-height: 50px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(16, 17, 18, 0.16);
  overflow: hidden;
}

.hero__status::before {
  content: "";
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  border-radius: 14px;
  background: rgba(0, 208, 226, 0.26);
  transform: scaleX(var(--progress-decimal));
  transform-origin: left center;
  transition: transform 260ms ease;
}

.hero-news-feed {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(150px, 0.55fr));
  gap: 12px;
  width: 100%;
  align-self: end;
}

.portal-shell[data-view-mode="advisor"] .hero-news-feed {
  display: grid;
}

.portal-shell[data-view-mode="advisor"] .hero__status {
  display: none;
}

.hero-news-card {
  min-width: 0;
  display: grid;
  gap: 5px;
  align-content: start;
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  text-align: left;
  backdrop-filter: blur(12px);
}

.hero-news-feed span,
.hero-news-feed small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

#hero-headline-detail {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-news-feed strong {
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
}

.hero-news-card strong#hero-student-count {
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 0.88;
}

.hero-news-feature strong {
  max-width: 760px;
  white-space: normal;
}

.hero-news-open {
  width: fit-content;
  min-height: 34px;
  margin-top: 6px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.hero-news-open:hover,
.hero-news-open:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.advisor-list-link {
  justify-self: start;
  align-self: start;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.advisor-list-link:hover,
.advisor-list-link:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.status-ring {
  display: inline;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hop);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.status-label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: lowercase;
  position: relative;
  z-index: 1;
}

.mission-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: var(--app-width);
  margin: 18px auto;
}

.mission-card {
  display: grid;
  gap: 5px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(16, 17, 18, 0.08);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.mission-card:hover {
  border-color: rgba(0, 208, 226, 0.48);
  box-shadow: 0 22px 42px rgba(0, 208, 226, 0.14);
  transform: translateY(-3px);
}

.mission-card span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 10px;
  color: var(--brand-dark);
  background: #e7fbfd;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
}

.mission-card strong {
  font-size: 1.15rem;
  font-weight: 600;
}

.mission-card small {
  color: var(--muted);
  font-size: 0.88rem;
}

.student-strip {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 1.8fr) minmax(180px, 0.8fr);
  gap: 16px;
  width: var(--app-width);
  margin: 18px auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(16, 17, 18, 0.08);
  backdrop-filter: blur(18px);
}

.student-profile-main,
.student-profile-stats,
.student-profile-meta {
  min-width: 0;
}

.student-profile-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar.large {
  width: 48px;
  height: 48px;
  box-shadow: none;
}

.student-profile-main small,
.student-profile-stats span,
.student-profile-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.student-strip strong {
  display: block;
  overflow-wrap: anywhere;
  color: #101112;
  font-size: 1.05rem;
  font-weight: 600;
}

.student-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.student-profile-stats span,
.student-profile-meta span {
  display: block;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0, 208, 226, 0.1);
}

.student-profile-meta {
  display: grid;
  gap: 8px;
}

.student-strip .label,
.support-panel .label {
  color: var(--muted);
}

.next-step .label {
  color: var(--brand);
}

.layout-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 20px;
  align-items: start;
  width: var(--app-width);
  margin: 0 auto;
}

.sidebar,
.main-panel {
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--panel-shadow);
}

.sidebar {
  display: grid;
  gap: 16px;
  padding: 18px;
  position: sticky;
  top: 112px;
}

.next-step {
  padding: 22px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(150deg, var(--night), #0c2632 58%, #055d67);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 36px rgba(7, 21, 29, 0.12);
}

.next-step h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
}

.next-step p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.primary-action,
.nav-item,
menu button {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 16px;
  color: var(--night);
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(0, 208, 226, 0.28);
}

.primary-action:hover {
  background: #45e6f2;
}

.schedule-guide-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: none;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.schedule-guide-action:hover,
.schedule-guide-action:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.schedule-guide-action svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portal-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: var(--app-width);
  margin: 0 auto 18px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(16, 17, 18, 0.06);
  backdrop-filter: blur(18px);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--night);
  background: #e9fbfd;
  box-shadow: inset 0 0 0 1px rgba(0, 208, 226, 0.18);
}

.portal-nav .nav-icon {
  display: grid;
  width: 34px;
  height: 24px;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--brand-dark);
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
}

.support-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: var(--radius);
}

.support-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.support-panel .schedule-guide-action {
  margin-top: 0;
  color: var(--night);
  background: var(--brand);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 208, 226, 0.22);
}

.support-panel .schedule-guide-action:hover,
.support-panel .schedule-guide-action:focus-visible {
  color: var(--night);
  background: #45e6f2;
  border-color: transparent;
}

a {
  color: var(--brand-dark);
  font-weight: 600;
}

.main-panel {
  min-width: 0;
  padding: 28px;
}

.panel-heading {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.panel-heading .eyebrow {
  color: var(--brand-dark);
}

.panel-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
}

select {
  min-height: 42px;
  max-width: 220px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 22px;
  padding-top: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 9px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0 25%, var(--hop) 25% 45%, rgba(16, 17, 18, 0.08) 45%);
}

.timeline-step {
  position: relative;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(238, 244, 247, 0.9);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(219, 229, 234, 0.65);
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -22px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--paper);
  border-radius: 6px;
  background: #cbd8de;
  transform: translateX(-50%);
  box-shadow: 0 8px 18px rgba(16, 17, 18, 0.12);
}

.timeline-step.is-done {
  color: #05634d;
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px rgba(18, 168, 125, 0.16);
}

.timeline-step.is-done::before {
  background: var(--green);
}

.timeline-step.is-current {
  color: var(--brand-dark);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(0, 208, 226, 0.2);
}

.timeline-step.is-current::before {
  background: var(--hop);
}

.notice {
  margin-bottom: 16px;
  padding: 15px 17px;
  border: 1px solid rgba(0, 208, 226, 0.3);
  border-radius: var(--radius);
  background: #edfdff;
  color: #173b45;
  font-weight: 600;
}

.hopscotch-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  counter-reset: hop;
  padding: 2px;
}

.task-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-content: space-between;
  min-height: 184px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(219, 229, 234, 0.92);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--tile-shadow);
  counter-increment: hop;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.task-card::before {
  content: counter(hop, decimal-leading-zero);
  position: absolute;
  right: 16px;
  top: 12px;
  color: rgba(7, 21, 29, 0.07);
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1;
}

.task-card:nth-child(3n + 1) {
  grid-column: 1 / -1;
  min-height: 150px;
}

.task-card:hover {
  border-color: rgba(0, 208, 226, 0.46);
  box-shadow: var(--tile-shadow-hover);
  transform: translateY(-4px);
}

.task-icon {
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.task-card[data-state="action"] .task-icon,
.task-card[data-state="needsChanges"] .task-icon {
  color: var(--brand-dark);
  background: #e7fbfd;
}

.task-card[data-state="review"] .task-icon {
  color: #855600;
  background: #fff6e5;
}

.task-card[data-state="done"] .task-icon {
  color: #05634d;
  background: #e7fbf4;
}

.task-card[data-state="locked"] .task-icon {
  color: var(--muted);
  background: #eef0f0;
}

.task-main {
  position: relative;
  min-width: 0;
  z-index: 1;
}

.task-main h3 {
  max-width: calc(100% - 68px);
  margin-bottom: 8px;
  font-size: 1.32rem;
  line-height: 1.2;
  font-weight: 600;
}

.task-main p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.deadline-chip {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 8px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 8px 10px;
  border: 1px solid #d6e8ee;
  border-radius: var(--radius-sm);
  background: #f7fbfd;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.deadline-chip span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.deadline-chip strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.deadline-chip[data-state="action"],
.deadline-chip[data-state="needsChanges"] {
  border-color: rgba(0, 208, 226, 0.45);
  background: #e7fbfd;
}

.deadline-chip[data-state="review"] {
  border-color: rgba(246, 185, 59, 0.48);
  background: #fff6e5;
}

.deadline-chip[data-state="done"] {
  border-color: rgba(18, 168, 125, 0.34);
  background: #e7fbf4;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #eef4f7;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.task-controls {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.task-card[data-state="done"] .status-pill {
  color: #05634d;
  background: #e7fbf4;
}

.task-card[data-state="review"] .status-pill {
  color: #855600;
  background: #fff6e5;
}

.task-card[data-state="action"] .status-pill,
.task-card[data-state="needsChanges"] .status-pill {
  color: var(--brand-dark);
  background: #e7fbfd;
}

.task-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 208, 226, 0.7);
  border-radius: var(--radius-sm);
  color: var(--brand-dark);
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.task-action:hover {
  color: var(--night);
  background: var(--brand-soft);
  border-color: var(--brand);
  transform: translateY(-1px);
}

.task-action[disabled] {
  border-color: var(--line);
  color: var(--muted);
  background: #f6f7f6;
  cursor: not-allowed;
}

.advisor-view {
  width: var(--app-width);
  margin: 12px auto 40px;
}

.advisor-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: start;
  margin-bottom: 10px;
  padding: 20px 22px;
  border: 1px solid rgba(0, 139, 153, 0.22);
  border-radius: 20px;
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 22px 60px rgba(0, 139, 153, 0.2);
}

.advisor-hero-panel .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.advisor-hero-panel h2 {
  max-width: 560px;
  margin-bottom: 6px;
  color: var(--white);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.65rem, 3.8vw, 2.55rem);
  font-weight: 700;
  line-height: 0.96;
}

.advisor-hero-panel p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.advisor-summary-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.advisor-summary-copy {
  flex: 1 1 360px;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.advisor-hero-panel .advisor-summary-row p {
  max-width: none;
}

.advisor-profile-chip {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 204px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 16px;
  color: var(--night);
  background: rgba(255, 255, 255, 0.92);
}

.advisor-profile-chip strong,
.advisor-profile-chip small {
  display: block;
}

.advisor-profile-chip small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.advisor-refresh-button {
  min-height: 42px;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 17, 18, 0.06);
}

.advisor-refresh-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advisor-refresh-button:hover,
.advisor-refresh-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  color: var(--white);
  background: rgba(255, 255, 255, 0.22);
}

.advisor-refresh-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.advisor-refresh-button.is-loading svg {
  animation: refresh-spin 900ms linear infinite;
}

@keyframes refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

.advisor-action-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

.advisor-action-strip button {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 9px;
  align-items: center;
  min-height: 70px;
  padding: 11px;
  border: 1px solid rgba(219, 229, 234, 0.95);
  border-radius: 16px;
  color: var(--night);
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(16, 17, 18, 0.055);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.advisor-action-strip button:hover,
.advisor-action-strip button:focus-visible {
  border-color: rgba(0, 208, 226, 0.42);
  background: rgba(247, 253, 254, 0.98);
  transform: translateY(-1px);
}

.advisor-action-strip span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: var(--brand-dark);
  background: rgba(219, 250, 253, 0.95);
}

.advisor-action-strip svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advisor-action-strip strong,
.advisor-action-strip small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.advisor-action-strip strong {
  align-self: end;
  font-size: 0.9rem;
  font-weight: 900;
}

.advisor-action-strip small {
  align-self: start;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.advisor-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.advisor-stats article {
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid rgba(219, 229, 234, 0.75);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.advisor-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.advisor-stats strong {
  display: block;
  margin-top: 7px;
  color: var(--night);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 0.9;
}

.advisor-attention-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(219, 229, 234, 0.74);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.advisor-attention-panel h3 {
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-style: italic;
  font-weight: 700;
}

.advisor-attention-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.advisor-attention-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.advisor-attention-list article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(219, 229, 234, 0.78);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: none;
}

.advisor-attention-list span,
.advisor-attention-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.advisor-attention-list strong {
  color: var(--night);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 0.9;
}

.weekly-brief-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.45fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(219, 229, 234, 0.78);
  border-radius: 20px;
  background: rgba(247, 251, 253, 0.84);
  box-shadow: none;
}

.weekly-brief-panel h3 {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-style: italic;
  font-weight: 700;
}

.weekly-brief-panel p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.weekly-brief-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: 190px;
}

.weekly-brief-actions span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
  text-align: right;
}

.advisor-insights-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--tile-shadow);
}

.advisor-insights-heading {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
}

.advisor-insights-heading h3 {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 700;
}

.advisor-insights-heading span {
  min-width: 98px;
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--green) 38%, transparent);
  border-radius: 14px;
  color: #587000;
  background: var(--green-soft);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.advisor-insight-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -2px;
}

.advisor-insight-terms button {
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.advisor-insight-terms button:hover,
.advisor-insight-terms button:focus-visible {
  border-color: rgba(0, 208, 226, 0.42);
  color: var(--night);
  transform: translateY(-1px);
}

.advisor-insight-terms button.is-active {
  border-color: rgba(0, 208, 226, 0.42);
  color: var(--brand-dark);
  background: rgba(219, 250, 253, 0.92);
}

.advisor-insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.insight-metric-card,
.insight-chart-card {
  display: grid;
  gap: 7px;
  min-height: 98px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7fbfd;
}

.insight-metric-card span,
.insight-metric-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.insight-metric-card strong {
  color: var(--night);
  font-size: 1.75rem;
  font-weight: 750;
  line-height: 0.95;
}

.insight-chart-card {
  grid-column: span 2;
  min-height: 158px;
}

.insight-chart-card h4,
.insight-outcome-card h4,
.insight-stacked-card h4,
.insight-term-card h4 {
  margin: 0 0 4px;
  color: var(--night);
  font-size: 0.96rem;
  font-weight: 750;
}

.insight-outcome-card,
.insight-stacked-card,
.insight-term-card {
  display: grid;
  gap: 10px;
  grid-column: span 2;
  min-height: 158px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7fbfd;
}

.insight-outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.insight-outcome-grid span {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 16px;
  color: var(--muted);
  background: var(--white);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.insight-outcome-grid strong {
  color: var(--night);
  font-size: 1.8rem;
  line-height: 0.95;
}

.insight-outcome-grid [data-outcome="in-country"] {
  background: rgba(0, 208, 226, 0.13);
}

.insight-outcome-grid [data-outcome="alumni"] {
  background: rgba(18, 168, 125, 0.13);
}

.insight-outcome-grid [data-outcome="withdrawn"] {
  background: rgba(204, 49, 71, 0.11);
}

.insight-outcome-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.insight-stack {
  height: 16px;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(219, 229, 234, 0.9);
}

.insight-stack i {
  width: var(--stack-width);
  min-width: 0;
  height: 100%;
  background: var(--hop);
}

.insight-stack [data-stack="approved"] {
  background: var(--green);
}

.insight-stack [data-stack="pending"] {
  background: var(--hop);
}

.insight-stack [data-stack="not-approved"] {
  background: #cc3147;
}

.insight-stack-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.insight-stack-legend span,
.insight-term-card span {
  padding: 8px;
  border-radius: 12px;
  color: var(--muted);
  background: var(--white);
  font-size: 11px;
  font-weight: 850;
}

.insight-stack-legend b,
.insight-term-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--night);
  font-size: 1.2rem;
}

.insight-term-card div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.insight-bar-row {
  display: grid;
  gap: 6px;
}

.insight-bar-row div {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.insight-bar-row span,
.insight-bar-row strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.insight-bar-row i {
  display: block;
  width: 100%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(219, 229, 234, 0.9);
}

.insight-bar-row i::before {
  content: "";
  display: block;
  width: var(--insight-bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hop), var(--green));
}

.insight-split-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}

.insight-split-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.insight-split-legend b {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--hop);
}

.insight-split-legend span:last-child b {
  background: #a4acb3;
}

.insight-split-row i {
  display: flex;
  gap: 3px;
  background: rgba(219, 229, 234, 0.7);
}

.insight-split-row i::before {
  display: none;
}

.insight-split-row i span,
.insight-split-row i b {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.insight-split-row i span {
  width: var(--active-bar);
  background: var(--hop);
}

.insight-split-row i b {
  width: var(--withdrawn-bar);
  background: #a4acb3;
}

.insight-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.custom-program-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--tile-shadow);
}

.custom-program-heading {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
}

.custom-program-heading h3 {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 700;
}

.custom-program-heading span {
  min-width: 98px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 208, 226, 0.24);
  border-radius: 14px;
  color: var(--brand-dark);
  background: rgba(231, 251, 253, 0.86);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.custom-program-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.custom-program-card {
  display: grid;
  gap: 10px;
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7fbfd;
  box-shadow: 0 12px 28px rgba(16, 17, 18, 0.04);
}

.custom-program-card .task-action {
  width: 100%;
  min-height: 40px;
}

.custom-program-card > div {
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.custom-program-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.custom-program-card dl div {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.custom-program-card dt,
.custom-program-card dd {
  margin: 0;
}

.custom-program-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.custom-program-card dd {
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.custom-program-card strong,
.custom-program-card span,
.custom-program-card small {
  display: block;
}

.custom-program-card strong {
  color: var(--night);
  font-weight: 750;
  line-height: 1.2;
}

.custom-program-card span {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.custom-program-card .program-brand {
  flex: 0 1 auto;
  padding: 5px 8px 5px 5px;
  color: var(--brand-dark);
  background: rgba(216, 251, 255, 0.62);
}

.custom-program-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.custom-program-dialog-body {
  width: min(100% - 28px, 920px);
  display: grid;
  gap: 14px;
  align-content: start;
  margin: 0 auto;
  padding: 18px 0 32px;
}

.custom-program-dialog-brand {
  width: fit-content;
}

.custom-program-dialog-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.custom-program-dialog-summary article,
.custom-program-roster article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.custom-program-dialog-summary span,
.custom-program-roster span,
.custom-program-roster small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.custom-program-dialog-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--night);
  font-size: 1.08rem;
  font-weight: 750;
}

.custom-program-roster {
  display: grid;
  gap: 8px;
}

.custom-program-roster article {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.custom-program-roster strong {
  display: block;
  color: var(--night);
  font-size: 1rem;
  font-weight: 750;
}

.custom-program-roster small {
  text-align: right;
}

.brief-subscription-card {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(0, 208, 226, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.brief-subscription-card span,
.brief-subscription-card small {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
}

.brief-subscription-card strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 650;
}

.advisor-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(120px, 0.75fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(16, 17, 18, 0.06);
  backdrop-filter: blur(18px);
}

.advisor-tools label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.advisor-tools input,
.advisor-tools select {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 46px;
  border: 1px solid rgba(16, 17, 18, 0.08);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
}

.advisor-tools input {
  padding: 0 14px;
}

.advisor-view-toggle {
  align-self: end;
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(70px, 1fr));
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7fbfd;
}

.advisor-view-button {
  min-height: 36px;
  padding: 7px 10px;
  border: 0;
  border-radius: 13px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.advisor-view-button.is-active {
  color: var(--night);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(16, 17, 18, 0.08);
}

.clear-filters-button {
  align-self: end;
  justify-self: start;
  min-height: 46px;
  white-space: nowrap;
}

.advisor-bulk-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid rgba(0, 208, 226, 0.24);
  border-radius: 20px;
  background: rgba(0, 208, 226, 0.1);
  box-shadow: 0 12px 30px rgba(0, 208, 226, 0.1);
}

.advisor-bulk-bar span {
  color: var(--brand-dark);
  font-weight: 850;
}

@media (max-width: 980px) {
  .advisor-action-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .advisor-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advisor-tools label:first-child,
  .advisor-view-toggle {
    grid-column: 1 / -1;
  }
}

.location-panel {
  display: none;
  gap: 12px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--panel-shadow);
}

.location-panel.is-featured {
  display: grid;
  border-color: rgba(0, 208, 226, 0.28);
  box-shadow: 0 24px 54px rgba(0, 208, 226, 0.12);
}

.location-panel-heading {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
}

.location-panel-heading h3 {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 700;
}

.location-panel-heading span {
  flex: 0 0 auto;
  padding: 9px 11px;
  border-radius: 14px;
  color: var(--brand-dark);
  background: rgba(0, 208, 226, 0.12);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.actual-map {
  position: relative;
  display: none;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #dce9ed;
}

.location-panel.is-featured .actual-map {
  display: block;
}

.actual-map #advisor-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.actual-map .leaflet-container {
  background: #dff5f7;
  font-family: var(--font-body);
}

.map-fallback {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.hop-map-marker {
  background: transparent;
  border: 0;
}

.hop-map-marker span {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 14px;
  color: var(--white);
  background: var(--brand-dark);
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(16, 17, 18, 0.28);
}

.hop-map-marker span::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 17px;
}

.hop-map-marker span[data-location-state="inCountry"] {
  background: var(--hop);
}

.hop-map-marker span[data-location-state="returned"] {
  background: #87949a;
}

.leaflet-popup-content strong {
  color: var(--brand-dark);
}

.leaflet-popup-content > span {
  color: var(--muted);
  font-weight: 800;
}

.map-student-list {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.map-student-list li {
  padding: 8px 10px;
  border-radius: 12px;
  background: #f3fafb;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.15;
}

.map-student-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.map-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.map-roster article {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.map-roster article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-roster strong {
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 900;
}

.map-roster article > div span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(219, 250, 253, 0.95);
  font-size: 12px;
  font-weight: 900;
}

.map-roster ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-roster li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f6fafc;
}

.map-roster b {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.map-roster small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.location-card {
  display: grid;
  gap: 10px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f7fbfd;
}

.location-card strong,
.location-card span,
.location-card small,
.advisor-location-chip strong,
.advisor-location-chip span,
.advisor-location-chip small {
  display: block;
}

.location-card strong {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 650;
}

.location-card span {
  width: fit-content;
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 12px;
  color: var(--muted);
  background: var(--white);
  font-size: 12px;
  font-weight: 850;
}

.location-card small,
.location-note {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.4;
}

.location-note {
  margin: 0;
  font-size: 13px;
}

.location-card[data-location-state="inCountry"],
.advisor-location-chip[data-location-state="inCountry"] {
  background: #e7fbfd;
}

.location-card[data-location-state="inCountry"] span,
.advisor-location-chip[data-location-state="inCountry"] strong {
  color: var(--brand-dark);
}

.location-card[data-location-state="returned"],
.advisor-location-chip[data-location-state="returned"] {
  background: #eef4f7;
}

.advisor-list {
  display: grid;
  gap: 12px;
}

.advisor-list[data-display="focus"] {
  grid-template-columns: 1fr;
}

.advisor-roster {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--panel-shadow);
}

.advisor-roster-heading {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
  padding: 4px 4px 8px;
}

.advisor-roster-heading h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.advisor-roster-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.advisor-roster-heading span {
  min-width: 78px;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 9px 14px;
  border-radius: 13px;
  color: var(--brand-dark);
  background: rgba(0, 208, 226, 0.12);
  font-weight: 850;
}

.advisor-roster-list {
  display: grid;
  gap: 8px;
}

.advisor-empty-state {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  color: var(--muted);
  background: #f7fbfd;
  font-weight: 650;
}

.advisor-empty-state a {
  color: var(--brand-dark);
  font-weight: 900;
}

.advisor-loading-state {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 240px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--panel-shadow);
  text-align: center;
}

.advisor-loading-state h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.advisor-loading-state p {
  max-width: 420px;
  margin: 0;
  font-weight: 650;
  line-height: 1.45;
}

.loading-mark {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(0, 208, 226, 0.2);
  border-top-color: var(--hop);
  border-radius: 14px;
  animation: spin-mark 900ms linear infinite;
}

.advisor-error-state {
  border-color: rgba(204, 49, 71, 0.18);
}

.advisor-error-refresh {
  width: fit-content;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 208, 226, 0.4);
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.advisor-error-refresh:hover,
.advisor-error-refresh:focus-visible {
  color: var(--night);
  background: var(--white);
}

@keyframes spin-mark {
  to {
    transform: rotate(360deg);
  }
}

.advisor-card {
  display: grid;
  grid-template-columns: auto minmax(220px, 1.2fr) minmax(140px, 0.55fr) minmax(96px, 0.38fr) minmax(170px, 0.7fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--tile-shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.advisor-card-compact {
  padding: 12px;
  border-radius: 18px;
  box-shadow: none;
}

.advisor-card[data-priority="high"] {
  border-color: rgba(0, 208, 226, 0.36);
}

.advisor-card[data-approval="approved"] {
  border-color: rgba(18, 168, 125, 0.22);
}

.advisor-card[data-feedback="approved"] {
  animation: approval-card-confirm 2.4s ease both;
}

@keyframes approval-card-confirm {
  0% {
    border-color: rgba(0, 208, 226, 0.8);
    box-shadow: 0 0 0 0 rgba(0, 208, 226, 0.34), var(--tile-shadow);
    transform: translateY(-2px);
  }
  45% {
    border-color: rgba(0, 208, 226, 0.5);
    box-shadow: 0 0 0 8px rgba(0, 208, 226, 0), var(--tile-shadow-hover);
  }
  100% {
    border-color: rgba(18, 168, 125, 0.22);
    box-shadow: var(--tile-shadow);
    transform: translateY(0);
  }
}

.advisor-card[data-status="withdrawn"] {
  opacity: 0.68;
  border-color: rgba(112, 121, 128, 0.24);
  background: rgba(244, 246, 247, 0.96);
  box-shadow: none;
}

.advisor-card[data-status="withdrawn"] .advisor-select,
.advisor-card[data-status="withdrawn"] .advisor-progress,
.advisor-card[data-status="withdrawn"] .advisor-location-chip {
  filter: grayscale(1);
}

.advisor-card:hover {
  border-color: rgba(0, 208, 226, 0.42);
  box-shadow: var(--tile-shadow-hover);
  transform: translateY(-2px);
}

.advisor-select {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7fbfd;
  cursor: pointer;
}

.advisor-select input {
  width: 18px;
  height: 18px;
  accent-color: var(--hop);
}

.advisor-select span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.advisor-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.advisor-card-main strong,
.advisor-card-main span,
.advisor-card-main small {
  display: block;
}

.advisor-card-main strong {
  font-size: 1.08rem;
  font-weight: 650;
}

.advisor-card-main span {
  margin-top: 3px;
  color: var(--ink);
  font-weight: 650;
}

.program-brand {
  width: fit-content;
  max-width: 100%;
  display: inline-flex !important;
  gap: 7px;
  align-items: center;
  margin-top: 5px !important;
  padding: 5px 8px 5px 5px;
  border: 1px solid rgba(0, 208, 226, 0.18);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(216, 251, 255, 0.62);
}

.advisor-card-main .program-brand,
.custom-program-card .program-brand {
  display: inline-flex !important;
  flex: 0 1 auto;
  margin-top: 5px !important;
  padding: 5px 8px 5px 5px;
  color: var(--brand-dark);
  background: rgba(216, 251, 255, 0.62);
}

.program-brand b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--hop), var(--green));
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.program-brand em {
  min-width: 0;
  overflow: hidden;
  color: var(--brand-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-program-card .program-brand em,
.advisor-card-main .program-brand em {
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 850;
}

.advisor-detail-hero .program-brand {
  display: inline-flex !important;
  margin-top: 8px !important;
  text-transform: none;
}

.advisor-detail-hero .program-brand b,
.advisor-detail-hero .program-brand em {
  display: grid;
}

.advisor-detail-hero .program-brand em {
  display: block;
  color: var(--brand-dark);
}

.advisor-card-main small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.advisor-card-main .profile-avatar {
  display: grid;
  place-items: center;
  margin-top: 0;
  line-height: 1;
}

.advisor-priority {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.advisor-priority span,
.advisor-priority small {
  display: block;
}

.advisor-status-pill {
  --status-color: var(--brand-dark);
  width: fit-content;
  display: inline-flex !important;
  gap: 6px;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--status-color);
  background: rgba(219, 250, 253, 0.9);
  font-size: 12px;
  font-weight: 900;
}

.advisor-status-pill b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--status-color);
  font-size: 11px;
  line-height: 1;
}

.advisor-status-pill[data-status-tone="action"] {
  --status-color: #a45d00;
  background: #fff3d7;
}

.advisor-status-pill[data-status-tone="review"] {
  --status-color: var(--brand-dark);
  background: rgba(219, 250, 253, 0.92);
}

.advisor-status-pill[data-status-tone="live"] {
  --status-color: #587000;
  background: var(--green-soft);
}

.advisor-status-pill[data-status-tone="alumni"] {
  --status-color: #52616a;
  background: #edf1f3;
}

.advisor-status-pill[data-status-tone="withdrawn"] {
  --status-color: #737b80;
  background: #eef0f0;
}

.deposit-pill {
  width: fit-content;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #6b7280;
  background: #eef2f3;
  font-size: 12px;
  font-weight: 900;
}

.deposit-pill b {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(16, 17, 18, 0.24);
  font-size: 10px;
  line-height: 1;
}

.deposit-pill[data-deposit-tone="paid"] {
  color: #587000;
  background: var(--green-soft);
}

.deposit-pill[data-deposit-tone="due"] {
  color: #a45d00;
  background: #fff3d7;
}

.approval-mini-pill,
.approval-mini-button,
.approval-pill,
.approval-inline-button,
.guide-contact-button {
  width: fit-content;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.approval-mini-pill,
.approval-pill {
  padding: 5px 9px;
  border: 0;
  color: #587000;
  background: var(--green-soft);
}

.approval-control-stack {
  width: fit-content;
  display: grid !important;
  gap: 4px;
  justify-items: start;
}

.approval-control-stack > small {
  padding-left: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.approval-pill-action {
  min-height: 30px;
  padding: 6px 11px;
  cursor: pointer;
}

.approval-mini-button,
.approval-inline-button {
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--amber) 54%, var(--white));
  color: #7a6500;
  background: var(--amber-soft);
  cursor: default;
  opacity: 1;
}

.approval-inline-button,
.guide-contact-button {
  min-height: 34px;
  padding: 8px 12px;
}

.guide-contact-button {
  color: var(--brand-dark);
  background: rgba(219, 250, 253, 0.92);
}

.approval-mini-pill b,
.approval-mini-button b,
.approval-pill b,
.approval-inline-button b {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(16, 17, 18, 0.24);
  font-size: 10px;
  line-height: 1;
}

.advisor-priority small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.advisor-progress {
  position: relative;
  min-height: 24px;
  overflow: hidden;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #e8eef1;
}

.advisor-progress span {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.advisor-progress span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--student-progress) * 1%);
  border-radius: inherit;
  background: var(--hop);
}

.advisor-progress strong {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.advisor-progress[data-progress-contrast="filled"] strong {
  color: var(--white);
  text-shadow: 0 1px 8px rgba(7, 21, 29, 0.28);
}

.advisor-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.advisor-card-meta span {
  padding: 7px 9px;
  border-radius: 12px;
  background: #f2f7f9;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.advisor-card-actions {
  display: grid;
  gap: 8px;
}

.approve-action {
  color: #05634d;
  border-color: rgba(18, 168, 125, 0.35);
}

.advisor-location-chip {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7fbfd;
}

.advisor-location-chip strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  text-transform: none;
}

.advisor-location-chip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.advisor-location-chip small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.advisor-list[data-display="list"] .advisor-card {
  grid-template-columns: 40px minmax(230px, 1.2fr) minmax(160px, 0.62fr) minmax(120px, 0.42fr) minmax(135px, 0.48fr) minmax(78px, auto);
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.advisor-list[data-display="list"] .advisor-location-chip {
  min-height: 44px;
  padding: 8px 10px;
}

.advisor-list[data-display="list"] .profile-avatar {
  display: none;
}

.advisor-list[data-display="list"] .advisor-card-main {
  gap: 0;
}

.advisor-list[data-display="list"] .advisor-card-main strong {
  font-size: 0.96rem;
}

.advisor-list[data-display="list"] .advisor-progress {
  min-height: 34px;
  padding: 7px 9px;
}

.advisor-list[data-display="list"] .advisor-card-actions {
  grid-template-columns: 1fr;
}

.advisor-list[data-display="list"] .approve-action {
  display: none;
}

.advisor-list[data-display="location"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.advisor-list[data-display="location"] .advisor-card {
  grid-template-columns: auto 1fr;
  align-content: start;
  min-height: 250px;
}

.advisor-list[data-display="location"] .advisor-progress,
.advisor-list[data-display="location"] .advisor-card-meta {
  display: none;
}

.advisor-list[data-display="location"] .advisor-location-chip {
  grid-column: 1 / -1;
  min-height: 116px;
  align-content: center;
  padding: 16px;
}

.advisor-list[data-display="location"] .advisor-location-chip span {
  font-size: 1.3rem;
}

.advisor-list[data-display="location"] .advisor-card-actions {
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
}

.advisor-detail-dialog,
.custom-program-dialog,
.approval-dialog,
.weekly-brief-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.advisor-detail-dialog::backdrop,
.custom-program-dialog::backdrop {
  background: rgba(16, 17, 18, 0.38);
  backdrop-filter: blur(10px);
}

.approval-dialog::backdrop,
.weekly-brief-dialog::backdrop {
  background: rgba(16, 17, 18, 0.38);
  backdrop-filter: blur(10px);
}

.approval-lightbox {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.approval-form-body {
  width: min(100% - 28px, 920px);
  display: grid;
  gap: 12px;
  align-content: start;
  margin: 0 auto;
  padding: 18px 0 72px;
}

.approval-form-body label,
.approval-section label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.approval-form-body input,
.approval-form-body textarea,
.approval-form-body select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--white);
  font-weight: 650;
}

.approval-form-body textarea,
.approval-section textarea {
  resize: vertical;
  line-height: 1.45;
}

.approval-helper-card,
.approval-section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(16, 17, 18, 0.04);
}

.approval-section-compact {
  padding: 12px 14px;
}

.approval-section-notes textarea {
  min-height: 86px;
}

.approval-helper-card strong,
.approval-section h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.approval-helper-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.approval-pill-field {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.approval-pill-field legend {
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.approval-pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.approval-pill-options label {
  display: inline-flex;
}

.approval-pill-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.approval-pill-options span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.approval-pill-options input:checked + span {
  border-color: rgba(0, 208, 226, 0.42);
  color: var(--brand-dark);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(0, 208, 226, 0.18);
}

.approval-pill-options input:checked + span[data-approval-choice="approved"] {
  border-color: rgba(0, 208, 226, 0.5);
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.approval-pill-options input:checked + span[data-approval-choice="denied"] {
  border-color: rgba(196, 65, 45, 0.38);
  color: #a53434;
  background: #ffe1df;
  box-shadow: inset 0 0 0 1px rgba(196, 65, 45, 0.12);
}

.approval-pill-options input:checked + span[data-approval-choice="more-info"] {
  border-color: rgba(255, 208, 0, 0.58);
  color: #7f6200;
  background: #fff2bd;
  box-shadow: inset 0 0 0 1px rgba(255, 208, 0, 0.16);
}

.approval-pill-options input:focus-visible + span {
  outline: 3px solid rgba(0, 208, 226, 0.24);
  outline-offset: 2px;
}

.approval-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.approval-targets {
  display: grid;
  gap: 8px;
}

.approval-targets article {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(250px, 1fr);
  gap: 9px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(16, 17, 18, 0.035);
}

.approval-target-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.approval-target-number {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0, 208, 226, 0.28);
  border-radius: 10px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: none;
}

.approval-target-number::after {
  content: "";
}

.approval-targets strong,
.approval-targets span,
.approval-targets small {
  display: block;
}

.approval-targets strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.approval-targets span,
.approval-targets small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.approval-target-card > label {
  grid-column: 1 / -1;
}

.approval-denial-field.hidden {
  display: none;
}

.approval-save-defaults {
  padding: 12px;
  border: 1px dashed rgba(0, 208, 226, 0.34);
  border-radius: 16px;
  background: #f4fdff;
}

.approval-submit-status {
  min-height: 18px;
  color: var(--muted);
  font-weight: 800;
}

.approval-success-toast {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 80;
  width: min(360px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 208, 226, 0.28);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(7, 21, 29, 0.16);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.approval-success-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.approval-success-toast strong {
  font-size: 0.96rem;
  font-weight: 950;
}

.approval-success-toast span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
}

.approval-progress {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf3f6;
}

.approval-progress span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--hop);
  transition: width 260ms ease, background 260ms ease;
}

.approval-progress[data-state="submitting"] span {
  width: 68%;
  animation: approval-progress-pulse 1.2s ease-in-out infinite;
}

.approval-progress[data-state="saved"] span {
  width: 100%;
}

.approval-progress[data-state="error"] span {
  width: 100%;
  background: #cc3147;
}

@keyframes approval-progress-pulse {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

.brief-lightbox {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.brief-body {
  width: min(100% - 28px, 1040px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-content: start;
  margin: 0 auto;
  padding: 24px 0 72px;
}

.brief-email-card,
.brief-send-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--panel-shadow);
}

.brief-email-card {
  overflow: hidden;
}

.brief-email-header {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 208, 226, 0.09);
}

.brief-email-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.brief-email-header strong {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 650;
}

#brief-content {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.brief-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.brief-metrics article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7fbfd;
}

.brief-metrics span,
.brief-metrics strong {
  display: block;
}

.brief-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.brief-metrics strong {
  margin-top: 8px;
  color: var(--brand-dark);
  font-size: 2rem;
  font-weight: 650;
  line-height: 1;
}

.brief-lede {
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  color: #173b45;
  background: #e7fbfd;
  font-weight: 650;
  line-height: 1.5;
}

.brief-section {
  display: grid;
  gap: 8px;
}

.brief-section h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
  font-weight: 700;
  text-transform: lowercase;
}

.brief-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brief-section li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7fbfd;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.4;
}

.brief-send-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
}

.brief-subscription-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.brief-toggle {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(0, 208, 226, 0.22);
  border-radius: 13px;
  color: var(--brand-dark) !important;
  background: rgba(0, 208, 226, 0.1);
  cursor: pointer;
}

.brief-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--hop);
}

.brief-toggle:has(input:disabled),
.brief-send-panel label:has(:disabled),
.settings-card label:has(:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}

.brief-send-panel select:disabled,
.settings-card select:disabled,
.brief-send-panel button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.brief-schedule-card {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(0, 208, 226, 0.2);
  border-radius: 18px;
  background: #e7fbfd;
}

.brief-schedule-card span,
.brief-schedule-card small {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.brief-schedule-card strong {
  color: var(--ink);
  font-weight: 650;
}

.brief-send-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.brief-send-panel select {
  width: 100%;
  max-width: none;
}

.brief-send-panel small {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.4;
}

.advisor-detail-body {
  width: min(100% - 28px, 920px);
  display: grid;
  gap: 14px;
  align-content: start;
  margin: 0 auto;
  padding: 24px 0 72px;
}

.advisor-detail-hero,
.advisor-detail-summary,
.advisor-note-panel,
.advisor-step-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(16, 17, 18, 0.08);
}

.advisor-detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.campus-rangers-invite {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  width: 100%;
  padding: 9px 12px 9px 14px;
  border: 1px solid rgba(66, 106, 183, 0.18);
  border-radius: 999px;
  color: var(--navy);
  background: #f3f7ff;
  font: inherit;
  font-weight: 900;
  opacity: 1;
}

.campus-rangers-invite small {
  padding: 5px 8px;
  border-radius: 999px;
  color: #7a6500;
  background: var(--amber-soft);
  font-size: 11px;
  font-weight: 900;
}

.advisor-detail-heading > span,
.advisor-detail-heading > strong,
.advisor-detail-heading > small {
  display: block;
}

.advisor-detail-heading > span {
  color: var(--hop);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.advisor-detail-heading > strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 750;
  line-height: 1;
}

.advisor-detail-heading > small {
  margin-top: 7px;
  color: var(--muted);
  font-weight: 750;
}

.advisor-detail-hero .profile-avatar {
  display: grid;
  place-items: center;
}

.advisor-detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.advisor-detail-metric {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(16, 17, 18, 0.06);
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: var(--brand-dark);
  background: rgba(219, 250, 253, 0.95);
}

.detail-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advisor-detail-metric small,
.advisor-detail-metric strong,
.advisor-detail-metric em {
  display: block;
  min-width: 0;
}

.advisor-detail-metric small {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.advisor-detail-metric strong {
  margin-top: 2px;
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.advisor-detail-metric em {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.advisor-detail-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.detail-progress-bar {
  --bar-color: var(--hop);
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 22px;
}

.detail-progress-bar[data-progress-tone="yellow"] {
  --bar-color: var(--hop);
}

.detail-progress-bar[data-progress-tone="green"] {
  --bar-color: var(--hop);
}

.detail-progress-bar span {
  position: relative;
  height: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef1;
}

.detail-progress-bar span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--student-progress) * 1%);
  border-radius: inherit;
  background: var(--bar-color);
}

.detail-progress-bar b {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.detail-progress-bar[data-progress-contrast="filled"] b {
  color: var(--white);
  text-shadow: 0 1px 8px rgba(7, 21, 29, 0.28);
}

.advisor-detail-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.advisor-detail-group h3 {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.advisor-detail-group div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px;
  border-radius: 12px;
  background: #f7fbfd;
}

.advisor-detail-group .advisor-detail-row-wide {
  grid-column: 1 / -1;
}

.advisor-detail-group span,
.advisor-detail-group strong {
  display: block;
}

.advisor-detail-group span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.advisor-detail-group strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.advisor-note-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
}

.advisor-note-panel h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-style: italic;
  font-weight: 700;
  text-transform: lowercase;
}

.advisor-note-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.advisor-note-form {
  display: grid;
  gap: 10px;
}

.advisor-note-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.advisor-note-form textarea {
  width: 100%;
  min-height: 108px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  color: var(--ink);
  background: #f7fbfd;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-transform: none;
}

.advisor-note-form div {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.advisor-note-form small {
  color: var(--muted);
  font-weight: 700;
}

.advisor-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
  position: relative;
}

.advisor-step-list::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 42px;
  bottom: 42px;
  z-index: 0;
  border: 2px dashed rgba(0, 208, 226, 0.28);
  border-radius: 28px;
  pointer-events: none;
}

.advisor-step-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.advisor-step-heading h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-style: italic;
  font-weight: 700;
  text-transform: lowercase;
}

.advisor-step-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.advisor-step-summary span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(219, 250, 253, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.advisor-task-timeline {
  position: relative;
  display: block;
  height: 22px;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #e8eef1;
}

.advisor-task-timeline::before {
  content: none;
}

.advisor-task-timeline::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--task-progress) * 1%);
  height: 100%;
  border-radius: 999px;
  background: var(--hop);
}

.advisor-task-timeline b {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.advisor-task-timeline[data-progress-contrast="filled"] b {
  color: var(--white);
  text-shadow: 0 1px 8px rgba(7, 21, 29, 0.28);
}

.advisor-task-timeline span {
  display: none;
}

.advisor-task-timeline span[data-step-status="accepted"] {
  border-color: var(--hop);
  background: var(--hop);
}

.advisor-step-list article {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16, 17, 18, 0.05);
}

.advisor-step-list article:nth-child(even) {
  margin-top: 26px;
}

.advisor-step-list article:nth-child(4n + 1) {
  border-radius: 18px 18px 14px 18px;
}

.advisor-step-list article:nth-child(4n + 2) {
  border-radius: 14px 20px 18px 14px;
}

.advisor-step-list article:nth-child(4n + 3) {
  border-radius: 20px 14px 14px 18px;
}

.advisor-step-list article:nth-child(4n) {
  border-radius: 14px 18px 20px 14px;
}

.advisor-step-list article[data-step-status="accepted"] {
  border-color: rgba(0, 208, 226, 0.3);
  background: #f4fdff;
}

.advisor-step-list article[data-step-status="pending"] {
  border-color: rgba(255, 208, 0, 0.34);
  background: #fffdf1;
}

.advisor-step-list article[data-step-status="withdrawn"] {
  background: #f0f2f3;
}

.advisor-step-list strong {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 850;
}

.advisor-step-list em {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--white);
  background: var(--hop);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 950;
}

.advisor-step-list article[data-step-status="accepted"] em {
  background: var(--hop);
}

.advisor-step-list article[data-step-status="pending"] em {
  color: var(--night);
  background: var(--amber);
}

.advisor-step-list article[data-step-status="withdrawn"] em {
  background: #737b80;
}

.advisor-step-list article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
}

.advisor-step-list small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.advisor-step-list span {
  padding: 7px 9px;
  border-radius: 12px;
  color: var(--brand-dark);
  background: rgba(0, 208, 226, 0.12);
  font-size: 12px;
  font-weight: 850;
}

.advisor-step-list article[data-step-status="accepted"] span {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.advisor-step-list article[data-step-status="pending"] span {
  color: #7a6500;
  background: #fff6c6;
}

.advisor-step-list article[data-step-status="withdrawn"] span {
  color: #6f777c;
  background: #e5e9eb;
}

.upload-dialog,
.form-dialog,
.notification-dialog,
.advisor-resource-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.upload-dialog {
  overflow-y: auto;
}

.form-dialog {
  overflow: hidden;
}

.upload-dialog::backdrop,
.form-dialog::backdrop,
.notification-dialog::backdrop,
.advisor-resource-dialog::backdrop {
  background: rgba(16, 17, 18, 0.38);
  backdrop-filter: blur(10px);
}

.upload-dialog form {
  width: min(100% - 28px, 620px);
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 72px 0;
}

.dialog-heading h2 {
  margin-bottom: 12px;
  font-size: 2rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
}

.dialog-heading .eyebrow {
  color: var(--brand-dark);
}

.file-drop {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0, 208, 226, 0.1);
  cursor: pointer;
}

.file-drop input {
  max-width: 100%;
}

.file-drop span {
  color: var(--brand-dark);
  font-weight: 600;
}

.file-drop small {
  color: var(--muted);
  line-height: 1.45;
}

.form-lightbox {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100dvh;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.university-info-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.university-info-dialog::backdrop {
  background: rgba(7, 21, 29, 0.34);
}

.university-info-lightbox {
  min-height: 100dvh;
  display: grid;
  align-content: start;
  gap: 18px;
  padding-bottom: 36px;
  background: var(--paper);
}

.advisor-resource-lightbox {
  min-height: 100dvh;
  display: grid;
  align-content: start;
  gap: 18px;
  padding-bottom: 36px;
  background: var(--paper);
}

.advisor-resource-body {
  width: min(100% - 36px, 1020px);
  display: grid;
  gap: 16px;
  margin: 0 auto;
}

.advisor-resource-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--tile-shadow);
}

.advisor-resource-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.advisor-resource-hero span,
.advisor-resource-card span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(219, 250, 253, 0.9);
  font-size: 12px;
  font-weight: 850;
}

.advisor-resource-list,
.advisor-resource-grid {
  display: grid;
  gap: 12px;
}

.advisor-resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.advisor-resource-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--tile-shadow);
}

.advisor-resource-card > div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.advisor-resource-card > .headline-meta {
  position: absolute;
  top: 14px;
  right: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.headline-priority {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.headline-pin {
  width: 24px;
  height: 24px;
  display: inline-block;
  color: #050505;
  background: #050505;
  mask: url("assets/pin.svg") center / contain no-repeat;
  -webkit-mask: url("assets/pin.svg") center / contain no-repeat;
  opacity: 1 !important;
  transform: rotate(-12deg);
  filter: none;
  mix-blend-mode: normal;
}

.headline-priority {
  color: var(--brand-dark);
  background: rgba(219, 250, 253, 0.95);
}

.headline-priority[data-priority="important"] {
  color: #8b6200;
  background: #fff1c9;
}

.headline-priority[data-priority="urgent"] {
  color: #a53434;
  background: #ffe1df;
}

.advisor-resource-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.advisor-resource-card h3 {
  margin: 0;
  padding-right: 112px;
  color: var(--night);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 850;
}

.headline-advisor-note {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(0, 208, 226, 0.28);
  border-radius: 20px;
  background: rgba(219, 250, 253, 0.64);
}

.headline-advisor-note div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.headline-advisor-note span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.headline-advisor-note strong {
  color: var(--night);
  font-size: 1.02rem;
  font-weight: 900;
}

.headline-advisor-note p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.advisor-resource-card strong {
  color: var(--night);
  font-size: 1.2rem;
  font-weight: 850;
}

.advisor-resource-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 208, 226, 0.35);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(219, 250, 253, 0.88);
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
}

.advisor-resource-link:hover,
.advisor-resource-link:focus-visible {
  border-color: rgba(0, 139, 153, 0.45);
  color: var(--night);
  background: var(--brand-soft);
}

.headline-cta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 208, 226, 0.36);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(219, 250, 253, 0.88);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.headline-cta:hover,
.headline-cta:focus-visible {
  color: var(--night);
  background: var(--brand-soft);
}

.advisor-resource-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.5;
  white-space: pre-line;
}

.university-info-intro {
  width: min(100% - 36px, 920px);
  margin: 8px auto 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.settings-tabs {
  width: min(100% - 36px, 920px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px auto 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.settings-tabs button {
  flex: 1 1 140px;
  min-height: 40px;
  border: 0;
  border-radius: 13px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.settings-tabs button.is-active {
  color: var(--night);
  background: var(--brand-soft);
}

.settings-panel {
  width: min(100% - 36px, 920px);
  display: none;
  margin: 14px auto 0;
}

.settings-panel.is-active {
  display: grid;
  gap: 14px;
}

.settings-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.settings-profile-grid article,
.settings-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--tile-shadow);
}

.settings-profile-grid span,
.settings-card label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.settings-profile-grid strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.settings-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-style: italic;
  font-weight: 700;
  text-transform: lowercase;
}

.settings-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.settings-card label {
  display: grid;
  gap: 7px;
}

.settings-card select {
  width: 100%;
  max-width: none;
}

.settings-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #f6fafc;
}

.settings-check input {
  width: 18px;
  height: 18px;
}

.settings-check span {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 850;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.settings-actions small {
  color: var(--brand-dark);
  font-weight: 850;
}

.university-events-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--tile-shadow);
}

.university-events-panel h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-style: italic;
  font-weight: 700;
  text-transform: lowercase;
}

.university-event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.university-event-list article {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 18px;
  background: #f6fafc;
}

.university-event-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.university-event-list strong {
  color: var(--ink);
  font-weight: 900;
}

.university-info-lightbox #university-info-form {
  width: min(100% - 36px, 920px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(219, 229, 234, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--tile-shadow);
}

.settings-panel #university-info-form {
  width: 100%;
}

.university-info-lightbox label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.university-info-lightbox input,
.university-info-lightbox textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  resize: vertical;
}

.university-info-notes,
.university-info-actions {
  grid-column: 1 / -1;
}

.university-info-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.university-info-actions small {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
}

.university-info-actions .primary-action {
  width: auto;
  min-width: 126px;
}

.form-lightbox__bar,
.form-lightbox__footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(18px, calc((100vw - 1120px) / 2 + 18px));
}

.form-lightbox__bar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.form-lightbox__bar h2 {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
}

.lightbox-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

#form-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f7fbfd;
}

.form-lightbox__footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.74);
}

.notification-lightbox {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.notification-list {
  width: min(100% - 28px, 720px);
  display: grid;
  gap: 12px;
  align-content: start;
  margin: 0 auto;
  padding: 24px 0 72px;
}

.notification-card {
  display: grid;
  gap: 5px;
  padding: 16px;
  color: #101112;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(16, 17, 18, 0.08);
}

.notification-card strong,
.notification-card span,
.notification-card small {
  display: block;
}

.notification-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.notification-card small {
  width: fit-content;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--hop);
  background: rgba(0, 208, 226, 0.12);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 17, 18, 0.06);
  border-width: 1px 0 0;
  border-radius: 22px 22px 0 0;
  backdrop-filter: blur(18px);
  box-shadow: 0 -12px 34px rgba(16, 17, 18, 0.12);
}

.bottom-nav a {
  min-height: 56px;
  display: grid;
  align-content: center;
  place-items: center;
  gap: 5px;
  color: var(--hop);
  border-radius: 14px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.bottom-nav strong {
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.bottom-nav a:hover,
.bottom-nav a:focus-visible,
.bottom-nav a.is-active {
  color: #101112;
  background: rgba(0, 208, 226, 0.12);
}

.bottom-nav a.is-active .bottom-nav-icon {
  transform: translateY(-1px);
}

.bottom-nav-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
}

.bottom-nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

menu {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
}

menu .primary-action {
  width: auto;
}

menu button:not(.primary-action) {
  padding: 12px 16px;
  color: var(--ink);
  background: #eef0f0;
}

@media (max-width: 880px) {
  .advisor-onboarding-screen {
    padding: 16px;
  }

  .advisor-onboarding-card {
    min-height: 0;
    gap: 12px;
  }

  .advisor-onboarding-card h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .advisor-step-heading {
    display: grid;
    align-items: start;
  }

  .advisor-step-summary {
    justify-content: flex-start;
  }

  .advisor-detail-group,
  .advisor-step-list {
    grid-template-columns: 1fr;
  }

  .advisor-step-list article:nth-child(even) {
    margin-top: 0;
  }

  .advisor-resource-card > .headline-meta {
    position: static;
    justify-content: flex-start;
    order: -1;
  }

  .advisor-resource-card h3 {
    padding-right: 0;
  }

  .approval-grid {
    grid-template-columns: 1fr;
  }

  .approval-targets article {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-news-feed,
  .layout-grid,
  .student-strip,
  .mission-row,
  .advisor-hero-panel,
  .advisor-card {
    grid-template-columns: 1fr;
  }

  .map-roster,
  .advisor-detail-metrics,
  .advisor-detail-hero,
  .settings-profile-grid,
  .university-events-panel,
  .university-event-list {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: center;
  }

  .hero__status {
    align-self: start;
  }

  .sidebar {
    position: static;
  }

  .timeline {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .timeline::before,
  .timeline-step::before {
    content: none;
  }

  .portal-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-profile-stats {
    grid-template-columns: 1fr;
  }

  .advisor-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weekly-brief-panel,
  .advisor-attention-panel,
  .brief-metrics,
  .brief-body {
    grid-template-columns: 1fr;
  }

  .university-info-lightbox #university-info-form {
    grid-template-columns: 1fr;
  }

  .advisor-attention-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-program-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advisor-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weekly-brief-actions {
    justify-items: stretch;
  }

  .advisor-tools,
  .advisor-bulk-bar,
  .location-grid,
  .advisor-roster-heading,
  .advisor-list[data-display="list"] .advisor-card,
  .advisor-list[data-display="location"] {
    grid-template-columns: 1fr;
  }

  .advisor-roster-heading {
    display: grid;
  }

  .advisor-profile-chip,
  .advisor-card .task-action {
    width: 100%;
  }
}

@media (min-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .bottom-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .portal-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .main-panel {
    padding: 18px;
  }

  .hero {
    min-height: 100svh;
    padding: 92px 14px 88px;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }

  .advisor-attention-list {
    grid-template-columns: 1fr;
  }

  .advisor-action-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advisor-action-strip button {
    min-height: 62px;
  }

  .custom-program-heading {
    display: grid;
    align-items: start;
  }

  .advisor-insights-heading {
    display: grid;
    align-items: start;
  }

  .advisor-insight-grid {
    grid-template-columns: 1fr;
  }

  .insight-chart-card {
    grid-column: span 1;
  }

  .insight-outcome-card,
  .insight-stacked-card,
  .insight-term-card {
    grid-column: span 1;
  }

  .insight-outcome-grid,
  .insight-stack-legend,
  .insight-term-card div {
    grid-template-columns: 1fr;
  }

  .custom-program-list {
    grid-template-columns: 1fr;
  }

  .custom-program-dialog-summary {
    grid-template-columns: 1fr;
  }

  .custom-program-roster article {
    display: grid;
  }

  .custom-program-roster small {
    text-align: left;
  }

  .role-switch {
    width: 100%;
  }

  .portal-nav {
    grid-template-columns: 1fr;
    width: min(100% - 22px, 1042px);
  }

  .panel-heading {
    display: grid;
  }

  select {
    max-width: 100%;
    width: 100%;
  }

  .task-card {
    grid-template-columns: 1fr;
    width: 92%;
  }

  .hopscotch-board {
    grid-template-columns: 1fr;
  }

  .task-card:nth-child(odd) {
    justify-self: start;
  }

  .task-card:nth-child(even) {
    justify-self: end;
  }

  .task-card:nth-child(3n + 1) {
    grid-column: auto;
  }

  .task-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .status-pill,
  .task-action {
    width: 100%;
  }

  .student-strip {
    width: min(100% - 22px, 1042px);
    padding: 12px;
  }

  .advisor-view {
    width: min(100% - 22px, 1042px);
  }

  .advisor-hero-panel {
    padding: 18px;
  }

  .advisor-refresh-button {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }

  .advisor-summary-row {
    align-items: stretch;
    flex-direction: column;
  }

  .advisor-profile-chip {
    margin-left: 0;
  }

  .advisor-resource-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .advisor-resource-grid {
    grid-template-columns: 1fr;
  }

  .advisor-stats,
  .advisor-tools,
  .advisor-bulk-bar,
  .advisor-detail-summary,
  .advisor-note-panel,
  .brief-body {
    grid-template-columns: 1fr;
  }

  .advisor-view-toggle {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .location-panel-heading {
    display: grid;
    align-items: start;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .advisor-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .advisor-roster {
    padding: 12px;
  }

  .advisor-select {
    width: 100%;
    justify-items: start;
    padding: 0 12px;
  }

  .advisor-select span {
    position: static;
    width: auto;
    height: auto;
    margin-left: 8px;
    clip: auto;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
  }

  .advisor-card-actions,
  .advisor-list[data-display="location"] .advisor-card-actions {
    grid-template-columns: 1fr;
  }

  .advisor-list[data-display="location"] {
    grid-template-columns: 1fr;
  }

  .actual-map {
    min-height: 280px;
  }

  .form-dialog,
  .upload-dialog,
  .notification-dialog,
  .advisor-detail-dialog,
  .approval-dialog,
  .weekly-brief-dialog {
    width: 100vw;
    max-height: none;
  }

  .form-lightbox {
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .form-lightbox__bar,
  .form-lightbox__footer {
    align-items: start;
    display: grid;
  }
}
