:root{
  --bg:#0b0f14;
  --panel:#0f1620;
  --panel2:#111b27;
  --text:#e6edf3;
  --muted:#9fb0c0;
  --border:rgba(255,255,255,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --accent:#7c3aed;
  --accent2:#22c55e;
  --danger:#ef4444;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(1200px 800px at 15% 0%, rgba(124,58,237,.18), transparent 60%),
              radial-gradient(1000px 700px at 85% 10%, rgba(34,197,94,.12), transparent 55%),
              var(--bg);
  color:var(--text);
  font: 14px/1.45 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  border-bottom:1px solid var(--border);
  background: rgba(15,22,32,.75);
  backdrop-filter: blur(10px);
  position: sticky;
  top:0;
  z-index:10;
}

.brand{display:flex; gap:12px; align-items:center}
.logo{
  width:40px;height:40px;border-radius:12px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(124,58,237,.35), rgba(34,197,94,.25));
  border:1px solid var(--border);
  box-shadow: var(--shadow);
}
.title{font-weight:700; font-size:16px}
.subtitle{color:var(--muted); font-size:12px}

.actions{display:flex; gap:10px; align-items:center}

.btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  transition: transform .08s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14)}
.btn:active{transform: translateY(1px)}
.btn-primary{
  background: linear-gradient(135deg, rgba(124,58,237,.95), rgba(124,58,237,.65));
  border-color: rgba(124,58,237,.65);
}

.content{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:16px;
  padding:16px;
}

#map{
  height: calc(100vh - 92px);
  min-height: 520px;
  border-radius: 16px;
  border:1px solid var(--border);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: #0a0f16;
}

.panel{
  border-radius: 16px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(17,27,39,.85), rgba(15,22,32,.85));
  box-shadow: var(--shadow);
  padding:14px;
  height: fit-content;
}

.panel-title{font-weight:700; margin-bottom:8px}
.panel-list{margin:0; padding-left:18px; color:var(--muted)}
.panel-list li{margin:6px 0}

.status{
  margin-top:12px;
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  word-break: break-word;
}

@media (max-width: 980px){
  .content{grid-template-columns:1fr}
  #map{height: 70vh}
}

