* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: -apple-system, Segoe UI, Roboto, Inter, sans-serif; background: #0f1115; color: #e6e6e6; }
header {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 16px; border-bottom: 1px solid #222;
  background: #15181f;
}
header h1 { font-size: 14px; margin: 0; font-weight: 600; letter-spacing: .02em; }
.meta { font-size: 12px; color: #9aa0a6; flex: 1; }
.actions { display: flex; gap: 8px; }
button {
  background: #20242d; color: #e6e6e6; border: 1px solid #2c313c;
  padding: 6px 10px; border-radius: 4px; font-size: 12px; cursor: pointer;
}
button:hover { background: #2a2f3a; }
main { display: flex; height: calc(100vh - 48px); }
aside {
  width: 280px; border-right: 1px solid #222; background: #13161c;
  display: flex; flex-direction: column; min-height: 0;
}
#search {
  margin: 10px; padding: 6px 8px; font-size: 12px;
  background: #0f1115; color: #e6e6e6; border: 1px solid #2c313c; border-radius: 4px;
}
#channels { overflow-y: auto; padding: 0 10px 12px; flex: 1; font-size: 12px; }
.group-title {
  font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
  color: #8a92a1; margin: 10px 0 4px; padding-top: 6px; border-top: 1px solid #1f232c;
}
.ch { display: flex; align-items: center; gap: 6px; padding: 2px 0; cursor: pointer; }
.ch input { margin: 0; }
.ch .sw { width: 10px; height: 10px; border-radius: 2px; flex: 0 0 auto; }
.ch .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch.hidden { display: none; }
#plot { flex: 1; min-width: 0; }
