/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #7C3AED;
  --primary-light: #A78BFA;
  --primary-dark: #5B21B6;
  --accent: #EC4899;
  --accent-light: #F9A8D4;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  --sidebar-bg: #1E1B4B;
  --sidebar-hover: #312E81;
  --sidebar-active: #4338CA;
  --sidebar-text: #C7D2FE;
  --sidebar-muted: #818CF8;

  --bg: #F1F5F9;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  --text: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

  --sidebar-w: 240px;
  --header-h: 64px;
}

html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
}

/* === SIDEBAR === */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  min-height: 100vh;
  position: fixed;
  left: 0; top: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 24px 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 8px;
}

.sidebar-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.sidebar-logo .logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}
.sidebar-logo .logo-text span {
  display: block;
  font-size: 11px;
  color: var(--sidebar-muted);
  font-weight: 400;
}

.nav-section {
  padding: 4px 12px;
  margin-bottom: 4px;
}
.nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sidebar-muted);
  padding: 8px 8px 4px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s;
  margin-bottom: 2px;
}
.nav-item .icon { font-size: 17px; flex-shrink: 0; }
.nav-item:hover { background: var(--sidebar-hover); color: #fff; }
.nav-item.active { background: var(--sidebar-active); color: #fff; }
.nav-item .badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.sidebar-user:hover { background: var(--sidebar-hover); }
.user-avatar {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.user-info { flex: 1; }
.user-name { color: #fff; font-size: 13px; font-weight: 600; }
.user-role { color: var(--sidebar-muted); font-size: 11px; }

/* === MAIN === */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === TOPBAR === */
.topbar {
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-title { font-size: 18px; font-weight: 700; flex: 1; }
.topbar-title span { color: var(--text-muted); font-weight: 400; font-size: 14px; margin-left: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: .9; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-icon { padding: 8px; width: 36px; height: 36px; justify-content: center; }

/* === PAGE CONTENT === */
.page { padding: 28px; flex: 1; }
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.page-header-text h1 { font-size: 24px; font-weight: 800; }
.page-header-text p { color: var(--text-muted); font-size: 14px; margin-top: 2px; }

/* === STAT CARDS === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
}
.stat-card.purple::before { background: var(--primary); }
.stat-card.pink::before { background: var(--accent); }
.stat-card.green::before { background: var(--success); }
.stat-card.blue::before { background: var(--info); }
.stat-card.yellow::before { background: var(--warning); }

.stat-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 4px;
}
.stat-card.purple .stat-icon { background: #EDE9FE; }
.stat-card.pink .stat-icon { background: #FCE7F3; }
.stat-card.green .stat-icon { background: #D1FAE5; }
.stat-card.blue .stat-icon { background: #DBEAFE; }
.stat-card.yellow .stat-icon { background: #FEF3C7; }

.stat-value { font-size: 28px; font-weight: 800; line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.stat-change {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}
.stat-change.down { color: var(--danger); }

/* === CARDS === */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-header h3 { font-size: 15px; font-weight: 700; }
.card-body { padding: 20px; }

/* === GRID LAYOUTS === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.grid-60-40 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }

/* === PLATFORM BADGES === */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
}
.platform-badge.youtube { background: #FEE2E2; color: #DC2626; }
.platform-badge.instagram { background: #FCE7F3; color: #BE185D; }
.platform-badge.tiktok { background: #F0FDF4; color: #15803D; }
.platform-badge.twitter { background: #DBEAFE; color: #1D4ED8; }
.platform-badge.linkedin { background: #DBEAFE; color: #1E40AF; }
.platform-badge.blog { background: #FEF3C7; color: #92400E; }
.platform-badge.podcast { background: #EDE9FE; color: #6D28D9; }

/* === STATUS BADGES === */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
}
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge.idea { background: #F3F4F6; color: #6B7280; }
.status-badge.scripting { background: #DBEAFE; color: #1D4ED8; }
.status-badge.creating { background: #FEF3C7; color: #92400E; }
.status-badge.editing { background: #FCE7F3; color: #BE185D; }
.status-badge.reviewing { background: #EDE9FE; color: #6D28D9; }
.status-badge.scheduled { background: #D1FAE5; color: #065F46; }
.status-badge.published { background: #D1FAE5; color: #047857; }

/* === PRIORITY === */
.priority { font-size: 11px; font-weight: 600; }
.priority.high { color: var(--danger); }
.priority.medium { color: var(--warning); }
.priority.low { color: var(--success); }

/* === TAGS === */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 500;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* === CONTENT LIST === */
.content-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.content-item:last-child { border-bottom: none; }
.content-thumb {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.content-info { flex: 1; min-width: 0; }
.content-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.content-meta { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.content-actions { display: flex; gap: 4px; }

/* === TASK LIST === */
.task-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.task-item:last-child { border-bottom: none; }
.task-check {
  width: 18px; height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 4px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.task-check.done { background: var(--success); border-color: var(--success); color: #fff; }
.task-text { flex: 1; font-size: 13px; }
.task-text.done { text-decoration: line-through; color: var(--text-muted); }
.task-due { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.task-due.overdue { color: var(--danger); }

/* === KANBAN === */
.kanban-board {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 16px;
  min-height: calc(100vh - 180px);
}
.kanban-col {
  flex: 0 0 260px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 180px);
}
.kanban-col-header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface-2);
  border-radius: var(--radius) var(--radius) 0 0;
}
.kanban-col-header h4 { font-size: 13px; font-weight: 700; flex: 1; }
.kanban-count {
  font-size: 11px;
  font-weight: 700;
  background: var(--border);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 99px;
}
.kanban-cards {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kanban-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow);
  cursor: grab;
  transition: all .15s;
  border: 1px solid var(--border);
}
.kanban-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.kanban-card.dragging { opacity: .5; cursor: grabbing; }
.kanban-card-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.kanban-card-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kanban-card-footer { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.kanban-card-due { font-size: 11px; color: var(--text-muted); }
.kanban-card-due.overdue { color: var(--danger); }
.kanban-add-btn {
  margin: 8px;
  width: calc(100% - 16px);
  padding: 8px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
}
.kanban-add-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--bg); }
.drag-over { border: 2px dashed var(--primary); }

/* === CALENDAR === */
.cal-nav {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.cal-nav h2 { font-size: 18px; font-weight: 700; flex: 1; }
.cal-grid {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cal-header-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.cal-header-cell {
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.cal-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-day {
  min-height: 110px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px;
  cursor: pointer;
  transition: background .1s;
}
.cal-day:hover { background: var(--surface-2); }
.cal-day.other-month { background: #FAFAFA; }
.cal-day.today { background: #EDE9FE; }
.cal-day-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  margin-bottom: 4px;
}
.cal-day.today .cal-day-num { background: var(--primary); color: #fff; }
.cal-day-events { display: flex; flex-direction: column; gap: 2px; }
.cal-event {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.cal-event.youtube { background: #FEE2E2; color: #DC2626; }
.cal-event.instagram { background: #FCE7F3; color: #BE185D; }
.cal-event.tiktok { background: #DCFCE7; color: #15803D; }
.cal-event.twitter { background: #DBEAFE; color: #1D4ED8; }
.cal-event.linkedin { background: #DBEAFE; color: #1E40AF; }
.cal-event.blog { background: #FEF3C7; color: #92400E; }
.cal-event.podcast { background: #EDE9FE; color: #6D28D9; }
.cal-event.other { background: var(--bg); color: var(--text-muted); }

/* === IDEAS GRID === */
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.idea-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all .2s;
  border: 1px solid var(--border);
  cursor: pointer;
}
.idea-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.idea-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.idea-card-title { font-size: 15px; font-weight: 700; line-height: 1.3; flex: 1; }
.idea-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.idea-card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.idea-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.idea-card-date { font-size: 11px; color: var(--text-light); }
.idea-actions { display: flex; gap: 4px; opacity: 0; transition: opacity .15s; }
.idea-card:hover .idea-actions { opacity: 1; }

/* === FILTERS === */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}
.filter-btn {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  transition: all .15s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  flex: 1;
  max-width: 300px;
}
.search-box input {
  border: none;
  outline: none;
  font-size: 13px;
  background: none;
  flex: 1;
  color: var(--text);
}
.search-box .icon { color: var(--text-muted); font-size: 15px; }

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  transform: scale(.95) translateY(10px);
  transition: transform .2s;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h2 { font-size: 17px; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--bg);
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all .15s;
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }

/* === FORM === */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-input, .form-select, .form-textarea {
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* === ACTIVITY FEED === */
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.activity-item:last-child { border-bottom: none; }
.activity-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  margin-top: 1px;
}
.activity-dot.idea { background: #EDE9FE; }
.activity-dot.edit { background: #DBEAFE; }
.activity-dot.publish { background: #D1FAE5; }
.activity-dot.schedule { background: #FEF3C7; }
.activity-content { flex: 1; }
.activity-text { font-size: 13px; }
.activity-text strong { font-weight: 600; }
.activity-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* === EMPTY STATE === */
.empty-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.empty-state p { font-size: 13px; }

/* === PROGRESS BAR === */
.progress-bar {
  background: var(--border);
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
}
.progress-fill { height: 100%; border-radius: 99px; background: var(--primary); }
.progress-fill.green { background: var(--success); }
.progress-fill.yellow { background: var(--warning); }

/* === GOALS === */
.goal-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.goal-item:last-child { border-bottom: none; }
.goal-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.goal-name { font-size: 13px; font-weight: 600; }
.goal-val { font-size: 12px; color: var(--text-muted); }

/* === DROPDOWN === */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  z-index: 60;
  display: none;
  overflow: hidden;
}
.dropdown-menu.open { display: block; }
.dropdown-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
  transition: background .1s;
}
.dropdown-item:hover { background: var(--bg); }
.dropdown-item.danger { color: var(--danger); }

/* === NOTIFICATION === */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transform: translateY(80px);
  opacity: 0;
  transition: all .3s;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .grid-2, .grid-60-40 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  .sidebar { display: none; }
  .page { padding: 16px; }
}
