:root {
  --skf-primary: #3699FF;
  --skf-dark: #181C32;
  --skf-muted: #7e8299;
  --skf-border: #e4e6ef;
}
* { box-sizing: border-box; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--skf-dark);
  margin: 0;
  padding: 24px;
  background: #fff;
}

.print-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 20px;
}
.print-toolbar button {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 13px;
}
.btn-print { background: var(--skf-primary); color: #fff; }
.btn-close { background: #EBEDF3; color: var(--skf-dark); }

.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--skf-primary);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.report-head .brand { display: flex; align-items: center; gap: 12px; }
.report-head .brand .icon { font-size: 34px; }
.report-head .brand .name { font-size: 20px; font-weight: 800; color: var(--skf-primary); }
.report-head .brand .tag { font-size: 11px; color: var(--skf-muted); }
.report-head .meta { text-align: right; font-size: 11px; color: var(--skf-muted); }

.report-title { margin: 4px 0 2px; font-size: 18px; font-weight: 700; }
.report-subtitle { margin: 0 0 20px; font-size: 12px; color: var(--skf-muted); }

.report-section-title {
  margin: 18px 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--skf-primary);
  text-transform: uppercase;
  letter-spacing: .5px;
}

table.report-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 12px; }
table.report-table th, table.report-table td { border: 1px solid var(--skf-border); padding: 7px 9px; text-align: left; }
table.report-table thead th { background: #F3F6F9; font-weight: 700; text-transform: uppercase; font-size: 10.5px; letter-spacing: .4px; }
table.report-table tfoot td { font-weight: 700; background: #F3F6F9; }
.text-right { text-align: right; }
.text-center { text-align: center; }

.report-summary { display: flex; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.report-summary .box { flex: 1; min-width: 130px; border: 1px solid var(--skf-border); border-radius: 8px; padding: 12px 14px; }
.report-summary .box .num { font-size: 20px; font-weight: 800; color: var(--skf-primary); }
.report-summary .box .lbl { font-size: 11px; color: var(--skf-muted); }

.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; }
.badge-success   { background: #C9F7F5; color: #1BC5BD; }
.badge-danger    { background: #FFE2E5; color: #F64E60; }
.badge-warning   { background: #FFF4DE; color: #FFA800; }
.badge-primary   { background: #E1F0FF; color: #3699FF; }
.badge-secondary { background: #EBEDF3; color: #3F4254; }
.badge-dark      { background: #D6D6E0; color: #181C32; }
.badge-info      { background: #EEE5FF; color: #8950FC; }

.empty-note { text-align: center; padding: 30px 0; color: var(--skf-muted); font-size: 13px; }

.report-footer {
  margin-top: 26px;
  padding-top: 10px;
  border-top: 1px solid var(--skf-border);
  font-size: 10.5px;
  color: var(--skf-muted);
  display: flex;
  justify-content: space-between;
}

@media print {
  .no-print { display: none !important; }
  body { padding: 0; }
  @page { size: A4; margin: 14mm 12mm; }
  table.report-table { font-size: 11px; }
  thead { display: table-header-group; }
  tr { page-break-inside: avoid; }
}
