/**
 * dashboard.css — Barcha dashboardlar uchun umumiy CSS
 * Path: backend/web/css/dashboard.css
 * Layout/main.php da: <link rel="stylesheet" href="/css/dashboard.css">
 *
 * Asosiy fontlar va ranglar layout main.php CSS o'zgaruvchilaridan olinadi.
 * Bu fayl faqat dashboard-spesifik komponentlarni qamraydi.
 */

/* ─────────────────────────────────────────────
   GRID TIZIMI
───────────────────────────────────────────── */
.dash-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dash-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dash-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .dash-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dash-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .dash-grid-4, .dash-grid-3, .dash-grid-2 { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   ANIMATION CLASSES
───────────────────────────────────────────── */
.anim-1 { animation: dashSlide .45s .05s both cubic-bezier(.4,0,.2,1); }
.anim-2 { animation: dashSlide .45s .10s both cubic-bezier(.4,0,.2,1); }
.anim-3 { animation: dashSlide .45s .15s both cubic-bezier(.4,0,.2,1); }
.anim-4 { animation: dashSlide .45s .20s both cubic-bezier(.4,0,.2,1); }
.anim-5 { animation: dashSlide .45s .25s both cubic-bezier(.4,0,.2,1); }
.anim-6 { animation: dashSlide .45s .30s both cubic-bezier(.4,0,.2,1); }
.anim-7 { animation: dashSlide .45s .35s both cubic-bezier(.4,0,.2,1); }
.anim-8 { animation: dashSlide .45s .40s both cubic-bezier(.4,0,.2,1); }
.anim-9 { animation: dashSlide .45s .45s both cubic-bezier(.4,0,.2,1); }

@keyframes dashSlide {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   STAT CARDS
───────────────────────────────────────────── */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  opacity: .07;
  transform: translate(30px, -30px);
}

.sc-blue::before   { background: #6366f1; }
.sc-teal::before   { background: #10b981; }
.sc-orange::before { background: #f59e0b; }
.sc-purple::before { background: #8b5cf6; }

.sc-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sc-blue   .sc-icon { background: rgba(99,102,241,.12); color: #6366f1; }
.sc-teal   .sc-icon { background: rgba(16,185,129,.12);  color: #10b981; }
.sc-orange .sc-icon { background: rgba(245,158,11,.12);  color: #f59e0b; }
.sc-purple .sc-icon { background: rgba(139,92,246,.12);  color: #8b5cf6; }

.sc-body { flex: 1; }
.sc-num {
  font-family: var(--ff, 'Syne', sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -.5px;
}
.sc-label { font-size: .78rem; color: var(--text-secondary); margin: 3px 0; font-weight: 500; }
.sc-sub   { font-size: .7rem; color: var(--text-muted); }
.sc-up    { color: #10b981 !important; }
.sc-warn  { color: #f59e0b !important; }

.sc-spark { flex-shrink: 0; opacity: .7; }
.sc-ring  { flex-shrink: 0; }

/* ─────────────────────────────────────────────
   MINI STATS ROW
───────────────────────────────────────────── */
.mini-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.mini-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 12px 16px;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.mini-stat:last-child { border-right: none; }
.mini-stat:hover { background: var(--bg-card2); }
.ms-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ms-dot.online      { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.ms-dot.active-sem  { background: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.2); }
.ms-num  { font-family: var(--ff, sans-serif); font-size: .95rem; font-weight: 700; color: var(--text-primary); }
.ms-lbl  { font-size: .72rem; color: var(--text-muted); }

/* ─────────────────────────────────────────────
   DASHBOARD CARD (generic)
───────────────────────────────────────────── */
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s;
}
.dash-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }

.dc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.dc-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff, sans-serif);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-primary);
}
.dc-link {
  font-size: .75rem;
  color: #6366f1;
  font-weight: 500;
  transition: color .2s;
}
.dc-link:hover { color: #4f46e5; }

/* ─────────────────────────────────────────────
   CHARTS
───────────────────────────────────────────── */
.chart-card {}
.chart-wrap {
  padding: 14px 18px 8px;
  position: relative;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 14px;
  flex-wrap: wrap;
}
.cl-item {
  display: flex; align-items: center; gap: 5px;
  font-size: .72rem; color: var(--text-muted);
}
.cl-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   USER LIST
───────────────────────────────────────────── */
.user-list { padding: 4px 0; }
.user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.user-item:last-child { border-bottom: none; }
.user-item:hover { background: var(--bg-card2); }

.user-av {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff, sans-serif); font-size: .7rem; font-weight: 700;
  flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: .82rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-meta { font-size: .7rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-date { font-size: .68rem; color: var(--text-muted); flex-shrink: 0; }

/* Role pills */
.role-pill {
  font-family: var(--ff, sans-serif);
  font-size: .63rem; font-weight: 700;
  letter-spacing: .4px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px; flex-shrink: 0;
}
.rp-admin   { background: rgba(239,68,68,.12);  color: #dc2626; }
.rp-teacher { background: rgba(99,102,241,.12);  color: #4f46e5; }
.rp-student { background: rgba(16,185,129,.12);  color: #059669; }

/* ─────────────────────────────────────────────
   COURSE RANK LIST
───────────────────────────────────────────── */
.course-rank-list { padding: 4px 0; }
.cr-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
}
.cr-item:last-child { border-bottom: none; }
.cr-rank {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-card2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff, sans-serif); font-size: .68rem; font-weight: 700;
  color: var(--text-muted); flex-shrink: 0;
}
.cr-info { flex: 1; min-width: 0; }
.cr-title { font-size: .8rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-meta  { font-size: .68rem; color: var(--text-muted); margin-bottom: 4px; }
.cr-bar   { height: 3px; background: var(--border); border-radius: 99px; overflow: hidden; }
.cr-fill  { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.cr-count { font-family: var(--ff, sans-serif); font-size: .85rem; font-weight: 700; color: var(--text-primary); flex-shrink: 0; }

/* ─────────────────────────────────────────────
   LOG TABLE
───────────────────────────────────────────── */
.adm-table {
  width: 100%; border-collapse: collapse;
  font-size: .8rem;
}
.adm-table th {
  padding: 10px 18px; text-align: left;
  font-family: var(--ff, sans-serif); font-size: .68rem; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
}
.adm-table td {
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tr:hover td { background: var(--bg-card2); }

.log-action {
  font-family: var(--ff, sans-serif);
  font-size: .65rem; font-weight: 700;
  padding: 2px 8px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: .4px;
}
.log-action.login  { background: rgba(16,185,129,.12); color: #059669; }
.log-action.logout { background: rgba(148,163,184,.12); color: #64748b; }
.log-action.failed { background: rgba(239,68,68,.12); color: #dc2626; }

.mini-av {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(99,102,241,.12); color: #6366f1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff, sans-serif); font-size: .6rem; font-weight: 700;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   QUICK ACTIONS
───────────────────────────────────────────── */
.quick-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 4px 0;
}
.qa-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--ff, sans-serif);
  font-size: .78rem; font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer; text-decoration: none;
  transition: all .2s;
}
.qa-btn:hover {
  background: var(--bg-card2);
  color: var(--text-primary);
  border-color: var(--border2);
  transform: translateY(-1px);
}
.qa-btn-primary {
  background: #6366f1; color: #fff;
  border-color: #6366f1;
}
.qa-btn-primary:hover {
  background: #4f46e5; border-color: #4f46e5;
  color: #fff;
}

/* ─────────────────────────────────────────────
   PENDING LIST (teacher)
───────────────────────────────────────────── */
.pend-list { padding: 4px 0; }
.pend-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.pend-item:last-child { border-bottom: none; }
.pend-item:hover { background: var(--bg-card2); }
.pend-info { flex: 1; min-width: 0; }
.pend-name { font-size: .8rem; font-weight: 600; color: var(--text-primary); }
.pend-task { font-size: .7rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pend-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.pend-days { font-size: .65rem; color: var(--text-muted); }
.badge-late {
  font-size: .6rem; font-weight: 700;
  background: rgba(239,68,68,.12); color: #dc2626;
  padding: 2px 6px; border-radius: 99px;
  letter-spacing: .3px;
}
.grade-btn {
  font-family: var(--ff, sans-serif);
  font-size: .72rem; font-weight: 600;
  padding: 5px 12px; border-radius: 8px;
  background: rgba(99,102,241,.08);
  color: #6366f1; border: 1px solid rgba(99,102,241,.2);
  cursor: pointer; text-decoration: none; flex-shrink: 0;
  transition: all .2s;
}
.grade-btn:hover { background: #6366f1; color: #fff; border-color: #6366f1; }

/* ─────────────────────────────────────────────
   RISK LIST (teacher)
───────────────────────────────────────────── */
.risk-list { padding: 4px 0; }
.risk-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 18px; border-bottom: 1px solid var(--border);
}
.risk-item:last-child { border-bottom: none; }
.risk-info { flex: 1; min-width: 0; }
.risk-bars { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.rb-row    { display: flex; align-items: center; gap: 6px; }
.rb-lbl    { font-size: .62rem; color: var(--text-muted); width: 50px; flex-shrink: 0; }
.rb-track  { flex: 1; height: 4px; background: var(--border); border-radius: 99px; overflow: hidden; }
.rb-fill   { height: 100%; border-radius: 99px; transition: width 1s; }
.rb-val    { font-size: .65rem; color: var(--text-muted); width: 30px; text-align: right; flex-shrink: 0; }

/* ─────────────────────────────────────────────
   FORUM ITEMS
───────────────────────────────────────────── */
.forum-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.forum-item:last-child { border-bottom: none; }
.forum-item:hover { background: var(--bg-card2); }
.forum-q-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(99,102,241,.1); color: #6366f1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff, sans-serif); font-size: .85rem; font-weight: 700;
  flex-shrink: 0;
}
.fi-body { flex: 1; min-width: 0; }
.fi-title { font-size: .78rem; font-weight: 500; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-meta  { font-size: .66rem; color: var(--text-muted); }

/* ─────────────────────────────────────────────
   SCHEDULE ITEMS
───────────────────────────────────────────── */
.sched-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.sched-item:last-child { border-bottom: none; }
.sched-item:hover { background: var(--bg-card2); }
.si-time  { font-family: var(--ff, sans-serif); font-size: .8rem; font-weight: 700; color: var(--text-primary); flex-shrink: 0; width: 40px; }
.si-body  { flex: 1; min-width: 0; }
.si-title { font-size: .8rem; font-weight: 600; color: var(--text-primary); }
.si-meta  { font-size: .68rem; color: var(--text-muted); }
.si-type  { font-size: .63rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; flex-shrink: 0; letter-spacing: .3px; }

/* ─────────────────────────────────────────────
   WELCOME BAR (teacher + student)
───────────────────────────────────────────── */
.welcome-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px;
  margin-bottom: 20px; gap: 16px; flex-wrap: wrap;
}
.wb-left  { display: flex; align-items: center; gap: 12px; }
.wb-title { font-family: var(--ff, sans-serif); font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.wb-sub   { font-size: .75rem; color: var(--text-muted); margin-top: 3px; }
.wb-right { display: flex; gap: 8px; flex-wrap: wrap; }
.wb-alert {
  display: flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 500;
  padding: 6px 12px; border-radius: 99px;
  background: rgba(99,102,241,.08); color: #6366f1;
  border: 1px solid rgba(99,102,241,.2);
}
.wb-alert-warn {
  background: rgba(245,158,11,.08); color: #d97706;
  border-color: rgba(245,158,11,.2);
}

/* ─────────────────────────────────────────────
   STUDENT WELCOME
───────────────────────────────────────────── */
.std-welcome {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, #0f0f23, #1c1c2e);
  border-radius: 16px; padding: 24px 28px;
  margin-bottom: 20px; gap: 16px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.std-welcome::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(99,102,241,.2) 0, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(16,185,129,.1) 0, transparent 60%);
}
.sw-left { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.sw-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff, sans-serif); font-size: 1rem; font-weight: 700; color: #fff;
  flex-shrink: 0; box-shadow: 0 0 0 3px rgba(99,102,241,.3);
}
.sw-name { font-family: var(--ff, sans-serif); font-size: 1.05rem; font-weight: 700; color: #fff; }
.sw-meta { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: 3px; }
.sw-stats { display: flex; gap: 0; position: relative; z-index: 1; }
.sw-stat {
  text-align: center; padding: 8px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.sw-stat:last-child { border-right: none; }
.sw-snum { font-family: var(--ff, sans-serif); font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.sw-slbl { font-size: .65rem; color: rgba(255,255,255,.4); margin-top: 4px; letter-spacing: .3px; }

/* ─────────────────────────────────────────────
   STUDENT COURSE CARDS
───────────────────────────────────────────── */
.std-course-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 0 16px;
  overflow: hidden;
}
.std-course-list .dc-header { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.std-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  padding: 16px 16px 0;
}
.sc-course-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
  transition: all .25s;
}
.sc-course-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.scc-top     { margin-bottom: 12px; padding-left: 10px; }
.scc-title   { font-family: var(--ff, sans-serif); font-size: .82rem; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.scc-teacher { font-size: .7rem; color: var(--text-muted); }
.scc-stats   { display: flex; gap: 0; margin-bottom: 10px; }
.scc-stat    { flex: 1; text-align: center; border-right: 1px solid var(--border); padding: 4px 0; }
.scc-stat:last-child { border-right: none; }
.scc-stat-val { font-family: var(--ff, sans-serif); font-size: .9rem; font-weight: 700; color: var(--text-primary); }
.scc-stat-lbl { font-size: .62rem; color: var(--text-muted); }
.scc-bar-wrap { height: 4px; background: var(--border); border-radius: 99px; margin-bottom: 12px; overflow: hidden; }
.scc-bar      { height: 100%; border-radius: 99px; transition: width 1s; }
.scc-btn {
  display: block; text-align: center;
  font-family: var(--ff, sans-serif); font-size: .73rem; font-weight: 600;
  padding: 7px; border-radius: 8px;
  background: rgba(99,102,241,.08); color: #6366f1;
  border: 1px solid rgba(99,102,241,.2);
  text-decoration: none; transition: all .2s;
}
.scc-btn:hover { background: #6366f1; color: #fff; border-color: #6366f1; }

/* ─────────────────────────────────────────────
   TASK ITEMS (student)
───────────────────────────────────────────── */
.task-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.task-item:last-child { border-bottom: none; }
.task-item:hover { background: var(--bg-card2); }
.ti-type {
  font-size: .62rem; font-weight: 700;
  padding: 3px 8px; border-radius: 99px;
  flex-shrink: 0; letter-spacing: .3px;
}
.ti-body  { flex: 1; min-width: 0; }
.ti-title { font-size: .8rem; font-weight: 500; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ti-due   { font-size: .68rem; font-weight: 600; margin-top: 2px; }

/* ─────────────────────────────────────────────
   GRADE ITEMS (student)
───────────────────────────────────────────── */
.grade-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.grade-item:last-child { border-bottom: none; }
.grade-item:hover { background: var(--bg-card2); }
.gi-letter {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff, sans-serif); font-size: .85rem; font-weight: 800;
  flex-shrink: 0;
}
.gi-body   { flex: 1; min-width: 0; }
.gi-title  { font-size: .8rem; font-weight: 500; color: var(--text-primary); }
.gi-course { font-size: .68rem; color: var(--text-muted); }
.gi-pct    { font-family: var(--ff, sans-serif); font-size: .88rem; font-weight: 700; flex-shrink: 0; }

/* ─────────────────────────────────────────────
   ANNOUNCEMENTS (student)
───────────────────────────────────────────── */
.ann-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.ann-item:last-child { border-bottom: none; }
.ann-item:hover { background: var(--bg-card2); }
.ann-dot  { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.ann-body { flex: 1; min-width: 0; }
.ann-title { font-size: .8rem; font-weight: 500; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ann-meta  { font-size: .66rem; color: var(--text-muted); }

/* ─────────────────────────────────────────────
   EMPTY STATE
───────────────────────────────────────────── */
.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 20px; gap: 10px;
  color: var(--text-muted);
}
.empty-state p { font-size: .8rem; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .std-welcome { padding: 18px; }
  .sw-stats    { display: none; }
  .welcome-bar .wb-right { display: none; }
}
@media (max-width: 600px) {
  .mini-stats-row { flex-wrap: wrap; }
  .mini-stat { border-right: none; border-bottom: 1px solid var(--border); flex-basis: 50%; }
  .adm-table th:nth-child(n+4), .adm-table td:nth-child(n+4) { display: none; }
  .quick-actions .qa-btn { font-size: .72rem; padding: 8px 12px; }
}
