/* Motor V8 · desenha páginas copiadas do Power BI */
@font-face { font-family: "Segoe UI"; src: local("Segoe UI"), url(fontes/Selawik-Regular.woff2) format("woff2"); font-weight: 400; }
@font-face { font-family: "Segoe UI"; src: local("Segoe UI Semibold"), url(fontes/Selawik-Semibold.woff2) format("woff2"); font-weight: 600; }
@font-face { font-family: "Segoe UI"; src: local("Segoe UI Bold"), url(fontes/Selawik-Bold.woff2) format("woff2"); font-weight: 700; }
@font-face { font-family: "Segoe UI Light"; src: local("Segoe UI Light"), url(fontes/Selawik-Light.woff2) format("woff2"); }
@font-face { font-family: "Segoe UI Semibold"; src: local("Segoe UI Semibold"), url(fontes/Selawik-Semibold.woff2) format("woff2"); }
@font-face { font-family: "Segoe UI Bold"; src: local("Segoe UI Bold"), url(fontes/Selawik-Bold.woff2) format("woff2"); }

.pbi-palco { width: 100%; overflow: hidden; }
.pbi-pagina { position: relative; transform-origin: 0 0; overflow: hidden; font-family: "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.pbi-el { position: absolute; box-sizing: border-box; }
.pbi-forma { width: 100%; height: 100%; box-sizing: border-box; }
.pbi-img { width: 100%; height: 100%; display: block; }
.pbi-texto { width: 100%; height: 100%; overflow: visible; white-space: pre-wrap; word-wrap: break-word; line-height: 1.33; }
.pbi-texto p { margin: 0; min-height: 1em; }
.pbi-botao { cursor: pointer; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; box-sizing: border-box; }
.pbi-botao:focus-visible { outline: 2px solid #7AC143; outline-offset: 2px; }
.pbi-pendente { width: 100%; height: 100%; border: 1px dashed rgba(122,193,67,.35); color: rgba(159,179,182,.6); font: 12px "Segoe UI", sans-serif;
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
/* visuais de dados */
.pbi-card { width: 100%; height: 100%; display: flex; overflow: hidden; }
.pbi-card-v { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.pbi-tab { width: 100%; height: 100%; overflow: auto; scrollbar-width: thin; scrollbar-color: #2E4654 transparent; }
.pbi-tab table { width: 100%; border-collapse: collapse; table-layout: auto; }
.pbi-tab th { position: sticky; top: 0; font-weight: 600; padding: 4px 6px; white-space: nowrap; }
.pbi-tab td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.pbi-tab table:not(.sem-linhas) td { border-bottom: 1px solid rgba(255,255,255,.04); }
.pbi-seg { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.pbi-seg-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; }
.pbi-seg select, .pbi-seg input { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 3px; padding: 4px 6px; box-sizing: border-box; min-height: 26px; }
.pbi-seg-dt { display: flex; gap: 6px; }
.pbi-seg-dt input { color-scheme: dark; }
.pbi-graf { width: 100%; height: 100%; }
.pbi-graf text { font-family: "Segoe UI", system-ui, sans-serif; }
.pbi-carregando { opacity: .55; transition: opacity .2s; }
