/* For the rare visitor who prints a website. You get a certificate. */
/* hud/eggs/print.css · E11. Linked by index.html with media="print". In the last layer (eggs), so it
   beats every layered rule without !important. Lines are borders and SVG strokes, so the certificate
   prints even with background graphics turned off. One US Letter page. */
@page { size: letter portrait; margin: 0.5in; }

@layer eggs {
  html, body { background: #FFFFFF; color: #1F1B16; min-height: 0; }
  main, .u-skip, .u-probe, noscript { display: none; }
  #hud { position: static; }
  #hud > .hud-mount { display: none; }
  #hud > #hud-eggs { display: block; position: static; inset: auto; }
  #hud-eggs .he-root { position: static; }
  #hud-eggs .he-root > * { display: none; }

  #hud-eggs .he-cert {
    display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    box-sizing: border-box; width: 7.5in; height: 9.9in; margin: 0 auto; padding: 0.4in 0.5in 0.35in;
    border: 4px double #1F1B16; outline: 1px solid #1F1B16; outline-offset: -0.14in;
    font: 400 12.5pt/1.4 "Iowan Old Style", Charter, "Palatino Linotype", Palatino, Georgia, serif;
    color: #1F1B16; text-align: center;
    break-inside: avoid; page-break-inside: avoid;
  }
  #hud-eggs .he-cert p { margin: 0; max-width: 6.2in; }
  .he-c-brand { font-size: 10pt; letter-spacing: 0.22em; text-transform: uppercase; font-variant: small-caps; }
  .he-c-title { font-size: 30pt; line-height: 1.1; font-weight: 700; letter-spacing: 0.01em; }
  .he-c-l { font-size: 13pt; }
  .he-c-who {
    font: 400 26pt/1.15 cursive; padding: 0 0.3in 2pt; border-bottom: 1px solid #1F1B16;
  }
  .he-c-fine { font-size: 8.5pt; color: #3A3631; font-style: italic; }
  .he-c-remark { font-size: 12pt; font-style: italic; }
  .he-c-p { font-size: 11pt; }
  .he-c-rulerbox { line-height: 0; }
  .he-c-ruler { display: block; width: 6in; height: 0.75in; }
  .he-c-ruler text { font-family: ui-monospace, Menlo, Consolas, "Liberation Mono", monospace; }
  .he-c-cap { font-size: 10.5pt; }
  .he-c-row { display: flex; align-items: center; justify-content: space-between; width: 6.2in; gap: 0.2in; }
  /* Equal heights keep both signature rules on one line, whichever label wraps. */
  #hud-eggs .he-c-row .he-c-sig {
    flex: 1 1 0; box-sizing: border-box; height: 0.62in; padding-top: 5pt;
    border-top: 1px solid #1F1B16; font-size: 11pt; line-height: 1.3; text-align: center;
  }
  .he-c-seal { flex: none; display: block; }
  .he-c-seal text { font-family: "Iowan Old Style", Charter, Georgia, serif; }
  .he-c-script { font: 400 15pt/1 cursive; }
  .he-c-struck { text-decoration: line-through; text-decoration-thickness: 1.5px; }
  .he-c-issued { font-size: 8.5pt; color: #3A3631; }
}
