.finance-kpis,.report-kpis{margin-bottom:18px}.finance-kpis{grid-template-columns:repeat(3,1fr)}.danger-kpi{border-color:#7d362e;background:#2d1916}.report-filter{margin-bottom:18px}.report-filter-hint{margin:10px 2px 0;color:var(--muted);font-size:12px;grid-column:1/-1}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.report-grid .table-wrap{margin-top:0}.report-grid section:last-child{grid-column:1/-1}@media(max-width:850px){.report-grid{grid-template-columns:1fr}.report-grid section:last-child{grid-column:auto}.report-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:550px){.finance-kpis,.report-kpis{grid-template-columns:1fr}}
@media print{.report-filter,.page-heading button{display:none!important}body{background:white;color:black}.card,.kpi{background:white;color:black;border-color:#bbb}.kpi span,th{color:#444}
/* Grids não paginam bem na impressão: o navegador corta o conteúdo que ultrapassa a folha em vez de continuar na próxima página.
   Por isso, em impressão trocamos os grids por blocos empilhados, que fluem e quebram de página normalmente. */
.report-kpis{display:flex;flex-wrap:wrap;gap:10px}.report-kpis .kpi{flex:1 1 200px;min-height:0;break-inside:avoid}
.report-grid{display:block}.report-grid section{margin-bottom:16px}
.card{break-inside:avoid}
.table-wrap table{break-inside:auto}
.table-wrap tr{break-inside:avoid;break-after:auto}
.table-wrap thead{display:table-header-group}
}
.install-app{padding:8px 12px;font-size:12px}.alert-board{display:grid;gap:12px}.alert-card{display:flex;align-items:center;gap:15px;background:var(--panel);border:1px solid var(--line);border-left:5px solid #638fee;border-radius:10px;padding:16px;text-decoration:none}.alert-card.urgent{border-left-color:#ff5c4d}.alert-card.warning-card{border-left-color:var(--yellow)}.alert-card i{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:#292b2c;font-style:normal}.alert-card div{flex:1}.alert-card b{font-size:16px}.alert-card p{margin:4px 0 0;color:var(--muted)}.alert-card em{font-style:normal;color:var(--yellow);font-size:25px}.empty-alerts{text-align:center}.empty-alerts span{display:inline-grid;place-items:center;width:55px;height:55px;border-radius:50%;background:#173d25;color:#8ee5a9;font-size:28px}
.replenishment-report,.stock-closing-report{margin-top:18px}.report-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.report-section-title h2,.report-section-title p{margin:0}.report-section-title>div>p:last-child{color:var(--muted);margin-top:4px}.report-section-title>strong{padding:8px 11px;border-radius:20px;background:var(--yellow);color:#151515}.report-ok{padding:25px;text-align:center;color:#8ee5a9}.replenishment-report .low-stock td:last-child strong{display:inline-block;padding:5px 9px;border-radius:7px;background:#4a3910;color:#ffe075}@media print{.services-report,.replenishment-report,.stock-closing-report{break-before:page}.report-section-title>strong{border:1px solid #555;background:#fff}.stock-closing-report table,.replenishment-report table,.services-report table{font-size:10px}}
