.report-masters .hist-tabs { flex-wrap: wrap; }
.report-masters .ff-source-card { margin: 1rem 0; }
.report-masters .ff-field { display: flex; flex-direction: column; gap: .35rem; margin: .7rem 0; }
.report-masters input,.report-masters select,.report-masters textarea { width: 100%; max-width: 50rem; padding: .6rem; border: 1px solid #cbd5e1; border-radius: .35rem; font: inherit; }
.report-masters .rm-search { display: flex; gap: .5rem; margin-bottom: .5rem; }
.report-masters .rm-card { border: 1px solid #d9e1e8; background: white; border-radius: .5rem; padding: 1rem; margin: .7rem 0; }
.report-masters dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.report-masters .rm-sheet-options { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem 1rem;max-height:22rem;overflow:auto;border:1px solid #d9e1e8;border-radius:.4rem;padding:.7rem; }
.report-masters .rm-sheet-options input[type="checkbox"] { width:auto; }
.report-masters .rm-sheet-order { display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:.4rem 0;border-bottom:1px solid #e2e8f0; }
.report-masters .rm-sheet-order>span { flex:1;min-width:12rem;overflow-wrap:anywhere; }
.report-masters .rm-search>* { min-width:0; }
.report-masters .rm-channel-color-controls { display:flex;align-items:flex-end;gap:1rem;flex-wrap:wrap; }
.report-masters .rm-channel-color-controls input[type="color"] { width:4rem;min-height:2.5rem;padding:.25rem;cursor:pointer; }
.report-masters .rm-channel-table { min-width:24rem; }
.report-masters .rm-channel-table td { min-width:0;padding:.6rem 1rem;vertical-align:middle; }
.report-masters .rm-channel-table td:first-child { min-width:8rem;font-weight:600; }
.report-masters .rm-channel-label { display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap; }
.report-masters .rm-channel-swatch { width:.9rem;height:.9rem;border:1px solid #0003;border-radius:.25rem; }
.report-masters .rm-channel-code { white-space:pre-wrap;font-variant-numeric:tabular-nums; }
@media(max-width:760px){.report-masters .rm-search{flex-wrap:wrap}.report-masters .rm-sheet-options{grid-template-columns:1fr}.report-masters .hist-tabs{gap:.35rem}.report-masters .hist-tab{white-space:normal;text-align:left}}
