:root {
  --huef-green: #0b4d2c;
  --huef-green-dark: #07351f;
  --huef-green-light: #1b7a4a;
  --huef-gold: #f0c000;
  --huef-red: #c41e3a;
  --huef-cream: #f7f3e8;
  --huef-ink: #1c1914;
  --muted: #5c564c;
  --line: #e0d8c8;
}

/* Global fix: the browser's native [hidden] behavior (display:none) is a
   default/user-agent style with the LOWEST cascade priority — any of our
   own classes that also set a `display` value on the same element (e.g.
   .form-grid { display: grid }) will silently win and un-hide it. This
   makes `hidden` actually work everywhere in the app regardless of what
   other display-setting classes are also on the element. */
[hidden] { display: none !important; }

.huef-logo {
    width: 72px;
    height: 72px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-logo img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  background: var(--huef-cream);
  color: var(--huef-ink);
  font-family: "Segoe UI", "Liberation Sans", ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--huef-green); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  background: var(--huef-green);
  color: #fff;
  border-bottom: 4px solid var(--huef-gold);
}
.topbar-inner, .hero-inner, .wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.9rem 1rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: #fff; text-decoration: none; }
.brand strong { display: block; font-size: 1.15rem; letter-spacing: 0.04em; }
.brand small { display: block; color: #f3e7b0; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.emblem {
  width: 2.6rem; height: 2.6rem; border-radius: 999px;
  background:
    radial-gradient(circle at 50% 42%, #fff 0 18%, transparent 19%),
    conic-gradient(from 210deg, #c41e3a, #f0c000, #0b4d2c, #c41e3a);
  border: 2px solid #fff;
  flex-shrink: 0;
}
.emblem-white { background:
  radial-gradient(circle at 50% 42%, #0b4d2c 0 18%, transparent 19%),
  conic-gradient(from 210deg, #c41e3a, #f0c000, #ffffff, #c41e3a);
}
.top-nav { display: flex; gap: 1rem; align-items: center; }
.top-nav a { color: #e9f6ee; font-weight: 600; text-decoration: none; }
.top-nav a:hover { color: #fff; }

.hero {
  background: var(--huef-green);
  color: #fff;
  position: relative;
}
.hero::before { content: ""; display: block; height: 6px; background: var(--huef-gold); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.kicker { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--huef-gold); }
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; margin: 0.6rem 0; max-width: 36rem; }
.hero p { color: #e9f6ee; max-width: 36rem; line-height: 1.7; }
.hero-logo {
  width: min(18rem, 70vw); height: min(18rem, 70vw); margin: 0 auto;
  border-radius: 999px; background: #fff; display: grid; place-items: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.hero-logo .emblem { width: 70%; height: 70%; border-width: 6px; }

.stats { display: grid; gap: 1rem; background: #fff; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 1rem; }
.stat b { display: block; font-size: 1.6rem; color: var(--huef-green-dark); }
.stat span { color: var(--muted); font-size: 0.9rem; }

.section { max-width: 72rem; margin: 0 auto; padding: 3rem 1rem; }
.section h2 { color: var(--huef-green-dark); margin: 0 0 0.4rem; }
.cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 800px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-2 { grid-template-columns: 1fr 1fr; } }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.card h3 { margin: 0.4rem 0; color: var(--huef-green-dark); }
.muted { color: var(--muted); }
.tiny { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--huef-green); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 2.6rem; padding: 0 1rem; border-radius: 0.45rem;
  border: 1px solid transparent; font-weight: 700; cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn-gold { background: var(--huef-gold); color: var(--huef-green-dark); }
.btn-green { background: var(--huef-green); color: #fff; }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; width: 100%; }
.btn-danger { background: var(--huef-red); color: #fff; }
.btn-sm { min-height: 2.1rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.auth-card { max-width: 28rem; margin: 2.5rem auto; }
label { display: block; font-weight: 650; margin: 0.7rem 0 0.25rem; font-size: 0.9rem; }
input, select, textarea {
  width: 100%; padding: 0.55rem 0.7rem; border: 1px solid #cfc6b4; border-radius: 0.4rem;
  font: inherit; background: #fff;
}
textarea { min-height: 6rem; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 2.6rem; }
.pw-toggle {
  position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 0.8rem; font-weight: 700;
}

.app-body { background: #f3efe4; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 16rem; background: var(--huef-green); color: #fff;
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow-y: auto; flex-shrink: 0;
}
.gold-strip { height: 6px; background: var(--huef-gold); }
.brand-side { padding: 1.1rem 1rem; }
.nav-label { padding: 0 1.4rem; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #9fbfab; margin: 0 0 0.3rem; }
.side-nav { display: flex; flex-direction: column; gap: 0.2rem; padding: 0 0.7rem; flex: 1; }
.side-nav a {
  color: #d9eadf; padding: 0.65rem 0.8rem; border-radius: 0.4rem; font-weight: 650; text-decoration: none;
  display: flex; justify-content: space-between; align-items: center;
}
.side-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.side-nav a.active { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 3px 0 0 var(--huef-gold); }
.nav-badge { background: var(--huef-gold); color: var(--huef-green-dark); border-radius: 999px; font-size: 0.65rem; font-style: normal; min-width: 1.2rem; text-align: center; padding: 0.05rem 0.35rem; }
.side-account { border-top: 1px solid rgba(255,255,255,.12); padding: 0.8rem; margin-top: auto; }
.who { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 0.7rem; }
.who strong, .who small { display: block; }
.who small { color: #c5dccb; font-size: 0.75rem; }
.avatar-dot {
  width: 2.2rem; height: 2.2rem; aspect-ratio: 1 / 1; border-radius: 999px; background: rgba(255,255,255,.12);
  border: 2px solid var(--huef-gold); flex: 0 0 2.2rem; align-self: center;
  display: grid; place-items: center; color: #fff; font-size: .78rem; font-weight: 800;
  letter-spacing: .02em; overflow: hidden;
}
.avatar-photo {
  width: 2.2rem; height: 2.2rem; aspect-ratio: 1 / 1; flex: 0 0 2.2rem;
  object-fit: cover; border-radius: 999px; align-self: center; display: block;
}

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-top {
  position: sticky; top: 0; z-index: 20; height: 3.5rem;
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); padding: 0 1rem;
}
.app-title { margin: 0; font-weight: 800; color: var(--huef-green-dark); }
.app-sub { margin: 0; font-size: 0.7rem; color: #7a7266; }
.app-top-right { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.email-chip { font-size: 0.75rem; color: var(--muted); }
.icon-link {
  position: relative; width: 40px; height: 40px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: .6rem; border: 1px solid var(--line); background: #fff;
  color: var(--huef-ink); text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.icon-link:hover { border-color: #c9c2b0; box-shadow: 0 4px 12px rgba(28,25,20,.08); transform: translateY(-1px); }
.icon-link.has-unread::after {
  content: ""; position: absolute; top: 6px; right: 6px; width: 9px; height: 9px;
  background: #e0334d; border: 2px solid #fff; border-radius: 999px;
}
.menu-btn { display: none; background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--huef-green-dark); }
.page { flex: 1; padding: 1.4rem 1.1rem 2.5rem; max-width: 72rem; width: 100%; margin: 0 auto; }
.site-footer { border-top: 1px solid #e8e0d0; padding: 0.8rem 1rem; text-align: center; font-size: 0.72rem; color: #7a7266; }

.alert { padding: 0.8rem 1rem; border-radius: 0.5rem; margin: 0 0 1rem; line-height: 1.5; }
.alert-info { background: #e8f2ec; color: #07351f; }
.alert-ok { background: #e4f5e8; color: #14532d; }
.alert-bad { background: #fde8eb; color: #7f1d1d; }
.alert-warn { background: #fff6d8; color: #7a5a00; }

.badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 800; }
.badge-muted { background: #ece7dc; color: #5c564c; }
.badge-gold { background: #fff1b3; color: #7a5a00; }
.badge-ok { background: #d7f3df; color: #14532d; }
.badge-bad { background: #f8d0d6; color: #7f1d1d; }
.badge-warn { background: #ffe3b8; color: #7a3e00; }
.badge-info { background: #d9e8ff; color: #1e3a8a; }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .grid-2 { grid-template-columns: 1.15fr 0.85fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .form-2 { grid-template-columns: 1fr 1fr; }
}
.form-grid { display: grid; gap: 0 1rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 0.6rem; padding: 1rem; }
.kpi b { display: block; font-size: 1.7rem; color: var(--huef-green-dark); }

table.data-grid { width: 100%; border-collapse: collapse; display: table; font-size: 0.9rem; }
.data-grid th, .data-grid td { text-align: left; padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-grid th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.table-wrap { overflow-x: auto; }

.steps { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.steps button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0.35rem 0.8rem;
  font-weight: 700; cursor: pointer; color: var(--muted);
}
.steps button.on { background: var(--huef-green); color: #fff; border-color: var(--huef-green); }
.wizard-panel[hidden] { display: none; }
.fact { font-size: 0.9rem; }
.fact span { display: block; color: var(--muted); font-size: 0.75rem; }

.chart-row { display: flex; align-items: flex-end; gap: 0.35rem; height: 8rem; }
.chart-bar { flex: 1; background: var(--huef-green); border-radius: 4px 4px 0 0; min-height: 4px; position: relative; }
.chart-bar span { position: absolute; bottom: -1.3rem; left: 50%; transform: translateX(-50%); font-size: 0.6rem; color: var(--muted); white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 0.7rem; font-size: 0.8rem; margin-top: 0.5rem; }
.swatch { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 2px; margin-right: 0.3rem; }

.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }

@media (max-width: 900px) {
  .sidebar {
    position: fixed; z-index: 40; transform: translateX(-105%); transition: transform .2s ease; height: 100%;
  }
  .sidebar.open { transform: none; }
  .menu-btn { display: inline-flex; }
  .email-chip { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 30; }
}
.huef-footer {
    margin-top: auto;
    background: #073c25;
    color: #ffffff;
}

.huef-footer-grid {
    width: min(100% - 2rem, 1080px);
    margin: 0 auto;
    padding: 3rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.huef-footer h3 {
    margin: 0 0 1rem;
    color: #f0c000;
    font-size: 1rem;
    font-weight: 800;
}

.huef-footer section:first-child h3 {
    color: #ffffff;
}

.huef-footer p {
    margin: 0.35rem 0;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.7;
}

.huef-footer a {
    color: #ffffff;
    text-decoration: none;
}

.huef-footer a:hover {
    color: #f0c000;
    text-decoration: underline;
}

.huef-footer-bottom {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #f0c000;
    font-size: 0.8rem;
    text-align: center;
}

@media (max-width: 760px) {
    .huef-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 0;
    }
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.4rem;
}

.top-nav a {
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
}

.top-nav .btn-gold {
    padding: 0.8rem 1.2rem;
    color: #07351f;
    border-radius: 0.55rem;
}

.eligibility-list {
    margin: 1rem 0 0;
    padding-left: 1.3rem;
}

.eligibility-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.about-section {
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
    gap: 3rem;
}

.about-grid p {
    line-height: 1.8;
    color: var(--muted);
}

.about-logo {
    display: flex;
    justify-content: center;
}

.about-logo img {
    width: min(260px, 80%);
    height: auto;
    object-fit: contain;
}

@media (max-width: 850px) {
    .topbar-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.8rem 1rem;
    }

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

    .about-logo {
        order: -1;
    }
}

/* =========================================================
   ENHANCED INDEX PAGE
   ========================================================= */

.home-container {
    width: min(100% - 2rem, 1080px);
    margin-inline: auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    border-top: 6px solid var(--huef-gold);
    border-bottom: 4px solid var(--huef-gold);
}

.topbar-inner { min-height: 112px; padding: .8rem 1rem; }
.brand { gap: 1rem; }
.brand strong { font-size: 1.75rem; line-height: 1; }
.brand small { margin-top: .45rem; font-size: .75rem; letter-spacing: .15em; }
.top-nav { gap: 1.5rem; }
.top-nav a { font-size: 1rem; }
.top-nav .btn-gold { min-height: 48px; padding: 0 1.25rem; color: var(--huef-green-dark); }

.home-hero {
    padding: 5rem 0;
    background: var(--huef-green);
    color: #fff;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: center;
    gap: 5rem;
}

.hero-kicker, .section-kicker {
    margin: 0 0 1.25rem;
    color: var(--huef-gold);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.hero-description {
    max-width: 680px;
    margin: 1.6rem 0 0;
    color: #edf7f1;
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-actions .btn { min-height: 54px; padding: 0 1.6rem; font-size: 1rem; }

.hero-logo-box {
    width: min(100%, 430px);
    aspect-ratio: 1;
    margin-inline: auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
}
.hero-logo-box img { width: 94%; height: 94%; display: block; object-fit: contain; }

.home-statistics { padding: 2.7rem 0; background: #fff; border-bottom: 1px solid var(--line); }
.statistics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.statistic-item strong { display: block; color: var(--huef-green); font-size: 2.3rem; line-height: 1; }
.statistic-item h3 { margin: .5rem 0; color: var(--huef-green-dark); font-size: 1.1rem; }
.statistic-item p { margin: 0; color: var(--muted); line-height: 1.6; }

.eligibility-section { padding: 5rem 0; background: #fff; }
.eligibility-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: 4.5rem; }
.eligibility-content h2, .process-section h2, .about-home-section h2 {
    margin: 0 0 1.5rem;
    color: var(--huef-green-dark);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
}
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 1.25rem; padding-left: 2.3rem; color: #403b34; line-height: 1.7; }
.check-list li::before {
    content: "✓";
    position: absolute;
    top: .12rem;
    left: 0;
    width: 1.3rem;
    height: 1.3rem;
    display: grid;
    place-items: center;
    color: var(--huef-green);
    border: 2px solid var(--huef-green);
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 900;
}

.documents-panel {
    padding: 2.4rem;
    background: #fff;
    border: 1px solid #dfd5c1;
    border-radius: 1rem;
    box-shadow: 0 18px 45px rgba(30,44,35,.08);
}
.documents-panel > h2 { margin: 0 0 1.6rem; color: var(--huef-green-dark); font-size: 1.35rem; }
.document-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.document-groups h3 { color: var(--huef-green); font-size: .9rem; }
.document-groups ul { padding-left: 1.35rem; }
.document-groups li { margin-bottom: .65rem; color: var(--muted); line-height: 1.5; }
.office-note { display: flex; align-items: flex-start; gap: .85rem; margin-top: 1.5rem; color: var(--muted); }
.office-note p { margin: 0; line-height: 1.65; }
.office-note span { color: var(--huef-green); font-size: 1.5rem; }

.process-section { padding: 5rem 0; background: var(--huef-cream); }
.process-introduction { max-width: 680px; margin: -.5rem 0 2.7rem; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.process-card {
    min-height: 290px;
    padding: 2rem 1.7rem;
    background: #fff;
    border: 1px solid #ded5c3;
    border-radius: 1rem;
    box-shadow: 0 16px 35px rgba(36,42,37,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}
.process-card:hover { transform: translateY(-5px); box-shadow: 0 22px 45px rgba(36,42,37,.12); }
.process-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    display: grid;
    place-items: center;
    color: var(--huef-green);
    border: 3px solid var(--huef-green);
    border-radius: .75rem;
    font-size: 1.35rem;
    font-weight: 900;
}
.process-card h3 { margin: 0 0 .8rem; color: var(--huef-green-dark); font-size: 1.1rem; }
.process-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.about-home-section { padding: 5rem 0; background: #fff; }
.about-home-grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 4rem; }
.about-home-grid p:not(.section-kicker) { color: var(--muted); line-height: 1.8; }
.about-home-logo { text-align: center; }
.about-home-logo img { width: min(100%, 280px); height: auto; object-fit: contain; }

@media (max-width: 900px) {
    .hero-layout, .eligibility-grid, .about-home-grid { grid-template-columns: 1fr; }
    .hero-layout { gap: 3rem; }
    .hero-logo-box { width: min(75vw, 350px); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .huef-logo { width: 58px; height: 58px; }
    .brand strong { font-size: 1.4rem; }
    .brand small { font-size: .61rem; }
    .home-hero, .eligibility-section, .process-section, .about-home-section { padding: 3.5rem 0; }
    .hero-content h1 { font-size: 2.45rem; }
    .statistics-grid, .document-groups, .process-grid { grid-template-columns: 1fr; }
    .statistics-grid { gap: 2rem; }
    .documents-panel { padding: 1.4rem; }
    .process-card { min-height: auto; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}

/* =========================================================
   COORDINATOR SCREENING DESK
   ========================================================= */
.coord-dashboard { max-width: 68rem; margin: 0 auto; color: var(--huef-ink); }
.brand-side .huef-logo { width: 2.6rem; height: 2.6rem; }
.app-footer { background: transparent; }
.coord-intro h1 { margin: .15rem 0; color: var(--huef-green-dark); font-size: 2rem; }
.coord-intro > p:last-child, .coord-section-heading p { margin: .2rem 0; color: var(--muted); }
.coord-eyebrow { margin: 0; color: var(--huef-green); font-size: .68rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.screening-banner { margin: 1.5rem 0; padding: 1rem 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: .7rem; box-shadow: 0 8px 25px rgba(28,25,20,.05); }
.screening-banner strong { color: var(--huef-green-dark); }
.screening-banner p { margin: .25rem 0 0; color: var(--muted); font-size: .84rem; }
.coord-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.coord-section-heading h2 { margin: .15rem 0; color: var(--huef-green-dark); font-size: 1.5rem; }
.live-pill { padding: .45rem .75rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .72rem; white-space: nowrap; }
.live-pill i { display: inline-block; width: .55rem; height: .55rem; margin-right: .3rem; background: #25a35a; border-radius: 50%; }
.coord-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.coord-kpi-grid article { min-height: 104px; padding: 1rem; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: .7rem; box-shadow: 0 3px 15px rgba(28,25,20,.035); }
.coord-kpi-grid span { color: var(--muted); font-size: .78rem; }
.coord-kpi-grid b { margin-top: .25rem; color: var(--huef-green); font-size: 1.9rem; line-height: 1; }
.coord-kpi-grid small { margin-top: auto; color: #8b8376; font-size: .7rem; }
.coord-chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.coord-panel { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: .7rem; }
.coord-panel > header { padding: .9rem 1rem; color: var(--huef-green-dark); border-bottom: 1px solid var(--line); font-weight: 800; }
.status-chart-body { min-height: 220px; padding: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 2rem; }
.status-donut { position: relative; width: 135px; aspect-ratio: 1; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#d9a514 0 var(--p1), #d47b00 var(--p1) var(--p2), #07633d var(--p2) var(--p3), #cf2541 var(--p3) 100%); }
.status-donut::after { content: ""; position: absolute; width: 62%; height: 62%; background: #fff; border-radius: 50%; }
.status-donut span { position: relative; z-index: 1; text-align: center; }
.status-donut b, .status-donut small { display: block; }
.status-donut b { color: var(--huef-green-dark); font-size: 1.7rem; }
.status-donut small { color: var(--muted); }
.status-legend { min-width: 210px; margin: 0; padding: 0; list-style: none; }
.status-legend li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: .5rem; margin: .55rem 0; font-size: .78rem; }
.status-legend i { width: 8px; height: 8px; border-radius: 50%; background: #d9a514; }
.status-legend .legend-more_info { background: #d47b00; }
.status-legend .legend-approved { background: #07633d; }
.status-legend .legend-rejected { background: #cf2541; }
.coord-bars { height: 220px; padding: 2rem 1.25rem 2.5rem; display: flex; align-items: flex-end; gap: .45rem; background: repeating-linear-gradient(to top, transparent 0 43px, #ece6da 44px); }
.coord-bars .coord-bar, .coord-bars .chart-bar { position: relative; flex: 1; min-height: 3px; background: var(--huef-green); border-radius: 4px 4px 0 0; }
.coord-bars span { position: absolute; bottom: -1.3rem; left: 50%; transform: translateX(-50%); color: #8a8276; font-size: .56rem; white-space: nowrap; }
.coord-summary-grid .coord-panel { min-height: 185px; }
.summary-list { padding: .6rem 1rem; }
.summary-list div { padding: .55rem 0; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #eee8dd; color: var(--muted); font-size: .82rem; }
.summary-list div:last-child { border-bottom: 0; }
.summary-list b { color: var(--huef-green-dark); }
.coord-filter-panel { margin-top: 1rem; padding: 1rem; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: .65rem; background: #fff; border: 1px solid var(--line); border-radius: .7rem; }
.coord-filter-panel input, .coord-filter-panel select, .coord-filter-panel button { min-height: 42px; margin: 0; }
.coord-applications-panel { margin-top: 1rem; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: .7rem; }
.coord-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.coord-table th { padding: .75rem 1rem; text-align: left; color: #6e675c; background: #faf7ee; border-bottom: 1px solid var(--line); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.coord-table td { padding: .8rem 1rem; vertical-align: middle; border-bottom: 1px solid #eee8dd; }
.coord-table tr:last-child td { border-bottom: 0; }
.coord-table td > small, .applicant-cell small { display: block; margin-top: .2rem; color: #81796d; }
.applicant-cell { display: flex; align-items: center; gap: .7rem; }
.applicant-cell strong { color: var(--huef-green-dark); }
.applicant-avatar { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; color: var(--huef-green); background: #e9f3ed; border-radius: 50%; font-size: .68rem; font-weight: 800; }
.review-link { color: var(--huef-green); font-weight: 800; }
.empty-row { padding: 2rem !important; color: var(--muted); text-align: center !important; }

@media (max-width: 980px) {
  .coord-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .coord-chart-grid { grid-template-columns: 1fr; }
  .coord-filter-panel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .coord-section-heading, .screening-banner { align-items: stretch; flex-direction: column; }
  .coord-kpi-grid, .coord-filter-panel { grid-template-columns: 1fr; }
  .status-chart-body { align-items: flex-start; flex-direction: column; }
  .coord-table { min-width: 850px; }
}

/* =========================================================
   SIGN-IN PAGE
   ========================================================= */
.login-page { min-height: 720px; padding: 3rem 1rem; display: flex; align-items: flex-start; justify-content: center; background: var(--huef-cream); }
.login-panel { width: min(100%, 620px); overflow: hidden; background: #fff; border: 1px solid #dcd4c4; border-top: 5px solid var(--huef-green); box-shadow: 0 15px 45px rgba(26,42,32,.08); }
.login-heading { padding: 1.6rem 1.8rem 1.4rem; border-bottom: 1px solid #e4dccd; }
.login-heading h1 { margin: 0 0 .7rem; color: var(--huef-green-dark); font-size: 1.75rem; }
.login-heading p { max-width: 500px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.login-form-area { padding: 2rem 1.8rem 1.5rem; }
.login-field { margin-bottom: 1.7rem; }
.login-field label { margin: 0 0 .55rem; color: var(--huef-green-dark); font-size: 1rem; font-weight: 700; }
.required { color: var(--huef-red); }
.login-field input { width: 100%; min-height: 66px; padding: .8rem 1.15rem; color: #111; background: #fffbc7; border: 1px solid #d2cab8; border-radius: .6rem; outline: none; font-size: 1.2rem; box-shadow: 0 2px 5px rgba(0,0,0,.1); }
.login-field input:focus { border-color: var(--huef-green); box-shadow: 0 0 0 3px rgba(11,77,44,.14); }
.login-field small { display: block; margin-top: .45rem; color: var(--muted); font-size: .86rem; }
.login-password-wrap { position: relative; }
.login-password-wrap input { padding-right: 4rem; }
.login-password-toggle { position: absolute; top: 50%; right: 1rem; width: 38px; height: 38px; padding: 0; transform: translateY(-50%); display: grid; place-items: center; color: #7a7468; background: transparent; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.3rem; }
.login-password-toggle:hover { color: var(--huef-green); background: rgba(11,77,44,.08); }
.login-submit { width: 100%; min-height: 72px; padding: .8rem 1rem; color: #fff; background: var(--huef-green); border: 0; border-radius: .55rem; cursor: pointer; font: inherit; font-size: 1.25rem; font-weight: 700; }
.login-submit:hover { background: var(--huef-green-dark); }
.login-divider { margin: 2.1rem 0; display: flex; align-items: center; gap: .8rem; color: #6d675d; font-weight: 600; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; flex: 1; background: #cec6b6; }
.google-login-button { width: 100%; min-height: 72px; display: flex; align-items: center; justify-content: center; gap: .8rem; color: #25221e; background: #fff; border: 1px solid #d2cab8; border-radius: .55rem; cursor: pointer; font: inherit; font-size: 1.05rem; font-weight: 700; }
.google-login-button:hover { background: #f9f7f2; border-color: #aaa18f; }
.google-letter { font-family: Arial,sans-serif; color: #4285f4; font-size: 1.65rem; font-weight: 900; }
.create-account-link { margin: 2rem 0 0; color: var(--muted); font-size: 1rem; }
.create-account-link a { color: var(--huef-green-dark); border-bottom: 1px solid var(--huef-green); font-weight: 700; }

/* Preserve the reference shape of the large homepage logo. */
.hero-logo-box { width: min(430px,80vw) !important; height: min(430px,80vw) !important; aspect-ratio: 1 !important; display: grid !important; place-items: center !important; margin-inline: auto !important; background: #fff !important; border-radius: 50% !important; overflow: visible !important; box-shadow: none !important; }
.hero-logo-box img { width: 90% !important; height: 90% !important; display: block !important; object-fit: contain !important; border-radius: 0 !important; }

@media (max-width: 650px) {
  .login-page { min-height: auto; padding: 1.5rem .75rem; }
  .login-heading, .login-form-area { padding-left: 1.2rem; padding-right: 1.2rem; }
  .login-field input { min-height: 58px; font-size: 1rem; }
  .login-submit, .google-login-button { min-height: 60px; }
}

/* =========================================================
   HUEF RESPONSIVE PROFESSIONAL UI — SEPTEMBER 2026
   ========================================================= */
:root {
  --app-sidebar-width: 250px;
  --app-radius: 14px;
  --app-shadow: 0 10px 30px rgba(7, 53, 31, .07);
}

html { -webkit-text-size-adjust: 100%; }
body.nav-open { overflow: hidden; }
button, input, select, textarea { max-width: 100%; }
button, .btn, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(240, 192, 0, .75); outline-offset: 3px; }

/* Public navigation */
.public-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  font-size: 1.35rem;
  cursor: pointer;
}
.topbar { position: relative; z-index: 50; }
.topbar-inner { min-height: 88px; }

/* Application workspace */
.app-shell { min-height: 100dvh; align-items: stretch; }
.sidebar {
  width: var(--app-sidebar-width);
  height: 100dvh;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(240,192,0,.75) rgba(255,255,255,.08);
}
.sidebar::-webkit-scrollbar { width: 7px; }
.sidebar::-webkit-scrollbar-track { background: rgba(255,255,255,.07); }
.sidebar::-webkit-scrollbar-thumb { background: rgba(240,192,0,.75); border-radius: 99px; }
.side-nav a { min-height: 44px; transition: background-color .2s ease, transform .2s ease; }
.side-nav a:hover { transform: translateX(2px); }
.side-account { background: rgba(0,0,0,.08); }
.app-top { min-height: 64px; height: auto; padding: .65rem 1.25rem; box-shadow: 0 2px 12px rgba(7,53,31,.04); }
.page { max-width: 1400px; padding: 1.5rem clamp(1rem, 2.5vw, 2rem) 3rem; }
.app-footer { margin-top: auto; }

/* Cards, forms and controls */
.card, .coord-panel, .coord-applications-panel, .screening-banner,
.coord-filter-panel, .kpi {
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow);
}
input, select, textarea {
  min-height: 44px;
  padding: .72rem .82rem;
  border-color: #cfc7b7;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { min-height: 120px; }
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--huef-green-light);
  box-shadow: 0 0 0 3px rgba(11,77,44,.12);
}
.btn { min-height: 44px; padding: .65rem 1rem; border-radius: 9px; }
.btn-outline-dark { color: var(--huef-green-dark); background: #fff; border-color: #b9b09f; }
.report-buttons { display: flex; flex-wrap: wrap; gap: .65rem; grid-column: 1 / -1; }
.report-buttons .btn { width: auto; }

/* Responsive data areas */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.coord-table, table.data-grid { min-width: 760px; }
.coord-table tbody tr { transition: background-color .18s ease; }
.coord-table tbody tr:hover { background: #fbf8ef; }
.coord-kpi-grid article { border-radius: var(--app-radius); box-shadow: var(--app-shadow); }
.coord-kpi-grid article:hover { transform: translateY(-2px); transition: transform .2s ease; }
.coord-filter-panel { align-items: end; }

/* Preserve the intended non-circular large homepage logo. */
.hero-logo-box {
  width: min(430px, 80vw) !important;
  height: auto !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.hero-logo-box img {
  width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}

@media (max-width: 1100px) {
  .coord-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coord-chart-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .sidebar {
    left: 0;
    bottom: 0;
    transform: translateX(-105%);
    box-shadow: 20px 0 45px rgba(0,0,0,.25);
  }
  .sidebar.open { transform: translateX(0); }
  .nav-backdrop:not([hidden]) { display: block; }
  .menu-btn { width: 44px; height: 44px; align-items: center; justify-content: center; flex: 0 0 auto; }
  .app-top-right { min-width: max-content; }
  .page { padding-top: 1.15rem; }
}

@media (max-width: 760px) {
  .topbar-inner { min-height: 72px; flex-direction: row; align-items: center; padding-block: .7rem; }
  .public-menu-btn { display: grid; margin-left: auto; }
  .top-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: .8rem 1rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    background: var(--huef-green-dark);
    border-bottom: 4px solid var(--huef-gold);
    box-shadow: 0 18px 30px rgba(0,0,0,.2);
  }
  .top-nav.open { display: flex; }
  .top-nav a { min-height: 44px; display: flex; align-items: center; padding: .65rem .75rem; border-radius: 8px; }
  .top-nav a:hover { background: rgba(255,255,255,.08); }
  .top-nav .btn { justify-content: center; }
  .huef-logo { width: 52px; height: 52px; }
  .brand strong { font-size: 1.15rem; }
  .brand small { max-width: 220px; font-size: .58rem; }
  .app-top { padding-inline: .75rem; }
  .app-sub { display: none; }
  .app-title { font-size: .92rem; }
  .coord-intro h1 { font-size: clamp(1.55rem, 7vw, 2rem); }
  .coord-section-heading, .screening-banner { align-items: stretch; flex-direction: column; }
  .screening-banner .btn { width: 100%; }
  .coord-filter-panel { grid-template-columns: 1fr; }
  .coord-filter-panel .btn, .coord-filter-panel > a { width: 100%; }
  .report-buttons { display: grid; grid-template-columns: 1fr; }
  .status-chart-body { align-items: center; flex-direction: column; }
  .status-legend { width: 100%; min-width: 0; }
  .coord-bars { overflow-x: auto; }
  .coord-bars .coord-bar, .coord-bars .chart-bar { min-width: 22px; }
  .grid-2, .grid-3, .form-2 { grid-template-columns: 1fr !important; }
  .doc-list li { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .page { padding: .9rem .7rem 2rem; }
  .coord-kpi-grid { grid-template-columns: 1fr; }
  .coord-kpi-grid article { min-height: 94px; }
  .card { padding: 1rem; }
  .brand small { display: none; }
  .email-chip { display: none; }
  .huef-footer-grid { padding-inline: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Correct large homepage logo shape */
.hero-logo-box {
    width: min(430px, 80vw) !important;
    height: min(430px, 80vw) !important;
    aspect-ratio: 1 !important;
    display: grid !important;
    place-items: center !important;
    margin-inline: auto !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    overflow: visible !important;
    box-shadow: none !important;
}

.hero-logo-box img {
    width: 90% !important;
    height: 90% !important;
    display: block !important;
    object-fit: contain !important;
    border-radius: 0 !important;
}

/* =========================================================
   AI SCREENING BANNER (Overview page)
   ========================================================= */
.ai-banner {
  margin-top: 1.2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--huef-green-dark), var(--huef-green));
  border-radius: var(--app-radius, .7rem);
  color: #fff;
  box-shadow: 0 12px 30px rgba(7, 53, 31, .18);
}
.ai-banner-head { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.ai-banner-chip {
  flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--huef-gold); color: var(--huef-green-dark); font-weight: 900;
  border-radius: .6rem; font-size: .95rem;
}
.ai-banner-copy { flex: 1 1 320px; min-width: 0; }
.ai-banner-copy h2 { margin: .2rem 0 .4rem; color: #fff; font-size: 1.4rem; }
.ai-banner-copy p { margin: 0; color: #dcefe3; font-size: .9rem; line-height: 1.55; max-width: 46rem; }
.ai-banner-head > .btn { flex: 0 0 auto; align-self: center; }
.ai-banner-stats {
  margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.18);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.ai-banner-stats b { display: block; font-size: 1.6rem; color: #fff; }
.ai-banner-stats span { display: block; margin-top: .15rem; color: #cfe8d8; font-size: .78rem; }
.ai-banner-priority {
  margin-top: 1.1rem; padding: .9rem 1rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: .6rem; flex-wrap: wrap;
}
.ai-banner-priority-name { margin: .1rem 0 0; font-weight: 800; font-size: 1.05rem; color: #fff; }
.ai-banner-priority-meta { margin: .15rem 0 0; color: #dcefe3; font-size: .82rem; }

@media (max-width: 760px) {
  .ai-banner-stats { grid-template-columns: repeat(2, 1fr); }
  .ai-banner-head { flex-direction: column; }
  .ai-banner-head > .btn { align-self: stretch; text-align: center; }
}

/* =========================================================
   CLICKABLE QUEUE ROWS
   ========================================================= */
.row-clickable { cursor: pointer; }
.row-clickable:hover { background: #fbf8ef; }

/* =========================================================
   APPLICATION REVIEW POPUP
   ========================================================= */
.huef-modal-backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(15, 23, 20, .55);
  display: grid; place-items: center; padding: 1.5rem;
}
.huef-modal-backdrop[hidden] { display: none; }
.huef-modal {
  position: relative; width: min(100%, 960px); max-height: min(92vh, 900px);
  background: #fff; border-radius: .9rem; box-shadow: 0 30px 70px rgba(0,0,0,.35);
  overflow: hidden; display: flex; flex-direction: column;
}
.huef-modal-close {
  position: absolute; top: .7rem; right: .7rem; z-index: 5; width: 36px; height: 36px;
  border: 1px solid var(--line); background: #fff; border-radius: 50%; font-size: 1.2rem;
  line-height: 1; cursor: pointer; color: var(--huef-ink);
}
.huef-modal-close:hover { background: #f3efe4; }
.huef-modal-body { padding: 1.5rem; overflow-y: auto; flex: 1 1 auto; }
/* Inside the ~900px-wide popup, a 2-column grid squeezes both columns too
   narrow to read comfortably — force a single, clearly sequential column
   here specifically, while leaving the full-page view's wider 2-column
   layout (see .grid-2 elsewhere) alone for a normal browser window. */
.huef-modal-body .grid-2 { grid-template-columns: 1fr !important; }

/* Robust circular avatar (applicant photo or initials fallback). Uses
   aspect-ratio rather than relying on width/height alone, so it can't be
   stretched into an oval by a flex container's default align-items:stretch —
   this is what caused the old .emblem-based placeholder to render as a pill
   instead of a circle. */
.applicant-photo {
  width: 84px; height: 84px; aspect-ratio: 1 / 1; flex: 0 0 84px;
  border-radius: 50%; object-fit: cover; background: #fff;
  border: 2px solid var(--huef-gold, #f0c000);
}
.applicant-photo-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.6rem; letter-spacing: .02em;
  background: var(--navy-blue, var(--huef-green, #0b4d2c));
}
.huef-modal-body.is-loading { opacity: .6; pointer-events: none; }
.huef-modal-body .huef-modal-actions {
  position: sticky; bottom: -1.5rem; margin: 1rem -1.5rem -1.5rem; padding: .9rem 1.5rem;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(0,0,0,.05);
}

@media (max-width: 650px) {
  .huef-modal-backdrop { padding: 0; }
  .huef-modal { width: 100%; height: 100%; max-height: none; border-radius: 0; }
}

/* =========================================================
   PUBLIC HOMEPAGE — NAVY THEME
   Scoped entirely under .public-navy so the coordinator/admin/
   student dashboards keep their existing HUEF green & gold look.
   ========================================================= */
.public-navy {
  --navy-ink: #0d2039;
  --navy-blue: #1c3d6a;
  --navy-blue-light: #2f5590;
  --navy-muted: #64748b;
  --navy-line: #e2e8f0;
  --navy-bg: #f7f9fc;
  --navy-gold: #f2bd00;
  background: #fff;
  color: var(--navy-ink);
}

/* Top navigation */
.public-navy .topbar {
  background: #fff;
  color: var(--navy-ink);
  border-bottom: 1px solid var(--navy-line);
  border-top: none;
}
.public-navy .topbar-inner { min-height: 88px; }
.public-navy .brand strong { color: var(--navy-ink); font-size: 1.4rem; }
.public-navy .brand small { color: var(--navy-muted); }
.public-navy .top-nav a { color: #334155; font-weight: 600; }
body.public-navy .topbar .top-nav a:not(.btn) { color: #334155 !important; }
.public-navy .top-nav a:hover { color: var(--navy-blue); }
body.public-navy .topbar .top-nav a:not(.btn):hover { color: var(--navy-blue) !important; }

/* Sign-in dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  min-width: 260px; background: #fff; border: 1px solid var(--navy-line);
  border-radius: .8rem; box-shadow: 0 20px 45px rgba(13,32,57,.16); padding: .5rem;
}
.nav-dropdown-menu a {
  display: block; padding: .75rem .9rem; border-radius: .55rem; text-decoration: none;
  color: var(--navy-ink); font-weight: 700; font-size: .95rem;
}
.nav-dropdown-menu a:hover { background: var(--navy-bg); color: var(--navy-blue); }
@media (max-width: 760px) {
  .nav-dropdown-menu { position: static; box-shadow: none; border: 1px solid var(--navy-line); margin-top: .4rem; }
}
.public-navy .top-nav .btn-outline-dark {
  color: var(--navy-ink); border: 1px solid #cbd5e1; background: #fff;
}
.public-navy .top-nav .btn-gold { background: var(--navy-gold); color: #241c00; }
.public-navy .public-menu-btn { color: var(--navy-ink); background: #f1f5f9; border: 1px solid var(--navy-line); }
@media (max-width: 760px) {
  .public-navy .top-nav { background: #fff; border-bottom: 4px solid var(--navy-gold); }
  .public-navy .top-nav a { color: var(--navy-ink); }
}

.public-navy .home-container { width: min(100% - 2rem, 1160px); margin-inline: auto; }

/* Status banner (open/closed) */
.status-banner { background: #fff; border-bottom: 1px solid var(--navy-line); padding: 1.4rem 0; }
.status-banner-inner { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.status-banner-icon {
  flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: .7rem; font-size: 1.2rem;
}
.status-banner.is-closed .status-banner-icon { background: #fde8e8; color: #c22; }
.status-banner.is-open .status-banner-icon { background: #e6f6ec; color: #1a7f4b; }
.status-banner-copy { flex: 1 1 320px; min-width: 0; }
.status-banner-kicker { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-muted); }
.status-banner-copy h2 { margin: .2rem 0 .3rem; font-size: 1.3rem; color: var(--navy-ink); }
.status-banner-copy p { margin: 0; color: var(--navy-muted); font-size: .95rem; }
.status-banner-date {
  flex: 0 0 auto; padding: .7rem 1.1rem; background: var(--navy-bg); border-radius: .6rem;
  font-weight: 800; color: var(--navy-ink); font-size: .92rem;
}
.status-banner-link { flex: 0 0 auto; font-weight: 700; color: var(--navy-blue); white-space: nowrap; }

/* Hero */
.public-navy .home-hero {
  background: linear-gradient(160deg, var(--navy-ink), var(--navy-blue));
  padding: 4.5rem 0;
  color: #fff;
}
.public-navy .hero-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.3rem;
  padding: .5rem 1rem; border-radius: 999px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18); font-size: .82rem; font-weight: 700; color: #dce7f7;
}
.hero-pill-dot { width: .5rem; height: .5rem; border-radius: 999px; background: #35d488; }
.public-navy .hero-content h1 { margin: 0; color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.12; }
.hero-highlight { color: var(--navy-gold); }
.public-navy .hero-description { margin: 1.4rem 0 0; max-width: 34rem; color: #cdd9ec; line-height: 1.75; }
.public-navy .hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.public-navy .hero-actions .btn { min-height: 52px; padding: 0 1.5rem; }
.btn-outline-light { background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

.hero-preview-card {
  background: #fff; color: var(--navy-ink); border-radius: 1rem; padding: 1.4rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.28);
}
.hero-preview-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.hero-preview-avatar {
  width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--navy-gold); color: #241c00; font-weight: 900; border-radius: .6rem;
}
.hero-preview-head small { display: block; color: var(--navy-muted); }
.hero-preview-readiness-row { display: flex; justify-content: space-between; font-size: .85rem; color: var(--navy-muted); margin-bottom: .4rem; }
.hero-preview-bar { height: 8px; background: #eef1f6; border-radius: 999px; overflow: hidden; }
.hero-preview-bar span { display: block; height: 100%; background: var(--navy-gold); border-radius: 999px; }
.hero-preview-steps { list-style: none; margin: 1.1rem 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.hero-preview-steps li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; color: #334155; }
.hero-preview-check {
  width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 999px; background: #e6f6ec; color: #1a7f4b; font-size: .75rem;
}
.hero-preview-check--pending { background: #eef1f6; color: var(--navy-muted); }
.hero-preview-badge {
  display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; border-radius: .6rem;
  background: var(--navy-bg); border: 1px solid var(--navy-line);
}
.hero-preview-badge strong { display: block; font-size: .88rem; }
.hero-preview-badge small { color: var(--navy-muted); }

/* Hero photo card — home page gallery image with a "view full photo" link
   and Photo 1 / Photo 2 toggle tabs underneath. */
.hero-photo-card { width: 100%; }
.hero-photo-frame {
  position: relative; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.28); background: #0d2039; line-height: 0;
}
.hero-photo {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 16 / 10; object-fit: cover;
}
.hero-photo-overlay {
  position: absolute; right: .8rem; bottom: .8rem;
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(13,32,57,.72); color: #fff; text-decoration: none;
  font-size: .78rem; font-weight: 600; padding: .4rem .7rem; border-radius: .5rem;
  backdrop-filter: blur(2px);
}
.hero-photo-overlay:hover { background: rgba(13,32,57,.9); }
.hero-photo-tabs { display: flex; gap: .6rem; margin-top: .9rem; }
.hero-photo-tab {
  border: 1px solid var(--navy-line, #e2e8f0); background: #fff; color: var(--navy-ink, #0d2039);
  font-size: .82rem; font-weight: 700; padding: .4rem .95rem; border-radius: 999px;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.hero-photo-tab:hover { border-color: var(--navy-gold, #f2bd00); }
.hero-photo-tab.is-active {
  background: var(--navy-gold, #f2bd00); border-color: var(--navy-gold, #f2bd00); color: #241c00;
}
.hero-photo-caption { margin: .8rem 0 0; color: #cdd9ec; font-size: .88rem; }

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

.public-navy .statistics-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 900px) {
  .public-navy .statistics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .public-navy .statistics-grid { grid-template-columns: 1fr; }
}
.public-navy .statistic-item strong { color: var(--navy-blue); }
.public-navy .statistic-item h3 { color: var(--navy-ink); }

/* Section kickers / headings, shared */
.public-navy .section-kicker {
  margin: 0 0 .5rem; color: var(--navy-blue); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.public-navy h2 { color: var(--navy-ink); }
.public-navy .eligibility-heading,
.updates-intro,
.gallery-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.public-navy .eligibility-heading h2 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.4rem); max-width: 40rem; }
.public-navy .eligibility-heading p { margin: 0; max-width: 26rem; color: var(--navy-muted); }

/* Updates */
.updates-section { padding: 4.5rem 0; background: var(--navy-bg); }
.updates-section h2 { margin: .2rem 0 0; font-size: clamp(1.8rem, 3.2vw, 2.4rem); max-width: 32rem; }
.updates-lede { max-width: 30rem; margin: 1rem 0 2rem; color: var(--navy-muted); }
.updates-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.update-card {
  background: #fff; border-radius: .8rem; padding: 1.6rem; border-top: 5px solid #cf2541;
  box-shadow: 0 10px 30px rgba(13,32,57,.06);
}
.update-card-meta {
  display: flex; align-items: center; gap: .4rem; margin: 0 0 .8rem; color: var(--navy-blue);
  font-weight: 800; font-size: .85rem;
}
.update-card-date { margin-left: .4rem; color: var(--navy-muted); font-weight: 600; }
.update-card h3 { margin: 0 0 .6rem; font-size: 1.25rem; color: var(--navy-ink); }
.update-card p { margin: 0; color: #475569; line-height: 1.6; }
.update-card-author { margin-top: 1rem !important; font-size: .82rem; color: var(--navy-muted) !important; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2.4rem; }
.pagination-status { color: var(--navy-muted); font-size: .88rem; font-weight: 600; }

/* Eligibility / requirements */
.public-navy .eligibility-section { padding: 4.5rem 0; background: #fff; }
.public-navy .eligibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2.2rem; }
.requirement-card { background: var(--navy-bg); border-radius: .9rem; padding: 2rem; }
.requirement-icon {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: .7rem;
  background: var(--navy-gold); color: #241c00; font-size: 1.3rem; margin-bottom: 1.1rem;
}
.requirement-icon--warn { background: var(--navy-gold); }
.requirement-card h3 { margin: 0 0 1rem; font-size: 1.35rem; color: var(--navy-ink); }
.requirement-card .check-list li { color: #475569; }
.requirement-card .check-list li::before { border-color: var(--navy-blue); color: var(--navy-blue); }

.documents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 1.6rem; }
.documents-grid--three { grid-template-columns: repeat(3, 1fr); }
.documents-note { margin: 1.4rem 0 0; color: var(--navy-muted); font-size: .88rem; font-style: italic; }
.document-card { background: #fff; border: 1px solid var(--navy-line); border-radius: .9rem; padding: 1.8rem; }
.document-card-step {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: .5rem;
  background: #fff3cf; color: #7a5a00; font-weight: 800; margin-bottom: .8rem;
}
.document-card-kicker { margin: 0 0 .3rem; color: var(--navy-blue); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.document-card h3 { margin: 0 0 .9rem; font-size: 1.15rem; color: var(--navy-ink); }
.document-card ul { margin: 0; padding-left: 1.2rem; color: #475569; }
.document-card li { margin-bottom: .5rem; line-height: 1.5; }

@media (max-width: 900px) {
  .public-navy .eligibility-grid, .documents-grid, .documents-grid--three { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .documents-grid--three { grid-template-columns: 1fr 1fr; }
}

/* Process */
.public-navy .process-section { padding: 4.5rem 0; background: var(--navy-bg); }
.public-navy .process-section h2 { margin: .2rem 0 .6rem; font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.public-navy .process-introduction { max-width: 34rem; color: var(--navy-muted); margin: 0 0 2.2rem; }
.public-navy .process-grid { grid-template-columns: repeat(4, 1fr); }
.public-navy .process-grid--six { grid-template-columns: repeat(3, 1fr); }
.public-navy .process-card {
  background: #fff; border: 1px solid var(--navy-line); border-radius: .9rem; padding: 1.6rem;
  min-height: auto; box-shadow: none;
}
.public-navy .process-card--active { border-color: var(--navy-blue); box-shadow: 0 14px 30px rgba(28,61,106,.12); }
.process-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.process-step-badge {
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px;
  background: var(--navy-gold); color: #241c00; font-weight: 800; font-size: .85rem;
}
.process-icon-chip {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: .6rem;
  background: var(--navy-bg); font-size: 1.05rem;
}
.public-navy .process-card h3 { margin: 0 0 .5rem; font-size: 1.05rem; color: var(--navy-ink); }
.public-navy .process-card p { color: var(--navy-muted); font-size: .9rem; }
@media (max-width: 900px) { .public-navy .process-grid, .public-navy .process-grid--six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .public-navy .process-grid, .public-navy .process-grid--six { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-section { padding: 4.5rem 0; background: #fff; }
.gallery-section h2 { margin: .2rem 0 0; font-size: clamp(1.8rem, 3.2vw, 2.4rem); max-width: 32rem; }
.gallery-lede { max-width: 30rem; margin: 1rem 0 2rem; color: var(--navy-muted); }
.gallery-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.gallery-card { border: 1px solid var(--navy-line); border-radius: 1rem; overflow: hidden; }
.gallery-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-bg); }
.gallery-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-card-media--placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  color: var(--navy-muted); font-size: .85rem; font-weight: 600;
  border: 1px dashed var(--navy-line);
}
.gallery-card-media--placeholder span:first-child { font-size: 1.8rem; }
.gallery-card--placeholder { opacity: .7; }
.section-view-all { text-align: center; margin: 2.4rem 0 0; }
.gallery-card-kicker { margin: 1.2rem 1.4rem 0; color: var(--navy-blue); font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.gallery-card h3 { margin: .4rem 1.4rem 0; font-size: 1.2rem; color: var(--navy-ink); }
.gallery-card p { margin: .5rem 1.4rem 1.4rem; color: var(--navy-muted); line-height: 1.55; }

/* Ready / CTA split panel */
.ready-section { background: #fff; }
.ready-grid { display: grid; grid-template-columns: 1fr 1fr; }
.ready-copy { padding: 4rem 3rem 4rem 0; }
.ready-copy h2 { margin: .2rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.2rem); max-width: 22rem; }
.ready-copy > p { color: var(--navy-muted); max-width: 28rem; margin: 0 0 1.8rem; }
.ready-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ready-check { display: flex; gap: .7rem; align-items: flex-start; background: var(--navy-bg); border-radius: .7rem; padding: 1rem; }
.ready-check-icon {
  width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 999px;
  background: #e6f6ec; color: #1a7f4b; font-size: .78rem; margin-top: .1rem;
}
.ready-check strong { display: block; font-size: .9rem; color: var(--navy-ink); }
.ready-check small { color: var(--navy-muted); font-size: .8rem; }
.ready-note {
  margin-top: 1.6rem; padding: 1rem 1.1rem; display: flex; gap: .6rem; align-items: flex-start;
  background: #fff6d8; border: 1px solid #f0d878; border-radius: .6rem; font-size: .88rem; color: #6b4e00;
}
.ready-cta {
  padding: 4rem 2.5rem; background: linear-gradient(160deg, var(--navy-ink), var(--navy-blue));
  color: #fff; display: flex; flex-direction: column; justify-content: center;
}
.ready-cta-icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: .7rem;
  background: var(--navy-gold); color: #241c00; font-size: 1.4rem; margin-bottom: 1.3rem;
}
.ready-cta-kicker { margin: 0 0 .6rem; color: var(--navy-gold); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ready-cta h2 { color: #fff; margin: 0 0 1rem; font-size: clamp(1.6rem, 2.8vw, 2.1rem); max-width: 24rem; }
.ready-cta > p { color: #cdd9ec; max-width: 26rem; margin: 0 0 1.8rem; line-height: 1.6; }
.ready-cta-btn { display: inline-flex; width: fit-content; }
.ready-cta-link { display: block; margin-top: 1.2rem; color: #cdd9ec; font-weight: 700; text-decoration: underline; }

@media (max-width: 900px) {
  .ready-grid { grid-template-columns: 1fr; }
  .ready-copy { padding: 3rem 1.4rem; }
  .ready-cta { padding: 3rem 1.4rem; }
  .ready-checks { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .status-banner-inner { text-align: center; justify-content: center; }
  .status-banner-copy { flex-basis: 100%; }
  .status-banner-date, .status-banner-link { flex: 1 1 auto; }
  .public-navy .home-hero { padding: 3rem 0; }
  .updates-section, .public-navy .eligibility-section,
  .public-navy .process-section, .gallery-section { padding: 3rem 0; }
}

/* About */
.public-navy .about-home-section { background: var(--navy-bg); }
.public-navy .about-home-grid p { color: var(--navy-muted); }

/* FAQ — native <details>/<summary>, no JS required */
.faq-section { padding: 4.5rem 0; background: #fff; }
.faq-intro h2 { margin: .2rem 0 0; font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.faq-list { max-width: 52rem; margin: 2.2rem auto 0; display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  border: 1px solid var(--navy-line); border-radius: .7rem; padding: 0 1.2rem;
  background: var(--navy-bg); transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--navy-blue); background: #fff; box-shadow: 0 10px 26px rgba(13,32,57,.08); }
.faq-item summary {
  padding: 1.1rem 0; cursor: pointer; font-weight: 700; color: var(--navy-ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 50%; background: var(--navy-gold); color: #241c00; font-weight: 900; font-size: 1rem;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "–"; transform: rotate(180deg); }
.faq-item p { margin: 0 0 1.2rem; color: #475569; line-height: 1.65; }

/* Footer */
.public-navy .huef-footer { background: var(--navy-ink); }
.public-navy .huef-footer h3 { color: var(--navy-gold); }
.public-navy .huef-footer-mini {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.4rem min(2rem, 4vw); border-top: 1px solid var(--navy-line); background: #fff;
}
.public-navy .huef-footer-mini .brand { color: var(--navy-ink); }
.public-navy .huef-footer-mini .brand strong { font-size: 1.1rem; }
.public-navy .huef-footer-mini-tag { color: var(--navy-muted); font-size: .85rem; flex: 1 1 260px; text-align: center; }
.public-navy .huef-footer-mini .btn-outline-dark { color: var(--navy-ink); border-color: #cbd5e1; }
@media (max-width: 760px) {
  .public-navy .huef-footer-mini { justify-content: center; text-align: center; }
  .public-navy .huef-footer-mini-tag { order: 3; }
}

/* =========================================================
   HOVER EFFECTS + SCROLL-REVEAL ("pop in")
   Pure CSS transitions + one small vanilla-JS IntersectionObserver —
   no animation library, so this stays lightweight.
   ========================================================= */

/* Respect people who've asked their OS to reduce motion — skip all of this for them. */
@media (prefers-reduced-motion: no-preference) {

  /* Buttons: lift + shadow on hover/focus, press down on click */
  .public-navy .btn {
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  }
  .public-navy .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 32, 57, .18);
    filter: brightness(1.03);
  }
  .public-navy .btn:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(13,32,57,.14); }

  /* Cards: gentle lift + shadow-in on hover */
  .public-navy .statistic-item,
  .update-card,
  .requirement-card,
  .document-card,
  .public-navy .process-card,
  .gallery-card,
  .ready-check,
  .hero-preview-card,
  .faq-item {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }
  .public-navy .statistic-item:hover { transform: translateY(-4px); }
  .update-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(13,32,57,.12); }
  .requirement-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(13,32,57,.10); }
  .document-card:hover { transform: translateY(-4px); border-color: var(--navy-blue); box-shadow: 0 16px 32px rgba(13,32,57,.10); }
  .public-navy .process-card:hover { transform: translateY(-5px); border-color: var(--navy-blue); box-shadow: 0 18px 36px rgba(13,32,57,.12); }
  .gallery-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(13,32,57,.12); }
  .ready-check:hover { transform: translateY(-2px); background: #eef4ff; }

  /* Gallery image: subtle zoom on hover */
  .gallery-card-media img { transition: transform .35s ease; }
  .gallery-card:hover .gallery-card-media img { transform: scale(1.06); }

  /* Nav links: underline sweep */
  .public-navy .top-nav a:not(.btn) {
    position: relative;
  }
  .public-navy .top-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
    background: var(--navy-blue); transition: right .2s ease;
  }
  .public-navy .top-nav a:not(.btn):hover::after { right: 0; }

  /* Process step badge: small pop on hover */
  .process-step-badge { transition: transform .2s ease; }
  .public-navy .process-card:hover .process-step-badge { transform: scale(1.12); }

  /* Scroll-reveal: elements "pop" into place as they enter the viewport.
     JS (see assets/js/app.js) adds .reveal-item to relevant cards/sections
     and toggles .reveal-hidden — no HTML template changes needed, and if
     JavaScript fails to load, nothing ever gets hidden in the first place. */
  .reveal-item {
    transition: opacity .5s ease, transform .5s ease;
    transition-delay: calc(var(--reveal-index, 0) * 60ms);
  }
  .reveal-item.reveal-hidden {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* =========================================================
   TOASTS (window.huefNotify) — e.g. the "Welcome, {name}." message
   shown right after sign-in / registration.
   ========================================================= */
.toast-region {
  position: fixed; top: 1.2rem; left: 50%; transform: translateX(-50%);
  z-index: 500; display: flex; flex-direction: column; gap: .6rem;
  width: min(92vw, 420px); pointer-events: none;
}
.js-toast {
  display: flex; align-items: center; gap: .6rem; padding: .85rem 1.1rem;
  border-radius: 999px; background: #0b4d2c; color: #fff; font-weight: 700;
  font-size: .92rem; box-shadow: 0 16px 34px rgba(0,0,0,.2);
  pointer-events: auto; animation: huef-toast-in .25s ease;
}
.js-toast::before { content: "✓"; flex: 0 0 auto; font-weight: 900; }
.js-toast.warning { background: #a5691a; }
.js-toast.warning::before { content: "⚠"; }
.js-toast.error { background: #a5222f; }
.js-toast.error::before { content: "✕"; }
.js-toast button {
  margin-left: auto; flex: 0 0 auto; background: none; border: 0; color: #fff;
  opacity: .75; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 .2rem;
}
.js-toast button:hover { opacity: 1; }
@keyframes huef-toast-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .js-toast { animation: none; }
}
@media (max-width: 480px) {
  .toast-region { top: .7rem; width: calc(100vw - 1.4rem); }
}

/* =========================================================
   APPLICANT (STUDENT) DASHBOARD — NAVY THEME
   Scoped under .app-navy, applied only to STUDENT-role pages in
   huef_render() (see includes/layout.php). Coordinator/admin keep
   the existing HUEF green & gold workspace look untouched.
   ========================================================= */
.app-navy {
  --navy-ink: #0d2039;
  --navy-blue: #1c3d6a;
  --navy-blue-light: #2f5590;
  --navy-muted: #64748b;
  --navy-line: #e2e8f0;
  --navy-bg: #f7f9fc;
  --navy-gold: #f2bd00;
  background: var(--navy-bg);
}

.app-navy .sidebar {
  background: linear-gradient(160deg, var(--navy-ink), var(--navy-blue));
}
.app-navy .gold-strip { background: var(--navy-gold); }
.app-navy .brand-side small { color: #cdd9ec; }
.app-navy .nav-label { color: #93a8c9; }
.app-navy .side-nav a { color: #dbe6f5; }
.app-navy .side-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.app-navy .side-nav a.active {
  background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 3px 0 0 var(--navy-gold);
}
.app-navy .nav-badge { background: var(--navy-gold); color: #241c00; }
.app-navy .side-account { border-top-color: rgba(255,255,255,.14); }
.app-navy .who small { color: #b9c9e3; }
.app-navy .avatar-dot { border-color: var(--navy-gold); background: rgba(255,255,255,.14); }
.app-navy .btn-ghost { background: rgba(255,255,255,.12); color: #fff; }
.app-navy .btn-ghost:hover { background: rgba(255,255,255,.2); }

.app-navy .app-top {
  background: #fff; border-bottom: 1px solid var(--navy-line);
}
.app-navy .app-title { color: var(--navy-ink); }
.app-navy .app-sub { color: var(--navy-muted); }
.app-navy .menu-btn { color: var(--navy-ink); }
.app-navy .icon-link { color: var(--navy-ink); background: #fff; border-color: var(--navy-line); }
.app-navy .icon-link:hover { border-color: var(--navy-blue); box-shadow: 0 4px 12px rgba(13,32,57,.1); }
.app-navy .icon-link.has-unread::after { background: #e0334d; }
.app-navy .email-chip { color: var(--navy-muted); }

.app-navy .page { background: transparent; }
.app-navy .card, .app-navy .kpi, .app-navy .coord-panel {
  background: #fff; border: 1px solid var(--navy-line); border-radius: .8rem;
  box-shadow: 0 10px 26px rgba(13,32,57,.05);
}
.app-navy h1, .app-navy h2, .app-navy h3 { color: var(--navy-ink) !important; }
.app-navy .tiny { color: var(--navy-blue); }
.app-navy .muted { color: var(--navy-muted); }

.app-navy input, .app-navy select, .app-navy textarea {
  border-color: #cbd5e1;
}
.app-navy input:focus, .app-navy select:focus, .app-navy textarea:focus {
  border-color: var(--navy-blue); box-shadow: 0 0 0 3px rgba(28,61,106,.14);
}
.app-navy input[readonly] { background: var(--navy-bg); color: var(--navy-muted); }

.app-navy .btn-green { background: var(--navy-blue); color: #fff; }
.app-navy .btn-green:hover { background: var(--navy-blue-light); }
.app-navy .btn-outline { border-color: var(--navy-blue); color: var(--navy-blue) !important; }
.app-navy .btn-danger { background: #a5222f; }

.app-navy .alert-ok { background: #e6f6ec; color: #14532d; }
.app-navy .alert-bad { background: #fde8e8; color: #7f1d1d; }
.app-navy .alert-info { background: #eef4ff; color: var(--navy-blue); }
.app-navy .alert-warn { background: #fff6d8; color: #7a5a00; }

.app-navy .badge-ok { background: #d7f3df; color: #14532d; }
.app-navy .badge-bad { background: #f8d0d6; color: #7f1d1d; }
.app-navy .badge-warn { background: #ffe3b8; color: #7a3e00; }
.app-navy .badge-info { background: #dbe8ff; color: var(--navy-blue); }
.app-navy .badge-muted { background: #eef1f6; color: var(--navy-muted); }

.app-navy .site-footer { background: #fff; border-top-color: var(--navy-line); color: var(--navy-muted); }

/* Same hover-lift polish as the homepage, applied consistently here too */
@media (prefers-reduced-motion: no-preference) {
  .app-navy .btn { transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
  .app-navy .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13,32,57,.16); }
  .app-navy .card, .app-navy .kpi { transition: box-shadow .2s ease, transform .2s ease; }
  .app-navy .card:hover, .app-navy .kpi:hover { box-shadow: 0 16px 34px rgba(13,32,57,.09); }
}

/* =========================================================
   COORDINATOR DASHBOARD — NAVY THEME (component-specific)
   The generic card/button/badge navy rules above already cover most of
   this, but the coordinator Overview/Review queue/Reports pages use
   their own component classes (KPI tiles, the AI banner, the donut
   chart, the review table) that hardcode HUEF green/gold directly
   rather than going through the shared theme variables — so those
   need their own explicit navy overrides too.
   ========================================================= */
.app-navy .coord-intro h1 { color: var(--navy-ink) !important; }
.app-navy .coord-eyebrow { color: var(--navy-blue) !important; }
/* Exception: eyebrows sitting on the dark ai-banner gradient need to stay
   light/gold for contrast, not the blue used everywhere else on white
   cards — a more specific selector so this wins regardless of order. */
.app-navy .ai-banner .coord-eyebrow { color: var(--navy-gold) !important; }
/* Same fix as above, for the banner's own heading and priority-card name —
   these sit on the dark navy gradient and must stay white, not the dark
   ink color every other h2/h3 on a white card correctly gets. */
.app-navy .ai-banner-copy h2,
.app-navy .ai-banner-priority-name { color: #fff !important; }
.app-navy .coord-section-heading h2 { color: var(--navy-ink) !important; }
.app-navy .screening-banner strong { color: var(--navy-ink) !important; }
.app-navy .screening-banner { background: #fff; border-color: var(--navy-line); }

.app-navy .coord-kpi-grid article { background: #fff; border-color: var(--navy-line); box-shadow: 0 3px 15px rgba(13,32,57,.05); }
.app-navy .coord-kpi-grid b { color: var(--navy-blue) !important; }

.app-navy .coord-panel { background: #fff; border-color: var(--navy-line); }
.app-navy .coord-panel > header { color: var(--navy-ink) !important; border-bottom-color: var(--navy-line); }

.app-navy .ai-banner { background: linear-gradient(135deg, var(--navy-ink), var(--navy-blue)) !important; }
.app-navy .ai-banner-chip { background: var(--navy-gold); color: #241c00; }

.app-navy .status-donut b { color: var(--navy-ink) !important; }
.app-navy .live-pill { background: #fff; border-color: var(--navy-line); }

.app-navy .coord-bars { background: repeating-linear-gradient(to top, transparent 0 43px, #eef1f6 44px); }
.app-navy .coord-bars .coord-bar, .app-navy .coord-bars .chart-bar { background: var(--navy-blue) !important; }

.app-navy .coord-filter-panel { background: #fff; border-color: var(--navy-line); }
.app-navy .coord-applications-panel { background: #fff; border-color: var(--navy-line); }

.app-navy .coord-table th { background: var(--navy-bg); color: var(--navy-muted); border-bottom-color: var(--navy-line); }
.app-navy .data-grid th { background: var(--navy-bg); color: var(--navy-muted); }
.app-navy .coord-table td { border-bottom-color: #eef1f6; }
.app-navy .coord-table tbody tr:hover { background: #f5f8fd; }
.app-navy .row-clickable:hover { background: #f5f8fd; }

.app-navy .applicant-avatar { color: var(--navy-blue) !important; background: #eaf0fb; }
.app-navy .review-link { color: var(--navy-blue) !important; }
.app-navy .empty-row { color: var(--navy-muted); }

.app-navy .summary-list div { border-bottom-color: #eef1f6; }
.app-navy .summary-list b { color: var(--navy-ink); }

/* Report/export controls (coordinator/reports.php) */
.app-navy select, .app-navy .huef-modal input, .app-navy .huef-modal select { border-color: #cbd5e1; }
.app-navy .huef-modal { background: #fff; }
.app-navy .huef-modal-close { border-color: var(--navy-line); color: var(--navy-ink); }
.app-navy .huef-modal-close:hover { background: var(--navy-bg); }

/* =========================================================
   SEARCHABLE COMBOBOX (e.g. "Institution" on the application form)
   Type to filter ~100 options, grouped by category. No AJAX — the
   whole list is embedded and filtered in the browser.
   ========================================================= */
.combobox { position: relative; }
.combobox-list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 40;
  max-height: 320px; overflow-y: auto; margin: 0; padding: .35rem;
  list-style: none; background: #fff; border: 1px solid var(--line, #e0d8c8);
  border-radius: .6rem; box-shadow: 0 18px 40px rgba(0,0,0,.14);
}
.app-navy .combobox-list { border-color: var(--navy-line); box-shadow: 0 18px 40px rgba(13,32,57,.14); }
.combobox-group {
  padding: .5rem .6rem .3rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted, #5c564c);
}
.app-navy .combobox-group { color: var(--navy-muted); }
.combobox-option {
  padding: .55rem .7rem; border-radius: .45rem; font-size: .92rem; cursor: pointer; color: inherit;
}
.combobox-option:hover, .combobox-option.is-active { background: var(--navy-bg, #f3efe4); }
.app-navy .combobox-option:hover, .app-navy .combobox-option.is-active { background: var(--navy-bg); color: var(--navy-blue); }
.combobox-empty { padding: .6rem .7rem; font-size: .82rem; color: var(--muted, #5c564c); font-style: italic; }
.combobox-input-error { border-color: #c0223b !important; box-shadow: 0 0 0 3px rgba(192,34,59,.14) !important; }

/* =========================================================
   PER-DOCUMENT DRAG-AND-DROP UPLOAD SLOTS
   ========================================================= */
.doc-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: .8rem; }
.doc-slot {
  border: 1px solid var(--line, #e0d8c8); border-radius: .7rem; padding: 1rem;
  background: #fff; display: flex; flex-direction: column; gap: .6rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.doc-slot.has-file { border-color: #1a7f4b; background: #f3fbf6; }
.doc-slot.is-uploading { opacity: .6; pointer-events: none; }
.doc-slot-head { display: flex; align-items: center; gap: .5rem; font-size: .92rem; }
.doc-slot-status {
  width: 20px; height: 20px; flex: 0 0 auto; border-radius: 999px; display: grid; place-items: center;
  background: #1a7f4b; color: #fff; font-size: .7rem; font-weight: 900;
}
.doc-slot:not(.has-file) .doc-slot-status { background: transparent; }
.doc-dropzone-form { margin: 0; }
.doc-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  padding: 1.2rem .8rem; border: 2px dashed #cbd5e1; border-radius: .6rem; cursor: pointer;
  text-align: center; background: var(--navy-bg, #f7f9fc); transition: border-color .18s ease, background .18s ease;
}
.doc-dropzone:hover { border-color: var(--navy-blue, #1c3d6a); }
.doc-dropzone.is-dragover { border-color: var(--navy-blue, #1c3d6a); background: #eef4ff; }
.doc-dropzone-icon { font-size: 1.3rem; color: var(--navy-blue, #1c3d6a); }
.doc-upload-btn { margin-top: .3rem; pointer-events: none; }
.doc-dropzone-text { font-weight: 700; font-size: .85rem; color: var(--navy-ink, #1c1914); }
.doc-dropzone-hint { font-size: .74rem; color: var(--navy-muted, #5c564c); }
.doc-slot-file { margin: 0; font-size: .82rem; color: #14532d; }
.doc-slot-file small { color: var(--navy-muted, #5c564c); }
.doc-slot-file--empty { color: var(--navy-muted, #5c564c); font-style: italic; }

/* Applicant documents: one clear requirement per row, with its controls beside it. */
.doc-requirement-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: .8rem;
}
.doc-requirement-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
}
.doc-requirement-description {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  cursor: pointer;
}
.doc-requirement-description:hover .doc-slot-head strong { text-decoration: underline; }
.doc-requirement-help { color: var(--navy-muted, #5c564c); font-size: .82rem; }
.doc-uploaded-line { color: #14532d; font-size: .82rem; overflow-wrap: anywhere; }
.doc-requirement-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .45rem;
}
.doc-requirement-actions .doc-upload-btn { margin-top: 0; pointer-events: auto; min-width: 108px; }

.autosave-status {
  width: fit-content;
  margin: 0 0 .8rem auto;
  padding: .38rem .7rem;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--navy-blue, #1c3d6a);
  font-size: .78rem;
  font-weight: 800;
}
.autosave-status[data-state="saved"] { background: #e4f5e8; color: #14532d; }
.autosave-status[data-state="saving"],
.autosave-status[data-state="pending"] { background: #fff6d8; color: #7a5a00; }
.autosave-status[data-state="error"] {
  background: #fde8ec; color: #9f1239;
  width: auto; max-width: 100%; white-space: normal;
  border-radius: .6rem; line-height: 1.4;
}

@media (max-width: 680px) {
  .doc-requirement-row { grid-template-columns: 1fr; align-items: stretch; }
  .doc-requirement-actions { justify-content: flex-start; }
  .doc-requirement-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* =========================================================
   AI SCREENING ASSISTANT (coordinator/application.php)
   ========================================================= */
.ai-verdict {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: .7rem;
  margin-bottom: 1rem;
}
.ai-verdict-score {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 900; background: #fff;
}
.ai-verdict-score small { display: block; font-size: .6rem; font-weight: 700; opacity: .7; margin-top: -2px; }
.ai-verdict strong { display: block; font-size: 1.05rem; }
.ai-verdict p { margin: .25rem 0 0; font-size: .9rem; line-height: 1.5; }
.ai-verdict--ok { background: #e4f5e8; color: #14532d; }
.ai-verdict--ok .ai-verdict-score { color: #14532d; }
.ai-verdict--warn { background: #fff6d8; color: #7a5a00; }
.ai-verdict--warn .ai-verdict-score { color: #7a5a00; }
.ai-verdict--bad { background: #fde8eb; color: #7f1d1d; }
.ai-verdict--bad .ai-verdict-score { color: #7f1d1d; }

.ai-why-grid { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1rem; }
.ai-ml-block { background: var(--navy-bg, #f7f9fc); border-radius: .7rem; padding: .9rem 1rem; margin-bottom: 1rem; border: 1px dashed var(--line); }

/* Score gauge — a horizontal bar showing where the rule-based score (or
   the separate ML approval-likelihood %) landed on its 0–100 scale. The
   fill stops exactly at that number; it never implies a decision beyond
   what the number itself says. */
.score-gauge { margin-top: .7rem; }
.score-gauge-track {
  position: relative; height: .55rem; border-radius: 999px;
  background: rgba(0,0,0,.08); overflow: visible;
}
.score-gauge-fill { height: 100%; border-radius: 999px; transition: width .4s ease; }
.score-gauge-fill--ok { background: #1b7a4a; }
.score-gauge-fill--warn { background: #d99a00; }
.score-gauge-fill--bad { background: #c41e3a; }
.score-gauge-fill--ml { background: var(--navy-blue, #1c3d6a); }
.score-gauge-marker {
  position: absolute; top: 50%; width: 2px; height: 1rem;
  background: currentColor; transform: translate(-1px, -50%);
}
.score-gauge-scale {
  display: flex; justify-content: space-between; margin-top: .3rem;
  font-size: .68rem; font-weight: 700; opacity: .6;
}

/* Screen-all progress modal — blocks the page while a bulk screening run
   is in progress, so the coordinator can't lose track of it or navigate
   away mid-run. Closes itself via a page reload once the run finishes. */
.screen-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(13, 32, 57, .55);
  align-items: center; justify-content: center;
  padding: 1rem;
}
.screen-modal-overlay.is-open { display: flex; }
.screen-modal-card {
  background: #fff; border-radius: 1rem; padding: 2rem 1.75rem;
  max-width: 420px; width: 100%; text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.screen-modal-card h3 { margin: .2rem 0 .5rem; color: var(--navy-ink, #0d2039); font-size: 1.15rem; }
.screen-modal-percent { margin: .6rem 0 .3rem !important; font-size: 2.1rem !important; font-weight: 900; color: var(--navy-blue, #1c3d6a) !important; line-height: 1 !important; }
.screen-modal-card p { margin: 0 0 1.1rem; color: var(--navy-muted, #5c6b82); font-size: .88rem; line-height: 1.5; }
.screen-modal-spinner {
  width: 42px; height: 42px; margin: 0 auto .9rem;
  border: 4px solid #e2e8f0; border-top-color: var(--navy-gold, #f2bd00);
  border-radius: 50%; animation: screen-modal-spin .8s linear infinite;
}
@keyframes screen-modal-spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) {
  .screen-modal-card { padding: 1.5rem 1.1rem; }
}
.ai-why-heading { margin: 0 0 .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .02em; color: #7f1d1d; display: flex; align-items: center; gap: .5rem; }
.ai-why-heading--good { color: #14532d; }
.ai-why-list { margin: 0; padding-left: 1.1rem; font-size: .88rem; line-height: 1.55; }
.ai-why-list li { margin-bottom: .5rem; }
.ai-points {
  display: inline-block; min-width: 2.2rem; text-align: center; padding: .05rem .4rem; border-radius: .3rem;
  background: #fde8eb; color: #7f1d1d; font-weight: 800; font-size: .8rem; margin-right: .2rem;
}
.ai-points--good { background: #e4f5e8; color: #14532d; }

.ai-category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .4rem; }
.ai-category-card { background: #fff; border-radius: .6rem; padding: .8rem .9rem; border-left: 4px solid; }
.ai-category-card--ok { border-color: #1a7f4b; }
.ai-category-card--warn { border-color: #b8860b; }
.ai-category-card--bad { border-color: #c0223b; }
.ai-category-name { margin: 0 0 .3rem; font-weight: 800; font-size: .85rem; }
.ai-category-reasoning { margin: 0; font-size: .85rem; line-height: 1.5; color: #3a3a3a; }
.ai-category-action { margin: .4rem 0 0; font-size: .82rem; font-weight: 700; color: var(--navy-blue, #1c3d6a); }
.ai-draft-note { margin-top: 1rem; padding-top: .8rem; border-top: 1px dashed var(--navy-line, #e0d8c8); }
.ai-draft-note p:not(.ai-why-heading) { font-style: italic; color: #3a3a3a; font-size: .88rem; }

.ai-full-checklist { margin-top: 1rem; }
.ai-full-checklist summary { cursor: pointer; font-weight: 700; font-size: .88rem; color: var(--navy-blue, var(--huef-green, #0b4d2c)); }
.ai-full-checklist ul { margin: .6rem 0 0; padding-left: 0; list-style: none; }
.ai-full-checklist li { padding: .4rem 0; border-bottom: 1px solid #eee8dd; font-size: .87rem; }

/* "Ask HUEF Insight" Q&A */
.ai-ask-block { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--navy-line, #e0d8c8); }
.ai-ask-form { display: flex; gap: .5rem; margin-top: .3rem; }
.ai-ask-form input[type="text"] { flex: 1 1 auto; }
.ai-qa-history { margin-top: 1rem; display: flex; flex-direction: column; gap: .8rem; max-height: 320px; overflow-y: auto; }
.ai-qa-item { background: var(--navy-bg, #f7f9fc); border-radius: .55rem; padding: .7rem .9rem; }
.ai-qa-question { margin: 0 0 .35rem; font-weight: 700; font-size: .85rem; font-style: italic; }
.ai-qa-answer { margin: 0; font-size: .87rem; line-height: 1.55; color: #2c2c2c; }

@media (max-width: 700px) {
  .ai-category-grid { grid-template-columns: 1fr; }
  .ai-verdict { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   MINI BAR CHART (reusable, CSS-only — no charting library)
   Used for status breakdown, district breakdown, etc. on the
   Admin Reports page and the Coordinator Overview.
   ========================================================= */
.mini-bar-chart { display: flex; flex-direction: column; gap: .65rem; }
.mini-bar-row { display: grid; grid-template-columns: 8.5rem 1fr 2.5rem; align-items: center; gap: .7rem; }
.mini-bar-label { font-size: .85rem; color: var(--navy-ink, var(--huef-ink, #1c1914)); font-weight: 600; }
.mini-bar-track { height: 10px; border-radius: 999px; background: var(--navy-bg, #eee7d6); overflow: hidden; }
.mini-bar-fill { display: block; height: 100%; border-radius: 999px; transition: width .4s ease; }
.mini-bar-count { text-align: right; font-weight: 800; font-size: .88rem; color: var(--navy-ink, var(--huef-ink, #1c1914)); }
.mini-bar-chart--compact .mini-bar-row { grid-template-columns: 6rem 1fr 2rem; }
.mini-bar-chart--compact .mini-bar-label, .mini-bar-chart--compact .mini-bar-count { font-size: .78rem; }
.mini-bar-chart--compact .mini-bar-track { height: 8px; }
@media (max-width: 480px) {
  .mini-bar-row { grid-template-columns: 6rem 1fr 2rem; }
  .mini-bar-label { font-size: .78rem; }
}

/* Required-field marker, used on profile/application forms */
.required-star { color: #c0223b; font-weight: 800; margin-left: .1rem; }