/* ═══════════════════════════════════════════════════════════════════
   United Skills Pipeline — Design System
   Aesthetic: Industrial Precision (SPEC_04)
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ──────────────────────────────────────────────── */
:root {
  --bg-darkest: #0A0A0A;
  --bg-dark: #141414;
  --bg-medium: #1E1E1E;
  --bg-light: #2A2A2A;
  --bg-input: #1A1A1A;
  --brand-blue: #00A8FF;
  --brand-pink: #FF006E;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-muted: #606060;
  --text-inverse: #0A0A0A;
  --status-todo: #E0E0E0;
  --status-wip: #FFC107;
  --status-review: #00A8FF;
  --status-approved: #00D084;
  --status-blocked: #FF006E;
  --status-hold: #9CA3AF;
  --success: #00D084;
  --warning: #FFC107;
  --error: #FF006E;
  --info: #00A8FF;
  --border-dark: #2A2A2A;
  --border-medium: #404040;
  --border-light: #606060;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.6);
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 9999px;
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-tooltip: 400;
  --z-notification: 500;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", Consolas, monospace;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  background: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
}

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

*:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

/* ── Typography ─────────────────────────────────────────────────── */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: var(--font-mono); }

/* ── App Header (60px fixed) ────────────────────────────────────── */
.app-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 var(--space-lg);
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo span { color: var(--brand-blue); }

.nav-tabs {
  display: flex;
  gap: var(--space-xs);
}

.nav-tab {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
}

.nav-tab:hover {
  color: var(--text-primary);
  background: var(--bg-medium);
  text-decoration: none;
}

.nav-tab.active {
  color: var(--text-primary);
  background: var(--bg-light);
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-base);
}

.user-menu:hover { background: var(--bg-medium); }

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.user-name { font-size: 0.875rem; color: var(--text-secondary); }

.user-role-text { font-size: 0.75rem; color: var(--text-muted); text-transform: capitalize; }

/* ── Main Content ───────────────────────────────────────────────── */
.main-content {
  padding: var(--space-xl) var(--space-lg);
  max-width: 1440px;
  margin: 0 auto;
  min-height: calc(100vh - 60px);
}

/* ── Page Header ────────────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.page-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary { background: var(--brand-blue); color: var(--text-inverse); }
.btn-primary:hover:not(:disabled) { background: #0096E0; box-shadow: var(--shadow-md); }

.btn-secondary { background: var(--bg-medium); color: var(--text-primary); border-color: var(--border-medium); }
.btn-secondary:hover:not(:disabled) { background: var(--bg-light); border-color: var(--border-light); }

.btn-danger { background: var(--error); color: white; }
.btn-danger:hover:not(:disabled) { background: #e0005f; }

.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-light); color: var(--text-primary); }

.btn-icon { padding: var(--space-sm); background: transparent; color: var(--text-secondary); border: none; }
.btn-icon:hover { background: var(--bg-light); color: var(--text-primary); }

.btn-sm { padding: 0.25rem 0.5rem; font-size: 0.75rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }

/* ── Cards ──────────────────────────────────────────────────────── */
.card {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover { border-color: var(--border-medium); box-shadow: var(--shadow-md); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-dark);
}

.card-title { font-size: 1.125rem; font-weight: 600; margin: 0; }
.card-body { padding: var(--space-lg); }
.card-footer { padding: var(--space-lg); border-top: 1px solid var(--border-dark); background: var(--bg-darkest); }

/* ── Forms ──────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-input);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: inherit;
  transition: all var(--transition-base);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0,168,255,0.1);
}

.form-input::placeholder { color: var(--text-muted); }

.form-error { color: var(--error); font-size: 0.75rem; margin-top: 2px; }

/* ── Badges ─────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
}

.badge-todo { background: var(--status-todo); color: var(--text-inverse); }
.badge-wip { background: var(--status-wip); color: var(--text-inverse); }
.badge-review { background: var(--status-review); color: var(--text-inverse); }
.badge-approved { background: var(--status-approved); color: var(--text-inverse); }
.badge-blocked { background: var(--status-blocked); color: white; }
.badge-hold { background: var(--status-hold); color: var(--text-inverse); }
.badge-admin { background: var(--brand-pink); color: white; }
.badge-producer { background: var(--brand-blue); color: var(--text-inverse); }
.badge-supervisor { background: var(--warning); color: var(--text-inverse); }
.badge-artist { background: var(--status-todo); color: var(--text-inverse); }
.badge-active { background: var(--success); color: var(--text-inverse); }
.badge-inactive { background: var(--status-hold); color: var(--text-inverse); }
.badge-suspended { background: var(--error); color: white; }

/* ── Progress Bar ───────────────────────────────────────────────── */
.progress-bar {
  height: 6px;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--brand-blue);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

.progress-text { font-size: 0.75rem; color: var(--text-secondary); margin-top: 4px; }

/* ── Tables ─────────────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-dark);
}

.data-table td {
  padding: var(--space-md);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-dark);
  vertical-align: middle;
}

.data-table tbody tr { transition: background var(--transition-fast); }
.data-table tbody tr:hover { background: var(--bg-medium); }

/* ── Filters Bar ────────────────────────────────────────────────── */
.filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.filters { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.filter-select {
  padding: 0.35rem 0.75rem;
  background: var(--bg-medium);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-family: inherit;
}

.filter-select:focus { border-color: var(--brand-blue); outline: none; }

.search-input {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-input);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: inherit;
  min-width: 200px;
}

.search-input:focus { border-color: var(--brand-blue); outline: none; }

/* ── Projects Grid ──────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.project-card { cursor: pointer; }

.project-card .project-info { padding: var(--space-lg); }
.project-card .project-name { font-size: 1rem; font-weight: 600; margin-bottom: var(--space-xs); }
.project-card .project-meta { display: flex; gap: var(--space-sm); align-items: center; margin-bottom: var(--space-md); font-size: 0.8rem; }
.project-card .project-stats { display: flex; gap: var(--space-lg); margin-top: var(--space-md); }
.project-card .stat-value { font-size: 1.25rem; font-weight: 700; display: block; }
.project-card .stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }
.project-card .project-actions { display: flex; gap: var(--space-sm); padding: var(--space-md) var(--space-lg); border-top: 1px solid var(--border-dark); }

/* ── Modal ──────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  animation: fadeIn 0.15s ease;
}

.modal {
  background: var(--bg-dark);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.2s ease;
}

.modal-lg { max-width: 800px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-dark);
}

.modal-title { font-size: 1.125rem; font-weight: 600; }
.modal-body { padding: var(--space-lg); }
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border-top: 1px solid var(--border-dark);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── Toast ──────────────────────────────────────────────────────── */
.toast {
  background: var(--bg-dark);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  min-width: 300px;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  animation: slideInUp 0.3s ease;
}

.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--error); }
.toast-warning { border-left: 4px solid var(--warning); }
.toast-info { border-left: 4px solid var(--info); }
.toast-icon { font-weight: 700; font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon { color: var(--error); }
.toast-warning .toast-icon { color: var(--warning); }
.toast-info .toast-icon { color: var(--info); }
.toast-title { font-size: 0.875rem; font-weight: 600; }
.toast-message { font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }
.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 2px; margin-left: auto; }

@keyframes slideInUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ── Loading States ─────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-medium) 25%, var(--bg-light) 50%, var(--bg-medium) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-title { height: 24px; width: 60%; margin-bottom: var(--space-md); }
.skeleton-text { height: 16px; width: 100%; margin-bottom: var(--space-sm); }
.skeleton-card { padding: var(--space-lg); }

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--bg-medium);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm { width: 20px; height: 20px; border-width: 2px; }

@keyframes spin { to { transform: rotate(360deg); } }

.loading-center { display: flex; justify-content: center; align-items: center; padding: var(--space-2xl); }

/* ── Empty State ────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
}

.empty-state-icon { font-size: 3rem; margin-bottom: var(--space-md); }
.empty-state-title { font-size: 1.125rem; font-weight: 600; color: var(--text-secondary); margin-bottom: var(--space-sm); }
.empty-state-message { font-size: 0.875rem; max-width: 400px; margin: 0 auto var(--space-lg); }

/* ── Login Page ─────────────────────────────────────────────────── */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-darkest);
}

.login-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 400px;
}

.login-logo {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.login-logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.login-logo h1 span { color: var(--brand-blue); }
.login-logo p { color: var(--text-muted); font-size: 0.875rem; margin-top: var(--space-xs); }

.login-error {
  background: rgba(255,0,110,0.1);
  border: 1px solid rgba(255,0,110,0.3);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  color: var(--error);
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
  display: none;
}

.login-error.visible { display: block; }

/* ── Dropdown ───────────────────────────────────────────────────── */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: var(--bg-medium);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  min-width: 180px;
  z-index: var(--z-dropdown);
  box-shadow: var(--shadow-lg);
  display: none;
}

.dropdown-menu.show { display: block; }

.dropdown-item {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.dropdown-item:hover { background: var(--bg-light); color: var(--text-primary); }
.dropdown-divider { height: 1px; background: var(--border-dark); margin: 4px 0; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .nav-tabs { display: none; }
  .main-content { padding: var(--space-md); }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1440px) {
  .projects-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Utility ────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.w-full { width: 100%; }

/* ── BD33: Bell Notification Widget ─────────────────────────────── */
.bell-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.bell-btn {
  position: relative;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.bell-btn:hover { background: var(--bg-light); color: var(--text-primary); }

.bell-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: var(--radius-full);
  background: var(--error);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  z-index: var(--z-dropdown);
}

.bell-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-dropdown);
  overflow: hidden;       /* clips content + preserves border-radius paint */
  max-height: 480px;      /* cap panel height — bell-list scrolls within this */
  display: flex;          /* BD33i: must stay flex — JS must open with display:'flex' */
  flex-direction: column;
}

.bell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--border-dark);
  flex-shrink: 0;
}
.bell-title { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }
.bell-mark-all {
  font-size: 0.72rem;
  color: var(--brand-blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.bell-mark-all:hover { text-decoration: underline; }
.bell-see-all { font-size: 0.72rem; color: var(--text-muted); text-decoration: none; }
.bell-see-all:hover { color: var(--brand-blue); }

.bell-list {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;    /* BD33i: flex items default to min-height:auto which prevents shrinking.
                       min-height:0 lets this child shrink so overflow-y:auto activates. */
  scrollbar-width: thin;
  scrollbar-color: var(--border-medium) transparent;
}

/* BD33i: webkit scrollbar — matches scrollbar-width:thin for Chrome/Safari/Edge */
.bell-list::-webkit-scrollbar        { width: 5px; }
.bell-list::-webkit-scrollbar-track  { background: transparent; }
.bell-list::-webkit-scrollbar-thumb  { background: var(--border-medium); border-radius: var(--radius-full); }
.bell-list::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

.bell-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.bell-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--transition-fast);
}
.bell-item:last-child { border-bottom: none; }
.bell-item:hover { background: var(--bg-medium); }
.bell-item-read { opacity: 0.6; }

.bell-item-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 5px;
}

.bell-item-body { flex: 1; min-width: 0; }
.bell-item-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bell-item-msg {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bell-item-time { font-size: 0.68rem; color: var(--text-muted); margin-top: 3px; }
.bell-dedup {
  display: inline-block;
  font-size: 0.62rem;
  background: var(--bg-light);
  color: var(--text-muted);
  border-radius: 3px;
  padding: 0 4px;
  vertical-align: middle;
}

.bell-item-del {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.bell-item:hover .bell-item-del { opacity: 1; }
.bell-item-del:hover { background: var(--bg-light); color: var(--error); }
