/* Native ReportsWindow visual contract extracted from the user-provided
 * ERPSYSTEM/modules/reports/views/reports_window.py (SHA256
 * 1f0a28d1ef7aa692be770d0f4525bb8ca7acdc89a81355a6fc7b46c074eed8ea).
 * Presentation only: never imply historical financial/data parity.
 * Loaded after the shared Qt styles; customer desktop only. */
body.qt-desktop-mode .qt-report-window {
  box-sizing:border-box;min-width:0;margin:0;
  padding:0;background:#fff;border:0;border-bottom:1px solid #dce5f1;
  border-radius:0;box-shadow:none;
}
body.qt-desktop-mode .qt-report-window .qt-report-main-toolbar {
  box-sizing:border-box;display:flex;align-items:center;gap:12px;
  min-height:50px;margin:0;padding:5px 10px;
  flex-direction:row;flex-wrap:wrap;background:#fff;
  direction:rtl;border:0;
}
body.qt-desktop-mode .qt-report-period-controls,
body.qt-desktop-mode .qt-report-main-actions {
  display:flex;align-items:center;gap:6px;min-width:0;direction:rtl;
}
body.qt-desktop-mode .qt-report-period-controls {flex-wrap:wrap}
body.qt-desktop-mode .qt-report-period-title {
  color:#173b67;font-size:13px;font-weight:800;padding-inline:5px;
}
body.qt-desktop-mode .qt-report-period-controls>label {
  display:flex;align-items:center;flex-direction:row;gap:4px;
  margin:0;white-space:nowrap;color:#64748b;font-size:12px;font-weight:600;
}
body.qt-desktop-mode .qt-report-period-controls input[type="date"] {
  box-sizing:border-box;width:112px;min-width:112px;max-width:112px;
  height:32px;min-height:32px;padding:0 5px;
  border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#172033;
  font:13px Arial,Tahoma,sans-serif;
}
body.qt-desktop-mode .qt-report-period-controls select {
  box-sizing:border-box;width:138px;min-width:138px;max-width:138px;
  height:32px;min-height:32px;padding:0 6px;
  border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#172033;
  font:13px Arial,Tahoma,sans-serif;
}
body.qt-desktop-mode .qt-report-main-actions {
  margin-inline-start:auto;flex-wrap:wrap;
}
body.qt-desktop-mode .qt-report-main-actions .button {
  box-sizing:border-box;min-height:32px;padding:5px 11px;
  color:#244875;background:#f8fafc;border:1px solid #cbd5e1;
  border-radius:6px;font-size:13px;font-weight:700;
}
body.qt-desktop-mode .qt-report-main-actions .button:hover:not(:disabled) {
  background:#eaf1f8;border-color:#8fa8c5;
}
body.qt-desktop-mode .qt-report-main-actions .button.primary {
  background:#f8fafc;color:#244875;border-color:#cbd5e1;
}
body.qt-desktop-mode .qt-report-native-tabs {
  box-sizing:border-box;display:flex;align-items:center;align-content:center;
  min-height:56px;gap:6px;margin:0 0 8px;padding:7px;
  flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;
  border:1px solid #dce5f1;border-radius:8px;
  background:#fff;direction:rtl;scrollbar-width:thin;
}
body.qt-desktop-mode .qt-report-native-label {
  display:flex;align-items:center;justify-content:center;flex:0 0 102px;
  box-sizing:border-box;width:102px;height:40px;
  padding:0 8px;border-radius:6px;background:#eaf1f8;
  color:#244875;font:800 13px Arial,Tahoma,sans-serif;
}
body.qt-desktop-mode .qt-report-native-tab {
  box-sizing:border-box;display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;min-width:110px;max-width:152px;height:40px;min-height:40px;
  padding:0 10px;white-space:nowrap;line-height:1.25;
  background:#f8fafc;border:1px solid #dce5f1;border-radius:6px;
  color:#475569;font:700 13px Arial,Tahoma,sans-serif;
}
body.qt-desktop-mode .qt-report-native-tab.active {
  color:#fff;background:#244875;border-color:#244875;
}
body.qt-desktop-mode .qt-report-native-tab:hover:not(:disabled):not(.active) {
  color:#244875;background:#eef3f8;
}
body.qt-desktop-mode .qt-report-results {
  box-sizing:border-box;direction:rtl;padding:8px;
  border:1px solid #dce5f1;border-radius:8px;background:#f4f7fb;
}
body.qt-desktop-mode .qt-report-results>h2 {
  min-height:38px;display:flex;align-items:center;margin:0;
  color:#173b67;font:900 17px Arial,Tahoma,sans-serif;
}
body.qt-desktop-mode .qt-report-results>.muted {
  margin:0 0 7px;line-height:1.7;
}
body.qt-desktop-mode .qt-report-financial-filters {
  box-sizing:border-box;display:flex;align-items:end;flex-wrap:wrap;
  gap:8px;margin:8px 0;padding:6px 10px;direction:rtl;
  background:#fff;border:1px solid #dce5f1;border-radius:8px;
}
body.qt-desktop-mode .qt-report-financial-filters[hidden] {display:none!important}
body.qt-desktop-mode .qt-report-financial-filters>label {
  display:flex;flex-direction:column;gap:4px;min-width:150px;
  margin:0;color:#244875;font-size:12px;font-weight:700;
}
body.qt-desktop-mode .qt-report-financial-filters>label input,
body.qt-desktop-mode .qt-report-financial-filters>label select {
  box-sizing:border-box;max-width:100%;min-height:32px;height:32px;
  border:1px solid #cbd5e1;border-radius:6px;
  background:#fff;color:#172033;
}
body.qt-desktop-mode .qt-report-financial-extra-actions {
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
  margin-inline-start:auto;
}
body.qt-desktop-mode .qt-report-results> .qt-report-cards {
  margin:8px 0;min-height:82px;
}
body.qt-desktop-mode .qt-report-results .qt-report-result-table table {
  border-collapse:collapse;width:100%;
}
body.qt-desktop-mode .qt-report-results .qt-report-result-table th {
  padding:7px 5px;border-inline-start:1px solid #365f8d;
  background:#244875;color:#fff;font-weight:800;text-align:right;
}
body.qt-desktop-mode .qt-report-results .qt-report-result-table td {
  padding:7px 5px;border-bottom:1px solid #eef2f7;text-align:right;
}
@media(max-width:1120px) {
  body.qt-desktop-mode .qt-report-window .qt-report-main-toolbar {gap:6px}
  body.qt-desktop-mode .qt-report-main-actions {margin-inline-start:0}
}
@media(max-width:760px) {
  body.qt-desktop-mode .qt-report-main-toolbar {align-items:stretch}
  body.qt-desktop-mode .qt-report-period-controls,
  body.qt-desktop-mode .qt-report-main-actions {justify-content:flex-start;width:100%}
  body.qt-desktop-mode .qt-report-native-label {display:flex}
}
