:root {
  --bg: #010303;
  --panel: #0a1015;
  --panel-2: #101922;
  --panel-3: #14212b;
  --line: rgba(255, 255, 255, 0.11);
  --line-green: rgba(168, 224, 0, 0.42);
  --green: #a8e000;
  --green-2: #c3ff12;
  --green-3: #75b900;
  --text: #f7fafc;
  --muted: #a8b5c7;
  --muted-2: #768498;
  --red: #ff5d72;
  --amber: #f7c948;
  --blue: #72a7ff;
  --radius: 8px;
  --sidebar: 232px;
  --glow: 0 0 36px rgba(168, 224, 0, 0.12);
  font-family: Manrope, Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 74% 10%, rgba(168, 224, 0, 0.12), transparent 30%),
    linear-gradient(rgba(168, 224, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #010303;
  background-size: auto, 52px 52px, 52px 52px, auto;
  letter-spacing: 0;
}

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

button {
  cursor: pointer;
}

button,
.btn,
.tab,
.support-tile {
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

button:hover,
.btn:hover,
.tab:hover,
.support-tile:hover {
  transform: translateY(-1px);
}

a {
  color: inherit;
}

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

.auth-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  width: min(100%, 1040px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(168, 224, 0, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(19, 28, 37, 0.96), rgba(4, 7, 9, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.auth-side {
  padding: 42px;
  border-right: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 190px;
  max-width: 100%;
  filter: drop-shadow(0 0 18px rgba(168, 224, 0, 0.22));
}

.auth-side h1,
.page-title {
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, Manrope, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.auth-side p,
.page-subtitle,
.muted {
  color: var(--muted);
  line-height: 1.5;
}

.auth-form {
  padding: 42px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

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

.field label {
  color: #b9c6d8;
  font-size: 0.82rem;
  font-weight: 850;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  outline: none;
  background: rgba(1, 4, 6, 0.88);
  color: var(--text);
  padding: 10px 12px;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(168, 224, 0, 0.55);
  box-shadow: 0 0 0 4px rgba(168, 224, 0, 0.08);
}

.shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 224, 0, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(13, 19, 26, 0.98), rgba(3, 5, 7, 0.99));
  padding: 16px 12px;
}

.sidebar .brand {
  margin: 0 0 16px;
}

.profile {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 84px;
  margin-bottom: 14px;
  border: 1px solid rgba(168, 224, 0, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20, 29, 40, 0.9), rgba(6, 9, 12, 0.94));
  padding: 12px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-green);
  border-radius: 999px;
  color: var(--green);
  background: rgba(168, 224, 0, 0.1);
}

.avatar svg,
.metric-icon svg,
.wallet-pill svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.profile strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile span {
  color: var(--muted);
  font-size: 0.76rem;
}

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

.nav button,
.support-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  color: #dce5f0;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: left;
}

.nav button.active {
  border-color: rgba(168, 224, 0, 0.38);
  background: linear-gradient(90deg, rgba(168, 224, 0, 0.2), rgba(168, 224, 0, 0.055));
  color: var(--green);
  box-shadow: var(--glow);
}

.support {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.support > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.support-tile {
  justify-content: space-between;
  min-height: 52px;
  border-color: rgba(255, 255, 255, 0.1);
}

.main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(90deg, rgba(1, 3, 3, 0.9), rgba(10, 15, 20, 0.84)),
    rgba(1, 3, 3, 0.84);
  padding: 0 20px;
  backdrop-filter: blur(18px);
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.content {
  width: min(100% - 52px, 1520px);
  margin: 0 auto;
  padding: 28px 0 58px;
}

.page-head {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 0%, rgba(168, 224, 0, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(20, 29, 40, 0.78), rgba(4, 7, 10, 0.92));
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.page-title {
  max-width: 820px;
  font-size: clamp(1.75rem, 2.45vw, 2.7rem);
}

.page-subtitle {
  max-width: 740px;
  margin: 10px 0 0;
  font-size: 0.94rem;
}

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

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.panel,
.metric,
.item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% 0%, rgba(168, 224, 0, 0.1), transparent 30%),
    linear-gradient(145deg, rgba(20, 29, 40, 0.9), rgba(6, 9, 12, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.panel {
  padding: 20px;
}

.panel-hero {
  border-color: rgba(168, 224, 0, 0.2);
  background:
    radial-gradient(circle at 92% 0%, rgba(168, 224, 0, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(22, 34, 18, 0.72), rgba(5, 8, 10, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 70px rgba(0, 0, 0, 0.34),
    var(--glow);
}

.panel-muted {
  background:
    linear-gradient(145deg, rgba(15, 22, 30, 0.74), rgba(4, 7, 10, 0.92));
}

.panel h2,
.panel h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.15;
}

.metric {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  min-height: 108px;
  padding: 14px;
}

.metric-icon,
.iconbox {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(168, 224, 0, 0.26);
  border-radius: var(--radius);
  background: rgba(168, 224, 0, 0.1);
  color: var(--green);
}

.metric span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.metric strong {
  display: block;
  margin: 2px 0 4px;
  color: #fff;
  font-size: clamp(1.2rem, 1.5vw, 1.72rem);
  line-height: 1.02;
}

.metric p,
.panel p,
.item p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.tabs,
.filters,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tabs {
  margin: 16px 0 20px;
}

.btn,
.tab {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(12, 18, 24, 0.92);
  color: #fff;
  padding: 0 12px;
  font-size: 0.8rem;
  font-weight: 950;
}

.btn.primary,
.tab.active {
  border-color: rgba(195, 255, 18, 0.58);
  background: linear-gradient(180deg, var(--green-2), var(--green) 58%, var(--green-3));
  color: #071008;
  box-shadow: 0 12px 30px rgba(168, 224, 0, 0.16);
}

.btn.ghost {
  color: var(--muted);
}

.btn.danger {
  border-color: rgba(255, 93, 114, 0.38);
  color: #ff8b9a;
}

.btn.warn {
  border-color: rgba(247, 201, 72, 0.38);
  color: var(--amber);
}

.item {
  display: grid;
  gap: 10px;
  padding: 16px;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.item:hover {
  border-color: rgba(168, 224, 0, 0.22);
  background:
    radial-gradient(circle at 96% 0%, rgba(168, 224, 0, 0.1), transparent 28%),
    linear-gradient(145deg, rgba(20, 29, 40, 0.9), rgba(6, 9, 12, 0.96));
}

.item + .item {
  margin-top: 12px;
}

.item-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.item h3 {
  margin: 0;
  font-size: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--green);
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 950;
  white-space: nowrap;
}

.badge.amber { color: var(--amber); }
.badge.red { color: var(--red); }
.badge.blue { color: var(--blue); }
.badge.gray { color: var(--muted); }

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

.empty {
  display: grid;
  min-height: 160px;
  place-items: center;
  border: 1px dashed rgba(168, 224, 0, 0.28);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

.wallet-pill {
  display: grid;
  grid-template-columns: 34px auto;
  column-gap: 9px;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(168, 224, 0, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(168, 224, 0, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(12, 18, 24, 0.92);
  padding: 6px 12px 6px 7px;
}

.wallet-pill svg {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(168, 224, 0, 0.28);
  border-radius: var(--radius);
  padding: 7px;
  color: var(--green);
  background: rgba(168, 224, 0, 0.08);
}

.wallet-pill span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
}

.wallet-pill strong {
  color: #fff;
  font-size: 0.92rem;
  line-height: 1;
}

.alert {
  margin: 0 0 14px;
  border: 1px solid rgba(255, 93, 114, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 93, 114, 0.09);
  color: #ff8b9a;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 850;
}

.ok {
  border-color: rgba(168, 224, 0, 0.38);
  background: rgba(168, 224, 0, 0.1);
  color: var(--green);
}

.table-list {
  display: grid;
  gap: 10px;
}

.mono {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem;
}

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

  .sidebar {
    position: relative;
    height: auto;
  }

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

  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .auth-page {
    padding: 14px;
  }

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

  .auth-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px;
  }

  .auth-form {
    padding: 24px;
  }

  .content {
    width: min(100% - 24px, 1520px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
  }

  .top-actions {
    width: 100%;
    justify-content: flex-start;
  }

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

  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-12 {
    grid-column: 1;
  }
}

/* Bustrax premium product layer — 2026-07-12 */
:root {
  --bg: #030604;
  --panel: #0b120f;
  --panel-2: #101914;
  --panel-3: #17221b;
  --surface-glass: rgba(12, 19, 15, 0.84);
  --line: rgba(226, 255, 232, 0.1);
  --line-strong: rgba(196, 255, 18, 0.24);
  --green: #b7f500;
  --green-2: #d4ff4d;
  --green-3: #78b800;
  --text: #f4f8f2;
  --muted: #a7b4a9;
  --muted-2: #718078;
  --radius: 16px;
  --radius-sm: 11px;
  --sidebar: 264px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-panel: 0 24px 80px rgba(0, 0, 0, 0.26);
  color-scheme: dark;
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 78% -10%, rgba(183, 245, 0, 0.14), transparent 34rem),
    radial-gradient(circle at 5% 80%, rgba(72, 150, 92, 0.08), transparent 30rem),
    linear-gradient(rgba(183, 245, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 245, 0, 0.02) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
}

button, .btn, a, input, select, textarea { touch-action: manipulation; }
button:focus-visible, .btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(212, 255, 77, 0.75);
  outline-offset: 3px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}
.span-full { grid-column: 1 / -1; }
.full { width: 100%; justify-content: center; }

.sidebar {
  padding: 20px 16px;
  background:
    linear-gradient(180deg, rgba(17, 27, 21, 0.97), rgba(4, 8, 6, 0.99)),
    var(--bg);
  box-shadow: 18px 0 60px rgba(0, 0, 0, 0.2);
  z-index: 40;
}
.sidebar-brand { display: flex; align-items: center; justify-content: space-between; }
.sidebar-brand .brand { margin-bottom: 20px; }
.sidebar-brand .brand img { width: 202px; }
.sidebar-close, .mobile-menu, .nav-scrim { display: none; }
.profile {
  min-height: 92px;
  border-color: var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(29, 44, 34, 0.88), rgba(8, 13, 10, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 50px rgba(0, 0, 0, 0.18);
}
.nav { gap: 6px; }
.nav button {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 11px;
  border-radius: 12px;
  padding: 0 13px;
}
.nav button > span { display: grid; width: 22px; place-items: center; color: var(--muted-2); }
.nav button > span svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.nav button.active > span { color: var(--green); }

.topbar {
  min-height: 76px;
  border-bottom-color: var(--line);
  padding: 13px clamp(18px, 2.5vw, 42px);
  background: rgba(3, 7, 5, 0.76);
  backdrop-filter: blur(22px) saturate(130%);
}
.topbar-start, .top-actions, .page-kicker, .panel-title-row, .form-actions { display: flex; align-items: center; }
.topbar-start, .page-kicker { gap: 12px; }
.workspace-status, .secure-chip, .verified-chip, .demo-badge, .count-chip, .category-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 7px 10px;
}
.workspace-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }
.secure-chip svg, .verified-chip svg { width: 14px; height: 14px; fill: none; stroke: var(--green); stroke-width: 2; }
.notification-button, .mobile-menu, .refresh-button {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}
.notification-button { position: relative; }
.notification-button svg, .refresh-button svg, .mobile-menu svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notification-button b { position: absolute; top: -6px; right: -6px; display: grid; min-width: 20px; height: 20px; place-items: center; border: 2px solid var(--bg); border-radius: 999px; background: var(--green); color: #0b1105; font-size: 0.62rem; }
.notification-button.has-unread { color: var(--green); border-color: var(--line-strong); box-shadow: 0 0 26px rgba(183, 245, 0, 0.1); }
.refresh-button { display: inline-flex; gap: 8px; padding: 0 14px; }

.content { width: min(100% - clamp(32px, 5vw, 80px), 1540px); padding-bottom: 72px; }
.page-head {
  position: relative;
  overflow: hidden;
  min-height: 164px;
  border-radius: 22px;
  padding: clamp(24px, 3.4vw, 42px);
  background:
    radial-gradient(circle at 84% 22%, rgba(183, 245, 0, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(18, 29, 22, 0.94), rgba(7, 12, 9, 0.98));
  box-shadow: var(--shadow-panel);
}
.page-head::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid var(--line-strong); border-radius: inherit; mask-image: linear-gradient(120deg, black, transparent 72%); }
.page-kicker { justify-content: space-between; }
.page-title { max-width: 900px; margin-top: 12px; letter-spacing: -0.035em; }
.page-subtitle { max-width: 760px; margin-bottom: 0; }

.panel, .metric, .item {
  border-color: var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(17, 27, 21, 0.93), rgba(7, 12, 9, 0.97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 18px 48px rgba(0, 0, 0, 0.16);
}
.panel { padding: clamp(18px, 2.2vw, 28px); }
.panel-hero { background: radial-gradient(circle at 100% 0, rgba(183, 245, 0, 0.11), transparent 32%), linear-gradient(145deg, rgba(18, 30, 21, 0.97), rgba(7, 12, 9, 0.98)); }
.panel-title-row { justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.panel-title-row h2 { margin: 4px 0; }
.panel-title-row p { margin: 0; }
.step-kicker { color: var(--green); font-size: 0.69rem; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.metric { min-height: 126px; padding: 20px; }
.metric strong { font-variant-numeric: tabular-nums; letter-spacing: -0.025em; }
.metric-icon { border-radius: 12px; background: linear-gradient(145deg, rgba(183, 245, 0, 0.15), rgba(183, 245, 0, 0.04)); }
.item { padding: 19px; }
.item + .item { margin-top: 11px; }
.item h3 { letter-spacing: -0.01em; }

.btn, .tab {
  min-height: 44px;
  border-radius: 11px;
  font-weight: 850;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.btn.primary {
  border-color: transparent;
  background: linear-gradient(180deg, #ceff34, #9fe000);
  color: #0a1104;
  box-shadow: 0 10px 26px rgba(164, 229, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn.primary:hover { box-shadow: 0 14px 34px rgba(164, 229, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.58); }
.btn:active, .tab:active, .notification-button:active { transform: translateY(0) scale(0.98); }
.btn[disabled], button[disabled] { cursor: not-allowed; opacity: 0.46; transform: none !important; box-shadow: none !important; }
.is-busy { cursor: progress; }
.is-busy button { pointer-events: none; }

.field { gap: 8px; }
.field label { color: #c6d1c7; font-size: 0.8rem; }
.field small { color: var(--muted-2); font-size: 0.73rem; line-height: 1.45; }
.field input, .field textarea, .field select, .list-filters input, .list-filters select {
  min-height: 48px;
  border-color: rgba(224, 255, 229, 0.13);
  border-radius: 11px;
  background: rgba(2, 6, 4, 0.82);
  padding: 11px 13px;
}
.field textarea { min-height: 116px; }
.password-field { position: relative; }
.password-field input { padding-right: 92px; }
.password-toggle { position: absolute; top: 5px; right: 5px; min-height: 38px; border: 0; border-radius: 8px; background: rgba(183, 245, 0, 0.08); color: var(--green); padding: 0 11px; font-size: 0.74rem; font-weight: 850; }
.rate-readonly > div { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(183, 245, 0, 0.055); padding: 10px 13px; }
.rate-readonly span { color: var(--muted); font-size: 0.72rem; }

.platform-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-picker label { cursor: pointer; }
.platform-picker input { position: absolute; opacity: 0; pointer-events: none; }
.platform-picker span { display: inline-flex; min-height: 42px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.025); color: var(--muted); padding: 0 13px; }
.platform-picker input:checked + span { border-color: var(--line-strong); background: rgba(183, 245, 0, 0.11); color: var(--green); box-shadow: inset 0 0 0 1px rgba(183, 245, 0, 0.06); }
.platform-picker input:focus-visible + span { outline: 3px solid rgba(212, 255, 77, 0.75); outline-offset: 3px; }
.campaign-estimate { display: grid; gap: 6px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(135deg, rgba(183, 245, 0, 0.1), rgba(183, 245, 0, 0.025)); padding: 18px; }
.campaign-estimate span, .campaign-estimate small { color: var(--muted); }
.form-actions { gap: 10px; justify-content: flex-end; }

.campaign-progress { height: 5px; overflow: hidden; margin-top: 16px; border-radius: 99px; background: rgba(255, 255, 255, 0.065); }
.campaign-progress span { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-3), var(--green-2)); box-shadow: 0 0 14px rgba(183, 245, 0, 0.35); }
.campaign-progress-meta { display: flex; justify-content: space-between; margin: 7px 0 14px; color: var(--muted); }
.campaign-progress-meta b { color: var(--text); font-size: 0.74rem; }
.inline-warning { margin: 14px 0; border-left: 3px solid var(--amber); border-radius: 8px; background: rgba(247, 201, 72, 0.07); color: #e9d99b; padding: 10px 12px; font-size: 0.82rem; }
.list-filters { display: flex; gap: 8px; }
.list-filters input { width: min(230px, 34vw); }
.list-filters select { width: auto; }

.marketplace-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.marketplace-card { display: flex; min-height: 420px; flex-direction: column; gap: 12px; margin: 0 !important; }
.marketplace-card > p { flex: 1; }
.marketplace-card .item-head { align-items: center; }
.verified-chip { color: #c9e8ce; padding: 5px 8px; }
.category-chip { border-color: rgba(114, 167, 255, 0.22); color: #a9c6ff; background: rgba(114, 167, 255, 0.06); padding: 5px 8px; }
.offer-rate { display: grid; gap: 3px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(183, 245, 0, 0.055); padding: 13px; }
.offer-rate span, .offer-rate small { color: var(--muted); font-size: 0.72rem; font-weight: 700; }
.offer-rate b { color: var(--green-2); font-size: 1.2rem; }
.campaign-facts, .platform-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.campaign-facts span, .platform-tags span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.72rem; }
.campaign-facts svg { width: 15px; height: 15px; fill: none; stroke: var(--green); stroke-width: 1.8; }
.platform-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px; }
.marketplace-card details { border-top: 1px solid var(--line); padding-top: 10px; }
.marketplace-card summary { cursor: pointer; color: #dce5dc; font-size: 0.78rem; font-weight: 800; }
.marketplace-card details p { color: var(--muted); font-size: 0.78rem; }

.author-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 12px 0; }
.author-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: linear-gradient(145deg, rgba(183, 245, 0, 0.18), rgba(183, 245, 0, 0.04)); color: var(--green); font-weight: 900; }
.author-row b, .author-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.author-row small { margin-top: 3px; color: var(--muted); font-size: 0.67rem; }
.count-chip { color: var(--green); min-width: 34px; justify-content: center; }

.demo-badge { border-color: rgba(247, 201, 72, 0.3); background: rgba(247, 201, 72, 0.08); color: var(--amber); letter-spacing: 0.08em; }
.amount-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.amount-presets button { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.025); color: var(--muted); font-weight: 800; }
.amount-presets button:hover, .amount-presets button.active { border-color: var(--line-strong); background: rgba(183, 245, 0, 0.1); color: var(--green); }
.demo-checkout { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.demo-checkout > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: rgba(183, 245, 0, 0.1); color: var(--green); }
.demo-checkout svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.demo-checkout b, .demo-checkout small { display: block; }
.demo-checkout small, .cashier-footnote { color: var(--muted); font-size: 0.7rem; }
.transaction-row { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; }
.transaction-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: rgba(183, 245, 0, 0.08); color: var(--green); }
.transaction-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.notification-list { display: grid; gap: 9px; }
.notification-item { display: grid; width: 100%; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; align-items: start; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.018); color: var(--text); padding: 14px; text-align: left; }
.notification-item.is-unread { border-color: var(--line-strong); background: linear-gradient(100deg, rgba(183, 245, 0, 0.085), rgba(183, 245, 0, 0.018)); }
.notification-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: rgba(183, 245, 0, 0.09); color: var(--green); }
.notification-mark svg, .empty-state svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.notification-item b, .notification-item small, .notification-item time { display: block; }
.notification-item small { margin: 4px 0 8px; color: var(--muted); line-height: 1.45; }
.notification-item time { color: var(--muted-2); font-size: 0.68rem; }
.empty-state { display: grid; min-height: 230px; place-items: center; align-content: center; gap: 8px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); padding: 24px; text-align: center; }
.empty-state svg { color: var(--green); width: 28px; height: 28px; }
.empty-state b { color: var(--text); }
.empty-state.compact { min-height: 150px; }

.action-dialog { width: min(100% - 28px, 560px); border: 0; background: transparent; color: var(--text); padding: 0; }
.action-dialog::backdrop { background: rgba(0, 0, 0, 0.68); backdrop-filter: blur(8px); }
.dialog-card { display: grid; gap: 18px; border: 1px solid var(--line-strong); border-radius: 20px; background: radial-gradient(circle at 100% 0, rgba(183, 245, 0, 0.12), transparent 36%), #0b120e; box-shadow: 0 32px 120px rgba(0, 0, 0, 0.55); padding: 26px; animation: dialog-in 260ms var(--ease-out); }
.dialog-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: rgba(183, 245, 0, 0.1); color: var(--green); }
.dialog-icon.danger { background: rgba(255, 93, 114, 0.1); color: var(--red); }
.dialog-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dialog-copy h2 { margin: 5px 0; }
.dialog-copy p { margin: 0; color: var(--muted); line-height: 1.5; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; }

.auth-page { position: relative; overflow: hidden; background: radial-gradient(circle at 20% 10%, rgba(183, 245, 0, 0.12), transparent 32rem); }
.auth-ambient { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.auth-ambient-one { top: -200px; right: -100px; width: 520px; height: 520px; border: 1px solid rgba(183, 245, 0, 0.1); box-shadow: inset 0 0 100px rgba(183, 245, 0, 0.04); }
.auth-ambient-two { bottom: -300px; left: -200px; width: 620px; height: 620px; border: 1px solid rgba(183, 245, 0, 0.06); }
.auth-card { position: relative; width: min(100%, 1120px); border-radius: 24px; box-shadow: 0 44px 150px rgba(0, 0, 0, 0.5); }
.auth-side, .auth-form { padding: clamp(28px, 4vw, 54px); }
.auth-side h1 { max-width: 560px; letter-spacing: -0.035em; }
.auth-proof { display: grid; gap: 10px; margin: 28px 0; }
.auth-proof > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 11px; }
.auth-proof svg { width: 19px; height: 19px; fill: none; stroke: var(--green); stroke-width: 1.8; }
.auth-proof b, .auth-proof small { display: block; }
.auth-proof small { margin-top: 2px; color: var(--muted); }
.auth-form-head h2 { margin: 6px 0; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.035em; }
.auth-form-head p { margin: 0; color: var(--muted); }
.auth-submit { justify-content: space-between; padding: 0 17px; }
.auth-submit i { font-style: normal; font-size: 1.2rem; }
.auth-note { margin: 0; font-size: 0.72rem; text-align: center; }

@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.content > .page-head, .content > .grid, .content > .panel, .content > .tabs { animation: panel-in 420ms var(--ease-out) both; }
.content > .grid { animation-delay: 55ms; }

@media (max-width: 1100px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 310px); height: 100dvh; transform: translateX(-105%); transition: transform 260ms var(--ease-out); }
  .nav-open .sidebar { transform: translateX(0); }
  .sidebar-close, .mobile-menu { display: inline-grid; }
  .sidebar-close { width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, 0.03); color: var(--text); font-size: 1.5rem; }
  .nav-scrim { position: fixed; inset: 0; z-index: 35; border: 0; background: rgba(0, 0, 0, 0.58); backdrop-filter: blur(5px); }
  .nav-open .nav-scrim { display: block; }
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .span-3 { grid-column: span 6; }
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; }
}

@media (max-width: 720px) {
  .auth-page { padding: 12px; }
  .auth-card { grid-template-columns: 1fr; border-radius: 18px; }
  .auth-side { border: 0; border-bottom: 1px solid var(--line); }
  .auth-side, .auth-form { padding: 24px 20px; }
  .auth-proof { display: none; }
  .auth-side .brand { margin-bottom: 24px; }
  .auth-side h1 { font-size: 2.35rem; }
  .topbar { min-height: 66px; align-items: center; flex-direction: row; padding: 10px 12px; }
  .workspace-status { display: none; }
  .top-actions { width: auto; margin-left: auto; flex-wrap: nowrap; }
  .top-actions > .btn.primary, .refresh-button span, .wallet-pill > span { display: none; }
  .wallet-pill { min-height: 44px; padding: 6px 9px; }
  .wallet-pill strong { font-size: 0.78rem; }
  .content { width: min(100% - 20px, 1540px); padding-top: 12px; }
  .page-head { min-height: auto; border-radius: 16px; padding: 20px; }
  .page-title { font-size: clamp(2rem, 11vw, 3rem); }
  .page-kicker { align-items: flex-start; flex-direction: column; }
  .secure-chip { display: none; }
  .grid, .split, .marketplace-grid { grid-template-columns: 1fr; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: 1; }
  .panel { padding: 17px; }
  .panel-title-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .list-filters { width: 100%; flex-direction: column; }
  .list-filters input, .list-filters select { width: 100%; }
  .metric { min-height: 112px; }
  .marketplace-card { min-height: auto; }
  .form-actions, .dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .btn, .dialog-actions .btn { width: 100%; justify-content: center; }
  .platform-picker span { min-height: 44px; }
  .action-dialog { max-height: calc(100dvh - 20px); overflow: auto; }
  .dialog-card { border-radius: 16px; padding: 20px; }
}

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