/* Fin Farma SaaS · adapted Tabler layout/chat primitives (MIT, tabler-LICENSE.txt).
   SaaS Dashboard Community informs hierarchy; no template assets are copied. */
:root{--ff-fonte-editorial:Archivo,system-ui,sans-serif;--ff-fonte-num:Archivo,system-ui,sans-serif;--fundo-app:var(--ff-saas-canvas);--borda:var(--ff-saas-border);--ff-divisor:#e9edf3;--q-raio:var(--ff-saas-radius);--raio:var(--ff-saas-radius);--ff-saas-blue:var(--ff-saas-accent)}
html.ff-sites body{background:var(--fundo-app);font-size:15px}
html.ff-sites .lateral{background:#fff;color:#16305e;border-right:1px solid var(--borda);gap:22px;box-shadow:none}
html.ff-sites .lateral .ff-barra-branca{stroke:#16305e}
html.ff-sites .lateral-marca{color:#16305e;font-size:22px;padding:7px 8px 12px}
html.ff-sites .troca-alvo{background:#f5f7fb;border:1px solid var(--borda);color:#16305e;border-radius:8px;min-height:48px}
html.ff-sites .loja-avatar{background:#e8eef8;color:#16305e;border-radius:7px}
html.ff-sites .troca-seta{color:#64748b}
html.ff-sites .troca-lista{background:#fff;border:1px solid var(--borda);box-shadow:0 8px 30px #16305e12}
html.ff-sites .troca-lista .troca-opcao{color:#16305e}
html.ff-sites .troca-lista .troca-opcao:hover,html.ff-sites .troca-lista .troca-opcao[aria-selected=true]{background:#edf2fb;color:#16305e}
html.ff-sites .menu{gap:5px}
html.ff-sites .menu>a{color:#53627b;font-weight:500;border:0;border-radius:7px;min-height:44px;padding:11px 12px}
html.ff-sites .menu>a:hover{color:#16305e;background:#f5f7fb}
html.ff-sites .menu>a.ativo{color:#16305e;background:#eaf0fa;border:0;font-weight:600;box-shadow:inset 3px 0 #2552a5}
html.ff-sites .menu>a .menu-estrela{display:none}
html.ff-sites .menu .fase{color:#6b7280;border-color:#e2e7ef}
html.ff-sites .submenu{border-color:#dce3ee}
html.ff-sites .submenu a{color:#64748b;font-size:13px}
html.ff-sites .submenu a:hover,html.ff-sites .submenu a.ativo{background:#f1f5fb;color:#16305e}
html.ff-sites .submenu-ponto{background:#a3b4cf}
html.ff-sites .lateral-pe{border-top:1px solid var(--borda);padding-top:16px}
html.ff-sites :is(.usuario-email,.lateral-casa,.lateral-casa a){color:#64748b}
html.ff-sites .botao-sair{color:#53627b;border-color:var(--borda)}
html.ff-sites .topo{background:#fff;border-bottom:1px solid var(--borda);box-shadow:none}
html.ff-sites .topo-titulo{font:600 17px/1.3 Archivo,system-ui,sans-serif}
html.ff-sites .topo-trilha{display:none}
html.ff-sites .conteudo{padding-top:24px}
html.ff-sites :is(.fo-header h1,.vendas-pendente .vp-titulo,.fc-module .vp-titulo,.titulo-display){font:600 28px/1.25 Archivo,system-ui,sans-serif;letter-spacing:-.7px}
html.ff-sites :is(.fo-header h1 em,.vp-titulo em,.titulo-display em){font:inherit;color:inherit}
html.ff-sites :is(.fo-header,.fc-module){margin-bottom:0;gap:8px}
html.ff-sites :is(.fo-header .cat-rot,.fc-module>.cat-rot,.vp-cabecalho>.cat-rot){display:none}
html.ff-sites :is(.fo-lead,.fo-detail,.vo-comparison){color:#64748b;font-size:13px;line-height:1.5}
html.ff-sites .fo-context{padding:10px 14px;border:1px solid var(--borda);border-radius:8px;background:#fff;min-height:42px}
html.ff-sites .fo-context>span:first-child{font-size:12px;letter-spacing:0;border-style:solid}
html.ff-sites :is(.fo-label,.vp-bloco-rotulo){font-size:12px;letter-spacing:.04em}
html.ff-sites .frozen-overview{gap:20px}
html.ff-sites .vendas-pendente{padding-top:0;gap:18px}
html.ff-sites .vendas-pendente .vp-titulo{font-size:28px}
html.ff-sites .vp-filtros{background:#fff;border:1px solid var(--borda);border-radius:9px;padding:12px 16px;gap:12px}
@media (max-width:620px){
  html.ff-sites .vp-periodos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:4px}
  html.ff-sites .vp-periodo{width:100%;min-width:0;padding:8px 2px;font-size:11px}
  html.ff-sites .vp-periodo img{display:none}
}
html.ff-sites :is(.vo-block,.fo-table,.fo-matrix){border-radius:10px;box-shadow:0 1px 2px #16305e04}
html.ff-sites :is(.vo-metric,.fo-metrics>article,.fo-metrics>article:first-child,.fo-metrics>article:nth-child(3)){border-radius:10px;padding:18px;min-height:130px;gap:8px;box-shadow:0 1px 2px #16305e04}
html.ff-sites :is(.vo-metric h2,.fo-metrics h3){font-size:14px;line-height:1.4;letter-spacing:0;text-transform:none}
html.ff-sites :is(.vo-number p,.fo-value){font:600 29px/1.25 Archivo,system-ui,sans-serif;letter-spacing:-.7px}
html.ff-sites .vo-bars-mini{height:34px;opacity:.65}
html.ff-sites .vo-result{gap:var(--ff-saas-gap)}
html.ff-sites .vo-metric{background:var(--ff-saas-surface);border:1px solid var(--ff-saas-border);border-radius:var(--ff-saas-radius)}
html.ff-sites .vo-metric-text{height:100%;gap:10px}
html.ff-sites .vo-metric .vo-comparison{margin-top:auto;color:var(--ff-saas-muted)}
html.ff-sites .vo-metric .vo-number p{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
html.ff-sites .vendas-overview .vo-bars-mini{display:none}
html.ff-sites .vo-heading h2{font-size:17px}
html.ff-sites .vo-measures{padding:3px;background:#f1f4f9;border-radius:7px}
html.ff-sites .vo-measures button{background:transparent;border:0;border-radius:5px;color:#64748b;min-height:34px}
html.ff-sites .vo-measures button[aria-pressed=true]{background:#fff;color:#16305e;box-shadow:0 1px 4px #16305e15}
html.ff-sites .vo-evolution{padding:20px}
html.ff-sites :is(.vo-bar,.vx-point .vo-bar){background:#315d9e}
html.ff-sites .vo-below{background:#c09337}
html.ff-sites .vo-previous{background:#dfe8f5}
html.ff-sites .ff-explorer{gap:18px}
html.ff-sites .ff-explorer-label{display:none}
html.ff-sites .ff-explorer-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap;gap:22px;padding:0;border:0;border-bottom:1px solid var(--borda);background:transparent;border-radius:0}
html.ff-sites .ff-explorer-tabs button{white-space:nowrap;flex:0 0 auto;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 2px;min-height:46px;color:#64748b;font:500 14px/1.4 Archivo,system-ui,sans-serif}
html.ff-sites .ff-explorer-tabs button[aria-selected=true]{color:#16305e;border-bottom-color:#2552a5;background:transparent;box-shadow:none}
html.ff-sites .ff-continuous-toggle{font-size:12px;color:#64748b;padding:8px 0;background:none;border:0}
html.ff-sites .fo-band>header .fo-label{display:none}
html.ff-sites .fo-band>header{min-height:32px;margin-bottom:0}
html.ff-sites .fo-home-toolbar{margin:0}
html.ff-sites .fo-home-now{padding:0;border:0;background:none}
html.ff-sites .fo-home-instruction{display:none}
html.ff-sites .fo-home-counts{gap:16px}
html.ff-sites .fo-home-counts>article{background:#fff;border:1px solid var(--borda);border-radius:10px}
html.ff-sites :is(.fo-home-count,.fo-home-count summary){border:0;box-shadow:none;background:transparent;border-radius:10px}
html.ff-sites .fo-home-signal{background:#fff;border:1px solid var(--borda);border-radius:10px}
html.ff-sites .fo-home-signal[data-tone=critical]{border-left:3px solid #c55345}
html.ff-sites .fo-home-signal[data-tone=attention]{border-left:3px solid #bd9134}
html.ff-sites .fo-home-hint{font-size:12px}
html.ff-sites :is(.fo-footer,.vo-meu){font-size:12px;background:none;border-top:1px solid var(--borda);padding:18px 0;color:#64748b}
/* Tabler chat bubble primitive, adapted to existing operational DOM. */
html.ff-sites .atd.chat-frozen{--chat-bubbles-gap:16px;--chat-bubble-padding:12px 16px;border-radius:10px}
html.ff-sites .chat-frozen .ffchat-controles{min-height:44px;padding:5px 12px;background:#fff}
html.ff-sites:not(.ff-chat-maximizado) .chat-frozen .atd-grade{height:max(440px,calc(100dvh - 180px))!important}
html.ff-sites .chat-frozen .atd-fio{background:var(--ff-saas-canvas);padding:20px}
html.ff-sites .chat-frozen .ffchat-msg-corpo{position:relative;padding:var(--chat-bubble-padding);border-radius:10px;background:#fff;font-size:14px;line-height:1.55;box-shadow:0 1px 2px #16305e08}
html.ff-sites .chat-frozen .bolha-nossa .ffchat-msg-corpo{background:var(--ff-saas-selected);box-shadow:none}
html.ff-sites .chat-frozen .atd-compositor{background:#fff;border-top:1px solid var(--borda)}
html.ff-sites .chat-frozen textarea{font-size:14px;min-height:44px}
html.ff-sites .chat-frozen :is(.atd-conv-nome,.atd-chat-nome){font-size:14px}
html.ff-sites :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #789ad1;outline-offset:3px}
@media(min-width:1180px){
 html.ff-sites .vendas-overview{display:flex;flex-direction:column;gap:var(--ff-saas-gap)}
 html.ff-sites .vendas-overview .vo-result{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ff-saas-gap)}
 html.ff-sites .vendas-overview .vo-metric{min-height:150px;padding:20px;box-shadow:var(--ff-saas-shadow)}
 html.ff-sites .vendas-overview .vo-evolution{padding:24px;min-height:0}
 html.ff-sites .vendas-overview .vx-chart{margin-top:20px}
 html.ff-sites .vendas-overview .vx-scale,html.ff-sites .vendas-overview .vo-bars.vx-bars{height:230px}
}
@media(min-width:900px){
 html.ff-sites .chat-frozen .atd-lista{padding:8px}
 html.ff-sites .chat-frozen .atd-item{border-radius:8px;margin-bottom:4px}
 html.ff-sites .chat-frozen .ffchat-head{padding:16px}
 html.ff-sites .chat-frozen .ffchat-compose{padding:12px 16px}
 html.ff-sites .chat-frozen .ffchat-compose-box{border-radius:10px;background:var(--ff-saas-canvas)}
}
@media(max-width:899px){
 html.ff-sites .conteudo{padding:18px 16px 92px}
 html.ff-sites .nav-inferior{background:#fff;border-top:1px solid var(--borda);box-shadow:0 -4px 18px #16305e05}
 html.ff-sites .nav-inferior a{font-size:12px}
 html.ff-sites :is(.fo-header h1,.vendas-pendente .vp-titulo,.fc-module .vp-titulo){font-size:25px}
 html.ff-sites .vo-result{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;border:0;background:none;gap:10px}
 html.ff-sites .vo-metric{display:flex;flex-direction:column;min-height:145px;border:1px solid var(--borda);padding:14px}
 html.ff-sites .vo-metric:last-child{border:1px solid var(--borda)}
 html.ff-sites .vo-bars-mini{display:none}
 html.ff-sites .vo-number p{font-size:26px}
 html.ff-sites .fo-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 html.ff-sites .fo-value{font-size:25px}
 html.ff-sites .fo-metrics>article{padding:14px;min-height:135px}
 html.ff-sites .fo-metrics .fo-detail{font-size:12px}
 html.ff-sites:not(.ff-chat-maximizado) .chat-frozen .atd-grade{height:calc(100dvh - 210px)!important;min-height:360px}
 html.ff-sites.ff-chat-maximizado .chat-frozen.ffchat-maximizado .atd-grade{height:auto!important;min-height:0;flex:1 1 0}
 html.ff-sites .fo-home-counts{gap:10px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

html.ff-sites .chat-frozen .bolha-nossa .ffchat-msg-corpo{color:#16305e}
html.ff-sites .chat-frozen .bolha-interna .ffchat-msg-corpo{background:#fff6df;color:#634e22}

/* Mesma gramática SaaS nas faixas de Início, Equipe, Estoque, Compras,
   Marketing e Copiloto. Os dados, estados e destinos permanecem no núcleo. */
html.ff-sites .faixa-quadrantes{gap:var(--ff-saas-gap)}
html.ff-sites .faixa-quadrantes .quadrante{
  min-width:0;min-height:150px;background:var(--ff-saas-surface);
  border:1px solid var(--ff-saas-border);border-radius:var(--ff-saas-radius);
  padding:20px;box-shadow:var(--ff-saas-shadow);
}
html.ff-sites .faixa-quadrantes .quadrante:hover{
  background:#f9fbff;border-color:#b8cce8;box-shadow:0 6px 16px #16305e0a;
}
html.ff-sites .faixa-quadrantes .quadrante.quadrante-fechado:hover{
  background:var(--ff-saas-surface);border-color:var(--ff-saas-border);
  box-shadow:var(--ff-saas-shadow);
}
html.ff-sites .quadrante .q-rot{color:var(--ff-saas-muted);font-size:14px;line-height:1.35}
html.ff-sites .quadrante .q-ancora{min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
html.ff-sites .quadrante .q-apoio{color:var(--ff-saas-muted);font-size:12px;line-height:1.45}
html.ff-sites :is(.fp-grafico,.fp-palco,.ff-inicio-prioridades,.ff-inicio-atalhos){
  border:1px solid var(--ff-saas-border);border-radius:var(--ff-saas-radius);
  background:var(--ff-saas-surface);box-shadow:var(--ff-saas-shadow);
}
html.ff-sites .ff-inicio-metricas{
  gap:var(--ff-saas-gap);background:none;border:0;border-radius:0;overflow:visible;
}
html.ff-sites .ff-inicio-metrica,html.ff-sites .ff-inicio-metrica:last-child{
  min-width:0;min-height:145px;padding:20px;background:#fff;
  border:1px solid var(--ff-saas-border);border-radius:var(--ff-saas-radius);
  box-shadow:var(--ff-saas-shadow);
}
html.ff-sites .ff-inicio-metrica:hover{background:#f9fbff;border-color:#b8cce8}
html.ff-sites .ff-inicio-metrica>strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
html.ff-sites .ff-modulo-ferramentas{color:var(--ff-saas-muted);margin:6px 8px 12px}
html.ff-sites .ff-modulo-ferramentas summary{min-height:36px}
html.ff-sites .atd.atd-sites .atd-grade{
  border-color:var(--ff-saas-border);border-radius:var(--ff-saas-radius);
  box-shadow:var(--ff-saas-shadow);
}
@media(max-width:899px){
  html.ff-sites .faixa-quadrantes{gap:10px}
  html.ff-sites .faixa-quadrantes .quadrante{padding:14px;min-height:155px}
  html.ff-sites .ff-inicio-metricas{gap:10px}
  html.ff-sites .ff-inicio-metrica,html.ff-sites .ff-inicio-metrica:last-child{
    min-height:138px;padding:14px;
  }
}
@media(max-width:430px){
  html.ff-sites .quadrante .q-rot{font-size:13px}
  html.ff-sites .faixa-quadrantes .quadrante{padding:12px;min-height:160px}
  html.ff-sites .quadrante .q-apoio{font-size:12px}
}

/* Equipe em telas estreitas: o cabeçalho e a nota de cada pilar ocupam linhas próprias. */
@media(max-width:620px){
  html.ff-sites .fo-equipe .fo-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:transparent;border:0;padding:0}
  html.ff-sites .fo-equipe .fo-metrics>article,
  html.ff-sites .fo-equipe .fo-metrics>article:first-child,
  html.ff-sites .fo-equipe .fo-metrics>article:nth-child(3){display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:135px;padding:14px;border:1px solid var(--ff-saas-border);border-radius:10px;gap:8px}
  html.ff-sites .fo-equipe .fo-metrics h3{font-size:14px;line-height:1.35;letter-spacing:0;text-transform:none;overflow-wrap:anywhere}
  html.ff-sites .fo-equipe .fo-metrics .fo-value{font-size:25px;line-height:1.25;margin:0}
  html.ff-sites .fo-equipe .fo-metrics .fo-detail{font-size:12px;line-height:1.4;margin-top:auto}
}

/* O detalhe selecionado preserva valores monetários inteiros no telefone. */
@media(max-width:620px){
  html.ff-sites .vx-detail div{flex-direction:column;align-items:flex-start;gap:2px}
  html.ff-sites .vx-detail strong{text-align:left;overflow-wrap:normal;white-space:nowrap;font-size:16px}
}

/* Composição do SaaS Dashboard Community: indicadores, gráfico e leitura lateral.
   O anel indica cobertura da série recebida, nunca resultado comercial. */
html.ff-sites .vx-insights{border:1px solid var(--ff-saas-border);border-radius:12px;background:#fff;padding:18px;min-width:0}
html.ff-sites .vx-insights h3{margin:0 0 14px;color:#253551;font:600 16px/1.3 Archivo,system-ui,sans-serif}
html.ff-sites .vx-insights h4{margin:22px 0 8px;color:#64748b;font:600 12px/1.4 Archivo,system-ui,sans-serif}
html.ff-sites .vx-coverage-ring{display:flex;flex-direction:column;align-items:center;justify-content:center;width:154px;height:154px;margin:auto;border-radius:50%;background:radial-gradient(closest-side,#fff 70%,transparent 72%),conic-gradient(#527ff0 var(--vx-coverage),#edf2fa 0);color:#16305e}
html.ff-sites .vx-coverage-ring strong{font:700 27px/1.2 Archivo,system-ui,sans-serif}
html.ff-sites .vx-coverage-ring span{font:400 12px/1.4 Archivo,system-ui,sans-serif;color:#64748b}
html.ff-sites .vx-coverage-caption{margin:12px 0 0;text-align:center;color:#64748b;font-size:12px}
html.ff-sites .vx-insights .vx-detail{display:flex;flex-direction:column;gap:0;margin:0;padding:0;border:0;border-radius:0;background:transparent}
html.ff-sites .vx-insights .vx-detail>div{padding:9px 0;border-top:1px solid var(--ff-saas-border)}
html.ff-sites .vx-insights .vx-detail strong{font-size:17px;line-height:1.35}
@media(min-width:1180px){
 html.ff-sites .vendas-overview .vx-explorer{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(230px,.75fr);column-gap:20px;align-items:start}
 html.ff-sites .vendas-overview .vx-explorer>:not(.vx-insights){grid-column:1;min-width:0}
 html.ff-sites .vendas-overview .vx-insights{grid-column:2;grid-row:1/8;align-self:stretch}
 html.ff-sites .fo-inicio .fo-band:has(.fo-home-signals){display:grid;grid-template-columns:1fr 1fr;gap:16px;background:transparent;border:0;padding:0;box-shadow:none}
 html.ff-sites .fo-inicio .fo-band:has(.fo-home-signals)>header{grid-column:1/-1}
 html.ff-sites .fo-inicio .fo-home-now,.fo-inicio .fo-home-signals{min-width:0}
 html.ff-sites .fo-inicio .fo-home-counts,html.ff-sites .fo-inicio .fo-home-signals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}
 html.ff-sites .fo-inicio .fo-home-counts>article{min-width:0}
 html.ff-sites .fo-inicio .fo-home-signals>.fo-home-signal{min-width:0}
}
html.ff-sites .fo-inicio .fo-home-count>summary,html.ff-sites .fo-inicio .fo-home-signal>summary{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;min-height:148px;gap:2px 12px;padding:16px;background:#fff}
html.ff-sites .fo-inicio .fo-home-count>summary::before,html.ff-sites .fo-inicio .fo-home-signal>summary::before{content:"✦";grid-column:1;grid-row:1/4;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#edf3ff;color:#4a73d1;font:600 20px Archivo,system-ui,sans-serif}
html.ff-sites .fo-inicio .fo-home-signal[data-tone=critical]>summary::before{background:#fff0eb;color:#c55345}
html.ff-sites .fo-inicio .fo-home-signal[data-tone=attention]>summary::before,html.ff-sites .fo-inicio .fo-home-count[data-tone=attention]>summary::before{background:#fff7e8;color:#bc8b32}
html.ff-sites .fo-inicio .fo-home-count>summary .fo-label,html.ff-sites .fo-inicio .fo-home-signal>summary .fo-label{grid-column:2;grid-row:1;color:#64748b}
html.ff-sites .fo-inicio .fo-home-count>summary .num,html.ff-sites .fo-inicio .fo-home-signal>summary .num{grid-column:2;grid-row:2;justify-self:start;max-width:none;text-align:left;font-size:27px;line-height:1.2}
html.ff-sites .fo-inicio .fo-home-count-title,html.ff-sites .fo-inicio .fo-home-signal-title{grid-column:2;grid-row:3;color:#64748b;font-size:13px;line-height:1.3}
html.ff-sites .fo-inicio .fo-home-hint{display:none}
html.ff-sites .fo-inicio .fo-home-count[data-tone=attention],html.ff-sites .fo-inicio .fo-home-signal[data-tone]{background:#fff;border:1px solid var(--ff-saas-border);border-radius:12px}
@media(max-width:1179px){
 html.ff-sites .fo-inicio .fo-home-counts,html.ff-sites .fo-inicio .fo-home-signals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:620px){
 html.ff-sites .fo-inicio .fo-home-counts,html.ff-sites .fo-inicio .fo-home-signals{grid-template-columns:1fr}
 html.ff-sites .fo-inicio .fo-home-count>summary,html.ff-sites .fo-inicio .fo-home-signal>summary{min-height:112px}
 html.ff-sites .vx-insights{padding:16px}
 html.ff-sites .vx-coverage-ring{width:126px;height:126px}
}

/* Frozen tokens + SaaS Dashboard Community: one visual rhythm throughout.
   Source data and domain decisions remain owned by each module. */
html.ff-sites :is(.fo-estoque,.fo-compras,.fo-equipe,.fo-marketing) .fo-metrics>article{
 position:relative;padding:19px 18px;min-height:155px;gap:6px;border-color:var(--ff-saas-border);
 box-shadow:var(--ff-saas-shadow);background:#fff;
}
html.ff-sites :is(.fo-estoque,.fo-compras,.fo-equipe,.fo-marketing) .fo-metrics>article::before{
 content:"";display:block;align-self:flex-end;width:38px;height:38px;margin-bottom:-30px;
 border-radius:11px;background:#e9f0fd;
}
html.ff-sites .fo-estoque .fo-metrics>article:nth-child(2)::before,
html.ff-sites .fo-compras .fo-metrics>article:nth-child(2)::before{background:#fff4e6}
html.ff-sites .fo-estoque .fo-metrics>article:nth-child(3)::before,
html.ff-sites .fo-marketing .fo-metrics>article:nth-child(3)::before{background:#e5f5ef}
html.ff-sites :is(.fo-estoque,.fo-compras,.fo-equipe,.fo-marketing) .fo-metrics h3{
 max-width:calc(100% - 48px);font-size:13px;color:#52647e;font-weight:500;
}
html.ff-sites :is(.fo-estoque,.fo-compras,.fo-equipe,.fo-marketing) .fo-metrics .fo-value{
 margin-top:13px;font-size:clamp(23px,2.2vw,30px);line-height:1.2;
}
html.ff-sites .fo-metrics .fo-detail{margin-top:auto;color:#64748b}
html.ff-sites .ff-explorer{display:grid;gap:0 20px;align-items:start}
html.ff-sites .ff-explorer .ff-explorer-tabs button{text-align:left}
html.ff-sites .ff-explorer-panel{min-width:0}
html.ff-sites .ff-explorer-panel>.fo-band{margin:0}
html.ff-sites .fo-campaigns{gap:14px}
html.ff-sites .fo-campaign{border-color:var(--ff-saas-border);border-radius:12px;box-shadow:var(--ff-saas-shadow)}
html.ff-sites .fo-copiloto>.fo-band{border-color:var(--ff-saas-border);box-shadow:var(--ff-saas-shadow)}
html.ff-sites .fo-cop-source{border:1px solid var(--ff-saas-border);border-radius:10px;background:#fff}
html.ff-sites .fo-cop-source[data-source-state="FORA DO PLANO"]{background:#f6f7fa}
html.ff-sites .fo-cop-priority{border-color:var(--ff-saas-border);border-left-color:#c09337}
@media(min-width:1180px){
 html.ff-sites .ff-explorer{grid-template-columns:185px minmax(0,1fr);column-gap:22px}
 html.ff-sites .ff-explorer .ff-explorer-tabs{
   grid-column:1;grid-row:1/20;display:flex;flex-direction:column;align-self:start;
   gap:4px;padding:8px;background:#fff;border:1px solid var(--ff-saas-border);
   border-radius:12px;overflow:visible;
 }
 html.ff-sites .ff-explorer .ff-explorer-tabs button{
   white-space:normal;min-height:42px;padding:10px 12px;border:0;border-radius:8px;
 }
 html.ff-sites .ff-explorer .ff-explorer-tabs button[aria-selected=true]{
   background:var(--ff-saas-selected);border:0;color:#16305e;
 }
 html.ff-sites .ff-explorer>.ff-explorer-panel{grid-column:2;grid-row:1/20}
 html.ff-sites .fo-copiloto .fo-cop-sources{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1179px){
 html.ff-sites .ff-explorer{display:flex;flex-direction:column;gap:16px}
 html.ff-sites .ff-explorer .ff-explorer-tabs{width:100%}
 html.ff-sites .ff-explorer-panel{width:100%}
}
@media(max-width:620px){
 html.ff-sites :is(.fo-estoque,.fo-compras,.fo-equipe,.fo-marketing) .fo-metrics>article{
   min-height:142px;padding:14px;
 }
 html.ff-sites :is(.fo-estoque,.fo-compras,.fo-equipe,.fo-marketing) .fo-metrics>article::before{
   width:30px;height:30px;margin-bottom:-24px;
 }
 html.ff-sites :is(.fo-estoque,.fo-compras,.fo-equipe,.fo-marketing) .fo-metrics h3{
   max-width:calc(100% - 36px);font-size:12px;line-height:1.35;
 }
 html.ff-sites :is(.fo-estoque,.fo-compras,.fo-equipe,.fo-marketing) .fo-metrics .fo-value{
   margin-top:8px;font-size:clamp(17px,5vw,20px);letter-spacing:-.04em;white-space:nowrap;overflow-wrap:normal;
 }
}

/* Compact source map and progressively disclosed campaign copy. */
html.ff-sites .fo-copiloto .fo-cop-sources>.ff-scenario{grid-column:1/-1;margin:4px 0 0}
html.ff-sites .fo-copiloto .fo-cop-source{align-self:stretch}
html.ff-sites .fo-campaign-message{margin:12px 0;padding:8px 12px;background:#f5f7fb;border-radius:8px}
html.ff-sites .fo-campaign-message summary{cursor:pointer;min-height:32px;display:flex;align-items:center;font-size:12px;font-weight:600;color:#315d9e}
html.ff-sites .fo-campaign-message[open] summary{margin-bottom:8px}

/* Experience hosts reuse the application shell. */
.ff-demo-copilot-overlay .ff-ia-painel{display:flex;flex-direction:column;padding:12px;gap:8px;overflow:hidden}.ff-demo-copilot-overlay .ff-experience-host{flex:1;min-height:0;overflow:auto}.ff-demo-copilot-close{align-self:flex-end;flex-shrink:0}.ff-experience-host{min-width:0}
