
:root{
  --bg:#0b1220;
  --panel:#0f1a2e;
  --card:#0e1728;
  --muted:#93a4c7;
  --text:#e9eefc;
  --accent:#8be9fd;
  --accent2:#5eead4;
  --danger:#ff6b6b;
  --border:rgba(255,255,255,.08);
  --shadow: 0 10px 30px 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, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% 0%, rgba(139,233,253,.12), transparent 60%),
              radial-gradient(900px 600px at 90% 20%, rgba(94,234,212,.10), transparent 55%),
              var(--bg);
  color:var(--text);
}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1200px; margin:0 auto; padding:20px}

.hero{
  padding:24px 0 10px;
  border-bottom:1px solid var(--border);
}
.hero__inner{max-width:1200px; margin:0 auto; padding:0 20px; display:grid; gap:18px}
.hero__id{display:flex; gap:18px; align-items:center}
.hero__photo{
  width:96px; height:96px; object-fit:cover; border-radius:999px;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero__text h1{margin:0 0 8px; font-size:22px; line-height:1.15}
.hero__sub{margin:0 0 8px; color:var(--muted)}
.hero__meta{margin:0 0 14px; color:var(--muted); display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.dot{opacity:.5}
.hero__cta{display:flex; gap:10px; flex-wrap:wrap}

.note{
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:12px 14px;
}
.note__title{font-weight:700; margin-bottom:4px}
.note__text{color:var(--muted); font-size:14px}

.card{
  background: rgba(255,255,255,.03);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
  margin:16px 0;
}
.card__head h2{margin:0 0 6px; font-size:18px}
.card__head p{margin:0}

.grid{display:grid; gap:14px}
.grid--2{grid-template-columns: repeat(2, minmax(0,1fr))}
.grid--3{grid-template-columns: repeat(3, minmax(0,1fr))}
@media (max-width: 980px){
  .grid--2,.grid--3{grid-template-columns:1fr}
  .hero__id{align-items:flex-start}
}

.panel{
  background: rgba(0,0,0,.15);
  border:1px solid var(--border);
  border-radius: 14px;
  padding:14px;
}
.panel h3{margin:0 0 8px; font-size:16px}
.label{display:block; font-weight:600; margin:10px 0 6px}
.input, .select{
  width:100%;
  padding:10px 10px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline:none;
}
.input:focus,.select:focus{border-color: rgba(139,233,253,.55)}
.input--small{max-width:160px}
.select--small{max-width:140px}

.row{display:flex; gap:10px; align-items:center}
.row--wrap{flex-wrap:wrap}
.row--between{justify-content:space-between}

.btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  padding:10px 12px;
  border-radius: 999px;
  cursor:pointer;
  transition: transform .05s ease, border-color .15s ease;
  display:inline-flex; align-items:center; justify-content:center;
}
.btn:hover{border-color: rgba(139,233,253,.45)}
.btn:active{transform: translateY(1px)}
.btn--primary{
  background: linear-gradient(135deg, rgba(139,233,253,.25), rgba(94,234,212,.18));
  border-color: rgba(139,233,253,.40);
}
.btn--small{padding:8px 10px; font-size:13px}

.hint{font-size:13px; color:var(--muted); margin-top:6px}
.muted{color:var(--muted)}
.hr{height:1px; background: var(--border); margin:14px 0}
.pill{
  display:inline-flex; padding:6px 10px; border-radius:999px;
  border:1px solid var(--border); background: rgba(255,255,255,.03);
}
.check{display:flex; gap:8px; align-items:center; font-size:13px; color:var(--muted)}

.kpis{display:grid; gap:10px; grid-template-columns: repeat(4, minmax(0,1fr))}
@media (max-width: 980px){ .kpis{grid-template-columns: repeat(2, minmax(0,1fr))} }
.kpi{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding:12px;
}
.kpi--accent{border-color: rgba(94,234,212,.45)}
.kpi__label{color:var(--muted); font-size:12px}
.kpi__value{font-size:20px; font-weight:800; margin-top:6px}

.chartWrap{position:relative; min-height:260px}
#chart{width:100%; height:320px}
#chartEmpty{display:none; margin-top:6px}

.details{margin-top:12px}
.details summary{cursor:pointer; color:var(--accent)}
.details__body{color:var(--muted); padding-top:10px}
.details__body ul{margin:8px 0 0 18px}

#map{height:420px; border-radius:14px; overflow:hidden; border:1px solid var(--border)}

.tableWrap{overflow:auto; border-radius:14px; border:1px solid var(--border)}
.table{width:100%; border-collapse:collapse; font-size:13px}
.table th,.table td{padding:10px; border-bottom:1px solid var(--border); vertical-align:top}
.table th{position:sticky; top:0; background: rgba(11,18,32,.95); text-align:left; z-index:1}
.table tr:hover td{background: rgba(255,255,255,.02)}

.kpiRow{display:flex; gap:20px; flex-wrap:wrap}
.big{font-size:20px; font-weight:800; margin-top:6px}

.datasetList{margin-top:12px; display:grid; gap:8px}
.datasetItem{
  display:flex; gap:10px; align-items:center; justify-content:space-between;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding:10px 12px;
}
.datasetItem__name{font-weight:700}
.datasetItem__meta{color:var(--muted); font-size:13px}
.datasetItem__left{display:flex; flex-direction:column}

.footer{
  margin:20px 0 40px;
  color:var(--muted);
  text-align:center;
}
.footer__inner{display:grid; gap:6px}
