/* ============================================================
   Vicinity Client Portal — Shared Stylesheet
   vicinity.css · Used by index.html and all report/SBR pages
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --navy:       #0C0B39;
  --navy-mid:   #1A1A4E;
  --navy-light: #252560;
  --daintree:   #01202B;
  --green:      #98CB00;
  --green-pale: #EAF4C0;
  --green-dark: #6a9200;
  --lav-1:      #F0F0F8;
  --lav-2:      #E8E8F2;
  --white:      #FFFFFF;
  --gray-100:   #F5F5F8;
  --gray-200:   #E9E9EF;
  --gray-400:   #9999BB;
  --text:       #1A1A2E;
  --text-mid:   #44446A;
  --text-light: #77778A;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 2px 16px rgba(12,11,57,.08);
  --shadow-lg:  0 8px 40px rgba(12,11,57,.14);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.topnav {
  position: sticky; top: 0; z-index: 200;
  height: 64px;
  background: var(--navy);
  border-bottom: 3px solid var(--green);
  display: flex; align-items: center;
  padding: 0 40px; gap: 16px;
}
.topnav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.topnav-logo { height: 28px; width: auto; display: block; filter: brightness(0) invert(1); }
.topnav-div { width: 1px; height: 22px; background: rgba(255,255,255,.15); flex-shrink: 0; }
.topnav-client { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.65); }
.topnav-pill {
  font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
  color: var(--green); background: rgba(152,203,0,.1);
  border: 1px solid rgba(152,203,0,.25); padding: 3px 10px; border-radius: 20px; flex-shrink: 0;
}
.topnav-spacer { flex: 1; }
.topnav-back {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5);
  text-decoration: none; transition: color .15s;
}
.topnav-back:hover { color: var(--green); }
.topnav-back svg { width: 14px; height: 14px; }

/* ── HERO (shared base) ── */
.hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 80px 40px 72px;
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(152,203,0,.15) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 100% at 95% 50%, black 0%, transparent 65%);
}
.hero-glow {
  position: absolute; top: -100px; right: -60px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(152,203,0,.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(152,203,0,.04) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 980px; margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green); display: flex; align-items: center; gap: 8px; margin-bottom: 18px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--green); }
.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.07;
  color: var(--white); margin-bottom: 14px;
}
.hero h1 em { color: var(--green); font-style: normal; }
.hero-sub {
  font-size: 15px; color: rgba(255,255,255,.5);
  line-height: 1.65; max-width: 500px; margin-bottom: 32px;
}
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
}
.hero-meta-item { display: flex; flex-direction: column; }
.hmi-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--green); opacity: .75; margin-bottom: 3px;
}
.hmi-val { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.8); }

/* ── PAGE WRAP ── */
.page-wrap { max-width: 980px; margin: 0 auto; padding: 0 40px; }

/* ── SECTION HEADERS ── */
.section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--green); border-radius: 2px;
}
.section-title {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 22px;
  color: var(--navy); letter-spacing: -.4px; margin-bottom: 8px;
}
.section-desc { font-size: 14px; color: var(--text-mid); margin-bottom: 28px; }

/* ── PORTAL CTA SECTION ── */
.portal-section { padding: 56px 0 48px; }
.portal-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.portal-card:hover { transform: translateY(-2px); box-shadow: 0 12px 48px rgba(12,11,57,.22); }
.portal-card-glow {
  position: absolute; top: -80px; right: -40px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(152,203,0,.1) 0%, transparent 65%);
  pointer-events: none;
}
.portal-card-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(152,203,0,.1) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 60% 100% at 100% 50%, black 0%, transparent 70%);
}
.portal-card-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px; position: relative; z-index: 1;
}
.portal-card-title {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 26px;
  color: var(--white); letter-spacing: -.5px; line-height: 1.15; margin-bottom: 8px;
  position: relative; z-index: 1;
}
.portal-card-desc {
  font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6;
  position: relative; z-index: 1;
}
.portal-card-cta { flex-shrink: 0; position: relative; z-index: 1; }
.portal-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--navy);
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 8px;
  text-decoration: none; white-space: nowrap;
  transition: background .15s, transform .15s;
}
.portal-btn:hover { background: #aee000; transform: scale(1.03); }
.portal-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── REPORTS SECTION ── */
.reports-section { padding: 0 0 56px; border-top: 1px solid var(--gray-200); padding-top: 48px; }

/* Featured report card */
.report-featured {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  margin-bottom: 20px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.report-featured:hover { transform: translateY(-2px); box-shadow: 0 12px 48px rgba(12,11,57,.22); }
.rf-glow {
  position: absolute; top: -80px; right: -40px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(152,203,0,.1) 0%, transparent 65%);
  pointer-events: none;
}
.rf-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(152,203,0,.1) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 60% 100% at 100% 50%, black 0%, transparent 70%);
}
.rf-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--green); background: rgba(152,203,0,.12);
  border: 1px solid rgba(152,203,0,.25); padding: 4px 11px; border-radius: 20px;
  margin-bottom: 14px; position: relative; z-index: 1;
}
.rf-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.rf-title {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 24px;
  color: var(--white); letter-spacing: -.5px; line-height: 1.15;
  margin-bottom: 10px; position: relative; z-index: 1;
}
.rf-sub {
  font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.rf-meta { display: flex; gap: 20px; flex-wrap: wrap; position: relative; z-index: 1; }
.rf-meta-item { display: flex; flex-direction: column; }
.rf-meta-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(152,203,0,.6); margin-bottom: 2px;
}
.rf-meta-val { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); }
.rf-cta {
  flex-shrink: 0; display: flex; flex-direction: column;
  align-items: center; gap: 12px; position: relative; z-index: 1;
}
.rf-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--navy);
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px;
  padding: 13px 24px; border-radius: 8px;
  text-decoration: none; white-space: nowrap;
  transition: background .15s, transform .15s;
}
.rf-btn:hover { background: #aee000; transform: scale(1.03); }
.rf-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.rf-hint { font-size: 11px; color: rgba(255,255,255,.3); }

/* Past reports grid */
.reports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.report-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.report-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.report-card.placeholder { opacity: .45; pointer-events: none; border-style: dashed; }
.rc-top { display: flex; align-items: center; justify-content: space-between; }
.rc-type {
  font-size: 10px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--text-light);
}
.rc-badge { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 12px; }
.rc-badge.upcoming { background: var(--lav-1); color: var(--text-mid); }
.rc-badge.draft { background: #fff8e0; color: #996600; }
.rc-title {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--navy); letter-spacing: -.2px; line-height: 1.2;
}
.rc-date { font-size: 12px; color: var(--text-light); }
.rc-divider { height: 1px; background: var(--gray-200); }
.rc-highlights { display: flex; flex-direction: column; gap: 5px; }
.rc-hl {
  font-size: 12px; color: var(--text-mid);
  display: flex; align-items: flex-start; gap: 7px;
}
.rc-hl::before {
  content: ''; display: block; width: 4px; height: 4px;
  border-radius: 50%; background: var(--green);
  margin-top: 7px; flex-shrink: 0;
}
.rc-arrow {
  position: absolute; bottom: 18px; right: 18px;
  width: 28px; height: 28px;
  background: var(--lav-1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.rc-arrow svg { width: 13px; height: 13px; color: var(--text-mid); }
.report-card:hover .rc-arrow { background: var(--green-pale); }

/* ── SUPPORT SECTION ── */
.support-section { padding: 48px 0 56px; border-top: 1px solid var(--gray-200); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 4px; }
.support-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.support-card.dark {
  background: var(--navy); border-color: var(--navy);
}
.sc-icon {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--lav-1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.support-card.dark .sc-icon { background: rgba(255,255,255,.08); }
.sc-icon svg { width: 20px; height: 20px; color: var(--navy); }
.support-card.dark .sc-icon svg { color: var(--green); }
.sc-title {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--navy); margin-bottom: 2px;
}
.support-card.dark .sc-title { color: var(--white); }
.sc-body { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.support-card.dark .sc-body { color: rgba(255,255,255,.5); }
.sc-divider { height: 1px; background: var(--gray-200); }
.support-card.dark .sc-divider { background: rgba(255,255,255,.08); }
.sc-contacts { display: flex; flex-direction: column; gap: 8px; }
.sc-contact-row { display: flex; align-items: center; gap: 10px; }
.sc-contact-icon {
  width: 30px; height: 30px; border-radius: 6px;
  background: var(--lav-1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.support-card.dark .sc-contact-icon { background: rgba(255,255,255,.08); }
.sc-contact-icon svg { width: 14px; height: 14px; color: var(--navy); }
.support-card.dark .sc-contact-icon svg { color: var(--green); }
.sc-contact-label { font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--text-light); }
.support-card.dark .sc-contact-label { color: rgba(255,255,255,.35); }
.sc-contact-val { font-size: 13px; font-weight: 500; color: var(--navy); }
.support-card.dark .sc-contact-val { color: rgba(255,255,255,.8); }
.sc-contact-val a { color: inherit; text-decoration: none; }
.sc-contact-val a:hover { text-decoration: underline; }
.sc-detail { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.support-card.dark .sc-detail { color: rgba(255,255,255,.5); }
.sc-detail a { color: var(--green); text-decoration: none; font-weight: 600; }
.sc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  text-decoration: none; margin-top: 4px;
  transition: color .15s;
}
.sc-link:hover { color: var(--green-dark); }
.sc-link svg { width: 13px; height: 13px; }

/* Action items */
.action-list { display: flex; flex-direction: column; gap: 8px; }
.action-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-mid); line-height: 1.5;
}
.action-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}
.action-dot.red { background: #e74c3c; }
.action-dot.yellow { background: #f39c12; }
.action-dot.gray { background: var(--gray-400); }
.action-due {
  font-size: 11px; font-weight: 600; color: var(--text-light);
  white-space: nowrap; margin-left: auto; padding-left: 12px;
}

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.team-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.team-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 18px;
  color: var(--green); flex-shrink: 0;
}
.team-name {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--navy);
}
.team-role { font-size: 12px; color: var(--text-light); margin-top: -4px; }
.team-contacts { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.team-contact { font-size: 13px; color: var(--text-mid); }
.team-contact a { color: var(--navy); font-weight: 500; text-decoration: none; }
.team-contact a:hover { color: var(--green-dark); text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--navy); border-top: 3px solid var(--green);
  padding: 28px 40px;
}
.footer-inner {
  max-width: 980px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 22px; width: auto; }
.footer-wordmark {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px; color: var(--white);
}
.footer-tagline { font-size: 11px; color: rgba(255,255,255,.35); }
.footer-right { font-size: 12px; color: rgba(255,255,255,.3); text-align: right; line-height: 1.7; }
.footer-right a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-right a:hover { color: var(--green); }

/* ── SBR / REPORT PAGE SPECIFIC ── */
.hero-sbr { padding: 72px 40px 64px; }
.hero-sbr .hero-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: start;
}
.hero-stats { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.hero-stat {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--green); border-radius: 8px;
  padding: 14px 18px; min-width: 170px;
}
.hero-stat-val {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px;
  color: var(--white); line-height: 1; margin-bottom: 4px;
}
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .6px; }

/* Jump nav */
.jumpnav {
  background: var(--lav-1); border-bottom: 1px solid var(--gray-200);
  padding: 0 40px; overflow-x: auto; white-space: nowrap;
}
.jumpnav-inner { max-width: 980px; margin: 0 auto; display: flex; }
.jnav-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 16px; text-decoration: none;
  font-size: 13px; font-weight: 500; color: var(--text-mid);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s; flex-shrink: 0;
}
.jnav-item:hover { color: var(--navy); border-bottom-color: var(--green); }
.jnav-num {
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* SBR body */
.body-wrap { max-width: 980px; margin: 0 auto; padding: 0 40px; }
.sbr-section {
  padding: 60px 0; border-bottom: 1px solid var(--gray-200);
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.sbr-section.visible { opacity: 1; transform: translateY(0); }
.sec-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.sec-num {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--navy); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 17px; color: var(--white);
}
.sec-title {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 21px;
  color: var(--navy); letter-spacing: -.4px; line-height: 1.2;
}
.sec-rule {
  height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green) 0%, transparent 100%);
  margin: 14px 0 28px;
}
.sub-head {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--navy); display: flex; align-items: center; gap: 8px;
  margin: 28px 0 12px;
}
.sub-head::before {
  content: ''; display: block; width: 3px; height: 15px;
  background: var(--green); border-radius: 2px; flex-shrink: 0;
}

/* Lists */
.vlist { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 10px 0; }
.vlist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.vlist li::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--green);
  margin-top: 8px; flex-shrink: 0;
}
.vlist li b { color: var(--navy); }

/* Tables */
.vtbl { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0; }
.vtbl th {
  background: var(--navy); color: var(--white);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .6px; padding: 10px 14px; text-align: left;
}
.vtbl td { padding: 10px 14px; border-bottom: 1px solid var(--gray-200); vertical-align: top; color: var(--text); }
.vtbl tr:nth-child(even) td { background: var(--lav-1); }
.vtbl tr:last-child td { border-bottom: none; }
.vtbl td:first-child { font-weight: 500; color: var(--navy); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.b-green { background: var(--green-pale); color: #3a6b00; }
.b-yellow { background: #fff8e0; color: #996600; }
.b-red { background: #fff0f0; color: #b03020; }
.b-gray { background: var(--gray-100); color: var(--text-light); }

/* Trend cards */
.trend-card { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin: 18px 0; box-shadow: var(--shadow); }
.trend-header { background: var(--navy); padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.trend-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 13px;
  color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trend-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px; color: var(--white); }
.trend-body { display: grid; grid-template-columns: 1fr 1fr; }
.trend-col { padding: 18px 20px; }
.trend-col + .trend-col { border-left: 1px solid var(--gray-200); background: var(--lav-1); }
.trend-col-label { font-size: 10px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.trend-col p { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.trend-col p strong { color: var(--navy); }

/* Health cards */
.health-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.h-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.h-card-label { font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--text-light); margin-bottom: 6px; }
.h-card-val { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 20px; color: var(--navy); line-height: 1.15; }
.h-card-sub { font-size: 11px; color: var(--text-light); margin-top: 3px; }

/* Goals grid */
.goals-grid { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin: 14px 0; }
.goal-row { display: grid; grid-template-columns: 1fr 140px 160px; }
.goal-row.hdr .goal-cell {
  background: var(--navy); color: var(--white);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .6px;
}
.goal-cell { padding: 10px 14px; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--gray-200); }
.goal-row:last-child .goal-cell { border-bottom: none; }
.goal-row:not(.hdr):nth-child(even) .goal-cell { background: var(--lav-1); }

/* Action grid */
.action-grid { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin: 14px 0; }
.action-row { display: grid; grid-template-columns: 1fr 160px; }
.action-row.hdr .action-cell {
  background: var(--navy); color: var(--white);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .6px;
}
.action-cell { padding: 10px 14px; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--gray-200); }
.action-row:last-child .action-cell { border-bottom: none; }
.action-row:not(.hdr):nth-child(even) .action-cell { background: var(--lav-1); }
.action-due { font-size: 12px; font-weight: 600; color: var(--text-light); }

/* Budget cards */
.budget-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.budget-card { background: var(--navy); border-radius: var(--radius); padding: 20px; }
.budget-card-label { font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: rgba(152,203,0,.6); margin-bottom: 8px; }
.budget-card-val { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; color: var(--white); line-height: 1.15; margin-bottom: 4px; }
.budget-card-sub { font-size: 11px; color: rgba(255,255,255,.4); }

/* Closing */
.closing {
  background: var(--lav-1); border-radius: var(--radius-lg);
  padding: 36px 40px; margin-top: 32px; text-align: center;
}
.closing h3 {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 20px;
  color: var(--navy); margin-bottom: 12px;
}
.closing p { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 8px; max-width: 600px; margin-left: auto; margin-right: auto; }
.closing p.hl { font-weight: 600; color: var(--navy); }

/* ── FADE-IN ANIMATION ── */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── FLOATING BACK BUTTON ── */
.float-back {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 11px 18px 11px 14px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(12,11,57,.3);
  border: 1.5px solid rgba(255,255,255,.1);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.float-back:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(12,11,57,.4);
  border-color: var(--green);
}
.float-back svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .float-back { bottom: 20px; left: 20px; font-size: 12px; padding: 10px 14px 10px 12px; }
  .float-back span { display: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .topnav { padding: 0 20px; }
  .hero { padding: 56px 20px 48px; }
  .hero-sbr .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .page-wrap { padding: 0 20px; }
  .body-wrap { padding: 0 20px; }
  .portal-card { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .health-grid { grid-template-columns: repeat(2, 1fr); }
  .budget-grid { grid-template-columns: 1fr; }
  .trend-body { grid-template-columns: 1fr; }
  .trend-col + .trend-col { border-left: none; border-top: 1px solid var(--gray-200); }
  footer { padding: 24px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-right { text-align: left; }
  .jumpnav { padding: 0 20px; }
}
