:root {
  --bg: #050a14;
  --bg2: #091225;
  --bg3: #0b1830;
  --card: rgba(10, 20, 38, 0.78);
  --card-edge: rgba(94, 206, 255, 0.28);
  --text: #e8f5ff;
  --text-soft: #b5dcff;
  --muted: #7fa6ca;
  --accent-g: #18d8ff;
  --accent-g2: #0d8bd4;
  --accent-r: #22e37f;
  --accent-r2: #128a4d;
  --link: #6ee7ff;
  --link-hover: #b7f5ff;
  --white: #ffffff;
  --danger: #fca5a5;
  --ok: #86efac;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  --grad-hero: linear-gradient(140deg, rgba(24, 216, 255, 0.2), rgba(13, 139, 212, 0.22) 40%, rgba(6, 10, 24, 0.95) 100%);
  --grad-btn: linear-gradient(90deg, #0ab6f8 0%, #20d9ff 50%, #1affb3 100%);
  --grad-soft: linear-gradient(160deg, rgba(24, 216, 255, 0.14), rgba(25, 255, 195, 0.12));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.site {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(1000px 520px at 4% 0%, rgba(24, 216, 255, 0.25), transparent 56%),
    radial-gradient(1000px 560px at 100% 5%, rgba(12, 86, 170, 0.35), transparent 48%),
    linear-gradient(180deg, #040912 0%, var(--bg) 38%, #040812 100%);
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(4, 11, 22, 0.88);
  border-bottom: 1px solid rgba(24, 216, 255, 0.3);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}
.brand__mark {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, #6ef7ff, #0ca8ff);
  box-shadow: 0 0 16px rgba(24, 216, 255, 0.8);
}
.brand__title {
  display: inline;
  background: linear-gradient(90deg, var(--accent-g), #6fffd3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.brand__main,
.brand__accent {
  color: transparent;
}
.brand__accent::before {
  content: " ";
}
.brand--footer {
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover {
  color: var(--white);
}
.nav .btn--primary {
  color: #0a0a0a;
}

.main {
  padding: 48px 0 64px;
}

.hero {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 56px 0 68px;
}
.hero--landing {
  min-height: 74vh;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero__content {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(117, 232, 255, 0.3);
  background: rgba(7, 23, 42, 0.7);
  color: #c4f6ff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero h1 .hero-accent {
  background: linear-gradient(90deg, var(--accent-g), #fca5a5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 52ch;
}

.hero__actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.hero__hint {
  font-size: 0.9rem;
  color: #8ac6e8;
  margin-top: 12px;
}

.hero__panel {
  background: var(--grad-hero);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(117, 232, 255, 0.08);
}

.hero__panel--art {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}
.hero__panel--art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(2, 8, 22, 0.45), rgba(2, 10, 20, 0.7)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.9;
}

.hero-orb--left {
  width: 140px;
  height: 140px;
  left: 24px;
  top: 22px;
  background: radial-gradient(circle at 30% 30%, rgba(154, 244, 255, 0.9), rgba(18, 126, 255, 0.12) 68%);
}

.hero-orb--right {
  width: 120px;
  height: 120px;
  right: 32px;
  top: 26px;
  background: radial-gradient(circle at 30% 30%, rgba(123, 255, 211, 0.95), rgba(16, 63, 105, 0.1) 70%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

.stats--hero {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 88px;
  z-index: 2;
}

.stat {
  background: rgba(7, 18, 33, 0.62);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--card-edge);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.18);
}
.stat__num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #dffeff, #69f3ff 45%, #a8ffd6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.stat__sub {
  margin-top: 6px;
  color: #6f9cc0;
  font-size: 0.8rem;
}

.availability-bar {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(98, 228, 255, 0.45);
  background: linear-gradient(90deg, rgba(17, 40, 72, 0.9), rgba(70, 185, 255, 0.28), rgba(21, 41, 61, 0.9));
  box-shadow: 0 0 26px rgba(24, 216, 255, 0.2);
  z-index: 2;
}

.availability-bar strong {
  color: #7bffbb;
  font-size: 1rem;
}

.section {
  padding: 40px 0;
}
.section h2 {
  margin: 0 0 18px;
  font-size: 1.5rem;
  color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 24px;
}

.section-showcase {
  padding-top: 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 980px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

.showcase-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(111, 228, 255, 0.38);
  background: rgba(6, 16, 29, 0.82);
  box-shadow: 0 0 22px rgba(27, 218, 255, 0.13);
}

.showcase-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.showcase-card__body {
  padding: 14px;
}

.showcase-card__body h3 {
  margin: 0 0 8px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--card-edge);
  box-shadow: var(--shadow), 0 0 28px rgba(24, 216, 255, 0.12);
}
.card--step {
  text-align: center;
  border-radius: 20px;
  min-height: 180px;
}
.step-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 14px;
  border: 1px solid rgba(120, 230, 255, 0.35);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: rgba(9, 24, 44, 0.75);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 18px rgba(28, 226, 255, 0.18);
}
.card h2,
.card h3 {
  margin: 0 0 10px;
  color: var(--white);
}

.muted {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--grad-btn);
  color: #032130;
  box-shadow: 0 0 0 1px rgba(167, 247, 255, 0.55), 0 0 26px rgba(24, 216, 255, 0.45), 0 10px 28px rgba(24, 216, 255, 0.22);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--primary:hover {
  filter: brightness(1.08);
}
.btn--ghost {
  background: rgba(4, 16, 30, 0.52);
  color: var(--link-hover);
  border: 1px solid rgba(24, 216, 255, 0.45);
}
.btn--ghost:hover {
  border-color: rgba(111, 255, 211, 0.65);
  color: var(--white);
}
.btn--sm {
  padding: 8px 14px;
  font-size: 0.9rem;
}
.btn--xl {
  min-height: 58px;
  padding: 16px 30px;
  border-radius: 16px;
  font-size: 1rem;
}
.btn--wide {
  width: 100%;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.form {
  max-width: 420px;
  display: grid;
  gap: 14px;
}
.auth-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 220px);
}
.auth-card {
  width: min(520px, 100%);
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(8, 21, 40, 0.95), rgba(7, 19, 36, 0.86));
  border: 1px solid rgba(104, 231, 255, 0.28);
  box-shadow: 0 0 40px rgba(24, 216, 255, 0.13), 0 24px 60px rgba(0, 0, 0, 0.4);
}
.auth-card .form {
  max-width: 100%;
}
label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-soft);
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(117, 215, 255, 0.28);
  background: rgba(2, 10, 22, 0.72);
  color: var(--text);
  font: inherit;
}
input::placeholder,
textarea::placeholder {
  color: #9a7575;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(24, 216, 255, 0.45);
  border-color: rgba(111, 255, 211, 0.5);
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(252, 165, 165, 0.45);
  background: rgba(127, 29, 29, 0.25);
  color: #fecaca;
}
.alert--ok {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(22, 101, 52, 0.28);
  color: #dcfce7;
}

.footer {
  border-top: 1px solid rgba(24, 216, 255, 0.2);
  padding: 40px 0 24px;
  background: #040a14;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}
@media (max-width: 700px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer h4 {
  margin: 0 0 10px;
  color: var(--white);
}
.footer__bottom {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.prose {
  max-width: 760px;
}
.prose h1,
.prose h2 {
  color: var(--white);
}
.prose h2 {
  margin-top: 1.6em;
}

.dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.dash-head h1 {
  color: var(--white);
}
.dashboard-shell {
  display: grid;
  gap: 18px;
}
.dashboard-shell--kit {
  padding-bottom: 30px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.dashboard-kit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px) {
  .dashboard-kit-grid {
    grid-template-columns: 1fr;
  }
}

.dash-panel {
  border: 1px solid rgba(84, 226, 255, 0.75);
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.2), inset 0 0 0 1px rgba(120, 236, 255, 0.12);
  min-height: 320px;
}

.panel-title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.panel-sub {
  margin-top: 0;
}

.panel-action-form {
  margin-top: 12px;
}

.pulse-btn {
  box-shadow: 0 0 0 1px rgba(180, 247, 255, 0.8), 0 0 30px rgba(0, 220, 255, 0.5), 0 10px 28px rgba(5, 160, 255, 0.35);
  animation: pulse-glow 1.7s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
  from {
    box-shadow: 0 0 0 1px rgba(180, 247, 255, 0.8), 0 0 18px rgba(0, 220, 255, 0.35), 0 8px 20px rgba(5, 160, 255, 0.25);
  }
  to {
    box-shadow: 0 0 0 1px rgba(180, 247, 255, 1), 0 0 34px rgba(0, 220, 255, 0.65), 0 16px 30px rgba(5, 160, 255, 0.45);
  }
}

.mini-stats-row {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .mini-stats-row {
    grid-template-columns: 1fr;
  }
}
.mini-stat {
  border-radius: 11px;
  padding: 10px 12px;
  border: 1px solid rgba(123, 234, 255, 0.3);
  background: rgba(8, 20, 35, 0.65);
}
.mini-stat span {
  display: block;
  color: #8db4cf;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mini-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
  color: #e4fbff;
}

.countdown-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  min-height: 250px;
}

.count-ring-wrap {
  display: grid;
  place-items: center;
}
.count-ring {
  --ring-progress: 0deg;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: conic-gradient(#14e3ff 0deg, #14e3ff var(--ring-progress), rgba(20, 40, 66, 0.9) var(--ring-progress) 360deg);
  display: grid;
  place-items: center;
  box-shadow: 0 0 40px rgba(20, 227, 255, 0.32);
  transition: background 0.4s linear;
}
.count-ring.is-spinning {
  animation: ring-spin 2.4s linear infinite;
}
@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}
.count-ring.is-spinning .count-ring__inner {
  animation: ring-counter-spin 2.4s linear infinite;
}
@keyframes ring-counter-spin {
  to {
    transform: rotate(-360deg);
  }
}
.count-ring__inner {
  width: 178px;
  height: 178px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(13, 31, 54, 0.95), rgba(5, 14, 26, 0.95));
  display: grid;
  place-items: center;
  text-align: center;
}
.count-ring__label {
  color: #8ebdd8;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.count-ring__value {
  font-size: 2rem;
  font-weight: 800;
  color: #ecfdff;
}

.dash-panel--credentials .cred-card {
  margin-top: 8px;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 900px) {
  .fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.fleet-item {
  border-radius: 10px;
  border: 1px solid rgba(108, 231, 255, 0.25);
  background: rgba(8, 23, 40, 0.7);
  padding: 10px;
}
.fleet-item span {
  display: block;
  font-size: 0.8rem;
  color: #91b7d2;
  margin-bottom: 4px;
}
.fleet-item strong {
  font-size: 0.85rem;
  text-transform: uppercase;
}
.fleet-item strong.ok {
  color: #3efcaa;
}
.fleet-item strong.busy {
  color: #ffd146;
}
.fleet-item strong.cool {
  color: #ff6d84;
}
@media (max-width: 980px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.dash-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.dash-card::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(from 120deg, rgba(24, 216, 255, 0.1), rgba(30, 110, 255, 0.12), rgba(24, 255, 179, 0.08));
  animation: spin-glow 14s linear infinite;
  pointer-events: none;
  opacity: 0.65;
}
@keyframes spin-glow {
  to {
    transform: rotate(360deg);
  }
}
.dash-card > * {
  position: relative;
  z-index: 1;
}

.wait-room {
  margin-top: 20px;
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.wait-room__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.12), transparent);
  animation: shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.step-track {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.step {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
}
.step__dot {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.step.is-active .step__dot {
  background: linear-gradient(135deg, var(--accent-g), #6fffd3);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.45);
  transform: scale(1.15);
}
.step.is-done .step__dot {
  background: rgba(24, 216, 255, 0.55);
  border-color: rgba(24, 216, 255, 0.7);
}
.step__label {
  display: block;
  font-weight: 700;
}
.wait-room__tip {
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  text-align: center;
  position: relative;
  z-index: 1;
  min-height: 2.6em;
}

.cred-card {
  margin-top: 20px;
  padding: 24px;
  border-radius: 24px;
  background: var(--grad-soft);
  border: 1px solid rgba(113, 227, 255, 0.34);
  box-shadow: 0 0 25px rgba(24, 216, 255, 0.14);
}
.cred-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 800px) {
  .cred-panel-grid {
    grid-template-columns: 1fr;
  }
}
.cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(0, 0, 0, 0.45);
  padding: 8px 12px;
  border-radius: 8px;
  word-break: break-all;
  color: var(--text-soft);
  border: 1px solid rgba(120, 214, 255, 0.22);
}

.workflow-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.workflow-steps {
  display: grid;
  gap: 10px;
}
.workflow-job {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.25);
}
.workflow-job__title {
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.workflow-job__status {
  font-size: 0.8rem;
  color: var(--muted);
}
.workflow-step-list {
  margin: 8px 0 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}
.workflow-step-list li {
  margin: 4px 0;
}
.workflow-errors {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(252, 165, 165, 0.45);
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.85rem;
}

.dashboard-side {
  min-height: 320px;
}

.stats--dashboard {
  grid-template-columns: 1fr;
}

.admin {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  background: var(--bg);
}
@media (max-width: 900px) {
  .admin {
    grid-template-columns: 1fr;
  }
}
.admin__side {
  border-right: 1px solid rgba(24, 216, 255, 0.2);
  padding: 24px 18px;
  background: linear-gradient(180deg, #071325, #08172d);
}
.admin__brand {
  padding: 8px 12px 22px;
}
.admin__side a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 8px;
}
.admin__side a:hover,
.admin__side a.is-active {
  background: rgba(24, 216, 255, 0.14);
  color: var(--white);
}

.profile-card {
  background: linear-gradient(145deg, rgba(8, 24, 44, 0.9), rgba(10, 33, 64, 0.75));
  border: 1px solid rgba(126, 227, 255, 0.35);
}

.profile-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
.admin__main {
  padding: 28px;
  color: var(--text);
}
.admin__main h1,
.admin__main h2 {
  color: var(--white);
}
.table-wrap {
  overflow-x: auto;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
table.data th,
table.data td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 8px;
  text-align: left;
  color: var(--text-soft);
}
table.data th {
  color: var(--muted);
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge--ok {
  background: rgba(34, 197, 94, 0.2);
  color: var(--ok);
}
.badge--bad {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.form-wide {
  max-width: 720px;
}

.stat-card {
  min-height: 150px;
}

/* Mobile header: compact brand + hamburger; desktop unchanged */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0 0 0 10px;
  border: 1px solid rgba(117, 232, 255, 0.35);
  border-radius: 10px;
  background: rgba(7, 23, 42, 0.85);
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 1px;
  background: var(--accent-g);
}
.nav-backdrop {
  display: none;
}
.topbar--nav-open .nav-toggle {
  border-color: rgba(24, 216, 255, 0.65);
  box-shadow: 0 0 12px rgba(24, 216, 255, 0.25);
}
body.nav-open-lock {
  overflow: hidden;
}
@media (max-width: 768px) {
  .topbar {
    position: relative;
  }
  .topbar__inner {
    position: relative;
    z-index: 2;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    padding: 10px 0;
  }
  .brand {
    min-width: 0;
    flex: 1;
    font-size: clamp(0.82rem, 3.5vw, 1rem);
  }
  .brand__accent {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 60;
  }
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.5);
    border: 0;
    padding: 0;
    margin: 0;
  }
  .topbar--nav-open .nav-backdrop {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 6px 0 14px;
    margin: 0;
    max-height: min(72vh, calc(100dvh - 56px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(4, 11, 22, 0.98);
    border-bottom: 1px solid rgba(24, 216, 255, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  }
  .topbar--nav-open .nav {
    display: flex;
  }
  .nav a {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
  }
  .nav a:last-child {
    border-bottom: none;
  }
  .nav .btn--primary {
    margin: 10px 16px 6px;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-self: stretch;
  }
}
