/* W-18 Reports (VE11-S1): the options form and the report preview. Tokens only (05 §1): no raw
   colour. Logical properties (05 §3 rule 9). The Draft watermark is the same diagonal text as the
   file's, at 15 % opacity in ink-muted (05 rule 11); a Final preview has none. */
.vd-report-options__grid {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(16rem, 1fr);
  gap: var(--space-4);
  align-items: start;
  margin-block-end: var(--space-4);
}
.vd-report-options fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-3);
}
.vd-report-options legend {
  font-weight: var(--text-label-weight);
  margin-block-end: var(--space-2);
}
.vd-choice {
  display: flex;
  gap: var(--space-2);
  align-items: baseline;
  padding-block: var(--space-1);
}
.vd-report {
  position: relative;
  overflow: hidden;
  padding: var(--space-5);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.vd-report table {
  inline-size: 100%;
  border-collapse: collapse;
  margin-block: var(--space-3);
}
.vd-report th,
.vd-report td {
  text-align: start;
  padding: var(--space-1) var(--space-2);
  border-block-end: 1px solid var(--border-subtle);
  overflow-wrap: anywhere;
}
.vd-report svg {
  max-inline-size: 100%;
  block-size: auto;
}
.vd-watermark-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-h1-size);
  font-weight: var(--text-h1-weight);
  color: var(--ink-muted);
  opacity: 0.15;
  transform: rotate(-30deg);
  pointer-events: none;
  text-align: center;
}
@media (max-width: 48rem) {
  .vd-report-options__grid {
    grid-template-columns: 1fr;
  }
}
