/**
 * PedidoPop — Relatórios
 *
 * Única fonte de estilos da página de relatórios do painel.
 */
.pp-reports-pro{scroll-margin-top:20px}
.pp-report-page-header p{margin:4px 0 0;color:#64748b;font-size:13px;line-height:1.45}
.pp-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px}
.pp-report-current-period{display:grid;gap:3px}
.pp-report-current-period span{color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.pp-report-current-period strong{color:#111827;font-size:16px}
.pp-report-filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;margin-bottom:14px}
.pp-report-filter-head{grid-column:1/-1;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid #eef2f7}
.pp-report-filter-head>div:first-child{display:grid;gap:3px}
.pp-report-filter-head strong{color:#111827;font-size:15px}
.pp-report-filter-head small{color:#64748b;font-size:12px;line-height:1.4}
.pp-report-filter label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#64748b;font-weight:800}
.pp-report-filter input{width:100%;height:42px;border:1px solid #e5e7eb;border-radius:12px;padding:0 12px;background:#fff;color:#111827}
.pp-report-quick-periods{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.pp-report-quick-periods a{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid #e5e7eb;border-radius:999px;background:#f8fafc;color:#334155;text-decoration:none;font-size:12px;font-weight:800;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.pp-report-quick-periods a:hover,.pp-report-quick-periods a:focus-visible{border-color:#ef4444;background:#fff1f2;color:#b91c1c;transform:translateY(-1px)}
.pp-report-range-notice{margin:12px 0;padding:12px 14px;border-left:4px solid #f59e0b;background:#fffbeb;color:#92400e;font-size:13px;font-weight:700}
.pp-report-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.pp-report-overview-card{display:grid;gap:5px;min-width:0;padding:14px;border:1px solid #e8edf4;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.pp-report-overview-card span{color:#64748b;font-size:12px;font-weight:800}
.pp-report-overview-card b{color:#111827;font-size:20px;line-height:1.15;letter-spacing:-.02em;overflow-wrap:anywhere}
.pp-report-overview-card small{color:#94a3b8;font-size:11px;font-weight:700}
.pp-report-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;margin-bottom:4px;scrollbar-width:thin}
.pp-report-tabs a{white-space:nowrap;text-decoration:none;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:10px 13px;font-size:13px;font-weight:800;color:#111827;box-shadow:0 6px 16px rgba(15,23,42,.06);transition:border-color .18s ease,background .18s ease,color .18s ease}
.pp-report-tabs a:hover,.pp-report-tabs a:focus-visible{border-color:#ef4444;background:#fff1f2;color:#b91c1c}
.pp-print-only{display:none}
.pp-report-cover{margin-bottom:14px;background:linear-gradient(135deg,#fff,#f8fafc)}
.pp-report-cover h3{margin:0 0 6px;color:#111827;font-size:22px}
.pp-report-cover p{margin:4px 0;color:#334155}
.pp-report-section{margin:0 0 16px;scroll-margin-top:20px;break-inside:avoid}
.pp-report-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eef2f7;padding-bottom:10px;margin-bottom:14px}
.pp-report-section-head h3{margin:0;color:#111827;font-size:20px}
.pp-report-section-head span{font-size:12px;color:#64748b;font-weight:800}
.pp-report-kpis,.pp-report-highlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.pp-report-kpis>div,.pp-report-highlight-grid>div{background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;padding:12px}
.pp-report-kpis span,.pp-report-highlight-grid span{display:block;color:#64748b;font-size:12px;font-weight:800;margin-bottom:4px}
.pp-report-kpis b,.pp-report-highlight-grid b{display:block;color:#111827;font-size:18px;line-height:1.2}
.pp-report-kpis small,.pp-report-highlight-grid small{display:block;color:#64748b;font-size:12px;margin-top:4px}
.pp-report-table{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff;margin-top:10px;margin-bottom:16px}
.pp-report-tr{display:grid;grid-template-columns:2fr .7fr .9fr;gap:8px;align-items:center;padding:10px 12px;border-bottom:1px solid #eef2f7;color:#111827;font-size:13px}
.pp-report-tr:last-child{border-bottom:0}
.pp-report-th{background:#f8fafc;font-weight:900;color:#334155;text-transform:uppercase;font-size:11px;letter-spacing:.02em}
.pp-report-table-wide .pp-report-tr{grid-template-columns:.7fr 1.15fr .95fr .7fr .85fr .75fr .8fr .9fr .9fr}
.pp-report-total-line{margin-top:10px;background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:10px;color:#111827;font-size:13px;display:flex;gap:10px;flex-wrap:wrap}
.pp-report-empty{padding:14px;color:#64748b;font-size:13px;background:#fff}
.pp-executive-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pp-executive-lines>div{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:11px 12px;color:#111827}
.pp-executive-lines span{font-weight:800;color:#475569}
.pp-executive-lines b{font-weight:900;color:#111827;text-align:right}
.pp-report-pagination{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:16px}
.pp-report-pagination .page-numbers{display:inline-flex;min-width:36px;min-height:36px;padding:7px 11px;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:8px;text-decoration:none}
.pp-report-pagination .page-numbers.current{font-weight:700}
@media(max-width:900px){.pp-report-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .pp-report-toolbar{align-items:stretch;flex-direction:column}
  .pp-report-toolbar .pp-btn{width:100%;justify-content:center}
  .pp-report-filter{grid-template-columns:1fr 1fr}
  .pp-report-filter-head{display:grid}
  .pp-report-quick-periods{justify-content:flex-start}
  .pp-report-filter .pp-btn{grid-column:1/-1;width:100%}
  .pp-report-kpis,.pp-report-highlight-grid,.pp-executive-lines{grid-template-columns:1fr}
  .pp-report-tr,.pp-report-table-wide .pp-report-tr{grid-template-columns:1fr;gap:2px}
  .pp-report-th{display:none}
  .pp-report-tr span{display:block}
  .pp-report-tr span:empty{display:none}
}
@media(max-width:430px){
  .pp-report-overview{grid-template-columns:1fr 1fr;gap:8px}
  .pp-report-overview-card{padding:12px}
  .pp-report-overview-card b{font-size:17px}
  .pp-report-filter{grid-template-columns:1fr}
  .pp-report-filter .pp-btn{grid-column:auto}
}
@media print{
  body *{visibility:hidden!important}
  .pp-report-print-area,.pp-report-print-area *{visibility:visible!important}
  .pp-report-print-area{position:absolute!important;left:0!important;top:0!important;width:100%!important;background:#fff!important}
  .pp-print-only{display:block!important}
  .pp-no-print,.pp-print-report,.pp-report-tabs,.pp-bottom-nav,.pp-sidebar,.pp-topbar{display:none!important}
  .pp-card,.pp-report-section{box-shadow:none!important;border:1px solid #ddd!important;background:#fff!important;color:#111!important}
  .pp-report-section{page-break-inside:avoid;margin-bottom:14px!important}
  .pp-report-tr{break-inside:avoid}
  .pp-report-kpis,.pp-report-highlight-grid{grid-template-columns:repeat(3,1fr)!important}
  .pp-executive-lines{grid-template-columns:repeat(2,1fr)!important}
}
