:root{
  --bg0:#070A12; --bg1:#0B1020;
  --glass:rgba(255,255,255,.06); --glassBorder:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92); --muted:rgba(255,255,255,.62);
  --accent:#7C5CFF; --accent2:#19D3FF;
  --ok:#3EE6A8; --warn:#FFCC66; --bad:#FF5C7A;
  --shadow: 0 10px 40px rgba(0,0,0,.35);
  --radius: 18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Inter, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(900px 600px at 20% 10%, rgba(124,92,255,.20), transparent 60%),
              radial-gradient(700px 500px at 80% 20%, rgba(25,211,255,.14), transparent 60%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}
.bg{
  position:fixed; inset:0;
  background:
    radial-gradient(900px 600px at 10% 30%, rgba(124,92,255,.12), transparent 60%),
    radial-gradient(700px 500px at 90% 10%, rgba(25,211,255,.10), transparent 60%);
  pointer-events:none; z-index:-1;
}
.container{width:min(1120px, calc(100% - 32px)); margin:0 auto}
.topbar{
  position:sticky; top:0;
  backdrop-filter: blur(12px);
  background: rgba(7,10,18,.50);
  border-bottom:1px solid rgba(255,255,255,.08);
  z-index:10;
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; gap:10px; align-items:center; text-decoration:none; color:var(--text)}
.brand__logo{width:22px; height:22px; opacity:.95}
.brand__name{font-weight:700; letter-spacing:.2px}
.topnav{display:flex; gap:14px; align-items:center}
.topnav__link{color:var(--muted); text-decoration:none; padding:8px 10px; border-radius:10px}
.topnav__link:hover{color:var(--text); background:rgba(255,255,255,.05)}
main{padding:28px 0}
.footer{border-top:1px solid rgba(255,255,255,.08); background: rgba(7,10,18,.35); backdrop-filter: blur(10px)}
.footer__inner{padding:16px 0; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap}
.muted{color:var(--muted)}
.grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:18px}
@media (max-width: 940px){ .grid{grid-template-columns:1fr} }
.card{border-radius: var(--radius); padding:18px; box-shadow: var(--shadow)}
.card--glass{background: var(--glass); border:1px solid var(--glassBorder); backdrop-filter: blur(14px)}
.h1{font-size:44px; line-height:1.05; margin:0 0 12px}
.h2{font-size:28px; line-height:1.15; margin:0 0 10px}
.p{margin:0 0 12px; color:var(--muted); line-height:1.55}
.kpis{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px}
@media (max-width: 760px){ .kpis{grid-template-columns:1fr} }
.kpi{padding:14px; border-radius: 16px; background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08)}
.kpi__title{color:var(--muted); font-size:13px; margin:0 0 6px}
.kpi__value{font-size:16px; margin:0; font-weight:650}
.btn{appearance:none; border:0; cursor:pointer; border-radius: 14px; padding:12px 14px; font-weight:650; color:var(--text)}
.btn--primary{background: linear-gradient(135deg, rgba(124,92,255,1), rgba(25,211,255,.85)); box-shadow: 0 10px 28px rgba(124,92,255,.20)}
.btn--primary:hover{filter:brightness(1.02)}
.btn--glass{background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12)}
.btn--glass:hover{background: rgba(255,255,255,.08)}
.btn--sm{padding:9px 11px; border-radius:12px}
.btn[disabled]{opacity:.45; cursor:not-allowed}
.row{display:flex; gap:12px; align-items:center; flex-wrap:wrap}
.spacer{height:10px}
.hr{height:1px; background: rgba(255,255,255,.10); margin:14px 0}
.field{display:flex; flex-direction:column; gap:6px; margin:0 0 12px}
.label{font-size:13px; color:var(--muted)}
.input{padding:12px 12px; border-radius: 14px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color:var(--text); outline:none}
.input:focus{border-color: rgba(124,92,255,.55); box-shadow: 0 0 0 3px rgba(124,92,255,.18)}
.badge{display:inline-flex; align-items:center; gap:8px; border-radius:999px; padding:7px 10px; font-size:13px; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.05)}
.dot{width:8px; height:8px; border-radius:50%}
.badge--ok .dot{background:var(--ok)}
.badge--bad .dot{background:var(--bad)}
.badge--warn .dot{background:var(--warn)}
.table{width:100%; border-collapse:separate; border-spacing:0 10px}
.table th{text-align:left; font-size:12px; color:var(--muted); font-weight:650; padding:0 10px 6px}
.table td{padding:12px 10px; background: rgba(255,255,255,.05); border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08)}
.table tr td:first-child{border-left:1px solid rgba(255,255,255,.08); border-top-left-radius:14px; border-bottom-left-radius:14px}
.table tr td:last-child{border-right:1px solid rgba(255,255,255,.08); border-top-right-radius:14px; border-bottom-right-radius:14px}
.toast{
  position:fixed; left:50%; transform:translateX(-50%); bottom:18px;
  background: rgba(0,0,0,.55); border:1px solid rgba(255,255,255,.12);
  color:var(--text); padding:10px 12px; border-radius: 14px;
  backdrop-filter: blur(10px); box-shadow: var(--shadow);
  opacity:0; pointer-events:none; transition: opacity .18s ease;
  max-width:min(560px, calc(100% - 28px));
}
.toast--show{opacity:1}
.small{font-size:13px; color:var(--muted)}
.link{color:rgba(25,211,255,.92); text-decoration:none}
.link:hover{text-decoration:underline}

/* === click-fix override (added) === */
.bg { pointer-events: none !important; }
/* на всякий случай поднимем контент выше фона */
.topbar, main, .footer, #app { position: relative; z-index: 2; }
