@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --bg: #05070d;
  --glass: rgba(14, 20, 34, 0.78);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #6cf4ff;
  --accent-2: #9b6bff;
  --text: #eaf6ff;
  --muted: #9cb3cc;
  --shadow: 0 15px 40px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(108, 244, 255, 0.15), transparent 28%),
              radial-gradient(circle at 80% 30%, rgba(155, 107, 255, 0.15), transparent 26%),
              radial-gradient(circle at 50% 80%, rgba(108, 244, 255, 0.12), transparent 30%),
              url('./assets/background.png') center/cover no-repeat;
  filter: saturate(1.2);
}

.noise {
  position: fixed;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency=".75" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity=".08"/></svg>');
  pointer-events: none;
}

.glass {
  position: relative;
  margin: 22px auto;
  max-width: 1100px;
  padding: 18px 18px 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4cffc9;
  box-shadow: 0 0 12px #4cffc9;
}
.title { font-weight: 700; font-size: 20px; }
.subtitle { color: var(--muted); font-size: 13px; }

.panels { margin-top: 18px; display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.panel-title { font-weight: 600; margin-bottom: 8px; letter-spacing: 0.01em; }
.list { display: grid; gap: 10px; max-height: 65vh; overflow-y: auto; padding-right: 4px; }
.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  transition: border 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-1px); }
.card .meta { color: var(--muted); font-size: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.card .title { font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.chip.active { border-color: var(--accent); color: var(--text); box-shadow: 0 0 8px rgba(108,244,255,0.4); }
.actions { display: flex; gap: 10px; margin-top: 8px; }
button { cursor: pointer; font-family: inherit; }
.primary {
  flex: 1;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #041018;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(108,244,255,0.25);
}
.ghost {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
}
.mt { margin-top: 10px; }
.input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 10px;
  font-family: inherit;
  font-size: 14px;
  margin-top: 6px;
  resize: vertical;
}

@media (max-width: 900px) {
  .panels { grid-template-columns: 1fr; }
  .list { max-height: none; }
}
