:root {
  --bg: #0f111d;
  --panel: rgba(31, 34, 50, 0.84);
  --panel-strong: rgba(31, 34, 50, 0.94);
  --neon: #b8ff3d;
  --neon-soft: rgba(184, 255, 61, 0.16);
  --text: #f5f7ff;
  --muted: #a7adbf;
  --border: rgba(184, 255, 61, 0.24);
  --border-soft: rgba(184, 255, 61, 0.13);
  --radius: 18px;
  --gap: clamp(1rem, 1.35vw, 1.35rem);
  --sidebar: 15rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 0.045), transparent 28rem),
    linear-gradient(135deg, #070910 0%, #0f111d 48%, #171a28 100%);
  font-family: Inter, system-ui, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "kern";
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(184, 255, 61, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 255, 61, 0.026) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 82%);
  animation: gridDrift 32s linear infinite;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(184, 255, 61, 0.062), transparent 25rem),
    radial-gradient(circle at 8% 82%, rgba(64, 109, 255, 0.064), transparent 27rem),
    radial-gradient(circle at 48% 46%, rgba(184, 255, 61, 0.024), transparent 30rem),
    linear-gradient(120deg, rgba(255, 255, 255, 0.024), transparent 34%, rgba(184, 255, 61, 0.018));
  filter: blur(2px);
  opacity: 0.9;
  animation: ambientDrift 34s ease-in-out infinite alternate;
}

.ambient-backdrop::before,
.ambient-backdrop::after {
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  opacity: 0.28;
  filter: blur(54px);
  background: radial-gradient(circle, rgba(184, 255, 61, 0.12), transparent 64%);
  animation: ambientFloat 42s ease-in-out infinite;
}

.ambient-backdrop::before {
  left: 62%;
  top: -8%;
}

.ambient-backdrop::after {
  right: 66%;
  bottom: -14%;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(83, 111, 255, 0.12), transparent 66%);
  animation-duration: 52s;
  animation-direction: reverse;
}

.ambient-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(184, 255, 61, 0.34);
  box-shadow: 0 0 12px rgba(184, 255, 61, 0.16);
  opacity: 0.08;
  animation: floatParticle 24s ease-in-out infinite;
}

.ambient-particles span:nth-child(1) { left: 11%; top: 18%; animation-delay: -2s; }
.ambient-particles span:nth-child(2) { left: 82%; top: 14%; width: 2px; height: 2px; animation-delay: -7s; animation-duration: 29s; }
.ambient-particles span:nth-child(3) { left: 67%; top: 54%; animation-delay: -11s; animation-duration: 31s; }
.ambient-particles span:nth-child(4) { left: 28%; top: 78%; width: 2px; height: 2px; animation-delay: -4s; animation-duration: 27s; }
.ambient-particles span:nth-child(5) { left: 92%; top: 82%; animation-delay: -9s; animation-duration: 35s; }
.ambient-particles span:nth-child(6) { left: 42%; top: 24%; width: 2px; height: 2px; animation-delay: -14s; animation-duration: 33s; }
.ambient-particles span:nth-child(7) { left: 74%; top: 72%; animation-delay: -18s; animation-duration: 37s; }
.ambient-particles span:nth-child(8) { left: 7%; top: 52%; width: 2px; height: 2px; animation-delay: -22s; animation-duration: 30s; }

.brand-mark {
  font-family: Orbitron, "Space Grotesk", Inter, system-ui, sans-serif;
  letter-spacing: 0.28em;
  color: var(--neon);
  font-weight: 800;
  text-shadow: 0 0 8px rgba(184, 255, 61, 0.18);
}

.glass-card,
.glass-shell,
.glass {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.105) 0%, rgba(255, 255, 255, 0.032) 15%, transparent 39%),
    linear-gradient(292deg, transparent 0%, rgba(255, 255, 255, 0.028) 48%, rgba(255, 255, 255, 0.055) 50%, transparent 53%),
    radial-gradient(circle at 12% 0%, rgba(184, 255, 61, 0.05), transparent 16rem),
    radial-gradient(circle at 100% 100%, rgba(72, 95, 190, 0.072), transparent 18rem),
    linear-gradient(180deg, rgba(47, 51, 73, 0.34), transparent 42%),
    linear-gradient(145deg, rgba(35, 39, 58, 0.8), rgba(8, 10, 19, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 18px 34px rgba(255, 255, 255, 0.025),
    inset 0 -24px 46px rgba(0, 0, 0, 0.24),
    inset 0 0 32px rgba(184, 255, 61, 0.022),
    0 24px 62px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(24px);
}

.hud-corners::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background:
    linear-gradient(var(--neon), var(--neon)) left top / 28px 1px no-repeat,
    linear-gradient(var(--neon), var(--neon)) left top / 1px 28px no-repeat,
    linear-gradient(var(--neon), var(--neon)) right top / 28px 1px no-repeat,
    linear-gradient(var(--neon), var(--neon)) right top / 1px 28px no-repeat,
    linear-gradient(var(--neon), var(--neon)) left bottom / 28px 1px no-repeat,
    linear-gradient(var(--neon), var(--neon)) left bottom / 1px 28px no-repeat,
    linear-gradient(var(--neon), var(--neon)) right bottom / 28px 1px no-repeat,
    linear-gradient(var(--neon), var(--neon)) right bottom / 1px 28px no-repeat;
  opacity: 0.42;
  filter: drop-shadow(0 0 4px rgba(184, 255, 61, 0.2));
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.sidebar,
.desktop-sidebar {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  display: flex;
  width: var(--sidebar);
  height: calc(100vh - 2rem);
  flex-direction: column;
  padding: 1rem;
}

.desktop-sidebar {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

.desktop-sidebar > nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
  overflow-y: auto;
  padding-top: 1.25rem;
  padding-right: 0.1rem;
}

.dashboard-sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.25rem 0.95rem;
  border-bottom: 1px solid rgba(184, 255, 61, 0.1);
  color: inherit;
  text-decoration: none;
}

.dashboard-sidebar-logo:hover {
  color: inherit;
  text-decoration: none;
}

.dashboard-sidebar-logo img {
  display: block;
  width: min(8.9rem, 100%);
  height: auto;
  filter: drop-shadow(0 0 10px rgba(184, 255, 61, 0.16));
}

.sidebar-brand {
  display: grid;
  place-items: center;
  gap: 0.8rem;
  padding: 0.45rem 0 0.9rem;
  border-bottom: 1px solid rgba(184, 255, 61, 0.1);
}

.sidebar-logo-link {
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.sidebar-logo-link:hover {
  color: inherit;
  text-decoration: none;
}

.sidebar-logo {
  display: block;
  width: min(8.9rem, 100%);
  height: auto;
  filter: drop-shadow(0 0 10px rgba(184, 255, 61, 0.16));
}

.brand-glyph {
  position: relative;
  width: 3.4rem;
  height: 3.4rem;
}

.brand-glyph::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.1rem;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-inline: 1.35rem solid transparent;
  border-bottom: 2.55rem solid rgba(184, 255, 61, 0.72);
  filter: drop-shadow(0 0 8px rgba(184, 255, 61, 0.18));
}

.brand-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  width: 0.9rem;
  height: 1.85rem;
  transform: translateX(-50%) skewX(-20deg);
  background: #0f111d;
}

.sidebar-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
  overflow-y: auto;
  padding-right: 0.1rem;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.05rem;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  color: rgba(167, 173, 191, 0.82);
  padding: 0.62rem 0.75rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-item::before {
  content: "";
  position: absolute;
  inset: 0.5rem auto 0.5rem 0;
  width: 3px;
  border-radius: 999px;
  background: var(--neon);
  opacity: 0;
  box-shadow: 0 0 10px rgba(184, 255, 61, 0.46);
}

.nav-item:hover,
.nav-item.active {
  color: var(--text);
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.06), transparent 36%),
    linear-gradient(90deg, rgba(184, 255, 61, 0.14), rgba(184, 255, 61, 0.025));
  box-shadow: inset 0 0 0 1px rgba(184, 255, 61, 0.2), 0 0 18px rgba(184, 255, 61, 0.075);
  transform: translateX(2px);
}

.nav-item.active::before {
  opacity: 1;
}

.active-indicator {
  width: 0.35rem;
  height: 0.35rem;
  flex: 0 0 auto;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(184, 255, 61, 0);
  box-shadow: 0 0 10px rgba(184, 255, 61, 0);
  opacity: 0;
  transition: background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.nav-item.active .active-indicator {
  background: rgba(184, 255, 61, 0.78);
  box-shadow: 0 0 10px rgba(184, 255, 61, 0.22);
  opacity: 1;
  animation: liveBlink 2.6s ease-in-out infinite;
}

.nav-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.75rem;
  color: var(--neon);
  background: rgba(255, 255, 255, 0.04);
}

.nav-item.active .nav-icon,
.bottom-nav a.active .nav-icon {
  color: #121420;
  background: rgba(184, 255, 61, 0.78);
  box-shadow: 0 0 10px rgba(184, 255, 61, 0.22);
}

.nav-icon svg,
.icon-button svg,
.panel-icon svg,
.button-icon {
  width: 1.3rem;
  height: 1.3rem;
}

.content-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 1rem 1.25rem 1.25rem calc(var(--sidebar) + 1.5rem);
}

.content-inner {
  width: min(100%, 1500px);
  margin-inline: auto;
}

.topbar,
.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--gap);
  padding: 1.15rem;
}

.mobile-menu-button {
  display: none;
}

.page-heading {
  min-width: 0;
}

.eyebrow,
.metric-label,
.form-label {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  color: rgba(184, 255, 61, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-title {
  margin: 0.48rem 0 0;
  color: var(--text);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(2.15rem, 3vw, 3.05rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.page-subtitle,
.muted {
  color: rgba(167, 173, 191, 0.8);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.55;
}

.page-subtitle {
  max-width: 48rem;
  margin: 0.7rem 0 0;
}

.topbar-actions,
.profile-chip,
.inline-actions,
.form-actions,
.filter-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-chip {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.45rem 1rem 0.45rem 0.45rem;
}

.avatar {
  position: relative;
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 1px solid rgba(184, 255, 61, 0.3);
  border-radius: 999px;
  background: linear-gradient(135deg, #3b4056, #1f2232 48%, #090b13);
  color: var(--neon);
  font-weight: 900;
  box-shadow: 0 0 16px rgba(184, 255, 61, 0.12);
}

.avatar::before {
  content: "";
  position: absolute;
  inset: -0.45rem;
  border: 1px solid rgba(184, 255, 61, 0.28);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: inherit;
}

.status-dot {
  position: absolute;
  right: 0.06rem;
  bottom: 0.06rem;
  width: 0.62rem;
  height: 0.62rem;
  border: 2px solid rgba(15, 17, 29, 0.96);
  border-radius: 999px;
  background: rgba(184, 255, 61, 0.86);
  box-shadow: 0 0 8px rgba(184, 255, 61, 0.24);
}

.icon-button,
.btn-neon,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 0.95rem;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.icon-button {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(184, 255, 61, 0.28);
  background: linear-gradient(135deg, rgba(184, 255, 61, 0.09), rgba(184, 255, 61, 0.025));
  color: var(--neon);
}

.btn-neon {
  min-height: 2.9rem;
  border: 1px solid rgba(184, 255, 61, 0.42);
  background: linear-gradient(135deg, rgba(184, 255, 61, 0.82), rgba(184, 255, 61, 0.5));
  color: #121420;
  padding: 0.9rem 1rem;
  box-shadow: 0 0 16px rgba(184, 255, 61, 0.12);
}

.btn-ghost {
  min-height: 2.9rem;
  border: 1px solid rgba(184, 255, 61, 0.18);
  background: rgba(184, 255, 61, 0.05);
  color: rgba(245, 247, 255, 0.9);
  padding: 0.9rem 1rem;
}

.icon-button:hover,
.btn-neon:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
}

.grid {
  display: grid;
  gap: var(--gap);
}

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

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

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

.grid-main {
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
}

.card {
  min-width: 0;
  padding: 1.25rem;
}

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

.panel-title {
  margin: 0.22rem 0 0;
  color: var(--text);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.panel-icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(184, 255, 61, 0.25);
  border-radius: 0.85rem;
  background: rgba(184, 255, 61, 0.08);
  color: var(--neon);
  box-shadow: 0 0 14px rgba(184, 255, 61, 0.08);
}

.metric-card {
  min-height: 9rem;
  overflow: hidden;
}

.metric-value {
  margin: 1.25rem 0 0.4rem;
  color: rgba(184, 255, 61, 0.94);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  text-shadow: 0 0 3px rgba(184, 255, 61, 0.34), 0 0 10px rgba(184, 255, 61, 0.13);
  overflow-wrap: anywhere;
}

.detail-list,
.tree-list,
.settings-list {
  display: grid;
  gap: 0.85rem;
}

.detail-row,
.tree-row,
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  padding: 0.78rem 0;
}

.detail-row:last-child,
.tree-row:last-child,
.settings-row:last-child {
  border-bottom: 0;
}

.detail-label {
  color: rgba(167, 173, 191, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.detail-value {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 900;
  text-align: right;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184, 255, 61, 0.2);
  border-radius: 999px;
  background: rgba(184, 255, 61, 0.06);
  color: var(--neon);
  padding: 0.35rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge.warning {
  border-color: rgba(255, 205, 92, 0.24);
  background: rgba(255, 205, 92, 0.08);
  color: #ffd66b;
}

.badge.danger {
  border-color: rgba(255, 103, 103, 0.24);
  background: rgba(255, 103, 103, 0.08);
  color: #ff8a8a;
}

.badge.muted {
  border-color: rgba(167, 173, 191, 0.18);
  background: rgba(167, 173, 191, 0.06);
  color: rgba(207, 210, 230, 0.84);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background:
    linear-gradient(122deg, rgba(255, 255, 255, 0.062), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(0, 0, 0, 0.13));
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: rgba(167, 173, 191, 0.86);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  color: rgba(245, 247, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.is-right {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}

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

.field {
  display: grid;
  gap: 0.48rem;
  min-width: 0;
}

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

.form-control {
  width: 100%;
  min-height: 3.1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1rem;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.055), transparent 42%),
    rgba(0, 0, 0, 0.15);
  color: var(--text);
  outline: none;
  padding: 0.86rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-control::placeholder {
  color: rgba(167, 173, 191, 0.5);
}

.form-control:focus {
  border-color: rgba(184, 255, 61, 0.38);
  box-shadow: 0 0 0 3px rgba(184, 255, 61, 0.07), 0 0 14px rgba(184, 255, 61, 0.07);
}

textarea.form-control {
  min-height: 7rem;
  resize: vertical;
}

.validation-message {
  min-height: 1.2rem;
  color: #ffd66b;
  font-size: 0.78rem;
  font-weight: 700;
}

.upload-zone {
  display: grid;
  place-items: center;
  min-height: 9rem;
  border: 1px dashed rgba(184, 255, 61, 0.34);
  border-radius: 1rem;
  background: rgba(184, 255, 61, 0.04);
  color: rgba(245, 247, 255, 0.88);
  padding: 1.2rem;
  text-align: center;
}

.copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid rgba(184, 255, 61, 0.22);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.18);
  padding: 0.82rem;
}

.copy-value {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(245, 247, 255, 0.9);
  font-weight: 800;
}

.progress-track {
  height: 0.6rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(184, 255, 61, 0.9), rgba(125, 220, 255, 0.82));
}

.toggle {
  position: relative;
  display: inline-flex;
  width: 3.2rem;
  height: 1.8rem;
}

.toggle input {
  position: absolute;
  opacity: 0;
}

.toggle span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(167, 173, 191, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.toggle span::after {
  content: "";
  position: absolute;
  top: 0.22rem;
  left: 0.24rem;
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 999px;
  background: rgba(245, 247, 255, 0.86);
  transition: transform 180ms ease, background 180ms ease;
}

.toggle input:checked + span {
  border-color: rgba(184, 255, 61, 0.38);
  background: rgba(184, 255, 61, 0.17);
}

.toggle input:checked + span::after {
  transform: translateX(1.36rem);
  background: var(--neon);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: min(24rem, calc(100vw - 2rem));
  transform: translateY(1rem);
  border: 1px solid rgba(184, 255, 61, 0.22);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(31, 34, 50, 0.94), rgba(8, 10, 19, 0.94));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.44), 0 0 18px rgba(184, 255, 61, 0.07);
  color: var(--text);
  opacity: 0;
  padding: 0.9rem 1rem;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.auth-page {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1.2rem;
}

.auth-card {
  width: min(100%, 32rem);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.auth-brand {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-logo-full {
  display: block;
  width: min(9.75rem, 100%);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 0 12px rgba(184, 255, 61, 0.16));
}

.auth-brand .brand-mark {
  font-size: 1.55rem;
}

.auth-title {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.auth-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
  color: rgba(167, 173, 191, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}

.auth-links a,
.inline-link {
  color: var(--neon);
  font-weight: 900;
}

.auth-create-account {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
  color: rgba(167, 173, 191, 0.84);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.auth-create-account a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  border: 1px solid rgba(184, 255, 61, 0.24);
  border-radius: 999px;
  background: rgba(184, 255, 61, 0.07);
  color: var(--neon);
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.auth-create-account a:hover {
  transform: translateY(-1px);
  border-color: rgba(184, 255, 61, 0.42);
  background: rgba(184, 255, 61, 0.12);
  box-shadow: 0 0 16px rgba(184, 255, 61, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.auth-submit {
  width: 100%;
  margin-top: 1rem;
}

.register-auth-page {
  padding: clamp(1rem, 3vw, 2rem);
}

.register-auth-card {
  width: min(100%, 58rem);
  display: grid;
  grid-template-columns: minmax(15rem, 0.78fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1rem, 2.5vw, 1.55rem);
}

.register-auth-card.no-sponsor {
  width: min(100%, 54rem);
  grid-template-columns: minmax(12.5rem, 0.62fr) minmax(0, 1fr);
  gap: clamp(1.35rem, 3vw, 2rem);
}

.register-invite-panel,
.register-form-panel {
  min-width: 0;
}

.register-invite-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  border-right: 1px solid rgba(184, 255, 61, 0.12);
  padding: 0.2rem clamp(1rem, 2vw, 1.35rem) 0.2rem 0.2rem;
}

.register-invite-panel.no-sponsor {
  justify-content: center;
  gap: 2rem;
}

.register-invite-panel .auth-brand {
  width: fit-content;
  place-items: start;
  margin-bottom: 0;
  text-align: left;
}

.register-invite-panel .auth-logo-full {
  width: min(10.5rem, 100%);
  margin-inline: 0;
}

.register-invite-panel.no-sponsor .auth-logo-full {
  width: min(8.35rem, 100%);
}

.register-invite-copy {
  display: grid;
  gap: 0.7rem;
}

.register-invite-copy .page-subtitle {
  margin-top: 0;
}

.register-invite-panel.no-sponsor .register-invite-copy {
  max-width: 18rem;
}

.register-form-panel {
  padding: clamp(0.25rem, 1vw, 0.5rem) clamp(0.35rem, 1vw, 0.55rem) clamp(0.35rem, 1vw, 0.55rem) clamp(0.1rem, 1vw, 0.45rem);
}

.register-form-heading {
  margin-bottom: 1.25rem;
}

.register-form-heading h2 {
  margin: 0.42rem 0 0.45rem;
  color: var(--text);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
}

.sponsor-card {
  display: grid;
  gap: 0.55rem;
  border: 1px solid rgba(184, 255, 61, 0.16);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.15);
  padding: 0.95rem;
}

.sponsor-card strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.sponsor-card .badge {
  width: fit-content;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.register-login-link {
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding-bottom: 0.15rem;
  text-align: center;
}

.register-login-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border: 1px solid rgba(184, 255, 61, 0.22);
  border-radius: 999px;
  background: rgba(184, 255, 61, 0.055);
  padding: 0.35rem 0.78rem;
  font-size: 0.8rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.register-login-link a:hover {
  transform: translateY(-1px);
  border-color: rgba(184, 255, 61, 0.4);
  background: rgba(184, 255, 61, 0.11);
}

.field-feedback {
  display: block;
  min-height: 1.12rem;
  margin-top: 0.1rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.text-muted {
  color: rgba(167, 173, 191, 0.78) !important;
}

.text-success {
  color: rgba(184, 255, 61, 0.9) !important;
}

.text-danger {
  color: #ff8a8a !important;
}

.form-control.is-valid {
  border-color: rgba(184, 255, 61, 0.44);
  box-shadow: 0 0 0 3px rgba(184, 255, 61, 0.065);
}

.form-control.is-invalid {
  border-color: rgba(255, 103, 103, 0.52);
  box-shadow: 0 0 0 3px rgba(255, 103, 103, 0.075);
}

.onboarding-card {
  min-height: 14rem;
}

.onboarding-landing {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 1.15rem;
}

.onboarding-shell {
  width: min(100%, 74rem);
  margin-inline: auto;
}

.onboarding-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0 1.1rem;
}

.onboarding-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
}

.onboarding-brand .brand-glyph {
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
}

.onboarding-brand .brand-mark {
  font-size: 1.2rem;
}

.onboarding-nav,
.onboarding-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-link {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184, 255, 61, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(245, 247, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0 1rem;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-link:hover {
  transform: translateY(-1px);
  border-color: rgba(184, 255, 61, 0.32);
  background: rgba(184, 255, 61, 0.08);
  color: var(--text);
}

.header-link-strong {
  border-color: rgba(184, 255, 61, 0.34);
  color: var(--neon);
}

.onboarding-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.86fr);
  gap: 3rem;
  align-items: center;
  min-height: 40rem;
  padding: 0.6rem 0 2.1rem;
}

.onboarding-copy {
  max-width: 43rem;
}

.onboarding-copy h1 {
  margin: 0;
  max-width: 12ch;
  color: var(--text);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 5.4rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
  text-shadow: 0 0 24px rgba(184, 255, 61, 0.08);
}

.onboarding-copy h1 span {
  display: block;
  color: var(--neon);
  text-shadow: 0 0 22px rgba(184, 255, 61, 0.18);
}

.onboarding-lead {
  max-width: 37rem;
  margin: 1.2rem 0 0;
  color: rgba(207, 213, 232, 0.84);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.75;
}

.onboarding-actions {
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.btn-large {
  min-height: 3.35rem;
  padding-inline: 1.25rem;
}

.onboarding-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 42rem;
  margin-top: 2rem;
}

.onboarding-proof div {
  min-width: 0;
  border: 1px solid rgba(184, 255, 61, 0.13);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(184, 255, 61, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
  padding: 0.9rem;
}

.onboarding-proof strong,
.onboarding-proof span {
  display: block;
}

.onboarding-proof strong {
  color: var(--text);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 0.95rem;
}

.onboarding-proof span {
  margin-top: 0.18rem;
  color: rgba(167, 173, 191, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.activation-console {
  position: relative;
  min-height: 33rem;
  overflow: hidden;
  padding: 1.25rem;
}

.console-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(184, 255, 61, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 255, 61, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.54), transparent);
}

.console-header,
.progress-copy,
.preview-topline,
.preview-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.console-header h2 {
  margin: 0.15rem 0 0;
  color: var(--text);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
}

.console-live {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  border: 1px solid rgba(184, 255, 61, 0.28);
  border-radius: 999px;
  background: rgba(184, 255, 61, 0.09);
  color: var(--neon);
  font-size: 0.72rem;
  font-weight: 950;
  padding: 0 0.8rem;
  text-transform: uppercase;
}

.progress-panel {
  margin-top: 1.2rem;
  border: 1px solid rgba(184, 255, 61, 0.16);
  border-radius: 1.1rem;
  background: rgba(0, 0, 0, 0.18);
  padding: 1rem;
}

.progress-copy span,
.activation-row small,
.preview-metrics span {
  color: rgba(167, 173, 191, 0.78);
  font-size: 0.8rem;
  font-weight: 800;
}

.progress-copy strong {
  color: var(--neon);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 1.45rem;
}

.progress-track {
  height: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(184, 255, 61, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(184, 255, 61, 0.92), rgba(184, 255, 61, 0.38));
  box-shadow: 0 0 18px rgba(184, 255, 61, 0.18);
}

.activation-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.activation-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.038);
  padding: 0.82rem;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.activation-row:hover,
.activation-row.is-active {
  transform: translateX(2px);
  border-color: rgba(184, 255, 61, 0.28);
  background: rgba(184, 255, 61, 0.075);
}

.activation-icon,
.step-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 255, 61, 0.22);
  background: rgba(184, 255, 61, 0.08);
  color: var(--neon);
}

.activation-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
}

.activation-row svg,
.step-icon svg,
.step-link svg {
  width: 1.15rem;
  height: 1.15rem;
}

.activation-row strong,
.activation-row small {
  display: block;
}

.activation-row strong {
  color: var(--text);
  font-size: 0.94rem;
}

.activation-row em {
  color: var(--neon);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.console-preview {
  margin-top: 1rem;
  border: 1px solid rgba(184, 255, 61, 0.16);
  border-radius: 1.2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%),
    rgba(0, 0, 0, 0.18);
  padding: 1rem;
}

.preview-topline {
  justify-content: flex-start;
}

.preview-topline span {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(184, 255, 61, 0.55);
}

.preview-metrics {
  margin-top: 0.95rem;
}

.preview-metrics div {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.78rem;
}

.preview-metrics strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--neon);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 1.2rem;
}

.preview-chart {
  display: flex;
  align-items: end;
  gap: 0.45rem;
  height: 4.2rem;
  margin-top: 0.95rem;
}

.preview-chart span {
  flex: 1;
  border-radius: 999px 999px 0.35rem 0.35rem;
  background: linear-gradient(180deg, rgba(184, 255, 61, 0.7), rgba(184, 255, 61, 0.08));
}

.preview-chart span:nth-child(1) { height: 34%; }
.preview-chart span:nth-child(2) { height: 56%; }
.preview-chart span:nth-child(3) { height: 45%; }
.preview-chart span:nth-child(4) { height: 72%; }
.preview-chart span:nth-child(5) { height: 88%; }

.onboarding-steps-section {
  padding: 0.4rem 0 3rem;
}

.steps-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.4rem;
  margin-bottom: 1rem;
}

.steps-head h2 {
  margin: 0.18rem 0 0;
  color: var(--text);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.05;
}

.steps-head .page-subtitle {
  max-width: 28rem;
  margin-top: 0;
}

.onboarding-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.onboarding-step-card {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
  padding: 1.35rem;
}

.step-number {
  position: absolute;
  right: 1.1rem;
  top: 0.85rem;
  color: rgba(184, 255, 61, 0.14);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
}

.step-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
}

.onboarding-step-card h3 {
  margin: 1.25rem 0 0;
  color: var(--text);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.onboarding-step-card p {
  margin: 0.75rem 0 0;
  color: rgba(167, 173, 191, 0.82);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.65;
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  color: var(--neon);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.step-link svg {
  transition: transform 180ms ease;
}

.step-link:hover svg {
  transform: translateX(3px);
}

.bottom-nav {
  display: none;
}

@keyframes ambientDrift {
  0% { transform: translate3d(-1.2%, -0.8%, 0) scale(1); }
  100% { transform: translate3d(-0.4%, 1.5%, 0) scale(1.01); }
}

@keyframes ambientFloat {
  50% { transform: translate3d(-2.4rem, 1.8rem, 0) scale(1.08); }
}

@keyframes gridDrift {
  to { background-position: 56px 56px; }
}

@keyframes floatParticle {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.045; }
  50% { transform: translate3d(14px, -22px, 0); opacity: 0.1; }
}

@media (max-width: 1180px) {
  .onboarding-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 1.45rem;
  }

  .onboarding-copy {
    max-width: 48rem;
  }

  .activation-console {
    max-width: 44rem;
  }

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

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

  .grid-3,
  .grid-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
  .onboarding-copy h1 {
    font-size: 4.25rem;
  }

  .onboarding-step-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-step-card {
    min-height: auto;
  }

  .sidebar,
  .desktop-sidebar {
    transform: translateX(calc(-100% - 1.5rem));
    transition: transform 220ms ease;
  }

  body.menu-open .sidebar,
  body.menu-open .desktop-sidebar {
    transform: translateX(0);
  }

  .content-shell {
    padding: 1rem 1rem 6.5rem;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .topbar {
    position: sticky;
    top: 0.75rem;
    z-index: 20;
  }

  .bottom-nav {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(2.35rem, 1fr));
    gap: 0.25rem;
    border: 1px solid rgba(184, 255, 61, 0.25);
    border-radius: 1.15rem;
    background:
      linear-gradient(115deg, rgba(255, 255, 255, 0.058), transparent 38%),
      radial-gradient(circle at 50% 0%, rgba(184, 255, 61, 0.035), transparent 11rem),
      rgba(15, 17, 29, 0.9);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    padding: 0.45rem;
    backdrop-filter: blur(24px);
  }

  .bottom-nav a {
    display: grid;
    min-width: 0;
    place-items: center;
    gap: 0.25rem;
    border-radius: 0.95rem;
    color: rgba(167, 173, 191, 0.76);
    font-size: 0.56rem;
    font-weight: 800;
    padding: 0.35rem 0.1rem;
  }

  .bottom-nav a span:last-child {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bottom-nav a.active {
    color: var(--text);
  }

  .bottom-nav .nav-icon {
    width: 2.05rem;
    height: 2.05rem;
  }
}

@media (max-width: 420px) {
  .bottom-nav {
    gap: 0.16rem;
    padding: 0.35rem;
  }

  .bottom-nav a {
    font-size: 0.5rem;
  }

  .bottom-nav .nav-icon {
    width: 1.85rem;
    height: 1.85rem;
  }
}

@media (max-width: 767px) {
  .onboarding-landing {
    padding: 0.9rem;
  }

  .onboarding-header {
    align-items: flex-start;
    padding-top: 0.3rem;
  }

  .onboarding-brand {
    gap: 0.7rem;
  }

  .onboarding-brand .brand-glyph {
    width: 2.25rem;
    height: 2.25rem;
  }

  .onboarding-brand .brand-mark {
    font-size: 1rem;
  }

  .onboarding-nav {
    gap: 0.45rem;
  }

  .header-link {
    min-height: 2.35rem;
    padding-inline: 0.75rem;
  }

  .onboarding-hero {
    gap: 1.15rem;
    padding-top: 0.8rem;
  }

  .onboarding-copy h1 {
    font-size: 3.15rem;
  }

  .onboarding-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .onboarding-proof {
    grid-template-columns: 1fr;
  }

  .activation-console {
    min-height: auto;
    padding: 1rem;
  }

  .console-header {
    align-items: flex-start;
  }

  .activation-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .activation-row em {
    grid-column: 2;
    justify-self: start;
  }

  .preview-metrics,
  .steps-head {
    display: grid;
  }

  .steps-head {
    align-items: start;
  }

  .steps-head h2 {
    font-size: 1.7rem;
  }

  .steps-head .page-subtitle {
    max-width: none;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .page-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions,
  .filter-row,
  .form-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .profile-chip {
    width: 100%;
    border-radius: 1.25rem;
  }

  .card {
    padding: 1rem;
  }

  .detail-row,
  .tree-row,
  .settings-row,
  .copy-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-value {
    text-align: left;
  }

  .btn-neon,
  .btn-ghost {
    width: 100%;
  }

  .auth-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .register-login-link {
    align-items: center;
    flex-direction: row;
  }

  .register-auth-card {
    grid-template-columns: 1fr;
  }

  .register-auth-card.no-sponsor {
    grid-template-columns: 1fr;
  }

  .register-invite-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(184, 255, 61, 0.12);
    padding: 0.1rem 0.1rem 1rem;
  }

  .register-invite-panel.no-sponsor {
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .register-invite-panel.no-sponsor .auth-brand {
    place-items: center;
  }

  .register-invite-panel.no-sponsor .auth-logo-full {
    margin-inline: auto;
    width: min(7.5rem, 100%);
  }

  .register-invite-panel.no-sponsor .register-invite-copy {
    max-width: 24rem;
  }

  .register-form-panel {
    padding: 0;
  }

  .toast {
    bottom: 5.9rem;
  }
}

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