﻿:root{
  --bg:#0b0f14;
  --panel:#0f141b;
  --panel-2:#111a22;
  --card:#101822;
  --text:#e6edf3;
  --muted:#9aa7b2;
  --border:rgba(170,195,210,.12);
  --accent:#4ce3b1;
  --accent-2:#7dffda;
  --olive:#7c8b3a;
  --danger:#ff6b6b;
  --warn:#fbbf24;
  --shadow:0 18px 45px rgba(0,0,0,.45);
  --glow:0 0 0 1px rgba(76,227,177,.18), 0 0 30px rgba(76,227,177,.08);
  --radius:16px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:'Bahnschrift','Segoe UI','Inter',system-ui,sans-serif;
  background:
    radial-gradient(900px 700px at 15% 0%, rgba(76,227,177,.10), transparent 55%),
    radial-gradient(900px 700px at 85% 0%, rgba(124,139,58,.12), transparent 55%),
    linear-gradient(180deg, #070a0d, var(--bg));
  color:var(--text);
}
a{color:inherit; text-decoration:none}
button{font:inherit}
.grid-overlay{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.07;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size:42px 42px;
  mask-image: radial-gradient(700px 700px at 50% 0%, black 40%, transparent 70%);
}
.app{
  display:grid;
  grid-template-columns:280px 1fr;
  min-height:100vh;
}
@media (max-width:1080px){
  .app{grid-template-columns:1fr}
  .sidebar{position:relative; height:auto}
}
.sidebar{
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 30%), var(--panel);
  border-right:1px solid var(--border);
  padding:18px;
  position:sticky;
  top:0;
  height:100vh;
  overflow:auto;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:14px;
  background: rgba(255,255,255,.02);
  box-shadow: var(--glow);
}
.brand__logo{
  width:42px; height:42px;
  border-radius:12px;
  background:
    radial-gradient(16px 16px at 30% 30%, rgba(125,255,218,.95), transparent 60%),
    linear-gradient(135deg, rgba(76,227,177,.95), rgba(124,139,58,.55));
  border:1px solid rgba(76,227,177,.25);
  box-shadow: 0 10px 25px rgba(0,0,0,.55);
}
.brand__name{font-weight:800; letter-spacing:.06em; text-transform:uppercase; font-size:13px;}
.brand__sub{font-size:12px; color:var(--muted); margin-top:3px;}

.nav{
  margin-top:16px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.nav__section{
  margin-top:14px;
  font-size:11px;
  color:rgba(154,167,178,.8);
  text-transform:uppercase;
  letter-spacing:.16em;
  padding:8px 10px;
}
.nav__item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid transparent;
  cursor:pointer;
  user-select:none;
  background: rgba(255,255,255,.01);
}
.nav__item:hover{
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.05);
}
.nav__item.active{
  background: rgba(76,227,177,.10);
  border-color: rgba(76,227,177,.20);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25) inset;
}
.chev{
  margin-left:auto;
  opacity:.55;
  font-size:12px;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(154,167,178,.25);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}
.nav__item.active .dot{
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(76,227,177,.25), 0 0 18px rgba(76,227,177,.18);
}
.sidebar__footer{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--border);
  display:flex;
  gap:12px;
  align-items:center;
}
.avatar{
  width:42px; height:42px;
  border-radius:999px;
  background: rgba(76,227,177,.10);
  border:1px solid rgba(76,227,177,.22);
  display:grid;
  place-items:center;
  font-weight:800;
  color: var(--accent-2);
  letter-spacing:.06em;
  box-shadow: 0 0 24px rgba(76,227,177,.10);
}
.who{display:flex; flex-direction:column}
.who small{color:var(--muted)}

.main{
  padding:24px;
  max-width:1240px;
  width:100%;
  margin:0 auto;
}
.topbar{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}
.title h1{
  margin:0;
  font-size:22px;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.title p{
  margin:4px 0 0;
  color:var(--muted);
}
.breadcrumbs{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--muted);
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background: rgba(76,227,177,.12);
  color:var(--accent);
  border:1px solid rgba(76,227,177,.20);
  border-radius:999px;
  padding:6px 10px;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:11px;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  color:var(--text);
  cursor:pointer;
  transition:all .15s ease;
}
.btn:hover{border-color: rgba(255,255,255,.15);}
.btn-primary{
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color:#041510;
  border-color: rgba(76,227,177,.45);
  box-shadow: var(--glow);
}
.btn-ghost{background: rgba(255,255,255,.04);}

.hero{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:18px;
  padding:22px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background: linear-gradient(135deg, rgba(76,227,177,.08), rgba(12,18,28,.85));
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero:after{
  content:"";
  position:absolute;
  inset:-20% 50% auto auto;
  width:320px;
  height:320px;
  background: radial-gradient(180px 180px at 50% 50%, rgba(124,139,58,.18), transparent 70%);
  filter: blur(12px);
  opacity:.6;
}
.hero__title{
  margin:10px 0 6px;
  font-size:28px;
  letter-spacing:.04em;
}
.hero__text{
  margin:0 0 14px;
  color:var(--muted);
}
.hero__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.stat-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;
  margin:14px 0;
}
.stat{
  padding:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  border-radius:12px;
}
.stat__label{
  font-size:13px;
  color:var(--muted);
  margin-bottom:4px;
}
.stat__value{
  font-size:22px;
  font-weight:700;
  letter-spacing:.02em;
}
.stat__trend{
  font-size:13px;
  color:var(--accent);
}

.panel{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.panel__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.panel__title{
  margin:0;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:15px;
}
.panel__desc{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;
}
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  box-shadow: var(--shadow);
  transition:transform .15s ease, border-color .15s ease;
}
.card:hover{
  transform:translateY(-2px);
  border-color: rgba(76,227,177,.35);
}
.card__title{margin:0; font-size:16px;}
.card__meta{color:var(--muted); font-size:13px;}

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
  font-size:12px;
}
.pill--success{
  background: rgba(76,227,177,.12);
  border-color: rgba(76,227,177,.30);
  color:var(--accent);
}
.pill--warn{
  background: rgba(251,191,36,.12);
  border-color: rgba(251,191,36,.25);
  color:var(--warn);
}
.pill--danger{
  background: rgba(255,107,107,.12);
  border-color: rgba(255,107,107,.25);
  color:var(--danger);
}

.list{
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}
.list__item{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  background: rgba(255,255,255,.02);
}
.list__title{font-weight:600;}
.list__meta{color:var(--muted); font-size:13px;}

.timeline{
  border-left:2px solid rgba(76,227,177,.25);
  padding-left:12px;
  display:grid;
  gap:10px;
}
.timeline__item{
  position:relative;
  padding-left:8px;
}
.timeline__item:before{
  content:"";
  position:absolute;
  left:-19px;
  top:6px;
  width:10px;
  height:10px;
  border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(76,227,177,.12);
}
.timeline__time{font-size:12px; color:var(--muted);}
.timeline__title{margin:2px 0; font-weight:600;}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  color:var(--text);
}
.table th, .table td{
  padding:10px 12px;
  border-bottom:1px solid var(--border);
  text-align:left;
  font-size:14px;
}
.table th{
  color:var(--muted);
  letter-spacing:.02em;
  text-transform:uppercase;
  font-size:12px;
}
.table tr:hover td{
  background: rgba(255,255,255,.02);
}
.status-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  display:inline-block;
  margin-right:8px;
}
.status-ok{background: var(--accent);}
.status-warn{background: var(--warn);}
.status-bad{background: var(--danger);}

.split{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap:14px;
}

small.muted{color:var(--muted);}
.muted{color:var(--muted);}
.highlight-box{
  border:1px dashed rgba(76,227,177,.30);
  padding:14px;
  border-radius:12px;
  background: rgba(76,227,177,.06);
  color:var(--text);
}

.form-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap:12px;
}
.input{
  width:100%;
  background: var(--panel-2);
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px 12px;
  color:var(--text);
}
.switch-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  border-bottom:1px solid var(--border);
}
.checkbox{width:18px; height:18px;}
