/* =============================================================================
   Foldnine — a written report, as a page.

   Used by the sample process audit (/sr/analiza-procesa/primer/). A report is
   read top to bottom and printed, so this is a single column of paper with
   plain tables, and the print rules drop everything that is not the document.
   ========================================================================== */

.report { padding-block: clamp(3rem, 8vh, 5rem) clamp(4rem, 10vh, 6rem); }
.report .shell { max-width: 52rem; }

.report-head { margin-block-end: clamp(2rem, 5vw, 3rem); }
.report-head .label { margin-block-end: 1rem; }
.report-head h1 { font-size: var(--step-3); line-height: 1.15; margin-block-end: 1rem; color: var(--ink); }

.report-note {
  border: 1px solid var(--ink); padding: 1rem 1.25rem;
  margin-block: 1.5rem 0; font-size: var(--step--1);
}

.report section {
  /* base.css frames every section as a full-bleed band; inside a report a
     section is a heading and its paragraphs. */
  padding-block: 0; border-block-start: 0; background: none;
  margin-block-start: clamp(2.25rem, 5vw, 3.25rem);
}
.report h2 {
  font-size: var(--step-1); color: var(--ink); margin-block-end: .9rem;
  padding-block-start: .9rem; border-block-start: 1px solid var(--rule-firm);
}
.report h2 .num { color: var(--muted); margin-inline-end: .6rem; }
.report p, .report li { max-width: var(--measure); margin-block-end: .7rem; }
.report ul, .report ol { padding-inline-start: 1.25rem; margin-block-end: 1rem; }
.report ul { list-style: square; }
.report ol { list-style: decimal; }

.report-table-wrap { overflow-x: auto; margin-block: 1rem 1.25rem; }
.report table { border-collapse: collapse; inline-size: 100%; font-size: var(--step--1); }
.report th, .report td {
  text-align: start; vertical-align: top;
  padding: .55rem .7rem; border-block-end: 1px solid var(--rule);
}
.report th { font-family: var(--mono); font-size: var(--step--2); letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); font-weight: 500; }
.report td.n, .report th.n { text-align: end; font-family: var(--mono); white-space: nowrap; }
.report tfoot td { font-weight: 640; color: var(--ink); border-block-end: 0; }

.report-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: 2rem; }

@media print {
  .masthead, .foot, .skip, .report-actions { display: none !important; }
  .report { padding: 0; }
  .report .shell { max-width: none; padding: 0; }
  .report h2 { break-after: avoid; }
  .report table, .report tr { break-inside: avoid; }
}
