.report-controls {display:flex;flex-wrap:wrap;gap:12px;align-items:end;}
.report-controls button {width:auto;font-size:16px;padding:12px 18px;}
.report-controls input {margin:4px 0 0;}
.report-controls label {margin:0;}
.report-controls > div {flex:1 1 180px;}
button:disabled {opacity:.55;cursor:default;}
.report-totals {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.report-totals div {border:1px solid #d5b25f;border-radius:12px;padding:14px;background:#fff8e7;}
.report-totals dt {font-size:16px;}
.report-totals dd {margin:8px 0 0;font-size:24px;font-weight:bold;}
.report-table-wrap {overflow-x:auto;}
#monthlyReportOutput table {width:100%;border-collapse:collapse;font-size:14px;}
#monthlyReportOutput th, #monthlyReportOutput td {text-align:left;padding:10px 6px;border-bottom:1px solid #ccc;vertical-align:top;overflow-wrap:anywhere;}
#monthlyReportOutput td:last-child {white-space:nowrap;text-align:right;}
#monthlyReportOutput p {line-height:1.5;}
@media(max-width:480px) {.report-totals {grid-template-columns:1fr;}}
@media print {
  body.printing-report {background:white;color:black;padding:0;}
  body.printing-report .auth-bar, body.printing-report main > :not(#manageTab),
  body.printing-report #manageTab > :not(#monthlyReportsPanel),
  body.printing-report #monthlyReportsPanel > :not(#monthlyReportOutput) {display:none !important;}
  body.printing-report #manageTab, body.printing-report #monthlyReportsPanel {display:block !important;max-width:none;width:auto;margin:0;padding:0;border:0;}
  body.printing-report .report-table-wrap {overflow:visible;}
  body.printing-report tr {break-inside:avoid;}
  body.printing-report h3 {break-after:avoid;}
  body.printing-report thead {display:table-header-group;}
}
