/* Print sheet for the trust pack: the five legal and trust pages plus the controls summary.
   Linked with media="print", so it governs both a visitor's Ctrl-P and the PDFs that
   build_pdf.py renders with headless Chrome.

   The HTML page stays the primary, accessible view. A PDF produced by a browser is not a
   tagged PDF and does not meet AA on its own, which is why every download says so and links
   back to the page. */

@page { margin: 18mm 16mm 20mm; }

body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.55; }

/* Chrome, wordmark, language switches and the accessibility widget are navigation, not document. */
.nav, .footer, .a11y-btn, .a11y-panel, .rail, .skip-link, .lang-switch { display: none !important; }

.legal { max-width: none; padding: 0; }
.legal h1 { font-size: 20pt; color: #000; }
.legal h2 { font-size: 13pt; color: #000; margin-block: 20pt 6pt; break-after: avoid; }
.legal h3 { break-after: avoid; }
.legal p, .legal li, .legal td, .legal th { color: #000; font-size: 10.5pt; }
.legal .updated { color: #333; border-block-end: 1px solid #999; }
.legal .lede { font-size: 11.5pt; color: #000; }
.legal .note { background: none; border-inline-start: 2pt solid #000; border-radius: 0; }
.legal .note strong { color: #000; }
.legal .tablewrap { overflow: visible; border: none; border-radius: 0; }
.legal table { font-size: 9.5pt; }
.legal th { background: #eee; color: #000; }
.legal th, .legal td { border-block-end: 1px solid #999; }
/* rows never split across pages; the table itself must be allowed to, or a long control
   table pushes a whole blank page ahead of itself */
tr, td, th { break-inside: avoid; }
thead { display: table-header-group; }

/* A printed link that says "here" is a dead end: print the address next to it. */
.legal a { color: #000; text-decoration: underline; }
.legal a[href^="http"]::after,
.legal a[href^="/"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #333; }
.legal a[href^="mailto:"]::after { content: none; }

/* Injected by build_pdf.py into the copy it renders, so every page of the file carries the
   document name, the build date and the version it was built from. A trust document with no
   date is a document a review team cannot rely on. */
.pdf-stamp {
  position: fixed; inset-block-end: 0; inset-inline: 0;
  font-size: 8pt; color: #333; text-align: center; letter-spacing: .02em;
  border-block-start: 1px solid #ccc; padding-block-start: 3pt;
}
