*{box-sizing:border-box;font-family:system-ui,sans-serif}

body{
  margin:0;
  background:linear-gradient(135deg,#050914,#0b1f3a);
  color:#fff;
}

.top{
  display:flex;
  align-items:center;
  gap:14px;
  padding:20px;
}

.logo{width:70px}

.search{
  display:flex;
  gap:10px;
  justify-content:center;
  padding:10px;
}

.search input{
  width:320px;
  padding:12px;
  border-radius:10px;
  border:none;
}

.search button{
  padding:12px 14px;
  border-radius:10px;
  border:none;
  background:#00a19b;
  color:#fff;
  font-weight:700;
}

.disabled{
  background:#555;
  cursor:not-allowed;
}

.status{
  text-align:center;
  opacity:.8;
}

.layout{
  display:flex;
  gap:20px;
  padding:20px;
}

.left,.right{flex:1}

.mindmap{
  height:520px;
  background:
    radial-gradient(600px 400px at 50% 40%, rgba(0,161,155,.2), transparent 70%),
    #050914;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.15);
}

.tools{
  display:flex;
  gap:10px;
  margin-top:10px;
}

.tools button{
  flex:1;
  padding:10px;
  border-radius:10px;
  border:none;
  background:#76c043;
  font-weight:700;
}

.panel{
  background:rgba(255,255,255,.1);
  border-radius:14px;
  padding:16px;
  min-height:300px;
}

footer{
  text-align:center;
  padding:20px;
  opacity:.7;
}

body.dsa{
  font-size:1.25rem;
  line-height:1.9;
}

@media(max-width:900px){
  .layout{flex-direction:column}
  .mindmap{height:380px}
}
