:root {
  --font-scale: 1;
  --navy: #06336e;
  --navy-dark: #04234c;
  --blue: #0b5cab;
  --blue-light: #eaf4ff;
  --gold: #f4c430;
  --red: #b51f2e;
  --ink: #172033;
  --muted: #667085;
  --line: #d9e1ec;
  --surface: #ffffff;
  --background: #f4f7fb;
  --shadow: 0 12px 30px rgba(16, 45, 82, 0.1);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: calc(16px * var(--font-scale)); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; padding: 10px 14px; background: #fff; color: #000; border: 2px solid #000; }
.skip-link:focus { top: 16px; }

/* Keep the complete public header visible while the page scrolls.
   Sticky positioning preserves the header's space, so page content is never hidden behind it. */
.site-sticky-shell {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1200;
  width: 100%;
  background: #fff;
  isolation: isolate;
}

.govbar { background: var(--navy-dark); color: #fff; font-size: .82rem; }
.govbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.govbar-actions { display: flex; align-items: center; }
.govbar-actions button { border: 0; border-left: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; min-width: 38px; height: 34px; }
.site-header { background: #fff; box-shadow: 0 2px 10px rgba(18,48,84,.08); position: relative; z-index: 100; }
.brand-row { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 15px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 72px; height: 72px; flex: 0 0 72px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--navy), var(--blue)); color: #fff; border: 4px solid var(--gold); font-family: Arial, Helvetica, sans-serif; font-size: 2rem; box-shadow: 0 5px 15px rgba(6,51,110,.2); }
.brand-mark.small { width: 48px; height: 48px; flex-basis: 48px; font-size: 1.2rem; border-width: 3px; }
.brand-kicker, .brand-subtitle { display: block; color: var(--muted); font-size: .82rem; }
.brand strong { display: block; max-width: 720px; font-family: Arial, Helvetica, sans-serif; color: var(--navy); line-height: 1.25; font-size: clamp(1.05rem, 2vw, 1.55rem); }
.pst { text-align: right; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.pst span, .pst strong { display: block; }
.pst strong { color: var(--navy); font-size: .87rem; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 8px; padding: 9px 12px; }
.primary-nav { background: var(--navy); color: #fff; }
.nav-inner { display: flex; align-items: stretch; min-height: 52px; }
.nav-inner > a, .nav-dropdown > button, .nav-search-button { display: flex; align-items: center; border: 0; background: transparent; color: #fff; padding: 0 17px; font-weight: 600; text-decoration: none; }
.nav-inner > a:hover, .nav-inner > a.active, .nav-dropdown > button:hover, .nav-search-button:hover { background: rgba(255,255,255,.13); text-decoration: none; }
.nav-dropdown { position: relative; display: flex; }
.nav-dropdown > button { gap: 6px; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; width: 240px; padding: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 7px; color: var(--ink); }
.dropdown-menu a:hover { background: var(--blue-light); text-decoration: none; }
.nav-search-button { margin-left: auto; font-size: 1.5rem; }
.search-panel { background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.search-panel-inner { padding-block: 22px; }
.search-panel label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--navy); }
.search-input-row { display: flex; gap: 8px; }
.search-input-row input { flex: 1; min-width: 0; }
input, textarea, select { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 12px; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(244,196,48,.75); outline-offset: 2px; }
.hero { position: relative; color: #fff; background: linear-gradient(115deg, rgba(4,35,76,.96), rgba(11,92,171,.84)), radial-gradient(circle at 80% 10%, #2b84d4, transparent 42%); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(30deg, transparent 45%, rgba(255,255,255,.35) 46%, transparent 47%); background-size: 36px 36px; }
.hero-inner { position: relative; z-index: 1; min-height: 430px; display: grid; grid-template-columns: 1.45fr .75fr; align-items: center; gap: 50px; padding-block: 65px; }
.eyebrow { margin: 0 0 10px; font-size: .82rem; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; color: var(--gold); }
.hero h1 { margin: 0; max-width: 760px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1.06; }
.hero p { max-width: 720px; font-size: 1.06rem; color: #e8f2ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-seal { min-height: 230px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; aspect-ratio: 1; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 12px rgba(255,255,255,.04); text-align: center; }
.hero-seal strong { max-width: 210px; font-family: Arial, Helvetica, sans-serif; font-size: 1.35rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 17px; border: 1px solid transparent; border-radius: 8px; font-weight: 700; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-gold { background: var(--gold); color: #1b2737; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-danger { background: #b42318; color: #fff; }
.section { padding-block: 70px; }
.section.white { background: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 27px; }
.section-heading h2, .page-heading h1 { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--navy); line-height: 1.2; }
.section-heading p { margin: 5px 0 0; color: var(--muted); }
.text-link { font-weight: 700; white-space: nowrap; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -45px; position: relative; z-index: 2; }
.quick-card { display: block; padding: 23px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); }
.quick-card:hover { text-decoration: none; transform: translateY(-4px); }
.quick-card:nth-child(2) { border-top-color: var(--red); }
.quick-card:nth-child(3) { border-top-color: var(--gold); }
.quick-card:nth-child(4) { border-top-color: #178452; }
.quick-icon { font-size: 1.8rem; }
.quick-card strong { display: block; margin-top: 9px; color: var(--navy); }
.quick-card span:last-child { display: block; margin-top: 5px; color: var(--muted); font-size: .88rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.content-card { display: flex; flex-direction: column; min-height: 245px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 5px 18px rgba(18,48,84,.06); }
.content-card .meta, .list-row .meta { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.content-card h3 { margin: 10px 0 8px; color: var(--navy); line-height: 1.35; }
.content-card p { color: var(--muted); }
.content-card .card-link { margin-top: auto; font-weight: 700; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 26px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 5px 18px rgba(18,48,84,.06); overflow: hidden; }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; background: var(--navy); color: #fff; }
.panel-header h2, .panel-header h3 { margin: 0; font-family: Arial, Helvetica, sans-serif; }
.list-row { display: grid; grid-template-columns: 82px 1fr auto; gap: 16px; align-items: center; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.date-box { display: grid; place-items: center; min-height: 64px; border-radius: 8px; background: var(--blue-light); color: var(--navy); font-weight: 800; text-align: center; font-size: .82rem; }
.list-row h3 { margin: 0 0 5px; font-size: 1rem; color: var(--navy); }
.list-row p { margin: 0; color: var(--muted); font-size: .88rem; }
.link-list { padding: 8px 20px 20px; }
.link-list a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { padding: 25px; text-align: center; border-radius: var(--radius); background: var(--navy); color: #fff; }
.stat-card:nth-child(2) { background: var(--blue); }
.stat-card:nth-child(3) { background: #8f2430; }
.stat-card:nth-child(4) { background: #26714b; }
.stat-card strong { display: block; font-size: 2rem; }
.stat-card span { color: rgba(255,255,255,.84); }
.cta { border-radius: 20px; background: linear-gradient(115deg, var(--navy), var(--blue)); color: #fff; padding: 42px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { margin: 0; font-family: Arial, Helvetica, sans-serif; }
.cta p { margin: 7px 0 0; color: #dbeafe; }
.page-hero { padding-block: 54px; color: #fff; background: linear-gradient(115deg, var(--navy-dark), var(--blue)); }
.page-heading h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumbs { margin-top: 12px; color: #d9e8fa; font-size: .9rem; }
.breadcrumbs a { color: #fff; }
.prose { max-width: 850px; }
.prose h2, .prose h3 { color: var(--navy); font-family: Arial, Helvetica, sans-serif; }
.prose blockquote { margin: 25px 0; padding: 20px 24px; border-left: 5px solid var(--gold); background: #fff8d9; }
.empty-state { padding: 40px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed #aebdce; border-radius: var(--radius); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #eef4fb; color: var(--navy); }
.tag { display: inline-block; padding: 4px 8px; border-radius: 999px; background: var(--blue-light); color: var(--navy); font-size: .75rem; font-weight: 700; text-transform: capitalize; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 17px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 700; }
.alert { padding: 12px 15px; margin-bottom: 18px; border-radius: 8px; }
.alert-success { background: #e8f7ef; color: #17603c; border: 1px solid #b7e3ca; }
.alert-error { background: #fff0f0; color: #9b1c1c; border: 1px solid #efb4b4; }
.site-footer { background: #061f43; color: #d5e2f2; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 28px; padding-block: 30px; }
.footer-grid h2 { margin: 0 0 10px; font-size: .95rem; color: #fff; }
.footer-grid p { margin: 6px 0; line-height: 1.5; }
.footer-grid a { display: block; margin: 5px 0; color: #dbeafe; line-height: 1.45; }
.footer-quicklinks { width: 100%; }
.footer-quicklinks summary {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 7px;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  user-select: none;
  transition: background .2s ease, border-color .2s ease;
}
.footer-quicklinks summary::-webkit-details-marker { display: none; }
.footer-quicklinks summary:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.35); }
.footer-quicklinks summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.footer-dropdown-title { font-size: .95rem; line-height: 1.2; }
.footer-dropdown-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 1.15rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform .2s ease;
}
.footer-quicklinks[open] .footer-dropdown-arrow { transform: rotate(180deg); }
.footer-dropdown-menu {
  margin-top: 7px;
  padding: 7px 10px 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 7px;
  background: rgba(0,0,0,.12);
}
.footer-dropdown-menu a {
  margin: 0;
  padding: 6px 4px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-dropdown-menu a:last-child { border-bottom: 0; }
.footer-dropdown-menu a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; color: #fff; }
.footer-brand strong { font-size: .92rem; line-height: 1.25; }
.site-footer .brand-logo.small,
.site-footer .brand-mark.small { width: 38px; height: 38px; flex-basis: 38px; }
.site-footer .brand-mark.small { font-size: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom .container { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .74rem; }
.high-contrast { --navy: #000; --navy-dark: #000; --blue: #0037ff; --gold: #ffe600; --ink: #000; --muted: #222; --line: #000; --background: #fff; }
.high-contrast a { text-decoration: underline; }

.admin-shell { min-height: 100vh; background: #eff4fa; }
.admin-topbar { background: var(--navy); color: #fff; }
.admin-topbar .container { min-height: 64px; display: flex; align-items: center; justify-content: space-between; }
.admin-topbar a { color: #fff; }
.admin-main { padding-block: 35px 70px; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.login-card { width: min(460px, calc(100% - 32px)); margin: 8vh auto; padding: 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0 28px; }
.dashboard-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.dashboard-card strong { display: block; color: var(--navy); font-size: 2rem; }
.inline-form { display: inline; }

@media (max-width: 980px) {
  .quick-grid, .stat-grid, .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-seal { display: none; }
  .pst { display: none; }
  .nav-toggle { display: block; }
  .primary-nav { display: none; }
  .primary-nav.open { display: block; max-height: calc(100vh - 146px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-inner { display: block; padding-block: 7px; }
  .nav-inner > a, .nav-dropdown > button, .nav-search-button { width: 100%; min-height: 45px; padding-inline: 12px; }
  .nav-dropdown { display: block; }
  .dropdown-menu { position: static; width: 100%; box-shadow: none; background: rgba(255,255,255,.08); border: 0; }
  .dropdown-menu a { color: #fff; padding-left: 30px; }
  .dropdown-menu a:hover { background: rgba(255,255,255,.12); }
  .nav-search-button { margin: 0; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 22px, 1180px); }
  .brand-row { min-height: 90px; }
  .primary-nav.open { max-height: calc(100vh - 124px); }
  .brand-mark { width: 54px; height: 54px; flex-basis: 54px; font-size: 1.4rem; }
  .brand-kicker, .brand-subtitle { display: none; }
  .brand strong { font-size: .92rem; }
  .hero-inner { padding-block: 50px 75px; }
  .quick-grid { grid-template-columns: 1fr; margin-top: -35px; }
  .card-grid, .two-column, .stat-grid, .dashboard-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .section { padding-block: 50px; }
  .section-heading, .cta { align-items: flex-start; flex-direction: column; }
  .list-row { grid-template-columns: 65px 1fr; }
  .list-row > a:last-child { grid-column: 2; }
  .search-input-row { flex-wrap: wrap; }
  .search-input-row input { flex-basis: 100%; }
  .footer-grid { gap: 22px; padding-block: 26px; }
  .footer-bottom .container { align-items: flex-start; justify-content: center; flex-direction: column; gap: 4px; padding-block: 11px; }
}

/* School logo and branding settings */
.brand-logo {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: block;
  object-fit: contain;
}
.brand-logo.small {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}
.settings-panel { padding: 0; }
.settings-section { padding: 26px; }
.settings-section + .settings-section { border-top: 1px solid var(--line); }
.settings-section-heading { margin-bottom: 22px; }
.settings-section-heading h3 { margin: 0; color: var(--navy); font-family: Arial, Helvetica, sans-serif; }
.settings-section-heading p:last-child { margin: 6px 0 0; color: var(--muted); }
.logo-settings-grid { display: grid; grid-template-columns: minmax(210px, 280px) minmax(0, 1fr); gap: 28px; align-items: center; }
.logo-preview-box { min-height: 220px; padding: 22px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; border: 1px dashed #9db0c6; border-radius: 12px; background: #f8fbff; text-align: center; }
.logo-settings-preview { width: 130px; height: 130px; object-fit: contain; }
.logo-settings-fallback { width: 112px; height: 112px; flex-basis: 112px; font-size: 3rem; }
.logo-preview-box strong { color: var(--navy); }
.logo-preview-box span { color: var(--muted); font-size: .85rem; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff8e5; cursor: pointer; }
.checkbox-row input { width: auto; margin-top: 3px; }
.settings-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 22px 26px; border-top: 1px solid var(--line); background: #f7f9fc; }

@media (max-width: 720px) {
  .brand-logo { width: 54px; height: 54px; flex-basis: 54px; }
  .brand-logo.small { width: 48px; height: 48px; flex-basis: 48px; }
  .logo-settings-grid { grid-template-columns: 1fr; }
}

/* Homepage live picture slider */
.home-slider-section {
  padding: 28px 0 76px;
  background: #fff;
  border-bottom: 1px solid #e8edf4;
}
.home-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 2.65 / 1;
  min-height: 380px;
  max-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(6, 51, 110, .18);
  background: #0b3f75;
  box-shadow: 0 18px 45px rgba(15, 42, 76, .16);
  isolation: isolate;
}
.slider-track,
.slider-slide {
  position: absolute;
  inset: 0;
}
.slider-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
  z-index: 0;
}
.slider-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.slider-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  transition: transform 7s ease;
}
.slider-slide.is-active > img { transform: scale(1.055); }
.slider-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 27, 59, .78) 0%, rgba(3, 35, 73, .48) 42%, rgba(3, 35, 73, .08) 75%), linear-gradient(0deg, rgba(2, 23, 49, .56), transparent 55%);
}
.slider-caption {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 6vw, 84px);
  bottom: clamp(34px, 7vw, 74px);
  max-width: min(700px, 66%);
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .34);
}
.slider-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.slider-caption h1 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.75rem, 4vw, 3.65rem);
  line-height: 1.1;
}
.slider-caption > p:not(.slider-kicker) {
  max-width: 680px;
  margin: 12px 0 20px;
  color: #f1f6fc;
  font-size: clamp(.9rem, 1.4vw, 1.08rem);
}
.slider-counter,
.slider-pause,
.slider-control,
.slider-dots { z-index: 5; }
.slider-counter {
  position: absolute;
  top: 16px;
  left: 18px;
  padding: 5px 9px;
  border-radius: 4px;
  color: #fff;
  background: rgba(1, 24, 52, .38);
  font-size: .78rem;
  text-shadow: 0 1px 4px #000;
}
.slider-pause {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(1, 24, 52, .4);
  font-weight: 900;
  font-size: 1.05rem;
}
.slider-pause:hover,
.slider-control:hover { background: rgba(1, 24, 52, .72); }
.slider-control {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 68px;
  border: 0;
  color: #fff;
  background: rgba(2, 31, 66, .32);
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
}
.slider-prev { left: 0; }
.slider-next { right: 0; }
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 17px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.slider-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  box-shadow: 0 1px 5px rgba(0,0,0,.28);
}
.slider-dot.is-active { background: var(--gold); border-color: var(--gold); }
.slider-empty-state {
  display: grid;
  place-items: center;
  background: linear-gradient(115deg, rgba(4,35,76,.97), rgba(11,92,171,.88)), radial-gradient(circle at 82% 15%, #56a4e5, transparent 40%);
}
.slider-empty-content {
  width: min(760px, calc(100% - 50px));
  color: #fff;
  text-align: center;
}
.slider-empty-content img {
  width: 105px;
  height: 105px;
  margin: 0 auto 17px;
  object-fit: contain;
}
.slider-empty-content h1 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.35rem);
  line-height: 1.12;
}
.slider-empty-content > p:not(.eyebrow) { color: #dbeafe; }
.home-slider-section + .quick-grid { margin-top: -48px; }

/* Homepage slider administration */
.slider-admin-layout {
  display: grid;
  grid-template-columns: minmax(330px, .8fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: start;
}
.slider-editor { position: sticky; top: 18px; }
.slider-editor-body { padding: 22px; }
.slide-form-preview {
  width: 100%;
  aspect-ratio: 16 / 6;
  margin-bottom: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #e8eef5;
}
.admin-slide-list { padding: 18px; display: grid; gap: 18px; }
.admin-slide-card {
  display: grid;
  grid-template-columns: minmax(220px, 38%) 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.admin-slide-card > img {
  width: 100%;
  height: 100%;
  min-height: 205px;
  object-fit: cover;
}
.admin-slide-card-body { padding: 18px; }
.admin-slide-card-body h3 { margin: 8px 0; color: var(--navy); line-height: 1.3; }
.admin-slide-card-body p { margin: 0 0 15px; color: var(--muted); }
.admin-slide-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
  .slider-slide,
  .slider-slide > img { transition: none; }
}

@media (max-width: 980px) {
  .home-slider { aspect-ratio: 16 / 7; min-height: 360px; }
  .slider-admin-layout { grid-template-columns: 1fr; }
  .slider-editor { position: static; }
}

@media (max-width: 720px) {
  .home-slider-section { padding-top: 14px; padding-bottom: 62px; }
  .home-slider { aspect-ratio: 4 / 3; min-height: 420px; }
  .slider-caption { left: 24px; right: 24px; bottom: 48px; max-width: none; }
  .slider-caption h1 { font-size: clamp(1.65rem, 8vw, 2.55rem); }
  .slider-control { width: 40px; height: 58px; font-size: 2.4rem; }
  .slider-shade { background: linear-gradient(0deg, rgba(2, 23, 49, .88) 0%, rgba(2, 23, 49, .46) 60%, rgba(2, 23, 49, .12) 100%); }
  .home-slider-section + .quick-grid { margin-top: -35px; }
  .admin-slide-card { grid-template-columns: 1fr; }
  .admin-slide-card > img { min-height: 180px; aspect-ratio: 16 / 7; }
}

/* Clean homepage after moving information sections */
.home-quick-section {
  padding-bottom: 72px;
  background: var(--background);
}
.home-information-link {
  display: flex;
  justify-content: center;
  padding-top: 28px;
}

@media (max-width: 720px) {
  .home-quick-section { padding-bottom: 50px; }
  .home-information-link { padding-top: 22px; }
  .home-information-link .btn { width: 100%; }
}

/* Searchable issuance register */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.issuance-page { background: #fff; }
.issuance-page-section { min-height: 540px; padding: 42px 0 76px; background: #fff; }
.issuance-container { width: min(1380px, calc(100% - 28px)); }
.issuance-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 24px;
}
.issuance-heading h1 {
  margin: 0;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.2;
}
.issuance-heading > p:last-child { margin: 7px 0 0; color: var(--muted); }
.issuance-search-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}
.issuance-search-form label { color: #111; font-weight: 500; }
.issuance-search-form input {
  width: 230px;
  min-height: 40px;
  border-radius: 2px;
  border-color: #b8bec7;
  background: #fff;
}
.issuance-search-button { min-height: 40px; padding: 7px 14px; }
.issuance-clear-link { margin-left: 2px; font-size: .88rem; font-weight: 700; }
.issuance-result-summary {
  margin: -5px 0 14px;
  padding: 10px 13px;
  border-left: 4px solid var(--blue);
  background: #eff7ff;
  color: #334155;
}
.issuance-table-wrap {
  overflow-x: auto;
  border: 1px solid #d5d9de;
  border-radius: 0;
  background: #fff;
}
.issuance-table {
  min-width: 900px;
  width: 100%;
  border-collapse: collapse;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .94rem;
  line-height: 1.35;
}
.issuance-table th,
.issuance-table td {
  padding: 11px 13px;
  border-right: 0;
  border-bottom: 1px solid #d3d5d8;
  vertical-align: top;
}
.issuance-table th {
  background: #d9eef8;
  color: #050505;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  letter-spacing: .01em;
}
.issuance-table tbody tr:nth-child(even) { background: #f7f7f7; }
.issuance-table tbody tr:hover { background: #edf7fc; }
.issuance-table tbody tr:last-child td { border-bottom: 0; }
.issuance-new-column { width: 52px; }
.issuance-date-column { width: 115px; }
.issuance-number-column { width: 210px; }
.issuance-new-cell { text-align: center; padding-left: 10px !important; padding-right: 6px !important; }
.issuance-date-cell { white-space: nowrap; }
.issuance-number-cell a,
.issuance-title-cell a { color: #0794d2; text-decoration: none; }
.issuance-number-cell a:hover,
.issuance-title-cell a:hover { color: #006ca1; text-decoration: underline; }
.issuance-title-cell {
  color: #111;
  text-transform: uppercase;
  letter-spacing: .005em;
}
.issuance-title-cell a { color: inherit; }
.issuance-new-badge {
  display: inline-block;
  min-width: 34px;
  padding: 1px 5px 2px;
  border: 1px solid #b92508;
  border-radius: 2px;
  background: linear-gradient(#ff5a29, #d51f00);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
  text-transform: lowercase;
  transform: rotate(-4deg);
}
.issuance-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  color: var(--muted);
  font-size: .9rem;
}
.issuance-pagination { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.issuance-pagination a {
  min-width: 38px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.issuance-pagination a:hover,
.issuance-pagination a.is-current { border-color: var(--navy); background: var(--navy); color: #fff; }
.issuance-empty-state { border-radius: 0; }

@media (max-width: 840px) {
  .issuance-toolbar { align-items: stretch; flex-direction: column; }
  .issuance-search-form { justify-content: flex-start; }
  .issuance-search-form input { flex: 1 1 210px; width: auto; }
  .issuance-table-footer { align-items: flex-start; flex-direction: column; }
  .issuance-pagination { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .issuance-page-section { padding-top: 30px; }
  .issuance-container { width: min(100% - 20px, 1380px); }
  .issuance-search-form label { width: 100%; }
  .issuance-search-form input { flex-basis: calc(100% - 92px); }
  .issuance-table-wrap { overflow: visible; border: 0; }
  .issuance-table { min-width: 0; font-family: Arial, Helvetica, sans-serif; }
  .issuance-table thead { display: none; }
  .issuance-table,
  .issuance-table tbody,
  .issuance-table tr,
  .issuance-table td { display: block; width: 100%; }
  .issuance-table tr {
    position: relative;
    margin-bottom: 13px;
    padding: 13px 14px 13px 96px;
    border: 1px solid #d5dce5;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(18, 48, 84, .06);
  }
  .issuance-table td {
    padding: 4px 0;
    border: 0;
  }
  .issuance-table td::before {
    content: attr(data-label) ": ";
    color: #475569;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  .issuance-new-cell {
    position: absolute;
    left: 14px;
    top: 15px;
    width: 68px !important;
    text-align: left;
  }
  .issuance-new-cell::before { display: none; }
  .issuance-date-cell { white-space: normal; }
  .issuance-title-cell { margin-top: 4px; }
}

/* Nested school navigation */
.nav-dropdown > button.active { background: rgba(255,255,255,.13); }
.dropdown-submenu { position: relative; }
.dropdown-submenu > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
}
.dropdown-submenu > button:hover,
.dropdown-submenu.open > button { background: var(--blue-light); }
.submenu-menu {
  display: none;
  position: absolute;
  top: 0;
  left: calc(100% - 2px);
  width: 255px;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.dropdown-submenu:hover > .submenu-menu,
.dropdown-submenu.open > .submenu-menu { display: block; }

/* Public schools directory */
.school-directory-section { min-height: 420px; }
.school-directory-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}
.school-directory-toolbar h2 {
  margin: 0;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}
.school-directory-toolbar > div > p:last-child { margin: 7px 0 0; color: var(--muted); }
.school-search-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.school-search-form label { font-weight: 700; }
.school-search-form input { width: 260px; }
.school-table-wrap {
  overflow-x: auto;
  border: 1px solid #d5d9de;
  background: #fff;
}
.school-directory-table {
  min-width: 930px;
  width: 100%;
  border-collapse: collapse;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .95rem;
}
.school-directory-table th,
.school-directory-table td {
  padding: 12px 13px;
  border-bottom: 1px solid #d5d9de;
  vertical-align: top;
}
.school-directory-table th {
  background: #d9eef8;
  color: #050505;
  font-size: 1rem;
}
.school-directory-table tbody tr:nth-child(even) { background: #f7f7f7; }
.school-directory-table tbody tr:hover { background: #edf7fc; }
.school-directory-table tbody tr:last-child td { border-bottom: 0; }
.school-id-column { width: 115px; }
.school-name-link { font-weight: 700; }
.school-email-link { display: block; margin-top: 3px; font-size: .88rem; overflow-wrap: anywhere; }
.school-result-count { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.school-directory-empty { border-radius: 0; }

/* Schools manager */
.admin-school-layout {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(580px, 1.5fr);
  gap: 24px;
  align-items: start;
}
.admin-school-form-panel { overflow: hidden; }
.admin-school-form { padding: 22px; }
.school-filter-actions { margin-bottom: 14px; }

@media (max-width: 980px) {
  .dropdown-submenu > button { color: #fff; padding-left: 30px; }
  .dropdown-submenu > button:hover,
  .dropdown-submenu.open > button { background: rgba(255,255,255,.12); }
  .submenu-menu {
    position: static;
    width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: rgba(255,255,255,.06);
  }
  .submenu-menu a { padding-left: 48px; }
  .admin-school-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .school-directory-toolbar { align-items: stretch; flex-direction: column; }
  .school-search-form { justify-content: flex-start; }
  .school-search-form label { width: 100%; }
  .school-search-form input { flex: 1 1 220px; width: auto; }
  .school-table-wrap { overflow: visible; border: 0; }
  .school-directory-table { min-width: 0; font-family: Arial, Helvetica, sans-serif; }
  .school-directory-table thead { display: none; }
  .school-directory-table,
  .school-directory-table tbody,
  .school-directory-table tr,
  .school-directory-table td { display: block; width: 100%; }
  .school-directory-table tr {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #d5dce5;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(18,48,84,.06);
  }
  .school-directory-table td { padding: 6px 0; border: 0; }
  .school-directory-table td::before {
    content: attr(data-label) ": ";
    color: #475569;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
  }
}

/* Multi-level Issuances navigation */
.issuance-category-menu {
  width: 255px;
  padding: 0;
  border-radius: 0;
}
.issuance-category-menu > .issuance-all-link {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-weight: 800;
  color: var(--navy);
}
.issuance-dropdown-submenu > button {
  min-height: 43px;
  padding: 10px 16px;
  border-radius: 0;
  font-weight: 600;
}
.issuance-dropdown-submenu > button span {
  color: #7b8798;
  font-size: 1.15rem;
}
.issuance-year-menu {
  width: 245px;
  max-height: min(72vh, 610px);
  overflow-y: auto;
  padding: 0;
  border-radius: 0;
  scrollbar-width: thin;
}
.issuance-year-menu a {
  padding: 10px 16px;
  border-bottom: 1px solid #eef1f5;
  border-radius: 0;
  white-space: nowrap;
}
.issuance-year-menu a:last-child { border-bottom: 0; }
.issuance-active-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 18px;
  padding: 10px 13px;
  border: 1px solid #cfe0f4;
  background: #f4f9ff;
  color: #4b5563;
  font-size: .9rem;
}
.issuance-active-filter strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
}
.issuance-active-filter a {
  margin-left: auto;
  font-weight: 700;
}
.issuance-admin-fields {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #cfe0f4;
  border-radius: 10px;
  background: #f7fbff;
}
.issuance-admin-fields[hidden] { display: none; }

@media (max-width: 980px) {
  .issuance-category-menu { width: 100%; padding: 0; }
  .issuance-category-menu > .issuance-all-link {
    padding-left: 30px;
    color: #fff;
    border-bottom-color: rgba(255,255,255,.1);
  }
  .issuance-dropdown-submenu > button {
    padding-left: 30px;
    color: #fff;
  }
  .issuance-dropdown-submenu > button span { color: rgba(255,255,255,.8); }
  .issuance-year-menu {
    width: 100%;
    max-height: 310px;
    overflow-y: auto;
    background: rgba(0,0,0,.14);
  }
  .issuance-year-menu a {
    padding-left: 54px;
    border-bottom-color: rgba(255,255,255,.08);
    color: #fff;
  }
}

@media (max-width: 640px) {
  .issuance-active-filter { align-items: flex-start; }
  .issuance-active-filter a { width: 100%; margin-left: 0; }
  .issuance-admin-fields { padding: 14px; }
}

/* Responsive administrator navigation */
.admin-shell {
  min-height: 100vh;
  background: #eff4fa;
}
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 700;
  color: #fff;
  background: var(--navy);
  border-bottom: 1px solid rgba(1,24,52,.34);
  box-shadow: 0 8px 22px rgba(2,35,76,.18);
}
.admin-topbar-inner {
  position: relative;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.admin-brand {
  position: relative;
  z-index: 2;
  flex: 0 0 245px;
  min-width: 245px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}
.admin-brand:hover { text-decoration: none; }
.admin-brand-logo,
.admin-brand-fallback {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}
.admin-brand-fallback {
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}
.admin-brand-copy {
  min-width: 0;
  display: block;
  line-height: 1.2;
}
.admin-brand-copy strong {
  display: block;
  max-width: 255px;
  overflow: hidden;
  color: #fff;
  font-size: .96rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-brand-copy small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  font-size: .7rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.admin-menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
}
.admin-menu-icon {
  width: 19px;
  display: grid;
  gap: 4px;
}
.admin-menu-icon i {
  width: 100%;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.admin-menu-toggle[aria-expanded="true"] .admin-menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.admin-menu-toggle[aria-expanded="true"] .admin-menu-icon i:nth-child(2) { opacity: 0; }
.admin-menu-toggle[aria-expanded="true"] .admin-menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.admin-primary-nav {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.admin-nav-main,
.admin-nav-utility {
  display: flex;
  align-items: center;
  gap: 3px;
}
.admin-nav-utility {
  padding-left: 13px;
  border-left: 1px solid rgba(255,255,255,.2);
}
.admin-nav-link,
.admin-view-site,
.admin-user-button {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: -.012em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.admin-nav-main .admin-nav-link::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 3px;
  left: 16px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(244,196,48,.28);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .24s ease;
}
.admin-nav-link:hover,
.admin-view-site:hover,
.admin-user-button:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  text-decoration: none;
  transform: translateY(-1px);
}
.admin-nav-link.active,
.admin-nav-dropdown.active > .admin-nav-link {
  background: rgba(255,255,255,.13);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.admin-nav-main .admin-nav-link:hover::after,
.admin-nav-main .admin-nav-link.active::after,
.admin-nav-main .admin-nav-dropdown.active > .admin-nav-link::after,
.admin-nav-main .admin-nav-dropdown.open > .admin-nav-link::after { transform: scaleX(1); }
.admin-nav-icon {
  width: 18px;
  display: inline-flex;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}
.admin-view-site {
  border: 1px solid rgba(255,255,255,.3);
}
.admin-nav-dropdown,
.admin-user-dropdown {
  position: relative;
}
.admin-chevron {
  display: inline-block;
  margin-left: 1px;
  font-size: 1rem;
  transition: transform .18s ease;
}
.admin-nav-dropdown.open .admin-chevron,
.admin-user-dropdown.open .admin-chevron { transform: rotate(180deg); }
@media (min-width: 1021px) {
  .admin-nav-main > .admin-nav-link .admin-nav-icon,
  .admin-nav-main > .admin-nav-dropdown > .admin-nav-link .admin-nav-icon { display: none; }
  .admin-nav-main .admin-chevron,
  .admin-nav-main .admin-chevron-icon { width: 12px; height: 12px; }
}
.admin-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 20;
  width: 330px;
  padding: 8px;
  border: 1px solid #d8e3f0;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(4, 35, 76, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}
.admin-nav-dropdown.open > .admin-dropdown-menu,
.admin-user-dropdown.open > .admin-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.admin-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 24px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #d8e3f0;
  border-left: 1px solid #d8e3f0;
  background: #fff;
  transform: rotate(45deg);
}
.admin-dropdown-menu a {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}
.admin-dropdown-menu a + a { margin-top: 3px; }
.admin-dropdown-menu a:hover,
.admin-dropdown-menu a.active {
  background: var(--blue-light);
  color: var(--navy);
  text-decoration: none;
}
.admin-dropdown-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #edf4fc;
  color: var(--navy);
  font-size: 1rem;
}
.admin-dropdown-menu a strong,
.admin-dropdown-menu a small { display: block; }
.admin-dropdown-menu a strong { font-size: .86rem; line-height: 1.25; }
.admin-dropdown-menu a small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 500;
  line-height: 1.35;
}
.admin-user-button {
  max-width: 185px;
  justify-content: flex-start;
  padding: 7px 9px;
  text-align: left;
}
.admin-user-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: var(--gold);
  color: #1c2a3c;
  font-weight: 900;
}
.admin-user-copy {
  min-width: 0;
  display: block;
  line-height: 1.12;
}
.admin-user-copy small,
.admin-user-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-user-copy small { color: rgba(255,255,255,.66); font-size: .62rem; font-weight: 500; }
.admin-user-copy strong { max-width: 92px; color: #fff; font-size: .77rem; }
.admin-user-menu {
  right: 0;
  left: auto;
  width: 300px;
}
.admin-user-menu::before {
  right: 24px;
  left: auto;
}
.admin-user-menu .admin-logout-link { color: #a61b24; }
.admin-user-menu .admin-logout-link .admin-dropdown-icon { background: #fff0f1; color: #a61b24; }
.admin-main { padding-block: 34px 70px; }

@media (max-width: 1180px) {
  .admin-topbar-inner { gap: 14px; }
  .admin-brand { flex-basis: 210px; min-width: 210px; }
  .admin-brand-copy strong { max-width: 205px; }
  .admin-nav-link, .admin-view-site { padding-inline: 10px; }
  .admin-user-copy { display: none; }
  .admin-user-button { padding-inline: 6px; }
}

@media (max-width: 1020px) {
  .admin-topbar-inner { min-height: 68px; }
  .admin-brand { flex: 0 1 auto; min-width: 0; }
  .admin-menu-toggle { display: inline-flex; }
  .admin-primary-nav {
    position: absolute;
    top: calc(100% + 3px);
    right: 0;
    left: 0;
    max-height: calc(100vh - 82px);
    display: none;
    overflow-y: auto;
    padding: 13px;
    border: 1px solid #d3dfed;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: 0 18px 35px rgba(4,35,76,.22);
  }
  .admin-primary-nav.open { display: block; }
  .admin-nav-main,
  .admin-nav-utility {
    width: 100%;
    display: grid;
    gap: 5px;
  }
  .admin-nav-utility {
    margin-top: 10px;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .admin-nav-link,
  .admin-view-site,
  .admin-user-button {
    width: 100%;
    min-height: 47px;
    justify-content: flex-start;
    padding: 10px 13px;
    color: var(--navy);
  }
  .admin-nav-link:hover,
  .admin-view-site:hover,
  .admin-user-button:hover { background: #edf4fc; color: var(--navy); }
  .admin-nav-link.active,
  .admin-nav-dropdown.active > .admin-nav-link {
    background: var(--navy);
    color: #fff;
    box-shadow: none;
  }
  .admin-nav-main .admin-nav-link::after { right: 13px; left: 13px; }
  .admin-view-site { border-color: #cbd9e8; }
  .admin-nav-dropdown,
  .admin-user-dropdown { width: 100%; }
  .admin-dropdown-menu,
  .admin-user-menu {
    position: static;
    width: 100%;
    display: none;
    margin-top: 4px;
    padding: 5px 5px 5px 12px;
    border: 0;
    border-left: 3px solid #c8d9eb;
    border-radius: 0;
    background: #f7faff;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .admin-nav-dropdown.open > .admin-dropdown-menu,
  .admin-user-dropdown.open > .admin-dropdown-menu { display: block; }
  .admin-dropdown-menu::before { display: none; }
  .admin-user-avatar { width: 31px; height: 31px; flex-basis: 31px; }
  .admin-user-copy { display: block; }
  .admin-user-copy small { color: var(--muted); }
  .admin-user-copy strong { max-width: none; color: var(--navy); }
  .admin-user-button .admin-chevron { margin-left: auto; }
}

@media (max-width: 560px) {
  .admin-topbar .container { width: calc(100% - 20px); }
  .admin-brand { min-width: 0; gap: 8px; }
  .admin-brand-logo,
  .admin-brand-fallback { width: 36px; height: 36px; flex-basis: 36px; }
  .admin-brand-copy strong { max-width: 175px; font-size: .84rem; }
  .admin-brand-copy small { font-size: .58rem; }
  .admin-menu-toggle > span:last-child { display: none; }
  .admin-menu-toggle { padding: 10px; }
  .admin-primary-nav { padding: 10px; }
  .admin-dropdown-menu a { grid-template-columns: 30px minmax(0, 1fr); padding: 10px 8px; }
  .admin-dropdown-icon { width: 29px; height: 29px; }
  .admin-main { padding-block: 24px 55px; }
}

/* Specificity override for the original admin container rule. */
.admin-topbar .admin-topbar-inner {
  min-height: 68px;
  justify-content: flex-start;
}
@media (max-width: 1020px) {
  .admin-topbar .admin-topbar-inner { min-height: 68px; }
}

/* Issuance number download cue */
.issuance-download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.issuance-download-icon {
    font-size: 0.9em;
    font-weight: 700;
    line-height: 1;
}


/* Download library previews */
.download-card { overflow: hidden; }
.download-preview {
  height: 170px;
  margin: -24px -24px 18px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.download-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}


/* Clean outline icons and administrator profile picture */
.admin-icon-svg,
.admin-chevron-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}
.admin-nav-icon {
  width: 18px;
  height: 18px;
  align-items: center;
}
.admin-nav-icon .admin-icon-svg { width: 17px; height: 17px; }
.admin-chevron {
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  margin-left: 2px;
  transition: transform .18s ease;
}
.admin-chevron-icon { width: 14px; height: 14px; }
.admin-dropdown-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
}
.admin-dropdown-icon .admin-icon-svg { width: 18px; height: 18px; }
.admin-dropdown-menu a { grid-template-columns: 24px minmax(0, 1fr); }
.admin-user-menu .admin-logout-link .admin-dropdown-icon {
  background: transparent;
  color: #a61b24;
}
.admin-user-avatar { overflow: hidden; }
.admin-user-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.profile-settings-panel { max-width: 880px; }
.profile-settings-grid {
  display: grid;
  grid-template-columns: minmax(220px, 285px) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}
.profile-preview-box {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  text-align: center;
}
.profile-preview-box > strong { color: var(--navy); }
.profile-preview-box > span:last-child { color: var(--muted); font-size: .88rem; }
.profile-avatar-preview {
  width: 142px;
  height: 142px;
  display: block;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(4, 35, 76, .18);
}
.profile-avatar-fallback {
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #1c2a3c;
  font-size: 3.4rem;
  font-weight: 900;
}
.profile-avatar-preview[hidden],
.profile-avatar-fallback[hidden] { display: none; }
.settings-actions {
  display: flex;
  justify-content: flex-end;
  padding: 20px 26px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

@media (max-width: 700px) {
  .profile-settings-grid { grid-template-columns: 1fr; }
  .profile-settings-panel { max-width: none; }
  .settings-actions { justify-content: stretch; }
  .settings-actions .btn { width: 100%; }
}

/* Compact official logo download table */
.resource-page-heading {
  padding: 38px 0 30px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.resource-page-heading .eyebrow { margin-bottom: 6px; }
.resource-page-heading h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}
.resource-page-heading p:last-child {
  margin: 9px 0 0;
  color: var(--muted);
}
.logo-library-section {
  min-height: 420px;
  padding-top: 42px;
  background: #fff;
}
.resource-table-wrap {
  overflow-x: auto;
  border: 1px solid #cfd8e3;
  background: #fff;
}
.resource-download-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: #111827;
}
.resource-download-table th,
.resource-download-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #d5dce5;
  text-align: left;
  vertical-align: middle;
}
.resource-download-table th {
  background: #d9eef8;
  color: #111;
  font-weight: 700;
}
.resource-download-table tbody tr:nth-child(even) { background: #f8fafc; }
.resource-download-table tbody tr:hover { background: #eef7fc; }
.resource-download-table tbody tr:last-child td { border-bottom: 0; }
.resource-download-column { width: 250px; }
.resource-description-cell {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.resource-description-cell strong {
  display: block;
  color: var(--navy);
  line-height: 1.35;
}
.resource-description-cell p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .9rem;
}
.resource-logo-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.resource-logo-thumb img {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}
.resource-file-type {
  display: inline-block;
  margin-top: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
}
.resource-download-cell { text-align: center !important; }
.resource-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 165px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.resource-download-link:hover {
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}
.resource-download-link svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

@media (max-width: 680px) {
  .resource-page-heading { padding: 28px 0 24px; }
  .logo-library-section { padding-top: 28px; }
  .resource-table-wrap { overflow: visible; border: 0; }
  .resource-download-table { min-width: 0; }
  .resource-download-table thead { display: none; }
  .resource-download-table,
  .resource-download-table tbody,
  .resource-download-table tr,
  .resource-download-table td { display: block; width: 100%; }
  .resource-download-table tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff !important;
    box-shadow: 0 5px 14px rgba(18,48,84,.06);
  }
  .resource-download-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }
  .resource-download-table td:last-child { border-bottom: 0; }
  .resource-download-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  .resource-description-cell { align-items: flex-start; }
  .resource-logo-thumb { flex-basis: 64px; width: 64px; height: 64px; }
  .resource-download-cell { text-align: left !important; }
  .resource-download-link { width: 100%; }
}


/* Transparency dropdown and document register */
.transparency-menu { width: 285px; }
.transparency-menu a.active { background: var(--blue-light); font-weight: 700; }
.transparency-section { min-height: 430px; }
.transparency-table-wrap { border-radius: 0; }
.transparency-table { min-width: 760px; }
.transparency-table th { background: #d9eef8; color: #111; }
.transparency-table th,
.transparency-table td { vertical-align: top; }
.transparency-table td p { margin: 5px 0 0; color: var(--muted); }
.transparency-date-cell { width: 170px; white-space: nowrap; }
.transparency-download-cell { width: 190px; text-align: center; }
.transparency-admin-fields[hidden] { display: none !important; }

@media (max-width: 720px) {
  .transparency-table-wrap { overflow: visible; border: 0; }
  .transparency-table { min-width: 0; }
  .transparency-table thead { display: none; }
  .transparency-table,
  .transparency-table tbody,
  .transparency-table tr,
  .transparency-table td { display: block; width: 100%; }
  .transparency-table tr {
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }
  .transparency-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
  .transparency-table td:last-child { border-bottom: 0; }
  .transparency-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--navy);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .transparency-table td:nth-child(1)::before { content: 'Date Uploaded'; }
  .transparency-table td:nth-child(2)::before { content: 'Description'; }
  .transparency-table td:nth-child(3)::before { content: 'Download'; }
  .transparency-date-cell { white-space: normal; }
  .transparency-download-cell { text-align: left; }
  .transparency-download-cell .btn { width: 100%; }
}


/* =========================================================
   Balanced color system across the public site and admin CMS
   ========================================================= */
:root {
  --green: #16845b;
  --green-soft: #eaf8f1;
  --orange: #d97706;
  --orange-soft: #fff5df;
  --purple: #7145c6;
  --purple-soft: #f3efff;
  --cyan: #087f9b;
  --cyan-soft: #e9f9fc;
  --rose: #bd2942;
  --rose-soft: #fff0f3;
}

/* Shared surfaces, controls, and visual feedback */
.btn {
  box-shadow: 0 4px 10px rgba(14, 55, 102, .08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { box-shadow: 0 7px 15px rgba(14, 55, 102, .16); }
.btn-primary { background: linear-gradient(135deg, #0b68bf, var(--blue)); }
.btn-primary:hover { background: linear-gradient(135deg, var(--navy), #0a4f96); }
.btn-light { background: #f8fbff; border-color: #c8d8eb; }
.btn-light:hover { background: var(--blue-light); border-color: #9bbce0; color: var(--navy); }
.btn-danger { background: linear-gradient(135deg, #d23b4e, #a7192a); }

input, textarea, select {
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:hover, textarea:hover, select:hover { border-color: #9fb8d3; }
input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 92, 171, .12);
}
.form-group label { color: #173b68; }

.alert {
  border-left-width: 5px;
  box-shadow: 0 5px 14px rgba(18, 48, 84, .06);
}
.alert-success { border-left-color: var(--green); }
.alert-error { border-left-color: var(--rose); }

.table-wrap {
  border-top: 4px solid var(--blue);
  box-shadow: 0 8px 22px rgba(18, 48, 84, .07);
}
th { background: linear-gradient(180deg, #eaf5ff, #dcecfb); }
tbody tr { transition: background .16s ease; }
tbody tr:nth-child(even) { background: #fbfdff; }
tbody tr:hover { background: #eef7ff; }
.tag { border: 1px solid #bed7ef; background: #e8f4ff; }

.panel {
  border-color: #cfdaea;
  box-shadow: 0 10px 26px rgba(18, 48, 84, .08);
}
.panel-header {
  position: relative;
  background: linear-gradient(110deg, var(--navy-dark), var(--navy) 62%, #0b5cab);
  border-left: 5px solid var(--gold);
}
.panel-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 62%);
  opacity: .9;
}

/* Public-facing sections */
.page-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(244, 196, 48, .22), transparent 24%),
    linear-gradient(115deg, var(--navy-dark), var(--navy) 52%, #0b66b9);
}
.content-card {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--blue);
  transition: transform .2s ease, box-shadow .2s ease;
}
.content-card:nth-child(3n + 2) { border-top-color: var(--green); }
.content-card:nth-child(3n + 3) { border-top-color: var(--orange); }
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(18, 48, 84, .12);
}
.content-card::after {
  content: "";
  position: absolute;
  top: -28px;
  right: -28px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(11, 92, 171, .06);
}
.dropdown-menu a:hover,
.dropdown-menu a.active { background: linear-gradient(90deg, var(--blue-light), #f8fbff); }
.resource-download-table th,
.transparency-table th,
.school-directory-table th {
  background: linear-gradient(180deg, #dff2fb, #cde9f7);
  color: #0a315d;
}
.resource-download-table tbody tr:hover,
.transparency-table tbody tr:hover,
.school-directory-table tbody tr:hover { background: #edf8ff; }
.resource-file-type { border: 1px solid #c5dbef; }
.site-footer { background: linear-gradient(115deg, #031a38, #062a5a 58%, #083e78); }
.footer-quicklinks summary { border-left: 3px solid var(--gold); }

/* Administrator background and headings */
.admin-shell {
  background:
    radial-gradient(circle at 92% 8%, rgba(11, 92, 171, .09), transparent 24%),
    radial-gradient(circle at 8% 92%, rgba(22, 132, 91, .07), transparent 26%),
    #eef4fb;
}
.admin-main .section-heading {
  padding: 18px 20px;
  border: 1px solid #d4e1ef;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 7px 18px rgba(18, 48, 84, .06);
}
.admin-main .section-heading .eyebrow { color: var(--blue); }
.admin-main .section-heading h2 { color: #062f63; }

/* Color-coded administrator dashboard cards */
.dashboard-grid { gap: 18px; }
.dashboard-card {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid transparent;
  border-top: 5px solid var(--card-accent, var(--blue));
  background: var(--card-soft, #eef6ff);
  box-shadow: 0 9px 22px rgba(18, 48, 84, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dashboard-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--card-accent, var(--blue));
  opacity: .09;
}
.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(18, 48, 84, .14);
}
.dashboard-card span {
  position: relative;
  z-index: 1;
  color: #29445f;
  font-weight: 700;
}
.dashboard-card strong {
  position: relative;
  z-index: 1;
  color: var(--card-accent, var(--navy));
}
.dashboard-card--announcements { --card-accent: #1670c5; --card-soft: #edf6ff; }
.dashboard-card--issuances { --card-accent: var(--rose); --card-soft: var(--rose-soft); }
.dashboard-card--downloads { --card-accent: var(--orange); --card-soft: var(--orange-soft); }
.dashboard-card--slides { --card-accent: var(--purple); --card-soft: var(--purple-soft); }
.dashboard-card--schools { --card-accent: var(--green); --card-soft: var(--green-soft); }
.dashboard-card--inquiries { --card-accent: var(--cyan); --card-soft: var(--cyan-soft); }

/* Premium cylinder-fill overview for the administrator dashboard. */
.dashboard-cylinder-panel {
  margin: 20px 0 28px;
  overflow: hidden;
  border: 1px solid #cbd9e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(18, 48, 84, .08);
}
.dashboard-cylinder-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 17px;
  border-top: 4px solid var(--blue);
  border-bottom: 1px solid #cbd9e8;
  background: linear-gradient(180deg, #f8fbff, #edf5fd);
}
.dashboard-cylinder-panel-header h3 {
  margin: 0;
  color: #082f60;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.dashboard-cylinder-panel-header > span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
}
.dashboard-cylinder-caption {
  margin: 16px 20px 5px;
  color: #6a84a2;
  font-size: .76rem;
  font-weight: 600;
  text-align: center;
}
.dashboard-cylinder-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  gap: 18px;
  padding: 8px 24px 28px;
}
.dashboard-cylinder-metric {
  --accent: #138bd2;
  --accent-dark: #05619d;
  --accent-light: #63c7f3;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease;
}
.dashboard-cylinder-metric:hover {
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-4px);
}
.dashboard-cylinder-value {
  color: var(--accent-dark);
  font-size: 1.28rem;
  line-height: 1;
}
.dashboard-cylinder-value small {
  display: block;
  margin-top: 3px;
  color: #6e8198;
  font-size: .58rem;
  font-weight: 600;
  text-transform: uppercase;
}
.dashboard-cylinder-shell {
  position: relative;
  width: 70px;
  height: 145px;
  display: block;
  margin: 12px 0 14px;
  overflow: visible;
  border-right: 6px solid #747d84;
  border-left: 6px solid #747d84;
  border-radius: 0;
  background: linear-gradient(90deg, #d3e0e9 0%, #eef5fa 22%, #dfeaf2 50%, #f5f9fc 78%, #ccd8e1 100%);
  box-shadow: inset 8px 0 10px rgba(255,255,255,.62), inset -8px 0 10px rgba(49,66,82,.12), 0 7px 15px rgba(13,45,76,.2);
}
.dashboard-cylinder-shell::before,
.dashboard-cylinder-shell::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: -9px;
  left: -9px;
  height: 11px;
  border-radius: 1px;
  background: linear-gradient(90deg, #252b2f 0%, #9da5aa 10%, #f4f6f7 22%, #686f74 36%, #f7f8f9 50%, #666d72 64%, #f0f2f3 80%, #2c3236 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.dashboard-cylinder-shell::before { top: -2px; }
.dashboard-cylinder-shell::after { bottom: -2px; }
.dashboard-cylinder-liquid {
  position: absolute;
  z-index: 1;
  right: 4px;
  bottom: 5px;
  left: 4px;
  height: min(var(--fill), calc(100% - 10px));
  display: block;
  border-top: 4px solid var(--accent-dark);
  border-radius: 0;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent) 27%, var(--accent-light) 55%, var(--accent) 78%, var(--accent-dark));
  box-shadow: inset 8px 0 10px rgba(255,255,255,.3), inset -6px 0 9px rgba(0,0,0,.2), 0 0 9px color-mix(in srgb, var(--accent) 38%, transparent);
  transition: height .45s ease;
}
.dashboard-cylinder-liquid::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 5px;
  left: 9px;
  width: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.32);
}
.dashboard-cylinder-liquid::after { content: none; }
.dashboard-cylinder-metric.is-empty .dashboard-cylinder-liquid { display: none; }
.dashboard-cylinder-label {
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.25;
}
.dashboard-cylinder-metric--rose { --accent: #e43f5f; --accent-dark: #ad1634; --accent-light: #ff8ca1; }
.dashboard-cylinder-metric--orange { --accent: #f58a13; --accent-dark: #b94f00; --accent-light: #ffc467; }
.dashboard-cylinder-metric--teal { --accent: #16a493; --accent-dark: #087365; --accent-light: #65d7c9; }
.dashboard-cylinder-metric--purple { --accent: #8657d5; --accent-dark: #5d2eae; --accent-light: #bda0ee; }
.dashboard-cylinder-metric--green { --accent: #45a936; --accent-dark: #28771f; --accent-light: #8edc75; }
.dashboard-cylinder-metric--cyan { --accent: #16a7c0; --accent-dark: #077287; --accent-light: #7ad8e7; }

@media (max-width: 900px) {
  .dashboard-cylinder-grid { grid-template-columns: repeat(4, minmax(90px, 1fr)); }
}
@media (max-width: 600px) {
  .dashboard-cylinder-grid { grid-template-columns: repeat(2, minmax(100px, 1fr)); padding-inline: 16px; }
}

.high-contrast .dashboard-cylinder-panel,
.high-contrast .dashboard-cylinder-panel-header { border-color: currentColor; background: #000; }
.high-contrast .dashboard-cylinder-panel-header h3,
.high-contrast .dashboard-cylinder-caption,
.high-contrast .dashboard-cylinder-value,
.high-contrast .dashboard-cylinder-value small,
.high-contrast .dashboard-cylinder-label { color: #fff; }

/* Colored checklist links */
.admin-checklist-panel { overflow: hidden; }
.admin-checklist-links { padding-top: 11px; }
.admin-checklist-links .checklist-link {
  --check-accent: var(--blue);
  margin: 0 14px;
  padding: 15px 13px 15px 17px;
  border-left: 4px solid var(--check-accent);
  border-radius: 7px;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}
.admin-checklist-links .checklist-link + .checklist-link { margin-top: 5px; }
.admin-checklist-links .checklist-link:hover {
  background: color-mix(in srgb, var(--check-accent) 9%, white);
  color: #06336e;
  text-decoration: none;
  transform: translateX(3px);
}
.checklist-link--schools { --check-accent: var(--green) !important; }
.checklist-link--slides { --check-accent: var(--purple) !important; }
.checklist-link--settings { --check-accent: var(--orange) !important; }
.checklist-link--content { --check-accent: var(--blue) !important; }
.checklist-link--inquiries { --check-accent: var(--cyan) !important; }

/* Color accents for administrator forms, lists, and editors */
.admin-main form.panel,
.admin-school-form-panel,
.slider-editor,
.slider-list-panel,
.settings-panel,
.profile-settings-panel {
  border-top: 4px solid var(--blue);
}
.settings-section:nth-of-type(odd) { background: #fbfdff; }
.settings-section-heading {
  padding-left: 13px;
  border-left: 4px solid var(--green);
}
.settings-section:nth-of-type(even) .settings-section-heading { border-left-color: var(--purple); }
.admin-slide-card {
  border-top: 4px solid var(--purple);
  box-shadow: 0 8px 20px rgba(68, 45, 122, .08);
}
.logo-preview-box,
.profile-preview-box { background: linear-gradient(145deg, #f7fbff, #eef6ff); }
.checkbox-row { border-left: 4px solid var(--orange); }
.settings-actions { background: linear-gradient(90deg, #f6faff, #eef5fd); }

.admin-dropdown-menu a:nth-child(1) .admin-dropdown-icon { color: var(--blue); }
.admin-dropdown-menu a:nth-child(2) .admin-dropdown-icon { color: var(--purple); }
.admin-dropdown-menu a:nth-child(3) .admin-dropdown-icon { color: var(--green); }
.admin-dropdown-menu a:hover,
.admin-dropdown-menu a.active { background: linear-gradient(90deg, #eaf4ff, #f8fbff); }

/* Preserve strong accessibility when high-contrast mode is enabled. */
.high-contrast .dashboard-card,
.high-contrast .content-card,
.high-contrast .admin-main .section-heading,
.high-contrast .panel,
.high-contrast .table-wrap {
  border-color: #000 !important;
  background: #fff !important;
  box-shadow: none !important;
}
.high-contrast .dashboard-card strong,
.high-contrast .dashboard-card span { color: #000 !important; }
.high-contrast .admin-checklist-links .checklist-link { border-left-color: #000 !important; }

@media (max-width: 720px) {
  .admin-main .section-heading { padding: 15px; }
  .dashboard-card { min-height: 112px; }
  .admin-checklist-links .checklist-link { margin-inline: 8px; }
}

/* Officials card pictures and Admin upload controls */
.officials-card-grid { align-items: stretch; }
.official-card {
  min-height: 560px;
  padding: 0;
}
.official-card::after { display: none; }
.official-card-photo,
.official-card-placeholder {
  width: 100%;
  height: 420px;
  flex: 0 0 420px;
}
.official-card-photo {
  display: block;
  object-fit: cover;
  object-position: center top;
  background: #eef4fb;
}
.official-card-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .9);
  background:
    radial-gradient(circle at 70% 22%, rgba(244, 196, 48, .35), transparent 26%),
    linear-gradient(135deg, var(--navy), var(--blue));
}
.official-card-placeholder svg { width: 74px; height: 74px; }
.official-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 24px 20px;
}
.official-card-body h3 { margin: 7px 0 8px; }
.official-card-body p { margin-bottom: 0; }

.official-image-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.official-image-settings-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(18, 48, 84, .07);
}
.official-image-settings-card:nth-child(2) { border-top-color: var(--green); }
.official-image-settings-card:nth-child(3) { border-top-color: var(--orange); }
.official-image-preview-box {
  height: 190px;
  background: linear-gradient(145deg, #f7fbff, #eaf3fd);
  border-bottom: 1px solid var(--line);
}
.official-image-settings-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.official-image-settings-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}
.official-image-settings-fallback svg { width: 58px; height: 58px; color: var(--blue); }
.official-image-settings-fallback span { font-size: .86rem; font-weight: 700; }
.official-image-settings-body { padding: 18px; }
.official-image-settings-body h4 { margin: 0 0 15px; color: var(--navy); }
.official-image-settings-body .checkbox-row { margin-top: 12px; }

@media (max-width: 980px) {
  .official-image-settings-grid { grid-template-columns: 1fr; }
  .official-image-settings-card {
    display: grid;
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  }
  .official-image-preview-box { height: 100%; min-height: 220px; border-right: 1px solid var(--line); border-bottom: 0; }
}

@media (max-width: 640px) {
  .official-card { min-height: 480px; }
  .official-card-photo,
  .official-card-placeholder { height: 360px; flex-basis: 360px; }
  .official-image-settings-card { display: block; }
  .official-image-preview-box { height: 210px; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

.high-contrast .official-card-placeholder,
.high-contrast .official-image-settings-fallback { background: #000; color: #fff; }
.official-image-settings-preview[hidden],
.official-image-settings-fallback[hidden] { display: none !important; }


/* Unread inquiry notification badge in the administrator navigation */
.admin-notification-badge {
  min-width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 2px;
  padding: 0 6px;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  box-shadow: 0 2px 7px rgba(127, 29, 29, .34);
  font-size: .69rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}
.admin-nav-link.active .admin-notification-badge {
  border-color: #fff;
}
@media (max-width: 1020px) {
  .admin-nav-link .admin-notification-badge {
    margin-left: auto;
  }
}

/* =========================================================
   Compact Content Manager
   ========================================================= */
.content-manager-heading { margin-bottom: 18px; }
.content-filter-panel {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #cfdaea;
  border-left: 5px solid var(--cyan);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 48, 84, .07);
}
.content-filter-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.45fr) repeat(5, minmax(125px, 1fr));
  gap: 12px;
  align-items: end;
}
.content-filter-grid label {
  display: block;
  margin-bottom: 5px;
  color: #173b68;
  font-size: .78rem;
  font-weight: 700;
}
.content-filter-grid input,
.content-filter-grid select { width: 100%; min-height: 42px; }
.content-filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}
.content-result-count {
  margin-left: auto;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}
.content-bulk-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid #cfdaea;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #fff, #f5f9fd);
}
.content-bulk-left,
.content-bulk-actions,
.content-select-all-label {
  display: flex;
  align-items: center;
  gap: 9px;
}
.content-select-all-label { cursor: pointer; font-weight: 700; }
.content-selected-count { color: var(--muted); font-size: .82rem; }
.content-bulk-actions select { min-width: 165px; min-height: 38px; }
.content-bulk-actions .btn { min-height: 38px; padding-block: 8px; }
.content-table-wrap {
  max-height: min(68vh, 760px);
  overflow: auto;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}
.content-manager-table {
  min-width: 930px;
  table-layout: fixed;
}
.content-manager-table th,
.content-manager-table td { padding: 9px 12px; vertical-align: middle; }
.content-manager-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  box-shadow: inset 0 -1px 0 #c8d8e8;
}
.content-manager-table th:nth-child(1) { width: 42px; }
.content-manager-table th:nth-child(2) { width: 36%; }
.content-manager-table th:nth-child(3) { width: 25%; }
.content-manager-table th:nth-child(4) { width: 105px; }
.content-manager-table th:nth-child(5) { width: 120px; }
.content-manager-table th:nth-child(6) { width: 110px; }
.content-manager-table tbody tr { height: 68px; }
.content-check-column,
.content-check-cell { text-align: center; }
.content-check-cell input,
.content-select-all-label input { width: 17px; height: 17px; accent-color: var(--blue); }
.content-title-cell { display: flex; align-items: center; gap: 11px; min-width: 0; }
.content-thumbnail {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #cad9e8;
  border-radius: 9px;
  background: linear-gradient(145deg, #eef6ff, #fff);
  color: var(--blue);
}
.content-thumbnail img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.content-thumbnail-icon { width: 22px; height: 22px; }
.content-thumbnail small {
  position: absolute;
  right: 3px;
  bottom: 2px;
  padding: 1px 3px;
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-size: .46rem;
  line-height: 1.2;
}
.content-title-copy { min-width: 0; }
.content-title-copy strong,
.content-title-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.content-title-copy strong { color: #082f62; font-size: .92rem; }
.content-title-copy small { max-width: 360px; margin-top: 4px; color: var(--muted); font-size: .74rem; }
.content-type-badge,
.content-status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  line-height: 1;
}
.content-type-announcement { background: #e7f2ff; color: #0758a4; }
.content-type-issuance { background: var(--rose-soft); color: var(--rose); }
.content-type-download { background: var(--orange-soft); color: #9b5600; }
.content-type-program { background: var(--purple-soft); color: var(--purple); }
.content-type-transparency { background: var(--green-soft); color: var(--green); }
.content-category-label { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; line-height: 1.25; }
.content-status-published { background: var(--green-soft); color: #09643f; }
.content-status-draft { background: #eef1f5; color: #4c596a; }
.content-date-cell { white-space: nowrap; color: #314b69; font-size: .82rem; }
.content-actions-cell { position: relative; }
.content-row-actions { width: 100%; }
.content-row-actions summary {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #bed0e4;
  border-radius: 8px;
  background: #f8fbff;
  color: #0a407b;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  list-style: none;
}
.content-row-actions summary::-webkit-details-marker { display: none; }
.content-row-actions[open] summary { border-color: var(--blue); background: var(--blue-light); }
.content-row-actions-menu {
  display: grid;
  gap: 3px;
  margin-top: 5px;
  padding: 5px;
  border: 1px solid #c8d6e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(18, 48, 84, .11);
}
.content-row-actions-menu a,
.content-row-actions-menu button {
  width: 100%;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #173b68;
  cursor: pointer;
  font: inherit;
  font-size: .75rem;
  font-weight: 700;
  text-align: left;
}
.content-row-actions-menu a:hover,
.content-row-actions-menu button:hover { background: #edf6ff; }
.content-row-actions-menu button { color: #ad1d31; }
.content-empty-cell { padding: 38px !important; text-align: center; color: var(--muted); }
.content-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}
.content-pagination span { color: var(--muted); font-size: .85rem; font-weight: 700; }
.content-pagination .disabled { pointer-events: none; opacity: .5; }

@media (max-width: 1180px) {
  .content-filter-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
  .content-filter-search { grid-column: span 2; }
}
@media (max-width: 720px) {
  .content-filter-grid { grid-template-columns: 1fr 1fr; }
  .content-filter-search { grid-column: 1 / -1; }
  .content-filter-actions { flex-wrap: wrap; }
  .content-result-count { width: 100%; margin-left: 0; }
  .content-bulk-toolbar { align-items: flex-start; flex-direction: column; }
  .content-bulk-actions { width: 100%; }
  .content-bulk-actions select { flex: 1; min-width: 0; }
  .content-table-wrap { max-height: 64vh; }
}
@media (max-width: 480px) {
  .content-filter-grid { grid-template-columns: 1fr; }
  .content-filter-search { grid-column: auto; }
}

/* Searchable Forms download register */
.forms-library-section {
  min-height: 440px;
  padding-top: 42px;
  background: #fff;
}
.forms-library-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.forms-search-form {
  flex: 1 1 680px;
  max-width: 820px;
}
.forms-search-form > label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 700;
}
.forms-search-controls {
  display: flex;
  gap: 8px;
}
.forms-search-controls input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #b9c9dc;
  border-radius: 7px;
  background: #fff;
  color: var(--text);
}
.forms-search-controls input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(15, 94, 168, .13);
}
.forms-result-count {
  flex: 0 0 auto;
  margin: 0 0 11px;
  color: var(--muted);
  font-size: .9rem;
  white-space: nowrap;
}
.forms-download-table { min-width: 760px; }
.forms-download-table th:first-child { width: auto; }
.forms-download-table th:last-child { width: 270px; }
.forms-download-table td { padding-top: 10px; padding-bottom: 10px; }
.forms-download-table .resource-description-cell { gap: 12px; }
.resource-file-icon {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #53657c;
}
.resource-file-icon svg {
  width: 38px;
  height: 45px;
}
.resource-file-icon small {
  position: absolute;
  left: 50%;
  bottom: 7px;
  max-width: 37px;
  padding: 1px 4px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: #53657c;
  color: #fff;
  font-size: .52rem;
  font-weight: 800;
  line-height: 1.25;
}
.resource-file-icon--pdf { color: #c62828; }
.resource-file-icon--pdf small { background: #c62828; }
.resource-file-icon--doc,
.resource-file-icon--docx { color: #265bb5; }
.resource-file-icon--doc small,
.resource-file-icon--docx small { background: #265bb5; }
.resource-file-icon--xls,
.resource-file-icon--xlsx,
.resource-file-icon--csv { color: #18864b; }
.resource-file-icon--xls small,
.resource-file-icon--xlsx small,
.resource-file-icon--csv small { background: #18864b; }
.resource-file-icon--ppt,
.resource-file-icon--pptx { color: #d45a2e; }
.resource-file-icon--ppt small,
.resource-file-icon--pptx small { background: #d45a2e; }
.resource-file-icon--zip,
.resource-file-icon--rar { color: #7255a5; }
.resource-file-icon--zip small,
.resource-file-icon--rar small { background: #7255a5; }
.forms-download-table .resource-download-link small {
  font-size: .7rem;
  font-weight: 700;
  opacity: .86;
}
.forms-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}
.forms-pagination a,
.forms-pagination span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.forms-pagination a:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}
.forms-pagination span { color: var(--muted); font-weight: 600; }

@media (max-width: 760px) {
  .forms-library-section { padding-top: 28px; }
  .forms-library-toolbar { display: block; }
  .forms-search-form { max-width: none; }
  .forms-search-controls { flex-wrap: wrap; }
  .forms-search-controls input { flex-basis: 100%; }
  .forms-search-controls .btn { flex: 1 1 120px; }
  .forms-result-count { margin-top: 12px; white-space: normal; }
  .forms-download-table { min-width: 0; }
  .forms-pagination { flex-wrap: wrap; gap: 8px; }
  .forms-pagination span { order: -1; flex-basis: 100%; }
}

/* Searchable transparency tables used by every Transparency submenu */
.transparency-register-section {
  min-height: 430px;
  padding-top: 42px;
  background: #fff;
}
.transparency-register-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.transparency-register-count {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.transparency-search-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-left: auto;
}
.transparency-search-form label {
  color: #111827;
  font-weight: 700;
  white-space: nowrap;
}
.transparency-search-form input[type="search"] {
  width: min(320px, 34vw);
  min-height: 42px;
  padding: 8px 12px;
}
.transparency-search-form .btn {
  min-height: 42px;
  padding: 8px 14px;
}
.transparency-register-wrap {
  overflow-x: auto;
  border: 1px solid #d1d9e2;
  background: #fff;
}
.transparency-download-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: #111827;
}
.transparency-download-table th,
.transparency-download-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #d8dde4;
  text-align: left;
  vertical-align: middle;
}
.transparency-download-table th {
  background: #d9eef8;
  color: #111;
  font-weight: 700;
}
.transparency-download-table tbody tr:nth-child(even) { background: #f7f7f7; }
.transparency-download-table tbody tr:hover { background: #eef7fc; }
.transparency-download-table tbody tr:last-child td { border-bottom: 0; }
.transparency-register-download-column { width: 200px; }
.transparency-register-download-cell { white-space: nowrap; }
.transparency-register-download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0784cc;
  font-weight: 700;
  text-decoration: none;
}
.transparency-register-download-link:hover {
  color: var(--navy);
  text-decoration: underline;
}
.transparency-register-download-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.transparency-register-view-link svg { display: none; }
.transparency-register-title-cell strong {
  color: #111827;
  font-weight: 600;
}
.transparency-register-title-cell p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .88rem;
}
.transparency-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 14px;
}
.transparency-pagination a {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid transparent;
  color: #475569;
  text-decoration: none;
}
.transparency-pagination a:hover {
  border-color: #9eb2c7;
  background: #f8fafc;
  color: var(--navy);
}
.transparency-page-number.active {
  border-color: #111827;
  background: #fff;
  color: #111827;
  font-weight: 700;
}
.transparency-page-arrow { font-size: 1.2rem; }

@media (max-width: 760px) {
  .transparency-register-section { padding-top: 28px; }
  .transparency-register-toolbar { display: block; }
  .transparency-search-form {
    flex-wrap: wrap;
    justify-content: stretch;
    margin-top: 12px;
  }
  .transparency-search-form label { flex-basis: 100%; }
  .transparency-search-form input[type="search"] { width: 100%; flex-basis: 100%; }
  .transparency-search-form .btn { flex: 1 1 110px; }
  .transparency-register-wrap { overflow: visible; border: 0; }
  .transparency-download-table { min-width: 0; }
  .transparency-download-table thead { display: none; }
  .transparency-download-table,
  .transparency-download-table tbody,
  .transparency-download-table tr,
  .transparency-download-table td { display: block; width: 100%; }
  .transparency-download-table tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff !important;
    box-shadow: 0 5px 14px rgba(18,48,84,.06);
  }
  .transparency-download-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
  }
  .transparency-download-table td:last-child { border-bottom: 0; }
  .transparency-download-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .transparency-register-download-cell { white-space: normal; }
  .transparency-pagination { justify-content: center; flex-wrap: wrap; }
}

/* =========================================================
   Curriculum navigation and materials library
   ========================================================= */
.curriculum-nav-dropdown .curriculum-cascade-menu {
  left: 0;
  width: 190px;
  padding: 0;
  border-radius: 0;
}
.curriculum-cascade-menu .dropdown-submenu > button,
.curriculum-level-menu .dropdown-submenu > button,
.curriculum-grade-menu .dropdown-submenu > button,
.curriculum-subject-menu .dropdown-submenu > button {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid #eef1f5;
  border-radius: 0;
  color: #000;
  font-size: .74rem;
  font-weight: 400;
  line-height: 1.3;
}
.curriculum-cascade-menu .dropdown-submenu > button > span:first-child,
.curriculum-level-menu .dropdown-submenu > button > span:first-child,
.curriculum-grade-menu .dropdown-submenu > button > span:first-child,
.curriculum-subject-menu .dropdown-submenu > button > span:first-child {
  min-width: 0;
  color: #000 !important;
  font-size: inherit;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.curriculum-cascade-menu .dropdown-submenu > button > span:last-child,
.curriculum-level-menu .dropdown-submenu > button > span:last-child,
.curriculum-grade-menu .dropdown-submenu > button > span:last-child,
.curriculum-subject-menu .dropdown-submenu > button > span:last-child {
  color: #000;
  font-size: .9rem;
}
.curriculum-level-menu { width: 160px; }
.curriculum-grade-menu { width: 150px; }
.curriculum-subject-menu { width: 230px; }
.curriculum-level-menu,
.curriculum-grade-menu,
.curriculum-subject-menu {
  padding: 0;
  border-radius: 0;
}
.curriculum-file-menu {
  width: 240px;
  max-height: min(72vh, 610px);
  overflow-y: auto;
  padding: 0;
  border-radius: 0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.submenu-menu.opens-left {
  right: calc(100% - 2px);
  left: auto;
}
.curriculum-subject-submenu > button {
  justify-content: flex-start;
}
.curriculum-subject-submenu > button small {
  margin-left: auto;
  min-width: 20px;
  padding: 2px 5px;
  border-radius: 999px;
  background: #eef1f5;
  color: #000;
  font-size: .66rem;
  font-weight: 400;
  text-align: center;
}
.curriculum-nav-file-link {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px 16px !important;
  border-bottom: 1px solid #eef1f5;
  border-radius: 0 !important;
}
.curriculum-nav-file-link:last-child { border-bottom: 0; }
.curriculum-nav-file-link span,
.curriculum-nav-file-link strong,
.curriculum-nav-file-link small { display: block; }
.curriculum-nav-file-link strong {
  color: #000;
  font-size: .74rem;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.curriculum-nav-file-link small { margin-top: 2px; color: #000; font-size: .64rem; font-weight: 400; }
.curriculum-no-files {
  display: block;
  padding: 12px 16px !important;
  border-radius: 0 !important;
  color: #000;
  font-size: .72rem;
  font-style: normal;
  font-weight: 400;
  text-align: center;
}

.curriculum-library-section { padding-top: 48px; }
.curriculum-intro {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(600px, 1.5fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 28px;
}
.curriculum-intro h2,
.curriculum-results-heading h3,
.curriculum-filter-heading h3 { margin: 0; color: var(--navy); font-family: Arial, Helvetica, sans-serif; }
.curriculum-intro > div > p:last-child,
.curriculum-results-heading p,
.curriculum-filter-heading p { margin: 6px 0 0; color: var(--muted); }
.curriculum-path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.curriculum-path li {
  position: relative;
  min-width: 0;
  padding: 0 8px;
  text-align: center;
}
.curriculum-path li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 15px;
  left: calc(50% + 16px);
  width: calc(100% - 32px);
  height: 3px;
  background: #cbd9e8;
}
.curriculum-path span {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  border: 3px solid #d8e7f5;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
}
.curriculum-path li:last-child span { border-color: #ffe17c; background: #b97a00; }
.curriculum-path strong {
  display: block;
  overflow: hidden;
  color: #34506f;
  font-size: .72rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.curriculum-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 25px;
}
.curriculum-entry-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid #cfdaea;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff, #f5faff);
  box-shadow: 0 8px 20px rgba(18, 48, 84, .07);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.curriculum-entry-card:hover,
.curriculum-entry-card.active {
  transform: translateY(-2px);
  border-color: #76a9d7;
  box-shadow: 0 12px 24px rgba(18, 48, 84, .13);
  text-decoration: none;
}
.curriculum-entry-card.active { box-shadow: inset 0 0 0 2px var(--blue), 0 12px 24px rgba(18, 48, 84, .13); }
.curriculum-entry-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy), #0b6aba);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: inset 0 -8px 16px rgba(0,0,0,.12);
}
.curriculum-entry-card--learning .curriculum-entry-icon { background: linear-gradient(145deg, #19704e, #24a777); }
.curriculum-entry-card small,
.curriculum-entry-card strong,
.curriculum-entry-card em { display: block; }
.curriculum-entry-card small { color: var(--muted); font-size: .72rem; font-weight: 700; }
.curriculum-entry-card strong { color: var(--navy); font-size: 1.02rem; }
.curriculum-entry-card em { margin-top: 3px; color: var(--blue); font-size: .72rem; font-style: normal; }

.curriculum-filter-panel {
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid #ccd9e8;
  border-top: 5px solid var(--blue);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 48, 84, .08);
}
.curriculum-filter-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.curriculum-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(135px, 1fr)) minmax(180px, 1.3fr) auto;
  gap: 12px;
  align-items: end;
}
.curriculum-filter-grid .form-group { margin: 0; }
.curriculum-filter-grid label { font-size: .79rem; }
.curriculum-filter-action .btn { white-space: nowrap; }
.curriculum-results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.curriculum-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 48, 84, .07);
}
.curriculum-material-table { min-width: 960px; }
.curriculum-material-table th { font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
.curriculum-material-table td { vertical-align: middle; }
.curriculum-material-title { display: flex; align-items: flex-start; gap: 11px; min-width: 280px; }
.curriculum-file-badge {
  min-width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 5px;
  border-radius: 9px;
  background: linear-gradient(145deg, #dceeff, #bcdcff);
  color: var(--navy);
  font-size: .68rem;
  font-weight: 900;
}
.curriculum-material-title strong,
.curriculum-material-title small,
.curriculum-classification,
.curriculum-classification small,
.curriculum-file-details,
.curriculum-file-details small { display: block; }
.curriculum-material-title strong { color: var(--navy); line-height: 1.35; }
.curriculum-material-title small,
.curriculum-classification small,
.curriculum-file-details small { margin-top: 3px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.curriculum-classification { min-width: 210px; font-weight: 700; }
.curriculum-file-details { max-width: 250px; overflow-wrap: anywhere; }
.curriculum-download-column,
.curriculum-download-cell { width: 120px; text-align: center; }
.curriculum-download-cell .btn { min-height: 38px; padding: 7px 13px; }
.curriculum-pagination { margin-top: 16px; }
.curriculum-empty-state strong,
.curriculum-empty-state span { display: block; }
.curriculum-empty-state strong { color: var(--navy); font-size: 1.05rem; }
.curriculum-empty-state span { margin-top: 5px; }

/* Dedicated landing page for one Curriculum classification. */
.curriculum-files-section { min-height: 460px; padding-top: 48px; }
.curriculum-files-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.curriculum-files-toolbar h2,
.curriculum-files-summary h3 {
  margin: 0;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
}
.curriculum-files-toolbar > div > p:last-child,
.curriculum-files-summary p { margin: 6px 0 0; color: var(--muted); }
.curriculum-files-search-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.curriculum-files-search-form label { color: var(--ink); font-weight: 700; }
.curriculum-files-search-form input[type="search"] { width: 270px; }
.curriculum-files-search-form .btn { min-height: 42px; }
.curriculum-files-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.curriculum-files-table { min-width: 760px; }
.curriculum-files-table .curriculum-material-title { min-width: 330px; }
.curriculum-files-table .curriculum-file-details { max-width: 360px; }
.curriculum-files-table tr { scroll-margin-top: 220px; }
.curriculum-files-table tr:target {
  background: #fff8d9;
  box-shadow: inset 5px 0 0 var(--gold);
}
.curriculum-files-empty .btn { margin-top: 18px; }

@media (max-width: 780px) {
  .curriculum-files-toolbar { align-items: stretch; flex-direction: column; }
  .curriculum-files-search-form { align-items: stretch; justify-content: flex-start; }
  .curriculum-files-search-form label { width: 100%; }
  .curriculum-files-search-form input[type="search"] { flex: 1 1 220px; width: auto; }
  .curriculum-files-summary { align-items: stretch; flex-direction: column; }
  .curriculum-files-summary .btn { width: 100%; }
}

/* Curriculum administration */
.admin-curriculum-layout {
  display: grid;
  grid-template-columns: minmax(370px, .82fr) minmax(650px, 1.55fr);
  gap: 24px;
  align-items: start;
}
.admin-curriculum-form-panel { align-self: start; overflow: hidden; }
.admin-curriculum-form {
  display: block;
  padding: 24px !important;
  background: #fff;
}
.admin-curriculum-form .form-grid {
  gap: 16px;
  margin-bottom: 18px;
}
.admin-curriculum-form .form-grid .form-group { margin-bottom: 0; }
.admin-curriculum-form > .form-group { margin-bottom: 18px; }
.admin-curriculum-form label {
  color: #06336e;
  font-size: .78rem;
  font-weight: 700;
}
.admin-curriculum-form label small { color: var(--muted); font-weight: 500; }
.admin-curriculum-form select,
.admin-curriculum-form input[type="text"] { min-height: 42px; }
.admin-curriculum-form textarea {
  min-height: 110px;
  resize: vertical;
}
.admin-curriculum-file-field input[type="file"] {
  min-height: 52px;
  padding: 7px;
  border: 1px dashed #9eb5ce;
  border-radius: 9px;
  background: #f7fbff;
  color: var(--ink);
  cursor: pointer;
}
.admin-curriculum-file-field input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 9px 13px;
  border: 0;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.admin-curriculum-file-field input[type="file"]:hover::file-selector-button { background: var(--blue); }
.admin-curriculum-file-help {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.4;
}
.admin-curriculum-form-actions {
  display: flex;
  align-items: center;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.admin-curriculum-form-actions .btn { min-width: 155px; }
.admin-current-curriculum-file {
  display: block;
  margin-top: 9px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--blue-light);
  color: var(--navy);
  font-size: .78rem;
  overflow-wrap: anywhere;
}
.admin-curriculum-list-panel { min-width: 0; overflow: hidden; }
.admin-curriculum-list-panel .panel-header > span { font-size: .78rem; color: #d9e8fa; }
.admin-curriculum-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) minmax(145px, 1fr) minmax(125px, .85fr) auto auto;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #f7faff;
}
.admin-curriculum-filters .btn { min-height: 42px; white-space: nowrap; }
.admin-curriculum-table-wrap {
  max-height: 680px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.admin-curriculum-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.admin-curriculum-table thead { position: sticky; top: 0; z-index: 2; }
.admin-curriculum-table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .035em; }
.admin-curriculum-table th:nth-child(1) { width: 32%; }
.admin-curriculum-table th:nth-child(2) { width: 31%; }
.admin-curriculum-table th:nth-child(3) { width: 14%; }
.admin-curriculum-table th:nth-child(4) { width: 23%; }
.admin-curriculum-table th,
.admin-curriculum-table td { padding-inline: 11px; overflow-wrap: anywhere; }
.admin-curriculum-title,
.admin-curriculum-title small,
.admin-curriculum-classification,
.admin-curriculum-classification small { display: block; }
.admin-curriculum-title strong { color: var(--navy); }
.admin-curriculum-title small,
.admin-curriculum-classification small { margin-top: 3px; color: var(--muted); font-size: .74rem; }
.admin-curriculum-classification { font-weight: 700; }
.admin-curriculum-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.admin-curriculum-actions form { margin: 0; }
.admin-curriculum-actions .btn { min-height: 34px; padding: 5px 9px; font-size: .73rem; }
.dashboard-card--curriculum { --card-accent: #0d8b81; --card-soft: #e8fbf9; }
.checklist-link--curriculum { --check-accent: #0d8b81 !important; }
.admin-nav-dropdown > .admin-dropdown-menu a:nth-child(1) .admin-dropdown-icon { color: var(--blue); }
.admin-nav-dropdown > .admin-dropdown-menu a:nth-child(2) .admin-dropdown-icon { color: var(--orange); }
.admin-nav-dropdown > .admin-dropdown-menu a:nth-child(3) .admin-dropdown-icon { color: var(--purple); }
.admin-nav-dropdown > .admin-dropdown-menu a:nth-child(4) .admin-dropdown-icon { color: var(--green); }

@media (min-width: 981px) and (max-width: 1200px) {
  .nav-inner > a,
  .nav-dropdown > button,
  .nav-search-button { padding-inline: 12px; }
}

/* Keep the complete five-level Curriculum cascade inside medium desktop screens. */
@media (min-width: 981px) and (max-width: 1300px) {
  .curriculum-nav-dropdown .curriculum-cascade-menu { width: 175px; }
  .curriculum-level-menu { width: 145px; }
  .curriculum-grade-menu { width: 140px; }
  .curriculum-subject-menu { width: 220px; }
  .curriculum-file-menu { width: 230px; }

  .curriculum-cascade-menu .dropdown-submenu > button,
  .curriculum-level-menu .dropdown-submenu > button,
  .curriculum-grade-menu .dropdown-submenu > button,
  .curriculum-subject-menu .dropdown-submenu > button {
    min-height: 38px;
    padding: 8px 10px;
    font-size: .72rem;
  }
  .curriculum-nav-file-link { padding: 8px 10px !important; }
  .curriculum-nav-file-link strong { font-size: .7rem; }
  .curriculum-nav-file-link small { font-size: .6rem; }
  .curriculum-no-files { padding: 10px !important; font-size: .68rem; }
}

@media (max-width: 1100px) {
  .curriculum-intro { grid-template-columns: 1fr; gap: 20px; }
  .curriculum-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .curriculum-filter-action .btn { width: 100%; }
  .admin-curriculum-layout { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .curriculum-nav-dropdown .curriculum-cascade-menu {
    position: static;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255,255,255,.06);
  }
  .curriculum-cascade-menu .submenu-menu,
  .curriculum-level-menu,
  .curriculum-grade-menu,
  .curriculum-subject-menu {
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: rgba(0,0,0,.1);
  }
  .curriculum-file-menu {
    width: 100%;
    max-height: 310px;
    overflow-y: auto;
    background: rgba(0,0,0,.16);
  }
  .curriculum-cascade-menu .dropdown-submenu > button,
  .curriculum-level-menu .dropdown-submenu > button,
  .curriculum-grade-menu .dropdown-submenu > button,
  .curriculum-subject-menu .dropdown-submenu > button {
    color: #fff;
    border-bottom-color: rgba(255,255,255,.08);
  }
  .curriculum-cascade-menu .dropdown-submenu > button > span:last-child,
  .curriculum-level-menu .dropdown-submenu > button > span:last-child,
  .curriculum-grade-menu .dropdown-submenu > button > span:last-child,
  .curriculum-subject-menu .dropdown-submenu > button > span:last-child { color: rgba(255,255,255,.8); }
  .curriculum-cascade-menu .dropdown-submenu > button > span:first-child,
  .curriculum-level-menu .dropdown-submenu > button > span:first-child,
  .curriculum-grade-menu .dropdown-submenu > button > span:first-child,
  .curriculum-subject-menu .dropdown-submenu > button > span:first-child { color: #fff !important; }
  .curriculum-type-submenu > button { padding-left: 30px !important; }
  .curriculum-level-submenu > button { padding-left: 48px !important; }
  .curriculum-grade-submenu > button { padding-left: 66px !important; }
  .curriculum-subject-submenu > button { padding-left: 84px !important; }
  .curriculum-file-menu > a { padding-left: 102px !important; }
  .curriculum-subject-submenu > button small { background: rgba(255,255,255,.16); color: #fff; }
  .curriculum-nav-file-link strong,
  .curriculum-nav-file-link small,
  .curriculum-no-files { color: #fff; }
}

@media (max-width: 780px) {
  .curriculum-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .curriculum-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .curriculum-search-group { grid-column: 1 / -1; }
  .admin-curriculum-filters { grid-template-columns: 1fr 1fr; }
  .admin-curriculum-filters input[type="search"] { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .curriculum-library-section { padding-top: 34px; }
  .curriculum-path { grid-template-columns: 1fr; gap: 8px; }
  .curriculum-path li { display: flex; align-items: center; gap: 9px; padding: 0; text-align: left; }
  .curriculum-path li:not(:last-child)::after { display: none; }
  .curriculum-path span { width: 28px; height: 28px; flex: 0 0 28px; margin: 0; }
  .curriculum-path strong { white-space: normal; }
  .curriculum-entry-grid,
  .curriculum-filter-grid { grid-template-columns: 1fr; }
  .curriculum-search-group { grid-column: auto; }
  .curriculum-filter-heading { display: block; }
  .curriculum-filter-heading .btn { width: 100%; margin-top: 12px; }
  .curriculum-table-wrap { overflow: visible; border: 0; box-shadow: none; }
  .curriculum-material-table { min-width: 0; }
  .curriculum-material-table thead { display: none; }
  .curriculum-material-table,
  .curriculum-material-table tbody,
  .curriculum-material-table tr,
  .curriculum-material-table td { display: block; width: 100%; }
  .curriculum-material-table tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 4px solid var(--navy);
    border-radius: 11px;
    background: #fff !important;
    box-shadow: 0 6px 16px rgba(18,48,84,.07);
  }
  .curriculum-material-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .curriculum-material-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .curriculum-material-table td:last-child { border-bottom: 0; }
  .curriculum-material-title { min-width: 0; }
  .curriculum-classification { min-width: 0; }
  .curriculum-file-details { max-width: none; }
  .curriculum-download-cell { text-align: left; }
  .curriculum-download-cell .btn { width: 100%; }
  .admin-curriculum-filters { grid-template-columns: 1fr; }
  .admin-curriculum-filters input[type="search"] { grid-column: auto; }
}

@media (max-width: 720px) {
  .admin-curriculum-table-wrap {
    max-height: none;
    overflow: visible;
    padding: 12px;
    background: #eef4fa;
  }
  .admin-curriculum-table,
  .admin-curriculum-table tbody,
  .admin-curriculum-table tr,
  .admin-curriculum-table td {
    display: block;
    width: 100%;
  }
  .admin-curriculum-table { table-layout: auto; }
  .admin-curriculum-table thead { display: none; }
  .admin-curriculum-table tr {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #d2deeb;
    border-top: 4px solid var(--navy);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(18,48,84,.07);
  }
  .admin-curriculum-table tr:last-child { margin-bottom: 0; }
  .admin-curriculum-table td {
    padding: 11px 13px;
    border-bottom: 1px solid var(--line);
  }
  .admin-curriculum-table td:last-child { border-bottom: 0; }
  .admin-curriculum-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: #667b91;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
  }
  .admin-curriculum-table .content-empty-cell { padding: 28px 16px; text-align: center; }
  .admin-curriculum-table .content-empty-cell::before { display: none; }
  .admin-curriculum-actions { width: 100%; }
  .admin-curriculum-actions > .btn,
  .admin-curriculum-actions > form { flex: 1 1 90px; }
  .admin-curriculum-actions > form .btn { width: 100%; }
}

/* Use one consistent Curriculum-style type treatment across all public nav submenus. */
.primary-nav .dropdown-menu a,
.primary-nav .dropdown-submenu > button {
  font-size: .74rem;
  font-weight: 400 !important;
  line-height: 1.3;
}
.primary-nav .dropdown-submenu > button > span { font-weight: 400; }
.primary-nav .dropdown-submenu > button > span:last-child { font-size: .9rem; }
.primary-nav .dropdown-menu a strong,
.primary-nav .dropdown-menu a small { font-weight: 400; }
@media (min-width: 981px) {
  .primary-nav .dropdown-menu a,
  .primary-nav .dropdown-submenu > button,
  .primary-nav .dropdown-submenu > button > span { color: #000 !important; }
}

.high-contrast .curriculum-entry-card,
.high-contrast .curriculum-filter-panel,
.high-contrast .curriculum-table-wrap,
.high-contrast .curriculum-cascade-menu,
.high-contrast .curriculum-cascade-menu .submenu-menu { border-color: currentColor; }
.high-contrast .curriculum-entry-card,
.high-contrast .curriculum-filter-panel,
.high-contrast .curriculum-cascade-menu,
.high-contrast .curriculum-cascade-menu .submenu-menu { background: #000; color: #fff; }
.high-contrast .curriculum-entry-card strong,
.high-contrast .curriculum-entry-card small,
.high-contrast .curriculum-entry-card em,
.high-contrast .curriculum-nav-file-link strong,
.high-contrast .curriculum-nav-file-link small { color: #fff; }
.high-contrast .primary-nav .dropdown-menu a,
.high-contrast .primary-nav .dropdown-submenu > button,
.high-contrast .primary-nav .dropdown-submenu > button > span { color: #fff !important; }

/* Premium public homepage — Moalboal coastal identity */
.home-slider-section {
  padding: 22px 0 84px;
  background:
    radial-gradient(circle at 12% 18%, rgba(20, 116, 188, .08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7faff 100%);
}
.home-slider {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 55px rgba(5, 42, 86, .19);
}
.slider-shade {
  background:
    linear-gradient(90deg, rgba(2, 25, 55, .88) 0%, rgba(2, 36, 75, .6) 42%, rgba(3, 41, 81, .08) 78%),
    linear-gradient(0deg, rgba(1, 19, 42, .58), transparent 58%);
}
.slider-caption { max-width: min(680px, 64%); }
.slider-caption h1 { letter-spacing: -.025em; }
.slider-caption > p:not(.slider-kicker) {
  max-width: 620px;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.slider-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-glass {
  border-color: rgba(255,255,255,.72);
  background: rgba(4, 35, 76, .34);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(4, 35, 76, .72); }
.slider-counter {
  top: 18px;
  left: 20px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(2, 27, 58, .48);
  backdrop-filter: blur(8px);
}
.slider-pause {
  top: 18px;
  right: 20px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(2, 27, 58, .48);
  backdrop-filter: blur(8px);
}
.slider-control {
  width: 46px;
  height: 60px;
  border-radius: 0 12px 12px 0;
  background: rgba(2, 31, 66, .28);
  transition: background .2s ease, width .2s ease;
}
.slider-control:hover { width: 51px; }
.slider-next { border-radius: 12px 0 0 12px; }
.slider-dots {
  bottom: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(1, 24, 52, .3);
  backdrop-filter: blur(8px);
}
.slider-dot { width: 10px; height: 10px; border-width: 1px; }

.home-eyebrow {
  margin: 0 0 5px;
  color: #b78900;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.home-quick-access {
  position: relative;
  z-index: 4;
  margin-top: -58px;
  padding-bottom: 70px;
}
.home-quick-heading,
.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}
.home-quick-heading h2,
.home-section-heading h2,
.district-glance-heading h2,
.home-service-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.home-quick-heading > p,
.home-section-heading > div > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-quick-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  overflow: hidden;
  padding: 19px 18px;
  border: 1px solid #dfe8f3;
  border-radius: 13px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 11px 28px rgba(19, 54, 93, .09);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.home-quick-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), #e09d00);
}
.home-quick-card:hover {
  border-color: #bdd4ec;
  box-shadow: 0 16px 34px rgba(12, 56, 105, .14);
  text-decoration: none;
  transform: translateY(-4px);
}
.home-quick-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #e9f4ff, #d9ebff);
  color: var(--navy);
}
.home-quick-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-quick-card strong { display: block; color: var(--navy); font-size: .96rem; line-height: 1.25; }
.home-quick-card small { display: block; margin-top: 5px; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.home-quick-arrow { color: #8096ad; font-size: 1.7rem; transition: transform .2s ease, color .2s ease; }
.home-quick-card:hover .home-quick-arrow { color: var(--blue); transform: translateX(3px); }

.home-content-section { padding: 72px 0 80px; background: #fff; }
.home-heading-link,
.home-read-link {
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
.home-heading-link span,
.home-read-link span { color: #c29100; }
.home-updates-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .72fr);
  gap: 22px;
  align-items: stretch;
}
.home-news-board,
.home-issuances-panel {
  overflow: hidden;
  border: 1px solid #dfe7f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(18, 48, 84, .08);
}
.home-featured-update {
  display: grid;
  grid-template-columns: minmax(210px, .72fr) minmax(0, 1.28fr);
  min-height: 310px;
}
.home-featured-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 35%, rgba(255,255,255,.18) 0 4%, transparent 4.5%),
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.14) 0 8%, transparent 8.5%),
    linear-gradient(145deg, #042a5d 0%, #0876bd 62%, #19a8c3 100%);
}
.home-featured-art::before,
.home-featured-art::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 46% 54% 58% 42%;
  transform: rotate(18deg);
}
.home-featured-art::after { width: 170px; height: 170px; transform: rotate(-16deg); }
.home-featured-art span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 0 0 0 12px rgba(255,255,255,.08);
}
.home-featured-copy { padding: 30px; }
.home-featured-copy time,
.home-update-list time,
.home-issuance-list time {
  display: block;
  color: #78889a;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.home-content-tag {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff4c5;
  color: #755600;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.home-featured-copy h3 { margin: 10px 0 9px; color: var(--navy); font-size: clamp(1.25rem, 2vw, 1.72rem); line-height: 1.25; }
.home-featured-copy p { margin: 0 0 19px; color: var(--muted); font-size: .88rem; }
.home-update-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e2e9f2;
}
.home-update-list article { min-height: 170px; padding: 21px; }
.home-update-list article + article { border-left: 1px solid #e2e9f2; }
.home-update-list h3 { margin: 8px 0 6px; font-size: .92rem; line-height: 1.35; }
.home-update-list h3 a { color: var(--navy); }
.home-update-list p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.home-empty-update { min-height: 420px; display: grid; place-content: center; justify-items: center; padding: 40px; text-align: center; }
.home-empty-update > span { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; background: #e6f2ff; color: var(--navy); font-size: 1.4rem; font-weight: 800; }
.home-empty-update h3 { margin: 14px 0 4px; color: var(--navy); }
.home-empty-update p { margin: 0 0 18px; color: var(--muted); }
.home-issuances-panel { background: #f8fbff; }
.home-panel-heading {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 19px;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: #fff;
}
.home-panel-heading > div { display: flex; align-items: center; gap: 10px; }
.home-panel-heading h2 { margin: 0; color: #fff; font-size: 1.02rem; }
.home-panel-heading a { color: #fff; font-size: .74rem; font-weight: 700; }
.home-panel-icon { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 9px; color: var(--gold); font-weight: 800; }
.home-issuance-list { padding: 5px 17px; }
.home-issuance-list > a { display: block; padding: 16px 4px; border-bottom: 1px solid #dfe7f1; color: var(--ink); }
.home-issuance-list > a:last-child { border-bottom: 0; }
.home-issuance-list > a:hover { text-decoration: none; }
.home-issuance-list strong { display: block; margin: 6px 0 8px; color: var(--navy); font-size: .84rem; line-height: 1.35; }
.home-issuance-list > a > span { color: var(--blue); font-size: .72rem; font-weight: 700; }
.home-panel-empty { padding: 34px 20px; color: var(--muted); text-align: center; }

.district-glance-section {
  padding: 76px 0;
  background:
    linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%);
}
.district-glance-shell {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(40, 177, 211, .28), transparent 30%),
    linear-gradient(125deg, #031f48 0%, #06427e 55%, #076aa6 100%);
  color: #fff;
  box-shadow: 0 22px 45px rgba(4, 43, 89, .2);
}
.district-glance-shell::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -145px;
  width: 360px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 72px rgba(255,255,255,.025);
}
.district-glance-heading { position: relative; z-index: 1; max-width: 700px; margin-bottom: 30px; }
.district-glance-heading .home-eyebrow { color: var(--gold); }
.district-glance-heading h2 { color: #fff; }
.district-glance-heading p:last-child { margin: 9px 0 0; color: #d8e9fb; }
.district-stat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px;
}
.district-stat-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 17px 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 13px;
  background: rgba(255,255,255,.09);
  text-align: center;
  backdrop-filter: blur(6px);
}
.district-stat-card strong { color: #fff; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.1; }
.district-stat-card span { margin-top: 8px; color: #d9eaf9; font-size: .7rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; }

.home-service-section { padding: 0 0 78px; background: #f8fbff; }
.home-service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: 37px 40px;
  border-radius: 18px;
  background:
    linear-gradient(115deg, rgba(3, 31, 72, .97), rgba(7, 88, 154, .92)),
    radial-gradient(circle at 85% 20%, #32a9c2, transparent 36%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(5, 45, 90, .18);
}
.home-service-card > div:first-child { max-width: 660px; }
.home-service-card .home-eyebrow { color: var(--gold); }
.home-service-card h2 { color: #fff; }
.home-service-card p:last-child { margin: 9px 0 0; color: #dbeafe; }
.home-service-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }

.primary-nav .nav-inner > a,
.primary-nav .nav-dropdown > button { position: relative; }
@media (min-width: 981px) {
  .primary-nav .nav-inner > a.active::after,
  .primary-nav .nav-dropdown > button.active::after {
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--gold);
  }
}

.footer-grid { grid-template-columns: 1.35fr 1.05fr .9fr .9fr; padding-block: 38px; }
.footer-about p { max-width: 330px; color: #c6d8eb; }
.footer-visible-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.footer-visible-links a { position: relative; margin: 0; padding: 5px 0 5px 11px; font-size: .82rem; }
.footer-visible-links a::before { content: ""; position: absolute; left: 0; top: 13px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.footer-contact-link { display: inline-block !important; margin-top: 9px !important; color: #fff !important; font-weight: 700; }
.footer-bottom .container { min-height: 50px; }
.footer-bottom .container span:last-child { max-width: 55%; text-align: right; color: #b9cce2; }

[data-reveal].reveal-queued {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .home-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-updates-layout { grid-template-columns: 1fr; }
  .home-issuance-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 17px; }
  .home-issuance-list > a:nth-child(odd) { padding-right: 18px; }
  .home-issuance-list > a:nth-child(even) { padding-left: 18px; border-left: 1px solid #dfe7f1; }
  .district-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .home-slider-section { padding-top: 12px; padding-bottom: 70px; }
  .home-slider { min-height: 490px; border-radius: 12px; }
  .slider-caption { left: 24px; right: 24px; bottom: 58px; max-width: none; }
  .slider-caption > p:not(.slider-kicker) { margin: 9px 0 15px; font-size: .86rem; line-height: 1.45; }
  .slider-actions .btn { min-height: 39px; padding: 7px 13px; font-size: .78rem; }
  .slider-dots { bottom: 13px; }
  .home-quick-access { margin-top: -48px; padding-bottom: 52px; }
  .home-quick-heading,
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .home-quick-grid { grid-template-columns: 1fr; }
  .home-quick-card { min-height: 102px; }
  .home-content-section { padding: 54px 0 60px; }
  .home-featured-update { grid-template-columns: 1fr; }
  .home-featured-art { min-height: 170px; }
  .home-update-list { grid-template-columns: 1fr; }
  .home-update-list article { min-height: auto; }
  .home-update-list article + article { border-top: 1px solid #e2e9f2; border-left: 0; }
  .home-issuance-list { grid-template-columns: 1fr; }
  .home-issuance-list > a:nth-child(odd),
  .home-issuance-list > a:nth-child(even) { padding: 15px 4px; border-left: 0; }
  .district-glance-section { padding: 58px 0; }
  .district-glance-shell { padding: 30px 22px; }
  .district-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-service-section { padding-bottom: 58px; }
  .home-service-card { align-items: flex-start; flex-direction: column; padding: 30px 24px; }
  .home-service-actions { justify-content: flex-start; }
  .footer-visible-links { grid-template-columns: 1fr; }
  .footer-bottom .container span:last-child { max-width: none; text-align: left; }
}

@media (max-width: 520px) {
  .slider-caption h1 { font-size: 1.75rem; }
  .slider-control { width: 36px; height: 50px; }
  .slider-actions .btn { flex: 1 1 auto; }
  .home-quick-icon { width: 42px; height: 42px; }
  .home-quick-card { padding: 16px 14px; }
  .home-featured-copy { padding: 24px 20px; }
  .district-stat-card { min-height: 112px; }
  .home-service-actions { width: 100%; }
  .home-service-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

.high-contrast .home-quick-card,
.high-contrast .home-news-board,
.high-contrast .home-issuances-panel,
.high-contrast .district-glance-shell,
.high-contrast .home-service-card { border: 2px solid currentColor; }
.high-contrast .home-featured-copy,
.high-contrast .home-update-list,
.high-contrast .home-issuances-panel { background: #fff; color: #000; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-queued,
  [data-reveal].is-revealed { opacity: 1; transform: none; transition: none; }
  .home-quick-card,
  .home-quick-arrow { transition: none; }
}

/* Super Admin and administrator-account management. */
.admin-account-heading { align-items: flex-end; }
.super-admin-lock-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 18px 0;
  padding: 18px 20px;
  border: 1px solid #b9d7f5;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff 0%, #edf6ff 100%);
  box-shadow: 0 10px 26px rgba(12, 65, 121, .08);
}
.super-admin-lock-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}
.super-admin-lock-icon svg { width: 25px; height: 25px; }
.super-admin-lock-card strong { display: block; color: var(--navy); }
.super-admin-lock-card p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.admin-account-layout {
  display: grid;
  grid-template-columns: minmax(310px, 390px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.admin-account-form-panel,
.admin-account-list-panel,
.admin-account-activity-panel { overflow: hidden; }
.admin-account-form { padding: 20px; }
.admin-account-form .form-group small { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; }
.admin-account-form-note {
  display: grid;
  gap: 4px;
  margin: 2px 0 18px;
  padding: 12px 14px;
  border: 1px solid #d5e3f2;
  border-radius: 9px;
  background: #f5f9fd;
  font-size: .76rem;
}
.admin-account-form-note strong { color: var(--navy); }
.admin-account-form-note span { color: var(--muted); }
.admin-account-list-panel .panel-header > span,
.admin-account-activity-panel .panel-header > span { color: #d9e8fa; font-size: .76rem; }
.admin-account-list { display: grid; gap: 10px; padding: 14px; }
.admin-account-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.admin-account-card.is-super-admin { border-color: #a9cff4; background: #f4f9ff; }
.admin-account-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}
.admin-account-card-copy { min-width: 0; }
.admin-account-name-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.admin-account-name-line > strong { color: var(--navy); }
.admin-account-card-copy > span,
.admin-account-card-copy > small { display: block; margin-top: 3px; color: var(--muted); font-size: .74rem; }
.admin-role-badge,
.admin-status-badge,
.protected-account-label {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1;
}
.admin-role-badge { background: #e8eef5; color: #334a63; }
.admin-role-badge--super { background: #dceeff; color: #075ba8; }
.admin-status-badge--active { background: #dff5e9; color: #147847; }
.admin-status-badge--disabled { background: #fde6e8; color: #a52332; }
.password-required-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 8px;
  border: 1px solid #f0c56c;
  border-radius: 999px;
  background: #fff4d7;
  color: #855600;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1;
}
.protected-account-label { background: #e8f2fc; color: #125f9e; }
.admin-account-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.admin-account-actions form { margin: 0; }
.admin-account-actions .btn { min-height: 34px; padding: 7px 11px; font-size: .72rem; }
.admin-account-activity-panel { margin-top: 18px; }
.admin-account-activity-scroll {
  max-height: 430px;
  overflow: auto;
  border: 0;
  border-radius: 0;
  scrollbar-gutter: stable;
}
.admin-account-activity-scroll:focus { outline: 3px solid rgba(14, 105, 198, .28); outline-offset: -3px; }
.admin-account-activity-panel table { min-width: 820px; }
.admin-account-activity-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #e5f1fc;
  box-shadow: 0 1px 0 #bfd2e6;
}
.admin-account-empty { margin: 0; padding: 24px; color: var(--muted); }

.password-page-heading,
.password-change-alert,
.password-change-panel { width: min(680px, 100%); margin-inline: auto; }
.password-change-panel { overflow: hidden; }
.password-change-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  border-bottom: 1px solid #c8daec;
  background: linear-gradient(135deg, #eaf4ff 0%, #fff 100%);
}
.password-change-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}
.password-change-icon svg { width: 24px; height: 24px; }
.password-change-intro strong,
.password-change-intro span { display: block; }
.password-change-intro strong { color: var(--navy); }
.password-change-intro div > span { margin-top: 3px; color: var(--muted); font-size: .74rem; }
.password-change-form { padding: 22px; }
.password-change-form .form-group small { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; }
.password-change-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 5px; }
.password-change-logout { margin-left: auto; color: #a52332; font-size: .78rem; font-weight: 700; }

@media (max-width: 980px) {
  .admin-account-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .super-admin-lock-card { grid-template-columns: auto 1fr; }
  .super-admin-lock-card > .admin-role-badge { grid-column: 1 / -1; justify-self: start; }
  .admin-account-card { grid-template-columns: auto minmax(0, 1fr); }
  .admin-account-actions { grid-column: 1 / -1; justify-content: flex-start; padding-left: 56px; }
  .password-change-intro { grid-template-columns: auto 1fr; }
  .password-change-intro > .password-required-badge { grid-column: 1 / -1; justify-self: start; }
  .password-change-form { padding: 17px; }
  .password-change-actions .btn { width: 100%; }
  .password-change-logout { width: 100%; margin-left: 0; text-align: center; }
}

.high-contrast .super-admin-lock-card,
.high-contrast .admin-account-card,
.high-contrast .admin-account-form-note { border-color: currentColor; background: #000; color: #fff; }
.high-contrast .super-admin-lock-card strong,
.high-contrast .super-admin-lock-card p,
.high-contrast .admin-account-name-line > strong,
.high-contrast .admin-account-card-copy > span,
.high-contrast .admin-account-card-copy > small,
.high-contrast .admin-account-form-note strong,
.high-contrast .admin-account-form-note span { color: #fff; }
.high-contrast .password-change-intro { border-color: currentColor; background: #000; color: #fff; }
.high-contrast .password-change-intro strong,
.high-contrast .password-change-intro div > span { color: #fff; }

/* =========================================================
   Premium responsive public navigation
   Preserves the approved navy, white, and gold palette.
   ========================================================= */
.primary-nav {
  position: relative;
  overflow: visible;
  isolation: isolate;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(1,24,52,.34);
  background: var(--navy);
  box-shadow: 0 8px 22px rgba(2,35,76,.18);
}
.primary-nav::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.055), transparent);
  background-repeat: no-repeat;
  background-size: 240% 100%;
  background-position: 150% 0;
  animation: publicNavSheen 9s ease-in-out infinite;
}
.primary-nav .nav-inner {
  position: relative;
  z-index: 1;
  min-height: 60px;
  gap: 3px;
  padding-block: 4px;
}
.primary-nav .nav-inner > a,
.primary-nav .nav-dropdown > button {
  position: relative;
  min-height: 52px;
  padding-inline: clamp(11px, 1.18vw, 17px);
  overflow: hidden;
  border-radius: 9px;
  font-size: .94rem;
  letter-spacing: -.012em;
  white-space: nowrap;
  transition: background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.primary-nav .nav-inner > a::after,
.primary-nav .nav-dropdown > button::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(244,196,48,.28);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .24s ease;
}
.primary-nav .nav-inner > a:hover,
.primary-nav .nav-inner > a.active,
.primary-nav .nav-dropdown > button:hover,
.primary-nav .nav-dropdown > button.active,
.primary-nav .nav-dropdown.open > button {
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  text-decoration: none;
  transform: translateY(-1px);
}
.primary-nav .nav-inner > a:hover::after,
.primary-nav .nav-inner > a.active::after,
.primary-nav .nav-dropdown:hover > button::after,
.primary-nav .nav-dropdown.open > button::after,
.primary-nav .nav-dropdown > button.active::after { transform: scaleX(1); }
.primary-nav .nav-dropdown > button > span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .24s ease;
  transform-origin: center;
}
.primary-nav .nav-dropdown:hover > button > span:last-child,
.primary-nav .nav-dropdown.open > button > span:last-child { transform: rotate(180deg); }
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-search-button {
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  align-self: center;
  justify-content: center;
  margin-left: auto;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.nav-search-button::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: inherit;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .22s ease, transform .22s ease;
}
.nav-search-button:hover {
  border-color: rgba(255,255,255,.52);
  background: rgba(255,255,255,.16);
  box-shadow: 0 7px 16px rgba(1,24,52,.22);
  transform: translateY(-1px);
}
.nav-search-button:hover::before { opacity: 1; transform: scale(1); }
.nav-search-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform .24s ease;
}
.nav-search-button:hover svg { transform: rotate(-8deg) scale(1.08); }
.nav-search-label { display: none; }

.search-panel:not([hidden]) { animation: publicSearchPanelIn .28s ease both; }

@media (min-width: 981px) {
  .primary-nav .nav-dropdown > .dropdown-menu,
  .primary-nav .dropdown-submenu > .submenu-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border-color: #d7e1ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(2,35,76,.2), 0 3px 10px rgba(2,35,76,.08);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    will-change: opacity, transform;
  }
  .primary-nav .nav-dropdown > .dropdown-menu {
    top: calc(100% + 7px);
    transform: translateY(9px) scale(.985);
    transform-origin: top left;
  }
  .primary-nav .nav-dropdown:hover > .dropdown-menu,
  .primary-nav .nav-dropdown.open > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .primary-nav .dropdown-submenu > .submenu-menu {
    transform: translateX(9px) scale(.985);
    transform-origin: left top;
  }
  .primary-nav .dropdown-submenu > .submenu-menu.opens-left {
    transform: translateX(-9px) scale(.985);
    transform-origin: right top;
  }
  .primary-nav .dropdown-submenu:hover > .submenu-menu,
  .primary-nav .dropdown-submenu.open > .submenu-menu,
  .primary-nav .dropdown-submenu:hover > .submenu-menu.opens-left,
  .primary-nav .dropdown-submenu.open > .submenu-menu.opens-left {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
  }
  .primary-nav .dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: var(--gold);
    opacity: .92;
  }
  .primary-nav .dropdown-menu a,
  .primary-nav .dropdown-submenu > button {
    transition: background-color .18s ease, box-shadow .18s ease;
  }
  .primary-nav .dropdown-menu a:hover,
  .primary-nav .dropdown-submenu > button:hover,
  .primary-nav .dropdown-submenu.open > button {
    box-shadow: inset 3px 0 0 var(--gold);
  }
}

.nav-toggle {
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 8px 12px;
  border-color: rgba(6,51,110,.25);
  border-radius: 10px;
  color: var(--navy);
  font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nav-toggle:hover {
  border-color: rgba(6,51,110,.48);
  background: #f7faff;
  box-shadow: 0 7px 18px rgba(6,51,110,.11);
  transform: translateY(-1px);
}
.nav-toggle-icon {
  position: relative;
  width: 23px;
  height: 17px;
  display: inline-block;
}
.nav-toggle-icon > span {
  position: absolute;
  left: 0;
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: top .24s ease, transform .24s ease, opacity .18s ease;
}
.nav-toggle-icon > span:nth-child(1) { top: 0; }
.nav-toggle-icon > span:nth-child(2) { top: 7px; }
.nav-toggle-icon > span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon > span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon > span:nth-child(2) { opacity: 0; transform: scaleX(.25); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon > span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (min-width: 981px) and (max-width: 1200px) {
  .primary-nav .nav-inner { gap: 1px; }
  .primary-nav .nav-inner > a,
  .primary-nav .nav-dropdown > button {
    min-height: 50px;
    padding-inline: 10px;
    font-size: .84rem;
  }
  .nav-search-button { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
}

@media (max-width: 980px) {
  body.mobile-nav-open { overflow: hidden; }
  .nav-toggle { display: inline-flex; }
  .primary-nav,
  .primary-nav.open {
    display: block;
    overflow: hidden;
    max-height: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height .38s ease, opacity .22s ease, transform .3s ease, visibility .3s ease;
  }
  .primary-nav.open {
    max-height: calc(100vh - 146px);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(0);
    box-shadow: 0 18px 34px rgba(2,35,76,.24);
  }
  .primary-nav .nav-inner {
    display: block;
    min-height: 0;
    padding: 9px 11px 14px;
  }
  .primary-nav .nav-inner > a,
  .primary-nav .nav-dropdown > button,
  .primary-nav .nav-search-button {
    width: 100%;
    min-height: 48px;
    margin: 2px 0;
    padding-inline: 13px;
    border-radius: 9px;
    font-size: .9rem;
    transform: none;
  }
  .primary-nav .nav-inner > a,
  .primary-nav .nav-dropdown > button { justify-content: space-between; }
  .primary-nav .nav-inner > a::after,
  .primary-nav .nav-dropdown > button::after {
    left: 13px;
    right: 13px;
    bottom: 3px;
  }
  .primary-nav .nav-dropdown { display: block; }
  .nav-dropdown::after { display: none; }
  .primary-nav .nav-dropdown.open > .dropdown-menu,
  .primary-nav .dropdown-submenu.open > .submenu-menu { animation: publicMobileSubmenuIn .22s ease both; }
  .primary-nav .nav-search-button {
    display: flex;
    justify-content: flex-start;
    gap: 11px;
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.07);
  }
  .primary-nav .nav-search-button::before { display: none; }
  .nav-search-label { display: inline; font-size: .84rem; font-weight: 600; }
  .primary-nav.open .nav-inner > * { animation: publicMobileNavItemIn .32s ease both; }
  .primary-nav.open .nav-inner > :nth-child(2) { animation-delay: .025s; }
  .primary-nav.open .nav-inner > :nth-child(3) { animation-delay: .05s; }
  .primary-nav.open .nav-inner > :nth-child(4) { animation-delay: .075s; }
  .primary-nav.open .nav-inner > :nth-child(5) { animation-delay: .1s; }
  .primary-nav.open .nav-inner > :nth-child(6) { animation-delay: .125s; }
  .primary-nav.open .nav-inner > :nth-child(7) { animation-delay: .15s; }
  .primary-nav.open .nav-inner > :nth-child(8) { animation-delay: .175s; }
  .primary-nav.open .nav-inner > :nth-child(9) { animation-delay: .2s; }
  .primary-nav.open .nav-inner > :nth-child(10) { animation-delay: .225s; }
}

@media (max-width: 720px) {
  .primary-nav.open { max-height: calc(100vh - 124px); }
  .nav-toggle-label { display: none; }
  .nav-toggle { width: 43px; padding: 8px; }
}

@keyframes publicNavSheen {
  0%, 68% { background-position: 150% 0; opacity: 0; }
  72% { opacity: 1; }
  88% { background-position: -150% 0; opacity: 1; }
  92%, 100% { background-position: -150% 0; opacity: 0; }
}
@keyframes publicSearchPanelIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes publicMobileSubmenuIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes publicMobileNavItemIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav::before { animation: none; }
  .primary-nav *,
  .nav-toggle *,
  .search-panel:not([hidden]) { animation: none !important; transition: none !important; }
}

.high-contrast .primary-nav { border-block-color: currentColor; }
.high-contrast .nav-search-button,
.high-contrast .nav-toggle { border-color: currentColor; }

/* Compact public footer */
.site-footer .footer-grid {
  gap: 20px;
  padding-block: 21px;
}
.site-footer .footer-brand {
  margin-bottom: 5px;
}
.site-footer .footer-brand--national {
  display: block;
  margin-bottom: 7px;
}
.footer-national-brand {
  width: auto;
  max-width: min(100%, 190px);
  height: auto;
  max-height: 72px;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(1px 0 0 rgba(255,255,255,.92))
    drop-shadow(-1px 0 0 rgba(255,255,255,.92))
    drop-shadow(0 1px 0 rgba(255,255,255,.92))
    drop-shadow(0 -1px 0 rgba(255,255,255,.92))
    drop-shadow(0 5px 9px rgba(0,0,0,.2));
}
.site-footer .footer-grid h2 {
  margin-bottom: 6px;
}
.site-footer .footer-grid p {
  margin-block: 3px;
  line-height: 1.35;
}
.site-footer .footer-grid a {
  margin-block: 2px;
  line-height: 1.32;
}
.site-footer .footer-visible-links a {
  padding-block: 3px;
}
.site-footer .footer-visible-links a::before {
  top: 11px;
}
.site-footer .footer-bottom .container {
  min-height: 38px;
}

@media (max-width: 720px) {
  .site-footer .footer-grid {
    gap: 17px;
    padding-block: 20px;
  }
  .footer-national-brand {
    width: auto;
    max-width: min(100%, 145px);
    max-height: 54px;
  }
}

/* Compact government website directory */
.footer-government {
  position: relative;
  min-width: 0;
}
.government-link-category a {
  transition: color .2s ease, transform .2s ease;
}
.government-directory {
  position: relative;
  margin-top: 0;
}
.government-directory > summary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 36px;
  padding: 7px 9px 7px 11px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.government-directory > summary::-webkit-details-marker { display: none; }
.government-directory > summary:hover,
.government-directory > summary:focus-visible,
.government-directory[open] > summary {
  border-color: rgba(244,196,48,.8);
  background: rgba(244,196,48,.13);
}
.government-directory > summary:focus-visible {
  outline: 3px solid rgba(244,196,48,.42);
  outline-offset: 3px;
}
.government-directory-toggle {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #082d5c;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  transition: transform .25s ease;
}
.government-directory[open] .government-directory-toggle { transform: rotate(45deg); }
.government-directory-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 50;
  width: min(760px, calc(100vw - 40px));
  max-height: min(64vh, 540px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 8%, rgba(33,161,204,.24), transparent 32%),
    linear-gradient(145deg, #061f46 0%, #073a75 100%);
  box-shadow: 0 24px 58px rgba(0,18,48,.38);
  scrollbar-color: var(--gold) rgba(255,255,255,.1);
  animation: governmentDirectoryIn .24s ease both;
}
.government-directory-panel::-webkit-scrollbar { width: 8px; }
.government-directory-panel::-webkit-scrollbar-track { background: rgba(255,255,255,.08); }
.government-directory-panel::-webkit-scrollbar-thumb { border-radius: 8px; background: var(--gold); }
.government-directory-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.government-directory-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.government-directory-heading strong {
  display: block;
  color: #fff;
  font-size: 1.18rem;
}
.government-directory-hint {
  max-width: 210px;
  color: #c5d7ec;
  font-size: .72rem;
  line-height: 1.35;
  text-align: right;
}
.government-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
}
.government-link-category h3 {
  margin: 0 0 7px;
  padding-bottom: 7px;
  border-bottom: 2px solid rgba(244,196,48,.72);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.site-footer .government-link-category a {
  position: relative;
  margin: 0;
  padding: 5px 16px 5px 11px;
  color: #d9e8f7;
  font-size: .75rem;
  line-height: 1.3;
}
.government-link-category a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.government-link-category a::after {
  content: "↗";
  position: absolute;
  right: 0;
  color: rgba(255,255,255,.45);
}
.government-link-category a:hover,
.government-link-category a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}
.government-link-category a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}
@keyframes governmentDirectoryIn {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 760px) {
  .government-directory-panel { width: min(650px, calc(100vw - 32px)); padding: 19px; }
  .government-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
}
@media (max-width: 520px) {
  .government-directory-panel { right: -2px; max-height: 70vh; padding: 17px; border-radius: 13px; }
  .government-directory-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .government-directory-hint { max-width: none; text-align: left; }
  .government-directory-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .government-directory-panel { animation: none; }
  .government-link-category a,
  .government-directory > summary,
  .government-directory-toggle { transition: none; }
}

/* Premium Mission, Vision, and Core Values cards */
.mission-vision-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 82px;
  background:
    radial-gradient(circle at 8% 12%, rgba(11,92,171,.07), transparent 25%),
    radial-gradient(circle at 94% 86%, rgba(244,196,48,.08), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f7faff 100%);
}
.mission-vision-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image: radial-gradient(rgba(6,51,110,.16) .65px, transparent .65px);
  background-size: 20px 20px;
  mask-image: linear-gradient(90deg, #000, transparent 32%, transparent 68%, #000);
}
.mission-vision-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.purpose-card {
  --purpose-accent: #0b5cab;
  --purpose-soft: #eaf4ff;
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 42px 48px 44px;
  border: 1px solid #dbe5f0;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,251,255,.94)),
    #fff;
  box-shadow: 0 14px 34px rgba(13,48,88,.09), inset 0 1px 0 rgba(255,255,255,.9);
  isolation: isolate;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.purpose-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--purpose-accent), var(--gold));
}
.purpose-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -120px;
  right: -90px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--purpose-soft) 0 52%, transparent 53%);
  opacity: .85;
  transition: transform .38s ease;
}
.purpose-card--mission {
  --purpose-accent: #188956;
  --purpose-soft: #e4f7ee;
}
.purpose-card--values {
  --purpose-accent: #d97600;
  --purpose-soft: #fff0da;
}
.purpose-card:hover {
  border-color: color-mix(in srgb, var(--purpose-accent) 38%, #dbe5f0);
  box-shadow: 0 24px 48px rgba(7,45,88,.15), 0 6px 14px rgba(7,45,88,.08);
  transform: translateY(-8px);
}
.purpose-card:hover::after { transform: scale(1.1) translate(-5px, 5px); }
.purpose-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.purpose-card-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--purpose-accent) 22%, #fff);
  border-radius: 18px;
  background: var(--purpose-soft);
  color: var(--purpose-accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(6,51,110,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.purpose-card:hover .purpose-card-icon {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 22px rgba(6,51,110,.13);
  transform: rotate(-4deg) scale(1.05);
}
.purpose-card-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.purpose-card-label {
  color: var(--purpose-accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.purpose-card-number {
  color: color-mix(in srgb, var(--purpose-accent) 35%, #fff);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.purpose-card-rule {
  width: 58px;
  height: 4px;
  margin: 30px 0 24px;
  border-radius: 999px;
  background: var(--purpose-accent);
  box-shadow: 50px 0 0 -1px color-mix(in srgb, var(--purpose-accent) 18%, #fff);
  transition: width .28s ease;
}
.purpose-card:hover .purpose-card-rule { width: 96px; }
.purpose-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--navy);
  max-width: 900px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.28;
  letter-spacing: -.018em;
}
.purpose-card p {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 27px 0 0;
  color: #5f6f82;
  font-size: 1.05rem;
  line-height: 1.78;
}
.purpose-card-watermark {
  position: absolute;
  z-index: -1;
  right: 34px;
  bottom: -34px;
  color: var(--purpose-soft);
  font-size: 14rem;
  font-weight: 900;
  line-height: 1;
  opacity: .7;
  user-select: none;
  transition: transform .38s ease, opacity .38s ease;
}
.purpose-card:hover .purpose-card-watermark { opacity: 1; transform: translateY(-5px); }

@media (max-width: 980px) {
  .mission-vision-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .purpose-card,
  .purpose-card--values { grid-column: auto; min-height: 360px; padding: 35px 36px 38px; }
}
@media (max-width: 650px) {
  .mission-vision-section { padding: 48px 0 58px; }
  .mission-vision-grid { grid-template-columns: 1fr; gap: 16px; }
  .purpose-card,
  .purpose-card--values { grid-column: auto; min-height: 320px; padding: 27px 23px 30px; }
  .purpose-card-icon { width: 54px; height: 54px; border-radius: 15px; }
  .purpose-card-icon svg { width: 29px; height: 29px; }
  .purpose-card-number { font-size: 1.9rem; }
  .purpose-card-rule { margin: 20px 0 16px; }
  .purpose-card h2 { font-size: clamp(1.35rem, 6vw, 1.72rem); }
  .purpose-card p { margin-top: 16px; }
  .purpose-card-watermark { right: 14px; font-size: 9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .purpose-card,
  .purpose-card::after,
  .purpose-card-icon,
  .purpose-card-rule,
  .purpose-card-watermark { transition: none; }
  .purpose-card:hover { transform: none; }
}

.high-contrast .mission-vision-section { background: #fff; }
.high-contrast .purpose-card { border: 2px solid #000; background: #fff; }
.high-contrast .purpose-card-label,
.high-contrast .purpose-card h2,
.high-contrast .purpose-card p { color: #000; }

/* =========================================================
   Moalboal District member access and protected Curriculum
   ========================================================= */
.alert-info { border: 1px solid #b8d9f5; background: #edf7ff; color: #174f80; }
.curriculum-access-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  margin: 0 0 26px;
  padding: 16px 18px;
  border: 1px solid #c7d9ec;
  border-left: 5px solid var(--navy);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff 0%, #edf5fd 100%);
  box-shadow: 0 10px 25px rgba(8,53,106,.08);
}
.curriculum-files-section .curriculum-access-banner { margin-bottom: 24px; }
.curriculum-access-banner--approved { border-left-color: #168051; background: linear-gradient(135deg, #fff 0%, #edf9f4 100%); }
.curriculum-access-banner--pending { border-left-color: #d79b00; background: linear-gradient(135deg, #fff 0%, #fff8e1 100%); }
.curriculum-access-banner--rejected,
.curriculum-access-banner--suspended { border-left-color: #b42318; background: linear-gradient(135deg, #fff 0%, #fff1f0 100%); }
.curriculum-access-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.curriculum-access-banner--approved .curriculum-access-icon { background: #168051; }
.curriculum-access-banner strong { display: block; color: var(--navy); }
.curriculum-access-banner p { margin: 3px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.42; }
.curriculum-access-actions { display: flex; align-items: center; gap: 8px; }
.curriculum-access-banner .btn { white-space: nowrap; }
.btn-locked {
  border-color: #c1cfde;
  background: #f2f5f8;
  color: #445b72;
  font-size: .72rem;
  white-space: nowrap;
}
.btn-locked:hover { border-color: var(--gold); background: #fff8df; color: var(--navy); }

/* Public member login, registration, and account pages. */
.member-auth-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(38,145,201,.23), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(244,196,48,.16), transparent 24%),
    linear-gradient(135deg, #031c42 0%, #064781 58%, #0873a3 100%);
}
.member-auth-page::before,
.member-auth-page::after {
  content: "";
  position: fixed;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.member-auth-page::before { width: 440px; height: 440px; left: -170px; bottom: -180px; }
.member-auth-page::after { width: 300px; height: 300px; right: -110px; top: -100px; }
.member-auth-shell {
  position: relative;
  z-index: 1;
  width: min(540px, calc(100% - 32px));
  margin-inline: auto;
  padding: 42px 0 60px;
}
.member-register-shell,
.member-account-shell { width: min(880px, calc(100% - 32px)); }
.member-auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 18px;
  color: #fff;
  text-decoration: none;
}
.member-auth-brand:hover { color: #fff; text-decoration: none; }
.member-auth-brand > img,
.member-auth-brand > span {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
  border-radius: 50%;
}
.member-auth-brand > span { display: grid; place-items: center; border: 3px solid var(--gold); background: #fff; color: var(--navy); font-weight: 900; }
.member-auth-brand small,
.member-auth-brand strong { display: block; }
.member-auth-brand small { color: #c9dff2; font-size: .72rem; }
.member-auth-brand strong { max-width: 600px; font-size: .94rem; line-height: 1.25; }
.member-auth-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 20px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 28px 70px rgba(0,18,48,.34);
  backdrop-filter: blur(10px);
}
.member-auth-card-heading { display: flex; align-items: center; gap: 14px; }
.member-auth-card-heading .eyebrow { margin-bottom: 3px; color: #9b7300; font-size: .68rem; }
.member-auth-card h1 { margin: 0; color: var(--navy); font-size: clamp(1.45rem, 5vw, 2rem); line-height: 1.15; }
.member-auth-icon,
.member-auth-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(6,51,110,.22);
}
.member-auth-intro { margin: 16px 0 21px; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.member-auth-form label { color: var(--navy); font-size: .8rem; }
.member-auth-form .form-group small { display: block; margin-top: 5px; color: var(--muted); font-size: .7rem; }
.member-auth-submit { width: 100%; margin-top: 4px; color: #172033; }
.member-auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
}
.member-auth-footer span { color: var(--muted); }
.member-auth-footer a { font-weight: 800; }
.member-auth-return { display: block; margin-top: 15px; color: #51677f; font-size: .76rem; text-align: center; }
.member-register-card { padding: 32px; }
.member-register-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.member-register-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.member-certification {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 2px 0 17px;
  padding: 12px;
  border: 1px solid #d7e2ee;
  border-radius: 9px;
  background: #f7faff;
  color: #465b72 !important;
  font-size: .74rem !important;
  line-height: 1.45;
}
.member-certification input { width: 17px; height: 17px; margin: 2px 0 0; }
.member-account-card { padding: 32px; }
.member-account-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.member-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.member-status-badge--pending { background: #fff0c7; color: #855c00; }
.member-status-badge--approved { background: #dcf5e7; color: #126c40; }
.member-status-badge--rejected,
.member-status-badge--suspended { background: #fde3e3; color: #9e2630; }
.member-status-panel {
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid #d2dfed;
  border-left: 5px solid #d79b00;
  border-radius: 11px;
  background: #fffaf0;
}
.member-status-panel--approved { border-left-color: #168051; background: #f0faf5; }
.member-status-panel--rejected,
.member-status-panel--suspended { border-left-color: #b42318; background: #fff3f2; }
.member-status-panel strong { color: var(--navy); }
.member-status-panel p { margin: 4px 0 11px; color: var(--muted); font-size: .82rem; }
.member-status-panel small { display: block; margin-top: 10px; color: #6d4c00; }
.member-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.member-profile-grid > div { min-width: 0; padding: 12px 14px; border: 1px solid #dbe5ef; border-radius: 9px; background: #f8fbfe; }
.member-profile-grid dt { color: #687b90; font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.member-profile-grid dd { margin: 3px 0 0; color: var(--navy); font-size: .83rem; font-weight: 700; overflow-wrap: anywhere; }
.member-password-panel { border: 1px solid #d9e4ef; border-radius: 10px; }
.member-password-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; color: var(--navy); font-size: .8rem; font-weight: 800; cursor: pointer; list-style: none; }
.member-password-panel > summary::-webkit-details-marker { display: none; }
.member-password-panel[open] > summary { border-bottom: 1px solid #d9e4ef; background: #f5f9fd; }
.member-password-panel[open] > summary span { transform: rotate(45deg); }
.member-password-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; padding: 15px; }
.member-password-form .form-group { margin: 0; }
.member-password-form label { font-size: .72rem; }
.member-account-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; }
.member-account-actions form { margin: 0; }

/* Super Admin district member approvals and audit monitoring. */
.district-member-heading { align-items: flex-end; }
.district-member-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  align-items: end;
  gap: 22px;
  margin: 22px 0 28px;
  padding: 24px 30px 27px;
  border: 1px solid #cbd9e8;
  border-top: 4px solid var(--blue);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(18,48,84,.08);
}
.district-member-cylinder { min-width: 0; padding: 3px 4px; }
.district-member-cylinder .dashboard-cylinder-value { font-size: 1.42rem; }
.district-member-cylinder .dashboard-cylinder-shell { width: 70px; height: 145px; margin-top: 10px; margin-bottom: 13px; }
.district-member-cylinder .dashboard-cylinder-label { min-height: 18px; font-size: .75rem; }
.district-member-cylinder-description {
  min-height: 28px;
  display: block;
  margin-top: 4px;
  color: #6e8198;
  font-size: .61rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}
.district-member-panel { overflow: hidden; }
.district-member-panel .panel-header > span { color: #d9e8fa; font-size: .76rem; }
.district-member-filters { display: grid; grid-template-columns: minmax(210px, 1.35fr) minmax(150px, .7fr) minmax(220px, 1fr) auto auto; align-items: end; gap: 9px; padding: 14px; border-bottom: 1px solid var(--line); background: #f7faff; }
.district-member-filters .form-group { margin: 0; }
.district-member-filters label { font-size: .7rem; }
.district-member-filters .btn { min-height: 42px; white-space: nowrap; }
.district-member-bulkbar { display: grid; grid-template-columns: auto minmax(180px, .7fr) minmax(220px, 1.2fr) auto auto; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid #ccd9e7; background: #edf5fc; }
.district-member-bulkbar strong { color: var(--navy); font-size: .78rem; }
.district-member-bulkbar select,
.district-member-bulkbar input { min-height: 39px; padding-block: 7px; }
.district-member-bulkbar .btn { min-height: 39px; }
.district-member-bulkbar > span { color: var(--muted); font-size: .72rem; font-weight: 700; white-space: nowrap; }
.district-member-table-wrap { max-height: 670px; overflow: auto; border: 0; border-radius: 0; scrollbar-gutter: stable; }
.district-member-table { min-width: 1180px; }
.district-member-table thead { position: sticky; top: 0; z-index: 3; }
.district-member-table th { background: #e5f1fc; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }
.district-member-table td { font-size: .76rem; }
.district-member-table td strong,
.district-member-table td small,
.district-member-email { display: block; }
.district-member-name { color: var(--navy); font-size: .82rem; }
.district-member-email { margin-top: 2px; overflow-wrap: anywhere; }
.district-member-table td small { margin-top: 3px; color: var(--muted); line-height: 1.35; }
.district-member-table code { color: #173e68; font-size: .73rem; }
.member-check-column { width: 44px; text-align: center; }
.member-check-column input,
.district-member-table td[data-label="Select"] input { width: 17px; height: 17px; }
.member-review-note { max-width: 180px; color: #8a5f00 !important; }
.district-member-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; min-width: 170px; }
.district-member-row-actions .btn { min-height: 31px; padding: 5px 8px; font-size: .65rem; }
.district-member-monitor-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-top: 18px; }
.district-download-log-panel,
.district-approval-log-panel { min-width: 0; overflow: hidden; }
.district-member-monitor-grid .panel-header > span { color: #d9e8fa; font-size: .72rem; }
.district-monitor-scroll { max-height: 390px; overflow: auto; border: 0; border-radius: 0; scrollbar-gutter: stable; }
.district-monitor-scroll table { min-width: 680px; }
.district-monitor-scroll thead { position: sticky; top: 0; z-index: 2; }
.district-monitor-scroll th { background: #e5f1fc; font-size: .68rem; }
.district-monitor-scroll td { font-size: .72rem; }
.district-monitor-scroll td strong,
.district-monitor-scroll td small { display: block; }
.district-monitor-scroll td small { margin-top: 2px; color: var(--muted); }

@media (max-width: 1100px) {
  .district-member-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .district-member-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .district-member-filters .btn { width: 100%; }
  .district-member-bulkbar { grid-template-columns: auto 1fr 1fr auto; }
  .district-member-bulkbar > span { grid-column: 1 / -1; }
  .district-member-monitor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .curriculum-access-banner { grid-template-columns: auto minmax(0, 1fr); }
  .curriculum-access-banner > .btn,
  .curriculum-access-actions { grid-column: 1 / -1; width: 100%; }
  .curriculum-access-actions .btn { flex: 1; }
  .member-auth-shell { padding-top: 24px; }
  .member-auth-card,
  .member-register-card,
  .member-account-card { padding: 23px 20px; border-radius: 15px; }
  .member-register-grid,
  .member-profile-grid,
  .member-password-form { grid-template-columns: 1fr; }
  .member-account-topline { align-items: flex-start; flex-direction: column; }
  .member-account-actions { align-items: stretch; flex-direction: column; }
  .member-account-actions .btn,
  .member-account-actions form,
  .member-account-actions form .btn { width: 100%; }
  .district-member-heading { align-items: flex-start; flex-direction: column; }
  .district-member-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .district-member-filters { grid-template-columns: 1fr; }
  .district-member-bulkbar { grid-template-columns: 1fr; }
  .district-member-bulkbar .btn { width: 100%; }
  .district-member-bulkbar > span { grid-column: auto; }
}
@media (max-width: 480px) {
  .member-auth-brand { align-items: flex-start; }
  .member-auth-brand > img,
  .member-auth-brand > span { width: 46px; height: 46px; flex-basis: 46px; }
  .member-auth-card-heading { align-items: flex-start; }
  .member-auth-icon,
  .member-auth-avatar { width: 46px; height: 46px; flex-basis: 46px; }
  .district-member-stat-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-locked,
  .member-password-panel > summary span,
  .district-member-stat-grid article { transition: none; }
}
.high-contrast .curriculum-access-banner,
.high-contrast .member-auth-card,
.high-contrast .member-status-panel,
.high-contrast .member-profile-grid > div { border: 2px solid #000; background: #fff; color: #000; }
.high-contrast .district-member-stat-grid { border: 2px solid #fff; background: #000; }
.high-contrast .district-member-cylinder-description { color: #fff; }
