/* ============================================================
   SKYLINE MOCK TRIAL — main.css
   Colors: Spartan Green #18453B + Pantone 430C #7C878E
   Fonts: Times New Roman (all)
   ============================================================ */

:root {
  --green:       #18453B;  /* Spartan Green */
  --green-mid:   #1F5A4D;
  --green-light: #2E7B6B;
  --green-pale:  #E6F0EE;
  --green-pale2: #C7DED8;
  --silver:      #7C878E;  /* Pantone 430C (approx web) */
  --silver-light: #ECEFF1;
  --silver-pale:  #F5F6F7;
  --text:        #1A1A1A;
  --text-muted:  #5A6472;
  --border:      rgba(0,0,0,0.09);
  --border-md:   rgba(0,0,0,0.14);
  --bg:          #FFFFFF;
  --bg-alt:      #F7F8F5;
  --radius:      10px;
  --radius-lg:   14px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.07);
}

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

html { scroll-behavior: smooth; }

/* ---- TOAST ---- */
.app-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  max-width: min(420px, calc(100% - 40px));
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(24, 69, 59, 0.96);
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 600;
}
.app-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.reply-sent {
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.reply-sent:first-child { padding-top: 0; }

body {
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 58px;
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 200;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-shield {
  width: 34px;
  height: 38px;
  background: #fff;
  border-radius: 3px 3px 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  font-size: 14px;
}
.nav-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  font-weight: 700;
  color: var(--green);
}
.nav-title { color: #fff; font-size: 14px; font-weight: 500; line-height: 1.2; }
.nav-sub   { color: rgba(255,255,255,0.6); font-size: 10px; }
.nav-links { display: flex; gap: 2px; flex: 1; justify-content: center; }
.nav-link {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border: none;
  background: transparent;
  font-family: "Times New Roman", Times, serif;
}
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.18); color: #fff; }
.nav-cta {
  background: #fff;
  color: var(--green);
  border: none;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Times New Roman", Times, serif;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.9; }

/* ---- NOTIFICATIONS DRAWER ---- */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.notif-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.10);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E53935;
  box-shadow: 0 0 0 2px var(--green);
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 400;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(360px, 92vw);
  height: 100%;
  background: var(--bg);
  border-right: 1px solid var(--border);
  box-shadow: 8px 0 30px rgba(0,0,0,0.18);
  transform: translateX(-102%);
  transition: transform 0.22s ease;
  z-index: 450;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-hdr {
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.drawer-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 700;
}
.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-md);
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
}
.drawer-close:hover { background: var(--bg-alt); color: var(--text); }
.drawer-body { padding: 12px 16px; overflow: auto; }
.notif-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
  background: var(--bg);
  margin-bottom: 10px;
}
.notif-item:last-child { margin-bottom: 0; }
.notif-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.notif-label { font-size: 12px; font-weight: 500; }
.notif-time { font-size: 10px; color: var(--text-muted); white-space: nowrap; }
.notif-body { margin-top: 4px; font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ---- PAGES ---- */
.page { display: none; }
.page.active { display: block; animation: fadeUp 0.25s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }

/* ---- HERO ---- */
.hero {
  background: var(--green);
  padding: 72px 32px 64px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-content { text-align: center; }
.hero-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.hero-social:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.45);
}
.hero-social svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 900px) {
  .hero { padding: 48px 20px 40px; }
}

/* ---- SPLIT LAYOUT (text + visual side-by-side) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}
.split-text > .sec-sub { margin-bottom: 0; }
.split-visual { width: 100%; }
.season-calendar {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.season-calendar iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.team-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
}
.hero::before {
  content: '⚖';
  position: absolute;
  font-size: 320px;
  opacity: 0.04;
  top: -60px;
  right: -40px;
  line-height: 1;
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  font-family: "Times New Roman", Times, serif;
}
.hero-title {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: #A5D6A7; }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  text-align: center;
  margin-top: 48px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-family: "Times New Roman", Times, serif;
}

/* ---- LOGIN BANNER (expiry / sign-in notices) ---- */
.login-banner {
  max-width: 420px;
  margin: 0 auto 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(178, 58, 58, 0.08);
  border: 1px solid rgba(178, 58, 58, 0.3);
  color: #8a2a2a;
  font-size: 13px;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
}

/* ---- BLOG CARD ---- */
.blog-card {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--border-md, rgba(0,0,0,0.08));
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
  border-color: var(--green-mid, #2e7d5a);
}
.blog-card-source {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted, #6a6a6a);
  margin-bottom: 10px;
  font-family: "Times New Roman", Times, serif;
}
.blog-card-title {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--green, #1b4332);
  margin: 0 0 14px;
}
.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-mid, #2e7d5a);
  font-family: "Times New Roman", Times, serif;
}
.blog-card:hover .blog-card-cta { gap: 10px; }
.blog-card-meta {
  font-size: 12px;
  color: var(--text-muted, #6a6a6a);
  margin: -4px 0 12px;
  font-family: "Times New Roman", Times, serif;
}
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.archive-card { padding: 22px 26px; }
.archive-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted, #6a6a6a);
  max-width: 560px;
  margin: 0 auto;
}
.archive-link {
  display: inline-block;
  font-size: 13px;
  color: var(--green-mid, #2e7d5a);
  text-decoration: none;
  font-family: "Times New Roman", Times, serif;
}
.archive-link:hover { text-decoration: underline; }

/* ---- BUTTONS ---- */
.btn-primary {
  padding: 10px 24px;
  border-radius: var(--radius);
  background: var(--green-mid);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: "Times New Roman", Times, serif;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:active { transform: scale(0.98); }
.btn-outline {
  padding: 10px 24px;
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  font-size: 14px;
  border: 1.5px solid rgba(255,255,255,0.45);
  cursor: pointer;
  font-family: "Times New Roman", Times, serif;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.nav-link:focus-visible,
.nav-cta:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.notif-btn:focus-visible,
.drawer-close:focus-visible {
  outline: 2px solid #A5D6A7;
  outline-offset: 2px;
}
.sm-btn {
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Times New Roman", Times, serif;
  border: none;
  transition: opacity 0.15s;
}
.sm-btn:hover { opacity: 0.85; }

/* ---- STATS BAR ---- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-n { font-size: 30px; font-weight: 500; color: var(--green-mid); font-family: "Times New Roman", Times, serif; }
.stat-l { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ---- SECTIONS ---- */
.section { padding: 56px 32px; }
.alt-bg { background: var(--bg-alt); }
.sec-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: "Times New Roman", Times, serif;
}
.sec-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.sec-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; max-width: 580px; }

/* ---- PAGE HEADERS ---- */
.page-header {
  background: var(--green);
  padding: 48px 32px 40px;
  color: #fff;
}
.page-title {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(32px,5vw,52px);
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.page-sub { font-size: 15px; color: rgba(255,255,255,0.75); max-width: 520px; }

/* ---- CARDS ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 14px; }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--green-pale2); box-shadow: var(--shadow-sm); }
.card-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 12px; }
.green-icon  { background: var(--green-pale); }
.blue-icon   { background: #E3F2FD; }
.amber-icon  { background: #FFF3E0; }
.silver-icon { background: var(--silver-light); }
.card h3 { font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.card p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ---- PHOTOS ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.photo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.photo-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--silver-light), var(--green-pale));
}
.photo-card figcaption {
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.photo-banner {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--silver-light), var(--green-pale));
}
.photo-banner img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ---- ADMIN PHOTO MANAGER ---- */
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.admin-photo-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
}
.admin-photo-preview {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, var(--silver-light), var(--green-pale));
}
.admin-photo-body { padding: 12px 14px; }
.admin-photo-title { font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.admin-photo-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.admin-url {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid var(--border-md);
  border-radius: 8px;
  font-size: 12px;
  font-family: "Times New Roman", Times, serif;
}
.admin-url:focus { outline: none; border-color: var(--green-light); }

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.admin-checks {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  user-select: none;
}
.admin-actions-row {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

/* ---- SCHEDULE ---- */
.schedule { display: flex; flex-direction: column; }
.sched-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.sched-row:last-child { border-bottom: none; }
.date-chip { min-width: 54px; background: var(--bg-alt); border-radius: 8px; padding: 6px 8px; text-align: center; }
.mo { font-size: 9px; text-transform: uppercase; color: var(--text-muted); display: block; font-family: "Times New Roman", Times, serif; }
.dy { font-size: 22px; font-weight: 500; display: block; line-height: 1.2; font-family: "Times New Roman", Times, serif; }
.sched-info { flex: 1; }
.sched-title { font-weight: 500; margin-bottom: 2px; }
.sched-loc { font-size: 11px; color: var(--text-muted); }
.pill { font-size: 10px; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.pill-up  { background: var(--green-pale);  color: var(--green); }
.pill-tbd { background: #FFF3E0; color: #E65100; }

/* ---- TIMELINE ---- */
.timeline { position: relative; padding-left: 22px; border-left: 2px solid var(--green-pale2); max-width: 640px; }
.tl-item { margin-bottom: 26px; position: relative; }
.tl-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--green-mid);
  border: 2px solid var(--bg);
  position: absolute;
  left: -27px;
  top: 4px;
  box-shadow: 0 0 0 1px var(--green-pale2);
}
.tl-current .tl-dot { background: var(--green); box-shadow: 0 0 0 3px var(--green-pale); }
.tl-year { font-size: 10px; font-weight: 500; color: var(--green-mid); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; font-family: "Times New Roman", Times, serif; }
.tl-text { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ---- JOIN STEPS ---- */
.join-steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 14px; }
.step-card {
  background: var(--green-pale);
  border: 1px solid var(--green-pale2);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}
.step-num { font-size: 36px; font-weight: 700; color: var(--green-mid); font-family: "Times New Roman", Times, serif; margin-bottom: 8px; }
.step-title { font-size: 14px; font-weight: 500; color: var(--green); margin-bottom: 6px; }
.step-desc { font-size: 12px; color: var(--green-mid); line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 480px; }
.contact-link { display: block; margin-top: 6px; font-size: 13px; color: var(--green-mid); text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
/* Inline Gmail / Outlook on alumni login (global .contact-link is block for join cards) */
.login-compose-links .contact-link {
  display: inline;
  margin-top: 0;
}
.login-compose-links .compose-sep {
  margin: 0 0.25em;
  color: var(--text-muted);
}

/* ---- ALUMNI LOGIN ---- */
.alumni-gate {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
.login-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 420px;
}
.login-shield {
  width: 52px; height: 52px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; margin: 0 auto 20px;
}
.login-title { font-family: "Times New Roman", Times, serif; font-size: 22px; font-weight: 500; text-align: center; margin-bottom: 6px; }
.login-sub   { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 24px; }
.login-sub a { color: var(--green-mid); text-decoration: none; }
.link-btn {
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  color: var(--green-mid);
  cursor: pointer;
  text-decoration: underline;
}
.link-btn:hover { color: var(--green); }
.field-label { display: block; font-size: 11px; color: var(--text-muted); margin: 14px 0 5px; text-transform: uppercase; letter-spacing: 0.05em; font-family: "Times New Roman", Times, serif; }
.field-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: "Times New Roman", Times, serif;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
}
.field-input:focus { outline: none; border-color: var(--green-light); }
.login-btn { width: 100%; margin-top: 14px; padding: 11px; font-size: 14px; }
.login-btn.btn-outline { color: var(--text); border-color: var(--border-md); }
.login-divider { text-align: center; font-size: 12px; color: var(--text-muted); margin: 14px 0; }
.login-footer { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 20px; }
.login-footer a { color: var(--green-mid); text-decoration: none; }

/* ---- ALUMNI PORTAL ---- */
.alumni-portal { display: none; }
.alumni-portal.visible { display: block; position: relative; }

.temp-password-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}
.temp-password-overlay.hidden { display: none !important; }
.temp-password-card {
  width: 100%;
  max-width: 420px;
  margin-top: 8px;
  padding: 22px 22px 18px;
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.temp-password-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  font-family: "Times New Roman", Times, serif;
}
.temp-password-card .sec-sub {
  margin: 0 0 16px;
  line-height: 1.55;
}
.temp-password-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

/* ---- ONBOARDING WIZARD (reuses .temp-password-overlay) ---- */
.onboard-card { max-width: 480px; }
.onboard-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.onboard-dot {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--border);
  transition: background 0.2s;
}
.onboard-dot.done   { background: var(--green-pale2); }
.onboard-dot.active { background: var(--green); }
.onboard-step.hidden { display: none; }
.onboard-radio-group { display: flex; gap: 16px; margin-top: 6px; }
.onboard-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
}
.onboard-radio input { accent-color: var(--green); }

/* ---- ADMIN SMS RECIPIENT CHECKLIST ---- */
.admin-sms-checklist {
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  background: var(--bg);
  max-height: 240px;
  overflow-y: auto;
  padding: 4px 0;
}
.admin-sms-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}
.admin-sms-row:last-child { border-bottom: none; }
.admin-sms-row:hover { background: var(--bg-alt); }
.admin-sms-row input[type="checkbox"] { accent-color: var(--green); justify-self: center; }
.admin-sms-row.disabled { color: var(--text-muted); cursor: not-allowed; opacity: 0.6; }
.admin-sms-row.disabled:hover { background: transparent; }
.admin-sms-row-name { font-weight: 500; }
.admin-sms-row-meta { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* ---- DIRECTORY STATUS PILL ---- */
.dir-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}
.dir-pill-current { background: #FFF3E0; color: #E65100; }
.dir-pill-alumni  { background: var(--green-pale2); color: var(--green); }
.dir-pill-tutor   { background: #E3F2FD; color: #1565C0; }

/* Pill row inside the profile modal — used to surface the tutoring chip. */
.profile-modal-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }

/* Wizard / profile tab tutor block conditional reveal. */
.onboard-tutor-block.hidden,
.onboard-tutor-mode.hidden,
.profile-tutor-block.hidden,
.profile-tutor-mode-wrap.hidden { display: none !important; }
.portal-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.ptab {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-family: "Times New Roman", Times, serif;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.ptab:hover { background: var(--green-pale); color: var(--green); }
.ptab.active { background: var(--green-pale); color: var(--green); font-weight: 500; }
.badge { background: #E53935; color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 99px; vertical-align: middle; }
.badge.sm { font-size: 9px; }
.portal-logout { margin-left: auto; font-size: 12px; color: var(--text-muted); border: none; background: transparent; cursor: pointer; font-family: "Times New Roman", Times, serif; }
.portal-logout:hover { color: var(--text); }
.portal-section { display: none; padding-top: 24px; }
.portal-section.active { display: block; }

/* ---- PORTAL LAYOUT ---- */
.portal-layout { display: grid; grid-template-columns: 210px 1fr; gap: 24px; }
.sidebar-block  { margin-bottom: 24px; }
.sb-label { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; font-family: "Times New Roman", Times, serif; }
.sbitem { font-size: 13px; color: var(--text-muted); padding: 7px 10px; border-radius: 6px; cursor: pointer; transition: background 0.15s, color 0.15s; }
.sbitem:hover, .sbitem.active { background: var(--green-pale); color: var(--green); }

/* ---- COMPOSER ---- */
.composer { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 20px; }
.composer-av { width: 38px; height: 38px; border-radius: 50%; background: var(--green-pale); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; flex-shrink: 0; }
.composer-right { flex: 1; }
.composer-input { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 13px; font-family: "Times New Roman", Times, serif; color: var(--text); resize: none; min-height: 68px; background: var(--bg-alt); }
.composer-input:focus { outline: none; border-color: var(--green-light); }
.composer-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 8px; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-btn { font-size: 11px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--border-md); background: transparent; color: var(--text-muted); cursor: pointer; font-family: "Times New Roman", Times, serif; transition: background 0.15s; }
.tag-btn.active { background: var(--green-pale); border-color: var(--green-pale2); color: var(--green); }

/* ---- POSTS ---- */
.post-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 14px; }
.post-hdr { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.post-av { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; flex-shrink: 0; cursor: pointer; }
.post-meta { flex: 1; }
.post-name { font-size: 14px; font-weight: 500; cursor: pointer; display: block; }
.post-name:hover { color: var(--green-mid); }
.post-time { font-size: 11px; color: var(--text-muted); }
.post-tag { font-size: 10px; padding: 2px 9px; border-radius: 99px; margin-left: auto; white-space: nowrap; }
.advice-tag { background: var(--green-pale); color: var(--green); }
.opp-tag    { background: #FFF3E0; color: #E65100; }
.res-tag    { background: #E3F2FD; color: #1565C0; }
.gen-tag    { background: var(--silver-light); color: var(--silver); }
.post-body { font-size: 13px; line-height: 1.75; color: var(--text); margin-bottom: 14px; }
.post-actions { display: flex; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.post-action { font-size: 12px; color: var(--text-muted); cursor: pointer; background: transparent; border: none; font-family: "Times New Roman", Times, serif; transition: color 0.15s; }
.post-action:hover { color: var(--green-mid); }
.post-action.is-saved { color: var(--green-mid); font-weight: 500; }
.post-action.is-liked { color: var(--green); font-weight: 500; }
/* Allow .post-av to show a profile photo in the same shape as .dir-av etc. */
.post-av.has-photo { display: block; position: relative; background: transparent; padding: 0; overflow: hidden; }
.post-av.has-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.reply-box { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.reply-input { flex: 1; border: 1px solid var(--border-md); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: "Times New Roman", Times, serif; color: var(--text); background: var(--bg-alt); }
.reply-input:focus { outline: none; border-color: var(--green-light); }
.hidden { display: none !important; }

/* ---- AVATAR COLOR CLASSES ---- */
.green-av  { background: var(--green-pale);  color: var(--green); }
.blue-av   { background: #E3F2FD; color: #1565C0; }
.amber-av  { background: #FFF3E0; color: #E65100; }
.purple-av { background: #F3E5F5; color: #6A1B9A; }

/* When an avatar holds an uploaded photo, the inner <img> fills the circle.
   Override the base flex layout with absolute positioning so the photo
   stretches edge-to-edge regardless of browser flex quirks. */
.composer-av.has-photo,
.dir-av.has-photo,
.profile-av.has-photo,
.conv-av.has-photo,
.msg-hdr-av.has-photo,
.bubble-av.has-photo {
  display: block;
  position: relative;
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.composer-av.has-photo > img,
.dir-av.has-photo > img,
.profile-av.has-photo > img,
.conv-av.has-photo > img,
.msg-hdr-av.has-photo > img,
.bubble-av.has-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ---- READ-ONLY PROFILE MODAL (directory card click) ---- */
.profile-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100;
  padding: 60px 20px;
  overflow-y: auto;
}
.profile-modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.profile-modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.profile-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-md);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  font-family: "Times New Roman", Times, serif;
  transition: background 0.15s, color 0.15s;
}
.profile-modal-close:hover { background: var(--green-pale); color: var(--green); }
.profile-modal-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.profile-modal-headtext { flex: 1; min-width: 0; padding-top: 4px; }
.profile-modal-av {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 500; flex-shrink: 0;
  overflow: hidden;
}
.profile-modal-av.has-photo {
  display: block;
  position: relative;
  background: transparent;
  padding: 0;
}
.profile-modal-av.has-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ---- PROFILE AVATAR EDITOR ---- */
.avatar-edit { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.avatar-edit-preview {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--green-pale); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 500; flex-shrink: 0;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--border);
  overflow: hidden;
}
.avatar-edit-preview.has-photo {
  display: block;
  position: relative;
  background: transparent;
}
.avatar-edit-preview.has-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.avatar-edit-controls { display: flex; flex-direction: column; gap: 8px; }
.avatar-edit-buttons { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- MESSAGES ---- */
.msg-layout { display: grid; grid-template-columns: 260px 1fr; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; height: 75vh; min-height: 520px; max-height: 880px; }
.msg-sidebar { border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.msg-sidebar-hdr { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.msg-sidebar-title { font-size: 14px; font-weight: 500; }
.msg-search { display: block; width: 100%; padding: 8px 14px; border-bottom: 1px solid var(--border); border-top: none; border-left: none; border-right: none; font-size: 12px; font-family: "Times New Roman", Times, serif; color: var(--text); background: var(--bg-alt); }
.msg-search:focus { outline: none; }
.conv-list { overflow-y: auto; flex: 1; }
.conv-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.15s; }
.conv-item:hover, .conv-item.active { background: var(--green-pale); }
.conv-av { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; flex-shrink: 0; }
.conv-info { flex: 1; min-width: 0; }
.conv-name    { font-size: 13px; font-weight: 500; }
.conv-preview { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-meta    { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.conv-time    { font-size: 10px; color: var(--text-muted); }
.unread-dot   { width: 7px; height: 7px; border-radius: 50%; background: #E53935; }
.msg-main { display: flex; flex-direction: column; }
.msg-hdr { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.msg-hdr-av   { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; flex-shrink: 0; }
.msg-hdr-name { font-size: 14px; font-weight: 500; }
.msg-hdr-role { font-size: 11px; color: var(--text-muted); }
.view-profile-btn { margin-left: auto; font-size: 11px; padding: 4px 12px; border-radius: 6px; border: 1px solid var(--border-md); background: transparent; cursor: pointer; color: var(--text-muted); font-family: "Times New Roman", Times, serif; transition: background 0.15s; }
.view-profile-btn:hover { background: var(--green-pale); color: var(--green); border-color: var(--green-pale2); }
.msg-thread { flex: 1; padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
/* Each row spans the full thread width so we can pin bubbles to the
   start (them) or end (mine) of the row without wrapping. */
.bubble-row { display: flex; gap: 8px; align-items: flex-end; width: 100%; justify-content: flex-start; }
.bubble-row.mine { flex-direction: row-reverse; justify-content: flex-end; gap: 0; }
.bubble-row > div { display: flex; flex-direction: column; min-width: 0; max-width: 78%; }
.bubble-row.mine > div { align-items: flex-end; }
/* iMessage-style: hide your own avatar on the right; their avatar still
   shows on the left so threads with multiple people stay readable. */
.bubble-row.mine .bubble-av { display: none; }
.bubble-av { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; flex-shrink: 0; }
.bubble { padding: 9px 13px; font-size: 13px; line-height: 1.5; word-wrap: break-word; overflow-wrap: anywhere; }
.bubble.them { background: var(--bg-alt); border-radius: 14px 14px 14px 4px; align-self: flex-start; }
.bubble.mine { background: var(--green-mid); color: #fff; border-radius: 14px 14px 4px 14px; align-self: flex-end; }
.bubble-time { font-size: 10px; color: var(--text-muted); margin-top: 4px; }
.bubble-row.mine .bubble-time { text-align: right; }
/* Tighten clusters: when consecutive rows are from the same side,
   collapse the gap so bubbles read as a group. */
.bubble-row + .bubble-row { margin-top: 6px; }
.bubble-row.mine + .bubble-row.mine,
.bubble-row:not(.mine) + .bubble-row:not(.mine) { margin-top: 2px; }
.msg-composer { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; gap: 10px; align-items: flex-end; }
.msg-input { flex: 1; border: 1px solid var(--border-md); border-radius: 8px; padding: 9px 12px; font-size: 13px; font-family: "Times New Roman", Times, serif; color: var(--text); resize: none; background: var(--bg-alt); }
.msg-input:focus { outline: none; border-color: var(--green-light); }
.send-btn { align-self: flex-end; padding: 9px 18px; }

/* ---- DIRECTORY ---- */
.dir-filters { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.dir-select, .dir-search {
  padding: 7px 12px;
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: "Times New Roman", Times, serif;
  color: var(--text);
  background: var(--bg);
}
.dir-search { flex: 1; min-width: 180px; }
.dir-select:focus, .dir-search:focus { outline: none; border-color: var(--green-light); }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 14px; }
.dir-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; cursor: pointer; transition: border-color 0.2s, background 0.15s; }
.dir-card:hover { background: var(--green-pale); border-color: var(--green-pale2); }
.me-card { border-style: dashed; }
.dir-av   { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.dir-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.dir-class{ font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.dir-role { font-size: 12px; color: var(--green-mid); margin-bottom: 8px; }
.dir-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.dir-tags span { font-size: 10px; padding: 2px 7px; border-radius: 99px; background: var(--green-pale2); color: var(--green); }
.dir-btns { display: flex; gap: 6px; }
.you-badge { font-size: 9px; background: var(--green-mid); color: #fff; padding: 1px 6px; border-radius: 99px; vertical-align: middle; margin-left: 4px; }

/* ---- PROFILE ---- */
.profile-wrap { max-width: 680px; }
.profile-banner { height: 110px; background: var(--green); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.profile-body { background: var(--bg); border: 1px solid var(--border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 0 24px 24px; }
.profile-av-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: -28px; margin-bottom: 14px; }
.profile-av { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500; border: 3px solid var(--bg); }
.profile-actions-row { display: flex; gap: 8px; }
.profile-name  { font-family: "Times New Roman", Times, serif; font-size: 24px; font-weight: 700; margin-bottom: 3px; }
.profile-title { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.profile-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.profile-chip  { font-size: 11px; padding: 3px 10px; border-radius: 99px; background: var(--green-pale); color: var(--green); }
.profile-bio   { font-size: 14px; line-height: 1.75; color: var(--text); padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.profile-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 10px; margin-bottom: 20px; }
.pstat { background: var(--bg-alt); border-radius: 8px; padding: 12px; }
.pstat-label { font-size: 10px; color: var(--text-muted); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.05em; font-family: "Times New Roman", Times, serif; }
.pstat-val   { font-size: 15px; font-weight: 500; }
.profile-posts-title { font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.profile-post { background: var(--bg-alt); border-radius: 8px; padding: 13px; margin-bottom: 10px; }
.profile-post-tag  { font-size: 10px; padding: 2px 8px; border-radius: 99px; display: inline-block; margin-bottom: 8px; }
.profile-post-body { font-size: 13px; line-height: 1.65; color: var(--text); margin-bottom: 6px; }
.profile-post-meta { font-size: 11px; color: var(--text-muted); }

/* ---- FOOTER ---- */
.footer {
  background: var(--green);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.footer-brand { color: #fff; font-size: 15px; font-weight: 500; font-family: "Times New Roman", Times, serif; }
.footer-info  { color: rgba(255,255,255,0.6); font-size: 12px; }
.footer-tech  { color: rgba(255,255,255,0.35); font-size: 11px; margin-top: 6px; font-family: "Times New Roman", Times, serif; }

/* ---- RESPONSIVE ---- */
/* Hamburger toggle for the mobile nav. Hidden on desktop. */
.nav-mobile-toggle {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--border-md);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-mobile-toggle:hover { background: var(--bg-alt); }

@media (max-width: 768px) {
  .nav { padding: 0 14px; height: 56px; gap: 10px; position: relative; }
  .nav-sub { display: none; }
  .nav-title { font-size: 13px; }
  .nav-shield { width: 30px; height: 34px; padding: 2px; }
  .nav-actions { gap: 6px; }
  .notif-btn { width: 30px; height: 30px; }
  .nav-cta { padding: 6px 12px; font-size: 12px; }
  /* Hidden by default; the hamburger toggles .mobile-open to expose
     the links as a full-width dropdown below the nav bar. */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 12px;
    gap: 2px;
    z-index: 30;
  }
  .nav-links.mobile-open { display: flex; }
  /* Inside the dropdown the nav sits on a white panel, so the desktop
     translucent-white text is invisible. Use the Pantone grey for the
     idle state and override the dark-translucent hover with a light
     warm hover that reads on white. */
  .nav-link {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 8px;
    text-align: left;
    color: var(--silver);
    background: transparent;
  }
  .nav-link:hover { background: var(--bg-alt); color: var(--text); }
  .nav-link.active { background: var(--green-pale); color: var(--green); }
  .nav-mobile-toggle { display: inline-flex; }
  .stat-bar  { grid-template-columns: repeat(2,1fr); }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-sidebar { display: none; }
  .msg-layout { grid-template-columns: 1fr; height: auto; }
  .msg-sidebar { height: 200px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card img { height: 220px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-checks { align-items: center; justify-content: flex-start; }
}
