:root {
  --institution: #075ea8;
  --navy: #12324a;
  --gold: #f3b51b;
  --ink: #111827;
  --mist: #eef6fb;
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-bg-strong: rgba(255, 255, 255, 0.76);
  --glass-border: rgba(255, 255, 255, 0.78);
  --glass-shadow: 0 24px 70px rgba(18, 50, 74, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(243, 181, 27, 0.16), transparent 26rem),
    radial-gradient(circle at 92% 14%, rgba(7, 94, 168, 0.14), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 36%, #eef6fb 100%);
  background-attachment: fixed;
}

body.bg-white {
  background:
    radial-gradient(circle at 8% 12%, rgba(243, 181, 27, 0.16), transparent 26rem),
    radial-gradient(circle at 92% 14%, rgba(7, 94, 168, 0.14), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 36%, #eef6fb 100%) !important;
  background-attachment: fixed !important;
}

header.sticky {
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  background: rgba(255, 255, 255, 0.68) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 14px 42px rgba(18, 50, 74, 0.08);
}

footer.bg-navy {
  background:
    radial-gradient(circle at 12% 0%, rgba(243, 181, 27, 0.2), transparent 22rem),
    radial-gradient(circle at 86% 18%, rgba(7, 94, 168, 0.35), transparent 25rem),
    linear-gradient(135deg, rgba(18, 50, 74, 0.98), rgba(7, 54, 94, 0.94)) !important;
  overflow: hidden;
  position: relative;
}

footer.bg-navy::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  opacity: 0.35;
  position: absolute;
}

footer.bg-navy > * {
  position: relative;
  z-index: 1;
}

.site-footer-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(18rem, 1.5fr) repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 80rem;
  padding: 3rem 1rem 2rem;
}

.site-footer-brand img {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0.65rem;
  display: block;
  height: 4rem;
  padding: 0.35rem;
  width: auto;
}

.site-footer-brand p,
.site-footer-address p,
.site-footer-legal p {
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.7;
}

.site-footer-brand p {
  margin-top: 1rem;
  max-width: 32rem;
}

.site-footer-brand a,
.site-footer-links a,
.site-footer-legal a {
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.site-footer-brand a {
  display: inline-flex;
  margin-top: 1rem;
}

.site-footer-links,
.site-footer-address {
  display: grid;
  gap: 0.65rem;
}

.site-footer-links h2,
.site-footer-address h2 {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-links a {
  color: rgba(226, 232, 240, 0.9);
}

.site-footer-links a:hover,
.site-footer-links a:focus,
.site-footer-legal a:hover,
.site-footer-legal a:focus {
  color: var(--gold);
}

.site-footer-address {
  color: white;
  font-style: normal;
}

.site-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: 80rem;
  padding: 1.25rem 1rem 2rem;
}

.site-footer-legal div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  border-radius: 0.375rem;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1rem;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.nav-link {
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--institution);
}

.nav-link {
  border-radius: 0.5rem;
  padding-inline: 0.35rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.48);
  transform: translateY(-1px);
}

.nav-link.is-active {
  color: var(--institution);
  position: relative;
}

.nav-link.is-active::after {
  background: var(--gold);
  border-radius: 999px;
  bottom: 0.3rem;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}

.page-tile {
  color: inherit;
  display: block;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.page-tile:hover,
.page-tile:focus {
  border-color: rgba(7, 94, 168, 0.45);
  transform: translateY(-2px);
}

.btn-primary,
.btn-secondary {
  gap: 0.55rem;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  display: inline-flex;
  font-weight: 800;
  padding: 0.75rem 1rem;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ui-icon {
  fill: none;
  flex: 0 0 auto;
  height: 1.15rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 1.15rem;
}

.nav-link {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
}

.nav-link-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(7, 94, 168, 0.12), rgba(67, 198, 183, 0.1));
  border: 1px solid rgba(7, 94, 168, 0.18);
  border-radius: 0.55rem;
  color: #075ea8;
  display: inline-flex;
  height: 1.85rem;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 1.85rem;
}

.nav-link:hover .nav-link-icon,
.nav-link:focus .nav-link-icon,
.nav-link.is-active .nav-link-icon {
  background: linear-gradient(135deg, rgba(7, 94, 168, 0.95), rgba(67, 198, 183, 0.84));
  border-color: rgba(243, 181, 27, 0.42);
  box-shadow: 0 0 18px rgba(67, 198, 183, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-primary .ui-icon,
.btn-secondary .ui-icon,
.btn-glass-primary .ui-icon,
.btn-glass-secondary .ui-icon,
.logout-button .ui-icon {
  height: 1.05rem;
  width: 1.05rem;
}

.btn-primary {
  background: var(--institution);
  color: white;
  box-shadow: 0 12px 24px rgba(7, 94, 168, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #054f8f;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--gold);
  color: #1f2937;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #d99e12;
  transform: translateY(-1px);
}

.icon-button {
  display: inline-grid;
  gap: 5px;
  min-height: 44px;
  min-width: 44px;
  place-content: center;
}

.icon-button span {
  background: var(--navy);
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 22px;
}

.hero-band {
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.96) 0%, rgba(248, 252, 255, 0.86) 42%, rgba(8, 32, 51, 0.36) 100%),
    radial-gradient(circle at 14% 24%, rgba(243, 181, 27, 0.34), transparent 24rem),
    radial-gradient(circle at 85% 20%, rgba(7, 94, 168, 0.34), transparent 30rem),
    url("../assets/hero.jpeg") center right / cover no-repeat;
  overflow: hidden;
  position: relative;
}

.hero-band::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 38%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent 58%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-band > div {
  position: relative;
  z-index: 1;
}

.hero-panel {
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 1rem;
}

.hero-logo-wrap {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #ffffff, #eef6fb);
  border: 1px solid #dbeafe;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 2rem;
}

.hero-logo-wrap img {
  max-height: 100%;
  object-fit: contain;
}

.hero-image-wrap {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 0.85rem;
  overflow: hidden;
  position: relative;
}

.hero-image-wrap > img {
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.hero-image-badge {
  align-items: center;
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0.75rem;
  bottom: 1rem;
  box-shadow: 0 12px 28px rgba(18, 50, 74, 0.2);
  display: flex;
  left: 1rem;
  max-width: 46%;
  padding: 0.55rem;
  position: absolute;
}

.hero-image-badge img {
  display: block;
  height: auto;
  max-height: 3.5rem;
  object-fit: contain;
  width: 100%;
}

.eyebrow {
  color: var(--institution);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 950;
  line-height: 1.06;
  margin-top: 0.75rem;
}

.section-band {
  background:
    radial-gradient(circle at 85% 15%, rgba(7, 94, 168, 0.12), transparent 24rem),
    rgba(248, 250, 252, 0.72);
}

.home-banner {
  background: rgba(255, 255, 255, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(255, 255, 255, 0.74);
}

.banner-image {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  box-shadow: var(--glass-shadow);
  display: block;
  height: auto;
  width: 100%;
}

.home-photo-mosaic {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.home-photo-mosaic img,
.conference-strip img {
  background: #e2e8f0;
  border-radius: 0.85rem;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.home-photo-mosaic img {
  min-height: 13rem;
}

.home-photo-mosaic .mosaic-large {
  grid-row: span 2;
  min-height: 27rem;
}

.gallery-portal-section {
  background:
    radial-gradient(circle at 18% 22%, rgba(243, 181, 27, 0.26), transparent 28%),
    radial-gradient(circle at 88% 40%, rgba(7, 94, 168, 0.24), transparent 32%),
    linear-gradient(135deg, #eef6fb 0%, #ffffff 50%, #f8fafc 100%);
  overflow: hidden;
  position: relative;
}

.gallery-portal-section::before {
  background:
    linear-gradient(rgba(7, 94, 168, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 94, 168, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
  opacity: 0.35;
  position: absolute;
}

.gallery-portal {
  -webkit-backdrop-filter: blur(28px) saturate(1.25);
  align-items: center;
  backdrop-filter: blur(28px) saturate(1.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(238, 246, 251, 0.36));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1.25rem;
  box-shadow: 0 30px 80px rgba(18, 50, 74, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: inherit;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.84fr 1.16fr;
  min-height: 31rem;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  position: relative;
  text-decoration: none;
}

.gallery-portal::after {
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, transparent 70%);
  content: "";
  height: 160%;
  left: -80%;
  opacity: 0;
  position: absolute;
  top: -30%;
  transform: rotate(8deg);
  transition: left 700ms cubic-bezier(0.16, 1, 0.3, 1), opacity 240ms ease;
  width: 26%;
}

.gallery-portal:hover::after,
.gallery-portal:focus::after {
  left: 120%;
  opacity: 0.75;
}

.gallery-portal-copy {
  position: relative;
  z-index: 2;
}

.glass-pill {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--navy);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
}

.portal-link {
  align-items: center;
  background: var(--institution);
  border-radius: 0.5rem;
  box-shadow: 0 14px 30px rgba(7, 94, 168, 0.24);
  color: white;
  display: inline-flex;
  font-weight: 900;
  margin-top: 1.5rem;
  min-height: 44px;
  padding: 0.75rem 1rem;
}

.gallery-portal-visual {
  min-height: 27rem;
  position: relative;
}

.portal-photo {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(18, 50, 74, 0.22);
  object-fit: cover;
  position: absolute;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-photo-main {
  height: 82%;
  left: 3%;
  top: 9%;
  width: 62%;
  z-index: 2;
}

.portal-photo-top {
  height: 38%;
  right: 0;
  top: 0;
  width: 46%;
  z-index: 3;
}

.portal-photo-bottom {
  bottom: 0;
  height: 43%;
  right: 6%;
  width: 42%;
  z-index: 4;
}

.portal-glass-count {
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0.9rem;
  bottom: 8%;
  box-shadow: 0 18px 44px rgba(18, 50, 74, 0.18);
  color: var(--navy);
  display: grid;
  min-width: 6.75rem;
  padding: 0.85rem 1rem;
  place-items: center;
  position: absolute;
  right: 35%;
  z-index: 5;
}

.portal-glass-count strong {
  color: var(--institution);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.portal-glass-count span {
  font-size: 0.78rem;
  font-weight: 800;
}

.gallery-portal:hover,
.gallery-portal:focus {
  box-shadow: 0 38px 100px rgba(18, 50, 74, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
}

.gallery-portal:hover .portal-photo-main {
  filter: saturate(1.08) contrast(1.04);
  transform: translateX(-8px) rotate(-1.5deg) scale(1.02);
}

.gallery-portal:hover .portal-photo-top {
  filter: saturate(1.08) contrast(1.04);
  transform: translate(8px, -8px) rotate(2deg) scale(1.03);
}

.gallery-portal:hover .portal-photo-bottom {
  filter: saturate(1.08) contrast(1.04);
  transform: translate(10px, 8px) rotate(-2deg) scale(1.03);
}

.gallery-hero {
  background:
    linear-gradient(135deg, rgba(238, 246, 251, 0.96), rgba(255, 255, 255, 0.8)),
    radial-gradient(circle at 78% 28%, rgba(243, 181, 27, 0.28), transparent 30%);
}

.gallery-hero-panel {
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1rem;
  box-shadow: 0 24px 68px rgba(18, 50, 74, 0.14);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.gallery-grid {
  column-count: 3;
  column-gap: 1rem;
}

.gallery-grid figure {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 0.75rem;
  break-inside: avoid;
  box-shadow: 0 14px 36px rgba(18, 50, 74, 0.1);
  margin: 0 0 1rem;
  overflow: hidden;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid figure:hover {
  box-shadow: 0 24px 58px rgba(18, 50, 74, 0.18);
  transform: translateY(-6px);
}

.gallery-grid img {
  display: block;
  height: auto;
  width: 100%;
}

.gallery-grid figcaption {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.8rem 0.95rem;
}

.gallery-grid figcaption strong,
.gallery-grid figcaption span {
  display: block;
}

.gallery-grid figcaption span {
  color: #64748b;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.gallery-photo-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  width: 100%;
}

.gallery-lightbox {
  align-items: center;
  background: rgba(8, 20, 34, 0.8);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 86;
}

.gallery-lightbox.hidden {
  display: none;
}

.gallery-lightbox-panel {
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  backdrop-filter: blur(24px) saturate(1.15);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 1rem;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  max-height: min(88vh, 58rem);
  max-width: min(76rem, 100%);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.gallery-lightbox-panel > img {
  align-self: center;
  background: rgba(4, 12, 24, 0.28);
  display: block;
  height: 100%;
  max-height: 88vh;
  object-fit: contain;
  width: 100%;
}

.gallery-lightbox-caption {
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem;
}

.gallery-lightbox-caption > span {
  color: var(--institution);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.gallery-lightbox-caption h2 {
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 950;
  line-height: 1.1;
  margin-top: 0.55rem;
}

.gallery-lightbox-caption p {
  color: #475569;
  line-height: 1.7;
  margin-top: 1rem;
}

.gallery-nav {
  align-items: center;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  font-size: 2rem;
  font-weight: 900;
  height: 3rem;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  z-index: 2;
}

.gallery-nav.prev {
  left: 1rem;
}

.gallery-nav.next {
  right: 23rem;
}

@media (max-width: 860px) {
  .gallery-lightbox-panel {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow: auto;
  }

  .gallery-lightbox-panel > img {
    height: auto;
    max-height: 62vh;
  }

  .gallery-nav.next {
    right: 1rem;
  }
}

.glass-panel,
.institution-hero-card,
.institution-visual-card,
.institution-cta {
  -webkit-backdrop-filter: blur(24px) saturate(1.22);
  backdrop-filter: blur(24px) saturate(1.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(238, 246, 251, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.15rem;
  box-shadow: 0 26px 72px rgba(18, 50, 74, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.institution-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(243, 181, 27, 0.24), transparent 26rem),
    radial-gradient(circle at 86% 36%, rgba(7, 94, 168, 0.2), transparent 28rem),
    linear-gradient(135deg, rgba(238, 246, 251, 0.78), rgba(255, 255, 255, 0.62));
  overflow: hidden;
  position: relative;
}

.institution-hero::before {
  background:
    linear-gradient(rgba(7, 94, 168, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 94, 168, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
  opacity: 0.42;
  position: absolute;
}

.institution-hero > div {
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.institution-hero-card,
.institution-visual-card,
.institution-summary,
.institution-cta {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.institution-visual-card {
  align-content: center;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100%;
  overflow: hidden;
}

.institution-visual-card img {
  border-radius: 0.85rem;
  display: block;
  height: auto;
  width: 100%;
}

.institution-visual-card .institution-logo-ouh {
  align-self: center;
  aspect-ratio: 16 / 11;
  background: rgba(255, 255, 255, 0.72);
  justify-self: center;
  max-width: min(30rem, 92%);
  min-height: auto;
  object-fit: contain;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.institution-floating-note {
  align-items: center;
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 0.85rem;
  box-shadow: 0 18px 42px rgba(18, 50, 74, 0.16);
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: auto;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.institution-floating-note strong {
  color: var(--institution);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 950;
}

.institution-floating-note span {
  color: #334155;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.55;
}

.institution-summary {
  display: grid;
  gap: 1rem;
}

.institution-summary p {
  color: #475569;
  line-height: 1.8;
}

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

.institution-facts article,
.education-focus {
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  backdrop-filter: blur(22px) saturate(1.18);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1rem;
  box-shadow: 0 20px 58px rgba(18, 50, 74, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.institution-facts article {
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem;
}

.institution-facts span {
  color: var(--institution);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.institution-facts h3,
.education-focus h2 {
  color: var(--navy);
  font-weight: 950;
}

.institution-facts p,
.education-focus p {
  color: #475569;
  line-height: 1.75;
}

.education-focus {
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.82fr 1.18fr;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.education-focus h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-top: 0.75rem;
}

.education-focus div:last-child {
  display: grid;
  gap: 1rem;
}

.institution-values-section {
  background:
    radial-gradient(circle at 15% 30%, rgba(7, 94, 168, 0.14), transparent 24rem),
    radial-gradient(circle at 90% 8%, rgba(243, 181, 27, 0.18), transparent 24rem),
    rgba(248, 250, 252, 0.62);
}

.institution-value {
  min-height: 14rem;
}

.institution-cta {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.btn-glass-primary,
.btn-glass-secondary {
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  align-items: center;
  backdrop-filter: blur(18px) saturate(1.25);
  border-radius: 0.75rem;
  display: inline-flex;
  gap: 0.55rem;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  overflow: hidden;
  padding: 0.8rem 1.05rem;
  position: relative;
  text-decoration: none;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-glass-primary {
  background: linear-gradient(135deg, rgba(7, 94, 168, 0.92), rgba(18, 50, 74, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 18px 42px rgba(7, 94, 168, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: white;
}

.btn-glass-secondary {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(18, 50, 74, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  color: var(--navy);
}

.btn-glass-primary::after,
.btn-glass-secondary::after {
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  content: "";
  height: 150%;
  left: -80%;
  position: absolute;
  top: -25%;
  transform: rotate(8deg);
  transition: left 560ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 30%;
}

.btn-glass-primary:hover,
.btn-glass-primary:focus,
.btn-glass-secondary:hover,
.btn-glass-secondary:focus {
  transform: translateY(-4px);
}

.btn-glass-primary:hover,
.btn-glass-primary:focus {
  box-shadow: 0 24px 58px rgba(7, 94, 168, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-glass-secondary:hover,
.btn-glass-secondary:focus {
  border-color: rgba(243, 181, 27, 0.76);
  box-shadow: 0 24px 54px rgba(18, 50, 74, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.btn-glass-primary:hover::after,
.btn-glass-secondary:hover::after {
  left: 120%;
}

.dashboard-shell {
  background:
    radial-gradient(circle at 12% 8%, rgba(243, 181, 27, 0.2), transparent 24rem),
    radial-gradient(circle at 86% 14%, rgba(7, 94, 168, 0.2), transparent 28rem),
    linear-gradient(180deg, rgba(238, 246, 251, 0.74), rgba(255, 255, 255, 0.72));
  padding: 2rem 1rem 4rem;
}

.admin-app {
  --admin-bg: #06111f;
  --admin-panel: rgba(9, 28, 45, 0.9);
  --admin-panel-strong: rgba(12, 38, 62, 0.96);
  --admin-line: rgba(150, 220, 255, 0.34);
  --admin-line-strong: rgba(250, 204, 21, 0.46);
  --admin-cyan: #7dd3fc;
  --admin-teal: #5eead4;
  --admin-gold: #facc15;
  --admin-text: #f4fbff;
  --admin-muted: #d3e4f2;
  background:
    linear-gradient(118deg, rgba(250, 204, 21, 0.1), transparent 24%),
    linear-gradient(152deg, rgba(94, 234, 212, 0.16), transparent 48%),
    linear-gradient(145deg, #06111f 0%, #0a2a40 48%, #07182a 100%);
  background-attachment: fixed;
  color: var(--admin-text);
  min-height: calc(100vh - 5rem);
  padding-inline: 0.75rem;
  position: relative;
}

.protected-page[data-page="admin"] [data-site-header] nav {
  max-width: none;
}

.admin-app::before {
  background:
    linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.22), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  content: "";
  height: 1px;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 6.25rem;
  z-index: 0;
}

.admin-app > * {
  position: relative;
  z-index: 1;
}

.dashboard-shell > * {
  margin-inline: auto;
  max-width: 80rem;
}

.dashboard-shell.admin-app > * {
  max-width: none;
  width: min(100%, calc(100vw - 1.5rem));
}

.dashboard-hero,
.dash-card {
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(238, 246, 251, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.15rem;
  box-shadow: 0 24px 70px rgba(18, 50, 74, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.dashboard-hero {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.dashboard-hero h1 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 950;
  line-height: 1.04;
  margin-top: 0.75rem;
}

.dashboard-hero p {
  color: #475569;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 46rem;
}

.dashboard-profile-card {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  min-width: 15rem;
  padding: 1rem;
}

.dashboard-profile-card strong {
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 950;
  margin-top: 0.75rem;
}

.dashboard-profile-card span:last-child {
  color: #64748b;
  font-weight: 700;
}

.dashboard-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.dashboard-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dash-card {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.admin-command-bar,
.admin-panel,
.admin-kpi-card,
.admin-nav-panel {
  -webkit-backdrop-filter: blur(30px) saturate(1.28);
  backdrop-filter: blur(30px) saturate(1.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(180deg, var(--admin-panel-strong), rgba(5, 18, 31, 0.9));
  border: 1px solid var(--admin-line);
  border-radius: 1.15rem;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(103, 232, 249, 0.08);
}

.admin-command-bar {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  overflow: hidden;
  padding: clamp(0.9rem, 1.5vw, 1.2rem);
  position: relative;
}

.admin-command-bar::after {
  background:
    linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.42), transparent),
    linear-gradient(180deg, transparent, rgba(250, 204, 21, 0.26), transparent);
  content: "";
  height: 140%;
  opacity: 0.75;
  position: absolute;
  right: -18%;
  top: -20%;
  transform: rotate(-14deg);
  width: 38%;
}

.admin-command-bar > * {
  position: relative;
  z-index: 1;
}

.admin-command-bar h1 {
  color: var(--admin-text);
  font-size: clamp(1.85rem, 3.8vw, 3.45rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
  margin-top: 0.35rem;
}

.admin-command-bar p:not(.eyebrow) {
  color: var(--admin-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-top: 0.75rem;
}

.admin-app .eyebrow {
  color: var(--admin-cyan);
  letter-spacing: 0.08em;
}

.admin-app .btn-glass-primary,
.admin-app .btn-glass-secondary {
  border-color: rgba(103, 232, 249, 0.28);
  box-shadow:
    0 18px 46px rgba(7, 94, 168, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.admin-app .btn-glass-primary {
  background: linear-gradient(135deg, rgba(12, 111, 191, 0.98), rgba(20, 184, 166, 0.7));
}

.admin-app .btn-glass-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: var(--admin-text);
}

.admin-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.admin-kpi-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  margin-bottom: 0.75rem;
}

.admin-kpi-card {
  display: grid;
  gap: 0.35rem;
  min-height: 7rem;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease;
}

.admin-kpi-card::after,
.admin-panel::after,
.admin-nav-panel::after {
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.42), transparent);
  content: "";
  height: 1px;
  left: 12%;
  opacity: 0.72;
  position: absolute;
  right: 12%;
  top: 0;
}

.admin-kpi-card:hover {
  border-color: rgba(103, 232, 249, 0.48);
  box-shadow:
    0 32px 94px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(103, 232, 249, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transform: translateY(-3px);
}

.admin-kpi-card span,
.admin-kpi-card small {
  color: var(--admin-muted);
  font-weight: 850;
}

.admin-kpi-card strong {
  color: var(--admin-text);
  font-size: 2.15rem;
  font-weight: 950;
  line-height: 1;
}

.admin-kpi-card.is-primary {
  background:
    linear-gradient(145deg, rgba(103, 232, 249, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(7, 94, 168, 0.92), rgba(18, 50, 74, 0.92));
  border-color: rgba(250, 204, 21, 0.32);
}

.admin-kpi-card.is-primary span,
.admin-kpi-card.is-primary small,
.admin-kpi-card.is-primary strong {
  color: white;
}

.kpi-meter {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  height: 0.48rem;
  margin-top: 0.65rem;
  overflow: hidden;
}

.kpi-meter span {
  background: linear-gradient(90deg, var(--admin-gold), var(--admin-cyan));
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.36);
  display: block;
  height: 100%;
}

.admin-workspace {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 17.5rem minmax(0, 1fr);
  transition: grid-template-columns 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-nav-panel {
  align-self: start;
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  overflow: hidden;
  padding: 0.85rem;
  position: sticky;
  top: 6rem;
}

.admin-sidebar-toggle {
  align-items: center;
  background: rgba(248, 252, 255, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 0.85rem;
  color: var(--admin-text);
  cursor: pointer;
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  width: 2.75rem;
}

.admin-sidebar-toggle svg {
  fill: none;
  height: 1.25rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  width: 1.25rem;
}

.admin-sidebar-toggle:hover,
.admin-sidebar-toggle:focus {
  background: rgba(125, 211, 252, 0.18);
  border-color: rgba(250, 204, 21, 0.42);
  transform: translateY(-1px);
}

.admin-user-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 0.9rem;
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  position: relative;
  transition: padding 220ms ease;
}

.admin-user-chip strong {
  color: var(--admin-text);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.admin-nav-panel nav {
  display: grid;
  gap: 0.35rem;
}

.admin-nav-panel a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  color: #e6f4ff;
  display: flex;
  gap: 0.75rem;
  font-weight: 900;
  min-height: 3rem;
  overflow: hidden;
  padding: 0.78rem 0.85rem;
  position: relative;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.admin-nav-icon {
  align-items: center;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(125, 211, 252, 0.2), rgba(45, 212, 191, 0.1));
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 0.65rem;
  color: var(--admin-cyan);
  display: inline-flex;
  flex: 0 0 2.1rem;
  font-size: 0.7rem;
  font-weight: 950;
  height: 2.1rem;
  justify-content: center;
  letter-spacing: 0.04em;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.admin-nav-icon .ui-icon {
  filter: drop-shadow(0 0 7px rgba(103, 232, 249, 0.26));
  height: 1.05rem;
  width: 1.05rem;
}

.admin-nav-label,
.admin-user-chip strong,
.admin-user-chip .status-pill {
  transition: opacity 180ms ease, transform 180ms ease;
}

.admin-nav-panel a:hover,
.admin-nav-panel a:focus,
.admin-nav-panel a.is-active {
  background: rgba(103, 232, 249, 0.1);
  border-color: rgba(103, 232, 249, 0.28);
  color: var(--admin-text);
  box-shadow: inset 3px 0 0 var(--admin-gold);
  transform: translateX(3px);
}

.admin-nav-panel a:hover .admin-nav-icon,
.admin-nav-panel a:focus .admin-nav-icon,
.admin-nav-panel a.is-active .admin-nav-icon {
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.52), transparent 34%),
    linear-gradient(135deg, rgba(14, 165, 233, 0.55), rgba(45, 212, 191, 0.35));
  border-color: rgba(250, 204, 21, 0.42);
  box-shadow: 0 0 22px rgba(103, 232, 249, 0.22);
  color: #ffffff;
  transform: scale(1.04);
}

.admin-sidebar-collapsed .admin-workspace {
  grid-template-columns: 11.5rem minmax(0, 1fr);
}

.admin-sidebar-collapsed .admin-nav-panel {
  justify-items: stretch;
}

.admin-sidebar-collapsed .admin-user-chip {
  gap: 0.35rem;
  padding: 0.65rem;
}

.admin-sidebar-collapsed .admin-user-chip strong,
.admin-sidebar-collapsed .admin-user-chip .status-pill {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-0.4rem);
}

.admin-sidebar-collapsed .admin-nav-label {
  font-size: 0;
  opacity: 1;
  position: static;
  transform: none;
}

.admin-sidebar-collapsed .admin-user-chip::before {
  align-items: center;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.22), rgba(7, 94, 168, 0.2));
  border: 1px solid rgba(125, 211, 252, 0.36);
  border-radius: 0.8rem;
  color: var(--admin-text);
  content: "SuperAdmin";
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  height: 2.15rem;
  justify-content: center;
  width: 100%;
}

.admin-sidebar-collapsed .admin-nav-label::after {
  content: attr(data-short-label);
  font-size: 0.84rem;
  font-weight: 950;
}

.admin-sidebar-collapsed .admin-nav-panel nav,
.admin-sidebar-collapsed .admin-nav-panel a {
  width: 100%;
}

.admin-sidebar-collapsed .admin-nav-panel a {
  gap: 0.55rem;
  justify-content: flex-start;
  padding-inline: 0.6rem;
}

.admin-sidebar-collapsed .admin-nav-panel a:hover,
.admin-sidebar-collapsed .admin-nav-panel a:focus,
.admin-sidebar-collapsed .admin-nav-panel a.is-active {
  box-shadow: inset 0 -3px 0 var(--admin-gold);
  transform: translateY(-1px);
}

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

.admin-panel {
  padding: clamp(0.9rem, 1.6vw, 1.15rem);
  position: relative;
}

.admin-panel.wide,
.admin-overview-panel {
  grid-column: 1 / -1;
}

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

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

.admin-timeline article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 0.9rem;
  display: grid;
  gap: 0.4rem;
  padding: 0.9rem;
}

.admin-timeline strong {
  color: var(--admin-cyan);
  font-size: 0.9rem;
  font-weight: 950;
}

.admin-timeline span {
  color: var(--admin-muted);
  line-height: 1.55;
}

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

.admin-module-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 0.95rem;
  display: grid;
  gap: 0.45rem;
  min-height: 8.5rem;
  padding: 1rem;
  text-decoration: none;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.module-card-icon {
  align-items: center;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.42), transparent 36%),
    linear-gradient(135deg, rgba(14, 165, 233, 0.32), rgba(45, 212, 191, 0.18));
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 0.85rem;
  color: #bff7ff;
  display: inline-flex;
  height: 2.6rem;
  justify-content: center;
  margin-bottom: 0.35rem;
  width: 2.6rem;
}

.module-card-icon .ui-icon {
  filter: drop-shadow(0 0 10px rgba(103, 232, 249, 0.28));
  height: 1.25rem;
  width: 1.25rem;
}

.admin-module-card:hover .module-card-icon,
.admin-module-card:focus .module-card-icon {
  border-color: rgba(250, 204, 21, 0.48);
  box-shadow: 0 0 30px rgba(103, 232, 249, 0.22);
  color: #ffffff;
}

.admin-module-card::after {
  color: var(--admin-gold);
  content: "→";
  font-size: 1.25rem;
  font-weight: 950;
  position: absolute;
  right: 1rem;
  top: 0.9rem;
}

.admin-module-card strong {
  color: var(--admin-text);
  font-size: 1.04rem;
  font-weight: 950;
}

.admin-module-card span {
  color: #d9eaff;
  line-height: 1.55;
}

.admin-module-card:hover,
.admin-module-card:focus {
  background: rgba(103, 232, 249, 0.12);
  border-color: rgba(250, 204, 21, 0.36);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.28), 0 0 28px rgba(103, 232, 249, 0.1);
  transform: translateY(-3px);
}

.admin-split.refined {
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
}

.admin-split.content-editor {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
}

.admin-preview-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 1rem;
  align-content: start;
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
}

.admin-preview-card img {
  aspect-ratio: 2 / 3;
  border-radius: 0.75rem;
  display: block;
  object-fit: cover;
  width: 100%;
}

.admin-preview-card strong {
  color: var(--admin-text);
  font-weight: 950;
}

.admin-preview-card span {
  color: var(--admin-muted);
  line-height: 1.55;
}

.admin-live-preview-dialog {
  align-items: center;
  background: rgba(3, 15, 28, 0.76);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 90;
}

.admin-live-preview-dialog.hidden {
  display: none;
}

.admin-live-preview-panel {
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  backdrop-filter: blur(30px) saturate(1.2);
  background:
    radial-gradient(circle at 85% 0%, rgba(125, 211, 252, 0.2), transparent 36%),
    rgba(244, 249, 252, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 1rem;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  color: #082033;
  max-height: min(92vh, 54rem);
  max-width: 76rem;
  overflow: auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  position: relative;
  width: min(100%, 76rem);
}

.admin-live-preview-panel .dash-card-head h2 {
  color: #082033;
  font-size: 1.25rem;
  font-weight: 950;
}

.preview-surface-card {
  margin: 0;
}

.admin-preview-switcher {
  background: rgba(8, 32, 51, 0.08);
  border: 1px solid rgba(7, 94, 168, 0.16);
  border-radius: 0.85rem;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
  padding: 0.35rem;
}

.admin-preview-switcher button {
  border: 1px solid transparent;
  border-radius: 0.65rem;
  color: #0b2238;
  font-weight: 950;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.admin-preview-switcher button:hover,
.admin-preview-switcher button:focus {
  border-color: rgba(7, 94, 168, 0.34);
  outline: 0;
}

.admin-preview-switcher button[aria-pressed="true"] {
  background: linear-gradient(135deg, #0f72ba, #43c6b7);
  border-color: rgba(255, 255, 255, 0.64);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(7, 94, 168, 0.22);
}

.admin-device-frame {
  background: rgba(8, 32, 51, 0.08);
  border: 1px solid rgba(7, 94, 168, 0.16);
  border-radius: 1rem;
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  margin-inline: auto;
  padding: 0.75rem;
  transition: max-width 220ms ease, transform 220ms ease;
  width: 100%;
}

.admin-device-frame > span {
  color: #075ea8;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-device-frame > div {
  margin-inline: auto;
  min-width: 0;
  width: 100%;
}

.admin-device-desktop > div {
  max-width: 42rem;
}

.admin-device-tablet {
  max-width: 30rem;
}

.admin-device-phone {
  max-width: 18rem;
}

.admin-device-phone .event-card,
.admin-device-phone .blog-card,
.admin-device-phone .preview-gallery-figure figcaption {
  padding: 0.75rem;
}

.admin-device-phone .event-card h3,
.admin-device-phone .blog-card h3 {
  font-size: 1rem;
  line-height: 1.22;
}

.admin-device-phone .event-card p,
.admin-device-phone .blog-card p,
.admin-device-phone .preview-gallery-figure p {
  font-size: 0.82rem;
  line-height: 1.48;
}

.admin-device-phone .event-card-top,
.admin-device-phone .blog-card-head,
.admin-device-phone .blog-actions {
  align-items: stretch;
  flex-direction: column;
}

.preview-empty-media {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(238, 246, 251, 0.94), rgba(255, 255, 255, 0.76)) !important;
  border: 1px dashed rgba(7, 94, 168, 0.42) !important;
  color: #075ea8 !important;
  display: flex !important;
  font-weight: 950;
  justify-content: center;
  min-height: 12rem;
  padding: 1rem;
  text-align: center;
}

.preview-gallery-figure {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 1rem;
  box-shadow: 0 18px 54px rgba(18, 50, 74, 0.14);
  overflow: hidden;
}

.preview-gallery-figure img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.preview-gallery-empty {
  aspect-ratio: 4 / 3;
  min-height: 10rem;
}

.preview-gallery-figure figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
}

.preview-gallery-figure strong {
  color: #082033;
  font-size: 1.15rem;
  font-weight: 950;
}

.preview-gallery-figure span {
  color: #075ea8;
  font-weight: 900;
}

.preview-gallery-figure p {
  color: #334155;
  line-height: 1.6;
}

.editorial-form textarea {
  min-height: 12rem;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.dash-form .sr-only {
  height: 1px;
  min-height: 1px;
  padding: 0;
  width: 1px;
}

.article-editor {
  display: grid;
  gap: 0.65rem;
}

.article-toolbar {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(248, 252, 255, 0.98), rgba(226, 238, 249, 0.94));
  border: 1px solid rgba(226, 238, 249, 0.95);
  border-radius: 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 16px 34px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.55rem;
}

.article-toolbar select,
.article-toolbar button,
.editor-color {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(7, 94, 168, 0.2);
  border-radius: 0.55rem;
  color: #06111f;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 900;
  justify-content: center;
  min-height: 2.35rem;
  min-width: 2.35rem;
  padding: 0.45rem 0.62rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.dash-form .editor-color {
  display: inline-flex;
  gap: 0.35rem;
}

.article-toolbar select {
  max-width: 11rem;
  width: auto;
}

.article-toolbar button:hover,
.article-toolbar button:focus,
.article-toolbar select:focus,
.editor-color:focus-within {
  border-color: rgba(7, 94, 168, 0.55);
  box-shadow: 0 0 0 3px rgba(7, 94, 168, 0.14), 0 0 18px rgba(67, 198, 183, 0.18);
  outline: 0;
  transform: translateY(-1px);
}

.toolbar-icon {
  fill: none;
  height: 1.08rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.08rem;
}

.article-toolbar button .toolbar-icon,
.editor-color .toolbar-icon,
.editor-image-button svg {
  filter: drop-shadow(0 0 6px rgba(7, 94, 168, 0.18));
}

.article-toolbar button:hover .toolbar-icon,
.article-toolbar button:focus .toolbar-icon,
.editor-color:focus-within .toolbar-icon {
  color: #075ea8;
  filter: drop-shadow(0 0 9px rgba(67, 198, 183, 0.34));
}

.editor-color {
  gap: 0.35rem;
  padding-inline: 0.5rem;
}

.editor-color input {
  border: 0;
  cursor: pointer;
  height: 1.35rem;
  min-height: 1.35rem;
  padding: 0;
  width: 1.6rem;
}

.admin-app .dash-form .editor-color input {
  border: 0;
  height: 1.35rem;
  min-height: 1.35rem;
  padding: 0;
  width: 1.6rem;
}

.editor-image-button svg {
  fill: none;
  height: 1.25rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 1.25rem;
}

.rich-editor-surface {
  background: #f8fcff;
  border: 1px solid rgba(226, 238, 249, 0.95);
  border-radius: 0.85rem;
  color: #06111f;
  line-height: 1.65;
  min-height: 18rem;
  overflow-wrap: anywhere;
  padding: 1rem;
}

.rich-editor-surface:focus {
  border-color: rgba(250, 204, 21, 0.48);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.16), 0 0 22px rgba(125, 211, 252, 0.16);
  outline: 0;
}

.rich-editor-surface:empty::before {
  color: #4b647d;
  content: attr(data-placeholder);
  font-weight: 700;
}

.rich-editor-surface img,
.preview-rich-content img {
  border-radius: 0.75rem;
  display: block;
  height: auto;
  margin: 0.8rem 0;
  max-width: 100%;
}

.preview-rich-content {
  color: #243b53;
  display: grid;
  gap: 0.7rem;
  line-height: 1.65;
  margin-top: 1rem;
  overflow-wrap: anywhere;
}

.preview-rich-content :where(p, ul, ol, blockquote) {
  margin: 0;
}

.preview-rich-content :where(ul, ol) {
  padding-left: 1.35rem;
}

.preview-rich-content :where(h1, h2, h3, h4, strong) {
  color: #082033;
}

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

.dash-card h2 {
  color: var(--admin-text, var(--navy));
  font-size: 1.25rem;
  font-weight: 950;
}

.muted {
  color: var(--admin-muted, #64748b);
  line-height: 1.7;
}

.status-pill {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.35rem 0.65rem;
  white-space: nowrap;
}

.status-pill.success {
  background: rgba(34, 197, 94, 0.14);
  color: #166534;
}

.status-pill.warning {
  background: rgba(243, 181, 27, 0.22);
  color: #744d00;
}

.status-pill.info {
  background: rgba(7, 94, 168, 0.14);
  color: var(--institution);
}

.admin-app .status-pill.success {
  background: rgba(45, 212, 191, 0.16);
  color: #99f6e4;
}

.admin-app .status-pill.warning {
  background: rgba(250, 204, 21, 0.18);
  color: #fde68a;
}

.admin-app .status-pill.info {
  background: rgba(103, 232, 249, 0.14);
  color: #a5f3fc;
}

.status-pill.muted-pill {
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
}

.capacity-ring {
  --percent: calc(var(--value) * 1%);
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at center, rgba(6, 17, 31, 0.92) 0 58%, transparent 59%),
    conic-gradient(var(--admin-cyan, var(--institution)) var(--percent), rgba(103, 232, 249, 0.12) 0);
  border: 1px solid rgba(103, 232, 249, 0.32);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 44px rgba(0, 0, 0, 0.22), 0 0 24px rgba(103, 232, 249, 0.14);
  display: flex;
  justify-content: center;
  margin: 1rem auto;
  max-width: 12rem;
  width: 70%;
}

.capacity-ring span {
  color: var(--admin-text, var(--navy));
  font-size: 1.65rem;
  font-weight: 950;
}

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

.dash-form label {
  display: grid;
  gap: 0.4rem;
}

.dash-form .inline-check {
  align-items: center;
  display: flex;
  gap: 0.7rem;
}

.dash-form .inline-check input {
  min-height: 1.1rem;
  width: 1.1rem;
}

.dash-form .full {
  grid-column: 1 / -1;
}

.dash-form span {
  color: var(--admin-muted, #334155);
  font-size: 0.78rem;
  font-weight: 900;
}

.dash-form small {
  color: var(--admin-muted, #64748b);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
}

.dash-form input,
.dash-form select,
.dash-form textarea {
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  background: rgba(248, 252, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0.75rem;
  color: #0b2238;
  min-height: 44px;
  padding: 0.75rem 0.9rem;
  width: 100%;
}

.dash-form .inline-check input {
  min-height: 1.1rem;
  width: 1.1rem;
}

.admin-app .dash-form input:focus,
.admin-app .dash-form select:focus,
.admin-app .dash-form textarea:focus {
  border-color: rgba(250, 204, 21, 0.45);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.16), 0 0 22px rgba(125, 211, 252, 0.16);
}

.admin-app .dash-form input::file-selector-button {
  background: rgba(7, 94, 168, 0.12);
  border: 1px solid rgba(7, 94, 168, 0.22);
  border-radius: 0.55rem;
  color: #0b2238;
  cursor: pointer;
  font-weight: 900;
  margin-right: 0.75rem;
  min-height: 2rem;
}

.custom-select-field {
  align-items: center;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.custom-select-field.hidden {
  display: none;
}

.custom-select-field input {
  min-height: 2.6rem;
}

.custom-select-field .mini-action {
  min-height: 2.6rem;
  white-space: nowrap;
}

.custom-select-field .mini-action.ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--admin-text);
}

.catalogue-import-panel {
  min-height: 100%;
}

.catalogue-import-form {
  display: grid;
  gap: 1rem;
}

.catalogue-simple-form {
  background: rgba(3, 15, 28, 0.42);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 1rem;
  padding: 1rem;
}

.catalogue-upload-button {
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 3.5rem;
  text-align: center;
  width: 100%;
}

.catalogue-upload-button.is-loading {
  opacity: 0.78;
  pointer-events: none;
}

.catalogue-upload-status {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 0.8rem;
  color: #f4fbff;
  font-weight: 850;
  margin: 0;
  padding: 0.85rem 1rem;
}

.catalogue-upload-zone {
  background:
    linear-gradient(135deg, rgba(125, 211, 252, 0.16), rgba(94, 234, 212, 0.08)),
    rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(125, 211, 252, 0.55);
  border-radius: 1rem;
  cursor: pointer;
  display: grid;
  gap: 0.4rem;
  min-height: 9rem;
  padding: 1.1rem;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.catalogue-upload-zone:hover,
.catalogue-upload-zone:focus-within {
  border-color: rgba(250, 204, 21, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18), 0 0 28px rgba(125, 211, 252, 0.12);
  transform: translateY(-2px);
}

.catalogue-upload-zone span {
  color: var(--admin-cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalogue-upload-zone strong {
  align-self: end;
  color: var(--admin-text);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 950;
  line-height: 1.12;
}

.catalogue-upload-zone small {
  color: var(--admin-muted);
  font-weight: 800;
}

.catalogue-upload-zone input {
  inset: 0;
  cursor: pointer;
  opacity: 0;
  position: absolute;
}

.catalogue-import-meta {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalogue-import-meta label {
  display: grid;
  gap: 0.4rem;
}

.catalogue-import-meta span,
.catalogue-sync-check span {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.catalogue-sync-check {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 0.8rem;
  padding: 0.75rem;
}

.catalogue-import-form > .btn-glass-primary {
  width: 100%;
}

.catalogue-archives-panel .responsive-table,
.catalogue-table-panel .responsive-table {
  border-radius: 1rem;
}

.dash-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.stat {
  display: grid;
  gap: 0.3rem;
}

.stat span,
.stat small {
  color: var(--admin-muted, #64748b);
  font-weight: 800;
}

.stat strong {
  color: var(--admin-text, var(--navy));
  font-size: 2rem;
  font-weight: 950;
}

.responsive-table {
  overflow-x: auto;
}

.responsive-table input,
.responsive-table select {
  background: rgba(248, 252, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 0.65rem;
  color: #0b2238;
  font-weight: 800;
  min-height: 2.45rem;
  min-width: 8rem;
  padding: 0.55rem 0.7rem;
  width: 100%;
}

.responsive-table td small {
  color: var(--admin-muted, #64748b);
  display: block;
  font-size: 0.78rem;
  font-weight: 750;
  margin-top: 0.2rem;
}

.responsive-table td .status-pill {
  margin-top: 0.4rem;
}

table {
  border-collapse: collapse;
  min-width: 42rem;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  padding: 0.85rem 0.7rem;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--admin-text, var(--navy));
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

td {
  color: var(--admin-muted, #475569);
  font-weight: 650;
}

.admin-app table {
  background: rgba(8, 24, 39, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 0.9rem;
  overflow: hidden;
}

.admin-app th,
.admin-app td {
  border-bottom-color: rgba(125, 211, 252, 0.18);
}

.admin-app th {
  color: #f8fbff;
}

.admin-app td {
  color: #dbeafe;
}

.admin-app tbody tr:hover {
  background: rgba(103, 232, 249, 0.06);
}

.admin-app table input,
.admin-app table select {
  background: rgba(248, 252, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0.55rem;
  color: #0b2238;
  min-height: 2.35rem;
  padding: 0.45rem 0.65rem;
  width: 100%;
}

.admin-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 17rem 1fr;
  margin-top: 1rem;
}

.admin-sidebar {
  align-self: start;
  display: grid;
  gap: 0.45rem;
  position: sticky;
  top: 6rem;
}

.admin-sidebar a {
  border-radius: 0.75rem;
  color: var(--navy);
  font-weight: 900;
  padding: 0.75rem 0.85rem;
  text-decoration: none;
}

.admin-sidebar a:hover,
.admin-sidebar a:focus {
  background: rgba(255, 255, 255, 0.56);
}

.admin-sections {
  display: grid;
  gap: 1rem;
}

.admin-split {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 18rem 1fr;
}

.mini-action {
  background: rgba(103, 232, 249, 0.12);
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 0.55rem;
  color: var(--admin-cyan, var(--institution));
  font-size: 0.78rem;
  font-weight: 900;
  margin-right: 0.35rem;
  min-height: 34px;
  padding: 0.35rem 0.55rem;
}

.mini-action.danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.18);
  color: #fecaca;
}

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

.permissions-grid label {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 0.75rem;
  color: var(--admin-text, var(--navy));
  display: flex;
  font-weight: 850;
  gap: 0.55rem;
  padding: 0.75rem;
}

.reminder-list {
  display: grid;
  gap: 0.75rem;
}

.reminder-list li {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 0.85rem;
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
}

.reminder-list strong {
  color: var(--institution);
}

.reminder-list span {
  color: #475569;
  line-height: 1.55;
}

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

.conference-strip article {
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1rem;
  box-shadow: 0 18px 54px rgba(18, 50, 74, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.conference-strip img {
  aspect-ratio: 4 / 3;
}

.conference-strip div {
  padding: 1rem;
}

.conference-strip span {
  color: var(--institution);
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.conference-strip h3,
.home-action h2 {
  color: var(--navy);
  font-weight: 900;
  line-height: 1.3;
}

.home-action.with-image {
  display: grid;
  gap: 1rem;
  grid-template-columns: 5.5rem 1fr;
}

.home-action.with-image > img {
  align-self: stretch;
  border-radius: 0.5rem;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.feature-card,
.book-card,
.event-card,
.blog-card {
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
  backdrop-filter: blur(20px) saturate(1.18);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1rem;
  box-shadow: 0 18px 54px rgba(18, 50, 74, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-card {
  padding: 1.25rem;
}

.feature-icon {
  align-items: center;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.54), transparent 36%),
    linear-gradient(135deg, rgba(243, 181, 27, 0.95), rgba(67, 198, 183, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.75rem;
  box-shadow: 0 14px 30px rgba(7, 94, 168, 0.16), 0 0 20px rgba(67, 198, 183, 0.16);
  color: #062039;
  display: inline-flex;
  font-weight: 950;
  height: 2.65rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 2.65rem;
}

.feature-icon .ui-icon {
  height: 1.28rem;
  stroke-width: 2;
  width: 1.28rem;
}

.feature-card h3,
.book-card h3,
.event-card h3,
.blog-card h3 {
  color: var(--navy);
  font-weight: 900;
}

.feature-card p,
.book-card p,
.event-card p,
.blog-card p {
  color: #64748b;
  line-height: 1.65;
  margin-top: 0.5rem;
}

.field span {
  color: #334155;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.field input,
.field select {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0.65rem;
  color: var(--ink);
  min-height: 44px;
  padding: 0.72rem 0.85rem;
  width: 100%;
}

.password-field {
  display: block;
  position: relative;
}

.password-field input {
  padding-right: 3.25rem;
}

.password-toggle {
  align-items: center;
  -webkit-backdrop-filter: blur(14px) saturate(1.16);
  backdrop-filter: blur(14px) saturate(1.16);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 0.55rem;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.password-toggle svg {
  fill: none;
  height: 1.25rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 220ms ease, opacity 180ms ease;
  width: 1.25rem;
}

.password-toggle:hover,
.password-toggle:focus {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(18, 50, 74, 0.12);
  color: var(--institution);
  transform: translateY(-50%) scale(1.03);
}

.password-toggle.is-visible svg {
  transform: rotate(-8deg) scale(1.08);
}

.field input:focus,
.field select:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(243, 181, 27, 0.55);
  outline-offset: 2px;
}

.book-card,
.event-card,
.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem;
}

.badge {
  align-items: center;
  align-self: flex-start;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(243, 181, 27, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 0.5rem;
  color: #744d00;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
}

.location {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(18, 50, 74, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.5rem;
  color: white;
  display: inline-flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  margin-top: 1rem;
  padding: 0.45rem 0.65rem;
}

.event-price {
  color: var(--institution);
  font-size: 1.65rem;
  font-weight: 950;
  margin-top: 1rem;
}

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

.event-flyer {
  aspect-ratio: 2 / 3;
  background: linear-gradient(145deg, rgba(18, 50, 74, 0.96), rgba(7, 94, 168, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 0.85rem;
  box-shadow: 0 16px 34px rgba(18, 50, 74, 0.14);
  display: block;
  object-fit: contain;
  width: 100%;
}

.event-flyer-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.event-flyer-button span {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(18, 50, 74, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  bottom: 0.8rem;
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  padding: 0.45rem 0.7rem;
  position: absolute;
  right: 0.8rem;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.event-flyer-button:hover span,
.event-flyer-button:focus span {
  opacity: 1;
  transform: translateY(0);
}

body.flyer-lightbox-open {
  overflow: hidden;
}

.flyer-lightbox {
  align-items: stretch;
  background: rgba(8, 20, 34, 0.78);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 80;
}

.flyer-lightbox.hidden {
  display: none;
}

.flyer-lightbox-shell {
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  backdrop-filter: blur(24px) saturate(1.15);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1rem;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-rows: auto 1fr;
  max-width: min(64rem, 100%);
  overflow: hidden;
  width: 100%;
}

.flyer-toolbar {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.75rem;
}

.flyer-toolbar strong {
  font-size: 0.95rem;
  line-height: 1.3;
}

.flyer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.flyer-actions button,
.flyer-actions a {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 900;
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
}

.flyer-stage {
  align-items: flex-start;
  display: flex;
  justify-content: center;
  overflow: auto;
  padding: 1rem;
}

.flyer-stage img {
  border-radius: 0.6rem;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
  max-height: 78vh;
  max-width: min(100%, 42rem);
  object-fit: contain;
  transform-origin: top center;
  transition: transform 180ms ease;
}

.event-meta {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.event-meta div {
  border: 1px solid rgba(7, 94, 168, 0.12);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.48);
  padding: 0.72rem 0.85rem;
}

.event-meta dt {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-meta dd {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  margin-top: 0.2rem;
}

.blog-cover {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 0.85rem;
  box-shadow: 0 16px 34px rgba(18, 50, 74, 0.12);
  display: block;
  object-fit: cover;
  width: 100%;
}

.blog-card-head {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1rem;
}

.blog-card-head time {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 800;
}

.blog-actions {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.share-row a,
.share-row button {
  align-items: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(7, 94, 168, 0.18);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 2.55rem;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  width: 2.55rem;
}

.share-row a:hover,
.share-row a:focus,
.share-row button:hover,
.share-row button:focus {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px rgba(18, 50, 74, 0.14);
  transform: translateY(-2px);
}

.share-row svg {
  display: block;
  fill: currentColor;
  height: 1.15rem;
  width: 1.15rem;
}

.share-row span {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.blog-reader {
  align-items: flex-start;
  background: rgba(8, 20, 34, 0.78);
  display: flex;
  inset: 0;
  justify-content: center;
  overflow: auto;
  padding: 1rem;
  position: fixed;
  z-index: 85;
}

.blog-reader.hidden {
  display: none;
}

.blog-reader-panel {
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  backdrop-filter: blur(24px) saturate(1.15);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 1rem;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  max-width: 64rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.blog-reader-panel > img {
  aspect-ratio: 16 / 7;
  display: block;
  object-fit: cover;
  width: 100%;
}

.blog-reader-content {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.blog-reader-content h2 {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 950;
  line-height: 1.05;
  margin-top: 0.75rem;
}

.blog-reader-content p {
  color: #334155;
  line-height: 1.8;
  margin-top: 1rem;
}

.blog-reader-meta {
  color: #64748b !important;
  font-size: 0.95rem;
  font-weight: 800;
}

.blog-gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin-top: 1.5rem;
}

.blog-gallery img {
  aspect-ratio: 4 / 3;
  border-radius: 0.7rem;
  box-shadow: 0 14px 30px rgba(18, 50, 74, 0.12);
  object-fit: cover;
  width: 100%;
}

.reader-share {
  border-top: 1px solid rgba(7, 94, 168, 0.12);
  padding-top: 1.2rem;
}

.auth-dialog {
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  border-radius: 1rem;
  max-width: 30rem;
  padding: 0;
  width: calc(100% - 2rem);
}

.auth-dialog::backdrop {
  background: rgba(15, 23, 42, 0.58);
}

.auth-box {
  padding: 1.5rem;
}

.auth-shell {
  background:
    radial-gradient(circle at 14% 18%, rgba(243, 181, 27, 0.24), transparent 24rem),
    radial-gradient(circle at 84% 24%, rgba(7, 94, 168, 0.2), transparent 28rem),
    linear-gradient(135deg, rgba(238, 246, 251, 0.88), rgba(255, 255, 255, 0.76));
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.84fr);
  min-height: calc(100vh - 5rem);
  padding: clamp(1rem, 4vw, 4rem);
}

.reset-password-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
}

.auth-hero,
.auth-panel {
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  backdrop-filter: blur(24px) saturate(1.18);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.15rem;
  box-shadow: 0 26px 72px rgba(18, 50, 74, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.auth-hero {
  align-content: space-between;
  display: grid;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.auth-copy h1 {
  color: var(--navy);
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  margin-top: 1rem;
}

.auth-copy > p {
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.8;
  margin-top: 1.25rem;
  max-width: 45rem;
}

.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.auth-benefits span {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(7, 94, 168, 0.14);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
  padding: 0.5rem 0.75rem;
}

.auth-visual {
  min-height: 18rem;
  position: relative;
}

.auth-visual img {
  border-radius: 1rem;
  box-shadow: 0 22px 58px rgba(18, 50, 74, 0.16);
  display: block;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  width: 100%;
}

.auth-visual-card {
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0.85rem;
  bottom: 1rem;
  box-shadow: 0 18px 38px rgba(18, 50, 74, 0.14);
  display: grid;
  gap: 0.25rem;
  left: 1rem;
  max-width: 19rem;
  padding: 0.95rem;
  position: absolute;
}

.auth-visual-card strong {
  color: var(--navy);
  font-weight: 950;
}

.auth-visual-card span {
  color: #475569;
  line-height: 1.5;
}

.auth-panel {
  align-self: start;
  display: grid;
  gap: 1.25rem;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.auth-tabs {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 1fr 1fr;
  padding: 0.35rem;
}

.auth-tabs button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-weight: 900;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.auth-tabs button.is-active {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(18, 50, 74, 0.1);
  color: var(--navy);
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form.hidden {
  display: none;
}

.auth-form-head h2 {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 950;
}

.auth-form-head p,
.auth-muted {
  color: #64748b;
  line-height: 1.65;
}

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

.auth-success {
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 0.85rem;
  background: rgba(240, 253, 250, 0.76);
  color: #115e59;
  font-weight: 800;
  line-height: 1.6;
  padding: 0.85rem 1rem;
}

.auth-success.is-error {
  border-color: rgba(220, 38, 38, 0.22);
  background: rgba(254, 242, 242, 0.82);
  color: #991b1b;
}

.auth-success.hidden {
  display: none;
}

.auth-link-button {
  align-self: center;
  background: transparent;
  border: 0;
  color: var(--institution);
  cursor: pointer;
  font-weight: 900;
  justify-self: center;
  padding: 0.2rem 0.4rem;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.auth-link-button:hover,
.auth-link-button:focus {
  color: var(--navy);
  outline: none;
}

.admin-access {
  border-top: 1px solid rgba(7, 94, 168, 0.14);
  padding-top: 1rem;
}

.admin-access summary {
  color: #64748b;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-access div {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.admin-access p {
  color: #64748b;
  line-height: 1.6;
}

.legal-page {
  margin: 0 auto;
  max-width: 64rem;
  padding: clamp(2rem, 6vw, 5rem) 1rem;
}

.legal-content {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.legal-content p {
  color: #475569;
  line-height: 1.8;
}

.legal-content strong {
  color: var(--navy);
}

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

@media (max-width: 640px) {
  .auth-form-grid,
  .auth-tabs {
    grid-template-columns: 1fr;
  }
}

form.rounded-lg,
div.rounded-lg,
div.rounded-md.bg-white,
section form,
main .bg-white.shadow-soft {
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  background: rgba(255, 255, 255, 0.66) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 18px 54px rgba(18, 50, 74, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

select.rounded-md,
input,
select {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn-primary,
.btn-secondary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after {
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  content: "";
  height: 140%;
  left: -80%;
  position: absolute;
  top: -20%;
  transform: rotate(8deg);
  transition: left 520ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 28%;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
  left: 120%;
}

.section-title {
  text-wrap: balance;
}

.dialog-close {
  align-items: center;
  border-radius: 0.375rem;
  color: #475569;
  display: inline-flex;
  float: right;
  font-size: 1.5rem;
  height: 44px;
  justify-content: center;
  width: 44px;
}

@media (max-width: 1023px) {
  #mobile-panel:not(.hidden) {
    display: block;
  }

  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-portal {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 2;
  }

  .institution-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .institution-facts,
  .education-focus {
    grid-template-columns: 1fr;
  }

  .dashboard-hero,
  .admin-split {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-grid,
  .dashboard-grid.three,
  .catalogue-import-meta,
  .admin-layout,
  .admin-kpi-grid,
  .admin-workspace,
  .admin-main-grid,
  .admin-timeline,
  .admin-module-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar,
  .admin-nav-panel {
    position: static;
  }

  .admin-sidebar-collapsed .admin-workspace {
    grid-template-columns: 1fr;
  }

  .admin-sidebar-collapsed .admin-nav-panel {
    justify-items: stretch;
  }

  .admin-sidebar-collapsed .admin-user-chip {
    height: auto;
    padding: 0.85rem;
    place-items: stretch;
    width: auto;
  }

  .admin-sidebar-collapsed .admin-user-chip::before {
    content: none;
  }

  .admin-sidebar-collapsed .admin-user-chip strong,
  .admin-sidebar-collapsed .admin-user-chip .status-pill,
  .admin-sidebar-collapsed .admin-nav-label {
    opacity: 1;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  .admin-sidebar-collapsed .admin-nav-panel a {
    justify-content: flex-start;
    padding-inline: 0.85rem;
  }

  .admin-command-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-command-actions {
    justify-content: flex-start;
  }

  .admin-split.content-editor,
  .admin-split.refined {
    grid-template-columns: 1fr;
  }

  .admin-preview-card {
    max-width: 22rem;
  }

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

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  main :where(section, .dashboard-shell, .admin-app) {
    scroll-margin-top: 5rem;
  }

  .section-title,
  .hero-band h1,
  .dashboard-hero h1,
  .admin-command-bar h1,
  .auth-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1.05;
  }

  .hero-band,
  .mx-auto.max-w-7xl {
    padding-inline: 1rem;
  }

  .hero-band {
    background:
      linear-gradient(180deg, rgba(248, 252, 255, 0.98) 0%, rgba(248, 252, 255, 0.9) 46%, rgba(8, 32, 51, 0.28) 100%),
      radial-gradient(circle at 12% 20%, rgba(243, 181, 27, 0.28), transparent 18rem),
      url("../assets/hero.jpeg") center bottom / cover no-repeat;
  }

  .hero-band::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), transparent 62%);
  }

  .btn-primary,
  .btn-secondary,
  .btn-glass-primary,
  .btn-glass-secondary,
  .logout-button,
  .session-link {
    justify-content: center;
    min-height: 44px;
    width: 100%;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .home-photo-mosaic,
  .conference-strip,
  .home-action.with-image {
    grid-template-columns: 1fr;
  }

  .home-photo-mosaic .mosaic-large,
  .home-photo-mosaic img {
    min-height: auto;
  }

  .home-action.with-image > img {
    aspect-ratio: 16 / 9;
  }

  .gallery-portal {
    min-height: auto;
  }

  .gallery-portal-visual {
    min-height: 22rem;
  }

  .portal-photo-main {
    height: 72%;
    width: 72%;
  }

  .portal-photo-top {
    height: 34%;
    width: 48%;
  }

  .portal-photo-bottom {
    height: 34%;
    width: 50%;
  }

  .portal-glass-count {
    right: 24%;
  }

  .gallery-grid {
    column-count: 1;
  }

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

  .institution-floating-note {
    grid-template-columns: 1fr;
  }

  .dash-form {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    padding: 1rem 0.75rem 2.5rem;
  }

  .admin-command-bar,
  .admin-panel,
  .admin-nav-panel,
  .admin-kpi-card,
  .glass-panel,
  .auth-panel,
  .auth-hero,
  .book-card,
  .event-card,
  .blog-card {
    border-radius: 0.8rem;
  }

  .admin-command-bar {
    padding: 1rem;
  }

  .admin-panel {
    padding: 1rem;
  }

  .responsive-table,
  .catalog-table-shell {
    margin-inline: -0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .responsive-table table,
  .catalog-table {
    min-width: 42rem;
  }

  .catalog-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-pagination span {
    order: -1;
    text-align: center;
  }

  .book-detail-dialog,
  .admin-live-preview-dialog,
  .gallery-lightbox,
  .flyer-lightbox {
    align-items: stretch;
    padding: 0;
  }

  .book-detail-panel,
  .admin-live-preview-panel,
  .gallery-lightbox-panel,
  .flyer-lightbox-shell {
    border-radius: 0;
    max-height: 100vh;
    width: 100%;
  }

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

  .admin-device-frame > div,
  .admin-device-desktop > div,
  .admin-device-tablet > div,
  .admin-device-phone > div {
    max-width: 100%;
  }

  .admin-preview-card {
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .icon-button.lg\:hidden {
    display: none;
  }
}

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

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes bepHeroBreath {
  0% {
    background-position: 0% 50%, 100% 20%, 0% 50%;
  }
  50% {
    background-position: 100% 50%, 70% 40%, 100% 50%;
  }
  100% {
    background-position: 0% 50%, 100% 20%, 0% 50%;
  }
}

@keyframes bepFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.35deg);
  }
}

@keyframes bepPulse {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(18, 50, 74, 0.2);
  }
  50% {
    box-shadow: 0 16px 38px rgba(7, 94, 168, 0.3);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-band {
  animation: bepHeroBreath 13s ease-in-out infinite;
  background-size: 180% 180%, 135% 135%, 180% 180%;
  position: relative;
}

.hero-band::after {
  background: linear-gradient(90deg, transparent, rgba(7, 94, 168, 0.14), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.hero-panel {
  animation: bepFloat 7s ease-in-out infinite;
  transition: box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-panel:hover {
  box-shadow: 0 24px 70px rgba(18, 50, 74, 0.2);
  transform: translateY(-4px);
}

.hero-image-wrap > img,
.banner-image,
.home-photo-mosaic img,
.conference-strip img,
.home-action.with-image > img {
  transition:
    filter 320ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-panel:hover .hero-image-wrap > img,
.banner-image:hover,
.home-photo-mosaic img:hover,
.conference-strip article:hover img,
.home-action.with-image:hover > img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.hero-image-badge {
  animation: bepPulse 4.8s ease-in-out infinite;
}

.btn-primary,
.btn-secondary,
.page-tile,
.feature-card,
.conference-strip article,
.book-card,
.event-card,
.blog-card {
  transition:
    border-color 260ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    background 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  transform: translateY(-3px);
}

.page-tile:hover,
.page-tile:focus,
.feature-card:hover,
.conference-strip article:hover,
.book-card:hover,
.event-card:hover,
.blog-card:hover {
  border-color: rgba(7, 94, 168, 0.32);
  box-shadow: 0 20px 48px rgba(18, 50, 74, 0.15);
  transform: translateY(-6px);
}

.feature-icon {
  transition: background 240ms cubic-bezier(0.16, 1, 0.3, 1), transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-icon,
.page-tile:hover .feature-icon {
  background: #ffd052;
  transform: rotate(-3deg) scale(1.06);
}

body.protected-page:not(.is-authorized) main,
body.protected-page:not(.is-authorized) footer {
  visibility: hidden;
}

.session-link {
  border: 1px solid rgba(7, 94, 168, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 26px rgba(18, 50, 74, 0.08);
  padding: 0.62rem 0.88rem;
}

.logout-button {
  border: 1px solid rgba(7, 94, 168, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 26px rgba(18, 50, 74, 0.08);
  color: #12324a;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.62rem 0.88rem;
  transition:
    background 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.logout-button:hover,
.logout-button:focus {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(18, 50, 74, 0.13);
  transform: translateY(-2px);
}

.catalog-public-note {
  max-width: 44rem;
  border: 1px solid rgba(7, 94, 168, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 18px 42px rgba(18, 50, 74, 0.09);
  color: #51657a;
  line-height: 1.7;
  padding: 1rem 1.15rem;
}

.catalog-filter-panel,
.admin-catalog-filters {
  -webkit-backdrop-filter: blur(20px) saturate(1.16);
  backdrop-filter: blur(20px) saturate(1.16);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(7, 94, 168, 0.18);
  border-radius: 1rem;
  box-shadow: 0 18px 44px rgba(18, 50, 74, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(14rem, 0.8fr);
  padding: 1rem;
}

.catalog-table-shell {
  -webkit-backdrop-filter: blur(22px) saturate(1.16);
  backdrop-filter: blur(22px) saturate(1.16);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(7, 94, 168, 0.18);
  border-radius: 1rem;
  box-shadow: 0 22px 58px rgba(18, 50, 74, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow-x: auto;
}

.catalog-table {
  min-width: 68rem;
}

.catalog-table th {
  background: #0b2238;
  color: #ffffff;
}

.catalog-table td {
  color: #102a43;
}

.catalog-table tbody tr:nth-child(even) {
  background: rgba(7, 94, 168, 0.055);
}

.catalog-table tbody tr:hover {
  background: rgba(243, 181, 27, 0.14);
}

.book-row-button {
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(7, 94, 168, 0.28);
  border-radius: 0.55rem;
  color: #075ea8;
  cursor: pointer;
  font-weight: 950;
  min-height: 2.35rem;
  padding: 0.35rem 0.65rem;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.book-row-button:hover,
.book-row-button:focus {
  background: #075ea8;
  border-color: #075ea8;
  color: #ffffff;
  transform: translateY(-1px);
}

.book-title-button {
  justify-content: flex-start;
  text-align: left;
  width: 100%;
}

.catalog-pagination {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.catalog-pagination span {
  color: #12324a;
  font-weight: 900;
}

.catalog-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.book-detail-dialog {
  align-items: center;
  background: rgba(3, 15, 28, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 80;
}

.book-detail-dialog.hidden {
  display: none;
}

.book-detail-panel {
  -webkit-backdrop-filter: blur(28px) saturate(1.18);
  backdrop-filter: blur(28px) saturate(1.18);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 1rem;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  color: #0b2238;
  display: grid;
  gap: 1rem;
  max-height: min(90vh, 48rem);
  max-width: 52rem;
  overflow: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  position: relative;
  width: min(100%, 52rem);
}

.book-detail-panel h2 {
  color: #082033;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 950;
  line-height: 1.08;
}

.book-detail-panel h3 {
  color: #075ea8;
  font-size: 1rem;
  font-weight: 950;
  margin-bottom: 0.35rem;
}

.book-detail-panel p {
  color: #243b53;
  line-height: 1.7;
}

.book-detail-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-detail-grid div,
.book-related-posts a,
.book-related-posts p {
  background: rgba(238, 246, 251, 0.88);
  border: 1px solid rgba(7, 94, 168, 0.14);
  border-radius: 0.85rem;
  padding: 0.8rem;
}

.book-detail-grid dt {
  color: #51657a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-detail-grid dd {
  color: #0b2238;
  font-weight: 900;
  margin-top: 0.2rem;
}

.book-related-posts {
  display: grid;
  gap: 0.55rem;
}

.book-related-posts a {
  color: #075ea8;
  font-weight: 900;
  text-decoration: none;
}

.book-related-posts a:hover,
.book-related-posts a:focus {
  background: rgba(7, 94, 168, 0.1);
}

.book-detail-edit-form {
  background: rgba(6, 24, 42, 0.05);
  border: 1px solid rgba(7, 94, 168, 0.14);
  border-radius: 0.9rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1rem;
}

.book-detail-edit-form.hidden {
  display: none;
}

.book-detail-edit-form h3,
.book-detail-edit-form .full {
  grid-column: 1 / -1;
}

.book-detail-edit-form label {
  display: grid;
  gap: 0.35rem;
}

.book-detail-edit-form span {
  color: #51657a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-detail-edit-form input,
.book-detail-edit-form textarea {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(7, 94, 168, 0.2);
  border-radius: 0.75rem;
  color: #082033;
  font: inherit;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0.75rem 0.85rem;
}

.book-detail-edit-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.book-detail-edit-form input:focus,
.book-detail-edit-form textarea:focus {
  border-color: rgba(7, 94, 168, 0.72);
  box-shadow: 0 0 0 4px rgba(7, 94, 168, 0.14);
  outline: 0;
}

.book-detail-actions {
  display: flex;
  justify-content: flex-end;
}

.catalogue-table-panel .admin-catalog-filters {
  margin-bottom: 1rem;
}

/* Contrast pass */
.glass-panel,
.feature-card,
.page-tile,
.book-card,
.event-card,
.blog-card,
.auth-panel,
.auth-hero,
.dashboard-hero,
.dash-card,
.catalog-public-note,
.legal-content,
.institution-card,
.institution-showcase,
.home-action,
.gallery-portal,
.contact-card {
  color: #0b2238;
}

.glass-panel :where(h1, h2, h3, h4, strong),
.feature-card :where(h1, h2, h3, h4, strong),
.page-tile :where(h1, h2, h3, h4, strong),
.book-card :where(h1, h2, h3, h4, strong),
.event-card :where(h1, h2, h3, h4, strong),
.blog-card :where(h1, h2, h3, h4, strong),
.auth-panel :where(h1, h2, h3, h4, strong),
.auth-hero :where(h1, h2, h3, h4, strong),
.dashboard-hero :where(h1, h2, h3, h4, strong),
.dash-card :where(h1, h2, h3, h4, strong),
.legal-content :where(h1, h2, h3, h4, strong),
.institution-card :where(h1, h2, h3, h4, strong),
.institution-showcase :where(h1, h2, h3, h4, strong),
.home-action :where(h1, h2, h3, h4, strong),
.gallery-portal :where(h1, h2, h3, h4, strong),
.contact-card :where(h1, h2, h3, h4, strong) {
  color: #082033;
}

.glass-panel :where(p, li, small),
.feature-card :where(p, li, small),
.page-tile :where(p, li, small),
.book-card :where(p, li, small),
.event-card :where(p, li, small),
.blog-card :where(p, li, small),
.auth-panel :where(p, li, small),
.auth-hero :where(p, li, small),
.dashboard-hero :where(p, li, small),
.dash-card :where(p, li, small),
.legal-content :where(p, li, small),
.institution-card :where(p, li, small),
.institution-showcase :where(p, li, small),
.home-action :where(p, li, small),
.gallery-portal :where(p, li, small),
.contact-card :where(p, li, small) {
  color: #243b53;
}

.admin-app :where(.admin-command-bar, .admin-panel, .admin-kpi-card, .admin-nav-panel, .catalogue-simple-form, .catalogue-upload-zone, .catalogue-sync-check) {
  color: #f8fbff;
}

.admin-app :where(.admin-command-bar, .admin-panel, .admin-kpi-card, .admin-nav-panel, .catalogue-simple-form, .catalogue-upload-zone, .catalogue-sync-check) :where(h1, h2, h3, h4, strong) {
  color: #ffffff;
}

.admin-app :where(.admin-command-bar, .admin-panel, .admin-kpi-card, .admin-nav-panel, .catalogue-simple-form, .catalogue-upload-zone, .catalogue-sync-check) :where(p, small) {
  color: #dceeff;
}

.admin-app :where(.admin-panel, .admin-kpi-card, .admin-nav-panel) .muted,
.admin-app :where(.admin-panel, .admin-kpi-card, .admin-nav-panel) .dash-form small,
.admin-app :where(.admin-panel, .admin-kpi-card, .admin-nav-panel) .responsive-table td small,
.admin-app .catalogue-upload-status,
.admin-app .catalogue-import-meta span,
.admin-app .catalogue-sync-check span {
  color: #e8f6ff;
}

.admin-app .dash-form span,
.admin-app .catalogue-upload-zone span,
.admin-app .stat span,
.admin-app .stat small,
.admin-app .admin-timeline span,
.admin-app .admin-module-card span,
.admin-app .admin-preview-card span {
  color: #dceeff;
}

.admin-app .status-pill.muted-pill {
  background: rgba(226, 232, 240, 0.12);
  color: #e2e8f0;
}

.admin-app .mini-action {
  color: #c8f7ff;
}

.admin-app .mini-action.ghost {
  color: #f8fbff;
}

.admin-app .dash-form input,
.admin-app .dash-form select,
.admin-app .dash-form textarea,
.admin-app .responsive-table input,
.admin-app .responsive-table select,
.admin-app table input,
.admin-app table select {
  background: #f8fcff;
  border-color: rgba(226, 238, 249, 0.95);
  color: #06111f;
}

.admin-app .dash-form input::placeholder,
.admin-app .dash-form textarea::placeholder {
  color: #4b647d;
}

.admin-app input[type="file"]::file-selector-button {
  background: #eaf6ff;
  color: #06111f;
}

.admin-app .auth-error {
  background: #fff1f2;
  border-color: #fca5a5;
  color: #9f1239;
}

.admin-app .auth-success {
  background: #ecfdf5;
  border-color: #86efac;
  color: #14532d;
}

.admin-app .auth-success.is-error {
  background: #fff1f2;
  border-color: #fca5a5;
  color: #9f1239;
}

.admin-app .auth-warning {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #713f12;
}

.admin-app .catalogue-simple-form {
  background:
    linear-gradient(135deg, rgba(12, 38, 62, 0.96), rgba(5, 18, 31, 0.98));
  border-color: rgba(226, 238, 249, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.admin-app .catalogue-upload-status {
  background:
    linear-gradient(135deg, rgba(3, 15, 28, 0.96), rgba(8, 24, 39, 0.94));
  border-color: rgba(125, 211, 252, 0.48);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.admin-app .book-row-button {
  background: rgba(125, 211, 252, 0.14);
  border-color: rgba(125, 211, 252, 0.36);
  color: #c8f7ff;
}

.admin-app .book-row-button:hover,
.admin-app .book-row-button:focus {
  background: #7dd3fc;
  border-color: #7dd3fc;
  color: #06111f;
}

.admin-app .catalog-pagination span {
  color: #e8f6ff;
}

@media (max-width: 768px) {
  .book-detail-grid,
  .book-detail-edit-form {
    grid-template-columns: 1fr;
  }

  .catalog-filter-panel,
  .admin-catalog-filters {
    grid-template-columns: 1fr;
  }

  .article-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.65rem;
  }

  .article-toolbar select {
    flex: 0 0 auto;
    max-width: 9.5rem;
  }

  .article-toolbar button,
  .editor-color {
    flex: 0 0 auto;
  }

  .rich-editor-surface {
    min-height: 14rem;
  }
}
