/* BOILER_DS_V1 · padrão visual Boiler (base: BoilerMed boiler-v2) · claro e escuro */
html.bds {
  --bg: #f3f6fa; --surface: #fff; --surface2: #f7f9fc; --line: #dfe6ef; --line2: #edf1f6;
  --ink: #10233a; --text: #22364d; --muted: #5a6b80; --link: #1b55b0; --link-h: #123f86;
  --brand: #2f6fc4; --brand-h: #255fae; --brand-t: #fff; --acc: #2f7de1;
  --side: #10233a; --side-t: #c9d6e6; --side-h: #8aa0b8; --side-hi: #22406a; --side-l: #22395a;
  --ok: #146c3a; --ok-bg: #e6f4ec; --warn: #8a4306; --warn-bg: #fff1e0; --bad: #a3241a; --bad-bg: #fde9e7; --info: #1b55b0; --info-bg: #e8f0fc; --neu: #35506e; --neu-bg: #eef2f7;
  --sh: 0 1px 2px rgba(16,35,58,.06); --sh-card: 0 1px 3px rgba(16,35,58,.06), 0 6px 18px rgba(16,35,58,.04); --sh2: 0 18px 50px rgba(9,20,35,.28);
  --f: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --r: 9px; --r-card: 14px; --side-w: 256px; --top-h: 60px;
  color-scheme: light;
}
html.bds[data-tema="escuro"] {
  --bg: #0b1726; --surface: #12233a; --surface2: #0f1e33; --line: #24405f; --line2: #1c3350;
  --ink: #e6eef8; --text: #d3deeb; --muted: #9fb3ca; --link: #7db4ff; --link-h: #a9ccff;
  --brand: #2f6fc4; --brand-h: #3b7cd3; --brand-t: #fff; --acc: #5b9cf0;
  --side: #07111d; --side-t: #b8c7d9; --side-h: #7f95ad; --side-hi: #1c3656; --side-l: #1a2d45;
  --ok: #86e0aa; --ok-bg: #123527; --warn: #ffc27a; --warn-bg: #3a2a12; --bad: #ff9d93; --bad-bg: #401d1b; --info: #a8cbff; --info-bg: #16304f; --neu: #c4d1e0; --neu-bg: #1c3350;
  --sh: none; --sh-card: none; --sh2: 0 18px 50px rgba(0,0,0,.55);
  color-scheme: dark;
}

/* ---------- base ---------- */
html.bds body { background: var(--bg); color: var(--text); font-family: var(--f); font-size: 14.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
html.bds h1, html.bds h2, html.bds h3, html.bds h4 { color: var(--ink); letter-spacing: -.01em; }
html.bds a { color: var(--link); }
html.bds a:hover { color: var(--link-h); }
html.bds ::selection { background: #2f7de133; }
html.bds :focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }

/* ---------- moldura: menu lateral + conteúdo ---------- */
html.bds.bds-on body { padding-left: var(--side-w); }
html.bds.bds-on #top-menu, html.bds.bds-on aside.quick, html.bds.bds-on .environment { display: none !important; }
html.bds.bds-on .site-header { position: sticky; top: 0; z-index: 30; height: var(--top-h); display: flex; align-items: center; gap: 12px; padding: 0 22px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: none; }
html.bds.bds-on .site-header .brand { display: none; }
html.bds.bds-on .header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
html.bds.bds-on #identity { font-size: 13px; color: var(--muted); max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.bds.bds-on #app, html.bds.bds-on .back-bar { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 26px; padding-right: 26px; }
html.bds.bds-on #app { padding-top: 6px; padding-bottom: 60px; }
html.bds.bds-on #app label.field:has(> #org-switch) { display: none; }

#bds-side { position: fixed; inset: 0 auto 0 0; width: var(--side-w); background: var(--side); color: var(--side-t); display: flex; flex-direction: column; z-index: 40; border-right: 1px solid var(--side-l); }
#bds-side .bds-marca { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; color: #fff; text-decoration: none; }
#bds-side .bds-marca img { width: 32px; height: 32px; border-radius: 9px; background: #fff; padding: 3px; }
#bds-side .bds-marca b { display: block; font-size: 15.5px; line-height: 1.15; }
#bds-side .bds-marca small { display: block; font-size: 11.5px; color: var(--side-h); }
#bds-side .bds-org { margin: 0 12px 8px; padding: 8px 10px; border: 1px solid var(--side-l); border-radius: 10px; background: color-mix(in srgb, var(--side-hi) 35%, transparent); }
#bds-side .bds-org small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--side-h); margin-bottom: 2px; }
#bds-side .bds-org select { width: 100%; background: transparent; color: #fff; border: 0; font: 600 13.5px var(--f); padding: 2px 0; cursor: pointer; }
#bds-side .bds-org select option { color: #10233a; }
#bds-nav { flex: 1; overflow-y: auto; padding: 4px 10px 10px; scrollbar-width: thin; scrollbar-color: var(--side-l) transparent; }
#bds-nav .bds-sec { margin: 14px 8px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--side-h); }
#bds-nav .bds-lk { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; margin: 1px 0; border: 0; border-radius: 8px; background: transparent; color: var(--side-t); font: 500 14px var(--f); text-align: left; cursor: pointer; text-decoration: none; }
#bds-nav .bds-lk svg, #bds-side .bds-pe svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
#bds-nav .bds-lk:hover { background: var(--side-l); color: #fff; }
#bds-nav .bds-lk.ativo { background: var(--side-hi); color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 #5b9cf0; }
#bds-side .bds-pe { border-top: 1px solid var(--side-l); padding: 8px 10px 12px; display: grid; gap: 2px; }
#bds-side .bds-pe button { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--side-t); font: 500 13.5px var(--f); cursor: pointer; text-align: left; }
#bds-side .bds-pe button:hover { background: var(--side-l); color: #fff; }
#bds-side .bds-pe .bds-mod { background: var(--side-hi); color: #fff; font-weight: 600; }

/* barra do topo */
.bds-busca { display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 520px; flex: 1; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font: 14px var(--f); cursor: pointer; box-shadow: var(--sh); }
.bds-busca:hover { border-color: var(--acc); }
.bds-busca svg, .bds-ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bds-busca kbd { margin-left: auto; font: 600 11px var(--f); padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface2); color: var(--muted); }
.bds-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; }
.bds-ico:hover { border-color: var(--acc); color: var(--link); }
.bds-hamb { display: none; }
.bds-veu { display: none; }

/* ---------- botões ---------- */
html.bds .button, html.bds button.button, html.bds a.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 8px 14px;
  border: 1px solid var(--brand); border-radius: var(--r); background: var(--brand); color: var(--brand-t) !important;
  font: 600 14px/1.2 var(--f); text-decoration: none; cursor: pointer; box-shadow: 0 1px 2px rgba(16,35,58,.12);
  transition: background .15s, border-color .15s, box-shadow .15s, transform .05s;
}
html.bds .button:hover { background: var(--brand-h); border-color: var(--brand-h); box-shadow: 0 3px 10px rgba(47,111,196,.25); }
html.bds .button:active { transform: translateY(1px); }
html.bds .button.quiet { background: var(--surface); color: var(--link) !important; border-color: color-mix(in srgb, var(--link) 35%, var(--line)); box-shadow: none; }
html.bds .button.quiet:hover { background: var(--info-bg); border-color: var(--link); }
html.bds .button.small { min-height: 30px; padding: 5px 11px; font-size: 13px; border-radius: 8px; }
html.bds .button:disabled, html.bds .button[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; }
html.bds .button.danger, html.bds .button[data-action*="excluir"], html.bds .button[data-action="apagar"] { background: var(--surface); color: var(--bad) !important; border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); box-shadow: none; }
html.bds .button.danger:hover, html.bds .button[data-action*="excluir"]:hover, html.bds .button[data-action="apagar"]:hover { background: var(--bad-bg); }
html.bds .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- cartões, painéis e títulos ---------- */
html.bds .panel, html.bds section.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); padding: 18px 20px; margin: 0 0 16px; }
html.bds .panel > h2:first-child, html.bds .panel > h3:first-child { margin-top: 0; font-size: 16.5px; font-weight: 700; }
html.bds .toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 14px; }
html.bds .toolbar h1, html.bds #app > h1, html.bds #workspace > h1 { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
html.bds .metric, html.bds .par-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-card); }
html.bds .metric strong, html.bds .par-card strong { color: var(--ink); font-weight: 800; }
html.bds .hero, html.bds .social-hero { border-radius: 16px; box-shadow: var(--sh-card); }
html.bds .eyebrow { letter-spacing: .08em; font-size: 11px; font-weight: 700; text-transform: uppercase; }
html.bds .note { color: var(--muted); font-size: 13px; }
html.bds .empty { color: var(--muted); text-align: center; padding: 22px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface2); }
html.bds hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- formulários ---------- */
html.bds .field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text); }
html.bds input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), html.bds select, html.bds textarea {
  font: 14px var(--f); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 11px; min-height: 38px; box-shadow: inset 0 1px 0 rgba(16,35,58,.02);
  transition: border-color .15s, box-shadow .15s;
}
html.bds textarea { min-height: 80px; line-height: 1.45; }
html.bds input:focus, html.bds select:focus, html.bds textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent); }
html.bds input::placeholder, html.bds textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
html.bds input[type="checkbox"], html.bds input[type="radio"] { accent-color: var(--brand); width: 16px; height: 16px; }

/* ---------- tabelas ---------- */
html.bds table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
html.bds th { text-align: left; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface2); padding: 9px 10px; border-bottom: 1px solid var(--line); }
html.bds th:first-child { border-top-left-radius: 10px; }
html.bds th:last-child { border-top-right-radius: 10px; }
html.bds td { padding: 9px 10px; border-bottom: 1px solid var(--line2); vertical-align: top; color: var(--text); }
html.bds tbody tr:hover td, html.bds table tr:hover > td { background: color-mix(in srgb, var(--info-bg) 55%, transparent); }

/* ---------- abas, etiquetas e avisos ---------- */
html.bds .acesso-abas { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; margin: 0 0 16px; background: var(--surface2); border: 1px solid var(--line); border-radius: 12px; width: fit-content; max-width: 100%; }
html.bds .acesso-abas .button { min-height: 32px; padding: 6px 13px; border-radius: 8px; box-shadow: none; }
html.bds .acesso-abas .button.quiet { background: transparent; border-color: transparent; color: var(--muted) !important; }
html.bds .acesso-abas .button.quiet:hover { background: var(--surface); color: var(--link) !important; }
html.bds .cert-tag, html.bds .tag, html.bds .badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--neu-bg); color: var(--neu); border: 0; }
html.bds .cert-tag.cert-fav { background: var(--info-bg); color: var(--info); }
html.bds .cert-tag.cert-nv { background: var(--warn-bg); color: var(--warn); }
html.bds .reg-atencao { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 10px 14px; border: 0; }
html.bds .status { border-radius: 12px !important; box-shadow: var(--sh2) !important; font-family: var(--f); }

/* ---------- janelas ---------- */
html.bds dialog { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh2); background: var(--surface); color: var(--text); padding: 0; max-width: min(760px, 94vw); }
html.bds dialog::backdrop { background: rgba(9,20,35,.45); }
html.bds .dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
html.bds .dialog-header h2 { margin: 0; font-size: 17px; font-weight: 700; }
html.bds #dialog-body { padding: 16px 20px 18px; }

/* ---------- paleta de comandos e módulos ---------- */
#bds-paleta { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding-top: 12vh; background: rgba(9,20,35,.45); }
#bds-paleta.aberta { display: flex; }
#bds-paleta .bds-caixa { width: min(640px, 94vw); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh2); overflow: hidden; }
#bds-paleta input { width: 100%; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; padding: 16px 18px !important; font-size: 16px !important; min-height: 54px; }
#bds-paleta ul { list-style: none; margin: 0; padding: 6px; max-height: 52vh; overflow-y: auto; }
#bds-paleta li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; cursor: pointer; color: var(--text); }
#bds-paleta li small { margin-left: auto; color: var(--muted); font-size: 12px; }
#bds-paleta li.sel, #bds-paleta li:hover { background: var(--info-bg); color: var(--ink); }
#bds-paleta li svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
#bds-paleta .bds-dica { padding: 8px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; gap: 14px; }
.bds-modulos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.bds-modulos a { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .1s; }
.bds-modulos a:hover { border-color: var(--acc); box-shadow: var(--sh-card); transform: translateY(-1px); }
.bds-modulos a b { color: var(--ink); display: flex; align-items: center; gap: 8px; }
.bds-modulos a small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.bds-modulos a .bds-pt { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.bds-modulos a.atual { border-color: var(--brand); background: var(--info-bg); }

/* ---------- celular ---------- */
@media (max-width: 960px) {
  html.bds.bds-on body { padding-left: 0; }
  #bds-side { transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--sh2); }
  html.bds.bds-menu #bds-side { transform: none; }
  html.bds.bds-menu .bds-veu { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(9,20,35,.45); }
  .bds-hamb { display: inline-grid; }
  .bds-busca { min-width: 0; }
  .bds-busca span, .bds-busca kbd { display: none; }
  html.bds.bds-on #identity { display: none; }
  html.bds.bds-on #app, html.bds.bds-on .back-bar { padding-left: 14px; padding-right: 14px; }
  html.bds.bds-on .site-header { padding: 0 12px; }
}
@media print { #bds-side, .site-header, .bds-veu { display: none !important; } html.bds.bds-on body { padding-left: 0; } }
#bds-paleta .bds-corpo { padding: 16px 20px 20px; }
#bds-paleta .dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
#bds-paleta .dialog-header h2 { margin: 0; font-size: 17px; }
/* correções: regras antigas de <nav> não valem no menu lateral; rodapé no padrão */
#bds-side nav#bds-nav { background: transparent !important; border: 0 !important; box-shadow: none !important; position: static !important; }
html.bds footer { color: var(--muted); font-size: 12.5px; text-align: center; padding: 18px 0 26px; }
html.bds footer nav.ecosystem-links { background: transparent !important; border: 0 !important; box-shadow: none !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; padding: 6px 0 0; }
html.bds footer nav.ecosystem-links a { color: var(--muted); text-decoration: none; }
html.bds footer nav.ecosystem-links a:hover { color: var(--link); }
html.bds.bds-on .back-bar .button { margin-top: 12px; }

/* HUB_INTEGRA_V1 · Início Boiler */
.hb-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin: 18px 0 14px; flex-wrap: wrap; }
.hb-topo h1 { margin: 2px 0 4px; font-size: 27px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.hb-topo p { margin: 0; color: var(--text); }
.hb-data-hoje { color: var(--muted) !important; font-size: 13px; }
.hb-data-hoje::first-letter { text-transform: uppercase; }
.hb-fontes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hb-fonte { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.hb-fonte.hb-off { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.hb-pt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--brand); }
.hb-continuar { display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; min-width: 210px; box-shadow: var(--sh-card); }
.hb-continuar small { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.hb-continuar b { color: var(--link); }
.hb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 16px; }
.hb-card { text-align: left; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 14px 16px; cursor: pointer; font: inherit; color: var(--text); box-shadow: var(--sh-card); border-left-width: 4px; transition: transform .1s, box-shadow .15s; }
.hb-card:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,35,58,.08); }
.hb-card strong { display: block; font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.hb-card span { font-size: 13px; color: var(--muted); font-weight: 600; }
.hb-c-bad { border-left-color: #d64545; } .hb-c-warn { border-left-color: #e08a1e; } .hb-c-info { border-left-color: #2f7de1; } .hb-c-neu { border-left-color: #7c3aed; }
.hb-filtros { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; }
.hb-chip { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 5px 13px; font: 600 13px var(--f, inherit); cursor: pointer; }
.hb-chip:hover { border-color: var(--acc); color: var(--link); }
.hb-chip.ativo { background: var(--brand); border-color: var(--brand); color: #fff; }
.hb-chk { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; color: var(--muted); }
.hb-grupo h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; }
.hb-item { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line2); }
.hb-grupo h3 + .hb-item, .panel > h3 + .hb-item { border-top: 0; }
.hb-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hb-txt b { color: var(--ink); font-weight: 600; }
.hb-txt small { color: var(--muted); font-size: 12.5px; }
.hb-desc { white-space: pre-line; }
.hb-data { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--neu-bg); color: var(--neu); }
.hb-d-vencido { background: var(--bad-bg); color: var(--bad); } .hb-d-hoje { background: var(--warn-bg); color: var(--warn); } .hb-d-semana { background: var(--info-bg); color: var(--info); }
.hb-acoes { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.hb-fechado { opacity: .6; }
.hb-novo { margin: 0 0 12px; }
.hb-cal-topo { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hb-cal-topo h3 { margin: 0 6px; text-transform: capitalize; min-width: 170px; text-align: center; }
.hb-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.hb-cal-sem { text-align: center; font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--muted); padding: 4px 0; }
.hb-dia { min-height: 92px; border: 1px solid var(--line2); border-radius: 10px; padding: 5px; background: var(--surface); display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.hb-dia.fora { opacity: .45; }
.hb-dia.hoje { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.hb-n { font-size: 12px; font-weight: 700; color: var(--muted); }
.hb-dia.hoje .hb-n { color: var(--link); }
.hb-ev { display: flex; align-items: center; gap: 4px; font-size: 11.5px; line-height: 1.25; color: var(--text); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 2px 4px; border-radius: 6px; background: var(--surface2); }
.hb-ev:hover { background: var(--info-bg); }
.hb-mais { font-size: 11px; color: var(--muted); }
#bds-nav .bds-lk.bds-inicio { margin-bottom: 6px; background: linear-gradient(90deg, #2f6fc4, #3b7cd3); color: #fff; font-weight: 600; }
#bds-nav .bds-lk.bds-inicio.ativo { box-shadow: inset 3px 0 0 #9cc4ff; }
@media (max-width: 760px) { .hb-item { flex-wrap: wrap; } .hb-acoes { width: 100%; justify-content: flex-start; } .hb-dia { min-height: 64px; } .hb-ev { font-size: 0; gap: 0; padding: 2px; } .hb-ev .hb-pt { width: 8px; height: 8px; } }

/* HUB_BUSCA_V1 */
.hb-busca { display: flex; gap: 8px; margin: 0 0 14px; }
.hb-busca input { flex: 1; font-size: 16px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: var(--sh-card); }
.hb-busca input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.hb-ficha-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.hb-ficha-topo h3 { margin: 0; }
.hb-ficha-topo small { color: var(--muted); }
.hb-selo { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.hb-selo-ok { background: var(--ok-bg, #e5f6ec); color: var(--ok, #1f7a45); }
.hb-selo-pend { background: var(--warn-bg); color: var(--warn); }
.hb-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.hb-mod { border: 1px solid var(--line2); border-radius: 12px; padding: 10px 12px; background: var(--surface2); }
.hb-mod-topo { display: flex; align-items: center; gap: 8px; }
.hb-mod-topo b { flex: 1; }
.hb-mod > small { color: var(--muted); font-size: 12px; }
.hb-contas { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.hb-contas li { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; border-top: 1px dashed var(--line2); }
.hb-contas a { color: var(--link); text-decoration: none; }
.hb-pessoa { display: flex; gap: 10px; align-items: center; }
.hb-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.hb-sem { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.hb-sem-vencido { background: #d64545; } .hb-sem-vence { background: #e08a1e; } .hb-sem-ok { background: #1f9d55; }
.hb-tag-warn { background: var(--warn-bg) !important; color: var(--warn) !important; }
#bds-nav .bds-lk.bds-inicio2 { margin-bottom: 8px; border: 1px solid rgba(255,255,255,.14); }
kbd { font: 600 11px var(--f, inherit); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); background: var(--surface2); }

/* HUB_FLUXOS_V1 */
.hb-prog { height: 8px; border-radius: 99px; background: var(--line2); overflow: hidden; margin: 4px 0; }
.hb-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2f6fc4, #1f9d55); border-radius: 99px; transition: width .4s; }
.hb-etapas { list-style: none; counter-reset: et; margin: 12px 0 0; padding: 0; }
.hb-et { counter-increment: et; display: flex; align-items: center; gap: 12px; padding: 10px 6px 10px 44px; border-top: 1px solid var(--line2); position: relative; }
.hb-et::before { content: counter(et); position: absolute; left: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: var(--surface2); color: var(--muted); border: 1px solid var(--line); }
.hb-et-ok::before { content: "✓"; background: #1f9d55; color: #fff; border-color: #1f9d55; }
.hb-et-bad::before { content: "!"; background: #d64545; color: #fff; border-color: #d64545; }
.hb-st-ok { background: var(--ok-bg, #e5f6ec); color: var(--ok, #1f7a45); } .hb-st-bad { background: var(--bad-bg); color: var(--bad); } .hb-st-neu { background: var(--neu-bg); color: var(--neu); }
.hb-modelos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.hb-modelo h3 { margin: 0 0 4px; } .hb-modelo p { color: var(--muted); margin: 0 0 8px; font-size: 13.5px; }
.hb-mini { margin: 0 0 10px; padding-left: 20px; font-size: 13px; color: var(--text); } .hb-mini li { margin: 2px 0; }
@media (max-width: 760px) { .hb-et { flex-wrap: wrap; } }

/* HUB_PAINEIS_V1 */
.hb-topo-acoes { display: flex; gap: 8px; align-items: flex-end; }
.hb-sel-org select { min-width: 220px; }
.hb-ind { position: relative; }
.hb-estrela { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 16px; color: #e0a91e; cursor: pointer; }
.hb-mais-ind { margin: -6px 0 14px; } .hb-mais-ind summary { cursor: pointer; color: var(--link); font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.hb-resumo p { font-size: 15px; line-height: 1.55; margin: 0 0 8px; }
.hb-alertas { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.hb-alertas li { padding: 8px 12px; border-radius: 10px; font-size: 13.5px; border-left: 4px solid; }
.hb-al-alto { background: var(--bad-bg); border-color: #d64545; } .hb-al-medio { background: var(--warn-bg); border-color: #e08a1e; } .hb-al-baixo { background: var(--info-bg); border-color: #2f7de1; }
.hb-nota { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; font-size: 15px; border: 3px solid; }
.hb-nota-ok { border-color: #1f9d55; color: #1f9d55; } .hb-nota-warn { border-color: #e08a1e; color: #c0740f; } .hb-nota-bad { border-color: #d64545; color: #d64545; }
.hb-rc { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.hb-rc-ok { background: var(--ok-bg, #e5f6ec); color: var(--ok, #1f7a45); } .hb-rc-baixo { background: var(--info-bg); color: var(--info); } .hb-rc-medio { background: var(--warn-bg); color: var(--warn); } .hb-rc-alto { background: var(--bad-bg); color: var(--bad); }
.hb-mod-chip { display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line); color: var(--link); text-decoration: none; margin: 1px; }
.hb-vermelho { color: var(--bad); font-weight: 700; }
.hb-bar { height: 7px; border-radius: 99px; background: var(--line2); overflow: hidden; min-width: 90px; margin: 3px 0; }
.hb-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: #2f7de1; }
.hb-bar.ok i { background: #1f9d55; } .hb-bar.warn i { background: #e08a1e; } .hb-bar.bad i { background: #d64545; } .hb-bar.neu i { background: #8a97a8; } .hb-bar.info i { background: #2f7de1; }
.hb-funil { display: grid; gap: 8px; }
.hb-fu { display: grid; grid-template-columns: 170px 1fr 50px 120px; gap: 10px; align-items: center; } .hb-fu .hb-bar { height: 14px; } .hb-fu b { text-align: right; } .hb-fu small { color: var(--muted); }
.hb-ano { font-size: 18px; padding: 0 8px; }
.hb-graficos { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 12px; }
.hb-graf h3 { margin: 0; } .hb-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; height: 150px; align-items: end; margin-top: 8px; }
.hb-col { display: flex; flex-direction: column; align-items: center; height: 100%; } .hb-col small { font-size: 10.5px; color: var(--muted); }
.hb-col-par { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.hb-col-par i { width: 42%; border-radius: 4px 4px 0 0; height: 0; } .hb-c0 { background: #b9cbe6; } .hb-c1 { background: #2f6fc4; }
.hb-relatorio h2 { margin: 0 0 12px; font-size: 20px; }
@media (max-width: 760px) { .hb-fu { grid-template-columns: 110px 1fr 40px; } .hb-fu small { display: none; } .hb-graficos { grid-template-columns: 1fr; } }
@media print { #bds-side, .site-header, .acesso-abas, .hb-filtros, .hb-topo, .hb-fontes, footer { display: none !important; } html.bds.bds-on body { padding-left: 0 !important; } .hb-relatorio .panel { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; } }

/* BOILER_FACIL_V1 */
#bf-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 9999; background: linear-gradient(90deg, #2f6fc4, #5aa0ff); opacity: 0; transition: width .6s ease, opacity .3s; pointer-events: none; }
#bf-prog.on { width: 70%; opacity: 1; } #bf-prog.fim { width: 100%; opacity: 0; }
#bf-aviso { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 9998; display: flex; gap: 12px; align-items: center; background: #10233a; color: #fff; padding: 10px 14px 10px 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 14px; transition: all .2s; }
#bf-aviso.aberto { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
#bf-aviso .button { background: transparent; color: #9cc4ff; border-color: rgba(255,255,255,.3); }
.bf-topo { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.bf-bt { position: relative; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font: 700 15px var(--f, inherit); display: grid; place-items: center; }
.bf-bt:hover { border-color: var(--acc, #2f6fc4); color: var(--link); }
.bf-bt svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bf-sino b { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #d64545; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.bf-painel { position: fixed; top: 64px; right: 16px; z-index: 9990; width: min(360px, calc(100vw - 24px)); max-height: 75vh; overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(16,35,58,.2); padding: 14px 16px; }
.bf-painel.bf-confirma { top: 30vh !important; left: 50%; right: auto !important; transform: translateX(-50%); }
.bf-painel-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bf-x { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.bf-painel h4 { margin: 12px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bf-atalhos { margin: 0; padding: 0; list-style: none; font-size: 13px; display: grid; gap: 4px; }
.bf-op { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line2); cursor: pointer; }
.bf-op span { display: flex; flex-direction: column; } .bf-op small { color: var(--muted); font-size: 12px; }
label.bf-op { justify-content: flex-start; } .bf-letra { flex-direction: row !important; gap: 4px; }
.bf-fav { margin-left: auto; opacity: 0; font-size: 13px; color: #e0a91e; padding: 0 2px; cursor: pointer; }
.bds-lk:hover .bf-fav, .bf-fav.on { opacity: 1; }
.bf-bloco { margin-bottom: 6px; }
.bf-tbar { display: flex; gap: 6px; justify-content: flex-end; margin: 0 0 6px; }
.bf-solta { outline: 3px dashed #2f6fc4 !important; outline-offset: 3px; background: var(--info-bg) !important; }
.bf-restaurado { box-shadow: 0 0 0 2px #e0a91e inset !important; }
.bf-rasc-aviso { display: flex; gap: 8px; align-items: center; }
.bf-tour-fundo { position: fixed; inset: 0; background: rgba(8,18,32,.45); z-index: 9994; }
.bf-alvo { position: relative; z-index: 9995 !important; box-shadow: 0 0 0 4px #5aa0ff, 0 0 0 9999px rgba(0,0,0,0) !important; border-radius: 10px; }
.bf-tour { position: fixed; z-index: 9996; width: 310px; background: var(--surface); color: var(--text); border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.bf-tour h4 { margin: 4px 0 6px; font-size: 16px; } .bf-tour p { margin: 0 0 10px; font-size: 14px; color: var(--text); } .bf-tour small { color: var(--muted); }
.bf-tour .actions { justify-content: flex-end; }
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: #d64545 !important; box-shadow: 0 0 0 3px rgba(214,69,69,.15); }
:focus-visible { outline: 3px solid #5aa0ff; outline-offset: 2px; }
/* modo simples: menu enxuto, letra e botões maiores */
html.bf-simples { font-size: 107%; }
html.bf-simples #bds-nav .bds-sec, html.bf-simples #bds-nav .bds-lk:not(.bds-inicio):not(.bds-inicio2):not(.bf-c):nth-of-type(n+9) { display: none; }
html.bf-simples .button { padding: 10px 16px; font-size: 15px; }
html.bf-simples .note, html.bf-simples .hb-mais-ind { display: none; }
/* modo foco */
html.bf-foco #bds-side, html.bf-foco .site-header, html.bf-foco footer { display: none !important; }
html.bds.bds-on.bf-foco body { padding-left: 0 !important; }
html.bf-foco #app { max-width: 1100px; margin: 0 auto; }
/* tarefas em quadro, edição na tabela, acessos */
.hb-modo { margin-left: auto; display: inline-flex; gap: 4px; }
.hb-novo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hb-quadro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.hb-qcol .hb-item { flex-wrap: wrap; } .hb-qcol .hb-acoes { width: 100%; justify-content: flex-start; }
.hb-inline { cursor: text; border-bottom: 1px dashed transparent; } .hb-inline:hover { border-bottom-color: var(--muted); }
.hb-inline-ed { font: inherit; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--brand); width: 100%; }
@media (max-width: 960px) { .hb-quadro { grid-template-columns: 1fr; } .bf-topo { gap: 4px; } }
@media print { .bf-topo, .bf-tbar, #bf-aviso, #bf-prog { display: none !important; } }

/* HUB_MARCA_V1 · visual e marca */
html[data-cor="verde"] { --brand: #1f8a52; --link: #1a7a48; --acc: #1f8a52; }
html[data-cor="roxo"] { --brand: #6d3fd1; --link: #5b33b3; --acc: #6d3fd1; }
html[data-cor="laranja"] { --brand: #c8691a; --link: #a85612; --acc: #c8691a; }
html[data-cor="vinho"] { --brand: #a3324a; --link: #8a2a3e; --acc: #a3324a; }
html[data-cor] .button:not(.quiet):not(.danger) { background: var(--brand); border-color: var(--brand); }
.bf-cores { display: flex !important; flex-direction: row !important; gap: 6px; }
.bf-cor { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.bf-cor.on { border-color: var(--text); box-shadow: 0 0 0 2px var(--surface) inset; }
@keyframes bfEntra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html.bds-on #app > * { animation: bfEntra .22s ease-out both; }
@media (prefers-reduced-motion: reduce) { html.bds-on #app > * { animation: none; } }
@keyframes bfBrilho { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
html.bds-on #app:empty { min-height: 60vh; border-radius: 14px; background: linear-gradient(90deg, var(--surface2) 0, var(--line2) 40%, var(--surface2) 80%) 0 0 / 800px 100%; animation: bfBrilho 1.2s linear infinite; }
html.bds-on .empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 26px 12px; color: var(--muted); }
html.bds-on .empty::before { content: ""; width: 64px; height: 64px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%20120%22%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%22108%22%20rx%3D%2230%22%20ry%3D%225%22%20fill%3D%22%23000%22%20opacity%3D%22.08%22/%3E%3Crect%20x%3D%2228%22%20y%3D%2230%22%20width%3D%2264%22%20height%3D%2272%22%20rx%3D%2226%22%20fill%3D%22%232f6fc4%22/%3E%3Crect%20x%3D%2240%22%20y%3D%2218%22%20width%3D%2240%22%20height%3D%2218%22%20rx%3D%229%22%20fill%3D%22%2324589c%22/%3E%3Cpath%20d%3D%22M52%2012c0-6%206-6%206-12M66%2012c0-6%206-6%206-12%22%20stroke%3D%22%239cc4ff%22%20stroke-width%3D%223%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Ccircle%20cx%3D%2248%22%20cy%3D%2260%22%20r%3D%228%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2272%22%20cy%3D%2260%22%20r%3D%228%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2261%22%20r%3D%224%22%20fill%3D%22%2310233a%22/%3E%3Ccircle%20cx%3D%2274%22%20cy%3D%2261%22%20r%3D%224%22%20fill%3D%22%2310233a%22/%3E%3Cpath%20d%3D%22M48%2078q12%2010%2024%200%22%20stroke%3D%22%23fff%22%20stroke-width%3D%224%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2274%22%20r%3D%224%22%20fill%3D%22%23ff9db0%22%20opacity%3D%22.7%22/%3E%3Ccircle%20cx%3D%2280%22%20cy%3D%2274%22%20r%3D%224%22%20fill%3D%22%23ff9db0%22%20opacity%3D%22.7%22/%3E%3C/svg%3E") center / contain no-repeat; opacity: .9; }
.hb-mascote { width: 120px; height: 120px; margin: 0 auto 6px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%20120%22%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%22108%22%20rx%3D%2230%22%20ry%3D%225%22%20fill%3D%22%23000%22%20opacity%3D%22.08%22/%3E%3Crect%20x%3D%2228%22%20y%3D%2230%22%20width%3D%2264%22%20height%3D%2272%22%20rx%3D%2226%22%20fill%3D%22%232f6fc4%22/%3E%3Crect%20x%3D%2240%22%20y%3D%2218%22%20width%3D%2240%22%20height%3D%2218%22%20rx%3D%229%22%20fill%3D%22%2324589c%22/%3E%3Cpath%20d%3D%22M52%2012c0-6%206-6%206-12M66%2012c0-6%206-6%206-12%22%20stroke%3D%22%239cc4ff%22%20stroke-width%3D%223%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Ccircle%20cx%3D%2248%22%20cy%3D%2260%22%20r%3D%228%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2272%22%20cy%3D%2260%22%20r%3D%228%22%20fill%3D%22%23fff%22/%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2261%22%20r%3D%224%22%20fill%3D%22%2310233a%22/%3E%3Ccircle%20cx%3D%2274%22%20cy%3D%2261%22%20r%3D%224%22%20fill%3D%22%2310233a%22/%3E%3Cpath%20d%3D%22M48%2078q12%2010%2024%200%22%20stroke%3D%22%23fff%22%20stroke-width%3D%224%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2274%22%20r%3D%224%22%20fill%3D%22%23ff9db0%22%20opacity%3D%22.7%22/%3E%3Ccircle%20cx%3D%2280%22%20cy%3D%2274%22%20r%3D%224%22%20fill%3D%22%23ff9db0%22%20opacity%3D%22.7%22/%3E%3C/svg%3E") center / contain no-repeat; }
html.bds-on .error, html.bds-on .erro, html.bds-on [role="alert"] { border-radius: 12px; }
.hb-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 12px; align-items: start; }
.hb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; } .hb-form .wide { grid-column: 1 / -1; }
.hb-logo-mini { height: 34px; width: auto; vertical-align: middle; border-radius: 6px; }
.hb-timbrado { --timb: #2f6fc4; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #17324d; padding: 18px 20px; aspect-ratio: 210 / 150; display: flex; flex-direction: column; border-top: 6px solid var(--timb); }
.hb-timb-topo { display: flex; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 2px solid var(--timb); }
.hb-timb-topo img { height: 46px; width: auto; } .hb-timb-topo small { display: block; color: #6b7a8c; }
.hb-timb-ini { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--timb); color: #fff; font-weight: 800; font-size: 22px; }
.hb-timb-corpo { flex: 1; display: grid; gap: 8px; align-content: start; padding: 16px 0; } .hb-timb-corpo i { height: 8px; border-radius: 4px; background: #e6ebf2; } .hb-timb-corpo i.curta { width: 60%; }
.hb-timb-pe { font-size: 11px; color: #6b7a8c; border-top: 1px solid #e6ebf2; padding-top: 8px; text-align: center; }
.hb-centro { text-align: center; } .hb-centro .actions { justify-content: center; }
.hb-selo-svg svg { width: 220px; height: 220px; } .hb-cartao svg { width: 100%; max-width: 460px; height: auto; border-radius: 16px; box-shadow: var(--sh-card); border: 1px solid var(--line); }
.hb-conq { display: grid; gap: 8px; }
.hb-cq { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line2); opacity: .55; filter: grayscale(1); }
.hb-cq.ok { opacity: 1; filter: none; border-color: var(--line); background: var(--surface2); }
.hb-cq > span { font-size: 26px; } .hb-cq div { flex: 1; display: flex; flex-direction: column; } .hb-cq small { color: var(--muted); } .hb-falta { font-size: 12px; }
.hb-assin { border: 1px dashed var(--line); border-radius: 10px; padding: 14px; background: #fff; color: #17324d; margin: 8px 0; }
.hb-ass-t td { vertical-align: top; padding: 0 10px 0 0; font-size: 13px; } .hb-ass-barra { width: 4px; border-radius: 2px; }
.hb-dias { display: flex; gap: 2px; } .hb-dias i { width: 8px; height: 18px; border-radius: 2px; background: var(--line2); } .hb-dias i.ok { background: #1f9d55; } .hb-dias i.bad { background: #d64545; }
.hb-novidade { padding: 10px 0; border-top: 1px solid var(--line2); } .hb-novidade small { color: var(--muted); } .hb-novidade b { display: block; font-size: 15px; } .hb-novidade p { margin: 2px 0 0; color: var(--text); }
.hb-cores { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 10px; }
.hb-cores div { display: flex; flex-direction: column; } .hb-cores i { height: 44px; border-radius: 10px; margin-bottom: 4px; } .hb-cores small { color: var(--muted); }
.hb-regras { margin: 0; padding-left: 20px; } .hb-sobre { max-width: 760px; } .hb-sobre p { line-height: 1.6; }
.hb-capa { display: none; }
.hb-ano-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.hb-mini-mes b { text-transform: capitalize; font-size: 13px; } .hb-mini-grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-top: 4px; }
.hb-mini-grade span { font-size: 11px; text-align: center; padding: 3px 0; border-radius: 5px; color: var(--muted); }
.hb-mini-grade span.tem { background: var(--brand); color: #fff; font-weight: 700; cursor: help; } .hb-mini-grade span.hj { outline: 2px solid var(--brand); color: var(--link); font-weight: 800; }
html.bf-tv #app { max-width: none; padding: 18px 28px; } html.bf-tv .hb-card strong { font-size: 40px; } html.bf-tv body { font-size: 118%; }
@media print {
  .hb-capa { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 92vh; border-top: 14px solid #2f6fc4; break-after: page; }
  .hb-capa img { max-height: 160px; margin-bottom: 30px; } .hb-capa h1 { font-size: 40px; margin: 0 0 8px; } .hb-capa h2 { font-size: 26px; margin: 0 0 10px; color: #17324d; } .hb-capa small { color: #6b7a8c; }
}
@media (max-width: 760px) { .hb-form { grid-template-columns: 1fr; } }

/* HUB_CONSULTORIA_V1 */
.hb-msgs { display: grid; gap: 8px; margin: 10px 0; }
.hb-msg { max-width: 78%; padding: 8px 12px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line2); }
.hb-msg.cons { margin-left: auto; background: var(--info-bg); border-color: transparent; }
.hb-msg.interna { background: var(--warn-bg); border-style: dashed; }
.hb-msg small { color: var(--muted); font-size: 11.5px; } .hb-msg p { margin: 2px 0 0; white-space: pre-line; }
.hb-resp { display: grid; gap: 8px; } .hb-resp textarea, .hb-resp select { width: 100%; border-radius: 10px; border: 1px solid var(--line); padding: 8px 10px; font: inherit; background: var(--surface); color: var(--text); }
.hb-nps { display: flex; flex-wrap: wrap; gap: 6px; }
.hb-nps-b { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font: 700 15px var(--f, inherit); cursor: pointer; color: var(--text); }
.hb-nps-b:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.hb-ufmapa { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; max-width: 420px; }
.hb-uf { aspect-ratio: 1; border-radius: 8px; background: var(--surface2); border: 1px solid var(--line2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.hb-uf.tem { background: var(--brand); color: #fff; border-color: var(--brand); } .hb-uf small { font-size: 10px; font-weight: 800; }
.hb-ob { border: 1px solid var(--line2); border-radius: 10px; padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; } .hb-ob legend { font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 0 4px; }
.hb-dgq { display: flex !important; flex-direction: column; gap: 4px; padding: 6px 0; border-top: 1px dashed var(--line2); } .hb-dgq span:last-child { display: flex; gap: 14px; }
.hb-hist { max-height: 50vh; overflow: auto; } .hb-hd { min-width: 80px; color: var(--muted); }
.hb-proposta h1 { margin: 0; font-size: 26px; color: var(--brand); } .hb-proposta h2 { margin: 2px 0 6px; } .hb-proposta h3 { margin: 16px 0 4px; }
@media print { .hb-relatorio-mensal .actions, .hb-proposta + .actions { display: none; } }

/* HUB_EXTRA_V1 */
.bds-sec-hub { margin-top: 2px; }
#bds-nav .bds-hub-mais { display: none; }
html.bds-hub-aberto #bds-nav .bds-hub-mais { display: flex; }
html.bds-hub-aberto #bds-nav .bds-hub-tog span::after { content: " ▴"; }
#bds-nav .bds-hub-tog { width: 100%; background: transparent; border: 0; text-align: left; cursor: pointer; font: inherit; opacity: .85; }
#bds-nav .bds-hub-tog span::after { content: " ▾"; }
html.bf-simples #bds-nav .bds-hub-tog, html.bf-simples #bds-nav .bds-hub-mais { display: none !important; }
.bf-not { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; border-top: 1px solid var(--line2); text-decoration: none; color: var(--text); }
.bf-not:hover { background: var(--surface2); } .bf-not span { display: flex; flex-direction: column; } .bf-not small { color: var(--muted); font-size: 12px; }
.bf-painel select { max-width: 170px; border-radius: 8px; border: 1px solid var(--line); padding: 4px 6px; background: var(--surface); color: var(--text); }
@media print { html[data-bf-marca] body::after { content: attr(data-bf-marca); } html[data-bf-marca]::after { content: attr(data-bf-marca); position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; transform: rotate(-30deg); font: 700 28px Inter, Arial, sans-serif; color: rgba(0,0,0,.08); pointer-events: none; white-space: nowrap; z-index: 99999; } }
.hb-folha { --c: #2f6fc4; background: #fff; color: #17324d; border: 1px solid #dfe5ee; border-top: 8px solid #2f6fc4; border-radius: 8px; padding: 26px 30px; display: flex; flex-direction: column; gap: 12px; min-height: 520px; font-family: Georgia, "Times New Roman", serif; }
.hb-folha header { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #dfe5ee; font-family: Inter, Arial, sans-serif; }
.hb-folha header img { height: 48px; width: auto; } .hb-folha header small { display: block; color: #6b7a8c; }
.hb-folha-num { margin-left: auto; text-align: right; font-weight: 700; font-size: 13px; }
.hb-folha h2 { margin: 4px 0 0; font-size: 18px; font-family: Inter, Arial, sans-serif; }
.hb-folha-corpo { white-space: pre-line; line-height: 1.6; flex: 1; font-size: 14.5px; }
.hb-folha footer { font: 11px Inter, Arial, sans-serif; color: #6b7a8c; border-top: 1px solid #dfe5ee; padding-top: 8px; text-align: center; }
.hb-dimp { display: none; }
@media print { html.hb-imprimindo-docs body > *:not(#app):not(.bds-main), html.hb-imprimindo-docs #app > *:not(.hb-dimp), html.hb-imprimindo-docs #bds-side, html.hb-imprimindo-docs .site-header { display: none !important; } html.hb-imprimindo-docs .hb-dimp { display: block !important; } html.hb-imprimindo-docs .hb-folha { break-after: page; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; min-height: 95vh; } }
.hb-diff { font: 13px ui-monospace, Menlo, Consolas, monospace; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.hb-diff div { display: flex; gap: 8px; padding: 2px 10px; white-space: pre-wrap; } .hb-diff span { width: 14px; flex: none; color: var(--muted); }
.hb-df-add { background: #e5f6ec; color: #145c34; } .hb-df-del { background: #fde8e8; color: #8a1f1f; text-decoration: line-through; }
.hb-post.novo { border-left: 4px solid var(--brand); }
.hb-enq { display: grid; gap: 6px; margin: 10px 0; }
.hb-opc { position: relative; overflow: hidden; display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; font: inherit; text-align: left; }
.hb-opc i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--info-bg); z-index: 0; transition: width .4s; } .hb-opc span, .hb-opc b { position: relative; z-index: 1; }
.hb-opc.meu { border-color: var(--brand); font-weight: 700; }
.hb-perfil { display: flex; gap: 14px; align-items: center; } .hb-perfil h3 { margin: 0; } .hb-perfil .hb-acoes { margin-left: auto; }
.hb-orgcard h3 { margin: 0 0 8px; } .hb-orgmods { display: flex; flex-wrap: wrap; gap: 4px; }
.hb-sub { margin: 14px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hb-medalhas { display: flex; gap: 8px; } .hb-medalha { display: flex; flex-direction: column; align-items: center; font-size: 30px; opacity: .3; filter: grayscale(1); } .hb-medalha.ok { opacity: 1; filter: none; } .hb-medalha small { font-size: 11px; color: var(--muted); }
.hb-licao { list-style: none; padding: 12px 16px 16px 44px; background: var(--surface2); border-radius: 10px; margin: 4px 0 10px; } .hb-licao p { line-height: 1.6; }
.hb-quiz fieldset { border: 1px solid var(--line2); border-radius: 10px; margin: 0 0 8px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.hb-quiz fieldset.ok { border-color: #1f9d55; background: #e5f6ec; } .hb-quiz fieldset.erro { border-color: #d64545; background: #fde8e8; } .hb-quiz legend { font-weight: 700; padding: 0 4px; }
html[data-tema="escuro"] .hb-quiz fieldset.ok { background: rgba(31,157,85,.15); } html[data-tema="escuro"] .hb-quiz fieldset.erro { background: rgba(214,69,69,.15); }
.hb-gbusca { width: 100%; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 10px; background: var(--surface); color: var(--text); font: inherit; }
.hb-gloss { margin: 0; display: grid; gap: 8px; } .hb-gloss div { padding: 8px 0; border-top: 1px solid var(--line2); } .hb-gloss dt { font-weight: 800; color: var(--ink); } .hb-gloss dd { margin: 2px 0 0; }
.hb-faq { border-top: 1px solid var(--line2); padding: 10px 0; } .hb-faq summary { cursor: pointer; font-weight: 700; } .hb-faq p { margin: 6px 0 0; }
.hb-pos { width: 34px; font-weight: 800; color: var(--muted); }
.hb-boasvindas { display: flex; gap: 18px; align-items: center; } .hb-boasvindas h2 { margin: 0; } .hb-boasvindas > div:last-child { flex: 1; }
.hb-obd { border-radius: 8px; border: 1px solid var(--line); padding: 5px 8px; background: var(--surface); color: var(--text); }
body.hb-verificar { display: grid; place-items: center; min-height: 100vh; background: #f3f6fa; font-family: Inter, Arial, sans-serif; padding: 20px; }
body.hb-verificar main { max-width: 620px; background: #fff; border-radius: 14px; padding: 26px 30px; box-shadow: 0 10px 30px rgba(16,35,58,.1); }
body.hb-verificar dt { font-weight: 700; margin-top: 10px; color: #17324d; } body.hb-verificar dd { margin: 2px 0 0; } body.hb-verificar code { word-break: break-all; font-size: 12px; }

.hb-dica { flex-basis: 100%; margin: -4px 0 0; font-size: 13.5px; color: var(--muted); }

/* HUB_FINAL_V1 */
.hb-brmapa { width: 100%; max-width: 440px; height: auto; display: block; margin: 0 auto; }
.hb-br-terra { fill: var(--surface2); stroke: var(--acc, #2f6fc4); stroke-width: 1.5; stroke-linejoin: round; }
.hb-br-pt circle { fill: var(--brand); fill-opacity: .85; stroke: #fff; stroke-width: 2; }
.hb-br-pt text { fill: #fff; font: 800 11px Inter, Arial, sans-serif; text-anchor: middle; pointer-events: none; }
.hb-folha-qr { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 6px; text-align: left; }
.hb-folha-qr svg { flex: none; }
.hb-aqlin { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr minmax(140px, auto); gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line2); }
.hb-aqlin .hb-bar { height: 10px; } .hb-aqlin.erro small { color: var(--bad); }
.hb-treino { display: flex; gap: 16px; align-items: center; justify-content: space-between; border-left: 4px solid #7c3aed; }
.hb-treino h3 { margin: 0 0 4px; } .hb-treino p { margin: 0; }
.bf-cnpj { margin-top: 6px; }
body.hb-eco { margin: 0; font-family: Inter, Arial, sans-serif; background: #f3f6fa; color: #17324d; }
.hb-eco-topo { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; background: #10233a; color: #fff; }
.hb-eco-topo b { font-size: 20px; } .hb-eco-topo nav a { color: #cfe0f7; margin-left: 18px; text-decoration: none; font-weight: 600; }
.hb-eco-hero { padding: 56px 28px 36px; max-width: 980px; margin: 0 auto; } .hb-eco-hero h1 { font-size: 36px; margin: 0 0 12px; letter-spacing: -.02em; } .hb-eco-hero p { font-size: 17px; line-height: 1.6; color: #3a4f66; }
.hb-eco-status { display: inline-block; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px !important; } .hb-eco-status.ok { background: #e5f6ec; color: #1f7a45 !important; } .hb-eco-status.aviso { background: #fff4e0; color: #9a5b00 !important; }
.hb-eco-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; max-width: 980px; margin: 0 auto; padding: 0 28px; }
.hb-eco-mod { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #e0e7f0; border-radius: 14px; padding: 16px; text-decoration: none; color: inherit; } a.hb-eco-mod:hover { border-color: #2f6fc4; box-shadow: 0 6px 18px rgba(47,111,196,.12); }
.hb-eco-mod b { color: #10233a; } .hb-eco-mod span { color: #4b6078; font-size: 14px; line-height: 1.5; }
.hb-eco-hub, .hb-eco-casos { max-width: 980px; margin: 36px auto 0; padding: 0 28px; } .hb-eco-hub ul { line-height: 1.9; } .hb-eco-casos .hb-eco-grade { padding: 0; }
.hb-eco-pe { text-align: center; padding: 40px 20px; color: #6b7a8c; } .hb-eco-pe a { color: #2f6fc4; }

.hb-eco-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; max-width: 980px; margin: 0 auto 28px; padding: 0 28px; }
.hb-eco-nums div { background: #10233a; color: #fff; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; } .hb-eco-nums b { font-size: 30px; } .hb-eco-nums span { color: #9cc4ff; font-size: 13px; }

/* HUB_PLUS_V1 */
.hb-dg-topo { display: flex; gap: 18px; align-items: center; } .hb-dg-topo h2 { margin: 0; } .hb-dg-topo > div:nth-child(2) { flex: 1; }
.hb-dg-nota { width: 96px; height: 96px; border-radius: 50%; border: 6px solid; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.hb-dg-nota b { font-size: 32px; line-height: 1; } .hb-dg-nota small { font-size: 11px; color: var(--muted); }
.hb-dg-niv { text-transform: uppercase; letter-spacing: .04em; }
.hb-dg-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.hb-dg-dim h3 { margin: 0; font-size: 15px; }
.hb-dg-l { margin: 4px 0 0; padding-left: 18px; font-size: 13.5px; } .hb-dg-l li { margin: 3px 0; } .hb-dg-l.ok li::marker, .hb-dg-l li.ok::marker { color: #1f9d55; } .hb-dg-l.bad li::marker, .hb-dg-l li.bad::marker { color: #d64545; }
.hb-dg-l li.ok { color: var(--ok, #1f7a45); } .hb-dg-l li.bad { color: var(--bad); }
.hb-dg-prior li { margin: 6px 0; } .hb-dg-prior small { display: block; color: var(--muted); }
.hb-pront { border-left: 5px solid; } .hb-pront.ok { border-left-color: #1f9d55; } .hb-pront.bad { border-left-color: #d64545; }
.hb-rx-txt { width: 100%; border-radius: 10px; border: 1px solid var(--line); padding: 10px; font: 13px/1.5 inherit; background: var(--surface); color: var(--text); }
.hb-aviso-in { padding: 8px 12px; border-radius: 10px; border-left: 4px solid #e08a1e; }
.hb-prest h3 { margin: 18px 0 8px; font-size: 15px; }
.hb-ev-meta { padding: 10px 0; border-top: 1px solid var(--line2); } .hb-ev-meta small { display: block; color: var(--muted); }
.hb-ev-fotos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .hb-ev-fotos img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); } .hb-ev-f { font-size: 12px; padding: 4px 8px; background: var(--surface2); border-radius: 8px; }
.hb-portal .hb-qr-mini { flex: none; } .hb-portal-url { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; word-break: break-all; }
.hb-placa { font: 800 13px ui-monospace, Menlo, monospace; padding: 6px 8px; border: 2px solid #17324d; border-radius: 6px; background: #fff; color: #17324d; letter-spacing: .05em; }
.hb-linha-par td { color: var(--muted); background: var(--surface2); }
.hb-bcartao { width: 320px; margin: 40px auto; padding: 20px; border: 2px dashed #999; border-radius: 16px; text-align: center; font-family: Inter, Arial, sans-serif; color: #17324d; } .hb-bcartao h2 { margin: 6px 0 12px; }
.hb-certif { max-width: 760px; margin: 0 auto 14px; padding: 40px 36px; background: #fff; color: #17324d; border: 10px double #c8a24a; border-radius: 6px; text-align: center; font-family: Georgia, "Times New Roman", serif; }
.hb-certif-selo { font-size: 54px; } .hb-certif small { letter-spacing: .3em; color: #8a6d1f; font: 700 12px Inter, Arial, sans-serif; } .hb-certif h1 { font-size: 34px; margin: 10px 0; } .hb-certif p { font-size: 16px; }
.hb-certif-pe { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 18px; font: 12px Inter, Arial, sans-serif; text-align: left; }
@media print { html.bds .hb-certif { border-width: 10px; } body:has(#hb-certif) .acesso-abas, body:has(#hb-certif) .hb-topo, body:has(#hb-certif) .actions, body:has(#hb-certif) .hb-pront { display: none !important; } }
.hb-eco-cel { text-align: center; }
body.hb-pub { margin: 0; background: #f3f6fa; color: #17324d; font-family: Inter, Arial, sans-serif; }
body.hb-pub main { max-width: 860px; margin: 0 auto; padding: 24px 18px 40px; }
.hb-pub-cab { display: flex; gap: 14px; align-items: center; padding: 18px 0 14px; border-bottom: 3px solid #2f6fc4; margin-bottom: 16px; } .hb-pub-cab img { height: 64px; width: auto; } .hb-pub-cab h1 { margin: 0; font-size: 26px; } .hb-pub-cab p { margin: 2px 0 0; color: #5a6b80; }
.hb-pub-bloco { background: #fff; border: 1px solid #e0e7f0; border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; } .hb-pub-bloco h2 { margin: 0 0 10px; font-size: 19px; } .hb-pub-bloco p { line-height: 1.6; }
.hb-pub-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; } .hb-pub-nums div { background: #f3f6fa; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; } .hb-pub-nums b { font-size: 18px; } .hb-pub-nums span { font-size: 12px; color: #5a6b80; }
.hb-pub-meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 8px 0; border-top: 1px solid #eef2f7; } .hb-pub-meta .hb-pub-bar { grid-column: 1 / -1; }
.hb-pub-bar { height: 8px; background: #e6ebf2; border-radius: 99px; overflow: hidden; } .hb-pub-bar i { display: block; height: 100%; background: #1f9d55; } .hb-pub-bar i.w0 { width: 0%; } .hb-pub-bar i.w5 { width: 5%; } .hb-pub-bar i.w10 { width: 10%; } .hb-pub-bar i.w15 { width: 15%; } .hb-pub-bar i.w20 { width: 20%; } .hb-pub-bar i.w25 { width: 25%; } .hb-pub-bar i.w30 { width: 30%; } .hb-pub-bar i.w35 { width: 35%; } .hb-pub-bar i.w40 { width: 40%; } .hb-pub-bar i.w45 { width: 45%; } .hb-pub-bar i.w50 { width: 50%; } .hb-pub-bar i.w55 { width: 55%; } .hb-pub-bar i.w60 { width: 60%; } .hb-pub-bar i.w65 { width: 65%; } .hb-pub-bar i.w70 { width: 70%; } .hb-pub-bar i.w75 { width: 75%; } .hb-pub-bar i.w80 { width: 80%; } .hb-pub-bar i.w85 { width: 85%; } .hb-pub-bar i.w90 { width: 90%; } .hb-pub-bar i.w95 { width: 95%; } .hb-pub-bar i.w100 { width: 100%; } 
body.hb-pub table { width: 100%; border-collapse: collapse; font-size: 14px; } body.hb-pub th, body.hb-pub td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #eef2f7; }
.hb-pub-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; } .hb-pub-fotos img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; } .hb-pub-fotos figcaption { font-size: 12px; color: #5a6b80; }
.hb-pub-linha { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 3px solid #2f6fc4; } .hb-pub-linha li { position: relative; padding: 0 0 18px 14px; } .hb-pub-linha li::before { content: ""; position: absolute; left: -27px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #2f6fc4; border: 3px solid #fff; } .hb-pub-linha time { font-size: 13px; color: #5a6b80; display: block; } .hb-pub-linha p { margin: 4px 0 0; }
.hb-pub-form { display: flex; gap: 8px; } .hb-pub-form input { flex: 1; padding: 12px; font-size: 18px; border-radius: 10px; border: 1px solid #cdd7e3; text-transform: uppercase; letter-spacing: .1em; }
.hb-pub-nota, .hb-pub-pe { font-size: 12px; color: #6b7a8c; text-align: center; margin-top: 18px; }

/* HUB_I720_V1 · Integrações entre módulos */
.hb-c-ok { border-left-color: #1f9d55; }
.i7-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 14px; }
.i7-mod { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: var(--text); display: flex; flex-direction: column; gap: 2px; transition: border-color .15s, box-shadow .15s; }
.i7-mod b { font-size: 14px; color: var(--ink); } .i7-mod small { font-size: 12px; color: var(--muted); }
.i7-mod:hover { border-color: #2f6fc4; } .i7-mod.on { border-color: #2f6fc4; box-shadow: 0 0 0 3px rgba(47,111,196,.25); background: #2f6fc4; } .i7-mod.on b, .i7-mod.on small { color: #fff; }
.i7-filtros { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; } .i7-filtros input { flex: 1 1 320px; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; background: var(--surface); color: var(--text); }
.i7-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.i7-card { position: relative; text-align: left; border: 1px solid var(--line); border-left: 4px solid #2f6fc4; background: var(--surface); border-radius: 12px; padding: 12px 14px 10px 56px; cursor: pointer; font: inherit; color: var(--text); min-height: 92px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; box-shadow: var(--sh-card); transition: transform .1s, box-shadow .15s; }
.i7-card:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,35,58,.08); }
.i7-kc { border-left-color: #7c3aed; } .i7-kl { border-left-color: #8a99ad; }
.i7-card .i7-num { position: absolute; left: 12px; top: 12px; }
.i7-num { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 26px; padding: 0 6px; border-radius: 8px; background: #2f6fc4; color: #fff; font-weight: 800; font-size: 13px; }
.i7-tit { font-size: 14px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.i7-rod { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.i7-tag, .i7-etq { font-size: 11px; font-weight: 700; color: var(--muted); background: rgba(127,140,160,.16); border-radius: 99px; padding: 2px 8px; }
.i7-cont { font-size: 11px; font-weight: 800; color: #fff; background: #2f6fc4; border-radius: 99px; padding: 2px 8px; } .i7-novo { background: #e08a1e; }
.i7-h1 { display: flex; gap: 10px; align-items: center; } .i7-h1 .i7-num { height: 32px; font-size: 16px; }
.i7-migalha { display: flex; gap: 8px; align-items: center; color: var(--muted); margin: 0 0 6px; }
.i7-barra { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; } .i7-barra input { margin-left: auto; min-height: 36px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; }
.i7-soma { margin: 4px 0 10px; color: var(--muted); } .i7-soma b { color: var(--ink); }
.i7-st { font-size: 12px; font-weight: 700; border-radius: 99px; padding: 2px 9px; background: #eef2f7; color: #4a5b70; white-space: nowrap; }
.i7-st-concluido, .i7-st-aprovado { background: #e3f5ea; color: #17733f; } .i7-st-aguardando, .i7-st-recebido { background: #fdf0dc; color: #9a5b0b; } .i7-st-recusado { background: #fde6e6; color: #a32c2c; }
tr.i7-venc td:first-child { box-shadow: inset 3px 0 0 #d64545; }
.i7-acs { text-align: right; white-space: nowrap; }
.i7-det { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 14px; } .i7-det dt { color: var(--muted); font-size: 13px; } .i7-det dd { margin: 0; white-space: pre-wrap; }
.i7-acoes-reg { display: flex; flex-wrap: wrap; gap: 8px; }
.i7-hist { max-height: 320px; overflow: auto; margin-top: 10px; }
.i7-qr svg { width: 96px; height: 96px; display: block; } td.i7-qr svg { width: 64px; height: 64px; }
.i7-tab-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.i7-pre { white-space: pre-wrap; font: inherit; line-height: 1.55; background: var(--surface); color: var(--text); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; margin: 0; }
.i7-aviso { background: rgba(47,111,196,.08); border-left: 3px solid #2f6fc4; padding: 8px 12px; border-radius: 8px; }
.i7-barra-l { display: flex; justify-content: space-between; margin: 8px 0 4px; }
.i7-graf { margin-top: 12px; } .i7-gl { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 10px; align-items: center; margin: 4px 0; font-size: 13px; } .i7-gl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.i7-gt { position: relative; height: 14px; background: #eef2f7; border-radius: 99px; overflow: hidden; } .i7-gbar { position: absolute; top: 0; bottom: 0; background: #2f6fc4; border-radius: 99px; }
.i7-slides { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; } .i7-slides div { background: linear-gradient(135deg, #17324d, #2f6fc4); color: #fff; border-radius: 16px; padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; } .i7-slides b { font-size: 34px; font-weight: 800; } .i7-slides span { font-size: 15px; opacity: .9; }
body.i7-tvmodo .i7-slides b { font-size: 56px; } body.i7-tvmodo .hb-card strong { font-size: 44px; }
.i7-link { text-align: center; padding: 28px; }
.hb-oculto { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hb-pub-tab { width: 100%; }
@media print { .i7-barra, .i7-filtros, .i7-mods, .i7-acs, .i7-migalha, #i7-calcf .actions { display: none !important; } }

/* HUB_M2_V1 · módulos novos */
.i7-abas { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.i7-aba { border: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.i7-aba:hover { background: rgba(47,111,196,.08); } .i7-aba.on { background: #2f6fc4; color: #fff; } .i7-aba small { font-size: 11px; opacity: .8; margin-left: 4px; }
.i7-h2 { margin: 4px 0 12px; font-size: 20px; color: var(--ink); }
.i7-mcard { padding-left: 16px; min-height: 140px; border-left-color: #1f9d55; } .i7-mcard .note { font-size: 13px; line-height: 1.45; }
/* HUB_M3_V1 */
.i7-h2{font-size:1.05rem;margin:22px 0 10px;color:var(--ink-2,#334)}
.i7-qr svg,.i7-qr img{width:120px;height:120px}

/* HUB_M5_V1 */
html.i7-contraste body{background:#fff!important;color:#000!important}
html.i7-contraste .panel,html.i7-contraste .i7-card,html.i7-contraste table{border-color:#000!important}
html.i7-contraste a,html.i7-contraste .text-link{color:#0033cc!important;text-decoration:underline}
html.i7-contraste .btn{border:2px solid #000!important}
html.i7-contraste p,html.i7-contraste small,html.i7-contraste .note,html.i7-contraste td,html.i7-contraste th{color:#000!important}
.i7-voz{margin-left:6px;min-width:42px}
