@font-face {
  font-family: "Orbitron";
  src: url("/assets/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #08080d;
  --coal: #101018;
  --steel: #a9abb1;
  --silver: #d7d8dc;
  --mist: #f4f4f6;
  --violet: #111116;
  --electric: #f2f2f4;
  --amber: #c7c8cc;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 8%, rgba(130, 137, 160, 0.32), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(255, 255, 255, 0.12), transparent 22rem),
    linear-gradient(135deg, #d9dbe3 0%, #8f929b 42%, #17171b 100%);
  color: var(--mist);
  font-family: "Orbitron", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

/* Public pages use Orbitron; operational panels keep their denser UI type. */
body.panel-body,
body.sentinel-panel-body,
body.admin-body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  display: none;
}

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

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

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #07070b;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.boot-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.boot-mark {
  color: #f1f1f4;
  font-size: clamp(2.4rem, 10vw, 8rem);
  font-weight: 900;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.26);
}

.boot-line {
  position: absolute;
  left: 8vw;
  right: 8vw;
  bottom: 20vh;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  animation: bootLine 1.1s ease both;
}

.site-header {
  position: fixed;
  top: 12px;
  left: 14px;
  right: 14px;
  z-index: 20;
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 54px;
  padding: 7px 10px 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(70, 70, 76, 0.82), rgba(230, 230, 230, 0.42), rgba(22, 22, 26, 0.86)),
    rgba(13, 13, 18, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(14, 14, 20, 0.88);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 900;
}

.brand-emblem,
.dash-logo {
  display: grid;
  place-items: center;
  width: 36px;
  aspect-ratio: 1;
  border-radius: 8px;
  color: #06060a;
  background: linear-gradient(145deg, #f4f5f7, #767982 55%, #15151a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(0, 0, 0, 0.42);
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  gap: 7px;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a,
.soft-button,
.solid-button,
.ghost-button,
.package-button {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-block: 3px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
  overflow: visible;
  line-height: 1;
  transform-origin: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a,
.soft-button {
  color: #fff;
  background: linear-gradient(180deg, rgba(232, 232, 235, 0.62), rgba(95, 96, 102, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56), 0 9px 18px rgba(0, 0, 0, 0.42);
}

.solid-button,
.package-button {
  color: #09090e;
  background: linear-gradient(135deg, #ffffff, #cfd0d4 56%, #73757b);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34), 0 0 22px rgba(255, 255, 255, 0.14);
}

.ghost-button {
  color: #f7f7fa;
  background: rgba(255, 255, 255, 0.08);
}

.large {
  min-height: 54px;
  padding: 0 24px;
}

.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.nav-links a:hover,
.soft-button:hover,
.solid-button:hover,
.ghost-button:hover,
.package-button:hover {
  transform: translateY(-1px) scale(1.025);
  border-color: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
  overflow: visible;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  min-height: 100vh;
  padding: 128px clamp(20px, 5vw, 76px) 72px;
}

.hero-noise,
.hero-grid,
.scan-beam {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.hero-noise {
  display: none;
  opacity: 0.22;
  background:
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.13), transparent 26rem);
  mix-blend-mode: soft-light;
}

.scan-beam {
  display: none;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  filter: blur(22px);
  animation: scanBeam 6s ease-in-out infinite;
}

.hero-grid {
  display: none;
  background: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 830px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--electric);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  max-width: 780px;
  color: #111116;
  font-size: clamp(4rem, 11vw, 9.8rem);
  line-height: 0.86;
  font-weight: 900;
}

.hero-title span {
  color: #05050a;
  text-shadow: 0 0 34px rgba(255, 255, 255, 0.18);
}

.hero-subtitle {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  overflow: visible;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin-top: 38px;
}

.hero-metrics div,
.team-card,
.info-panel,
.support-panel,
.control-surface,
.activity-feed,
.panel-stats article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 9, 14, 0.58);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  color: white;
  font-size: 1.4rem;
}

.hero-metrics span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.command-core {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(236, 236, 238, 0.24), rgba(28, 28, 33, 0.78)),
    rgba(12, 12, 17, 0.78);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.core-top,
.core-readout div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pulse {
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f6f6f7;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.68);
  animation: pulse 1.4s ease-in-out infinite;
}

.core-signal {
  display: grid;
  gap: 26px;
  place-items: center;
  padding: 44px 0;
}

.shield-plate {
  display: grid;
  place-items: center;
  width: min(260px, 70vw);
  aspect-ratio: 1.2;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(30, 30, 34, 0.88)),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -28px 60px rgba(0, 0, 0, 0.42),
    0 22px 55px rgba(0, 0, 0, 0.32);
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0;
  animation: plateFloat 4.8s ease-in-out infinite;
}

.signal-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: min(260px, 70vw);
}

.signal-bars span {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.82));
  transform-origin: left;
  animation: signalPulse 1.8s ease-in-out infinite;
}

.signal-bars span:nth-child(2) {
  animation-delay: 160ms;
}

.signal-bars span:nth-child(3) {
  animation-delay: 320ms;
}

.signal-bars span:nth-child(4) {
  animation-delay: 480ms;
}

.radar {
  position: relative;
  display: grid;
  place-items: center;
  width: min(86vw, 330px);
  aspect-ratio: 1;
  margin: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 16%),
    radial-gradient(circle, transparent 58%, rgba(255, 255, 255, 0.1) 59%, transparent 60%);
}

.radar-ring {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.radar-ring.second {
  width: 42%;
}

.radar-sweep {
  position: absolute;
  width: 50%;
  height: 50%;
  transform-origin: bottom right;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.22), transparent 62%);
  animation: sweep 4s linear infinite;
}

.radar-node {
  position: absolute;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 22px var(--amber);
}

.n1 {
  top: 28%;
  left: 34%;
}

.n2 {
  right: 28%;
  top: 46%;
}

.n3 {
  left: 48%;
  bottom: 24%;
}

.core-readout {
  display: grid;
  gap: 12px;
}

.core-readout div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.core-readout div:last-child {
  border-bottom: 0;
}

.core-readout span {
  color: rgba(255, 255, 255, 0.62);
}

.core-readout strong {
  color: white;
}

.section-band {
  padding: 100px clamp(20px, 5vw, 76px);
  background: rgba(8, 8, 13, 0.8);
}

.section-band.dark {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.1), transparent 24rem),
    linear-gradient(180deg, #0b0b11, #15151c);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.info-panel h2,
.support-panel h2,
.surface-title h2 {
  margin: 0;
  color: white;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.section-heading p:not(.eyebrow),
.info-panel p,
.support-panel p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  padding: 12px 0;
}

.package-card {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #d8c5a8 0%, #92745a 22%, #45352a 48%, #15110e 70%, #030303 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  overflow: visible;
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, filter 260ms ease;
}

.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  padding: 2px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 244, 222, 0.95), rgba(122, 88, 61, 0.72) 42%, rgba(7, 7, 7, 0.98)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.18));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.package-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 1;
  pointer-events: none;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 14%, transparent 86%, rgba(255, 255, 255, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 36%);
  opacity: 0.75;
}

.package-card-featured {
  transform: translateY(-18px);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48), 0 0 36px rgba(196, 164, 124, 0.2);
}

.package-card.reveal.is-visible {
  transform: translateY(0);
}

.package-card-featured.reveal.is-visible {
  transform: translateY(-18px);
}

.package-card.reveal.is-visible:hover {
  transform: translateY(-16px) scale(1.015);
  border-color: rgba(255, 239, 213, 0.5);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.52), 0 0 38px rgba(179, 139, 93, 0.18);
  filter: brightness(1.04);
}

.package-card-featured.reveal.is-visible:hover {
  transform: translateY(-30px) scale(1.015);
}

.package-texture {
  display: none;
}

.package-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  border-radius: 8px;
  padding: 42px 38px 34px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 10%, transparent 90%, rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.5));
  overflow: visible;
}

.package-kicker {
  color: var(--electric);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.package-card h3 {
  margin: 16px 0 8px;
  color: white;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.package-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.package-card ul {
  display: grid;
  gap: 12px;
  margin: auto 0 24px;
  padding: 0;
  list-style: none;
}

.package-card li {
  color: white;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.package-price {
  display: block;
  margin-top: 12px;
  color: #effff3;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 18px rgba(72, 255, 125, 0.2);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.38);
}

.dash-logo {
  margin-bottom: 18px;
}

.dash-item,
.panel-nav-item {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.dash-item.active,
.panel-nav-item.active {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.dash-main {
  padding: 24px;
}

.dash-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.dash-toolbar span,
.panel-topbar span,
.panel-stats span,
.surface-title span {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dash-toolbar strong {
  display: block;
  margin-top: 6px;
  color: white;
  font-size: 1.55rem;
}

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

.module-tile {
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
}

.module-tile.active {
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.08);
}

.module-tile span,
.module-tile strong {
  display: block;
}

.module-tile span {
  color: rgba(255, 255, 255, 0.62);
}

.module-tile strong {
  margin-top: 42px;
  color: white;
  font-size: 1.35rem;
}

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

.team-card {
  min-height: 220px;
  padding: 26px;
}

.team-card span {
  color: var(--amber);
  font-weight: 900;
}

.team-card h3 {
  color: white;
  font-size: 1.8rem;
}

.team-card p {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.info-support {
  grid-template-columns: 0.9fr 1.1fr;
}

.info-panel,
.support-panel {
  padding: 32px;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: white;
  background: rgba(0, 0, 0, 0.32);
  outline: none;
}

.lead-form input {
  min-height: 48px;
  padding: 0 14px;
}

.lead-form textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 28px clamp(20px, 5vw, 76px);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(18, 18, 23, 0.96), rgba(5, 5, 8, 0.98)),
    #07070b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-brandline {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: white;
  font-size: 1rem;
}

.footer-brandline span,
.footer-copy,
.footer-links a {
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.74);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

.footer-copy {
  justify-self: end;
  text-align: right;
}

.legal-shell {
  min-height: 100vh;
  padding: 132px clamp(20px, 5vw, 76px) 82px;
  background:
    radial-gradient(circle at 12% 7%, rgba(255, 255, 255, 0.16), transparent 27rem),
    linear-gradient(135deg, rgba(210, 211, 216, 0.18), rgba(6, 6, 9, 0.96));
}

.legal-hero {
  max-width: 920px;
  margin-bottom: 32px;
}

.legal-hero h1 {
  margin: 0;
  color: white;
  font-size: clamp(2.5rem, 7vw, 6.2rem);
  line-height: 0.96;
}

.legal-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.04rem;
  line-height: 1.7;
}

.legal-document {
  display: grid;
  gap: 18px;
  max-width: 980px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(12, 12, 16, 0.74)),
    rgba(9, 9, 13, 0.68);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.legal-document section {
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-document section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-document h2 {
  margin: 0 0 10px;
  color: white;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.legal-document p,
.legal-document li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.78;
}

.legal-document p {
  margin: 0 0 12px;
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.legal-document ul {
  margin: 0;
  padding-left: 20px;
}

.legal-note {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 800;
}

.panel-body {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.1), transparent 24rem),
    linear-gradient(135deg, #15151b, #050507);
}

.page-shell {
  min-height: 100vh;
  padding: 132px clamp(20px, 5vw, 76px) 76px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.16), transparent 28rem),
    linear-gradient(135deg, rgba(210, 211, 216, 0.18), rgba(6, 6, 9, 0.94));
}

.page-hero {
  max-width: 880px;
  margin-bottom: 42px;
}

.page-hero h1,
.auth-card h1 {
  margin: 0;
  color: white;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.92;
}

.page-hero p:not(.eyebrow),
.auth-card p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.7;
}

.compact-grid {
  margin-top: 24px;
}

.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.18), transparent 28rem),
    linear-gradient(135deg, #c4c5ca 0%, #5d5f66 38%, #07070a 100%);
}

.auth-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 126px 20px 56px;
}

.compact-auth {
  align-items: start;
  padding-top: 136px;
}

.auth-card {
  width: min(100%, 560px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(14, 14, 18, 0.9)),
    rgba(10, 10, 14, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-card.wide {
  width: min(100%, 820px);
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

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

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

.auth-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 900;
}

.auth-form input {
  min-height: 50px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background: rgba(0, 0, 0, 0.34);
  outline: none;
}

.auth-link {
  display: inline-block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.auth-card-minimal {
  width: min(100%, 520px);
  padding: 34px clamp(24px, 6vw, 58px) 38px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(250, 250, 252, 0.16), rgba(14, 14, 17, 0.92)),
    rgba(9, 9, 12, 0.82);
}

.auth-card-minimal h1 {
  margin-top: 4px;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
}

.auth-avatar {
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  margin: 0 auto 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #b7b8bd);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.auth-avatar span {
  position: relative;
  display: block;
  width: 28px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #4d4f55;
}

.auth-avatar span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 34px;
  width: 56px;
  height: 28px;
  border-radius: 999px 999px 8px 8px;
  background: #4d4f55;
  transform: translateX(-50%);
}

.line-form {
  gap: 20px;
  margin-top: 28px;
}

.line-form label {
  position: relative;
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
}

.line-form label > span {
  display: block;
  margin: 0 0 7px;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.line-form input {
  min-height: 44px;
  border: 0;
  border-bottom: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 0;
  padding: 0 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.38);
}

.line-form input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: #ffffff;
}

.auth-submit {
  min-height: 52px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #0b0b0e;
  background: linear-gradient(180deg, #f4f4f6, #b8b9be);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  font-weight: 900;
  cursor: pointer;
}

.auth-options {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
}

.auth-options a,
.auth-bottom a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tiny-check {
  display: inline-flex !important;
  gap: 7px !important;
  align-items: center;
  white-space: nowrap;
}

.tiny-check input {
  width: 13px;
  height: 13px;
  min-height: auto;
  accent-color: #ffffff;
}

.auth-bottom {
  display: grid;
  gap: 8px;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.auth-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(380px, 520px);
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
  min-height: 100vh;
  padding: 126px clamp(20px, 5vw, 76px) 60px;
  overflow: hidden;
}

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

.auth-stage::before {
  inset: 82px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0.42;
}

.auth-stage::after {
  width: 44vw;
  height: 120vh;
  left: 8vw;
  top: -10vh;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  filter: blur(32px);
  transform: rotate(12deg);
  animation: authLightSweep 7s ease-in-out infinite;
}

.auth-showcase,
.auth-panel {
  position: relative;
  z-index: 1;
}

.auth-showcase {
  max-width: 760px;
}

.auth-showcase h1 {
  margin: 0;
  color: white;
  font-size: clamp(3.4rem, 8vw, 8.6rem);
  line-height: 0.88;
}

.auth-showcase p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
  line-height: 1.75;
}

.auth-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 168px;
  aspect-ratio: 1;
  margin-bottom: 28px;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.08);
  animation: slowSpin 9s linear infinite;
}

.orbit-ring::before,
.orbit-ring::after {
  content: "";
  position: absolute;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f3f3f5;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.78);
}

.orbit-ring::before {
  top: 18px;
  left: 27px;
}

.orbit-ring::after {
  right: 16px;
  bottom: 38px;
}

.orbit-ring.small {
  inset: 28px;
  animation-direction: reverse;
  animation-duration: 6s;
}

.orbit-core {
  display: grid;
  place-items: center;
  width: 88px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #09090c;
  background: linear-gradient(145deg, #ffffff, #94969c 58%, #17171b);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.4);
  font-size: 2.4rem;
  font-weight: 900;
}

.auth-proof-grid,
.auth-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.auth-proof-grid span,
.auth-steps span {
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  font-weight: 900;
}

.auth-panel {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(12, 12, 15, 0.9) 46%, rgba(0, 0, 0, 0.94)),
    rgba(12, 12, 16, 0.88);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 7px);
  opacity: 0.68;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 80%);
}

.auth-panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.auth-panel-top h2 {
  margin: 0;
  color: white;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 0.95;
}

.auth-avatar.compact {
  width: 68px;
  margin: 0;
}

.auth-avatar.compact span {
  width: 19px;
}

.auth-avatar.compact span::after {
  top: 24px;
  width: 40px;
  height: 20px;
}

.discord-button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #0a0a0d;
  background: linear-gradient(180deg, #ffffff, #a8a9ae);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  font-weight: 900;
  cursor: pointer;
}

.discord-button-icon,
.rail-icon.discord-animated {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
}

.discord-button-icon {
  width: 26px;
  height: 26px;
}

.discord-button-icon svg,
.rail-icon.discord-animated svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.rail-discord .rail-icon.discord-animated {
  transform: translateX(-2px);
}

.account-rail .rail-item[hidden] {
  display: none !important;
}

.auth-divider {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin: 22px 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.auth-divider span {
  position: relative;
  padding: 0 12px;
  background: #131318;
}

.premium-form {
  position: relative;
  z-index: 1;
  gap: 18px;
}

.premium-form label {
  display: grid;
  gap: 8px;
}

.premium-form label > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-form input,
.premium-form select {
  min-height: 52px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.28)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  outline: none;
}

.premium-form select {
  color: #f6f6f7;
}

.premium-form option {
  color: #111116;
}

.premium-form input:focus,
.premium-form select:focus {
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.premium-submit {
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.premium-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42);
}

.register-stage {
  grid-template-columns: minmax(330px, 0.8fr) minmax(520px, 760px);
}

.register-panel {
  padding: clamp(24px, 4vw, 36px);
}

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

.register-check {
  grid-column: 1 / -1;
}

.panel-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.panel-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.panel-brand {
  margin-bottom: 28px;
}

.panel-nav-item {
  padding: 0 14px;
}

.panel-back {
  margin-top: auto;
  color: var(--electric);
  font-weight: 900;
}

.panel-workspace {
  padding: 28px;
}

.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.panel-topbar h1 {
  margin: 8px 0 0;
  color: white;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.server-pill {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 13px 18px;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  font-weight: 900;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.panel-stats article {
  padding: 22px;
}

.panel-stats strong {
  display: block;
  margin-top: 12px;
  color: white;
  font-size: 2rem;
}

.panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.control-surface,
.activity-feed {
  padding: 24px;
}

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

.surface-title h2 {
  margin-top: 6px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.surface-title.compact {
  display: block;
}

.control-list {
  display: grid;
  gap: 12px;
}

.control-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

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

.control-row strong {
  color: white;
}

.control-row small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
}

.control-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--electric);
}

.activity-feed ol {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.activity-feed li {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.activity-feed strong,
.activity-feed span {
  display: block;
}

.activity-feed strong {
  color: white;
}

.activity-feed span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes bootLine {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes scanBeam {
  0%,
  100% {
    transform: translateX(-70%);
    opacity: 0.1;
  }
  50% {
    transform: translateX(260%);
    opacity: 0.42;
  }
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  50% {
    transform: scale(1.45);
    opacity: 0.62;
  }
}

@keyframes plateFloat {
  50% {
    transform: translateY(-8px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      inset 0 -28px 60px rgba(0, 0, 0, 0.42),
      0 30px 70px rgba(0, 0, 0, 0.42);
  }
}

@keyframes signalPulse {
  0%,
  100% {
    opacity: 0.36;
    transform: scaleX(0.62);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes authLightSweep {
  0%,
  100% {
    opacity: 0.16;
    transform: translateX(-24%) rotate(12deg);
  }
  50% {
    opacity: 0.54;
    transform: translateX(58%) rotate(12deg);
  }
}

@media (max-width: 1060px) {
  .site-header {
    gap: 9px;
  }

  .nav-links {
    overflow-x: auto;
  }

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

  .command-core {
    min-height: 380px;
  }

  .package-grid,
  .team-grid,
  .panel-stats,
  .panel-layout {
    grid-template-columns: 1fr 1fr;
  }

  .package-card-featured {
    transform: none;
  }

  .info-support,
  .panel-page,
  .auth-stage,
  .register-stage {
    grid-template-columns: 1fr;
  }

  .auth-showcase {
    max-width: 920px;
  }

  .panel-nav {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-copy {
    justify-self: start;
    text-align: left;
  }

  .legal-shell {
    padding-top: 116px;
  }

  .site-header {
    left: 8px;
    right: 8px;
    top: 8px;
    padding: 7px;
    gap: 6px;
  }

  .header-actions {
    gap: 6px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-links a,
  .soft-button,
  .solid-button,
  .ghost-button,
  .package-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

  .hero-metrics,
  .package-grid,
  .dashboard-shell,
  .module-grid,
  .team-grid,
  .panel-stats,
  .panel-layout {
    grid-template-columns: 1fr;
  }

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

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

  .auth-stage {
    padding-top: 112px;
  }

  .auth-showcase h1 {
    font-size: clamp(3rem, 14vw, 5.8rem);
  }

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

  .dash-sidebar {
    flex-direction: row;
    overflow-x: auto;
  }

  .dash-logo {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .dash-item {
    flex: 0 0 auto;
    padding: 0 14px;
  }

  .package-card,
  .package-content {
    min-height: 500px;
  }

  .panel-topbar,
  .surface-title {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Flow 6 polish */
.site-header {
  overflow: visible;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 6px 16px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand {
  min-width: 128px;
}

.brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.42));
}

.nav-links {
  overflow: visible;
  padding: 9px 0 9px 16px;
  margin: -9px 0;
}

.nav-links a,
.soft-button {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 8px 14px rgba(0, 0, 0, 0.3),
    0 18px 36px rgba(0, 0, 0, 0.24);
}

.nav-links a:hover,
.soft-button:hover,
.solid-button:hover,
.ghost-button:hover,
.package-button:hover {
  transform: translateY(-3px) scale(1.018);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 18px rgba(0, 0, 0, 0.34),
    0 22px 46px rgba(0, 0, 0, 0.32);
}

.single-hero {
  min-height: calc(100vh - 1px);
}

.logo-core {
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.2), transparent 18rem),
    linear-gradient(180deg, rgba(235, 235, 238, 0.14), rgba(12, 12, 15, 0.72));
}

.logo-core img {
  width: min(96%, 460px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 42px rgba(0, 0, 0, 0.62));
  animation: logoBreath 4.8s ease-in-out infinite;
}

.page-shell,
.section-band,
.hero-actions,
.package-grid,
.package-content,
.support-panel {
  overflow: visible;
}

.package-card-framed {
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.44), 0 0 28px rgba(255, 255, 255, 0.08);
}

.package-card-framed::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(198, 198, 201, 0.58) 18%, rgba(95, 78, 62, 0.72) 46%, rgba(255, 255, 255, 0.56)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.58));
}

.auth-stage,
.auth-panel {
  overflow: visible;
}

.orbit-core {
  overflow: hidden;
}

.orbit-core img {
  width: 96%;
  height: 96%;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
}

.tightened-register {
  grid-template-columns: minmax(320px, 0.72fr) minmax(500px, 680px);
  gap: clamp(20px, 4vw, 52px);
}

.register-showcase h1 {
  max-width: 620px;
  font-size: clamp(2.9rem, 6.5vw, 6.7rem);
  line-height: 0.96;
}

.particle-orbit {
  width: 190px;
  margin-bottom: 22px;
}

.particle-orbit .orbit-ring {
  animation-duration: 8s;
}

.particle-orbit .orbit-b {
  inset: 24px;
  animation: orbitTiltA 5.8s linear infinite;
}

.particle-orbit .orbit-c {
  inset: 47px;
  animation: orbitTiltB 7.2s linear infinite reverse;
}

.particle-orbit .orbit-ring::before {
  top: 6%;
  left: 52%;
}

.particle-orbit .orbit-ring::after {
  right: 10%;
  bottom: 24%;
}

.register-panel {
  max-width: 680px;
}

.register-panel-title {
  margin-bottom: 16px;
}

.register-panel-title h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.balanced-avatar {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
}

.balanced-avatar span {
  width: 17px;
}

.balanced-avatar span::after {
  top: 22px;
  width: 36px;
  height: 18px;
}

.compact-register-form {
  gap: 12px 14px;
  margin-top: 12px;
}

.compact-register-form input {
  min-height: 48px;
}

.compact-register-form .register-check {
  margin-top: 4px;
}

.compact-submit,
.discord-join-button {
  justify-self: center;
  width: min(100%, 370px);
}

.compact-submit {
  margin-top: 2px;
}

.discord-join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  box-shadow: 0 18px 44px rgba(88, 101, 242, 0.3), 0 16px 34px rgba(0, 0, 0, 0.32);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.discord-join-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(88, 101, 242, 0.38), 0 20px 44px rgba(0, 0, 0, 0.38);
}

.discord-mark {
  position: relative;
  width: 25px;
  height: 18px;
  border: 3px solid white;
  border-radius: 10px 10px 8px 8px;
}

.discord-mark::before,
.discord-mark::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: white;
}

.discord-mark::before {
  left: 5px;
}

.discord-mark::after {
  right: 5px;
}

.lead-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.28)),
    rgba(0, 0, 0, 0.32);
  outline: none;
}

.lead-form option {
  color: #111116;
}

.auth-message {
  min-height: 20px;
  margin: -4px 0 0;
  color: #ffb8b8;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
}

.auth-message[data-type="success"] {
  color: #d8ffd8;
}

.auth-submit:disabled,
.discord-button:disabled,
.discord-join-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.logged-in .header-actions {
  display: none;
}

.account-rail {
  position: fixed;
  top: 118px;
  right: 18px;
  z-index: 35;
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 58px;
  min-height: 410px;
  padding: 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(245, 245, 247, 0.2), rgba(18, 18, 22, 0.92)),
    rgba(8, 8, 12, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: visible;
  backdrop-filter: blur(18px);
}

.logged-in .account-rail {
  display: flex;
}

.rail-item {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: white;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.rail-item:hover {
  transform: translateX(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.rail-exit {
  margin-top: auto;
  color: #ff4545;
}

.rail-label {
  position: absolute;
  right: 52px;
  top: 50%;
  min-width: 0;
  max-width: 0;
  padding: 11px 0;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 999px;
  color: white;
  background: rgba(11, 11, 15, 0.88);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transform: translateY(-50%) translateX(8px);
  transition: max-width 220ms ease, min-width 220ms ease, padding 220ms ease, opacity 180ms ease, transform 220ms ease, border-color 220ms ease;
}

.rail-item:hover .rail-label {
  min-width: 118px;
  max-width: 160px;
  padding: 11px 16px;
  border-color: rgba(255, 255, 255, 0.16);
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.rail-exit:hover .rail-label {
  color: #ff5959;
}

.rail-admin {
  color: #52ef83;
  display: none !important;
}

.rail-admin.is-admin-visible {
  display: grid !important;
}

.rail-admin:hover .rail-label {
  color: #72ff9d;
}

.rail-svg {
  display: block;
}

.rail-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.rail-icon.bell-icon,
.rail-icon.package-icon,
.rail-icon.clipboard-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
}

.rail-icon.bell-icon svg,
.rail-icon.package-icon svg,
.rail-icon.clipboard-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  overflow: visible;
}

.rail-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: #111116;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(145, 145, 150, 0.78)),
    rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 22px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 900;
}

.rail-avatar img,
.member-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.rail-icon.user {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.rail-icon.user::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 26px;
  height: 13px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.rail-icon.product {
  border: 2px solid currentColor;
  border-radius: 6px;
}

.rail-icon.product::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: -6px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.rail-icon.bell {
  border: 2px solid currentColor;
  border-radius: 12px 12px 7px 7px;
}

.rail-icon.bell::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: -6px;
  width: 8px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.rail-icon.apply {
  border: 2px solid currentColor;
  border-radius: 5px;
}

.rail-icon.apply::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 6px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
}

.rail-icon.discord {
  width: 24px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 10px 10px;
}

.rail-icon.discord::before,
.rail-icon.discord::after {
  content: "";
  position: absolute;
}

.rail-icon.discord::before {
  left: 5px;
  top: 6px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 9px 0 0 currentColor;
}

.rail-icon.discord::after {
  left: 4px;
  top: -7px;
  width: 5px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 6px 0 0 0;
  box-shadow: 11px 0 0 -1px transparent, 11px 0 0 0 currentColor;
}

.rail-icon.exit::before,
.rail-icon.exit::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.rail-icon.exit::before {
  transform: rotate(45deg);
}

.rail-icon.exit::after {
  transform: rotate(-45deg);
}

.account-body {
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.16), transparent 28rem),
    linear-gradient(135deg, #17171d, #060608);
}

.discord-link-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.discord-link-modal.is-open {
  display: grid;
}

.discord-link-panel {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(100%, 620px);
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.18), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(8, 8, 11, 0.92));
  box-shadow: 0 30px 94px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.discord-link-panel h2 {
  margin: 0;
  color: white;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 0.95;
}

.discord-link-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.discord-link-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.discord-link-mark::before {
  content: "";
  width: 28px;
  height: 21px;
  border: 3px solid white;
  border-radius: 9px 9px 11px 11px;
  box-shadow: inset 7px 8px 0 -6px white, inset -7px 8px 0 -6px white;
}

.discord-link-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.account-page {
  padding-right: clamp(92px, 8vw, 138px);
}

.sentinel-panel-body {
  min-height: 100vh;
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 82% 2%, rgba(167, 158, 143, 0.16), transparent 22rem),
    linear-gradient(135deg, #050506 0%, #161619 42%, #0a0a0c 100%);
}

.sentinel-shell {
  display: grid;
  grid-template-columns: 292px 1fr;
  min-height: 100vh;
  isolation: isolate;
}

.sentinel-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
  pointer-events: none;
}

.sentinel-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100vh;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(6, 6, 8, 0.76)),
    rgba(10, 10, 12, 0.84);
  box-shadow: 24px 0 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
}

.sentinel-brand {
  margin-bottom: 4px;
}

.sentinel-user {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.sentinel-user strong,
.sentinel-user small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sentinel-user strong {
  color: white;
}

.sentinel-user small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 800;
}

.sentinel-tabs {
  display: grid;
  gap: 10px;
}

.sentinel-tab {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.sentinel-tab:hover,
.sentinel-tab.active {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06));
  transform: translateX(4px);
}

.sentinel-workspace {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  padding-right: clamp(92px, 8vw, 132px);
}

.sentinel-hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  min-height: 228px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035) 54%, rgba(0, 0, 0, 0.32)),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.24), transparent 16rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.sentinel-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 36%),
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.12) 0 8deg, transparent 8deg 18deg);
  animation: sentinelSpin 16s linear infinite;
  opacity: 0.72;
}

.sentinel-hero > * {
  position: relative;
  z-index: 1;
}

.sentinel-hero h1 {
  max-width: 760px;
  margin: 10px 0 14px;
  color: white;
  font-size: clamp(2.5rem, 7vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.sentinel-hero p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.03rem;
  line-height: 1.7;
}

.sentinel-status {
  display: grid;
  gap: 8px;
  min-width: 210px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sentinel-status span {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 900;
}

.sentinel-status strong {
  color: white;
  font-size: 1.4rem;
}

.sentinel-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.sentinel-metrics article,
.sentinel-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(11, 11, 14, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.sentinel-metrics article {
  padding: 20px;
}

.sentinel-metrics span {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 900;
}

.sentinel-metrics strong {
  display: block;
  margin-top: 12px;
  color: white;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
}

.sentinel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
}

.sentinel-main-panels {
  min-width: 0;
}

.sentinel-card {
  padding: clamp(20px, 3vw, 28px);
}

.sentinel-tab-panel {
  display: none;
}

.sentinel-tab-panel.is-active {
  display: block;
}

.sentinel-core {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 24px;
  align-items: center;
}

.core-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 168px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 28%),
    conic-gradient(from 30deg, rgba(255, 255, 255, 0.78), rgba(133, 133, 138, 0.18), rgba(255, 255, 255, 0.78));
  animation: sentinelPulse 3.4s ease-in-out infinite;
}

.core-ring::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #09090b;
}

.core-ring span {
  position: relative;
  width: 58px;
  height: 78px;
  border: 5px solid white;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.core-ring span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 21px;
  width: 42px;
  height: 26px;
  border: 5px solid white;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  transform: translateX(-50%);
}

.core-ring.compact {
  width: 118px;
}

.core-ring.compact span {
  width: 42px;
  height: 58px;
  border-width: 4px;
}

.core-ring.compact span::before {
  top: 15px;
  width: 30px;
  height: 20px;
  border-width: 4px;
}

.sentinel-command-center .sentinel-workspace {
  background:
    radial-gradient(circle at 75% 8%, rgba(255, 255, 255, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%);
}

.sentinel-ops-hero {
  overflow: hidden;
}

.sentinel-status small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 900;
}

.sentinel-command-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 280px);
  gap: 22px;
  align-items: center;
}

.sentinel-command-strip h3 {
  margin: 0 0 10px;
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1;
}

.sentinel-command-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.emergency-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.11), rgba(0, 0, 0, 0.24)),
    rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.emergency-box span {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 950;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.emergency-box strong {
  color: white;
  font-size: 1.45rem;
}

.emergency-box div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.sentinel-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.sentinel-mini-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.21);
}

.sentinel-mini-grid span,
.sentinel-action-console span,
.sentinel-list-card > div span {
  color: rgba(255, 255, 255, 0.52);
  font-weight: 950;
}

.sentinel-mini-grid strong {
  display: block;
  margin-top: 9px;
  color: white;
  font-size: 1.25rem;
}

.sentinel-core h3 {
  margin: 0 0 12px;
  color: white;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 1;
}

.sentinel-core p,
.sentinel-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

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

.sentinel-control-list.expanded {
  margin-top: 16px;
}

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

.sentinel-form-grid label:not(.control-row) {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 900;
}

.sentinel-form-grid select,
.sentinel-form-grid input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  background: rgba(0, 0, 0, 0.32);
  padding: 0 14px;
  font: inherit;
  font-weight: 850;
}

.sentinel-action-console {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(190px, 0.8fr);
  gap: 14px;
  margin-bottom: 18px;
}

.sentinel-action-console label {
  display: grid;
  gap: 8px;
}

.sentinel-action-console label.wide {
  grid-column: 1 / -1;
}

.sentinel-action-console input,
.sentinel-action-console select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.18)),
    rgba(0, 0, 0, 0.32);
  padding: 0 14px;
  font: inherit;
  font-weight: 850;
}

.sentinel-action-console button {
  grid-column: 1 / -1;
  width: min(260px, 100%);
  justify-self: end;
}

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

.sentinel-list-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.22);
}

.sentinel-list-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sentinel-list-card > div strong {
  display: grid;
  min-width: 34px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 999px;
  color: #101014;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.sentinel-list-card ol {
  display: grid;
  gap: 9px;
  max-height: 260px;
  overflow: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sentinel-list-card li {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: white;
  background: rgba(0, 0, 0, 0.2);
}

.sentinel-list-card li strong,
.sentinel-list-card li span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.sentinel-list-card li span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  line-height: 1.45;
}

.sentinel-list-card .empty-list-item {
  color: rgba(255, 255, 255, 0.48);
}

.compact-toggle {
  grid-column: 1 / -1;
  margin: 0;
}

.sentinel-events {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sentinel-events li {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.sentinel-events strong,
.sentinel-events span {
  display: block;
}

.sentinel-events strong {
  color: white;
}

.sentinel-events span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
}

.sentinel-events li[data-severity="critical"] {
  border-color: rgba(255, 96, 96, 0.38);
}

.sentinel-events li[data-severity="warning"] {
  border-color: rgba(226, 204, 148, 0.34);
}

.sentinel-side {
  position: sticky;
  top: 18px;
}

.sentinel-details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.sentinel-details div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sentinel-details div:last-child {
  border-bottom: 0;
}

.sentinel-details dt {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 900;
}

.sentinel-details dd {
  margin: 0;
  color: white;
  font-weight: 900;
}

.sentinel-service-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.sentinel-service-actions .solid-button,
.sentinel-service-actions .soft-button,
.sentinel-service-actions .danger-button {
  width: 100%;
  min-height: 44px;
}

.danger-button {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid rgba(255, 86, 86, 0.34);
  border-radius: 999px;
  color: #ffdede;
  background:
    linear-gradient(135deg, rgba(126, 18, 18, 0.9), rgba(48, 8, 8, 0.9)),
    rgba(90, 0, 0, 0.8);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font: inherit;
  font-weight: 950;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.danger-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 22px 44px rgba(70, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.danger-button:disabled,
.sentinel-service-actions button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

[data-service-state][data-state="active"] {
  color: #e8ffe8;
}

[data-service-state][data-state="inactive"],
[data-service-state][data-state="paused"] {
  color: #f0e4c2;
}

[data-service-state][data-state="failed"],
[data-service-state][data-state="offline"],
[data-service-state][data-state="unavailable"] {
  color: #ffb5b5;
}

.setup-choice-grid.embedded {
  margin-top: 4px;
  margin-bottom: 16px;
}

@keyframes sentinelSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sentinelPulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(0.94);
  }
  50% {
    transform: scale(1.035);
    filter: brightness(1.12);
  }
}

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

  .sentinel-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .sentinel-tab {
    text-align: center;
  }

  .sentinel-tab:hover,
  .sentinel-tab.active {
    transform: translateY(-2px);
  }

  .sentinel-workspace {
    padding-right: clamp(22px, 3vw, 34px);
  }

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

  .sentinel-command-strip {
    grid-template-columns: 1fr;
  }

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

  .sentinel-side {
    position: static;
  }
}

/* Noave command center redesign: the panel keeps the existing green field and API hooks. */
.noave-command-panel {
  --admin-bg: #050806;
  --admin-surface: rgba(9, 20, 13, 0.82);
  --admin-surface-strong: rgba(13, 31, 19, 0.92);
  --admin-border: rgba(176, 255, 195, 0.12);
  --admin-border-strong: rgba(176, 255, 195, 0.24);
  --admin-text: #f1fff3;
  --admin-muted: rgba(222, 241, 226, 0.58);
  --admin-green: #54f27f;
  --admin-green-soft: #a7ffc0;
  --admin-dim-green: #173c25;
  background: var(--admin-bg);
  color: var(--admin-text);
}

.noave-command-panel .topo-field-canvas { opacity: .38; }
.admin-shell { position: relative; z-index: 2; display: grid; grid-template-columns: 258px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; gap: 22px; height: 100vh; padding: 24px 16px 18px; border-right: 1px solid var(--admin-border); background: rgba(3, 10, 6, .88); backdrop-filter: blur(22px); }
.admin-brand { display: flex; gap: 11px; align-items: center; padding: 5px 9px; color: var(--admin-text); text-decoration: none; }
.admin-brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(84,242,127,.35); border-radius: 11px; background: rgba(84,242,127,.1); box-shadow: 0 0 22px rgba(84,242,127,.12); }
.admin-brand-mark img { width: 28px; height: 28px; object-fit: contain; }
.admin-brand strong, .admin-brand small, .admin-profile strong, .admin-profile small { display: block; }
.admin-brand strong { font-size: 1.03rem; letter-spacing: .02em; }
.admin-brand small { margin-top: 2px; color: var(--admin-muted); font-size: .69rem; font-weight: 700; }
.admin-profile { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 12px 10px; border: 1px solid var(--admin-border); border-radius: 13px; background: rgba(255,255,255,.035); }
.admin-profile strong { overflow: hidden; color: #fff; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-profile small { margin-top: 3px; overflow: hidden; color: var(--admin-muted); font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-avatar, .user-avatar, .rank-avatar { display: grid; place-items: center; overflow: hidden; width: 38px; height: 38px; border: 1px solid rgba(84,242,127,.3); border-radius: 50%; color: #04220d; background: linear-gradient(135deg, #caffd5, #38d969); font-weight: 950; }
.admin-avatar.small { width: 28px; height: 28px; }
.admin-avatar img, .user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.online-dot, .state-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--admin-green); box-shadow: 0 0 12px var(--admin-green); }
.admin-nav { display: grid; gap: 5px; }
.admin-nav-label { margin: 5px 10px 4px; color: rgba(222,241,226,.34); font-size: .62rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.admin-nav-item { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 9px; align-items: center; min-height: 42px; padding: 0 11px; border: 1px solid transparent; border-radius: 11px; color: var(--admin-muted); background: transparent; font: inherit; font-size: .78rem; font-weight: 850; text-align: left; cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.admin-nav-item:hover, .admin-nav-item.is-active { color: #ecfff0; border-color: rgba(84,242,127,.19); background: rgba(84,242,127,.095); transform: translateX(2px); }
.nav-symbol { display: grid; place-items: center; width: 23px; height: 23px; color: var(--admin-green); font-size: 1rem; }
.nav-count { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 99px; color: #07150a; background: var(--admin-green); font-size: .66rem; }
.admin-sidebar-bottom { display: grid; gap: 12px; margin-top: auto; }
.server-mini-card { display: grid; grid-template-columns: 33px minmax(0,1fr); gap: 9px; align-items: center; padding: 11px 9px; border: 1px solid var(--admin-border); border-radius: 12px; background: rgba(255,255,255,.03); }
.server-mini-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; color: var(--admin-green); background: rgba(84,242,127,.1); }
.server-mini-card small, .server-mini-card strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.server-mini-card small { color: var(--admin-muted); font-size: .62rem; }
.server-mini-card strong { margin-top: 3px; color: #fff; font-size: .74rem; }
.admin-service-state { display: flex; gap: 8px; align-items: center; padding: 0 10px; color: var(--admin-muted); font-size: .68rem; font-weight: 800; }
.admin-back-link { display: flex; justify-content: space-between; padding: 10px; color: var(--admin-muted); border-top: 1px solid var(--admin-border); font-size: .71rem; text-decoration: none; }
.admin-back-link:hover { color: var(--admin-green-soft); }
.admin-workspace { min-width: 0; padding: 0 clamp(18px, 3vw, 42px) 40px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; min-height: 74px; border-bottom: 1px solid var(--admin-border); }
.admin-breadcrumb { display: flex; gap: 10px; align-items: center; color: var(--admin-muted); font-size: .76rem; }
.admin-breadcrumb strong { color: #effff2; }
.admin-breadcrumb b { color: rgba(222,241,226,.26); }
.admin-top-actions { display: flex; gap: 10px; align-items: center; }
.live-server-pill { display: inline-flex; gap: 7px; align-items: center; padding: 7px 10px; border: 1px solid rgba(84,242,127,.16); border-radius: 99px; color: var(--admin-muted); background: rgba(84,242,127,.05); font-size: .67rem; font-weight: 850; }
.live-server-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--admin-green); box-shadow: 0 0 10px var(--admin-green); }
.icon-action { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--admin-border); border-radius: 10px; color: var(--admin-muted); background: rgba(255,255,255,.035); font: inherit; font-size: 1.15rem; cursor: pointer; }
.icon-action:hover { color: var(--admin-green); border-color: var(--admin-border-strong); background: rgba(84,242,127,.09); }
.mini-icon { width: 28px; height: 28px; }
.admin-user-chip { display: inline-flex; gap: 8px; align-items: center; padding: 4px 8px 4px 4px; border: 1px solid var(--admin-border); border-radius: 99px; color: var(--admin-text); background: rgba(255,255,255,.035); font-size: .72rem; font-weight: 850; text-decoration: none; }
.admin-user-chip > span:last-child { color: var(--admin-muted); }
.admin-content { padding-top: 30px; }
.admin-view { min-width: 0; }
.admin-view.sentinel-tab-panel { display: none; }
.admin-view.sentinel-tab-panel.is-active { display: block; }
.view-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 22px; }
.view-heading h1 { margin: 5px 0 7px; color: #f3fff5; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; letter-spacing: -.03em; }
.view-heading p { max-width: 640px; margin: 0; color: var(--admin-muted); font-size: .84rem; line-height: 1.6; }
.view-kicker, .eyebrow { color: var(--admin-green); font-size: .64rem; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.view-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.noave-command-panel .solid-button, .noave-command-panel .soft-button, .noave-command-panel .danger-button { min-height: 38px; border-radius: 10px; font-size: .72rem; }
.noave-command-panel .solid-button { border: 1px solid rgba(84,242,127,.45); color: #041008; background: var(--admin-green); box-shadow: 0 8px 22px rgba(84,242,127,.12); }
.noave-command-panel .solid-button:hover { filter: brightness(1.08); box-shadow: 0 10px 28px rgba(84,242,127,.22); }
.noave-command-panel .soft-button { border: 1px solid var(--admin-border-strong); color: var(--admin-green-soft); background: rgba(84,242,127,.06); }
.noave-command-panel .soft-button:hover { border-color: rgba(84,242,127,.46); background: rgba(84,242,127,.12); }
.noave-command-panel .danger-button { border: 1px solid rgba(255,112,112,.32); color: #ffd9d9; background: rgba(100,19,24,.72); }
.noave-command-panel .small { min-height: 36px; padding: 0 13px; }
.noave-command-panel .mini { min-height: 31px; padding: 0 10px; border-radius: 8px; font-size: .66rem; }
.server-hero-card, .dash-card, .metric-card, .toolbar-card { border: 1px solid var(--admin-border); background: linear-gradient(145deg, rgba(20,48,28,.86), rgba(5,13,8,.9)); box-shadow: 0 18px 45px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035); }
.server-hero-card { display: grid; grid-template-columns: 66px minmax(0,1fr) auto auto; gap: 16px; align-items: center; padding: 20px; border-radius: 14px; }
.server-hero-logo { display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid rgba(84,242,127,.22); border-radius: 16px; background: rgba(84,242,127,.08); }
.server-hero-logo img { width: 49px; height: 49px; object-fit: contain; }
.server-hero-copy h2 { margin: 6px 0 6px; color: #fff; font-size: clamp(1.2rem, 2.5vw, 1.9rem); }
.server-hero-copy p { margin: 0 0 8px; color: var(--admin-muted); font-size: .76rem; }
.server-hero-copy small { color: rgba(222,241,226,.38); font-size: .64rem; }
.server-hero-copy small b { color: var(--admin-muted); }
.server-hero-status, .server-hero-control { display: grid; gap: 5px; min-width: 120px; padding-left: 16px; border-left: 1px solid var(--admin-border); }
.server-hero-status strong, .server-hero-control strong { color: #fff; font-size: .82rem; }
.server-hero-status small, .server-hero-control span { color: var(--admin-muted); font-size: .63rem; }
.status-ring { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--admin-green); box-shadow: 0 0 13px var(--admin-green); }
.server-hero-control > div { display: flex; gap: 5px; margin-top: 4px; }
.metric-grid { display: grid; gap: 13px; margin: 15px 0; }
.metric-grid.four-up { grid-template-columns: repeat(4, minmax(0,1fr)); }
.metric-card { position: relative; min-width: 0; padding: 17px; border-radius: 13px; color: var(--admin-text); text-align: left; }
button.metric-card { width: 100%; font: inherit; cursor: pointer; }
.metric-card.accent { border-color: rgba(84,242,127,.3); background: linear-gradient(145deg, rgba(31,83,44,.82), rgba(5,16,9,.9)); }
.metric-card.danger { border-color: rgba(255,112,112,.22); }
.metric-icon { display: grid; place-items: center; width: 27px; height: 27px; margin-bottom: 13px; border-radius: 8px; color: var(--admin-green); background: rgba(84,242,127,.1); font-size: .9rem; }
.metric-card small, .metric-card em { display: block; color: var(--admin-muted); font-size: .65rem; font-style: normal; font-weight: 800; }
.metric-card strong { display: block; margin: 10px 0 6px; color: #f5fff6; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1; }
.metric-card em { color: rgba(222,241,226,.37); font-size: .6rem; }
.metric-card span:last-child { display: block; margin-top: 9px; color: var(--admin-green); font-size: .62rem; font-weight: 850; }
.metric-filter.is-selected { border-color: rgba(84,242,127,.5); box-shadow: 0 0 0 1px rgba(84,242,127,.1), 0 12px 30px rgba(84,242,127,.08); }
.dashboard-grid { display: grid; gap: 15px; margin: 15px 0; }
.dashboard-grid.two-thirds { grid-template-columns: minmax(0, 1.38fr) minmax(300px, .62fr); }
.dash-card { min-width: 0; padding: 20px; border-radius: 14px; }
.card-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.card-heading h2 { margin: 5px 0 0; color: #fff; font-size: 1.08rem; }
.card-period, .muted-label { color: var(--admin-muted); font-size: .64rem; font-weight: 800; }
.score-badge { display: inline-flex; gap: 3px; align-items: baseline; padding: 6px 8px; border: 1px solid rgba(84,242,127,.24); border-radius: 8px; color: var(--admin-green); font-size: .72rem; }
.score-badge span { font-size: 1.2rem; }
.donut-layout { display: grid; grid-template-columns: 185px minmax(0,1fr); gap: 26px; align-items: center; min-height: 175px; }
.donut-chart { display: grid; place-items: center; width: 165px; height: 165px; margin: auto; border-radius: 50%; background: conic-gradient(var(--admin-green) 0 48%, #3b4640 48% 100%); box-shadow: 0 0 35px rgba(84,242,127,.11); }
.donut-chart > div { display: grid; place-items: center; align-content: center; width: 116px; height: 116px; border: 1px solid var(--admin-border); border-radius: 50%; background: #08110b; }
.donut-chart strong { color: #effff2; font-size: 1.8rem; line-height: 1; }
.donut-chart small { margin-top: 5px; color: var(--admin-muted); font-size: .65rem; }
.donut-legend { display: grid; gap: 14px; }
.donut-legend > div { display: grid; grid-template-columns: 10px 1fr auto; gap: 9px; align-items: center; color: var(--admin-muted); font-size: .7rem; }
.donut-legend strong { color: #fff; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-dot.green { background: var(--admin-green); box-shadow: 0 0 10px rgba(84,242,127,.62); }
.legend-dot.muted { background: #56625b; }
.donut-legend p, .score-note { margin: 3px 0 0; color: rgba(222,241,226,.38); font-size: .66rem; line-height: 1.5; }
.admin-score-bar, .progress-track { height: 9px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.09); }
.admin-score-bar span, .progress-track span { display: block; height: 100%; width: 76%; border-radius: inherit; background: var(--admin-green); box-shadow: 0 0 12px rgba(84,242,127,.36); transition: width .25s ease; }
.admin-breakdown { display: grid; gap: 11px; margin-top: 25px; }
.admin-breakdown div { display: flex; justify-content: space-between; padding-bottom: 9px; border-bottom: 1px solid var(--admin-border); color: var(--admin-muted); font-size: .69rem; }
.admin-breakdown strong { color: #fff; }
.visitors-card { margin: 15px 0; }
.visitor-chart { display: flex; align-items: flex-end; gap: 12px; height: 125px; padding: 10px 5px 0; border-bottom: 1px solid var(--admin-border); background: repeating-linear-gradient(to bottom, transparent 0 30px, rgba(176,255,195,.055) 31px 32px); }
.visitor-chart span { flex: 1; height: var(--h); min-width: 10px; border-radius: 5px 5px 0 0; background: linear-gradient(#79ff9c, #1b8b42); opacity: .72; }
.chart-labels { display: flex; justify-content: space-between; padding: 8px 4px 0; color: rgba(222,241,226,.4); font-size: .6rem; }
.audit-list { display: grid; gap: 9px; max-height: 256px; overflow: auto; padding: 0; margin: 0; list-style: none; }
.audit-list li { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--admin-border); }
.audit-symbol { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: var(--admin-green); background: rgba(84,242,127,.09); }
.audit-list strong, .audit-list small { display: block; }
.audit-list strong { color: #effff2; font-size: .72rem; }
.audit-list small, .audit-list time { margin-top: 4px; color: var(--admin-muted); font-size: .63rem; }
.audit-list time { margin: 0; }
.text-button { padding: 0; border: 0; color: var(--admin-green); background: transparent; font: inherit; font-size: .67rem; font-weight: 850; cursor: pointer; }
.ranking-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--admin-border); }
.ranking-row > div { display: flex; gap: 9px; align-items: center; min-width: 0; }
.ranking-row b { width: 17px; color: rgba(222,241,226,.38); font-size: .68rem; }
.rank-avatar { width: 30px; height: 30px; font-size: .72rem; }
.rank-avatar.muted, .user-avatar.muted { color: var(--admin-muted); background: rgba(255,255,255,.08); border-color: var(--admin-border); }
.ranking-row strong, .ranking-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking-row strong { color: #fff; font-size: .7rem; }
.ranking-row small { margin-top: 3px; color: var(--admin-muted); font-size: .59rem; font-weight: 700; }
.ranking-row em { color: var(--admin-green); font-size: .68rem; font-style: normal; font-weight: 900; }
.ranking-panels { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.ranking-panel { padding: 16px; }
.ranking-panel-top { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 9px; align-items: start; }
.ranking-panel-top .mini { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.ranking-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: var(--admin-green); background: rgba(84,242,127,.09); }
.ranking-panel h3 { margin: 2px 0 4px; color: #fff; font-size: .76rem; }
.ranking-panel p { margin: 0; color: var(--admin-muted); font-size: .63rem; }
.profile-strip { display: flex; gap: -5px; align-items: center; min-height: 35px; margin-top: 18px; }
.profile-strip .user-avatar { width: 29px; height: 29px; margin-right: -5px; border: 2px solid #0a1a0e; font-size: .62rem; }
.empty-ranking { color: rgba(222,241,226,.35); font-size: .62rem; }
.toolbar-card { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 12px; margin-bottom: 15px; border-radius: 12px; }
.search-field { display: flex; gap: 8px; align-items: center; min-width: 260px; padding: 0 12px; border: 1px solid var(--admin-border); border-radius: 9px; background: rgba(0,0,0,.19); }
.search-field span { color: var(--admin-green); font-size: 1.1rem; }
.search-field input { width: 100%; min-height: 36px; border: 0; outline: 0; color: #fff; background: transparent; font: inherit; font-size: .72rem; }
.search-field input::placeholder { color: rgba(222,241,226,.36); }
.search-field.compact { min-width: min(310px, 45%); }
.toolbar-meta { color: var(--admin-muted); font-size: .68rem; }
.toolbar-meta b { color: var(--admin-green); }
.backup-grid, .project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.backup-card { padding: 18px; border: 1px solid var(--admin-border); border-radius: 14px; background: linear-gradient(145deg, rgba(20,48,28,.76), rgba(5,13,8,.9)); }
.backup-card-top, .project-heading, .project-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.backup-type, .status-chip, .user-role-chip, .access-status, .task-status { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 7px; color: var(--admin-green-soft); background: rgba(84,242,127,.1); font-size: .59rem; font-weight: 900; }
.backup-type.manual { color: #d8e3db; background: rgba(255,255,255,.08); }
.kebab-button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; color: var(--admin-muted); background: transparent; font: inherit; cursor: pointer; }
.kebab-button:hover { color: var(--admin-green); background: rgba(84,242,127,.1); }
.backup-icon { display: grid; place-items: center; width: 45px; height: 45px; margin: 25px 0 13px; border: 1px solid rgba(84,242,127,.22); border-radius: 12px; color: var(--admin-green); background: rgba(84,242,127,.1); font-size: 1.25rem; }
.backup-card h3, .project-card h2 { margin: 0; color: #fff; font-size: .96rem; }
.backup-card p, .project-card p { min-height: 35px; margin: 7px 0 17px; color: var(--admin-muted); font-size: .67rem; line-height: 1.5; }
.backup-meta { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--admin-border); border-bottom: 1px solid var(--admin-border); color: rgba(222,241,226,.42); font-size: .62rem; }
.backup-meta strong { color: var(--admin-muted); }
.backup-actions { display: flex; gap: 7px; justify-content: flex-end; margin-top: 13px; }
.backup-card-top { position: relative; min-height: 26px; }
.backup-menu { position: absolute; top: 32px; right: 0; z-index: 4; display: grid; min-width: 150px; padding: 5px; border: 1px solid var(--admin-border); border-radius: 10px; background: #0b1710; box-shadow: 0 14px 30px rgba(0,0,0,.38); }
.backup-menu button { padding: 8px 10px; border: 0; border-radius: 7px; color: var(--admin-muted); background: transparent; font: inherit; font-size: .67rem; text-align: left; cursor: pointer; }
.backup-menu button:hover { color: #fff; background: rgba(84,242,127,.1); }
.backup-menu button.is-danger:hover { color: #ff9a9a; background: rgba(255,72,72,.12); }
.backup-settings-link { margin-left: auto; border: 0; padding: 0; color: rgba(222,241,226,.48); background: transparent; font: inherit; font-size: .61rem; cursor: pointer; }
.backup-settings-link:hover { color: var(--admin-green-soft); }
.backup-empty-state { display: grid; place-items: center; gap: 8px; min-height: 205px; padding: 24px; border: 1px dashed rgba(84,242,127,.2); border-radius: 14px; color: var(--admin-muted); text-align: center; }
.backup-empty-state strong { color: #fff; font-size: .9rem; }
.backup-empty-state small { font-size: .67rem; }
.backup-empty-icon { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid rgba(84,242,127,.25); border-radius: 13px; color: var(--admin-green); background: rgba(84,242,127,.08); font-size: 1.2rem; }
.backup-card-enter { animation: backup-card-enter .45s cubic-bezier(.16,1,.3,1) both; }
.backup-grid.is-loading { opacity: .55; pointer-events: none; }
@keyframes backup-card-enter { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.integration-placeholder { display: flex; gap: 16px; align-items: center; }
.integration-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: var(--admin-green); background: rgba(84,242,127,.1); font-size: 1.4rem; }
.integration-placeholder h2 { margin: 0 0 4px; color: #fff; font-size: 1rem; }
.integration-placeholder p { margin: 0; color: var(--admin-muted); font-size: .7rem; line-height: 1.6; }
.integration-placeholder .status-chip { margin-left: auto; }
.user-metrics { margin-top: 0; }
.user-management-card { display: none !important; }
.access-card, .tasks-card { margin-top: 15px; }
.user-list, .access-list, .task-list { display: grid; gap: 8px; }
.user-row, .access-row, .task-row { display: grid; grid-template-columns: 36px minmax(0,1fr) auto 28px; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--admin-border); border-radius: 10px; background: rgba(0,0,0,.16); }
.user-row > div, .access-row > div, .task-row > div { min-width: 0; }
.user-avatar { width: 34px; height: 34px; font-size: .68rem; }
.user-row strong, .user-row small, .access-row strong, .access-row small, .task-row strong, .task-row small { display: block; }
.user-row strong, .access-row strong, .task-row strong { color: #fff; font-size: .72rem; }
.user-row small, .access-row small, .task-row small { margin-top: 3px; color: var(--admin-muted); font-size: .61rem; }
.user-role-chip.owner { color: #dcf4ff; background: rgba(94,188,255,.13); }
.user-role-chip.admin { color: var(--admin-green-soft); }
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; margin-top: 15px; }
.role-card p { margin: -8px 0 16px; color: var(--admin-muted); font-size: .7rem; }
.role-members { display: flex; align-items: center; min-height: 34px; }
.role-members .user-avatar { margin-right: -5px; border: 2px solid #0b1a0e; }
.role-more { display: grid; place-items: center; width: 31px; height: 31px; margin-left: 5px; border-radius: 50%; color: var(--admin-muted); background: rgba(255,255,255,.07); font-size: .62rem; font-weight: 900; }
.access-row { grid-template-columns: 36px minmax(0,1fr) auto 70px 28px; }
.access-status.active { color: var(--admin-green); }
.access-status.inactive { color: #c5cdc7; background: rgba(255,255,255,.08); }
.access-row > b { color: var(--admin-muted); font-size: .64rem; text-align: center; }
.project-card { padding: 0; overflow: hidden; }
.project-card[role="button"] { cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.project-card[role="button"]:hover, .project-card[role="button"]:focus-visible { border-color: rgba(84,242,127,.45); transform: translateY(-2px); outline: 0; }
.project-cover { position: relative; display: flex; justify-content: flex-end; align-items: flex-start; min-height: 150px; padding: 17px; overflow: hidden; color: rgba(239,255,242,.77); background: linear-gradient(135deg, rgba(30,94,46,.74), rgba(5,22,10,.7)); font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.project-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-cover img + b { position: relative; z-index: 1; box-shadow: 0 3px 12px rgba(0,0,0,.4); }
.project-cover b { padding: 5px 7px; border: 1px solid rgba(84,242,127,.22); border-radius: 7px; color: var(--admin-green); background: rgba(84,242,127,.1); font-size: .58rem; letter-spacing: 0; }
.project-body { padding: 18px; }
.project-heading p { min-height: auto; margin-bottom: 0; }
.project-progress { margin-top: 23px; }
.project-progress > div:first-child { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--admin-muted); font-size: .65rem; }
.project-progress strong { color: var(--admin-green); }
.project-footer { margin-top: 17px; color: rgba(222,241,226,.43); font-size: .62rem; }
.project-empty { display: grid; place-items: center; align-content: center; min-height: 292px; text-align: center; }
.project-empty-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border: 1px dashed rgba(84,242,127,.4); border-radius: 13px; color: var(--admin-green); background: rgba(84,242,127,.08); font-size: 1.35rem; }
.project-empty p { max-width: 230px; min-height: auto; }
.task-row { grid-template-columns: 14px minmax(0,1fr) auto auto; }
.task-state { color: var(--admin-green); font-size: .75rem; }
.task-state.done { color: #91a099; }
.task-assignee { color: var(--admin-muted); font-size: .64rem; }
.task-status { color: #e2efe5; background: rgba(255,255,255,.08); }
.task-status.done { color: var(--admin-green); background: rgba(84,242,127,.1); }
.project-empty-state { grid-column: 1 / -1; min-height: 180px; display: grid; place-items: center; border: 1px dashed var(--admin-border); border-radius: 10px; }
.noave-command-panel [hidden] { display: none !important; }
.project-create-panel { width: min(620px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; }
.project-picker-field { min-width: 0; margin: 14px 0; padding: 10px; border: 1px solid var(--admin-border); border-radius: 9px; }
.project-picker-field legend { padding: 0 5px; color: var(--admin-muted); font-size: .67rem; font-weight: 850; }
.project-person-picker { display: flex; flex-wrap: wrap; gap: 7px; max-height: 150px; overflow-y: auto; }
.project-person-option { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 9px; border: 1px solid var(--admin-border); border-radius: 8px; color: var(--admin-text); background: rgba(0,0,0,.14); font-size: .68rem; cursor: pointer; }
.project-person-option input { accent-color: var(--admin-green); }
.project-person-avatar { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; overflow: hidden; border: 1px solid rgba(84,242,127,.25); border-radius: 50%; color: var(--admin-green); background: rgba(84,242,127,.1); font-size: .65rem; font-weight: 800; }
.project-person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.project-form-error { min-height: 0; margin: 5px 0; color: #ff8585 !important; }
.project-details-panel { display: flex; flex-direction: column; gap: 18px; width: min(900px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto; }
.project-detail-cover { position: relative; height: clamp(130px, 22vh, 220px); margin: -25px -25px 0; overflow: hidden; border-radius: 14px 14px 0 0; background: linear-gradient(135deg, rgba(30,94,46,.8), rgba(5,22,10,.85)); }
.project-detail-cover.has-image::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(4,14,7,.5)); content: ""; }
.project-detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-detail-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.project-detail-title-block { min-width: 0; flex: 1; }
.project-detail-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.project-detail-title-row h2 { min-width: 0; overflow-wrap: anywhere; }
.noave-command-panel .project-delete-button { flex: 0 0 auto; border-color: rgba(255,112,112,.4); color: #ffaaaa; background: rgba(100,19,24,.4); }
.noave-command-panel .project-delete-button:hover:not(:disabled) { border-color: rgba(255,112,112,.75); background: rgba(150,28,36,.55); }
.project-detail-heading h2 { margin: 5px 0; font-size: 1.35rem; }
.project-detail-heading p { margin: 0; color: var(--admin-muted); font-size: .72rem; line-height: 1.5; }
.project-progress-value { color: var(--admin-green); font-size: 1.15rem; font-weight: 800; }
.project-detail-section { padding-top: 15px; border-top: 1px solid var(--admin-border); }
.project-detail-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.project-detail-section-heading h3 { margin: 0; color: #fff; font-size: .86rem; }
.project-detail-section-heading > span, .project-detail-section-heading > div > span { color: var(--admin-muted); font-size: .63rem; }
.project-detail-section-heading > div h3 { margin-bottom: 4px; }
.project-details-panel input[type="range"] { display: block; width: 100%; height: 28px; margin: 2px 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.project-details-panel input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: rgba(84,242,127,.38); }
.project-details-panel input[type="range"]::-moz-range-track { height: 4px; border-radius: 99px; background: rgba(84,242,127,.38); }
.project-details-panel input[type="range"]::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -8px; appearance: none; -webkit-appearance: none; border: 2px solid #b4ffca; border-radius: 50%; background: var(--admin-green); box-shadow: 0 0 0 4px rgba(84,242,127,.14), 0 0 14px rgba(84,242,127,.34); }
.project-details-panel input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 2px solid #b4ffca; border-radius: 50%; background: var(--admin-green); box-shadow: 0 0 0 4px rgba(84,242,127,.14), 0 0 14px rgba(84,242,127,.34); }
.project-details-panel input[type="range"]:focus-visible { outline: 0; }
.project-details-panel input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(84,242,127,.23), 0 0 18px rgba(84,242,127,.45); }
.project-details-panel input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(84,242,127,.23), 0 0 18px rgba(84,242,127,.45); }
.project-details-panel input[type="range"]:disabled { cursor: not-allowed; opacity: .55; }
.project-detail-team { display: flex; flex-wrap: wrap; gap: 8px; }
.project-team-person { display: flex; align-items: center; gap: 8px; min-width: 180px; padding: 8px 10px; border: 1px solid var(--admin-border); border-radius: 8px; background: rgba(0,0,0,.14); }
.project-team-person-info strong, .project-team-person-info small { display: block; }
.project-team-person-info strong { color: #fff; font-size: .68rem; }
.project-team-person-info small { margin-top: 3px; color: var(--admin-muted); font-size: .59rem; }
.project-task-list { display: grid; gap: 8px; }
.project-task-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; border: 1px solid var(--admin-border); border-radius: 9px; background: rgba(0,0,0,.13); }
.project-task-item.is-complete { border-color: rgba(84,242,127,.2); }
.project-task-main { min-width: 0; flex: 1; }
.project-task-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.project-task-title-row h4 { margin: 0; color: #fff; font-size: .75rem; font-weight: 700; }
.project-task-status { flex: 0 0 auto; color: #e6c56d; font-size: .61rem; }
.project-task-item.is-complete .project-task-status { color: var(--admin-green); }
.project-task-main > p { margin: 6px 0 0; color: var(--admin-muted); font-size: .66rem; white-space: pre-wrap; }
.project-task-assignees { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.project-assignee { padding: 4px 7px; border-radius: 6px; color: var(--admin-muted); background: rgba(255,255,255,.055); font-size: .58rem; }
.project-assignee.is-complete { color: var(--admin-green-soft); background: rgba(84,242,127,.09); }
.project-task-complete { flex: 0 0 auto; }
.project-task-empty { padding: 20px; border: 1px dashed var(--admin-border); border-radius: 8px; color: var(--admin-muted); font-size: .68rem; text-align: center; }
.project-task-form { margin: 8px 0 14px; padding: 12px; border: 1px solid var(--admin-border); border-radius: 9px; background: rgba(0,0,0,.12); }
.project-task-form-actions { display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 560px) {
  .project-detail-heading { flex-direction: column; gap: 6px; }
  .project-detail-cover { margin-right: -17px; margin-left: -17px; }
  .project-task-item { align-items: flex-start; flex-direction: column; }
  .project-task-title-row { align-items: flex-start; flex-direction: column; gap: 5px; }
  .project-team-person { min-width: min(100%, 190px); }
}
.messaging-shell { display: grid; grid-template-columns: 260px minmax(0,1fr); height: clamp(520px, 68vh, 760px); min-height: 0; padding: 0; overflow: hidden; }
.conversation-list { display: grid; grid-template-rows: auto minmax(0,1fr) auto; min-height: 0; overflow: hidden; border-right: 1px solid var(--admin-border); background: rgba(0,0,0,.12); }
.conversation-heading { display: flex; justify-content: space-between; align-items: center; padding: 17px; border-bottom: 1px solid var(--admin-border); }
.conversation-heading h2 { margin: 0; color: #fff; font-size: .9rem; }
.conversation { display: grid; grid-template-columns: 33px minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 13px 15px; border-bottom: 1px solid var(--admin-border); }
.conversation.active { background: rgba(84,242,127,.08); }
.conversation strong, .conversation small { display: block; }
.conversation strong { color: #fff; font-size: .7rem; }
.conversation small { margin-top: 3px; color: var(--admin-muted); font-size: .61rem; }
.conversation em { color: var(--admin-green); font-size: .59rem; font-style: normal; font-weight: 850; }
.chat-panel { display: grid; grid-template-rows: auto minmax(0,1fr) auto; min-width: 0; min-height: 0; overflow: hidden; }
.chat-header { display: flex; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--admin-border); }
.chat-header h2 { margin: 0 0 4px; color: #fff; font-size: .9rem; }
.chat-header span { color: var(--admin-muted); font-size: .63rem; }
.chat-online { color: var(--admin-green) !important; }
.chat-empty { display: grid; place-items: center; align-content: center; color: var(--admin-muted); text-align: center; }
.chat-empty-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 13px; border: 1px solid rgba(84,242,127,.22); border-radius: 50%; color: var(--admin-green); background: rgba(84,242,127,.08); font-size: 1.6rem; }
.chat-empty h3 { margin: 0 0 5px; color: #fff; font-size: .9rem; }
.chat-empty p { margin: 0; font-size: .68rem; }
.chat-composer { display: flex; gap: 8px; padding: 13px; border-top: 1px solid var(--admin-border); }
.chat-composer input { min-width: 0; flex: 1; padding: 0 12px; border: 1px solid var(--admin-border); border-radius: 9px; color: #fff; background: rgba(0,0,0,.2); font: inherit; font-size: .7rem; outline: 0; }
.conversation-items { min-height: 0; overflow-y: auto; }
.conversation { width: 100%; border: 0; border-bottom: 1px solid var(--admin-border); color: inherit; background: transparent; text-align: left; cursor: pointer; }
.conversation:hover, .conversation-user-option:hover { background: rgba(84,242,127,.07); }
.conversation small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.new-conversation { padding: 13px; border-top: 1px solid var(--admin-border); }
.new-conversation > button { width: 100%; }
.conversation-user-picker { margin-top: 10px; overflow: hidden; border: 1px solid var(--admin-border); border-radius: 8px; background: #07130c; animation: conversation-picker-open .18s ease-out both; }
.conversation-user-picker[hidden] { display: none; }
.conversation-user-list { max-height: 250px; overflow-y: auto; }
.conversation-user-option { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 3px 9px; align-items: center; width: 100%; padding: 10px; border: 0; border-bottom: 1px solid var(--admin-border); color: inherit; background: transparent; text-align: left; cursor: pointer; }
.conversation-user-option:last-child { border-bottom: 0; }
.conversation-user-option .user-avatar { grid-row: span 2; }
.conversation-user-option strong { overflow: hidden; color: #fff; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.conversation-user-option small { color: var(--admin-muted); font-size: .59rem; }
.conversation-picker-empty { margin: 0; padding: 12px; color: var(--admin-muted); font-size: .64rem; line-height: 1.5; }
.chat-empty[hidden], .chat-messages[hidden] { display: none; }
.chat-panel { grid-template-rows: auto minmax(0,1fr) auto; min-height: 0; }
.chat-messages { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; padding: 20px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.chat-message-row { display: flex; width: 100%; min-width: 0; flex: 0 0 auto; }
.chat-message-row.outgoing { justify-content: flex-end; }
.chat-message-row.incoming { justify-content: flex-start; }
.chat-message-bubble { min-width: 0; max-width: min(76%, 560px); padding: 10px 13px 7px; border: 1px solid rgba(84,242,127,.22); border-radius: 12px 12px 3px 12px; color: #effff3; background: rgba(40,176,83,.2); overflow-wrap: anywhere; word-break: break-word; }
.chat-message-row.incoming .chat-message-bubble { border-color: rgba(255,255,255,.1); border-radius: 12px 12px 12px 3px; color: rgba(239,246,240,.88); background: rgba(255,255,255,.08); }
.chat-message-bubble p { margin: 0; font-size: .72rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message-bubble time { display: block; margin-top: 4px; color: rgba(220,239,225,.55); font-size: .54rem; text-align: right; }
.chat-thread-empty { margin: auto; color: var(--admin-muted); font-size: .68rem; text-align: center; }
.chat-composer input:disabled, .chat-composer button:disabled { opacity: .45; cursor: not-allowed; }
@keyframes conversation-picker-open { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.admin-feedback { position: fixed; right: 24px; bottom: 20px; z-index: 20; max-width: min(420px, calc(100vw - 48px)); margin: 0; padding: 10px 14px; border: 1px solid rgba(84,242,127,.24); border-radius: 10px; color: var(--admin-green-soft); background: rgba(5,18,9,.94); box-shadow: 0 16px 36px rgba(0,0,0,.3); font-size: .7rem; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.admin-feedback:not(:empty) { opacity: 1; transform: translateY(0); }
.admin-feedback[data-type="error"] { border-color: rgba(255,112,112,.3); color: #ffd0d0; }
.admin-modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 20px; background: rgba(0,0,0,.65); backdrop-filter: blur(12px); }
.admin-modal[aria-hidden="false"] { display: grid; }
.admin-modal[aria-hidden="false"] { animation: backup-modal-backdrop .24s ease both; }
.admin-modal[aria-hidden="false"] .admin-modal-panel { animation: backup-modal-panel .48s cubic-bezier(.16,1,.3,1) both; }
@keyframes backup-modal-backdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes backup-modal-panel { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.admin-modal-panel { position: relative; width: min(480px, 100%); padding: 25px; border: 1px solid var(--admin-border-strong); border-radius: 15px; color: var(--admin-text); background: #0a170d; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.admin-modal-panel h2 { margin: 8px 0 7px; color: #fff; font-size: 1.35rem; }
.admin-modal-panel > p { margin: 0 0 18px; color: var(--admin-muted); font-size: .72rem; line-height: 1.55; }
.modal-close { position: absolute; top: 13px; right: 13px; width: 30px; height: 30px; border: 1px solid var(--admin-border); border-radius: 8px; color: var(--admin-muted); background: transparent; font-size: 1.25rem; cursor: pointer; }
.modal-field { display: grid; gap: 7px; margin: 12px 0; color: var(--admin-muted); font-size: .67rem; font-weight: 850; }
.modal-field input, .modal-field textarea, .modal-field select { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid var(--admin-border); border-radius: 9px; outline: 0; color: #fff; background: rgba(0,0,0,.25); font: inherit; font-size: .72rem; }
.modal-field textarea { min-height: 90px; padding-top: 10px; resize: vertical; }
.modal-field input:focus, .modal-field textarea:focus, .modal-field select:focus { border-color: rgba(84,242,127,.5); }
.backup-modal-error { min-height: 0; margin: 8px 0 0; color: #ffb4b4; font-size: .68rem; line-height: 1.45; }
.admin-modal-panel > .solid-button { width: 100%; margin-top: 12px; }
.backup-preview-panel { width: min(720px, 100%); padding: 0; overflow: hidden; }
.backup-preview-panel .modal-close { z-index: 2; }
.preview-discord-bar { display: flex; justify-content: space-between; gap: 12px; padding: 17px 20px; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; background: #171e1a; font-size: .75rem; }
.preview-discord-bar span { color: var(--admin-muted); font-size: .64rem; }
.preview-discord-body { display: grid; grid-template-columns: 150px minmax(0,1fr); min-height: 340px; }
.preview-discord-body > aside { display: grid; align-content: start; gap: 5px; padding: 22px 16px; border-right: 1px solid rgba(255,255,255,.08); background: #101811; }
.preview-server-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 8px; border-radius: 17px; color: #07150a; background: var(--admin-green); font-weight: 950; }
.preview-discord-body aside strong { color: #fff; font-size: .74rem; }
.preview-discord-body aside small { color: var(--admin-muted); font-size: .62rem; }
.preview-discord-body > div { padding: 25px; background: #0c130f; }
.preview-discord-body h2 { margin: 0 0 8px; color: #fff; font-size: 1.1rem; }
.preview-discord-body p { margin: 0 0 18px; color: var(--admin-muted); font-size: .72rem; line-height: 1.6; }
.preview-channel { padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.07); color: var(--admin-muted); font-size: .7rem; }
.preview-summary { display: grid; gap: 7px; margin-top: 20px; color: var(--admin-muted); font-size: .64rem; }
.preview-summary b { color: var(--admin-green-soft); }
.preview-section-title { margin: 18px 0 5px; color: var(--admin-green-soft); font-size: .62rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.preview-document-list { max-height: 150px; overflow-y: auto; border-top: 1px solid rgba(255,255,255,.07); }
.preview-document-row, .preview-empty-item { display: block; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(237,248,239,.74); font-size: .7rem; }
.preview-empty-item { color: rgba(222,241,226,.4); font-style: italic; }
.ranking-modal-panel { width: min(620px, 100%); padding: 0; overflow: hidden; }
.directory-modal-panel { width: min(660px, 100%); padding: 0; overflow: hidden; }
.directory-modal-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 24px 25px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.directory-modal-head h2 { margin: 7px 38px 6px 0; font-size: 1.18rem; }
.directory-modal-head p { max-width: 410px; margin: 0; color: var(--admin-muted); font-size: .7rem; line-height: 1.5; }
.directory-search { margin: 16px 20px 10px; min-height: 42px; }
.directory-status-note { margin: 0 20px 10px; padding: 9px 11px; border: 1px solid rgba(242,194,84,.22); border-radius: 9px; color: rgba(255,230,167,.8); background: rgba(88,67,16,.16); font-size: .65rem; line-height: 1.45; }
.directory-list { display: grid; gap: 8px; max-height: min(58vh, 500px); overflow: auto; padding: 5px 20px 21px; }
.directory-member-row { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 11px; align-items: center; min-height: 56px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(255,255,255,.035); }
.directory-member-row > div { min-width: 0; }
.directory-member-row .user-avatar { width: 38px; height: 38px; }
.directory-member-row strong, .directory-member-row small { display: block; }
.directory-member-row strong { overflow: hidden; color: #fff; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.directory-member-row small { margin-top: 4px; color: var(--admin-muted); font-size: .63rem; }
.directory-presence-dot { position: relative; justify-self: end; display: inline-block; width: 13px; height: 13px; border: 2px solid transparent; border-radius: 50%; background: #8d929a; box-shadow: 0 0 0 2px rgba(141,146,154,.08); }
.directory-presence-dot.online { background: #3ba55d; box-shadow: 0 0 0 2px rgba(59,165,93,.14), 0 0 12px rgba(59,165,93,.32); }
.directory-presence-dot.idle { background: #faa61a; box-shadow: 0 0 0 2px rgba(250,166,26,.12); }
.directory-presence-dot.idle::after { content: ""; position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: #111711; }
.directory-presence-dot.dnd { background: #ed4245; box-shadow: 0 0 0 2px rgba(237,66,69,.12); }
.directory-presence-dot.dnd::after { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 2px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); }
.directory-presence-dot.offline { border-color: #8d929a; background: transparent; box-shadow: 0 0 0 2px rgba(141,146,154,.08); }
.directory-presence-dot[data-dangerous="true"] { outline: 1px solid rgba(255,112,112,.75); outline-offset: 2px; }
.directory-empty { display: grid; place-items: center; align-content: center; min-height: 210px; padding: 24px; border: 1px dashed rgba(84,242,127,.28); border-radius: 12px; color: var(--admin-muted); text-align: center; }
.directory-empty span { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid rgba(84,242,127,.27); border-radius: 50%; color: var(--admin-green); background: rgba(84,242,127,.08); font-size: 1.35rem; }
.directory-empty strong { margin-top: 12px; color: #fff; font-size: .8rem; }
.directory-empty small { max-width: 300px; margin-top: 6px; font-size: .66rem; line-height: 1.5; }
.user-role-chip.danger { color: #ffd2d2; background: rgba(255,91,91,.13); }
.ranking-modal-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 24px 25px 19px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ranking-modal-head h2 { margin: 7px 38px 6px 0; font-size: 1.18rem; }
.ranking-modal-head p { max-width: 390px; margin: 0; color: var(--admin-muted); font-size: .7rem; line-height: 1.5; }
.ranking-modal-count { flex: 0 0 auto; margin-top: 4px; padding: 7px 10px; border: 1px solid rgba(84,242,127,.22); border-radius: 999px; color: var(--admin-green-soft); background: rgba(84,242,127,.07); font-size: .64rem; font-weight: 850; }
.ranking-modal-list { display: grid; gap: 8px; max-height: min(56vh, 470px); overflow: auto; padding: 16px 20px 21px; }
.ranking-empty-state { display: grid; place-items: center; align-content: center; min-height: 225px; padding: 25px; border: 1px dashed rgba(84,242,127,.28); border-radius: 12px; color: var(--admin-muted); background: rgba(84,242,127,.035); text-align: center; }
.ranking-empty-state strong { margin-top: 12px; color: #fff; font-size: .82rem; }
.ranking-empty-state small { max-width: 270px; margin-top: 6px; font-size: .66rem; line-height: 1.5; }
.ranking-empty-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(84,242,127,.28); border-radius: 50%; color: var(--admin-green); background: rgba(84,242,127,.08); font-size: 1.45rem; }
.ranking-person-row { display: grid; grid-template-columns: 26px 34px minmax(0,1fr) auto; gap: 11px; align-items: center; min-height: 54px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(255,255,255,.035); }
.ranking-person-row > b { color: var(--admin-muted); font-size: .72rem; text-align: center; }
.ranking-person-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #061109; background: var(--admin-green); font-size: .76rem; font-weight: 950; }
.ranking-person-name { overflow: hidden; color: #fff; font-size: .73rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.ranking-person-score { color: var(--admin-green-soft); font-size: .68rem; }

@media (max-width: 1180px) {
  .admin-shell { grid-template-columns: 82px minmax(0,1fr); }
  .admin-sidebar { padding: 20px 11px; }
  .admin-brand { justify-content: center; padding: 5px 0; }
  .admin-brand > span:last-child, .admin-profile > span:nth-child(2), .admin-nav-label, .admin-nav-item > span:not(.nav-symbol), .admin-sidebar-bottom { display: none; }
  .admin-profile { display: grid; place-items: center; padding: 8px; }
  .admin-nav-item { grid-template-columns: 1fr; place-items: center; padding: 0; }
  .nav-symbol { width: 30px; }
  .nav-count { position: absolute; margin: -22px 0 0 25px; }
  .server-hero-card { grid-template-columns: 55px minmax(0,1fr) auto; }
  .server-hero-control { grid-column: 2 / -1; grid-row: 2; padding: 12px 0 0; border-top: 1px solid var(--admin-border); border-left: 0; }
}
@media (max-width: 900px) {
  .admin-shell { display: block; }
  .admin-sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: 260px; transform: translateX(-102%); transition: transform .25s ease; }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-brand { justify-content: flex-start; padding: 5px 9px; }
  .admin-brand > span:last-child, .admin-profile > span:nth-child(2), .admin-nav-label, .admin-nav-item > span:not(.nav-symbol), .admin-sidebar-bottom { display: initial; }
  .admin-profile { display: grid; place-items: initial; padding: 12px 10px; }
  .admin-nav-item { grid-template-columns: 26px minmax(0,1fr) auto; place-items: initial; padding: 0 11px; }
  .admin-sidebar::after { content: "×"; position: absolute; top: 17px; right: 16px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--admin-border); border-radius: 8px; color: var(--admin-muted); }
  .admin-workspace { padding: 0 15px 30px; }
  .admin-topbar { min-height: 62px; }
  .admin-topbar::before { content: "☰"; margin-right: 12px; color: var(--admin-green); font-size: 1.2rem; }
  .admin-topbar { justify-content: flex-end; }
  .admin-breadcrumb { margin-right: auto; }
  .admin-user-chip > span:not(.admin-avatar) { display: none; }
  .metric-grid.four-up, .ranking-panels, .backup-grid, .project-grid, .role-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dashboard-grid.two-thirds { grid-template-columns: 1fr; }
  .server-hero-card { grid-template-columns: 55px minmax(0,1fr); }
  .server-hero-status { grid-column: 2; grid-row: 2; padding: 0; border: 0; }
  .server-hero-control { grid-column: 2; grid-row: 3; }
  .donut-layout { grid-template-columns: 150px minmax(0,1fr); gap: 14px; }
}
@media (max-width: 600px) {
  .admin-content { padding-top: 20px; }
  .view-heading { display: block; }
  .view-heading-actions { margin-top: 14px; }
  .view-heading h1 { font-size: 2rem; }
  .metric-grid.four-up, .ranking-panels, .backup-grid, .project-grid, .role-grid { grid-template-columns: 1fr; }
  .metric-card { padding: 14px; }
  .server-hero-card { gap: 11px; padding: 14px; }
  .server-hero-logo { width: 50px; height: 50px; }
  .server-hero-logo img { width: 38px; height: 38px; }
  .server-hero-copy h2 { font-size: 1rem; }
  .donut-layout { grid-template-columns: 1fr; }
  .donut-chart { width: 145px; height: 145px; }
  .toolbar-card { display: block; }
  .search-field, .search-field.compact { min-width: 0; width: 100%; }
  .toolbar-meta { display: block; margin-top: 9px; }
  .user-management-card .card-heading { display: block; }
  .search-field.compact { margin-top: 13px; }
  .access-row { grid-template-columns: 34px minmax(0,1fr) auto 28px; }
  .access-row > b { display: none; }
  .task-row { grid-template-columns: 14px minmax(0,1fr) auto; }
  .task-status { grid-column: 2 / -1; justify-self: start; }
  .messaging-shell { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .conversation-list { max-height: 250px; border-right: 0; border-bottom: 1px solid var(--admin-border); }
  .chat-panel { height: min(58vh, 560px); min-height: 390px; }
  .admin-top-actions .live-server-pill { display: none; }
  .preview-discord-body { grid-template-columns: 1fr; }
  .preview-discord-body > aside { display: none; }
}

.noave-command-panel .admin-modal {
  align-items: center;
  justify-items: center;
}

.role-modal-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  margin: 15px 0 4px;
}

.role-modal-item,
.empty-user-state {
  padding: 11px 12px;
  border: 1px solid var(--admin-border);
  border-radius: 9px;
  color: var(--admin-muted);
  background: rgba(0, 0, 0, .18);
  font-size: .68rem;
}

.user-action-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  margin-top: 18px;
}

.user-action-buttons button {
  width: 100%;
}

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

  .sentinel-metrics,
  .sentinel-mini-grid,
  .sentinel-list-grid,
  .sentinel-control-list,
  .sentinel-form-grid,
  .sentinel-action-console {
    grid-template-columns: 1fr;
  }

  .sentinel-action-console button {
    justify-self: stretch;
    width: 100%;
  }

  .sentinel-details div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 760px) {
  .sentinel-sidebar {
    padding: 16px;
  }

  .sentinel-tabs,
  .sentinel-metrics,
  .sentinel-control-list,
  .sentinel-form-grid {
    grid-template-columns: 1fr;
  }

  .sentinel-hero {
    display: grid;
    min-height: 0;
  }

  .sentinel-status {
    min-width: 0;
  }

  .sentinel-core {
    grid-template-columns: 1fr;
  }

  .core-ring {
    width: 132px;
  }

  .sentinel-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.team-request-list {
  display: grid;
  gap: 12px;
}

.team-request-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px;
}

.team-request-copy {
  min-width: 0;
}

.team-request-copy h2 {
  margin: 0;
  color: #effff2;
  font-size: 1rem;
}

.team-request-copy p {
  margin: 8px 0 6px;
  color: rgba(232, 255, 237, 0.78);
}

.team-request-copy small {
  color: rgba(232, 255, 237, 0.48);
  overflow-wrap: anywhere;
}

.team-request-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.role-member-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(99, 255, 145, 0.2);
  background: rgba(99, 255, 145, 0.07);
  color: rgba(232, 255, 237, 0.82);
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .team-request-card {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .team-request-actions {
    justify-content: flex-end;
  }
}

.payment-shell {
  padding-bottom: 90px;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.payment-card,
.payment-summary {
  border: 1px solid rgba(99, 255, 145, 0.22);
  border-radius: 18px;
  background: rgba(5, 25, 13, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.payment-card {
  padding: clamp(22px, 4vw, 42px);
}

.payment-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.payment-card-heading h2,
.payment-summary h2 {
  margin: 10px 0 0;
  color: #f1fff3;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.payment-method-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(99, 255, 145, 0.42);
  border-radius: 13px;
  color: #63ff91;
  background: rgba(99, 255, 145, 0.08);
  font-size: 1.1rem;
}

.payment-wallet-mark {
  color: #63ff91;
}

.payment-card-note {
  max-width: 620px;
  margin: 18px 0 30px;
  color: rgba(232, 255, 237, 0.54);
  line-height: 1.6;
}

.payment-customer-warning {
  margin: 22px 0 18px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.6;
}

.customer-code-modal {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(190px, 0.75fr);
  align-items: center;
  gap: 22px;
  margin: 0 0 26px;
  padding: 19px 20px;
  border: 1px solid rgba(255, 92, 92, 0.8);
  border-radius: 14px;
  background: rgba(60, 10, 12, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.08), inset 0 0 26px rgba(255, 92, 92, 0.04);
}

.customer-code-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.customer-code-modal .eyebrow {
  color: #ff9a9a;
  font-size: 0.68rem;
}

.customer-code-modal strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: 0.08em;
}

.customer-code-warning {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.55;
}

.payment-fields {
  display: grid;
  gap: 20px;
}

.payment-field-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.payment-field-heading label {
  color: rgba(232, 255, 237, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.payment-field input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 0 16px;
  border: 1px solid rgba(99, 255, 145, 0.2);
  border-radius: 12px;
  outline: none;
  color: #f1fff3;
  background: rgba(1, 13, 7, 0.76);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.payment-field input:focus {
  border-color: rgba(99, 255, 145, 0.72);
  box-shadow: 0 0 0 3px rgba(99, 255, 145, 0.1);
}

.payment-field input.is-readonly {
  cursor: not-allowed;
  color: rgba(241, 255, 243, 0.62);
}

.payment-copy,
.payment-save {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(232, 255, 237, 0.22);
  border-radius: 10px;
  color: rgba(232, 255, 237, 0.72);
  background: rgba(232, 255, 237, 0.06);
  cursor: pointer;
}

.payment-copy:hover {
  border-color: rgba(99, 255, 145, 0.62);
  color: #63ff91;
}

.payment-save {
  border-color: rgba(99, 255, 145, 0.65);
  color: #051b0c;
  background: #63ff91;
  font-weight: 900;
}

.payment-copy[hidden],
.payment-save[hidden] {
  display: none;
}

.payment-feedback {
  min-height: 22px;
  margin: 18px 0 4px;
  color: #8dffa8;
  font-size: 0.78rem;
}

.payment-feedback[data-type="error"] {
  color: #ff9a9a;
}

.payment-complete {
  width: 100%;
  min-height: 52px;
}

.payment-verification-note {
  margin: 14px 0 0;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.payment-summary {
  position: static;
  padding: 28px;
}

.payment-summary-items {
  display: grid;
  gap: 2px;
  margin: 24px 0 18px;
}

.payment-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(99, 255, 145, 0.12);
}

.payment-summary-item div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.payment-summary-item strong,
.payment-summary-item b {
  color: #f1fff3;
}

.payment-summary-item small {
  overflow: hidden;
  color: rgba(232, 255, 237, 0.46);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-summary-code {
  color: rgba(99, 255, 145, 0.72);
  font-size: 0.63rem;
  font-style: normal;
}

.payment-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  color: rgba(232, 255, 237, 0.62);
}

.payment-summary-total strong {
  color: #63ff91;
  font-size: 1.35rem;
}

.payment-back {
  display: inline-flex;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .payment-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .payment-card,
  .payment-summary {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .customer-code-modal {
    grid-template-columns: 1fr;
  }
}

.account-card,
.product-row,
.notice-item,
.member-card,
.team-editor-panel,
.setup-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(9, 9, 12, 0.82)),
    rgba(9, 9, 14, 0.72);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.account-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  max-width: 980px;
  padding: 26px;
}

.member-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #f2f2f4 0 18%, transparent 19%),
    radial-gradient(circle at 50% 76%, #c8c9ce 0 28%, transparent 29%),
    linear-gradient(180deg, #8c8e95, #202025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 16px 34px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.member-avatar.large {
  width: 92px;
  height: 92px;
}

.image-avatar {
  overflow: hidden;
  background: #111116;
}

.image-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-card h2,
.member-card h3,
.setup-panel h2,
.team-editor-panel h2 {
  margin: 0;
  color: white;
}

.account-card p,
.member-card p,
.setup-panel p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.account-card dl {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.account-card dt,
.product-row span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.account-card dd {
  margin: 4px 0 0;
  color: white;
  font-weight: 900;
}

.product-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(110px, 0.5fr)) auto auto;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  padding: 18px 20px;
  border-radius: 999px;
}

.products-list {
  display: grid;
  gap: 18px;
  max-width: 1180px;
}

.product-access-badge {
  position: absolute;
  right: 24px;
  bottom: -12px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #111116;
  background: linear-gradient(135deg, #ffffff, #bfc1c6);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.36);
  font-size: 0.72rem;
  font-weight: 950;
}

.product-row[data-access-type="extra_user"] .product-access-badge {
  color: white;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(20, 20, 24, 0.92));
}

.product-row strong {
  display: block;
  margin-top: 4px;
  color: white;
}

.empty-products {
  display: grid;
  gap: 12px;
  max-width: 760px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(7, 7, 10, 0.78)),
    rgba(9, 9, 14, 0.72);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.38);
}

.empty-products h2,
.empty-products p {
  margin: 0;
}

.empty-products h2 {
  color: white;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.empty-products p {
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.7;
}

.empty-products .solid-button {
  width: fit-content;
  margin-top: 6px;
}

.setup-modal,
.team-editor {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px);
}

.setup-modal.is-open,
.team-editor.is-open {
  display: grid;
}

.setup-panel,
.team-editor-panel {
  position: relative;
  width: min(100%, 720px);
  padding: clamp(24px, 5vw, 42px);
}

.setup-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.setup-choice {
  display: grid;
  gap: 16px;
  place-items: center;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.setup-choice:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

.line-icon {
  position: relative;
  width: 54px;
  height: 54px;
}

.line-icon.people::before,
.line-icon.people::after {
  content: "";
  position: absolute;
  border: 3px solid white;
}

.line-icon.people::before {
  left: 17px;
  top: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
}

.line-icon.people::after {
  left: 7px;
  bottom: 7px;
  width: 40px;
  height: 24px;
  border-radius: 999px 999px 8px 8px;
}

.line-icon.tool {
  border: 3px solid white;
  border-radius: 10px;
  transform: rotate(-35deg);
}

.line-icon.tool::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: 7px;
  width: 18px;
  height: 8px;
  border: 3px solid white;
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

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

.member-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  padding: 24px;
}

.team-editor-panel {
  display: grid;
  gap: 16px;
}

.team-editor-panel label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.team-editor-panel input {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background: rgba(0, 0, 0, 0.32);
}

.notice-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.notice-item {
  display: grid;
  gap: 6px;
  padding: 20px;
}

/* Keep command-center dialogs anchored to the viewport, above the page shell. */
.noave-command-panel > .admin-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  display: none;
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.noave-command-panel > .admin-modal[aria-hidden="false"] {
  display: flex !important;
  animation: noave-ranking-backdrop-in .42s ease-out both;
}

.noave-command-panel > .admin-modal > .admin-modal-panel {
  max-height: calc(100dvh - 40px);
  margin: auto;
}

.noave-command-panel > .admin-modal[aria-hidden="false"] > .ranking-modal-panel {
  transform-origin: center center;
  will-change: transform, opacity;
  animation: noave-ranking-panel-in .72s cubic-bezier(.16,1,.3,1) both;
}

.noave-command-panel > .admin-modal.ranking-modal-opening {
  animation: noave-ranking-backdrop-in .48s ease-out both !important;
}

.noave-command-panel > .admin-modal.ranking-modal-opening > .ranking-modal-panel {
  animation: noave-ranking-panel-in .86s cubic-bezier(.16,1,.3,1) both !important;
}

@keyframes noave-ranking-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes noave-ranking-panel-in {
  0% { opacity: 0; transform: translateY(34px) scale(.72); }
  68% { opacity: 1; transform: translateY(-4px) scale(1.035); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .noave-command-panel > .admin-modal[aria-hidden="false"],
  .noave-command-panel > .admin-modal[aria-hidden="false"] > .ranking-modal-panel {
    animation: none;
  }
}

.notice-item span {
  color: rgba(255, 255, 255, 0.62);
}

@keyframes logoBreath {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.03);
  }
}

@keyframes orbitTiltA {
  to {
    transform: rotate(360deg) skewX(12deg);
  }
}

@keyframes orbitTiltB {
  to {
    transform: rotate(360deg) skewY(-12deg);
  }
}

@media (max-width: 1060px) {
  .tightened-register,
  .product-row,
  .account-card,
  .member-grid {
    grid-template-columns: 1fr;
  }

  .account-card {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    overflow-x: auto;
    overflow-y: hidden;
    padding-left: 8px;
  }

  .logo-core {
    min-height: 300px;
  }

  .setup-choice-grid,
  .member-card {
    grid-template-columns: 1fr;
  }

  .account-rail {
    top: auto;
    right: 12px;
    bottom: 14px;
    flex-direction: row;
    width: auto;
    min-height: 58px;
    max-width: calc(100vw - 24px);
    border-radius: 999px;
  }

  .rail-exit {
    margin-top: 0;
  }

  .rail-label {
    display: none;
  }

  .account-page {
    padding-right: clamp(20px, 5vw, 76px);
    padding-bottom: 120px;
  }
}

/* 2026-09-04 Noave green/black interface pass */
:root {
  color-scheme: dark;
  --ink: #020403;
  --coal: #061009;
  --panel: rgba(4, 14, 8, 0.76);
  --panel-strong: rgba(4, 18, 9, 0.92);
  --steel: #9db5a5;
  --silver: #dff7e4;
  --mist: #f2fff5;
  --violet: #07110a;
  --electric: #63ff91;
  --amber: #b8ffc8;
  --signal: #2bf06a;
  --line: rgba(99, 255, 145, 0.17);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
  --noave-green-1: #b7ffc2;
  --noave-green-2: #65ff91;
  --noave-green-3: #21c955;
  --noave-green-4: #06451f;
  --noave-black: #020403;
}

html {
  background: var(--noave-black);
}

body,
body.auth-body,
body.panel-body,
body.sentinel-panel-body {
  background:
    radial-gradient(circle at 18% 8%, rgba(99, 255, 145, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(43, 240, 106, 0.1), transparent 24rem),
    linear-gradient(180deg, #020403 0%, #07120b 48%, #020403 100%);
  color: var(--mist);
}

body > *:not(.topo-field-canvas):not(.boot-screen):not(.site-header):not(.account-rail):not(.discord-link-modal):not(.setup-modal):not(.team-editor) {
  position: relative;
  z-index: 1;
}

body::before {
  display: none;
  background-image: none;
  opacity: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, transparent 0%, rgba(0, 0, 0, 0.3) 66%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}

.topo-field-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: #020403;
  opacity: 0.9;
  filter: saturate(1.25) brightness(0.92);
}

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(99, 255, 145, 0.12), transparent 24rem),
    #020403;
}

.boot-mark {
  transform: translateY(0);
  color: #effff2;
  text-shadow:
    0 0 18px rgba(99, 255, 145, 0.34),
    0 0 42px rgba(33, 201, 85, 0.2);
}

.boot-line {
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  box-shadow: 0 0 22px rgba(99, 255, 145, 0.56);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 8px clamp(14px, 2.2vw, 28px);
  border-radius: 0 0 14px 14px;
  border-color: rgba(99, 255, 145, 0.22);
  background:
    linear-gradient(90deg, rgba(4, 22, 10, 0.88), rgba(20, 75, 32, 0.5), rgba(2, 8, 4, 0.9)),
    rgba(2, 7, 4, 0.84);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 34px rgba(43, 240, 106, 0.08),
    inset 0 1px 0 rgba(202, 255, 213, 0.17);
}

.site-header.is-scrolled {
  background:
    linear-gradient(90deg, rgba(3, 17, 8, 0.95), rgba(4, 18, 9, 0.92)),
    rgba(2, 7, 4, 0.92);
}

.brand-logo,
.logo-core img,
.sentinel-brand img {
  filter:
    drop-shadow(0 0 14px rgba(99, 255, 145, 0.24))
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.56));
}

.logo-core img {
  filter:
    sepia(0.9)
    saturate(3.2)
    hue-rotate(72deg)
    brightness(0.9)
    contrast(1.08)
    drop-shadow(0 0 18px rgba(43, 240, 106, 0.2))
    drop-shadow(0 24px 34px rgba(0, 0, 0, 0.58));
}

@media (min-width: 721px) {
  .logo-core {
    overflow: visible;
  }

  .logo-core img {
    width: 460px;
    max-width: none;
  }
}

.brand span,
.panel-brand span,
.sentinel-brand span {
  color: #f4fff6;
}

.site-header .brand {
  justify-self: start;
  min-width: 0;
}

.site-header .nav-links {
  justify-self: center;
  justify-content: center;
  flex: 0 1 auto;
  max-width: min(100%, 620px);
  padding: 7px 10px;
  margin: 0;
}

.site-header .header-actions {
  justify-self: end;
}

body:not(.auth-body):not(.panel-body):not(.sentinel-panel-body) .hero.single-hero {
  min-height: 100vh;
  padding-top: 92px;
}

.hero,
.page-shell,
.legal-shell,
.auth-stage,
.panel-page,
.sentinel-shell,
.sentinel-workspace,
.site-footer {
  background: transparent;
}

.hero-grid {
  display: none;
  background: none;
}

.hero-noise {
  display: none;
  opacity: 0.22;
  background:
    repeating-linear-gradient(120deg, rgba(99, 255, 145, 0.055) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 32% 24%, rgba(99, 255, 145, 0.12), transparent 26rem);
}

.scan-beam {
  background: linear-gradient(90deg, transparent, rgba(99, 255, 145, 0.25), transparent);
}

.eyebrow,
.package-kicker,
.hero-metrics strong,
.device-list strong,
.console-terminal span:first-child,
.flow-board span {
  color: var(--electric);
}

.hero-title {
  color: white;
}

.hero-title span,
.page-hero h1 span {
  color: transparent;
  background: linear-gradient(105deg, #ffffff, #b7ffc2 38%, #65ff91 66%, #2bf06a);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.hero-subtitle,
.page-hero p,
.auth-showcase p:not(.eyebrow),
.auth-card p,
.support-panel p,
.info-panel p,
.legal-hero p,
.sentinel-hero p,
.sentinel-note {
  color: rgba(232, 255, 237, 0.7);
}

.hero-metrics div,
.team-card,
.member-card,
.info-panel,
.support-panel,
.control-surface,
.activity-feed,
.panel-stats article,
.auth-panel,
.auth-showcase,
.account-card,
.product-row,
.notice-item,
.setup-panel,
.team-editor-panel,
.legal-document,
.sentinel-card,
.sentinel-metrics article,
.sentinel-sidebar,
.sentinel-list-card,
.sentinel-action-console {
  border-color: rgba(99, 255, 145, 0.16);
  background:
    linear-gradient(180deg, rgba(99, 255, 145, 0.092), rgba(255, 255, 255, 0.022)),
    rgba(3, 12, 7, 0.76);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(43, 240, 106, 0.055),
    inset 0 1px 0 rgba(202, 255, 213, 0.12);
}

.command-core,
.logo-core,
.package-card {
  background:
    radial-gradient(circle at 72% 16%, rgba(99, 255, 145, 0.2), transparent 16rem),
    linear-gradient(145deg, rgba(99, 255, 145, 0.16), rgba(11, 50, 21, 0.28) 36%, rgba(3, 9, 5, 0.98) 78%),
    #07100b;
  border-color: rgba(99, 255, 145, 0.18);
}

/* Keep the floating homepage dragon unframed. */
.logo-core {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.package-card::before {
  background:
    linear-gradient(180deg, rgba(183, 255, 194, 0.84), rgba(99, 255, 145, 0.16) 30%, rgba(6, 87, 35, 0.78)),
    linear-gradient(90deg, rgba(236, 255, 240, 0.32), transparent 18%, transparent 82%, rgba(155, 255, 173, 0.22));
}

.package-card::after {
  background:
    linear-gradient(90deg, rgba(99, 255, 145, 0.12), transparent 18%, transparent 84%, rgba(183, 255, 194, 0.11)),
    linear-gradient(180deg, rgba(236, 255, 240, 0.12), transparent 40%);
}

.package-card-featured {
  border-color: rgba(99, 255, 145, 0.5);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.5),
    0 0 42px rgba(43, 240, 106, 0.15),
    inset 0 1px 0 rgba(202, 255, 213, 0.16);
}

.package-card.reveal.is-visible:hover,
.team-card:hover,
.member-card:hover,
.product-row:hover,
.sentinel-card:hover {
  border-color: rgba(99, 255, 145, 0.42);
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.56),
    0 0 46px rgba(43, 240, 106, 0.12),
    inset 0 1px 0 rgba(202, 255, 213, 0.18);
  filter: brightness(1.04);
}

.nav-links,
.header-actions,
.hero-actions,
.sentinel-service-actions,
.discord-link-actions,
.setup-choice-grid {
  overflow: visible;
}

.nav-links a,
.solid-button,
.package-button,
.ghost-button,
.danger-button,
.lead-form button,
.sentinel-tab,
.panel-nav-item,
.dash-item,
.panel-back,
.setup-choice,
.auth-bottom a,
.footer-links a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(183, 255, 194, 0.34);
  color: #effff3;
  background:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(226, 255, 232, 0.45), transparent 30%),
    linear-gradient(135deg, var(--noave-green-1), var(--noave-green-2) 36%, var(--noave-green-3) 68%, var(--noave-green-4));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.48),
    0 0 24px rgba(43, 240, 106, 0.17),
    inset 0 1px 0 rgba(240, 255, 242, 0.62),
    inset 0 -16px 28px rgba(0, 0, 0, 0.26);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.58);
  transform: translateY(0) translateZ(0);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 220ms ease,
    background 220ms ease;
}

.nav-links a::after,
.solid-button::after,
.package-button::after,
.ghost-button::after,
.danger-button::after,
.lead-form button::after,
.sentinel-tab::after,
.panel-nav-item::after,
.dash-item::after,
.panel-back::after,
.setup-choice::after,
.auth-bottom a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border: 1px solid rgba(238, 255, 242, 0.16);
  border-radius: inherit;
  pointer-events: none;
}

.nav-links a:hover,
.solid-button:hover,
.package-button:hover,
.ghost-button:hover,
.danger-button:hover,
.lead-form button:hover,
.sentinel-tab:hover,
.panel-nav-item:hover,
.dash-item:hover,
.panel-back:hover,
.setup-choice:hover,
.auth-bottom a:hover,
.footer-links a:hover {
  transform: translateY(-3px) scale(1.025);
  border-color: rgba(208, 255, 218, 0.72);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.58),
    0 0 34px rgba(43, 240, 106, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -14px 28px rgba(0, 0, 0, 0.24);
  filter: saturate(1.12) brightness(1.08);
}

.soft-button,
.header-actions .solid-button,
.header-actions .soft-button,
.auth-submit,
.discord-button,
.discord-join-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #dffff0;
  background:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 255, 145, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(99, 255, 145, 0.13), rgba(9, 30, 15, 0.72)),
    rgba(3, 10, 6, 0.78);
  border-color: rgba(99, 255, 145, 0.38);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(43, 240, 106, 0.11),
    inset 0 1px 0 rgba(202, 255, 213, 0.18);
  text-shadow: none;
}

.soft-button:hover,
.header-actions .solid-button:hover,
.header-actions .soft-button:hover,
.auth-submit:hover,
.discord-button:hover,
.discord-join-button:hover {
  transform: translateY(-3px) scale(1.025);
  border-color: rgba(183, 255, 194, 0.7);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.54),
    0 0 34px rgba(43, 240, 106, 0.2),
    inset 0 1px 0 rgba(202, 255, 213, 0.28);
}

.danger-button,
.rail-exit {
  border-color: rgba(255, 90, 90, 0.4);
  background:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 150, 150, 0.32), transparent 34%),
    linear-gradient(135deg, #ff7a7a, #d72525 42%, #260404);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.48),
    0 0 22px rgba(255, 74, 74, 0.18),
    inset 0 1px 0 rgba(255, 220, 220, 0.58);
}

.auth-panel input,
.auth-panel select,
.lead-form input,
.lead-form textarea,
.lead-form select,
.sentinel-form-grid input,
.sentinel-form-grid select,
.sentinel-action-console input,
.sentinel-action-console select,
.team-editor-panel input {
  border-color: rgba(99, 255, 145, 0.18);
  background: rgba(1, 8, 4, 0.58);
  color: #f1fff5;
  box-shadow: inset 0 1px 0 rgba(202, 255, 213, 0.06);
}

.auth-panel input:focus,
.auth-panel select:focus,
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus,
.sentinel-form-grid input:focus,
.sentinel-form-grid select:focus,
.sentinel-action-console input:focus,
.sentinel-action-console select:focus,
.team-editor-panel input:focus {
  border-color: rgba(99, 255, 145, 0.58);
  box-shadow:
    0 0 0 3px rgba(99, 255, 145, 0.12),
    inset 0 1px 0 rgba(202, 255, 213, 0.08);
}

.auth-orbit .orbit-ring,
.orbit-ring,
.radar-ring,
.core-ring {
  border-color: rgba(99, 255, 145, 0.32);
  box-shadow: 0 0 34px rgba(99, 255, 145, 0.12);
}

.pulse,
.radar-node,
.signal-bars span,
.code-panel li span,
.flow-board span {
  background: linear-gradient(90deg, #b7ffc2, #2bf06a);
  box-shadow: 0 0 24px rgba(99, 255, 145, 0.34);
}

.site-footer {
  border-top-color: rgba(99, 255, 145, 0.16);
  background:
    linear-gradient(90deg, rgba(99, 255, 145, 0.08), transparent 38%, rgba(43, 240, 106, 0.08)),
    linear-gradient(180deg, rgba(4, 13, 8, 0.98), rgba(1, 4, 2, 0.98));
}

.site-footer .footer-links a {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: rgba(220, 241, 225, 0.72);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-shadow: none;
  transform: none;
  transition: color 180ms ease;
}

.site-footer .footer-links a::after {
  content: none;
}

.site-footer .footer-links a:hover {
  border: 0;
  background: none;
  box-shadow: none;
  color: #63ff91;
  filter: none;
  transform: none;
}

@media (min-width: 1061px) {
  .site-header {
    background:
      linear-gradient(180deg, rgba(99, 255, 145, 0.12), rgba(255, 255, 255, 0.025)),
      rgba(3, 11, 6, 0.86);
  }

  .nav-links a {
    background:
      radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(226, 255, 232, 0.38), transparent 32%),
      linear-gradient(135deg, var(--noave-green-1), var(--noave-green-2) 36%, var(--noave-green-3) 68%, var(--noave-green-4));
  }

  .nav-links a::before {
    border-color: rgba(2, 22, 9, 0.32);
    background: rgba(2, 20, 9, 0.42);
    color: #f0fff3;
  }
}

@media (max-width: 720px) {
  .topo-field-canvas {
    opacity: 0.56;
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 0 0 16px 16px;
  }

  .site-header .brand,
  .site-header .nav-links,
  .site-header .header-actions {
    justify-self: stretch;
  }

  .site-header .nav-links {
    justify-content: flex-start;
    max-width: none;
    overflow-x: auto;
  }

  body:not(.auth-body):not(.panel-body):not(.sentinel-panel-body) .hero.single-hero {
    padding-top: 156px;
  }

  .nav-links a:hover,
  .solid-button:hover,
  .package-button:hover,
  .ghost-button:hover,
  .danger-button:hover,
  .soft-button:hover,
  .header-actions .solid-button:hover,
  .header-actions .soft-button:hover,
  .auth-submit:hover,
  .discord-button:hover,
  .discord-join-button:hover {
    transform: translateY(-1px);
  }
}

/* 2026-09-04 header/auth alignment patch */
.site-header {
  top: 0;
  right: 0;
  left: 0;
  min-height: 62px;
  padding: 7px clamp(14px, 2.2vw, 28px);
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0 0 14px 14px;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
}

.site-header .brand {
  justify-self: start;
}

.site-header .nav-links {
  width: max-content;
  max-width: min(100%, 640px);
  justify-self: center;
  justify-content: center;
}

.site-header .header-actions {
  display: inline-flex;
  min-width: max-content;
  justify-self: end;
  justify-content: flex-end;
}

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 0;
}

.boot-mark {
  position: relative;
  top: auto;
  left: auto;
  margin: 0;
  line-height: 1;
  transform: translateY(0);
}

body:not(.auth-body):not(.panel-body):not(.sentinel-panel-body) .hero.single-hero {
  padding-top: 78px;
}

body.auth-body .auth-stage {
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: minmax(300px, 0.82fr) minmax(390px, 520px);
  gap: clamp(24px, 4.4vw, 58px);
  align-items: center;
  padding: 96px clamp(20px, 4vw, 58px) 54px;
  overflow: visible;
}

body.auth-body .auth-panel {
  max-width: 520px;
  justify-self: end;
}

body.auth-body .auth-showcase h1 {
  max-width: 680px;
  font-size: clamp(3rem, 5.9vw, 6.4rem);
  line-height: 0.94;
}

body.auth-body .register-stage {
  grid-template-columns: minmax(280px, 0.72fr) minmax(480px, 650px);
}

body.auth-body .register-panel {
  max-width: 650px;
}

body.auth-body .register-showcase h1 {
  max-width: 560px;
  font-size: clamp(2.7rem, 5vw, 5.6rem);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: minmax(120px, 0.8fr) auto minmax(120px, 0.8fr);
  }

  .site-header .nav-links {
    max-width: min(100%, 520px);
  }

  body.auth-body .auth-stage,
  body.auth-body .register-stage {
    width: min(100%, 820px);
    grid-template-columns: 1fr;
    padding-top: 112px;
  }

  body.auth-body .auth-panel {
    max-width: 620px;
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 0;
    left: 0;
    right: 0;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 10px;
    border-radius: 0 0 16px 16px;
  }

  .site-header .brand,
  .site-header .nav-links,
  .site-header .header-actions {
    justify-self: stretch;
  }

  .site-header .nav-links {
    width: auto;
    max-width: none;
    justify-content: flex-start;
  }

  body:not(.auth-body):not(.panel-body):not(.sentinel-panel-body) .hero.single-hero {
    padding-top: 146px;
  }

  body.auth-body .auth-stage,
  body.auth-body .register-stage {
    padding-top: 150px;
  }
}

/* 2026-09-04 side navigation system */
:root {
  --side-nav-width: 258px;
}

.menu-toggle,
.side-nav-close,
.sidebar-menu-mark {
  display: grid;
  place-items: center;
  align-content: center;
}

.menu-toggle,
.side-nav-close {
  border: 1px solid rgba(99, 255, 145, 0.22);
  color: #effff3;
  background:
    radial-gradient(circle at 40% 22%, rgba(99, 255, 145, 0.2), transparent 44%),
    rgba(3, 12, 7, 0.82);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.48),
    0 0 26px rgba(43, 240, 106, 0.12),
    inset 0 1px 0 rgba(202, 255, 213, 0.18);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.menu-toggle:hover,
.side-nav-close:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 194, 0.56);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.56),
    0 0 34px rgba(43, 240, 106, 0.2);
}

.menu-toggle {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 61;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  gap: 3px;
}

.menu-toggle span,
.sidebar-menu-mark span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px rgba(99, 255, 145, 0.55);
}

.side-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 58;
  pointer-events: none;
  opacity: 0;
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(8px);
  transition: opacity 260ms ease;
}

.site-header.site-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: var(--side-nav-width);
  min-height: 100vh;
  padding: 16px 14px;
  border: 0;
  border-right: 1px solid rgba(99, 255, 145, 0.2);
  border-radius: 0 18px 18px 0;
  background:
    linear-gradient(180deg, rgba(99, 255, 145, 0.1), rgba(2, 8, 4, 0.94) 36%, rgba(1, 4, 2, 0.98)),
    rgba(2, 8, 4, 0.96);
  box-shadow:
    24px 0 80px rgba(0, 0, 0, 0.48),
    0 0 40px rgba(43, 240, 106, 0.1),
    inset -1px 0 0 rgba(202, 255, 213, 0.08);
  transform: translateX(0);
  transition: transform 320ms cubic-bezier(0.2, 0.85, 0.2, 1), box-shadow 220ms ease;
}

.sidebar-head {
  display: grid;
  grid-template-columns: 30px 1fr 36px;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  margin-bottom: 24px;
}

.sidebar-menu-mark {
  gap: 3px;
  color: #effff3;
}

.site-sidebar .brand {
  justify-self: start;
  min-width: 0;
  gap: 10px;
}

.site-sidebar .brand-logo {
  width: 38px;
  height: 38px;
}

.site-sidebar .brand span {
  display: block;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  font-size: 1.2rem;
  font-weight: 900;
}

.site-sidebar .nav-links {
  display: grid;
  width: 100%;
  max-width: none;
  gap: 9px;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.site-sidebar .nav-links a,
.site-sidebar .header-actions a {
  width: 100%;
  justify-content: flex-start;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
}

.site-sidebar .header-actions {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 10px;
  margin-top: auto;
}

.site-sidebar ~ main,
.site-sidebar ~ .site-footer {
  margin-left: 0;
}

.site-sidebar ~ main.page-shell,
.site-sidebar ~ main.legal-shell {
  padding-top: 68px;
}

.site-sidebar ~ main .hero.single-hero,
body:not(.auth-body):not(.panel-body):not(.sentinel-panel-body) .site-sidebar ~ main .hero.single-hero {
  padding-top: 54px;
}

body.auth-body .site-sidebar ~ .auth-stage {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-top: 54px;
}

.nav-open .side-nav-backdrop {
  pointer-events: auto;
  opacity: 1;
}

@media (min-width: 901px) {
  .side-nav-backdrop {
    background:
      radial-gradient(circle at 14% 18%, rgba(99, 255, 145, 0.11), transparent 22rem),
      rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(7px);
  }

  .menu-toggle {
    display: grid;
  }

  .nav-open .menu-toggle {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px) scale(0.92);
  }

  .side-nav-close {
    pointer-events: auto;
    opacity: 1;
  }

  .nav-closed .site-header.site-sidebar {
    transform: translateX(calc(-100% - 28px));
  }
}

@media (max-width: 900px) {
  :root {
    --side-nav-width: min(84vw, 304px);
  }

  .menu-toggle {
    display: grid;
  }

  .site-header.site-sidebar {
    transform: translateX(calc(-100% - 28px));
  }

  .nav-open .site-header.site-sidebar {
    transform: translateX(0);
  }

  .site-sidebar ~ main,
  .site-sidebar ~ .site-footer {
    margin-left: 0;
  }

  .site-sidebar ~ main.page-shell,
  .site-sidebar ~ main.legal-shell {
    padding-top: 112px;
  }

  .site-sidebar ~ main .hero.single-hero,
  body:not(.auth-body):not(.panel-body):not(.sentinel-panel-body) .site-sidebar ~ main .hero.single-hero {
    padding-top: 110px;
  }

  body.auth-body .site-sidebar ~ .auth-stage {
    width: min(100%, 820px);
    margin: 0 auto;
    padding-top: 118px;
  }
}

.perf-lite .topo-field-canvas {
  opacity: 0.46;
  filter: none;
}

.perf-lite [data-glass],
.perf-lite .site-header,
.perf-lite .auth-panel,
.perf-lite .auth-showcase,
.perf-lite .package-card,
.perf-lite .member-card,
.perf-lite .support-panel,
.perf-lite .info-panel {
  backdrop-filter: none;
}

body.logged-in .site-sidebar .header-actions,
body.logged-in .header-actions {
  display: none !important;
}

.daily-player {
  position: fixed;
  inset: 16px 16px auto auto !important;
  top: 16px !important;
  right: 16px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 99999 !important;
  z-index: 45;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  width: min(370px, calc(100vw - 34px));
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(150, 255, 174, 0.18);
  border-radius: 18px;
  color: #f1fff3;
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.daily-player-cover,
.daily-current-cover {
  background-color: rgba(84, 242, 127, 0.12);
  background-position: center;
  background-size: cover;
}

.daily-player-cover {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 13px;
  color: #07120a;
  background-image: linear-gradient(135deg, #b4ffc1, #32dc67);
  font-size: 1.55rem;
  font-weight: 950;
}

.daily-player-cover.has-image {
  color: transparent;
}

.daily-player-content {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 3px;
}

.daily-player-kicker {
  color: #54f27f;
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.daily-player-content strong,
.daily-player-content small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-player-content strong {
  font-size: 0.77rem;
}

.daily-player-content small {
  color: rgba(235, 255, 239, 0.58);
  font-size: 0.62rem;
}

.daily-player-controls {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 3px;
}

.daily-player-volume {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #f1fff3;
  background: transparent;
  font-size: 0.82rem;
  line-height: 1;
  cursor: pointer;
}

.daily-player-volume:hover,
.daily-player-volume[aria-expanded="true"] {
  background: rgba(84, 242, 127, 0.16);
}

.daily-player-volume-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 8px;
  z-index: 2;
  display: grid;
  gap: 5px;
  min-width: 142px;
  padding: 9px 11px;
  border: 1px solid rgba(150, 255, 174, 0.2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42);
}

.daily-player-volume-panel[hidden] {
  display: none;
}

.daily-player-volume-panel label {
  color: rgba(235, 255, 239, 0.62);
  font-size: 0.58rem;
}

.daily-player-volume-panel input {
  width: 120px;
  accent-color: #54f27f;
  cursor: pointer;
}

.daily-player-play {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #041008;
  background: #54f27f;
  font-size: 0.58rem;
  cursor: pointer;
}

.daily-player-play:disabled {
  opacity: 0.35;
  cursor: default;
}

.daily-player-progress {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
}

.daily-player-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #54f27f;
  transition: width 180ms linear;
}

.daily-player-controls time {
  color: rgba(235, 255, 239, 0.55);
  font-size: 0.57rem;
  font-variant-numeric: tabular-nums;
}

.daily-player-youtube {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.daily-song-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.daily-song-shell {
  padding-top: 94px;
}

.daily-song-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.daily-current-card,
.daily-search-card,
.daily-playlist-card {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(105, 255, 145, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16, 50, 26, 0.78), rgba(2, 10, 5, 0.88));
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(220, 255, 227, 0.06);
}

.daily-section-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.daily-section-heading h2 {
  max-width: 560px;
  margin: 7px 0 5px;
  color: #f6fff7;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.05;
}

.daily-section-heading p {
  max-width: 450px;
  margin: 0;
  color: rgba(232, 255, 237, 0.6);
  font-size: 0.74rem;
  line-height: 1.55;
}

.daily-round-badge,
.daily-search-count {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(84, 242, 127, 0.22);
  border-radius: 999px;
  color: #8dffa8;
  background: rgba(84, 242, 127, 0.07);
  font-size: 0.58rem;
  font-weight: 850;
}

.daily-current-media {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.daily-current-cover {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  border-radius: 15px;
  color: #07120a;
  background-image: linear-gradient(135deg, #b4ffc1, #32dc67);
  font-size: 2rem;
  font-weight: 950;
}

.daily-current-cover.has-image {
  color: transparent;
}

.daily-current-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.daily-current-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-current-copy small {
  color: rgba(232, 255, 237, 0.55);
  font-size: 0.66rem;
}

.daily-song-note {
  margin-top: 25px;
  color: rgba(232, 255, 237, 0.4);
  font-size: 0.61rem;
  line-height: 1.5;
}

.daily-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  margin-top: 22px;
}

.daily-search-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(105, 255, 145, 0.2);
  border-radius: 12px;
  outline: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.24);
  font: inherit;
  font-size: 0.7rem;
}

.daily-search-form input:focus {
  border-color: rgba(84, 242, 127, 0.7);
  box-shadow: 0 0 0 3px rgba(84, 242, 127, 0.08);
}

.daily-song-feedback {
  min-height: 18px;
  margin: 10px 0 0;
  color: rgba(232, 255, 237, 0.55);
  font-size: 0.65rem;
}

.daily-song-feedback[data-type="error"] {
  color: #ffb4b4;
}

.daily-song-feedback[data-type="success"] {
  color: #8dffa8;
}

.daily-playlist-card {
  margin-top: 18px;
}

.daily-playlist-list {
  display: grid;
  gap: 8px;
  max-height: 390px;
  overflow: auto;
  margin-top: 24px;
  padding-right: 3px;
}

.daily-playlist-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.daily-playlist-cover {
  width: 58px;
  height: 50px;
  border-radius: 9px;
  background-color: rgba(84, 242, 127, 0.1);
  background-position: center;
  background-size: cover;
}

.daily-playlist-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.daily-playlist-copy strong,
.daily-playlist-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-playlist-copy strong {
  color: #f1fff3;
  font-size: 0.7rem;
}

.daily-playlist-copy small {
  color: rgba(232, 255, 237, 0.47);
  font-size: 0.59rem;
}

.daily-playlist-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}

.daily-playlist-actions button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(84, 242, 127, 0.28);
  border-radius: 9px;
  color: #8dffa8;
  background: rgba(84, 242, 127, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
}

.daily-playlist-actions button:hover:not(:disabled) {
  background: rgba(84, 242, 127, 0.18);
}

.daily-playlist-actions button:disabled {
  cursor: wait;
  opacity: 0.5;
}

.daily-playlist-actions .daily-playlist-delete {
  border-color: rgba(255, 102, 102, 0.32);
  color: #ff8585;
  background: rgba(255, 64, 64, 0.08);
}

.daily-playlist-actions .daily-playlist-delete:hover:not(:disabled) {
  background: rgba(255, 64, 64, 0.16);
}

.daily-empty-state {
  display: grid;
  min-height: 138px;
  place-items: center;
  padding: 20px;
  border: 1px dashed rgba(105, 255, 145, 0.2);
  border-radius: 12px;
  color: rgba(232, 255, 237, 0.45);
  font-size: 0.68rem;
  text-align: center;
}

@media (max-width: 900px) {
  .daily-player {
    inset: 14px 14px auto auto !important;
    top: 14px !important;
    right: 14px !important;
  }

  .daily-song-shell {
    padding-top: 94px;
  }

  .daily-song-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .daily-player {
    inset: 10px 10px auto auto !important;
    top: 10px !important;
    right: 10px !important;
    width: min(360px, calc(100vw - 24px));
  }

  .daily-section-heading {
    display: grid;
    gap: 10px;
  }

  .daily-round-badge,
  .daily-search-count {
    justify-self: start;
  }

  .daily-playlist-item {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .daily-playlist-cover {
    width: 48px;
    height: 42px;
  }

  .daily-playlist-actions {
    gap: 4px;
  }

  .daily-playlist-actions button {
    width: 29px;
    height: 29px;
  }
}

/* Cart flow */
.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(2, 15, 7, 0.88);
  border-radius: 50%;
  color: #031008;
  background: #63ff91;
  font-size: 0.58rem;
  font-weight: 950;
}

.cart-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.rail-item .rail-icon.cart-icon {
  transform: translateX(-2px);
}

.cart-shell {
  max-width: 1380px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.cart-list-wrap,
.cart-summary {
  border: 1px solid rgba(99, 255, 145, 0.2);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(99, 255, 145, 0.09), rgba(2, 9, 5, 0.8)), rgba(2, 9, 5, 0.82);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(202, 255, 213, 0.08);
}

.cart-list-wrap {
  min-width: 0;
  padding: 24px;
}

.cart-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(99, 255, 145, 0.14);
}

.cart-list-count {
  color: rgba(232, 255, 237, 0.52);
  font-size: 0.7rem;
  font-weight: 800;
}

.cart-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(145px, 1.1fr) minmax(140px, 0.9fr) minmax(155px, 1.2fr) minmax(118px, 0.8fr) 34px;
  gap: 14px;
  align-items: center;
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(99, 255, 145, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.cart-item-service,
.cart-item-code,
.cart-item-price,
.cart-control {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cart-item span,
.cart-control > span {
  color: rgba(232, 255, 237, 0.42);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cart-item strong {
  overflow: hidden;
  color: #f1fff3;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item small {
  color: rgba(232, 255, 237, 0.48);
  font-size: 0.65rem;
}

.cart-item-price strong {
  color: #63ff91;
}

.cart-select-button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(99, 255, 145, 0.2);
  border-radius: 7px;
  color: #f1fff3;
  background: rgba(2, 14, 7, 0.62);
  cursor: pointer;
  font: inherit;
}

.cart-select-button strong {
  font-size: 0.68rem;
}

.cart-select-button:hover,
.cart-select-button[aria-expanded="true"] {
  border-color: rgba(99, 255, 145, 0.62);
  box-shadow: 0 0 18px rgba(43, 240, 106, 0.12);
}

.cart-control {
  position: relative;
}

.cart-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 15;
  display: grid;
  gap: 4px;
  padding: 7px;
  border: 1px solid rgba(99, 255, 145, 0.28);
  border-radius: 8px;
  background: rgba(3, 14, 7, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.cart-popover[hidden] {
  display: none;
}

.cart-popover > button:not(.cart-apply-button) {
  min-height: 32px;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  color: rgba(241, 255, 243, 0.76);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.65rem;
  text-align: left;
}

.cart-popover > button:hover,
.cart-popover > button.is-selected {
  color: #031008;
  background: #63ff91;
}

.cart-extra-option {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  padding: 0 7px;
  color: rgba(241, 255, 243, 0.8);
  font-size: 0.64rem;
  cursor: pointer;
}

.cart-extra-option input {
  accent-color: #63ff91;
}

.cart-extra-option-price {
  margin-left: auto;
  color: #73ef98;
  font-size: 0.58rem;
  white-space: nowrap;
}

.cart-apply-button {
  min-height: 32px;
  margin-top: 4px;
  border: 1px solid rgba(99, 255, 145, 0.34);
  border-radius: 5px;
  color: #63ff91;
  background: rgba(99, 255, 145, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 900;
}

.cart-remove-button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 92, 92, 0.32);
  border-radius: 50%;
  color: #ff8585;
  background: rgba(255, 64, 64, 0.08);
  cursor: pointer;
  font-size: 1.15rem;
}

.cart-remove-button:hover {
  background: rgba(255, 64, 64, 0.2);
}

.cart-summary {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
  padding: 24px;
}

.cart-summary h2 {
  margin: 0;
  color: #f1fff3;
  font-size: 1.45rem;
}

.cart-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(99, 255, 145, 0.12);
  color: rgba(232, 255, 237, 0.56);
  font-size: 0.72rem;
}

.cart-summary-line strong {
  color: #f1fff3;
}

.cart-summary-total {
  color: #f1fff3;
  font-size: 0.88rem;
}

.cart-summary-total strong {
  color: #63ff91;
  font-size: 1.22rem;
}

.cart-checkout-button {
  width: 100%;
  min-height: 48px;
}

.cart-checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cart-payment-note,
.cart-loading,
.cart-empty p,
.cart-message {
  margin: 0;
  color: rgba(232, 255, 237, 0.44);
  font-size: 0.68rem;
  line-height: 1.55;
}

.cart-message[data-type="error"] {
  color: #ff9a9a;
}

.cart-message[data-type="success"] {
  color: #8dffa8;
}

.cart-empty {
  display: grid;
  max-width: 540px;
  gap: 10px;
  padding: 36px 14px;
  text-align: center;
}

.cart-empty-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 4px;
  border: 1px solid rgba(99, 255, 145, 0.36);
  border-radius: 50%;
  color: #63ff91 !important;
  background: rgba(99, 255, 145, 0.08);
  font-size: 1.5rem !important;
}

.cart-empty h2 {
  margin: 0;
  color: #f1fff3;
  font-size: 1.15rem;
}

.cart-empty .solid-button {
  justify-self: center;
  margin-top: 8px;
}

@media (max-width: 1050px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .cart-list-wrap {
    padding: 16px;
  }

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

  .cart-item-service,
  .cart-item-code {
    grid-column: 1 / -1;
  }

  .cart-remove-button {
    position: absolute;
    top: 12px;
    right: 12px;
  }
}
