:root{
  --bg:#0b1220; --panel:#0f1a2e; --card:#0f1f3a;
  --muted:#94a3b8; --text:#e5e7eb; --accent:#46f0c2; --accent2:#60a5fa;
  --danger:#fb7185; --ok:#34d399; --border:rgba(148,163,184,.18);
  --shadow: 0 16px 40px rgba(0,0,0,.35); --radius: 16px; --max: 1100px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1100px 600px at 20% 10%, rgba(96,165,250,.22), transparent 55%),
              radial-gradient(900px 500px at 80% 0%, rgba(70,240,194,.18), transparent 55%),
              linear-gradient(180deg, var(--bg), #070b14 70%);
  color:var(--text);
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:24px}
.nav{position:sticky; top:0; z-index:50; backdrop-filter: blur(10px); background: rgba(7,11,20,.65); border-bottom: 1px solid var(--border);}
.nav-inner{max-width:var(--max); margin:0 auto; padding:14px 24px; display:flex; align-items:center; gap:16px}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand-badge{width:40px; height:40px; border-radius:14px; background: linear-gradient(135deg, rgba(70,240,194,.25), rgba(96,165,250,.25)); border:1px solid var(--border); display:grid; place-items:center; box-shadow: var(--shadow);}
.brand-title{font-weight:750; letter-spacing:.2px}
.brand-sub{color:var(--muted); font-size:12px; margin-top:2px}
.nav-spacer{flex:1}
.nav-links{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.pill{padding:10px 12px; border-radius:999px; border:1px solid var(--border); background: rgba(15,31,58,.35); text-decoration:none; font-weight:600; font-size:14px}
.pill.primary{background: linear-gradient(135deg, rgba(70,240,194,.20), rgba(96,165,250,.20)); border-color: rgba(70,240,194,.32)}
.card{background: rgba(15,31,58,.55); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding:20px}
.hero{padding:28px 0 10px; display:grid; grid-template-columns: 1.2fr .8fr; gap:18px}
@media (max-width: 920px){ .hero{grid-template-columns:1fr} }
.h1{font-size:42px; line-height:1.05; margin:0 0 10px; letter-spacing:-.6px}
.h2{font-size:22px; margin:0 0 12px}
.lead{color:var(--muted); font-size:16px; line-height:1.6; margin:0}
.kpi{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}
.kpi .chip{border:1px solid var(--border); background: rgba(15,31,58,.4); border-radius: 999px; padding:10px 12px; font-size:13px; color: var(--muted)}
.kpi .chip b{color: var(--text)}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(15,31,58,.6); color: var(--text); font-weight:700; text-decoration:none; cursor:pointer}
.btn.primary{background: linear-gradient(135deg, rgba(70,240,194,.25), rgba(96,165,250,.20)); border-color: rgba(70,240,194,.32)}
.btn.small{padding:10px 12px; border-radius: 10px; font-size:14px}
.form{display:grid; gap:12px}
label{font-size:13px; color: var(--muted)}
input, select{width:100%; padding:12px 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(7,11,20,.40); color: var(--text); outline:none}
.alert{border: 1px solid var(--border); border-radius: 14px; padding:12px 12px; background: rgba(15,31,58,.45); color: var(--text)}
.alert.ok{border-color: rgba(52,211,153,.25); background: rgba(52,211,153,.10)}
.alert.bad{border-color: rgba(251,113,133,.25); background: rgba(251,113,133,.10)}
.small{font-size:13px; color: var(--muted)}
.table{width:100%; border-collapse: collapse; overflow:hidden; border-radius: 14px; border: 1px solid var(--border)}
.table th, .table td{padding:12px 12px; border-bottom: 1px solid var(--border); text-align:left; vertical-align:top}
.table th{font-size:12px; color: var(--muted); text-transform:uppercase; letter-spacing:.08em}
.code{font-family: var(--mono); font-size:12px; color: rgba(229,231,235,.9)}
.footer{padding:26px 0 40px; color: var(--muted); font-size:12px}

.chat{display:flex; flex-direction:column; gap:10px; height: 420px}
.chat-log{flex:1; overflow:auto; border:1px solid var(--border); border-radius: 14px; padding:12px; background: rgba(7,11,20,.35)}
.bubble{max-width: 85%; padding:10px 12px; border-radius: 14px; border:1px solid var(--border); margin:8px 0; line-height:1.45}
.bubble.bot{background: rgba(15,31,58,.55)}
.bubble.me{margin-left:auto; background: rgba(70,240,194,.10); border-color: rgba(70,240,194,.25)}
.chat-row{display:flex; gap:10px}
.chat-row input{flex:1}
.badge{display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; border:1px solid var(--border); background: rgba(15,31,58,.45); font-size:12px; color: var(--muted)}
.badge .dot{width:8px; height:8px; border-radius:99px; background: var(--accent); box-shadow: 0 0 0 3px rgba(70,240,194,.12)}

.topbar{
  position:sticky; top:0; z-index:60;
  background: rgba(7,11,20,.92);
  border-bottom: 1px solid var(--border);
}
.topbar-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 24px;
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:space-between;
}
.status-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(15,31,58,.45);
  font-size:12px;
  color: var(--muted);
}
.status-dot{
  width:10px; height:10px; border-radius:99px;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(52,211,153,.12);
}
.topbar-links{
  display:flex; gap:12px; align-items:center;
}
.topbar-links a{
  font-size:12px; color: var(--muted); text-decoration:none;
}
.topbar-links a:hover{ color: var(--text); }

.exec-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 860px){
  .exec-grid{ grid-template-columns: 1fr; }
}
.exec-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:14px;
  border:1px solid var(--border);
  border-radius:18px;
  background: rgba(15,31,58,.35);
}
.exec-img{
  width:120px;
  height:120px;
  border-radius:18px;
  border:1px solid var(--border);
  flex:0 0 auto;
}
.exec-meta{ flex:1 1 auto; }
.exec-name{ font-size:18px; font-weight:800; letter-spacing:-0.2px; }
.exec-title{ color: var(--muted); margin-top:2px; }
.exec-bio{ margin-top:10px; color: var(--text); line-height:1.45; }
.exec-email{ margin-top:10px; }

.suspicion-quiet{ border-color: rgba(148,163,184,.22); }
.suspicion-low{ border-color: rgba(251,191,36,.25); background: rgba(251,191,36,.08); }
.suspicion-medium{ border-color: rgba(249,115,22,.28); background: rgba(249,115,22,.08); }
.suspicion-high{ border-color: rgba(244,63,94,.28); background: rgba(244,63,94,.08); }
.suspicion-critical{ border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.12); }

.progress-list{
  display:grid;
  gap:10px;
}
.progress-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:14px;
  background: rgba(15,31,58,.35);
}
.progress-item.done{
  border-color: rgba(52,211,153,.25);
  background: rgba(52,211,153,.08);
}
.progress-item .state{
  font-weight:700;
}
.suspicion-meter{
  width:100%;
  height:14px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  overflow:hidden;
  border:1px solid var(--border);
}
.suspicion-meter-fill{
  height:100%;
  background: linear-gradient(90deg, rgba(52,211,153,.8), rgba(251,191,36,.9), rgba(239,68,68,.95));
}
.success-hero{
  text-align:center;
  padding:18px;
}
.success-amount{
  font-size:42px;
  line-height:1;
  font-weight:800;
  letter-spacing:-1px;
}
