/* ==========================================================================
   Easy7 Omni-Platform Command Hub — Executive Aviation Cockpit (styles.css)
   Built with Impeccable Design Engine Standards:
   - 3-Second Rule: Zero Cognitive Clutter, Calm Dark Tones, Restrained Accents
   - Single-Screen High Density Matrix Overview
   ========================================================================== */

:root {
  --bg-deep: hsl(222, 47%, 6%);
  --bg-surface: hsla(222, 40%, 10%, 0.85);
  --bg-surface-hover: hsla(222, 42%, 14%, 0.95);
  --bg-input: hsla(222, 38%, 12%, 0.7);
  
  --border-subtle: hsla(220, 20%, 85%, 0.08);
  --border-bright: hsla(220, 25%, 90%, 0.16);

  /* Curated Semantics */
  --accent-emerald: hsl(158, 85%, 44%);
  --accent-gold: hsl(42, 95%, 55%);
  --accent-cyan: hsl(192, 90%, 50%);
  --accent-blue: hsl(217, 91%, 60%);
  --accent-coral: hsl(352, 85%, 60%);

  /* Platforms */
  --color-fb: #1877f2;
  --color-ig: #e1306c;
  --color-yt: #ff0000;
  --color-tt: #00f2fe;

  /* Typography */
  --text-primary: hsl(210, 40%, 98%);
  --text-secondary: hsl(215, 20%, 75%);
  --text-muted: hsl(218, 15%, 52%);

  --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-latin: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --blur-glass: blur(14px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.cockpit-body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(at 0% 0%, hsla(217, 91%, 60%, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, hsla(158, 85%, 44%, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-arabic);
  min-height: 100vh;
  line-height: 1.5;
  direction: rtl;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: hsla(220, 20%, 85%, 0.15); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-emerald); }

/* ==========================================================================
   Header Strip
   ========================================================================== */
.cockpit-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsla(222, 47%, 6%, 0.92);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 28px;
}

.cockpit-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-zone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
  color: hsl(222, 47%, 6%);
  font-family: var(--font-latin);
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.brand-info h1 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-accent {
  background: hsla(42, 95%, 55%, 0.15);
  border: 1px solid hsla(42, 95%, 55%, 0.35);
  color: var(--accent-gold);
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius-full);
}

.brand-info p {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Nav Tabs */
.cockpit-nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: hsla(222, 40%, 10%, 0.6);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.nav-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-arabic);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.nav-tab:hover {
  color: var(--text-primary);
  background: hsla(220, 20%, 85%, 0.05);
}

.nav-tab.active {
  background: hsla(158, 85%, 44%, 0.15);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.tab-highlight {
  background: hsla(42, 95%, 55%, 0.2);
  color: var(--accent-gold);
  font-family: var(--font-latin);
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.tab-badge {
  background: hsla(158, 85%, 44%, 0.25);
  color: var(--accent-emerald);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* Header Meta & Clock */
.header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cloud-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: hsla(158, 85%, 44%, 0.1);
  border: 1px solid hsla(158, 85%, 44%, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-emerald);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-emerald);
}

.time-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  background: var(--bg-input);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.btn-icon {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

/* ==========================================================================
   Main & Tab Panels
   ========================================================================= */
.cockpit-main {
  max-width: 1440px;
  margin: 20px auto 60px auto;
  padding: 0 28px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.tab-panel.active {
  display: block;
}

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

/* ==========================================================================
   TAB 1: MATRIX (Zero Scroll Executive Overview)
   ========================================================================== */
.matrix-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.summary-stat-box {
  display: flex;
  flex-direction: column;
}

.stat-lbl {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-num {
  font-family: var(--font-latin);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.stat-num.gold { color: var(--accent-gold); }
.stat-num.emerald { color: var(--accent-emerald); }
.stat-num.cyan { color: var(--accent-cyan); }

.stat-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.matrix-quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-action-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-emerald);
  border: none;
  color: hsl(222, 47%, 6%);
  font-family: var(--font-arabic);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  box-shadow: 0 4px 14px hsla(158, 85%, 44%, 0.3);
  transition: all 0.2s ease;
}

.btn-action-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Matrix Table Card */
.cockpit-matrix-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.matrix-card-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.matrix-card-header h2 {
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.matrix-card-header p {
  font-size: 12px;
  color: var(--text-muted);
}

.matrix-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-status.green { background: var(--accent-emerald); box-shadow: 0 0 6px var(--accent-emerald); }
.dot-status.amber { background: var(--accent-gold); box-shadow: 0 0 6px var(--accent-gold); }

/* Table Structure */
.matrix-table-container {
  width: 100%;
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 13px;
}

.matrix-table th {
  background: hsla(222, 47%, 6%, 0.7);
  padding: 12px 18px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 11.5px;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-table td {
  padding: 12px 18px;
  border-bottom: 1px solid hsla(220, 20%, 85%, 0.04);
  vertical-align: middle;
}

.matrix-table tbody tr {
  transition: background 0.15s ease;
  cursor: pointer;
}

.matrix-table tbody tr:hover {
  background: hsla(220, 20%, 85%, 0.04);
}

.matrix-table tbody tr.row-selected {
  background: hsla(158, 85%, 44%, 0.08);
  border-left: 3px solid var(--accent-emerald);
}

/* Language Column Item */
.lang-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-flag-sm {
  font-size: 24px;
  line-height: 1;
}

.lang-details h4 {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
}

.lang-mascot-txt {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Interactive Platform Capsule Pill */
.matrix-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 11.5px;
  text-decoration: none;
  transition: all 0.15s ease;
  background: hsla(220, 20%, 85%, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.matrix-pill.live {
  background: hsla(158, 85%, 44%, 0.12);
  border-color: hsla(158, 85%, 44%, 0.35);
  color: var(--accent-emerald);
  cursor: pointer;
}

.matrix-pill.live:hover {
  background: var(--accent-emerald);
  color: hsl(222, 47%, 6%) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px hsla(158, 85%, 44%, 0.3);
}

.matrix-pill.live:hover .pill-icon {
  color: hsl(222, 47%, 6%);
}

.pill-icon {
  font-size: 11px;
  font-weight: 900;
}

.pill-icon.fb { color: var(--color-fb); }
.pill-icon.ig { color: var(--color-ig); }
.pill-icon.yt { color: var(--color-yt); }
.pill-icon.tt { color: var(--color-tt); }

.preview-click-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-arabic);
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
}

.preview-click-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ==========================================================================
   Lesson Dialogue Drawer
   ========================================================================== */
.lesson-drawer {
  display: none;
  background: hsla(222, 45%, 9%, 0.96);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 16px;
  animation: slideDown 0.2s ease-out;
}

.lesson-drawer.open {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-title h3 {
  font-size: 15px;
  font-weight: 800;
}

.drawer-mascot {
  font-size: 12px;
  color: var(--text-muted);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
}

.drawer-theme-tag {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 12.5px;
  margin-bottom: 8px;
}

.drawer-dialogue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dialogue-card {
  background: hsla(0, 0%, 0%, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
}

.dialogue-card.question { border-left: 3px solid var(--accent-cyan); }
.dialogue-card.response { border-left: 3px solid var(--accent-emerald); }

/* ==========================================================================
   Viral Group Sharing Hub
   ========================================================================== */
.share-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
}

.share-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.share-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--share-color, var(--accent-emerald));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.share-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-lang-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-flag {
  font-size: 26px;
}

.share-post-preview {
  background: hsla(0, 0%, 0%, 0.28);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: pre-wrap;
  max-height: 110px;
  overflow-y: auto;
}

.share-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-copy-fast {
  background: hsla(158, 85%, 44%, 0.15);
  border: 1px solid hsla(158, 85%, 44%, 0.35);
  color: var(--accent-emerald);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-arabic);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-copy-fast:hover {
  background: var(--accent-emerald);
  color: hsl(222, 47%, 6%);
}

.btn-share-fb {
  background: hsla(214, 89%, 52%, 0.15);
  border: 1px solid hsla(214, 89%, 52%, 0.4);
  color: var(--color-fb);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-arabic);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-share-fb:hover {
  background: var(--color-fb);
  color: #fff;
}

.btn-share-wa {
  background: hsla(142, 70%, 45%, 0.15);
  border: 1px solid hsla(142, 70%, 45%, 0.4);
  color: #25d366;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-arabic);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-share-wa:hover {
  background: #25d366;
  color: #fff;
}

.speaker-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.target-text {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.ar-text {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Panels Headers & Controls
   ========================================================================== */
.panel-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.panel-header-strip h2 {
  font-size: 18px;
  font-weight: 800;
}

.panel-header-strip p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.panel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.clean-input, .clean-select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  font-family: var(--font-arabic);
  font-size: 12px;
  outline: none;
  transition: border-color 0.15s ease;
}

.clean-input:focus, .clean-select:focus {
  border-color: var(--accent-emerald);
}

.filter-pills-bar {
  display: flex;
  gap: 6px;
}

.pill-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill-btn:hover { background: var(--bg-surface-hover); color: var(--text-primary); }
.pill-btn.active {
  background: hsla(158, 85%, 44%, 0.15);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

/* ==========================================================================
   Comments Grid
   ========================================================================== */
.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 14px;
}

.comment-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Post Preview Bar inside Comment Item */
.comment-post-preview-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: hsla(0, 0%, 0%, 0.3);
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.post-preview-thumb {
  width: 48px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-bright);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.post-preview-thumb:hover {
  transform: scale(1.05);
  border-color: var(--accent-emerald);
}

.post-preview-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(222, 40%, 15%, 0.8);
  font-size: 20px;
}

.post-preview-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.post-preview-tag {
  font-size: 10.5px;
  color: var(--accent-gold);
  font-weight: 700;
}

.post-preview-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.post-preview-title:hover {
  text-decoration: underline;
  color: var(--accent-emerald);
}

.author-avatar-circle {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, hsla(217, 91%, 60%, 0.3), hsla(158, 85%, 44%, 0.3));
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: 12px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.comment-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-box h4 {
  font-size: 13px;
  font-weight: 700;
}

.comment-txt {
  background: hsla(0, 0%, 0%, 0.2);
  padding: 10px;
  border-radius: var(--radius-xs);
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.comment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bot-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-emerald);
}

.btn-reply-sm {
  background: hsla(220, 20%, 85%, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-family: var(--font-arabic);
  font-size: 11.5px;
  cursor: pointer;
}

.btn-reply-sm:hover {
  background: var(--accent-emerald);
  color: hsl(222, 47%, 6%);
}

/* ==========================================================================
   28-Account Master Directory
   ========================================================================== */
.accounts-clean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.acc-clean-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.acc-clean-card:hover {
  border-color: var(--border-bright);
}

.acc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.acc-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: 12px;
}
.acc-icon.facebook { background: var(--color-fb); }
.acc-icon.instagram { background: var(--color-ig); }
.acc-icon.youtube { background: var(--color-yt); }
.acc-icon.tiktok { background: #000; color: var(--color-tt); border: 1px solid hsla(192, 90%, 50%, 0.4); }

.acc-info h4 { font-size: 13px; font-weight: 700; }
.acc-info p { font-size: 11px; color: var(--text-muted); font-family: var(--font-latin); }

.acc-link {
  color: var(--accent-emerald);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
}
.acc-link:hover { text-decoration: underline; }

/* ==========================================================================
   Timeline Archive
   ========================================================================== */
.timeline-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
  max-height: 520px;
}

.timeline-clean-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 12px;
}

.timeline-clean-table th {
  background: hsla(222, 47%, 6%, 0.95);
  position: sticky;
  top: 0;
  padding: 10px 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-clean-table td {
  padding: 8px 14px;
  border-bottom: 1px solid hsla(220, 20%, 85%, 0.04);
}

.timeline-clean-table tr:hover {
  background: hsla(220, 20%, 85%, 0.03);
}

.day-badge-clean {
  font-family: var(--font-latin);
  font-weight: 800;
  color: var(--accent-gold);
  background: hsla(42, 95%, 55%, 0.1);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

.table-icons-group {
  display: flex;
  gap: 5px;
}

.t-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}
.t-icon.fb { background: var(--color-fb); }
.t-icon.ig { background: var(--color-ig); }
.t-icon.yt { background: var(--color-yt); }
.t-icon.tt { background: #000; color: var(--color-tt); border: 1px solid hsla(192, 90%, 50%, 0.4); }
.t-icon.off { background: hsla(220, 20%, 85%, 0.05); color: var(--text-muted); cursor: not-allowed; }

/* ==========================================================================
   System Health
   ========================================================================== */
.system-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.sys-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sys-card h3 {
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.sys-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.sys-row span:first-child { color: var(--text-muted); }
.sys-val-green { font-weight: 700; color: var(--accent-emerald); }
.sys-val-gold { font-family: var(--font-mono); font-weight: 700; color: var(--accent-gold); }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: hsla(222, 47%, 6%, 0.8);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: hsla(222, 45%, 11%, 0.98);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 480px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reply-target-box {
  background: hsla(0, 0%, 0%, 0.3);
  padding: 10px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  color: var(--text-secondary);
}

#modal-reply-input {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 10px;
  border-radius: var(--radius-xs);
  font-family: var(--font-arabic);
  font-size: 12.5px;
  resize: vertical;
  outline: none;
}

.quick-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip-btn {
  background: hsla(220, 20%, 85%, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  cursor: pointer;
}

.chip-btn:hover {
  background: hsla(158, 85%, 44%, 0.15);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.btn-cancel {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-arabic);
  font-size: 12px;
  cursor: pointer;
}

.btn-submit {
  background: var(--accent-emerald);
  border: none;
  color: hsl(222, 47%, 6%);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  font-family: var(--font-arabic);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 900px) {
  .cockpit-header-inner { flex-direction: column; align-items: stretch; }
  .cockpit-nav-tabs { overflow-x: auto; }
  .drawer-dialogue-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   AI AUTO-REPLY HERO BAR & PLATFORM BADGES
   ========================================================================== */
.auto-reply-hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, hsla(222, 42%, 11%, 0.95), hsla(192, 85%, 12%, 0.85));
  border: 1px solid hsla(192, 85%, 45%, 0.35);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px hsla(192, 85%, 25%, 0.15);
}

.auto-reply-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-pulse-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot-ai {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-dot 1.5s infinite;
}

.ai-title {
  font-family: var(--font-arabic);
  font-size: 13.5px;
  font-weight: 800;
  color: hsl(210, 40%, 98%);
}

.ai-tag-ready {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  background: hsla(158, 85%, 44%, 0.15);
  color: var(--accent-emerald);
  border: 1px solid hsla(158, 85%, 44%, 0.3);
  font-weight: 700;
}

.ai-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.auto-reply-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-ai-auto-all {
  background: linear-gradient(135deg, hsl(192, 90%, 45%), hsl(158, 85%, 44%));
  color: hsl(222, 47%, 6%);
  border: none;
  border-radius: var(--radius-xs);
  padding: 9px 18px;
  font-family: var(--font-arabic);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px hsla(192, 90%, 45%, 0.3);
  white-space: nowrap;
}

.btn-ai-auto-all:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px hsla(192, 90%, 45%, 0.5);
  filter: brightness(1.08);
}

.btn-ai-auto-all:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Modal AI Action Bar */
.modal-ai-action-bar {
  margin-bottom: 10px;
}

.btn-magic-ai {
  width: 100%;
  background: linear-gradient(135deg, hsla(265, 80%, 65%, 0.2), hsla(192, 90%, 50%, 0.2));
  border: 1px solid hsla(265, 80%, 65%, 0.4);
  color: hsl(210, 40%, 98%);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-arabic);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-magic-ai:hover {
  background: linear-gradient(135deg, hsla(265, 80%, 65%, 0.35), hsla(192, 90%, 50%, 0.35));
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px hsla(192, 90%, 50%, 0.25);
}

.btn-magic-ai:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Platform Badges */
.platform-badge-youtube {
  background: rgba(255, 0, 0, 0.15) !important;
  color: #ff4d4d !important;
  border: 1px solid rgba(255, 0, 0, 0.35) !important;
}

.platform-badge-tiktok {
  background: rgba(0, 242, 254, 0.12) !important;
  color: #00f2fe !important;
  border: 1px solid rgba(0, 242, 254, 0.35) !important;
}

.platform-badge-instagram {
  background: rgba(225, 48, 108, 0.15) !important;
  color: #ff6b9d !important;
  border: 1px solid rgba(225, 48, 108, 0.35) !important;
}

.platform-badge-facebook {
  background: rgba(24, 119, 242, 0.15) !important;
  color: #4d97ff !important;
  border: 1px solid rgba(24, 119, 242, 0.35) !important;
}

/* ==========================================================================
   Analytics Suite & Responsive Mobile Layout (Easy7 Impeccable Engine)
   ========================================================================== */

/* Summary Platform Pills Strip */
.summary-platform-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.plat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: hsla(222, 40%, 12%, 0.85);
  border: 1px solid var(--border-subtle);
  font-size: 12.5px;
  font-family: var(--font-arabic);
  transition: all 0.2s ease;
}

.plat-pill:hover {
  transform: translateY(-1px);
  border-color: var(--border-bright);
}

.plat-pill.fb { border-right: 3px solid #1877f2; }
.plat-pill.ig { border-right: 3px solid #e1306c; }
.plat-pill.yt { border-right: 3px solid #ff0000; }
.plat-pill.tt { border-right: 3px solid #00f2fe; }

.pill-title {
  color: var(--text-secondary);
  font-weight: 600;
}

.pill-count {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--text-primary);
  font-size: 13.5px;
}

.btn-action-analytics {
  background: linear-gradient(135deg, hsla(42, 95%, 55%, 0.15), hsla(192, 90%, 50%, 0.15));
  border: 1px solid hsla(42, 95%, 55%, 0.4);
  color: var(--accent-gold);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-arabic);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-action-analytics:hover {
  background: linear-gradient(135deg, hsla(42, 95%, 55%, 0.3), hsla(192, 90%, 50%, 0.3));
  border-color: var(--accent-gold);
  transform: translateY(-1px);
  box-shadow: 0 0 12px hsla(42, 95%, 55%, 0.25);
}

/* 1. Analytics KPI Grid */
.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--blur-glass);
  transition: all 0.2s ease;
}

.kpi-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsla(222, 47%, 4%, 0.5);
}

.kpi-card.gold { border-top: 3px solid var(--accent-gold); }
.kpi-card.emerald { border-top: 3px solid var(--accent-emerald); }
.kpi-card.cyan { border-top: 3px solid var(--accent-cyan); }
.kpi-card.purple { border-top: 3px solid hsl(265, 85%, 65%); }

.kpi-icon {
  font-size: 26px;
  line-height: 1;
  padding: 8px;
  background: hsla(222, 40%, 14%, 0.8);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.kpi-content {
  flex: 1;
  min-width: 0;
}

.kpi-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 4px;
}

.kpi-number {
  font-family: var(--font-latin);
  font-size: 26px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
}

.kpi-number small {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.kpi-progress-bar {
  width: 100%;
  height: 5px;
  background: hsla(220, 20%, 85%, 0.1);
  border-radius: var(--radius-full);
  margin: 6px 0;
  overflow: hidden;
}

.kpi-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.kpi-sub {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Analytics Section Headers */
.analytics-section-title {
  margin: 28px 0 16px 0;
}

.analytics-section-title h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}

.analytics-section-title p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* 2. Platform Analytics Grid */
.platform-analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.plat-deep-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: var(--blur-glass);
  transition: all 0.2s ease;
}

.plat-deep-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.plat-deep-card.yt { border-top: 3px solid #ff0000; }
.plat-deep-card.tt { border-top: 3px solid #00f2fe; }
.plat-deep-card.ig { border-top: 3px solid #e1306c; }
.plat-deep-card.fb { border-top: 3px solid #1877f2; }

.plat-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.plat-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plat-icon-lg {
  font-size: 24px;
}

.plat-brand h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.plat-brand p {
  font-size: 11px;
  color: var(--text-muted);
}

.plat-badge-verified {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: hsla(158, 85%, 44%, 0.15);
  color: var(--accent-emerald);
  border: 1px solid hsla(158, 85%, 44%, 0.3);
  font-weight: 700;
  white-space: nowrap;
}

.plat-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stat-col {
  display: flex;
  flex-direction: column;
}

.stat-h {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-v {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
}

.stat-v.highlight-yt { color: #ff5252; }
.stat-v.highlight-tt { color: #00f2fe; }
.stat-v.highlight-ig { color: #ff6b9d; }
.stat-v.highlight-fb { color: #4d97ff; }

.plat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-secondary);
}

.plat-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 700;
}

.plat-link:hover {
  text-decoration: underline;
}

.plat-tag {
  font-size: 10.5px;
  color: var(--text-muted);
  background: hsla(222, 40%, 14%, 0.8);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

/* 3. Containers & Tables */
.analytics-card-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  backdrop-filter: var(--blur-glass);
}

.container-header {
  margin-bottom: 16px;
}

.container-header h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.container-header p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Visual Distribution Bars */
.distribution-bars-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dist-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dist-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

.dist-title {
  color: var(--text-primary);
}

.dist-val {
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.dist-bar {
  width: 100%;
  height: 8px;
  background: hsla(220, 20%, 85%, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.dist-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.dist-fill.yt { background: linear-gradient(90deg, #ff4141, #ff0000); }
.dist-fill.tt { background: linear-gradient(90deg, #00f2fe, #4facfe); }
.dist-fill.ig { background: linear-gradient(90deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.dist-fill.fb { background: linear-gradient(90deg, #1877f2, #3b5998); }

/* Dense Table */
.analytics-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.analytics-dense-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: right;
}

.analytics-dense-table th {
  padding: 12px 14px;
  background: hsla(222, 45%, 12%, 0.85);
  color: var(--text-secondary);
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
  white-space: nowrap;
}

.analytics-dense-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  white-space: nowrap;
}

.analytics-dense-table tbody tr:hover {
  background: hsla(222, 40%, 14%, 0.5);
}

.table-total-row td {
  background: hsla(42, 95%, 55%, 0.08);
  border-top: 2px solid var(--accent-gold);
  border-bottom: none;
  font-size: 14px;
}

.stat-highlight-total {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent-gold);
}

/* Roadmap Grid */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.roadmap-card {
  background: hsla(222, 40%, 12%, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-card.active {
  border-color: var(--accent-gold);
  background: hsla(42, 95%, 55%, 0.05);
}

.roadmap-badge {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 800;
  display: inline-block;
  margin-bottom: 6px;
}

.roadmap-badge.active {
  background: hsla(42, 95%, 55%, 0.2);
  color: var(--accent-gold);
  border: 1px solid hsla(42, 95%, 55%, 0.4);
}

.roadmap-badge.planned {
  background: hsla(220, 20%, 85%, 0.08);
  color: var(--text-muted);
}

.roadmap-header h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.roadmap-body p {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.roadmap-progress {
  margin-top: 10px;
}

.rm-bar {
  width: 100%;
  height: 5px;
  background: hsla(220, 20%, 85%, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.rm-fill {
  height: 100%;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
}

.rm-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness
   ========================================================================== */
@media (max-width: 1100px) {
  .analytics-kpi-grid,
  .platform-analytics-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cockpit-header {
    padding: 8px 14px;
  }

  .cockpit-header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .brand-zone {
    justify-content: space-between;
  }

  .cockpit-nav-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    gap: 6px;
    scrollbar-width: none;
  }
  .cockpit-nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .nav-tab {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .header-meta {
    justify-content: space-between;
    width: 100%;
  }

  .cockpit-main {
    padding: 12px;
  }

  .matrix-summary-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .summary-platform-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .plat-pill {
    justify-content: space-between;
  }

  .analytics-kpi-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .platform-analytics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .analytics-dense-table th,
  .analytics-dense-table td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .matrix-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


