.restricted-report {
  --report-surface: var(--pl-surface, #fff);
  --report-ink: var(--pl-ink, var(--ink, #18272e));
  --report-muted: var(--muted, #586971);
  --report-line: var(--line, #dce3e5);
  color: var(--report-ink);
  min-height: 100svh;
}
.restricted-report-header {
  background: var(--report-surface);
  border-bottom: 1px solid var(--report-line);
}
.restricted-report-bar, .restricted-report-main {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
}
.restricted-report-bar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  padding-block: .7rem;
}
.restricted-report-session {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.restricted-report-session span {
  color: var(--report-muted);
  font-size: .85rem;
  overflow-wrap: anywhere;
}
.restricted-report-main { display: grid; gap: 1.15rem; padding-block: clamp(1.25rem, 5vw, 2.65rem); }
.restricted-report-intro { display: grid; gap: .48rem; }
.restricted-report :is(h1,h2,p) { margin: 0; }
.restricted-report h1 {
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.restricted-report h2 { font-size: 1.12rem; line-height: 1.25; }
.restricted-report-scope { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.restricted-report-scope span {
  display: inline-flex;
  gap: .32em;
  padding: .3rem .62rem;
  background: var(--report-surface);
  border: 1px solid var(--report-line);
  border-radius: .55rem;
  font-size: .86rem;
  overflow-wrap: anywhere;
  min-width: 0;
}
.restricted-report-scope strong { min-width: 0; }
.restricted-report-panel, .restricted-report-stat {
  min-width: 0;
  background: var(--report-surface);
  border: 1px solid var(--report-line);
  border-radius: .75rem;
  padding: clamp(.85rem, 3vw, 1.25rem);
}
.restricted-report-panel { display: grid; gap: .75rem; }
.restricted-report-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 185px), 1fr)); gap: .65rem; }
.restricted-report-stat { display: grid; align-content: start; gap: .38rem; }
.restricted-report-stat span, .restricted-report-muted { font-size: .9rem; color: var(--report-muted); }
.restricted-report-stat strong { font-size: clamp(1.42rem, 4vw, 2.05rem); line-height: 1.2; letter-spacing: -.03em; overflow-wrap: anywhere; }
.restricted-report-table { overflow-x: auto; }
.restricted-report-table table { border-collapse: collapse; text-align: left; width: 100%; font-size: .88rem; }
.restricted-report-table :is(th,td) { padding: .63rem .54rem; border-bottom: 1px solid var(--report-line); }
.restricted-report-table tr:last-child td { border-bottom: 0; }
.restricted-report-table td:first-child { overflow-wrap: anywhere; }
.restricted-report-table :is(th,td):nth-child(n+2) { text-align: right; white-space: nowrap; }
.restricted-report-error { color: var(--error, #92332d); font-weight: 650; }
.restricted-report-scope-form { display: grid; gap: .66rem; }
.restricted-report-scope-form .field { margin: 0; min-width: 0; }
.restricted-report-scope-form :is(select, input) { width: 100%; }
.restricted-report-scope-form :is([data-report-scope-fields], .restricted-report-dialog-actions) { display: grid; gap: .65rem; }
.restricted-report-scope-form .restricted-report-dialog-actions { display: flex; flex-wrap: wrap; }
.restricted-report-scope-form [role="alert"] { color: var(--error, #92332d); }
@media (max-width: 540px) {
  .restricted-report-bar, .restricted-report-main { width: calc(100% - 28px); }
  .restricted-report-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .restricted-report-table :is(th,td) { padding: .52rem .35rem; }
}
@media (max-width: 340px) {
  .restricted-report-stats { grid-template-columns: minmax(0, 1fr); }
}
