STYLES = """
:root{--bg:#fff;--text:#111;--accent:#b8e3b8;--accent-text:#0b2b0b;--muted:#6b7280;--border:#e5e7eb;}
*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--bg);color:var(--text);
font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif}
a{color:inherit}
.page-center{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;
padding:2rem;text-align:center}
.home-title{font-size:clamp(40px,6vw,64px);font-weight:800;margin-bottom:1.5rem}
.btn{display:inline-block;text-decoration:none;background:var(--accent);color:var(--accent-text);
padding:.75rem 1.25rem;border-radius:10px;font-weight:700;border:1px solid #a5d7a5;
box-shadow:0 1px 0 rgba(0,0,0,.03);transition:transform .05s,filter .2s;cursor:pointer}
.btn:hover{filter:brightness(.98)}
.btn:active{transform:translateY(1px)}
.btn-pill{border-radius:999px}
.btn-small{padding:.35rem .9rem;font-size:.9rem}
.btn-ghost{background:transparent;color:#111;border:1px solid var(--border)}
.btn-ghost:hover{background:#f7f7f7}
.btn-side{display:block;text-align:left;padding:.5rem .75rem;margin-bottom:.45rem}
.topbar{position:sticky;top:0;z-index:50;display:flex;justify-content:space-between;align-items:center;
padding:.75rem 1rem;background:var(--bg);border-bottom:1px solid var(--border)}
.layout{display:grid;grid-template-columns:240px 1fr;gap:1rem;padding:1rem;max-width:1250px;margin:0 auto}
.sidebar{padding:.5rem;border-right:1px solid var(--border);min-height:60vh}
.sidebar-desc{margin-top:.5rem;color:#333;font-size:.92rem;line-height:1.35}
.content{padding:.5rem .5rem 2rem .5rem}
.content-title{margin:.25rem 0 .75rem 0;font-size:1.25rem;font-weight:800}
.filters{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-bottom:1rem}
.input{padding:.55rem .7rem;border:1px solid var(--border);border-radius:8px;min-width:160px;font-size:.95rem}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.75rem}
.card{border:1px solid var(--border);border-radius:12px;padding:.9rem;background:#fff;display:flex;
flex-direction:column;gap:.4rem;min-height:110px}
.card-title{font-weight:800;margin-bottom:.25rem}
.card-detail{color:#222;font-size:.95rem}
.badge{display:inline-block;font-weight:800;padding:.2rem .5rem;border-radius:6px;border:1px solid var(--border);
margin-top:.25rem;font-size:.8rem}
.empty{grid-column:1/-1;text-align:center;color:var(--muted);padding:2rem 0}
.muted{color:var(--muted)}
.form{max-width:980px;margin:2rem auto;display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px}
.form .full{grid-column:1/-1}
label{font-weight:700;font-size:.92rem;margin-bottom:4px;display:block}
input[type=text],input[type=email],textarea,select,input[type=file]{
  width:100%;padding:.6rem .7rem;border:1px solid var(--border);border-radius:8px;font-size:.95rem}
textarea{min-height:96px}
.flash-wrap{max-width:1250px;margin:0 auto;padding:.5rem 1rem 0 1rem}
.flash-msg{margin:.25rem 0;padding:.4rem .7rem;border-radius:8px;border:1px solid var(--border);font-size:.9rem}
.flash-success{background:#f0fdf4;border-color:#bbf7d0;color:#166534}
.flash-danger{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.tabs{display:flex;gap:.5rem;margin:1rem 0;flex-wrap:wrap}
.tab{padding:.4rem .8rem;border:1px solid var(--border);border-radius:999px;text-decoration:none;color:#111}
.tab.active{background:#f7f7f7;font-weight:800}
.table{width:100%;border-collapse:collapse;font-size:.94rem}
.table th,.table td{border-bottom:1px solid var(--border);padding:.55rem;text-align:left;vertical-align:top}
.link-card{color:inherit;text-decoration:none}
.link-card:focus{outline:2px solid #c7f0c7;border-radius:12px}
.profile-wrap{max-width:1100px;margin:0 auto;padding:1rem}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.profile-card{border:1px solid var(--border);border-radius:12px;padding:1rem;background:#fff}
.profile-h1{font-size:1.6rem;font-weight:900;margin:.25rem 0}
.kv{margin:.25rem 0}
.kv b{font-weight:900}
.footer-rights{position:fixed;left:12px;bottom:10px;font-size:.75rem;color:#6b7280;z-index:200}
@media (max-width: 900px){
  .layout{grid-template-columns:1fr}
  .sidebar{border-right:none;border-bottom:1px solid var(--border)}
  .profile-grid{grid-template-columns:1fr}
}
"""
/* =========================================================
   GHCI Mockup-Based Homepage + Global Button Style
   Phase 1.5: Visual polish, no functionality changes
   ========================================================= */

.ghci-icon {
  display: inline-block;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
}

.ghci-icon-xs {
  width: 16px;
  height: 16px;
}

.ghci-icon-sm {
  width: 20px;
  height: 20px;
}

.ghci-icon-meta {
  width: 22px;
  height: 22px;
}

.ghci-icon-md {
  width: 28px;
  height: 28px;
}

.ghci-icon-lg {
  width: 40px;
  height: 40px;
}

.ghci-icon-xl {
  width: 64px;
  height: 64px;
}

.ghci-avatar-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 999px;
}

.feature-icon-circle .ghci-icon {
  width: 32px;
  height: 32px;
}

.step-icon .ghci-icon,
.mission-icon .ghci-icon {
  width: 36px;
  height: 36px;
}

.sidebar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.scholar-avatar .ghci-avatar-icon,
.pro-avatar .ghci-avatar-icon {
  width: 100%;
  height: 100%;
}

.profile-avatar-large .ghci-avatar-icon {
  width: 96px;
  height: 96px;
}

.pro-avatar-large .ghci-avatar-icon {
  width: 116px;
  height: 116px;
}

.ghci-icon-meta,
.scholar-meta .ghci-icon,
.pro-card-meta .ghci-icon,
.pro-location .ghci-icon {
  margin-right: 0.35rem;
}

.survey-help-icon .ghci-icon {
  width: 54px;
  height: 54px;
}

.survey-section-icon .ghci-icon,
.summary-icon .ghci-icon,
.profile-card-icon .ghci-icon,
.scholar-match-icon .ghci-icon,
.scholar-info-icon .ghci-icon,
.pro-confirm-step-icon .ghci-icon {
  width: 24px;
  height: 24px;
}

/* Global GHCI button reset */
.btn,
.btn-pill,
.btn-small,
.btn-side,
button.btn {
  border-radius: 0;
  background: #327f22;
  color: #ffffff;
  border: 1px solid #327f22;
  box-shadow: none;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.btn:hover,
.btn-pill:hover,
.btn-small:hover,
.btn-side:hover,
button.btn:hover {
  background: #27671b;
  border-color: #27671b;
  color: #ffffff;
  transform: none;
  filter: none;
}

.btn-ghost {
  background: #ffffff;
  color: #327f22;
  border: 1px solid #327f22;
}

.btn-ghost:hover {
  background: #327f22;
  color: #ffffff;
}

.btn-side {
  text-align: center;
  margin-bottom: 0.6rem;
}

/* Homepage layout from mockup */
.home-page {
  min-height: 100vh;
  background: #ffffff;
  padding: 1.75rem 2rem 4rem 2rem;
}

.home-hero {
  width: min(1180px, calc(100vw - 4rem));
  margin: 0 auto;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(48, 91, 60, 0.92), rgba(132, 164, 200, 0.88));
  overflow: hidden;
  position: relative;
}

.home-hero::after {
  content: "GHCI";
  position: absolute;
  right: 2.5rem;
  top: 6rem;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.14);
  letter-spacing: 0.04em;
  z-index: 0;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 4rem 4rem 4rem;
  text-align: center;
}

.home-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.18);
}

.home-title::after {
  display: none;
}

.home-subtitle {
  color: #ffffff;
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  font-weight: 800;
  margin: 1.25rem auto 0.5rem auto;
  line-height: 1.4;
}

.home-picture-placeholder {
  width: min(860px, 90%);
  min-height: 275px;
  margin: 0.45rem auto 0 auto;
  background: #e7e7e7;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  font-weight: 900;
  text-align: center;
}

/* Action blocks below hero */
.home-action-row {
  width: min(1180px, calc(100vw - 4rem));
  margin: 2rem auto 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.home-action-block {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  text-align: center;
}

.home-action-header {
  background: #327f22;
  color: #ffffff;
  padding: 0.55rem 1rem;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.home-action-text {
  color: #1f2a22;
  font-size: 1.05rem;
  line-height: 1.35;
  padding: 0.65rem 0.5rem 0 0.5rem;
}

.home-action-block:hover .home-action-header {
  background: #27671b;
}

/* Make existing cards/buttons more rectangular site-wide */
.card,
.profile-card,
.filters,
.tabs,
.sidebar {
  border-radius: 0;
}

/* Tables keep clean GHCI styling */
.table th {
  background: #327f22;
  color: #ffffff;
}

/* Badges rectangular instead of pill */
.badge {
  border-radius: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .home-page {
    padding: 1rem;
  }

  .home-hero {
    width: 100%;
  }

  .home-hero-inner {
    padding: 2.5rem 1.25rem 2rem 1.25rem;
  }

  .home-picture-placeholder {
    width: 100%;
    min-height: 220px;
  }

  .home-action-row {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}}
/* =========================================================
   GHCI Directory Page Styling
   Scholars + Professionals directory visual pass
   ========================================================= */

/* Directory layout spacing */
.layout {
  max-width: 1250px;
  gap: 2rem;
  align-items: start;
}

/* Sidebar should look like stacked GHCI buttons, not a card */
.sidebar {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* Sidebar buttons */
.sidebar .btn-side,
.sidebar .btn,
.sidebar a.btn {
  display: block;
  width: 100%;
  background: #327f22;
  color: #ffffff;
  border: 1px solid #327f22;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.55rem 0.75rem;
  margin: 0 0 0.35rem 0;
}

.sidebar .btn-side:hover,
.sidebar .btn:hover,
.sidebar a.btn:hover {
  background: #27671b;
  border-color: #27671b;
  color: #ffffff;
}

/* Sidebar description */
.sidebar-desc {
  border-left: none;
  padding-left: 0;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: #444;
}

/* Directory content should stay clean */
.content {
  background: transparent;
  border-radius: 0;
  padding-top: 0;
}

/* Page title */
.content-title {
  color: #000000;
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

/* Remove orange underline from all content titles on directory pages */
.content-title::after {
  display: none;
}

/* Filters stacked like your screenshot */
.filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: start;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  max-width: 820px;
  margin-bottom: 1rem;
}

/* Search input underline only */
.filters input[type="text"],
.filters .input[type="text"] {
  border: none;
  border-bottom: 2px solid #327f22;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.45rem 0.55rem;
  min-width: 100%;
}

/* Keep dropdown fields underneath, cleaner but still simple */
.filters select.input,
.filters select {
  border: none;
  border-bottom: 1px solid #d4d4d4;
  border-radius: 0;
  background: transparent;
  padding: 0.55rem 0.25rem;
  min-width: 100%;
}

/* Filter button should be compact */
.filters button.btn {
  width: fit-content;
  min-width: 72px;
  padding: 0.45rem 0.9rem;
  background: #ffffff;
  color: #000000;
  border: 1px solid #b8e3b8;
  border-radius: 999px;
  font-size: 0.85rem;
}

.filters button.btn:hover {
  background: #327f22;
  color: #ffffff;
  border-color: #327f22;
}

/* Directory cards: scholar and professional cards */
.content .grid {
  gap: 0.9rem;
}

.content .grid .card {
  border: 2px solid #327f22;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
  min-height: 150px;
  padding: 1rem;
}

.content .grid .card:hover {
  transform: none;
  box-shadow: none;
  border-color: #27671b;
}

/* Card text */
.content .grid .card-title {
  color: #000000;
  font-weight: 900;
  margin-bottom: 0.65rem;
}

.content .grid .card-detail {
  color: #111111;
  font-size: 0.93rem;
  line-height: 1.35;
}

/* Badge should look like clean bold label */
.content .grid .badge {
  display: inline-block;
  background: transparent;
  border: none;
  color: #000000;
  font-weight: 900;
  padding: 0;
  margin-top: 0.55rem;
  border-radius: 0;
}

/* Links should not look blue/underlined */
.link-card {
  color: inherit;
  text-decoration: none;
}

/* Professional role tabs should match green block style */
.tabs {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  gap: 0.4rem;
}

.tab {
  background: #ffffff;
  color: #327f22;
  border: 1px solid #327f22;
  border-radius: 0;
  font-weight: 800;
}

.tab.active,
.tab:hover {
  background: #327f22;
  color: #ffffff;
  border-color: #327f22;
}

/* Mobile cleanup */
@media (max-width: 900px) {
  .layout {
    gap: 1rem;
  }

  .filters {
    max-width: 100%;
  }

  .sidebar .btn-side,
  .sidebar .btn,
  .sidebar a.btn {
    width: 100%;
  }
}
/* =========================================================
   HOMEPAGE RESET - LIGHT GREEN + IMAGES ABOVE BUTTONS
   ========================================================= */

.home-page {
  min-height: 100vh;
  background: #ffffff;
  padding: 2rem 2rem 4rem 2rem;
}

.portal-hero {
  width: min(1100px, calc(100vw - 4rem));
  margin: 0 auto 2rem auto;
  background: rgba(179, 219, 179, 0.45); /* translucent light green */
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: center;
}

.portal-title {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 900;
  color: #000000;
  text-shadow: none;
}
.portal-title::after {
  display: none;
}

.portal-subtitle {
  margin: 1rem auto 1.25rem auto;
  color: #000000;
  font-size: 1.2rem;
  font-weight: 700;
  max-width: 900px;
}

.portal-main-image {
  width: min(860px, 92%);
  min-height: 260px;
  margin: 0 auto;
  background: #e3e3e3;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  text-align: center;
}

/* cards under hero */
.portal-links {
  width: min(1100px, calc(100vw - 4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portal-link-card {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  background: #ffffff;
}

.portal-link-image {
  width: 100%;
  height: 155px;
  background: #dcdcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #000;
  font-weight: 800;
  font-size: 1.2rem;
}

.portal-link-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* if no image exists */
.portal-link-image.placeholder {
  background: #d9d9d9;
}

.portal-link-header {
  background: #327f22;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 0.6rem 0.75rem;
}

.portal-link-text {
  padding: 0.65rem 0.5rem 0 0.5rem;
  color: #222;
  font-size: 1rem;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .home-page {
    padding: 1rem 1rem 4rem 1rem;
  }

  .portal-hero,
  .portal-links {
    width: 100%;
  }

  .portal-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portal-main-image {
    width: 100%;
  }
}

.portal-main-image {
  width: min(860px, 92%);
  height: 260px;
  margin: 0 auto;
  background: #e3e3e3;
  overflow: hidden;
  display: block;
}

.portal-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   GHCI PORTAL HOMEPAGE POLISHED VERSION
   Homepage only
   ========================================================= */

:root {
  --ghci-green: #2f7d32;
  --ghci-green-dark: #1f5e24;
  --ghci-green-soft: #eef6ee;
  --ghci-green-soft-2: #f6faf6;
  --ghci-border: #dbe8db;
  --ghci-text: #1c1f1c;
  --ghci-muted: #5d665d;
  --ghci-blue: #2d64b3;
  --ghci-shadow: 0 8px 24px rgba(20, 40, 20, 0.08);
  --ghci-shadow-soft: 0 4px 14px rgba(20, 40, 20, 0.06);
  --ghci-page-max: 1440px;
  --ghci-page-pad: 1.5rem;
  --ghci-header-left-min: 260px;
  --ghci-header-profile-slot: 180px;
}

html {
  scrollbar-gutter: stable;
}

/* body reset for homepage */
.portal-body {
  margin: 0;
  background: #f7faf7;
  color: var(--ghci-text);
  font-family: Arial, Helvetica, sans-serif;
}

/* hide legacy fixed footer text if present */
.portal-body .footer-rights {
  display: none !important;
}

/* ===== Header ===== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--ghci-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header-inner {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: grid;
  grid-template-columns:
    minmax(var(--ghci-header-left-min), 1fr)
    auto
    minmax(var(--ghci-header-profile-slot), 1fr);
  gap: 1.25rem;
  align-items: center;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo-wrap {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f8f3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ghci-border);
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-fallback {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ghci-green);
}

.brand-text {
  line-height: 1.05;
}

.brand-line-1 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ghci-green);
}

.brand-line-2 {
  font-size: 0.95rem;
  color: var(--ghci-blue);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: #2d2f2d;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link-active {
  color: var(--ghci-green-dark);
  border-bottom-color: var(--ghci-green);
}

.header-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: var(--ghci-header-profile-slot);
}

.header-profile-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: var(--ghci-header-profile-slot);
  color: #111827;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

.header-profile-action:hover,
.header-profile-action.active {
  color: var(--ghci-green-dark);
}

/* ===== Main container ===== */

.portal-home {
  max-width: var(--ghci-page-max);
  margin: 0 auto;
  padding: 1rem var(--ghci-page-pad) 2rem var(--ghci-page-pad);
}

/* ===== Hero ===== */

.hero-section {
  background:
    radial-gradient(circle at top left, rgba(47, 125, 50, 0.08), transparent 35%),
    radial-gradient(circle at bottom center, rgba(47, 125, 50, 0.06), transparent 30%),
    #fbfdfb;
  border: 1px solid var(--ghci-border);
  border-radius: 24px;
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
}

.hero-left {
  min-width: 0;
}

.welcome-pill {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #dfeede;
  color: var(--ghci-green-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  color: var(--ghci-green-dark);
  font-weight: 900;
}

.hero-title::after {
  display: none;
}

.hero-subtitle {
  margin: 1rem 0 0.8rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2a2f2a;
}

.hero-description {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ghci-muted);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.95rem 1.35rem;
  border-radius: 12px;
  font-weight: 700;
  min-width: 180px;
  text-align: center;
}

.hero-btn-account {
  min-width: 230px;
}

.hero-btn-primary {
  background: var(--ghci-green);
  color: #ffffff;
  border: 1px solid var(--ghci-green);
}

.hero-btn-primary:hover {
  background: var(--ghci-green-dark);
}

.hero-btn-secondary {
  background: #ffffff;
  color: var(--ghci-green-dark);
  border: 1px solid #9fc39f;
}

.hero-btn-secondary:hover {
  background: #f3f8f3;
}

.hero-right {
  min-width: 0;
}

.hero-image-frame {
  width: 100%;
  min-height: 330px;
  border-radius: 28px;
  overflow: hidden;
  background: #e6f1e6;
  border: 1px solid #d3e5d3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: contain;
  display: block;
  padding: 2.5rem;
  box-sizing: border-box;
  background: #e6f1e6;
}

.hero-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  color: var(--ghci-green-dark);
  font-size: 1.4rem;
  font-weight: 800;
}

/* ===== Feature cards ===== */

.feature-cards {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.feature-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid var(--ghci-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--ghci-shadow-soft);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ghci-shadow);
}

.feature-image-wrap {
  position: relative;
  height: 210px;
  background: #edf3ed;
  overflow: hidden;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--ghci-green-dark);
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-icon-circle {
  position: absolute;
  left: 1rem;
  bottom: -22px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--ghci-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--ghci-shadow-soft);
}

.feature-bar {
  background: var(--ghci-green);
  color: #ffffff;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.feature-content {
  padding: 1.15rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
}

.feature-content p {
  margin: 0;
  line-height: 1.55;
  color: #394139;
  min-height: 78px;
}

.feature-link {
  margin-top: 1rem;
  color: var(--ghci-green);
  font-weight: 700;
}

/* ===== Lower strip ===== */

.info-strip {
  margin-top: 1.35rem;
  background: #f3f8f3;
  border: 1px solid var(--ghci-border);
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.65fr 0.95fr;
  gap: 1.5rem;
}

.section-title {
  margin: 0 0 1rem 0;
  font-size: 1.55rem;
  color: var(--ghci-green-dark);
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.step {
  text-align: center;
}

.step-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 0.75rem auto;
  border-radius: 999px;
  background: #deecde;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.step-title {
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.step-text {
  color: var(--ghci-muted);
  line-height: 1.45;
  font-size: 0.95rem;
}

.step-arrow {
  font-size: 2rem;
  color: var(--ghci-green);
  align-self: center;
  padding-top: 0.6rem;
}

.mission-panel {
  border-left: 1px solid #d9e5d9;
  padding-left: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mission-icon {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #deecde;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.mission-text {
  margin: 0 0 1rem 0;
  line-height: 1.6;
  color: #384038;
}

.mission-link {
  color: var(--ghci-blue);
  text-decoration: none;
  font-weight: 700;
}

.mission-link:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */

.site-footer {
  padding: 1.1rem 1.5rem 1.4rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--ghci-border);
}

.site-footer-inner {
  max-width: var(--ghci-page-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #687168;
  font-size: 0.92rem;
}

.footer-right {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-right a {
  color: #687168;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */

@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .mission-panel {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #d9e5d9;
    padding-top: 1.25rem;
  }

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

  .step-arrow {
    display: none;
  }
}

@media (max-width: 850px) {
  .site-header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .portal-home {
    padding: 1rem;
  }

  .hero-section {
    padding: 1.3rem;
  }

  .site-footer {
    padding: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
  }
}

/* =========================================================
   POLISHED SCHOLAR SEARCH VIEW
   Dashboard-style directory page
   ========================================================= */

.app-body {
  background:
    radial-gradient(circle at top left, rgba(47, 125, 50, 0.06), transparent 25rem),
    #fbfdfb;
}

.app-site-header {
  background: #ffffff;
  border-bottom: 1px solid #dbe8db;
  box-shadow: 0 3px 14px rgba(20, 40, 20, 0.06);
}

.app-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2rem;
  max-width: 1380px;
  margin: 0 auto;
  padding: 1.5rem;
}

.app-sidebar {
  min-height: calc(100vh - 100px);
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(239, 248, 239, 0.96), rgba(255, 255, 255, 0.96));
  border-right: 1px solid #dbe8db;
}

.sidebar-label {
  color: #6a746a;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  margin-bottom: 1rem;
}

.sidebar-segment {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #ffffff;
  background: #2f7d32;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(47, 125, 50, 0.12);
}

.sidebar-segment:hover,
.sidebar-segment.active {
  background: #1f5e24;
}

.sidebar-icon {
  width: 1.25rem;
  text-align: center;
}

.sidebar-info-card {
  margin-top: 2rem;
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 14px rgba(20, 40, 20, 0.05);
}

.sidebar-info-title {
  color: #1f5e24;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.sidebar-info-card p {
  margin: 0;
  color: #4e594e;
  font-size: 0.92rem;
  line-height: 1.45;
}

.app-main {
  min-width: 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #7a847a;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.breadcrumbs a {
  text-decoration: none;
  color: #667266;
}

.app-page-title {
  margin: 0;
  color: #1f5e24;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 900;
}

.app-page-subtitle {
  margin: 0.6rem 0 1.4rem 0;
  color: #5b655b;
  font-size: 1rem;
}

/* Filter panel */

.scholar-filter-panel {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(20, 40, 20, 0.08);
  margin-bottom: 1.3rem;
}

.filter-search-row {
  max-width: 560px;
  margin-bottom: 1rem;
}

.filter-label {
  display: block;
  font-weight: 800;
  color: #333d33;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.scholar-search-input,
.scholar-select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cddccd;
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  background: #ffffff;
  font-size: 0.95rem;
}

.scholar-search-input:focus,
.scholar-select:focus {
  outline: 3px solid rgba(47, 125, 50, 0.16);
  border-color: #2f7d32;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
  gap: 1rem;
  align-items: end;
}

.apply-filter-btn {
  background: #2f7d32;
  color: #ffffff;
  border: 1px solid #2f7d32;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 1rem;
  font-weight: 900;
  cursor: pointer;
}

.apply-filter-btn:hover {
  background: #1f5e24;
}

/* Toolbar */

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #4e594e;
  font-size: 0.95rem;
  margin: 0.25rem 0 1rem 0;
}

/* Scholar Cards */

.scholar-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 1rem;
}

.scholar-card-link {
  text-decoration: none;
  color: inherit;
}

.scholar-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #cfe0cf;
  border-radius: 14px;
  padding: 1rem;
  min-height: 170px;
  box-shadow: 0 5px 14px rgba(20, 40, 20, 0.06);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.scholar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 40, 20, 0.10);
  border-color: #8fbd8f;
}

.scholar-avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #dcefdc;
  color: #4b2c82;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scholar-avatar span {
  font-size: 0;
}

.scholar-avatar span::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 13px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #4b2c82;
}

.scholar-avatar span::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 12px;
  width: 24px;
  height: 15px;
  border-radius: 15px 15px 7px 7px;
  background: #4b2c82;
}

.scholar-card-body {
  min-width: 0;
}

.scholar-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.45rem;
}

.scholar-card-top h3 {
  margin: 0;
  color: #1f5e24;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
}

.bookmark-icon {
  color: #2f7d32;
  font-size: 1.1rem;
}

.scholar-meta {
  display: grid;
  gap: 0.25rem;
  color: #343d34;
  font-size: 0.9rem;
  line-height: 1.25;
}

.scholar-segment-badge {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: #e4f2e4;
  color: #1f5e24;
  font-weight: 900;
  font-size: 0.78rem;
}

/* Responsive */

@media (max-width: 1100px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #dbe8db;
  }

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

  .scholar-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .filter-grid,
  .scholar-card-grid {
    grid-template-columns: 1fr;
  }

  .scholar-card {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   POLISHED SCHOLAR SURVEY VIEW
   Homepage/app matching survey layout
   ========================================================= */

.survey-page-body {
  background:
    radial-gradient(circle at top left, rgba(47, 125, 50, 0.06), transparent 28rem),
    #fbfdfb;
}

.survey-layout {
  max-width: var(--ghci-page-max);
  margin: 0 auto;
  padding: var(--ghci-page-pad);
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Left sidebar */

.survey-sidebar {
  min-height: calc(100vh - 120px);
  background:
    linear-gradient(180deg, rgba(239, 248, 239, 0.96), rgba(255, 255, 255, 0.96));
  border: 1px solid #dbe8db;
  border-radius: 18px;
  padding: 1.25rem;
}

.survey-sidebar-label {
  text-transform: uppercase;
  color: #1f5e24;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.survey-step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem;
  border-radius: 12px;
  color: #334033;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.survey-step.active {
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 40, 20, 0.06);
}

.survey-step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #c9dac9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #1f5e24;
  font-size: 0.85rem;
  font-weight: 900;
}

.survey-step.active .survey-step-number {
  background: #2f7d32;
  color: #ffffff;
  border-color: #2f7d32;
}

.survey-help-card {
  margin-top: 2rem;
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 4px 14px rgba(20, 40, 20, 0.06);
}

.survey-help-title {
  font-weight: 900;
  color: #1f5e24;
  margin-bottom: 0.7rem;
}

.survey-help-card p {
  margin: 0;
  color: #445044;
  font-size: 0.94rem;
  line-height: 1.55;
}

.survey-help-icon {
  font-size: 3rem;
  text-align: center;
  margin-top: 1rem;
}

/* Main */

.survey-main {
  min-width: 0;
}

.survey-heading {
  margin-bottom: 1.25rem;
}

.survey-heading h1 {
  margin: 0;
  color: #1f5e24;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
}

.survey-heading p {
  margin: 0.45rem 0 0 0;
  color: #5d665d;
  font-size: 1rem;
}

/* Form card */

.survey-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 40, 20, 0.08);
  overflow: hidden;
}

.survey-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid #edf2ed;
}

.survey-card-header h2 {
  margin: 0;
  color: #1f5e24;
  font-size: 1.2rem;
  font-weight: 900;
}

.survey-card-header span {
  color: #5d665d;
  font-size: 0.9rem;
}

/* Inputs */

.survey-grid {
  padding: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 1.15rem 1.4rem;
}

.survey-field label,
.survey-full-field label,
.survey-confidential-box label {
  display: block;
  font-weight: 900;
  color: #222c22;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.survey-field input,
.survey-field select,
.survey-full-field textarea,
.survey-confidential-box textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cddccd;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.7rem 0.8rem;
  font-size: 0.95rem;
  color: #222c22;
}

.survey-field input:focus,
.survey-field select:focus,
.survey-full-field textarea:focus,
.survey-confidential-box textarea:focus {
  outline: 3px solid rgba(47, 125, 50, 0.15);
  border-color: #2f7d32;
}

.survey-full-field {
  padding: 0 1.35rem 1.15rem 1.35rem;
}

.survey-full-field textarea,
.survey-confidential-box textarea {
  min-height: 105px;
  resize: vertical;
}

/* Section rows */

.survey-section-row {
  border-top: 1px solid #edf2ed;
  border-bottom: 1px solid #edf2ed;
  padding: 1rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fbfdfb;
}

.survey-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e4f2e4;
  color: #1f5e24;
  display: flex;
  align-items: center;
  justify-content: center;
}

.survey-section-title {
  color: #1f5e24;
  font-weight: 900;
  font-size: 1rem;
}

.survey-section-subtitle {
  color: #6a746a;
  font-size: 0.88rem;
  margin-top: 0.15rem;
}

/* Checkboxes */

.survey-checkbox-grid {
  padding: 1.2rem 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.85rem;
}

.survey-checkbox-grid label {
  background: #f7fbf7;
  border: 1px solid #dbe8db;
  border-radius: 10px;
  padding: 0.8rem;
  font-weight: 800;
  color: #2c372c;
}

.survey-checkbox-grid input {
  margin-right: 0.45rem;
}

/* Confidential box */

.survey-confidential-box {
  margin: 0 1.35rem 1.35rem 1.35rem;
  background: #f8fbf8;
  border: 1px solid #dbe8db;
  border-left: 5px solid #2f7d32;
  border-radius: 12px;
  padding: 1rem;
}

.survey-confidential-box p {
  margin: 0.35rem 0 1rem 0;
  color: #5d665d;
  line-height: 1.5;
}

/* Actions */

.survey-actions {
  border-top: 1px solid #edf2ed;
  padding: 1rem 1.35rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.survey-cancel-btn,
.survey-submit-btn {
  min-height: 42px;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.survey-cancel-btn {
  background: #ffffff;
  color: #2c372c;
  border: 1px solid #d0ddd0;
}

.survey-submit-btn {
  background: #2f7d32;
  color: #ffffff;
  border: 1px solid #2f7d32;
}

.survey-submit-btn:hover {
  background: #1f5e24;
}

/* Footer */

.survey-footer {
  margin-top: 1rem;
}

/* Mobile */

@media (max-width: 1050px) {
  .survey-layout {
    grid-template-columns: 1fr;
  }

  .survey-sidebar {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .survey-layout {
    padding: 1rem;
  }

  .survey-grid,
  .survey-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .survey-card-header,
  .survey-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .survey-submit-btn,
  .survey-cancel-btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   POLISHED FIND SCHOLAR RECORD VIEW
   /survey/scholar/find
   ========================================================= */

.scholar-find-body {
  background:
    radial-gradient(circle at top right, rgba(47, 125, 50, 0.07), transparent 26rem),
    radial-gradient(circle at bottom left, rgba(47, 125, 50, 0.05), transparent 24rem),
    #fbfdfb;
  min-height: 100vh;
}

.scholar-find-page {
  max-width: var(--ghci-page-max);
  margin: 0 auto;
  padding: 2rem var(--ghci-page-pad) 2.5rem var(--ghci-page-pad);
}

.scholar-find-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.scholar-find-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #1f5e24;
  background: #ffffff;
  border: 1px solid #b8d4b8;
  border-radius: 10px;
  padding: 0.72rem 1rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(20, 40, 20, 0.05);
}

.scholar-find-back:hover {
  background: #eef6ee;
}

.scholar-find-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  color: #1c251c;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(20, 40, 20, 0.06);
}

.scholar-find-step-pill span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #2f7d32;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
}

.scholar-find-hero {
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.scholar-find-hero h1 {
  margin: 0;
  color: #1f5e24;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 900;
}

.scholar-find-hero p {
  margin: 0.9rem 0 0 0;
  color: #4e594e;
  font-size: 1.05rem;
  line-height: 1.55;
}

.scholar-find-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 16px;
  padding: 1.7rem;
  box-shadow: 0 10px 30px rgba(20, 40, 20, 0.09);
  position: relative;
  overflow: hidden;
}

.scholar-find-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(47, 125, 50, 0.05);
  pointer-events: none;
}

.scholar-find-form {
  position: relative;
  z-index: 1;
}

.scholar-find-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1.4rem 1.6rem;
}

.scholar-find-field label {
  display: block;
  color: #111811;
  font-weight: 900;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

.scholar-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #cddccd;
  border-radius: 10px;
  background: #ffffff;
  padding: 0 0.8rem;
  min-height: 50px;
}

.scholar-input-wrap:focus-within {
  border-color: #2f7d32;
  box-shadow: 0 0 0 3px rgba(47, 125, 50, 0.14);
}

.scholar-input-icon {
  color: #6d776d;
  font-size: 1rem;
  width: 1.25rem;
  text-align: center;
}

.scholar-input-wrap input {
  width: 100%;
  border: none;
  outline: none;
  min-height: 48px;
  font-size: 1rem;
  background: transparent;
  color: #1f281f;
}

.scholar-input-wrap input::placeholder {
  color: #8a928a;
}

.scholar-find-note {
  margin-top: 1.6rem;
  background: #f2f8f2;
  border: 1px solid #dbe8db;
  border-radius: 10px;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #3b463b;
  font-size: 1rem;
}

.scholar-find-note span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #2f7d32;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.scholar-find-note strong {
  color: #1f5e24;
  margin-right: 0.35rem;
}

.scholar-find-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scholar-search-btn,
.scholar-new-btn {
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
}

.scholar-search-btn {
  background: #2f7d32;
  border: 1px solid #2f7d32;
  color: #ffffff;
}

.scholar-search-btn:hover {
  background: #1f5e24;
  border-color: #1f5e24;
}

.scholar-new-btn {
  background: #ffffff;
  border: 1px solid #2f7d32;
  color: #1f5e24;
}

.scholar-new-btn:hover {
  background: #eef6ee;
}

.scholar-search-btn.small,
.scholar-new-btn.small {
  min-height: 36px;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
}

.scholar-find-results {
  margin-top: 1.8rem;
}

.scholar-find-results h2 {
  color: #1f5e24;
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
  font-weight: 900;
}

.scholar-find-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1rem;
}

.scholar-match-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.9rem;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.07);
}

.scholar-match-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #e4f2e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.scholar-match-content h3 {
  margin: 0 0 0.45rem 0;
  color: #1f5e24;
  font-size: 1.1rem;
  font-weight: 900;
}

.scholar-match-content p {
  margin: 0.25rem 0;
  color: #3c463c;
}

.scholar-match-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.scholar-empty-state {
  background: #ffffff;
  border: 1px dashed #b8d4b8;
  border-radius: 12px;
  padding: 1.4rem;
  color: #4e594e;
  font-weight: 800;
}

.scholar-find-info-row {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.scholar-info-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 16px;
  padding: 1.3rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.06);
}

.scholar-info-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #2f7d32;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.scholar-info-card h3 {
  margin: 0 0 0.45rem 0;
  color: #1f5e24;
  font-size: 1.2rem;
  font-weight: 900;
}

.scholar-info-card p {
  margin: 0;
  color: #4e594e;
  line-height: 1.5;
}

.scholar-find-footer {
  margin-top: 1rem;
}

/* Responsive */

@media (max-width: 950px) {
  .scholar-find-grid,
  .scholar-find-info-row,
  .scholar-find-results-grid {
    grid-template-columns: 1fr;
  }

  .scholar-find-top-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .scholar-find-step-pill {
    align-self: flex-start;
  }
}

@media (max-width: 650px) {
  .scholar-find-page {
    padding: 1rem;
  }

  .scholar-find-card {
    padding: 1.1rem;
  }

  .scholar-find-actions {
    flex-direction: column;
  }

  .scholar-search-btn,
  .scholar-new-btn {
    width: 100%;
  }
}

/* =========================================================
   POLISHED SCHOLAR PROFILE VIEW
   /scholar/<person_id>
   ========================================================= */

.scholar-profile-body {
  background:
    radial-gradient(circle at top left, rgba(47, 125, 50, 0.06), transparent 28rem),
    #fbfdfb;
  min-height: 100vh;
}

.scholar-profile-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
}

.scholar-profile-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.profile-back-btn,
.profile-print-btn {
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid #b8d4b8;
  background: #ffffff;
  color: #1f5e24;
  box-shadow: 0 4px 12px rgba(20, 40, 20, 0.05);
  cursor: pointer;
}

.profile-back-btn:hover,
.profile-print-btn:hover {
  background: #eef6ee;
}

.profile-hero-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 8px 24px rgba(20, 40, 20, 0.08);
  display: grid;
  grid-template-columns: 120px 1.2fr 1.8fr;
  gap: 1.6rem;
  align-items: center;
}

.profile-avatar-large {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: #dcefdc;
  color: #2f7d32;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.25rem;
  border: 1px solid #cce0cc;
}

.profile-identity {
  min-width: 0;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.profile-name-row h1 {
  margin: 0;
  color: #1f5e24;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 900;
}

.profile-identity p {
  margin: 0.75rem 0 0 0;
  color: #283228;
  font-size: 1.05rem;
}

.profile-status-badge {
  background: #e4f2e4;
  color: #1f5e24;
  border: 1px solid #cfe0cf;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 900;
  font-size: 0.9rem;
}

.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid #dbe8db;
}

.profile-summary-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-right: 1px solid #dbe8db;
}

.profile-summary-item:last-child {
  border-right: none;
}

.summary-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e4f2e4;
  color: #1f5e24;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-label {
  color: #5d665d;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.summary-value {
  color: #111811;
  font-weight: 900;
  word-break: break-word;
}

.email-value {
  font-size: 0.92rem;
}

/* Info cards */

.profile-card-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1.3rem;
}

.profile-info-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.06);
}

.profile-card-header {
  background: linear-gradient(90deg, rgba(239, 248, 239, 0.98), rgba(255, 255, 255, 0.98));
  border-bottom: 1px solid #dbe8db;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-card-icon {
  color: #2f7d32;
  font-size: 1.3rem;
}

.profile-card-header h2 {
  margin: 0;
  color: #1f5e24;
  font-size: 1.2rem;
  font-weight: 900;
}

.profile-table {
  padding: 0.9rem 1.15rem 1.1rem 1.15rem;
}

.profile-row {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #edf2ed;
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-row-label {
  color: #3a453a;
  font-weight: 700;
}

.profile-row-value {
  color: #111811;
  font-weight: 900;
  word-break: break-word;
}

/* About */

.profile-about-card {
  margin-top: 1.4rem;
  background: #f3f8f3;
  border: 1px solid #dbe8db;
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.profile-about-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #ffffff;
  color: #2f7d32;
  border: 1px solid #cfe0cf;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  flex-shrink: 0;
}

.profile-about-card h2 {
  margin: 0 0 0.4rem 0;
  color: #1f5e24;
  font-size: 1.15rem;
  font-weight: 900;
}

.profile-about-card p {
  margin: 0;
  color: #4e594e;
  line-height: 1.55;
}

/* Footer */

.scholar-profile-footer {
  margin-top: 1rem;
}

/* Print */

@media print {
  .site-header,
  .scholar-profile-topbar,
  .site-footer {
    display: none !important;
  }

  .scholar-profile-page {
    max-width: 100%;
    padding: 0;
  }

  .profile-hero-card,
  .profile-info-card,
  .profile-about-card {
    box-shadow: none;
  }
}

/* Responsive */

@media (max-width: 1050px) {
  .profile-hero-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .profile-summary-grid {
    border-left: none;
    grid-template-columns: 1fr;
  }

  .profile-summary-item {
    border-right: none;
    border-top: 1px solid #dbe8db;
  }
}

@media (max-width: 780px) {
  .scholar-profile-page {
    padding: 1rem;
  }

  .scholar-profile-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-back-btn,
  .profile-print-btn {
    width: 100%;
    text-align: center;
  }

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

  .profile-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .profile-avatar-large {
    width: 92px;
    height: 92px;
    font-size: 2.6rem;
  }
}
/* =========================================================
   ADMIN DASHBOARD + IMPORT WORKFLOW
   ========================================================= */

.admin-body {
  background: #fbfdfb;
}

.admin-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: calc(100vh - 82px);
}

.admin-sidebar {
  background:
    linear-gradient(180deg, rgba(245, 250, 245, 0.98), rgba(255, 255, 255, 0.98));
  border-right: 1px solid #dbe8db;
  padding: 1.15rem 0.9rem;
  position: sticky;
  top: 82px;
  height: calc(100vh - 82px);
  overflow-y: auto;
}

.admin-sidebar-title {
  font-weight: 900;
  color: #0f5132;
  margin-bottom: 1rem;
  padding: 0 0.7rem 0.9rem 0.7rem;
  border-bottom: 1px solid #dbe8db;
}

.admin-sidebar-nav {
  display: grid;
  gap: 0.9rem;
  min-height: calc(100% - 48px);
}

.admin-sidebar-group {
  display: grid;
  gap: 0.25rem;
}

.admin-sidebar-label {
  color: #4b604b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 0 0.75rem;
  text-transform: uppercase;
}

.admin-side-link {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #111827;
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-weight: 750;
  border: 1px solid transparent;
}

.admin-side-link:hover,
.admin-side-link.active {
  background: #eaf5ea;
  border-color: #cfe0cf;
  color: #1f5e24;
}

.admin-side-link.active {
  box-shadow: inset 3px 0 0 #2f7d32;
}

.admin-side-icon {
  text-align: center;
}

.admin-side-badge {
  background: #ffffff;
  border: 1px solid #dbe8db;
  color: #1f5e24;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-side-divider {
  height: 1px;
  background: #dbe8db;
  margin: 0.8rem 0;
}

.admin-sidebar-bottom {
  align-self: end;
  display: grid;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid #dbe8db;
}

.admin-main {
  padding: 2rem clamp(1.4rem, 2.6vw, 3rem) 3rem;
  min-width: 0;
  width: 100%;
}

.admin-breadcrumbs {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: #5f6b5f;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.admin-breadcrumbs a {
  color: #5f6b5f;
  text-decoration: none;
}

.admin-breadcrumbs.small {
  margin-top: 0.25rem;
}

.admin-page-heading h1,
.admin-preview-section h1,
.admin-confirm-section h1 {
  color: #0f5132;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.45rem 0;
  font-weight: 900;
}

.admin-page-heading p {
  color: #374151;
  max-width: 660px;
  line-height: 1.5;
  margin: 0 0 1.3rem 0;
}

.admin-control-heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-control-heading h1 {
  color: #0f5132;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1;
  margin: 0 0 0.45rem;
}

.admin-control-heading p {
  color: #374151;
  font-size: 1rem;
  margin: 0;
}

.admin-refresh-btn {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cfe0cf;
  border-radius: 8px;
  color: #0f5132;
  display: inline-flex;
  font-weight: 900;
  min-height: 44px;
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.admin-welcome-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cfe0cf;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(20, 40, 20, 0.055);
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1rem;
  padding: 1.1rem 1.35rem;
}

.admin-welcome-card h2 {
  color: #0f5132;
  font-size: 1.45rem;
  margin: 0 0 0.3rem;
}

.admin-welcome-card p {
  color: #374151;
  line-height: 1.45;
  margin: 0;
}

.admin-welcome-icon {
  background: #e0f1e0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 14px rgba(255, 255, 255, 0.35);
  flex: 0 0 72px;
  height: 72px;
  position: relative;
  width: 72px;
}

.admin-welcome-icon::before {
  border: 4px solid #1f7a32;
  border-radius: 0 0 18px 18px;
  border-top: 0;
  content: "";
  height: 24px;
  left: 25px;
  position: absolute;
  top: 29px;
  transform: rotate(45deg);
  width: 13px;
}

.admin-welcome-icon::after {
  background: #1f7a32;
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 23px;
  position: absolute;
  top: 42px;
  transform: rotate(45deg);
  width: 28px;
}

.admin-metric-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.admin-metric-card,
.admin-control-card {
  background: #ffffff;
  border: 1px solid #cfe0cf;
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(20, 40, 20, 0.055);
}

.admin-metric-card {
  color: #0f172a;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 48px 1fr;
  min-height: 118px;
  padding: 1rem;
  text-decoration: none;
}

.admin-metric-card:hover {
  border-color: #2f7d32;
  transform: translateY(-1px);
}

.admin-metric-label {
  color: #365436;
  font-size: 0.86rem;
  font-weight: 850;
  grid-column: 2;
  line-height: 1.25;
}

.admin-metric-card strong {
  color: #0f5132;
  font-size: 2rem;
  grid-column: 2;
  line-height: 1;
}

.admin-metric-icon {
  align-self: center;
  background: #e2f1e2;
  border-radius: 50%;
  display: block;
  grid-row: 1 / span 3;
  height: 48px;
  position: relative;
  width: 48px;
}

.admin-metric-icon::before,
.admin-metric-icon::after {
  background: #1f7a32;
  content: "";
  left: 15px;
  position: absolute;
}

.admin-metric-icon::before {
  border-radius: 50%;
  height: 10px;
  top: 13px;
  width: 10px;
}

.admin-metric-icon::after {
  border-radius: 10px 10px 4px 4px;
  height: 12px;
  top: 25px;
  width: 18px;
}

.admin-control-card {
  padding: 1rem;
}

.admin-action-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-action-grid a {
  align-items: center;
  background: #f8fcf8;
  border: 1px solid #cfe0cf;
  border-radius: 8px;
  color: #0f5132;
  display: flex;
  font-weight: 900;
  min-height: 64px;
  padding: 0.8rem;
  text-decoration: none;
}

.admin-action-grid a:hover,
.admin-attention-list a:hover {
  background: #eaf5ea;
  border-color: #2f7d32;
}

.admin-attention-list,
.admin-activity-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.admin-attention-list a {
  align-items: center;
  background: #fbfdfb;
  border: 1px solid #dbe8db;
  border-radius: 8px;
  color: #111827;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  text-decoration: none;
}

.admin-attention-list strong {
  background: #eaf5ea;
  border-radius: 999px;
  color: #0f5132;
  min-width: 34px;
  padding: 0.2rem 0.55rem;
  text-align: center;
}

.admin-table-scroll {
  overflow-x: auto;
}

.admin-activity-list {
  list-style: none;
}

.admin-activity-list li {
  border-left: 3px solid #cfe0cf;
  padding-left: 0.75rem;
}

.admin-activity-list a {
  color: #111827;
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
}

.admin-activity-list strong {
  color: #0f5132;
}

.admin-activity-list span,
.admin-activity-list time {
  color: #4b5563;
  font-size: 0.86rem;
}

.admin-status-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-status-grid div {
  background: #fbfdfb;
  border: 1px solid #dbe8db;
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem;
}

.admin-status-grid span {
  color: #4b604b;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-status-grid strong {
  color: #0f5132;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

/* Admin dashboard visual correction */
.admin-body {
  background: #f8fbf8;
}

.admin-body .site-header {
  position: sticky;
}

.admin-body .header-profile-action-admin {
  flex-direction: row;
  gap: 0.75rem;
  justify-content: flex-start;
  width: 170px;
}

.admin-body .header-profile-action-admin .header-profile-avatar {
  flex: 0 0 auto;
}

.header-profile-copy {
  display: grid;
  gap: 0.15rem;
  text-align: left;
}

.header-profile-subtitle {
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-sidebar {
  background: #ffffff;
  border-right: 1px solid #dfe7df;
  box-shadow: 8px 0 22px rgba(20, 40, 20, 0.035);
  height: calc(100vh - 82px);
  overflow-y: auto;
  padding: 1.45rem 1.35rem;
}

.admin-sidebar-nav {
  gap: 1.6rem;
  min-height: 100%;
}

.admin-sidebar-group {
  gap: 0.45rem;
}

.admin-sidebar-label {
  color: #6b7280;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  padding: 0 0.25rem;
}

.admin-side-link {
  border-radius: 9px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 0.85rem;
  min-height: 46px;
  padding: 0.62rem 0.75rem;
}

.admin-side-link.active {
  background: #eaf4ea;
  border-color: #dbe8db;
  box-shadow: none;
}

.admin-side-mark,
.admin-action-icon {
  border: 2px solid #0f5132;
  border-radius: 6px;
  display: inline-block;
  height: 22px;
  position: relative;
  width: 22px;
}

.admin-side-mark::before,
.admin-side-mark::after,
.admin-action-icon::before,
.admin-action-icon::after {
  content: "";
  position: absolute;
}

.admin-mark-home::before {
  border-left: 2px solid #0f5132;
  border-top: 2px solid #0f5132;
  height: 10px;
  left: 4px;
  top: 6px;
  transform: rotate(45deg);
  width: 10px;
}

.admin-mark-user,
.admin-mark-people {
  border: 0;
}

.admin-mark-user::before,
.admin-mark-people::before {
  border: 2px solid #0f5132;
  border-radius: 50%;
  height: 7px;
  left: 7px;
  top: 2px;
  width: 7px;
}

.admin-mark-user::after,
.admin-mark-people::after {
  border: 2px solid #0f5132;
  border-radius: 12px 12px 4px 4px;
  height: 8px;
  left: 3px;
  top: 13px;
  width: 15px;
}

.admin-mark-shield {
  border-radius: 9px 9px 12px 12px;
}

.admin-mark-list::before {
  background: #0f5132;
  box-shadow: 0 5px 0 #0f5132, 0 10px 0 #0f5132;
  height: 2px;
  left: 5px;
  top: 5px;
  width: 10px;
}

.admin-mark-card::before {
  border: 2px solid #0f5132;
  border-radius: 50%;
  height: 5px;
  left: 4px;
  top: 4px;
  width: 5px;
}

.admin-mark-card::after {
  background: #0f5132;
  height: 2px;
  right: 4px;
  top: 6px;
  width: 7px;
}

.admin-mark-download::before {
  border-bottom: 2px solid #0f5132;
  border-right: 2px solid #0f5132;
  height: 8px;
  left: 7px;
  top: 4px;
  transform: rotate(45deg);
  width: 8px;
}

.admin-mark-status::before {
  background: #0f5132;
  height: 2px;
  left: 4px;
  top: 8px;
  width: 14px;
}

.admin-mark-logout {
  border: 0;
}

.admin-mark-logout::before {
  border: 2px solid #0f5132;
  border-right: 0;
  height: 16px;
  left: 2px;
  top: 3px;
  width: 10px;
}

.admin-mark-logout::after {
  border-right: 2px solid #0f5132;
  border-top: 2px solid #0f5132;
  height: 7px;
  right: 2px;
  top: 7px;
  transform: rotate(45deg);
  width: 7px;
}

.admin-side-badge {
  align-self: center;
  background: #f1f8f1;
}

.admin-control-heading {
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.admin-control-heading h1 {
  font-size: clamp(2.35rem, 3vw, 3.25rem);
}

.admin-heading-tools {
  align-items: center;
  display: flex;
  gap: 1.25rem;
}

.admin-generated-at {
  color: #374151;
  font-weight: 750;
  white-space: nowrap;
}

.admin-refresh-btn {
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(20, 40, 20, 0.04);
  padding-inline: 1.4rem;
}

.admin-welcome-card,
.admin-metric-card,
.admin-control-card {
  border-color: #dbe8db;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(20, 40, 20, 0.07);
}

.admin-welcome-card {
  min-height: 128px;
  padding: 1.35rem 1.65rem;
}

.admin-welcome-icon {
  flex-basis: 84px;
  height: 84px;
  width: 84px;
}

.admin-metric-grid {
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-metric-card {
  grid-template-columns: 62px 1fr;
  min-height: 122px;
  padding: 1.2rem;
}

.admin-metric-icon {
  height: 58px;
  width: 58px;
}

.admin-metric-icon::before {
  height: 13px;
  left: 19px;
  top: 15px;
  width: 13px;
}

.admin-metric-icon::after {
  height: 15px;
  left: 15px;
  top: 32px;
  width: 24px;
}

.admin-metric-label {
  color: #1f2937;
  font-size: 0.94rem;
}

.admin-metric-card strong {
  font-size: 2.3rem;
}

.admin-metric-note {
  color: #1f7a32;
  font-size: 0.84rem;
  font-weight: 850;
  grid-column: 2;
}

.admin-ops-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(420px, 1.15fr) minmax(360px, 0.9fr) minmax(310px, 0.7fr);
  margin-bottom: 1rem;
}

.admin-lower-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.75fr);
}

.admin-control-card {
  padding: 1.1rem;
}

.admin-card-heading-row {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.admin-card-heading-row h2 {
  color: #0f5132;
  font-size: 1.2rem;
  margin: 0;
}

.admin-card-heading-row p {
  color: #4b5563;
  margin: 0.25rem 0 0;
}

.admin-card-top-link {
  color: #1f7a32;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

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

.admin-action-grid a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 0.8rem;
  min-height: 92px;
  padding: 0.9rem;
}

.admin-action-grid a:last-child {
  grid-column: span 2;
}

.admin-action-grid small,
.admin-activity-list small {
  color: #4b5563;
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.35;
  margin-top: 0.2rem;
}

.admin-action-grid b,
.admin-attention-list b {
  color: #1f7a32;
  font-size: 1.1rem;
}

.admin-action-icon {
  align-self: center;
  background: #eaf4ea;
  border-color: transparent;
  border-radius: 50%;
  height: 42px;
  width: 42px;
}

.admin-activity-list {
  gap: 0;
}

.admin-activity-list li {
  border-left: 0;
  border-top: 1px solid #eef2ee;
  padding-left: 0;
}

.admin-activity-list li:first-child {
  border-top: 0;
}

.admin-activity-list a {
  align-items: center;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 58px;
  padding: 0.55rem 0;
}

.admin-activity-icon {
  background: #eaf4ea;
  border-radius: 50%;
  height: 32px;
  position: relative;
  width: 32px;
}

.admin-activity-icon::before {
  background: #1f7a32;
  border-radius: 3px;
  content: "";
  height: 14px;
  left: 10px;
  position: absolute;
  top: 9px;
  width: 12px;
}

.admin-activity-list time {
  font-weight: 750;
  white-space: nowrap;
}

.admin-attention-card h2 {
  color: #bb6f00;
}

.admin-attention-list {
  gap: 0.55rem;
}

.admin-attention-list a {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  min-height: 62px;
}

.admin-attention-list strong {
  align-self: center;
  background: #fff4df;
  color: #b16a00;
}

.admin-pending-card,
.admin-data-card {
  min-height: 250px;
}

.admin-dashboard-table th,
.admin-dashboard-table td {
  padding: 0.62rem 0.75rem;
}

.admin-status-pill {
  background: #fff0cf;
  border-radius: 999px;
  color: #8a5600;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.25rem 0.65rem;
}

.admin-review-btn {
  border: 1px solid #2f7d32;
  border-radius: 7px;
  color: #1f5e24;
  display: inline-flex;
  font-weight: 900;
  min-width: 78px;
  justify-content: center;
  padding: 0.3rem 0.7rem;
  text-decoration: none;
}

.admin-table-footer {
  border-top: 1px solid #eef2ee;
  color: #4b5563;
  font-size: 0.85rem;
  padding-top: 0.75rem;
}

.admin-data-list {
  display: grid;
  gap: 0.4rem;
}

.admin-data-list div {
  align-items: center;
  border-bottom: 1px solid #eef2ee;
  display: flex;
  justify-content: space-between;
  min-height: 42px;
}

.admin-data-list div:last-child {
  border-bottom: 0;
}

.admin-data-list span {
  color: #4b5563;
}

.admin-data-list strong {
  background: #eaf4ea;
  border-radius: 999px;
  color: #0f5132;
  font-weight: 900;
  max-width: 62%;
  overflow-wrap: anywhere;
  padding: 0.22rem 0.65rem;
  text-align: right;
}

.admin-import-top-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(360px, 1fr);
  gap: 2rem;
  align-items: start;
}

.admin-import-card,
.admin-help-panel,
.admin-preview-summary,
.admin-safe-card {
  background: #ffffff;
  border: 1px solid #cfe0cf;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.05);
}

.admin-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #2f7d32;
  color: #1f5e24;
  background: #ffffff;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 900;
  padding: 0.7rem 1rem;
}

.admin-outline-btn.full {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

.admin-upload-box {
  border: 1px solid #2f7d32;
  border-radius: 8px;
  padding: 1rem;
}

.admin-upload-box h2,
.admin-help-panel h2,
.admin-preview-summary h2,
.admin-safe-card h2 {
  margin: 0 0 0.8rem 0;
  color: #0f5132;
  font-size: 1rem;
  font-weight: 900;
}

.admin-upload-box input[type="file"] {
  width: 100%;
  border: 1px solid #cddccd;
  border-radius: 7px;
  padding: 0.6rem;
  background: #ffffff;
}

.admin-help-text {
  color: #5f6b5f;
  margin: 0.8rem 0;
  font-size: 0.9rem;
}

.admin-primary-btn,
.admin-secondary-btn {
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.admin-primary-btn {
  background: #2f7d32;
  border: 1px solid #2f7d32;
  color: #ffffff;
}

.admin-primary-btn:hover {
  background: #1f5e24;
}

.admin-secondary-btn {
  background: #ffffff;
  border: 1px solid #b8d4b8;
  color: #1f5e24;
  margin-left: 0.75rem;
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1rem 0;
}

.admin-action-row .admin-secondary-btn {
  margin-left: 0;
}

.admin-help-panel {
  background:
    linear-gradient(135deg, rgba(239, 248, 239, 0.9), rgba(255, 255, 255, 0.96));
}

.admin-help-panel ol {
  margin: 0.25rem 0 1rem 1.25rem;
  padding: 0;
  line-height: 1.8;
}

.admin-help-panel p {
  margin: 0;
  color: #374151;
}

.admin-preview-section,
.admin-confirm-section {
  border-top: 1px solid #dbe8db;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.2rem 0;
}

.admin-stat-card {
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  border: 1px solid #dbe8db;
  background: #ffffff;
}

.admin-stat-card.green {
  background: #f0f8f0;
  border-color: #b8d4b8;
}

.admin-stat-card.blue {
  background: #f2f7ff;
  border-color: #a8c7f0;
}

.admin-stat-card.yellow {
  background: #fff8e8;
  border-color: #efcc80;
}

.admin-stat-card.red {
  background: #fff1f1;
  border-color: #ef9a9a;
}

.stat-icon {
  font-size: 1.8rem;
}

.admin-icon-dot {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: #2f7d32;
  box-shadow: 0 0 0 0.35rem rgba(47, 125, 50, 0.12);
  vertical-align: middle;
}

.profile-card-icon.admin-icon-dot {
  flex: 0 0 auto;
}

.stat-number {
  font-size: 1.55rem;
  font-weight: 900;
  color: #0f5132;
  line-height: 1;
}

.stat-label {
  font-weight: 900;
  color: #111827;
}

.stat-sub {
  color: #4b5563;
  font-size: 0.86rem;
}

.admin-preview-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 1.5rem;
  align-items: start;
}

.admin-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid #dbe8db;
  margin-bottom: 0.8rem;
  overflow-x: auto;
}

.admin-tab {
  padding: 0.7rem 0;
  color: #374151;
  font-weight: 850;
  white-space: nowrap;
}

.admin-tab.active {
  color: #0f5132;
  border-bottom: 3px solid #2f7d32;
}

.admin-preview-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #dbe8db;
}

.admin-preview-table th {
  background: #2f7d32;
  color: #ffffff;
  text-align: left;
  padding: 0.65rem;
  font-size: 0.88rem;
}

.admin-preview-table td {
  border-bottom: 1px solid #edf2ed;
  padding: 0.65rem;
  font-size: 0.9rem;
}

.status-pill {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-pill.green {
  background: #e4f2e4;
  color: #1f5e24;
}

.admin-preview-summary ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.75;
}

.admin-confirm-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}

.admin-success-banner {
  background: #eaf8ea;
  color: #0f5132;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.2rem;
}

.admin-confirm-counts {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.admin-safe-card {
  background: #f8fbf8;
}

@media (max-width: 1050px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid #dbe8db;
  }

  .admin-import-top-grid,
  .admin-preview-layout,
  .admin-confirm-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 650px) {
  .admin-main {
    padding: 1rem;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   ADMIN IMPORT CLICKABLE TABS
   ========================================================= */

.admin-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid #dbe8db;
  margin-bottom: 0.8rem;
  overflow-x: auto;
}

.admin-tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0.7rem 0;
  color: #374151;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
}

.admin-tab:hover {
  color: #1f5e24;
}

.admin-tab.active {
  color: #0f5132;
  border-bottom-color: #2f7d32;
}
/* =========================================================
   ADMIN SURVEY RESPONSES
   ========================================================= */

.admin-survey-summary-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px);
  gap: 1rem;
  margin: 1rem 0 1.2rem 0;
}

.admin-table-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.05);
  overflow-x: auto;
}

.admin-survey-table {
  min-width: 1050px;
}

.admin-muted-small {
  color: #6b7280;
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.admin-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-long-text {
  max-width: 280px;
  line-height: 1.35;
}

.admin-small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.75rem;
  border-radius: 7px;
  background: #2f7d32;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.admin-small-btn:hover {
  background: #1f5e24;
}

.admin-empty-card {
  background: #ffffff;
  border: 1px dashed #b8d4b8;
  border-radius: 12px;
  padding: 1.2rem;
  color: #4b5563;
  font-weight: 800;
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

.status-pill.blue {
  background: #e8f1ff;
  color: #1d4f91;
}

.status-pill.yellow {
  background: #fff5d6;
  color: #7a5200;
}

.status-pill.red {
  background: #ffe5e5;
  color: #9b1c1c;
}
/* =========================================================
   PHASE B ADMIN REVIEW WORKFLOW
   Survey response filters, review status, and detail form
   ========================================================= */

.phaseb-summary-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.admin-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.2rem 0;
}

.admin-filter-tab {
  text-decoration: none;
  border: 1px solid #cfe0cf;
  background: #ffffff;
  color: #1f5e24;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-weight: 900;
}

.admin-filter-tab:hover,
.admin-filter-tab.active {
  background: #2f7d32;
  color: #ffffff;
  border-color: #2f7d32;
}

.status-pill.gray {
  background: #edf2ed;
  color: #4b5563;
}

.admin-detail-hero,
.admin-review-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.06);
  margin-bottom: 1.2rem;
}

.admin-detail-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.admin-detail-hero h1 {
  margin: 0;
  color: #0f5132;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
}

.admin-detail-hero p {
  margin: 0.35rem 0 0.8rem 0;
  color: #4b5563;
}

.admin-card-heading-row h2,
.admin-review-card h2 {
  color: #0f5132;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.admin-card-heading-row p,
.admin-review-card p {
  color: #4b5563;
  margin: 0.35rem 0 1rem 0;
}

.admin-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.no-side-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1.2rem;
}

.admin-detail-grid .wide {
  grid-column: 1 / -1;
}

.admin-pill-list.padded {
  padding: 1rem;
}

.profile-row.one-col {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #dbe8db;
  }

  .admin-sidebar-nav {
    min-height: 0;
  }

  .admin-metric-grid,
  .admin-ops-grid,
  .admin-lower-grid,
  .admin-status-grid {
    grid-template-columns: 1fr;
  }

  .admin-action-grid {
    grid-template-columns: 1fr;
  }

  .admin-action-grid a:last-child {
    grid-column: auto;
  }

  .admin-control-heading,
  .admin-heading-tools,
  .admin-welcome-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .phaseb-summary-grid,
  .admin-detail-grid,
  .admin-review-grid {
    grid-template-columns: 1fr;
  }

  .admin-detail-hero {
    flex-direction: column;
  }
}
/* =========================================================
   PHASE B.2 PROFESSIONAL CONNECTION REQUEST REVIEW WORKFLOW
   ========================================================= */

.admin-request-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.2rem 0;
}

.admin-request-stat-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.05);
}

.admin-request-stat-card:hover,
.admin-request-stat-card.active {
  border-color: #2f7d32;
  background: #f2f8f2;
}

.admin-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.5rem 0 1rem 0;
}

.admin-filter-pill {
  text-decoration: none;
  border: 1px solid #cfe0cf;
  background: #ffffff;
  color: #1f5e24;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.88rem;
}

.admin-filter-pill:hover,
.admin-filter-pill.active {
  background: #2f7d32;
  color: #ffffff;
  border-color: #2f7d32;
}

.admin-requests-table {
  min-width: 1100px;
}

.admin-message-preview {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pending {
  background: #fff5d6;
  color: #7a5200;
}

.status-approved {
  background: #e8f1ff;
  color: #1d4f91;
}

.status-needs-follow-up {
  background: #fff1e6;
  color: #a04a00;
}

.status-connected {
  background: #e4f2e4;
  color: #1f5e24;
}

.status-declined {
  background: #ffe5e5;
  color: #9b1c1c;
}

.status-closed {
  background: #eef0f2;
  color: #374151;
}

.request-detail-hero {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 16px;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.4rem;
  align-items: center;
  box-shadow: 0 6px 18px rgba(20, 40, 20, 0.06);
  margin-bottom: 1.3rem;
}

.request-detail-label {
  color: #5d665d;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.request-detail-hero h2 {
  color: #1f5e24;
  margin: 0 0 0.35rem 0;
  font-size: 1.45rem;
  font-weight: 900;
}

.request-detail-hero p {
  margin: 0.2rem 0;
  color: #374151;
}

.request-detail-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #e4f2e4;
  color: #1f5e24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
}

.request-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-bottom: 1.3rem;
}

.request-detail-card,
.request-review-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.06);
}

.request-message-box {
  padding: 1.15rem;
  color: #222c22;
  line-height: 1.55;
  min-height: 160px;
  white-space: pre-wrap;
}

.request-review-form {
  padding: 1.2rem;
}

.survey-grid.compact {
  padding: 0;
  margin-bottom: 1rem;
}

.no-side-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.request-review-actions {
  border-top: 1px solid #edf2ed;
  padding-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 1000px) {
  .admin-request-stats-grid,
  .request-detail-grid,
  .request-detail-hero {
    grid-template-columns: 1fr;
  }

  .request-detail-arrow {
    transform: rotate(90deg);
  }
}
/* =========================================================
   PHASE C: IMPORT DUPLICATE REVIEW TAB
   ========================================================= */

.duplicate-review-list {
  display: grid;
  gap: 1rem;
}

.duplicate-review-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.06);
  overflow: hidden;
}

.duplicate-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: #fff9e8;
  border-bottom: 1px solid #efcc80;
}

.duplicate-card-header h3 {
  margin: 0;
  color: #0f5132;
  font-size: 1.1rem;
  font-weight: 900;
}

.duplicate-card-header p {
  margin: 0.35rem 0 0 0;
  color: #4b5563;
  line-height: 1.4;
}

.duplicate-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.duplicate-side {
  padding: 1rem;
}

.duplicate-side.uploaded {
  border-right: 1px solid #dbe8db;
  background: #fbfdfb;
}

.duplicate-side.existing {
  background: #ffffff;
}

.duplicate-side-title {
  color: #1f5e24;
  font-weight: 900;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.duplicate-kv {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  border-bottom: 1px solid #edf2ed;
  padding: 0.55rem 0;
}

.duplicate-kv span {
  color: #5f6b5f;
  font-weight: 750;
}

.duplicate-kv b {
  color: #111827;
  word-break: break-word;
}

.duplicate-match-box {
  border: 1px solid #dbe8db;
  border-radius: 10px;
  padding: 0.85rem;
  margin-bottom: 0.85rem;
  background: #ffffff;
}

.duplicate-match-box:last-child {
  margin-bottom: 0;
}

.duplicate-reason {
  margin: 0.8rem 0;
  background: #f0f8f0;
  border: 1px solid #cfe0cf;
  color: #1f5e24;
  border-radius: 8px;
  padding: 0.7rem;
  font-size: 0.9rem;
}

.duplicate-note {
  border-top: 1px solid #dbe8db;
  padding: 0.85rem 1rem;
  color: #4b5563;
  background: #f8fbf8;
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .duplicate-compare-grid {
    grid-template-columns: 1fr;
  }

  .duplicate-side.uploaded {
    border-right: none;
    border-bottom: 1px solid #dbe8db;
  }

  .duplicate-card-header {
    flex-direction: column;
  }

  .duplicate-kv {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
/* =========================================================
   PROFESSIONAL PUBLIC FLOW POLISH
   Cards, profile, request form, confirmation
   ========================================================= */

.pro-page-wrap,
.pro-profile-page,
.pro-request-page,
.pro-confirm-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
}

.pro-directory-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.pro-breadcrumbs {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: #667266;
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
}

.pro-breadcrumbs a {
  color: #667266;
  text-decoration: none;
}

.pro-directory-header h1,
.pro-profile-main h1,
.pro-request-heading h1,
.pro-confirm-card h1 {
  margin: 0;
  color: #0f5132;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 900;
}

.pro-directory-header p,
.pro-request-heading p {
  color: #4b5563;
  margin: 0.65rem 0 0 0;
  max-width: 720px;
  line-height: 1.55;
}

/* Filters */

.pro-filter-bar {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.05);
  margin-bottom: 1rem;
}

.pro-search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #cddccd;
  border-radius: 9px;
  padding: 0 0.8rem;
  min-height: 44px;
}

.pro-search-box input {
  border: none;
  outline: none;
  width: 100%;
  min-height: 42px;
  font-size: 0.95rem;
}

.pro-select,
.pro-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cddccd;
  border-radius: 9px;
  background: #ffffff;
  padding: 0 0.8rem;
  font-size: 0.95rem;
}

.pro-role-tabs {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.pro-role-tab {
  text-decoration: none;
  border: 1px solid #dbe8db;
  background: #ffffff;
  color: #243024;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.pro-role-tab.active,
.pro-role-tab:hover {
  background: #2f7d32;
  color: #ffffff;
  border-color: #2f7d32;
}

/* Cards */

.pro-role-section {
  margin-top: 1.4rem;
}

.pro-role-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.pro-role-heading h2 {
  margin: 0;
  color: #0f5132;
  font-size: 1.35rem;
  font-weight: 900;
}

.pro-role-heading span {
  color: #6b7280;
  font-size: 0.92rem;
}

.pro-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 1rem;
}

.pro-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pro-card-top {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 0.85rem;
  align-items: center;
}

.pro-card-top.compact {
  grid-template-columns: 54px 1fr;
}

.pro-avatar,
.pro-avatar-large {
  border-radius: 999px;
  background: #dcefdc;
  color: #4b2c82;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe0cf;
}

.pro-avatar {
  width: 54px;
  height: 54px;
  font-size: 1.55rem;
}

.pro-avatar-large {
  width: 130px;
  height: 130px;
  font-size: 4rem;
}

.pro-card-id h3 {
  margin: 0;
  color: #0f5132;
  font-weight: 900;
  font-size: 1.05rem;
}

.pro-card-id p {
  margin: 0.2rem 0 0 0;
  color: #111827;
  font-size: 0.9rem;
}

.pro-card-id .pro-org {
  color: #4b5563;
}

.pro-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pro-card-tags span {
  background: #e4f2e4;
  color: #1f5e24;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  font-weight: 850;
  font-size: 0.78rem;
}

.pro-card-bio {
  color: #374151;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

.pro-card-meta {
  color: #4b5563;
  font-size: 0.88rem;
}

.pro-card-actions,
.pro-profile-actions,
.pro-request-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pro-card-actions {
  margin-top: 0.65rem;
}

.pro-primary-btn,
.pro-secondary-btn {
  min-height: 40px;
  padding: 0.65rem 0.95rem;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pro-primary-btn {
  background: #0f5132;
  color: #ffffff;
  border: 1px solid #0f5132;
}

.pro-primary-btn:hover {
  background: #0a3d25;
}

.pro-secondary-btn {
  background: #ffffff;
  color: #0f5132;
  border: 1px solid #9fc69f;
}

.pro-secondary-btn:hover {
  background: #eef6ee;
}

.pro-empty-state {
  background: #ffffff;
  border: 1px dashed #b8d4b8;
  border-radius: 14px;
  padding: 1.2rem;
  color: #4b5563;
  font-weight: 800;
}

/* Profile */

.pro-profile-body,
.pro-request-body,
.pro-confirm-body {
  background:
    radial-gradient(circle at top left, rgba(47, 125, 50, 0.06), transparent 28rem),
    #fbfdfb;
}

.pro-profile-topbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.pro-profile-hero {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 8px 24px rgba(20, 40, 20, 0.08);
  display: grid;
  grid-template-columns: 150px 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}

.pro-title {
  margin: 0.45rem 0 0 0;
  font-weight: 900;
  color: #111827;
}

.pro-org-line,
.pro-location {
  color: #4b5563;
  margin: 0.35rem 0;
}

.pro-profile-side-card {
  background: #f8fbf8;
  border: 1px solid #dbe8db;
  border-radius: 14px;
  padding: 1rem;
}

.pro-side-item {
  border-bottom: 1px solid #dbe8db;
  padding: 0.8rem 0;
}

.pro-side-item:first-child {
  padding-top: 0;
}

.pro-side-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pro-side-item strong {
  display: block;
  color: #0f5132;
  margin-bottom: 0.3rem;
}

.pro-side-item span {
  color: #374151;
  line-height: 1.4;
}

.pro-profile-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pro-profile-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.05);
}

.pro-profile-card.wide {
  grid-column: 1 / -1;
}

.pro-profile-card h2 {
  color: #0f5132;
  margin: 0 0 0.7rem 0;
  font-weight: 900;
}

.pro-profile-card p {
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

/* Request form */

.pro-request-heading {
  margin-bottom: 1.2rem;
}

.pro-request-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.pro-request-side {
  display: grid;
  gap: 1rem;
}

.pro-request-person-card,
.pro-request-help-card,
.pro-request-form {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.05);
}

.pro-request-label {
  color: #0f5132;
  font-weight: 900;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.pro-text-link {
  color: #0f5132;
  font-weight: 900;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.8rem;
}

.pro-request-help-card h2,
.pro-form-section h2 {
  color: #0f5132;
  margin: 0 0 0.8rem 0;
  font-size: 1.05rem;
  font-weight: 900;
}

.pro-request-help-card ol {
  margin: 0;
  padding-left: 1.2rem;
  color: #374151;
  line-height: 1.7;
}

.pro-request-form {
  padding: 1.2rem;
}

.pro-form-section {
  border-bottom: 1px solid #edf2ed;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
}

.pro-form-section:last-of-type {
  border-bottom: none;
}

.pro-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pro-field {
  margin-bottom: 1rem;
}

.pro-field label {
  display: block;
  font-weight: 900;
  color: #111827;
  margin-bottom: 0.45rem;
}

.pro-field label span {
  color: #b91c1c;
}

.pro-field input,
.pro-field textarea {
  width: 100%;
  border: 1px solid #cddccd;
  border-radius: 9px;
  padding: 0.7rem 0.8rem;
  min-height: 44px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.pro-field textarea {
  min-height: 105px;
  resize: vertical;
}

.pro-field input:focus,
.pro-field textarea:focus,
.pro-field select:focus {
  outline: 3px solid rgba(47, 125, 50, 0.15);
  border-color: #2f7d32;
}

.pro-request-privacy-note {
  color: #1f5e24;
  background: #f0f8f0;
  border: 1px solid #cfe0cf;
  border-radius: 10px;
  padding: 0.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* Confirmation */

.pro-confirm-page {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-confirm-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 20, 0.08);
  padding: 2rem;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.pro-confirm-icon {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: #0f5132;
  color: #ffffff;
  font-size: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.pro-confirm-card > p {
  color: #374151;
  max-width: 620px;
  margin: 0.8rem auto 1.8rem auto;
  line-height: 1.55;
}

.pro-confirm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid #edf2ed;
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.pro-confirm-step-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #e4f2e4;
  color: #0f5132;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.7rem auto;
  font-size: 1.5rem;
}

.pro-confirm-steps h3 {
  color: #0f5132;
  margin: 0 0 0.35rem 0;
}

.pro-confirm-steps p {
  color: #4b5563;
  margin: 0;
  line-height: 1.4;
}

/* Responsive */

@media (max-width: 1050px) {
  .pro-card-grid,
  .pro-profile-hero,
  .pro-request-layout {
    grid-template-columns: 1fr;
  }

  .pro-avatar-large {
    width: 110px;
    height: 110px;
  }

  .pro-filter-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 750px) {
  .pro-form-grid,
  .pro-profile-grid,
  .pro-confirm-steps {
    grid-template-columns: 1fr;
  }

  .pro-card-actions,
  .pro-profile-actions,
  .pro-request-actions {
    flex-direction: column;
  }

  .pro-primary-btn,
  .pro-secondary-btn {
    width: 100%;
    box-sizing: border-box;
  }
}
/* Add breathing room above Request Connection on professional profile page */
.pro-profile-main .pro-card-tags {
  margin-bottom: 1rem !important;
}

.pro-profile-actions {
  margin-top: 0.25rem !important;
}
/* =========================================================
   ADMIN IMPORT PROFESSIONALS POLISH
   Matches newer admin dashboard aesthetic
   ========================================================= */

.pro-import-heading {
  margin-bottom: 1.2rem;
}

.pro-import-info-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 16px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  align-items: start;
  max-width: 840px;
  box-shadow: 0 5px 16px rgba(20, 40, 20, 0.05);
  margin-bottom: 1.5rem;
}

.pro-import-info-card h2 {
  margin: 0 0 0.5rem 0;
  color: #0f5132;
  font-size: 1.1rem;
  font-weight: 900;
}

.pro-import-info-card p {
  margin: 0.35rem 0;
  color: #374151;
  line-height: 1.55;
}

.pro-import-workflow-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 20, 0.08);
  padding: 1.35rem;
}

.pro-import-form {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.pro-import-main {
  display: grid;
  gap: 1.2rem;
}

.pro-import-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.pro-import-step-number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #1f5e24;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.pro-import-step-body h2 {
  margin: 0 0 0.7rem 0;
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
}

.pro-file-drop {
  border: 1px dashed #9fc69f;
  background: #fbfdfb;
  border-radius: 12px;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.85rem;
  align-items: center;
  cursor: pointer;
}

.pro-file-drop strong {
  display: block;
  color: #111827;
  font-weight: 900;
}

.pro-file-drop span {
  display: block;
  color: #6b7280;
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.pro-file-drop input {
  grid-column: 1 / -1;
  margin-top: 0.8rem;
}

.pro-import-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cddccd;
  border-radius: 9px;
  background: #ffffff;
  padding: 0.65rem 0.8rem;
  font-size: 0.95rem;
  color: #111827;
  box-sizing: border-box;
}

.pro-import-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-left: 51px;
  margin-top: 0.3rem;
}

.pro-import-submit {
  min-width: 190px;
}

.pro-import-side {
  display: grid;
  gap: 1rem;
}

.pro-import-side-card {
  background: #f8fbf8;
  border: 1px solid #dbe8db;
  border-radius: 14px;
  padding: 1.1rem;
}

.pro-import-side-card h2 {
  margin: 0 0 0.8rem 0;
  color: #0f5132;
  font-size: 1.05rem;
  font-weight: 900;
}

.pro-import-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.pro-import-check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: #374151;
  line-height: 1.45;
}

.pro-import-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 2px solid #1f5e24;
  box-sizing: border-box;
}

.pro-import-check-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45rem;
  width: 7px;
  height: 4px;
  border-left: 2px solid #1f5e24;
  border-bottom: 2px solid #1f5e24;
  transform: rotate(-45deg);
}

.pro-import-next-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid #dbe8db;
  color: #374151;
  line-height: 1.45;
}

.pro-import-next-item:last-child {
  border-bottom: none;
}

/* Small dark-green silhouette icon system for this page */

.pro-import-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #e4f2e4;
  border: 1px solid #cfe0cf;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.pro-import-info-card > .pro-import-icon {
  background: #2f7d32;
  border-color: #2f7d32;
}

.pro-import-icon-doc::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 14px;
  height: 19px;
  border: 2px solid #1f5e24;
  border-radius: 3px;
  box-sizing: border-box;
}

.pro-import-info-card .pro-import-icon-doc::before {
  border-color: #ffffff;
}

.pro-import-icon-doc::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 14px;
  width: 7px;
  height: 2px;
  background: #1f5e24;
  box-shadow: 0 5px 0 #1f5e24;
}

.pro-import-info-card .pro-import-icon-doc::after {
  background: #ffffff;
  box-shadow: 0 5px 0 #ffffff;
}

.pro-import-icon-upload::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 17px;
  width: 20px;
  height: 10px;
  border: 2px solid #1f5e24;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-sizing: border-box;
}

.pro-import-icon-upload::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 7px;
  width: 8px;
  height: 16px;
  background: #1f5e24;
  clip-path: polygon(50% 0, 100% 42%, 72% 42%, 72% 100%, 28% 100%, 28% 42%, 0 42%);
}

.pro-import-icon-database::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 20px;
  height: 9px;
  border: 2px solid #1f5e24;
  border-radius: 999px;
  box-sizing: border-box;
}

.pro-import-icon-database::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 14px;
  width: 20px;
  height: 14px;
  border: 2px solid #1f5e24;
  border-top: none;
  border-radius: 0 0 999px 999px;
  box-sizing: border-box;
}

.pro-import-icon-check::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #1f5e24;
  box-sizing: border-box;
}

.pro-import-icon-check::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 17px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #1f5e24;
  border-bottom: 2px solid #1f5e24;
  transform: rotate(-45deg);
}

.pro-import-icon-userplus::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1f5e24;
}

.pro-import-icon-userplus::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 8px;
  width: 13px;
  height: 8px;
  background: #1f5e24;
  border-radius: 10px 10px 4px 4px;
  box-shadow:
    14px -4px 0 -5px #1f5e24,
    14px 0 0 -5px #1f5e24;
}

/* Success message refinement */

.pro-import-success {
  max-width: 840px;
  margin-bottom: 1.2rem;
}

/* Responsive */

@media (max-width: 1050px) {
  .pro-import-form {
    grid-template-columns: 1fr;
  }

  .pro-import-actions {
    padding-left: 0;
  }
}

@media (max-width: 650px) {
  .pro-import-step {
    grid-template-columns: 1fr;
  }

  .pro-import-actions {
    flex-direction: column;
  }

  .pro-import-actions .admin-primary-btn,
  .pro-import-actions .admin-secondary-btn {
    width: 100%;
    box-sizing: border-box;
  }
}
/* =========================================================
   DIRECTORY SHELL RESTORE
   Used by Scholar Search + Professional Search pages
   ========================================================= */

.directory-shell {
  max-width: var(--ghci-page-max);
  margin: 0 auto;
  padding: var(--ghci-page-pad);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.directory-shell:not(:has(.directory-sidebar)) {
  display: block;
}

.directory-sidebar {
  position: sticky;
  top: 96px;
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(20, 40, 20, 0.06);
}

.directory-content {
  min-width: 0;
}

.directory-page-head {
  margin-bottom: 1.4rem;
}

.directory-breadcrumbs {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: #6b7280;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.directory-breadcrumbs a {
  color: #4b5563;
  text-decoration: none;
}

.directory-breadcrumbs a:hover {
  color: #1f5e24;
  text-decoration: underline;
}

.directory-page-head h1 {
  margin: 0;
  color: #1f5e24;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.directory-page-head p {
  margin: 0.8rem 0 0 0;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Make old sidebar links behave like sidebar cards again */

.directory-sidebar a,
.directory-sidebar .sidebar-link,
.directory-sidebar .side-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  color: #0f5132;
  text-decoration: none;
  font-weight: 850;
  margin-bottom: 0.55rem;
  background: #f6fbf6;
  border: 1px solid transparent;
}

.directory-sidebar a:hover,
.directory-sidebar .sidebar-link:hover,
.directory-sidebar .side-link:hover {
  background: #eaf6ea;
  border-color: #cfe0cf;
}

.directory-sidebar a.active,
.directory-sidebar .sidebar-link.active,
.directory-sidebar .side-link.active {
  background: #1f5e24;
  color: #ffffff;
}

/* =========================================================
   PROFESSIONAL CATEGORY CARDS RESTORE
   ========================================================= */

.pro-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pro-category-card {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-top: 4px solid #2f7d32;
  border-radius: 22px;
  padding: 1.25rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(20, 40, 20, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pro-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(20, 40, 20, 0.1);
  border-color: #9fc69f;
}

.pro-category-card h2 {
  margin: 0 0 0.6rem 0;
  color: #0f5132;
  font-size: 1.2rem;
  font-weight: 950;
}

.pro-category-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.45;
  font-size: 0.96rem;
}

.pro-category-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1f5e24;
  font-weight: 900;
  font-size: 0.92rem;
}

.pro-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e4f2e4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-card {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 20px;
  padding: 1.5rem;
  color: #374151;
}

/* Responsive */

@media (max-width: 1050px) {
  .directory-shell {
    grid-template-columns: 1fr;
  }

  .directory-sidebar {
    position: static;
  }

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

@media (max-width: 700px) {
  .directory-shell {
    padding: 1rem;
  }

  .pro-category-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SCHOLAR ACCOUNT WORKFLOW
   ========================================================= */

.account-page,
.account-dashboard {
  max-width: var(--ghci-page-max);
  margin: 0 auto;
  padding: 2.4rem var(--ghci-page-pad) 3.5rem;
}

.account-page {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 120px);
  background:
    radial-gradient(circle at top, rgba(47, 125, 50, 0.045), transparent 38%),
    #fbfdfb;
}

.account-card {
  width: min(100%, 520px);
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 18px;
  padding: 1.65rem;
  box-shadow: 0 18px 42px rgba(20, 40, 20, 0.09);
  align-self: flex-start;
}

.account-card-wide {
  width: min(100%, 840px);
}

.account-card-head h1,
.dashboard-hero h1 {
  margin: 0;
  color: #0f5132;
  font-weight: 950;
  letter-spacing: 0;
}

.account-card-head h1 {
  font-size: 1.8rem;
}

.account-card-head p,
.dashboard-hero p,
.dashboard-actions p {
  color: #4b5563;
  line-height: 1.5;
  margin: 0.75rem 0 1.1rem;
}

.account-form {
  display: grid;
  gap: 0.85rem;
}

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

.account-form label {
  display: block;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 850;
  margin-bottom: 0.35rem;
}

.account-form input,
.account-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfe0cf;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #ffffff;
}

.account-form input:focus,
.account-form select:focus {
  border-color: #2f7d32;
  box-shadow: 0 0 0 3px rgba(47, 125, 50, 0.12);
  outline: none;
}

.account-grid-full {
  grid-column: 1 / -1;
}

.account-primary-btn,
.account-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.account-primary-btn {
  background: #1f5e24;
  color: #ffffff;
}

.account-primary-btn:hover {
  background: #16491b;
  transform: translateY(-1px);
}

.account-secondary-btn {
  background: #eef7ee;
  color: #1f5e24;
  border-color: #cfe0cf;
}

.account-secondary-btn:hover {
  background: #e1f1e1;
  border-color: #9fc69f;
}

.account-text-link,
.account-card-footer a {
  color: #1f5e24;
  font-weight: 850;
}

.account-card-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.1rem;
  color: #4b5563;
  align-items: center;
  flex-wrap: wrap;
}

.dashboard-hero,
.dashboard-status-card,
.dev-verification-box {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 8px 22px rgba(20, 40, 20, 0.055);
}

.dashboard-status-card {
  border-top: 4px solid #2f7d32;
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.account-eyebrow {
  margin: 0 0 0.35rem 0;
  color: #1f5e24;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 950;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-status-card h2 {
  margin: 0 0 0.5rem 0;
  color: #0f5132;
  font-size: 1rem;
}

.dashboard-status-card p {
  margin: 0;
  color: #111827;
  font-weight: 850;
}

.dashboard-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.dev-verification-box {
  margin-bottom: 1rem;
  display: grid;
  gap: 0.45rem;
}

.dev-verification-box a {
  color: #1f5e24;
  word-break: break-all;
}

.locked-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Dashboard visual upgrade */

.account-dashboard {
  display: grid;
  gap: 1.25rem;
}

.dashboard-hero {
  min-height: 230px;
  padding: 2rem 2rem 1.85rem;
  overflow: hidden;
  position: relative;
}

.dashboard-hero-copy {
  max-width: min(760px, 58%);
  position: relative;
  z-index: 1;
}

.dashboard-hero h1 {
  font-size: clamp(2.15rem, 4vw, 3rem);
  line-height: 1.05;
  max-width: 760px;
}

.dashboard-email-row {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #1f2937;
  margin-top: 1.1rem;
}

.dashboard-orbit {
  position: absolute;
  right: 2.2rem;
  top: 50%;
  width: 350px;
  height: 220px;
  transform: translateY(-50%);
}

.dashboard-hero-graphic {
  position: absolute;
  right: 2.2rem;
  top: 50%;
  max-width: 440px;
  min-width: 300px;
  width: 38%;
  height: auto;
  object-fit: contain;
  transform: translateY(-50%);
  z-index: 0;
}

.dashboard-orbit::before,
.dashboard-orbit::after {
  content: "";
  position: absolute;
  border-top: 2px dashed rgba(31, 94, 36, 0.45);
  transform-origin: left center;
}

.dashboard-orbit::before {
  width: 88px;
  right: 44px;
  top: 72px;
  transform: rotate(-32deg);
}

.dashboard-orbit::after {
  width: 86px;
  right: 40px;
  bottom: 70px;
  transform: rotate(22deg);
}

.orbit-globe {
  position: absolute;
  right: 92px;
  top: 26px;
  width: 156px;
  height: 156px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 31% 26%, rgba(47, 125, 50, 0.2) 0 8%, transparent 9%),
    radial-gradient(ellipse at 43% 50%, rgba(47, 125, 50, 0.18) 0 12%, transparent 13%),
    radial-gradient(ellipse at 64% 36%, rgba(47, 125, 50, 0.16) 0 10%, transparent 11%),
    radial-gradient(ellipse at 61% 68%, rgba(47, 125, 50, 0.13) 0 13%, transparent 14%),
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.85), transparent 28%),
    linear-gradient(135deg, rgba(47,125,50,0.16), rgba(47,125,50,0.055));
  border: 1px solid #cfe0cf;
  box-shadow:
    inset 0 0 0 20px rgba(47, 125, 50, 0.045),
    0 14px 30px rgba(20, 40, 20, 0.06);
}

.orbit-globe::before,
.orbit-globe::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(47, 125, 50, 0.16);
}

.orbit-globe::before {
  inset: 18px 45px;
}

.orbit-globe::after {
  inset: 45px 18px;
}

.orbit-dot {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #dcefdc;
  border: 1px solid #cfe0cf;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-dot .dash-line-icon {
  transform: scale(1.18);
}

.orbit-dot-one {
  left: 28px;
  top: 80px;
}

.orbit-dot-two {
  right: 8px;
  top: 20px;
}

.orbit-dot-three {
  right: 0;
  bottom: 35px;
}

.dashboard-status-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.dashboard-status-card {
  border-top: 0;
  padding: 1.35rem;
  min-height: 180px;
  position: relative;
}

.dashboard-status-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.dashboard-icon-bubble {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #dcefdc;
  color: #1f5e24;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-icon-bubble .dash-line-icon {
  transform: scale(1.22);
}

.dashboard-status-card-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.dashboard-png-icon {
  width: 38px;
  height: 38px;
}

.dashboard-status-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-status-mark::before,
.dashboard-status-mark::after {
  content: "";
  position: absolute;
}

.status-success .dashboard-status-mark {
  background: #16a34a;
}

.status-success .dashboard-status-mark::before {
  width: 10px;
  height: 6px;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(-45deg);
}

.status-warning .dashboard-status-mark {
  background: #eab308;
}

.status-warning .dashboard-status-mark::before {
  width: 3px;
  height: 12px;
  background: #ffffff;
  border-radius: 999px;
  transform: translateY(-3px);
}

.status-warning .dashboard-status-mark::after {
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 999px;
  transform: translateY(8px);
}

.status-danger .dashboard-status-mark {
  background: #dc2626;
}

.status-danger .dashboard-status-mark::before,
.status-danger .dashboard-status-mark::after {
  width: 14px;
  height: 3px;
  background: #ffffff;
  border-radius: 999px;
}

.status-danger .dashboard-status-mark::before {
  transform: rotate(45deg);
}

.status-danger .dashboard-status-mark::after {
  transform: rotate(-45deg);
}

.status-neutral .dashboard-status-mark {
  background: #94a3b8;
}

.dashboard-status-card h2 {
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.dashboard-status-value {
  color: #0f5132;
  font-size: 1.35rem;
  font-weight: 950;
}

.status-warning .dashboard-status-value {
  color: #b77900;
}

.status-danger .dashboard-status-value {
  color: #b91c1c;
}

.dashboard-status-description {
  color: #111827;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0.95rem 0 0;
}

.dashboard-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.dashboard-left-stack {
  display: grid;
  gap: 1.25rem;
}

.dashboard-panel {
  background: #ffffff;
  border: 1px solid #dbe8db;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(20, 40, 20, 0.055);
  overflow: hidden;
}

.dashboard-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.35rem;
  border-bottom: 1px solid #e4eee4;
}

.dashboard-panel-heading > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-panel-heading h2 {
  margin: 0;
  color: #0f5132;
  font-size: 1.25rem;
  font-weight: 950;
}

.dashboard-small-btn {
  border: 1px solid #9fc69f;
  border-radius: 10px;
  color: #1f5e24;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  font-weight: 850;
  background: #ffffff;
}

.profile-overview-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  padding: 1.65rem 1.8rem;
  align-items: center;
}

.profile-overview-avatar-wrap {
  display: grid;
  justify-items: center;
  gap: 1.05rem;
}

.profile-overview-avatar {
  width: 142px;
  height: 142px;
}

.profile-overview-avatar span::before {
  left: 53px;
  top: 34px;
  width: 36px;
  height: 36px;
}

.profile-overview-avatar span::after {
  left: 37px;
  bottom: 30px;
  width: 68px;
  height: 42px;
  border-radius: 36px 36px 16px 16px;
}

.profile-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
}

.profile-overview-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.7rem;
  align-items: start;
}

.profile-detail-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1f5e24;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.profile-overview-item b,
.quick-action-row b,
.can-do-grid b {
  display: block;
  color: #111827;
  font-weight: 950;
}

.profile-overview-item span:last-child {
  display: block;
  margin-top: 0.18rem;
  color: #111827;
}

.quick-actions-panel {
  padding-bottom: 1rem;
}

.quick-action-list {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem 0;
}

.quick-action-row {
  display: grid;
  grid-template-columns: 48px 1fr 18px;
  gap: 0.95rem;
  align-items: center;
  border: 1px solid #dbe8db;
  border-radius: 10px;
  padding: 0.95rem;
  color: #111827;
  text-decoration: none;
  background: #ffffff;
}

.quick-action-row.primary {
  background: linear-gradient(135deg, #1f5e24, #0f6a24);
  border-color: #1f5e24;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 90, 35, 0.18);
}

.quick-action-row.primary b,
.quick-action-row.primary small,
.quick-action-row.primary .dash-line-icon {
  color: #ffffff;
  border-color: #ffffff;
}

.quick-action-row small {
  display: block;
  margin-top: 0.25rem;
  color: #374151;
  line-height: 1.35;
}

.quick-action-row:hover {
  border-color: #9fc69f;
  box-shadow: 0 8px 18px rgba(20, 40, 20, 0.08);
}

.quick-action-icon {
  color: #1f5e24;
  display: flex;
  justify-content: center;
}

.dashboard-heading-icon {
  width: 26px;
  height: 26px;
}

.dashboard-action-icon {
  width: 32px;
  height: 32px;
}

.quick-action-row.primary .dashboard-action-icon {
  filter: brightness(0) invert(1);
}

.dashboard-feature-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0.55rem;
}

.quick-action-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  color: #1f5e24;
}

.quick-action-row.primary .quick-action-arrow {
  color: #ffffff;
}

.dashboard-logout-link {
  display: inline-block;
  margin: 1rem 1.25rem 0;
}

.can-do-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 1.35rem;
}

.can-do-grid > div {
  text-align: center;
  padding: 0.65rem 0.8rem;
  border-right: 1px solid #e4eee4;
}

.can-do-grid > div:last-child {
  border-right: 0;
}

.can-do-grid p {
  color: #374151;
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0.45rem 0 0;
}

.dash-line-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  color: #1f5e24;
  position: relative;
  flex-shrink: 0;
}

.dash-line-icon::before,
.dash-line-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.dash-icon-user::before {
  left: 7px;
  top: 2px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.dash-icon-user::after {
  left: 3px;
  bottom: 1px;
  width: 18px;
  height: 10px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.dash-icon-mail::before {
  inset: 4px 2px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.dash-icon-mail::after {
  left: 4px;
  top: 7px;
  width: 16px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.dash-icon-clipboard::before {
  inset: 3px 4px 2px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.dash-icon-clipboard::after {
  left: 8px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.dash-icon-shield::before {
  left: 4px;
  top: 2px;
  width: 16px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 12px 12px;
}

.dash-icon-cap::before {
  left: 3px;
  top: 7px;
  width: 18px;
  height: 12px;
  border: 2px solid currentColor;
  transform: skewY(-18deg);
}

.dash-icon-heart::before,
.dash-icon-heart::after {
  width: 12px;
  height: 18px;
  top: 4px;
  background: currentColor;
  border-radius: 12px 12px 0 0;
}

.dash-icon-heart::before {
  left: 4px;
  transform: rotate(-45deg);
}

.dash-icon-heart::after {
  right: 4px;
  transform: rotate(45deg);
}

.dash-icon-people::before {
  left: 2px;
  top: 5px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 999px;
  box-shadow: 12px 0 0 -2px #ffffff, 12px 0 0 0 currentColor;
}

.dash-icon-people::after {
  left: 1px;
  bottom: 3px;
  width: 22px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.dash-icon-calendar::before,
.dash-icon-school::before,
.dash-icon-star::before,
.dash-icon-location::before,
.dash-icon-globe::before,
.dash-icon-leaf::before,
.dash-icon-bolt::before,
.dash-icon-briefcase::before,
.dash-icon-pencil::before {
  inset: 4px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.dash-icon-location::before {
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
}

.dash-icon-location::after {
  left: 10px;
  top: 10px;
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
}

.dash-icon-bolt::before {
  border: 0;
  background: currentColor;
  clip-path: polygon(55% 0, 20% 52%, 48% 52%, 36% 100%, 82% 38%, 54% 38%);
}

.dash-icon-briefcase::after {
  left: 8px;
  top: 2px;
  width: 8px;
  height: 6px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.dash-icon-pencil::before {
  inset: auto;
  left: 4px;
  top: 10px;
  width: 17px;
  height: 6px;
  transform: rotate(-45deg);
}

@media (max-width: 1120px) {
  .dashboard-orbit {
    opacity: 0.25;
    right: -1rem;
  }

  .dashboard-hero-graphic {
    opacity: 0.35;
    right: -1rem;
  }

  .dashboard-main-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .account-form-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-hero-copy {
    max-width: none;
  }

  .dashboard-orbit {
    display: none;
  }

  .dashboard-hero-graphic {
    display: none;
  }

  .dashboard-status-grid,
  .profile-overview-body,
  .profile-overview-grid,
  .can-do-grid {
    grid-template-columns: 1fr;
  }

  .can-do-grid > div {
    border-right: 0;
    border-bottom: 1px solid #e4eee4;
  }

  .can-do-grid > div:last-child {
    border-bottom: 0;
  }
}
