.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}}
.import-export-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}.import-export-row .button{width:auto}.import-inline-form{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0}.import-inline-form input[type=file]{max-width:220px;font-size:12px;color:var(--muted)}.import-inline-form button{width:auto;padding:9px 14px}.import-errors{margin:12px 0 0;padding-left:18px;color:#ff8a7a;font-size:13px;max-height:220px;overflow-y:auto}.import-errors li{margin-bottom:4px}.import-help{margin:0;padding-left:18px;color:var(--muted);font-size:13px;line-height:1.6}.import-help li{margin-bottom:6px}@media(max-width:600px){.import-export-row{flex-direction:column;align-items:stretch}.import-inline-form{flex-direction:column;align-items:stretch}.import-inline-form input[type=file]{max-width:none}}
.staff-form [hidden]{display:none!important}
.usuario-capacidades[hidden]{display:none!important}
.usuario-capacidades{grid-column:1/-1;border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:4px 0}
.usuario-capacidades .capacidades-titulo{display:block;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:1.2px;margin-bottom:10px}
.usuario-capacidades .capacidades-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}
.usuario-capacidades .capacidades-grid label.check{padding:2px 0;text-transform:none;font-weight:500;letter-spacing:normal;font-size:14px}
@media(max-width:650px){.usuario-capacidades .capacidades-grid{grid-template-columns:1fr}}
.confirma-senha-admin{border-top:1px dashed var(--line);padding-top:16px;margin-top:6px}
.confirma-senha-admin small{display:block;text-transform:none;font-size:11px;letter-spacing:normal;font-weight:400;color:var(--muted);margin-top:5px}
.license-card{width:min(480px,100%);text-align:left}
.license-status{list-style:none;margin:0 0 18px;padding:14px 16px;border:1px solid var(--line);border-radius:10px;display:grid;gap:8px;font-size:14px}
.license-hint{margin-top:16px;color:var(--muted)}
.license-hint small{color:var(--muted)}
