.report-scope {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}
.report-scope *, .report-scope *::before, .report-scope *::after { box-sizing: border-box; }
.report-scope > legend { max-width: 100%; padding: 0 6px; color: var(--text); font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
.report-scope :is(p, h4) { margin: 0; }
.report-scope > :not(legend) + * { margin-top: 10px; }
.report-scope .report-scope-summary { color: var(--text); overflow-wrap: anywhere; }
.report-scope .report-scope-help, .report-scope .report-scope-status { color: var(--muted); font-size: 12px; }
.report-scope .report-scope-status { overflow-wrap: anywhere; }
.report-scope .report-scope-status:empty { display: none; }
.report-scope .report-scope-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: end; gap: 8px; }
.report-scope .field { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; }
.report-scope .field > span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.report-scope :is(input, select) { width: 100%; min-width: 0; min-height: 38px; padding: 7px 8px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 5px; font: inherit; }
.report-scope .report-scope-button { display: inline-flex; justify-content: center; align-items: center; min-width: 0; min-height: 34px; margin: 0; padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 550; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.report-scope .report-scope-button:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--raised); border-color: var(--muted); }
.report-scope .report-scope-button:is(:disabled, [aria-disabled="true"]) { opacity: .6; cursor: default; }
.report-scope :is(button, input, select, summary):focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.report-scope .report-scope-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: var(--muted); }
.report-scope .report-scope-trail button { max-width: 100%; text-align: left; }
.report-scope .report-scope-table-wrap { max-height: 330px; overflow: auto; border: 1px solid var(--line); border-radius: 5px; }
.report-scope .report-scope-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.report-scope .report-scope-table th { position: sticky; top: 0; z-index: 1; background: var(--raised); color: var(--muted); text-align: left; font-weight: 550; }
.report-scope .report-scope-table th:first-child { width: 57%; }
.report-scope .report-scope-table :is(th, td) { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.report-scope .report-scope-table tbody tr:last-child td { border-bottom: 0; }
.report-scope .report-scope-table tbody tr:nth-child(even) { background: var(--soft); }
.report-scope .report-scope-table :is(strong, small) { display: block; }
.report-scope .report-scope-table strong { font-weight: 550; }
.report-scope .report-scope-table small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.report-scope .report-scope-row-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.report-scope .report-scope-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.report-scope .report-scope-page { color: var(--muted); font-size: 12px; }
.report-scope .report-scope-selection h4 { font-size: 12px; font-weight: 650; }
.report-scope .report-scope-selected { max-height: 220px; overflow: auto; margin: 6px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 5px; }
.report-scope .report-scope-selected li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.report-scope .report-scope-selected li:last-child { border-bottom: 0; }
.report-scope .report-scope-selected strong { display: block; font-size: 12px; font-weight: 550; overflow-wrap: anywhere; }
.report-scope .report-scope-selected small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.report-scope .report-scope-advanced { border-top: 1px solid var(--line); padding-top: 9px; }
.report-scope .report-scope-advanced > summary { width: fit-content; max-width: 100%; cursor: pointer; font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.report-scope .report-scope-advanced > :not(summary) { margin-top: 10px; }
.report-scope .report-scope-products { max-height: 220px; overflow: auto; }
.report-scope .report-scope-product { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.report-scope .report-scope-product > span { overflow-wrap: anywhere; font-size: 12px; }
.report-scope [hidden] { display: none !important; }
.report-scope .report-scope-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .report-scope { padding: 9px; }
  .report-scope .report-scope-controls { grid-template-columns: minmax(0, 1fr); }
  .report-scope .report-scope-table :is(th, td) { padding: 6px; }
  .report-scope .report-scope-table th:first-child { width: 53%; }
  .report-scope .report-scope-row-actions { flex-direction: column; }
  .report-scope .report-scope-row-actions button { width: 100%; }
  .report-scope :is(input, select) { font-size: 16px; }
}
