/* Mesmos valores do app PSISELIFE (style.css do app) */
.bf-root{
  --teal:#36e0c4;--teal-dark:#28c4aa;--teal-light:rgba(54,224,196,.12);--teal-mid:rgba(54,224,196,.22);
  --navy:#112443;--navy-mid:#1a3358;--tech-blue:#12d6ff;
  --bg:#f4f7fb;--bg-page:#e8ebee;--bg-card:#fff;
  --text:#112443;--text-2:#4a6080;--text-muted:#8097b1;
  --border:rgba(17,36,67,.08);--border-2:rgba(17,36,67,.15);
  --green:#10b981;--green-light:rgba(16,185,129,.12);
  --amber:#f59e0b;--amber-light:rgba(245,158,11,.14);
  --red:#ef4444;--red-light:rgba(239,68,68,.12);
  --shadow-sm:0 1px 4px rgba(17,36,67,.07),0 2px 8px rgba(17,36,67,.04);
  --shadow:0 4px 16px rgba(17,36,67,.08),0 2px 6px rgba(17,36,67,.04);
  --r-sm:8px;--r:12px;--r-lg:16px;--r-pill:999px;
  --sidebar-w:220px;--topbar-h:56px;
}
.bf-root *{box-sizing:border-box;margin:0;padding:0}
.bf-root{font-size:16px}
.bf-root{font-family:'Poppins',sans-serif;font-size:14px;color:var(--text);background:var(--bg-page);line-height:1.55;-webkit-font-smoothing:antialiased}
.bf-root button,.bf-root input,.bf-root select,.bf-root textarea{font-family:inherit;font-size:inherit;color:inherit}
.bf-root button{cursor:pointer}
.bf-root a{color:var(--navy-mid)}
.bf-root [hidden]{display:none!important}

/* Login */
.bf-root .tela-login{min-height:100vh;display:grid;place-items:center;padding:24px 16px}
.bf-root .cartao-login{width:100%;max-width:400px;background:var(--bg-card);border-radius:var(--r-lg);box-shadow:var(--shadow);padding:32px 28px;border-top:3px solid var(--teal)}
.bf-root .cartao-login img.logo{display:block;height:34px;margin:0 auto 6px}
.bf-root .cartao-login .produto{text-align:center;font-weight:600;font-size:15px;margin-bottom:4px}
.bf-root .cartao-login .sub{text-align:center;color:var(--text-2);font-size:12.5px;margin-bottom:22px}

/* Estrutura */
.bf-root .app{display:grid;grid-template-columns:var(--sidebar-w) 1fr;grid-template-rows:var(--topbar-h) 1fr;min-height:100vh}
.bf-root .bf-sidebar{grid-row:1/3;background:#fff;border-right:1px solid var(--border);padding:14px 12px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}
.bf-root .bf-sidebar .logo{height:30px;margin:4px 6px 18px;object-fit:contain;object-position:left}
.bf-root .menu-titulo{font-size:10.5px;letter-spacing:.08em;color:var(--text-label,#b0c0d4);font-weight:600;margin:8px 8px 6px}
.bf-root .menu a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--r-sm);color:var(--text-2);text-decoration:none;font-weight:500;font-size:13px}
.bf-root .menu a:hover{background:var(--bg)}
.bf-root .menu a.ativo{background:var(--teal-light);color:var(--navy);font-weight:600}
.bf-root .menu a svg{width:17px;height:17px;flex:none}
.bf-root .rodape-menu{margin-top:auto;border-top:1px solid var(--border);padding-top:12px;font-size:12px;color:var(--text-2)}
.bf-root .rodape-menu .nome{font-weight:600;color:var(--text);word-break:break-all}
.bf-root .rodape-menu button{margin-top:8px}
.bf-root .bf-topbar{background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:12px;padding:0 24px}
.bf-root .bf-topbar h1{font-size:15px;font-weight:600}
.bf-root main{padding:24px 32px;max-width:1500px;width:100%}
.bf-root .titulo-pagina{font-size:20px;font-weight:700;margin-bottom:2px}
.bf-root .sub-pagina{color:var(--text-2);margin-bottom:18px}

/* Componentes */
.bf-root .cartao{background:var(--bg-card);border-radius:var(--r);box-shadow:var(--shadow-sm);padding:18px 20px;border-top:3px solid var(--teal);margin-bottom:16px}
.bf-root .cartao.neutro{border-top-color:var(--border-2)}
.bf-root .cartao.alerta{border-top-color:var(--amber)}
.bf-root .cartao h2{font-size:14px;font-weight:600;margin-bottom:4px}
.bf-root .cartao p.leg{color:var(--text-2);font-size:12.5px;margin-bottom:12px}
.bf-root label{display:block;font-weight:600;font-size:12.5px;margin:12px 0 5px}
.bf-root input[type=text],.bf-root input[type=email],.bf-root input[type=password],.bf-root input[type=url],.bf-root select,.bf-root textarea{width:100%;border:1.5px solid var(--border-2);border-radius:var(--r-sm);padding:10px 12px;background:#fff;outline:none}
.bf-root input:focus,.bf-root select:focus,.bf-root textarea:focus{border-color:var(--teal-dark);box-shadow:0 0 0 3px var(--teal-light)}
.bf-root textarea{min-height:360px;resize:vertical;line-height:1.7}
.bf-root .ajuda{font-size:12px;color:var(--text-muted);margin-top:4px}
.bf-root .btn{border:0;border-radius:var(--r-sm);padding:10px 18px;font-weight:600;background:var(--navy);color:#fff}
.bf-root .btn:hover{background:var(--navy-mid)}
.bf-root .btn.teal{background:var(--teal);color:var(--navy)}
.bf-root .btn.teal:hover{background:var(--teal-dark)}
.bf-root .btn.claro{background:#fff;color:var(--navy);border:1.5px solid var(--border-2)}
.bf-root .btn.claro:hover{background:var(--bg)}
.bf-root .btn.pequeno{padding:6px 12px;font-size:12px}
.bf-root .btn[disabled]{opacity:.55;cursor:not-allowed}
.bf-root .linha{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.bf-root .mensagem{border-radius:var(--r-sm);padding:10px 12px;font-size:12.5px;margin:12px 0}
.bf-root .mensagem.erro{background:var(--red-light);color:#9b1c1c}
.bf-root .mensagem.ok{background:var(--green-light);color:#065f46}
.bf-root .mensagem.aviso{background:var(--amber-light);color:#92400e}

.bf-root .lista-artigos{list-style:none}
.bf-root .lista-artigos li{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}
.bf-root .lista-artigos li:last-child{border-bottom:0}
.bf-root .lista-artigos .tit{font-weight:600;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bf-root .lista-artigos .data{font-size:11.5px;color:var(--text-muted);white-space:nowrap}
.bf-root .etiqueta{font-size:11px;font-weight:600;padding:2px 10px;border-radius:var(--r-pill);white-space:nowrap}
.bf-root .etiqueta.rascunho{background:var(--amber-light);color:#92400e}
.bf-root .etiqueta.publicado{background:var(--green-light);color:#065f46}
.bf-root .etiqueta.erro{background:var(--red-light);color:#9b1c1c}
.bf-root .vazio{text-align:center;color:var(--text-2);padding:28px 8px}

.bf-root .editor-grade{display:grid;grid-template-columns:1fr 300px;gap:16px;align-items:start}
.bf-root .checagem{display:flex;gap:10px;align-items:flex-start;font-weight:500;font-size:12.5px;margin:8px 0}
.bf-root .checagem input{margin-top:3px;width:16px;height:16px;accent-color:var(--teal-dark);flex:none}
.bf-root .capa-previa{width:100%;aspect-ratio:16/9;border-radius:var(--r-sm);background:var(--bg);object-fit:cover;display:block;margin-bottom:10px;border:1px dashed var(--border-2)}
.bf-root .previa{border:1.5px solid var(--border-2);border-radius:var(--r-sm);padding:16px 20px;background:#fff;line-height:1.75}
.bf-root .previa h2{font-size:18px;margin:16px 0 6px}
.bf-root .previa h3{font-size:15px;margin:14px 0 4px}
.bf-root .previa p{margin:8px 0}
.bf-root .previa ul,.bf-root .previa ol{margin:8px 0 8px 22px}
.bf-root .previa blockquote{border-left:3px solid var(--teal);padding-left:12px;color:var(--text-2);margin:10px 0}
.bf-root .previa .resposta-direta{background:var(--teal-light);border-radius:var(--r-sm);padding:10px 14px;margin:10px 0}
.bf-root .previa .rd-rotulo{font-weight:700;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 4px}
.bf-root .abas{display:inline-flex;background:#fff;border-radius:var(--r-pill);padding:3px;box-shadow:var(--shadow-sm);margin-bottom:12px}
.bf-root .abas button{border:0;background:transparent;padding:6px 16px;border-radius:var(--r-pill);font-weight:600;font-size:12.5px;color:var(--text-2)}
.bf-root .abas button.ativa{background:var(--teal-light);color:var(--navy)}
.bf-root .passos{counter-reset:p;list-style:none}
.bf-root .passos li{counter-increment:p;position:relative;padding:0 0 12px 38px;font-size:13px}
.bf-root .passos li::before{content:counter(p);position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50%;background:var(--teal-light);color:var(--navy);font-weight:700;display:grid;place-items:center;font-size:12px}
.bf-root .passos .onde{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.05em;color:var(--navy);background:var(--teal-mid);padding:1px 8px;border-radius:var(--r-pill);margin-right:6px}

.bf-root .fundo-modal{position:fixed;inset:0;background:rgba(17,36,67,.45);display:grid;place-items:center;padding:16px;z-index:50}
.bf-root .modal{background:#fff;border-radius:var(--r-lg);box-shadow:var(--shadow);padding:24px;max-width:520px;width:100%;max-height:90vh;overflow:auto}
.bf-root .modal h2{font-size:16px;margin-bottom:8px}
.bf-root .modal p{margin:8px 0;font-size:13px;color:var(--text-2)}

.bf-root .menu-celular{display:none}
.bf-root .sair-cel{display:none;margin-left:auto}
@media (max-width:820px){
  .bf-root .app{grid-template-columns:1fr;grid-template-rows:var(--topbar-h) 1fr}
  .bf-root .bf-sidebar{display:none}
  .bf-root .menu-celular{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);z-index:20}
  .bf-root .menu-celular a{flex:1;text-align:center;padding:9px 4px 10px;font-size:11px;font-weight:600;color:var(--text-2);text-decoration:none}
  .bf-root .menu-celular a.ativo{color:var(--navy);background:var(--teal-light)}
  .bf-root main{padding:16px 16px 84px}
  .bf-root .bf-topbar{padding:0 16px}
  .bf-root .sair-cel{display:inline-block;margin-left:8px}
  .bf-root .editor-grade{grid-template-columns:1fr}
  .bf-root .lista-artigos li{flex-wrap:wrap}
  .bf-root .lista-artigos .tit{flex-basis:100%;white-space:normal}
}
.bf-root .etiqueta.agendado{background:#e0e7ff;color:#3730a3}
.bf-root .barra-lote{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}
.bf-root .barra-lote .conta{font-size:12.5px;color:var(--text-2)}
.bf-root .lista-artigos .sel{width:17px;height:17px;accent-color:var(--teal-dark);flex:none}
.bf-root .abas-lista{display:flex;gap:8px;margin-bottom:14px}
.bf-root .abas-lista a{padding:6px 14px;border-radius:var(--r-pill);font-size:12.5px;font-weight:600;text-decoration:none;color:var(--text-2);background:#fff;border:1.5px solid var(--border-2)}
.bf-root .abas-lista a.ativa{background:var(--navy);color:#fff;border-color:var(--navy)}
.bf-root .escolhas{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:4px 0 22px}
@media(max-width:760px){.bf-root .escolhas{grid-template-columns:1fr}}
.bf-root .agenda-linha{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.bf-root .agenda-linha input[type=datetime-local]{width:auto}
.bf-root .coluna-editor{max-width:none}
.bf-root .caixa-colar{min-height:150px;margin-bottom:6px}
.bf-root .campos{border:0;padding:0;margin:14px 0 0;min-width:0}
.bf-root .campos[disabled] input,.bf-root .campos[disabled] select,.bf-root .campos[disabled] textarea{background:#eceef1;color:#9aa1ad;cursor:not-allowed}
.bf-root .campos[disabled] .cartao{opacity:.75}
.bf-root .etica-titulo{font-size:14px;margin:18px 0 6px}
.bf-root .etica-linha{display:flex;flex-wrap:wrap;gap:6px 22px}
.bf-root .etica-linha .checagem{margin:0;flex:0 1 auto}
.bf-root .btn.copiado{background:var(--green-light);color:#065f46}
.bf-root .agenda-linha{justify-content:center;gap:12px 16px;margin:18px 0 6px;padding:14px 20px;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--r)}
.bf-root .agenda-linha input[type=date],.bf-root .agenda-linha input[type=time]{width:auto;min-width:140px;border:1px solid var(--border-2);border-radius:999px;padding:9px 18px;background:#fff;font-family:inherit;text-align:center;box-shadow:none}
.bf-root .agenda-linha input[type=date]:focus,.bf-root .agenda-linha input[type=time]:focus{border-color:var(--teal-dark);box-shadow:0 0 0 3px var(--teal-light)}
.bf-root .agenda-linha label{font-size:12px;color:var(--text-2)}
.bf-root .pv-cat{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--teal-dark);margin-bottom:6px}
.bf-root .pv-titulo{font-size:26px;line-height:1.2;margin:4px 0 14px}
.bf-root .pv-capa{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;display:block;margin-bottom:16px}
.bf-root .pv-sem-capa{background:#eceef1;color:#9aa1ad;border-radius:12px;text-align:center;padding:28px 8px;font-size:12.5px;margin-bottom:16px}


.bf-root input.travado{background:#eceef1;color:#6b7280;cursor:not-allowed}

.bf-root .menu-titulo{text-transform:none;letter-spacing:.01em;font-size:12px;color:var(--teal-dark);font-weight:600}
.bf-root .bf-topbar .marca{margin-left:auto;display:flex;align-items:center;gap:9px;font-size:13.5px;color:var(--text-2);letter-spacing:.005em}
.bf-root .bf-topbar .marca strong{color:var(--navy);font-weight:700}
.bf-root .marca-icone{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(135deg,var(--teal),var(--teal-dark));color:#fff}
.bf-root .marca-icone svg{width:15px;height:15px}
.bf-root .link-perfil{display:block;margin-top:2px;font-size:11.5px}

/* ---- Ambiente Blog Fácil: mesma casa do PSISELIFE (teal e navy), com marrom queimado como cor do módulo ---- */
.bf-root{
  --bg-page:#f3efe8;
  --blog:#9a5b21;--blog-dark:#7a4416;--blog-light:rgba(154,91,33,.10);--blog-mid:rgba(154,91,33,.22);
}
/* cartão único: branco, sem faixa colorida, sombra leve */
.bf-root .cartao{border-top:0;box-shadow:var(--shadow-sm)}
.bf-root .cartao.neutro{border-top:0}
.bf-root .cartao.alerta{border-top:0;border-left:3px solid var(--blog)}
/* identidade do módulo */
.bf-root .marca-icone{background:var(--blog)}
.bf-root .menu-titulo{color:var(--blog)}
.bf-root .menu a.ativo{background:var(--blog-light);color:var(--blog-dark)}
.bf-root .passos .onde{background:var(--blog-light);color:var(--blog-dark)}
.bf-root .passos li::before{background:var(--blog-light);color:var(--blog-dark)}

/* colunas em tela larga */
.bf-root .cx-grade,.bf-root .ea-grade,.bf-root .ed-grade{display:grid;gap:28px;align-items:start}
.bf-root .cx-grade{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.bf-root .ea-grade{grid-template-columns:minmax(0,1fr) 400px}
.bf-root .ed-grade{grid-template-columns:minmax(0,1fr) 420px}
.bf-root .ed-dir{position:sticky;top:16px}
.bf-root .ed-dir .cartao{margin-bottom:0}
.bf-root .ed-dir .previa{max-height:calc(100vh - 150px);overflow:auto}
@media(max-width:1100px){.bf-root .cx-grade,.bf-root .ea-grade,.bf-root .ed-grade{grid-template-columns:1fr}.bf-root .ed-dir{position:static}.bf-root .ed-dir .previa{max-height:none}}

/* barra de cima da lista: abas à esquerda, botão à direita */
.bf-root .barra-topo{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.bf-root .barra-topo .abas-lista{margin:0}
.bf-root .aviso-linha{background:#fff;border-left:3px solid var(--blog);border-radius:var(--r-sm);box-shadow:var(--shadow-sm);padding:12px 16px;font-size:13px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.bf-root .lista-artigos .vazio-sel{width:17px;height:17px;flex:none}
.bf-root .lista-artigos li .btn{flex:none}
.bf-root .lista-artigos .tit a{color:inherit}

/* mascote com balão de fala (discreto) */
.bf-root .masc-fala{display:flex;align-items:flex-end;gap:12px;margin:8px 0 16px}
.bf-root .masc-img{width:76px;height:76px;object-fit:contain;object-position:bottom;flex:none}
.bf-root .masc-balao{position:relative;background:#fff;border:1px solid var(--border-2);border-radius:14px;padding:11px 15px;font-size:13px;color:var(--text);line-height:1.55}
.bf-root .masc-balao::before{content:"";position:absolute;left:-7px;bottom:20px;width:12px;height:12px;background:#fff;border-left:1px solid var(--border-2);border-bottom:1px solid var(--border-2);transform:rotate(45deg)}
.bf-root .masc-balao code{background:rgba(17,36,67,.08);padding:0 4px;border-radius:4px}
.bf-root .masc-acao{margin-top:12px}
.bf-root .masc-fala.grande{background:var(--bg-card);border-radius:var(--r);box-shadow:var(--shadow-sm);padding:22px 26px;margin:0}
.bf-root .masc-fala.grande .masc-img{width:112px;height:112px}
.bf-root .masc-fala.grande .masc-balao{font-size:14px;flex:1;background:#faf8f4}
.bf-root .masc-fala.grande .masc-balao::before{background:#faf8f4}
.bf-root .cartao .masc-balao{background:#faf8f4}
.bf-root .cartao .masc-balao::before{background:#faf8f4}
.bf-root .modal-mascote{max-width:620px}
.bf-root .modal-mascote .masc-fala.grande{box-shadow:none;padding:0}
.bf-root .carregando{color:var(--text-2)}

/* Escrever artigos */
.bf-root .ea-sub{font-size:15px;font-weight:700;margin-bottom:2px}
.bf-root .vt-passos{list-style:none;counter-reset:p;margin:6px 0 0;padding:0;display:grid;gap:16px}
.bf-root .vt-passos li{counter-increment:p;position:relative;padding-left:40px;font-size:12.5px;color:var(--text-2);line-height:1.6}
.bf-root .vt-passos li::before{content:counter(p);position:absolute;left:0;top:1px;width:26px;height:26px;border-radius:50%;background:var(--blog-light);color:var(--blog-dark);font-weight:700;font-size:12px;display:flex;align-items:center;justify-content:center}
.bf-root .vt-passos b{display:block;font-size:13.5px;color:var(--text);margin-bottom:1px}
.bf-root .vt-passos .onde{display:block;font-size:10.5px;font-weight:600;letter-spacing:.05em;color:var(--text-muted);text-transform:uppercase}
.bf-root .ea-dir{display:grid;gap:16px}
.bf-root .vt-item{background:var(--bg-card);border-radius:var(--r);box-shadow:var(--shadow-sm);padding:20px 22px;display:flex;flex-direction:column;gap:4px;transition:outline-color .3s}
.bf-root .vt-item.destaque{outline:2px solid var(--blog);outline-offset:3px}
.bf-root .vt-etapa{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--blog)}
.bf-root .vt-para{font-size:15px;font-weight:700;color:var(--text)}
.bf-root .vt-item p{font-size:12.5px;color:var(--text-2)}
.bf-root .vt-acao{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}
.bf-root .postar-linha{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid var(--border-2);padding-top:18px;margin-top:26px}
.bf-root .postar-linha p{font-size:12.5px;color:var(--text-2);margin-top:1px;max-width:720px}
.bf-root .faixa-voltar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff;border-left:3px solid var(--blog);border-radius:var(--r-sm);box-shadow:var(--shadow-sm);padding:10px 14px;font-size:13px;margin-bottom:18px}
.bf-root .sub-pagina a{color:var(--blog-dark)}

/* Orientações (leitura em coluna única, sem cartões) */
.bf-root .orient{max-width:720px}
.bf-root .orient h3{font-size:15px;margin:26px 0 6px}
.bf-root .orient p,.bf-root .orient li{font-size:13.5px;line-height:1.75;color:var(--text-2)}
.bf-root .orient p{margin:6px 0}
.bf-root .orient ul{margin:6px 0 6px 20px}
.bf-root .orient ul.sub{margin-left:38px}
.bf-root .orient .bloco{border-top:1px solid var(--border-2);padding-top:4px;margin-top:22px}
.bf-root .orient code{background:rgba(17,36,67,.08);padding:0 4px;border-radius:4px}

/* Editor */
.bf-root .voltar{display:inline-block;font-size:12.5px;text-decoration:none;color:var(--text-2);margin-bottom:6px}
.bf-root .voltar:hover{color:var(--navy)}
.bf-root .trava-revisao{background:#fff;border-left:3px solid var(--blog);border-radius:var(--r-sm);box-shadow:var(--shadow-sm);padding:12px 16px;margin:6px 0 0}
.bf-root .trava-revisao .checagem{margin:0 0 2px;font-size:13.5px}
.bf-root .trava-revisao .ajuda{color:var(--text-2);margin:0 0 0 26px}
.bf-root .trava-revisao .ajuda a{color:var(--blog-dark)}
.bf-root .trava-revisao.pendente{border-left-color:var(--red);background:var(--red-light);animation:treme .35s}
@keyframes treme{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@media(prefers-reduced-motion:reduce){.bf-root .trava-revisao.pendente{animation:none}}

/* Nome e engrenagem */
.bf-root .nome-linha{display:flex;align-items:center;justify-content:space-between;gap:8px}
.bf-root .engrenagem{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--text-2);flex:none}
.bf-root .engrenagem:hover{background:var(--bg);color:var(--navy)}
.bf-root .engrenagem svg{width:17px;height:17px}
.bf-root .engr-cel{display:none;margin-left:auto}
@media(max-width:820px){.bf-root .engr-cel{display:inline-grid;margin-left:auto}.bf-root .sair-cel{margin-left:4px!important}.bf-root .masc-fala.grande .masc-img{width:84px;height:84px}.bf-root main{padding:16px 16px 84px}}
.bf-root .cartao-login{border-top:0}

/* ---- Rodada 3: botão marrom, balão verde, Escrever artigos e Orientações em duas colunas ---- */
.bf-root .btn.marrom{background:var(--blog);color:#fff}
.bf-root .btn.marrom:hover{background:var(--blog-dark)}
.bf-root .masc-balao,.bf-root .cartao .masc-balao,.bf-root .masc-fala.grande .masc-balao{background:#d9fdd3;border:0;color:#1f2d1f}
.bf-root .masc-balao::before,.bf-root .cartao .masc-balao::before,.bf-root .masc-fala.grande .masc-balao::before{background:#d9fdd3;border:0}
.bf-root .ea-grade{grid-template-columns:minmax(0,1fr) 360px;gap:32px}
.bf-root .ea-titulo{font-size:19px;font-weight:700;color:var(--navy);margin:0 0 12px}
.bf-root .ea-passo{padding:28px 32px}
.bf-root .ea-passo .vt-passos{margin-top:18px}
.bf-root .ea-dir .ea-titulo{margin-bottom:0}
.bf-root .ea-dir .ea-pronto{margin-top:12px}
.bf-root .ea-postar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.bf-root .ea-postar-txt{display:flex;flex-direction:column;gap:4px;align-items:flex-start;flex:1}
.bf-root .ea-postar-txt p{font-size:12.5px;color:var(--text-2);margin-bottom:8px}
.bf-root .ea-corpo{height:190px;width:auto;flex:none;object-fit:contain}
.bf-root .or-grade{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:start}
.bf-root .or-dir .cartao{margin-bottom:0}
.bf-root .orient{max-width:none;padding:28px 32px}
.bf-root .or-dir .orient{padding:22px 24px}
.bf-root .orient .bloco{border-top:0;margin-top:0;padding-top:0}
@media(max-width:1100px){.bf-root .or-grade{grid-template-columns:1fr}}
.bf-root main{max-width:none}

/* ---- Rodada 4 (04/10): balão na altura do rosto, Orientações e Escrever artigos alinhados ---- */
.bf-root .masc-fala{align-items:center}
.bf-root .masc-balao::before{bottom:auto;top:50%;margin-top:-6px}
.bf-root .ea-grade{align-items:stretch;grid-template-columns:minmax(0,1fr) 400px}
.bf-root .ea-passo{max-width:640px;width:100%;justify-self:start}
.bf-root .ea-passo .masc-fala{margin:10px 0 26px}
.bf-root .ea-passo .vt-passos{margin-top:26px;gap:22px}
.bf-root .ea-dir{display:flex;flex-direction:column;gap:16px}
.bf-root .ea-dir .ea-pronto{margin-top:12px}
.bf-root .ea-dir .ea-postar{flex:1;align-items:flex-end}
.bf-root .ea-postar-txt{justify-content:flex-end;align-self:stretch}
.bf-root .or-grade{align-items:stretch}
.bf-root .or-dir{display:flex;flex-direction:column}
.bf-root .or-dir .ea-titulo{text-align:center}
.bf-root .or-dir .cartao.orient{flex:1;display:flex;flex-direction:column;padding:36px 28px 30px}
.bf-root .or-botao{margin-top:auto;padding-top:32px;text-align:center}
.bf-root .or-botao .btn{margin:0}
@media(max-width:1100px){.bf-root .ea-grade{grid-template-columns:1fr}.bf-root .ea-passo{max-width:none}}
.bf-root .ea-grade{grid-template-columns:minmax(0,800px) 400px;justify-content:center}
.bf-root .ea-passo{max-width:none}
@media(max-width:1100px){.bf-root .ea-grade{grid-template-columns:1fr}}
.bf-root .ea-passo{margin-bottom:0}
.bf-root .or-grade .orient{margin-bottom:0}

/* ---- Rodada 5 (04/10): cards padronizados, sem faixa colorida; editor em sequência; verde de "tudo certo" ---- */
.bf-root .btn.verde{background:#16a34a;color:#fff}
.bf-root .btn.verde:hover{background:#15803d}
.bf-root .cartao.alerta,.bf-root .faixa-voltar,.bf-root .aviso-linha{border-left:0}
.bf-root .et-n{color:#111827}
.bf-root .ea-dir .ea-pronto{margin-top:44px}
.bf-root .ea-dir .ea-postar.vt-item{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:12px}
.bf-root .or-card{display:flex;flex-direction:column;padding:28px 32px}
.bf-root .or-rodape{margin-top:auto;padding-top:28px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.bf-root .or-corpo{height:150px;width:auto;flex:none;object-fit:contain}
.bf-root .or-dir .cartao.orient{padding:28px 32px}

/* editor: coluna única, uma ordem de leitura */
.bf-root .coluna-editor{max-width:880px;margin:0 auto}
.bf-root .ed-secao{padding:24px 28px;margin-bottom:20px}
.bf-root .ed-h{font-size:15px;font-weight:700;color:var(--navy);margin:0 0 14px}
.bf-root .ed-secao label:first-of-type{margin-top:0}
.bf-root .ed-secao .caixa-colar{margin-bottom:0}
.bf-root .campos{margin-top:0}
.bf-root .trava-revisao{background:none;border:0;box-shadow:none;border-radius:0;padding:0 0 12px;margin:0 0 12px;border-bottom:1px solid var(--border)}
.bf-root .trava-revisao.pendente{background:var(--red-light);border-radius:var(--r-sm);padding:10px 12px;margin-bottom:12px;border-bottom:0}
.bf-root .ed-acoes{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:6px}
.bf-root .ed-agenda{display:inline-flex;gap:8px;align-items:center}
.bf-root .ed-agenda input{width:auto;min-width:130px;padding:9px 12px}
.bf-root .ed-agenda input:disabled{background:#eceef1;color:#9aa1ad;cursor:not-allowed}
.bf-root .ed-secao .previa{max-height:none}
.bf-root .etica-linha{display:grid;gap:2px}

/* ---- Rodada 6 (04/10): sem vazios laterais, prévia como "tela do site", Escrever artigos alinhado à esquerda ---- */
.bf-root .or-rodape{align-items:center}
.bf-root .ea-grade{grid-template-columns:minmax(0,67fr) minmax(0,28fr);column-gap:5%;row-gap:28px;justify-content:start}
.bf-root .ea-passo{max-width:none;justify-self:stretch}
@media(max-width:1100px){.bf-root .ea-grade{grid-template-columns:1fr}}
.bf-root .coluna-editor{max-width:none;margin:0}
.bf-root .ed-2col{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
@media(max-width:900px){.bf-root .ed-2col,.bf-root .capa-grade{grid-template-columns:1fr}}
.bf-root .ed-texto{margin-top:16px;border-top:1px solid var(--border);padding-top:14px}
.bf-root .ed-texto summary{cursor:pointer;font-weight:600;font-size:13px;color:var(--navy)}
.bf-root .ed-texto .contagem{font-weight:400;font-size:12px;color:var(--text-muted);margin-left:8px}
.bf-root .capa-grade{display:grid;grid-template-columns:minmax(240px,420px) 1fr;gap:28px;align-items:start}
.bf-root .capa-col .capa-previa{margin-bottom:0}
.bf-root .capa-vazio{aspect-ratio:16/10;border:1px dashed var(--border-2);border-radius:var(--r-sm);background:var(--bg);color:var(--text-muted);display:grid;place-items:center;font-size:12.5px}
.bf-root .capa-grade label:first-of-type{margin-top:14px}
.bf-root .ed-pv-titulo{margin:32px 0 4px}
.bf-root .ed-pv-ajuda{margin:0 0 12px}
.bf-root .site-frame{border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--border-2);background:#fff;margin-bottom:28px}
.bf-root .site-barra{display:flex;align-items:center;gap:6px;background:#e9e4dc;padding:10px 14px}
.bf-root .site-barra i{width:10px;height:10px;border-radius:50%;background:#c9c2b6;display:block}
.bf-root .site-barra span{margin-left:12px;font-size:11.5px;color:var(--text-2);background:#fff;border-radius:var(--r-pill);padding:3px 16px}
.bf-root .site-tela{background:#f9f5f3;padding:40px 24px}
.bf-root .site-tela .previa{max-width:760px;margin:0 auto;border:0;background:transparent;padding:0;font-family:Georgia,'Times New Roman',serif;color:#2d2227}
.bf-root .site-tela .previa .pv-titulo{font-family:Georgia,'Times New Roman',serif;color:#2d2227}
.bf-root .site-tela .previa .pv-cat{color:#a55850}
.bf-root .etica-linha{grid-template-columns:1fr 1fr;gap:2px 28px}
@media(max-width:900px){.bf-root .etica-linha{grid-template-columns:1fr}}
.bf-root .ea-grade{grid-template-columns:minmax(0,61fr) minmax(0,29fr);column-gap:5%}
@media(max-width:1100px){.bf-root .ea-grade{grid-template-columns:1fr}}

/* ---- Rodada 7 (04/10): Escrever artigos cabe numa tela, títulos e cards alinhados; editor com trava no topo; prévia na fonte do sistema ---- */
.bf-root .ea-pagina{display:grid;grid-template-columns:minmax(0,61fr) minmax(0,29fr);column-gap:5%;grid-template-rows:auto minmax(0,1fr);align-items:stretch;min-height:calc(100vh - var(--topbar-h) - 48px)}
.bf-root .ea-cab-esq{grid-row:1;grid-column:1}
.bf-root .ea-cab-dir{grid-row:1;grid-column:2;align-self:start;margin:0}
.bf-root .ea-pagina .ea-passo{grid-row:2;grid-column:1;margin:0;padding:22px 28px}
.bf-root .ea-pagina .ea-dir{grid-row:2;grid-column:2;display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-height:0}
.bf-root .ea-pagina .ea-dir .vt-item{padding:16px 20px}
.bf-root .ea-pagina .ea-dir .ea-pronto{margin:4px 0 0}
.bf-root .ea-pagina .ea-postar{flex:none;align-items:flex-end}
.bf-root .ea-pagina .ea-corpo{height:clamp(96px,16vh,150px)}
.bf-root .ea-pagina .ea-passo .masc-fala{margin:6px 0 18px}
.bf-root .ea-pagina .ea-passo .vt-passos{margin-top:18px;gap:16px}
@media(max-width:1100px){
  .bf-root .ea-pagina{grid-template-columns:1fr;grid-template-rows:auto;min-height:0}
  .bf-root .ea-cab-esq,.bf-root .ea-cab-dir,.bf-root .ea-pagina .ea-passo,.bf-root .ea-pagina .ea-dir{grid-row:auto;grid-column:1}
  .bf-root .ea-cab-dir{margin-top:20px}
  .bf-root .ea-pagina .ea-dir{gap:12px}
}
/* editor */
.bf-root .caixa-colar.grande{min-height:340px}
.bf-root .bloqueio{border:0;padding:0;margin:0;min-width:0}
.bf-root .bloqueio[disabled] .caixa-colar{background:#eceef1;color:#9aa1ad;cursor:not-allowed}
.bf-root .bloqueio[disabled]>.cartao{opacity:.6}
.bf-root .ed-secao .trava-revisao{border:0;padding:0;margin:0;background:none}
.bf-root .ed-secao .trava-revisao.pendente{padding:10px 12px;border-radius:var(--r-sm);background:var(--red-light)}
/* prévia do site: mesma fonte do sistema Blog Fácil (a do blog real varia de site para site) */
.bf-root .site-tela .previa,.bf-root .site-tela .previa .pv-titulo{font-family:'Poppins',sans-serif}

/* ---- Rodada 8 (04/10): coluna da direita compacta, card Passo a passo equilibrado, prévia em fundo branco ---- */
.bf-root .ea-pagina{min-height:0;grid-template-rows:auto auto}
.bf-root .ea-pagina .ea-cab-dir .titulo-pagina,.bf-root .ea-pagina .ea-pronto .titulo-pagina{margin-bottom:2px}
.bf-root .ea-pagina .ea-dir{justify-content:flex-start;gap:16px}
.bf-root .ea-pagina .ea-dir .ea-pronto{margin:8px 0 2px}
.bf-root .ea-pagina .ea-dir .ea-pronto .sub-pagina,.bf-root .ea-cab-dir .sub-pagina{margin-bottom:0}
.bf-root .ea-pagina .ea-passo{display:flex;flex-direction:column;justify-content:space-evenly;padding:28px 32px}
.bf-root .ea-pagina .ea-passo .masc-fala{margin:0}
.bf-root .ea-pagina .ea-passo .vt-passos{margin:0;gap:22px}
.bf-root .ea-pagina .ea-passo .ea-titulo{margin:0}
.bf-root .or-rodape .btn{margin-bottom:16px}
.bf-root .site-tela{background:#fff;padding:32px 28px}
.bf-root .site-tela .previa{color:var(--text)}
.bf-root .site-tela .previa .pv-titulo{color:var(--text)}
.bf-root .site-tela .previa .pv-cat{color:var(--teal-dark)}

/* ---- Rodada 10 (05/10): cards da conexão com mesma altura, Escrever artigos com respiro igual, lixeira ---- */
.bf-root .cx-grade{align-items:stretch}
.bf-root .cx-grade>.cartao{margin-bottom:0}
.bf-root .cx-grade>form.cartao{display:flex;flex-direction:column;justify-content:center;padding-top:28px;padding-bottom:28px}
@media(max-width:1100px){.bf-root .cx-grade>.cartao{margin-bottom:16px}}
.bf-root .ea-pagina{column-gap:28px;grid-template-columns:minmax(0,1fr) clamp(360px,30%,520px)}
@media(max-width:1100px){.bf-root .ea-pagina{grid-template-columns:1fr}}
.bf-root .btn.perigo{background:#b42318;color:#fff}
.bf-root .btn.perigo:hover{background:#912018}
.bf-root .dica-label{font-weight:400;font-size:12px;color:var(--text-2)}

/* ---- Rodada 11 (05/10): card Passo a passo centralizado, agendar com botão confirmar, explicações ---- */
.bf-root .ea-pagina .ea-passo{justify-content:center;gap:30px;padding:28px 36px}
.bf-root .ea-pagina .ea-passo .ea-titulo{text-transform:uppercase;letter-spacing:.05em;margin:0}
.bf-root .ea-pagina .ea-passo .masc-fala .masc-img{width:96px;height:96px}
.bf-root .ea-pagina .ea-passo .vt-passos{gap:18px}
.bf-root .btn.verde[disabled]{opacity:.35;cursor:not-allowed}
.bf-root .ed-explica{margin-top:12px;display:grid;gap:4px}
.bf-root .ed-explica p{margin:0;font-size:12.5px;color:var(--text-2)}
.bf-root .barra-lote .conta{margin-left:4px}

/* ---- Rodada 12 (05/10): Central de prompts, botão Salvar com estado ---- */
.bf-root .cp-grade{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:20px;align-items:stretch}
.bf-root .cp-card{display:flex;flex-direction:column}
.bf-root .cp-card .vt-acao{margin-top:auto;padding-top:14px}
.bf-root .cp-uso{margin:12px 0 0;font-size:12.5px;color:var(--text-2)}
.bf-root .cp-uso ol{margin:4px 0 0 18px;padding:0;display:grid;gap:3px}
.bf-root .btn.claro[disabled]{opacity:.7}

/* ---- Rodada 13/14 (05/10): caminhos, Central em vitrine, Voltar em botão, lista em grade fixa, Conexão equilibrada ---- */
.bf-root a.btn{text-decoration:none;display:inline-block}
.bf-root .voltar-topo{margin-bottom:10px}
.bf-root .voltar-rodape{margin-top:22px;display:flex;justify-content:flex-start}

/* lista de artigos: colunas fixas, tudo alinhado em todas as linhas */
.bf-root .lista-artigos li{display:grid;grid-template-columns:20px minmax(0,1fr) 112px 138px max-content;align-items:center;column-gap:14px}
.bf-root .lista-artigos li .etiqueta{justify-self:center;text-align:center;min-width:92px}
.bf-root .lista-artigos li .data{text-align:left}
.bf-root .etiqueta.excluido{background:#e5e7eb;color:#4b5563}
.bf-root .acoes-linha{display:grid;grid-template-columns:100px 88px 140px;gap:6px;justify-items:stretch}
.bf-root .btn-q{font:inherit;font-size:11.5px;font-weight:600;line-height:1;padding:6px 8px;border-radius:var(--r-sm);border:1px solid var(--border-2);background:#fff;color:var(--text-2);cursor:pointer;white-space:nowrap;text-align:center}
.bf-root .btn-q:hover{filter:brightness(.97)}
.bf-root .btn-q[disabled]{opacity:.55;cursor:not-allowed}
.bf-root .q-publicar{grid-column:1;color:#166534;border-color:#bbf7d0;background:#f0fdf4}
.bf-root .q-agendar{grid-column:2;color:#3730a3;border-color:#c7d2fe;background:#eef2ff}
.bf-root .q-rascunho{grid-column:3;color:#92400e;border-color:#fde68a;background:#fffbeb}
.bf-root .q-excluir{color:#9b1c1c;border-color:#fecaca;background:#fef2f2}
@media(max-width:1100px){.bf-root .acoes-linha{grid-template-columns:repeat(3,auto);justify-content:end}.bf-root .acoes-linha .btn-q{grid-column:auto}}
@media(max-width:820px){
  .bf-root .lista-artigos li{display:flex;flex-wrap:wrap}
  .bf-root .acoes-linha{display:flex;flex-wrap:wrap;flex-basis:100%;justify-content:flex-start}
}

/* temas futuros */
.bf-root .tm-novo{margin-bottom:14px}
.bf-root .tm-topo{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.bf-root .tm-ul{list-style:none;margin:0;padding:0}
.bf-root .tm-ul li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--border)}
.bf-root .tm-ul li:last-child{border-bottom:0}
.bf-root .tm-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.bf-root .tm-txt strong{font-size:13.5px}
.bf-root .tm-txt span{font-size:12px;color:var(--text-2)}
.bf-root .acoes-tema{display:flex;gap:6px}
@media(max-width:820px){.bf-root .tm-ul li{grid-template-columns:1fr}}

/* Conexão: card da esquerda centralizado e igual ao da direita */
.bf-root .cx-grade{align-items:stretch}
.bf-root .cx-grade>.cartao{display:flex;flex-direction:column;justify-content:center}
.bf-root .cx-grade>.cartao:first-child{gap:16px}
.bf-root .cx-grade>.cartao:first-child h2{margin:0}
.bf-root .cx-grade>.cartao:first-child .masc-fala{margin:0}
.bf-root .cx-grade>.cartao:first-child .passos{margin:0}

/* Escrever artigos: caminhos com ícone */
.bf-root .ea-ou,.bf-root .cp-ou{display:flex;justify-content:center;align-items:center}
.bf-root .ea-ou{margin:-8px 0}
.bf-root .ea-ou span,.bf-root .cp-ou span{font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--text-muted);background:#fff;border:1px solid var(--border-2);border-radius:var(--r-pill);padding:2px 14px}
.bf-root .cam-lista{display:grid;gap:8px;margin-top:6px}
.bf-root .cam-linha{display:flex;align-items:flex-start;gap:10px;font-size:12.5px;color:var(--text-2);line-height:1.55}
.bf-root .cam-ico,.bf-root .vt-ico{display:inline-grid;place-items:center;flex:none;border-radius:8px}
.bf-root .cam-ico{width:26px;height:26px}
.bf-root .vt-ico{width:20px;height:20px;border-radius:6px;margin-right:6px;vertical-align:middle}
.bf-root .cam-ico svg{width:16px;height:16px}
.bf-root .vt-ico svg{width:13px;height:13px}
.bf-root .cam-verde{background:#dcfce7;color:#166534}
.bf-root .cam-azul{background:#dbeafe;color:#1e40af}
.bf-root .cam-ambar{background:#fef3c7;color:#92400e}
.bf-root .cam-rosa{background:#fce7f3;color:#9d174d}
.bf-root .cam-roxo{background:#ede9fe;color:#5b21b6}
.bf-root .vt-etapa{display:flex;align-items:center}

/* Central de prompts: vitrine de cards pequenos */
.bf-root .cp-bloco{margin-top:22px}
.bf-root .cp-titulo{font-size:15px;font-weight:700;color:var(--navy);margin:0 0 4px}
.bf-root .cp-nota{font-size:12.5px;color:var(--text-2);margin:0 0 12px}
.bf-root .cp-par{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;align-items:stretch}
.bf-root .cp-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.bf-root .cp-mini{padding:18px 20px;gap:4px;position:relative}
.bf-root .cp-mini .cp-ico{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;margin-bottom:6px}
.bf-root .cp-mini .cp-ico svg{width:19px;height:19px}
.bf-root .cp-mini.cp-verde .cp-ico{background:#dcfce7;color:#166534}
.bf-root .cp-mini.cp-azul .cp-ico{background:#dbeafe;color:#1e40af}
.bf-root .cp-mini.cp-ambar .cp-ico{background:#fef3c7;color:#92400e}
.bf-root .cp-mini.cp-rosa .cp-ico{background:#fce7f3;color:#9d174d}
.bf-root .cp-mini.cp-roxo .cp-ico{background:#ede9fe;color:#5b21b6}
.bf-root .cp-mini .vt-etapa{color:var(--text-muted)}
.bf-root .cp-mini p{flex:1}
.bf-root .cp-ver{align-self:flex-start;margin-top:8px;background:none;border:0;padding:0;font:inherit;font-size:12.5px;font-weight:700;color:var(--blog);cursor:pointer}
.bf-root .cp-ver:hover{text-decoration:underline}
.bf-root .cp-uso{margin:10px 0 0;font-size:12.5px;color:var(--text-2)}
.bf-root .cp-uso ol{margin:4px 0 0 18px;padding:0;display:grid;gap:3px}
@media(max-width:1000px){.bf-root .cp-par{grid-template-columns:1fr}.bf-root .cp-trio{grid-template-columns:1fr}.bf-root .cp-ou{padding:2px 0}}

/* janela flutuante do prompt, no estilo da caixa de código do ChatGPT */
.bf-root .modal-prompt{max-width:760px}
.bf-root .mp-topo{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:6px}
.bf-root .mp-topo h2{margin:2px 0 0;font-size:17px}
.bf-root .mp-fechar{border:0;background:none;font-size:26px;line-height:1;color:var(--text-muted);cursor:pointer;padding:0 4px}
.bf-root .gpt-caixa{margin-top:12px;border-radius:12px;overflow:hidden;background:#1f1f1f}
.bf-root .gpt-barra{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#2b2b2b;color:#c9c9c9;font-size:12px}
.bf-root .gpt-copiar{display:inline-flex;align-items:center;gap:6px;background:none;border:0;color:#e5e5e5;font:inherit;font-size:12px;cursor:pointer;padding:3px 6px;border-radius:6px}
.bf-root .gpt-copiar:hover{background:#3a3a3a}
.bf-root .gpt-copiar svg{width:14px;height:14px}
.bf-root .gpt-texto{margin:0;padding:14px 16px;max-height:46vh;overflow:auto;color:#ececec;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;word-break:break-word}

/* ---- Rodada 15 (05/10): lápis de ações, Central em card único, janela do prompt clara ---- */
.bf-root .lista-artigos li{grid-template-columns:20px minmax(0,1fr) 112px 138px 30px}
.bf-root .acoes-linha{display:block;position:relative;width:30px;height:30px}
.bf-root .lapis{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;border:0;background:none;color:var(--text-muted)}
.bf-root .lapis:hover,.bf-root .lapis[aria-expanded="true"]{background:var(--bg);color:var(--navy)}
.bf-root .lapis svg{width:16px;height:16px}
.bf-root .menu-acoes{position:absolute;right:0;top:34px;z-index:20;min-width:178px;background:#fff;border:1px solid var(--border-2);border-radius:10px;box-shadow:var(--shadow);padding:4px;display:grid}
.bf-root .menu-acoes button{border:0;background:none;text-align:left;font-size:12.5px;padding:8px 10px;border-radius:6px;color:var(--text-2);white-space:nowrap}
.bf-root .menu-acoes button:hover{background:var(--bg);color:var(--navy)}
.bf-root .menu-acoes .mi-excluir{color:#9b1c1c;margin-top:3px;border-top:1px solid var(--border);border-radius:0 0 6px 6px}
.bf-root .menu-acoes .mi-excluir:hover{background:var(--red-light);color:#9b1c1c}
@media(max-width:820px){.bf-root .acoes-linha{margin-left:auto}}

.bf-root .cp-geral{padding:22px 26px 28px}
.bf-root .cp-geral .titulo-pagina{margin-bottom:2px}
.bf-root .cp-grade{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.bf-root .cp-grade .cp-mini{height:190px;background:#faf8f4;box-shadow:none;border:1px solid var(--border)}
.bf-root .cp-c2{position:relative;display:flex}
.bf-root .cp-c2 .cp-mini{flex:1}
.bf-root .cp-ou-m{position:absolute;left:-27px;top:50%;transform:translateY(-50%);z-index:2;font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--text-muted);background:#fff;border:1px solid var(--border-2);border-radius:var(--r-pill);padding:2px 10px}
.bf-root .cp-masc{display:flex;align-items:flex-start;justify-content:flex-end;gap:6px;margin:-58px -8px 0 0}
.bf-root .cp-masc img{width:124px;height:auto;flex:none}
.bf-root .cp-balao{position:relative;background:#d9fdd3;color:#1f2d1f;font-size:12.5px;line-height:1.5;padding:10px 14px;border-radius:12px;margin-top:8px;max-width:310px}
.bf-root .cp-balao::after{content:"";position:absolute;right:-5px;top:24px;width:11px;height:11px;background:#d9fdd3;transform:rotate(45deg)}
@media(max-width:1100px){.bf-root .cp-grade{grid-template-columns:1fr}.bf-root .cp-ou-m{left:50%;top:-17px;transform:translateX(-50%)}.bf-root .cp-masc{justify-content:flex-start;margin:0}}

.bf-root .gpt-caixa{background:#fff;border:1px solid var(--border-2)}
.bf-root .gpt-barra{background:#f1eee8;color:var(--text-2);border-bottom:1px solid var(--border)}
.bf-root .gpt-copiar{color:var(--navy)}
.bf-root .gpt-copiar:hover{background:rgba(17,36,67,.07)}
.bf-root .gpt-texto{color:var(--text)}
.bf-root .mp-depois{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--border);font-size:12.5px;color:var(--text-2)}
.bf-root #popup-tema p{margin-top:10px;font-size:13.5px}
.bf-root #popup-tema .tm-passos{margin:6px 0 0 20px;display:grid;gap:4px;font-size:13.5px}
.bf-root #popup-tema .tm-escolhido{background:var(--blog-light);border-radius:8px;padding:8px 12px}

/* ---- Rodada 16 (05/10): temas em duas abas dentro do card ---- */
.bf-root .tm-abas{display:flex;gap:4px;padding-left:18px;margin-top:14px;position:relative;z-index:1}
.bf-root .tm-aba{border:0;background:#e6dfd2;color:var(--text-2);font-size:12.5px;font-weight:600;padding:9px 18px 8px;border-radius:10px 10px 0 0;margin-bottom:-1px}
.bf-root .tm-aba:hover{color:var(--navy)}
.bf-root .tm-aba.ativa{background:#fff;color:var(--navy);box-shadow:0 -2px 6px rgba(17,36,67,.05)}
.bf-root .tm-lista{border-top-left-radius:0;position:relative}
.bf-root .tm-ul li{grid-template-columns:minmax(0,1fr) auto 30px;column-gap:14px}
.bf-root .btn-tema{font:inherit;font-size:12px;font-weight:600;padding:7px 13px;border-radius:var(--r-sm);border:1px solid var(--border-2);background:#fff;color:var(--navy);white-space:nowrap}
.bf-root .btn-tema:hover{background:var(--bg)}
.bf-root .tm-status{display:flex;align-items:center;gap:12px}
.bf-root .tm-status .data{font-size:11.5px;color:var(--text-muted);white-space:nowrap}
.bf-root .etiqueta.usado{background:var(--blog-light);color:var(--blog-dark)}
.bf-root .tm-topo .btn-q{color:var(--text-2);border-color:var(--border-2);background:#fff}
@media(max-width:820px){.bf-root .tm-ul li{grid-template-columns:minmax(0,1fr) 30px}.bf-root .tm-ul li .tm-txt{grid-column:1/-1}.bf-root .tm-ul li .btn-tema,.bf-root .tm-ul li .tm-status{grid-column:1}}

/* ---- Rodada 17 (05/10): Início (capa) ---- */
.bf-root .logo-link{display:block}
.bf-root main:has(.ini-pagina){background:#fff;padding:0}
.bf-root .inicio-cel{display:none!important}
.bf-root .ini-pagina{--G:clamp(40px,7vh,72px);display:flex;flex-direction:column;min-height:calc(100vh - var(--topbar-h))}
.bf-root .ini-capa{flex:1;display:grid;grid-template-columns:260px minmax(0,780px);grid-template-areas:"vazio marcas" "corpo conteudo";column-gap:16px;row-gap:var(--G);justify-content:center;align-content:center;padding:4vh 32px 0}
.bf-root .ini-marcas{grid-area:marcas;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.bf-root .ini-corpo{grid-area:corpo;position:relative;margin-top:calc(-1 * var(--G));align-self:stretch}
.bf-root .ini-corpo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:right bottom}
.bf-root .ini-conteudo{grid-area:conteudo;display:flex;flex-direction:column;gap:var(--G);min-width:0;align-items:flex-start}
.bf-root .ini-logo{height:36px;object-fit:contain}
.bf-root .ini-sep{width:1px;height:26px;background:var(--border-2)}
.bf-root .ini-marcas .marca{display:flex;align-items:center;gap:9px;font-size:15px;color:var(--text-2)}
.bf-root .ini-marcas .marca strong{color:var(--navy)}
.bf-root .ini-balao{font-size:18px;line-height:1.35;color:#1f2d1f;padding:9px 16px;margin-top:calc(.175 * var(--G) + 32px);width:fit-content;max-width:100%}
.bf-root .ini-sistema{font-size:15.5px;line-height:1.7;color:var(--text)}
.bf-root .ini-texto{font-size:14px;line-height:1.75;color:var(--text-2)}
.bf-root .ini-acoes{display:flex;gap:10px;flex-wrap:wrap}
.bf-root .ini-dica{font-size:12.5px;color:var(--text-2)}
.bf-root .ini-credito{font-size:11.5px;color:var(--text-muted);border-top:1px solid var(--border);padding:14px 28px 16px;line-height:1.8;text-align:center;margin-top:28px}
.bf-root .ini-empresa{letter-spacing:.06em;font-weight:500}
.bf-root .rodape-botoes{display:flex;gap:8px;margin-top:8px}
.bf-root .rodape-botoes .btn{flex:1;margin-top:0;justify-content:center;text-align:center}
@media(max-width:820px){.bf-root main:has(.ini-pagina){padding:16px 16px 84px}.bf-root .ini-pagina{--G:28px;min-height:0}.bf-root .inicio-cel{display:inline-block!important;margin-left:4px}.bf-root .ini-capa{grid-template-columns:1fr;grid-template-areas:"marcas" "corpo" "conteudo";padding:0}.bf-root .ini-corpo{height:240px;margin-top:0}.bf-root .ini-corpo img{object-position:center bottom}.bf-root .ini-balao{font-size:16px;margin-top:0}.bf-root .ini-credito{padding:14px 0 0}}
/* aviso flutuante: publicação agendada acontecendo agora */
.bf-root .aviso-flutuante{position:fixed;top:16px;right:16px;z-index:1000;max-width:340px;background:#fff;border-left:3px solid var(--blog);border-radius:var(--r-sm);box-shadow:var(--shadow);padding:12px 16px;font-size:13px;line-height:1.45;color:var(--text)}
@media (max-width:600px){.bf-root .aviso-flutuante{left:12px;right:12px;max-width:none}}

.bf-root .campo-senha{position:relative}
.bf-root .campo-senha input{padding-right:46px}
.bf-root .olho-senha{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:none;border:0;border-radius:var(--r-sm);color:var(--teal-dark);cursor:pointer}
.bf-root .olho-senha:hover{background:var(--teal-light)}
.bf-root .olho-senha:focus-visible{outline:2px solid var(--teal-dark)}


/* Novidades do painel: sino no topo + aviso no canto (mesmo padrão do PSISELIFE) */
.bf-root .sino-bf{position:relative;border:0;background:#f3f6fa;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:var(--navy);margin-left:12px;flex:none}
.bf-root .sino-bf:hover{background:#e6edf5}
.bf-root .sino-bf svg{width:20px;height:20px}
.bf-root .sino-num{position:absolute;top:-4px;right:-4px;background:var(--red);color:#fff;border-radius:999px;font-size:11px;font-weight:700;min-width:18px;height:18px;display:grid;place-items:center;padding:0 5px}
.bf-root .painel-bf{position:fixed;top:60px;right:16px;width:min(400px,calc(100vw - 32px));max-height:70vh;overflow:auto;background:#fff;border:1px solid var(--border-2);border-radius:16px;box-shadow:var(--shadow);z-index:60}
.bf-root .pbf-topo{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--border);position:sticky;top:0;background:#fff}
.bf-root .pbf-x,.bf-root .nbf-x{border:0;background:none;font-size:22px;line-height:1;color:var(--text-muted)}
.bf-root .pbf-item{padding:14px 16px;border-bottom:1px solid var(--border)}
.bf-root .pbf-item:last-child{border-bottom:0}
.bf-root .pbf-titulo,.bf-root .nbf-titulo{font-weight:600}
.bf-root .pbf-texto,.bf-root .nbf-texto{margin-top:6px;font-size:13.5px;color:var(--text-2)}
.bf-root .pbf-acoes{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.bf-root .pbf-vazio{padding:26px 16px;text-align:center;color:var(--text-muted)}
.bf-root .notif-bf{position:fixed;right:20px;bottom:20px;width:min(380px,calc(100vw - 40px));background:#fff;border:1px solid var(--border-2);border-left:4px solid var(--teal);border-radius:14px;box-shadow:var(--shadow);padding:14px 16px 14px 14px;z-index:70;display:flex;gap:12px;align-items:flex-start}
.bf-root .notif-bf .nbf-x{position:absolute;top:6px;right:10px}
.bf-root .nbf-masc{flex:none;width:54px;height:54px;object-fit:contain}
.bf-root .nbf-corpo{min-width:0;padding-right:14px}

/* Tela Bloco de contato: compacta, com escolha em verde claro e borda dourada */
.bf-root .rd-cols{display:grid;gap:12px}
.bf-root .rd-2{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.bf-root .rd-3{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.bf-root .rd-3f{grid-template-columns:repeat(3,minmax(0,1fr))}
.bf-root textarea.rd-escolhida{background:#eaf3ee;border:1px solid #c4a24d}
@media(max-width:900px){.bf-root .rd-3f{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.bf-root .rd-3f{grid-template-columns:minmax(0,1fr)}}
.bf-root .rd-card{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--border-2);border-radius:10px;padding:10px 12px;background:#fff;cursor:pointer;font-weight:400;margin:0;font-size:14px;line-height:1.5;transition:background .15s,border-color .15s}
.bf-root .rd-card input[type=radio]{accent-color:#0d3b36;margin-top:4px;flex:none}
.bf-root .rd-card.sel{background:#eaf3ee;border-color:#c4a24d}
.bf-root .rd-card.forte.sel{border-width:1.5px;padding:9.5px 11.5px}
.bf-root .rd-card .rd-nome-modelo{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;opacity:.6}
.bf-root .rd-sep{height:1px;background:var(--border-2);margin:18px 0 14px}
.bf-root .rd-sub{font-size:14.5px;margin:0 0 10px}
.bf-root .rd-botao-grade{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(190px,1fr);gap:20px;align-items:start}
.bf-root .rd-vivo{background:transparent;border:0;padding:14px;text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;min-height:120px}
.bf-root .rd-vivo-rot{font-size:12px;font-weight:700;letter-spacing:.04em;opacity:.65;text-transform:uppercase}
.bf-root .rd-cor-linha{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}
.bf-root .rd-chip-cor{display:inline-flex;gap:8px;align-items:center;border:1px solid var(--border-2);border-radius:8px;padding:4px 10px 4px 5px;font-size:12.5px;background:#fff}
.bf-root .rd-chip-cor i{width:26px;height:26px;border-radius:6px;border:1px solid var(--border-2);display:block}
.bf-root #rd-cor{width:44px;height:36px;padding:2px;cursor:pointer;border:2px solid #0d3b36;border-radius:8px}
.bf-root #rd-hex{width:112px;margin:0}
.bf-root .rd-zap-grade{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);gap:20px;align-items:start}
.bf-root .zap-col{display:flex;flex-direction:column;align-items:center}
.bf-root .zap{width:100%;max-width:270px;border-radius:16px;overflow:hidden;border:1px solid #d5dbe0;box-shadow:0 2px 10px rgba(15,23,42,.07);background:#e5ddd5;display:flex;flex-direction:column;min-height:300px}
.bf-root .zap-topo{background:#075e54;color:#fff;padding:9px 12px;font-size:13px;font-weight:600;display:flex;gap:8px;align-items:center}
.bf-root .zap-av{width:26px;height:26px;border-radius:50%;background:#b8c4cc;flex:none;display:flex;align-items:center;justify-content:center;overflow:hidden}
.bf-root .zap-corpo{flex:1;padding:12px 10px;display:flex;justify-content:center;align-items:flex-start}
.bf-root .zap-dia{background:#fff;border-radius:7px;font-size:11px;padding:2px 8px;color:#555;box-shadow:0 1px 1px rgba(0,0,0,.08)}
.bf-root .zap-entrada{display:flex;gap:6px;align-items:flex-end;padding:8px}
.bf-root .zap-campo{flex:1;background:#fff;border-radius:18px;padding:8px 12px;font-size:12.5px;line-height:1.4;color:#222;min-height:20px}
.bf-root .zap-enviar{width:30px;height:30px;border-radius:50%;background:#e8f3ef;flex:none;display:flex;align-items:center;justify-content:center}
@media(max-width:720px){.bf-root .rd-botao-grade,.bf-root .rd-zap-grade{grid-template-columns:1fr}}
/* Celular: a coluna da tela não pode ser mais larga que o aparelho */
@media(max-width:900px){.bf-root .app{grid-template-columns:minmax(0,1fr)}.bf-root main{min-width:0}}

/* Bloco 1 enxuto: foto ao lado dos campos, modelos compactos */
.bf-root .rd-assin{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:center}
.bf-root .rd-foto-col{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:96px}
.bf-root .rd-campos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bf-root .rd-clamp{display:block}
.bf-root .rd-3{align-items:stretch}
@media(max-width:720px){.bf-root .rd-assin{grid-template-columns:1fr;justify-items:start}.bf-root .rd-campos{grid-template-columns:minmax(0,1fr)}}

/* Hierarquia da tela Bloco de contato (vale só dentro de .rd-tela) */
.bf-root .rd-tela .cartao.neutro > h2{font-size:17px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid var(--border-2)}
.bf-root .rd-tela .rd-sub{font-size:15px;color:#0d3b36;margin:0 0 12px}
.bf-root .rd-tela label:not(.rd-card):not(.btn):not(.rd-foto-btn):not(.e-ch):not(.rot){font-weight:600;font-size:12.5px;color:#4a5963}
.bf-root .rd-tela input[type=text],.bf-root .rd-tela textarea{background:#f2f5f7;border:1.5px solid #c3ccd3}
.bf-root .rd-tela input[type=text]::placeholder,.bf-root .rd-tela textarea::placeholder{color:#7a8791}
.bf-root .rd-tela input[type=text]:focus,.bf-root .rd-tela textarea:focus{background:#fff;border-color:#0d3b36;box-shadow:0 0 0 3px rgba(13,59,54,.14)}
.bf-root .rd-tela textarea.rd-escolhida{background:#eaf3ee;border:1px solid #c4a24d}
.bf-root .rd-tela textarea.rd-escolhida:focus{background:#f2f8f4;border-color:#c4a24d;box-shadow:0 0 0 3px rgba(196,162,77,.25)}
.bf-root .rd-foto-btn{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0;cursor:pointer;font-weight:400}
.bf-root .rd-foto-btn img{width:88px;height:88px;border-radius:50%;object-fit:cover;background:#e3e8ec;border:1px solid #d5dbe0}
.bf-root .rd-foto-btn span{font-size:12.5px;font-weight:600;color:#0d3b36;text-decoration:underline;text-underline-offset:3px}
.bf-root .rd-crop-grade{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;align-items:center;margin-top:10px}
@media(max-width:720px){.bf-root .rd-crop-grade{grid-template-columns:minmax(0,1fr)}}

/* Foto: a miniatura vira a área de enquadrar; botão cinza; controles numa linha só */
.bf-root .rd-foto-col{gap:10px}
.bf-root .rd-foto-roda{width:104px;height:104px;border-radius:50%;overflow:hidden;background:#e3e8ec;border:1px solid #d5dbe0;flex:none}
.bf-root .rd-foto-roda img,.bf-root .rd-foto-roda canvas{width:100%;height:100%;display:block;object-fit:cover}
.bf-root .rd-btn-cinza{background:#e6eaee;border:0;color:#3a4650;margin:0;cursor:pointer}
.bf-root .rd-btn-cinza:hover{background:#dce2e7}
.bf-root .rd-crop-mini{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px}
.bf-root .rd-crop-mini[hidden]{display:none}
.bf-root .rd-crop-mini input[type=range]{width:200px;margin:0}
.bf-root .rd-foto-roda{position:relative}
.bf-root .rd-faixa{position:absolute;left:0;right:0;bottom:0;height:42px;display:flex;align-items:flex-start;justify-content:center;padding-top:11px;background:rgba(255,255,255,.74);-webkit-backdrop-filter:blur(6px) saturate(140%);backdrop-filter:blur(6px) saturate(140%);border-top:1px solid rgba(255,255,255,.7);color:#0d3b36;font-size:10px;font-weight:700;line-height:1.2;white-space:nowrap;pointer-events:none}
.bf-root .rd-faixa[hidden]{display:none}

/* ---- Bloco de contato (12/10): mascote e etapas no mesmo card, prévia ao lado, mesma altura. Nada rola por dentro. ---- */
.bf-root main:has(.rd-tela){padding:12px 32px 14px}
.bf-root .rd-tela{height:calc(100vh - var(--topbar-h) - 26px);display:flex;flex-direction:column;min-height:0}
.bf-root .rd-tela .titulo-pagina{font-size:17px;margin:0;line-height:1.25}
.bf-root .rd-tela .sub-pagina{font-size:12.5px;line-height:1.4;margin:2px 0 10px}
.bf-root .bc-linha{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:16px;flex:1;min-height:0;margin:0}
.bf-root .bc-card{background:#fff;border:1px solid var(--border-2);border-radius:14px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden}
.bf-root .bc-falas{flex:1;min-height:0;display:flex;gap:14px;padding:14px 16px 14px 14px}
.bf-root .bc-falas[hidden],.bf-root .bc-etapas[hidden],.bf-root .e-p[hidden]{display:none}
.bf-root .bc-img{display:block;height:100%;width:auto;flex:none;object-fit:contain;object-position:bottom;align-self:flex-end}
.bf-root .bc-col{flex:1;min-width:0;display:flex;flex-direction:column}
.bf-root .bc-ola{height:calc(23.8% - 42px);display:flex;align-items:flex-end;flex:none}
.bf-root .bc-ola h3{margin:0 0 4px 4px;font-size:17px;line-height:1.2;color:#112443}
.bf-root .rd-tela label.rd-btn-foto{display:inline-block;width:auto;align-self:flex-start;cursor:pointer;margin:0;color:#fff;font-size:12.5px;padding:8px 16px}
.bf-root .rd-tela label.rd-btn-foto:hover{background:#13524a}
.bf-root .bc-balao{position:relative;background:#d9fdd3;color:#1f2d1f;border-radius:14px;padding:14px 16px;margin-top:6px}
.bf-root .bc-balao::before{content:"";position:absolute;left:-6px;top:30px;width:12px;height:12px;background:#d9fdd3;transform:rotate(45deg)}
.bf-root .bc-texto{font-size:13px;line-height:1.55;margin:0;transition:opacity .16s ease}
.bf-root .bc-texto.troca{opacity:0}
.bf-root .bc-base{margin-top:auto;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.bf-root .bc-linkslot{height:22px;display:flex;align-items:center}
.bf-root .bc-botoes{height:32px;display:flex;gap:8px;align-items:center;justify-content:flex-end}
.bf-root .bc-card .btn{white-space:nowrap;margin:0}
.bf-root .bc-card .btn.verde{background:#0d3b36;color:#fff}
.bf-root .bc-card .btn.verde:hover{background:#13524a}
.bf-root .bc-card .btn.laranja{background:#b45309;color:#fff}
.bf-root .bc-card .btn.laranja:hover{background:#92400e}
.bf-root .bc-card .btn.estado{cursor:default}
.bf-root .bc-card .btn.claro.estado{background:#e6eaee;color:#3a4650}
.bf-root .bc-recomecar{background:none;border:0;padding:4px 2px;font-size:12px;font-weight:600;color:#0d3b36;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;cursor:pointer}

/* modo etapas: só campos, sem mascote */
.bf-root .bc-etapas{flex:1;min-height:0;display:flex;flex-direction:column}
.bf-root .e-topo{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 14px;border-bottom:1px solid #e4e9ed;min-height:42px}
.bf-root .e-estado{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:#0d3b36}
.bf-root .e-estado i{width:9px;height:9px;border-radius:50%;background:#22b04a;display:inline-block}
.bf-root .e-acoes{display:flex;gap:10px;align-items:center}
.bf-root .e-passos{padding:7px 12px 6px;border-bottom:1px solid #e4e9ed}
.bf-root .e-grupos,.bf-root .e-circulos{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.bf-root .e-grupos{margin-bottom:6px}
.bf-root .e-grupos span{font-size:10.5px;font-weight:700;color:#5a6a76;text-align:center;border-bottom:2px solid #dde3e8;padding-bottom:3px;margin:0 3px;white-space:nowrap;overflow:hidden;text-overflow:clip}
.bf-root .e-grupos span.atual{color:#0d3b36;border-bottom-color:#c4a24d}
.bf-root .e-b{background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:2px 0;cursor:pointer;min-width:0}
.bf-root .e-c{width:26px;height:26px;border-radius:50%;border:1.5px solid #c3ccd3;display:grid;place-items:center;font-size:12px;font-weight:700;color:#5a6a76;background:#fff}
.bf-root .e-b.feito .e-c{background:#eaf3ee;border-color:#0d3b36;color:#0d3b36}
.bf-root .e-b.atual .e-c{background:#0d3b36;border-color:#0d3b36;color:#fff}
.bf-root .gc{display:none;font-weight:700}
.bf-root .e-l{font-size:11px;font-weight:600;color:#5a6a76;white-space:nowrap}
.bf-root .e-b.atual .e-l{color:#0d3b36}
.bf-root .e-corpo{flex:1;min-height:0;min-width:0;margin:0;border:0;padding:10px 16px 4px;display:block}
.bf-root .e-corpo[disabled]{opacity:.6}
.bf-root .e-corpo h3{margin:0 0 2px;font-size:15px;color:#112443}
.bf-root .e-sub{margin:0 0 6px;font-size:12.5px;line-height:1.4;color:#4a5963}
.bf-root .e-corpo label.rot{display:block;margin:7px 0 3px;font-size:12.5px;font-weight:600;color:#112443}
.bf-root .e-corpo input[type=text],.bf-root .e-corpo textarea{width:100%}
.bf-root .e-corpo input[type=text]{padding-top:7px;padding-bottom:7px}
.bf-root .e-corpo textarea{min-height:0;height:110px;resize:none;line-height:1.6}
.bf-root .e-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bf-root .e-aj{font-size:12px;line-height:1.5;color:#4a5963;margin:6px 0 0}
.bf-root .e-aj:empty{display:none}
.bf-root .recortando .e-dica{display:none}
.bf-root .e-foto{display:flex;gap:14px;align-items:center;margin-bottom:6px}
.bf-root .e-foto .rd-foto-roda{width:68px;height:68px}
.bf-root .e-foto .rd-faixa{height:34px;padding-top:7px}
.bf-root .e-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.bf-root .e-ch{position:relative;display:block;border:1px solid #c3ccd3;border-radius:12px;padding:9px 10px;font-size:12.5px;font-weight:600;color:#112443;background:#fff;cursor:pointer;text-align:center;line-height:1.35}
.bf-root .e-ch input{position:absolute;opacity:0;width:1px;height:1px}
.bf-root .e-ch.sel{background:#eaf3ee;border-color:#c4a24d}
.bf-root .e-ch:focus-within{outline:2px solid #0d3b36;outline-offset:1px}
.bf-root .e-conv{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bf-root .e-conv .e-ch{text-align:left;font-weight:600;min-height:42px;display:flex;align-items:center;margin:0}
.bf-root .e-lista .e-ch{text-align:left;font-weight:500;margin-bottom:5px;font-size:12.5px;padding:5px 10px;line-height:1.3}
.bf-root .e-texto{margin:8px 0 0;padding:8px 12px;border-radius:12px;background:#f2f5f7;font-size:12.5px;line-height:1.55;color:#2b3a45}
.bf-root .e-pe{border-top:1px solid #e4e9ed;padding:8px 14px 10px;display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:50px}
.bf-root .e-pe .esq,.bf-root .e-pe .dir{display:flex;min-width:92px}
.bf-root .e-pe .dir{justify-content:flex-end}
.bf-root .e-linha{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.bf-root .e-linha-cont{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.bf-root .e-cor{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bf-root .e-cor input[type=text]{max-width:130px}
.bf-root .e-cor input[type=color]{width:44px;height:38px;padding:2px;border:1.5px solid #c3ccd3;border-radius:var(--r-sm);background:#fff}
.bf-root .bc-etapas .mensagem{margin:8px 0 0;padding:7px 11px;font-size:12px;line-height:1.45}
.bf-root .rd-crop-mini{display:flex;gap:8px;align-items:center;flex-wrap:nowrap;margin-top:8px}
.bf-root .rd-crop-mini[hidden]{display:none}
.bf-root .rd-crop-mini input[type=range]{flex:1;min-width:80px;margin:0}

/* prévia (fixa) */
.bf-root .bc-prev{background:#fff;border:1px solid var(--border-2);border-radius:14px;padding:12px 14px 10px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;min-width:0;min-height:0;height:100%}
.bf-root .bc-prev-topo{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.bf-root .bc-prev-rot{font-size:12px;font-weight:700;color:#112443}
.bf-root .bc-seg{display:inline-flex;border:1px solid #c3ccd3;border-radius:999px;overflow:hidden}
.bf-root .bc-seg button{border:0;background:#fff;padding:5px 10px;font-size:12px;font-weight:600;color:#3a4650;cursor:pointer}
.bf-root .bc-seg button[aria-pressed=true]{background:#0d3b36;color:#fff}
.bf-root .bc-rec{display:none;border:0;background:none;color:#0d3b36;font-weight:700;font-size:12px;text-decoration:underline;cursor:pointer;margin-right:6px}
.bf-root .bc-palco{flex:1;display:flex;align-items:flex-start;min-height:0;overflow:auto}
.bf-root .bc-tela{width:100%;margin:auto 0;transition:max-width .2s ease}
.bf-root .bc-tela.cel{max-width:300px;margin:auto;border:1.5px solid #c3ccd3;border-radius:22px;padding:10px}
.bf-root .bc-dest{border:3px solid #22b04a;border-radius:14px;padding:0 14px;background:#fff;font-size:13px;zoom:.82}
.bf-root .bc-tela.cel .bc-dest{zoom:.7}
.bf-root .bc-dest .bf-rodape{margin:0!important}
.bf-root .bc-dest .bf-assinatura{border-top:0!important;padding:14px 0!important}
.bf-root .bc-dest .bf-cta{padding:14px 0 14px!important}
.bf-root .bc-sil{display:block;width:76px;height:76px;border-radius:50%;overflow:hidden;flex:none;background:#cfe3d8}
.bf-root .bc-sil svg{display:block;width:100%;height:100%}
.bf-root .bc-nota{margin:8px 0 0;font-size:11.5px;color:#4a5963}

/* celular e tela estreita: uma coluna; a prévia vira barra no topo, fechada até abrir */
@media(max-width:1180px){
  .bf-root main:has(.rd-tela){padding:24px 32px}
  .bf-root .rd-tela{height:auto;display:block}
  .bf-root .rd-tela .sub-pagina{margin-bottom:18px}
  .bf-root .bc-linha{grid-template-columns:minmax(0,1fr);grid-template-rows:none;height:auto;flex:none}
  .bf-root .bc-card{height:auto}
  .bf-root .bc-falas{height:430px;flex:none}
  .bf-root .bc-img{height:250px}
  .bf-root .bc-ola{height:30px}
  .bf-root .bc-extra{display:none}
  .bf-root .bc-etapas{height:auto;flex:none}
  .bf-root .e-corpo{min-height:470px;flex:none}
  .bf-root .bc-prev{position:sticky;top:0;z-index:4;order:-1;height:auto;border-radius:0 0 14px 14px}
  .bf-root .bc-rec{display:inline-block}
  .bf-root .bc-prev.fechado .bc-palco,.bf-root .bc-prev.fechado .bc-nota,.bf-root .bc-prev.fechado .bc-seg{display:none}
  .bf-root .bc-prev.fechado .bc-prev-topo{margin-bottom:0}
}
@media(max-width:560px){
  .bf-root .e-l{display:none}
  .bf-root .gl{display:none}
  .bf-root .gc{display:inline}
  .bf-root .e-grupos span{font-size:10px}
  .bf-root .e-2{grid-template-columns:1fr}
  .bf-root .e-conv .e-ch{font-size:12px;padding:7px 8px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){.bf-root .bc-texto,.bf-root .bc-tela{transition:none}}


/* ---- Dentro do app: sem barra lateral própria, sem logo, sem Sair. Submenu horizontal no topo. ---- */
.bf-root{min-height:0;background:var(--bg-page);font-family:'Poppins',sans-serif}
.bf-root .app{display:flex;flex-direction:column;min-height:0}
.bf-root .bf-sidebar{position:static;height:auto;grid-row:auto;flex-direction:row;align-items:center;padding:6px 14px;border-right:0;border-bottom:1px solid var(--border);overflow-x:auto;display:flex}
.bf-root .bf-sidebar .logo-link,.bf-root .bf-sidebar .menu-titulo,.bf-root .bf-sidebar .rodape-menu{display:none}
.bf-root .menu{display:flex;gap:4px}
.bf-root .menu a{white-space:nowrap}
.bf-root .menu-celular{display:none !important}
.bf-root .inicio-cel,.bf-root .engr-cel,.bf-root .sair-cel{display:none !important}
.bf-root main{padding:20px 24px;min-width:0}
@media (max-width:820px){
  .bf-root .bf-sidebar{display:flex}
  .bf-root main{padding:14px 14px 20px}
}
.bf-root .ini-pagina{min-height:0}
.bf-root .rd-tela{height:auto}
