/* ── LOGIN ───────────────────────────────────────────────────── */
.login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--s4);
  background: var(--bg);
}

.login-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.login-icon {
  width: 56px;
  height: 56px;
  background: var(--purple-light);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s4);
}
.login-icon i { font-size: 28px; color: var(--purple); }

.login-title { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: var(--s1); }
.login-sub   { font-size: 13px; color: var(--muted); margin-bottom: var(--s6); }

.login-card input {
  width: 100%;
  padding: var(--s3) var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  margin-bottom: var(--s3);
  text-align: center;
  letter-spacing: 4px;
  color: var(--text);
}
.login-card input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.login-btn {
  width: 100%;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
}
.login-btn:hover { background: var(--purple-dark); }

.login-err {
  color: var(--error);
  font-size: 13px;
  margin-top: var(--s3);
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
}

/* ── SIDEBAR CONTENT ─────────────────────────────────────────── */
.sb-logo {
  padding: var(--s5) var(--s4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.sb-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--purple);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sb-logo-icon i  { font-size: 20px; color: var(--white); }
.sb-logo-text    { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.sb-logo-sub     { font-size: 11px; color: var(--muted); }

.sb-nav { padding: var(--s3) var(--s2); flex: 1; overflow-y: auto; }

.sb-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--s3) var(--s2) var(--s2);
}

.sb-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.15s;
  margin-bottom: 2px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  font-weight: 500;
}
.sb-item:hover         { background: var(--bg); color: var(--text); }
.sb-item.active        { background: var(--purple-light); color: var(--purple); font-weight: 600; }
.sb-item.active i      { color: var(--purple); }

.sb-bottom {
  padding: var(--s3);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.sb-sync {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 12px;
  color: var(--s-concluido);
  background: var(--s-concluido-bg);
  border-radius: 20px;
  padding: var(--s2) var(--s3);
}
.sb-sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--s-concluido);
  flex-shrink: 0;
}

.sb-logout {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s2) var(--s3);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
}
.sb-logout:hover { color: var(--error); border-color: var(--error); }

/* ── TOPBAR ──────────────────────────────────────────────────── */
.topbar-title { font-size: 16px; font-weight: 600; color: var(--text); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  border: none;
  border-radius: var(--r-md);
  padding: var(--s2) var(--s4);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  transition: all 0.15s;
  white-space: nowrap;
}
.btn i { font-size: 16px; }

.btn-primary         { background: var(--purple); color: var(--white); }
.btn-primary:hover   { background: var(--purple-dark); }
.btn-outline         { background: none; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover   { background: var(--bg); }
.btn-danger          { background: none; border: 1px solid #FECACA; color: var(--error); }
.btn-danger:hover    { background: #FEF2F2; }

/* ── QUICK ACTIONS ───────────────────────────────────────────── */
.qa-btn {
  display: flex;
  align-items: center;
  gap: var(--s2);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s4);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  color: var(--text);
  transition: all 0.15s;
}
.qa-btn i      { font-size: 16px; color: var(--purple); }
.qa-btn:hover  { border-color: var(--purple); color: var(--purple); background: var(--purple-light); }

/* ── STATUS BADGES ───────────────────────────────────────────── */
.badge {
  font-size: 11px;
  padding: 2px var(--s2);
  border-radius: var(--r-sm);
  font-weight: 600;
  white-space: nowrap;
}
.b-aguardando { background: var(--s-aguardando-bg); color: var(--s-aguardando-text); }
.b-producao   { background: var(--s-producao-bg);   color: var(--s-producao-text); }
.b-aprovacao  { background: var(--s-aprovacao-bg);  color: var(--s-aprovacao-text); }
.b-revisao    { background: var(--s-revisao-bg);    color: var(--s-revisao-text); }
.b-aprovado   { background: var(--s-concluido-bg);  color: var(--s-concluido); }
.b-publicado  { background: #A7F3D0;                color: #064E3B; font-weight: 700; }
.b-concluido  { background: var(--s-concluido-bg);  color: var(--s-concluido-text); }
.b-agendado   { background: #DBEAFE; color: #1E40AF; }
.b-pendente   { background: #FEF3C7; color: #92400E; }
.b-feito      { background: var(--s-concluido-bg);  color: var(--s-concluido-text); }

/* ── STAT CARDS ──────────────────────────────────────────────── */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon i  { font-size: 22px; }
.stat-val     { font-size: 26px; font-weight: 700; line-height: 1; color: var(--text); }
.stat-label   { font-size: 12px; color: var(--muted); margin-top: 2px; }

@media (max-width: 480px) {
  .stat-card   { padding: var(--s3); gap: var(--s2); }
  .stat-icon   { width: 36px; height: 36px; }
  .stat-icon i { font-size: 18px; }
  .stat-val    { font-size: 22px; }
}

/* ── DASH BOXES ──────────────────────────────────────────────── */
.dash-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.dash-box-hd {
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-box-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.dash-box-title i { font-size: 15px; color: var(--muted); }

.dash-link {
  font-size: 12px;
  color: var(--purple);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dash-box-body { padding: var(--s2); }

.dash-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-md);
}
.dash-item:hover   { background: var(--bg); }
.dash-dot          { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dash-item-main    { flex: 1; min-width: 0; }
.dash-item-title   { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-item-sub     { font-size: 11px; color: var(--muted); }
.dash-empty        { text-align: center; padding: var(--s6) var(--s4); color: var(--muted); font-size: 13px; }

/* ── CALENDAR COMPONENTS ─────────────────────────────────────── */
.month-nav   { display: flex; align-items: center; gap: var(--s3); }
.month-title { font-size: 16px; font-weight: 600; min-width: 140px; text-align: center; color: var(--text); }

.nav-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s2) var(--s3);
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.nav-btn i      { font-size: 18px; }
.nav-btn:hover  { background: var(--bg); }

.legend   { display: flex; gap: var(--s3); flex-wrap: wrap; }
.leg-item { display: flex; align-items: center; gap: var(--s1); font-size: 11px; color: var(--muted); }
.leg-dot  { width: 8px; height: 8px; border-radius: 50%; }

.wd {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  padding: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

.day-cell {
  min-height: 72px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s1) var(--s2);
  background: var(--white);
  position: relative;
}
.day-cell.empty  { background: transparent; border-color: transparent; }
.day-cell.today  { border-color: var(--purple); }
.day-num         { font-size: 11px; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.day-cell.today .day-num { color: var(--purple); font-weight: 700; }

.post-tag {
  font-size: 9px;
  padding: 2px var(--s1);
  border-radius: 3px;
  margin-bottom: 2px;
  cursor: pointer;
  display: block;
  overflow: hidden;
  border: none;
  text-align: left;
  width: 100%;
  font-family: var(--font);
}
.post-tag:hover { opacity: 0.8; }

.post-tag-main {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-tag-leg {
  display: block;
  font-size: 8px;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.add-btn {
  font-size: 16px;
  color: var(--border);
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  bottom: 2px;
  right: 4px;
  line-height: 1;
  display: flex;
  align-items: center;
}
.add-btn:hover { color: var(--muted); }
.add-btn i     { font-size: 14px; }

.cal-stat   { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s3) var(--s4); }
.cal-stat-l { font-size: 11px; color: var(--muted); display: flex; align-items: center; }
.cal-stat-v { font-size: 20px; font-weight: 700; color: var(--text); }

.cal-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 4px;
}

/* ── LEGENDA DE CONTAS (abaixo do calendário) ────────────────── */
.cal-legend-bar {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--s4);
  padding: var(--s3) var(--s4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  min-height: 40px;
}

.leg-count {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border-radius: 10px;
  padding: 0 5px;
  margin-left: 2px;
}

@media (max-width: 600px) {
  .day-cell { min-height: 52px; padding: 2px var(--s1); }
  .post-tag { display: none; }
  .day-cell.has-post::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
    margin: 2px auto 0;
  }
}

/* ── KANBAN COMPONENTS ───────────────────────────────────────── */
.kanban-filters select,
.kanban-filters input {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s2) var(--s3);
  font-size: 13px;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  outline: none;
}
.kanban-filters input                        { width: 200px; }
.kanban-filters select:focus,
.kanban-filters input:focus                  { border-color: var(--purple); }

.k-col {
  flex: 0 0 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 200px);
}
.k-col-hd {
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.k-col-title { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: var(--s2); color: var(--text); }
.k-col-dot   { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.k-count     { font-size: 11px; background: var(--bg); border-radius: 20px; padding: 2px var(--s2); color: var(--muted); }
.k-body      { padding: var(--s2); display: flex; flex-direction: column; gap: var(--s2); overflow-y: auto; flex: 1; }

.k-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s3);
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.1s;
}
.k-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07); transform: translateY(-1px); }

.k-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s1); margin-bottom: var(--s1); }
.k-code     { font-size: 10px; font-weight: 700; color: var(--purple); background: var(--purple-light); border-radius: var(--r-sm); padding: 2px var(--s2); }
.k-date     { font-size: 10px; color: var(--muted); }
.k-tema     { font-size: 13px; font-weight: 600; margin-bottom: var(--s2); line-height: 1.4; color: var(--text); }
.k-meta     { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s2); }
.k-tag      { font-size: 10px; padding: 2px var(--s2); border-radius: var(--r-sm); font-weight: 500; }
.k-footer   { display: flex; align-items: center; justify-content: space-between; }

.k-dl       { font-size: 10px; display: flex; align-items: center; gap: 3px; }
.k-dl i     { font-size: 12px; }
.k-dl.ok    { color: var(--s-concluido); }
.k-dl.warn  { color: var(--s-aguardando); }
.k-dl.late  { color: var(--error); }

.k-actions  { display: flex; gap: 3px; align-items: center; }
.k-act {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 3px var(--s2);
  font-size: 11px;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.k-act i      { font-size: 13px; }
.k-act:hover  { background: var(--white); }
.k-empty      { text-align: center; padding: var(--s6) var(--s4); color: var(--muted); font-size: 12px; }

/* ── MODAL ───────────────────────────────────────────────────── */
.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  padding: var(--s6);
  width: 100%;
  max-width: 520px;
  margin: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modal-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s5); }
.modal-hd h3 { font-size: 17px; font-weight: 700; color: var(--text); }

.btn-x {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: var(--s1);
  border-radius: var(--r-sm);
}
.btn-x:hover { background: var(--bg); }
.btn-x i     { font-size: 20px; }

.field { display: flex; flex-direction: column; gap: var(--s1); }

label   { font-size: 12px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: var(--s1); }
label i { font-size: 14px; }

input[type=text],
input[type=date],
select,
textarea {
  width: 100%;
  padding: var(--s2) var(--s3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 14px;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
input::placeholder, textarea::placeholder { color: #9CA3AF; }
textarea { resize: vertical; min-height: 65px; }

.modal-ft {
  display: flex;
  gap: var(--s2);
  margin-top: var(--s5);
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

/* ── FILE PREVIEW ────────────────────────────────────────────── */
.file-preview       { margin-top: var(--s2); }
.file-preview-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--s2);
}
.file-preview img {
  width: 100%;
  border-radius: var(--r-md);
  max-height: 220px;
  object-fit: contain;
  border: 1px solid var(--border);
  cursor: pointer;
}
.file-preview video      { width: 100%; border-radius: var(--r-md); max-height: 200px; background: #000; }
.file-preview-name       { font-size: 11px; color: var(--muted); margin-top: var(--s1); display: flex; align-items: center; gap: var(--s1); }
.file-preview-name i     { font-size: 13px; }
.file-preview a          { color: var(--purple); font-size: 11px; }

/* ── FILE INPUT ──────────────────────────────────────────────── */
input[type=file] {
  padding: var(--s2) var(--s3);
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg);
  width: 100%;
  font-family: var(--font);
}
input[type=file]:hover  { border-color: var(--purple); }
input[type=file]:focus  { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }

/* ── UPLOAD PROGRESS ─────────────────────────────────────────── */
.upload-progress {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: var(--s2);
}
.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--purple);
  border-radius: 4px;
  transition: width 0.25s ease;
}

/* ── BANNER DE VÍNCULO (modal postagem ← pedido) ────────────── */
.ped-banner {
  display: flex;
  align-items: center;
  gap: var(--s2);
  background: var(--purple-light);
  border-radius: var(--r-md);
  padding: var(--s2) var(--s3);
  font-size: 12px;
  color: var(--purple);
  margin-bottom: var(--s4);
}
.ped-banner i { font-size: 14px; flex-shrink: 0; }

/* ── TOAST ───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: var(--s6);
  right: var(--s6);
  z-index: 500;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s4);
  max-width: 380px;
  transform: translateY(calc(100% + var(--s6)));
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.toast.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.toast-body {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex: 1;
  min-width: 0;
}
.toast-icon { font-size: 22px; color: var(--s-concluido); flex-shrink: 0; }
.toast-msg  { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.4; }
.toast-actions { display: flex; gap: var(--s2); align-items: center; flex-shrink: 0; }
.toast-btn-main {
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  padding: var(--s2) var(--s3);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: var(--s1);
  white-space: nowrap;
}
.toast-btn-main:hover { background: var(--purple-dark); }
.toast-btn-main i     { font-size: 14px; }
.toast-btn-close {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s2);
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.toast-btn-close:hover { background: var(--bg); }
.toast-btn-close i     { font-size: 14px; }

@media (max-width: 480px) {
  .toast {
    bottom: var(--s4);
    right: var(--s4);
    left: var(--s4);
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .toast-actions { width: 100%; justify-content: flex-end; }
}

/* ── WORKFLOW SECTIONS (designer / aprovação / revisão) ──────── */
.wf-section {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4);
  margin-top: var(--s4);
  background: var(--bg);
}

.wf-section-hd {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s4);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.wf-section-hd i { font-size: 16px; }

.wf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
}

.wf-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--s4);
}

/* Info row na área de aprovação */
.wf-info-row {
  display: flex;
  gap: var(--s5);
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
  margin: var(--s3) 0;
}
.wf-info-item   { display: flex; flex-direction: column; gap: 2px; }
.wf-info-label  { font-size: 10px; color: var(--muted); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.wf-info-val    { font-size: 14px; color: var(--text); font-weight: 700; }

/* Legenda do designer (read-only na aprovação) */
.wf-legenda-preview {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s3);
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Ações da área de aprovação */
.wf-approval-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
}
.wf-approval-btns { display: flex; gap: var(--s2); flex-wrap: wrap; }

.btn-aprovar       { background: #10B981; color: white; border: none; }
.btn-aprovar:hover { background: #059669; }

.btn-revisao       { background: #8B5CF6; color: white; border: none; }
.btn-revisao:hover { background: #7C3AED; }

.btn-copy-link       { background: none; border: 1px solid var(--border); color: var(--text); }
.btn-copy-link:hover { background: var(--white); }

/* Caixa de comentário de revisão */
.revision-comment-box {
  background: #F3F0FF;
  border: 1px solid #DDD6FE;
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
  margin-bottom: var(--s4);
}
.rcb-hd {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 11px;
  font-weight: 700;
  color: #5B21B6;
  margin-bottom: var(--s2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rcb-hd i  { font-size: 14px; }
.rcb-text  { font-size: 13px; color: #4C1D95; line-height: 1.6; white-space: pre-wrap; }

.wf-empty {
  text-align: center;
  padding: var(--s6) var(--s4);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 480px) {
  .wf-approval-actions { flex-direction: column; align-items: flex-start; }
  .wf-approval-btns    { width: 100%; }
  .wf-approval-btns .btn { flex: 1; justify-content: center; }
}

/* ── BOTÃO PUBLICAR ──────────────────────────────────────────── */
.btn-publicar       { background: var(--s-publicado); color: white; border: none; }
.btn-publicar:hover { background: #047857; }

/* ── RESUMO DO MÊS ───────────────────────────────────────────── */
.dash-resumo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--s3);
  padding: var(--s4);
}
.dash-resumo-item      { text-align: center; padding: var(--s3); border-radius: var(--r-md); background: var(--bg); }
.dash-resumo-val       { font-size: 26px; font-weight: 700; line-height: 1; color: var(--text); }
.dash-resumo-label     { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ── TOGGLE APROVADOS ────────────────────────────────────────── */
.btn-aprovados-toggle       { background: #A7F3D0; color: #064E3B; border: 1px solid #6EE7B7; }
.btn-aprovados-toggle:hover { background: #6EE7B7; }
.btn-aprovados-toggle.ativo { background: #065F46; color: white; border-color: #065F46; }

/* ── CONTA FIELD WRAP ────────────────────────────────────────── */
.conta-field-wrap {
  display: flex;
  gap: var(--s2);
  align-items: center;
}
.conta-field-wrap select { flex: 1; min-width: 0; }

.btn-nova-conta {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  padding: var(--s2) var(--s3);
  background: var(--purple-light);
  color: var(--purple);
  border: 1px solid #DDD6FE;
  border-radius: var(--r-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-nova-conta:hover { background: #DDD6FE; }
.btn-nova-conta i { font-size: 13px; }

/* ── COLOR SWATCHES ──────────────────────────────────────────── */
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s1);
}
.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, border-color 0.15s;
  flex-shrink: 0;
}
.color-swatch:hover   { transform: scale(1.15); }
.color-swatch.selected { border-color: var(--text); transform: scale(1.1); }

/* ── LISTA DE CONTAS (modal gerenciar) ───────────────────────── */
.contas-empty {
  text-align: center;
  padding: var(--s6) var(--s4);
  color: var(--muted);
  font-size: 13px;
}
.conta-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s2);
  border-bottom: 1px solid var(--border);
}
.conta-item:last-child { border-bottom: none; }
.conta-dot  { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.conta-nome { flex: 1; font-size: 14px; color: var(--text); font-weight: 500; }
.conta-actions { display: flex; gap: var(--s1); }
