/* ── DESIGN SYSTEM ───────────────────────────────────────────────────── */
:root {
  --bg:           #F0F2F5;
  --surface:      #FFFFFF;
  --surface-2:    #F7F8FA;
  --border:       #E4E7EC;
  --border-light: #EEF0F4;
  --text:         #111827;
  --text-2:       #374151;
  --text-muted:   #6B7280;
  --text-faint:   #9CA3AF;

  --blue:   #2563EB;
  --green:  #88C76C;
  --orange: #D97706;
  --purple: #7C3AED;
  --navy:   #1B2B4B;
  --red:    #DC2626;

  --blue-bg:   #EFF6FF;
  --green-bg:  #F2FAF0;
  --orange-bg: #FFFBEB;
  --purple-bg: #F5F3FF;
  --navy-bg:   #EEF2F8;
  --red-bg:    #FEF2F2;

  --header-h: 56px;
  --period-h: 48px;
  --radius:   10px;
  --radius-sm: 6px;
  --shadow:   0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:0 4px 12px rgba(0,0,0,.08);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── RESET ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
svg { display: block; flex-shrink: 0; }

/* ── HEADER ──────────────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.header-logo { display: flex; align-items: center; gap: 12px; }

.logo-mark svg {
  width: 34px; height: 34px;
  border-radius: 8px;
}

.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-brand {
  font-size: .95rem; font-weight: 600;
  color: #fff; letter-spacing: -.01em;
}
.logo-sub { font-size: .7rem; color: rgba(255,255,255,.45); font-weight: 400; }

.header-right { display: flex; align-items: center; gap: 12px; }

.last-updated { font-size: .72rem; color: rgba(255,255,255,.45); }

.refresh-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  font-size: .75rem; font-weight: 500; font-family: var(--font);
  cursor: pointer; transition: background .15s;
}
.refresh-btn:hover { background: rgba(255,255,255,.18); }

.pdf-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--blue);
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  font-size: .75rem; font-weight: 500; font-family: var(--font);
  cursor: pointer; transition: background .15s;
}
.pdf-btn:hover { background: #1d4ed8; }

/* ── PERIOD BAR ──────────────────────────────────────────────────────── */
.period-bar {
  position: sticky; top: var(--header-h); z-index: 90;
  height: var(--period-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  padding: 0 24px;
  overflow-x: auto;
}
.period-bar::-webkit-scrollbar { height: 0; }

.period-pills { display: flex; gap: 2px; }

.period-pill {
  padding: 4px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 20px;
  font-size: .75rem; font-weight: 500; font-family: var(--font);
  color: var(--text-muted);
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.period-pill:hover { background: var(--surface-2); color: var(--text); }
.period-pill.active {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
}

.period-divider {
  width: 1px; height: 20px;
  background: var(--border); flex-shrink: 0;
}

.period-range {
  font-size: .75rem; font-weight: 600; color: var(--text-2);
  white-space: nowrap;
}
.period-comp {
  font-size: .7rem; color: var(--text-faint); white-space: nowrap;
}

.comparison-select {
  font-size: .73rem; color: var(--text-2); font-family: var(--font);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 4px 8px; background: var(--surface); cursor: pointer;
  outline: none;
}

.custom-date-inputs {
  display: none; align-items: center; gap: 6px;
}
.custom-date-inputs.visible { display: flex; }
.custom-date-inputs input {
  font-size: .73rem; font-family: var(--font);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 4px 6px; outline: none; color: var(--text);
}
.date-sep { font-size: .7rem; color: var(--text-faint); }
.btn-apply {
  padding: 4px 10px;
  background: var(--blue); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-size: .73rem; font-weight: 500; font-family: var(--font);
  cursor: pointer;
}

/* ── CONNECTORS BAR ──────────────────────────────────────────────────── */
.connectors-bar {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 14px 24px 0;
}
.connector-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .72rem; font-weight: 500; color: var(--text-2);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}
.connector-pill:hover {
  background: var(--gray-light);
  border-color: var(--text-light);
}
.connector-pill.inactive {
  opacity: 0.5;
  background: var(--gray-light);
  border-color: var(--border);
}
.connector-pill.inactive circle {
  fill: var(--gray) !important;
}

/* ── MAIN ────────────────────────────────────────────────────────────── */
.main {
  max-width: 1440px; margin: 0 auto;
  padding: 0 24px 40px;
}

/* ── SECTION ─────────────────────────────────────────────────────────── */
.section { margin-top: 28px; }

.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  display: flex; align-items: center; gap: 9px;
  font-size: .875rem; font-weight: 600; color: var(--text);
  letter-spacing: -.01em;
}

.section-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
}
.section-icon--gads   { background: #EFF6FF; border-color: #BFDBFE; }
.section-icon--meta   { background: #EFF6FF; border-color: #BFDBFE; }
.section-icon--seo    { background: #ECFDF5; border-color: #A7F3D0; }
.section-icon--email  { background: #FFF7ED; border-color: #FED7AA; }
.section-icon--merchant { background: #F5F3FF; border-color: #DDD6FE; }
.section-icon--clarity { background: #F0FDF4; border-color: #BBF7D0; }
.section-icon--tiktok  { background: #F3E8FF; border-color: #E9D5FF; }

.section.hidden { display: none !important; }

.section-badge {
  font-size: .68rem; font-weight: 500;
  padding: 3px 8px;
  background: #FFFBEB; color: #92400E;
  border: 1px solid #FDE68A;
  border-radius: 20px;
}

/* ── KPI GRIDS ───────────────────────────────────────────────────────── */
.kpi-grid {
  display: grid; gap: 10px; margin-bottom: 10px;
}
.kpi-grid--3 { grid-template-columns: repeat(3, 1fr); }
.kpi-grid--4 { grid-template-columns: repeat(4, 1fr); }
.kpi-grid--5 { grid-template-columns: repeat(5, 1fr); }
.kpi-grid--6 { grid-template-columns: repeat(6, 1fr); }
.kpi-grid--7 { grid-template-columns: repeat(7, 1fr); }

/* ── KPI CARD ────────────────────────────────────────────────────────── */
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: box-shadow .15s;
}
.kpi-card:hover { box-shadow: var(--shadow-md); }

/* Color accent — top border */
.kpi-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
}
.kpi-card--blue::before   { background: var(--blue); }
.kpi-card--green::before  { background: var(--green); }
.kpi-card--orange::before { background: var(--orange); }
.kpi-card--purple::before { background: var(--purple); }
.kpi-card--navy::before   { background: var(--navy); }
.kpi-card--red::before    { background: var(--red); }
.kpi-card--tiktok::before { background: #EE1D52; }

.kpi-card--center {
  align-items: center; justify-content: center; text-align: center;
}

.kpi-label {
  display: flex; align-items: center; gap: 5px;
  font-size: .70rem; font-weight: 500;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: .04em;
}
.kpi-label--center { justify-content: center; }
.kpi-label svg { color: var(--text-faint); }

.kpi-value {
  display: flex; align-items: center; justify-content: flex-start; gap: 6px; flex-wrap: nowrap;
}
.kpi-number {
  font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em;
  color: var(--text); line-height: 1; white-space: nowrap;
}
.kpi-value--xl .kpi-number { font-size: 2.2rem; }

.kpi-hint {
  font-size: .68rem; color: var(--text-faint); margin-top: 2px;
}

/* Delta badges — classi generate da formatters.js */
.badge, .delta {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: .65rem; font-weight: 600;
  padding: 2px 5px; border-radius: 4px;
  white-space: nowrap; flex-shrink: 0;
}
.badge--green, .delta.positive  { background: #ECFDF5; color: #065F46; }
.badge--red, .delta.negative    { background: #FEF2F2; color: #991B1B; }
.badge--gray, .delta.neutral    { background: var(--surface-2); color: var(--text-muted); }

/* ── SKELETON ────────────────────────────────────────────────────────── */
.skeleton {
  display: inline-block;
  width: 80px; height: 24px;
  background: linear-gradient(90deg, #E5E7EB 25%, #F3F4F6 50%, #E5E7EB 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── CARD GRIDS ──────────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 10px; margin-top: 10px; }
.card-grid--2   { grid-template-columns: 1fr 1fr; }
.card-grid--3-1 { grid-template-columns: 2fr 1fr; }

/* ── CARD ────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.card-title {
  display: flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 600;
  color: var(--text-2); margin-bottom: 14px;
  letter-spacing: -.01em;
}
.card-title svg { color: var(--text-faint); }

/* ── CHARTS ──────────────────────────────────────────────────────────── */
.chart-area { position: relative; }
.h-200 { height: 200px; }
.h-240 { height: 240px; }
.h-280 { height: 280px; }

/* ── TABLES ──────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

.dash-table {
  width: 100%; border-collapse: collapse;
  font-size: .78rem;
}
.dash-table th {
  text-align: left;
  padding: 6px 10px;
  font-size: .68rem; font-weight: 600;
  color: var(--text-faint); text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.dash-table td {
  padding: 9px 10px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: var(--surface-2); }

.td-name {
  max-width: 260px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  font-weight: 500; color: var(--text);
}
.td-empty {
  text-align: center; color: var(--text-faint);
  padding: 24px !important; font-style: italic;
}

/* ── CLARITY GRID ────────────────────────────────────────────────────── */
.clarity-grid {
  display: flex; flex-wrap: wrap; gap: 0;
}
.clarity-metric {
  flex: 1; min-width: 140px;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.clarity-metric:last-child { border-right: none; }

.clarity-value {
  font-size: 2rem; font-weight: 700;
  color: var(--text); letter-spacing: -.04em; line-height: 1;
}
.clarity-label {
  font-size: .7rem; color: var(--text-faint);
  margin-top: 6px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em;
}
.clarity-metric--warn .clarity-value { color: var(--orange); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .kpi-grid--4, .kpi-grid--5, .kpi-grid--6, .kpi-grid--7 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--3-1 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main { padding: 0 12px 32px; }
  .period-bar { padding: 0 12px; }
  .header { padding: 0 16px; }
  .kpi-grid--4, .kpi-grid--3, .kpi-grid--5, .kpi-grid--6, .kpi-grid--7 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--2, .card-grid--3-1 { grid-template-columns: 1fr; }
  .clarity-metric { min-width: 100px; padding: 14px 12px; }
  .clarity-value { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .kpi-grid--4, .kpi-grid--3, .kpi-grid--5, .kpi-grid--6, .kpi-grid--7 { grid-template-columns: 1fr; }
  .logo-sub { display: none; }
}

/* ── ADDITIONAL CLASSES FOR REPORT SECTIONS ────────────────────────── */
.box-info {
  background: var(--surface-2);
  border-left: 4px solid var(--navy);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 20px;
}
.narrative {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-bottom: 20px;
  line-height: 1.6;
}
.narrative p {
  margin-bottom: 10px;
}
.list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.list-bullet {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.list-text {
  color: var(--text-2);
}
.footnote {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 20px;
  line-height: 1.4;
}
.dash-table tr.highlight {
  background: var(--green-bg);
  font-weight: 600;
}
.dash-table tr.highlight td {
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  color: var(--navy);
}
.section-badge--gray {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ── DONUT SPLIT CHART & LEGEND ── */
.donut-split-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 200px;
  padding: 10px 0;
}

.donut-chart-wrapper {
  flex: 1;
  height: 100%;
  position: relative;
}

.donut-legend-wrapper {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.donut-legend-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.donut-legend-item.legend-total {
  font-weight: 600;
  border-bottom: none;
  padding-top: 8px;
  border-top: 1px dashed var(--text-faint);
}

.legend-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.legend-name {
  font-size: 0.88rem;
  color: var(--text-2);
}

.legend-values {
  display: flex;
  align-items: center;
  gap: 15px;
}

.legend-pct {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  min-width: 40px;
  text-align: right;
}

.legend-abs {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-width: 70px;
  text-align: right;
}

@media (max-width: 768px) {
  .donut-split-container {
    flex-direction: column;
    height: auto;
    gap: 16px;
    padding: 10px 0 0 0;
  }
  .donut-chart-wrapper {
    width: 100%;
    height: 160px;
  }
  .donut-legend-wrapper {
    width: 100%;
  }
}

/* Welfare H&A Box */
.welfare-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fdfaf7; /* very light orange/beige tint */
  border: 1px solid #fed7aa; /* orangeLight tint */
  border-radius: 8px;
  padding: 16px 24px;
  margin-top: 16px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.welfare-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffedd5;
  color: #ea580c;
  border-radius: 50%;
  flex-shrink: 0;
}
.welfare-icon svg {
  fill: none;
  stroke: currentColor;
}
.welfare-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.welfare-title {
  font-weight: 600;
  font-size: 15px;
  color: #1e293b;
}
.welfare-desc {
  font-size: 13px;
  color: #64748b;
}
.welfare-stats {
  display: flex;
  gap: 32px;
}
.welfare-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}
.welfare-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.welfare-stat-val {
  font-weight: 700;
  font-size: 16px;
  color: #ea580c;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
.welfare-stat-val .kpi-number {
  font-weight: 700;
  font-size: 16px;
  color: #ea580c;
}
.welfare-stat-val .badge {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .welfare-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .welfare-stats {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }
  .welfare-stat-item {
    text-align: left;
  }
  .welfare-stat-val {
    justify-content: flex-start;
  }
}

/* ── STILI LOGIN OVERLAY MULTI-TENANT ─────────────────────────────────── */
.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-overlay.hidden {
  display: none !important;
}
.auth-card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 400px;
  padding: 32px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  animation: authFadeIn 0.3s ease-out;
}
@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-header {
  text-align: center;
  margin-bottom: 24px;
}
.auth-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--navy-bg, #EEF2F8);
  color: var(--navy, #1B2B4B);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.auth-title {
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 13px;
  color: #64748B;
  line-height: 1.4;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.auth-field label {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.auth-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-field input:focus {
  border-color: var(--navy, #1B2B4B);
  box-shadow: 0 0 0 3px rgba(27, 43, 75, 0.15);
}
.auth-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  font-size: 13px;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: center;
}
.auth-error.hidden {
  display: none !important;
}
.auth-submit-btn {
  width: 100%;
  background: var(--navy, #1B2B4B);
  color: #FFFFFF;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s;
}
.auth-submit-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}
.auth-submit-btn:active {
  transform: translateY(0);
}
.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 11px;
  color: #94A3B8;
}

/* ── METRICOOL & SOCIAL NETWORK SECTION STYLING ─────────────────────── */
#section-metricool {
  background: transparent;
}

#social-tab-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  flex-wrap: wrap;
}

#social-tab-pills .period-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 20px;
  color: var(--text-muted);
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.2s ease;
}

#social-tab-pills .period-pill:hover {
  background: var(--surface-2);
  color: var(--text);
}

#social-tab-pills .period-pill.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(27, 43, 75, 0.25);
}

.social-pill-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Accent Cards per ciascun Network Social */
.social-card-web { border-top: 3px solid #3B82F6; }
.social-card-fb { border-top: 3px solid #1877F2; }
.social-card-ig { border-top: 3px solid #E4405F; }
.social-card-li { border-top: 3px solid #0A66C2; }
.social-card-tt { border-top: 3px solid #000000; }
.social-card-gbp { border-top: 3px solid #EA4335; }
.social-card-yt { border-top: 3px solid #FF0000; }

.social-post-cell {
  max-width: 380px;
  line-height: 1.4;
  word-break: break-word;
}

.social-meta-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(59, 130, 246, 0.05);
  border-left: 3px solid #3B82F6;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 8px;
}


