:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f8fbff;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --line: #dfe7f1;
  --line-soft: #edf2f8;
  --text: #0f1722;
  --muted: #697588;
  --nav-text: #425065;
  --accent: #2f6df6;
  --accent-soft: rgba(47, 109, 246, 0.12);
  --button-1: #7b89e3;
  --button-2: #8a95ea;
  --hero-top: #10295d;
  --hero-bottom: #091a3d;
  --hero-overlay: rgba(6, 14, 33, 0.78);
  --hero-line: rgba(255, 255, 255, 0.08);
  --brand-logo-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBmaWxsPSJub25lIiByb2xlPSJpbWciIGFyaWEtaGlkZGVuPSJ0cnVlIj4NCiAgPGcgc3Ryb2tlPSIjMGIxMjIwIiBzdHJva2Utd2lkdGg9IjE2IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPg0KICAgIDxwYXRoIGQ9Ik0yNTYgNTIgNDA0IDEzOHYyMzZMMjU2IDQ2MCAxMDggMzc0VjEzOEwyNTYgNTJaIi8+DQogICAgPHBhdGggZD0iTTI1NiA1MlYyMTAiLz4NCiAgICA8cGF0aCBkPSJNMjU2IDMwMlY0NjAiLz4NCg0KICAgIDxwYXRoIGQ9Ik0yNTYgMjEwIDE4MiAxMzgiLz4NCiAgICA8cGF0aCBkPSJNMjU2IDIxMCAzMzAgMTM4Ii8+DQogICAgPHBhdGggZD0iTTI1NiAzMDIgMTgyIDM3NCIvPg0KICAgIDxwYXRoIGQ9Ik0yNTYgMzAyIDMzMCAzNzQiLz4NCg0KICAgIDxwYXRoIGQ9Ik0xODIgMTM4IDE0NiAxNzQgMTQ2IDIxNCIvPg0KICAgIDxwYXRoIGQ9Ik0zMzAgMTM4IDM2NiAxNzQgMzY2IDIxNCIvPg0KICAgIDxwYXRoIGQ9Ik0xODIgMzc0IDE0NiAzMzggMTQ2IDI5OCIvPg0KICAgIDxwYXRoIGQ9Ik0zMzAgMzc0IDM2NiAzMzggMzY2IDI5OCIvPg0KDQogICAgPHBhdGggZD0iTTE0NiAyMTQgMTc2IDI0NCAyMTQgMjQ0Ii8+DQogICAgPHBhdGggZD0iTTM2NiAyMTQgMzM2IDI0NCAyOTggMjQ0Ii8+DQogICAgPHBhdGggZD0iTTE0NiAyOTggMTc2IDI2OCAyMTQgMjY4Ii8+DQogICAgPHBhdGggZD0iTTM2NiAyOTggMzM2IDI2OCAyOTggMjY4Ii8+DQoNCiAgICA8cGF0aCBkPSJNMjE0IDI0NCAyMzggMjIwIDI1NiAyMjAgMjc0IDIyMCAyOTggMjQ0Ii8+DQogICAgPHBhdGggZD0iTTIxNCAyNjggMjM4IDI5MiAyNTYgMjkyIDI3NCAyOTIgMjk4IDI2OCIvPg0KDQogICAgPHBhdGggZD0iTTIwOCAxNjggMjM4IDE2OCIvPg0KICAgIDxwYXRoIGQ9Ik0zMDQgMTY4IDI3NCAxNjgiLz4NCiAgICA8cGF0aCBkPSJNMjA4IDM0NCAyMzggMzQ0Ii8+DQogICAgPHBhdGggZD0iTTMwNCAzNDQgMjc0IDM0NCIvPg0KICA8L2c+DQoNCiAgPGcgZmlsbD0iIzBiMTIyMCI+DQogICAgPGNpcmNsZSBjeD0iMjU2IiBjeT0iNTIiIHI9IjEzIi8+DQogICAgPGNpcmNsZSBjeD0iMjU2IiBjeT0iNDYwIiByPSIxMyIvPg0KICAgIDxjaXJjbGUgY3g9IjE4MiIgY3k9IjEzOCIgcj0iMTMiLz4NCiAgICA8Y2lyY2xlIGN4PSIzMzAiIGN5PSIxMzgiIHI9IjEzIi8+DQogICAgPGNpcmNsZSBjeD0iMTgyIiBjeT0iMzc0IiByPSIxMyIvPg0KICAgIDxjaXJjbGUgY3g9IjMzMCIgY3k9IjM3NCIgcj0iMTMiLz4NCiAgICA8Y2lyY2xlIGN4PSIxNDYiIGN5PSIyMTQiIHI9IjExIi8+DQogICAgPGNpcmNsZSBjeD0iMzY2IiBjeT0iMjE0IiByPSIxMSIvPg0KICAgIDxjaXJjbGUgY3g9IjE0NiIgY3k9IjI5OCIgcj0iMTEiLz4NCiAgICA8Y2lyY2xlIGN4PSIzNjYiIGN5PSIyOTgiIHI9IjExIi8+DQogICAgPGNpcmNsZSBjeD0iMjU2IiBjeT0iMjEwIiByPSIxNiIvPg0KICAgIDxjaXJjbGUgY3g9IjI1NiIgY3k9IjMwMiIgcj0iMTYiLz4NCiAgPC9nPg0KPC9zdmc+DQo=");
  --shadow: 0 12px 30px rgba(18, 34, 63, 0.06);
  --container: min(1280px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/*

body {
  margin: 0;
  min-height: 100vh;
body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}

body::before {
  top: -7rem;
  left: -8rem;
  width: 28rem;
  .team-role-directory {
    width: min(100%, 1120px);
    display: grid;
    gap: 26px;
  }

  .team-role-tools {
    display: flex;
    justify-content: center;
  }

  .team-role-picker-card {
    width: min(100%, 480px);
    display: grid;
    gap: 10px;
    padding: 18px 20px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
  }

  .team-role-picker-card span {
    color: #385fd2;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .team-role-picker-card select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background-color: #f8fbff;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--nav-text) 50%), linear-gradient(135deg, var(--nav-text) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 40px;
  }

  .team-role-picker-card select:focus {
    border-color: rgba(47, 109, 246, 0.45);
    box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.08);
  }

  .team-role-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .team-role-card {
    position: relative;
    overflow: hidden;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 12px;
    padding: 24px 18px 22px;
    border: 1px solid #e6ecf3;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(18, 34, 63, 0.05);
    scroll-margin-top: 110px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  .team-role-card::before {
    content: '';
    position: absolute;
    inset: auto auto 0 0;
    width: 100%;
    height: 4px;
    background: var(--role-accent, #2f6df6);
  }

  .team-role-card:focus {
    outline: 2px solid rgba(47, 109, 246, 0.35);
    outline-offset: 4px;
  }

  .team-role-card:target {
    border-color: rgba(47, 109, 246, 0.38);
    box-shadow: 0 18px 34px rgba(47, 109, 246, 0.12);
    transform: translateY(-2px);
  }

  .team-role-card:target .team-role-avatar {
    transform: scale(1.03);
  }

  .team-role-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--role-accent, #2f6df6);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 22px rgba(15, 23, 34, 0.12);
    transition: transform 180ms ease;
  }

  .team-role-card h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
    font-weight: 700;
    max-width: 17ch;
  }

  .team-role-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
  }
.section-pad {
  padding: 72px 0;
}

.section-heading {
  display: grid;
    .team-role-directory {
      gap: 22px;
}

    .team-role-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
  margin: 0 auto;
}
    .team-role-card {
      padding: 22px 16px 20px;
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    .team-role-avatar {
      width: 76px;
      height: 76px;
  font-weight: 800;
  max-width: 18ch;
}
  @media (max-width: 1080px) {
    .team-role-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 72ch;
  }

  @media (max-width: 520px) {
    .team-role-grid {
      grid-template-columns: 1fr;
    }
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 109, 246, 0.14);
  background: rgba(47, 109, 246, 0.06);
  color: #385fd2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

*/

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}

body::before {
  top: -7rem;
  left: -8rem;
  width: 28rem;
  height: 28rem;
  background: rgba(47, 109, 246, 0.06);
}

body::after {
  right: -8rem;
  bottom: 8rem;
  width: 34rem;
  height: 34rem;
  background: rgba(47, 109, 246, 0.04);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

button,
a,
summary {
  outline: none;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(47, 109, 246, 0.9);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-pad {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.confirm-mark {
  width: 84px;
}

.staff-page,
.staff-department-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(47, 109, 246, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%);
}

.staff-page .section-pad,
.staff-department-page .section-pad {
  padding-top: 40px;
}

.staff-shell {
  width: min(100%, 1120px);
  display: grid;
  gap: 22px;
}

.staff-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(47, 109, 246, 0.08), rgba(255, 255, 255, 0.98) 52%);
  box-shadow: var(--shadow);
}

.staff-hero::after {
  content: '';
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgba(47, 109, 246, 0.08);
  filter: blur(16px);
}

.staff-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.staff-hero-copy {
  display: grid;
  gap: 16px;
}

.staff-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  max-width: 14ch;
}

.staff-hero .section-subtitle {
  text-align: left;
  max-width: 68ch;
}

.staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.staff-hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.92);
}

.staff-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.staff-stat {
  display: grid;
  gap: 6px;
  padding: 16px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #fff;
}

.staff-stat strong {
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.staff-stat span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.staff-selector {
  display: grid;
  gap: 10px;
}

.staff-selector span {
  color: #385fd2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.staff-selector select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--nav-text) 50%), linear-gradient(135deg, var(--nav-text) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.staff-selector select:focus {
  border-color: rgba(47, 109, 246, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.08);
}

.staff-department-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.staff-department-card,
.staff-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 34, 63, 0.05);
}

.staff-department-card::before,
.staff-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--staff-accent, var(--accent));
}

.staff-department-card {
  display: grid;
  gap: 14px;
}

.staff-department-card h2,
.staff-panel h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.staff-department-card p,
.staff-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.staff-department-card ul,
.staff-panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.75;
}

.staff-role-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.staff-role-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 13px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: #f8fbff;
  color: var(--text);
  min-width: 160px;
}

.staff-role-chip strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.staff-role-chip span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.staff-process {
  display: grid;
  gap: 12px;
}

.staff-step {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #f8fbff;
}

.staff-step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.staff-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.staff-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.staff-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 18px;
}

@media (max-width: 1080px) {
  .staff-hero-grid,
  .staff-split {
    grid-template-columns: 1fr;
  }

  .staff-department-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .staff-page .section-pad,
  .staff-department-page .section-pad {
    padding-top: 28px;
  }

  .staff-shell {
    gap: 18px;
  }

  .staff-hero h1 {
    max-width: none;
  }

  .staff-stat-grid {
    grid-template-columns: 1fr;
  }

  .staff-role-chip {
    min-width: 0;
    width: 100%;
  }
}

.section-heading.centered {
  max-width: 1040px;
  margin: 0 auto;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-align: center;
  font-weight: 800;
  max-width: 18ch;
}

.section-subtitle {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.section-subtitle a {
  color: var(--accent);
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 109, 246, 0.14);
  background: rgba(47, 109, 246, 0.06);
  color: #385fd2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
  will-change: transform, opacity;
}

.site-header.is-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.nav-shell {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  justify-self: start;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--accent);
  background: currentColor;
  -webkit-mask: var(--brand-logo-mask) no-repeat center / contain;
  mask: var(--brand-logo-mask) no-repeat center / contain;
}

.brand-mark-nav {
  width: 28px;
  height: 28px;
}

.brand-mark-footer {
  width: 30px;
  height: 30px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  justify-self: center;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--nav-text);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.site-nav a:hover {
  color: var(--accent);
  background: rgba(47, 109, 246, 0.05);
}

.site-nav a[aria-current="page"],
.site-nav summary[aria-current="page"] {
  color: var(--accent);
  background: rgba(47, 109, 246, 0.08);
}

.site-nav .nav-dropdown {
  position: relative;
}

.site-nav .nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--nav-text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.site-nav .nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.site-nav .nav-dropdown > summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
  transition: transform 0.18s ease;
}

.site-nav .nav-dropdown > summary:hover,
.site-nav .nav-dropdown > summary:focus-visible,
.site-nav .nav-dropdown[open] > summary {
  color: var(--accent);
  background: rgba(47, 109, 246, 0.05);
}

.site-nav .nav-dropdown[open] > summary::after {
  transform: rotate(-135deg) translateY(1px);
}

.site-nav .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 10;
}

.site-nav .nav-dropdown[open] .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav .nav-dropdown-menu a {
  width: 100%;
  background: rgba(47, 109, 246, 0.04);
}

.header-action {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--nav-text);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  justify-self: end;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.header-action:hover {
  color: var(--accent);
  border-color: rgba(47, 109, 246, 0.2);
  background: #fff;
}

.header-action svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--nav-text);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 64px);
  min-height: calc(100dvh - 64px);
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(13, 23, 38, 0.06);
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  filter: blur(5px) saturate(0.92);
  transform: scale(1.08);
  opacity: 0.9;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(4, 10, 25, 0.74) 0%, rgba(4, 10, 25, 0.82) 100%);
}

.dashboard-panel {
  position: absolute;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 24, 54, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.dashboard-panel-left {
  left: 2%;
  top: 10%;
  width: 30%;
  height: 68%;
}

.dashboard-panel-center {
  left: 35%;
  top: 7%;
  width: 30%;
  height: 72%;
}

.dashboard-panel-right {
  right: 2%;
  top: 12%;
  width: 30%;
  height: 62%;
}

.dashboard-window {
  width: 100%;
  height: 100%;
  padding: 14px;
  display: grid;
  gap: 14px;
}

.dashboard-topbar {
  display: flex;
  gap: 6px;
}

.dashboard-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.dashboard-body {
  display: grid;
  gap: 12px;
  align-content: start;
}

.dashboard-line {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.w-72 { width: 72%; }
.w-66 { width: 66%; }
.w-64 { width: 64%; }
.w-52 { width: 52%; }
.w-46 { width: 46%; }
.w-76 { width: 76%; }

.dashboard-list,
.dashboard-cards,
.dashboard-stats {
  display: grid;
  gap: 10px;
}

.dashboard-list span,
.dashboard-cards span {
  display: block;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
}

.dashboard-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  height: 90px;
}

.dashboard-bars span {
  display: block;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(125, 137, 227, 0.95), rgba(47, 109, 246, 0.45));
}

.dashboard-bars span:nth-child(1) { height: 34%; }
.dashboard-bars span:nth-child(2) { height: 56%; }
.dashboard-bars span:nth-child(3) { height: 74%; }
.dashboard-bars span:nth-child(4) { height: 44%; }
.dashboard-bars span:nth-child(5) { height: 62%; }

.dashboard-radar,
.dashboard-ring {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  justify-self: center;
  border: 10px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(125, 137, 227, 0.94);
  border-right-color: rgba(47, 109, 246, 0.7);
}

.dashboard-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-stats div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-stats span {
  width: 42px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-stats strong {
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 64px);
  min-height: calc(100dvh - 64px);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 0;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(6.25rem, 10vw, 8rem);
  height: clamp(6.25rem, 10vw, 8rem);
  margin-bottom: 24px;
  color: #fff;
  background: currentColor;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.24));
  -webkit-mask: var(--brand-logo-mask) no-repeat center / contain;
  mask: var(--brand-logo-mask) no-repeat center / contain;
}

.hero-title {
  margin: 0;
  width: min(100%, 1120px);
  max-width: 1120px;
  font-size: clamp(2.6rem, 4.9vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 800;
  text-wrap: balance;
}

.hero-title-text {
  display: inline;
}

.hero-title-caret {
  display: inline-block;
  width: 0.08em;
  min-width: 2px;
  height: 0.92em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  background: currentColor;
  border-radius: 999px;
  animation: hero-caret-blink 1s steps(1, end) infinite;
}

@keyframes hero-caret-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-caret {
    animation: none;
  }
}

.hero-content p {
  margin: 18px 0 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-supporting-line {
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform 0.18s ease, filter 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.button-primary {
  background: var(--button-1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.button-secondary {
  background: var(--button-2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.stats {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  padding: 28px 0 34px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}

.stat-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.stat-copy {
  display: grid;
  gap: 2px;
}

.stat-copy strong {
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.stat-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-item-reports {
  color: #ff4f74;
}

.stat-item-servers {
  color: #f0b63f;
}

.stat-item-users {
  color: #18c392;
}

.stat-item-sanctions {
  color: #2f6df6;
}

.narrow-copy {
  max-width: 1120px;
  margin: 0 auto;
}

.text-block {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.text-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
  font-size: 1.01rem;
}

.about-page .text-block {
  justify-items: center;
  text-align: center;
}

.about-page .narrow-copy {
  max-width: 1120px;
}

.about-page .section-heading h1 {
  max-width: 18ch;
}

.about-page .section-subtitle {
  max-width: 72ch;
}

.about-page .text-block p {
  max-width: 980px;
}

.legal-page .narrow-copy {
  max-width: 1080px;
}

.legal-page .section-heading h1 {
  max-width: 16ch;
}

.legal-page .section-subtitle {
  max-width: 78ch;
}

.legal-page .legal-note {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(47, 109, 246, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(47, 109, 246, 0.06), rgba(47, 109, 246, 0.025));
  color: var(--muted);
  line-height: 1.8;
}

.legal-page .legal-note strong {
  color: var(--text);
}

.report-page .legal-note {
  border-color: rgba(185, 28, 28, 0.2);
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.08), rgba(185, 28, 28, 0.03));
  color: #b91c1c;
}

.report-page .legal-note strong {
  color: #8f1313;
}

.legal-page .legal-sections {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.legal-page .legal-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-page .legal-card h2 {
  margin: 0 0 14px;
  font-size: 1.38rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.legal-page .legal-card h3 {
  margin: 22px 0 10px;
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.legal-page .legal-card p,
.legal-page .legal-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.legal-page .legal-card p + p,
.legal-page .legal-card ul + p,
.legal-page .legal-card ol + p,
.legal-page .legal-card h3 + p,
.legal-page .legal-card h2 + p {
  margin-top: 14px;
}

.legal-page .legal-list {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-page .legal-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.legal-page .legal-pill {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.legal-page .legal-pill strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.legal-page .legal-callout {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 760px) {
  .legal-page .legal-card {
    padding: 22px;
  }

  .legal-page .legal-grid {
    grid-template-columns: 1fr;
  }
}

.faq-section {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}

.faq-list {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "⌄";
  color: var(--nav-text);
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  transform: translateY(1px) rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  line-height: 1.74;
}

.news-drop {
  max-width: 860px;
  margin: 0 auto;
}

.news-drop summary {
  padding: 14px 16px;
  gap: 12px;
  justify-content: flex-start;
}

.news-drop-summary-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.news-drop-summary-title {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}

.news-drop-summary-date {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-drop-body {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}

.news-drop-body .news-meta {
  font-size: 0.84rem;
}

.news-drop-body .news-date strong {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 1.2rem;
}

.news-drop-body .news-date span {
  font-size: 0.76rem;
}

.news-drop-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.news-drop-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.news-drop-list li {
  color: var(--muted);
  line-height: 1.65;
}

.news-drop-list strong {
  color: var(--text);
}

.news-drop-footer {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(47, 109, 246, 0.12);
  background: rgba(47, 109, 246, 0.05);
}

.promo-grid {
  display: grid;
  gap: 16px;
}

.promo-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 18px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(47, 109, 246, 0.08), transparent 32%);
  pointer-events: none;
}

.promo-card-partners {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.promo-card-dual {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.promo-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-content: center;
}

.promo-label {
  margin: 0;
  color: #385fd2;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promo-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.promo-card p {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  line-height: 1.72;
}

.promo-button {
  width: fit-content;
}

.promo-graphic {
  position: relative;
  z-index: 1;
  min-height: 180px;
  border-radius: 16px;
  border: 1px solid rgba(47, 109, 246, 0.1);
  background: linear-gradient(180deg, rgba(47, 109, 246, 0.06), rgba(47, 109, 246, 0.02));
  overflow: hidden;
}

.promo-graphic::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 16px;
  border: 1px solid rgba(47, 109, 246, 0.14);
}

.promo-graphic::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(47, 109, 246, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 109, 246, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.8;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
}

.promo-graphic-alt {
  background: linear-gradient(180deg, rgba(47, 109, 246, 0.04), rgba(47, 109, 246, 0.015));
}

.join-team-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f6f7fb;
}

.join-team-showcase {
  flex: 1;
  padding: 30px 16px 28px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.join-team-content {
  width: min(100%, 1120px);
  display: grid;
  gap: 18px;
}

.join-team-heading {
  text-align: center;
}

.join-team-heading h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.9rem, 2.6vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.join-team-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.join-team-card {
  position: relative;
  overflow: hidden;
  min-height: 164px;
  padding: 16px 18px 16px 18px;
  border-radius: 4px;
  border: 1px solid rgba(228, 232, 242, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.join-team-card-partners {
  background: linear-gradient(180deg, #9c58bb 0%, #9c58bb 100%);
  color: #fff;
}

.join-team-card-dual {
  background: linear-gradient(180deg, #f4eadf 0%, #f4eadf 100%);
  color: #081a30;
}

.join-team-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-content: center;
  max-width: 360px;
}

.join-team-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.95;
}

.join-team-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.join-team-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 500;
}

.join-team-art {
  position: relative;
  flex: 0 0 210px;
  min-height: 132px;
}

.join-team-mark {
  position: absolute;
  inset: 0 -6px 0 auto;
  width: 230px;
  height: 140px;
  object-fit: contain;
  opacity: 0.82;
  pointer-events: none;
}

.join-team-card-dual .join-team-mark {
  opacity: 0.9;
}

.join-team-card-partners .join-team-mark {
  opacity: 0.8;
}

.join-team-card-partners .join-team-link,
.join-team-card-partners .join-team-label,
.join-team-card-partners h2 {
  color: #fff;
}

.join-team-card-dual .join-team-link,
.join-team-card-dual .join-team-label,
.join-team-card-dual h2 {
  color: #081a30;
}

@media (max-width: 920px) {
  .join-team-grid {
    grid-template-columns: 1fr;
  }

  .join-team-card {
    min-height: 160px;
  }

  .join-team-art {
    flex-basis: 200px;
  }
}

@media (max-width: 640px) {
  .join-team-showcase {
    padding: 12px;
  }

  .join-team-content {
    gap: 14px;
  }

  .join-team-heading h1 {
    font-size: clamp(1.7rem, 6vw, 2.3rem);
  }

  .join-team-card {
    padding: 18px 16px;
    min-height: 170px;
  }

  .join-team-art {
    flex-basis: 180px;
    min-height: 132px;
  }

  .join-team-mark {
    width: 220px;
    height: 138px;
  }
}

.our-team-page {
  min-height: 100vh;
  background: #fff;
}

.our-team-page .section-pad {
  padding-top: 42px;
}

.team-intro {
  display: grid;
  justify-items: center;
  gap: 0;
  text-align: center;
}

.team-intro h1 {
  margin: 0;
  font-size: clamp(1.75rem, 2.2vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.team-role-directory {
  width: min(100%, 1120px);
  display: grid;
  gap: 26px;
}

.team-role-tools {
  display: flex;
  justify-content: center;
}

.team-role-picker-card {
  width: min(100%, 480px);
  display: grid;
  gap: 10px;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.team-role-picker-card span {
  color: #385fd2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-role-picker-card select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: #f8fbff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--nav-text) 50%), linear-gradient(135deg, var(--nav-text) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.team-role-picker-card select:focus {
  border-color: rgba(47, 109, 246, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.08);
}

.team-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-role-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 18px 22px;
  border: 1px solid #e6ecf3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 34, 63, 0.05);
  scroll-margin-top: 110px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.team-role-card::before {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 4px;
  background: var(--role-accent, #2f6df6);
}

.team-role-card:focus {
  outline: 2px solid rgba(47, 109, 246, 0.35);
  outline-offset: 4px;
}

.team-role-card:target {
  border-color: rgba(47, 109, 246, 0.38);
  box-shadow: 0 18px 34px rgba(47, 109, 246, 0.12);
  transform: translateY(-2px);
}

.team-role-card:target .team-role-avatar {
  transform: scale(1.03);
}

.team-role-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--role-accent, #2f6df6);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 22px rgba(15, 23, 34, 0.12);
  transition: transform 180ms ease;
}

.team-role-card h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 17ch;
}

.team-role-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .our-team-page .section-pad {
    padding-top: 28px;
  }

  .team-role-directory {
    gap: 22px;
  }

  .team-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .team-role-card {
    padding: 22px 16px 20px;
  }

  .team-role-avatar {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 1080px) {
  .team-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .team-role-grid {
    grid-template-columns: 1fr;
  }

  .team-intro h1 {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }
}

.application-page .narrow-copy {
  max-width: 980px;
}

.application-switcher {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.application-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--nav-text);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.application-switch:hover {
  transform: translateY(-1px);
}

.application-switch.is-active {
  border-color: rgba(47, 109, 246, 0.18);
  background: rgba(47, 109, 246, 0.08);
  color: var(--accent);
}

.application-form {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.application-card {
  display: grid;
  gap: 16px;
}

.application-card h2 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.application-stack {
  display: grid;
  gap: 14px;
}

.application-field {
  display: grid;
  gap: 8px;
}

.application-field-full {
  grid-column: 1 / -1;
}

.application-field span {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.application-field input,
.application-field textarea,
.application-field select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.application-field textarea {
  min-height: 118px;
  resize: vertical;
}

.application-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--nav-text) 50%), linear-gradient(135deg, var(--nav-text) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.application-field input::placeholder,
.application-field textarea::placeholder {
  color: #90a0b4;
}

.application-field input:focus,
.application-field textarea:focus {
  border-color: rgba(47, 109, 246, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.08);
}

.application-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.contact-page .section-heading h1 {
  max-width: 18ch;
}

.contact-page .section-subtitle {
  max-width: 68ch;
}

.contact-page .contact-form-card {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.contact-page .contact-form-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-page .contact-form .application-actions {
  justify-content: flex-start;
}

.contact-page .contact-form .auth-status {
  margin-top: 10px;
}

.report-page .section-heading h1 {
  max-width: 18ch;
}

.report-page .section-subtitle {
  max-width: 68ch;
}

.report-page .report-form-card {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.report-page .report-form-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.report-page .report-form .application-actions {
  justify-content: flex-start;
}

.report-page .report-form .auth-status {
  margin-top: 10px;
}

.report-page .application-field input[type="file"] {
  padding-top: 12px;
  padding-bottom: 12px;
  cursor: pointer;
}

.report-page .application-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--button-1);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-page {
  background:
    radial-gradient(circle at top left, rgba(47, 109, 246, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(125, 137, 227, 0.14), transparent 30%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 42%, #f5f7fc 100%);
}

.auth-page .site-footer {
  background: transparent;
}

.auth-main {
  padding: 40px 0 76px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: min(100%, 640px);
  margin: 0 auto;
  align-items: stretch;
}

.auth-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.auth-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.7vw, 2.3rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.auth-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.auth-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-links a {
  color: var(--accent);
  font-weight: 700;
}

.auth-submit {
  width: 100%;
  min-height: 46px;
}

.auth-status {
  margin-top: 18px;
  min-height: 1.5em;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.auth-status:empty {
  display: none;
}

.auth-status[data-tone="success"] {
  color: #0f766e;
}

.auth-status[data-tone="error"] {
  color: #b42318;
}

.confirm-card {
  padding: 24px 0 0;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.confirm-mark {
  width: 84px;
  height: 84px;
  color: var(--accent);
}

.confirm-card h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.confirm-card p {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  line-height: 1.7;
}

.confirm-email {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.confirm-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.confirm-actions .button {
  min-width: 160px;
}

.confirm-notice,
.account-notice {
  margin: 0;
  max-width: 44ch;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(47, 109, 246, 0.14);
  background: rgba(47, 109, 246, 0.06);
  color: var(--nav-text);
  line-height: 1.7;
  font-size: 0.95rem;
}

.confirm-notice:empty,
.account-notice:empty {
  display: none;
}

.account-page {
  background:
    radial-gradient(circle at top left, rgba(47, 109, 246, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(138, 149, 234, 0.12), transparent 26%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 50%, #f4f7fc 100%);
}

.account-page .site-footer {
  background: transparent;
}

.account-main {
  padding: 38px 0 76px;
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.account-summary-card,
.account-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.account-summary-card {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 18px;
  padding: 32px;
  border-radius: 28px;
}

.account-avatar-frame {
  position: relative;
  width: 124px;
  height: 124px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, #0b1531 0%, #132d64 55%, #2f6df6 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 34px rgba(18, 34, 63, 0.16);
}

.account-avatar-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.account-avatar-image,
.account-avatar-initials {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar-initials {
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  background: rgba(5, 11, 25, 0.28);
}

.account-summary-card h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.account-summary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-summary-grid div {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.account-summary-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.2;
}

.account-summary-grid span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.account-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-summary-actions .button {
  flex: 1 1 140px;
}

.account-workspace {
  display: grid;
  gap: 18px;
}

.account-card {
  padding: 32px;
  border-radius: 28px;
}

.account-card-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.account-card-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.account-card-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-grid-tight {
  align-items: end;
}

.account-grid .application-field-full {
  grid-column: 1 / -1;
}

.account-upload-row {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.account-upload-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.account-upload-button {
  width: fit-content;
}

.account-settings-block {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.account-settings-block h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.account-toggle-list {
  display: grid;
  gap: 12px;
}

.account-toggle {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.account-toggle input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.account-toggle strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.account-toggle em {
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
  font-size: 0.92rem;
}

.account-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.account-actions-row .button {
  flex: 1 1 180px;
}

.account-status {
  margin-top: 6px;
}

.account-card .auth-status {
  min-height: 1.4em;
}

.admin-page {
  background:
    radial-gradient(circle at top left, rgba(47, 109, 246, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(138, 149, 234, 0.1), transparent 24%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 52%, #f4f7fc 100%);
}

.admin-page .site-footer {
  background: transparent;
}

.admin-main {
  padding: 34px 0 76px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(8, 18, 37, 0.06);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(8, 18, 37, 0.98), rgba(14, 34, 69, 0.95));
  color: #fff;
  box-shadow: 0 22px 60px rgba(12, 20, 41, 0.18);
}

.admin-hero-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.admin-hero .eyebrow {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #d9e6ff;
}

.admin-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.admin-hero p {
  margin: 0;
  max-width: 56ch;
  color: rgba(233, 239, 255, 0.8);
  line-height: 1.7;
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-hero-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.admin-live-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d9e6ff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #69f0ae;
  box-shadow: 0 0 0 6px rgba(105, 240, 174, 0.12);
}

.admin-hero-stat {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-hero-stat strong {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.admin-hero-stat span {
  color: rgba(233, 239, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.admin-metric-card {
  display: grid;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.admin-metric-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-metric-card strong {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.admin-metric-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.admin-stack {
  display: grid;
  gap: 18px;
}

.admin-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
}

.admin-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.admin-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-card-heading {
  display: grid;
  gap: 8px;
}

.admin-card-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.admin-card-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-pill.is-ok {
  color: #1f7a4f;
  background: rgba(31, 122, 79, 0.1);
}

.admin-pill.is-warning {
  color: #9b5b00;
  background: rgba(255, 162, 0, 0.12);
}

.admin-pill.is-alert {
  color: #b42318;
  background: rgba(180, 35, 24, 0.1);
}

.admin-pill.is-muted {
  color: #55657a;
  background: rgba(85, 101, 122, 0.1);
}

.admin-queue-list {
  display: grid;
  gap: 12px;
}

.admin-queue-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.admin-queue-item-main {
  display: grid;
  gap: 10px;
}

.admin-queue-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.admin-queue-top strong {
  display: block;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.admin-queue-top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-queue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-queue-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
  min-width: 160px;
}

.admin-queue-actions .button {
  width: 100%;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line-soft);
}

.admin-table th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table td strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.admin-table td span {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-status-list {
  display: grid;
  gap: 12px;
}

.admin-status-row {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
}

.admin-status-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-status-row-top strong {
  font-size: 0.98rem;
}

.admin-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(47, 109, 246, 0.08);
  overflow: hidden;
}

.admin-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6df6, #7b89e3);
}

.admin-timeline {
  display: grid;
  gap: 12px;
}

.admin-timeline-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
}

.admin-timeline-marker {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: linear-gradient(180deg, #8a95ea, #2f6df6);
  box-shadow: 0 0 0 6px rgba(47, 109, 246, 0.08);
}

.admin-timeline-item strong {
  display: block;
  margin-bottom: 4px;
}

.admin-timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-summary-card {
    position: static;
  }

  .admin-hero,
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .account-main {
    padding: 24px 0 60px;
  }

  .account-summary-card,
  .account-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .admin-main {
    padding: 24px 0 60px;
  }

  .admin-hero,
  .admin-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .admin-card-header {
    flex-direction: column;
  }

  .admin-card-actions {
    justify-content: flex-start;
  }

  .admin-queue-item {
    grid-template-columns: 1fr;
  }

  .admin-queue-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }

  .admin-queue-actions .button {
    flex: 1 1 140px;
  }

  .account-avatar-frame {
    width: 104px;
    height: 104px;
    border-radius: 30px;
  }

  .account-avatar-frame::before {
    inset: 10px;
    border-radius: 24px;
  }
}

@media (max-width: 980px) {
  .auth-shell {
    width: min(100%, 720px);
  }

  .auth-card {
    padding: 0;
  }

  .confirm-card {
    padding-top: 18px;
  }
}

@media (max-width: 640px) {
  .auth-main {
    padding: 24px 0 60px;
  }

  .auth-card {
    padding: 0;
    border-radius: 0;
  }

  .confirm-card {
    padding-top: 12px;
  }

  .auth-row {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .application-grid {
    grid-template-columns: 1fr;
  }
}

.graphic-ring,
.graphic-node {
  position: absolute;
  border-radius: 50%;
}

.graphic-ring {
  border: 1px solid rgba(47, 109, 246, 0.28);
}

.graphic-ring-a {
  width: 118px;
  height: 118px;
  left: 20px;
  top: 22px;
}

.graphic-ring-b {
  width: 74px;
  height: 74px;
  right: 28px;
  bottom: 28px;
}

.graphic-ring-c {
  width: 120px;
  height: 120px;
  right: 20px;
  top: 20px;
}

.graphic-ring-d {
  width: 78px;
  height: 78px;
  left: 26px;
  bottom: 26px;
}

.graphic-node {
  width: 14px;
  height: 14px;
  background: linear-gradient(180deg, #8a95ea, #2f6df6);
  box-shadow: 0 0 0 8px rgba(47, 109, 246, 0.06);
}

.graphic-node-a { top: 26px; right: 26px; }
.graphic-node-b { left: 26px; bottom: 26px; }
.graphic-node-c { right: 24px; bottom: 84px; }
.graphic-node-d { top: 26px; left: 26px; }
.graphic-node-e { right: 28px; bottom: 28px; }
.graphic-node-f { left: 74px; top: 74px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.news-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.news-banner {
  position: relative;
  min-height: 160px;
  overflow: hidden;
}

.news-banner::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle at 20% 22%, rgba(47, 109, 246, 0.16), transparent 28%),
    radial-gradient(circle at 78% 40%, rgba(47, 109, 246, 0.1), transparent 24%),
    linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.12) 46%, transparent 47%);
  transform: rotate(-8deg);
}

.news-banner::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid rgba(47, 109, 246, 0.18);
  box-shadow: 0 0 0 16px rgba(47, 109, 246, 0.04);
}

.banner-one {
  background: linear-gradient(135deg, #f4f7ff 0%, #eaf1ff 55%, #fdfdff 100%);
}

.banner-two {
  background: linear-gradient(135deg, #f8fbff 0%, #e8f0ff 55%, #fdfdff 100%);
}

.banner-three {
  background: linear-gradient(135deg, #f7f9ff 0%, #ebf2ff 55%, #ffffff 100%);
}

.news-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #385fd2;
  background: rgba(47, 109, 246, 0.1);
}

.news-date {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.news-date strong {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.news-date span {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-body h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.14;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.news-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.news-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--accent);
  font-weight: 700;
}

.news-body a:hover {
  color: #1f56d8;
}

.news-featured {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.news-featured-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.news-featured h3 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.news-featured p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

.news-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.news-featured-pill {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  color: var(--muted);
  line-height: 1.66;
  font-size: 0.95rem;
}

.news-featured-pill strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.news-featured-footer {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(47, 109, 246, 0.06);
  border: 1px solid rgba(47, 109, 246, 0.12);
}

.news-archive {
  margin: 20px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.94rem;
}

.site-footer {
  padding-top: 68px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line-soft);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand-col p {
  max-width: 34ch;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 0.98rem;
  font-weight: 800;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-top: 10px;
  color: var(--muted);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-brand-col p,
.footer-bottom {
  color: var(--muted);
  line-height: 1.7;
}

.footer-bottom {
  padding-top: 18px;
  font-size: 0.94rem;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--nav-text);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  z-index: 40;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--accent);
  border-color: rgba(47, 109, 246, 0.18);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1100px) {
  .stats-row,
  .news-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-card {
    grid-template-columns: 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .nav-shell {
    position: relative;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    background: rgba(47, 109, 246, 0.04);
  }

  .site-nav .nav-dropdown {
    width: 100%;
  }

  .site-nav .nav-dropdown > summary {
    width: 100%;
    background: rgba(47, 109, 246, 0.04);
  }

  .site-nav .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 6px 0 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .site-nav .nav-dropdown-menu a {
    padding-left: 14px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-action {
    margin-left: auto;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    min-height: 520px;
    padding: 62px 0 56px;
  }

  .hero-title {
    width: min(100%, 1000px);
    max-width: 1000px;
    font-size: clamp(2.4rem, 7vw, 4.3rem);
  }

  .dashboard-panel-left {
    left: -8%;
    width: 36%;
  }

  .dashboard-panel-center {
    left: 33%;
    width: 34%;
  }

  .dashboard-panel-right {
    right: -8%;
    width: 36%;
  }

  .promo-card {
    grid-template-columns: 1fr;
  }

  .news-featured {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 24px, 1180px);
  }

  .section-pad {
    padding: 64px 0;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content {
    min-height: 500px;
    padding: 56px 0 50px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .hero-logo {
    width: 64px;
    height: 64px;
  }

  .stats-row,
  .news-grid,
  .footer-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    gap: 12px;
  }

  .promo-card,
  .text-block,
  .news-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .news-featured-body {
    padding: 18px 16px 16px;
  }

  .news-featured-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .dashboard-panel-left {
    left: -18%;
    width: 42%;
  }

  .dashboard-panel-center {
    left: 28%;
    width: 44%;
  }

  .dashboard-panel-right {
    right: -18%;
    width: 42%;
  }
}

body.admin-page {
  color-scheme: dark;
  min-height: 100vh;
  color: #ffffff;
  font-family: "Poppins", "Inter", sans-serif;
  background: #091a3d;
  overflow-x: hidden;
}

body.admin-page::before,
body.admin-page::after {
  content: none;
}

body.admin-page .back-to-top,
body.admin-page .site-header,
body.admin-page .site-footer {
  display: none;
}

.admin-canvas {
  position: relative;
  width: min(100vw - 48px, 1320px);
  margin: 0 auto;
  padding: 34px 0 42px;
}

.admin-glow {
  position: fixed;
  pointer-events: none;
  z-index: -2;
}

.admin-glow-primary {
  top: -460px;
  left: -270px;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d546ff 0%, #b226ff 44%, #8d1fff 78%, #7d18ef 100%);
}

.admin-glow-secondary {
  top: -20px;
  right: -150px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 12, 42, 0.24) 0%, rgba(5, 12, 42, 0.08) 42%, rgba(5, 12, 42, 0) 72%);
}

.admin-floating-badge {
  position: absolute;
  top: 136px;
  right: 18px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(139, 103, 255, 0.85);
  background: rgba(9, 15, 44, 0.92);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.03), 0 20px 40px rgba(0, 0, 0, 0.28);
  z-index: 3;
}

.admin-floating-badge span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.admin-floating-badge span:nth-child(1) {
  top: 18px;
  left: 18px;
  background: #ff7a45;
}

.admin-floating-badge span:nth-child(2) {
  top: 18px;
  right: 18px;
  background: #ff4f8d;
}

.admin-floating-badge span:nth-child(3) {
  bottom: 18px;
  left: 18px;
  background: #5ad0ff;
}

.admin-floating-badge span:nth-child(4) {
  bottom: 18px;
  right: 18px;
  background: #6f63ff;
}

.admin-title-block {
  position: relative;
  z-index: 2;
  padding: 34px 0 0 8px;
}

.admin-title-block h1 {
  margin: 0;
  display: grid;
  gap: 10px;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(3.2rem, 5.7vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  font-weight: 800;
}

.admin-stage {
  position: relative;
  margin-top: 34px;
  min-height: 760px;
}

.admin-ghost-card {
  position: absolute;
  left: 22px;
  top: 96px;
  width: 312px;
  z-index: 1;
}

.admin-shell {
  position: relative;
  z-index: 2;
  margin-left: 178px;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 640px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #11193c 0%, #0b112c 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

.admin-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, #0f1637 0%, #0b112c 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-sidebar-compact {
  padding: 18px 16px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  color: #f0f2ff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.admin-brand-mark {
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  flex: 0 0 22px;
}

.admin-brand-mark span {
  border-radius: 50%;
}

.admin-brand-mark span:nth-child(1) {
  background: #ff7a45;
}

.admin-brand-mark span:nth-child(2) {
  background: #ff4f8d;
}

.admin-brand-mark span:nth-child(3) {
  background: #5ad0ff;
}

.admin-brand-mark span:nth-child(4) {
  background: #6f63ff;
}

.admin-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid #1d2750;
  background: #0f1738;
}

.admin-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #e8ebff;
  font: inherit;
  font-size: 0.8rem;
}

.admin-search input::placeholder {
  color: #67729f;
}

.admin-search-icon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid #9da7d6;
  position: relative;
  flex: 0 0 9px;
}

.admin-search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 5px;
  height: 1.5px;
  border-radius: 999px;
  background: #9da7d6;
  transform: rotate(45deg);
}

.admin-menu {
  display: grid;
  gap: 4px;
  color: #c4c9ee;
  font-size: 0.87rem;
}

.admin-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 8px 8px;
  color: #d852ff;
  font-weight: 700;
}

.admin-menu-heading.is-active {
  color: #d852ff;
}

.admin-menu-caret {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  line-height: 1;
}

.admin-menu-subtitle {
  margin-top: 8px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.admin-menu a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 8px 0 10px;
  border-radius: 8px;
  color: #b7c0ef;
  font-size: 0.85rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.admin-menu a::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.admin-menu a.is-selected {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.admin-menu a.is-selected::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #e04fff, #7f56ff);
  transform: translateY(-50%);
}

.admin-user-card {
  margin-top: auto;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-user-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff7a45, #7f56ff);
  font-size: 0.65rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-user-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-user-copy strong {
  color: #f1f3ff;
  font-size: 0.8rem;
  line-height: 1.1;
}

.admin-user-copy span {
  color: #8690bd;
  font-size: 0.66rem;
  line-height: 1.2;
}

.admin-user-arrow {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.admin-main-panel {
  padding: 24px 22px 22px;
}

.admin-main-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-main-copy {
  display: grid;
  gap: 4px;
}

.admin-main-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.admin-main-copy p {
  margin: 0;
  color: #8f98c8;
  font-size: 0.76rem;
  line-height: 1.35;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  color: #f6f7ff;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.admin-btn span {
  margin-left: 6px;
  font-size: 0.72rem;
}

.admin-btn-ghost {
  color: #d7ddff;
}

.admin-btn-accent {
  border-color: transparent;
  background: linear-gradient(180deg, #d745ff 0%, #a63aff 100%);
  box-shadow: 0 10px 24px rgba(215, 69, 255, 0.26);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.admin-stat-card {
  display: grid;
  gap: 8px;
  padding: 14px 14px 12px;
  min-height: 108px;
  border-radius: 12px;
  border: 1px solid #25305b;
  background: linear-gradient(180deg, #111839 0%, #0d1433 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-stat-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f1f3ff 0%, #aab7ff 100%);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.025);
}

.admin-stat-icon-users {
  background: linear-gradient(180deg, #f6f7ff 0%, #8bc7ff 100%);
}

.admin-stat-icon-signups {
  background: linear-gradient(180deg, #f6f7ff 0%, #76e6a4 100%);
}

.admin-stat-icon-subscriptions {
  background: linear-gradient(180deg, #f6f7ff 0%, #ffc06e 100%);
}

.admin-stat-dots {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 2px;
}

.admin-stat-label {
  color: #8e98c0;
  font-size: 0.7rem;
}

.admin-stat-value-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-stat-value-row strong {
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.admin-stat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 16px;
  padding: 0 4px;
  border-radius: 3px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0;
}

.admin-stat-badge.is-up {
  color: #65e5a2;
  background: rgba(101, 229, 162, 0.14);
}

.admin-stat-badge.is-down {
  color: #ff97a3;
  background: rgba(255, 151, 163, 0.12);
}

.admin-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.54fr) minmax(286px, 0.78fr);
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}

.admin-panel {
  position: relative;
  border-radius: 14px;
  border: 1px solid #25305b;
  background: linear-gradient(180deg, #11183a 0%, #0c1331 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-panel-head-tight {
  margin-bottom: 4px;
}

.admin-panel-head-copy {
  display: grid;
  gap: 6px;
}

.admin-panel-label {
  color: #8e98c0;
  font-size: 0.72rem;
}

.admin-panel-value-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-panel-value-row strong {
  color: #ffffff;
  font-size: 1.92rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.admin-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  color: #8791bc;
  font-size: 0.68rem;
}

.admin-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-dot-revenue {
  background: #d44bff;
}

.legend-dot-expenses {
  background: #21c1ff;
}

.admin-date-pill {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.admin-revenue-card {
  grid-row: span 2;
  padding: 18px 18px 12px;
  overflow: hidden;
}

.admin-revenue-grid {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 16px;
}

.admin-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 286px;
  padding: 0 0 28px;
  color: #6d77a3;
  font-size: 0.66rem;
}

.admin-chart-frame {
  position: relative;
  height: 286px;
}

.admin-line-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.admin-chart-callout {
  position: absolute;
  left: 126px;
  top: 150px;
  display: grid;
  gap: 2px;
  color: #8f98c0;
  pointer-events: none;
}

.admin-chart-callout strong {
  color: #ffffff;
  font-size: 0.96rem;
  letter-spacing: -0.03em;
}

.admin-chart-callout p {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.2;
}

.admin-months {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
  margin: 8px 0 0 46px;
  color: #68739d;
  font-size: 0.62rem;
  text-align: center;
}

.admin-side-stack {
  display: grid;
  gap: 14px;
}

.admin-profit-card,
.admin-session-card {
  padding: 18px;
}

.admin-profit-card {
  min-height: 238px;
}

.admin-session-card {
  min-height: 178px;
}

.admin-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 118px;
  margin-top: 18px;
  padding: 0 4px;
}

.admin-bar-chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #d44bff 0%, #7d47ff 100%);
}

.admin-bar-chart span:nth-child(even) {
  background: linear-gradient(180deg, #4cc8ff 0%, #25a8ff 100%);
}

.admin-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: #8b95be;
  font-size: 0.68rem;
}

.admin-card-foot a {
  color: #d852ff;
}

.admin-session-chart {
  height: 86px;
  margin-top: 14px;
}

.admin-mini-line-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.admin-mini-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  color: #68739d;
  font-size: 0.62rem;
}

body.admin-page .eyebrow {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #d9e6ff;
}

.admin-access-state {
  width: min(100%, 620px);
  margin: 86px auto 0;
  padding: 24px;
  display: grid;
  gap: 14px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 20, 49, 0.94), rgba(8, 14, 36, 0.92));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

body.admin-page.admin-locked .admin-canvas {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding-top: 18px;
  padding-bottom: 18px;
}

body.admin-page.admin-locked .admin-access-state {
  width: min(100%, 540px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  justify-items: center;
}

body.admin-page.admin-locked .admin-access-state h1 {
  max-width: 10ch;
}

body.admin-page.admin-locked .admin-access-state p {
  max-width: 44ch;
}

body.admin-page.admin-locked .admin-access-actions {
  justify-content: center;
}

body.admin-page.admin-locked .admin-floating-badge {
  top: 84px;
  right: 28px;
}

.admin-access-state h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.admin-access-state p {
  margin: 0;
  max-width: 48ch;
  color: rgba(233, 239, 255, 0.76);
  line-height: 1.7;
}

.admin-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-canvas [hidden] {
  display: none !important;
}

@media (max-width: 1220px) {
  .admin-canvas {
    width: min(100vw - 32px, 1320px);
  }

  .admin-shell {
    margin-left: 154px;
  }

  .admin-ghost-card {
    left: 8px;
  }
}

@media (max-width: 1100px) {
  .admin-ghost-card {
    display: none;
  }

  .admin-shell {
    margin-left: 0;
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .admin-workspace {
    grid-template-columns: 1fr;
  }

  .admin-revenue-card {
    grid-row: auto;
  }

  .admin-revenue-grid {
    grid-template-columns: 40px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .admin-canvas {
    width: min(100vw - 20px, 1320px);
    padding: 18px 0 24px;
  }

  .admin-title-block {
    padding-left: 0;
  }

  .admin-title-block h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .admin-floating-badge {
    top: 110px;
    right: 8px;
    width: 50px;
    height: 50px;
  }

  .admin-shell {
    border-radius: 22px;
  }

  .admin-access-state {
    margin-top: 68px;
    padding: 20px;
    border-radius: 22px;
  }

  body.admin-page.admin-locked .admin-access-state {
    padding: 0;
  }

  .admin-main-panel {
    padding: 18px 16px 16px;
  }

  .admin-main-header {
    flex-direction: column;
  }

  .admin-top-actions {
    justify-content: flex-start;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-panel-head {
    flex-direction: column;
  }

  .admin-legend {
    justify-content: flex-start;
  }

  .admin-revenue-grid {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .admin-axis {
    height: 250px;
  }

  .admin-chart-frame {
    height: 250px;
  }

  .admin-chart-callout {
    left: 96px;
    top: 128px;
  }

  .admin-months {
    margin-left: 34px;
    gap: 2px;
  }
}

@media (max-width: 520px) {
  .admin-shell {
    border-radius: 18px;
  }

  .admin-access-state {
    width: 100%;
    margin-top: 56px;
    padding: 18px;
  }

  body.admin-page.admin-locked .admin-access-state {
    width: 100%;
    padding: 0;
  }

  .admin-sidebar {
    padding: 16px 14px 14px;
  }

  .admin-brand-row {
    font-size: 0.92rem;
  }

  .admin-menu {
    font-size: 0.82rem;
  }

  .admin-menu a,
  .admin-menu-heading,
  .admin-menu-subtitle {
    padding-left: 6px;
    padding-right: 6px;
  }

  .admin-user-card {
    padding-left: 6px;
    padding-right: 6px;
  }

  .admin-panel {
    border-radius: 12px;
  }

  .admin-panel-value-row strong {
    font-size: 1.6rem;
  }

  .admin-card-foot {
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
}

body.admin-dashboard-page {
  min-height: 100vh;
  color: #edf3ff;
  font-family: "Inter", "Poppins", sans-serif;
  background:
    radial-gradient(circle at 16% 18%, rgba(92, 148, 255, 0.28), rgba(92, 148, 255, 0) 34%),
    radial-gradient(circle at 82% 14%, rgba(76, 200, 255, 0.16), rgba(76, 200, 255, 0) 30%),
    radial-gradient(circle at 86% 82%, rgba(245, 177, 76, 0.12), rgba(245, 177, 76, 0) 24%),
    linear-gradient(180deg, #07111c 0%, #06101a 100%);
  overflow-x: hidden;
}

body.admin-dashboard-page::before,
body.admin-dashboard-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.admin-dashboard-page::before {
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.08;
}

body.admin-dashboard-page::after {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 45%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.1), rgba(6, 10, 18, 0.4));
}

body.admin-dashboard-page .back-to-top,
body.admin-dashboard-page .site-header,
body.admin-dashboard-page .site-footer {
  display: none;
}

.dashboard-canvas {
  position: relative;
  width: min(100vw - 32px, 1540px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 36px;
}

.dashboard-grid-noise,
.dashboard-orb {
  position: fixed;
  pointer-events: none;
}

.dashboard-grid-noise {
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.45));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.45));
}

.dashboard-orb {
  z-index: -1;
  filter: blur(28px);
  opacity: 0.96;
}

.dashboard-orb-a {
  top: -220px;
  left: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 148, 255, 0.32) 0%, rgba(92, 148, 255, 0) 70%);
}

.dashboard-orb-b {
  right: -160px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 177, 76, 0.18) 0%, rgba(245, 177, 76, 0) 70%);
}

.dashboard-canvas [hidden] {
  display: none !important;
}

.dashboard-access {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 28px;
  display: grid;
  gap: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.94), rgba(8, 13, 24, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
}

body.admin-dashboard-page.admin-locked .dashboard-canvas {
  display: grid;
  align-content: center;
  padding-top: 18px;
  padding-bottom: 18px;
}

body.admin-dashboard-page.admin-locked .dashboard-access {
  justify-items: center;
  text-align: center;
}

.dashboard-eyebrow,
.dashboard-kicker,
.dashboard-panel-kicker,
.dashboard-topbar-label {
  margin: 0;
  color: #8fa0c9;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 700;
}

.dashboard-access h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.dashboard-access p {
  margin: 0;
  color: rgba(229, 236, 252, 0.76);
  line-height: 1.7;
}

.dashboard-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: #eff4ff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-button:hover {
  transform: translateY(-1px);
}

.dashboard-button-primary {
  border-color: transparent;
  background: linear-gradient(180deg, #62c4ff 0%, #6a8dff 100%);
  box-shadow: 0 14px 32px rgba(97, 154, 255, 0.22);
}

.dashboard-button-ghost {
  color: #dce7ff;
}

.dashboard-chrome {
  margin-bottom: 18px;
  padding: 0 8px;
  display: grid;
  gap: 18px;
}

.dashboard-chrome-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dashboard-brand-lockup p,
.dashboard-brand-lockup strong {
  margin: 0;
  line-height: 1.1;
}

.dashboard-brand-lockup p {
  color: #8a97bf;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-brand-lockup strong {
  color: #f7faff;
  font-size: 0.92rem;
  letter-spacing: -0.03em;
}

.dashboard-brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  flex: 0 0 26px;
}

.dashboard-brand-mark span {
  border-radius: 50%;
}

.dashboard-brand-mark span:nth-child(1) {
  background: #62c4ff;
}

.dashboard-brand-mark span:nth-child(2) {
  background: #6a8dff;
}

.dashboard-brand-mark span:nth-child(3) {
  background: #f8c76f;
}

.dashboard-brand-mark span:nth-child(4) {
  background: #55f0cc;
}

.dashboard-chrome-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #cfd8ef;
  font-size: 0.72rem;
  font-weight: 600;
}

.dashboard-chip-live {
  border-color: rgba(82, 232, 188, 0.18);
  background: rgba(82, 232, 188, 0.08);
  color: #9ef0cf;
}

.dashboard-chip-soft {
  color: #b9c5e2;
}

.dashboard-chrome-copy {
  max-width: 760px;
  display: grid;
  gap: 10px;
}

.dashboard-chrome-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.dashboard-chrome-copy p:last-child {
  margin: 0;
  max-width: 58ch;
  color: rgba(224, 232, 250, 0.76);
  line-height: 1.7;
}

.dashboard-stage {
  position: relative;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  min-height: 780px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.92), rgba(6, 10, 18, 0.96));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(22px);
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px 18px 18px;
  background: linear-gradient(180deg, rgba(9, 15, 27, 0.96), rgba(7, 12, 23, 0.98));
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #f3f7ff;
  font: inherit;
  font-size: 0.83rem;
}

.dashboard-search input::placeholder {
  color: #8190b4;
}

.dashboard-search-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #9fb1d9;
  position: relative;
  flex: 0 0 10px;
}

.dashboard-search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 5px;
  height: 1.5px;
  border-radius: 999px;
  background: #9fb1d9;
  transform: rotate(45deg);
}

.dashboard-nav {
  display: grid;
  gap: 4px;
  color: #bfd0f5;
  font-size: 0.88rem;
}

.dashboard-nav-heading {
  margin: 10px 0 4px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.71rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px 0 14px;
  border-radius: 12px;
  color: #c3d0f4;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.dashboard-nav a::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.dashboard-nav a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #62c4ff 0%, #f8c76f 100%);
  transform: translateY(-50%);
}

.dashboard-sidebar-card {
  margin-top: auto;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 10px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #62c4ff 0%, #6a8dff 55%, #f8c76f 100%);
  color: #04111c;
  font-size: 0.74rem;
  font-weight: 800;
}

.dashboard-sidebar-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dashboard-sidebar-copy strong {
  color: #f4f7ff;
  font-size: 0.82rem;
  line-height: 1.1;
}

.dashboard-sidebar-copy span {
  overflow: hidden;
  color: #8495bc;
  font-size: 0.68rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-sidebar-arrow {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.95rem;
}

.dashboard-main {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.dashboard-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-topbar-copy {
  display: grid;
  gap: 6px;
}

.dashboard-topbar-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.dashboard-topbar-copy p {
  margin: 0;
  max-width: 58ch;
  color: #8b97be;
  line-height: 1.5;
}

.dashboard-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-stat-card {
  display: grid;
  gap: 8px;
  min-height: 152px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(11, 17, 31, 0.96), rgba(9, 14, 26, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dashboard-stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dashboard-stat-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.024);
}

.dashboard-stat-icon-blue {
  background: linear-gradient(180deg, #62c4ff 0%, #6a8dff 100%);
}

.dashboard-stat-icon-cyan {
  background: linear-gradient(180deg, #38d8ff 0%, #55f0cc 100%);
}

.dashboard-stat-icon-amber {
  background: linear-gradient(180deg, #f8c76f 0%, #ff8f5c 100%);
}

.dashboard-stat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0;
}

.dashboard-stat-badge.is-up {
  color: #9ef0cf;
  background: rgba(82, 232, 188, 0.1);
}

.dashboard-stat-label {
  color: #8a97be;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dashboard-stat-value-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dashboard-stat-value-row strong {
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.dashboard-stat-value-row span {
  color: #8b97be;
  font-size: 0.72rem;
}

.dashboard-sparkline {
  width: 100%;
  height: 56px;
  display: block;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.54fr) minmax(286px, 0.76fr);
  gap: 14px;
  align-items: start;
}

.dashboard-panel {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(11, 17, 31, 0.96), rgba(9, 14, 26, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dashboard-analytics-panel {
  grid-row: span 2;
  padding: 18px 18px 14px;
  overflow: hidden;
}

.dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-panel-head-tight {
  margin-bottom: 2px;
}

.dashboard-panel-head h3 {
  margin: 2px 0 0;
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.dashboard-panel-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  color: #8b97be;
  font-size: 0.7rem;
}

.dashboard-panel-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-dot-blue {
  background: #62c4ff;
}

.legend-dot-cyan {
  background: #55f0cc;
}

.dashboard-chart-frame {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 18px;
}

.dashboard-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 296px;
  padding: 0 0 24px;
  color: #6f7da2;
  font-size: 0.66rem;
}

.dashboard-chart-shell {
  position: relative;
  height: 296px;
}

.dashboard-line-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.dashboard-chart-callout {
  position: absolute;
  left: 126px;
  top: 128px;
  display: grid;
  gap: 2px;
  color: #97a5c9;
  pointer-events: none;
}

.dashboard-chart-callout strong {
  color: #ffffff;
  font-size: 1.02rem;
  letter-spacing: -0.04em;
}

.dashboard-chart-callout span {
  font-size: 0.7rem;
}

.dashboard-xaxis {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
  margin: 8px 0 0 46px;
  color: #6f7da2;
  font-size: 0.62rem;
  text-align: center;
}

.dashboard-side-stack {
  display: grid;
  gap: 14px;
}

.dashboard-ring-panel,
.dashboard-activity-panel {
  padding: 18px;
}

.dashboard-donut-wrap {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}

.dashboard-donut {
  position: relative;
  width: 140px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#4cc8ff 0 38%, #6a8dff 38% 72%, #f8c76f 72% 88%, #ff8f5c 88% 100%);
}

.dashboard-donut::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b1222;
}

.dashboard-donut-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
}

.dashboard-donut-label strong {
  display: block;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.dashboard-donut-label span {
  display: block;
  margin-top: 3px;
  color: #8b97be;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-ring-list {
  display: grid;
  gap: 12px;
}

.dashboard-ring-list > div {
  display: grid;
  gap: 6px;
}

.dashboard-ring-list span,
.dashboard-ring-list strong {
  color: #dce5fb;
  font-size: 0.76rem;
}

.dashboard-ring-list strong {
  justify-self: end;
  color: #8b97be;
  font-weight: 700;
}

.dashboard-progress {
  position: relative;
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.dashboard-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #62c4ff 0%, #55f0cc 100%);
}

.dashboard-activity-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.dashboard-activity-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.dashboard-activity-list strong {
  display: block;
  color: #f6f8ff;
  font-size: 0.84rem;
}

.dashboard-activity-list span:last-child {
  color: #8694b9;
  font-size: 0.72rem;
  line-height: 1.4;
}

.dashboard-activity-dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  flex: 0 0 10px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.025);
}

.dashboard-activity-dot-blue {
  background: #62c4ff;
}

.dashboard-activity-dot-cyan {
  background: #55f0cc;
}

.dashboard-activity-dot-amber {
  background: #f8c76f;
}

.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 14px;
}

.dashboard-table-panel,
.dashboard-notes-panel {
  padding: 18px;
}

.dashboard-panel-link {
  color: #62c4ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
  padding: 12px 10px;
  text-align: left;
  white-space: nowrap;
}

.dashboard-table thead th {
  padding-top: 0;
  color: #8b97be;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-table tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-table tbody td {
  color: #f4f7ff;
  font-size: 0.84rem;
}

.dashboard-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-status.is-live {
  color: #9ef0cf;
  background: rgba(82, 232, 188, 0.1);
}

.dashboard-status.is-warm {
  color: #ffd69b;
  background: rgba(248, 199, 111, 0.12);
}

.dashboard-status.is-good {
  color: #99c5ff;
  background: rgba(98, 196, 255, 0.1);
}

.dashboard-status.is-muted {
  color: #c4cce2;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-note-list {
  display: grid;
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.dashboard-note-list li {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-note-list strong {
  color: #ffffff;
  font-size: 0.88rem;
}

.dashboard-note-list span {
  color: #8593b8;
  font-size: 0.74rem;
  line-height: 1.55;
}

body.admin-dashboard-page.admin-ready .dashboard-chrome,
body.admin-dashboard-page.admin-ready .dashboard-stage {
  animation: dashboard-rise 0.55s ease both;
}

@keyframes dashboard-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.admin-dashboard-page.admin-ready .dashboard-chrome,
  body.admin-dashboard-page.admin-ready .dashboard-stage {
    animation: none;
  }

  .dashboard-button {
    transition: none;
  }
}

@media (max-width: 1280px) {
  .dashboard-shell {
    grid-template-columns: 264px minmax(0, 1fr);
  }

  .dashboard-layout,
  .dashboard-bottom-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-analytics-panel {
    grid-row: auto;
  }
}

@media (max-width: 1080px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dashboard-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-chart-frame {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .dashboard-xaxis {
    margin-left: 40px;
  }
}

@media (max-width: 760px) {
  .dashboard-canvas {
    width: min(100vw - 20px, 1540px);
    padding: 18px 0 24px;
  }

  .dashboard-access,
  .dashboard-shell {
    border-radius: 22px;
  }

  .dashboard-access {
    padding: 22px;
  }

  .dashboard-main,
  .dashboard-sidebar {
    padding: 18px 16px 16px;
  }

  .dashboard-topbar {
    flex-direction: column;
  }

  .dashboard-topbar-actions {
    justify-content: flex-start;
  }

  .dashboard-stat-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-panel-head {
    flex-direction: column;
  }

  .dashboard-panel-legend {
    justify-content: flex-start;
  }

  .dashboard-chart-frame {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .dashboard-axis {
    height: 252px;
  }

  .dashboard-chart-shell {
    height: 252px;
  }

  .dashboard-chart-callout {
    left: 96px;
    top: 112px;
  }

  .dashboard-xaxis {
    margin-left: 34px;
    gap: 2px;
  }

  .dashboard-donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 540px) {
  .dashboard-canvas {
    width: 100%;
  }

  .dashboard-access {
    width: 100%;
  }

  .dashboard-chrome {
    padding: 0;
  }

  .dashboard-chrome-copy h1 {
    font-size: clamp(1.9rem, 10vw, 3.1rem);
  }

  .dashboard-brand-lockup p {
    letter-spacing: 0.08em;
  }

  .dashboard-shell {
    border-radius: 18px;
  }

  .dashboard-stat-card,
  .dashboard-panel {
    border-radius: 18px;
  }

  .dashboard-button {
    width: 100%;
  }

  .dashboard-topbar-actions,
  .dashboard-access-actions {
    width: 100%;
  }

  .dashboard-topbar-actions .dashboard-button,
  .dashboard-access-actions .dashboard-button {
    width: 100%;
  }

  .dashboard-table th,
  .dashboard-table td {
    padding-left: 8px;
    padding-right: 8px;
  }
}

body.team-showcase-page {
  min-height: 100vh;
  background: #fff;
  color: var(--text);
}

body.team-showcase-page::before,
body.team-showcase-page::after {
  content: none;
}

.team-showcase-section {
  padding-top: 40px;
}

.team-showcase-shell {
  width: min(100%, 1180px);
  display: grid;
  gap: 30px;
}

.team-showcase-heading {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.team-showcase-heading h1 {
  margin: 0;
  font-size: clamp(2.45rem, 4.8vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
  font-weight: 300;
}

.team-showcase-heading h1 strong {
  font-weight: 800;
}

.team-category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.team-category-tab {
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #151a22;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.team-category-tab:hover {
  color: #d88b2d;
}

.team-category-tab.is-active {
  color: #fff;
  background: #d88b2d;
  box-shadow: 0 12px 24px rgba(216, 139, 45, 0.18);
}

.team-category-tab:focus-visible {
  outline: 2px solid rgba(216, 139, 45, 0.5);
  outline-offset: 2px;
}

.team-role-picker-wrap {
  display: flex;
  justify-content: center;
}

.team-role-picker {
  width: min(100%, 420px);
  display: grid;
  gap: 0;
}

.team-role-picker > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #16212f;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.team-role-picker > summary::-webkit-details-marker {
  display: none;
}

.team-role-picker > summary::after {
  content: '▾';
  color: var(--nav-text);
  font-size: 0.8rem;
  transition: transform 0.18s ease;
}

.team-role-picker[open] > summary {
  border-radius: 18px 18px 0 0;
  border-bottom-color: transparent;
  box-shadow: 0 14px 22px rgba(18, 34, 63, 0.06);
}

.team-role-picker[open] > summary::after {
  transform: rotate(180deg);
}

.team-role-picker-menu {
  display: grid;
  gap: 6px;
  padding: 14px 14px 16px;
  border: 1px solid #1f232b;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #1f2127;
  box-shadow: 0 18px 34px rgba(15, 23, 34, 0.22);
}

.team-role-picker-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #f7f8fb;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.team-role-picker-menu a:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(2px);
}

.team-role-picker-menu a:focus-visible {
  outline: 2px solid rgba(63, 124, 244, 0.55);
  outline-offset: 2px;
}

.team-role-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 10px;
  background: #3f7cf4;
  box-shadow: 0 0 0 4px rgba(63, 124, 244, 0.12);
}

.team-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 6px;
}

.team-role-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 18px 22px;
  border: 1px solid #e6ecf3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 34, 63, 0.05);
  text-align: center;
  scroll-margin-top: 110px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.team-role-card::before {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 4px;
  background: var(--role-accent, #2f6df6);
}

.team-role-card:hover {
  transform: translateY(-2px);
}

.team-role-avatar-shell {
  position: relative;
  width: 112px;
  height: 112px;
}

.team-role-avatar-shell::before {
  content: '';
  position: absolute;
  inset: -6px -10px -8px 14px;
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, rgba(18, 24, 39, 0.06) 0 1px, transparent 1px 7px);
  opacity: 0.7;
  transform: rotate(-10deg);
}

.team-role-avatar {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--role-accent, #2f6df6);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 30px rgba(15, 23, 34, 0.15);
}

.team-role-badge {
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d88b2d;
  box-shadow: 0 10px 18px rgba(216, 139, 45, 0.25);
}

.team-role-badge svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.team-role-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(216, 139, 45, 0.1);
  color: #d88b2d;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-role-card h2 {
  margin: 0;
  color: #232833;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  max-width: 16ch;
}

.team-role-card p {
  margin: 0;
  max-width: 24ch;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.62;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.team-role-card.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .team-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .team-showcase-section {
    padding-top: 28px;
  }

  .team-showcase-shell {
    gap: 24px;
  }

  .team-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .team-role-card {
    padding: 22px 16px 20px;
  }

  .team-role-avatar-shell {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 520px) {
  .team-showcase-heading h1 {
    font-size: clamp(2rem, 13vw, 3rem);
  }

  .team-category-tabs {
    gap: 8px 10px;
  }

  .team-category-tab {
    font-size: 0.68rem;
    padding: 8px 10px;
  }

  .team-role-picker {
    width: 100%;
  }

  .team-role-grid {
    grid-template-columns: 1fr;
  }
}
