/* ── #/reports (prefix rep-) */
.rep-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 16px; align-items: start; }
.rep-side { position: sticky; top: calc(var(--topbar-h) + 12px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 8px; max-height: calc(100vh - var(--topbar-h) - 32px); overflow-y: auto; }
.rep-nav-select { display: none; width: 100%; }
.rep-nav-group + .rep-nav-group { margin-top: 6px; border-top: 1px solid var(--border); padding-top: 6px; }
.rep-nav-title { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-3); padding: 6px 10px 4px; }
.rep-nav-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 10px; border: none; background: none; border-radius: 9px; cursor: pointer; color: var(--text-2); font-size: 13px; font-weight: 540; text-align: left; transition: background var(--dur), color var(--dur); }
.rep-nav-item:hover { background: var(--surface-2); color: var(--text); }
.rep-nav-item.active { background: var(--brand-50); color: var(--brand); font-weight: 650; box-shadow: inset 3px 0 0 var(--brand); }
.rep-nav-item .ico { flex: none; opacity: 0.85; }
.rep-main { min-width: 0; }
.rep-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 8px 12px; margin-bottom: 14px; box-shadow: var(--shadow-1); }
.rep-period { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--text-3); }
.rep-custom { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rep-custom[hidden] { display: none; }
.rep-custom .input { height: 30px; width: 150px; }
.rep-period-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); font-weight: 560; font-variant-numeric: tabular-nums; }
.rep-sep { color: var(--text-3); }
.rep-headline { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rep-title { font-size: 18px; letter-spacing: -0.01em; }
.rep-desc { margin-top: 3px; max-width: 820px; font-size: 12.5px; }
.rep-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rep-sections > * { grid-column: 1 / -1; }
.rep-sections > .rep-half { grid-column: auto; }
.rep-sections > .rep-kpis, .rep-sections > .callout { margin-bottom: 0; }
.rep-section .card-h { padding-bottom: 2px; }
.rep-note { padding: 6px 16px 0; font-size: 12px; color: var(--text-3); }
.rep-table .table-toolbar { padding-top: 8px; }
.rep-ca { align-items: center; }
.rep-print-head { display: none; }

@media (max-width: 1100px) {
  .rep-layout { grid-template-columns: 1fr; }
  .rep-side { position: static; padding: 0; border: none; box-shadow: none; background: none; max-height: none; }
  .rep-nav { display: none; }
  .rep-nav-select { display: block; }
}
@media (max-width: 900px) {
  .rep-sections { grid-template-columns: 1fr; }
  .rep-sections > .rep-half { grid-column: 1 / -1; }
  .rep-custom .input { width: 132px; }
}

@media print {
  .rep-side, .rep-toolbar, .rep-extra, .rep-table .table-toolbar, .rep-table .table-foot { display: none !important; }
  .rep-layout { display: block; }
  .screen[data-screen='reports'] .page-head { display: none; }
  .rep-print-head { display: block; border-bottom: 2px solid #006B43; padding-bottom: 8px; margin-bottom: 12px; font-size: 11px; color: #333; }
  .rep-print-head h1 { font-size: 18px; margin: 2px 0 4px; color: #000; }
  .rep-print-brand { font-weight: 700; color: #006B43; letter-spacing: 0.02em; }
  .rep-sections { display: block; }
  .rep-sections > * { margin-bottom: 10px; }
  .rep-kpis { grid-template-columns: repeat(4, 1fr) !important; }
  .rep-kpis .kpi-ico { display: none; }
  .rep-table .table-wrap { overflow: visible; }
  .rep-table .tbl th { position: static; }
  .rep-chart { break-inside: avoid; }
}
.rep-table .tbl td { white-space: nowrap; }
.rep-table .tbl td:has(.cell-sub) { white-space: normal; min-width: 210px; max-width: 320px; }
.rep-ca .ico, .rep-section .card-h .ico { flex: none; }
.rep-kpis .kpi-label { padding-right: 34px; }
.rep-toolbar.rep-snapshot .rep-period { visibility: hidden; }
