.dhx-report-toolkit {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: minmax(220px,.7fr) minmax(0,1.3fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255,255,255,.94);
  border: 1px solid #d8e2e3;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(31,55,63,.05);
  color: #18242c;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.dhx-report-toolkit.compact { width: 100%; margin: 0 0 22px; }
.dhx-report-id { display: grid; gap: 4px; }
.dhx-report-id small { color: #788790; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.dhx-report-id strong { font-size: 16px; letter-spacing: .02em; }
.dhx-report-id span { color: #6a7982; font-size: 11px; }
.dhx-report-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.dhx-report-actions button, .dhx-report-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #cbd7d9;
  border-radius: 4px;
  background: #f7f9f9;
  color: #30434d;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.dhx-report-actions button.primary { background: #176bb1; border-color: #176bb1; color: white; }
.dhx-report-status { grid-column: 1/-1; min-height: 16px; color: #26755c; font-size: 11px; text-align: right; }

@media (max-width: 760px) {
  .dhx-report-toolkit { width: min(100% - 28px,1180px); grid-template-columns: 1fr; }
  .dhx-report-toolkit.compact { width: 100%; }
  .dhx-report-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); justify-content: stretch; }
  .dhx-report-status { text-align: left; }
}

@media print {
  .site-header, header, nav, .hero, .demo-panel, .dhx-report-actions, .dhx-report-status, footer, .report-cta { display: none !important; }
  .dhx-report-toolkit { box-shadow: none; border: 1px solid #999; }
  body { background: white !important; color: black !important; }
  .page, .shell { width: 100% !important; max-width: none !important; }
}
