/* A4 report (DESIGN.md 3.15). Plain black on white: no colour, no shadows, no pills. Hidden on screen; shown only
   in print and only on the report route. Print styles stay static (no animation, no transition). */

.a4 { display: none; }

.a4 {
  background: #fff;
  color: #000;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  box-sizing: border-box;
}
.a4 header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1.5px solid #000;
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.a4 .brand { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.a4 h1 { margin: 4px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: #000; }
.a4 .printed { font-size: 11px; text-align: end; }
.a4 h2 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 18px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #000;
  font-weight: 700;
  break-after: avoid;
}
.a4 .facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px 16px; font-size: 12px; }
.a4 .facts > div { break-inside: avoid; }
.a4 .facts .k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.a4 .facts .v { font-weight: 650; margin-top: 2px; }
.a4 table { width: 100%; border-collapse: collapse; font-size: 11px; }
.a4 th, .a4 td { text-align: start; padding: 6px 5px; border-bottom: 1px solid #000; vertical-align: top; }
.a4 th { font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.a4 tfoot td { font-weight: 700; border-top: 1.5px solid #000; border-bottom: 0; }
.a4 .none { font-size: 11px; margin: 4px 0; }
.a4 footer {
  margin-top: 24px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #000;
  padding-top: 8px;
}

@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff !important; margin: 0; height: auto; min-height: 0; overflow: visible; display: block; }
  .phone, .nav, .backdrop, .sheet, .toast, #sheets { display: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html[data-screen="report"] .a4 {
    display: block;
    width: 210mm;
    min-height: 297mm;
    margin: 0;
    padding: 14mm;
    box-shadow: none;
  }
  .a4 thead { display: table-header-group; }
  .a4 tr { break-inside: avoid; }
}
