/*
 * The printable sheets (server/public-site/printables). Hand-written, not Tailwind output.
 * The sheet is drawn as paper: always dark ink on white, in light and dark mode, on screen and
 * in print. The print rules hide everything else and fit one A4 or US Letter page.
 */
.pr-sheet {
  background: #fff;
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.pr-sheet h2 { margin: 0; font-size: 1.6em; font-weight: 800; color: #047857; letter-spacing: -0.01em; }
.pr-sheet .pr-sub { margin: 2px 0 12px; color: #374151; }
.pr-sheet h3 { margin: 14px 0 4px; font-size: 1em; font-weight: 800; }
.pr-scroll { overflow-x: auto; }
.pr-sheet table { width: 100%; border-collapse: collapse; font-size: 0.92em; }
.pr-sheet caption { text-align: left; font-weight: 700; padding: 4px 0; }
.pr-sheet th { text-align: left; font-size: 0.78em; text-transform: uppercase; letter-spacing: 0.03em; color: #374151; border-bottom: 2px solid #047857; padding: 4px 6px; }
.pr-sheet td { padding: 3px 6px; border-bottom: 1px solid #e5e7eb; vertical-align: middle; }
.pr-sheet th.pr-num, .pr-sheet td.pr-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-sheet tr.pr-group th { background: #ecfdf5; color: #065f46; border-bottom: 1px solid #a7f3d0; font-size: 0.8em; }
.pr-sheet a { color: inherit; text-decoration: none; }
.pr-sheet td a { text-decoration: underline; text-decoration-color: #9ca3af; }
.pr-sheet .pr-note { margin: 4px 0 0; font-size: 0.8em; color: #374151; }
.pr-bar-cell { position: relative; min-width: 120px; }
.pr-bar { position: absolute; left: 0; top: 2px; bottom: 2px; background: #a7f3d0; border-radius: 3px; z-index: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.pr-bar-cell span { position: relative; z-index: 1; padding-left: 4px; font-weight: 700; }
.pr-tick { width: 1.4em; }
.pr-tick::before { content: ""; display: inline-block; width: 0.9em; height: 0.9em; border: 1.5px solid #111827; border-radius: 2px; vertical-align: middle; }
.pr-sheet .pr-foot { margin-top: 12px; padding-top: 8px; border-top: 1px solid #d1d5db; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 0.78em; color: #374151; }
.pr-sheet .pr-fdc { margin: 6px 0 0; font-size: 0.7em; color: #4b5563; }
.pr-sheet .pr-fdc a { text-decoration: underline; }

.pr-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: #047857; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.pr-btn:focus-visible { outline: 3px solid #111827; outline-offset: 2px; }
.pr-btn[hidden] { display: none; }

@page { margin: 12mm; }

@media print {
  html, body, body.pub { background: #fff !important; color: #000 !important; }
  body.pub > *:not(main) { display: none !important; }
  main { padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; }
  main article > *:not(.pr-sheet) { display: none !important; }
  .pr-sheet { border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0; font-size: 9.5pt; }
  .pr-sheet h2 { font-size: 20pt; }
  .pr-sheet tr, .pr-sheet h3 { break-inside: avoid; }
  .pr-sheet table { break-inside: auto; }
  .pr-scroll { overflow: visible; }
  .pr-sheet td a { text-decoration: none; }
  .pr-sheet .pr-foot { position: static; margin-top: 8pt; font-size: 8.5pt; }
}
