:root{
  --bg: #0b1220;
  --panel: #0f1a2e;
  --panel2: #111f38;
  --text: #e6eefc;
  --muted: #9db1d6;
  --accent: #55b7ff;
  --danger: #ff5b6e;
  --border: rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(85,183,255,.18), transparent 55%),
              radial-gradient(900px 500px at 80% 10%, rgba(255,91,110,.12), transparent 50%),
              var(--bg);
  color: var(--text);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 18px;
  position:sticky;
  top:0;
  background: rgba(11,18,32,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand h1{ margin:0; font-size:18px; letter-spacing:.2px; }
.subtitle{ margin:2px 0 0; color:var(--muted); font-size:12px; }

.actions{ display:flex; align-items:center; gap:10px; }
button{
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor:pointer;
  box-shadow: var(--shadow);
}
button:hover{ border-color: rgba(255,255,255,.18); }
button.ghost{
  background: transparent;
  box-shadow:none;
}
.status{ color: var(--muted); font-size: 12px; }

main{ padding: 18px; }
.board{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  overflow-x:auto;
  padding-bottom: 14px;
}

.list{
  width: 320px;
  min-width: 320px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}

.listHeader{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}
.listTitle{
  font-weight: 650;
  font-size: 14px;
  margin:0;
}
.iconBtn{
  background: transparent;
  box-shadow:none;
  padding:6px 8px;
}
.iconBtn.danger{ color: var(--danger); }

.cards{ display:flex; flex-direction:column; gap:10px; min-height: 20px; }
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 10px;
  cursor: grab;
}
.card:active{ cursor: grabbing; }
.cardTitle{ margin:0; font-size: 13px; }
.cardMeta{ margin-top:6px; color: var(--muted); font-size: 12px; white-space: pre-wrap; }

.listFooter{
  margin-top: 10px;
  display:flex;
  gap: 8px;
}
.listFooter button{ width:100%; }

.dropHint{
  outline: 2px dashed rgba(85,183,255,.45);
  outline-offset: 6px;
}

dialog{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(15,26,46,.95);
  color: var(--text);
  box-shadow: var(--shadow);
}
.dialog{ display:flex; flex-direction:column; gap: 10px; padding: 14px; min-width: 320px; }
.dialog input{
  width:100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  color: var(--text);
}
.dialog menu{ display:flex; gap:10px; justify-content:flex-end; padding:0; margin:0; }
