/* A2 Social 17.15.1 · UI + IA dos Relatórios + Claude Vision */
:root,
html[data-a2-theme="white"]{
  color-scheme:light;
  --a2-bg:#f6f7f9;
  --a2-surface:#ffffff;
  --a2-surface-2:#f9fafb;
  --a2-surface-3:#f0f2f5;
  --a2-text:#202631;
  --a2-text-strong:#121720;
  --a2-muted:#687386;
  --a2-muted-2:#8d96a5;
  --a2-line:#e5e8ed;
  --a2-line-strong:#d8dde5;
  --a2-success:#16824b;
  --a2-success-soft:#ecf8f1;
  --a2-warning:#b85f13;
  --a2-warning-soft:#fff7e8;
  --a2-danger:#c43b3b;
  --a2-danger-soft:#fff0f0;
  --a2-shadow:0 1px 2px rgba(16,24,40,.025);
  --a2-shadow-float:0 18px 42px rgba(16,24,40,.12);
  --a2-radius:12px;
  --a2-radius-sm:9px;
  --a2-sidebar:252px;
  --a2-sidebar-collapsed:76px;
  --bg:var(--a2-bg);
  --card:var(--a2-surface);
  --text:var(--a2-text);
  --muted:var(--a2-muted);
  --line:var(--a2-line);
  --danger:var(--a2-danger);
  --success:var(--a2-success);
  --warn:var(--a2-warning);
  --shadow:var(--a2-shadow);
  --radius:var(--a2-radius);
}
html[data-a2-theme="dark"]{
  color-scheme:dark;
  --a2-bg:#0f1115;
  --a2-surface:#171a20;
  --a2-surface-2:#1c2027;
  --a2-surface-3:#242932;
  --a2-text:#e8ebf0;
  --a2-text-strong:#f6f7f9;
  --a2-muted:#a0a8b5;
  --a2-muted-2:#747e8d;
  --a2-line:#292e37;
  --a2-line-strong:#373e49;
  --a2-success:#45b77a;
  --a2-success-soft:#16291f;
  --a2-warning:#e4a14a;
  --a2-warning-soft:#302414;
  --a2-danger:#e46b67;
  --a2-danger-soft:#321b1d;
  --a2-shadow:0 1px 2px rgba(0,0,0,.24);
  --a2-shadow-float:0 22px 54px rgba(0,0,0,.42);
  --bg:var(--a2-bg);
  --card:var(--a2-surface);
  --text:var(--a2-text);
  --muted:var(--a2-muted);
  --line:var(--a2-line);
  --danger:var(--a2-danger);
  --success:var(--a2-success);
  --warn:var(--a2-warning);
  --shadow:var(--a2-shadow);
}

/* Cor de destaque. A mesma escolha é usada nos dois temas. */
:root,html[data-a2-accent="blue"]{--a2-brand:#3975f6;--a2-brand-hover:#2c63df;--a2-brand-soft:#edf3ff;--a2-brand-rgb:57,117,246;--a2-brand-contrast:#fff}
html[data-a2-accent="violet"]{--a2-brand:#7658e8;--a2-brand-hover:#6546d2;--a2-brand-soft:#f1edff;--a2-brand-rgb:118,88,232;--a2-brand-contrast:#fff}
html[data-a2-accent="teal"]{--a2-brand:#168b7d;--a2-brand-hover:#117467;--a2-brand-soft:#e9f7f4;--a2-brand-rgb:22,139,125;--a2-brand-contrast:#fff}
html[data-a2-accent="orange"]{--a2-brand:#d9652d;--a2-brand-hover:#bd5222;--a2-brand-soft:#fff1e9;--a2-brand-rgb:217,101,45;--a2-brand-contrast:#fff}
html[data-a2-accent="rose"]{--a2-brand:#d94d79;--a2-brand-hover:#bf3d66;--a2-brand-soft:#fff0f5;--a2-brand-rgb:217,77,121;--a2-brand-contrast:#fff}
html[data-a2-theme="dark"][data-a2-accent="blue"]{--a2-brand:#5b8cff;--a2-brand-hover:#78a1ff;--a2-brand-soft:#17223b}
html[data-a2-theme="dark"][data-a2-accent="violet"]{--a2-brand:#9277ff;--a2-brand-hover:#a58eff;--a2-brand-soft:#251d3f}
html[data-a2-theme="dark"][data-a2-accent="teal"]{--a2-brand:#38b7a6;--a2-brand-hover:#55c8b8;--a2-brand-soft:#142b29}
html[data-a2-theme="dark"][data-a2-accent="orange"]{--a2-brand:#f08a55;--a2-brand-hover:#f39f74;--a2-brand-soft:#332118}
html[data-a2-theme="dark"][data-a2-accent="rose"]{--a2-brand:#ee7098;--a2-brand-hover:#f08aa9;--a2-brand-soft:#351c27}
:root{--primary:var(--a2-brand);--primary2:var(--a2-brand-hover);--accent:var(--a2-brand)}

html{background:var(--a2-bg)}
body{
  background:var(--a2-bg)!important;
  color:var(--a2-text)!important;
  font-size:14px;
  line-height:1.45;
  transition:background-color .18s ease,color .18s ease;
}
::selection{background:color-mix(in srgb,var(--a2-brand) 30%,transparent)}
a{transition:color .14s ease,background-color .14s ease,border-color .14s ease,opacity .14s ease}

/* Shell mais calmo */
.app-shell{background:var(--a2-bg)}
.sidebar{
  width:var(--a2-sidebar)!important;
  transition:width .18s ease,padding .18s ease,transform .22s ease!important;
  padding:14px 12px!important;
  gap:11px!important;
  background:var(--a2-surface)!important;
  border-color:var(--a2-line)!important;
  box-shadow:none!important;
}
.main{
  margin-left:var(--a2-sidebar)!important;
  width:calc(100% - var(--a2-sidebar))!important;
  padding:22px 28px 44px!important;
  background:var(--a2-bg)!important;
}
.brand-row{padding:0 2px 8px!important;margin:0!important;border-bottom:1px solid var(--a2-line)}
.brand-toggle{min-height:44px!important;padding:4px!important;border-radius:10px!important}
.brand-mark{width:36px!important;height:36px!important;border-radius:10px!important;box-shadow:none!important}
.brand-text strong{font-size:13px!important;letter-spacing:-.01em}
.brand-text small{font-size:10px!important;color:var(--a2-muted)!important}
.sidebar nav{gap:2px!important}
.sidebar nav a,.nav-group>summary,.a2-smart-section>summary{
  min-height:36px!important;
  padding:8px 9px!important;
  border-radius:9px!important;
  color:var(--a2-muted)!important;
  font-size:12.5px!important;
  font-weight:650!important;
}
.sidebar nav a:hover,.nav-group>summary:hover,.a2-smart-section>summary:hover{
  background:var(--a2-surface-2)!important;
  color:var(--a2-text-strong)!important;
}
.sidebar nav a.active,.nav-subitem.active{
  background:var(--a2-brand-soft)!important;
  color:var(--a2-brand)!important;
  font-weight:800!important;
}
.nav-primary{gap:2px!important}
.nav-divider{margin:5px 8px!important;border-color:var(--a2-line)!important;opacity:.8}
.nav-group{margin:0!important}
.nav-group-items{padding:2px 0 5px 27px!important;gap:1px!important}
.nav-subitem{min-height:32px!important;padding:7px 9px!important}
.nav-icon{opacity:.78}
.nav-badge{transform:scale(.9);transform-origin:right center}
.a2-sidebar-tools{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
  margin:3px 0!important;
  padding:7px 0!important;
  border-top:1px solid var(--a2-line)!important;
  border-bottom:1px solid var(--a2-line)!important;
}
.a2-sidebar-tool{
  min-height:34px!important;
  padding:7px 8px!important;
  gap:6px!important;
  border:1px solid var(--a2-line)!important;
  border-radius:9px!important;
  background:var(--a2-surface-2)!important;
  color:var(--a2-muted)!important;
  box-shadow:none!important;
  font-size:11px!important;
}
.a2-sidebar-tool:hover{background:var(--a2-surface-3)!important;color:var(--a2-text)!important}
.a2-sidebar-tool kbd{display:none!important}
.a2-sidebar-tool[data-nav-compact]{display:none!important}
.a2-theme-icon{font-size:15px;line-height:1}
.a2-theme-label{font-size:10px;font-weight:850;color:var(--a2-muted)}
.sidebar-foot{
  margin-top:auto!important;
  padding:10px 5px 0!important;
  border-color:var(--a2-line)!important;
  gap:3px!important;
}
.sidebar-foot small{font-size:9px!important;color:var(--a2-muted-2)!important}
.sidebar-foot strong{font-size:12px!important}
.sidebar-role{font-size:10px!important;color:var(--a2-muted)!important}
.sidebar-account-links{margin-top:6px!important}
.sidebar-account-links a{font-size:11px!important}

/* Topo global e páginas */
.a2-global-toolbar{
  min-height:38px!important;
  margin:0 0 18px!important;
  padding:0 0 12px!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--a2-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.a2-breadcrumb{font-size:11px!important;color:var(--a2-muted)!important;gap:7px!important}
.a2-breadcrumb strong{color:var(--a2-text)!important;font-weight:750!important}
.a2-global-actions{gap:7px!important}
.a2-global-actions .btn{min-height:34px!important;padding:7px 10px!important;font-size:11px!important}
.a2-search-trigger kbd{display:none!important}
.page-top{margin:0 0 18px!important;gap:14px!important;align-items:center!important}
.page-top h1{font-size:25px!important;line-height:1.14!important;letter-spacing:-.025em!important;color:var(--a2-text-strong)!important}
.page-top p{margin-top:5px!important;font-size:12.5px!important;line-height:1.45!important;color:var(--a2-muted)!important;max-width:880px}
.page-actions{gap:7px!important}

/* Superfícies */
.card,.metric-card,.content-card,.traffic-dashboard-card,.traffic-card,.approval-media-card,.notification-item,
.report-pdf-reader-card,.performance-focus-card,.performance-leader-card,.a2-form-details,.a2-continue-card,
.a2-today-kpi,.a2-today-hero,.a2-suite-card,.a2-gov-card,.a2-auto-state,.a2-auto-artifacts,
.client-list-card,.client-view-hero,.client-form-card,.report-period-card,.report-platform-card{
  background:var(--a2-surface)!important;
  border-color:var(--a2-line)!important;
  box-shadow:var(--a2-shadow)!important;
}
.card{padding:17px!important;border-radius:var(--a2-radius)!important}
.metric-card{padding:14px!important;border-radius:var(--a2-radius)!important}
.metric-card span{font-size:11px!important;color:var(--a2-muted)!important}
.metric-card strong{font-size:26px!important;color:var(--a2-text-strong)!important;margin:6px 0!important}
.metric-card small{font-size:10.5px!important;color:var(--a2-muted)!important}
.grid{gap:14px!important}
.metric-strip{gap:10px!important;margin-bottom:14px!important}
.trello-hero{padding:18px!important;border-radius:14px!important;box-shadow:none!important;background:var(--a2-surface)!important;border-color:var(--a2-line)!important}
.trello-hero h2{font-size:23px!important}
.trello-list{background:var(--a2-surface-2)!important;border-color:var(--a2-line)!important;border-radius:12px!important;padding:9px!important}
.trello-card{background:var(--a2-surface)!important;border-color:var(--a2-line)!important;border-radius:11px!important;padding:12px!important;box-shadow:none!important}
.trello-card:hover{transform:none!important;border-color:var(--a2-line-strong)!important;box-shadow:0 4px 14px rgba(16,24,40,.05)!important}
.trello-card h4{color:var(--a2-text-strong)!important;font-size:14px!important}
.kanban-col{background:var(--a2-surface-2)!important;border:1px solid var(--a2-line)!important;border-radius:12px!important}

/* Formulários */
.field label{font-size:12px!important;margin-bottom:5px!important;color:var(--a2-text)!important}
.field small{font-size:10.5px!important;color:var(--a2-muted)!important}
.input,input[type="text"],input[type="email"],input[type="password"],input[type="search"],input[type="number"],input[type="date"],input[type="month"],input[type="url"],select,textarea{
  background:var(--a2-surface)!important;
  color:var(--a2-text)!important;
  border-color:var(--a2-line-strong)!important;
  border-radius:9px!important;
  min-height:38px;
  padding:9px 10px!important;
  box-shadow:none!important;
}
textarea{min-height:96px}
.input:focus,input:focus,select:focus,textarea:focus{
  outline:0!important;
  border-color:var(--a2-brand)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--a2-brand) 15%,transparent)!important;
}
.form{gap:12px!important}.form-row{gap:12px!important}
fieldset{border-color:var(--a2-line)!important}

/* Botões mais leves */
.btn{
  min-height:36px!important;
  padding:8px 12px!important;
  border-radius:9px!important;
  background:var(--primary)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:750!important;
}
html[data-a2-theme="dark"] .btn{color:var(--a2-brand-contrast)!important}
.btn:hover{background:var(--primary2)!important;transform:none!important}
.btn.secondary{background:var(--a2-surface-3)!important;color:var(--a2-text)!important;border:1px solid var(--a2-line)!important}
.btn.secondary:hover,.btn.ghost:hover{background:color-mix(in srgb,var(--a2-surface-3) 70%,var(--a2-brand-soft))!important}
.btn.ghost{background:transparent!important;color:var(--a2-text)!important;border:1px solid var(--a2-line-strong)!important}
.btn.danger{background:var(--a2-danger)!important;color:#fff!important}
.btn.small{min-height:31px!important;padding:6px 9px!important;font-size:11px!important}

/* Tabelas */
.table,.preview-table,.a2-batch-table{background:var(--a2-surface)!important;border-color:var(--a2-line)!important;border-radius:10px!important}
.table th,.table td,.preview-table th,.preview-table td,.a2-batch-table th,.a2-batch-table td{padding:10px 11px!important;border-color:var(--a2-line)!important}
.table th,.preview-table th,.a2-batch-table th{background:var(--a2-surface-2)!important;color:var(--a2-muted)!important;font-size:10.5px!important;text-transform:none!important;letter-spacing:0!important}
.table td,.preview-table td,.a2-batch-table td{color:var(--a2-text)!important;font-size:12px!important}
.table tbody tr:hover,.preview-table tbody tr:hover{background:var(--a2-surface-2)!important}

/* Badges, abas, alertas */
.badge{background:var(--a2-surface-3)!important;color:var(--a2-muted)!important;border:1px solid var(--a2-line)!important;padding:4px 7px!important;font-size:10px!important}
.badge.ok{background:var(--a2-success-soft)!important;color:var(--a2-success)!important;border-color:color-mix(in srgb,var(--a2-success) 25%,transparent)!important}
.badge.warn{background:var(--a2-warning-soft)!important;color:var(--a2-warning)!important;border-color:color-mix(in srgb,var(--a2-warning) 25%,transparent)!important}
.tabs{gap:5px!important;margin-bottom:14px!important}
.tabs a{padding:7px 9px!important;border-radius:8px!important;background:var(--a2-surface)!important;border-color:var(--a2-line)!important;color:var(--a2-muted)!important;font-size:11px!important}
.tabs a.active{background:var(--a2-text-strong)!important;color:var(--a2-surface)!important;border-color:var(--a2-text-strong)!important}
.alert{border-radius:10px!important;padding:10px 12px!important;margin-bottom:12px!important;box-shadow:none!important;background:var(--a2-surface)!important;color:var(--a2-text)!important}
.alert.success{background:var(--a2-success-soft)!important;color:var(--a2-success)!important;border-color:color-mix(in srgb,var(--a2-success) 30%,transparent)!important}
.alert.error{background:var(--a2-danger-soft)!important;color:var(--a2-danger)!important;border-color:color-mix(in srgb,var(--a2-danger) 30%,transparent)!important}
.alert.info{background:var(--a2-brand-soft)!important;color:var(--a2-brand)!important;border-color:color-mix(in srgb,var(--a2-brand) 28%,transparent)!important}

/* Details usados para esconder funções avançadas */
details.a2-form-details,details.card,details[class*="details"]{border-color:var(--a2-line)!important;background:var(--a2-surface)!important}
details>summary{cursor:pointer}

/* Command palette */
.a2-command-backdrop{background:rgba(3,8,15,.48)!important}
.a2-command-panel{background:var(--a2-surface)!important;border-color:var(--a2-line-strong)!important;border-radius:14px!important;box-shadow:var(--a2-shadow-float)!important}
.a2-command-input-wrap{border-color:var(--a2-line)!important}
.a2-command-input-wrap input{background:transparent!important;color:var(--a2-text)!important}
.a2-command-hint{background:var(--a2-surface-2)!important;color:var(--a2-muted)!important;border-color:var(--a2-line)!important}
.a2-command-result{color:var(--a2-text)!important;border-radius:9px!important}
.a2-command-result:hover,.a2-command-result.is-selected{background:var(--a2-brand-soft)!important}
.a2-command-result-icon{background:var(--a2-surface-3)!important;color:var(--a2-brand)!important}
.a2-command-result-copy small{color:var(--a2-muted)!important}

/* Modal e popovers comuns */
.content-modal-panel,.approval-lightbox-panel,.a2-create-popover,[role="dialog"]{
  background:var(--a2-surface)!important;
  border-color:var(--a2-line)!important;
  color:var(--a2-text)!important;
}
.a2-create-popover{box-shadow:var(--a2-shadow-float)!important}
.a2-create-popover a:hover{background:var(--a2-surface-2)!important}

/* Dark: corrige componentes antigos que ainda têm branco/cinza fixo */
html[data-a2-theme="dark"] :is(
  .card,.metric-card,.content-card,.trello-card,.trello-list,.kanban-col,.traffic-dashboard-card,.traffic-card,
  .approval-media-card,.approval-link-card-admin,.approval-created-send-card,.notification-item,.calendar-day,
  .calendar-day-event-card,.report-pdf-reader-card,.performance-focus-card,.performance-leader-card,
  .a2-form-details,.a2-import-processing,.a2-import-history,.a2-import-review-stats,.a2-import-existing-metrics,
  .a2-collection-item,.a2-assistant-push-box,.a2-c360-grid,.a2-gov-two,.a2-auto-state,.a2-auto-artifacts,
  .a2-suite-row,.a2-continue-card,.a2-today-kpi,.a2-today-hero,.a2-today-quick-grid>a,.a2-today-radar-grid>a,
  .dashboard-summary-grid>*,.traffic-mini-summary,.permission-groups,.resource-row,.provider-actions,
  .client-platform-option,.client-list-filter,.settings-brand-preview-box,.import-workspace,.preview-summary
){background:var(--a2-surface)!important;border-color:var(--a2-line)!important;color:var(--a2-text)!important;box-shadow:none!important}
html[data-a2-theme="dark"] :is(h1,h2,h3,h4,h5,h6){color:var(--a2-text-strong)!important}
html[data-a2-theme="dark"] :is(.muted,.card-client,.card-objective,.traffic-meta,.a2-today-focus-row small,.a2-today-client small,.a2-today-recommendations small){color:var(--a2-muted)!important}
html[data-a2-theme="dark"] :is(.card-meta span,.eyebrow,.type-badge,.a2-today-order,.a2-today-client-rank){background:var(--a2-surface-3)!important;color:var(--a2-muted)!important}
html[data-a2-theme="dark"] .chat-box{background:var(--a2-surface-2)!important;border-color:var(--a2-line)!important}
html[data-a2-theme="dark"] .message.assistant{background:var(--a2-surface)!important;border-color:var(--a2-line)!important;color:var(--a2-text)!important}
html[data-a2-theme="dark"] .message.user{background:var(--a2-brand-soft)!important;color:var(--a2-text)!important}
html[data-a2-theme="dark"] .empty-list{background:var(--a2-surface)!important;border-color:var(--a2-line-strong)!important;color:var(--a2-muted)!important}
html[data-a2-theme="dark"] .a2-today-autonomy{background:#101d2d!important;color:#fff!important;border:1px solid #26394f!important}
html[data-a2-theme="dark"] .a2-today-autonomy *{color:#fff!important}
html[data-a2-theme="dark"] .code-output{background:#080d13!important;color:#d6e6ff!important;border:1px solid var(--a2-line)!important}
html[data-a2-theme="dark"] .toast{background:#202936!important;color:#fff!important}
html[data-a2-theme="dark"] hr{border-color:var(--a2-line)!important}

/* Mobile */
.mobile-topbar{background:color-mix(in srgb,var(--a2-surface) 94%,transparent)!important;border-color:var(--a2-line)!important;box-shadow:none!important;backdrop-filter:blur(14px)}
.a2-mobile-search,.a2-mobile-theme{width:36px;height:36px;border:1px solid var(--a2-line)!important;border-radius:9px!important;background:var(--a2-surface-2)!important;color:var(--a2-text)!important;display:grid;place-items:center;font:inherit}
.a2-mobile-theme{margin-left:6px;cursor:pointer}
.a2-mobile-bottom{background:color-mix(in srgb,var(--a2-surface) 96%,transparent)!important;border-color:var(--a2-line)!important;box-shadow:none!important}
.a2-mobile-bottom a,.a2-mobile-bottom button{color:var(--a2-muted)!important}
.mobile-menu-backdrop{background:rgba(3,8,15,.46)!important}

/* Toggle público */
.a2-public-theme-toggle{position:fixed;right:18px;top:18px;z-index:120;width:40px;height:40px;border-radius:10px;border:1px solid var(--a2-line);background:var(--a2-surface);color:var(--a2-text);box-shadow:var(--a2-shadow);cursor:pointer;display:grid;place-items:center}

/* Portal do cliente também respeita o tema em tela; impressão permanece branca */
html[data-a2-theme="dark"] body.a2-client-portal{background:var(--a2-bg)!important;color:var(--a2-text)!important}
html[data-a2-theme="dark"] body.a2-client-portal .portal-period,
html[data-a2-theme="dark"] body.a2-client-portal .portal-tab,
html[data-a2-theme="dark"] body.a2-client-portal .report-paper,
html[data-a2-theme="dark"] body.a2-client-portal .overview,
html[data-a2-theme="dark"] body.a2-client-portal .overview-card,
html[data-a2-theme="dark"] body.a2-client-portal .platform-report,
html[data-a2-theme="dark"] body.a2-client-portal .kpi,
html[data-a2-theme="dark"] body.a2-client-portal .portal-chart,
html[data-a2-theme="dark"] body.a2-client-portal .metric-group,
html[data-a2-theme="dark"] body.a2-client-portal .analysis-card{
  background:var(--a2-surface)!important;border-color:var(--a2-line)!important;color:var(--a2-text)!important;box-shadow:none!important
}
html[data-a2-theme="dark"] body.a2-client-portal .portal-btn.secondary{background:var(--a2-surface-2)!important;color:var(--a2-text)!important;border-color:var(--a2-line)!important}
html[data-a2-theme="dark"] body.a2-client-portal .portal-period select{background:var(--a2-surface)!important;color:var(--a2-text)!important;border-color:var(--a2-line)!important}
html[data-a2-theme="dark"] body.a2-client-portal .portal-tab{color:var(--a2-muted)!important}
html[data-a2-theme="dark"] body.a2-client-portal .portal-tab.active{background:var(--a2-brand)!important;color:var(--a2-brand-contrast)!important;border-color:var(--a2-brand)!important}
html[data-a2-theme="dark"] body.a2-client-portal :is(h1,h2,h3,strong){color:var(--a2-text-strong)!important}
html[data-a2-theme="dark"] body.a2-client-portal :is(p,small,.platform-intro){color:var(--a2-muted)!important}

/* Impressão: sempre white */
@media print{
  :root,html[data-a2-theme="dark"]{color-scheme:light;--a2-bg:#fff;--a2-surface:#fff;--a2-surface-2:#f8fafc;--a2-text:#18212f;--a2-text-strong:#101828;--a2-muted:#667085;--a2-line:#e4e7ec}
  body{background:#fff!important;color:#18212f!important}
  .a2-public-theme-toggle,[data-theme-toggle]{display:none!important}
}

@media(max-width:900px){
  .main{margin-left:0!important;width:100%!important;padding:16px 14px 86px!important}
  .sidebar{width:min(286px,88vw)!important;padding:12px!important}
  .page-top{align-items:flex-start!important;margin-bottom:14px!important}
  .page-top h1{font-size:22px!important}
  .card{padding:14px!important}
  .a2-global-toolbar{margin-bottom:14px!important;padding-bottom:10px!important}
  .a2-sidebar-tools{grid-template-columns:1fr 1fr!important}
}
@media(max-width:560px){
  .page-top{display:grid!important;gap:10px!important}
  .page-actions{width:100%;display:flex;overflow:auto;padding-bottom:2px}
  .page-actions .btn{white-space:nowrap}
  .metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .grid{gap:10px!important}
}

/* Harmonização dos módulos Clientes, Relatórios e Performance */
.a2-module-summary-card,.a2-standard-filter,.a2-record-card,.a2-overview-card,.reporting-filter-card,.report-summary-card,.report-platform-card,.performance-filter-card{
  background:var(--a2-surface)!important;
  border-color:var(--a2-line)!important;
  box-shadow:var(--a2-shadow)!important;
  border-radius:var(--a2-radius)!important;
}
.a2-module-summary-card{background:var(--a2-surface)!important}
.a2-summary-stats>div,.a2-record-meta>span,.client-record-contact,.report-summary-preview,.report-platform-highlight{
  background:var(--a2-surface-2)!important;
  border-color:var(--a2-line)!important;
  color:var(--a2-muted)!important;
  border-radius:9px!important;
}
.a2-summary-stats strong,.a2-record-card h2,.a2-form-details>summary>span>strong,.performance-leader-card>span{
  color:var(--a2-text-strong)!important;
}
.a2-summary-stats span,.a2-record-meta strong,.client-record-platforms>small{color:var(--a2-muted-2)!important}
.a2-record-actions,.a2-form-details-body,.report-editor-details,.report-platform-details{border-color:var(--a2-line)!important}
.client-platform-chip{background:var(--a2-surface-2)!important;border-color:var(--a2-line)!important;color:var(--a2-muted)!important}
.client-platform-option{background:var(--a2-surface)!important;border-color:var(--a2-line)!important}
.reporting-compact-head{background:var(--a2-surface)!important;border-color:var(--a2-line)!important;box-shadow:none!important}
.reporting-filter-compact,.performance-filter-card{padding:13px 14px!important}
.reporting-kpis-simple,.performance-overview{gap:10px!important}
.report-platforms-simple{gap:10px!important}
.report-platform-simple{border-radius:var(--a2-radius)!important}
.report-platform-tools{gap:6px!important;margin-bottom:12px!important}
.report-save-bar-simple,.client-save-bar,.a2-import-save-bar{
  background:color-mix(in srgb,var(--a2-surface) 94%,transparent)!important;
  border-color:var(--a2-line)!important;
  box-shadow:0 6px 20px rgba(16,24,40,.06)!important;
  border-radius:10px!important;
  backdrop-filter:blur(12px)!important;
}
.performance-focus-card{min-height:145px!important;padding:15px!important}
.performance-focus-card>strong{font-size:26px!important}
.performance-leader-grid{gap:10px!important;margin-top:12px!important}
.performance-leader-card{border-radius:10px!important;padding:12px!important}
.performance-leader-card details{border-color:var(--a2-line)!important}
.performance-more-comparison>summary,.performance-advanced-section>summary,.report-editor-details>summary,.report-platform-details>summary,.report-advanced-bottom>summary{
  color:var(--a2-text)!important;font-size:12px!important
}

/* Importadores também seguem a mesma densidade visual */
.a2-import-step{background:var(--a2-surface)!important;border-color:var(--a2-line)!important;border-radius:10px!important;color:var(--a2-muted)!important}
.a2-import-step span{background:var(--a2-surface-3)!important;color:var(--a2-muted)!important}
.a2-import-dropzone{background:var(--a2-surface-2)!important;border-color:var(--a2-line-strong)!important;border-radius:12px!important}
.a2-import-dropzone:hover{background:var(--a2-brand-soft)!important;border-color:var(--a2-brand)!important}
.a2-import-drop-icon{background:var(--a2-brand-soft)!important;color:var(--a2-brand)!important;border-radius:10px!important}
.a2-import-dropzone strong,.a2-import-destination strong,.a2-import-review-stats strong{color:var(--a2-text-strong)!important}
.a2-import-destination,.a2-import-dropzone small,.a2-import-review-summary p{color:var(--a2-muted)!important}
.a2-import-review-stats>div,.a2-import-detected-row{background:var(--a2-surface-2)!important;border-color:var(--a2-line)!important}
.a2-import-period-choice{background:var(--a2-warning-soft)!important;border-color:color-mix(in srgb,var(--a2-warning) 30%,transparent)!important}
.a2-import-processing{background:var(--a2-brand-soft)!important;border-color:color-mix(in srgb,var(--a2-brand) 30%,transparent)!important}
.report-pdf-preview-wrap{background:var(--a2-surface-2)!important;border-color:var(--a2-line)!important}

html[data-a2-theme="dark"] .report-pdf-preview{background:#fff!important}
html[data-a2-theme="dark"] .a2-summary-stats>div,
html[data-a2-theme="dark"] .a2-record-meta>span,
html[data-a2-theme="dark"] .client-record-contact,
html[data-a2-theme="dark"] .report-summary-preview,
html[data-a2-theme="dark"] .report-platform-highlight,
html[data-a2-theme="dark"] .a2-import-review-stats>div,
html[data-a2-theme="dark"] .a2-import-detected-row{background:var(--a2-surface-2)!important;color:var(--a2-muted)!important;border-color:var(--a2-line)!important}

/* Minha conta · seletor explícito White/Dark */
.account-theme-card{display:flex;align-items:center;justify-content:space-between;gap:24px}
.account-theme-card h2{margin:5px 0 4px}
.account-theme-card p{margin:0;max-width:620px}
.a2-theme-choices{display:grid;grid-template-columns:repeat(2,minmax(132px,1fr));gap:8px;min-width:300px}
.a2-theme-choice{appearance:none;border:1px solid var(--a2-line);background:var(--a2-surface-2);color:var(--a2-text);border-radius:10px;padding:9px;cursor:pointer;text-align:left;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;gap:1px 9px}
.a2-theme-choice:hover{border-color:var(--a2-line-strong);background:var(--a2-surface-3)}
.a2-theme-choice.is-selected{border-color:var(--a2-brand);box-shadow:0 0 0 2px color-mix(in srgb,var(--a2-brand) 15%,transparent)}
.a2-theme-choice strong{font-size:12px;align-self:end}.a2-theme-choice small{font-size:9.5px;color:var(--a2-muted);align-self:start}
.a2-theme-preview{grid-row:1/3;width:34px;height:34px;border-radius:9px;border:1px solid var(--a2-line);box-shadow:inset 0 0 0 7px transparent}
.a2-theme-preview.white{background:#fff;box-shadow:inset 10px 0 0 #eef1f5}
.a2-theme-preview.dark{background:#171a20;border-color:#373e49;box-shadow:inset 10px 0 0 #0f1115}
@media(max-width:760px){.account-theme-card{display:grid}.a2-theme-choices{min-width:0;width:100%}}

/* Cobertura de componentes legados no Dark sem exigir reescrita de cada módulo */
html[data-a2-theme="dark"] :is(
  .a2-assistant-panel,.a2-assistant-push-box,.a2-batch-upload-card,.a2-command-panel,.a2-completeness-card,.a2-continue-card,
  .a2-endday-card,.a2-guide-modal-panel,.a2-import-completion-card,.a2-import-identify-card,.a2-import-upload-card,.a2-module-summary-card,
  .a2-overview-card,.a2-record-card,.a2-secret-box,.a2-simple-file-card,.a2-simple-upload-card,.access-account-card,.account-permissions-card,
  .account-push-card,.account-theme-card,.analysis-card,.approval-admin-create-card,.approval-caption-box,.approval-created-send-card,
  .approval-link-card,.approval-media-card,.approval-post-card,.approval-traffic-card,.approval-whatsapp-box,.box,.calendar-day-event-card,
  .calendar-day-modal-box,.calendar-seasonal-card,.card,.client-record-card,.content-card,.discovery-panel,.import-help-card,.import-primary-card,
  .integration-card,.login-card,.manual-card,.metric-card,.monthly-generator-card,.moodboard-client-card,.overview-card,.pending-card,
  .performance-filter-card,.performance-focus-card,.performance-format-card,.performance-leader-card,.permissions-help-card,.provider-config-card,
  .provider-connect-card,.push-alerts-card,.push-cron-card,.push-icon-help-card,.push-main-card,.ref17100-panel,.ref17100-share-box,
  .report-platform-card,.report-summary-card,.reporting-filter-card,.settings-ai-box,.settings-assistant-box,.settings-brand-card,
  .settings-brand-preview-box,.settings-cleanup-card,.settings-system-card,.summary-box,.traffic-card,.traffic-dashboard-card,.traffic-saved-card,
  .trello-card,.user-create-card,.user-permission-card,.users-list-card
){background:var(--a2-surface)!important;border-color:var(--a2-line)!important;color:var(--a2-text)!important;box-shadow:none!important}
html[data-a2-theme="dark"] :is(.dangerbox,.danger-zone){background:var(--a2-danger-soft)!important;border-color:color-mix(in srgb,var(--a2-danger) 34%,transparent)!important;color:var(--a2-danger)!important}

/* ===== V17.13.1 · Menu lateral previsível ===== */
.sidebar{z-index:20}
.brand-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 30px;
  align-items:center;
  gap:5px;
  position:relative;
}
.brand-row .brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding:4px!important;
  border-radius:10px!important;
}
.brand-row .brand:hover{background:var(--a2-surface-2)!important}
.sidebar-collapse-btn{
  width:30px;
  height:30px;
  border:1px solid var(--a2-line)!important;
  border-radius:8px;
  background:var(--a2-surface-2)!important;
  color:var(--a2-muted)!important;
  cursor:pointer;
  display:grid;
  place-items:center;
  padding:0;
  transition:background .15s ease,color .15s ease,border-color .15s ease,transform .18s ease;
}
.sidebar-collapse-btn:hover{background:var(--a2-brand-soft)!important;color:var(--a2-brand)!important;border-color:color-mix(in srgb,var(--a2-brand) 34%,var(--a2-line))!important}
.sidebar-collapse-btn span{font-size:20px;line-height:1;transform:translateY(-1px)}
body.sidebar-collapsed .sidebar{
  width:var(--a2-sidebar-collapsed)!important;
  padding:14px 9px!important;
}
body.sidebar-collapsed .main{
  margin-left:var(--a2-sidebar-collapsed)!important;
  width:calc(100% - var(--a2-sidebar-collapsed))!important;
}
body.sidebar-collapsed .brand-row{grid-template-columns:1fr;justify-items:center}
body.sidebar-collapsed .brand-row .brand{justify-content:center;width:100%}
body.sidebar-collapsed .brand-text{display:none!important}
body.sidebar-collapsed .sidebar-collapse-btn{
  position:absolute;
  right:-25px;
  top:7px;
  width:25px;
  height:32px;
  border-left:0!important;
  border-radius:0 8px 8px 0;
  background:var(--a2-surface)!important;
  box-shadow:2px 0 5px rgba(0,0,0,.04);
}
body.sidebar-collapsed .sidebar-collapse-btn span{transform:rotate(180deg) translateY(1px)}
body.sidebar-collapsed .nav-primary>a,
body.sidebar-collapsed .nav-group>summary{
  position:relative;
  justify-content:center!important;
  padding:9px!important;
  min-height:40px!important;
}
body.sidebar-collapsed .nav-primary .nav-label,
body.sidebar-collapsed .nav-group>summary .nav-label,
body.sidebar-collapsed .nav-group>summary .nav-chevron,
body.sidebar-collapsed .nav-group-items,
body.sidebar-collapsed .a2-smart-nav-sections{
  display:none!important;
}
body.sidebar-collapsed .nav-primary .nav-badge{
  position:absolute;
  top:3px;
  right:3px;
  min-width:16px;
  width:auto;
  height:16px;
  padding:0 4px;
  font-size:8px;
}
body.sidebar-collapsed .nav-group.is-active>summary,
body.sidebar-collapsed .nav-primary>a.active{
  background:var(--a2-brand-soft)!important;
  color:var(--a2-brand)!important;
}
body.sidebar-collapsed .nav-divider{margin:7px 5px!important}
body.sidebar-collapsed .a2-sidebar-tools{
  grid-template-columns:1fr!important;
  gap:5px!important;
  padding:7px 0!important;
}
body.sidebar-collapsed .a2-sidebar-tool{
  width:42px!important;
  min-width:42px!important;
  height:38px!important;
  margin:0 auto!important;
  padding:7px!important;
  justify-content:center!important;
  position:relative;
}
body.sidebar-collapsed .a2-sidebar-tool .a2-tool-label,
body.sidebar-collapsed .a2-sidebar-tool .a2-theme-label,
body.sidebar-collapsed .a2-sidebar-tool kbd{display:none!important}
body.sidebar-collapsed .a2-sidebar-tool .a2-accent-dot{position:absolute;right:4px;bottom:4px;width:7px;height:7px;border:1px solid var(--a2-surface)}
body.sidebar-collapsed .sidebar-foot{padding-left:0!important;padding-right:0!important}
body.sidebar-collapsed .sidebar-foot>small,
body.sidebar-collapsed .sidebar-foot>strong,
body.sidebar-collapsed .sidebar-role{display:none!important}
body.sidebar-collapsed .sidebar-account-links{grid-template-columns:1fr!important;gap:5px!important}
body.sidebar-collapsed .sidebar-account-links a{width:42px!important;height:38px!important;margin:0 auto!important;padding:7px!important}
body.sidebar-collapsed .sidebar-account-links .nav-label{display:none!important}

/* Destaque visível sem deixar o Dark colorido demais */
.sidebar nav a.active,.nav-subitem.active,.nav-group.is-active>summary{
  position:relative;
}
.sidebar nav a.active::before,.nav-subitem.active::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  bottom:8px;
  width:3px;
  border-radius:3px;
  background:var(--a2-brand);
}
html[data-a2-theme="dark"] .sidebar{
  background:#13161b!important;
  border-color:#262b33!important;
}
html[data-a2-theme="dark"] .main{background:#0f1115!important}
html[data-a2-theme="dark"] .sidebar nav a.active,
html[data-a2-theme="dark"] .nav-subitem.active,
html[data-a2-theme="dark"] .nav-group.is-active>summary{
  background:color-mix(in srgb,var(--a2-brand) 13%,#171a20)!important;
  color:var(--a2-text-strong)!important;
}
html[data-a2-theme="dark"] .sidebar nav a.active .nav-icon,
html[data-a2-theme="dark"] .nav-group.is-active>summary .nav-icon{color:var(--a2-brand)!important;opacity:1}
html[data-a2-theme="dark"] .a2-global-toolbar{border-bottom-color:#242932!important}
html[data-a2-theme="dark"] .card,
html[data-a2-theme="dark"] .metric-card,
html[data-a2-theme="dark"] .report-platform-card,
html[data-a2-theme="dark"] .client-list-card{
  background:#171a20!important;
  border-color:#292e37!important;
}
html[data-a2-theme="dark"] input,
html[data-a2-theme="dark"] select,
html[data-a2-theme="dark"] textarea,
html[data-a2-theme="dark"] .input{
  background:#14171c!important;
  border-color:#333944!important;
}
html[data-a2-theme="dark"] .btn.secondary,
html[data-a2-theme="dark"] .btn.ghost{
  background:#20242c!important;
  border-color:#313741!important;
}
html[data-a2-theme="dark"] .btn.secondary:hover,
html[data-a2-theme="dark"] .btn.ghost:hover{background:#282d37!important;border-color:color-mix(in srgb,var(--a2-brand) 34%,#343a45)!important}
html[data-a2-theme="dark"] .tabs a.active{background:var(--a2-brand)!important;border-color:var(--a2-brand)!important;color:var(--a2-brand-contrast)!important}
html[data-a2-theme="dark"] .badge:not(.ok):not(.warn){background:#22262e!important;color:#aeb6c2!important;border-color:#303640!important}
html[data-a2-theme="dark"] ::selection{background:color-mix(in srgb,var(--a2-brand) 48%,transparent);color:#fff}

/* Cor de destaque · Minha conta */
.a2-appearance-controls{display:grid;gap:15px;min-width:min(440px,100%)}
.a2-appearance-group{display:grid;gap:8px}
.a2-appearance-group>span{font-size:10px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;color:var(--a2-muted)}
.a2-accent-choices{display:flex;gap:8px;flex-wrap:wrap}
.a2-accent-choice{
  appearance:none;
  width:38px;
  height:38px;
  padding:4px;
  border-radius:11px;
  border:1px solid var(--a2-line);
  background:var(--a2-surface-2);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease;
}
.a2-accent-choice:hover{transform:translateY(-1px);border-color:var(--a2-line-strong)}
.a2-accent-choice.is-selected{border-color:var(--a2-brand);box-shadow:0 0 0 2px color-mix(in srgb,var(--a2-brand) 18%,transparent)}
.a2-accent-choice i{width:22px;height:22px;border-radius:7px;display:block}
.a2-accent-choice[data-accent-choice="blue"] i{background:#3975f6}
.a2-accent-choice[data-accent-choice="violet"] i{background:#7658e8}
.a2-accent-choice[data-accent-choice="teal"] i{background:#168b7d}
.a2-accent-choice[data-accent-choice="orange"] i{background:#d9652d}
.a2-accent-choice[data-accent-choice="rose"] i{background:#d94d79}
.a2-accent-dot{display:inline-block;width:9px;height:9px;border-radius:999px;background:var(--a2-brand);flex:none}
.a2-accent-current{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--a2-muted)}

@media(max-width:900px){
  .sidebar-collapse-btn{display:none!important}
  .brand-row{grid-template-columns:1fr!important}
  body.sidebar-collapsed .sidebar{width:min(286px,88vw)!important;padding:12px!important}
  body.sidebar-collapsed .main{margin-left:0!important;width:100%!important}
  body.sidebar-collapsed .brand-text{display:inline!important}
  body.sidebar-collapsed .nav-primary .nav-label,
  body.sidebar-collapsed .nav-group>summary .nav-label,
  body.sidebar-collapsed .nav-group>summary .nav-chevron,
  body.sidebar-collapsed .nav-group-items{display:grid!important}
  body.sidebar-collapsed .a2-smart-nav-sections{display:grid!important}
}
body.a2-client-portal .portal-btn:not(.secondary),
body.a2-client-portal .portal-tab.active{background:var(--a2-brand)!important;border-color:var(--a2-brand)!important;color:var(--a2-brand-contrast)!important}
body.a2-client-portal .portal-readonly{background:var(--a2-brand-soft)!important;color:var(--a2-brand)!important}
html[data-a2-theme="dark"] .nav-group[open]>summary:not(:hover){background:#1c2027!important;color:var(--a2-text)!important}
html[data-a2-theme="dark"] .nav-group.is-active>summary{background:color-mix(in srgb,var(--a2-brand) 13%,#171a20)!important;color:var(--a2-text-strong)!important}
html[data-a2-theme="dark"] .sidebar-role{background:#20242c!important;border-color:#303641!important;color:#aab3c0!important}
html[data-a2-theme="dark"] .sidebar-foot .account-link{background:#1c2027!important;border-color:#2c323c!important;color:#d9dee6!important}
html[data-a2-theme="dark"] .sidebar-foot .account-link:hover{background:#242932!important}
html[data-a2-theme="dark"] .sidebar-foot .logout-link{background:#24191b!important;border-color:#43262a!important;color:#ef8e8b!important}
html[data-a2-theme="dark"] .sidebar-foot .logout-link:hover{background:#2e1c20!important}
html[data-a2-theme="dark"] .nav-divider{background:#272c34!important}
/* Mobile Dark completo */
html[data-a2-theme="dark"] .mobile-brand strong{color:var(--a2-text-strong)!important}
html[data-a2-theme="dark"] .mobile-brand small{color:var(--a2-muted)!important}
html[data-a2-theme="dark"] .mobile-menu-btn{background:#1b1f26!important;border-color:#303640!important;color:var(--a2-text)!important}
html[data-a2-theme="dark"] .mobile-menu-btn span{background:var(--a2-text)!important}
html[data-a2-theme="dark"] .mobile-topbar{background:rgba(19,22,27,.94)!important}
html[data-a2-theme="dark"] .a2-mobile-bottom{background:rgba(19,22,27,.96)!important}
.a2-mobile-theme{position:relative}
.a2-mobile-theme::after{content:"";position:absolute;right:5px;bottom:5px;width:6px;height:6px;border-radius:999px;background:var(--a2-brand);border:1px solid var(--a2-surface)}

/* ========================================================================== 
   A2 Social 17.13.3 · DARK COMPLETO
   Cobertura dos componentes legados que ainda usavam branco/cinza fixo.
   O bloco é screen-only para preservar a impressão/PDF sempre em fundo claro.
   ========================================================================== */
@media screen {
  html[data-a2-theme="dark"]{
    color-scheme:dark;
    --a2-bg:#090d12;
    --a2-surface:#101720;
    --a2-surface-2:#151e29;
    --a2-surface-3:#1b2735;
    --a2-text:#dce6f2;
    --a2-text-strong:#f4f7fb;
    --a2-muted:#8fa1b5;
    --a2-muted-2:#687b91;
    --a2-line:#223144;
    --a2-line-strong:#30445c;
    --a2-success:#56c98c;
    --a2-success-soft:#10281d;
    --a2-warning:#f0ad55;
    --a2-warning-soft:#2e2112;
    --a2-danger:#f07979;
    --a2-danger-soft:#301719;
    --a2-shadow:0 1px 2px rgba(0,0,0,.28);
    --a2-shadow-float:0 24px 64px rgba(0,0,0,.50);
    --bg:var(--a2-bg);
    --card:var(--a2-surface);
    --text:var(--a2-text);
    --muted:var(--a2-muted);
    --line:var(--a2-line);
    --surface:var(--a2-surface);
    --surface-2:var(--a2-surface-2);
    --panel:var(--a2-surface);
    --border:var(--a2-line);
    --background:var(--a2-bg);
  }

  html[data-a2-theme="dark"] body,
  html[data-a2-theme="dark"] .app-shell,
  html[data-a2-theme="dark"] .main,
  html[data-a2-theme="dark"] .public-main{background:var(--a2-bg)!important;color:var(--a2-text)!important}

  html[data-a2-theme="dark"] .sidebar{
    background:#0d131b!important;
    border-color:#1d2a39!important;
  }
  html[data-a2-theme="dark"] .mobile-topbar,
  html[data-a2-theme="dark"] .a2-mobile-bottom{background:rgba(13,19,27,.96)!important;border-color:var(--a2-line)!important}

  /* Superfícies principais: tudo que era branco passa a usar a superfície Dark. */
  html[data-a2-theme="dark"] :is(
    .table,.alert,.tabs a,.content-card,.message.assistant,.install-steps li,
    .trello-hero,.metric-card,.trello-card,.content-modal-panel,.push-feature-list li,
    .show-more-cards,.notification-item,.traffic-card,.traffic-import-help .content-card,
    .dashboard-tabs,.traffic-dashboard-card,.dashboard-client-summary,.dashboard-summary-grid>div,
    .pending-hero,.quick-status-btn,.user-permission-card,.remember-option,.moodboard-intro,.moodboard-hero,
    .internal-alerts,.log-item,.backup-item,.approval-link-card,.notification-toast,
    .approval-content-section,.approval-created-content,.approval-caption-preview,.approval-client-hero,
    .approval-client-summary>div,.approval-meta-item,.approval-caption-box,.content-media-card,
    .approval-media-card,.content-media-empty,.content-media-upload-label,.approval-links-count,
    .approval-link-card-admin,.content-media-dropzone,.approval-media-carousel .approval-media-card,
    .access-account-card,.company-logo-preview,.cleanup-media-stat,.cleanup-media-list div,
    .client-return-popup,.status-legend-items span,.calendar-day-modal-box,.calendar-day-modal-close,
    .calendar-day-modal-content,.import-tabs,.traffic-import-preview,.preview-table,.preview-table tr,
    .reporting-client-hero,.reporting-period-hero,.report-metric-field .input,.report-platform-detection-card,
    .a2-import-step,.a2-import-guide-dialog,.a2-batch-table-wrap,.a2-wizard-steps,.a2-report-more-menu,
    .a2-editor-metrics,.a2-guide-open,.a2-guide-modal-panel,.a2-collection-item,.a2-assistant-action,
    .a2-assistant-snooze-menu,.a2-assistant-panel,.a2-priority-row,.a2-history-item,.a2-voice-usage-grid>div,
    .client-platform-option,.reporting-compact-head,.a2-module-summary-card,.a2-standard-filter,.a2-summary-stats>div,
    .a2-auto-hero,.a2-auto-step,.a2-create-popover,.a2-command-panel,.a2-continue-card,.a2-today-hero,
    .a2-today-kpi,.a2-auto-state,.a2-auto-artifacts,.a2-auto-artifacts pre,.a2-suite-card,.a2-gov-card,
    .box,.analysis-card,.overview-card,.manual-card,.pending-card,.integration-card,.provider-config-card,
    .provider-connect-card,.push-alerts-card,.push-main-card,.push-cron-card,.push-icon-help-card,
    .settings-brand-card,.settings-system-card,.settings-cleanup-card,.settings-ai-box,.settings-assistant-box,
    .user-create-card,.users-list-card,.account-permissions-card,.account-push-card,.account-theme-card,
    .performance-filter-card,.performance-focus-card,.performance-format-card,.performance-leader-card,
    .report-summary-card,.report-platform-card,.reporting-filter-card,.client-list-card,.client-view-hero,
    .client-form-card,.report-period-card,.a2-record-card,.a2-overview-card,.a2-module-summary-card,
    .calendar-seasonal-card,.calendar-day,.approval-public-card,.approval-post-card,.approval-traffic-card,
    .approval-admin-create-card,.approval-created-send-card,.approval-whatsapp-box,.access-account-card,
    .ref17100-panel,.ref17100-share-box,.monthly-generator-card,.moodboard-client-card
  ){
    background:var(--a2-surface)!important;
    border-color:var(--a2-line)!important;
    color:var(--a2-text)!important;
    box-shadow:none!important;
  }

  /* Subsuperfícies: cinzas claros viram níveis intermediários no Dark. */
  html[data-a2-theme="dark"] :is(
    .table th,.chat-box,.kanban-col,.trello-list,.trello-list-header span,.content-modal-close,
    .modal-status,.content-detail-row,.push-state-row>div,.push-cron-url code,.calendar-day,
    .traffic-meta span,.traffic-mini-summary div,.traffic-dashboard-list,.traffic-dashboard-header span,
    .quick-status-wrap,.permission-group,.sidebar-role,.internal-alert,.log-values,.comment-internal-note,
    .approval-meta-grid>div,.approval-content-section.theme,.approval-created-content.is-empty,
    .approval-public-badge,.approval-post-number,.approval-last-feedback,.approval-client-form,
    .content-media-section,.content-media-thumb,.content-media-file,.approval-media-card>a,.approval-media-file,
    .approval-media-empty,.approval-link-status.is-inactive,.approval-link-meta span,.approval-copy-field .input,
    .approval-content-layout .approval-media-section,.content-media-dropzone em,.approval-media-open,
    .approval-media-track,.approval-media-carousel .approval-media-open,.approval-media-carousel .approval-media-file,
    .approval-media-carousel .approval-media-card img,.approval-media-carousel .approval-media-card video,
    .access-create-details,.access-edit-details,.access-account-info>div,.empty-state,.approval-whatsapp-box,
    .company-logo-config-card,.settings-brand-preview-box,.settings-app-icon-preview,.cleanup-media-details,
    .calendar-filter-checks label,.seasonal-recurring-check,.notification-item.is-custom,.import-workspace pre,
    .import-model,.preview-table th,.preview-summary span,.preview-status,.metric-delta.neutral,.sync-nao_conectado,
    .provider-hint,.report-import-image,.report-import-metrics-grid .report-metric-field.detected,
    .a2-import-dropzone,.a2-import-step span,.a2-editor-platform-kpis>div,.a2-guide-level.optional,
    .a2-collection-checkmark,.settings-assistant-box,.a2-assistant-push-box,.report-ai-toolbar,
    .client-platform-chip,.client-record-platforms .client-platform-chip,.client-record-contact,
    .report-summary-preview,.report-platform-highlight,.a2-command-hint,.a2-sidebar-tool,
    .a2-auto-artifacts pre,.a2-summary-stats>div,.a2-record-meta>span,.client-record-contact
  ){
    background:var(--a2-surface-2)!important;
    border-color:var(--a2-line)!important;
    color:var(--a2-text)!important;
  }

  /* Elementos elevados/selecionáveis. */
  html[data-a2-theme="dark"] :is(
    .sidebar nav a:hover,.nav-group>summary:hover,.a2-sidebar-tool:hover,.a2-create-popover a:hover,
    .a2-report-more-menu>a:hover,.a2-report-more-menu .btn:hover,.notification-toast-close:hover,
    .client-return-close:hover,.calendar-day-modal-close:hover,.import-tab:hover,.a2-assistant-action:hover,
    .notification-toast-replay:hover,.quick-status-btn:hover,.show-more-cards:hover
  ){background:var(--a2-surface-3)!important;color:var(--a2-text-strong)!important;border-color:var(--a2-line-strong)!important}

  /* Forms e controles nativos. */
  html[data-a2-theme="dark"] :is(input,select,textarea,.input,.period-picker){
    background:#0d141d!important;
    color:var(--a2-text)!important;
    border-color:var(--a2-line-strong)!important;
    caret-color:var(--a2-brand)!important;
  }
  html[data-a2-theme="dark"] :is(option,optgroup){background:#101720!important;color:var(--a2-text)!important}
  html[data-a2-theme="dark"] input::placeholder,
  html[data-a2-theme="dark"] textarea::placeholder{color:#61748a!important;opacity:1}
  html[data-a2-theme="dark"] input[type="checkbox"],
  html[data-a2-theme="dark"] input[type="radio"]{accent-color:var(--a2-brand)}
  html[data-a2-theme="dark"] input:-webkit-autofill,
  html[data-a2-theme="dark"] input:-webkit-autofill:hover,
  html[data-a2-theme="dark"] input:-webkit-autofill:focus{
    -webkit-text-fill-color:var(--a2-text)!important;
    -webkit-box-shadow:0 0 0 1000px #0d141d inset!important;
    transition:background-color 9999s ease-out 0s;
  }

  /* Textos neutros que estavam gravados em tons escuros. */
  html[data-a2-theme="dark"] :is(
    .sidebar nav a,.trello-list-header h3,.trello-card h4,.card-theme,.content-modal-head p,
    .content-detail-row p,.push-state-row strong,.push-feature-list strong,.traffic-dashboard-header h3,
    .dashboard-summary-grid strong,.quick-status-btn,.internal-alerts-title,.log-values,.approval-caption-preview,
    .approval-client-summary strong,.approval-meta-item strong,.content-media-dropzone,.access-account-info strong,
    .status-legend-items span,.calendar-day-modal-content,.metric-table td,.report-metric-field label,
    .a2-import-step,.a2-collection-item,.a2-priority-row,.a2-history-item,.client-check,.client-link-field,
    .diag-row,.diag-help-grid>div
  ){color:var(--a2-text)!important}
  html[data-a2-theme="dark"] :is(
    .card-client,.card-objective,.card-hint,.content-detail-row span,.push-state-row small,.push-feature-list span,
    .traffic-meta,.log-date,.comment-internal-note,.approval-meta-grid small,.approval-public-badge,
    .approval-post-number,.approval-last-feedback,.approval-link-meta span,.access-account-info small,.empty-state,
    .calendar-day-modal-status,.preview-status,.provider-hint,.a2-import-destination,.a2-import-dropzone small,
    .a2-import-review-summary p,.a2-command-hint,.a2-summary-stats span,.client-record-platforms>small,
    .portal-chart-empty
  ){color:var(--a2-muted)!important}

  /* Bordas e separadores. */
  html[data-a2-theme="dark"] :is(
    .table th,.table td,.preview-table th,.preview-table td,.metric-table th,.metric-table td,
    .content-modal-head,.content-modal-actions,.card-actions,.report-footer,.portal-chart,.approval-content-section,
    .approval-link-card,.approval-link-card-admin,.log-item,.backup-item,.access-account-card,
    .a2-import-step,.a2-batch-table-wrap,.a2-editor-metrics,.a2-guide-modal-panel,.a2-collection-item
  ){border-color:var(--a2-line)!important}

  /* Estados sem fundo claro. */
  html[data-a2-theme="dark"] :is(
    .alert.success,.btn-action-whatsapp,.btn-action-publish,.internal-alert-planning,.approval-status.aprovado,
    .approval-status.publicado,.calendar-content-chip.status-aprovado,[data-board="traffic"] .traffic-status-ativa,
    .preview-summary .success,.push-status-message.is-success
  ){background:var(--a2-success-soft)!important;color:var(--a2-success)!important;border-color:color-mix(in srgb,var(--a2-success) 34%,var(--a2-line))!important}

  html[data-a2-theme="dark"] :is(
    .alert.error,.inline-alert.error,.user-status.inactive,.notification-toast-today .notification-toast-symbol,
    .notification-toast-danger .notification-toast-symbol,.calendar-content-chip.status-a-fazer,
    .calendar-delete-event-form button,.preview-summary .danger,.preview-status.danger,.sync-desconectado,
    .metric-delta.down,.import-confidence.baixa,.danger-zone,.danger-outline
  ){background:var(--a2-danger-soft)!important;color:var(--a2-danger)!important;border-color:color-mix(in srgb,var(--a2-danger) 34%,var(--a2-line))!important}

  html[data-a2-theme="dark"] :is(
    .alert.warning,.inline-alert.warn,.sync-atencao,.moodboard-progress.warn,.internal-alert-late,
    .approval-status.revisao,.approval-last-feedback.is-review,.notification-toast-symbol,
    .notification-toast-warning .notification-toast-symbol,.calendar-content-chip.status-em-criacao,
    [data-board="traffic"] .traffic-status-criativos_em_criacao,[data-board="traffic"] .traffic-status-pausada,
    .preview-summary .warning,.a2-import-period-choice,.a2-batch-table tr.needs-review,
    .a2-completeness-alert,.a2-final-check-warning,.a2-simple-warning,.a2-guide-note,
    .a2-guide-level.recommended,.a2-priority-badge.is-alta,.a2-approval-stale-note,.client-return-symbol,
    .client-return-request,.user-client-tags .warn
  ){background:var(--a2-warning-soft)!important;color:var(--a2-warning)!important;border-color:color-mix(in srgb,var(--a2-warning) 34%,var(--a2-line))!important}

  html[data-a2-theme="dark"] :is(
    .alert.info,.push-status-message.is-info,.report-ai-toolbar,.provider-hint,.report-import-metrics-grid .report-metric-field.detected,
    .a2-import-processing,.type-badge,.user-client-tags span
  ){background:var(--a2-brand-soft)!important;color:var(--a2-brand)!important;border-color:color-mix(in srgb,var(--a2-brand) 34%,var(--a2-line))!important}

  /* Badges de conteúdo ganham fundos escuros, mantendo identificação por cor. */
  html[data-a2-theme="dark"] .badge-carrossel{background:#122238!important;color:#74a7ff!important;border-color:#234a7a!important}
  html[data-a2-theme="dark"] .badge-reels{background:#25193b!important;color:#bb8cff!important;border-color:#4a3171!important}
  html[data-a2-theme="dark"] .badge-post-estatico{background:#11291d!important;color:#67d596!important;border-color:#28563c!important}
  html[data-a2-theme="dark"] .badge-criativo{background:#302114!important;color:#f3ad61!important;border-color:#65411f!important}
  html[data-a2-theme="dark"] .badge-humanizada{background:#331827!important;color:#f783b1!important;border-color:#65314a!important}
  html[data-a2-theme="dark"] :is(.badge-institucional,.badge-default){background:var(--a2-surface-3)!important;color:var(--a2-muted)!important;border-color:var(--a2-line-strong)!important}

  /* Kanban/status: preserva a cor sem virar blocos claros. */
  html[data-a2-theme="dark"] .trello-list.status-a-fazer .trello-list-header span{background:#32191d!important;color:#ff8c8c!important;border-color:#633039!important}
  html[data-a2-theme="dark"] .trello-list.status-em-criacao .trello-list-header span{background:#302815!important;color:#f5d76e!important;border-color:#5d4e22!important}
  html[data-a2-theme="dark"] .trello-list.status-aguardando-aprovacao .trello-list-header span{background:#271c3b!important;color:#bd97ff!important;border-color:#4b356b!important}
  html[data-a2-theme="dark"] .trello-list.status-revisao .trello-list-header span{background:#34192a!important;color:#f387b4!important;border-color:#66324e!important}
  html[data-a2-theme="dark"] .trello-list.status-aprovado .trello-list-header span{background:#12291d!important;color:#68d69a!important;border-color:#28563c!important}
  html[data-a2-theme="dark"] .trello-list.status-publicado .trello-list-header span{background:#102a30!important;color:#63d4df!important;border-color:#25555c!important}

  /* Logos/configuração: não deixam uma placa branca no Dark. */
  html[data-a2-theme="dark"] :is(.brand-logo,.company-logo-preview){background:var(--a2-surface-3)!important;border-color:var(--a2-line-strong)!important}

  /* Usuários · vínculo de clientes estava com CSS inline claro. */
  html[data-a2-theme="dark"] .client-check-grid{background:var(--a2-surface-2)!important;border-color:var(--a2-line)!important}
  html[data-a2-theme="dark"] .client-check{background:var(--a2-surface)!important;border-color:var(--a2-line)!important;color:var(--a2-text)!important}
  html[data-a2-theme="dark"] .client-check:hover{background:var(--a2-surface-3)!important;border-color:var(--a2-line-strong)!important}

  /* Diagnóstico usa aliases --panel / --border e também recebe reforço aqui. */
  html[data-a2-theme="dark"] :is(.diag-row,.diag-help-grid>div){background:var(--a2-surface)!important;border-color:var(--a2-line)!important;color:var(--a2-text)!important}

  /* Portal do cliente: Dark de ponta a ponta. */
  html[data-a2-theme="dark"] body.a2-client-portal :is(
    .portal-topbar,.portal-period,.portal-tab,.report-paper,.report-hero,.overview,.overview-card,.platform-report,
    .kpi,.portal-chart,.metric-group,.analysis-card,.portal-client-switch select
  ){background:var(--a2-surface)!important;color:var(--a2-text)!important;border-color:var(--a2-line)!important;box-shadow:none!important}
  html[data-a2-theme="dark"] body.a2-client-portal :is(.overview-card,.kpi,.metric-group h3,.analysis-card){background:var(--a2-surface-2)!important}
  html[data-a2-theme="dark"] body.a2-client-portal :is(.metric-table th,.metric-table td,.report-footer,.portal-chart){border-color:var(--a2-line)!important}
  html[data-a2-theme="dark"] body.a2-client-portal :is(.report-hero h2,.report-hero p,.overview p,.overview-card span,.platform-head small,.platform-intro,.kpi span,.metric-table th,.analysis-card p,.report-footer,.portal-client-switch label){color:var(--a2-muted)!important}
  html[data-a2-theme="dark"] body.a2-client-portal .portal-sparkline line{stroke:var(--a2-line)!important}
  html[data-a2-theme="dark"] body.a2-client-portal .portal-sparkline text{fill:var(--a2-muted)!important}

  /* PDF é o único "papel" que continua branco propositalmente. */
  html[data-a2-theme="dark"] .report-pdf-preview-wrap{background:#0b1017!important;border-color:var(--a2-line)!important;padding:10px}
  html[data-a2-theme="dark"] .report-pdf-preview{background:#fff!important;border-radius:8px;box-shadow:0 14px 38px rgba(0,0,0,.38)}

  /* Captura componentes com style inline legado, sem afetar o papel do PDF. */
  html[data-a2-theme="dark"] body :is(
    [style*="background:#fff"],[style*="background: #fff"],[style*="background:#ffffff"],[style*="background: #ffffff"],
    [style*="background:#fafcff"],[style*="background: #fafcff"],[style*="background:#f8fafc"],[style*="background: #f8fafc"],
    [style*="background-color:#fff"],[style*="background-color: #fff"],[style*="background-color:#ffffff"],[style*="background-color: #ffffff"]
  ):not(.report-pdf-preview){background:var(--a2-surface)!important;color:var(--a2-text)!important;border-color:var(--a2-line)!important}

  /* Scrollbars: evita barras claras em navegadores Chromium. */
  html[data-a2-theme="dark"] *{scrollbar-color:#30445c #0d141d}
  html[data-a2-theme="dark"] *::-webkit-scrollbar{width:10px;height:10px}
  html[data-a2-theme="dark"] *::-webkit-scrollbar-track{background:#0d141d}
  html[data-a2-theme="dark"] *::-webkit-scrollbar-thumb{background:#30445c;border:2px solid #0d141d;border-radius:999px}
  html[data-a2-theme="dark"] *::-webkit-scrollbar-thumb:hover{background:#405873}
}

/* ===== 17.13.3 · cobertura automática dos estilos legados claros ===== */
@media screen {
html[data-a2-theme="dark"] .a2-assistant-action,
html[data-a2-theme="dark"] .a2-assistant-panel,
html[data-a2-theme="dark"] .a2-assistant-snooze-menu,
html[data-a2-theme="dark"] .a2-auto-hero,
html[data-a2-theme="dark"] .a2-auto-step,
html[data-a2-theme="dark"] .a2-batch-table-wrap,
html[data-a2-theme="dark"] .a2-collection-item,
html[data-a2-theme="dark"] .a2-command-panel,
html[data-a2-theme="dark"] .a2-confidence.is-média,
html[data-a2-theme="dark"] .a2-continue-card,
html[data-a2-theme="dark"] .a2-create-popover,
html[data-a2-theme="dark"] .a2-editor-metrics,
html[data-a2-theme="dark"] .a2-guide-modal-panel,
html[data-a2-theme="dark"] .a2-guide-open,
html[data-a2-theme="dark"] .a2-history-item,
html[data-a2-theme="dark"] .a2-import-guide-dialog,
html[data-a2-theme="dark"] .a2-import-step,
html[data-a2-theme="dark"] .a2-module-summary-card,
html[data-a2-theme="dark"] .a2-priority-row,
html[data-a2-theme="dark"] .a2-report-more-menu,
html[data-a2-theme="dark"] .a2-search-trigger kbd,
html[data-a2-theme="dark"] .a2-sidebar-tool kbd,
html[data-a2-theme="dark"] .a2-simple-file-card.needs-attention .a2-simple-file-status span,
html[data-a2-theme="dark"] .a2-standard-filter,
html[data-a2-theme="dark"] .a2-summary-stats>div,
html[data-a2-theme="dark"] .a2-system-banner.demo,
html[data-a2-theme="dark"] .a2-today-hero,
html[data-a2-theme="dark"] .a2-today-kpi,
html[data-a2-theme="dark"] .a2-voice-usage-grid>div,
html[data-a2-theme="dark"] .a2-wizard-steps,
html[data-a2-theme="dark"] .access-account-card,
html[data-a2-theme="dark"] .alert,
html[data-a2-theme="dark"] .approval-caption-box,
html[data-a2-theme="dark"] .approval-caption-preview,
html[data-a2-theme="dark"] .approval-client-form textarea,
html[data-a2-theme="dark"] .approval-client-hero,
html[data-a2-theme="dark"] .approval-client-summary>div,
html[data-a2-theme="dark"] .approval-content-section,
html[data-a2-theme="dark"] .approval-created-content,
html[data-a2-theme="dark"] .approval-link-card,
html[data-a2-theme="dark"] .approval-link-card-admin,
html[data-a2-theme="dark"] .approval-links-count,
html[data-a2-theme="dark"] .approval-media-card,
html[data-a2-theme="dark"] .approval-media-carousel .approval-media-card,
html[data-a2-theme="dark"] .approval-media-empty{background:var(--a2-surface)!important;}
html[data-a2-theme="dark"] .approval-meta-item,
html[data-a2-theme="dark"] .approval-whatsapp-text,
html[data-a2-theme="dark"] .backup-item,
html[data-a2-theme="dark"] .brand-logo,
html[data-a2-theme="dark"] .btn-action-neutral,
html[data-a2-theme="dark"] .btn.ghost,
html[data-a2-theme="dark"] .calendar-content-chip span,
html[data-a2-theme="dark"] .calendar-day-modal-box,
html[data-a2-theme="dark"] .calendar-day-modal-close,
html[data-a2-theme="dark"] .calendar-day-modal-content,
html[data-a2-theme="dark"] .calendar-filter-checks label,
html[data-a2-theme="dark"] .calendar-seasonal-card,
html[data-a2-theme="dark"] .cleanup-media-list div,
html[data-a2-theme="dark"] .cleanup-media-stat,
html[data-a2-theme="dark"] .client-platform-chip,
html[data-a2-theme="dark"] .client-platform-option,
html[data-a2-theme="dark"] .client-return-popup,
html[data-a2-theme="dark"] .company-logo-preview,
html[data-a2-theme="dark"] .content-card,
html[data-a2-theme="dark"] .content-media-card,
html[data-a2-theme="dark"] .content-media-dropzone,
html[data-a2-theme="dark"] .content-media-empty,
html[data-a2-theme="dark"] .content-media-upload-label,
html[data-a2-theme="dark"] .content-modal-panel,
html[data-a2-theme="dark"] .dashboard-client-summary,
html[data-a2-theme="dark"] .dashboard-summary-grid div,
html[data-a2-theme="dark"] .dashboard-tabs,
html[data-a2-theme="dark"] .import-tabs,
html[data-a2-theme="dark"] .input,
html[data-a2-theme="dark"] .install-steps li,
html[data-a2-theme="dark"] .internal-alerts,
html[data-a2-theme="dark"] .log-item,
html[data-a2-theme="dark"] .message.assistant,
html[data-a2-theme="dark"] .metric-card,
html[data-a2-theme="dark"] .mobile-menu-btn,
html[data-a2-theme="dark"] .moodboard-hero,
html[data-a2-theme="dark"] .moodboard-intro,
html[data-a2-theme="dark"] .notification-item,
html[data-a2-theme="dark"] .notification-toast,
html[data-a2-theme="dark"] .pending-hero,
html[data-a2-theme="dark"] .period-picker,
html[data-a2-theme="dark"] .preview-summary span,
html[data-a2-theme="dark"] .preview-table,
html[data-a2-theme="dark"] .preview-table tr,
html[data-a2-theme="dark"] .push-feature-list li{background:var(--a2-surface)!important;}
html[data-a2-theme="dark"] .quick-status-btn,
html[data-a2-theme="dark"] .quick-status-icon.icon-copy::before,
html[data-a2-theme="dark"] .remember-option:hover,
html[data-a2-theme="dark"] .report-metric-field .input,
html[data-a2-theme="dark"] .report-platform-detection-card,
html[data-a2-theme="dark"] .reporting-client-hero,
html[data-a2-theme="dark"] .reporting-compact-head,
html[data-a2-theme="dark"] .reporting-period-hero,
html[data-a2-theme="dark"] .seasonal-recurring-check,
html[data-a2-theme="dark"] .show-more-cards,
html[data-a2-theme="dark"] .sidebar,
html[data-a2-theme="dark"] .sidebar-foot .logout-link,
html[data-a2-theme="dark"] .status-legend-items span,
html[data-a2-theme="dark"] .table,
html[data-a2-theme="dark"] .tabs a,
html[data-a2-theme="dark"] .traffic-card,
html[data-a2-theme="dark"] .traffic-dashboard-card,
html[data-a2-theme="dark"] .traffic-dashboard-header span,
html[data-a2-theme="dark"] .traffic-import-help .content-card,
html[data-a2-theme="dark"] .traffic-import-preview,
html[data-a2-theme="dark"] .trello-card,
html[data-a2-theme="dark"] .trello-hero,
html[data-a2-theme="dark"] .trello-list-header span,
html[data-a2-theme="dark"] .user-permission-card,
html[data-a2-theme="dark"] button[data-board-toggle-all],
html[data-a2-theme="dark"] button[data-show-more-traffic],
html[data-a2-theme="dark"] button[data-show-more],
html[data-a2-theme="dark"] input[type="date"].input,
html[data-a2-theme="dark"] input[type="month"].input,
html[data-a2-theme="dark"] select,
html[data-a2-theme="dark"] textarea{background:var(--a2-surface)!important;}
html[data-a2-theme="dark"] .a2-assistant-action:hover,
html[data-a2-theme="dark"] .a2-assistant-push-box,
html[data-a2-theme="dark"] .a2-assistant-snooze-menu button:hover,
html[data-a2-theme="dark"] .a2-auto-artifacts pre,
html[data-a2-theme="dark"] .a2-collection-checkmark,
html[data-a2-theme="dark"] .a2-command-hint,
html[data-a2-theme="dark"] .a2-completeness-missing span,
html[data-a2-theme="dark"] .a2-completeness-summary>div,
html[data-a2-theme="dark"] .a2-editor-platform-kpis>div,
html[data-a2-theme="dark"] .a2-guide-close,
html[data-a2-theme="dark"] .a2-guide-level.optional,
html[data-a2-theme="dark"] .a2-guide-metrics span,
html[data-a2-theme="dark"] .a2-import-dropzone,
html[data-a2-theme="dark"] .a2-import-processing,
html[data-a2-theme="dark"] .a2-import-review-stats>div,
html[data-a2-theme="dark"] .a2-import-step span,
html[data-a2-theme="dark"] .a2-import-summary-chips span,
html[data-a2-theme="dark"] .a2-mobile-search,
html[data-a2-theme="dark"] .a2-report-more-menu .btn:hover,
html[data-a2-theme="dark"] .a2-report-more-menu>a:hover,
html[data-a2-theme="dark"] .a2-sidebar-tool,
html[data-a2-theme="dark"] .a2-sidebar-tool:hover,
html[data-a2-theme="dark"] .access-account-info > div,
html[data-a2-theme="dark"] .access-create-details,
html[data-a2-theme="dark"] .access-edit-details,
html[data-a2-theme="dark"] .approval-client-form,
html[data-a2-theme="dark"] .approval-content-layout .approval-media-card img,
html[data-a2-theme="dark"] .approval-content-layout .approval-media-card video,
html[data-a2-theme="dark"] .approval-content-layout .approval-media-section,
html[data-a2-theme="dark"] .approval-content-section.theme,
html[data-a2-theme="dark"] .approval-copy-field .input,
html[data-a2-theme="dark"] .approval-created-content.is-empty,
html[data-a2-theme="dark"] .approval-hashtags,
html[data-a2-theme="dark"] .approval-last-feedback,
html[data-a2-theme="dark"] .approval-link-meta span,
html[data-a2-theme="dark"] .approval-media-card>a,
html[data-a2-theme="dark"] .approval-media-carousel .approval-media-card img,
html[data-a2-theme="dark"] .approval-media-carousel .approval-media-card video,
html[data-a2-theme="dark"] .approval-media-carousel .approval-media-file,
html[data-a2-theme="dark"] .approval-media-carousel .approval-media-open,
html[data-a2-theme="dark"] .approval-media-empty,
html[data-a2-theme="dark"] .approval-media-file,
html[data-a2-theme="dark"] .approval-media-open,
html[data-a2-theme="dark"] .approval-media-track,
html[data-a2-theme="dark"] .approval-meta-grid>div{background:var(--a2-surface-2)!important;}
html[data-a2-theme="dark"] .approval-post-number,
html[data-a2-theme="dark"] .approval-public-badge,
html[data-a2-theme="dark"] .approval-public-help,
html[data-a2-theme="dark"] .approval-status,
html[data-a2-theme="dark"] .approval-status-pill,
html[data-a2-theme="dark"] .approval-whatsapp-box,
html[data-a2-theme="dark"] .badge,
html[data-a2-theme="dark"] .badge-carrossel,
html[data-a2-theme="dark"] .badge-default,
html[data-a2-theme="dark"] .badge-institucional,
html[data-a2-theme="dark"] .btn-action-edit,
html[data-a2-theme="dark"] .btn-action-filter,
html[data-a2-theme="dark"] .btn-action-neutral,
html[data-a2-theme="dark"] .btn.secondary,
html[data-a2-theme="dark"] .calendar-content-chip,
html[data-a2-theme="dark"] .calendar-content-chip:hover,
html[data-a2-theme="dark"] .calendar-day,
html[data-a2-theme="dark"] .calendar-day-modal-close:hover,
html[data-a2-theme="dark"] .calendar-day-modal-status,
html[data-a2-theme="dark"] .calendar-more-button:hover,
html[data-a2-theme="dark"] .card-media-badge,
html[data-a2-theme="dark"] .card-meta span,
html[data-a2-theme="dark"] .chat-box,
html[data-a2-theme="dark"] .cleanup-media-details,
html[data-a2-theme="dark"] .client-platform-option:has(input:checked),
html[data-a2-theme="dark"] .client-record-contact,
html[data-a2-theme="dark"] .client-record-platforms .client-platform-chip,
html[data-a2-theme="dark"] .client-return-close:hover,
html[data-a2-theme="dark"] .comment-internal-note,
html[data-a2-theme="dark"] .company-logo-config-card,
html[data-a2-theme="dark"] .content-detail-row,
html[data-a2-theme="dark"] .content-media-drop-icon,
html[data-a2-theme="dark"] .content-media-dropzone em,
html[data-a2-theme="dark"] .content-media-file,
html[data-a2-theme="dark"] .content-media-section,
html[data-a2-theme="dark"] .content-media-thumb,
html[data-a2-theme="dark"] .content-modal-close,
html[data-a2-theme="dark"] .dashboard-tab:hover,
html[data-a2-theme="dark"] .empty-state,
html[data-a2-theme="dark"] .import-model,
html[data-a2-theme="dark"] .import-tab:hover,
html[data-a2-theme="dark"] .import-workspace pre,
html[data-a2-theme="dark"] .internal-alert,
html[data-a2-theme="dark"] .internal-alert-approval,
html[data-a2-theme="dark"] .kanban-col{background:var(--a2-surface-2)!important;}
html[data-a2-theme="dark"] .log-values,
html[data-a2-theme="dark"] .message.user,
html[data-a2-theme="dark"] .metric-delta.neutral,
html[data-a2-theme="dark"] .metric-source-badge.manual,
html[data-a2-theme="dark"] .mini-chip,
html[data-a2-theme="dark"] .modal-status,
html[data-a2-theme="dark"] .moodboard-progress,
html[data-a2-theme="dark"] .notification-item.is-custom,
html[data-a2-theme="dark"] .notification-toast-close:hover,
html[data-a2-theme="dark"] .notification-toast-replay:hover,
html[data-a2-theme="dark"] .notification-toast-traffic .notification-toast-symbol,
html[data-a2-theme="dark"] .notification-topline span,
html[data-a2-theme="dark"] .pending-count,
html[data-a2-theme="dark"] .permission-group,
html[data-a2-theme="dark"] .preview-status,
html[data-a2-theme="dark"] .preview-table th,
html[data-a2-theme="dark"] .push-cron-url code,
html[data-a2-theme="dark"] .push-state-row>div,
html[data-a2-theme="dark"] .push-status-message,
html[data-a2-theme="dark"] .quick-status-btn:hover,
html[data-a2-theme="dark"] .quick-status-wrap,
html[data-a2-theme="dark"] .remember-option,
html[data-a2-theme="dark"] .report-import-image,
html[data-a2-theme="dark"] .report-platform-highlight,
html[data-a2-theme="dark"] .report-source-chip:hover,
html[data-a2-theme="dark"] .report-summary-preview,
html[data-a2-theme="dark"] .settings-app-icon-preview,
html[data-a2-theme="dark"] .settings-assistant-box,
html[data-a2-theme="dark"] .settings-brand-preview-box,
html[data-a2-theme="dark"] .show-more-cards,
html[data-a2-theme="dark"] .show-more-cards:hover,
html[data-a2-theme="dark"] .show-more-traffic,
html[data-a2-theme="dark"] .sidebar nav a.active,
html[data-a2-theme="dark"] .sidebar nav a:hover,
html[data-a2-theme="dark"] .sidebar-foot .account-link,
html[data-a2-theme="dark"] .sidebar-foot .account-link:hover,
html[data-a2-theme="dark"] .sidebar-role,
html[data-a2-theme="dark"] .status-em_criacao,
html[data-a2-theme="dark"] .status-enviar_para_aprovacao,
html[data-a2-theme="dark"] .sync-nao_conectado,
html[data-a2-theme="dark"] .table th,
html[data-a2-theme="dark"] .traffic-dashboard-list,
html[data-a2-theme="dark"] .traffic-meta span,
html[data-a2-theme="dark"] .traffic-mini-summary div,
html[data-a2-theme="dark"] .traffic-platform{background:var(--a2-surface-2)!important;}
html[data-a2-theme="dark"] .traffic-status,
html[data-a2-theme="dark"] .trello-list,
html[data-a2-theme="dark"] .trello-list.show-all .show-more-cards,
html[data-a2-theme="dark"] .user-current,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-planejamento,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-programada,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-programada .trello-list-header span,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-relatorio_enviado,
html[data-a2-theme="dark"] a.btn.secondary,
html[data-a2-theme="dark"] button.btn.secondary,
html[data-a2-theme="dark"] button[data-board-toggle-all],
html[data-a2-theme="dark"] button[data-show-more-traffic],
html[data-a2-theme="dark"] button[data-show-more]{background:var(--a2-surface-2)!important;}
html[data-a2-theme="dark"] .a2-import-step.done span,
html[data-a2-theme="dark"] .a2-import-success-icon,
html[data-a2-theme="dark"] .access-status,
html[data-a2-theme="dark"] .alert.success,
html[data-a2-theme="dark"] .approval-created-send-card,
html[data-a2-theme="dark"] .approval-last-feedback.is-approved,
html[data-a2-theme="dark"] .approval-link-status.is-active,
html[data-a2-theme="dark"] .approval-status-pill.status-aprovado,
html[data-a2-theme="dark"] .approval-status.aprovado,
html[data-a2-theme="dark"] .approval-status.publicado,
html[data-a2-theme="dark"] .badge-post-estatico,
html[data-a2-theme="dark"] .badge.ok,
html[data-a2-theme="dark"] .btn-action-approve,
html[data-a2-theme="dark"] .btn-action-publish,
html[data-a2-theme="dark"] .btn-action-save,
html[data-a2-theme="dark"] .btn-action-whatsapp,
html[data-a2-theme="dark"] .calendar-content-chip.status-aprovado,
html[data-a2-theme="dark"] .calendar-content-chip.status-aprovado span,
html[data-a2-theme="dark"] .client-return-approved .client-return-symbol,
html[data-a2-theme="dark"] .import-confidence.alta,
html[data-a2-theme="dark"] .internal-alert-planning,
html[data-a2-theme="dark"] .metric-delta.up,
html[data-a2-theme="dark"] .metric-source-badge.api,
html[data-a2-theme="dark"] .moodboard-progress.ok,
html[data-a2-theme="dark"] .notification-toast-success .notification-toast-symbol,
html[data-a2-theme="dark"] .preview-status.success,
html[data-a2-theme="dark"] .preview-summary .success,
html[data-a2-theme="dark"] .push-feature-list li::before,
html[data-a2-theme="dark"] .push-status-message.is-success,
html[data-a2-theme="dark"] .sync-conectado,
html[data-a2-theme="dark"] .trello-list.status-aprovado .trello-list-header span,
html[data-a2-theme="dark"] .user-status.active,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-ativa,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-ativa .trello-list-header span{background:var(--a2-success-soft)!important;color:var(--a2-success)!important;}
html[data-a2-theme="dark"] .access-account-card.is-inactive .access-status,
html[data-a2-theme="dark"] .alert.error,
html[data-a2-theme="dark"] .approval-link-status.is-inactive,
html[data-a2-theme="dark"] .btn-action-danger,
html[data-a2-theme="dark"] .calendar-content-chip.status-a-fazer,
html[data-a2-theme="dark"] .calendar-content-chip.status-a-fazer span,
html[data-a2-theme="dark"] .calendar-delete-event-form button,
html[data-a2-theme="dark"] .calendar-delete-event-form button:hover,
html[data-a2-theme="dark"] .danger-outline,
html[data-a2-theme="dark"] .danger-outline:hover,
html[data-a2-theme="dark"] .danger-zone,
html[data-a2-theme="dark"] .import-confidence.baixa,
html[data-a2-theme="dark"] .inline-alert.error,
html[data-a2-theme="dark"] .metric-delta.down,
html[data-a2-theme="dark"] .notification-toast-danger .notification-toast-symbol,
html[data-a2-theme="dark"] .notification-toast-today .notification-toast-symbol,
html[data-a2-theme="dark"] .preview-status.danger,
html[data-a2-theme="dark"] .preview-summary .danger,
html[data-a2-theme="dark"] .push-status-message.is-error,
html[data-a2-theme="dark"] .settings-cleanup-card,
html[data-a2-theme="dark"] .sidebar-foot .logout-link:hover,
html[data-a2-theme="dark"] .sync-desconectado,
html[data-a2-theme="dark"] .trello-list.status-a-fazer .trello-list-header span,
html[data-a2-theme="dark"] .user-status.inactive{background:var(--a2-danger-soft)!important;color:var(--a2-danger)!important;}
html[data-a2-theme="dark"] .a2-approval-stale-note,
html[data-a2-theme="dark"] .a2-batch-table tr.needs-review,
html[data-a2-theme="dark"] .a2-command-star.is-on,
html[data-a2-theme="dark"] .a2-completeness-alert,
html[data-a2-theme="dark"] .a2-favorite-toggle.is-on,
html[data-a2-theme="dark"] .a2-favorite-toggle:hover,
html[data-a2-theme="dark"] .a2-final-check-warning,
html[data-a2-theme="dark"] .a2-guide-level.recommended,
html[data-a2-theme="dark"] .a2-guide-note,
html[data-a2-theme="dark"] .a2-import-period-choice,
html[data-a2-theme="dark"] .a2-priority-badge.is-alta,
html[data-a2-theme="dark"] .a2-simple-warning,
html[data-a2-theme="dark"] .alert.warning,
html[data-a2-theme="dark"] .approval-last-feedback.is-review,
html[data-a2-theme="dark"] .approval-status.revisao,
html[data-a2-theme="dark"] .badge-criativo,
html[data-a2-theme="dark"] .btn-action-pause,
html[data-a2-theme="dark"] .btn-action-review,
html[data-a2-theme="dark"] .btn-action-warning,
html[data-a2-theme="dark"] .calendar-content-chip.status-em-criacao,
html[data-a2-theme="dark"] .calendar-content-chip.status-em-criacao span,
html[data-a2-theme="dark"] .calendar-day-event-card,
html[data-a2-theme="dark"] .calendar-event-pill,
html[data-a2-theme="dark"] .client-return-request,
html[data-a2-theme="dark"] .client-return-symbol,
html[data-a2-theme="dark"] .inline-alert.warn,
html[data-a2-theme="dark"] .internal-alert-late,
html[data-a2-theme="dark"] .moodboard-progress.warn,
html[data-a2-theme="dark"] .notification-toast-symbol,
html[data-a2-theme="dark"] .notification-toast-warning .notification-toast-symbol,
html[data-a2-theme="dark"] .preview-summary .warning,
html[data-a2-theme="dark"] .priority-alta,
html[data-a2-theme="dark"] .provider-hint.warn,
html[data-a2-theme="dark"] .report-pdf-reader-card,
html[data-a2-theme="dark"] .status-criativos_em_criacao,
html[data-a2-theme="dark"] .sync-atencao,
html[data-a2-theme="dark"] .traffic-modal-head .badge-criativo,
html[data-a2-theme="dark"] .trello-list.status-em-criacao .trello-list-header span,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-criativos_em_criacao,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-pausada{background:var(--a2-warning-soft)!important;color:var(--a2-warning)!important;}
html[data-a2-theme="dark"] .alert.info,
html[data-a2-theme="dark"] .provider-hint,
html[data-a2-theme="dark"] .push-status-message.is-info,
html[data-a2-theme="dark"] .report-ai-toolbar,
html[data-a2-theme="dark"] .report-import-metrics-grid .report-metric-field.detected,
html[data-a2-theme="dark"] .report-source-chip.active{background:var(--a2-brand-soft)!important;color:var(--a2-brand)!important;}
html[data-a2-theme="dark"] .a2-assistant-action,
html[data-a2-theme="dark"] .a2-assistant-action:hover,
html[data-a2-theme="dark"] .a2-assistant-snooze-menu button,
html[data-a2-theme="dark"] .a2-breadcrumb a,
html[data-a2-theme="dark"] .a2-breadcrumb strong,
html[data-a2-theme="dark"] .a2-briefing-copy strong,
html[data-a2-theme="dark"] .a2-import-destination strong,
html[data-a2-theme="dark"] .a2-import-dropzone strong,
html[data-a2-theme="dark"] .a2-mobile-search,
html[data-a2-theme="dark"] .a2-smart-link:hover,
html[data-a2-theme="dark"] .access-account-info a,
html[data-a2-theme="dark"] .access-account-info span,
html[data-a2-theme="dark"] .access-account-info strong,
html[data-a2-theme="dark"] .access-create-details > summary,
html[data-a2-theme="dark"] .access-create-details > summary::before,
html[data-a2-theme="dark"] .access-edit-details > summary,
html[data-a2-theme="dark"] .access-edit-details > summary::before,
html[data-a2-theme="dark"] .approval-caption-preview,
html[data-a2-theme="dark"] .approval-empty-admin strong,
html[data-a2-theme="dark"] .approval-last-feedback p,
html[data-a2-theme="dark"] .approval-last-feedback p strong,
html[data-a2-theme="dark"] .approval-last-feedback strong,
html[data-a2-theme="dark"] .approval-link-meta span:first-child,
html[data-a2-theme="dark"] .approval-link-title-block strong,
html[data-a2-theme="dark"] .approval-link-title-row strong,
html[data-a2-theme="dark"] .approval-links-count,
html[data-a2-theme="dark"] .approval-media-card>a,
html[data-a2-theme="dark"] .approval-media-card>div strong,
html[data-a2-theme="dark"] .approval-media-count,
html[data-a2-theme="dark"] .approval-media-file,
html[data-a2-theme="dark"] .approval-meta-grid strong,
html[data-a2-theme="dark"] .approval-public-body,
html[data-a2-theme="dark"] .approval-public-section-title,
html[data-a2-theme="dark"] .approval-public-section-title strong,
html[data-a2-theme="dark"] .approval-section-title>span,
html[data-a2-theme="dark"] .approval-status,
html[data-a2-theme="dark"] .approval-status-pill,
html[data-a2-theme="dark"] .approval-whatsapp-head strong,
html[data-a2-theme="dark"] .badge,
html[data-a2-theme="dark"] .badge-default,
html[data-a2-theme="dark"] .btn-action-filter,
html[data-a2-theme="dark"] .btn-action-neutral,
html[data-a2-theme="dark"] .btn.ghost,
html[data-a2-theme="dark"] .btn.secondary,
html[data-a2-theme="dark"] .calendar-day-modal-close,
html[data-a2-theme="dark"] .calendar-day-modal-content,
html[data-a2-theme="dark"] .calendar-day-modal-content em,
html[data-a2-theme="dark"] .calendar-day-modal-content strong,
html[data-a2-theme="dark"] .calendar-day-popup-head h2,
html[data-a2-theme="dark"] .calendar-day-popup-section h3{color:var(--a2-text-strong)!important}
html[data-a2-theme="dark"] .calendar-filter-checks label,
html[data-a2-theme="dark"] .calendar-more-button,
html[data-a2-theme="dark"] .card-media-badge,
html[data-a2-theme="dark"] .card-theme,
html[data-a2-theme="dark"] .check-inline,
html[data-a2-theme="dark"] .cleanup-media-details summary,
html[data-a2-theme="dark"] .cleanup-media-stat strong,
html[data-a2-theme="dark"] .client-return-close:hover,
html[data-a2-theme="dark"] .client-return-content em,
html[data-a2-theme="dark"] .client-return-content strong,
html[data-a2-theme="dark"] .client-return-popup-link,
html[data-a2-theme="dark"] .content-detail-row p,
html[data-a2-theme="dark"] .content-media-drop-icon,
html[data-a2-theme="dark"] .content-media-dropzone,
html[data-a2-theme="dark"] .content-media-file,
html[data-a2-theme="dark"] .content-media-head strong,
html[data-a2-theme="dark"] .content-media-info strong,
html[data-a2-theme="dark"] .content-media-thumb,
html[data-a2-theme="dark"] .content-media-upload-label,
html[data-a2-theme="dark"] .content-modal-close,
html[data-a2-theme="dark"] .dashboard-summary-grid strong,
html[data-a2-theme="dark"] .dashboard-tab:hover,
html[data-a2-theme="dark"] .eyebrow,
html[data-a2-theme="dark"] .import-model,
html[data-a2-theme="dark"] .import-tab:hover,
html[data-a2-theme="dark"] .import-workspace pre,
html[data-a2-theme="dark"] .internal-alert,
html[data-a2-theme="dark"] .internal-alerts-title,
html[data-a2-theme="dark"] .log-values,
html[data-a2-theme="dark"] .metric-card strong,
html[data-a2-theme="dark"] .mini-chip,
html[data-a2-theme="dark"] .mobile-brand strong,
html[data-a2-theme="dark"] .mobile-menu-btn,
html[data-a2-theme="dark"] .modal-status,
html[data-a2-theme="dark"] .nav-group > summary:hover,
html[data-a2-theme="dark"] .nav-group.is-active > summary,
html[data-a2-theme="dark"] .nav-group[open] > summary,
html[data-a2-theme="dark"] .notification-toast-close:hover,
html[data-a2-theme="dark"] .notification-toast-link,
html[data-a2-theme="dark"] .notification-toast-replay:hover,
html[data-a2-theme="dark"] .notification-toast-text strong,
html[data-a2-theme="dark"] .notification-topline span,
html[data-a2-theme="dark"] .pending-count,
html[data-a2-theme="dark"] .performance-leader-card>span,
html[data-a2-theme="dark"] .period-picker,
html[data-a2-theme="dark"] .permission-check,
html[data-a2-theme="dark"] .preview-summary strong,
html[data-a2-theme="dark"] .push-cron-url code,
html[data-a2-theme="dark"] .push-feature-list strong,
html[data-a2-theme="dark"] .push-state-row strong{color:var(--a2-text-strong)!important}
html[data-a2-theme="dark"] .quick-status-btn,
html[data-a2-theme="dark"] .remember-option,
html[data-a2-theme="dark"] .report-import-preview-box pre,
html[data-a2-theme="dark"] .report-platform-detection-result strong,
html[data-a2-theme="dark"] .reporting-connection-score strong,
html[data-a2-theme="dark"] .seasonal-recurring-check,
html[data-a2-theme="dark"] .settings-assistant-box>div:first-child strong,
html[data-a2-theme="dark"] .settings-brand-preview-box strong,
html[data-a2-theme="dark"] .show-more-cards,
html[data-a2-theme="dark"] .show-more-cards .btn-mini-icon,
html[data-a2-theme="dark"] .show-more-traffic,
html[data-a2-theme="dark"] .sidebar nav .nav-subitem.active,
html[data-a2-theme="dark"] .sidebar nav .nav-subitem:hover,
html[data-a2-theme="dark"] .sidebar nav a,
html[data-a2-theme="dark"] .sidebar nav a.active,
html[data-a2-theme="dark"] .sidebar nav a.active .nav-icon,
html[data-a2-theme="dark"] .sidebar nav a:hover,
html[data-a2-theme="dark"] .sidebar nav a:hover .nav-icon,
html[data-a2-theme="dark"] .sidebar-foot .account-link,
html[data-a2-theme="dark"] .tabs a,
html[data-a2-theme="dark"] .traffic-dashboard-card h4,
html[data-a2-theme="dark"] .traffic-dashboard-header span,
html[data-a2-theme="dark"] .traffic-mini-summary strong,
html[data-a2-theme="dark"] .traffic-platform,
html[data-a2-theme="dark"] .trello-card .card-theme,
html[data-a2-theme="dark"] .trello-card h4,
html[data-a2-theme="dark"] .trello-list-header h3,
html[data-a2-theme="dark"] .user-current,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-relatorio_enviado .trello-list-header h3,
html[data-a2-theme="dark"] a.btn.secondary,
html[data-a2-theme="dark"] button.btn.secondary,
html[data-a2-theme="dark"] button[data-board-toggle-all],
html[data-a2-theme="dark"] button[data-board-toggle-all] .btn-mini-icon,
html[data-a2-theme="dark"] button[data-show-more-traffic],
html[data-a2-theme="dark"] button[data-show-more-traffic] .btn-mini-icon,
html[data-a2-theme="dark"] button[data-show-more],
html[data-a2-theme="dark"] button[data-show-more] .btn-mini-icon,
html[data-a2-theme="dark"] input[type="date"].input,
html[data-a2-theme="dark"] input[type="month"].input{color:var(--a2-text-strong)!important}
html[data-a2-theme="dark"] .a2-assistant-reminder,
html[data-a2-theme="dark"] .a2-batch-confirm-bar span,
html[data-a2-theme="dark"] .a2-batch-review-head p,
html[data-a2-theme="dark"] .a2-batch-upload-card p,
html[data-a2-theme="dark"] .a2-breadcrumb,
html[data-a2-theme="dark"] .a2-breadcrumb span,
html[data-a2-theme="dark"] .a2-collection-guide-head p,
html[data-a2-theme="dark"] .a2-collection-helper-head p,
html[data-a2-theme="dark"] .a2-collection-intro p,
html[data-a2-theme="dark"] .a2-command-hint,
html[data-a2-theme="dark"] .a2-command-input-wrap>span,
html[data-a2-theme="dark"] .a2-completeness-hero p,
html[data-a2-theme="dark"] .a2-completeness-missing span,
html[data-a2-theme="dark"] .a2-guide-close,
html[data-a2-theme="dark"] .a2-guide-format small,
html[data-a2-theme="dark"] .a2-guide-metrics span,
html[data-a2-theme="dark"] .a2-guide-modal-content>p,
html[data-a2-theme="dark"] .a2-import-completion-head p,
html[data-a2-theme="dark"] .a2-import-completion-number span,
html[data-a2-theme="dark"] .a2-import-destination,
html[data-a2-theme="dark"] .a2-import-detected-input span,
html[data-a2-theme="dark"] .a2-import-dropzone small,
html[data-a2-theme="dark"] .a2-import-pdf-actions small,
html[data-a2-theme="dark"] .a2-import-review-summary p,
html[data-a2-theme="dark"] .a2-import-selected-file,
html[data-a2-theme="dark"] .a2-search-trigger kbd,
html[data-a2-theme="dark"] .a2-sidebar-tool,
html[data-a2-theme="dark"] .a2-sidebar-tool kbd,
html[data-a2-theme="dark"] .a2-today-empty,
html[data-a2-theme="dark"] .access-account-card.is-inactive .access-status,
html[data-a2-theme="dark"] .access-account-info small,
html[data-a2-theme="dark"] .access-service,
html[data-a2-theme="dark"] .approval-admin-card-head p,
html[data-a2-theme="dark"] .approval-admin-eyebrow,
html[data-a2-theme="dark"] .approval-admin-list-head p,
html[data-a2-theme="dark"] .approval-carousel-footer,
html[data-a2-theme="dark"] .approval-client-summary span,
html[data-a2-theme="dark"] .approval-content-section>span,
html[data-a2-theme="dark"] .approval-empty-admin,
html[data-a2-theme="dark"] .approval-last-feedback span,
html[data-a2-theme="dark"] .approval-link-meta span,
html[data-a2-theme="dark"] .approval-link-status.is-inactive,
html[data-a2-theme="dark"] .approval-link-title-block small,
html[data-a2-theme="dark"] .approval-link-title-row small,
html[data-a2-theme="dark"] .approval-media-card>div span,
html[data-a2-theme="dark"] .approval-media-empty,
html[data-a2-theme="dark"] .approval-meta-grid span,
html[data-a2-theme="dark"] .approval-meta-item span,
html[data-a2-theme="dark"] .approval-post-number,
html[data-a2-theme="dark"] .approval-public-badge{color:var(--a2-muted)!important}
html[data-a2-theme="dark"] .approval-public-help span,
html[data-a2-theme="dark"] .approval-section-label,
html[data-a2-theme="dark"] .approval-section-title>span,
html[data-a2-theme="dark"] .badge-institucional,
html[data-a2-theme="dark"] .brandkit-form .field small,
html[data-a2-theme="dark"] .calendar-day-modal-content small,
html[data-a2-theme="dark"] .calendar-day-popup-head p,
html[data-a2-theme="dark"] .calendar-more,
html[data-a2-theme="dark"] .calendar-more-button.is-small,
html[data-a2-theme="dark"] .calendar-weekday,
html[data-a2-theme="dark"] .card-client,
html[data-a2-theme="dark"] .card-client-top,
html[data-a2-theme="dark"] .card-hint,
html[data-a2-theme="dark"] .card-meta span,
html[data-a2-theme="dark"] .card-number,
html[data-a2-theme="dark"] .card-objective,
html[data-a2-theme="dark"] .cleanup-media-list span,
html[data-a2-theme="dark"] .cleanup-media-stat small,
html[data-a2-theme="dark"] .client-return-close,
html[data-a2-theme="dark"] .client-return-content small,
html[data-a2-theme="dark"] .client-return-meta,
html[data-a2-theme="dark"] .comment-internal-note,
html[data-a2-theme="dark"] .content-detail-row span,
html[data-a2-theme="dark"] .content-media-dropzone em,
html[data-a2-theme="dark"] .content-media-dropzone small,
html[data-a2-theme="dark"] .content-media-empty,
html[data-a2-theme="dark"] .content-media-head span,
html[data-a2-theme="dark"] .content-media-info span,
html[data-a2-theme="dark"] .content-media-message,
html[data-a2-theme="dark"] .content-media-upload small,
html[data-a2-theme="dark"] .content-modal-head p,
html[data-a2-theme="dark"] .dashboard-summary-grid span,
html[data-a2-theme="dark"] .dashboard-tab,
html[data-a2-theme="dark"] .empty-list,
html[data-a2-theme="dark"] .empty-state,
html[data-a2-theme="dark"] .eyebrow,
html[data-a2-theme="dark"] .import-tab,
html[data-a2-theme="dark"] .integration-group,
html[data-a2-theme="dark"] .legend-items span,
html[data-a2-theme="dark"] .log-date,
html[data-a2-theme="dark"] .log-main small,
html[data-a2-theme="dark"] .metric-delta.neutral,
html[data-a2-theme="dark"] .metric-source-badge.manual,
html[data-a2-theme="dark"] .modal-empty,
html[data-a2-theme="dark"] .moodboard-progress,
html[data-a2-theme="dark"] .nav-group > summary,
html[data-a2-theme="dark"] .nav-icon,
html[data-a2-theme="dark"] .nav-section-label,
html[data-a2-theme="dark"] .notification-item p,
html[data-a2-theme="dark"] .notification-toast-close{color:var(--a2-muted)!important}
html[data-a2-theme="dark"] .notification-toast-replay,
html[data-a2-theme="dark"] .notification-toast-text small,
html[data-a2-theme="dark"] .pending-client-filter label,
html[data-a2-theme="dark"] .performance-advanced-section>summary:after,
html[data-a2-theme="dark"] .performance-leader-card details>summary,
html[data-a2-theme="dark"] .performance-more-comparison>summary:after,
html[data-a2-theme="dark"] .permission-group>strong,
html[data-a2-theme="dark"] .preview-status,
html[data-a2-theme="dark"] .preview-summary span,
html[data-a2-theme="dark"] .preview-table td::before,
html[data-a2-theme="dark"] .preview-table th,
html[data-a2-theme="dark"] .push-feature-list span,
html[data-a2-theme="dark"] .push-state-row small,
html[data-a2-theme="dark"] .push-status-message,
html[data-a2-theme="dark"] .push-steps,
html[data-a2-theme="dark"] .quick-status-feedback,
html[data-a2-theme="dark"] .quick-status-wrap>span,
html[data-a2-theme="dark"] .report-advanced-bottom>summary:after,
html[data-a2-theme="dark"] .report-editor-details>summary:after,
html[data-a2-theme="dark"] .report-metric-field label,
html[data-a2-theme="dark"] .report-platform-details>summary:after,
html[data-a2-theme="dark"] .report-platform-detection-result small,
html[data-a2-theme="dark"] .report-platform-highlight,
html[data-a2-theme="dark"] .report-print-header p,
html[data-a2-theme="dark"] .report-source-chip span,
html[data-a2-theme="dark"] .reporting-eyebrow,
html[data-a2-theme="dark"] .settings-app-icon-preview small,
html[data-a2-theme="dark"] .settings-assistant-box>div:first-child small,
html[data-a2-theme="dark"] .settings-brand-preview-box small,
html[data-a2-theme="dark"] .sidebar-role,
html[data-a2-theme="dark"] .summary-eyebrow,
html[data-a2-theme="dark"] .sync-nao_conectado,
html[data-a2-theme="dark"] .traffic-card p,
html[data-a2-theme="dark"] .traffic-client-top,
html[data-a2-theme="dark"] .traffic-dashboard-card p,
html[data-a2-theme="dark"] .traffic-headline,
html[data-a2-theme="dark"] .traffic-import-help .content-card p,
html[data-a2-theme="dark"] .traffic-meta span,
html[data-a2-theme="dark"] .traffic-mini-summary span,
html[data-a2-theme="dark"] .trello-card .card-client-top,
html[data-a2-theme="dark"] .trello-list-header span,
html[data-a2-theme="dark"] .user-card-head p,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-planejamento .trello-list-header h3,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-planejamento .trello-list-header span{color:var(--a2-muted)!important}
html[data-a2-theme="dark"] .a2-assistant-action,
html[data-a2-theme="dark"] .a2-assistant-action:hover,
html[data-a2-theme="dark"] .a2-assistant-briefing,
html[data-a2-theme="dark"] .a2-assistant-controls,
html[data-a2-theme="dark"] .a2-assistant-panel,
html[data-a2-theme="dark"] .a2-assistant-panel-foot,
html[data-a2-theme="dark"] .a2-assistant-panel-head,
html[data-a2-theme="dark"] .a2-assistant-snooze-menu,
html[data-a2-theme="dark"] .a2-batch-conflict,
html[data-a2-theme="dark"] .a2-collection-platform-nav,
html[data-a2-theme="dark"] .a2-command-hint,
html[data-a2-theme="dark"] .a2-command-input-wrap kbd,
html[data-a2-theme="dark"] .a2-continue-card,
html[data-a2-theme="dark"] .a2-create-popover,
html[data-a2-theme="dark"] .a2-form-details-body,
html[data-a2-theme="dark"] .a2-guide-open,
html[data-a2-theme="dark"] .a2-mobile-bottom,
html[data-a2-theme="dark"] .a2-module-summary-card,
html[data-a2-theme="dark"] .a2-record-actions,
html[data-a2-theme="dark"] .a2-record-meta>span,
html[data-a2-theme="dark"] .a2-search-trigger kbd,
html[data-a2-theme="dark"] .a2-sidebar-tool,
html[data-a2-theme="dark"] .a2-sidebar-tool kbd,
html[data-a2-theme="dark"] .a2-smart-items,
html[data-a2-theme="dark"] .a2-standard-filter,
html[data-a2-theme="dark"] .a2-today-client,
html[data-a2-theme="dark"] .a2-today-empty,
html[data-a2-theme="dark"] .a2-today-focus-row,
html[data-a2-theme="dark"] .a2-today-kpi,
html[data-a2-theme="dark"] .a2-today-recommendations>a,
html[data-a2-theme="dark"] .access-account-card,
html[data-a2-theme="dark"] .access-account-card.is-inactive .access-status,
html[data-a2-theme="dark"] .access-account-info > div,
html[data-a2-theme="dark"] .access-create-details,
html[data-a2-theme="dark"] .access-edit-details,
html[data-a2-theme="dark"] .approval-caption-box,
html[data-a2-theme="dark"] .approval-caption-preview,
html[data-a2-theme="dark"] .approval-client-form,
html[data-a2-theme="dark"] .approval-client-summary>div,
html[data-a2-theme="dark"] .approval-content-layout .approval-media-section,
html[data-a2-theme="dark"] .approval-content-section,
html[data-a2-theme="dark"] .approval-content-section.theme,
html[data-a2-theme="dark"] .approval-feedback-form,
html[data-a2-theme="dark"] .approval-last-feedback,
html[data-a2-theme="dark"] .approval-link-card,
html[data-a2-theme="dark"] .approval-link-card-admin,
html[data-a2-theme="dark"] .approval-link-meta span,
html[data-a2-theme="dark"] .approval-link-status.is-inactive,
html[data-a2-theme="dark"] .approval-links-count,
html[data-a2-theme="dark"] .approval-media-card{border-color:var(--a2-line)!important}
html[data-a2-theme="dark"] .approval-media-empty,
html[data-a2-theme="dark"] .approval-media-track,
html[data-a2-theme="dark"] .approval-meta-grid>div,
html[data-a2-theme="dark"] .approval-meta-item,
html[data-a2-theme="dark"] .approval-post-number,
html[data-a2-theme="dark"] .approval-public-badge,
html[data-a2-theme="dark"] .approval-status-pill,
html[data-a2-theme="dark"] .approval-whatsapp-box,
html[data-a2-theme="dark"] .backup-item,
html[data-a2-theme="dark"] .badge-default,
html[data-a2-theme="dark"] .badge-institucional,
html[data-a2-theme="dark"] .brand-logo,
html[data-a2-theme="dark"] .btn-action-filter,
html[data-a2-theme="dark"] .btn-action-neutral,
html[data-a2-theme="dark"] .btn-action-neutral:hover,
html[data-a2-theme="dark"] .btn.ghost,
html[data-a2-theme="dark"] .btn.secondary,
html[data-a2-theme="dark"] .btn.secondary:hover,
html[data-a2-theme="dark"] .calendar-day,
html[data-a2-theme="dark"] .calendar-day-modal-box,
html[data-a2-theme="dark"] .calendar-day-modal-close,
html[data-a2-theme="dark"] .calendar-day-modal-content,
html[data-a2-theme="dark"] .card-meta span,
html[data-a2-theme="dark"] .cleanup-media-details,
html[data-a2-theme="dark"] .cleanup-media-list div,
html[data-a2-theme="dark"] .cleanup-media-stat,
html[data-a2-theme="dark"] .client-active-platforms,
html[data-a2-theme="dark"] .client-platform-chip,
html[data-a2-theme="dark"] .client-return-popup,
html[data-a2-theme="dark"] .comment-internal-note,
html[data-a2-theme="dark"] .company-logo-preview,
html[data-a2-theme="dark"] .content-media-card,
html[data-a2-theme="dark"] .content-media-dropzone em,
html[data-a2-theme="dark"] .content-media-empty,
html[data-a2-theme="dark"] .content-media-section,
html[data-a2-theme="dark"] .empty-list,
html[data-a2-theme="dark"] .empty-state,
html[data-a2-theme="dark"] .import-model,
html[data-a2-theme="dark"] .import-tab:hover,
html[data-a2-theme="dark"] .import-workspace pre,
html[data-a2-theme="dark"] .internal-alert,
html[data-a2-theme="dark"] .internal-alerts,
html[data-a2-theme="dark"] .log-item,
html[data-a2-theme="dark"] .log-values,
html[data-a2-theme="dark"] .mini-chip,
html[data-a2-theme="dark"] .mobile-menu-btn,
html[data-a2-theme="dark"] .moodboard-brand-preview,
html[data-a2-theme="dark"] .moodboard-progress,
html[data-a2-theme="dark"] .nav-group-items,
html[data-a2-theme="dark"] .notification-item{border-color:var(--a2-line)!important}
html[data-a2-theme="dark"] .notification-toast,
html[data-a2-theme="dark"] .push-cron-url code,
html[data-a2-theme="dark"] .push-feature-list li,
html[data-a2-theme="dark"] .push-state-row>div,
html[data-a2-theme="dark"] .quick-status-btn,
html[data-a2-theme="dark"] .quick-status-btn:hover,
html[data-a2-theme="dark"] .quick-status-wrap,
html[data-a2-theme="dark"] .remember-option,
html[data-a2-theme="dark"] .remember-option:hover,
html[data-a2-theme="dark"] .settings-app-icon-preview,
html[data-a2-theme="dark"] .settings-assistant-box,
html[data-a2-theme="dark"] .settings-brand-preview-box,
html[data-a2-theme="dark"] .show-more-cards,
html[data-a2-theme="dark"] .show-more-cards:hover,
html[data-a2-theme="dark"] .show-more-traffic,
html[data-a2-theme="dark"] .show-more-traffic:hover,
html[data-a2-theme="dark"] .sidebar-foot .sidebar-account-links a,
html[data-a2-theme="dark"] .sidebar-role,
html[data-a2-theme="dark"] .traffic-dashboard-card,
html[data-a2-theme="dark"] .traffic-dashboard-card:hover,
html[data-a2-theme="dark"] .traffic-dashboard-header span,
html[data-a2-theme="dark"] .traffic-dashboard-list,
html[data-a2-theme="dark"] .trello-card,
html[data-a2-theme="dark"] .trello-list,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-dashboard-list,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-planejamento,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-planejamento .trello-list-header span,
html[data-a2-theme="dark"] [data-board="traffic"] .traffic-status-relatorio_enviado,
html[data-a2-theme="dark"] a.btn.secondary,
html[data-a2-theme="dark"] a.btn.secondary:hover,
html[data-a2-theme="dark"] button.btn.secondary,
html[data-a2-theme="dark"] button.btn.secondary:hover,
html[data-a2-theme="dark"] button[data-board-toggle-all],
html[data-a2-theme="dark"] button[data-board-toggle-all]:hover,
html[data-a2-theme="dark"] button[data-show-more-traffic],
html[data-a2-theme="dark"] button[data-show-more-traffic]:hover,
html[data-a2-theme="dark"] button[data-show-more],
html[data-a2-theme="dark"] button[data-show-more]:hover{border-color:var(--a2-line)!important}
}

@media screen {
  html[data-a2-theme="dark"] .sidebar-foot .logout-link{
    background:#25171a!important;
    color:#f18a8a!important;
    border-color:#4c282f!important;
  }
  html[data-a2-theme="dark"] .sidebar-foot .logout-link:hover{background:#321b20!important;border-color:#63323c!important}
  html[data-a2-theme="dark"] .btn.danger{background:var(--a2-danger)!important;color:#fff!important;border-color:transparent!important}
  html[data-a2-theme="dark"] .btn:not(.secondary):not(.ghost):not(.danger){color:var(--a2-brand-contrast)!important}
}

/* ===== V17.13.4 · Dark: remove residual white blocks in Resumo Mensal and legacy cards ===== */
html[data-a2-theme="dark"] .a2-completeness-progress{
  background:var(--a2-surface-3)!important;
  border:1px solid var(--a2-line)!important;
}
html[data-a2-theme="dark"] .a2-completeness-progress > span{
  background:linear-gradient(90deg,var(--a2-brand),color-mix(in srgb,var(--a2-brand) 72%,#ffffff))!important;
}
html[data-a2-theme="dark"] .status-complete .a2-completeness-progress > span{
  background:linear-gradient(90deg,var(--a2-success),color-mix(in srgb,var(--a2-success) 78%,#ffffff))!important;
}
html[data-a2-theme="dark"] .a2-completeness-next,
html[data-a2-theme="dark"] .a2-final-check-ok,
html[data-a2-theme="dark"] .a2-final-check-warning,
html[data-a2-theme="dark"] .a2-completeness-alert,
html[data-a2-theme="dark"] .a2-completeness-summary > div,
html[data-a2-theme="dark"] .a2-completeness-missing span,
html[data-a2-theme="dark"] .a2-month-package .table-scroll,
html[data-a2-theme="dark"] .a2-month-package .muted-note,
html[data-a2-theme="dark"] .a2-month-package .empty-state,
html[data-a2-theme="dark"] .report-summary-preview,
html[data-a2-theme="dark"] .report-platform-highlight{
  box-shadow:none!important;
}
html[data-a2-theme="dark"] .a2-completeness-next{
  background:var(--a2-surface-2)!important;
  border:1px solid var(--a2-line)!important;
}
html[data-a2-theme="dark"] .a2-completeness-next strong{color:var(--a2-text-strong)!important}
html[data-a2-theme="dark"] .a2-completeness-next small,
html[data-a2-theme="dark"] .a2-completeness-next span,
html[data-a2-theme="dark"] .a2-month-package td small,
html[data-a2-theme="dark"] .a2-final-check-ok,
html[data-a2-theme="dark"] .a2-completeness-last{color:var(--a2-muted)!important}
html[data-a2-theme="dark"] .a2-final-check-ok{
  background:var(--a2-success-soft)!important;
  border:1px solid color-mix(in srgb,var(--a2-success) 30%,transparent)!important;
  color:var(--a2-success)!important;
}
html[data-a2-theme="dark"] .a2-final-check-warning{
  background:var(--a2-warning-soft)!important;
  border:1px solid color-mix(in srgb,var(--a2-warning) 34%,transparent)!important;
  color:var(--a2-warning)!important;
}
html[data-a2-theme="dark"] .a2-completeness-alert{
  background:color-mix(in srgb,var(--a2-warning-soft) 80%,var(--a2-surface))!important;
  border:1px solid color-mix(in srgb,var(--a2-warning) 32%,transparent)!important;
  color:var(--a2-warning)!important;
}
html[data-a2-theme="dark"] .a2-completeness-summary > div{
  background:var(--a2-surface-2)!important;
  border:1px solid var(--a2-line)!important;
}
html[data-a2-theme="dark"] .a2-completeness-summary strong,
html[data-a2-theme="dark"] .a2-completeness-numbers strong,
html[data-a2-theme="dark"] .a2-month-package h2{color:var(--a2-text-strong)!important}
html[data-a2-theme="dark"] .a2-completeness-summary span,
html[data-a2-theme="dark"] .a2-completeness-numbers span,
html[data-a2-theme="dark"] .a2-completeness-numbers small{color:var(--a2-muted)!important}
html[data-a2-theme="dark"] .a2-completeness-missing span{
  background:var(--a2-surface-3)!important;
  color:var(--a2-muted)!important;
  border:1px solid var(--a2-line)!important;
}
html[data-a2-theme="dark"] .a2-month-package .table,
html[data-a2-theme="dark"] .a2-month-package .table tr,
html[data-a2-theme="dark"] .a2-month-package .table td,
html[data-a2-theme="dark"] .a2-month-package .table th{
  background:transparent!important;
}
html[data-a2-theme="dark"] .a2-month-package .table th{
  background:var(--a2-surface-2)!important;
}
html[data-a2-theme="dark"] .a2-month-package .table td,
html[data-a2-theme="dark"] .a2-month-package .table th{
  border-color:var(--a2-line)!important;
  color:var(--a2-text)!important;
}
html[data-a2-theme="dark"] .a2-month-package .table-scroll{
  background:var(--a2-surface)!important;
  border:1px solid var(--a2-line)!important;
  border-radius:12px!important;
  padding:2px;
}
html[data-a2-theme="dark"] .badge.ok{
  background:color-mix(in srgb,var(--a2-success-soft) 88%,var(--a2-surface))!important;
}
html[data-a2-theme="dark"] .reporting-filter-card,
html[data-a2-theme="dark"] .a2-completeness-hero,
html[data-a2-theme="dark"] .a2-completeness-card,
html[data-a2-theme="dark"] .a2-month-package{
  background:var(--a2-surface)!important;
}

/* ===== V17.13.5 · Elegant UI: tipografia, densidade e destaque com propósito ===== */
:root,
html[data-a2-theme="white"]{
  --a2-bg:#f7f8fa;
  --a2-surface:#ffffff;
  --a2-surface-2:#fafbfc;
  --a2-surface-3:#f1f3f6;
  --a2-text:#303642;
  --a2-text-strong:#171b23;
  --a2-muted:#737d8c;
  --a2-muted-2:#9aa2af;
  --a2-line:#e9ecf0;
  --a2-line-strong:#dfe3e8;
  --a2-radius:11px;
}
html[data-a2-theme="dark"]{
  --a2-bg:#0b0e12;
  --a2-surface:#11161d;
  --a2-surface-2:#151b23;
  --a2-surface-3:#1b222c;
  --a2-text:#d9dee7;
  --a2-text-strong:#f3f5f8;
  --a2-muted:#8d98a7;
  --a2-muted-2:#667180;
  --a2-line:#202833;
  --a2-line-strong:#2a3441;
  --a2-shadow:0 1px 2px rgba(0,0,0,.16);
  --a2-shadow-float:0 18px 44px rgba(0,0,0,.34);
}

/* Destaques mais vivos, usados apenas em pontos funcionais. */
:root,html[data-a2-accent="blue"]{--a2-brand:#2f6fff;--a2-brand-hover:#245fe3;--a2-brand-soft:#eef3ff;--a2-brand-rgb:47,111,255}
html[data-a2-accent="violet"]{--a2-brand:#7c4dff;--a2-brand-hover:#6840df;--a2-brand-soft:#f3efff;--a2-brand-rgb:124,77,255}
html[data-a2-accent="teal"]{--a2-brand:#0cab94;--a2-brand-hover:#088c79;--a2-brand-soft:#eaf9f6;--a2-brand-rgb:12,171,148}
html[data-a2-accent="orange"]{--a2-brand:#f06b2d;--a2-brand-hover:#d85a21;--a2-brand-soft:#fff2eb;--a2-brand-rgb:240,107,45}
html[data-a2-accent="rose"]{--a2-brand:#e74478;--a2-brand-hover:#ca3565;--a2-brand-soft:#fff0f5;--a2-brand-rgb:231,68,120}
html[data-a2-theme="dark"][data-a2-accent="blue"]{--a2-brand:#5b8cff;--a2-brand-hover:#78a1ff;--a2-brand-soft:#16213a}
html[data-a2-theme="dark"][data-a2-accent="violet"]{--a2-brand:#9a78ff;--a2-brand-hover:#ad91ff;--a2-brand-soft:#211a38}
html[data-a2-theme="dark"][data-a2-accent="teal"]{--a2-brand:#2cc9b3;--a2-brand-hover:#4dd5c1;--a2-brand-soft:#102a28}
html[data-a2-theme="dark"][data-a2-accent="orange"]{--a2-brand:#ff8a4c;--a2-brand-hover:#ffa071;--a2-brand-soft:#302017}
html[data-a2-theme="dark"][data-a2-accent="rose"]{--a2-brand:#ff6a98;--a2-brand-hover:#ff83aa;--a2-brand-soft:#321a24}

/* Escala tipográfica mais contida */
body{font-size:13px!important;line-height:1.48!important;letter-spacing:-.003em}
.page-top h1{font-size:21px!important;line-height:1.2!important;letter-spacing:-.022em!important;font-weight:780!important}
.page-top p{font-size:11.5px!important;line-height:1.5!important;max-width:760px!important}
h2{font-size:17px!important;line-height:1.3!important;letter-spacing:-.014em!important}
h3{font-size:14px!important;line-height:1.35!important;letter-spacing:-.008em!important}
h4{font-size:12.5px!important}
.card h2,.a2-month-package h2,.a2-completeness-hero h2{font-size:17px!important}
.card h3,.a2-completeness-card-head h3{font-size:13.5px!important}
.muted,.field small,.card small{line-height:1.42}

/* Mais espaço útil, menos caixas grandes */
.main{padding:19px 24px 38px!important}
.a2-global-toolbar{min-height:34px!important;margin-bottom:14px!important;padding-bottom:9px!important}
.page-top{margin-bottom:14px!important;gap:11px!important}
.card{padding:14px!important;border-radius:11px!important}
.grid{gap:11px!important}
.metric-strip{gap:8px!important;margin-bottom:11px!important}
.metric-card{padding:12px!important}
.metric-card strong{font-size:21px!important;line-height:1.05!important;margin:5px 0!important;font-weight:760!important}
.metric-card span{font-size:10.5px!important}
.metric-card small{font-size:9.5px!important}

/* Bordas quase invisíveis; hierarquia por espaço e superfície */
.card,.metric-card,.content-card,.traffic-card,.traffic-dashboard-card,.report-platform-card,
.performance-focus-card,.performance-leader-card,.a2-completeness-card,.a2-completeness-hero,.a2-month-package,
.reporting-filter-card,.a2-module-summary-card,.a2-record-card,.client-list-card,.client-view-hero{
  border-width:1px!important;
  border-color:var(--a2-line)!important;
  box-shadow:none!important;
}
html[data-a2-theme="dark"] :is(.card,.metric-card,.content-card,.traffic-card,.traffic-dashboard-card,.report-platform-card,
.performance-focus-card,.performance-leader-card,.a2-completeness-card,.a2-completeness-hero,.a2-month-package,
.reporting-filter-card,.a2-module-summary-card,.a2-record-card,.client-list-card,.client-view-hero){
  background:var(--a2-surface)!important;
}

/* Botões: somente a ação principal recebe destaque vivo */
.btn{min-height:32px!important;padding:6px 10px!important;border-radius:8px!important;font-size:10.8px!important;font-weight:760!important;letter-spacing:0!important}
.btn.small{min-height:28px!important;padding:5px 8px!important;font-size:10px!important}
.btn:not(.secondary):not(.ghost):not(.danger){
  background:var(--a2-brand)!important;
  border-color:var(--a2-brand)!important;
  color:var(--a2-brand-contrast)!important;
}
.btn:not(.secondary):not(.ghost):not(.danger):hover{background:var(--a2-brand-hover)!important;border-color:var(--a2-brand-hover)!important}
.btn.secondary,.btn.ghost{
  background:var(--a2-surface-2)!important;
  color:var(--a2-text)!important;
  border:1px solid var(--a2-line)!important;
}
.btn.secondary:hover,.btn.ghost:hover{
  background:var(--a2-surface-3)!important;
  color:var(--a2-text-strong)!important;
  border-color:var(--a2-line-strong)!important;
}
.page-actions .btn:not(:first-child):not(.danger),.a2-global-actions .btn:not(:last-child){
  background:var(--a2-surface-2)!important;
  color:var(--a2-text)!important;
  border-color:var(--a2-line)!important;
}

/* Item ativo: cor em uma linha/ícone, não em uma grande mancha */
.sidebar nav a.active,.nav-subitem.active{
  position:relative;
  background:var(--a2-surface-2)!important;
  color:var(--a2-text-strong)!important;
}
.sidebar nav a.active::before,.nav-subitem.active::before{
  content:"";
  position:absolute;
  left:2px;
  top:8px;
  bottom:8px;
  width:2px;
  border-radius:999px;
  background:var(--a2-brand);
}
.sidebar nav a.active .nav-icon,.nav-subitem.active .nav-icon{color:var(--a2-brand)!important;opacity:1!important}
.a2-sidebar-tool[data-theme-toggle] .a2-theme-icon{color:var(--a2-brand)!important}

/* Campos mais compactos */
.field label{font-size:10.8px!important;font-weight:720!important;margin-bottom:4px!important}
.input,input[type="text"],input[type="email"],input[type="password"],input[type="search"],input[type="number"],input[type="date"],input[type="month"],input[type="url"],select,textarea{
  min-height:34px!important;
  padding:7px 9px!important;
  border-radius:8px!important;
  font-size:11.5px!important;
}
textarea{min-height:86px!important}

/* Resumo mensal: menos ruído visual */
.reporting-filter-card{padding:11px 12px!important}
.reporting-filter-form{gap:8px!important}
.a2-completeness-hero{padding:14px!important;margin-bottom:11px!important}
.a2-completeness-hero p{font-size:11px!important;margin-top:3px!important}
.a2-completeness-summary{gap:6px!important}
.a2-completeness-summary>div{padding:8px 9px!important;border-radius:9px!important;background:var(--a2-surface-2)!important}
.a2-completeness-summary strong{font-size:17px!important;font-weight:760!important;color:var(--a2-text-strong)!important}
.a2-completeness-summary span{font-size:8.5px!important;letter-spacing:.03em!important}
.a2-completeness-grid{gap:9px!important;margin-bottom:11px!important}
.a2-completeness-card{gap:8px!important;padding:12px!important}
.a2-completeness-card-head{gap:8px!important}
.integration-group,.reporting-eyebrow{font-size:8.5px!important;letter-spacing:.075em!important;color:var(--a2-muted)!important}
.a2-completeness-progress{height:4px!important;border:0!important;background:var(--a2-surface-3)!important}
.a2-completeness-numbers strong{font-size:20px!important;font-weight:760!important}
.a2-completeness-numbers span{font-size:9.5px!important}
.a2-completeness-numbers small,.a2-completeness-last{font-size:9px!important}
.a2-completeness-missing summary{font-size:9.5px!important;color:var(--a2-muted)!important}
.a2-completeness-next{padding:8px 9px!important;border-radius:8px!important;background:var(--a2-surface-2)!important}
.a2-completeness-next small,.a2-completeness-next span{font-size:8.5px!important}
.a2-completeness-next strong{font-size:10px!important;margin:2px 0!important}
.a2-completeness-actions{gap:5px!important}
.a2-month-package{padding:14px!important}
.a2-final-check-ok,.a2-final-check-warning{padding:9px 10px!important;font-size:10.5px!important;border-radius:8px!important}

/* Cor viva apenas nos dados que precisam chamar atenção */
.a2-completeness-progress>span{background:var(--a2-brand)!important}
.a2-completeness-numbers strong{color:var(--a2-text-strong)!important}
.a2-completeness-card.status-complete .a2-completeness-progress>span{background:var(--a2-success)!important}
.a2-completeness-card.status-review .a2-completeness-progress>span{background:var(--a2-warning)!important}
.performance-focus-card>strong,.metric-card.is-primary strong,.reporting-kpis-simple .metric-card:first-child strong{color:var(--a2-brand)!important}
.badge{font-size:8.8px!important;padding:3px 6px!important;border-radius:999px!important;background:var(--a2-surface-3)!important;color:var(--a2-muted)!important}
.badge.ok{color:var(--a2-success)!important;background:var(--a2-success-soft)!important}
.badge.warn{color:var(--a2-warning)!important;background:var(--a2-warning-soft)!important}

/* Tabelas e detalhes mais editoriais */
.table th,.table td,.preview-table th,.preview-table td,.a2-batch-table th,.a2-batch-table td{padding:8px 9px!important}
.table th,.preview-table th,.a2-batch-table th{font-size:9.5px!important;font-weight:760!important}
.table td,.preview-table td,.a2-batch-table td{font-size:11px!important}
details>summary{font-size:10.5px!important;color:var(--a2-muted)!important}

/* Menu lateral visualmente mais leve */
.sidebar{padding:12px 10px!important;gap:8px!important}
.brand-row{padding-bottom:7px!important}
.sidebar nav a,.nav-group>summary,.a2-smart-section>summary{min-height:33px!important;padding:7px 8px!important;font-size:11.5px!important;border-radius:8px!important}
.nav-group-items{padding-left:24px!important}
.nav-subitem{min-height:29px!important;padding:6px 8px!important;font-size:10.8px!important}
.sidebar-foot{padding-top:8px!important}

/* Mobile preserva leitura sem voltar a inflar */
@media(max-width:900px){
  .main{padding:14px 12px 82px!important}
  .page-top h1{font-size:19px!important}
  .page-top p{font-size:11px!important}
  .card{padding:12px!important}
}

/* Resumo Mensal · acabamento editorial, sem "card dentro de card" */
.a2-completeness-summary{align-items:center!important}
.a2-completeness-summary>div{
  min-width:78px!important;
  background:transparent!important;
  border:0!important;
  border-left:1px solid var(--a2-line)!important;
  border-radius:0!important;
  padding:4px 10px!important;
}
.a2-completeness-summary>div:first-child{border-left:0!important}
.a2-completeness-next{
  background:transparent!important;
  border:0!important;
  border-top:1px solid var(--a2-line)!important;
  border-radius:0!important;
  padding:8px 0 0!important;
}
.a2-completeness-next small{color:var(--a2-muted-2)!important;text-transform:uppercase;letter-spacing:.055em!important;font-weight:760!important}
.a2-completeness-next strong{font-weight:720!important}
.a2-final-check-ok{
  background:transparent!important;
  border:0!important;
  border-left:2px solid var(--a2-success)!important;
  border-radius:0!important;
  padding:4px 0 4px 9px!important;
}
.a2-final-check-warning{
  background:transparent!important;
  border:0!important;
  border-left:2px solid var(--a2-warning)!important;
  border-radius:0!important;
  padding:4px 0 4px 9px!important;
}
html[data-a2-theme="dark"] .a2-completeness-summary>div,
html[data-a2-theme="dark"] .a2-completeness-next,
html[data-a2-theme="dark"] .a2-final-check-ok,
html[data-a2-theme="dark"] .a2-final-check-warning{background:transparent!important}

/* Evita que cores secundárias disputem atenção com o CTA principal */
.badge:not(.ok):not(.warn),.type-badge,.card-meta span,.a2-record-meta>span{
  background:var(--a2-surface-3)!important;
  color:var(--a2-muted)!important;
  border-color:var(--a2-line)!important;
}
.alert.info,.report-platform-highlight,.report-summary-preview{
  background:var(--a2-surface-2)!important;
  color:var(--a2-text)!important;
  border-color:var(--a2-line)!important;
}

/* Densidade de cabeçalhos internos */
.reporting-section-head,.a2-hub-section-head,.settings-section-head{margin-bottom:10px!important}
.reporting-section-head h2,.a2-hub-section-head h2,.settings-section-head h2{margin:2px 0 3px!important}
.reporting-section-head p,.a2-hub-section-head p,.settings-section-head p{font-size:10.8px!important;margin:0!important}

/* ===== V17.14.0 · Navegação essencial + recursos por cliente ===== */
.nav-primary-essential{
  display:grid!important;
  gap:5px!important;
  padding:4px 0 8px!important;
}
.nav-primary-essential > a{
  min-height:42px!important;
  padding:9px 10px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  font-size:12.5px!important;
  font-weight:720!important;
}
.nav-primary-essential > a .nav-icon{opacity:.72;transition:opacity .15s ease,color .15s ease}
.nav-primary-essential > a:hover{
  background:var(--a2-surface-2)!important;
  border-color:var(--a2-line)!important;
}
.nav-primary-essential > a.active{
  background:var(--a2-brand-soft)!important;
  color:var(--a2-brand)!important;
  border-color:color-mix(in srgb,var(--a2-brand) 20%,var(--a2-line))!important;
}
.nav-primary-essential > a.active .nav-icon{opacity:1;color:var(--a2-brand)!important}
body.sidebar-collapsed .nav-primary-essential > a{
  width:44px!important;
  height:44px!important;
  min-height:44px!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
}
body.sidebar-collapsed .nav-primary-essential .nav-label,
body.sidebar-collapsed .nav-primary-essential .nav-badge{display:none!important}
body.sidebar-collapsed .nav-primary-essential .nav-icon{margin:0!important}

/* O menu não exibe mais seções inteligentes/favoritos: a Busca assume a descoberta. */
#a2-smart-nav-sections{display:none!important}

.dashboard-workspace-nav{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin:-5px 0 14px;
}
.dashboard-workspace-nav a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:31px;
  padding:6px 9px;
  border:1px solid var(--a2-line);
  border-radius:8px;
  background:transparent;
  color:var(--a2-muted);
  text-decoration:none;
  font-size:10.5px;
  font-weight:720;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.dashboard-workspace-nav a:hover{
  background:var(--a2-surface-2);
  border-color:var(--a2-line-strong);
  color:var(--a2-text);
}
.dashboard-workspace-nav .nav-icon{font-size:13px;opacity:.7}

.client-resource-hub{margin:0 0 14px!important;padding:14px!important}
.client-resource-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}
.client-resource-head h2{margin:3px 0 3px!important;font-size:15px!important;letter-spacing:-.01em}
.client-resource-head p{margin:0!important;font-size:10.5px!important}
.client-resource-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.client-resource-link{
  min-width:0;
  display:grid;
  grid-template-columns:28px minmax(0,1fr) 12px;
  align-items:center;
  gap:8px;
  min-height:64px;
  padding:10px;
  border:1px solid var(--a2-line);
  border-radius:10px;
  background:var(--a2-surface-2);
  color:var(--a2-text);
  text-decoration:none;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.client-resource-link:hover{
  background:color-mix(in srgb,var(--a2-surface-2) 82%,var(--a2-brand-soft));
  border-color:color-mix(in srgb,var(--a2-brand) 28%,var(--a2-line));
  transform:translateY(-1px);
}
.client-resource-icon{
  width:28px;height:28px;border-radius:8px;
  display:grid;place-items:center;
  background:var(--a2-surface-3);
  color:var(--a2-muted);
  font-size:13px;
}
.client-resource-link:hover .client-resource-icon{background:var(--a2-brand-soft);color:var(--a2-brand)}
.client-resource-link strong,.client-resource-link small{display:block;min-width:0}
.client-resource-link strong{font-size:11.5px;color:var(--a2-text-strong);margin-bottom:2px}
.client-resource-link small{font-size:9.5px;line-height:1.35;color:var(--a2-muted)}
.client-resource-link b{font-size:17px;font-weight:500;color:var(--a2-muted-2)}
.client-resource-link:hover b{color:var(--a2-brand)}
#brand-kit,#moodboard{scroll-margin-top:18px}

html[data-a2-theme="dark"] .dashboard-workspace-nav a,
html[data-a2-theme="dark"] .client-resource-link{
  background:var(--a2-surface-2)!important;
  border-color:var(--a2-line)!important;
}
html[data-a2-theme="dark"] .dashboard-workspace-nav a:hover,
html[data-a2-theme="dark"] .client-resource-link:hover{
  background:color-mix(in srgb,var(--a2-surface-2) 86%,var(--a2-brand-soft))!important;
}

@media(max-width:1100px){
  .client-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .dashboard-workspace-nav{overflow:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  .dashboard-workspace-nav::-webkit-scrollbar{display:none}
  .dashboard-workspace-nav a{white-space:nowrap}
  .client-resource-grid{grid-template-columns:1fr}
}

.section-subnav{
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
  margin:-5px 0 14px;
  padding:3px;
  border:1px solid var(--a2-line);
  border-radius:9px;
  background:var(--a2-surface-2);
  width:max-content;
  max-width:100%;
}
.section-subnav a{
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:5px 9px;
  border-radius:7px;
  color:var(--a2-muted);
  text-decoration:none;
  font-size:10.5px;
  font-weight:720;
  white-space:nowrap;
}
.section-subnav a:hover{background:var(--a2-surface);color:var(--a2-text)}
.section-subnav a.active{background:var(--a2-surface);color:var(--a2-text-strong);box-shadow:0 1px 2px rgba(16,24,40,.04)}
html[data-a2-theme="dark"] .section-subnav{background:var(--a2-surface)!important;border-color:var(--a2-line)!important}
html[data-a2-theme="dark"] .section-subnav a.active{background:var(--a2-surface-3)!important;color:var(--a2-text-strong)!important;box-shadow:none}
@media(max-width:700px){.section-subnav{width:100%;overflow:auto;flex-wrap:nowrap;scrollbar-width:none}.section-subnav::-webkit-scrollbar{display:none}}

/* ===== V17.14.1 · Submenus contextuais no menu essencial ===== */
.nav-primary-essential{
  position:relative;
  overflow:visible!important;
}
.nav-essential-item{
  position:relative;
  min-width:0;
}
.nav-primary-essential > .nav-essential-item > .nav-essential-main{
  min-height:42px!important;
  padding:9px 36px 9px 10px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  font-size:12.5px!important;
  font-weight:720!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  color:var(--a2-muted)!important;
  position:relative;
}
.nav-primary-essential > .nav-essential-item > .nav-essential-main:hover{
  background:var(--a2-surface-2)!important;
  border-color:var(--a2-line)!important;
  color:var(--a2-text)!important;
}
.nav-primary-essential > .nav-essential-item > .nav-essential-main.active{
  background:var(--a2-brand-soft)!important;
  color:var(--a2-brand)!important;
  border-color:color-mix(in srgb,var(--a2-brand) 20%,var(--a2-line))!important;
}
.nav-primary-essential > .nav-essential-item > .nav-essential-main .nav-icon{opacity:.72;transition:opacity .15s ease,color .15s ease}
.nav-primary-essential > .nav-essential-item > .nav-essential-main.active .nav-icon{opacity:1;color:var(--a2-brand)!important}
.nav-essential-caret{
  margin-left:auto;
  font-size:16px;
  line-height:1;
  color:var(--a2-muted-2);
  opacity:.72;
}
.nav-essential-submenu-toggle{
  position:absolute;
  right:5px;
  top:5px;
  z-index:2;
  width:30px;
  height:32px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--a2-muted-2);
  cursor:pointer;
  opacity:.78;
}
.nav-essential-submenu-toggle:hover,
.nav-essential-submenu-toggle[aria-expanded="true"]{
  background:var(--a2-surface-3);
  color:var(--a2-text);
  opacity:1;
}
.nav-essential-submenu-toggle span{font-size:17px;transition:transform .15s ease}
.nav-essential-item.is-submenu-open .nav-essential-submenu-toggle span{transform:rotate(90deg)}
.nav-essential-submenu{
  position:absolute;
  left:calc(100% + 8px);
  top:-4px;
  width:226px;
  padding:8px;
  border:1px solid var(--a2-line);
  border-radius:12px;
  background:color-mix(in srgb,var(--a2-surface) 97%,transparent);
  box-shadow:0 18px 44px rgba(8,15,28,.14);
  backdrop-filter:blur(18px);
  z-index:130;
  opacity:0;
  visibility:hidden;
  transform:translateX(-5px) scale(.985);
  transform-origin:left top;
  pointer-events:none;
  transition:opacity .13s ease,transform .13s ease,visibility .13s ease;
}
.nav-essential-submenu::before{
  content:"";
  position:absolute;
  left:-10px;
  top:0;
  width:12px;
  height:100%;
}
.nav-essential-item:hover > .nav-essential-submenu,
.nav-essential-item:focus-within > .nav-essential-submenu,
.nav-essential-item.is-submenu-open > .nav-essential-submenu{
  opacity:1;
  visibility:visible;
  transform:translateX(0) scale(1);
  pointer-events:auto;
}
.nav-essential-submenu-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  padding:5px 7px 8px;
  margin-bottom:3px;
  border-bottom:1px solid var(--a2-line);
}
.nav-essential-submenu-head strong{font-size:11.5px;color:var(--a2-text-strong)}
.nav-essential-submenu-head small{font-size:9px;color:var(--a2-muted-2);font-weight:650}
.nav-essential-submenu-list{display:grid;gap:2px}
.sidebar nav .nav-essential-subitem{
  min-height:35px!important;
  padding:7px 8px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--a2-muted)!important;
  font-size:11px!important;
  font-weight:680!important;
}
.sidebar nav .nav-essential-subitem:hover{
  background:var(--a2-surface-2)!important;
  color:var(--a2-text)!important;
  border-color:var(--a2-line)!important;
}
.sidebar nav .nav-essential-subitem.active{
  background:var(--a2-brand-soft)!important;
  color:var(--a2-brand)!important;
  border-color:transparent!important;
}
.sidebar nav .nav-essential-subitem.active::before{display:none!important}
.nav-essential-subitem .nav-icon{font-size:14px;opacity:.72}
.nav-essential-subitem.active .nav-icon{opacity:1;color:var(--a2-brand)!important}

/* Recolhido: mantém os quatro ícones e transforma o submenu em flyout lateral. */
body.sidebar-collapsed .nav-primary-essential > .nav-essential-item{
  width:44px!important;
  height:44px!important;
  margin:0 auto!important;
}
body.sidebar-collapsed .nav-primary-essential > .nav-essential-item > .nav-essential-main{
  width:44px!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  position:relative;
}
body.sidebar-collapsed .nav-primary-essential > .nav-essential-item > .nav-essential-main .nav-label,
body.sidebar-collapsed .nav-primary-essential > .nav-essential-item > .nav-essential-main .nav-badge,
body.sidebar-collapsed .nav-primary-essential > .nav-essential-item > .nav-essential-main .nav-essential-caret{
  display:none!important;
}
body.sidebar-collapsed .nav-primary-essential > .nav-essential-item > .nav-essential-main .nav-icon{margin:0!important}
body.sidebar-collapsed .nav-essential-submenu-toggle{
  display:none!important;
}
body.sidebar-collapsed .nav-essential-item::after{
  content:"";
  position:absolute;
  right:2px;
  top:19px;
  width:4px;
  height:4px;
  border-top:1.5px solid var(--a2-muted-2);
  border-right:1.5px solid var(--a2-muted-2);
  transform:rotate(45deg);
  opacity:.75;
  pointer-events:none;
}
body.sidebar-collapsed .nav-essential-submenu{
  left:calc(100% + 14px);
  top:-4px;
  width:230px;
}
body.sidebar-collapsed .nav-essential-item.is-active > .nav-essential-main{
  background:var(--a2-brand-soft)!important;
  color:var(--a2-brand)!important;
}
html[data-a2-theme="dark"] .nav-essential-submenu{
  background:rgba(20,24,30,.97)!important;
  border-color:#303640!important;
  box-shadow:0 22px 50px rgba(0,0,0,.42)!important;
}

@media(max-width:900px){
  .nav-essential-submenu{
    position:static;
    width:auto;
    margin:3px 0 5px 28px;
    padding:5px;
    border-radius:9px;
    box-shadow:none!important;
    backdrop-filter:none;
    display:none;
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
  }
  .nav-essential-item:hover > .nav-essential-submenu,
  .nav-essential-item:focus-within > .nav-essential-submenu{display:none}
  .nav-essential-item.is-submenu-open > .nav-essential-submenu{display:block}
  .nav-essential-submenu::before{display:none}
  .nav-primary-essential > .nav-essential-item > .nav-essential-main{padding-right:38px!important}
}

/* ===== V17.14.2 · Flyout funcional no menu recolhido ===== */
body.sidebar-collapsed .nav-essential-submenu{
  position:fixed!important;
  right:auto!important;
  width:238px!important;
  overflow:auto!important;
  z-index:10050!important;
  transform:translateX(-4px) scale(.985)!important;
}
body.sidebar-collapsed .nav-essential-item:hover > .nav-essential-submenu,
body.sidebar-collapsed .nav-essential-item:focus-within > .nav-essential-submenu,
body.sidebar-collapsed .nav-essential-item.is-submenu-open > .nav-essential-submenu{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateX(0) scale(1)!important;
}
body.sidebar-collapsed .nav-essential-main{cursor:pointer!important}
body.sidebar-collapsed .nav-essential-item::after{z-index:3}
@media(max-width:900px){
  body.sidebar-collapsed .nav-essential-submenu{
    position:static!important;
    width:auto!important;
    max-height:none!important;
    overflow:visible!important;
    transform:none!important;
  }
}
.nav-essential-overview{
  margin-bottom:3px!important;
  border-bottom:1px solid var(--a2-line)!important;
  border-radius:7px!important;
  padding-bottom:9px!important;
}

/* ===== V17.14.4 · Submenus definitivos =====
   Aberto/mobile: submenu inline.
   Recolhido: flyout é portado para <body> e não pode ser cortado pelo overflow da sidebar. */
.nav-primary-essential > .nav-essential-item > .nav-essential-main{
  width:100%!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  text-align:left!important;
  cursor:pointer!important;
  font:inherit!important;
  outline:0;
}
.nav-primary-essential > .nav-essential-item > .nav-essential-main:focus-visible{
  border-color:var(--a2-brand)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--a2-brand) 14%,transparent)!important;
}
.nav-essential-submenu-toggle{display:none!important}

/* No menu aberto o submenu faz parte do fluxo: nada de popover cortado pela rolagem. */
.nav-primary-essential .nav-essential-submenu{
  position:static!important;
  inset:auto!important;
  width:auto!important;
  max-height:none!important;
  overflow:visible!important;
  margin:3px 0 7px 24px!important;
  padding:2px 0 2px 8px!important;
  border:0!important;
  border-left:1px solid var(--a2-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  pointer-events:auto!important;
  display:none!important;
}
.nav-primary-essential .nav-essential-submenu::before{display:none!important}
.nav-primary-essential .nav-essential-item:hover > .nav-essential-submenu,
.nav-primary-essential .nav-essential-item:focus-within > .nav-essential-submenu{display:none!important}
.nav-primary-essential .nav-essential-item.is-submenu-open > .nav-essential-submenu{display:block!important}
.nav-primary-essential .nav-essential-submenu-head{display:none!important}
.nav-primary-essential .nav-essential-submenu-list{display:grid!important;gap:2px!important}
.nav-essential-item.is-submenu-open > .nav-essential-main .nav-essential-caret{transform:rotate(90deg)}
.nav-essential-caret{transition:transform .14s ease}

/* Recolhido: o submenu inline some; o controlador JS cria o painel fora da sidebar. */
body.sidebar-collapsed .nav-primary-essential .nav-essential-submenu{display:none!important}
body.sidebar-collapsed .nav-primary-essential > .nav-essential-item > .nav-essential-main{
  width:44px!important;
  text-align:center!important;
}
body.sidebar-collapsed .nav-essential-item.is-flyout-open > .nav-essential-main{
  background:var(--a2-brand-soft)!important;
  color:var(--a2-brand)!important;
  border-color:color-mix(in srgb,var(--a2-brand) 25%,var(--a2-line))!important;
}

/* Flyout global: deliberadamente fora de .sidebar nav (que tem overflow-y:auto/x:hidden). */
.a2-nav-flyout{
  position:fixed;
  z-index:30000;
  width:240px;
  max-height:calc(100vh - 24px);
  overflow:auto;
  padding:8px;
  border:1px solid var(--a2-line);
  border-radius:12px;
  background:color-mix(in srgb,var(--a2-surface) 98%,transparent);
  color:var(--a2-text);
  box-shadow:0 20px 50px rgba(8,15,28,.18);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.a2-nav-flyout[hidden]{display:none!important}
.a2-nav-flyout .nav-essential-submenu-head{
  display:flex!important;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  padding:5px 7px 8px;
  margin-bottom:4px;
  border-bottom:1px solid var(--a2-line);
}
.a2-nav-flyout .nav-essential-submenu-head strong{font-size:11.5px;color:var(--a2-text-strong)}
.a2-nav-flyout .nav-essential-submenu-head small{font-size:9px;color:var(--a2-muted-2);font-weight:650}
.a2-nav-flyout .nav-essential-submenu-list{display:grid;gap:2px}
.a2-nav-flyout .nav-essential-subitem{
  min-height:36px;
  padding:8px 9px;
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--a2-muted);
  font-size:11.5px;
  font-weight:680;
  text-decoration:none;
}
.a2-nav-flyout .nav-essential-subitem:hover,
.a2-nav-flyout .nav-essential-subitem:focus-visible{
  background:var(--a2-surface-2);
  border-color:var(--a2-line);
  color:var(--a2-text-strong);
  outline:0;
}
.a2-nav-flyout .nav-essential-subitem.active{
  background:var(--a2-brand-soft);
  color:var(--a2-brand);
}
.a2-nav-flyout .nav-essential-subitem .nav-icon{font-size:14px;opacity:.76}
.a2-nav-flyout .nav-essential-subitem.active .nav-icon{color:var(--a2-brand);opacity:1}
.a2-nav-flyout .nav-essential-overview{
  margin-bottom:3px;
  padding-bottom:9px;
  border-bottom-color:var(--a2-line);
}
html[data-a2-theme="dark"] .a2-nav-flyout{
  background:rgba(20,24,30,.985)!important;
  border-color:#303640!important;
  box-shadow:0 22px 54px rgba(0,0,0,.5)!important;
}

/* Em telas móveis continua inline, usando exatamente o mesmo gatilho. */
@media(max-width:900px){
  .nav-primary-essential > .nav-essential-item > .nav-essential-main{padding-right:10px!important}
  .nav-primary-essential .nav-essential-submenu{margin-left:25px!important;margin-bottom:6px!important}
  .a2-nav-flyout{display:none!important}
}
.nav-primary-essential > .nav-essential-item > .nav-essential-main{
  background:transparent!important;
  justify-content:flex-start!important;
  line-height:1.2!important;
}
body.sidebar-collapsed .nav-primary-essential > .nav-essential-item > .nav-essential-main{
  justify-content:center!important;
}

/* ===== V17.14.5 · Dados com a cor de destaque do tema ===== */
.a2-data-value{
  color:var(--a2-brand)!important;
  font-weight:850!important;
  letter-spacing:-.018em;
}
.a2-data-empty{
  color:var(--a2-muted-2)!important;
  font-weight:700!important;
  opacity:.7;
}
.report-platform-kpis-simple .a2-data-value,
.reporting-kpis-simple .a2-data-value{
  text-shadow:0 0 18px color-mix(in srgb,var(--a2-brand) 14%,transparent);
}
html[data-a2-theme="dark"] .report-platform-kpis-simple .a2-data-value,
html[data-a2-theme="dark"] .reporting-kpis-simple .a2-data-value{
  color:color-mix(in srgb,var(--a2-brand) 90%,#ffffff 10%)!important;
}
/* Mantém a cor viva só no número; rótulo e moldura continuam neutros. */
.report-platform-kpis-simple>div:has(.a2-data-value){
  border-color:color-mix(in srgb,var(--a2-brand) 16%,var(--a2-line))!important;
}
.report-platform-kpis-simple>div:has(.a2-data-empty){
  border-color:var(--a2-line)!important;
}

/* ===== V17.14.6 · Hierarquia tipográfica equilibrada ===== */
body{
  font-weight:400!important;
  letter-spacing:0;
}

/* Texto corrido: leitura confortável, sem peso artificial */
p,li,td,textarea,input,select,.muted,.field small,.card p,.content-card p,
.a2-record-card p,.report-platform-card p,.performance-focus-card p{
  font-weight:400!important;
}

/* Títulos: semibold em vez de bold pesado */
h1,h2,h3,h4,h5,h6,
.page-top h1,
.card h2,.card h3,
.a2-record-card h2,
.reporting-section-head h2,
.performance-section-title h2,
.a2-completeness-card-head h3,
.a2-month-package h2{
  font-weight:600!important;
}
h1,.page-top h1{letter-spacing:-.018em!important}
h2,h3,h4,h5,h6{letter-spacing:-.01em!important}

/* Strong não deve transformar cada frase em destaque máximo */
strong,b{
  font-weight:600;
}

/* Formulários */
.field label,
label,
legend{
  font-weight:500!important;
}
.input,select,textarea,input{
  font-weight:400!important;
}

/* Navegação principal e secundária */
.sidebar nav a,
.nav-group>summary,
.nav-subitem,
.nav-essential-main,
.nav-essential-subitem,
.a2-nav-flyout .nav-essential-subitem,
.a2-breadcrumb,
.a2-breadcrumb a,
.a2-breadcrumb strong{
  font-weight:550!important;
}
.sidebar nav a.active,
.nav-subitem.active,
.nav-essential-main.active,
.nav-essential-subitem.active,
.a2-nav-flyout .nav-essential-subitem.active{
  font-weight:600!important;
}
.brand-text strong{font-weight:600!important}
.brand-text small,.sidebar-role,.sidebar-foot small{font-weight:400!important}

/* Botões: semibold, nunca extrabold */
.btn,
button,
.a2-sidebar-tool,
.a2-public-theme-toggle{
  font-weight:600!important;
}
.btn.secondary,.btn.ghost{font-weight:500!important}

/* Tabelas e cabeçalhos */
.table th,.preview-table th,.a2-batch-table th,
thead th{
  font-weight:600!important;
}
.table td,.preview-table td,.a2-batch-table td,
tbody td{
  font-weight:400!important;
}

/* Badges, chips, metadados e etiquetas: discretos */
.badge,
.client-platform-chip,
.type-badge,
.integration-group,
.reporting-eyebrow,
.a2-completeness-card-head .badge,
.a2-record-meta strong,
.client-record-platforms>small,
.a2-summary-stats span,
.a2-theme-label,
.a2-appearance-group>span,
.performance-ranking>summary span{
  font-weight:550!important;
}

/* Details/summaries: claros, mas não gritantes */
.performance-more-comparison>summary,
.performance-advanced-section>summary,
.report-editor-details>summary,
.report-platform-details>summary,
.report-advanced-bottom>summary,
.a2-form-details>summary,
.a2-completeness-missing summary,
details>summary{
  font-weight:600!important;
}

/* KPIs e valores: são os únicos lugares que podem ter peso maior */
.metric-card strong,
.a2-data-value,
.performance-focus-card>strong,
.performance-leader-card>span,
.a2-summary-stats strong,
.a2-completeness-summary strong,
.a2-completeness-numbers strong,
.a2-c360-performance strong,
.a2-suite-score{
  font-weight:650!important;
}
.a2-data-empty{
  font-weight:450!important;
}

/* Cards e listas: títulos internos sem excesso de negrito */
.a2-record-card h2,
.performance-leader-card>strong,
.a2-form-details>summary>span>strong,
.a2-completeness-next strong,
.a2-assistant-panel strong,
.a2-priority-copy strong,
.a2-history-item strong,
.trello-card h4{
  font-weight:600!important;
}

/* Textos auxiliares ficam realmente auxiliares */
small,
.a2-completeness-last,
.a2-completeness-next small,
.a2-completeness-next span,
.a2-record-meta>span,
.performance-leader-card>small,
.performance-leader-card>em{
  font-weight:400!important;
}

/* Cor de destaque continua no dado, mas sem peso excessivo */
.a2-data-value{
  font-weight:650!important;
  letter-spacing:-.012em!important;
  text-shadow:none!important;
}
html[data-a2-theme="dark"] .report-platform-kpis-simple .a2-data-value,
html[data-a2-theme="dark"] .reporting-kpis-simple .a2-data-value{
  text-shadow:0 0 14px color-mix(in srgb,var(--a2-brand) 8%,transparent)!important;
}

/* Evita textos em caixa alta com peso excessivo */
[style*="font-weight:800"],
[style*="font-weight:900"]{
  font-weight:600!important;
}

/* ===== V17.14.7 · Edição manual de relatórios integrada ao tema ===== */
.report-metric-field{
  background:var(--a2-surface-2)!important;
  border:1px solid var(--a2-line)!important;
  border-radius:11px!important;
  padding:10px!important;
  box-shadow:none!important;
}
.report-metric-field label{
  color:var(--a2-muted)!important;
  font-size:11px!important;
  font-weight:500!important;
  margin-bottom:5px!important;
}
.report-metric-field .input{
  background:var(--a2-surface)!important;
  color:var(--a2-text)!important;
  border-color:var(--a2-line-strong)!important;
  min-height:36px!important;
}
.report-metric-field .input:focus{
  border-color:var(--a2-brand)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--a2-brand) 14%,transparent)!important;
}
.report-metric-compare{
  margin-top:6px!important;
}
.report-metric-compare>span:first-child{
  color:var(--a2-muted)!important;
  font-weight:400!important;
}
.metric-delta{
  font-weight:500!important;
}
.metric-delta.neutral{
  background:var(--a2-surface-3)!important;
  color:var(--a2-muted)!important;
  border:1px solid var(--a2-line)!important;
}
.report-import-metrics-grid .report-metric-field.detected{
  background:color-mix(in srgb,var(--a2-brand-soft) 34%,var(--a2-surface-2))!important;
  border-color:color-mix(in srgb,var(--a2-brand) 28%,var(--a2-line))!important;
}
.report-import-metrics-grid .report-metric-field>small{
  color:var(--a2-muted)!important;
  font-weight:400!important;
}

/* Dark: nenhuma superfície branca no lançamento manual */
html[data-a2-theme="dark"] .report-metric-field{
  background:var(--a2-surface-2)!important;
  border-color:var(--a2-line)!important;
}
html[data-a2-theme="dark"] .report-metric-field .input{
  background:#0d141d!important;
  color:var(--a2-text)!important;
  border-color:var(--a2-line-strong)!important;
}
html[data-a2-theme="dark"] .report-metric-field label,
html[data-a2-theme="dark"] .report-metric-compare>span:first-child{
  color:var(--a2-muted)!important;
}
html[data-a2-theme="dark"] .metric-delta.neutral{
  background:var(--a2-surface-3)!important;
  color:var(--a2-muted)!important;
  border-color:var(--a2-line)!important;
}

/* Motz manual também respeita White/Dark e a cor de destaque */
html[data-a2-theme="dark"] .motz1798-wrap,
html[data-a2-theme="dark"] .motz1798-group,
html[data-a2-theme="dark"] .motz1798-summary{
  background:var(--a2-surface)!important;
  border-color:var(--a2-line)!important;
  color:var(--a2-text)!important;
}
html[data-a2-theme="dark"] .motz1798-total{
  background:var(--a2-brand-soft)!important;
  border-color:color-mix(in srgb,var(--a2-brand) 28%,var(--a2-line))!important;
}
html[data-a2-theme="dark"] .motz1798-subtotal,
html[data-a2-theme="dark"] .motz1798-summary th,
html[data-a2-theme="dark"] .motz1798-summary tfoot td{
  background:var(--a2-surface-2)!important;
  border-color:var(--a2-line)!important;
}
html[data-a2-theme="dark"] .motz1798-group-head,
html[data-a2-theme="dark"] .motz1798-summary th,
html[data-a2-theme="dark"] .motz1798-summary td{
  border-color:var(--a2-line)!important;
}
html[data-a2-theme="dark"] .motz1798-total strong,
html[data-a2-theme="dark"] .motz1798-subtotal strong{
  color:var(--a2-brand)!important;
}
html[data-a2-theme="dark"] .motz1798-group-head h3,
html[data-a2-theme="dark"] .motz1798-field label{
  color:var(--a2-text)!important;
}
html[data-a2-theme="dark"] .motz1798-total span,
html[data-a2-theme="dark"] .motz1798-total small,
html[data-a2-theme="dark"] .motz1798-group-head p,
html[data-a2-theme="dark"] .motz1798-subtotal span,
html[data-a2-theme="dark"] .motz1798-field small{
  color:var(--a2-muted)!important;
}

/* ===== V17.15.0 · IA dos Relatórios ===== */
.settings-ai-report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.report-ai-connection-state{min-width:150px;padding:10px 12px;border:1px solid var(--a2-line);border-radius:10px;background:var(--a2-surface-2);display:grid;gap:2px}
.report-ai-connection-state span{font-size:10px;color:var(--a2-muted);text-transform:uppercase;letter-spacing:.04em}
.report-ai-connection-state strong{font-size:13px;font-weight:600}.report-ai-connection-state small{font-size:10px;color:var(--a2-muted)}
.report-ai-connection-state.is-ready{border-color:color-mix(in srgb,var(--a2-success) 34%,var(--a2-line))}
.report-ai-connection-state.is-ready span{color:var(--a2-success)}
.settings-ai-report-grid{display:grid;gap:12px;margin-top:14px}
.settings-ai-report-section{padding:14px;border:1px solid var(--a2-line);border-radius:11px;background:var(--a2-surface-2)}
.settings-ai-subhead{display:grid;gap:2px;margin-bottom:12px}.settings-ai-subhead strong{font-size:13px;font-weight:600;color:var(--a2-text-strong)}.settings-ai-subhead small{font-size:10.5px;color:var(--a2-muted)}
.settings-ai-checks{display:flex;flex-wrap:wrap;gap:8px 16px}.settings-ai-checks .check-inline{font-weight:450;color:var(--a2-text)}
.settings-ai-test-wrap{display:flex;align-items:end;padding-bottom:1px}.settings-ai-quality-input{position:relative}.settings-ai-quality-input .input{padding-right:34px!important}.settings-ai-quality-input span{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:11px;color:var(--a2-muted)}
.settings-ai-usage .a2-summary-stats{max-width:460px}
.report-ai-panel{margin:12px 0 4px;padding:14px;border:1px solid var(--a2-line);border-radius:11px;background:var(--a2-surface-2)}
.report-ai-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0;padding:0 0 12px;border-bottom:1px solid var(--a2-line)}
.report-ai-status{display:grid;gap:3px}.report-ai-status strong{font-size:13px;font-weight:600}.report-ai-status small{font-size:10.5px;color:var(--a2-muted)}
.report-ai-quality{min-width:125px;text-align:right;display:grid;gap:1px}.report-ai-quality strong{font-size:22px;font-weight:650;color:var(--a2-brand)}.report-ai-quality span{font-size:9.5px;color:var(--a2-muted)}.report-ai-quality small{font-size:9px;color:var(--a2-muted-2)}.report-ai-quality.is-low strong{color:var(--a2-warning)}
.report-ai-context-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.8fr);gap:14px;padding-top:12px}.report-ai-month-context textarea{min-height:118px}.report-ai-generation-options{display:grid;gap:9px;align-content:start}.report-ai-generation-options>small{font-size:9.5px;color:var(--a2-muted)}
.report-ai-data-status{display:flex;flex-wrap:wrap;gap:6px}.report-ai-platform-quality{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid var(--a2-line);border-radius:999px;background:var(--a2-surface);font-size:9.5px}.report-ai-platform-quality b{font-weight:550}.report-ai-platform-quality small{font-size:9px;color:var(--a2-muted)}.report-ai-platform-quality.ok{border-color:color-mix(in srgb,var(--a2-success) 28%,var(--a2-line))}.report-ai-platform-quality.warn{border-color:color-mix(in srgb,var(--a2-warning) 28%,var(--a2-line))}.report-ai-platform-quality.off{opacity:.55}
.report-ai-history{margin-top:10px;padding-top:10px;border-top:1px solid var(--a2-line)}.report-ai-history>summary{font-size:10.5px;color:var(--a2-muted);font-weight:500}.report-ai-history-list{display:grid;gap:6px;margin-top:9px}.report-ai-history-list>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 8px;align-items:center;padding:7px 8px;border:1px solid var(--a2-line);border-radius:8px;background:var(--a2-surface)}.report-ai-history-list strong{font-size:10.5px;font-weight:550}.report-ai-history-list small{grid-column:2;font-size:9.5px;color:var(--a2-muted)}
html[data-a2-theme="dark"] :is(.settings-ai-report-section,.report-ai-panel,.report-ai-connection-state,.report-ai-history-list>div,.report-ai-platform-quality){background:var(--a2-surface-2)!important;border-color:var(--a2-line)!important;color:var(--a2-text)!important}
html[data-a2-theme="dark"] .report-ai-platform-quality{background:var(--a2-surface-3)!important}
@media(max-width:900px){.settings-ai-report-head,.report-ai-toolbar{align-items:flex-start}.report-ai-context-grid{grid-template-columns:1fr}.report-ai-quality{text-align:left}.settings-ai-report-head{display:grid}.report-ai-connection-state{min-width:0;width:100%}}
.report-strategy-advanced{margin-top:8px;padding-top:8px;border-top:1px solid var(--a2-line)}
.report-strategy-advanced>summary{font-size:10.5px;font-weight:500;color:var(--a2-muted)}
.report-strategy-advanced>div{margin-top:10px}

/* ===== V17.15.1 · Leitura de prints com Claude Vision ===== */
.settings-ai-vision-row{align-items:end}
.settings-ai-vision-status{min-height:74px;padding:12px 14px;border:1px solid var(--a2-line);border-radius:10px;background:var(--a2-surface-2);display:flex;flex-direction:column;justify-content:center;gap:2px}
.settings-ai-vision-status small,.settings-ai-vision-status span{color:var(--a2-muted);font-size:10.5px}
.settings-ai-vision-status strong{font-weight:600;color:var(--a2-text)}
.settings-ai-vision-status.is-ready{border-color:color-mix(in srgb,var(--a2-success) 30%,var(--a2-line))}
.settings-ai-vision-status.is-ready strong{color:var(--a2-success)}
.settings-ai-vision-status.is-off strong{color:var(--a2-warning)}
.a2-import-upload-help-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.a2-import-print-hint{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 10px;border:1px solid var(--a2-line);border-radius:9px;background:var(--a2-surface-2);color:var(--a2-muted);font-size:10.5px}
.a2-import-print-hint kbd{padding:2px 5px;border:1px solid var(--a2-line-strong);border-radius:5px;background:var(--a2-surface);color:var(--a2-text);font:600 10px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}
.a2-import-print-hint strong{font-weight:600;color:var(--a2-brand)}
.a2-import-selected-file.is-pasted{border-color:var(--a2-brand)!important;color:var(--a2-brand)!important}
.a2-import-summary-chips .is-ai{border-color:color-mix(in srgb,var(--a2-brand) 35%,var(--a2-line));color:var(--a2-brand);background:var(--a2-brand-soft)}
.a2-import-summary-chips .is-review{border-color:color-mix(in srgb,var(--a2-warning) 35%,var(--a2-line));color:var(--a2-warning);background:var(--a2-warning-soft)}
.a2-import-image-preview{padding:0!important;overflow:hidden}
.a2-import-image-preview>summary{padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none}
.a2-import-image-preview>summary::-webkit-details-marker{display:none}
.a2-import-image-preview>summary span{font-weight:600;color:var(--a2-text)}
.a2-import-image-preview>summary small{font-size:10.5px;color:var(--a2-muted)}
.a2-import-image-preview-body{padding:12px;border-top:1px solid var(--a2-line);background:var(--a2-surface-2);display:grid;place-items:center;max-height:560px;overflow:auto}
.a2-import-image-preview-body img{display:block;max-width:100%;max-height:520px;width:auto;height:auto;border-radius:9px;border:1px solid var(--a2-line);background:var(--a2-surface);box-shadow:none}
.a2-vision-score{display:inline-flex;align-items:center;padding:2px 6px;border-radius:999px;background:var(--a2-brand-soft);color:var(--a2-brand);font-size:9px;font-weight:600}
.a2-vision-evidence{grid-column:1/-1;color:var(--a2-muted)!important;font-size:10px!important;line-height:1.35}
.a2-batch-ai-note{color:var(--a2-brand)!important;font-weight:500}
html[data-a2-theme="dark"] .a2-import-image-preview-body{background:var(--a2-bg)}
@media(max-width:760px){.a2-import-print-hint{align-items:flex-start;flex-direction:column}.a2-import-image-preview>summary{align-items:flex-start;flex-direction:column}.settings-ai-vision-row{display:grid!important}}
.a2-import-image-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-top:1px solid var(--a2-line);background:var(--a2-surface)}
.a2-import-image-actions form{margin:0}.a2-import-image-actions span{color:var(--a2-muted);font-size:10px}
@media(max-width:760px){.a2-import-image-actions{align-items:flex-start;flex-direction:column}}
.a2-import-warnings{padding:0!important;overflow:hidden}
.a2-import-warnings>summary{padding:11px 13px;display:flex;justify-content:space-between;gap:12px;align-items:center;list-style:none}
.a2-import-warnings>summary::-webkit-details-marker{display:none}.a2-import-warnings>summary span{font-weight:600;color:var(--a2-text)}.a2-import-warnings>summary small{font-size:10px;color:var(--a2-warning)}
.a2-import-warning-list{padding:0 13px 11px;display:grid;gap:6px}.a2-import-warning-list p{margin:0;padding:8px 9px;border-radius:8px;background:var(--a2-warning-soft);color:var(--a2-warning);font-size:10.5px;line-height:1.4;border:1px solid color-mix(in srgb,var(--a2-warning) 24%,transparent)}
.settings-ai-vision-privacy{margin:10px 0 0;padding-top:10px;border-top:1px solid var(--a2-line);color:var(--a2-muted);font-size:10px;line-height:1.45}

/* A2 v17.15.3 · exportação simplificada de relatórios */
body.a2-report-export-open{overflow:hidden}
.a2-report-export-shell[hidden]{display:none!important}
.a2-report-export-shell{position:fixed;inset:0;z-index:12050;display:grid;place-items:center;padding:22px}
.a2-report-export-backdrop{position:absolute;inset:0;border:0;background:rgba(3,8,15,.58);backdrop-filter:blur(4px);cursor:default}
.a2-report-export-panel{position:relative;width:min(680px,100%);max-height:min(760px,calc(100vh - 36px));overflow:auto;border:1px solid var(--line,#dce3eb);border-radius:18px;background:var(--panel,#fff);box-shadow:0 30px 90px rgba(0,0,0,.28);padding:20px}
.a2-report-export-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid var(--line,#e6ebf1)}
.a2-report-export-head span{display:block;font-size:10px;letter-spacing:.12em;font-weight:600;color:var(--muted,#778293);margin-bottom:5px}
.a2-report-export-head h2{margin:0;font-size:20px;font-weight:600;letter-spacing:-.02em}
.a2-report-export-head p{margin:6px 0 0;color:var(--muted,#6d7787);font-size:12px;line-height:1.5}
.a2-report-export-close{width:34px;height:34px;border:1px solid var(--line,#dce3eb);border-radius:10px;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer}
.a2-report-export-warning{display:grid;gap:3px;margin-top:14px;padding:10px 12px;border-radius:10px;border:1px solid rgba(217,146,24,.3);background:rgba(217,146,24,.08);font-size:11px}
.a2-report-export-warning strong{font-weight:600}.a2-report-export-warning span{color:var(--muted,#6d7787)}
.a2-report-export-options{display:grid;gap:10px;margin-top:14px}
.a2-report-export-option{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px;border:1px solid var(--line,#e3e8ef);border-radius:13px;background:var(--panel-soft,#f8fafc)}
.a2-report-export-option.is-primary{border-color:color-mix(in srgb,var(--accent,#1877f2) 30%,var(--line,#e3e8ef));background:color-mix(in srgb,var(--accent,#1877f2) 5%,var(--panel,#fff))}
.a2-report-export-option-copy{min-width:0}.a2-report-export-option h3{margin:0;font-size:14px;font-weight:600}.a2-report-export-option p{margin:5px 0 0;font-size:11px;line-height:1.45;color:var(--muted,#6d7787)}
.a2-report-export-badge{display:inline-flex!important;width:max-content;padding:3px 6px;border-radius:999px;background:color-mix(in srgb,var(--accent,#1877f2) 12%,transparent);color:var(--accent,#1877f2)!important;font-size:8px!important;letter-spacing:.08em!important;margin-bottom:6px!important}
.a2-report-export-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.a2-report-export-preview{font-size:10px;color:var(--muted,#6d7787);text-decoration:none}.a2-report-export-preview:hover{text-decoration:underline;color:inherit}
.a2-report-export-platform-form{display:flex;align-items:center;gap:8px;flex-shrink:0}.a2-report-export-platform-form .input{min-width:150px;max-width:190px}
.a2-report-export-foot{display:flex;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line,#e6ebf1);font-size:10px;color:var(--muted,#6d7787)}.a2-report-export-foot a{color:inherit}
.a2-report-export-icon{margin-right:5px;font-size:12px}
[data-theme="dark"] .a2-report-export-panel,.theme-dark .a2-report-export-panel{background:#10161f;border-color:#263242}
[data-theme="dark"] .a2-report-export-option,.theme-dark .a2-report-export-option{background:#141c27;border-color:#263242}
[data-theme="dark"] .a2-report-export-option.is-primary,.theme-dark .a2-report-export-option.is-primary{background:color-mix(in srgb,var(--accent,#4c9aff) 8%,#121a24);border-color:color-mix(in srgb,var(--accent,#4c9aff) 34%,#263242)}
@media(max-width:680px){.a2-report-export-shell{align-items:end;padding:0}.a2-report-export-panel{width:100%;max-height:88vh;border-radius:18px 18px 0 0;padding:16px}.a2-report-export-option{display:grid}.a2-report-export-actions,.a2-report-export-platform-form{width:100%}.a2-report-export-actions .btn,.a2-report-export-platform-form .btn{flex:1}.a2-report-export-platform-form{display:grid;grid-template-columns:1fr}.a2-report-export-platform-form .input{max-width:none;width:100%}.a2-report-export-foot{display:block}.a2-report-export-foot a{display:none}}

/* V17.15.4 — coleta de dados assistida pelo Claude */
.report-claude-collector{padding:18px 20px;margin:14px 0 18px}
.report-claude-collector-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}
.report-claude-collector-head h3{margin:2px 0 4px;font-size:1rem;font-weight:600}
.report-claude-collector-head p{margin:0;max-width:780px;color:var(--text-muted,#6b7280);font-size:.88rem;line-height:1.5}
.report-claude-collector-summary{min-width:128px;text-align:right;display:grid;gap:1px}
.report-claude-collector-summary strong{font-size:1.4rem;font-weight:650;color:var(--accent,#2563eb)}
.report-claude-collector-summary span,.report-claude-collector-summary small{font-size:.76rem;color:var(--text-muted,#6b7280)}
.report-claude-collector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.report-claude-collector-item{border:1px solid var(--border-color,#e5e7eb);border-radius:12px;padding:12px 13px;background:var(--surface-2,#fff)}
.report-claude-collector-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.report-claude-collector-item-head strong{font-size:.88rem;font-weight:600}
.report-claude-collector-item p{font-size:.8rem;line-height:1.45;margin:7px 0;color:var(--text-muted,#6b7280)}
.report-claude-collector-item>small{display:block;margin-top:7px;color:var(--text-muted,#6b7280);font-size:.74rem}
.report-claude-collector-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border-color,#e5e7eb);padding-top:8px;margin-top:8px;color:var(--text-muted,#6b7280);font-size:.74rem}
.report-claude-collector-progress b{font-weight:600;color:var(--accent,#2563eb)}
.report-claude-next{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding-top:9px;border-top:1px dashed var(--border-color,#e5e7eb);font-size:.77rem}
.report-claude-collector-item.is-error{border-color:color-mix(in srgb,#ef4444 35%,var(--border-color,#e5e7eb))}
body[data-theme="dark"] .report-claude-collector-item,
body.theme-dark .report-claude-collector-item{background:var(--surface-2,#121923)}
@media(max-width:900px){.report-claude-collector-grid{grid-template-columns:1fr}.report-claude-collector-head{flex-direction:column}.report-claude-collector-summary{text-align:left;min-width:0}}

/* ===== A2 Social v17.16.4 · preenchimento manual por plataforma ===== */
.a2-manual-platform-guide{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;margin:14px 0;border:1px solid var(--line);border-radius:14px;background:var(--panel-soft,#f8fafc)}
.a2-manual-platform-guide>div{display:grid;gap:4px}.a2-manual-platform-guide strong{font-size:13px;font-weight:600}.a2-manual-platform-guide span:not(.badge){font-size:11px;line-height:1.45;color:var(--muted)}
.a2-manual-metric-group{margin:14px 0 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--panel,#fff)}
.a2-manual-metric-group__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.a2-manual-metric-group__head h3{margin:0;font-size:13px;font-weight:600}.a2-manual-metric-group__head span,.a2-manual-metric-group--extra>summary span{font-size:10px;color:var(--muted);font-weight:500}
.a2-manual-metric-group .report-import-metrics-grid{margin-top:0}.a2-manual-metric-group--extra>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:600}
.a2-manual-metric-group--extra[open]>summary{margin-bottom:12px;padding-bottom:9px;border-bottom:1px solid var(--line)}
body[data-theme="dark"] .a2-manual-platform-guide,body[data-theme="dark"] .a2-manual-metric-group,body.theme-dark .a2-manual-platform-guide,body.theme-dark .a2-manual-metric-group{background:var(--surface-2,#111821);border-color:var(--line,#273241)}
body[data-theme="dark"] .a2-manual-metric-group .report-metric-field,body.theme-dark .a2-manual-metric-group .report-metric-field{background:var(--surface-1,#0d141c);border-color:var(--line,#273241)}
@media(max-width:760px){.a2-manual-platform-guide{align-items:flex-start;flex-direction:column}.a2-manual-metric-group{padding:11px}}

/* V18.1.26 · Resultados no tema Dark */
html[data-a2-theme="dark"] :is(.results-portfolio-summary>div,.results-closing-tasks a,.results-source-priority span,.report-source-item,.results-source-map-item,.report-review-checklist){
  background:var(--a2-surface-2)!important;
  border-color:var(--a2-line)!important;
  color:var(--a2-text)!important;
}
html[data-a2-theme="dark"] :is(.results-portfolio-summary strong,.results-closing-progress span b,.results-closing-tasks strong,.report-source-item strong,.results-source-map-item strong,.report-review-head h3){color:var(--a2-text-strong)!important}
html[data-a2-theme="dark"] :is(.results-portfolio-summary span,.results-closing-progress span,.report-source-item>small,.results-source-map-item>small,.results-integration-health small){color:var(--a2-muted)!important}
html[data-a2-theme="dark"] .results-closing-progress i{background:var(--a2-surface-3)!important}
html[data-a2-theme="dark"] .results-subnav a:hover{background:var(--a2-surface-3)!important;color:var(--a2-text-strong)!important}
html[data-a2-theme="dark"] .report-workflow-tabs a b{background:var(--a2-surface-3)!important;color:var(--a2-muted)!important}
