/* Shared material cards, form grid and right-hand command rail. PDF preview is a document surface. */
.history-report-page{background:var(--surface,#fff);min-width:0}
.history-report-page>.panel-body{min-width:0;max-height:calc(100dvh - 170px);overflow:auto}
.history-report-page .aw-card{border:1px solid var(--line);border-radius:6px;padding:16px;margin:0 0 16px;background:var(--surface,#fff)}
.history-report-page .aw-card h3{margin:0 0 14px;font-size:14px}
.history-report-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.history-report-categories label{display:flex;align-items:center;gap:8px}
.history-report-categories input[type=checkbox]{flex:0 0 auto;width:auto}
@media(max-width:759px){.history-report-page{display:flex;flex-direction:column}.history-report-page>.right-tools-aside{display:block;order:-1;padding:12px;border-bottom:1px solid var(--line)}.history-report-page>.panel-body{max-height:none}.history-report-page .rt-group{display:flex;gap:8px;flex-wrap:wrap}.history-report-page .rt-group h3{display:none}.history-report-page .rt-command{min-height:40px}.history-report-page .form-grid{grid-template-columns:1fr}}
