/* W.5 — Notification-Center */
.notif-bell {
  background: transparent; border: 1px solid var(--border); border-radius: 6px;
  padding: 0.3rem 0.5rem; cursor: pointer; color: var(--ink-dim);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 150ms, color 150ms;
}
.notif-bell:hover { border-color: var(--accent); color: var(--ink); }
.notif-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--accent); color: white;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.notif-popover {
  display: none;
  position: fixed; z-index: 9000;
  width: 340px; max-height: 60vh;
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  overflow: hidden; flex-direction: column;
  animation: notif-slide-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes notif-slide-in { from { transform: translateY(-6px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.notif-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border);
}
.notif-title { font-family: var(--font-serif); font-weight: 600; font-size: 0.95rem; }
.notif-actions { display: flex; gap: 0.4rem; }
.notif-action {
  background: transparent; border: 1px solid var(--border); cursor: pointer;
  font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 4px; color: var(--ink-dim);
  font-family: var(--font-mono);
}
.notif-action:hover { color: var(--accent); border-color: var(--accent); }
.notif-list { overflow-y: auto; flex: 1; max-height: calc(60vh - 50px); }
.notif-empty {
  padding: 2rem 1rem; text-align: center; font-style: italic;
  color: var(--ink-dimmer); font-size: 0.85rem;
}
.notif-item {
  padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--border);
  position: relative;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.notif-item:last-child { border-bottom: none; }
.notif-item.notif-unread { background: var(--bg-hover); }
.notif-item.notif-unread::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
}
.notif-msg { font-size: 0.82rem; line-height: 1.45; color: var(--ink); word-break: break-word; }
.notif-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.7rem; color: var(--ink-dim); font-family: var(--font-mono);
}
.notif-x {
  background: transparent; border: none; cursor: pointer; padding: 0 0.3rem;
  font-size: 1.1rem; color: var(--ink-dimmer); line-height: 1;
}
.notif-x:hover { color: var(--danger); }
.notif-info  .notif-msg { }
.notif-warn  { background: rgba(212, 114, 92, 0.05); }
.notif-error { background: rgba(181, 67, 52, 0.05); }
.notif-error .notif-msg::before { content: '⚠ '; color: var(--danger); }

/* W.3 — Cmd-K Hint Button */
.cmdk-hint {
  background: transparent; border: 1px solid var(--border); border-radius: 6px;
  padding: 0.25rem 0.55rem; cursor: pointer; color: var(--ink-dim);
  font-family: var(--font-mono); font-size: 0.72rem;
  transition: border-color 150ms, color 150ms;
}
.cmdk-hint:hover { border-color: var(--accent); color: var(--ink); }
