/* ==========================================================================
   4ADVS — Social Media Hub (Postiz Architecture Edition)
   Modern, AI-Native Social Media Management for Law Firms
   ========================================================================== */

:root {
  --sm-bg: #090d16;
  --sm-card-bg: rgba(17, 24, 39, 0.85);
  --sm-card-border: rgba(255, 255, 255, 0.08);
  --sm-primary: #f59e0b;
  --sm-primary-hover: #d97706;
  --sm-accent-blue: #3b82f6;
  --sm-accent-purple: #8b5cf6;
  --sm-accent-emerald: #10b981;
  --sm-text-main: #f3f4f6;
  --sm-text-muted: #9ca3af;
  --sm-text-dim: #6b7280;
}

body.light-theme,
html.light-theme,
[data-theme="light"] {
  --sm-bg: #f8fafc;
  --sm-card-bg: #ffffff;
  --sm-card-border: #e2e8f0;
  --sm-primary: #d97706;
  --sm-primary-hover: #b45309;
  --sm-accent-blue: #2563eb;
  --sm-accent-purple: #7c3aed;
  --sm-accent-emerald: #059669;
  --sm-text-main: #0f172a;
  --sm-text-muted: #475569;
  --sm-text-dim: #64748b;
}

.sm-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0px 18px 24px;
}

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

/* ── Header ────────────────────────────────────────────────────────────── */
.sm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sm-card-border);
}

.sm-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sm-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sm-header-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sm-header-desc {
  font-size: 13px;
  color: var(--sm-text-muted);
  margin-top: 4px;
}

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

/* ── Navigation Tabs ───────────────────────────────────────────────────── */
.sm-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--sm-card-border);
  overflow-x: auto;
  padding-bottom: 2px;
}

.sm-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--sm-text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sm-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px 8px 0 0;
}

.sm-tab-btn.active {
  color: var(--sm-primary);
  border-bottom-color: var(--sm-primary);
  background: rgba(245, 158, 11, 0.06);
  border-radius: 8px 8px 0 0;
}

.sm-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sm-tab-btn.active .sm-tab-badge {
  background: var(--sm-primary);
  color: #000;
}

/* ── KPI Grid ──────────────────────────────────────────────────────────── */
.sm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.sm-kpi-card {
  background: var(--sm-card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--sm-card-border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, border-color 0.2s;
}

.sm-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.35);
}

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

.sm-kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.sm-kpi-trend {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sm-kpi-trend.up {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.sm-kpi-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sm-text-muted);
}

.sm-kpi-value {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ── Composer Layout (Postiz 2-Column Split) ───────────────────────────── */

/* ═══════════════════════════════════════════════════════════════════════════
   POSTIZ / SOCIAL MEDIA HUB COMPOSER (DESIGN OFICIAL)
═══════════════════════════════════════════════════════════════════════════ */

/* Top Header */
.sm-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 16px;
}
.sm-hub-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sm-hub-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}
.sm-hub-badge-postiz {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}
.sm-hub-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin: 4px 0 0 0;
}
.sm-btn-create-ai {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
  transition: all 0.2s ease;
}
.sm-btn-create-ai:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.55);
}

/* Nav Sub-Bar */
.sm-hub-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 2px;
  margin-bottom: 4px;
  overflow-x: auto;
}
.sm-hub-nav-item {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.sm-hub-nav-item:hover {
  color: #fff;
}
.sm-hub-nav-item.active {
  color: #fbbf24;
  font-weight: 700;
}
.sm-hub-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

/* Main Hub Grid */
.sm-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 450px);
  gap: 20px;
  align-items: start;
}
@media (max-width: 1280px) {
  .sm-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* Form Card */
.sm-hub-form-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Card Header */
.sm-hub-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.sm-hub-head-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sm-hub-sparkle-icon {
  color: #fbbf24;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sm-hub-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.sm-hub-card-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: 4px 0 0 0;
}
.sm-hub-btn-exemplos {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.sm-hub-btn-exemplos:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sm-hub-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Barra de Configurações Rápidas no Topo (Agendado, Piloto Automático, Usar Identidade, Editar Cronograma) */
.sm-hub-quick-config-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 18px;
  margin-bottom: 22px;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.sm-topbar-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sm-topbar-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
}

.sm-topbar-label i {
  width: 15px;
  height: 15px;
}

/* Agendamento Inputs */
.sm-topbar-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sm-topbar-date-input,
.sm-topbar-time-input {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  font-size: 11.5px;
  font-family: inherit;
  padding: 4px 8px;
  outline: none;
  transition: border-color 0.2s;
}

.sm-topbar-date-input:focus,
.sm-topbar-time-input:focus {
  border-color: #fbbf24;
}

.sm-topbar-now-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #94a3b8;
  cursor: pointer;
  user-select: none;
  margin-left: 4px;
}

.sm-topbar-now-label input[type="checkbox"] {
  accent-color: #fbbf24;
  cursor: pointer;
}

/* Switch Toggle (Chavinha) */
.sm-topbar-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
}

.sm-topbar-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.sm-topbar-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #334155;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sm-topbar-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: #94a3b8;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.sm-topbar-switch input:checked + .sm-topbar-slider {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #10b981;
}

.sm-topbar-switch input:checked + .sm-topbar-slider:before {
  transform: translateX(16px);
  background-color: #ffffff;
}

.sm-topbar-switch.brand input:checked + .sm-topbar-slider {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  border-color: #fbbf24;
}

.sm-hub-quick-config-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
}

/* Botão Editar Assunto / Cronograma */
.sm-topbar-btn-cronograma {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  margin-left: auto;
}

.sm-topbar-btn-cronograma:hover {
  background: rgba(251, 191, 36, 0.18);
  border-color: #fbbf24;
  color: #fff;
  transform: translateY(-1px);
}

/* Section Title */
.sm-hub-sec-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.sm-hub-sec-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: -4px 0 10px 0;
}
.sm-step-check {
  background: #10b981;
  color: #000;
  font-size: 10px;
  font-weight: 900;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Row 1 & 2 */
.sm-hub-row-1-2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
@media (max-width: 768px) {
  .sm-hub-row-1-2 {
    grid-template-columns: 1fr;
  }
}

/* Textarea Box */
.sm-hub-textarea-box {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
}
.sm-hub-textarea-box:focus-within {
  border-color: #fbbf24;
}
.sm-hub-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  resize: none;
  min-height: 75px;
  font-family: inherit;
}
.sm-hub-textarea-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}
.sm-hub-chips-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.sm-hub-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.15s;
}
.sm-hub-chip-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.sm-hub-counter {
  font-size: 11px;
  color: #64748b;
  margin-left: auto;
}

/* Network Selector Cards */
.sm-hub-network-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sm-hub-net-card {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.sm-hub-net-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.sm-hub-net-card.selected {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.04);
}
.sm-hub-net-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sm-hub-net-icon-ig {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
}
.sm-hub-net-icon-fb {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #1877f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
}
.sm-hub-net-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.sm-hub-net-sub {
  font-size: 11px;
  color: #94a3b8;
}
.sm-hub-net-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: transparent;
  transition: all 0.2s;
}
.sm-hub-net-card.selected .sm-hub-net-check {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #000;
  font-weight: 900;
}

/* 3. Estilo e Objetivo */
.sm-hub-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
@media (max-width: 640px) {
  .sm-hub-select-grid {
    grid-template-columns: 1fr;
  }
}
.sm-hub-select-col label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}
.sm-hub-select {
  width: 100%;
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.sm-hub-select:focus {
  border-color: #fbbf24;
}

/* 4. Imagem e Estilo Visual */
.sm-hub-media-row {
  display: block;
  margin-bottom: 22px;
}
.sm-hub-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .sm-hub-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.sm-hub-tile {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  user-select: none;
}
.sm-hub-tile:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
.sm-hub-tile.active {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.06);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.15);
}
.sm-hub-tile-icon {
  font-size: 18px;
  color: #fbbf24;
}
.sm-hub-tile-label {
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.2;
}

/* Brand Identity Box */
.sm-hub-brand-box {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sm-hub-brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sm-hub-brand-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1e293b;
  border: 1px solid rgba(251, 191, 36, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  color: #fbbf24;
  text-align: center;
  padding: 2px;
}
.sm-hub-brand-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.sm-hub-brand-sub {
  font-size: 10px;
  color: #94a3b8;
}
/* Toggle Switch */
.sm-hub-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}
.sm-hub-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.sm-hub-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #334155;
  transition: 0.3s;
  border-radius: 20px;
}
.sm-hub-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}
.sm-hub-switch input:checked + .sm-hub-slider {
  background-color: #fbbf24;
}
.sm-hub-switch input:checked + .sm-hub-slider:before {
  transform: translateX(18px);
}

/* 5. Legenda e Hashtags */
.sm-hub-caption-box {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 22px;
}
.sm-hub-caption-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
}
.sm-hub-caption-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
  margin-top: 8px;
}
.sm-hub-pills-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.sm-hub-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.sm-hub-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 6. Agendamento */
.sm-hub-schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sm-hub-schedule-inputs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sm-hub-date-input,
.sm-hub-time-input {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  outline: none;
}
.sm-hub-date-input:focus,
.sm-hub-time-input:focus {
  border-color: #fbbf24;
}
.sm-hub-toggle-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
}
.sm-btn-submit-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #090e17;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
  margin-left: auto;
}
.sm-btn-submit-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREVIEW COLUMN & VARIATIONS SIDEBAR
═══════════════════════════════════════════════════════════════════════════ */
.sm-hub-preview-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 16px;
  align-self: start;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(251, 191, 36, 0.25) transparent;
  z-index: 15;
}
.sm-hub-preview-card::-webkit-scrollbar {
  width: 4px;
}
.sm-hub-preview-card::-webkit-scrollbar-thumb {
  background: rgba(251, 191, 36, 0.25);
  border-radius: 4px;
}
.sm-hub-preview-head {
  margin-bottom: 14px;
}
.sm-hub-preview-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.sm-hub-preview-sub {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 3px 0 0 0;
}

/* Network Tabs */
.sm-hub-preview-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
}
.sm-hub-prev-tab {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.sm-hub-prev-tab.active {
  background: rgba(251, 191, 36, 0.08);
  border-color: #fbbf24;
  color: #fff;
}

/* Mockup Phone Container */
.sm-hub-preview-split {
  display: block;
  width: 100%;
}

/* Phone Frame */
.sm-hub-phone-frame {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}

/* Mockup Header */
.sm-hub-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sm-hub-mock-user {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-hub-mock-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid #fbbf24;
  color: #fbbf24;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sm-hub-mock-name {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.sm-hub-mock-handle {
  font-size: 9.5px;
  color: #94a3b8;
}

/* ARTWORK CANVAS (The High-End Legal Poster!) */
.sm-hub-art-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  background: radial-gradient(circle at 80% 20%, #1e293b 0%, #090e17 80%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 14px;
  overflow: hidden;
  box-sizing: border-box;
}
.sm-hub-art-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  object-fit: cover;
  opacity: 0.38;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.sm-hub-art-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.sm-hub-art-content {
  position: relative;
  z-index: 2;
  margin: auto 0;
}
.sm-hub-art-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.sm-hub-art-title .gold-accent {
  color: #fbbf24;
}
.sm-hub-art-sub {
  font-size: 9.5px;
  color: #cbd5e1;
  line-height: 1.35;
  margin-bottom: 8px;
}
.sm-hub-art-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fbbf24;
  color: #090e17;
  font-size: 8.5px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}
.sm-hub-art-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  font-size: 8px;
  color: #94a3b8;
}
.sm-hub-art-footer-brand {
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Mockup Social Bar */
.sm-hub-mock-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  color: #fff;
  font-size: 14px;
}
.sm-hub-mock-actions-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mockup Caption */
.sm-hub-mock-caption-wrap {
  padding: 0 10px 10px 10px;
  font-size: 10px;
  line-height: 1.4;
  color: #e2e8f0;
}
.sm-hub-mock-caption-author {
  font-weight: 700;
  color: #fff;
  margin-right: 4px;
}
.sm-hub-mock-hashtags {
  color: #38bdf8;
  margin-top: 4px;
}
.sm-hub-mock-comments-link {
  color: #64748b;
  font-size: 9.5px;
  margin-top: 4px;
  cursor: pointer;
}
.sm-hub-mock-time {
  color: #64748b;
  font-size: 8.5px;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Variations Sidebar */
.sm-hub-variations-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sm-hub-variations-title {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.2;
}
.sm-hub-var-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.2s;
  background: #090e17;
}
.sm-hub-var-card:hover {
  border-color: rgba(251, 191, 36, 0.5);
  transform: translateY(-1px);
}
.sm-hub-var-card.active {
  border: 2px solid #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}
.sm-hub-var-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sm-hub-btn-more-vars {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 600;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.sm-hub-btn-more-vars:hover {
  border-color: #fbbf24;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.05);
}

/* ═══════════════════════════════════════════════════════════════════════════
   5. BIBLIOTECA DE PUBLICAÇÕES DA IA (GALERIA INTERATIVA)
═══════════════════════════════════════════════════════════════════════════ */
.sm-hub-library-sec {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sm-hub-library-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.sm-hub-library-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sm-hub-btn-lib-gen {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.sm-hub-btn-lib-gen:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: #fbbf24;
}
.sm-hub-btn-lib-schedule {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.sm-hub-btn-lib-schedule.highlight {
  background: #10b981;
  border-color: #10b981;
  color: #000;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
.sm-hub-btn-lib-schedule:hover {
  transform: translateY(-1px);
}

.sm-hub-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.sm-hub-lib-card {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.sm-hub-lib-card:hover {
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.sm-hub-lib-card.active-preview {
  border: 2px solid #fbbf24;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.35);
}
.sm-hub-lib-card.approved {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, #090e17 100%);
}
.sm-hub-lib-thumb {
  position: relative;
  height: 105px;
  width: 100%;
  overflow: hidden;
  background: #1e293b;
}
.sm-hub-lib-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.sm-hub-lib-card:hover .sm-hub-lib-thumb img {
  transform: scale(1.05);
}
.sm-hub-lib-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sm-hub-lib-check {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s;
}
.sm-hub-lib-check:hover {
  background: #fbbf24;
  color: #000;
  border-color: #fbbf24;
}
.sm-hub-lib-check.checked {
  background: #10b981;
  color: #000;
  border-color: #10b981;
  font-weight: 800;
}
.sm-hub-lib-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.sm-hub-lib-title {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sm-hub-lib-meta {
  font-size: 9.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sm-hub-lib-active-tag {
  color: #fbbf24;
  font-weight: 700;
}
.sm-hub-lib-click-tag {
  color: #64748b;
}

/* Rodapé do Compositor */
.sm-hub-composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
  flex-wrap: wrap;
}
.sm-hub-foot-summary {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-hub-count-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.sm-hub-count-chip.gold {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}
.sm-hub-foot-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.sm-btn-batch-schedule {
  background: #10b981;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}
.sm-btn-batch-schedule:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Modal de Configurações de Publicação e Automação */
.sm-config-modal-box {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
  animation: smWizPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}
.sm-config-autopilot-card {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.sm-config-autopilot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sm-config-freq-opts {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.sm-config-freq-btn {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.sm-config-freq-btn.active {
  background: rgba(251, 191, 36, 0.15);
  border-color: #fbbf24;
  color: #fbbf24;
  font-weight: 700;
}

.sm-composer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1100px) {
  .sm-composer-grid {
    grid-template-columns: 1fr;
  }
}

.sm-card {
  background: var(--sm-card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--sm-card-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

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

.sm-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Channel Selectors */
.sm-channels-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.sm-channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--sm-text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.sm-channel-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sm-channel-chip.selected {
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.sm-channel-chip.instagram.selected {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sm-channel-chip.linkedin.selected {
  background: #0a66c2;
}

.sm-channel-chip.facebook.selected {
  background: #1877f2;
}

.sm-channel-chip.twitter.selected {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.3);
}

.sm-channel-chip.tiktok.selected {
  background: #000;
  border-color: #fe2c55;
}

/* Post Text Area */
.sm-editor-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.sm-textarea {
  width: 100%;
  min-height: 160px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sm-textarea:focus {
  border-color: var(--sm-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.sm-editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--sm-text-muted);
}

.sm-char-counters {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sm-char-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.sm-char-tag.warn {
  color: #f87171;
}

/* Media Uploader */
.sm-media-upload {
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.015);
  transition: all 0.2s;
  margin-bottom: 20px;
}

.sm-media-upload:hover {
  border-color: var(--sm-primary);
  background: rgba(245, 158, 11, 0.04);
}

.sm-media-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.sm-media-thumb {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sm-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-media-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Scheduling Options */
.sm-schedule-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 20px;
}

.sm-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.sm-input:focus {
  border-color: var(--sm-primary);
}

/* Action Buttons */
.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sm-btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.sm-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.sm-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sm-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sm-btn-ai {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}

.sm-btn-ai:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
}

/* ── Live Previews Section (Authentic Social Post Mockups) ─────────────── */
.sm-preview-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sm-preview-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sm-preview-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sm-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.sm-preview-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Mockup Instagram Feed Card */
.mockup-instagram {
  background: #000;
  border: 1px solid #262626;
  border-radius: 16px;
  overflow: hidden;
  color: #fafafa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.mockup-ig-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.mockup-ig-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-ig-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  padding: 2px;
}

.mockup-ig-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fbbf24;
}

.mockup-ig-username {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.mockup-ig-sub {
  font-size: 11px;
  color: #a8a8a8;
}

.mockup-ig-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #121212;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mockup-ig-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-ig-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 18px;
}

.mockup-ig-actions-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mockup-ig-body {
  padding: 0 16px 16px;
  font-size: 13px;
  line-height: 1.5;
}

.mockup-ig-likes {
  font-weight: 700;
  margin-bottom: 6px;
}

.mockup-ig-caption {
  word-break: break-word;
  white-space: pre-wrap;
}

.mockup-ig-caption strong {
  font-weight: 700;
  margin-right: 6px;
}

.mockup-ig-time {
  margin-top: 6px;
  font-size: 10px;
  color: #a8a8a8;
  text-transform: uppercase;
}

/* Mockup Facebook Post Card */
.mockup-facebook {
  background: #242526;
  border: 1px solid #3a3b3c;
  border-radius: 12px;
  overflow: hidden;
  color: #e4e6eb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  padding: 14px 16px;
}

.mockup-fb-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mockup-fb-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1877f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}

.mockup-fb-meta {
  flex: 1;
}

.mockup-fb-name {
  font-size: 14px;
  font-weight: 700;
  color: #e4e6eb;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-fb-sub {
  font-size: 12px;
  color: #b0b3b8;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.mockup-fb-body {
  font-size: 14px;
  line-height: 1.5;
  color: #e4e6eb;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 12px;
}

.mockup-fb-media {
  width: calc(100% + 32px);
  margin: 0 -16px 12px -16px;
  background: #18191a;
  max-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-fb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-fb-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid #3a3b3c;
  font-size: 12px;
  color: #b0b3b8;
  margin-bottom: 6px;
}

.mockup-fb-actions {
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: #b0b3b8;
  font-size: 13px;
  font-weight: 600;
  padding-top: 4px;
}

.mockup-fb-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.mockup-fb-action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Mockup LinkedIn Post Card */
.mockup-linkedin {
  background: #1b1f23;
  border: 1px solid #383e45;
  border-radius: 14px;
  overflow: hidden;
  color: #ffffff;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  padding: 16px;
}

.mockup-li-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.mockup-li-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0a66c2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.mockup-li-meta {
  flex: 1;
}

.mockup-li-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.mockup-li-headline {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.3;
}

.mockup-li-time {
  font-size: 11px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.mockup-li-body {
  font-size: 13px;
  line-height: 1.5;
  color: #e5e7eb;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 14px;
}

.mockup-li-media {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #111827;
  max-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.mockup-li-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-li-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.mockup-li-actions {
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 600;
}

.mockup-li-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
}

/* Mockup X (Twitter) Card */
.mockup-twitter {
  background: #000;
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 16px;
  color: #e7e9ea;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.mockup-tw-header {
  display: flex;
  gap: 12px;
}

.mockup-tw-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1d9bf0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.mockup-tw-content {
  flex: 1;
}

.mockup-tw-userline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.mockup-tw-name {
  font-weight: 700;
  color: #fff;
}

.mockup-tw-handle {
  color: #71767b;
}

.mockup-tw-text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.mockup-tw-media {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2f3336;
  max-height: 280px;
}

.mockup-tw-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-tw-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  color: #71767b;
  font-size: 13px;
  max-width: 400px;
}

/* ── Content Calendar (Planner) ────────────────────────────────────────── */
.sm-calendar-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sm-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sm-cal-month-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sm-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--sm-card-border);
  border-radius: 14px;
  padding: 12px;
}

.sm-cal-day-name {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--sm-text-muted);
  padding: 8px 0;
  text-transform: uppercase;
}

.sm-cal-cell {
  min-height: 110px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
  cursor: pointer;
}

.sm-cal-cell:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(245, 158, 11, 0.3);
}

.sm-cal-cell.today {
  border-color: var(--sm-primary);
  background: rgba(245, 158, 11, 0.04);
}

.sm-cal-cell.other-month {
  opacity: 0.35;
}

.sm-cal-cell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--sm-text-muted);
}

.sm-cal-post-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: transform 0.15s;
}

.sm-cal-post-chip:hover {
  transform: scale(1.02);
}

.sm-cal-post-chip.status-agendado {
  background: rgba(59, 130, 246, 0.2);
  border-left: 3px solid #3b82f6;
}

.sm-cal-post-chip.status-publicado {
  background: rgba(16, 185, 129, 0.2);
  border-left: 3px solid #10b981;
}

.sm-cal-post-chip.status-rascunho {
  background: rgba(156, 163, 175, 0.2);
  border-left: 3px solid #9ca3af;
}

/* ── Queue / Posts List ────────────────────────────────────────────────── */
.sm-queue-page-wrapper {
  padding: 16px 12px 40px 12px;
  max-width: 1400px;
  margin: 0 auto;
  color: #fff;
  font-family: inherit;
}

/* Sub-header Breadcrumb */
.sm-queue-top-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.sm-queue-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sm-queue-brand-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.sm-queue-brand-subtitle {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 1px;
}

/* Main Header Row */
.sm-queue-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.sm-queue-main-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.5px;
}

.sm-queue-main-desc {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
}

.sm-queue-new-post-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f59e0b;
  color: #0b0f19;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.32);
}

.sm-queue-new-post-btn:hover {
  background: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* 4 Metric Cards Grid */
.sm-queue-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.sm-queue-stat-card {
  background: #0d1726;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, transform 0.2s;
}

.sm-queue-stat-card:hover {
  border-color: rgba(245, 158, 11, 0.25);
}

.sm-queue-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sm-queue-stat-icon-wrap.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.sm-queue-stat-icon-wrap.slate {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.sm-queue-stat-icon-wrap.gold {
  background: rgba(217, 119, 6, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(217, 119, 6, 0.32);
}

.sm-queue-stat-icon-wrap.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.sm-queue-stat-info {
  flex: 1;
  min-width: 0;
}

.sm-queue-stat-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 4px;
}

.sm-queue-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.sm-queue-stat-value-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.sm-queue-stat-sub {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.sm-queue-stat-sub.text-emerald {
  color: #10b981;
}

.sm-queue-stat-sub.text-muted {
  color: #64748b;
}

/* Filter & Controls Bar */
.sm-queue-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sm-queue-filters-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}

.sm-queue-search-wrap {
  position: relative;
  min-width: 250px;
}

.sm-queue-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #64748b;
  pointer-events: none;
}

.sm-queue-search-input {
  width: 100%;
  height: 42px;
  background: #0d1726;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0 14px 0 40px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sm-queue-search-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.sm-queue-search-input::placeholder {
  color: #64748b;
}

.sm-queue-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0d1726;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0 12px;
  height: 42px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sm-queue-select-wrap:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.sm-queue-select {
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  padding-right: 4px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.sm-queue-select option {
  background: #0d1726;
  color: #fff;
}

.sm-queue-view-switcher {
  display: flex;
  align-items: center;
  background: #0d1726;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.sm-queue-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.sm-queue-view-btn.active {
  background: #f59e0b;
  color: #0b0f19;
  font-weight: 700;
}

.sm-queue-view-btn:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* Main 2-Column Grid */
.sm-queue-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

/* Left Column: Grouped Cards */
.sm-queue-posts-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sm-queue-group-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sm-queue-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 2px;
}

.sm-queue-group-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #cbd5e1;
  text-transform: uppercase;
}

.sm-queue-group-badge {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 10px;
  border-radius: 12px;
}

.sm-queue-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sm-queue-post-card {
  background: #0d1726;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.sm-queue-post-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.sm-queue-card-thumb {
  width: 140px;
  height: 86px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.sm-queue-card-main {
  flex: 1;
  min-width: 0;
}

.sm-queue-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.sm-queue-card-desc {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sm-queue-card-channels {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-queue-card-channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  color: #f1f5f9;
  font-weight: 500;
}

.sm-queue-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.sm-queue-card-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 600;
}

.sm-queue-status-pill {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.sm-queue-status-pill.agendada {
  background: rgba(37, 99, 235, 0.22);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.sm-queue-status-pill.rascunho {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.sm-queue-status-pill.publicada {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.sm-queue-status-pill.revisao {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.sm-queue-card-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 4px;
}

.sm-queue-action-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.sm-queue-action-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Right Column Widgets */
.sm-queue-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sm-queue-widget {
  background: #0d1726;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.sm-queue-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.sm-queue-upcoming-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.15s;
}

.sm-queue-upcoming-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sm-queue-upcoming-item:hover .sm-queue-upcoming-title {
  color: #f59e0b;
}

.sm-queue-upcoming-thumb {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.sm-queue-upcoming-info {
  flex: 1;
  min-width: 0;
}

.sm-queue-upcoming-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
  transition: color 0.15s;
}

.sm-queue-upcoming-date {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 5px;
}

.sm-queue-upcoming-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sm-queue-badge-upcoming {
  font-size: 10px;
  font-weight: 800;
  border-radius: 4px;
  padding: 2px 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sm-queue-badge-upcoming.agendada {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sm-queue-badge-upcoming.rascunho {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Canais Conectados no Widget da Fila */
.sm-queue-channels-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-queue-channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  border-radius: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.sm-queue-channel-row:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.sm-queue-channel-row:last-child {
  border-bottom: none;
}

.sm-queue-channel-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sm-queue-channel-name-col {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.sm-queue-channel-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
}

.sm-queue-channel-sub {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 400;
}

.sm-queue-channel-right {
  display: flex;
  align-items: center;
}

.sm-queue-channel-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}

.sm-queue-channel-status.connected {
  color: #34d399;
}

.sm-queue-channel-status.disconnected {
  color: #94a3b8;
  gap: 8px;
}

.sm-queue-dot-connected {
  font-size: 9px;
  color: #10b981;
}

.sm-queue-dot-disconnected {
  font-size: 9px;
  color: #64748b;
}

.sm-queue-sync-icon {
  color: #34d399;
  opacity: 0.85;
}

.sm-queue-btn-connect-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 7px;
  border-radius: 12px;
  transition: all 0.15s ease;
}

.sm-queue-channel-row:hover .sm-queue-btn-connect-pill {
  background: #38bdf8;
  color: #0f172a;
  border-color: #38bdf8;
  transform: translateX(1px);
}

.sm-queue-widget-manage-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.sm-queue-widget-manage-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

/* Dica Widget */
.sm-queue-tip-widget {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 12px;
  padding: 18px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.sm-queue-tip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 8px;
}

.sm-queue-tip-text {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.5;
}

.sm-queue-empty-box {
  background: #0d1726;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .sm-queue-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sm-queue-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sm-queue-stats-grid {
    grid-template-columns: 1fr;
  }
  .sm-queue-post-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .sm-queue-card-thumb {
    width: 100%;
    height: 140px;
  }
  .sm-queue-card-meta {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 8px;
  }
}

.sm-queue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sm-post-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s;
}

.sm-post-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(245, 158, 11, 0.3);
}

.sm-post-channels {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sm-badge-channel {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
}

.sm-badge-channel.instagram {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.sm-badge-channel.linkedin {
  background: #0a66c2;
}

.sm-badge-channel.facebook {
  background: #1877f2;
}

.sm-badge-channel.twitter {
  background: #111827;
  border: 1px solid #374151;
}

.sm-post-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-post-snippet {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sm-post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--sm-text-muted);
}

.sm-status-pill {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.sm-status-pill.agendado {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.sm-status-pill.publicado {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sm-status-pill.rascunho {
  background: rgba(156, 163, 175, 0.15);
  color: #d1d5db;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

/* ── AI Modal ──────────────────────────────────────────────────────────── */
.sm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: smFadeIn 0.2s;
}

.sm-modal-box {
  width: 100%;
  max-width: 600px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Status Pills Expandidos ───────────────────────────────────────────── */
.sm-status-pill.sugerido_ia {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sm-status-pill.aguardando_aprovacao {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.sm-status-pill.em_elaboracao {
  background: rgba(107, 114, 128, 0.15);
  color: #9ca3af;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

/* ── Onboarding Experience ─────────────────────────────────────────────── */
.sm-onboarding-hero {
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 50%),
              radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.1), transparent 50%),
              rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.sm-onboarding-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.sm-step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.sm-step-card.active {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.06);
}

.sm-step-card.completed {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.05);
}

.sm-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sm-step-card.active .sm-step-num {
  background: var(--sm-primary);
  color: #000;
}

.sm-step-card.completed .sm-step-num {
  background: #10b981;
  color: #fff;
}

/* ── Brand Voice / Conteúdo da Marca ───────────────────────────────────── */
.sm-brand-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .sm-brand-grid {
    grid-template-columns: 1fr;
  }
}

.sm-brand-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.sm-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sm-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.sm-chip {
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--sm-text-muted);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sm-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sm-chip.selected {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.sm-ai-explainer {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #cbd5e1;
}

.sm-ai-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.sm-ai-btn-sm {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sm-ai-btn-sm:hover {
  background: rgba(245, 158, 11, 0.2);
}

/* ── Reels & Vídeos Studio ─────────────────────────────────────────────── */
.sm-scene-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.sm-scene-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sm-scene-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.sm-scene-badge.gancho { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.sm-scene-badge.problema { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.sm-scene-badge.solucao { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.sm-scene-badge.cta { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }

.sm-teleprompter-box {
  background: #000;
  border: 2px solid var(--sm-primary);
  border-radius: 16px;
  padding: 24px;
  color: #fff;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 500;
  max-height: 400px;
  overflow-y: auto;
}

/* ── 4ADVS Marketing · Wizard de Preferências ────────────────────────── */
.sm-wiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 320px;
  gap: 32px;
  align-items: start;
  width: 100%;
  max-width: 1200px;
  margin: 10px auto 40px;
  padding: 0 16px;
}

.sm-wiz-left {
  width: 100%;
  max-width: 720px;
}

.sm-wiz-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 20px;
}

/* ── Preview Jurídico (Smartphone Mockup Live Preview) ─────────────────── */
.pj-phone-wrap {
  width: 100%;
  max-width: 310px;
  height: 540px;
  max-height: 540px;
  min-height: unset;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0b1020;
  border: 8px solid #1d2338;
  border-radius: 40px;
  padding: 0 6px 8px;
  overflow: hidden;
  box-shadow: 0 0 0 2px #3a4466, 0 20px 45px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  user-select: none;
}
.pj-phone-wrap::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 76px;
  height: 16px;
  margin-left: -38px;
  background: #000;
  border-radius: 10px;
  z-index: 40;
}
.pj-phone-wrap::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 86px;
  height: 3px;
  margin-left: -43px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  z-index: 40;
}
.pj-sb {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px 4px;
  font: 600 11px Inter, sans-serif;
  color: #8b94ad;
  flex: none;
}
.pj-tabs {
  display: flex;
  gap: 4px;
  background: #080c19;
  border: 1px solid #222c48;
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 6px;
  flex: none;
}
.pj-tabs button {
  flex: 1;
  background: none;
  border: 0;
  color: #8b94ad;
  font: 600 10.5px Inter, sans-serif;
  padding: 6px 2px;
  border-radius: 7px;
  cursor: default;
  transition: all 0.2s;
}
.pj-tabs button.on {
  background: #262e45;
  color: #fff;
}
.pj-tabs button:focus-visible, .pj-dots i:focus-visible {
  outline: 2px solid #d9a94f;
}
.pj-tabs button.press { background: #3a4566 !important; color: #fff !important; transform: scale(.96); }
.pj-card {
  background: #000;
  border: 1px solid #222c48;
  border-radius: 18px;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
}
.pj-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}
.pj-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1b2240;
  border: 2px solid #8a2446;
  display: grid;
  place-items: center;
  color: #d9a94f;
  font: 800 11px 'Fraunces', Georgia, serif;
  flex: none;
  box-shadow: 0 0 0 2px #000 inset;
}
.pj-hd b { display: block; font-size: 11.5px; color: #fff; }
.pj-hd small { color: #aaa; font-size: 10px; }
.pj-hd .more { margin-left: auto; color: #aaa; font-size: 10px; }
.pj-view {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #111;
}
.pj-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.25, 1);
}
.pj-slide {
  flex: none;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.pj-s0 { background: radial-gradient(circle at 50% 35%, #2a2150, #0d1126 70%); }
.pj-s1 { background: radial-gradient(circle at 50% 30%, #4a1a30, #12081a 72%); }
.pj-s2 { background: radial-gradient(circle at 50% 35%, #1d3350, #0a1422 70%); }
.pj-slide svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pj-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}
.pj-cap h3 {
  font: 800 17px/1.1 'Fraunces', Georgia, serif;
  color: #fff;
  margin: 0;
}
.pj-cap p {
  color: #d9a94f;
  font-size: 10.5px;
  margin-top: 3px;
}
.pj-beam {
  transform-origin: 200px 150px;
  animation: pjTilt 3.6s ease-in-out infinite alternate;
}
.pj-col {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: pjRise 4s ease-out infinite;
}
.pj-gavel {
  transform-origin: 197px 292px;
  animation: pjBang 2.2s ease-in infinite;
}
.pj-glow {
  animation: pjPulse 3s ease-in-out infinite alternate;
}
@keyframes pjTilt { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes pjRise { 0% { transform: scaleY(0); } 30%, 100% { transform: scaleY(1); } }
@keyframes pjBang { 0%, 55% { transform: rotate(-38deg); } 70% { transform: rotate(6deg); } 80% { transform: rotate(-6deg); } 100% { transform: rotate(-38deg); } }
@keyframes pjPulse { from { opacity: 0.35; } to { opacity: 1; } }
@keyframes pjKb { from { transform: scale(1); } to { transform: scale(1.14); } }
@keyframes pjFill { to { width: 100%; } }
@keyframes pjPop { from { opacity: 0; transform: translateY(24px) scale(0.94); } }
@keyframes pjRip { from { opacity: 1; transform: scale(0.3); } to { opacity: 0; transform: scale(1.3); } }

.pj-dots {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 10;
}
.pj-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.pj-dots i.on { background: #fff; }
.pj-act {
  display: flex;
  gap: 14px;
  padding: 10px 14px 4px;
  font-size: 20px;
  color: #fff;
}
.pj-act span { cursor: pointer; user-select: none; }
.pj-act .r { margin-left: auto; }
.pj-act .liked { color: #ff3b5c; }
.pj-likes { padding: 0 14px; font-weight: 600; font-size: 12.5px; color: #fff; }
.pj-txt { padding: 4px 14px 14px; font-size: 12.5px; color: #e5e7eb; line-height: 1.45; }
.pj-txt b { margin-right: 6px; color: #fff; }
.pj-txt em { color: #6aa7ff; font-style: normal; }

.pj-reel {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 9/16;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid #222c48;
  cursor: pointer;
}
.pj-reel .scene {
  position: absolute;
  inset: 0;
  animation: pjKb 3.6s ease-out forwards;
}
.pj-reel svg { width: 100%; height: 100%; }
.pj-bars {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
  z-index: 3;
}
.pj-bars div {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
}
.pj-bars div u {
  display: block;
  height: 100%;
  background: #fff;
  width: 0;
}
.pj-bars .done u { width: 100%; }
.pj-bars .cur u { animation: pjFill 3.6s linear forwards; }
.pj-reel.paused * { animation-play-state: paused !important; }
.pj-rtop {
  position: absolute;
  top: 22px;
  left: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 3;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
}
.pj-rtop .pj-av { width: 28px; height: 28px; font-size: 11px; }
.pj-big {
  position: absolute;
  left: 16px;
  right: 60px;
  bottom: 85px;
  z-index: 3;
  font: 800 24px/1.1 'Fraunces', Georgia, serif;
  color: #fff;
  text-shadow: 0 2px 14px #000;
  animation: pjPop 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.pj-rside {
  position: absolute;
  right: 10px;
  bottom: 85px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  font-size: 20px;
  z-index: 3;
  text-align: center;
  color: #fff;
}
.pj-rside small { display: block; font-size: 10px; margin-top: 2px; }
.pj-rbot {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 3;
  font-size: 11.5px;
  color: #f3f6fb;
  text-shadow: 0 1px 6px #000;
}
.pj-pp {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-size: 50px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
}
.pj-reel.paused .pj-pp { display: grid; }

.pj-fb {
  background: #18202f;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #222c48;
}
.pj-cover { height: 95px; position: relative; }
.pj-cover svg { width: 100%; height: 100%; }
.pj-prof {
  display: flex;
  gap: 10px;
  padding: 0 10px 8px;
  margin-top: -24px;
  position: relative;
  align-items: flex-end;
}
.pj-prof .pj-av {
  width: 52px;
  height: 52px;
  font-size: 18px;
  border-width: 3px;
  border-color: #18202f;
  background: #1b2240;
  box-shadow: 0 0 0 2px #d9a94f;
}
.pj-prof h2 { font: 800 14px 'Fraunces', Georgia, serif; color: #fff; margin: 0; }
.pj-prof small { color: #8b94ad; font-size: 10px; }
.pj-btns { display: flex; gap: 6px; padding: 0 10px 8px; }
.pj-btns button {
  flex: 1;
  border: 0;
  border-radius: 6px;
  padding: 6px;
  font: 600 11px Inter, sans-serif;
  background: #2c364b;
  color: #fff;
}
.pj-btns .pr { background: #2d7ff9; }
.pj-ftabs {
  display: flex;
  gap: 12px;
  padding: 0 10px;
  border-top: 1px solid #2a3448;
  color: #8b94ad;
  font-weight: 600;
  font-size: 11px;
}
.pj-ftabs span { padding: 6px 0; }
.pj-ftabs .on { color: #6aa7ff; border-bottom: 2px solid #6aa7ff; }
.pj-post { background: #222b3c; margin-top: 8px; border-radius: 12px; border: 1px solid #29364c; }
.pj-post p { padding: 0 10px 8px; font-size: 11.5px; color: #e5e7eb; line-height: 1.4; margin: 0; }
.pj-post .pj-view { aspect-ratio: 16/10; }
.pj-react {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  color: #8b94ad;
  font-size: 10.5px;
}
.pj-fa {
  display: flex;
  border-top: 1px solid #2f3a4f;
  color: #8b94ad;
  font-weight: 600;
  font-size: 11px;
}
.pj-fa span { flex: 1; text-align: center; padding: 6px; }
.pj-fa .liked { color: #6aa7ff; }

#pj-win {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 6px;
}
#pj-win > div {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  transition: opacity 0.5s, transform 0.5s, visibility 0.5s;
  scrollbar-width: none;
}
#pj-win > div::-webkit-scrollbar {
  display: none;
}
#pj-rl {
  display: grid;
  place-items: center;
  overflow: hidden !important;
}
.pj-hide { opacity: 0; visibility: hidden; transform: scale(0.96); pointer-events: none; }

#pj-cur {
  position: absolute;
  z-index: 30;
  left: 200px;
  top: 320px;
  font-size: 28px;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transition: left 1s cubic-bezier(0.5, 0, 0.2, 1), top 1s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.3s;
  filter: drop-shadow(0 3px 5px #000);
}
#pj-cur.on { opacity: 1; }
#pj-cur::after {
  content: "";
  position: absolute;
  left: -4px;
  top: -6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  opacity: 0;
}
#pj-cur.click::after { animation: pjRip 0.35s ease-out; }
@keyframes pjRip { from { opacity: 1; transform: scale(0.3); } to { opacity: 0; transform: scale(1.3); } }
.pj-tabs button.press { background: #3a4566; color: #fff; transform: scale(0.96); }

.sm-wiz-wrap {
  width: 100%;
  max-width: 740px;
  margin: 10px auto 40px;
}

.sm-wiz-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.sm-wiz-bar i {
  flex: 1;
  height: 5px;
  border-radius: 20px;
  background: #1c3043;
  position: relative;
  overflow: hidden;
}
.sm-wiz-bar i:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffe39b, #b98535);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.sm-wiz-bar i.done:before { transform: scaleX(1); }
.sm-wiz-bar i.cur:before { transform: scaleX(0.5); }

.sm-wiz-card {
  background: linear-gradient(155deg, #0d2235, #0a1a2b);
  border: 1px solid #223c52;
  border-radius: 21px;
  padding: 34px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-height: 420px;
}
.sm-wiz-card > * {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
  animation-delay: calc(var(--i, 0) * 70ms);
}
.sm-wiz-card.enter-f > * { animation-name: smWizInF; }
.sm-wiz-card.enter-b > * { animation-name: smWizInB; }
@keyframes smWizInF { from { opacity: 0; transform: translateX(38px); } to { opacity: 1; transform: none; } }
@keyframes smWizInB { from { opacity: 0; transform: translateX(-38px); } to { opacity: 1; transform: none; } }
@keyframes smWizPop { 50% { transform: scale(0.96); } }

.sm-wiz-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.sm-wiz-number {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  background: linear-gradient(135deg, #ffe09b, #b98535);
  color: #142033;
  font-weight: 800;
  border-radius: 11px;
}
.sm-wiz-head h2 {
  font-size: 22px;
  letter-spacing: -0.4px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #fff;
}
.sm-wiz-head p {
  margin: 0;
  color: #9bafc2;
  font-size: 14px;
  line-height: 1.5;
}
.sm-wiz-help {
  border: 1px solid #4d657a;
  background: #152e43;
  color: #d9e6f1;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  font-size: 12px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sm-wiz-help[aria-expanded="true"] {
  color: #efc46e;
  border-color: #efc46e;
}
.sm-wiz-tip {
  margin-top: 12px;
  background: #eaf0f5;
  color: #1b3042;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
}

.sm-wiz-opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.sm-wiz-opts.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sm-wiz-opts.dim { opacity: 0.45; }
.sm-wiz-opt {
  background: #0b1b2a;
  border: 1px solid #2c4357;
  border-radius: 13px;
  padding: 16px;
  text-align: left;
  color: #dce8f4;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  cursor: pointer;
}
.sm-wiz-opt:hover:not(:disabled) {
  border-color: #c99d53;
  background: #14293a;
  transform: translateY(-1px);
}
.sm-wiz-opt.sel {
  border-color: #efc46e;
  background: linear-gradient(135deg, #40361e, #152638);
  box-shadow: inset 0 0 0 1px rgba(209, 165, 82, 0.2);
}
.sm-wiz-opt.sel strong:before { content: '✓  '; color: #efc46e; }
.sm-wiz-opt.pop { animation: smWizPop 0.3s; }
.sm-wiz-opt strong { font-size: 14px; color: #fff; }
.sm-wiz-opt small { font-size: 12px; color: #9bafc2; line-height: 1.4; }
.sm-wiz-opts.formats .sm-wiz-opt { min-height: 126px; }
.sm-wiz-opt .sym { font-size: 24px; color: #efc46e; }

.sm-wiz-label {
  display: block;
  color: #dce6f0;
  font-size: 13px;
  font-weight: 650;
  margin: 22px 0 10px;
}
.sm-wiz-field {
  background: #071725;
  border: 1px solid #2d465b;
  border-radius: 11px;
  color: #f5f7fa;
  padding: 14px;
  width: 100%;
  min-height: 47px;
  font-size: 13.5px;
}
textarea.sm-wiz-field { resize: vertical; }
.sm-wiz-field::placeholder { color: #7e95a9; }
.sm-wiz-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  font-size: 14px;
  color: #dce6ef;
  margin-top: 20px;
}
.sm-wiz-toggle input { accent-color: #d4a34d; width: 17px; height: 17px; }
.sm-wiz-pill {
  display: inline-block;
  color: #efc46e;
  background: #182b39;
  border: 1px solid #725d3c;
  border-radius: 30px;
  padding: 10px 14px;
  font-size: 12px;
  margin-top: 20px;
}
.sm-wiz-note {
  font-size: 12px;
  color: #829aad;
  margin: 14px 0 0;
  line-height: 1.5;
}
.sm-wiz-reference { display: flex; gap: 9px; margin: 10px 0; }
.sm-wiz-reference .sm-wiz-field { flex: 1; }
.sm-wiz-remove {
  width: 44px;
  border: 1px solid #385269;
  border-radius: 11px;
  color: #c8d8e5;
  background: #14283a;
  font-size: 18px;
  cursor: pointer;
}
.sm-wiz-add {
  margin-top: 8px;
  border: 1px dashed #a58147;
  background: #15283a;
  color: #efc46e;
  border-radius: 11px;
  padding: 12px 17px;
  font-size: 13px;
  cursor: pointer;
}

.sm-wiz-sum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  margin: 12px 0 16px;
}

.sm-wiz-sum-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 13px;
  background: rgba(16, 40, 59, 0.5);
  border: 1px solid #1e364c;
  border-radius: 11px;
  transition: all 0.2s ease;
  min-height: 52px;
}

.sm-wiz-sum-card:hover {
  background: rgba(23, 56, 82, 0.7);
  border-color: rgba(239, 196, 110, 0.35);
}

.sm-wiz-sum-card small {
  display: block;
  color: #8fa6ba;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.sm-wiz-sum-card span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  word-break: break-word;
}

.sm-wiz-sum-card .sm-wiz-link {
  background: none;
  border: 0;
  color: #efc46e;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 7px;
  margin-left: 6px;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 5px;
  flex-shrink: 0;
}

.sm-wiz-sum-card .sm-wiz-link:hover {
  text-decoration: underline;
  background: rgba(239, 196, 110, 0.12);
}

.sm-wiz-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #1c3043;
}
.sm-wiz-sum-row small { display: block; color: #9bafc2; font-size: 12px; margin-bottom: 4px; }
.sm-wiz-sum-row span { font-size: 14px; word-break: break-word; color: #fff; }
.sm-wiz-link {
  background: none;
  border: 0;
  color: #efc46e;
  font-size: 13px;
  padding: 6px;
  white-space: nowrap;
  cursor: pointer;
}

.sm-wiz-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.sm-wiz-hint { font-size: 12px; color: #e0b56a; min-height: 16px; }
.sm-wiz-navbtns { display: flex; justify-content: space-between; gap: 12px; }
.sm-wiz-btn-primary {
  background: linear-gradient(105deg, #ffe39b, #e8b65a);
  color: #142031;
  border: 0;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 7px 24px rgba(166, 121, 42, 0.24);
  cursor: pointer;
  font-size: 14px;
}
.sm-wiz-btn-ghost {
  background: #10283b;
  border: 1px solid #39546a;
  color: #e8f0f8;
  padding: 14px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
}
.sm-wiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.sm-wiz-info {
  margin-top: 14px;
  background: #152e43;
  border-left: 3px solid #efc46e;
  border-radius: 10px;
  padding: 12px 14px;
  color: #dce8f4;
  font-size: 13px;
  line-height: 1.55;
}

.sm-wiz-switch-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #0b1b2a;
  border: 1px solid #2c4357;
  border-radius: 13px;
  padding: 18px;
  cursor: pointer;
  margin-top: 16px;
}
.sm-wiz-switch-wrap strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: #fff;
}
.sm-wiz-switch-wrap small {
  color: #9bafc2;
  font-size: 13px;
  line-height: 1.5;
}
.sm-wiz-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 30px;
  flex: 0 0 52px;
}
.sm-wiz-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.sm-wiz-track {
  position: absolute;
  inset: 0;
  background: #2c4357;
  border: 1px solid #39546a;
  border-radius: 30px;
  transition: 0.25s;
}
.sm-wiz-track:before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #dce8f4;
  border-radius: 50%;
  transition: 0.25s;
}
.sm-wiz-switch input:checked + .sm-wiz-track {
  background: linear-gradient(105deg, #ffe39b, #e8b65a);
  border-color: #e8b65a;
}
.sm-wiz-switch input:checked + .sm-wiz-track:before {
  transform: translateX(22px);
  background: #142031;
}

@media(max-width:1080px){
  .sm-wiz-layout { grid-template-columns: 1fr; }
  .sm-wiz-right { position: static; }
}

@media(max-width:700px){
  .sm-wiz-opts, .sm-wiz-opts.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-wiz-card { padding: 22px 16px; }
  .sm-wiz-navbtns button { flex: 1; }
}
@media(max-width:380px){
  .sm-wiz-opts, .sm-wiz-opts.four { grid-template-columns: 1fr; }
}

/* ==========================================================================
   2. CONTENT CALENDAR (PLANNER) — VISUAL EDITORIAL CALENDAR
   ========================================================================== */
.sm-cal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.sm-cal-month-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sm-cal-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #0d1e2e;
  border: 1px solid #1e3a53;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #efc46e;
}

.sm-cal-month-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-cal-nav-arrow {
  background: transparent;
  border: none;
  color: #8fa6ba;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}
.sm-cal-nav-arrow:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sm-cal-btn-hoje {
  background: #0e2235;
  border: 1px solid #1e3a53;
  color: #8fa6ba;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.sm-cal-btn-hoje:hover {
  background: #17334f;
  color: #fff;
  border-color: #2e5579;
}

/* Status Filter Pills */
.sm-cal-filters-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sm-cal-filter-pill {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: #0a1726;
  border: 1px solid #1c3044;
  color: #8fa6ba;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.sm-cal-filter-pill:hover {
  border-color: #2b4966;
  color: #dbe7f2;
}

.sm-cal-filter-pill.sel {
  border-color: #efc46e;
  color: #fff;
  background: #12283e;
  box-shadow: 0 0 10px rgba(239, 196, 110, 0.15);
}

.sm-cal-filter-pill.agendado {
  border-color: #0284c7;
  color: #38bdf8;
  background: rgba(2, 132, 199, 0.12);
}
.sm-cal-filter-pill.agendado.sel {
  background: rgba(2, 132, 199, 0.25);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.sm-cal-filter-pill.publicado {
  border-color: #059669;
  color: #10b981;
  background: rgba(5, 150, 105, 0.12);
}
.sm-cal-filter-pill.publicado.sel {
  background: rgba(5, 150, 105, 0.25);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.sm-cal-filter-pill.revisao {
  border-color: #7c3aed;
  color: #a855f7;
  background: rgba(124, 58, 237, 0.12);
}
.sm-cal-filter-pill.revisao.sel {
  background: rgba(124, 58, 237, 0.25);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}

.sm-cal-filter-pill.pendente {
  border-color: #d97706;
  color: #f59e0b;
  background: rgba(217, 119, 6, 0.12);
}
.sm-cal-filter-pill.pendente.sel {
  background: rgba(217, 119, 6, 0.25);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
}

.sm-cal-filter-pill.cancelado {
  border-color: #dc2626;
  color: #ef4444;
  background: rgba(220, 38, 38, 0.12);
}
.sm-cal-filter-pill.cancelado.sel {
  background: rgba(220, 38, 38, 0.25);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}

/* Prominent Golden Button (Editar Assunto / Cronograma) */
.sm-btn-gold {
  background: linear-gradient(135deg, #ffe39b, #e8b65a);
  color: #142031;
  border: none;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(232, 182, 90, 0.28);
  transition: all 0.2s;
}
.sm-btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(232, 182, 90, 0.4);
}

/* Grid V2 Compacto (sem mudar o tamanho, visível sem rolagem excessiva) */
.sm-cal-grid-v2 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  background: #06101c;
  border: 1px solid #14283c;
  border-radius: 14px;
  padding: 10px;
}

.sm-cal-weekday-v2 {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #8fa6ba;
  padding: 2px 0 6px 0;
  letter-spacing: 0.6px;
}

.sm-cal-cell-v2 {
  min-height: 94px;
  height: 110px;
  max-height: 120px;
  background: #081626;
  border: 1px solid #182d42;
  border-radius: 10px;
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s;
  cursor: pointer;
  overflow: hidden;
}

.sm-cal-cell-v2:hover {
  border-color: #294766;
  background: #0b1e33;
}

.sm-cal-cell-v2.today {
  border-color: #efc46e;
  box-shadow: inset 0 0 0 1px rgba(239, 196, 110, 0.4);
}

.sm-cal-cell-v2.other-month {
  opacity: 0.25;
}

.sm-cal-cell-num {
  font-size: 12px;
  font-weight: 600;
  color: #8fa6ba;
  margin-bottom: 2px;
}

/* ── CALENDAR DAY CELL HEADER (DATA + BADGE) ── */
.sm-cal-cell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 3px;
  line-height: 1;
}

.sm-cal-cell-head-date {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.sm-cal-cell-head-date.other {
  color: #64748b;
  font-weight: 500;
}

.sm-cal-cell-head-badge {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  min-width: 16px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ── MULTI-POST CAROUSEL (FOTOS VERTICAIS RESPONSIVAS) ── */
.sm-cal-multi-carousel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  width: 100%;
  overflow: hidden;
}

.sm-cal-car-row {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  position: relative;
}

.sm-cal-car-arrow {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  padding: 0;
  width: 10px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}

.sm-cal-car-arrow:hover {
  color: #38bdf8;
  transform: scale(1.15);
}

.sm-cal-car-track {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  padding: 1px 0;
}

.sm-cal-car-track::-webkit-scrollbar {
  display: none;
}

.sm-cal-thumb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 36px;
  flex-shrink: 0;
  cursor: pointer;
}

.sm-cal-thumb-box {
  width: 36px;
  height: 48px;
  border-radius: 6px;
  border: 1.5px solid #0284c7;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.4);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.sm-cal-thumb-item:hover .sm-cal-thumb-box {
  transform: translateY(-1px) scale(1.04);
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

.sm-cal-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
}

.sm-cal-thumb-title {
  font-size: 7px;
  font-weight: 600;
  color: #cbd5e1;
  margin-top: 2px;
  line-height: 10px;
  height: 10px;
  text-align: center;
  width: 36px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.sm-cal-thumb-more {
  width: 28px;
  height: 48px;
  border-radius: 6px;
  background: rgba(14, 34, 56, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 0 5px rgba(2, 132, 199, 0.3);
}

.sm-cal-thumb-more:hover {
  background: rgba(2, 132, 199, 0.35);
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.sm-cal-multi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 2px;
  padding: 0 2px;
}

.sm-cal-mini-track {
  width: 44px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.sm-cal-mini-thumb {
  width: 18px;
  height: 100%;
  background: #38bdf8;
  border-radius: 3px;
  transition: transform 0.2s ease;
}

/* Weekend Empty State (Instagram Icon in bottom right) */
.sm-cal-empty-ig-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Post Card inside Calendar Cell with Real Post Image */
.sm-cal-card-v2 {
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  background: #0d2235;
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  background-size: cover;
  background-position: center;
  margin-top: 1px;
}

.sm-cal-card-v2:hover {
  transform: translateY(-1px);
  border-color: #efc46e;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.sm-cal-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 15, 25, 0.78) 0%, rgba(5, 15, 25, 0.45) 45%, rgba(5, 15, 25, 0.92) 100%);
  pointer-events: none;
}

.sm-cal-card-content {
  position: relative;
  z-index: 2;
  padding: 3px 6px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sm-cal-card-watermark {
  position: absolute;
  top: 3px;
  right: 5px;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 2px;
}
.sm-cal-card-watermark b {
  color: #efc46e;
}

.sm-cal-card-title {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-top: 1px;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.sm-cal-card-sub {
  font-size: 8.5px;
  color: #cbd5e1;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}

.sm-cal-card-footer {
  position: relative;
  z-index: 2;
  padding: 2px 5px 3px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}

.sm-cal-status-pill {
  font-size: 8px;
  font-weight: 700;
  padding: 1.5px 5px;
  border-radius: 4px;
  text-transform: capitalize;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.sm-cal-status-pill.publicado {
  background: #059669;
  border: 1px solid #10b981;
  color: #fff;
}
.sm-cal-status-pill.agendado {
  background: #0284c7;
  border: 1px solid #38bdf8;
  color: #fff;
}
.sm-cal-status-pill.revisao {
  background: #7c3aed;
  border: 1px solid #a855f7;
  color: #fff;
}
.sm-cal-status-pill.pendente {
  background: #d97706;
  border: 1px solid #f59e0b;
  color: #fff;
}
.sm-cal-status-pill.cancelado {
  background: #dc2626;
  border: 1px solid #ef4444;
  color: #fff;
}

.sm-cal-time-badge {
  font-size: 8.5px;
  color: #cbd5e1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.sm-cal-channels-icons {
  display: flex;
  align-items: center;
  gap: 3px;
}

.sm-cal-chan-ig {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 7px;
}

.sm-cal-chan-fb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #1877f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

/* ── MODAL EDITAR CONTEÚDO E HORÁRIO ─────────────────────────────────────── */
.sm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 18, 0.82);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: smModalFadeIn 0.2s ease-out;
}

@keyframes smModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sm-modal-box {
  background: #091a2b;
  border: 1px solid #223c54;
  border-radius: 18px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

.sm-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #1c3247;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sm-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sm-modal-title i {
  color: #efc46e;
}

.sm-modal-close {
  background: transparent;
  border: none;
  color: #8fa6ba;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}
.sm-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sm-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sm-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #1c3247;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #071524;
  border-radius: 0 0 18px 18px;
}

/* Custom frequency chips in step 4 */
.sm-wiz-chip {
  background: #0b1b2a;
  border: 1px solid #2c4357;
  color: #c9d8e6;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sm-wiz-chip:hover {
  border-color: #efc46e;
  background: #14293a;
  color: #fff;
}
.sm-wiz-chip.sel {
  border-color: #efc46e;
  background: linear-gradient(135deg, rgba(239, 196, 110, 0.22), rgba(21, 38, 56, 0.85));
  color: #fff;
  font-weight: 700;
}

/* ==========================================================================
   4ADVS — SOCIAL MEDIA INTELIGENTE (CHAT, BIBLIOTECA, PREVIEW & AUTOMAÇÃO)
   ========================================================================== */
.sm-ai-strategy-card {
  background: #08111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.sm-ai-strategy-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sm-ai-strategy-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(239, 196, 110, 0.12);
  border: 1px solid rgba(239, 196, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #efc46e;
  font-size: 20px;
  flex-shrink: 0;
}
.sm-ai-strategy-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 3px 0;
  letter-spacing: -0.2px;
}
.sm-ai-strategy-meta {
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sm-ai-strategy-meta strong {
  color: #cbd5e1;
}
.sm-ai-strategy-toggle-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.sm-ai-strategy-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.sm-ai-strategy-status {
  font-size: 11.5px;
  color: #64748b;
  text-align: right;
}

.sm-ai-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 1280px) {
  .sm-ai-main-layout {
    grid-template-columns: 1fr;
  }
}

.sm-ai-chat-library-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Chat Central */
.sm-ai-chat-box {
  background: #08111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sm-ai-msg-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sm-ai-msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.sm-ai-msg-avatar.user {
  background: #1e293b;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sm-ai-msg-avatar.ia {
  background: linear-gradient(135deg, rgba(239, 196, 110, 0.25), rgba(21, 38, 56, 0.9));
  border: 1px solid rgba(239, 196, 110, 0.4);
  color: #efc46e;
}
.sm-ai-msg-bubble {
  background: #0d1726;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 18px;
  color: #e2e8f0;
  font-size: 13.5px;
  line-height: 1.55;
  position: relative;
  max-width: 90%;
}
.sm-ai-msg-time {
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.sm-ai-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.sm-ai-badge-pill {
  background: #060b13;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sm-ai-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.sm-ai-chip-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sm-ai-chip-btn:hover {
  border-color: #efc46e;
  color: #efc46e;
  background: rgba(239, 196, 110, 0.08);
}

/* Biblioteca Interativa de Publicações */
.sm-ai-library-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sm-ai-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.sm-ai-library-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-ai-select-all-label {
  font-size: 12.5px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.sm-ai-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.sm-ai-card {
  background: #08111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s;
  cursor: pointer;
}
.sm-ai-card:hover {
  border-color: rgba(239, 196, 110, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.sm-ai-card.active {
  border-color: #efc46e;
  box-shadow: 0 0 16px rgba(239, 196, 110, 0.25);
}
.sm-ai-card-media {
  position: relative;
  height: 190px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}
.sm-ai-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(8,17,30,0.92) 100%);
}
.sm-ai-card-top-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sm-ai-card-num-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
}
.sm-ai-card-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #efc46e;
  cursor: pointer;
}
.sm-ai-card-text-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sm-ai-card-badge-tag {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: #efc46e;
  letter-spacing: 0.05em;
}
.sm-ai-card-headline {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sm-ai-card-sub {
  font-size: 10.5px;
  color: #cbd5e1;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sm-ai-card-footer {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #08111e;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sm-ai-card-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sm-ai-card-social-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sm-ai-card-status-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.sm-ai-card-btn-detalhes {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 6px 0;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.sm-ai-card-btn-detalhes:hover {
  background: rgba(239, 196, 110, 0.15);
  border-color: #efc46e;
  color: #fff;
}

/* Barra de Ações em Lote */
.sm-ai-batch-bar {
  background: #0b1626;
  border: 1px solid rgba(239, 196, 110, 0.3);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: smWizPop 0.2s ease;
}
.sm-ai-batch-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.sm-ai-batch-clear-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}
.sm-ai-batch-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Barra de Mensagem do Chat */
.sm-ai-input-bar {
  background: #08111e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sm-ai-input-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13.5px;
}
.sm-ai-input-field::placeholder {
  color: #64748b;
}
.sm-ai-input-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(105deg, #ffe39b, #e8b65a);
  border: none;
  color: #142031;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.sm-ai-input-send-btn:hover {
  transform: scale(1.05);
}

/* Painel de Pré-visualização Lateral */
.sm-ai-preview-panel {
  background: #08111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 16px;
  align-self: start;
}
.sm-ai-preview-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.sm-ai-preview-tabs {
  display: flex;
  background: #060b13;
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.sm-ai-preview-tab-btn {
  flex: 1;
  padding: 6px 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.sm-ai-preview-tab-btn.active {
  background: #142337;
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Card Geral da Área de Trabalho do Chat com a IA */
.sm-ai-workspace-card {
  background: #08111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.sm-ai-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.sm-ai-topbar-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.sm-ai-topbar-tab {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.sm-ai-topbar-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.sm-ai-topbar-tab.active {
  background: #111d2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
}
.sm-ai-topbar-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-left: 4px;
}
.sm-ai-topbar-toggle-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.sm-ai-toggle-title {
  font-size: 13.5px;
  color: #fff;
  font-weight: 700;
}
.sm-ai-toggle-title strong {
  color: #cbd5e1;
}
.sm-ai-toggle-sub {
  font-size: 11.5px;
  color: #8b97b3;
}

/* ── SWITCH DO MOCKUP COM PULSO VERDE DE 0.9s ────────────────────────────── */
.sm-auto-sw {
  width: 48px;
  height: 26px;
  border-radius: 99px;
  background: #35415f;
  border: 0;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
  padding: 0;
}
.sm-auto-sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.sm-auto-sw[aria-checked="true"] {
  background: #2fd69a;
}
.sm-auto-sw[aria-checked="true"]::after {
  transform: translateX(22px);
}
.sm-auto-sw:focus-visible {
  outline: 2px solid #f0b94d;
  outline-offset: 3px;
}
.sm-auto-sw.pulse {
  animation: smAutoRing 0.9s ease-out;
}
@keyframes smAutoRing {
  0% { box-shadow: 0 0 0 0 rgba(47, 214, 154, 0.6); }
  100% { box-shadow: 0 0 0 16px rgba(47, 214, 154, 0); }
}

/* ── PAINEL RETRÁTIL PEQUENO QUE DESCE ABAIXO DO SWITCH ───────────────────── */
.sm-auto-drop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(390px, 92vw);
  background: #0f1b36;
  border: 1px solid #22304f;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 100;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: clip-path 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s, transform 0.45s;
}
.sm-auto-drop.on {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sm-auto-drop .in {
  padding: 18px 20px 16px;
  text-align: left;
}
.sm-auto-drop h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #e9edf7;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-auto-drop h4 i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fd69a;
  display: inline-block;
  box-shadow: 0 0 8px #2fd69a;
}
.sm-auto-drop p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #8b97b3;
}
.sm-auto-drop ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  display: grid;
  gap: 8px;
}
.sm-auto-drop li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  opacity: 0;
  transform: translateY(6px);
}
.sm-auto-drop.on li {
  animation: smAutoUp 0.4s forwards;
}
.sm-auto-drop.on li:nth-child(1) { animation-delay: 0.25s; }
.sm-auto-drop.on li:nth-child(2) { animation-delay: 0.4s; }
.sm-auto-drop.on li:nth-child(3) { animation-delay: 0.55s; }
@keyframes smAutoUp {
  to { opacity: 1; transform: translateY(0); }
}
.sm-auto-drop li::before {
  content: "✓";
  color: #2fd69a;
  font-weight: 800;
}
.sm-auto-bar {
  height: 3px;
  background: #f0b94d;
  transform-origin: left;
  transform: scaleX(1);
}
.sm-auto-drop.on .sm-auto-bar {
  animation: smAutoShrink 6s linear forwards;
}
@keyframes smAutoShrink {
  to { transform: scaleX(0); }
}

/* ── LINHA DE STATUS COM PROGRESSO REAL E PONTO ANIMADO ───────────────────── */
.sm-auto-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #8b97b3;
  background: #0f1b36;
  border: 1px solid #22304f;
  border-radius: 10px;
  padding: 10px 14px;
  max-width: 720px;
  transition: border-color 0.4s, background-color 0.4s;
}
.sm-auto-status.live {
  border-color: #2fd69a;
  color: #e9edf7;
}
.sm-auto-status.done {
  border-color: #2fd69a;
  color: #e9edf7;
}
.sm-auto-status.error {
  border-color: #ef4444;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
}
.sm-auto-status .d {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #55627f;
  flex-shrink: 0;
  transition: background-color 0.3s;
}
.sm-auto-status.live .d {
  background: #f0b94d;
  animation: smAutoBlink 1.2s infinite;
}
.sm-auto-status.done .d {
  background: #2fd69a;
  animation: none;
  box-shadow: 0 0 6px #2fd69a;
}
.sm-auto-status.error .d {
  background: #ef4444;
  animation: none;
}
@keyframes smAutoBlink {
  50% { opacity: 0.3; }
}
.sm-auto-prog {
  margin-left: auto;
  width: 90px;
  height: 4px;
  border-radius: 9px;
  background: #22304f;
  overflow: hidden;
  flex-shrink: 0;
}
.sm-auto-prog i {
  display: block;
  height: 100%;
  width: 30%;
  background: #f0b94d;
  border-radius: 9px;
}
.sm-auto-status.live .sm-auto-prog i {
  animation: smAutoIndeterminate 1.5s infinite ease-in-out;
}
@keyframes smAutoIndeterminate {
  0% { transform: translateX(-100%); width: 25%; }
  50% { transform: translateX(100%); width: 60%; }
  100% { transform: translateX(350%); width: 25%; }
}
.sm-auto-status.done .sm-auto-prog,
.sm-auto-status.error .sm-auto-prog {
  display: none !important;
}

/* ── LISTA DE RESULTADOS REAIS DOS POSTS AGENDADOS ────────────────────────── */
.sm-auto-res {
  margin-top: 10px;
  margin-bottom: 12px;
  max-width: 720px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #8b97b3;
}
.sm-auto-res[hidden] {
  display: none !important;
}
.sm-auto-res-item {
  background: #0f1b36;
  border: 1px solid #22304f;
  border-radius: 10px;
  padding: 10px 14px;
  opacity: 0;
  transform: translateY(6px);
  animation: smAutoUp 0.4s forwards;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: #cbd5e1;
}
.sm-auto-res-item:hover {
  border-color: rgba(240, 185, 77, 0.45);
  background: #142244;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.sm-auto-res-item b {
  color: #f0b94d;
  margin-right: 8px;
  font-weight: 700;
  white-space: nowrap;
}
.sm-auto-res-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #94a3b8;
  margin-left: auto;
  white-space: nowrap;
}
.sm-auto-res-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  color: #cbd5e1;
  text-transform: uppercase;
}

/* ── AVISO DE CONFIGURAÇÃO INCOMPLETA ────────────────────────────────────── */
.sm-auto-incomplete-card {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 10px;
  margin-bottom: 12px;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  animation: smAutoUp 0.3s ease-out;
}
.sm-auto-incomplete-text {
  font-size: 12.5px;
  color: #fde68a;
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MASTER LIGHT THEME SUITE (HIGH CONTRAST, SUPREME ERGONOMICS & LEGIBILITY)
   Supports: body.light-theme, html.light-theme, [data-theme="light"]
═══════════════════════════════════════════════════════════════════════════ */

body.light-theme .sm-container,
html.light-theme .sm-container,
[data-theme="light"] .sm-container {
  background: transparent !important;
  color: #0f172a !important;
}

/* ── Headers & Global Sub-nav ── */
body.light-theme .sm-header,
html.light-theme .sm-header,
[data-theme="light"] .sm-header {
  border-bottom-color: #e2e8f0 !important;
}

body.light-theme .sm-header-title,
body.light-theme .sm-hub-title,
html.light-theme .sm-header-title,
html.light-theme .sm-hub-title,
[data-theme="light"] .sm-header-title,
[data-theme="light"] .sm-hub-title {
  color: #0f172a !important;
}

body.light-theme .sm-header-desc,
body.light-theme .sm-hub-subtitle,
html.light-theme .sm-header-desc,
html.light-theme .sm-hub-subtitle,
[data-theme="light"] .sm-header-desc,
[data-theme="light"] .sm-hub-subtitle {
  color: #475569 !important;
}

body.light-theme .sm-header-badge,
html.light-theme .sm-header-badge,
[data-theme="light"] .sm-header-badge {
  background: #fef3c7 !important;
  color: #92400e !important;
  border-color: #fcd34d !important;
}

body.light-theme .sm-tabs-bar,
body.light-theme .sm-hub-nav,
html.light-theme .sm-tabs-bar,
html.light-theme .sm-hub-nav,
[data-theme="light"] .sm-tabs-bar,
[data-theme="light"] .sm-hub-nav {
  border-bottom-color: #e2e8f0 !important;
}

body.light-theme .sm-tab-btn,
body.light-theme .sm-hub-nav-item,
html.light-theme .sm-tab-btn,
html.light-theme .sm-hub-nav-item,
[data-theme="light"] .sm-tab-btn,
[data-theme="light"] .sm-hub-nav-item {
  color: #475569 !important;
}

body.light-theme .sm-tab-btn:hover,
body.light-theme .sm-hub-nav-item:hover,
html.light-theme .sm-tab-btn:hover,
html.light-theme .sm-hub-nav-item:hover,
[data-theme="light"] .sm-tab-btn:hover,
[data-theme="light"] .sm-hub-nav-item:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

body.light-theme .sm-tab-btn.active,
body.light-theme .sm-hub-nav-item.active,
html.light-theme .sm-tab-btn.active,
html.light-theme .sm-hub-nav-item.active,
[data-theme="light"] .sm-tab-btn.active,
[data-theme="light"] .sm-hub-nav-item.active {
  color: #d97706 !important;
  border-bottom-color: #d97706 !important;
  background: #fffbeb !important;
  font-weight: 700 !important;
}

body.light-theme .sm-hub-nav-item.active::after,
html.light-theme .sm-hub-nav-item.active::after,
[data-theme="light"] .sm-hub-nav-item.active::after {
  background: #d97706 !important;
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.4) !important;
}

body.light-theme .sm-tab-badge,
html.light-theme .sm-tab-badge,
[data-theme="light"] .sm-tab-badge {
  background: #e2e8f0 !important;
  color: #1e293b !important;
}

body.light-theme .sm-tab-btn.active .sm-tab-badge,
html.light-theme .sm-tab-btn.active .sm-tab-badge,
[data-theme="light"] .sm-tab-btn.active .sm-tab-badge {
  background: #f59e0b !important;
  color: #000000 !important;
}

/* ── Composer Main Card & Subnav (Tab Criar e Agendar) ── */
body.light-theme .sm-hub-form-card,
html.light-theme .sm-hub-form-card,
[data-theme="light"] .sm-hub-form-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}

body.light-theme .sm-ai-topbar-tabs,
html.light-theme .sm-ai-topbar-tabs,
[data-theme="light"] .sm-ai-topbar-tabs {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
}

body.light-theme .sm-ai-topbar-tab,
html.light-theme .sm-ai-topbar-tab,
[data-theme="light"] .sm-ai-topbar-tab {
  color: #475569 !important;
  background: transparent !important;
  border: none !important;
}

body.light-theme .sm-ai-topbar-tab:hover,
html.light-theme .sm-ai-topbar-tab:hover,
[data-theme="light"] .sm-ai-topbar-tab:hover {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.6) !important;
}

body.light-theme .sm-ai-topbar-tab.active,
html.light-theme .sm-ai-topbar-tab.active,
[data-theme="light"] .sm-ai-topbar-tab.active {
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}

/* Gestão Automática Switch & Dropdown */
body.light-theme .sm-ai-topbar-toggle-wrap,
html.light-theme .sm-ai-topbar-toggle-wrap,
[data-theme="light"] .sm-ai-topbar-toggle-wrap {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
}

body.light-theme .sm-ai-toggle-title,
html.light-theme .sm-ai-toggle-title,
[data-theme="light"] .sm-ai-toggle-title {
  color: #0f172a !important;
}

body.light-theme .sm-ai-toggle-sub,
html.light-theme .sm-ai-toggle-sub,
[data-theme="light"] .sm-ai-toggle-sub {
  color: #64748b !important;
}

body.light-theme .sm-auto-drop,
html.light-theme .sm-auto-drop,
[data-theme="light"] .sm-auto-drop {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
}

body.light-theme .sm-auto-drop h4,
html.light-theme .sm-auto-drop h4,
[data-theme="light"] .sm-auto-drop h4 {
  color: #0f172a !important;
}

body.light-theme .sm-auto-drop p,
body.light-theme .sm-auto-drop li,
html.light-theme .sm-auto-drop p,
html.light-theme .sm-auto-drop li,
[data-theme="light"] .sm-auto-drop p,
[data-theme="light"] .sm-auto-drop li {
  color: #475569 !important;
}

body.light-theme .sm-auto-status,
body.light-theme .sm-auto-res-item,
html.light-theme .sm-auto-status,
html.light-theme .sm-auto-res-item,
[data-theme="light"] .sm-auto-status,
[data-theme="light"] .sm-auto-res-item {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .sm-auto-res-item:hover,
html.light-theme .sm-auto-res-item:hover,
[data-theme="light"] .sm-auto-res-item:hover {
  background: #f8fafc !important;
  border-color: #d97706 !important;
}

body.light-theme .sm-auto-prog,
html.light-theme .sm-auto-prog,
[data-theme="light"] .sm-auto-prog {
  background: #e2e8f0 !important;
}

/* ── Banner Semana Pronta & Itens da Fila ── */
body.light-theme .sm-ai-ready-banner,
body.light-theme [style*="border: 1px solid rgba(16, 185, 129"],
html.light-theme .sm-ai-ready-banner,
[data-theme="light"] .sm-ai-ready-banner {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #166534 !important;
}

body.light-theme .sm-ai-queue-row,
body.light-theme [style*="background: rgba(255, 255, 255, 0.03)"],
html.light-theme .sm-ai-queue-row,
[data-theme="light"] .sm-ai-queue-row {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

body.light-theme .sm-ai-queue-row:hover,
html.light-theme .sm-ai-queue-row:hover,
[data-theme="light"] .sm-ai-queue-row:hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .sm-ai-queue-time,
html.light-theme .sm-ai-queue-time,
[data-theme="light"] .sm-ai-queue-time {
  color: #b45309 !important;
  font-weight: 700 !important;
}

body.light-theme .sm-ai-queue-title,
html.light-theme .sm-ai-queue-title,
[data-theme="light"] .sm-ai-queue-title {
  color: #0f172a !important;
}

body.light-theme .sm-ai-queue-badge,
html.light-theme .sm-ai-queue-badge,
[data-theme="light"] .sm-ai-queue-badge {
  background: #e2e8f0 !important;
  color: #334155 !important;
}

/* ── Diretrizes Estratégicas (Configurações da sua estratégia) ── */
body.light-theme .sm-strategy-card,
body.light-theme [style*="background:#091220"],
html.light-theme .sm-strategy-card,
[data-theme="light"] .sm-strategy-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .sm-strategy-card h3,
body.light-theme [style*="background:#091220"] h3,
html.light-theme .sm-strategy-card h3,
[data-theme="light"] .sm-strategy-card h3 {
  color: #0f172a !important;
}

body.light-theme .sm-strategy-card p,
body.light-theme [style*="background:#091220"] p,
html.light-theme .sm-strategy-card p,
[data-theme="light"] .sm-strategy-card p {
  color: #475569 !important;
}

body.light-theme [style*="background:#060b13"],
html.light-theme [style*="background:#060b13"],
[data-theme="light"] [style*="background:#060b13"] {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-theme [style*="background:#060b13"] span,
html.light-theme [style*="background:#060b13"] span,
[data-theme="light"] [style*="background:#060b13"] span {
  color: #b45309 !important;
  font-weight: 800 !important;
}

body.light-theme [style*="background:#060b13"] p,
html.light-theme [style*="background:#060b13"] p,
[data-theme="light"] [style*="background:#060b13"] p {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* ── AI Chat Messages, Input & Chips ── */
body.light-theme .sm-ai-messages-container,
html.light-theme .sm-ai-messages-container,
[data-theme="light"] .sm-ai-messages-container {
  background: transparent !important;
}

body.light-theme .sm-ai-msg-bubble,
html.light-theme .sm-ai-msg-bubble,
[data-theme="light"] .sm-ai-msg-bubble {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

body.light-theme .sm-ai-msg-bubble p,
body.light-theme .sm-ai-msg-bubble div,
html.light-theme .sm-ai-msg-bubble p,
html.light-theme .sm-ai-msg-bubble div,
[data-theme="light"] .sm-ai-msg-bubble p,
[data-theme="light"] .sm-ai-msg-bubble div {
  color: #0f172a !important;
}

body.light-theme [style*="background:#0e1b2d"],
html.light-theme [style*="background:#0e1b2d"],
[data-theme="light"] [style*="background:#0e1b2d"] {
  background: #fef3c7 !important;
  border: 1px solid #fde68a !important;
  color: #92400e !important;
}

body.light-theme [style*="background:#0e1b2d"] div,
html.light-theme [style*="background:#0e1b2d"] div,
[data-theme="light"] [style*="background:#0e1b2d"] div {
  color: #92400e !important;
}

body.light-theme .sm-ai-msg-time,
html.light-theme .sm-ai-msg-time,
[data-theme="light"] .sm-ai-msg-time {
  color: #64748b !important;
}

body.light-theme .sm-ai-input-wrap,
body.light-theme .sm-ai-input-container,
body.light-theme [style*="background: rgba(255, 255, 255, 0.04)"][style*="border-radius: 12px"],
html.light-theme .sm-ai-input-wrap,
html.light-theme .sm-ai-input-container,
[data-theme="light"] .sm-ai-input-wrap,
[data-theme="light"] .sm-ai-input-container {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

body.light-theme .sm-ai-input,
body.light-theme textarea.sm-ai-input,
body.light-theme input.sm-ai-input,
html.light-theme .sm-ai-input,
html.light-theme textarea.sm-ai-input,
[data-theme="light"] .sm-ai-input,
[data-theme="light"] textarea.sm-ai-input {
  background: transparent !important;
  color: #0f172a !important;
}

body.light-theme .sm-ai-input::placeholder,
body.light-theme textarea.sm-ai-input::placeholder,
html.light-theme .sm-ai-input::placeholder,
[data-theme="light"] .sm-ai-input::placeholder {
  color: #94a3b8 !important;
}

body.light-theme .sm-ai-quick-btn,
body.light-theme .sm-ai-chip,
body.light-theme .sm-ai-chips-container button,
html.light-theme .sm-ai-quick-btn,
html.light-theme .sm-ai-chip,
[data-theme="light"] .sm-ai-quick-btn,
[data-theme="light"] .sm-ai-chip {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body.light-theme .sm-ai-quick-btn:hover,
body.light-theme .sm-ai-chip:hover,
body.light-theme .sm-ai-chips-container button:hover,
html.light-theme .sm-ai-quick-btn:hover,
html.light-theme .sm-ai-chip:hover,
[data-theme="light"] .sm-ai-quick-btn:hover,
[data-theme="light"] .sm-ai-chip:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

/* ── Biblioteca de Publicações da Campanha ── */
body.light-theme .sm-ai-campaign-library,
html.light-theme .sm-ai-campaign-library,
[data-theme="light"] .sm-ai-campaign-library {
  color: #0f172a !important;
}

body.light-theme .sm-ai-campaign-library h3,
body.light-theme .sm-campaign-library-header,
html.light-theme .sm-ai-campaign-library h3,
html.light-theme .sm-campaign-library-header,
[data-theme="light"] .sm-ai-campaign-library h3,
[data-theme="light"] .sm-campaign-library-header {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.light-theme .sm-select-all-label,
html.light-theme .sm-select-all-label,
[data-theme="light"] .sm-select-all-label {
  color: #334155 !important;
}

body.light-theme .sm-ai-card,
html.light-theme .sm-ai-card,
[data-theme="light"] .sm-ai-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.07) !important;
}

body.light-theme .sm-ai-card:hover,
html.light-theme .sm-ai-card:hover,
[data-theme="light"] .sm-ai-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.12) !important;
}

body.light-theme .sm-ai-card.active,
html.light-theme .sm-ai-card.active,
[data-theme="light"] .sm-ai-card.active {
  border-color: #d97706 !important;
  box-shadow: 0 0 0 2px #d97706, 0 8px 20px -2px rgba(217, 119, 6, 0.22) !important;
}

body.light-theme .sm-ai-card-footer,
html.light-theme .sm-ai-card-footer,
[data-theme="light"] .sm-ai-card-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

body.light-theme .sm-ai-card-btn-detalhes,
html.light-theme .sm-ai-card-btn-detalhes,
[data-theme="light"] .sm-ai-card-btn-detalhes {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

body.light-theme .sm-ai-card-btn-detalhes:hover,
html.light-theme .sm-ai-card-btn-detalhes:hover,
[data-theme="light"] .sm-ai-card-btn-detalhes:hover {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
}

body.light-theme .sm-ai-card-status-badge,
html.light-theme .sm-ai-card-status-badge,
[data-theme="light"] .sm-ai-card-status-badge {
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
}

/* ── Live Preview Panel (Right Sticky Column) ── */
body.light-theme .sm-hub-preview-card,
html.light-theme .sm-hub-preview-card,
[data-theme="light"] .sm-hub-preview-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04) !important;
}

body.light-theme .sm-hub-preview-title,
html.light-theme .sm-hub-preview-title,
[data-theme="light"] .sm-hub-preview-title {
  color: #0f172a !important;
}

body.light-theme .sm-hub-preview-sub,
html.light-theme .sm-hub-preview-sub,
[data-theme="light"] .sm-hub-preview-sub {
  color: #64748b !important;
}

body.light-theme .sm-hub-prev-tab,
html.light-theme .sm-hub-prev-tab,
[data-theme="light"] .sm-hub-prev-tab {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

body.light-theme .sm-hub-prev-tab:hover,
html.light-theme .sm-hub-prev-tab:hover,
[data-theme="light"] .sm-hub-prev-tab:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

body.light-theme .sm-hub-prev-tab.active,
html.light-theme .sm-hub-prev-tab.active,
[data-theme="light"] .sm-hub-prev-tab.active {
  background: #fef3c7 !important;
  border-color: #d97706 !important;
  color: #92400e !important;
  font-weight: 700 !important;
}

body.light-theme .sm-hub-format-tab,
body.light-theme .sm-format-btn,
html.light-theme .sm-hub-format-tab,
html.light-theme .sm-format-btn,
[data-theme="light"] .sm-hub-format-tab,
[data-theme="light"] .sm-format-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

body.light-theme .sm-hub-format-tab.active,
body.light-theme .sm-format-btn.active,
html.light-theme .sm-hub-format-tab.active,
html.light-theme .sm-format-btn.active,
[data-theme="light"] .sm-hub-format-tab.active,
[data-theme="light"] .sm-format-btn.active {
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}

/* Feed Mockup Phone Frame (Instagram Authentic Light Mode) */
body.light-theme .sm-hub-phone-frame,
html.light-theme .sm-hub-phone-frame,
[data-theme="light"] .sm-hub-phone-frame {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .sm-hub-mock-head,
html.light-theme .sm-hub-mock-head,
[data-theme="light"] .sm-hub-mock-head {
  border-bottom: 1px solid #f1f5f9 !important;
}

body.light-theme .sm-hub-mock-name,
html.light-theme .sm-hub-mock-name,
[data-theme="light"] .sm-hub-mock-name {
  color: #0f172a !important;
}

body.light-theme .sm-hub-mock-handle,
html.light-theme .sm-hub-mock-handle,
[data-theme="light"] .sm-hub-mock-handle {
  color: #64748b !important;
}

body.light-theme .sm-hub-mock-actions,
html.light-theme .sm-hub-mock-actions,
[data-theme="light"] .sm-hub-mock-actions {
  color: #0f172a !important;
}

body.light-theme .sm-hub-mock-caption-wrap,
html.light-theme .sm-hub-mock-caption-wrap,
[data-theme="light"] .sm-hub-mock-caption-wrap {
  color: #1e293b !important;
}

body.light-theme .sm-hub-mock-caption-author,
html.light-theme .sm-hub-mock-caption-author,
[data-theme="light"] .sm-hub-mock-caption-author {
  color: #0f172a !important;
}

body.light-theme .sm-hub-mock-hashtags,
html.light-theme .sm-hub-mock-hashtags,
[data-theme="light"] .sm-hub-mock-hashtags {
  color: #2563eb !important;
}

body.light-theme .sm-hub-mock-comments-link,
body.light-theme .sm-hub-mock-time,
html.light-theme .sm-hub-mock-comments-link,
html.light-theme .sm-hub-mock-time,
[data-theme="light"] .sm-hub-mock-comments-link,
[data-theme="light"] .sm-hub-mock-time {
  color: #64748b !important;
}

body.light-theme .sm-ai-networks-label,
html.light-theme .sm-ai-networks-label,
[data-theme="light"] .sm-ai-networks-label {
  color: #475569 !important;
}

body.light-theme .sm-ai-social-row,
html.light-theme .sm-ai-social-row,
[data-theme="light"] .sm-ai-social-row {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-theme .sm-ai-social-label,
html.light-theme .sm-ai-social-label,
[data-theme="light"] .sm-ai-social-label {
  color: #0f172a !important;
}

body.light-theme .sm-ai-switch-slider,
html.light-theme .sm-ai-switch-slider,
[data-theme="light"] .sm-ai-switch-slider {
  background: #cbd5e1 !important;
}

body.light-theme .sm-ai-switch-toggle input:checked + .sm-ai-switch-slider,
html.light-theme .sm-ai-switch-toggle input:checked + .sm-ai-switch-slider,
[data-theme="light"] .sm-ai-switch-toggle input:checked + .sm-ai-switch-slider {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

body.light-theme .sm-ai-btn-agendar-golden,
html.light-theme .sm-ai-btn-agendar-golden,
[data-theme="light"] .sm-ai-btn-agendar-golden {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25) !important;
}

/* ── Editorial Calendar (Tab Calendário) ── */
body.light-theme .sm-cal-header-bar,
html.light-theme .sm-cal-header-bar,
[data-theme="light"] .sm-cal-header-bar {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

body.light-theme .sm-cal-month-title,
html.light-theme .sm-cal-month-title,
[data-theme="light"] .sm-cal-month-title {
  color: #0f172a !important;
}

body.light-theme .sm-cal-nav-arrow,
html.light-theme .sm-cal-nav-arrow,
[data-theme="light"] .sm-cal-nav-arrow {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

body.light-theme .sm-cal-nav-arrow:hover,
html.light-theme .sm-cal-nav-arrow:hover,
[data-theme="light"] .sm-cal-nav-arrow:hover {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

body.light-theme .sm-cal-btn-hoje,
html.light-theme .sm-cal-btn-hoje,
[data-theme="light"] .sm-cal-btn-hoje {
  background: #fef3c7 !important;
  border: 1px solid #fcd34d !important;
  color: #92400e !important;
}

body.light-theme .sm-cal-filter-pill,
html.light-theme .sm-cal-filter-pill,
[data-theme="light"] .sm-cal-filter-pill {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

body.light-theme .sm-cal-filter-pill:hover,
html.light-theme .sm-cal-filter-pill:hover,
[data-theme="light"] .sm-cal-filter-pill:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

body.light-theme .sm-cal-filter-pill.sel,
html.light-theme .sm-cal-filter-pill.sel,
[data-theme="light"] .sm-cal-filter-pill.sel {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

body.light-theme .sm-cal-grid,
body.light-theme .sm-cal-grid-v2,
html.light-theme .sm-cal-grid,
html.light-theme .sm-cal-grid-v2,
[data-theme="light"] .sm-cal-grid,
[data-theme="light"] .sm-cal-grid-v2 {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .sm-cal-weekday,
body.light-theme .sm-cal-weekday-v2,
body.light-theme .sm-cal-day-name,
html.light-theme .sm-cal-weekday,
html.light-theme .sm-cal-weekday-v2,
[data-theme="light"] .sm-cal-weekday,
[data-theme="light"] .sm-cal-weekday-v2 {
  color: #475569 !important;
  font-weight: 700 !important;
}

body.light-theme .sm-cal-cell,
body.light-theme .sm-cal-cell-v2,
html.light-theme .sm-cal-cell,
html.light-theme .sm-cal-cell-v2,
[data-theme="light"] .sm-cal-cell,
[data-theme="light"] .sm-cal-cell-v2 {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-theme .sm-cal-cell:hover,
body.light-theme .sm-cal-cell-v2:hover,
html.light-theme .sm-cal-cell:hover,
html.light-theme .sm-cal-cell-v2:hover,
[data-theme="light"] .sm-cal-cell:hover,
[data-theme="light"] .sm-cal-cell-v2:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}

body.light-theme .sm-cal-cell.today,
body.light-theme .sm-cal-cell-v2.today,
html.light-theme .sm-cal-cell.today,
html.light-theme .sm-cal-cell-v2.today,
[data-theme="light"] .sm-cal-cell.today,
[data-theme="light"] .sm-cal-cell-v2.today {
  border: 2px solid #d97706 !important;
  background: #fffbeb !important;
}

body.light-theme .sm-cal-cell.other-month,
body.light-theme .sm-cal-cell-v2.other-month,
html.light-theme .sm-cal-cell.other-month,
html.light-theme .sm-cal-cell-v2.other-month,
[data-theme="light"] .sm-cal-cell.other-month,
[data-theme="light"] .sm-cal-cell-v2.other-month {
  background: #f8fafc !important;
  opacity: 0.55 !important;
}

body.light-theme .sm-cal-cell-num,
body.light-theme .sm-cal-cell-head-date,
html.light-theme .sm-cal-cell-num,
html.light-theme .sm-cal-cell-head-date,
[data-theme="light"] .sm-cal-cell-num,
[data-theme="light"] .sm-cal-cell-head-date {
  color: #0f172a !important;
}

body.light-theme .sm-cal-cell-head-date.other,
html.light-theme .sm-cal-cell-head-date.other,
[data-theme="light"] .sm-cal-cell-head-date.other {
  color: #94a3b8 !important;
}

body.light-theme .sm-cal-cell-head-badge,
html.light-theme .sm-cal-cell-head-badge,
[data-theme="light"] .sm-cal-cell-head-badge {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme .sm-cal-car-arrow,
html.light-theme .sm-cal-car-arrow,
[data-theme="light"] .sm-cal-car-arrow {
  color: #64748b !important;
}

body.light-theme .sm-cal-car-arrow:hover,
html.light-theme .sm-cal-car-arrow:hover,
[data-theme="light"] .sm-cal-car-arrow:hover {
  color: #0f172a !important;
}

body.light-theme .sm-cal-thumb-box,
html.light-theme .sm-cal-thumb-box,
[data-theme="light"] .sm-cal-thumb-box {
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1) !important;
}

body.light-theme .sm-cal-post-chip,
html.light-theme .sm-cal-post-chip,
[data-theme="light"] .sm-cal-post-chip {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* ── Brand Voice / Identidade da Marca (Tab Marca) ── */
body.light-theme .sm-brand-card,
html.light-theme .sm-brand-card,
[data-theme="light"] .sm-brand-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .sm-brand-header h2,
body.light-theme .sm-brand-header h3,
body.light-theme .sm-brand-card h2,
body.light-theme .sm-brand-card h3,
html.light-theme .sm-brand-header h2,
[data-theme="light"] .sm-brand-header h2 {
  color: #0f172a !important;
}

body.light-theme .sm-brand-header p,
body.light-theme .sm-brand-card p,
html.light-theme .sm-brand-header p,
[data-theme="light"] .sm-brand-header p {
  color: #475569 !important;
}

body.light-theme .sm-chip,
html.light-theme .sm-chip,
[data-theme="light"] .sm-chip {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

body.light-theme .sm-chip:hover,
html.light-theme .sm-chip:hover,
[data-theme="light"] .sm-chip:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

body.light-theme .sm-chip.selected,
html.light-theme .sm-chip.selected,
[data-theme="light"] .sm-chip.selected {
  background: #fef3c7 !important;
  border-color: #d97706 !important;
  color: #92400e !important;
  font-weight: 700 !important;
}

body.light-theme .sm-ai-explainer,
html.light-theme .sm-ai-explainer,
[data-theme="light"] .sm-ai-explainer {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1e3a8a !important;
}

body.light-theme .sm-ai-btn-sm,
html.light-theme .sm-ai-btn-sm,
[data-theme="light"] .sm-ai-btn-sm {
  background: #fef3c7 !important;
  border: 1px solid #fcd34d !important;
  color: #92400e !important;
  font-weight: 700 !important;
}

body.light-theme .sm-photo-empty-card,
html.light-theme .sm-photo-empty-card,
[data-theme="light"] .sm-photo-empty-card {
  background: #f8fafc !important;
  border: 2px dashed #cbd5e1 !important;
  color: #475569 !important;
}

/* ── Reels & Vídeos Studio (Tab Reels e Vídeos) ── */
body.light-theme .sm-reels-card,
html.light-theme .sm-reels-card,
[data-theme="light"] .sm-reels-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .sm-reels-card-title,
html.light-theme .sm-reels-card-title,
[data-theme="light"] .sm-reels-card-title {
  color: #0f172a !important;
}

body.light-theme .sm-reels-card p,
body.light-theme .sm-reels-card label,
html.light-theme .sm-reels-card p,
html.light-theme .sm-reels-card label,
[data-theme="light"] .sm-reels-card p,
[data-theme="light"] .sm-reels-card label {
  color: #334155 !important;
}

body.light-theme .sm-reels-step-circle,
html.light-theme .sm-reels-step-circle,
[data-theme="light"] .sm-reels-step-circle {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
}

body.light-theme .sm-reels-step.active .sm-reels-step-circle,
html.light-theme .sm-reels-step.active .sm-reels-step-circle,
[data-theme="light"] .sm-reels-step.active .sm-reels-step-circle {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
}

body.light-theme .sm-reels-step.done .sm-reels-step-circle,
html.light-theme .sm-reels-step.done .sm-reels-step-circle,
[data-theme="light"] .sm-reels-step.done .sm-reels-step-circle {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

body.light-theme .sm-reels-step-label,
html.light-theme .sm-reels-step-label,
[data-theme="light"] .sm-reels-step-label {
  color: #475569 !important;
}

body.light-theme .sm-reels-step.active .sm-reels-step-label,
html.light-theme .sm-reels-step.active .sm-reels-step-label,
[data-theme="light"] .sm-reels-step.active .sm-reels-step-label {
  color: #0f172a !important;
  font-weight: 700 !important;
}

body.light-theme .sm-reels-scene-card,
html.light-theme .sm-reels-scene-card,
[data-theme="light"] .sm-reels-scene-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

body.light-theme .sm-reels-draft-item,
html.light-theme .sm-reels-draft-item,
[data-theme="light"] .sm-reels-draft-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

body.light-theme .sm-reels-draft-item:hover,
html.light-theme .sm-reels-draft-item:hover,
[data-theme="light"] .sm-reels-draft-item:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

/* ── Queue / Fila Tab (Tab Fila) ── */
body.light-theme .sm-queue-page-wrapper,
html.light-theme .sm-queue-page-wrapper,
[data-theme="light"] .sm-queue-page-wrapper {
  color: #0f172a !important;
}

body.light-theme .sm-queue-brand-title,
body.light-theme .sm-queue-main-title,
html.light-theme .sm-queue-brand-title,
html.light-theme .sm-queue-main-title,
[data-theme="light"] .sm-queue-brand-title,
[data-theme="light"] .sm-queue-main-title {
  color: #0f172a !important;
}

body.light-theme .sm-queue-brand-subtitle,
body.light-theme .sm-queue-main-desc,
html.light-theme .sm-queue-brand-subtitle,
html.light-theme .sm-queue-main-desc,
[data-theme="light"] .sm-queue-brand-subtitle,
[data-theme="light"] .sm-queue-main-desc {
  color: #64748b !important;
}

body.light-theme .sm-queue-stat-card,
html.light-theme .sm-queue-stat-card,
[data-theme="light"] .sm-queue-stat-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

body.light-theme .sm-queue-stat-label,
html.light-theme .sm-queue-stat-label,
[data-theme="light"] .sm-queue-stat-label {
  color: #64748b !important;
}

body.light-theme .sm-queue-stat-value,
body.light-theme .sm-queue-stat-value-highlight,
html.light-theme .sm-queue-stat-value,
html.light-theme .sm-queue-stat-value-highlight,
[data-theme="light"] .sm-queue-stat-value,
[data-theme="light"] .sm-queue-stat-value-highlight {
  color: #0f172a !important;
}

body.light-theme .sm-queue-search-input,
html.light-theme .sm-queue-search-input,
[data-theme="light"] .sm-queue-search-input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .sm-queue-search-input::placeholder,
html.light-theme .sm-queue-search-input::placeholder,
[data-theme="light"] .sm-queue-search-input::placeholder {
  color: #94a3b8 !important;
}

body.light-theme .sm-queue-select-wrap,
html.light-theme .sm-queue-select-wrap,
[data-theme="light"] .sm-queue-select-wrap {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme .sm-queue-select,
html.light-theme .sm-queue-select,
[data-theme="light"] .sm-queue-select {
  color: #0f172a !important;
}

body.light-theme .sm-queue-select option,
html.light-theme .sm-queue-select option,
[data-theme="light"] .sm-queue-select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

body.light-theme .sm-queue-view-switcher,
html.light-theme .sm-queue-view-switcher,
[data-theme="light"] .sm-queue-view-switcher {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme .sm-queue-view-btn,
html.light-theme .sm-queue-view-btn,
[data-theme="light"] .sm-queue-view-btn {
  background: transparent !important;
  color: #64748b !important;
}

body.light-theme .sm-queue-view-btn.active,
html.light-theme .sm-queue-view-btn.active,
[data-theme="light"] .sm-queue-view-btn.active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .sm-queue-group-title,
html.light-theme .sm-queue-group-title,
[data-theme="light"] .sm-queue-group-title {
  color: #475569 !important;
}

body.light-theme .sm-queue-group-badge,
html.light-theme .sm-queue-group-badge,
[data-theme="light"] .sm-queue-group-badge {
  background: #e2e8f0 !important;
  color: #334155 !important;
}

body.light-theme .sm-queue-post-card,
html.light-theme .sm-queue-post-card,
[data-theme="light"] .sm-queue-post-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

body.light-theme .sm-queue-post-card:hover,
html.light-theme .sm-queue-post-card:hover,
[data-theme="light"] .sm-queue-post-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .sm-queue-card-title,
html.light-theme .sm-queue-card-title,
[data-theme="light"] .sm-queue-card-title {
  color: #0f172a !important;
}

body.light-theme .sm-queue-card-desc,
html.light-theme .sm-queue-card-desc,
[data-theme="light"] .sm-queue-card-desc {
  color: #475569 !important;
}

body.light-theme .sm-queue-card-channel-pill,
html.light-theme .sm-queue-card-channel-pill,
[data-theme="light"] .sm-queue-card-channel-pill {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

body.light-theme .sm-queue-widget,
html.light-theme .sm-queue-widget,
[data-theme="light"] .sm-queue-widget {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

body.light-theme .sm-queue-widget-header,
html.light-theme .sm-queue-widget-header,
[data-theme="light"] .sm-queue-widget-header {
  color: #0f172a !important;
}

body.light-theme .sm-queue-status-pill.agendada,
html.light-theme .sm-queue-status-pill.agendada,
[data-theme="light"] .sm-queue-status-pill.agendada {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}

body.light-theme .sm-queue-status-pill.publicada,
html.light-theme .sm-queue-status-pill.publicada,
[data-theme="light"] .sm-queue-status-pill.publicada {
  background: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}

body.light-theme .sm-queue-status-pill.rascunho,
html.light-theme .sm-queue-status-pill.rascunho,
[data-theme="light"] .sm-queue-status-pill.rascunho {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
}

/* ── Strategy Wizard Modal (.sm-wiz-card) ── */
body.light-theme .sm-wiz-card,
html.light-theme .sm-wiz-card,
[data-theme="light"] .sm-wiz-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .sm-wiz-head h2,
html.light-theme .sm-wiz-head h2,
[data-theme="light"] .sm-wiz-head h2 {
  color: #0f172a !important;
}

body.light-theme .sm-wiz-head p,
html.light-theme .sm-wiz-head p,
[data-theme="light"] .sm-wiz-head p {
  color: #475569 !important;
}

body.light-theme .sm-wiz-info,
html.light-theme .sm-wiz-info,
[data-theme="light"] .sm-wiz-info {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1e3a8a !important;
}

body.light-theme .sm-wiz-opt,
html.light-theme .sm-wiz-opt,
[data-theme="light"] .sm-wiz-opt {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
}

body.light-theme .sm-wiz-opt:hover:not(:disabled),
html.light-theme .sm-wiz-opt:hover:not(:disabled),
[data-theme="light"] .sm-wiz-opt:hover:not(:disabled) {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

body.light-theme .sm-wiz-opt.sel,
html.light-theme .sm-wiz-opt.sel,
[data-theme="light"] .sm-wiz-opt.sel {
  background: #fef3c7 !important;
  border-color: #d97706 !important;
  box-shadow: 0 0 0 1px #d97706 !important;
}

body.light-theme .sm-wiz-opt strong,
html.light-theme .sm-wiz-opt strong,
[data-theme="light"] .sm-wiz-opt strong {
  color: #0f172a !important;
}

body.light-theme .sm-wiz-opt.sel strong,
html.light-theme .sm-wiz-opt.sel strong,
[data-theme="light"] .sm-wiz-opt.sel strong {
  color: #92400e !important;
}

body.light-theme .sm-wiz-opt small,
html.light-theme .sm-wiz-opt small,
[data-theme="light"] .sm-wiz-opt small {
  color: #64748b !important;
}

body.light-theme .sm-wiz-opt.sel small,
html.light-theme .sm-wiz-opt.sel small,
[data-theme="light"] .sm-wiz-opt.sel small {
  color: #78350f !important;
}

body.light-theme .sm-wiz-field,
html.light-theme .sm-wiz-field,
[data-theme="light"] .sm-wiz-field {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .sm-wiz-field::placeholder,
html.light-theme .sm-wiz-field::placeholder,
[data-theme="light"] .sm-wiz-field::placeholder {
  color: #94a3b8 !important;
}

body.light-theme .sm-wiz-sum-card,
html.light-theme .sm-wiz-sum-card,
[data-theme="light"] .sm-wiz-sum-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-theme .sm-wiz-sum-card small,
html.light-theme .sm-wiz-sum-card small,
[data-theme="light"] .sm-wiz-sum-card small {
  color: #64748b !important;
}

body.light-theme .sm-wiz-sum-card span,
html.light-theme .sm-wiz-sum-card span,
[data-theme="light"] .sm-wiz-sum-card span {
  color: #0f172a !important;
}

body.light-theme .sm-wiz-btn-ghost,
html.light-theme .sm-wiz-btn-ghost,
[data-theme="light"] .sm-wiz-btn-ghost {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

body.light-theme .sm-wiz-btn-primary,
html.light-theme .sm-wiz-btn-primary,
[data-theme="light"] .sm-wiz-btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #0f172a !important;
  font-weight: 800 !important;
}

/* ── Analytics & Canais Tabs ── */
body.light-theme .sm-card,
html.light-theme .sm-card,
[data-theme="light"] .sm-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .sm-card-title,
html.light-theme .sm-card-title,
[data-theme="light"] .sm-card-title {
  color: #0f172a !important;
}

body.light-theme [style*="background: rgba(0, 0, 0, 0.25)"],
html.light-theme [style*="background: rgba(0, 0, 0, 0.25)"],
[data-theme="light"] [style*="background: rgba(0, 0, 0, 0.25)"] {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-theme [style*="background: rgba(0, 0, 0, 0.25)"] div,
html.light-theme [style*="background: rgba(0, 0, 0, 0.25)"] div,
[data-theme="light"] [style*="background: rgba(0, 0, 0, 0.25)"] div {
  color: #0f172a !important;
}

/* ── Modals & Popups Light Theme Fix ── */
body.light-theme [style*="background:#0f172a"][style*="border-radius:18px"],
html.light-theme [style*="background:#0f172a"][style*="border-radius:18px"],
[data-theme="light"] [style*="background:#0f172a"][style*="border-radius:18px"] {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}

body.light-theme [style*="background:#0f172a"][style*="border-radius:18px"] h3,
html.light-theme [style*="background:#0f172a"][style*="border-radius:18px"] h3,
[data-theme="light"] [style*="background:#0f172a"][style*="border-radius:18px"] h3 {
  color: #0f172a !important;
}

body.light-theme [style*="background:#0f172a"][style*="border-radius:18px"] p,
html.light-theme [style*="background:#0f172a"][style*="border-radius:18px"] p,
[data-theme="light"] [style*="background:#0f172a"][style*="border-radius:18px"] p {
  color: #475569 !important;
}

body.light-theme [style*="background:#0f172a"][style*="border-radius:18px"] [style*="background:#090e17"],
html.light-theme [style*="background:#0f172a"][style*="border-radius:18px"] [style*="background:#090e17"],
[data-theme="light"] [style*="background:#0f172a"][style*="border-radius:18px"] [style*="background:#090e17"] {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

body.light-theme [style*="background:#0f172a"][style*="border-radius:18px"] input,
html.light-theme [style*="background:#0f172a"][style*="border-radius:18px"] input,
[data-theme="light"] [style*="background:#0f172a"][style*="border-radius:18px"] input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

/* ── PREFERS-REDUCED-MOTION ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sm-auto-sw,
  .sm-auto-drop,
  .sm-auto-drop li,
  .sm-auto-res-item,
  .sm-auto-bar,
  .sm-auto-prog i {
    animation-duration: 0.01s !important;
    transition-duration: 0.01s !important;
  }
}

.sm-ai-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1240px) {
  .sm-ai-main-grid {
    grid-template-columns: 1fr;
  }
}

.sm-ai-chat-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sm-ai-messages-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sm-ai-progress-card {
  background: #0b1524;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
.sm-ai-progress-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sm-ai-sparkle-dot {
  color: #efc46e;
  font-size: 18px;
  line-height: 1;
}
.sm-ai-progress-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px 0;
}
.sm-ai-progress-sub {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}
.sm-ai-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.sm-ai-check-item {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #94a3b8;
}
.sm-ai-check-item.done {
  color: #e2e8f0;
}
.sm-ai-check-item .sm-check-icon {
  color: #f59e0b;
  font-weight: 900;
}
.sm-ai-check-item .sm-check-icon.circle {
  color: #64748b;
  font-weight: normal;
}

.sm-ai-bot-spinner {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sm-ai-bot-ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(245, 158, 11, 0.15);
  border-top-color: #f59e0b;
  border-radius: 50%;
  animation: smSpin 1.4s linear infinite;
}
@keyframes smSpin {
  to { transform: rotate(360deg); }
}
.sm-ai-bot-icon {
  font-size: 26px;
  line-height: 1;
}

.sm-ai-input-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.sm-ai-input-bar {
  background: #091220;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sm-ai-attach-btn {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.sm-ai-attach-btn:hover {
  color: #efc46e;
}
.sm-ai-chips-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sm-ai-sug-chip {
  background: #0b1524;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 7px 13px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.sm-ai-sug-chip:hover {
  border-color: #efc46e;
  color: #efc46e;
  background: rgba(239, 196, 110, 0.08);
}

/* Painel de Preview Lateral — Design Oficial Idêntico à Imagem */
.sm-ai-preview-column {
  background: #080f1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 4px;
  align-self: start;
  max-height: calc(100vh - 16px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 196, 110, 0.3) transparent;
  z-index: 20;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.sm-ai-preview-head-block {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-ai-phone-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sm-ai-preview-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
}
.sm-ai-preview-subtitle {
  font-size: 11px;
  color: #94a3b8;
  margin: 1px 0 0 0;
}

/* Tabs de Plataforma (Instagram | Facebook) */
.sm-ai-plat-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sm-ai-plat-btn {
  background: #091220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 7px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}
.sm-ai-plat-btn:hover {
  background: #0d1a2d;
}
.sm-ai-plat-btn.active {
  background: #0a1322;
  border: 1.5px solid #d97706;
  box-shadow: 0 0 12px rgba(217, 119, 6, 0.2);
  color: #fff;
  font-weight: 700;
}

/* Tabs de Formato (Post | Story | Reels) */
.sm-ai-fmt-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.sm-ai-fmt-btn {
  background: #070d18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 12px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}
.sm-ai-fmt-btn:hover {
  color: #cbd5e1;
}
.sm-ai-fmt-btn.active {
  background: #0c1626;
  border: 1.5px solid #d97706;
  color: #f59e0b;
  font-weight: 700;
}

/* Card Mockup Oficial */
.sm-ai-mockup-card {
  background: #070d18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}
.sm-ai-mockup-header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.sm-ai-mockup-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sm-ai-mockup-badge-4a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #070d18;
  border: 1.5px solid #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: -0.5px;
}
.sm-ai-mockup-user-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sm-ai-mockup-user-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.sm-ai-mockup-user {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.sm-ai-verified-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0284c7;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}
.sm-ai-mockup-platform {
  font-size: 11px;
  color: #64748b;
  line-height: 1;
}

.sm-ai-mockup-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
}
.sm-ai-mockup-media.format-story,
.sm-ai-mockup-media.format-reels {
  aspect-ratio: 9/16;
}
.sm-ai-mockup-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 11, 20, 0.94) 0%, rgba(6, 11, 20, 0.75) 50%, rgba(6, 11, 20, 0.35) 100%);
}
.sm-ai-art-accent-block {
  position: relative;
  z-index: 2;
  border-left: 3px solid #f59e0b;
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sm-ai-art-category {
  font-size: 11px;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sm-ai-art-title {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.3px;
}
.sm-ai-art-gold {
  color: #f59e0b;
}
.sm-ai-art-sub {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.35;
  margin: 4px 0 0 0;
  max-width: 250px;
}
.sm-ai-art-footer-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.sm-ai-art-logo-mark {
  font-size: 18px;
  font-weight: 900;
  color: #f59e0b;
  font-style: italic;
}
.sm-ai-art-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.sm-ai-art-brand {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
}
.sm-ai-art-tagline {
  font-size: 8px;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

/* Ações (Curtir, Comentar, Compartilhar, Salvar) */
.sm-ai-actions-bar {
  padding: 12px 14px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sm-ai-actions-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sm-ai-action-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.sm-ai-action-btn:hover {
  transform: scale(1.1);
}

/* Legenda e Hashtags */
.sm-ai-caption-block {
  padding: 4px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sm-ai-caption-content {
  font-size: 12px;
  line-height: 1.45;
  color: #e2e8f0;
  margin: 0;
}
.sm-ai-caption-content strong {
  color: #fff;
  font-weight: 700;
}
.sm-ai-hashtags-content {
  font-size: 11.5px;
  color: #0284c7;
  font-weight: 500;
  line-height: 1.4;
  margin: 2px 0 0 0;
}

/* Redes Sociais com Chavinhas Douradas */
.sm-ai-networks-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sm-ai-networks-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-ai-networks-switches {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sm-ai-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #091220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
}
.sm-ai-social-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #fff;
  font-weight: 600;
}

/* Chavinhas Douradas Idênticas à Imagem */
.sm-ai-switch-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
  cursor: pointer;
  margin: 0;
}
.sm-ai-switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.sm-ai-switch-slider {
  position: absolute;
  inset: 0;
  background: #334155;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.sm-ai-switch-slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.sm-ai-switch-toggle input:checked + .sm-ai-switch-slider {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.sm-ai-switch-toggle input:checked + .sm-ai-switch-slider:before {
  transform: translateX(20px);
}

/* Botão Ver Opções de Agendamento Idêntico à Imagem */
.sm-ai-btn-agendar-golden {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  border-radius: 12px;
  padding: 13px 20px;
  color: #0f172a;
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}
.sm-ai-btn-agendar-golden:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ── COLUNA DE PRÉ-VISUALIZAÇÃO STICKY NO TOPO QUE SEGUE O SCROLL ──────────── */
.sm-ai-preview-column {
  position: sticky;
  top: 4px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 20;
  width: 100%;
}

/* ── MOCKUPS ULTRA-REALISTAS: STORY E REELS ──────────────────────────────── */
.sm-story-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}
.sm-story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 20, 0.85) 0%, rgba(6, 11, 20, 0.35) 45%, rgba(6, 11, 20, 0.9) 100%);
  pointer-events: none;
}
.sm-story-progress-row {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 4px;
  width: 100%;
  margin-bottom: 10px;
}
.sm-story-progress-segment {
  flex: 1;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  overflow: hidden;
}
.sm-story-progress-segment.active {
  background: #ffffff;
}
.sm-story-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.sm-story-user-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-story-avatar-ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 1.5px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sm-story-avatar-ring.fb {
  background: #1877f2;
}
.sm-story-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0b1524;
  color: #efc46e;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sm-story-username {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.sm-story-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}
.sm-story-close {
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}
.sm-story-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin: auto 0;
  padding: 8px 0;
}
.sm-story-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}
.sm-story-reply-pill {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}
.sm-story-icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── REELS MOCKUP ────────────────────────────────────────────────────────── */
.sm-reels-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}
.sm-reels-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 20, 0.65) 0%, rgba(6, 11, 20, 0.2) 40%, rgba(6, 11, 20, 0.92) 100%);
  pointer-events: none;
}
.sm-reels-play-center {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
  cursor: pointer;
}
.sm-reels-play-center:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
.sm-reels-side-actions {
  position: absolute;
  right: 12px;
  bottom: 45px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sm-reels-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
  cursor: pointer;
}
.sm-reels-action-item span {
  font-size: 10px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.sm-reels-disc {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #111d2e;
  border: 2px solid #efc46e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  animation: smSpin 3s linear infinite;
}
.sm-reels-bottom-info {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 82%;
  margin-top: auto;
}
.sm-reels-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-reels-follow-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.sm-reels-caption-text {
  font-size: 11.5px;
  color: #f1f5f9;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.sm-reels-audio-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Live Channel Icons Pop Animation ── */
.sm-ai-card-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sm-ai-card-social-icons span {
  animation: smIconPop 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes smIconPop {
  0% { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   NOVA PÁGINA: IDENTIDADE DA MARCA & BIBLIOTECA DE FOTOGRAFIAS (4ADVS BRAND)
   ========================================================================== */

.sm-marca-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 8px 4px 60px 4px;
}

.sm-marca-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sm-marca-section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-marca-section-head-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sm-marca-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}

.sm-marca-section-subtitle {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
  max-width: 900px;
}

/* Banner Explicativo de Como Funciona */
.sm-marca-info-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 41, 59, 0.45) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.sm-marca-info-banner-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.sm-marca-info-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .sm-marca-info-steps-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.sm-marca-info-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(11, 19, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
}

.sm-marca-info-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f59e0b;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sm-marca-info-step-content strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.sm-marca-info-step-content p {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

/* Modos Superiores da Marca (3 Botões) */
.sm-marca-modes-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.sm-marca-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #090e17;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sm-marca-mode-btn:hover {
  background: #111a2e;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.sm-marca-mode-btn.active {
  background: #f59e0b;
  color: #000000;
  font-weight: 700;
  border-color: #f59e0b;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

/* Grid de 3 Blocos da Seção 1 (Upload, IA, Resultado) */
.sm-marca-grid-row {
  display: grid;
  grid-template-columns: 260px 1fr 1.15fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 1280px) {
  .sm-marca-grid-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sm-marca-grid-row {
    grid-template-columns: 1fr;
  }
}

.sm-marca-card {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Coluna 1: Upload Box */
.sm-marca-upload-card {
  border: 1.5px dashed rgba(255, 255, 255, 0.15);
  background: rgba(9, 14, 23, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 24px 16px;
}

.sm-marca-upload-card:hover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.03);
}

.sm-marca-upload-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.sm-marca-upload-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.sm-marca-upload-sub {
  font-size: 11.5px;
  color: #64748b;
  margin: 0 0 16px 0;
}

.sm-marca-btn-upload {
  background: #111a2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-marca-btn-upload:hover {
  background: #1e293b;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Coluna 2: IA Box */
.sm-marca-ai-card {
  display: flex;
  flex-direction: column;
}

.sm-marca-ai-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.sm-marca-ai-sub {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0 0 14px 0;
}

.sm-marca-prompt-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sm-marca-textarea {
  width: 100%;
  flex: 1;
  min-height: 100px;
  background: #040810;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px 28px 14px;
  color: #f1f5f9;
  font-size: 12.5px;
  line-height: 1.5;
  resize: none;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.sm-marca-textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.sm-marca-textarea::placeholder {
  color: #475569;
}

.sm-marca-char-count {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 11px;
  color: #64748b;
  pointer-events: none;
}

.sm-marca-btn-gerar {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: #f59e0b;
  color: #000000;
  border: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.25);
}

.sm-marca-btn-gerar:hover {
  background: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

/* Coluna 3: Resultado da Marca */
.sm-marca-result-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.sm-marca-result-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.sm-marca-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.sm-marca-logo-display {
  background: radial-gradient(circle at 50% 25%, #0d1e38 0%, #050b14 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.sm-marca-logo-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sm-marca-monogram-svg {
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.sm-marca-logo-texts {
  display: flex;
  flex-direction: column;
}

.sm-marca-logo-name {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  line-height: 1.2;
}

.sm-marca-logo-sub {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #d4af37;
  margin-top: 3px;
  text-transform: uppercase;
}

.sm-marca-subblock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sm-marca-subblock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sm-marca-subblock-title {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.sm-marca-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 11px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.sm-marca-btn-copy:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.sm-marca-swatches-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-marca-swatch-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.sm-marca-swatch-circle:hover {
  transform: scale(1.18);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

.sm-marca-fonts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sm-marca-font-box {
  background: #040810;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.sm-marca-font-sample {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.sm-marca-font-name {
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
}

/* Coluna 4: Aplicações da Marca */
.sm-marca-mockups-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sm-marca-mockups-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.sm-marca-mockups-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sm-marca-mockup-item {
  position: relative;
  height: 72px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-marca-mockup-item:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

.sm-marca-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sm-marca-mockup-item:hover .sm-marca-mockup-img {
  transform: scale(1.05);
}

.sm-marca-mockup-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 6px 10px;
}

.sm-marca-mockup-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.sm-marca-btn-ver-mais {
  background: #111a2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.sm-marca-btn-ver-mais:hover {
  background: #1e293b;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ── Seção 2: Biblioteca de Fotografias ── */
.sm-marca-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-marca-btn-ghost-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-marca-btn-ghost-pill:hover {
  background: #111a2e;
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.sm-marca-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.sm-marca-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sm-marca-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #090e17;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sm-marca-pill:hover {
  background: #111a2e;
  color: #ffffff;
}

.sm-marca-pill.active {
  background: #f59e0b;
  color: #000000;
  font-weight: 700;
  border-color: #f59e0b;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.sm-marca-btn-add-photos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: #f59e0b;
  color: #000000;
  border: none;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.sm-marca-btn-add-photos:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

/* Grid de Fotos */
.sm-marca-photos-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 1600px) {
  .sm-marca-photos-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1200px) {
  .sm-marca-photos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 800px) {
  .sm-marca-photos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .sm-marca-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sm-photo-card {
  position: relative;
  aspect-ratio: 1 / 1.15;
  border-radius: 10px;
  overflow: hidden;
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sm-photo-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.sm-photo-card.selected {
  border: 2px solid #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.sm-photo-media {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.sm-photo-media.is-logo {
  background-size: 80% auto !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #0b1320 !important;
}

.sm-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
  transition: opacity 0.2s ease;
}

.sm-photo-media.is-logo .sm-photo-overlay {
  display: none !important;
}

.sm-photo-card:hover .sm-photo-overlay {
  opacity: 0.15;
}

.sm-photo-checkbox {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  z-index: 2;
}

.sm-photo-checkbox.checked {
  background: #f59e0b;
  border-color: #f59e0b;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.sm-photo-card-add {
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  background: rgba(9, 14, 23, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-photo-card-add:hover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.04);
}

.sm-photo-add-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
}

.sm-photo-add-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.sm-photo-card-add:hover .sm-photo-add-icon {
  background: #f59e0b;
  color: #000000;
  border-color: #f59e0b;
  transform: scale(1.08);
}

.sm-photo-add-text {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.sm-photo-card-add:hover .sm-photo-add-text {
  color: #f1f5f9;
}

/* Barra inferior com identificação e ações da foto */
.sm-photo-info-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(6, 10, 20, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  z-index: 2;
}

.sm-photo-tag-badge {
  font-size: 11px;
  font-weight: 700;
  color: #f1f5f9;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 105px;
}

.sm-photo-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.sm-photo-card:hover .sm-photo-card-actions {
  opacity: 1;
}

.sm-photo-mini-btn {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #94a3b8;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.sm-photo-mini-btn:hover {
  background: #f59e0b;
  color: #000000;
  border-color: #f59e0b;
}

.sm-photo-mini-btn.delete:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

/* Card de estado vazio quando não há fotos reais */
.sm-photo-empty-card {
  grid-column: 1 / -1;
  background: rgba(9, 14, 23, 0.65);
  border: 1.5px dashed rgba(245, 158, 11, 0.28);
  border-radius: 14px;
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-photo-empty-card:hover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.04);
}

.sm-photo-empty-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.sm-photo-empty-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.sm-photo-empty-sub {
  font-size: 12.5px;
  color: #94a3b8;
  max-width: 440px;
  line-height: 1.5;
}

/* ==========================================================================
   ESTÚDIO DE REELS & VÍDEOS COM IA — 4ADVS (DESIGN SYSTEM OFICIAL)
   ========================================================================== */

.sm-reels-studio-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 4px 0 40px 0;
  color: #f1f5f9;
}

/* ── Cabeçalho do Estúdio & Stepper ── */
.sm-reels-top-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #091220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 24px;
}

.sm-reels-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.sm-reels-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sm-reels-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-reels-back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.sm-reels-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.sm-reels-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.sm-reels-badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sm-reels-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

.sm-reels-pill.green {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.sm-reels-pill.blue {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
}

.sm-reels-pill.gold {
  background: rgba(239, 196, 110, 0.12);
  border: 1px solid rgba(239, 196, 110, 0.4);
  color: #efc46e;
}

/* ── Stepper com 5 Etapas ── */
.sm-reels-stepper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.sm-reels-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.sm-reels-step-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  transition: all 0.2s ease;
}

.sm-reels-step.done {
  color: #cbd5e1;
}

.sm-reels-step.done .sm-reels-step-circle {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.sm-reels-step.active {
  color: #ffffff;
}

.sm-reels-step.active .sm-reels-step-circle {
  background: #172554;
  border: 1.5px solid #efc46e;
  color: #efc46e;
  box-shadow: 0 0 10px rgba(239, 196, 110, 0.3);
}

.sm-reels-step-line {
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
}

.sm-reels-step-line.done {
  background: #10b981;
}

/* ── Grid Principal de 3 Colunas ── */
.sm-reels-studio-grid {
  display: grid;
  grid-template-columns: 380px 360px 1fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 1400px) {
  .sm-reels-studio-grid {
    grid-template-columns: 360px 340px 1fr;
    gap: 16px;
  }
}

@media (max-width: 1200px) {
  .sm-reels-studio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sm-reels-col-preview {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .sm-reels-studio-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Card Geral do Estúdio ── */
.sm-reels-card {
  background: #091220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.sm-reels-card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-reels-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-reels-card-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

/* ── Formulário de Configuração do Vídeo ── */
.sm-reels-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sm-reels-label {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sm-reels-input-wrap {
  position: relative;
  width: 100%;
}

.sm-reels-input,
.sm-reels-select {
  width: 100%;
  background: #060b13;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #ffffff;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.sm-reels-input:focus,
.sm-reels-select:focus {
  border-color: #efc46e;
  box-shadow: 0 0 0 2px rgba(239, 196, 110, 0.15);
}

.sm-reels-select option {
  background: #091220;
  color: #fff;
}

.sm-reels-counter {
  font-size: 11px;
  color: #64748b;
  text-align: right;
  margin-top: 3px;
}

.sm-reels-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.sm-btn-reels-outline {
  background: rgba(239, 196, 110, 0.06);
  border: 1px solid rgba(239, 196, 110, 0.35);
  color: #efc46e;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sm-btn-reels-outline:hover {
  background: rgba(239, 196, 110, 0.14);
  border-color: #efc46e;
  transform: translateY(-1px);
}

.sm-btn-reels-gold {
  background: linear-gradient(135deg, #efc46e 0%, #dfb15b 100%);
  border: none;
  color: #060b13;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(239, 196, 110, 0.25);
  white-space: nowrap;
}

.sm-btn-reels-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 196, 110, 0.35);
}

.sm-btn-reels-gold:disabled,
.sm-btn-reels-outline:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ── Player de Vídeo Vertical 9:16 ── */
.sm-reels-player-box {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  margin: 0 auto;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-reels-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sm-reels-player-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.85) 100%);
}

.sm-reels-badge-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  align-self: flex-start;
}

.sm-reels-badge-brand span {
  color: #efc46e;
}

/* ── Controles Personalizados do Player ── */
.sm-reels-controls-bar {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.sm-reels-timeline-wrap {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.sm-reels-timeline-fill {
  height: 100%;
  background: #efc46e;
  border-radius: 4px;
  position: relative;
  transition: width 0.1s linear;
}

.sm-reels-timeline-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -3.5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.sm-reels-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sm-reels-ctrl-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: transform 0.15s ease;
}

.sm-reels-ctrl-btn:hover {
  transform: scale(1.15);
  color: #efc46e;
}

.sm-reels-time-text {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ── Ações Abaixo do Player ── */
.sm-reels-player-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.sm-reels-sub-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-reels-sub-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.sm-reels-sub-btn.primary-gold {
  background: linear-gradient(135deg, #efc46e 0%, #dfb15b 100%);
  border: none;
  color: #060b13;
}

.sm-reels-sub-btn.primary-gold:hover {
  filter: brightness(1.08);
}

.sm-reels-sub-btn.locked {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ── Pré-visualização & Metadados do Vídeo (Coluna Direita) ── */
.sm-reels-meta-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #060b13;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
}

.sm-reels-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

.sm-reels-meta-key {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sm-reels-meta-val {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.sm-reels-script-preview-box {
  background: #060b13;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sm-reels-script-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sm-reels-script-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sm-reels-script-btn-ver {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.sm-reels-script-btn-ver:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.sm-reels-script-text {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
  max-height: 140px;
  overflow-y: auto;
}

/* ── Seção Inferior: Rascunhos Recentes ── */
.sm-reels-drafts-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.sm-reels-drafts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sm-reels-drafts-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.sm-reels-drafts-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: 2px 0 0 0;
}

.sm-reels-drafts-link {
  font-size: 12px;
  color: #efc46e;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  cursor: pointer;
}

.sm-reels-drafts-link:hover {
  text-decoration: underline;
}

.sm-reels-drafts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.sm-reels-draft-card {
  background: #091220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.sm-reels-draft-card:hover {
  border-color: rgba(239, 196, 110, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.sm-reels-draft-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.sm-reels-draft-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sm-reels-draft-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease;
}

.sm-reels-draft-card:hover .sm-reels-draft-play-badge {
  background: rgba(0, 0, 0, 0.1);
}

.sm-reels-draft-play-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-reels-draft-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.sm-reels-draft-title-text {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.sm-reels-draft-menu-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
}

.sm-reels-draft-menu-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.sm-reels-draft-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
  margin-top: auto;
}

.sm-reels-draft-pill {
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  border-radius: 12px;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 10.5px;
}

.sm-reels-draft-pill.aprovado {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.sm-reels-draft-pill.agendado {
  background: rgba(239, 196, 110, 0.14);
  border-color: rgba(239, 196, 110, 0.3);
  color: #efc46e;
}

/* ── Modal de Edição de Roteiro em 4 Cenas ── */
.sm-reels-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sm-reels-modal-dialog {
  background: #091220;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8);
}

.sm-reels-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sm-reels-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-reels-modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sm-reels-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #060b13;
}

/* ── Overlay de Processamento com Indicadores ── */
.sm-reels-gen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 19, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  gap: 14px;
}

.sm-reels-spinner-ring {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(239, 196, 110, 0.15);
  border-top-color: #efc46e;
  border-radius: 50%;
  animation: smReelsSpin 0.9s linear infinite;
}

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

/* ══════════════════════════════════════════════════════════════════
   BIBLIOTECA DE LOGOTIPOS HISTÓRICOS & ATIVOS (MARCA)
   ══════════════════════════════════════════════════════════════════ */
.sm-marca-logos-container {
  margin-top: 24px;
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.sm-marca-logos-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sm-marca-logos-title-wrap {
  flex: 1;
  min-width: 260px;
}

.sm-marca-logos-title-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sm-marca-logos-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.sm-marca-logos-count-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 9px;
  border-radius: 12px;
  letter-spacing: 0.02em;
}

.sm-marca-logos-subtitle {
  margin: 5px 0 0 0;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.45;
}

.sm-marca-logos-actions-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-btn-header-novo-logo,
.sm-btn-header-upload-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sm-btn-header-novo-logo {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.sm-btn-header-novo-logo:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: #f59e0b;
  transform: translateY(-1px);
}

.sm-btn-header-upload-logo {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.sm-btn-header-upload-logo:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.sm-marca-logos-filter-bar {
  margin-top: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sm-marca-logos-filter-pills {
  display: flex;
  gap: 6px;
}

.sm-logos-filter-pill {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sm-logos-filter-pill:hover {
  background: #1f2937;
  color: #e2e8f0;
}

.sm-logos-filter-pill.is-active {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #fbbf24;
}

.sm-marca-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.sm-marca-logos-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 36px 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #94a3b8;
}

.sm-marca-logo-card {
  background: #0d1524;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.sm-marca-logo-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.sm-marca-logo-card.is-active {
  border: 1.5px solid #f59e0b;
  background: linear-gradient(180deg, #121c2e 0%, #0d1524 100%);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.18);
}

.sm-card-just-added {
  animation: smLogoCardPulse 1.2s ease-out;
}

@keyframes smLogoCardPulse {
  0% { transform: scale(0.96); box-shadow: 0 0 30px rgba(245, 158, 11, 0.6); }
  50% { transform: scale(1.02); box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); }
  100% { transform: scale(1); }
}

.sm-logo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sm-logo-source-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sm-logo-source-badge.sm-badge-ai,
.sm-logo-source-badge.sm-badge-ia {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.sm-logo-source-badge.sm-badge-upload {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.sm-logo-source-badge.sm-badge-default {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.sm-logo-badge-active {
  font-size: 11px;
  font-weight: 700;
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 8px;
  border-radius: 6px;
}

.sm-logo-preview-box {
  width: 100%;
  height: 120px;
  background: radial-gradient(circle at center, #1e293b 0%, #0a0f1d 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}

.sm-logo-preview-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s ease;
}

.sm-marca-logo-card:hover .sm-logo-preview-img {
  transform: scale(1.05);
}

.sm-logo-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sm-logo-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sm-logo-card-style {
  font-size: 11.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sm-logo-palette-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.sm-logo-palette-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sm-logo-palette-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.sm-logo-palette-dot:hover {
  transform: scale(1.3);
}

.sm-logo-card-date {
  font-size: 11px;
  color: #64748b;
}

.sm-logo-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sm-btn-logo-ativo,
.sm-btn-ativar-logo {
  flex: 1;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
}

.sm-btn-logo-ativo {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  cursor: default;
}

.sm-btn-ativar-logo {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sm-btn-ativar-logo:hover {
  background: #f59e0b;
  color: #0b1322;
  border-color: #f59e0b;
  transform: translateY(-1px);
}

.sm-btn-logo-action {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.sm-btn-logo-action:hover {
  background: #1f2937;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
}

.sm-btn-logo-action.sm-btn-danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

/* Social Icons on Library Card and Pop Animation */
.sm-ai-card-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sm-ai-card-social-icons .sm-icon-ig,
.sm-ai-card-social-icons .sm-icon-fb {
  animation: smIconPop 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}

.sm-ai-card-social-icons .sm-icon-ig:hover,
.sm-ai-card-social-icons .sm-icon-fb:hover {
  transform: scale(1.15);
}

@keyframes smIconPop {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
   4ADVS MARKETING — FLUXO INTELIGENTE DE ONBOARDING & IDENTIDADE DA MARCA
   (Design Oficial: 1. Primeiro Acesso | 2. Configuração Inicial | 3. Geração IA)
   ========================================================================== */

.sm-onb-flow-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 12px 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: smFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── Top Bar com 3 Passos Numerados (Cards de Referência) ── */
.sm-onb-steps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.sm-onb-header-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(145deg, #091527 0%, #060e1b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.sm-onb-header-card:hover {
  border-color: rgba(234, 179, 8, 0.3);
  transform: translateY(-2px);
  background: linear-gradient(145deg, #0e1c31 0%, #081324 100%);
}

.sm-onb-header-card.active {
  border-color: #eab308;
  background: linear-gradient(145deg, #13243d 0%, #0a172a 100%);
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.15), inset 0 0 0 1px rgba(234, 179, 8, 0.25);
}

.sm-onb-header-card.completed {
  border-color: rgba(16, 185, 129, 0.4);
}

.sm-onb-header-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #1e293b;
  color: #94a3b8;
  font-size: 16px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.sm-onb-header-card.active .sm-onb-header-num {
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.4);
}

.sm-onb-header-card.completed .sm-onb-header-num {
  background: #10b981;
  color: #ffffff;
}

.sm-onb-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sm-onb-header-text h4 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sm-onb-header-card.active .sm-onb-header-text h4 {
  color: #fde047;
}

.sm-onb-header-text p {
  margin: 0;
  font-size: 11.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sm-onb-header-arrow {
  color: #eab308;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.8;
}

/* ── Stepper Pequeno Compacto (Identidade da Marca) ── */
.sm-onb-steps-header-small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
}

.sm-onb-steps-header-small .sm-onb-header-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(145deg, #091527 0%, #060e1b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 16px;
  height: 48px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.sm-onb-steps-header-small .sm-onb-header-card:hover {
  border-color: rgba(234, 179, 8, 0.35);
  background: linear-gradient(145deg, #0e1c31 0%, #081324 100%);
}

.sm-onb-steps-header-small .sm-onb-header-card.active {
  border-color: #eab308;
  background: linear-gradient(145deg, #13243d 0%, #0a172a 100%);
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.15), inset 0 0 0 1px rgba(234, 179, 8, 0.25);
}

.sm-onb-steps-header-small .sm-onb-header-card.completed {
  border-color: rgba(16, 185, 129, 0.45);
}

.sm-onb-steps-header-small .sm-onb-header-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #1e293b;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.sm-onb-steps-header-small .sm-onb-header-card.active .sm-onb-header-num {
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.4);
}

.sm-onb-steps-header-small .sm-onb-header-card.completed .sm-onb-header-num {
  background: #10b981;
  color: #ffffff;
}

.sm-onb-steps-header-small .sm-onb-header-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sm-onb-steps-header-small .sm-onb-header-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
  line-height: 1.2;
}

.sm-onb-steps-header-small .sm-onb-header-card.active .sm-onb-header-text h4 {
  color: #fde047;
}

.sm-onb-steps-header-small .sm-onb-header-text p {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.2;
}

.sm-onb-steps-header-small .sm-onb-header-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(234, 179, 8, 0.7);
  flex-shrink: 0;
}

.sm-onb-steps-header-small .sm-onb-header-arrow i,
.sm-onb-steps-header-small .sm-onb-header-arrow svg {
  width: 16px !important;
  height: 16px !important;
}

/* ── Card Principal do Onboarding (SaaS Premium Dark) ── */
.sm-onb-card {
  background: radial-gradient(circle at 85% 15%, rgba(234, 179, 8, 0.04) 0%, transparent 45%),
              linear-gradient(155deg, #091629 0%, #050e1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 34px 38px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* ── ETAPA 1: PRIMEIRO ACESSO ── */
.sm-onb-step1-grid {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 36px;
  align-items: stretch;
}

/* Mock Sidebar Lateral Esquerda */
.sm-onb-mock-sidebar {
  background: rgba(11, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  user-select: none;
  backdrop-filter: blur(10px);
}

.sm-onb-mock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s ease;
}

.sm-onb-mock-item i {
  width: 15px;
  height: 15px;
}

.sm-onb-mock-item.active {
  background: rgba(234, 179, 8, 0.12);
  color: #eab308;
  font-weight: 700;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

/* Conteúdo Principal do Passo 1 */
.sm-onb-step1-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sm-onb-tag-novo {
  align-self: flex-start;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fde047;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.sm-onb-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.sm-onb-subtitle {
  font-size: 14.5px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
  max-width: 640px;
}

/* Mockup de Dispositivos (Monitor + Smartphone) */
.sm-onb-devices-stage {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin: 12px 0 16px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Monitor Mockup */
.sm-onb-monitor-mock {
  width: 86%;
  background: #0b1523;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px 16px 6px 6px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.sm-onb-monitor-bar {
  height: 26px;
  background: #08111d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.sm-onb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.sm-onb-dot.red { background: #ef4444; }
.sm-onb-dot.yellow { background: #f59e0b; }
.sm-onb-dot.green { background: #10b981; }

.sm-onb-monitor-logo {
  margin-left: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #eab308;
}

.sm-onb-monitor-screen {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-onb-screen-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.1);
}

.sm-onb-screen-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sm-onb-screen-headline {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.sm-onb-screen-sub {
  margin: 0 0 10px 0;
  font-size: 12px;
  color: #cbd5e1;
}

.sm-onb-screen-btn {
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  color: #0f172a;
  border: none;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
}

/* Smartphone Mockup Sobreposto */
.sm-onb-phone-mock {
  position: absolute;
  right: 18px;
  bottom: -10px;
  width: 150px;
  height: 230px;
  background: #050b14;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.sm-onb-phone-notch {
  width: 44px;
  height: 6px;
  background: #02060d;
  border-radius: 0 0 6px 6px;
  margin: 0 auto;
}

.sm-onb-phone-screen {
  flex: 1;
  background: #0a1422;
  padding: 8px;
  display: flex;
  flex-direction: column;
}

.sm-onb-phone-post {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}

.sm-onb-phone-author {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sm-onb-phone-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #eab308;
  color: #0f172a;
  font-size: 8px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.sm-onb-phone-author span {
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
}

.sm-onb-phone-img-wrap {
  position: relative;
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.sm-onb-phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.sm-onb-phone-card-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
  gap: 4px;
}

.sm-onb-phone-card-text h4 {
  margin: 0;
  font-size: 9.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.sm-onb-phone-btn {
  background: #eab308;
  color: #0f172a;
  border: none;
  border-radius: 10px;
  padding: 3px 6px;
  font-size: 8px;
  font-weight: 800;
  align-self: flex-start;
}

/* Botão Principal Dourado Grande */
.sm-onb-btn-primary {
  width: 100%;
  max-width: 660px;
  background: linear-gradient(135deg, #fde047 0%, #eab308 50%, #ca8a04 100%);
  color: #0f172a;
  border: none;
  border-radius: 16px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sm-onb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(234, 179, 8, 0.55);
  background: linear-gradient(135deg, #fef08a 0%, #facc15 50%, #eab308 100%);
}

.sm-onb-btn-primary:active {
  transform: translateY(0);
}

/* 4 Pilares Inferiores */
.sm-onb-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
  max-width: 660px;
}

.sm-onb-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.sm-onb-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  color: #fde047;
  transition: all 0.2s ease;
}

.sm-onb-pillar:hover .sm-onb-pillar-icon {
  background: rgba(234, 179, 8, 0.15);
  border-color: #eab308;
  transform: scale(1.08);
}

.sm-onb-pillar-icon i,
.sm-onb-pillar-icon svg {
  width: 20px;
  height: 20px;
}

.sm-onb-pillar span {
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.35;
}

/* ── ETAPA 2: CONFIGURAÇÃO INICIAL (MARCA / REDES / PREFERÊNCIAS) ── */
.sm-onb-step2-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.sm-onb-step2-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
}

.sm-onb-step2-sub {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
}

/* Sub-stepper Horizontal */
.sm-onb-substepper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  max-width: 440px;
}

.sm-onb-substep-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.sm-onb-substep-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1e293b;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.sm-onb-substep-item.active .sm-onb-substep-circle {
  background: #eab308;
  color: #0f172a;
  border-color: #fde047;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.5);
}

.sm-onb-substep-item.completed .sm-onb-substep-circle {
  background: #10b981;
  color: #ffffff;
}

.sm-onb-substep-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.sm-onb-substep-item.active .sm-onb-substep-label {
  color: #fde047;
  font-weight: 700;
}

.sm-onb-substep-line {
  flex: 1;
  height: 2px;
  background: #1e293b;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.sm-onb-substep-line.filled {
  background: #eab308;
}

/* Sub-etapa: Marca */
.sm-onb-brand-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sm-onb-field-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

/* Box do Logotipo */
.sm-onb-logo-box {
  background: #071220;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sm-onb-logo-preview {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sm-onb-logo-img {
  max-height: 48px;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.sm-onb-logo-desc strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
}

.sm-onb-logo-desc small {
  font-size: 11.5px;
  color: #94a3b8;
}

.sm-onb-btn-change-logo {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-onb-btn-change-logo:hover {
  background: rgba(234, 179, 8, 0.15);
  border-color: #eab308;
  color: #fde047;
}

/* Linha Cores e Fontes */
.sm-onb-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Swatches de Cores */
.sm-onb-colors-list {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sm-onb-color-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.sm-onb-color-circle:hover {
  transform: scale(1.15);
}

.sm-onb-color-circle.selected {
  border-color: #eab308;
  box-shadow: 0 0 14px rgba(234, 179, 8, 0.6);
  transform: scale(1.15);
}

/* Fontes */
.sm-onb-fonts-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sm-onb-font-box {
  flex: 1;
  background: #081324;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.sm-onb-font-box:hover {
  border-color: #eab308;
}

.sm-onb-font-badge {
  font-size: 20px;
  font-weight: 800;
  color: #eab308;
}

.sm-onb-font-info strong {
  display: block;
  font-size: 12.5px;
  color: #ffffff;
}

.sm-onb-font-info small {
  font-size: 11px;
  color: #94a3b8;
}

/* Biblioteca da Marca (Chips + Grid) */
.sm-onb-photo-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.sm-onb-photo-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-onb-photo-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.sm-onb-photo-chip.active {
  background: #eab308;
  color: #0f172a;
  border-color: #fde047;
  font-weight: 700;
}

.sm-onb-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sm-onb-photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #081424;
}

.sm-onb-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.sm-onb-photo-item:hover img {
  transform: scale(1.06);
}

.sm-onb-photo-del {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.85);
  color: #ffffff;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sm-onb-photo-item:hover .sm-onb-photo-del {
  opacity: 1;
}

.sm-onb-photo-add {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 2px dashed rgba(234, 179, 8, 0.35);
  background: rgba(234, 179, 8, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  padding: 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.sm-onb-photo-add:hover {
  background: rgba(234, 179, 8, 0.08);
  border-color: #eab308;
}

.sm-onb-photo-add-icon {
  font-size: 20px;
  color: #eab308;
}

.sm-onb-photo-add-text {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  line-height: 1.3;
}

/* ── Sub-etapa: Redes ── */
.sm-onb-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.sm-onb-channel-card {
  background: #081424;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-onb-channel-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: #0c1a2e;
}

.sm-onb-channel-card.active {
  border-color: rgba(234, 179, 8, 0.4);
  background: rgba(234, 179, 8, 0.04);
}

.sm-onb-channel-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sm-onb-channel-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sm-onb-channel-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.sm-onb-channel-desc {
  font-size: 11.5px;
  color: #94a3b8;
}

/* ── Sub-etapa: Preferências ── */
.sm-onb-pref-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sm-onb-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sm-onb-pill-opt {
  background: #081324;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.sm-onb-pill-opt:hover {
  border-color: rgba(234, 179, 8, 0.4);
  color: #ffffff;
}

.sm-onb-pill-opt.active {
  background: linear-gradient(135deg, rgba(253, 224, 71, 0.15) 0%, rgba(234, 179, 8, 0.22) 100%);
  border-color: #eab308;
  color: #fde047;
  font-weight: 700;
}

/* Rodapé de Botões (Voltar / Continuar) */
.sm-onb-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sm-onb-btn-back {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-onb-btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.sm-onb-btn-next {
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  color: #0f172a;
  border: none;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(234, 179, 8, 0.35);
  transition: all 0.2s ease;
}

.sm-onb-btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.5);
}

/* ── ETAPA 3/4: GERAÇÃO DO CALENDÁRIO COM IA (LAYOUT HORIZONTAL) ── */
.sm-onb-step3-horizontal-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 12px;
}

.sm-onb-step3-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.sm-onb-step3-right-col {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 10px;
}

.sm-onb-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  width: 100%;
  margin: 4px 0 8px;
}

.sm-onb-step3-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  gap: 20px;
}

/* Chip Holográfico de IA com Conexões às Redes */
.sm-onb-chip-stage {
  position: relative;
  width: 100%;
  height: 180px;
  margin: 6px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Chip Central */
.sm-onb-ai-chip {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  background: linear-gradient(135deg, #091728 0%, #030812 100%);
  border: 2px solid #eab308;
  box-shadow: 0 0 35px rgba(234, 179, 8, 0.4), inset 0 0 15px rgba(234, 179, 8, 0.2);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 5;
  animation: smChipPulse 2.8s infinite ease-in-out;
}

@keyframes smChipPulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.35), inset 0 0 12px rgba(234, 179, 8, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 50px rgba(234, 179, 8, 0.65), inset 0 0 22px rgba(234, 179, 8, 0.4);
    transform: scale(1.04);
  }
}

/* Linhas e Conexões */
.sm-onb-chip-circuit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Ícones de Redes Orbitando */
.sm-onb-orbit-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  z-index: 4;
}

.sm-onb-orbit-icon.ig {
  top: 18px;
  left: 22%;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
}

.sm-onb-orbit-icon.fb {
  top: 18px;
  right: 22%;
  background: #1877f2;
  color: #fff;
}

.sm-onb-orbit-icon.yt {
  bottom: 22px;
  left: 26%;
  background: #ff0000;
  color: #fff;
}

.sm-onb-orbit-icon.tk {
  bottom: 22px;
  right: 26%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #00f2fe;
}

/* Mini Cards de Post Flutuantes */
.sm-onb-float-card {
  position: absolute;
  background: #0b192c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.sm-onb-float-card.left {
  left: 4%;
  top: 38%;
}

.sm-onb-float-card.right {
  right: 4%;
  top: 38%;
}

.sm-onb-float-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #fde047;
}

/* Textos da Geração */
.sm-onb-step3-title {
  margin: 0;
  font-size: 26px;
  font-weight: 850;
  color: #ffffff;
}

.sm-onb-step3-desc {
  margin: 0;
  font-size: 14.5px;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 580px;
}

/* Barra de Progresso Dourada */
.sm-onb-progress-wrap {
  width: 100%;
  max-width: 580px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
}

.sm-onb-progress-track {
  flex: 1;
  height: 9px;
  border-radius: 20px;
  background: #0a1728;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.sm-onb-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #fde047 0%, #eab308 100%);
  border-radius: 20px;
  transition: width 0.4s ease;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.5);
}

.sm-onb-progress-pct {
  font-size: 15px;
  font-weight: 800;
  color: #fde047;
  min-width: 44px;
  text-align: right;
}

/* Checklist de Etapas Reais */
.sm-onb-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 460px;
  text-align: left;
  margin: 6px 0 12px;
}

.sm-onb-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: #64748b;
  font-weight: 500;
  transition: color 0.25s ease;
}

.sm-onb-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #334155;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.sm-onb-check-item.done {
  color: #f8fafc;
  font-weight: 600;
}

.sm-onb-check-item.done .sm-onb-check-icon {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.sm-onb-check-item.running {
  color: #fde047;
  font-weight: 600;
}

.sm-onb-check-item.running .sm-onb-check-icon {
  border-color: #eab308;
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}

/* Card Dica da IA */
.sm-onb-tip-card {
  width: 100%;
  max-width: 580px;
  background: #081324;
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}

.sm-onb-tip-icon {
  color: #eab308;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.sm-onb-tip-text strong {
  display: block;
  font-size: 13px;
  color: #fde047;
  margin-bottom: 2px;
}

.sm-onb-tip-text p {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}

/* Botões ao Concluir */
.sm-onb-success-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Responsividade ── */
@media (max-width: 900px) {
  .sm-onb-steps-header {
    flex-direction: column;
    gap: 8px;
  }
  .sm-onb-header-arrow {
    display: none;
  }
  .sm-onb-step1-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sm-onb-mock-sidebar {
    display: none;
  }
  .sm-onb-row-2col,
  .sm-onb-channels-grid {
    grid-template-columns: 1fr;
  }
  .sm-onb-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sm-onb-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sm-onb-card {
    padding: 20px 16px;
  }
  .sm-onb-phone-mock {
    display: none;
  }
  .sm-onb-monitor-mock {
    width: 100%;
  }
}





/* Sub-tabs no Gestor da Marca (Sem scroll) */
.sm-marca-subtabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
}

.sm-marca-subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sm-marca-subtab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.sm-marca-subtab-btn.active {
  color: #0f172a;
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  font-weight: 750;
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.35);
}

.sm-marca-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.sm-marca-subtab-btn.active .sm-marca-tab-badge {
  background: rgba(15, 23, 42, 0.25);
  color: #0f172a;
}


/* ==========================================================================
   GESTOR COMPLETO DA MARCA — DESIGN OFICIAL (EXATAMENTE COMO NA IMAGEM)
   ========================================================================== */

.sm-marca-page-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: 0px;
}

/* 1. Header do Gestor */
.sm-marca-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 0 4px 0;
}

.sm-marca-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sm-marca-header-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #efc46e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sm-marca-header-titles h2 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.sm-marca-header-titles p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.sm-marca-btn-preview-posts {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 9px;
  background: #0d1626;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-marca-btn-preview-posts:hover {
  background: #132038;
  border-color: rgba(234, 179, 8, 0.4);
  color: #ffffff;
}

/* 2. Sub-navegação / Abas internas */
.sm-marca-subnav-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 4px 0 4px;
  overflow-x: auto;
}

.sm-marca-subnav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 12px 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: #94a3b8;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.sm-marca-subnav-btn:hover {
  color: #e2e8f0;
}

.sm-marca-subnav-btn.active {
  color: #efc46e;
  font-weight: 750;
}

.sm-marca-subnav-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #efc46e;
  border-radius: 2px;
}

/* 3. Grid Principal (Logo + Cores + Tipografia) */
.sm-marca-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

@media (max-width: 1080px) {
  .sm-marca-top-grid {
    grid-template-columns: 1fr;
  }
}

.sm-marca-panel-card {
  background: #08111e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.sm-marca-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sm-marca-card-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-marca-card-title-group h3 {
  font-size: 15px;
  font-weight: 750;
  color: #ffffff;
  margin: 0;
}

.sm-marca-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 11px;
  font-weight: 700;
}

.sm-marca-btn-edit-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-marca-btn-edit-badge:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

/* Card Logo Split (Preview + Form) */
.sm-marca-logo-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 16px;
  flex: 1;
}

@media (max-width: 768px) {
  .sm-marca-logo-split-layout {
    grid-template-columns: 1fr;
  }
}

.sm-marca-logo-display-box {
  background: #050a12;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 155px;
  padding: 16px;
  overflow: hidden;
}

.sm-marca-logo-trash-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  transition: color 0.2s ease;
  z-index: 5;
}

.sm-marca-logo-trash-btn:hover {
  color: #ef4444;
}

.sm-marca-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.sm-marca-form-label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 5px;
}

.sm-marca-input-text {
  background: #0b1322;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease;
}

.sm-marca-input-text:focus {
  border-color: #efc46e;
}

.sm-marca-input-counter {
  font-size: 10.5px;
  color: #64748b;
  text-align: right;
  margin-top: 3px;
}

.sm-marca-logo-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.sm-marca-btn-change-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #efc46e;
  color: #efc46e;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-marca-btn-change-logo:hover {
  background: rgba(239, 196, 110, 0.1);
}

.sm-marca-btn-gen-ai-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #0d1728;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-marca-btn-gen-ai-logo:hover {
  background: #14223a;
  color: #ffffff;
}

/* Coluna Direita (Cores e Tipografia) */
.sm-marca-right-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Paleta de Cores Swatches */
.sm-marca-swatches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.sm-marca-swatch-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-marca-swatch-color-box {
  width: 100%;
  height: 54px;
  border-radius: 8px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.sm-marca-swatch-color-box:hover {
  transform: translateY(-2px);
}

.sm-marca-swatch-lock-icon {
  position: absolute;
  bottom: 5px;
  right: 6px;
  font-size: 11px;
  opacity: 0.85;
}

.sm-marca-swatch-hex-code {
  font-size: 11px;
  font-weight: 750;
  color: #ffffff;
  margin-top: 2px;
}

.sm-marca-swatch-role-label {
  font-size: 10.5px;
  color: #64748b;
}

/* Tipografia */
.sm-marca-fonts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sm-marca-font-unit {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-marca-font-select-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0b1322;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s ease;
}

.sm-marca-font-select-box:hover {
  border-color: rgba(234, 179, 8, 0.4);
}

.sm-marca-font-preview-aa {
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 700;
  margin-left: auto;
  margin-right: 6px;
}

.sm-marca-font-helper-text {
  font-size: 10.5px;
  color: #64748b;
}

/* 4. Estilo da Marca */
.sm-marca-styles-section {
  background: #08111e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sm-marca-styles-head-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.sm-marca-styles-head-row h3 {
  font-size: 15px;
  font-weight: 750;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-marca-styles-desc {
  font-size: 12px;
  color: #94a3b8;
}

.sm-marca-styles-carousel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .sm-marca-styles-carousel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sm-marca-style-card-item {
  height: 90px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
  transition: all 0.2s ease;
}

.sm-marca-style-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 179, 8, 0.4);
}

.sm-marca-style-card-item.active {
  border-color: #eab308;
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.3);
}

.sm-marca-style-active-check {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eab308;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

.sm-marca-style-pill-badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 16, 26, 0.88);
  backdrop-filter: blur(6px);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sm-marca-style-upload-box {
  height: 90px;
  border-radius: 10px;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sm-marca-style-upload-box:hover {
  border-color: #eab308;
  background: rgba(234, 179, 8, 0.05);
}

.sm-marca-style-upload-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 15px;
}

.sm-marca-style-upload-text {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}

/* 5. Biblioteca de Fotografias */
.sm-marca-photos-section {
  background: #08111e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sm-marca-photos-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.sm-marca-photos-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sm-marca-photos-head-left h3 {
  font-size: 15px;
  font-weight: 750;
  color: #ffffff;
  margin: 0;
}

.sm-marca-photos-head-left p {
  font-size: 12px;
  color: #94a3b8;
  margin: 2px 0 0 0;
  line-height: 1.3;
}

.sm-marca-photos-head-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sm-marca-btn-upload-gold {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  border: none;
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.35);
  white-space: nowrap;
}

.sm-marca-btn-upload-gold:hover {
  background: #fde047;
  transform: translateY(-1px);
}

.sm-marca-chips-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sm-marca-filter-chip {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  color: #cbd5e1;
  background: #091322;
  border: 1px solid rgba(234, 179, 8, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sm-marca-filter-chip:hover {
  color: #fde047;
  background: #112038;
  border-color: rgba(234, 179, 8, 0.6);
}

.sm-marca-filter-chip.active {
  color: #0b1322;
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  font-weight: 750;
  border-color: #fde047;
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.35);
}

.sm-marca-search-sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sm-marca-search-field-wrap {
  position: relative;
  width: auto;
}

.sm-marca-search-input-clean {
  background: #091322;
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  color: #f1f5f9;
  outline: none;
  width: 155px;
  transition: all 0.2s ease;
}

.sm-marca-search-input-clean:focus {
  border-color: #eab308;
  background: #0e1c31;
  box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.15);
  width: 185px;
}

.sm-marca-search-input-clean::placeholder {
  color: #64748b;
}

.sm-marca-sort-dropdown {
  background: #0b1322;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 12px;
  color: #cbd5e1;
  outline: none;
  cursor: pointer;
}

/* Grid de Fotos com Imagens Maiores */
.sm-marca-photo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

@media (max-width: 1400px) {
  .sm-marca-photo-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .sm-marca-photo-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

.sm-marca-quick-tag-btn {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 6px;
  color: #fde047;
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sm-marca-quick-tag-btn:hover {
  background: rgba(234, 179, 8, 0.25);
  border-color: #fde047;
}

.sm-marca-photo-card {
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sm-marca-photo-card:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(234, 179, 8, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.sm-marca-photo-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
  pointer-events: none;
}

.sm-marca-photo-dots-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 3;
}

.sm-marca-photo-dots-btn:hover {
  background: #eab308;
  color: #0f172a;
  border-color: #eab308;
}

.sm-marca-photo-footer {
  position: relative;
  z-index: 2;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(8, 17, 30, 0.88);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sm-marca-photo-footer:hover {
  background: rgba(13, 26, 46, 0.98);
  border-top-color: rgba(234, 179, 8, 0.4);
}

.sm-marca-photo-name {
  font-size: 12px;
  font-weight: 650;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sm-marca-photo-edit-btn {
  background: none;
  border: none;
  color: #efc46e;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.sm-marca-photo-edit-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* ── Menu Flutuante dos 3 Pontinhos da Foto ── */
.sm-photo-dropdown-menu {
  position: fixed;
  background: #091322;
  border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: 10px;
  padding: 6px;
  min-width: 175px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75), 0 0 18px rgba(234, 179, 8, 0.15);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: smFadeIn 0.15s ease-out;
}

.sm-photo-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 7px;
  background: transparent;
  border: none;
  color: #f1f5f9;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.15s ease;
}

.sm-photo-menu-item:hover {
  background: rgba(234, 179, 8, 0.15);
  color: #fde047;
}

.sm-photo-menu-item.danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}


/* ── Apresentação do Marketing (passo 1) ─────────────────────────────────── */
.smh {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 12px 8px;
}
.smh-texto { min-width: 0; }
.smh-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(217, 179, 59, 0.12); border: 1px solid rgba(217, 179, 59, 0.35);
  color: #e6c75c; font-size: 12px; font-weight: 700; letter-spacing: .3px;
}
.smh-tag i, .smh-tag svg { width: 14px; height: 14px; }
.smh-titulo {
  font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; font-weight: 800;
  color: var(--gray-900, #f3f4f6); margin: 16px 0 14px; letter-spacing: -0.5px;
}
.smh-titulo span {
  background: linear-gradient(90deg, #f5d76e, #d9b33b, #f5d76e);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: smh-reflexo 5s linear infinite;
}
.smh-sub { font-size: 15px; line-height: 1.6; color: var(--gray-500, #9ca3af); margin: 0 0 22px; max-width: 560px; }
.smh-passos { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; max-width: 520px; }
.smh-passos li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0; transform: translateY(8px);
  animation: smh-entrar .6s ease forwards; animation-delay: var(--d, 0s);
}
.smh-passos strong { display: block; font-size: 14px; color: var(--gray-900, #f3f4f6); }
.smh-passos small { display: block; font-size: 12.5px; color: var(--gray-500, #9ca3af); margin-top: 2px; }
.smh-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(217, 179, 59, 0.14); color: #e6c75c;
}
.smh-num i, .smh-num svg { width: 18px; height: 18px; }
.smh-cta { width: auto !important; padding-left: 28px !important; padding-right: 28px !important; }
.smh-nota { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-500, #9ca3af); margin: 14px 0 0; }
.smh-nota i, .smh-nota svg { width: 14px; height: 14px; color: #34d399; flex-shrink: 0; }

/* Palco animado */
.smh-palco { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; }
.smh-brilho {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 179, 59, 0.22), transparent 65%);
  animation: smh-pulsar 4s ease-in-out infinite;
}
.smh-orbita { position: absolute; border-radius: 50%; border: 1px dashed rgba(217, 179, 59, 0.22); }
.smh-orbita-1 { width: 360px; height: 360px; animation: smh-girar 40s linear infinite; }
.smh-orbita-2 { width: 440px; height: 440px; border-color: rgba(56, 189, 248, 0.15); animation: smh-girar 60s linear infinite reverse; }
.smh-celular {
  position: relative; z-index: 2; width: 230px; height: 420px; border-radius: 34px;
  background: #0b1326; border: 6px solid #1e2d4d;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(217, 179, 59, 0.25);
  overflow: hidden; padding: 26px 12px 12px;
  animation: smh-flutuar 6s ease-in-out infinite;
}
.smh-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 70px; height: 12px; border-radius: 8px; background: #1e2d4d; }
.smh-perfil { display: flex; align-items: center; gap: 8px; padding: 4px 4px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.smh-perfil b { display: block; font-size: 12px; color: #f3f4f6; }
.smh-perfil small { font-size: 10px; color: #9ca3af; }
.smh-avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #0b1326; background: linear-gradient(135deg, #f5d76e, #d9b33b);
}
.smh-feed { height: 330px; overflow: hidden; margin-top: 10px; }
.smh-trilho { display: grid; gap: 12px; animation: smh-rolar 12s cubic-bezier(.65, 0, .35, 1) infinite; }
.smh-post { border-radius: 14px; background: #10192e; border: 1px solid rgba(255, 255, 255, 0.06); padding: 8px; height: 214px; box-sizing: border-box; }
.smh-post-img {
  height: 130px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #1e2d4d, #0b1326 70%), #16223b; color: #e6c75c;
  border: 1px solid rgba(217, 179, 59, 0.2);
}
.smh-post-img i, .smh-post-img svg { width: 34px; height: 34px; }
.smh-post-img span { font-size: 11px; font-weight: 700; letter-spacing: .3px; color: #f3f4f6; }
.smh-post p { font-size: 11px; line-height: 1.35; color: #cbd5e1; margin: 8px 2px 6px; }
.smh-post-acoes { display: flex; gap: 10px; color: #9ca3af; padding: 0 2px; }
.smh-post-acoes i, .smh-post-acoes svg { width: 14px; height: 14px; }
.smh-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 12px; font-size: 12px; font-weight: 700; white-space: nowrap;
  background: rgba(16, 25, 46, 0.92); color: #f3f4f6; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px);
  animation: smh-flutuar 5s ease-in-out infinite;
}
.smh-chip i, .smh-chip svg { width: 15px; height: 15px; }
.smh-chip-1 { top: 60px; left: 2%; animation-delay: -1s; } .smh-chip-1 i, .smh-chip-1 svg { color: #e6c75c; }
.smh-chip-2 { top: 50%; right: 0; animation-delay: -2.5s; } .smh-chip-2 i, .smh-chip-2 svg { color: #34d399; }
.smh-chip-3 { bottom: 50px; left: 6%; animation-delay: -4s; } .smh-chip-3 i, .smh-chip-3 svg { color: #38bdf8; }

@keyframes smh-entrar { to { opacity: 1; transform: none; } }
@keyframes smh-reflexo { to { background-position: -200% 0; } }
@keyframes smh-pulsar { 0%, 100% { transform: scale(.92); opacity: .7; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes smh-girar { to { transform: rotate(360deg); } }
@keyframes smh-flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
/* 3 posts de 214px + 12px de espaço; o 4º repete o 1º para o laço não dar salto */
@keyframes smh-rolar {
  0%, 22% { transform: translateY(0); }
  33%, 55% { transform: translateY(-226px); }
  66%, 88% { transform: translateY(-452px); }
  100% { transform: translateY(-678px); }
}

.light-theme .smh-passos li { background: #f8fafc; border-color: #e2e8f0; }
.light-theme .smh-chip { background: rgba(255, 255, 255, 0.95); color: #0f172a; border-color: #e2e8f0; }

@media (max-width: 1100px) {
  .smh { grid-template-columns: 1fr; }
  .smh-palco { height: 440px; }
}
@media (max-width: 520px) {
  .smh-palco { transform: scale(.85); height: 400px; margin: -20px 0; }
  .smh-orbita-2 { display: none; }
  .smh-chip-2 { right: -4%; }
}
@media (prefers-reduced-motion: reduce) {
  .smh *, .smh *::before, .smh *::after { animation: none !important; }
  .smh-passos li { opacity: 1; transform: none; }
}

/* ── Menu de fontes (Tipografia) ─────────────────────────────────────────── */
.sm-fonte-menu {
  position: fixed; z-index: 10050; overflow-y: auto; padding: 6px;
  background: #10192e; border: 1px solid rgba(217, 179, 59, 0.35); border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8);
  animation: sm-fonte-abrir .14s ease-out;
}
.sm-fonte-opcao {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border: 0; border-radius: 8px; background: transparent;
  color: #e5e7eb; font-size: 14px; text-align: left; cursor: pointer;
}
.sm-fonte-opcao:hover, .sm-fonte-opcao:focus-visible { background: rgba(255, 255, 255, 0.06); outline: none; }
.sm-fonte-opcao.ativa { background: rgba(217, 179, 59, 0.14); color: #f5d76e; }
.sm-fonte-aa { font-size: 15px; color: #9ca3af; }
.sm-fonte-opcao.ativa .sm-fonte-aa { color: #f5d76e; }
.light-theme .sm-fonte-menu { background: #ffffff; border-color: #e2e8f0; }
.light-theme .sm-fonte-opcao { color: #0f172a; }
.light-theme .sm-fonte-opcao:hover { background: #f1f5f9; }
@keyframes sm-fonte-abrir { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ── Paleta e fontes da marca (somente exibição) ─────────────────────────── */
.sm-marca-cores-linha { display: flex; flex-wrap: wrap; gap: 12px; }
.sm-marca-cor-bola {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.sm-marca-fontes-linha { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.sm-marca-fonte-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 10px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.09);
}
.sm-marca-fonte-aa { font-size: 26px; line-height: 1; color: var(--gray-900, #f3f4f6); }
.sm-marca-fonte-nome { font-size: 12px; color: var(--gray-500, #9ca3af); text-align: center; }
.light-theme .sm-marca-fonte-tile { background: #f8fafc; border-color: #e2e8f0; }
.light-theme .sm-marca-cor-bola { border-color: #e2e8f0; }

/* ── Identidade: logo com mais espaço; cores e fontes compactas ──────────── */
.sm-marca-top-grid { grid-template-columns: minmax(0, 1fr) 240px; }
.sm-marca-logo-split-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.sm-marca-logo-display-box { min-height: 300px; }
.sm-marca-right-stack { gap: 12px; }
.sm-marca-right-stack .sm-marca-panel-card { padding: 12px 14px !important; }
.sm-marca-right-stack .sm-marca-card-head { margin-bottom: 8px !important; }
.sm-marca-right-stack .sm-marca-card-head h3 { font-size: 13px; }
.sm-marca-cores-linha { gap: 8px; }
.sm-marca-cor-bola { width: 30px; height: 30px; }
.sm-marca-fontes-linha { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sm-marca-fonte-tile { padding: 10px 6px; gap: 4px; }
.sm-marca-fonte-aa { font-size: 20px; }
.sm-marca-fonte-nome { font-size: 11px; line-height: 1.2; }

@media (max-width: 1080px) {
  .sm-marca-top-grid { grid-template-columns: 1fr; }
  /* em tela menor, cores e fontes ficam lado a lado embaixo do logo */
  .sm-marca-right-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .sm-marca-logo-split-layout { grid-template-columns: 1fr; }
  .sm-marca-logo-display-box { min-height: 240px; }
}
@media (max-width: 520px) {
  .sm-marca-right-stack { grid-template-columns: 1fr; }
}

/* ── Questionário (Editar Assunto / Cronograma): mais largo e botões sempre visíveis ── */
.sm-onb-card:has(.sm-wiz-layout) { max-width: none !important; width: 100%; overflow: clip; }
.sm-onb-card .sm-wiz-layout { max-width: 1500px; grid-template-columns: minmax(0, 1fr) 320px; margin-bottom: 0; }
.sm-onb-card .sm-wiz-left { max-width: none; }
.sm-onb-card #sm-wiz-nav-wrap {
  position: sticky; bottom: 0; z-index: 5;
  margin: 0 -4px; padding: 0 4px;
  background: linear-gradient(to top, #050e1c 72%, rgba(5, 14, 28, 0));
}
.sm-onb-card #sm-wiz-nav-wrap .sm-wiz-nav { margin-top: 12px; padding: 14px 0 16px; }
@media (max-width: 1080px) {
  .sm-onb-card .sm-wiz-layout { grid-template-columns: 1fr; }
}

/* Filtros de status do calendário encostados à direita */
.sm-cal-header-bar .sm-cal-filters-group { margin-left: auto; justify-content: flex-end; }

/* ── Pré-visualização em Carrossel ───────────────────────────────────────── */
.sm-car-wrap { position: relative; }
.sm-car-trilho {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sm-car-trilho::-webkit-scrollbar { display: none; }
.sm-car-slide {
  position: relative; flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: start;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px; box-sizing: border-box; overflow: hidden;
}
.sm-car-texto, .sm-car-final {
  background: radial-gradient(circle at 85% 10%, rgba(217, 179, 59, 0.18), transparent 55%), linear-gradient(160deg, #0f1a30 0%, #070d1a 100%);
  justify-content: center; gap: 14px;
}
.sm-car-texto .sm-ai-art-footer-logo, .sm-car-final .sm-ai-art-footer-logo { position: absolute; left: 20px; bottom: 16px; }
.sm-car-num { font-family: Manrope, Inter, sans-serif; font-size: 34px; font-weight: 800; color: #d9b33b; line-height: 1; }
.sm-car-texto p { margin: 0; color: #f3f4f6; font-size: 15.5px; line-height: 1.55; font-weight: 600; padding-bottom: 36px; }
.sm-car-final { align-items: center; text-align: center; }
.sm-car-final h3 { margin: 0; color: #fff; font-size: 20px; }
.sm-car-final p { margin: 0; color: #cbd5e1; font-size: 13.5px; }
.sm-car-aviso { color: #94a3b8; font-size: 11px; margin-bottom: 36px; }
.sm-car-contador {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 11.5px; font-weight: 600;
}
.sm-car-seta {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.85); color: #0b1326;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.sm-car-seta.esq { left: 8px; visibility: hidden; }
.sm-car-seta.dir { right: 8px; }
.sm-car-pontos { display: flex; gap: 5px; align-items: center; }
.sm-car-pontos i { width: 6px; height: 6px; border-radius: 50%; background: #475569; transition: background .2s, transform .2s; }
.sm-car-pontos i.ativo { background: #38bdf8; transform: scale(1.15); }

/* 4 formatos (Post, Carrossel, Story, Reels) numa linha só */
.sm-ai-fmt-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sm-ai-fmt-tabs .sm-ai-fmt-btn { padding: 8px 6px; font-size: 11.5px; gap: 5px; white-space: nowrap; min-width: 0; }

/* ===== Criar e Agendar: largura total (a pré-visualização foi para a aba própria) ===== */
.sm-ai-main-grid.sm-ai-main-grid-cheio { grid-template-columns: minmax(0, 1fr); }

/* ===== Pré-visualização e Aprovação ===== */
.sm-aprov { display: flex; flex-direction: column; gap: 14px; }
.sm-aprov-topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sm-aprov-topo h2 { margin: 0; font-size: 22px; font-weight: 800; color: var(--sm-text, #f1f5f9); }
.sm-aprov-topo p { margin: 4px 0 0; font-size: 13px; color: var(--sm-text-muted, #94a3b8); }
.sm-aprov-topo p b { color: #e6c75c; }
.sm-aprov-acoes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sm-aprov-acoes .sm-btn-gold { display: inline-flex; align-items: center; gap: 6px; }
.sm-aprov-acoes .sm-btn-gold svg { width: 15px; height: 15px; }
.sm-aprov-acoes .sm-btn-gold[disabled] { opacity: .5; cursor: default; }
.sm-aprov-mes { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 10px; border: 1px solid rgba(148,163,184,.2); }
.sm-aprov-mes button { width: 30px; height: 30px; border: none; border-radius: 8px; background: transparent; color: #cbd5e1; cursor: pointer; display: grid; place-items: center; }
.sm-aprov-mes button:hover { background: rgba(148,163,184,.12); }
.sm-aprov-mes button svg, .sm-aprov-mes span svg { width: 15px; height: 15px; }
.sm-aprov-mes span { display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; font-size: 13px; font-weight: 700; color: #e2e8f0; text-transform: capitalize; }
.sm-aprov-filtros { display: flex; gap: 8px; flex-wrap: wrap; }
.sm-aprov-filtros button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(148,163,184,.22); background: transparent; color: #cbd5e1; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.sm-aprov-filtros button span { font-size: 11px; color: #94a3b8; }
.sm-aprov-filtros button.ativo { border-color: #d9aa58; background: rgba(217,170,88,.14); color: #f5d38a; }

.sm-aprov-grid { display: grid; grid-template-columns: minmax(240px, 1fr) 330px minmax(300px, 1.15fr); gap: 18px; align-items: start; }
.sm-aprov-col { min-width: 0; }
.sm-aprov-lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-height: calc(100vh - 290px); overflow-y: auto; padding-right: 4px; }
.sm-aprov-thumb { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; border: 2px solid transparent; background: #0f172a center / cover no-repeat; cursor: pointer; overflow: hidden; padding: 0; text-align: left; }
.sm-aprov-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 40%, rgba(0,0,0,.85)); }
.sm-aprov-thumb.ativo { border-color: #eab308; box-shadow: 0 0 0 3px rgba(234,179,8,.2); }
.sm-aprov-num { position: absolute; top: 6px; left: 6px; z-index: 1; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.sm-aprov-st { position: absolute; top: 9px; right: 8px; z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; box-shadow: 0 0 0 2px rgba(0,0,0,.4); }
.sm-aprov-st.aprovado { background: #22c55e; } .sm-aprov-st.revisao { background: #f97316; } .sm-aprov-st.publicado { background: #3b82f6; }
.sm-aprov-thumb-txt { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sm-aprov-nada { grid-column: 1 / -1; padding: 30px 0; text-align: center; color: #64748b; font-size: 13px; }

.sm-aprov-celular-wrap { display: flex; justify-content: center; position: sticky; top: 10px; }
.sm-aprov-celular { width: 300px; height: 610px; border-radius: 42px; border: 10px solid #0b0f1a; background: #fff; box-shadow: 0 0 0 2px #2a3446, 0 24px 60px rgba(0,0,0,.55); overflow: hidden; display: flex; flex-direction: column; color: #0f172a; }
.sm-aprov-cel-barra { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 4px; font-size: 11px; font-weight: 700; }
.sm-aprov-cel-notch { width: 80px; height: 18px; border-radius: 12px; background: #0b0f1a; }
.sm-aprov-ig-topo { display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 8px; }
.sm-aprov-ig-topo b { font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 21px; font-weight: 600; }
.sm-aprov-ig-topo span { display: flex; gap: 12px; } .sm-aprov-ig-topo svg { width: 18px; height: 18px; }
.sm-aprov-ig-perfil { display: flex; align-items: center; gap: 14px; padding: 4px 14px; }
.sm-aprov-ig-avatar { width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: #0f172a; color: #e6c75c; font-weight: 800; font-size: 22px; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e6c75c; }
.sm-aprov-ig-avatar img { width: 100%; height: 100%; object-fit: contain; background: #0f172a; }
.sm-aprov-ig-nums { flex: 1; display: flex; justify-content: space-around; }
.sm-aprov-ig-nums span { display: flex; flex-direction: column; align-items: center; font-size: 10.5px; color: #334155; }
.sm-aprov-ig-nums b { font-size: 14px; color: #0f172a; }
.sm-aprov-ig-bio { display: flex; flex-direction: column; padding: 8px 14px 6px; font-size: 12px; }
.sm-aprov-ig-bio span { color: #64748b; font-size: 11px; }
.sm-aprov-ig-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px 14px 10px; }
.sm-aprov-ig-btns span { text-align: center; padding: 5px 0; border-radius: 8px; background: #eef1f5; font-size: 11px; font-weight: 700; }
.sm-aprov-ig-btns span:first-child { background: #0095f6; color: #fff; }
.sm-aprov-ig-feed { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; align-content: start; border-top: 1px solid #e2e8f0; padding-top: 2px; }
.sm-aprov-ig-feed button { position: relative; aspect-ratio: 4 / 5; border: none; padding: 0; background: #e2e8f0 center / cover no-repeat; cursor: pointer; }
.sm-aprov-ig-feed button.ativo { outline: 3px solid #eab308; outline-offset: -3px; }
.sm-aprov-ig-feed button svg { position: absolute; top: 5px; right: 5px; width: 13px; height: 13px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7)); }

.sm-aprov-detalhe { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid rgba(148,163,184,.18); background: rgba(15,23,42,.6); }
.sm-aprov-det-topo { display: flex; align-items: center; gap: 10px; }
.sm-aprov-det-topo > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sm-aprov-det-topo b { font-size: 14px; color: #f1f5f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-aprov-det-topo small { font-size: 12px; color: #94a3b8; }
.sm-aprov-det-num { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #eab308; color: #0b1329; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.sm-aprov-badge { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; background: rgba(148,163,184,.15); color: #cbd5e1; }
.sm-aprov-badge.aprovado { background: rgba(34,197,94,.16); color: #4ade80; }
.sm-aprov-badge.revisao { background: rgba(249,115,22,.16); color: #fdba74; }
.sm-aprov-badge.publicado { background: rgba(59,130,246,.16); color: #93c5fd; }
.sm-aprov-det-prev { max-width: 380px; width: 100%; margin: 0 auto; }
.sm-aprov-det-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sm-aprov-det-info > div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: rgba(148,163,184,.07); }
.sm-aprov-det-info > div.largo { grid-column: 1 / -1; }
.sm-aprov-det-info span { font-size: 11px; color: #94a3b8; }
.sm-aprov-det-info b { font-size: 12.5px; color: #e2e8f0; font-weight: 600; word-break: break-word; }
.sm-aprov-det-btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.sm-aprov-det-btns > * { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; padding: 9px 8px; }
.sm-aprov-det-btns svg { width: 14px; height: 14px; }

.sm-aprov-vazio { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 60px 20px; text-align: center; color: #94a3b8; border: 1px dashed rgba(148,163,184,.3); border-radius: 16px; }
.sm-aprov-vazio svg { width: 36px; height: 36px; }
.sm-aprov-vazio strong { color: #e2e8f0; font-size: 15px; }

@media (max-width: 1440px) {
  .sm-aprov-grid { grid-template-columns: minmax(200px, .9fr) 300px minmax(280px, 1fr); }
  .sm-aprov-celular { width: 280px; height: 570px; }
  .sm-aprov-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-aprov-det-btns { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .sm-aprov-grid { grid-template-columns: 1fr 1fr; }
  .sm-aprov-celular-wrap { grid-column: 1 / -1; order: -1; position: static; }
}
@media (max-width: 760px) { .sm-aprov-grid { grid-template-columns: 1fr; } }

/* ===== Criar e Agendar: Biblioteca de imagens na coluna da direita ===== */
.sm-ai-biblioteca-col { position: sticky; top: 12px; }
.sm-bib-img { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid rgba(148,163,184,.18); background: rgba(15,23,42,.55); }
.sm-bib-img-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sm-bib-img-titulo { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.sm-bib-img-titulo h3 { margin: 0; font-size: 15px; font-weight: 800; color: var(--sm-text, #f1f5f9); }
.sm-bib-img-titulo p { margin: 2px 0 0; font-size: 12px; color: var(--sm-text-muted, #94a3b8); }
.sm-bib-img-busca { width: 100%; }
.sm-bib-img-busca input { width: 100%; box-sizing: border-box; }
.sm-bib-img-grid.sm-marca-photo-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-height: calc(100vh - 330px); overflow-y: auto; padding-right: 4px; }

/* ===== Pré-visualização: tela fixa (só a lista de posts rola) e painel no modelo da Central de aprovação ===== */
body.sm-aprov-fixa[data-page="marketing"] .main-content { overflow: hidden !important; }
.sm-aprov { height: calc(100vh - var(--sm-aprov-topo, 236px)); min-height: 520px; overflow: hidden; }
.sm-aprov-grid { flex: 1; min-height: 0; align-items: stretch; }
.sm-aprov-grid > .sm-aprov-col { min-height: 0; }
.sm-aprov-lista { max-height: none; height: 100%; align-content: start; }
.sm-aprov-celular-wrap { position: static; align-items: flex-start; height: 100%; }
.sm-aprov-celular { height: min(610px, 100%); }
.sm-aprov-detalhe { height: 100%; box-sizing: border-box; overflow-y: auto; gap: 10px; padding: 12px; }
.sm-aprov-det-arte { position: relative; flex-shrink: 0; height: clamp(150px, 26vh, 260px); border-radius: 12px; background: #0f172a center / cover no-repeat; overflow: hidden; }
.sm-aprov-det-arte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 30%, rgba(0,0,0,.85)); }
.sm-aprov-det-arte-txt { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.sm-aprov-det-arte-txt span { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #f5d38a; }
.sm-aprov-det-arte-txt strong { color: #fff; font-size: 17px; line-height: 1.2; font-family: Georgia, "Times New Roman", serif; }
.sm-aprov-det-arte-ico { position: absolute; top: 10px; right: 10px; z-index: 1; width: 18px; height: 18px; color: #fff; }
.sm-aprov-det-bloco { flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(148,163,184,.07); border: 1px solid rgba(148,163,184,.12); }
.sm-aprov-det-bloco-tit { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 800; color: #e2e8f0; }
.sm-aprov-det-bloco-tit span { display: inline-flex; align-items: center; gap: 6px; }
.sm-aprov-det-bloco-tit svg { width: 14px; height: 14px; color: #eab308; }
.sm-aprov-det-bloco-tit em { font-style: normal; font-weight: 500; color: #64748b; }
.sm-aprov-mini-btn { padding: 3px 10px; border-radius: 7px; border: 1px solid rgba(148,163,184,.3); background: transparent; color: #cbd5e1; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.sm-aprov-det-ig { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 10px; background: #fff; color: #0f172a; }
.sm-aprov-det-ig-icones { display: flex; gap: 12px; } .sm-aprov-det-ig-icones svg { width: 16px; height: 16px; } .sm-aprov-det-ig-icones .dir { margin-left: auto; }
.sm-aprov-det-ig p { margin: 0; font-size: 12px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sm-aprov-det-ig p.sm-aprov-det-tags { color: #00376b; -webkit-line-clamp: 2; }
.sm-aprov-det-ig small { align-self: flex-end; font-size: 10.5px; color: #64748b; }
.sm-aprov-det-dl { display: grid; grid-template-columns: 110px 1fr; gap: 4px 10px; margin: 0; font-size: 12px; }
.sm-aprov-det-dl dt { color: #94a3b8; } .sm-aprov-det-dl dd { margin: 0; color: #e2e8f0; display: inline-flex; align-items: center; gap: 6px; }
.sm-aprov-st-dot { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.sm-aprov-st-dot.aprovado { background: #22c55e; } .sm-aprov-st-dot.revisao { background: #f97316; } .sm-aprov-st-dot.publicado { background: #3b82f6; }
.sm-aprov-det-btns { flex-shrink: 0; }
@media (max-width: 1180px) { body.sm-aprov-fixa[data-page="marketing"] .main-content { overflow-y: auto !important; } .sm-aprov { height: auto; overflow: visible; } }

/* Biblioteca de imagens (Criar e Agendar): todas as fotos visíveis, miniaturas menores */
.sm-ai-biblioteca-col { max-height: calc(100vh - 236px); display: flex; }
.sm-ai-biblioteca-col .sm-bib-img { flex: 1; min-height: 0; }
.sm-bib-img-grid.sm-marca-photo-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; max-height: none; flex: 1; min-height: 0; align-content: start; }
.sm-bib-img-grid .sm-marca-photo-card { height: auto !important; min-height: 0 !important; aspect-ratio: 1 / 1; border-radius: 10px; }
.sm-bib-img-grid .sm-marca-photo-footer { padding: 4px 6px !important; }
.sm-bib-img-grid .sm-marca-photo-name { font-size: 10px !important; }
.sm-bib-img-grid .sm-marca-photo-edit-btn { display: none; }
.sm-bib-img-grid .sm-marca-photo-dots-btn { width: 22px; height: 22px; top: 4px; right: 4px; }

/* Ajustes: miniaturas sem sobrepor, painel cabendo na tela, selo "Post 1" numa linha */
.sm-aprov-lista { grid-auto-rows: max-content; }
.sm-aprov-thumb { aspect-ratio: auto; height: 0; padding-bottom: 125%; }
.sm-aprov-det-arte { height: clamp(110px, 19vh, 210px); }
.sm-aprov-det-arte-txt strong { font-size: 15px; }
.sm-aprov-det-ig p { -webkit-line-clamp: 3; }
.sm-aprov-det-ig p.sm-aprov-det-tags { -webkit-line-clamp: 1; }
.sm-aprov-det-dl { grid-template-columns: auto 1fr auto 1fr; gap: 3px 8px; }
.sm-aprov-det-dl dt:nth-of-type(5) { grid-column: 1; }
.sm-aprov-det-bloco { padding: 8px 10px; }
.sm-aprov-detalhe { gap: 8px; }
.sm-aprov-det-btns > * { padding: 8px 6px; }
.sm-ai-card-num-badge { white-space: nowrap; }

/* ===== Criar e Agendar: área de posts gerados cresce até o fim da tela; biblioteca de imagens maior ===== */
.sm-ai-main-grid { grid-template-columns: minmax(0, 1fr) 440px; align-items: stretch; height: calc(100vh - 236px); min-height: 560px; }
.sm-ai-main-grid > .sm-ai-chat-column { min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.sm-ai-main-grid .sm-ai-messages-container { max-height: 28vh; overflow-y: auto; flex-shrink: 0; }
.sm-ai-main-grid .sm-ai-library-section { flex: 1; min-height: 0; }
.sm-ai-main-grid .sm-ai-cards-grid { flex: 1; min-height: 0; overflow-y: auto; align-content: start; padding-right: 4px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.sm-ai-main-grid .sm-ai-card-media { height: 230px; }

.sm-ai-biblioteca-col { max-height: none; height: 100%; min-height: 0; position: static; }
.sm-bib-img-grid.sm-marca-photo-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; overflow-y: auto; }
.sm-bib-img-grid .sm-marca-photo-card { aspect-ratio: 4 / 3; border-radius: 12px; }
.sm-bib-img-grid .sm-marca-photo-footer { padding: 6px 8px !important; }
.sm-bib-img-grid .sm-marca-photo-name { font-size: 11.5px !important; }
.sm-bib-img-grid .sm-marca-photo-edit-btn { display: inline-flex; }

@media (max-width: 1240px) {
  .sm-ai-main-grid { grid-template-columns: 1fr; height: auto; }
  .sm-ai-main-grid > .sm-ai-chat-column { overflow: visible; }
  .sm-ai-main-grid .sm-ai-cards-grid { overflow: visible; }
  .sm-ai-biblioteca-col { height: auto; }
}

/* ===== Pré-visualização: painel da publicação em pé (vertical), como no modelo ===== */
.sm-aprov-grid { grid-template-columns: minmax(260px, 1fr) 320px 360px; }
.sm-aprov-detalhe { overflow-y: auto; }
.sm-aprov-det-arte { height: auto; aspect-ratio: 1 / 1; flex-shrink: 0; }
.sm-aprov-det-arte-txt strong { font-size: 18px; }
.sm-aprov-det-dl { grid-template-columns: 105px 1fr; gap: 4px 10px; }
.sm-aprov-det-dl dt:nth-of-type(5) { grid-column: auto; }
.sm-aprov-det-ig p { -webkit-line-clamp: 5; }
.sm-aprov-det-ig p.sm-aprov-det-tags { -webkit-line-clamp: 2; }
.sm-aprov-det-btns { grid-template-columns: 1fr 1fr; }
.sm-aprov-det-btns > *:last-child { grid-column: 1 / -1; }
@media (max-width: 1440px) {
  .sm-aprov-grid { grid-template-columns: minmax(200px, 1fr) 290px 330px; }
  .sm-aprov-det-btns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1180px) { .sm-aprov-grid { grid-template-columns: 1fr 1fr; } }

/* ===================== CENTRAL DE APROVAÇÃO (modelo 05) ===================== */
.sm-aprov.ca { height: calc(100vh - var(--sm-aprov-topo, 200px)); min-height: 560px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.ca-topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }
.ca-trilha { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #94a3b8; margin-bottom: 2px; }
.ca-trilha svg { width: 12px; height: 12px; }
.ca-titulo { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 700; color: #f8fafc; line-height: 1.1; }
.ca-sub { margin: 4px 0 0; font-size: 13.5px; color: #cbd5e1; }
.ca-acoes { display: flex; align-items: center; gap: 10px; }
.ca-mes { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid rgba(148,163,184,.25); background: rgba(15,23,42,.6); }
.ca-mes button { width: 30px; height: 30px; border: none; border-radius: 8px; background: transparent; color: #e2e8f0; cursor: pointer; display: grid; place-items: center; }
.ca-mes button:hover { background: rgba(148,163,184,.12); }
.ca-mes svg { width: 15px; height: 15px; }
.ca-mes span { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 13px; font-weight: 700; color: #f1f5f9; text-transform: capitalize; }
.ca-btn-ouro { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: none; border-radius: 12px; cursor: pointer; background: linear-gradient(135deg, #facc15, #eab308); color: #111827; font-size: 13px; font-weight: 800; box-shadow: 0 6px 18px rgba(234,179,8,.25); }
.ca-btn-ouro svg { width: 16px; height: 16px; }
.ca-btn-ouro[disabled] { opacity: .55; cursor: default; box-shadow: none; }

.ca-corpo { flex: 1; min-height: 0; display: grid; grid-template-columns: 400px 300px minmax(340px, 1fr); gap: 18px; }
.ca-col-lista, .ca-col-celular, .ca-col-detalhe { min-height: 0; min-width: 0; }

/* filtros + miniaturas */
.ca-col-lista { display: flex; flex-direction: column; gap: 10px; }
.ca-filtros { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.ca-filtros button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 9px; border: 1px solid rgba(148,163,184,.25); background: rgba(15,23,42,.5); color: #e2e8f0; font-size: 12px; font-weight: 700; cursor: pointer; }
.ca-filtros button span { font-size: 11px; color: #94a3b8; font-weight: 600; }
.ca-filtros button.ativo { background: #facc15; border-color: #facc15; color: #111827; }
.ca-filtros button.ativo span { color: #111827; }
.ca-lista { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: max-content; gap: 8px; padding-right: 4px; }
.ca-thumb { position: relative; height: 0; padding-bottom: 132%; border-radius: 10px; border: 2px solid transparent; background: #0f172a center / cover no-repeat; cursor: pointer; overflow: hidden; text-align: left; }
.ca-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, transparent 35%, rgba(0,0,0,.9) 100%); }
.ca-thumb.ativo { border-color: #facc15; box-shadow: 0 0 0 3px rgba(250,204,21,.18); }
.ca-thumb-num { position: absolute; top: 6px; left: 6px; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: rgba(15,23,42,.75); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
.ca-thumb-abrir { position: absolute; top: 5px; right: 5px; z-index: 1; color: #fff; }
.ca-thumb-abrir svg { width: 14px; height: 14px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7)); }
.ca-thumb-st { position: absolute; top: 27px; left: 12px; z-index: 1; width: 8px; height: 8px; border-radius: 50%; display: none; }
.ca-thumb-st.aprovado { display: block; background: #22c55e; } .ca-thumb-st.revisao { display: block; background: #f97316; }
.ca-thumb-tit { position: absolute; left: 7px; right: 7px; bottom: 7px; z-index: 1; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 12.5px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* celular */
.ca-col-celular { display: flex; justify-content: center; align-items: flex-start; }
.ca-cel { width: 290px; height: min(100%, 640px); border-radius: 44px; border: 9px solid #0b0f1a; background: #fff; box-shadow: 0 0 0 2px #39445a, 0 24px 60px rgba(0,0,0,.55); overflow: hidden; display: flex; flex-direction: column; color: #0f172a; position: relative; }
.ca-cel-status { display: flex; justify-content: space-between; align-items: center; padding: 9px 20px 2px; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.ca-cel-ilha { width: 78px; height: 20px; border-radius: 12px; background: #0b0f1a; }
.ca-cel-sinais { display: flex; gap: 3px; } .ca-cel-sinais svg { width: 12px; height: 12px; }
.ca-ig-topo { display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 6px; flex-shrink: 0; }
.ca-ig-topo b { font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 20px; font-weight: 600; }
.ca-ig-topo span { display: flex; gap: 12px; } .ca-ig-topo svg { width: 18px; height: 18px; }
.ca-ig-rolagem { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.ca-ig-rolagem::-webkit-scrollbar { display: none; }
.ca-ig-perfil { display: flex; align-items: center; gap: 12px; padding: 2px 14px; }
.ca-ig-avatar { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: #111827; color: #eab308; font-family: Georgia, serif; font-size: 26px; font-weight: 700; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d946ef; }
.ca-ig-avatar img, .ca-ig-dest-circ img, .ca-ig-mini img { width: 100%; height: 100%; object-fit: contain; background: #111827; }
.ca-ig-info { flex: 1; min-width: 0; }
.ca-ig-info > b { display: block; font-size: 13px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-ig-nums { display: flex; justify-content: space-between; }
.ca-ig-nums span { display: flex; flex-direction: column; align-items: center; font-size: 9.5px; color: #334155; }
.ca-ig-nums b { font-size: 13px; color: #0f172a; }
.ca-ig-bio { display: flex; flex-direction: column; padding: 8px 14px 4px; font-size: 11px; line-height: 1.35; }
.ca-ig-bio span { color: #334155; }
.ca-ig-btns { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 4px; padding: 6px 14px; }
.ca-ig-btns span { display: inline-flex; align-items: center; justify-content: center; gap: 2px; padding: 5px 0; border-radius: 7px; background: #eef1f5; font-size: 10px; font-weight: 700; }
.ca-ig-btns span.ico { padding: 5px 7px; } .ca-ig-btns svg { width: 11px; height: 11px; }
.ca-ig-destaques { display: flex; justify-content: space-between; padding: 6px 12px 8px; }
.ca-ig-destaques > div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ca-ig-dest-circ { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle, #f5d38a, #b45309); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #d4d4d8; }
.ca-ig-destaques small { font-size: 9px; color: #334155; }
.ca-ig-abas { display: flex; justify-content: space-around; padding: 6px 0; border-top: 1px solid #e5e7eb; }
.ca-ig-abas svg { width: 17px; height: 17px; color: #9ca3af; } .ca-ig-abas svg.on { color: #0f172a; }
.ca-ig-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ca-ig-grade button { position: relative; height: 0; padding-bottom: 125%; border: none; background: #e5e7eb center / cover no-repeat; cursor: pointer; overflow: hidden; }
.ca-ig-grade button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.75)); }
.ca-ig-grade button span { position: absolute; left: 4px; right: 4px; bottom: 4px; z-index: 1; color: #fff; font-family: Georgia, serif; font-size: 7.5px; line-height: 1.15; text-align: left; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ca-ig-grade button.ativo { outline: 2px solid #facc15; outline-offset: -2px; }
.ca-ig-rodape { display: flex; justify-content: space-around; align-items: center; padding: 9px 6px 4px; border-top: 1px solid #e5e7eb; background: #fff; flex-shrink: 0; }
.ca-ig-rodape svg { width: 19px; height: 19px; }
.ca-ig-mini { width: 21px; height: 21px; border-radius: 50%; overflow: hidden; background: #111827; color: #eab308; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.ca-cel-barra { width: 96px; height: 4px; border-radius: 4px; background: #0f172a; margin: 4px auto 6px; flex-shrink: 0; }

/* painel da publicação */
.ca-col-detalhe { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; border: 1px solid rgba(148,163,184,.22); background: rgba(15,23,42,.55); overflow: hidden; }
.ca-det-topo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ca-det-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #facc15; color: #111827; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.ca-det-nome { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ca-det-nome b { font-size: 13.5px; color: #f8fafc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-det-nome small { font-size: 12px; color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-det-st { flex-shrink: 0; padding: 4px 10px; border-radius: 7px; font-size: 11px; font-weight: 800; background: rgba(148,163,184,.18); color: #e2e8f0; }
.ca-det-st.aprovado { background: #16a34a; color: #fff; } .ca-det-st.revisao { background: #ea580c; color: #fff; } .ca-det-st.publicado { background: #2563eb; color: #fff; }
.ca-det-arte { position: relative; flex: 1 1 auto; min-height: 120px; max-height: 300px; border-radius: 12px; background: #0f172a center / cover no-repeat; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 14px 20px; }
.ca-det-arte::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.15)); }
.ca-det-arte > * { position: relative; z-index: 1; }
.ca-det-marca { position: absolute; top: 12px; left: 20px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #e5e7eb; }
.ca-det-arte strong { max-width: 72%; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(16px, 2.2vw, 26px); font-weight: 600; line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ca-det-marca2 { position: absolute; left: 20px; bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: #e5e7eb; line-height: 1.3; }
.ca-det-marca2 i { width: 18px; height: 2px; background: #facc15; }
.ca-det-tit { font-size: 12px; font-weight: 800; color: #f1f5f9; flex-shrink: 0; }
.ca-det-ig { flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: #fff; color: #0f172a; }
.ca-det-ig-ico { display: flex; gap: 12px; } .ca-det-ig-ico svg { width: 17px; height: 17px; } .ca-det-ig-ico .dir { margin-left: auto; }
.ca-det-ig p { margin: 0; font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ca-det-ig p.ca-det-tags { color: #1d4ed8; -webkit-line-clamp: 2; }
.ca-det-ig small { align-self: flex-end; font-size: 10.5px; color: #64748b; }
.ca-det-info { flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; }
.ca-det-info-tit { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 800; color: #f1f5f9; }
.ca-det-info-tit span { display: inline-flex; align-items: center; gap: 6px; }
.ca-det-info-tit svg { width: 15px; height: 15px; color: #facc15; }
.ca-det-info-tit em { font-style: normal; font-weight: 500; color: #cbd5e1; }
.ca-det-info-tit button { padding: 4px 12px; border-radius: 8px; border: 1px solid rgba(148,163,184,.35); background: transparent; color: #f1f5f9; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.ca-det-info dl { display: grid; grid-template-columns: 110px 1fr; gap: 3px 10px; margin: 0; padding-left: 21px; font-size: 11.5px; }
.ca-det-info dt { color: #cbd5e1; } .ca-det-info dd { margin: 0; color: #f8fafc; display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ca-dot { width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; flex-shrink: 0; }
.ca-dot.aprovado { background: #22c55e; } .ca-dot.revisao { background: #f97316; } .ca-dot.publicado { background: #3b82f6; }
.ca-det-btns { flex-shrink: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: auto; }
.ca-det-btns button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 6px; border-radius: 10px; border: 1px solid rgba(148,163,184,.3); background: rgba(15,23,42,.6); color: #f1f5f9; font-size: 11.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ca-det-btns button svg { width: 15px; height: 15px; color: #facc15; flex-shrink: 0; }
.ca-det-btns button.ouro { background: linear-gradient(135deg, #facc15, #eab308); border-color: #eab308; color: #111827; }
.ca-det-btns button.ouro svg { color: #111827; }

@media (max-width: 1500px) {
  .ca-corpo { grid-template-columns: 330px 280px minmax(320px, 1fr); gap: 14px; }
  .ca-cel { width: 272px; }
  .ca-det-btns button { font-size: 11px; }
}
@media (max-width: 1250px) {
  body.sm-aprov-fixa[data-page="marketing"] .main-content { overflow-y: auto !important; }
  .sm-aprov.ca { height: auto; overflow: visible; }
  .ca-corpo { grid-template-columns: 1fr 290px; }
  .ca-col-detalhe { grid-column: 1 / -1; }
  .ca-lista { max-height: 640px; }
  .ca-cel { height: 620px; }
}

/* ===== Central de Aprovação v2: sem topo, painel da direita em pé (largura fixa) ===== */
.sm-aprov.ca { height: calc(100vh - 150px); }
.ca-corpo { grid-template-columns: minmax(0, 1fr) 300px 400px; }
.ca-col-lista { gap: 8px; }
.ca-filtros { flex-wrap: wrap; }
.ca-barra-mes { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-shrink: 0; }
.ca-barra-mes .ca-mes { padding: 2px; }
.ca-barra-mes .ca-mes button { width: 26px; height: 26px; }
.ca-barra-mes .ca-mes span { font-size: 12px; padding: 0 6px; }
.ca-btn-peq { padding: 7px 12px; font-size: 12px; border-radius: 10px; }
.ca-btn-peq svg { width: 14px; height: 14px; }
.ca-lista { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.ca-col-detalhe { width: 400px; box-sizing: border-box; overflow-y: auto; }
.ca-det-arte { flex: none; aspect-ratio: 4 / 3; height: auto; min-height: 0; max-height: none; }
.ca-det-btns { margin-top: 0; }
@media (max-width: 1500px) {
  .ca-corpo { grid-template-columns: minmax(0, 1fr) 280px 370px; }
  .ca-col-detalhe { width: 370px; }
  .ca-det-btns { grid-template-columns: 1fr 1fr; }
  .ca-det-btns > *:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1250px) {
  .ca-corpo { grid-template-columns: 1fr 290px; }
  .ca-col-detalhe { width: auto; grid-column: 1 / -1; }
}

/* ===== Central de Aprovação v3: proporção do modelo (lista 3 colunas | celular ao centro | painel em pé) ===== */
.ca-corpo { grid-template-columns: 420px minmax(300px, 1fr) 410px; }
.ca-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ca-col-celular { justify-content: center; }
.ca-cel { height: min(100%, 780px); width: auto; aspect-ratio: 9 / 19.5; max-width: 100%; }
.ca-col-detalhe { width: 410px; }
@media (max-width: 1600px) {
  .ca-corpo { grid-template-columns: 360px minmax(270px, 1fr) 380px; }
  .ca-col-detalhe { width: 380px; }
}
@media (max-width: 1250px) {
  .ca-corpo { grid-template-columns: 1fr 290px; }
  .ca-cel { height: 620px; width: 290px; aspect-ratio: auto; }
  .ca-col-detalhe { width: auto; }
}

/* ===================== Central de Aprovação v4 ===================== */
.sm-aprov.ca { height: 720px; gap: 10px; }
.ca-faixa-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.ca-faixa-topo .ca-barra-mes { gap: 10px; }

/* faixa horizontal com todos os posts */
.ca-faixa { flex-shrink: 0; display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.ca-faixa .ca-thumb { flex: none; width: 108px; height: 136px; padding-bottom: 0; scroll-snap-align: start; }
.ca-faixa .ca-thumb-tit { font-size: 11px; -webkit-line-clamp: 3; }
.ca-faixa::-webkit-scrollbar { height: 6px; }
.ca-faixa::-webkit-scrollbar-thumb { background: rgba(148,163,184,.35); border-radius: 6px; }

/* celular no meio, painel à direita */
.ca-corpo { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 430px); gap: 18px; }
.ca-col-celular { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 0; }
.ca-cel-modos { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(15,23,42,.6); border: 1px solid rgba(148,163,184,.22); flex-shrink: 0; }
.ca-cel-modos button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: none; border-radius: 8px; background: transparent; color: #cbd5e1; font-size: 12px; font-weight: 700; cursor: pointer; }
.ca-cel-modos button svg { width: 13px; height: 13px; }
.ca-cel-modos button.ativo { background: #facc15; color: #111827; }
.ca-cel { flex: 1; min-height: 0; height: auto; width: auto; max-width: 100%; aspect-ratio: 9 / 19.5; }

/* modo Post (com carrossel) */
.ca-post-cab { display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 12px; }
.ca-post-cab b { flex: 1; } .ca-post-cab svg { width: 16px; height: 16px; }
.ca-post-img { position: relative; aspect-ratio: 4 / 5; background: #111827 center / cover no-repeat; display: flex; align-items: flex-end; }
.ca-post-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.85)); }
.ca-post-img-txt { position: relative; z-index: 1; padding: 14px; color: #fff; }
.ca-post-img-txt strong { font-family: Georgia, serif; font-size: 17px; line-height: 1.15; }
.ca-post-img-txt.slide { align-self: stretch; display: flex; align-items: center; background: rgba(15,23,42,.72); width: 100%; box-sizing: border-box; }
.ca-post-img-txt p { margin: 0; font-size: 13px; line-height: 1.45; }
.ca-post-cont { position: absolute; top: 8px; right: 8px; z-index: 1; padding: 2px 7px; border-radius: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; font-weight: 700; }
.ca-post-seta { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 26px; height: 26px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; }
.ca-post-seta svg { width: 15px; height: 15px; color: #111827; }
.ca-post-seta.esq { left: 6px; } .ca-post-seta.dir { right: 6px; }
.ca-post-acoes { display: flex; align-items: center; gap: 12px; padding: 8px 12px 4px; }
.ca-post-acoes svg { width: 18px; height: 18px; }
.ca-post-pontos { flex: 1; display: flex; justify-content: center; gap: 4px; }
.ca-post-pontos i { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }
.ca-post-pontos i.on { background: #0095f6; }
.ca-post-leg { margin: 0; padding: 2px 12px; font-size: 11.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ca-post-tags { margin: 0; padding: 2px 12px 10px; font-size: 11px; color: #00376b; }

/* modo Story */
.ca-story { position: relative; flex: 1; min-height: 0; margin: 0 4px; border-radius: 10px; background: #111827 center / cover no-repeat; overflow: hidden; display: flex; flex-direction: column; color: #fff; }
.ca-story::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 25%, transparent 55%, rgba(0,0,0,.8)); }
.ca-story > * { position: relative; z-index: 1; }
.ca-story-barras { display: flex; gap: 3px; padding: 8px 8px 0; }
.ca-story-barras span { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.4); }
.ca-story-barras span.cheia { background: #fff; }
.ca-story-topo { display: flex; align-items: center; gap: 7px; padding: 8px 10px; font-size: 12px; }
.ca-story-topo small { opacity: .75; } .ca-story-topo svg { width: 18px; height: 18px; margin-left: auto; }
.ca-story-txt { margin-top: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 6px; }
.ca-story-txt span { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #f5d38a; }
.ca-story-txt strong { font-family: Georgia, serif; font-size: 20px; line-height: 1.15; }
.ca-story-rodape { display: flex; align-items: center; gap: 10px; padding: 0 10px 12px; }
.ca-story-rodape span { flex: 1; padding: 8px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,.7); font-size: 11px; }
.ca-story-rodape svg { width: 20px; height: 20px; }

/* modo Reels */
.ca-reels { position: relative; flex: 1; min-height: 0; background: #111827 center / cover no-repeat; color: #fff; display: flex; flex-direction: column; overflow: hidden; }
.ca-reels::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 25%, transparent 55%, rgba(0,0,0,.8)); }
.ca-reels > * { position: relative; z-index: 1; }
.ca-reels-topo { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px; }
.ca-reels-topo b { font-size: 16px; } .ca-reels-topo svg { width: 20px; height: 20px; }
.ca-reels-play { margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; }
.ca-reels-play svg { width: 26px; height: 26px; fill: #fff; }
.ca-reels-lado { position: absolute; right: 8px; bottom: 90px; display: flex; flex-direction: column; gap: 14px; align-items: center; font-size: 10px; }
.ca-reels-lado span { display: flex; flex-direction: column; align-items: center; gap: 2px; } .ca-reels-lado svg { width: 22px; height: 22px; }
.ca-reels-base { padding: 10px 50px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.ca-reels-base > div { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.ca-reels-base em { font-style: normal; padding: 2px 8px; border: 1px solid #fff; border-radius: 6px; font-size: 11px; }
.ca-reels-base p { margin: 0; font-size: 12px; line-height: 1.35; }

/* perfil: destaques e aba de reels clicáveis */
.ca-ig-destaques button { display: flex; flex-direction: column; align-items: center; gap: 3px; border: none; background: transparent; padding: 0; cursor: pointer; }
.ca-ig-abas button { border: none; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }

/* painel: informações internas mais abaixo e contorno sempre inteiro */
.ca-col-detalhe { width: auto; height: 100%; box-sizing: border-box; overflow-y: auto; }
.ca-det-info { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(148,163,184,.18); }
.ca-det-btns { margin-top: 12px; }

@media (max-width: 1250px) {
  .ca-corpo { grid-template-columns: 1fr; }
  .ca-cel { height: 620px; flex: none; }
  .ca-col-detalhe { height: auto; }
}

/* ===================== Central de Aprovação v5 — composição da Imagem 1 ===================== */
/* esquerda: grade 3 colunas | centro: celular | direita: detalhes */
.ca-corpo { grid-template-columns: minmax(300px, 1.2fr) auto minmax(350px, 1.3fr); gap: 20px; align-items: stretch; }
.ca-col-lista { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.ca-lista { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: max-content; gap: 10px; padding: 2px 6px 2px 2px; }
.ca-lista .ca-thumb { width: auto; height: 0; padding-bottom: 125%; border-radius: 12px; border: 2px solid rgba(148,163,184,.14); }
.ca-lista .ca-thumb.ativo { border-color: #facc15; box-shadow: 0 0 0 3px rgba(250,204,21,.22); }
.ca-lista .ca-thumb-tit { font-size: 13px; -webkit-line-clamp: 4; }
.ca-lista::-webkit-scrollbar { width: 6px; }
.ca-lista::-webkit-scrollbar-thumb { background: rgba(148,163,184,.3); border-radius: 6px; }

.ca-col-celular { width: auto; }
.ca-cel { flex: 1; min-height: 0; height: auto; width: auto; aspect-ratio: 9 / 19.5; max-width: 340px; }

.ca-col-detalhe { width: auto; min-width: 0; }

/* botões: 4 ações, as duas douradas no fim */
.ca-det-btns { grid-template-columns: 1fr 1fr; }
.ca-det-btns button[disabled] { opacity: .45; cursor: default; }
.ca-det-btns button.ouro-sec { border-color: rgba(250,204,21,.6); color: #fde68a; }
.ca-det-btns button.ouro-sec svg { color: #facc15; }

@media (max-width: 1500px) {
  .ca-corpo { grid-template-columns: minmax(260px, 1fr) auto minmax(320px, 1.15fr); gap: 14px; }
  .ca-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1250px) {
  .ca-corpo { grid-template-columns: 1fr auto; }
  .ca-col-detalhe { grid-column: 1 / -1; height: auto; }
  .ca-cel { height: 620px; flex: none; }
  .ca-lista { max-height: 640px; }
}
@media (max-width: 820px) {
  .ca-corpo { grid-template-columns: 1fr; }
  .ca-col-celular { order: -1; }
}
/* legenda mais completa no painel (o painel rola por dentro se precisar) */
.ca-det-ig p { -webkit-line-clamp: 6; }
.ca-det-ig p.ca-det-tags { -webkit-line-clamp: 3; }
/* painel da publicação mais estreito e em pé; hashtags sempre visíveis */
.ca-corpo { grid-template-columns: minmax(320px, 1fr) auto 340px; }
.ca-col-detalhe { width: 340px; padding: 10px; gap: 7px; }
.ca-det-arte { aspect-ratio: 4 / 3.4; padding: 12px 16px; }
.ca-det-arte strong { font-size: 20px; max-width: 80%; }
.ca-det-ig { padding: 8px 10px; }
.ca-det-ig p { font-size: 11.5px; -webkit-line-clamp: 5; }
.ca-det-ig p.ca-det-tags { display: block; color: #1d4ed8; font-weight: 600; -webkit-line-clamp: unset; }
.ca-det-info dl { grid-template-columns: 92px 1fr; font-size: 11px; padding-left: 4px; }
.ca-det-btns { gap: 6px; }
.ca-det-btns button { font-size: 11px; padding: 8px 4px; }
@media (max-width: 1500px) {
  .ca-corpo { grid-template-columns: minmax(260px, 1fr) auto 320px; }
  .ca-col-detalhe { width: 320px; }
}
@media (max-width: 1250px) {
  .ca-corpo { grid-template-columns: 1fr auto; }
  .ca-col-detalhe { width: auto; }
}

/* Identidade da Marca: perfil do Instagram */
.sm-marca-insta-bloco { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px; padding: 12px; border-radius: 12px; border: 1px solid rgba(239,196,110,.25); background: rgba(239,196,110,.05); }
.sm-marca-insta-tit { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: #efc46e; }
.sm-marca-insta-tit small { font-weight: 500; color: #94a3b8; }
.sm-marca-insta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sm-marca-insta-bloco textarea.sm-marca-input-text { resize: vertical; min-height: 54px; font-family: inherit; }
@media (max-width: 700px) { .sm-marca-insta-grid { grid-template-columns: 1fr; } }
/* Pré-visualização: link da bio */
.ca-ig-link { display: inline-flex; align-items: center; gap: 4px; color: #00376b; font-weight: 600; font-size: 11px; text-decoration: none; }
.ca-ig-link svg { width: 11px; height: 11px; }

/* Fila: post vencido sem publicação e post aprovado */
.sm-queue-card-status.atrasada, .sm-queue-status-badge.atrasada, .atrasada.sm-queue-badge { background: rgba(239,68,68,.14) !important; color: #f87171 !important; border-color: rgba(239,68,68,.4) !important; }
.sm-queue-badge-upcoming.aprovada { background: rgba(34,197,94,.14); color: #4ade80; border: 1px solid rgba(34,197,94,.35); }
.sm-queue-status-pill.atrasada { background: rgba(239,68,68,.14) !important; color: #f87171 !important; border-color: rgba(239,68,68,.4) !important; }

/* Identidade da Marca: logo enviado aguardando confirmação */
.sm-marca-logo-pend-selo { position: absolute; left: 10px; top: 10px; z-index: 2; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(250,204,21,.16); color: #fde68a; border: 1px solid rgba(250,204,21,.45); }
.sm-marca-btn-usar-logo { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; border: none; cursor: pointer; font-weight: 800; font-size: 13px; color: #1a1205; background: linear-gradient(135deg, #facc15, #eab308); box-shadow: 0 4px 14px rgba(234,179,8,.3); animation: smUsarLogo 1.6s ease-in-out 2; }
.sm-marca-btn-usar-logo:hover { filter: brightness(1.06); }
.sm-marca-btn-cancelar-logo { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; background: transparent; color: #94a3b8; border: 1px solid rgba(148,163,184,.3); }
.sm-marca-btn-cancelar-logo:hover { color: #f87171; border-color: rgba(248,113,113,.5); }
@keyframes smUsarLogo { 50% { box-shadow: 0 0 0 6px rgba(250,204,21,.18); } }

/* Pré-visualização: rolagem leve na grade de posts */
.ca-lista { contain: content; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ca-thumb { contain: layout paint; transform: translateZ(0); }
.ca-lista .ca-thumb { transition: none; }

/* Fila: arrastar publicação para outra data */
.sm-fila-arrastavel { cursor: grab; }
.sm-fila-arrastavel:active { cursor: grabbing; }
.sm-fila-pegado { opacity: .45; }
.sm-queue-post-card.sm-fila-alvo { outline: 2px dashed #facc15; outline-offset: 2px; }
.sm-queue-group-header.sm-fila-alvo { background: rgba(250,204,21,.12); border-radius: 8px; outline: 2px dashed #facc15; }
.sm-fila-cal-nav { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; text-transform: capitalize; color: #e2e8f0; }
.sm-fila-cal-nav button { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; border: 1px solid rgba(148,163,184,.25); background: transparent; color: #cbd5e1; cursor: pointer; }
.sm-fila-cal-nav button[disabled] { opacity: .3; cursor: default; }
.sm-fila-cal-nav svg { width: 14px; height: 14px; }
.sm-fila-cal-dica { font-size: 11.5px; color: #94a3b8; line-height: 1.35; margin: 2px 0 10px; }
.sm-fila-cal-grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.sm-fila-cal-sem { text-align: center; font-size: 10.5px; font-weight: 700; color: #64748b; }
.sm-fila-cal-dia { position: relative; height: 32px; display: grid; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 600; color: #e2e8f0; border: 1px solid rgba(148,163,184,.12); transition: background .12s, border-color .12s; }
.sm-fila-cal-dia.vazio { border: none; }
.sm-fila-cal-dia.passado { color: #475569; border-color: transparent; }
.sm-fila-cal-dia.hoje { border-color: rgba(250,204,21,.6); color: #fde68a; }
.sm-fila-cal-dia i { position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: #facc15; }
body.sm-fila-arrastando .sm-fila-cal-dia.livre { border-color: rgba(250,204,21,.35); background: rgba(250,204,21,.05); }
.sm-fila-cal-dia.sm-fila-alvo { background: rgba(250,204,21,.25) !important; border-color: #facc15 !important; transform: scale(1.08); }

/* Marketing: botão IA (gestão automática) ao lado de Marca + cortina */
.sm-hub-nav-ia { margin-left: 2px; border: 1px solid rgba(250,204,21,.35) !important; border-radius: 999px !important; padding: 6px 14px !important; color: #fde68a !important; }
.sm-hub-nav-ia svg { width: 15px; height: 15px; color: #facc15; }
.sm-hub-nav-ia:hover, .sm-hub-nav-ia[aria-expanded="true"] { background: rgba(250,204,21,.1); }
.sm-ia-dot { width: 7px; height: 7px; border-radius: 50%; background: #64748b; }
.sm-hub-nav-ia.on .sm-ia-dot { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); animation: smIaPulso 1.8s ease-in-out infinite; }
@keyframes smIaPulso { 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }
.sm-ia-cortina { position: fixed; z-index: 1200; padding: 16px; border-radius: 14px; background: #0f172a; border: 1px solid rgba(250,204,21,.3); box-shadow: 0 24px 50px rgba(0,0,0,.55); color: #e2e8f0; transform-origin: top right; transform: translateY(-8px) scaleY(.96); opacity: 0; transition: transform .18s ease, opacity .18s ease; }
.sm-ia-cortina.aberta { transform: none; opacity: 1; }
.sm-ia-cortina-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sm-ia-cortina-tit { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; }
.sm-ia-cortina-tit strong { color: #fde68a; }
.sm-ia-cortina-ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(250,204,21,.14); color: #facc15; }
.sm-ia-cortina-ico svg { width: 15px; height: 15px; }
.sm-ia-cortina-status { margin: 8px 0 10px; font-size: 12px; color: #94a3b8; }
.sm-ia-cortina-txt { margin: 0 0 8px; font-size: 12.5px; line-height: 1.45; color: #cbd5e1; }
.sm-ia-cortina-lista { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.sm-ia-cortina-lista li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: #e2e8f0; }
.sm-ia-cortina-lista svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: #facc15; }
.sm-ia-cortina-nota { display: flex; gap: 7px; margin: 0 0 12px; padding: 9px 10px; border-radius: 10px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.22); font-size: 11.5px; line-height: 1.4; color: #bbf7d0; }
.sm-ia-cortina-nota svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
.sm-ia-cortina-link { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: transparent; border: 1px solid rgba(148,163,184,.28); color: #cbd5e1; font-size: 12px; font-weight: 600; cursor: pointer; }
.sm-ia-cortina-link:hover { border-color: rgba(250,204,21,.5); color: #fde68a; }
.sm-ia-cortina-link svg { width: 14px; height: 14px; }
[data-theme="light"] .sm-ia-cortina { background: #fff; color: #0f172a; }
[data-theme="light"] .sm-ia-cortina-lista li, [data-theme="light"] .sm-ia-cortina-txt { color: #334155; }
[data-theme="light"] .sm-ia-cortina-nota { color: #166534; }
[data-theme="light"] .sm-hub-nav-ia { color: #a16207 !important; }
