:root {
  --navy-950: #031421;
  --navy-900: #071f34;
  --navy-800: #0a2944;
  --navy-700: #1b5278;
  --blue: #009edb;
  --blue-dark: #36b9e7;
  --blue-pale: #123a57;
  --gold: #d4a64c;
  --ink: #eef7fc;
  --muted: #afcad9;
  --muted-strong: #d0e2eb;
  --surface: #0a2944;
  --canvas: #061a2c;
  --canvas-deep: #091f34;
  --line: #31536b;
  --line-soft: #1f435b;
  --danger: #b42318;
  --success: #16794a;
  --warning: #9a6700;
  --radius: 4px;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  --content: 1220px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans Thai", "Noto Sans Devanagari", "Noto Sans Hebrew", Arial, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", Georgia, serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  color: var(--navy-950);
  background: #fff;
  border: 2px solid var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

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

.boot-screen {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  color: var(--muted);
}

.boot-mark,
.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.topbar {
  position: relative;
  z-index: 150;
  color: #d7e8f2;
  background: var(--navy-950);
  font-size: 13px;
}

.topbar__inner,
.masthead__inner,
.nav__inner,
.container {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__context {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__context::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--gold);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.language-picker {
  min-height: 38px;
  display: flex;
  align-items: stretch;
}

.language-picker .custom-select__trigger {
  width: auto;
  min-width: 132px;
  min-height: 38px;
  padding-inline: 10px 8px;
  color: #e7f3f8;
  background: #071d30;
  border: 1px solid #45677c;
  border-radius: 3px;
  font-size: 13px;
}

.language-picker [data-select-label] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-picker .custom-select__trigger:hover,
.language-picker.is-open .custom-select__trigger {
  color: #fff;
  background: #0b2c47;
  border-color: #68d7f8;
}

.language-picker .custom-select__menu {
  inset-inline: auto 0;
  width: max-content;
  min-width: 220px;
  max-width: min(270px, calc(100vw - 24px));
  max-height: min(70vh, 430px);
  padding: 6px;
  background: #071d30;
  border: 1px solid #365a70;
  border-radius: 3px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

.language-picker .custom-select__option {
  min-height: 40px;
  padding-inline: 12px;
  font-size: 14px;
  text-align: start;
}

.language-picker .custom-select__option[aria-selected="true"] {
  background: #0d4767;
}

.topbar button,
.topbar a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: inherit;
  background: transparent;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.topbar button:hover,
.topbar a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.masthead {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

.masthead__inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--navy-900);
  text-decoration: none;
}

.brand-copy {
  min-width: 0;
}

.brand-copy h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.22rem, 2vw, 1.72rem);
  line-height: 1.25;
  letter-spacing: 0.015em;
}

.brand-copy p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.icon-button {
  width: 44px;
  padding: 0;
  color: var(--navy-900);
  background: #fff;
  border-color: var(--line);
}

.icon-button:hover {
  border-color: var(--blue);
}

.button--primary {
  color: #fff;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button--primary:hover {
  background: #005e84;
}

.button--secondary {
  color: var(--navy-900);
  background: #fff;
  border-color: var(--line);
}

.button--secondary:hover {
  border-color: var(--blue);
}

.button--small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 14px;
}

.button--danger {
  color: var(--danger);
  background: #fff;
  border-color: #e3aaa5;
}

.button[disabled] {
  opacity: 0.55;
  cursor: wait;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav__inner {
  min-height: 54px;
  display: flex;
  align-items: stretch;
}

.nav__link {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #e5f0f6;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: #fff;
  background: var(--navy-800);
  border-bottom-color: var(--blue);
}

.nav__spacer {
  flex: 1;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  margin-left: auto;
  padding: 0 10px;
  color: #fff;
  background: transparent;
  border: 0;
}

.main {
  min-height: 60vh;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 56%, rgba(230, 246, 252, 0.9) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(10, 42, 67, 0.05) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(10, 42, 67, 0.05) 40px);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0 36%, var(--gold) 36% 44%, transparent 44%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 56px;
  min-height: 510px;
  padding-block: 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--blue);
}

.hero h2 {
  max-width: 760px;
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.78;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.signal-board {
  position: relative;
  min-height: 340px;
  padding: 30px;
  color: #fff;
  background: var(--navy-900);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.signal-board::before,
.signal-board::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.signal-board::before {
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-board::after {
  top: 0;
  right: 0;
  width: 92px;
  height: 92px;
  background: linear-gradient(135deg, transparent 49%, rgba(0, 158, 219, 0.45) 50%);
}

.signal-board__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.signal-board__head span {
  color: #b9d4e4;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c8f4e1 !important;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #4ad295;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(74, 210, 149, 0.14);
}

.signal-board__title {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin: 38px 0 26px;
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1.35;
}

.signal-paper {
  position: relative;
  z-index: 1;
  display: block;
  margin: 32px 0 24px;
  padding: 18px 18px 17px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--blue);
  text-decoration: none;
}

.signal-paper:hover {
  background: rgba(255, 255, 255, 0.1);
}

.signal-paper > span {
  display: block;
  color: #7dd9f4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.signal-paper strong {
  display: -webkit-box;
  margin-top: 9px;
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.signal-paper small {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 12px;
  color: #a9c5d5;
  font-size: 10px;
}

.signal-chart {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  height: 132px;
  margin-top: 4px;
  padding: 8px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.signal-chart__legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #6f91a4;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.signal-svg {
  width: 100%;
  height: 102px;
  overflow: visible;
}

.signal-svg__grid line {
  stroke: rgba(134, 181, 202, 0.12);
  stroke-width: 0.35;
}

.signal-svg__candles line {
  stroke-width: 0.65;
}

.signal-svg__candles rect {
  opacity: 0.84;
}

.candle-up line,
.candle-up rect {
  stroke: #49bee8;
  fill: #49bee8;
}

.candle-down line,
.candle-down rect {
  stroke: #c9a151;
  fill: #c9a151;
}

.signal-svg__line {
  fill: none;
  stroke: rgba(227, 246, 255, 0.72);
  stroke-width: 0.55;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 2px rgba(0, 158, 219, 0.3));
}

.signal-board__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.signal-stat strong {
  display: block;
  font-size: 25px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.signal-stat span {
  display: block;
  margin-top: 4px;
  color: #a8c3d4;
  font-size: 11px;
}

.section {
  padding-block: 72px;
}

.section--white {
  background: #fff;
}

.section--tint {
  background: var(--canvas-deep);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head__copy {
  max-width: 760px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.2;
}

.section-head p:not(.section-kicker) {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--navy-900);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.research-spotlight {
  border-bottom: 1px solid var(--line);
}

.paper-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.paper-feed-card {
  min-width: 0;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.paper-feed-card:hover {
  border-color: #a8bfce;
  box-shadow: 0 12px 28px rgba(7, 26, 43, 0.08);
}

.paper-feed-card--featured {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900);
  border-top-color: var(--gold);
}

.paper-feed-card--featured:hover {
  border-color: var(--navy-700);
}

.paper-feed-card__top,
.paper-feed-card__meta,
.paper-feed-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.paper-feed-card__type {
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.paper-feed-card--featured .paper-feed-card__type {
  color: #7dd9f4;
}

.paper-feed-card__source {
  color: var(--muted);
  font-size: 11px;
}

.paper-feed-card--featured .paper-feed-card__source {
  color: #b8d2e1;
}

.paper-feed-card h3 {
  margin: 28px 0 12px;
  color: var(--navy-900);
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.paper-feed-card--featured h3 {
  color: #fff;
}

.paper-feed-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.paper-feed-card--featured p {
  color: #c1d4e0;
}

.paper-feed-card__meta {
  align-items: flex-start;
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
  font-size: 11px;
}

.paper-feed-card--featured .paper-feed-card__meta {
  color: #9db8c8;
}

.paper-feed-card__meta span:first-child {
  max-width: 68%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.paper-feed-card__footer {
  padding-top: 13px;
  margin-top: 13px;
  color: var(--blue-dark);
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  font-weight: 700;
}

.paper-feed-card__footer span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.paper-feed-card--featured .paper-feed-card__footer {
  color: #7dd9f4;
  border-top-color: #1e4868;
}

.research-source-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 16px 18px;
  margin-top: 18px;
  color: var(--muted);
  background: var(--canvas);
  border-left: 4px solid var(--blue);
  font-size: 12px;
}

.research-source-row span:first-child {
  color: var(--navy-800);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.research-source-row strong {
  color: var(--navy-800);
}

.research-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-800);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.research-card:hover {
  border-color: #a8bfce;
  box-shadow: 0 10px 24px rgba(7, 26, 43, 0.07);
}

.research-card__number {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.research-card h3 {
  margin: 38px 0 12px;
  color: var(--navy-900);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.4;
}

.research-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.research-card__tag {
  margin-top: auto;
  padding-top: 22px;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 700;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: 34px;
  align-items: start;
}

.publication-list {
  border-top: 2px solid var(--navy-900);
}

.publication-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 34px;
  gap: 20px;
  align-items: start;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.publication-item:hover h3 {
  color: var(--blue-dark);
}

.publication-type {
  display: inline-flex;
  justify-content: center;
  padding: 4px 8px;
  color: var(--navy-800);
  background: var(--blue-pale);
  border: 1px solid #b8e6f6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.publication-type--conference {
  color: #70510e;
  background: #fbf3de;
  border-color: #e9d49f;
}

.publication-type--news {
  color: #315846;
  background: #e9f5ee;
  border-color: #b8d9c5;
}

.publication-item h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 17px;
  line-height: 1.55;
  transition: color 160ms ease;
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.publication-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--navy-800);
  border: 1px solid var(--line);
}

.side-panel {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.side-panel + .side-panel {
  margin-top: 18px;
}

.side-panel h3 {
  margin: 0 0 18px;
  color: var(--navy-900);
  font-family: var(--font-serif);
  font-size: 20px;
}

.agenda-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.agenda-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.agenda-list li:last-child {
  border-bottom: 0;
}

.agenda-list time {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.agenda-list strong {
  display: block;
  color: var(--navy-900);
  line-height: 1.45;
}

.agenda-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.network-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}

.network-item {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.network-item:last-child {
  border-right: 0;
}

.network-item:hover {
  background: #f7fafc;
}

.network-item__mark {
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border: 7px solid var(--blue);
  border-right-color: var(--navy-800);
}

.network-item strong {
  color: var(--navy-900);
  font-size: 14px;
}

.network-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.page-header {
  padding-block: 58px 48px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-header h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.18;
}

.page-header p {
  max-width: 740px;
  margin: 14px 0 0;
  color: var(--muted);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 150px;
  gap: 12px;
  padding: 20px;
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b6c4ce;
  border-radius: 2px;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--blue-dark);
  outline: 3px solid rgba(0, 158, 219, 0.2);
  outline-offset: 0;
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--muted);
}

.input-with-icon .input {
  padding-left: 42px;
}

.password-control {
  position: relative;
}

.password-control .input {
  padding-right: 54px;
}

.password-toggle {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #a8c8d8;
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}

.password-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.result-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-list {
  background: #fff;
  border: 1px solid var(--line);
}

.catalog-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 150px;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
}

.catalog-item:last-child {
  border-bottom: 0;
}

.catalog-item:hover {
  background: #f8fbfd;
}

.catalog-item h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 17px;
  line-height: 1.5;
}

.catalog-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.catalog-meta {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.people-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.person-card,
.partner-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.person-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
}

.person-photo,
.partner-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--navy-800);
  background: var(--blue-pale);
  object-fit: cover;
}

.person-photo {
  width: 72px;
  height: 88px;
  font-family: var(--font-serif);
  font-size: 26px;
}

.person-photo img,
.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card h3,
.partner-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--font-serif);
  font-size: 20px;
}

.person-card__title,
.partner-card__category {
  margin: 3px 0 0;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.person-card__focus,
.partner-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.partner-card {
  min-height: 218px;
}

.partner-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.partner-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  font-weight: 800;
}

.empty-state {
  padding: 58px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
}

.empty-state h3 {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--font-serif);
}

.empty-state p {
  margin: 8px 0 0;
  color: var(--muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 42px;
  align-items: start;
  padding-block: 54px 80px;
}

.article {
  min-width: 0;
}

.article__back {
  margin-bottom: 24px;
}

.article__type {
  display: inline-block;
  padding: 4px 9px;
  color: var(--navy-800);
  background: var(--blue-pale);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article h2 {
  margin: 18px 0 0;
  color: var(--navy-950);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.25;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 18px 0;
  margin: 22px 0;
  color: var(--muted);
  border-block: 1px solid var(--line);
  font-size: 13px;
}

.article__summary {
  margin: 0 0 26px;
  color: var(--navy-800);
  font-size: 19px;
  line-height: 1.8;
}

.article__body {
  color: #2d4253;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.article__body p {
  margin: 0 0 1.1em;
}

.article-cover {
  width: 100%;
  max-height: 410px;
  margin-bottom: 26px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.source-box {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.source-box h3 {
  margin: 0 0 10px;
  color: var(--navy-900);
  font-family: var(--font-serif);
}

.source-box p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.source-box .button {
  width: 100%;
}

.footer {
  color: #bed2df;
  background: var(--navy-950);
  border-top: 5px solid var(--blue);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.7fr);
  gap: 40px;
  padding-block: 54px 42px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer__brand strong {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 18px;
}

.footer p {
  max-width: 380px;
  margin: 0;
  color: #9eb7c7;
  font-size: 13px;
}

.footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li + li {
  margin-top: 8px;
}

.footer a {
  color: #9eb7c7;
  font-size: 13px;
  text-decoration: none;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  border-top: 1px solid #1b3950;
  color: #7895a8;
  font-size: 11px;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  background: #edf1f4;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  color: #dbe9f2;
  background: var(--navy-950);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 24px;
  color: #fff;
  border-bottom: 1px solid #173650;
  text-decoration: none;
}

.admin-brand span:last-child {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.35;
}

.admin-nav {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}

.admin-nav button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  color: #aac2d1;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.admin-nav button:hover,
.admin-nav button[aria-current="page"] {
  color: #fff;
  background: var(--navy-800);
}

.admin-sidebar__bottom {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #173650;
}

.admin-user {
  padding: 0 10px 12px;
  color: #8eabbb;
  font-size: 12px;
}

.admin-user strong {
  display: block;
  color: #fff;
  font-size: 13px;
}

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

.admin-topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.admin-topbar h1 {
  margin: 0;
  color: var(--navy-900);
  font-size: 20px;
}

.admin-topbar__actions {
  display: flex;
  gap: 8px;
}

.admin-content {
  padding: 30px 32px 60px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.stat-card span {
  color: var(--muted);
  font-size: 12px;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  color: var(--navy-900);
  font-size: 32px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.admin-section {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.admin-section__head {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.admin-section__head h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 16px;
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  background: #f7f9fa;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-table td strong {
  display: block;
  color: var(--navy-900);
  font-weight: 600;
}

.admin-table td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status--published {
  color: var(--success);
  background: #e9f5ee;
}

.status--review {
  color: var(--warning);
  background: #fbf3de;
}

.status--draft {
  color: var(--muted-strong);
  background: #edf1f4;
}

.ingest-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  padding: 22px;
}

.ingest-card {
  padding: 22px;
  background: #f7f9fa;
  border: 1px solid var(--line-soft);
}

.ingest-card h3 {
  margin: 0 0 8px;
  color: var(--navy-900);
}

.ingest-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.log-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.log-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

.log-list li:last-child {
  border-bottom: 0;
}

.log-list strong {
  color: var(--navy-900);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  background: #fff;
}

.login-form-side {
  display: grid;
  place-items: center;
  padding: 40px;
}

.login-form {
  width: min(420px, 100%);
}

.login-form .brand {
  margin-bottom: 46px;
}

.login-form h1 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-serif);
  font-size: 36px;
}

.login-form > p {
  margin: 10px 0 28px;
  color: var(--muted);
}

.login-form .field + .field {
  margin-top: 16px;
}

.login-form .button {
  width: 100%;
  margin-top: 22px;
}

.login-secondary-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.login-secondary-actions .button {
  min-width: 0;
  margin-top: 0;
  padding-inline: 12px;
  font-size: 14px;
}

.admin-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-auth-grid,
.member-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.member-auth-card,
.member-account-card {
  color: var(--ink);
  background: #0a2943;
  border: 1px solid var(--line);
}

.member-auth-card {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.member-auth-card h3,
.member-account-card h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
}

.member-auth-card > p:not(.section-kicker),
.member-account-card > p {
  margin: -6px 0 4px;
  color: var(--muted);
  line-height: 1.65;
}

.member-auth-card .button {
  width: 100%;
  margin-top: 4px;
}

.member-account-card {
  padding: 28px;
}

.member-account-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.member-account-card__head strong,
.member-account-card__head span {
  display: block;
}

.member-account-card__head strong {
  color: #fff;
  font-size: 22px;
}

.member-account-card__head span {
  margin-top: 4px;
  color: var(--muted);
}

.member-account-card > p {
  margin: 24px 0;
}

.member-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-account-card--intro {
  background: #071f34;
}

.member-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.member-library-card,
.member-contact-card {
  padding: 26px;
  color: var(--ink);
  background: #0a2943;
  border: 1px solid var(--line);
}

.member-library-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.member-library-card__head h3,
.member-contact-card h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
}

.member-library-card__head > span {
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #7bdcfa;
  background: #103a56;
  border: 1px solid #2f7093;
  font-size: 14px;
  font-weight: 700;
}

.member-library-list {
  display: grid;
}

.member-library-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
}

.member-library-list a:last-child {
  border-bottom: 0;
}

.member-library-list a strong {
  color: #eff8fc;
  font-size: 14px;
  line-height: 1.45;
}

.member-library-list a span,
.member-library-list > p {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.member-contact-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
}

.member-contact-card .button {
  justify-self: start;
}

.member-action-button {
  width: 100%;
  margin-top: 12px;
}

.form-error {
  padding: 10px 12px;
  margin: 14px 0 0;
  color: var(--danger);
  background: #fff0ef;
  border: 1px solid #efc7c3;
  font-size: 13px;
}

.login-visual {
  position: relative;
  display: grid;
  align-content: end;
  padding: 60px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(7, 26, 43, 0.78), rgba(10, 42, 67, 0.92)),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255, 255, 255, 0.08) 60px),
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255, 255, 255, 0.08) 60px),
    var(--navy-800);
  overflow: hidden;
}

.login-visual::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(-8deg);
}

.login-visual::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -180px;
  right: -100px;
  border: 80px solid rgba(0, 158, 219, 0.25);
  border-radius: 50%;
}

.login-visual blockquote {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.28;
}

.login-visual p {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  color: #b5ccda;
}

dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(7, 26, 43, 0.3);
}

dialog::backdrop {
  background: rgba(7, 26, 43, 0.62);
}

.dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 18px;
}

.dialog-body {
  padding: 22px;
}

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

.field--full {
  grid-column: 1 / -1;
}

.field-hint {
  color: var(--muted);
  font-size: 11px;
}

.current-media {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.current-media img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.dialog-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.toast-region {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 3000;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100% - 40px));
}

.toast {
  padding: 13px 16px;
  color: #fff;
  background: var(--navy-900);
  border-left: 4px solid var(--blue);
  box-shadow: var(--shadow);
  font-size: 13px;
}

.toast--error {
  border-left-color: #f97066;
}

/* Institutional blue surface theme */
.skip-link {
  color: #fff;
  background: #0a2944;
  border-color: var(--blue);
}

.masthead,
.hero,
.section,
.section--white,
.page-header {
  color: var(--ink);
  background: var(--canvas);
}

.masthead {
  background: #08283f;
  border-color: var(--line);
}

.brand,
.brand-copy h1,
.icon-button {
  color: #fff;
}

.brand-copy p,
.topbar__actions,
.publication-meta,
.catalog-meta,
.article__meta {
  color: var(--muted);
}

.icon-button,
.button--secondary {
  color: #eaf6fc;
  background: #0d3652;
  border-color: #3a617a;
}

.icon-button:hover,
.button--secondary:hover {
  color: #fff;
  background: #124461;
  border-color: var(--blue);
}

.button--danger {
  color: #ffb9b3;
  background: #321f24;
  border-color: #7e4147;
}

.button--danger:hover {
  color: #fff;
  background: #4a272d;
  border-color: #b85a62;
}

.hero {
  background:
    linear-gradient(105deg, #061a2c 0%, #082842 58%, #0b3552 100%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(125, 217, 244, 0.07) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(125, 217, 244, 0.07) 40px);
  border-color: var(--line);
}

.hero::after {
  background: linear-gradient(90deg, var(--blue) 0 36%, var(--gold) 36% 44%, transparent 44%);
}

.hero h2,
.section-head h2,
.research-card h3,
.side-panel h3,
.network-item strong,
.page-header h2,
.catalog-item h3,
.person-card h3,
.partner-card h3,
.article h2,
.source-box h3,
.admin-topbar h1,
.admin-section__head h2,
.ingest-card h3,
.login-form h1,
.dialog-head h2 {
  color: #f7fbfe;
}

.hero__lead,
.section-head p:not(.section-kicker),
.research-card p,
.publication-item .publication-meta,
.agenda-list span,
.network-item span,
.page-header p,
.catalog-item p,
.person-card__focus,
.partner-card p,
.article__body,
.source-box p,
.ingest-card p,
.login-form > p {
  color: var(--muted);
}

.eyebrow,
.section-kicker,
.research-card__number,
.person-card__title,
.partner-card__category,
.text-link,
.paper-feed-card__type,
.paper-feed-card__footer {
  color: #6ed4f5;
}

.text-link:hover {
  color: #fff;
}

.signal-board {
  background: #061b2d;
  border-color: var(--gold);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.research-spotlight {
  background: #08263d;
  border-color: var(--line);
}

.section--tint {
  background: #051829;
  border-color: var(--line);
}

.paper-feed-card,
.research-card,
.side-panel,
.network-strip,
.filter-panel,
.catalog-list,
.person-card,
.partner-card,
.empty-state,
.source-box {
  color: var(--ink);
  background: #0b2d48;
  border-color: var(--line);
}

.paper-feed-card--featured {
  color: #fff;
  background: #08243b;
  border-color: #3a5d74;
  border-top-color: var(--gold);
}

.paper-feed-card:hover,
.research-card:hover,
.catalog-item:hover,
.network-item:hover {
  background: #103954;
  border-color: #4d7187;
}

.paper-feed-card h3,
.paper-feed-card__footer,
.paper-feed-card__meta,
.research-card__tag {
  color: #f2f9fd;
}

.paper-feed-card p,
.paper-feed-card__source,
.paper-feed-card__meta {
  color: var(--muted);
}

.paper-feed-card__footer {
  border-color: var(--line);
}

.research-source-row {
  color: var(--muted);
  background: #0c314d;
  border-color: var(--blue);
}

.research-source-row span:first-child,
.research-source-row strong {
  color: #ecf7fc;
}

.publication-list {
  border-top-color: var(--blue);
}

.publication-item,
.agenda-list li {
  border-color: var(--line-soft);
}

.publication-item h3,
.agenda-list strong {
  color: #edf7fc;
}

.publication-arrow {
  color: #d7e8f1;
  background: #10364f;
  border-color: #3b5f76;
}

.publication-type {
  color: #bcecff;
  background: #123d5b;
  border-color: #287297;
}

.publication-type--conference {
  color: #f3d794;
  background: #3c321d;
  border-color: #735e2d;
}

.publication-type--news {
  color: #bce8ce;
  background: #173829;
  border-color: #356a4c;
}

.side-panel {
  background: #0a2943;
}

.network-strip {
  background: #0a2943;
}

.network-item {
  border-color: var(--line);
}

.network-item__mark {
  border-color: var(--blue);
  border-right-color: #d7ecf7;
}

.filter-panel {
  background: #0b2c47;
}

.field label {
  color: #d8e8f0;
}

.input,
.select,
.textarea {
  color: #f3fafe;
  background: #061f34;
  border-color: #49687d;
}

.input::placeholder,
.textarea::placeholder {
  color: #8caaba;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--blue);
  outline-color: rgba(0, 158, 219, 0.28);
}

.catalog-list,
.empty-state {
  background: #0a2943;
}

.catalog-item {
  border-color: var(--line-soft);
}

.person-photo,
.partner-logo {
  color: #e7f4fb;
  background: #123b57;
}

.article__summary {
  color: #d8eaf3;
}

.article__body {
  color: #cbdde7;
}

.article__meta {
  border-color: var(--line);
}

.article__type {
  color: #bcecff;
  background: #123d5b;
}

.source-box {
  background: #0b2b45;
}

.admin-shell,
.admin-content {
  background: #061a2c;
}

.admin-topbar,
.admin-section,
.stat-card,
.dialog-head,
.dialog-body,
.dialog-actions {
  color: var(--ink);
  background: #0a2943;
  border-color: var(--line);
}

.admin-section__head,
.admin-table th,
.admin-table td {
  border-color: var(--line-soft);
}

.admin-table th {
  color: #c4d7e2;
  background: #0d314c;
}

.admin-table td {
  color: #cfdfe8;
}

.admin-table td strong {
  color: #f5fafe;
}

.stat-card strong {
  color: #f5fafe;
}

.stat-card span {
  color: var(--muted);
}

.admin-table td small,
.admin-user,
.log-list li {
  color: var(--muted);
}

.ingest-card {
  color: var(--ink);
  background: #0c2e49;
  border-color: var(--line);
}

.status--published {
  color: #85e3b2;
  background: #173c2c;
}

.status--review {
  color: #f5d486;
  background: #40351e;
}

.status--draft {
  color: #c6d7e0;
  background: #243c4d;
}

.login-shell {
  color: var(--ink);
  background: #061a2c;
}

.login-form-side {
  background: #08243b;
}

.login-visual {
  background:
    linear-gradient(145deg, rgba(3, 20, 33, 0.88), rgba(7, 38, 61, 0.95)),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255, 255, 255, 0.08) 60px),
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255, 255, 255, 0.08) 60px),
    var(--navy-800);
}

.form-error {
  color: #ffb8b4;
  background: #401f24;
  border-color: #7e3b42;
}

dialog {
  color: var(--ink);
  background: #0a2943;
  border-color: var(--line);
}

.current-media {
  color: var(--muted);
}

.select option {
  color: #f3fafe;
  background: #061f34;
}

.custom-select {
  position: relative;
  min-width: 0;
}

.custom-select__trigger {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  color: #f3fafe;
  background: #061f34;
  border: 1px solid #49687d;
  border-radius: 3px;
  text-align: left;
  cursor: pointer;
}

.custom-select__trigger:hover,
.custom-select.is-open .custom-select__trigger {
  border-color: #39b9e6;
}

.custom-select__trigger svg {
  flex: 0 0 auto;
  color: #8fb3c5;
  transition: transform 150ms ease;
}

.custom-select.is-open .custom-select__trigger svg {
  transform: rotate(180deg);
}

.custom-select__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  gap: 3px;
  max-height: 250px;
  padding: 6px;
  overflow-y: auto;
  background: #071d30;
  border: 1px solid #365a70;
  border-radius: 3px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.custom-select__menu[hidden] {
  display: none;
}

.custom-select__option {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  color: #dbeaf2;
  background: #071d30;
  border: 0;
  border-radius: 2px;
  text-align: left;
  cursor: pointer;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
  color: #fff;
  background: #113c58;
}

.custom-select__option[aria-selected="true"] {
  color: #fff;
  background: #0d4767;
}

.custom-select__option svg {
  opacity: 0;
  color: #69dcff;
}

.custom-select__option[aria-selected="true"] svg {
  opacity: 1;
}

/* Premium research-intelligence layer */
body {
  background:
    radial-gradient(circle at 78% 8%, rgba(0, 126, 191, 0.12), transparent 30rem),
    radial-gradient(circle at 8% 58%, rgba(212, 166, 76, 0.045), transparent 26rem),
    #061a2c;
}

.topbar {
  background: rgba(2, 15, 25, 0.97);
  border-bottom: 1px solid rgba(78, 135, 166, 0.22);
}

.masthead {
  position: relative;
  background: linear-gradient(100deg, #071f34 0%, #082d48 62%, #0a3452 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.masthead::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.brand-mark {
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, #009edb, #0578a8);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 24px rgba(0, 122, 183, 0.28);
}

.nav {
  background: rgba(5, 26, 43, 0.9);
  border-top: 1px solid rgba(102, 174, 205, 0.08);
  border-bottom: 1px solid rgba(92, 154, 183, 0.18);
  backdrop-filter: blur(18px);
}

.nav__link[aria-current="page"] {
  background: linear-gradient(180deg, rgba(0, 158, 219, 0.09), rgba(0, 158, 219, 0.18));
}

.hero {
  min-height: 650px;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 38%, rgba(0, 158, 219, 0.2), transparent 25rem),
    radial-gradient(circle at 14% 90%, rgba(212, 166, 76, 0.055), transparent 22rem),
    linear-gradient(108deg, #051625 0%, #082740 54%, #0a3451 100%);
}

.hero::before {
  content: "AI × QUANT";
  position: absolute;
  right: -2.5vw;
  bottom: -2.4rem;
  z-index: 0;
  color: rgba(224, 245, 255, 0.035);
  font-family: Georgia, serif;
  font-size: clamp(7rem, 18vw, 18rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.8;
  white-space: nowrap;
  pointer-events: none;
}

.hero::after {
  height: 3px;
  box-shadow: 0 0 24px rgba(0, 158, 219, 0.45);
}

.hero__inner {
  min-height: 600px;
  gap: 72px;
}

.eyebrow {
  width: fit-content;
  padding: 7px 13px;
  background: rgba(0, 158, 219, 0.07);
  border: 1px solid rgba(66, 180, 222, 0.22);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
}

.hero h2 {
  max-width: 790px;
  font-size: clamp(2.5rem, 4.6vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.hero-title-line {
  display: block;
}

.hero__lead {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.85;
}

.hero__actions {
  align-items: center;
}

.button--primary {
  background: linear-gradient(135deg, #009edb, #0078a6);
  border-color: #39bce7;
  box-shadow: 0 10px 26px rgba(0, 137, 191, 0.22);
}

.button--primary:hover {
  background: linear-gradient(135deg, #12afe9, #0089bb);
  box-shadow: 0 12px 32px rgba(0, 158, 219, 0.3);
}

.button--secondary {
  background: rgba(10, 44, 70, 0.72);
  border-color: rgba(113, 167, 194, 0.38);
  backdrop-filter: blur(10px);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(84, 138, 165, 0.24);
}

.hero__proof span {
  margin-right: 8px;
  color: #7fa3b7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero__proof strong {
  padding: 5px 9px;
  color: #bcd8e6;
  background: rgba(7, 31, 52, 0.62);
  border: 1px solid rgba(90, 142, 168, 0.3);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.signal-board {
  background:
    linear-gradient(145deg, rgba(10, 42, 67, 0.95), rgba(5, 25, 42, 0.99)),
    #061b2d;
  border: 1px solid rgba(97, 163, 192, 0.28);
  border-top: 3px solid var(--gold);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.signal-board::before {
  inset: 14px;
  border-color: rgba(124, 180, 206, 0.16);
}

.signal-board::after {
  background: linear-gradient(135deg, transparent 49%, rgba(0, 158, 219, 0.48) 50%);
}

.signal-board__meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  color: #678ca2;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.signal-paper {
  background:
    linear-gradient(110deg, rgba(0, 158, 219, 0.1), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(83, 154, 188, 0.2);
  border-left-color: var(--blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.signal-stat strong {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

.market-tape {
  color: #aac6d4;
  background:
    linear-gradient(90deg, rgba(0, 158, 219, 0.08), transparent 32%),
    #03131f;
  border-bottom: 1px solid rgba(85, 139, 164, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.market-tape__inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 15px;
  overflow-x: auto;
  scrollbar-width: none;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.market-tape__inner::-webkit-scrollbar {
  display: none;
}

.market-tape__label {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  margin-left: -24px;
  color: #dff5ff;
  background: linear-gradient(135deg, rgba(0, 158, 219, 0.32), rgba(0, 95, 139, 0.18));
  border-right: 1px solid rgba(80, 172, 213, 0.3);
  font-weight: 700;
}

.market-tape__inner i {
  width: 3px;
  height: 3px;
  flex: 0 0 auto;
  background: var(--gold);
  transform: rotate(45deg);
}

.section {
  position: relative;
}

.section-kicker {
  width: fit-content;
  padding: 5px 9px;
  margin-bottom: 12px;
  background: rgba(0, 158, 219, 0.08);
  border: 1px solid rgba(55, 170, 216, 0.18);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.section-head h2 {
  letter-spacing: -0.035em;
}

.paper-feed-card,
.research-card,
.person-card,
.partner-card,
.side-panel {
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.paper-feed-card,
.research-card,
.person-card,
.partner-card,
.network-item,
.catalog-item {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.paper-feed-card:hover,
.research-card:hover,
.person-card:hover,
.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(81, 178, 219, 0.65);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}

.paper-feed-card--featured {
  background:
    radial-gradient(circle at 85% 5%, rgba(0, 158, 219, 0.2), transparent 15rem),
    linear-gradient(150deg, #092c48, #061f34);
}

.research-card {
  background:
    radial-gradient(circle at 100% 0, rgba(0, 158, 219, 0.08), transparent 12rem),
    #0a2943;
}

.research-card__number {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}

.research-source-row {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.page-header {
  background:
    radial-gradient(circle at 82% 28%, rgba(0, 158, 219, 0.12), transparent 22rem),
    linear-gradient(105deg, #051725, #082943);
}

.filter-panel {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
}

.catalog-list {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
}

.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "AIQ";
  position: absolute;
  right: 2vw;
  bottom: -3.8rem;
  color: rgba(255, 255, 255, 0.025);
  font-family: Georgia, serif;
  font-size: clamp(12rem, 26vw, 26rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.footer__main,
.footer__bottom {
  position: relative;
  z-index: 1;
}

/* Research operations console */
.admin-overview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 8px 0 24px;
}

.admin-overview-head h2 {
  margin: 0;
  color: #f7fbfe;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
}

.admin-overview-head p:not(.admin-kicker) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.admin-kicker {
  margin: 0 0 9px;
  color: #65d5f5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.admin-overview-actions {
  display: flex;
  gap: 10px;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-kpi {
  position: relative;
  min-height: 162px;
  overflow: hidden;
  padding: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 168, 232, 0.15), transparent 10rem),
    #0a2943;
  border: 1px solid rgba(79, 139, 168, 0.34);
}

.admin-kpi::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 3px;
  background: #36b9e7;
}

.admin-kpi--review::after {
  background: #d4a64c;
}

.admin-kpi--draft::after {
  background: #748fa2;
}

.admin-kpi--sources::after {
  background: #6bd3f3;
}

.admin-kpi__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #b7cedb;
  font-size: 14px;
}

.admin-kpi__top svg {
  color: #65d5f5;
}

.admin-kpi strong {
  display: block;
  margin-top: 17px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.admin-kpi p {
  margin: 9px 0 0;
  color: #93afbe;
  font-size: 13px;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.7fr);
  gap: 18px;
  align-items: start;
  margin-top: 20px;
}

.admin-dashboard-grid > .admin-section,
.admin-ops-column .admin-section {
  margin-top: 0;
}

.admin-review-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  min-height: 420px;
}

.admin-review-list {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--line-soft);
}

.admin-review-item {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  min-height: 100px;
  padding: 16px 18px;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  cursor: pointer;
}

.admin-review-item:hover,
.admin-review-item.is-active {
  background: #0d3450;
}

.admin-review-item.is-active {
  box-shadow: inset 3px 0 0 #50c8ef;
}

.admin-review-item > svg {
  color: #7fa5b8;
}

.admin-review-item__main {
  min-width: 0;
  display: block;
}

.admin-review-item__meta {
  display: flex;
  gap: 10px;
  color: #65d5f5;
  font-size: 12px;
  font-weight: 700;
}

.admin-review-item strong {
  display: block;
  margin: 7px 0 5px;
  color: #f3faff;
  font-size: 15px;
  line-height: 1.45;
}

.admin-review-item__main > span:last-child {
  display: block;
  color: #91aebe;
  font-size: 12px;
}

.admin-review-detail {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.admin-review-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.admin-review-detail h3 {
  margin: 20px 0 12px;
  color: #f6fbff;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.32;
}

.admin-review-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  color: #8fadbd;
  font-size: 13px;
}

.admin-review-detail__summary {
  margin: 22px 0;
  color: #c6d9e3;
  font-size: 14px;
  line-height: 1.75;
}

.admin-review-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.admin-ops-column {
  display: grid;
  gap: 18px;
}

.admin-section__head > div p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #99e2be;
  font-size: 13px;
  font-weight: 700;
}

.admin-live::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #4bd39a;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(75, 211, 154, 0.12);
}

.admin-live.is-error {
  color: #ffb5af;
}

.admin-live.is-error::before {
  background: #ef7e77;
  box-shadow: 0 0 0 5px rgba(239, 126, 119, 0.12);
}

.admin-source-list {
  display: grid;
  padding: 8px 18px 16px;
}

.admin-source {
  display: grid;
  grid-template-columns: 12px 100px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}

.admin-source:last-child {
  border-bottom: 0;
}

.admin-source strong {
  color: #ecf6fc;
}

.admin-source > span:last-child {
  color: #99b5c4;
  text-align: right;
}

.admin-source__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.admin-source__dot.is-ok {
  background: #4bd39a;
}

.admin-source__dot.is-error {
  background: #ef7e77;
}

.admin-source__dot.is-idle {
  background: #d4a64c;
}

.admin-pipeline {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.admin-pipeline > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  align-items: center;
  color: #b7ccd7;
  font-size: 14px;
}

.admin-pipeline strong {
  color: #fff;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.admin-pipeline__bar {
  grid-column: 1 / -1;
  display: block;
  width: 0;
  height: 5px;
  background: linear-gradient(90deg, #007eb0, #62d6f7);
  border-radius: 99px;
}

.admin-share-0 { width: 0; }
.admin-share-1 { width: 10%; }
.admin-share-2 { width: 20%; }
.admin-share-3 { width: 30%; }
.admin-share-4 { width: 40%; }
.admin-share-5 { width: 50%; }
.admin-share-6 { width: 60%; }
.admin-share-7 { width: 70%; }
.admin-share-8 { width: 80%; }
.admin-share-9 { width: 90%; }
.admin-share-10 { width: 100%; }

.admin-recent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
}

.admin-recent-card {
  min-width: 0;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #0a2943;
}

.admin-recent-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.admin-recent-card h3 {
  margin: 22px 0 10px;
  color: #f4fafe;
  font-size: 17px;
  line-height: 1.45;
}

.admin-recent-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-recent-card > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.admin-recent-card .text-link {
  min-height: 32px;
  padding: 0;
  background: transparent;
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 170px auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  margin-bottom: 18px;
  background: #0a2943;
  border: 1px solid var(--line);
}

.admin-filter-count {
  min-width: 100px;
  padding: 0 4px 3px;
  text-align: right;
}

.admin-filter-count strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.admin-filter-count span {
  color: var(--muted);
  font-size: 12px;
}

.admin-table--content {
  min-width: 1080px;
}

.admin-table__title {
  width: 45%;
  min-width: 360px;
}

.admin-table__nowrap {
  white-space: nowrap;
}

.admin-table--content .table-actions {
  flex-wrap: nowrap;
}

.admin-table__select {
  width: 44px;
}

.admin-table__select input {
  width: 18px;
  height: 18px;
  accent-color: #2aa9d8;
}

.admin-table tr.is-selected td {
  background: rgba(28, 95, 133, 0.24);
}

.admin-bulk-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  margin-bottom: 14px;
  color: #e8f5fc;
  background: #0d3857;
  border: 1px solid #33759a;
}

.admin-bulk-bar.is-visible {
  display: flex;
}

.admin-bulk-bar > div {
  display: flex;
  gap: 8px;
}

.admin-account-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-account-layout .admin-section {
  margin-top: 0;
}

.admin-account-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 24px;
}

.admin-account-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0c6f9c;
  border: 1px solid #4dbfe7;
  font-family: Georgia, serif;
  font-size: 25px;
}

.admin-account-card strong,
.admin-account-card div span {
  display: block;
}

.admin-account-card strong {
  color: #fff;
  font-size: 18px;
}

.admin-account-card div span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.admin-account-security {
  padding: 24px;
}

.admin-account-security p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.admin-message-list {
  display: grid;
}

.admin-message {
  padding: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.admin-message.is-unread {
  background: rgba(21, 77, 108, 0.22);
  box-shadow: inset 3px 0 0 #52c8ee;
}

.admin-message__head,
.admin-message__head > div,
.admin-message__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-message__head > div {
  justify-content: flex-start;
}

.admin-message__head strong {
  color: #fff;
  font-size: 16px;
}

.admin-message__head time,
.admin-message__foot {
  color: var(--muted);
  font-size: 12px;
}

.admin-message > p {
  margin: 14px 0;
  color: #c6d9e3;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.site-settings-form__body {
  padding: 24px;
}

.site-settings-form__body > h3 {
  margin: 34px 0 16px;
  color: #f5fafe;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}

.site-settings-form__body > h3:first-child {
  margin-top: 0;
}

.site-settings-form__body .textarea {
  min-height: 105px;
}

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

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

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

  .admin-review-list {
    max-height: 380px;
    overflow-y: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

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

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

  .admin-filter-bar {
    grid-template-columns: minmax(260px, 1fr) 160px 150px;
  }

  .admin-filter-count {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .admin-overview-head {
    align-items: start;
    flex-direction: column;
  }

  .admin-overview-actions {
    width: 100%;
  }

  .admin-overview-actions .button {
    flex: 1;
  }

  .admin-kpi-grid,
  .admin-ops-column,
  .admin-recent-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-filter-count {
    grid-column: auto;
  }

  .admin-review-item {
    grid-template-columns: minmax(0, 1fr) 20px;
  }

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

  .admin-bulk-bar > div {
    flex-wrap: wrap;
  }

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

  .admin-account-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .admin-account-card > .status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .member-auth-grid,
  .member-account-grid,
  .member-library-grid {
    grid-template-columns: 1fr;
  }

  .member-contact-card {
    grid-column: auto;
  }
}

/* Neural research network homepage */
.network-home {
  background: #031426;
  overflow-x: clip;
}

.network-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 42%, rgba(0, 151, 255, 0.3), transparent 27rem),
    radial-gradient(circle at 12% 90%, rgba(52, 102, 255, 0.14), transparent 28rem),
    linear-gradient(110deg, #04182d 0%, #062746 58%, #07304e 100%);
  border-bottom: 1px solid rgba(101, 171, 204, 0.24);
}

.network-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(106, 170, 200, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 170, 200, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, transparent, #000 25%, #000);
  pointer-events: none;
}

.network-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(500px, 1.02fr);
  align-items: center;
  gap: 30px;
  padding-block: 54px 64px;
}

.network-hero__copy,
.network-focus__grid > * {
  min-width: 0;
}

.network-kicker {
  margin: 0 0 22px;
  color: #70d7f6;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.network-hero h2,
.network-section__head h2,
.network-cta h2 {
  margin: 0;
  color: #f7fbfe;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.network-hero h2 {
  max-width: 760px;
  font-size: clamp(4.25rem, 7vw, 7rem);
  line-height: 0.94;
  overflow-wrap: anywhere;
}

.network-hero h2 span {
  color: #72d8f8;
}

.network-hero__lead {
  max-width: 650px;
  margin: 34px 0 0;
  color: #c2dae7;
  font-size: 20px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.network-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.network-orbit {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.network-orbit::before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  background: radial-gradient(circle, rgba(33, 150, 255, 0.46), rgba(0, 116, 255, 0.12) 55%, transparent 72%);
  border-radius: 50%;
  filter: blur(8px);
}

.network-orbit__ring {
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(117, 197, 235, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.network-orbit__ring--two {
  width: 360px;
  height: 360px;
  transform: scaleY(0.58) rotate(28deg);
}

.network-orbit__ring--three {
  width: 610px;
  height: 190px;
  transform: rotate(-20deg);
  border-color: rgba(215, 173, 89, 0.25);
}

.network-orbit__core {
  position: relative;
  z-index: 2;
  width: 230px;
  height: 230px;
  display: grid;
  place-content: center;
  text-align: center;
  background: linear-gradient(145deg, rgba(34, 134, 255, 0.68), rgba(0, 203, 255, 0.18));
  border: 1px solid rgba(155, 226, 252, 0.58);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(0, 156, 255, 0.28);
}

.network-orbit__core strong {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 76px;
  font-weight: 400;
  line-height: 1;
}

.network-orbit__core span {
  margin-top: 10px;
  color: #dff7ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.network-node {
  position: absolute;
  z-index: 3;
  min-width: 200px;
  padding: 18px 20px;
  color: #fff;
  background: rgba(3, 27, 50, 0.9);
  border: 1px solid rgba(116, 190, 228, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.network-node strong {
  display: block;
  font-size: 19px;
}

.network-node span {
  display: block;
  margin-top: 4px;
  color: #a9c7d7;
  font-size: 14px;
}

.network-node--one {
  top: 14%;
  left: 2%;
}

.network-node--two {
  right: 1%;
  bottom: 17%;
}

.network-node--three {
  top: 28%;
  right: 8%;
}

.network-focus {
  position: relative;
  z-index: 2;
  background: #03111f;
  border-bottom: 1px solid rgba(80, 140, 168, 0.22);
}

.network-focus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(81, 143, 172, 0.22);
}

.network-focus__item {
  min-height: 170px;
  display: grid;
  align-content: center;
  padding: 26px 32px;
  color: #fff;
  background: #041a2e;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.network-focus__item:hover {
  background: #07263f;
}

.network-focus__item strong {
  font-size: 25px;
  line-height: 1.2;
}

.network-focus__item p {
  margin: 8px 0 0;
  color: #a9c3d1;
  font-size: 16px;
}

.network-section {
  background: #041527;
}

.network-section--tint {
  background: #061c31;
  border-block: 1px solid rgba(79, 139, 168, 0.2);
}

.network-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.network-section__head > div {
  max-width: 850px;
}

.network-section__head h2 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.06;
}

.network-section__head p:not(.network-kicker) {
  max-width: 720px;
  margin: 16px 0 0;
  color: #aec8d6;
  font-size: 17px;
}

.network-paper-grid {
  gap: 1px;
  background: rgba(84, 145, 173, 0.22);
}

.network-paper-grid .paper-feed-card {
  min-height: 350px;
  border: 0;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.expert-card {
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #081f36;
  border: 1px solid rgba(86, 148, 177, 0.28);
}

.expert-card__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: #0b3451;
  border-bottom: 1px solid rgba(95, 154, 181, 0.24);
  font-size: 46px;
}

.expert-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.expert-card__body {
  padding: 22px;
}

.expert-card h3 {
  margin: 8px 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.expert-card__institution {
  margin: 0;
  color: #d7e8f1;
  font-size: 16px;
  line-height: 1.5;
}

.expert-card .person-card__focus {
  margin-top: 13px;
  color: #8fb0c1;
  font-size: 15px;
}

.expert-card__link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: #70d7f6;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.expert-card__link:hover {
  color: #fff;
}

.partner-word-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.partner-word-grid .partner-card {
  min-height: 0;
  padding: 20px;
  background: #081f36;
  border: 1px solid rgba(83, 144, 172, 0.26);
}

.partner-word-grid .partner-card__top {
  align-items: center;
}

.partner-word-grid .partner-logo {
  width: 68px;
  height: 68px;
  padding: 8px;
  background: #f4f7f9;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.partner-logo {
  padding: 8px;
  background: #f4f7f9;
}

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

.partner-word-grid .partner-card h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
}

.partner-word-grid .partner-card > p,
.partner-word-grid .partner-card > .text-link {
  display: none;
}

.network-cta {
  padding-block: 72px;
  background:
    radial-gradient(circle at 80% 30%, rgba(0, 148, 255, 0.22), transparent 26rem),
    #021323;
  border-top: 1px solid rgba(76, 139, 166, 0.2);
}

.network-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.network-cta h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.06;
}

.topbar {
  font-size: 14px;
}

.brand-copy p {
  font-size: 14px;
}

.section-kicker,
.paper-feed-card__type,
.paper-feed-card__source,
.paper-feed-card__meta,
.person-card__title,
.partner-card__category {
  font-size: 14px;
}

.paper-feed-card__footer {
  font-size: 15px;
}

.person-card__focus {
  font-size: 15px;
}

@media (max-width: 1100px) {
  .network-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 70px;
  }

  .network-orbit {
    width: min(650px, 100%);
    margin-inline: auto;
  }

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

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

@media (max-width: 760px) {
  .network-hero h2 {
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .network-hero__lead {
    font-size: 18px;
  }

  .network-orbit {
    min-height: 440px;
    transform: scale(0.88);
    transform-origin: center top;
    margin-bottom: -50px;
  }

  .network-focus__grid {
    grid-template-columns: 1fr;
  }

  .network-section__head,
  .network-cta__inner {
    align-items: start;
    flex-direction: column;
  }

  .network-paper-grid,
  .expert-grid,
  .partner-word-grid {
    grid-template-columns: 1fr;
  }

  .network-paper-grid {
    gap: 14px;
    background: transparent;
  }

  .expert-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: start;
  }

  .expert-card__photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
  }
}

@media (max-width: 480px) {
  .network-hero__inner {
    padding-block: 48px 30px;
  }

  .network-hero h2 {
    font-size: 3rem;
  }

  .network-orbit {
    transform: scale(0.68);
    min-height: 340px;
    margin-bottom: -110px;
  }

  .network-node {
    min-width: 170px;
    padding: 14px;
  }

  .network-node strong {
    font-size: 16px;
  }

  .network-node span {
    font-size: 14px;
  }

  .network-orbit__core {
    width: 200px;
    height: 200px;
  }

  .network-orbit__core strong {
    font-size: 62px;
  }

  .network-focus__item {
    padding: 22px;
  }

  .expert-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .expert-card__photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
  }
}

@media (max-width: 360px) {
  .topbar__inner {
    width: calc(100% - 24px);
    gap: 0;
  }

  .topbar__context {
    display: none;
  }

  .topbar__actions {
    width: 100%;
    justify-content: space-between;
  }

  .topbar__actions a {
    padding-inline: 4px;
    font-size: 12px;
  }

  .language-picker .custom-select__trigger {
    max-width: 110px;
    padding-inline: 5px 4px;
  }

  .network-hero h2 {
    font-size: 2.55rem;
  }

  .network-hero__lead {
    font-size: 17px;
  }
}

[dir="rtl"] .network-hero__copy,
[dir="rtl"] .network-section__head,
[dir="rtl"] .section-head__copy,
[dir="rtl"] .page-header {
  text-align: right;
}

[dir="rtl"] .button > svg:last-child,
[dir="rtl"] .text-link > svg:last-child,
[dir="rtl"] .mobile-nav-toggle > svg:first-child {
  transform: scaleX(-1);
}

@media (max-width: 1040px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .signal-board {
    max-width: 680px;
  }

  .research-grid,
  .paper-feed-grid,
  .people-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .catalog-item {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .catalog-meta {
    grid-column: 2;
    text-align: left;
  }

  .footer__main {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer__main > div:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 820px) {
  .topbar__context span:last-child {
    display: none;
  }

  .masthead__inner {
    min-height: 88px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-copy p {
    display: none;
  }

  .nav__inner {
    display: flex;
  }

  .nav__inner.is-open {
    display: grid;
    padding-block: 8px;
  }

  .nav__inner > .nav__link {
    display: none;
  }

  .nav__inner.is-open > .nav__link {
    display: inline-flex;
  }

  .nav__link {
    min-height: 46px;
    padding-inline: 8px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .nav__spacer {
    display: none;
  }

  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    overflow-x: hidden;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .admin-nav {
    display: flex;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
  }

  .admin-nav button {
    flex: 0 0 150px;
  }

  .admin-sidebar__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }

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

  .ingest-panel {
    grid-template-columns: 1fr;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-visual {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --content: calc(100% - 32px);
  }

  .topbar__inner,
  .masthead__inner,
  .nav__inner,
  .container {
    width: calc(100% - 32px);
  }

  .topbar__context span:first-child {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar__inner {
    min-height: 48px;
    gap: 4px;
  }

  .topbar__context {
    padding-inline-end: 0;
  }

  .topbar__actions {
    min-width: 0;
    margin-inline-start: auto;
  }

  .topbar__actions a {
    min-height: 44px;
    padding-inline: 6px;
    white-space: nowrap;
  }

  .language-picker,
  .language-picker .custom-select__trigger {
    min-height: 44px;
  }

  .language-picker .custom-select__trigger {
    max-width: 138px;
    padding-inline: 6px 5px;
    font-size: 13px;
  }

  .header-tools .button span {
    display: none;
  }

  .header-tools .button {
    width: 44px;
    padding: 0;
  }

  .brand {
    gap: 12px;
  }

  .brand-copy h1 {
    font-size: 1.12rem;
  }

  .hero__inner {
    min-height: auto;
    padding-block: 46px 52px;
  }

  .hero h2 {
    font-size: 2.35rem;
  }

  .hero__lead {
    font-size: 16px;
  }

  .signal-board {
    min-height: 310px;
    padding: 24px;
  }

  .section {
    padding-block: 52px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .research-grid,
  .paper-feed-grid,
  .people-grid,
  .partner-grid,
  .network-strip {
    grid-template-columns: 1fr;
  }

  .network-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .network-item:last-child {
    border-bottom: 0;
  }

  .publication-item {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
  }

  .publication-arrow {
    display: none;
  }

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

  .catalog-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .catalog-meta {
    grid-column: 1;
  }

  .person-card {
    grid-template-columns: 62px 1fr;
  }

  .person-photo {
    width: 62px;
    height: 76px;
  }

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

  .footer__main > div:first-child,
  .footer__main > div:last-child {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  .admin-topbar {
    padding-inline: 16px;
  }

  .admin-content {
    padding: 20px 16px 48px;
  }

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

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

  .field--full {
    grid-column: auto;
  }

  .login-form-side {
    padding: 24px 18px;
  }

  .login-secondary-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
