:root{
  --bg:#20263a;
  --panel:#2a324a;
  --stroke:rgba(255,255,255,.08);
  --text:#e9eefc;
  --muted:rgba(233,238,252,.70);
  --accent:#1fb6aa;
  --accent2:#2a63ff;
  --warn:#ffb020;
  --bad:#ff4d5a;
  --good:#2dd36f;
}

html, body { background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }

.app-shell{ display:flex; min-height:100vh; }
.sidebar{
  width: 260px;
  background: linear-gradient(180deg, #1b2134 0%, #161b2a 100%);
  border-right: 1px solid var(--stroke);
  padding: 18px 14px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.6px;
  margin: 6px 6px 18px;
}
.brand-badge{
  width:34px; height:34px; border-radius:10px;
  background: radial-gradient(circle at 30% 30%, var(--accent) 0%, rgba(31,182,170,.15) 55%, rgba(31,182,170,0) 70%);
  border:1px solid rgba(31,182,170,.35);
}
.usercard{
  display:flex; gap:10px; align-items:center;
  background: rgba(255,255,255,.04);
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:10px;
  margin: 0 6px 16px;
}
.userpic{ width:34px; height:34px; border-radius:12px; background: rgba(255,255,255,.10); border:1px solid var(--stroke); }
.userrole{ font-size:12px; color: var(--muted); margin-top:-2px; }
.navbtn{
  display:flex; align-items:center; gap:10px;
  padding: 10px 12px;
  margin: 6px;
  border-radius: 12px;
  border:1px solid transparent;
  color: rgba(233,238,252,.9);
}
.navbtn:hover{ background: rgba(255,255,255,.05); border-color: var(--stroke); }
.navbtn.active{ background: rgba(42,99,255,.18); border-color: rgba(42,99,255,.35); }

.content{ flex:1; padding: 18px 18px 28px; }

.topbar{
  display:flex; align-items:center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.filters{ display:flex; gap:10px; flex-wrap: wrap; }
.filterbox{
  background: rgba(255,255,255,.04);
  border:1px solid var(--stroke);
  border-radius: 14px;
  padding: 10px 12px;
}
.page-title{ font-size: 18px; font-weight: 800; letter-spacing: .3px; }

.panel{
  background: rgba(255,255,255,.04);
  border:1px solid var(--stroke);
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.kpi-title{ color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .7px;}
.kpi-value{ font-size: 34px; font-weight: 800; margin-top: 2px; }
.kpi-sub{ margin-top: 6px; color: var(--muted); font-size: 12px; }

.hr{ height:1px; background: var(--stroke); margin: 12px 0; }

.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner{
  background: transparent !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 14px !important;
}
