/* sidebar.css — left navigation rail (200px, tightened) */

.sidebar {
  width: 200px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 8px 5px 14px;
  flex-shrink: 0;
  overflow-y: auto;
  height: 100vh;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* Brand block */
.brand {
  padding: 8px 10px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: var(--fs-md);
  letter-spacing: -0.02em;
}
.brand .logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  flex-shrink: 0;
}
.brand .meta {
  color: var(--text-3);
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* Sections */
.sb-section { margin: 14px 0 4px; }
.sb-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-4);
  padding: 0 12px;
  margin-bottom: 4px;
  font-weight: 600;
}

/* Items */
.sb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 4px;
  color: var(--text-2);
  cursor: pointer;
  font-size: var(--fs-md);
  transition: background 0.08s, color 0.08s;
  text-decoration: none;
}
.sb-item:hover {
  background: var(--bg-3);
  color: var(--text);
}
.sb-item.active {
  background: var(--bg-4);
  color: var(--text);
}
.sb-item .name { flex: 1; }
.sb-item .badge {
  font-size: var(--fs-xs);
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--bg-3);
  font-weight: 500;
}
.sb-item .badge.mono {
  font-family: var(--font-mono);
}
.sb-item.active .badge {
  background: var(--border-hi);
  color: var(--text-2);
}

/* Countdown badge color modifiers */
.sb-item .badge.urgent { color: var(--red); }
.sb-item .badge.warm   { color: var(--yellow); }
