/* isthisemailascam.com: "the marked-up letter".
   Pages read like a letter on paper that someone has gone over with a highlighter and a pen:
   the part of an address that matters is highlighted, and the tricks in a message get
   numbered notes in the margin.

   Palette (contrast measured against Letter Paper unless noted; every text pairing is 7:1 or more)
     Letter Paper   #FBF8F1  page background
     Fountain Ink   #1C2633  body text (14.4:1)
     Postmark Blue  #1A4570  links, buttons, focus (9.3:1; 7.8:1 on Highlighter; white on it 9.9:1)
     Highlighter    #FFE45C  the registered domain, marks in example messages (ink on it 12.0:1)
     Margin Rust    #7A2E12  note numbers, the margin rule (8.9:1; 7.4:1 on Highlighter)
     Sage Note      #E4EEE6  calm panels for "what to do" (ink on it 12.9:1)
   Type: Source Serif 4 for headings (a letter's voice), Atkinson Hyperlegible Next for reading
   (drawn by the Braille Institute so that I, l and 1, O and 0 can't be confused), and Atkinson
   Hyperlegible Mono for addresses (in a fixed-width face "rn" takes two cells and can't pass
   for "m"). */
:root {
  --paper: #FBF8F1;
  --ink: #1C2633;
  --ink-2: #3A4552;
  --blue: #1A4570;
  --hl: #FFE45C;
  --rust: #7A2E12;
  --sage: #E4EEE6;
  --envelope: #F3EDE1;
  --rule: #D8CFBF;
  --card: #FFFFFF;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --measure: 40rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.25rem; line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--hl); border-radius: 2px; }
/* Headings that receive focus only so a screen reader announces a new result aren't controls. */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.22; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 2.9rem); margin: 0.2em 0 0.4em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 1.95rem); margin: 1.8em 0 0.5em; }
h3 { font-size: 1.35rem; margin: 1.5em 0 0.4em; }
p, ul, ol, dl { margin: 0 0 1em; }
li { margin-bottom: 0.45em; }
strong, b { font-weight: 700; }
.mono { font-family: var(--mono); font-weight: 400; overflow-wrap: anywhere; }
.big { font-size: 1.3em; }
mark.hl, .hl { background: var(--hl); color: var(--ink); padding: 0.02em 0.18em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 16px; }
.col { max-width: var(--measure); }
.skip { position: absolute; left: -999px; top: 0; background: var(--card); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 8px; }

/* ---- Header: brand and up to five plain links, wrapping on a phone ---- */
.site-header { border-bottom: 2px solid var(--rule); background: var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 2rem; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: underline; }
.brand svg { width: 40px; height: 40px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; }
.nav a { font-size: 1.1rem; padding: 10px 0; min-height: 48px; display: inline-flex; align-items: center; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration-color: var(--rust); text-decoration-thickness: 0.16em; }

/* ---- The letter: a single readable column with a margin rule ---- */
main { padding: 8px 0 48px; }
.letter { position: relative; }
@media (min-width: 900px) {
  .letter { padding-left: 28px; border-left: 2px solid rgba(122, 46, 18, 0.35); }
}
.crumb { font-size: 1.05rem; margin: 18px 0 0; }
.kicker { font-size: 1.05rem; color: var(--ink-2); margin: 0 0 0.2em; }
.lede { font-size: 1.35rem; color: var(--ink); max-width: var(--measure); }
.updated { font-size: 1.1rem; color: var(--ink-2); }

/* ---- Buttons and fields ---- */
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0.55rem 1.4rem; border: 2px solid var(--blue); border-radius: 8px;
  background: var(--blue); color: #fff; font: 700 1.2rem/1.2 var(--sans); cursor: pointer; text-decoration: none;
}
.btn:hover { background: #12345a; border-color: #12345a; }
.btn-quiet, button.btn-quiet { background: var(--card); color: var(--blue); }
.btn-quiet:hover { background: var(--envelope); color: var(--blue); }
.btn-small, button.btn-small { min-height: 48px; font-size: 1.05rem; padding: 0.4rem 1rem; }
label.field { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.hint { font-size: 1.15rem; color: var(--ink); margin-top: -0.2rem; }
input.text, textarea.text {
  width: 100%; font: 400 1.2rem/1.5 var(--mono); color: var(--ink); background: var(--card);
  border: 2px solid var(--ink); border-radius: 8px; padding: 0.7rem 0.85rem; min-height: 58px;
}
textarea.text { font-family: var(--sans); font-size: 1.15rem; min-height: 14rem; resize: vertical; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 0; }

/* ---- Tool panels ---- */
.tool { background: var(--card); border: 2px solid var(--ink); border-radius: 12px; padding: 22px 20px; margin: 20px 0 28px; max-width: 46rem; box-shadow: 6px 6px 0 var(--envelope); }
@media (max-width: 560px) { .tool { padding: 18px 14px; } }
.tool h2 { margin-top: 0; }
.privacy-line { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 1.15rem; color: var(--ink); margin: 14px 0 0; }
.privacy-line svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.examples { margin-top: 18px; padding-top: 14px; border-top: 2px dashed var(--rule); }
.examples p { margin-bottom: 0.4rem; font-size: 1.15rem; }
.examples .row { margin-top: 6px; }
.noscript { background: var(--sage); border-radius: 10px; padding: 14px 16px; }

/* ---- Results ---- */
.result { margin-top: 22px; border-top: 2px solid var(--ink); padding-top: 6px; }
.result h2, .result h3 { margin-top: 1em; }
.result-error { border-top: 0; background: var(--envelope); border-radius: 10px; padding: 12px 16px; }
.addr { font-size: 1.2rem; background: var(--envelope); border-radius: 8px; padding: 12px 14px; line-height: 1.9; }
.addr .p-scheme, .addr .p-user, .addr .p-sub, .addr .p-rest, .addr .p-port { color: var(--ink-2); }
.addr .p-user { text-decoration: line-through; text-decoration-color: var(--rust); }
.addr mark.p-reg { font-weight: 700; color: var(--ink); }
.plain { font-size: 1.2rem; }
.legend { display: grid; gap: 8px; margin: 10px 0 0; }
.legend div { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 4px 16px; align-items: baseline; }
.legend dt { font-family: var(--mono); font-size: 1.05rem; overflow-wrap: anywhere; }
.legend dd { margin: 0; font-size: 1.1rem; }
.swatch { display: inline-block; width: 0.8em; height: 0.8em; border-radius: 2px; margin-right: 0.35em; vertical-align: -0.05em; border: 2px solid var(--ink-2); background: var(--envelope); }
.s-user { border-color: var(--rust); }
@media (max-width: 560px) { .legend div { grid-template-columns: 1fr; } .legend dd { margin-bottom: 6px; } }
ol.signs { list-style: none; padding: 0; margin: 0 0 1em; }
ol.signs > li { border-left: 4px solid var(--rust); padding: 4px 0 4px 16px; margin: 0 0 18px; }
.sign-title { font-weight: 700; font-size: 1.25rem; margin: 0 0 0.25em; display: flex; gap: 0.6rem; align-items: baseline; }
.num { flex: none; display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; border-radius: 50%; border: 2px solid var(--rust); color: var(--rust); font: 700 0.85em/1 var(--sans); }
.sign-body p, .sign-body { margin-bottom: 0.4em; }
ul.tight { margin: 0.4em 0 0.6em; }
.note { background: var(--sage); border-radius: 10px; padding: 12px 16px; }
details.checked { margin: 0 0 1em; }
details summary { cursor: pointer; color: var(--blue); text-decoration: underline; min-height: 48px; display: flex; align-items: center; }
.limits { font-size: 1.15rem; border-top: 2px dashed var(--rule); padding-top: 12px; }
/* A result with nothing found leads with what the checker can't tell you, then the questions. */
.cant-tell { font-size: 1.2rem; border-left: 4px solid var(--rust); padding: 6px 0 6px 16px; margin: 14px 0 0.8em; }
ol.decide { padding-left: 1.4em; margin: 0 0 1em; }
ol.decide li { margin: 0 0 0.6em; }

/* ---- The guide search (/message-checker/): guides that may match, numbered like margin notes, with the
   words that matched highlighted; then the rules, the "if you clicked" panel and every guide ---- */
.spec mark sup { color: var(--rust); font: 700 0.7em/1 var(--sans); margin-left: 0.15em; }
.limit { font-size: 1.2rem; max-width: var(--measure); border-left: 4px solid var(--rust); padding: 4px 0 4px 16px; }
.tool.search textarea.text { min-height: 10rem; font-size: 1.25rem; line-height: 1.55; }
ol.matches { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 16px; counter-reset: match; }
ol.matches > li { counter-increment: match; position: relative; margin: 0; padding-left: 2.9rem; }
ol.matches > li::before { content: counter(match); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--rust); color: var(--rust); background: var(--card); font: 700 1.05rem/1 var(--sans); }
ol.matches a { display: block; background: var(--card); border: 2px solid var(--ink); border-radius: 12px; padding: 14px 16px; color: var(--ink); text-decoration: none; box-shadow: 4px 4px 0 var(--envelope); }
ol.matches a:hover { border-color: var(--blue); }
ol.matches a .t { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1.25; color: var(--blue); text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; margin-bottom: 0.3em; }
ol.matches a .d { display: block; font-size: 1.1rem; }
.matched { font-size: 1.1rem; color: var(--ink); margin: 8px 0 0; overflow-wrap: anywhere; }
.matched .w { background: var(--hl); color: var(--ink); padding: 0.02em 0.18em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.panel.rules ul { padding-left: 1.2em; margin-bottom: 0; }
.panel.rules li { margin-bottom: 0.7em; }
.panel.rules li:last-child { margin-bottom: 0; }
.panel.clicked { background: var(--envelope); border: 2px solid var(--ink); }

/* ---- Example messages ("specimens") with margin notes ---- */
.specimen { display: grid; gap: 18px 28px; margin: 24px 0 30px; }
@media (min-width: 900px) { .specimen { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.spec-label { grid-column: 1 / -1; font-size: 1.15rem; color: var(--ink); margin: 0; border-top: 2px dashed var(--rule); padding-top: 10px; }
.spec { background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 16px 18px; box-shadow: 6px 6px 0 var(--envelope); }
.spec-head { font-size: 1.05rem; color: var(--ink-2); border-bottom: 1px solid var(--rule); padding-bottom: 8px; margin-bottom: 10px; }
.spec-head b { color: var(--ink); }
.spec-text { white-space: pre-line; line-height: 1.85; }
.spec-text .mono { font-size: 0.95em; }
.spec.kind-text { border-radius: 22px 22px 22px 6px; background: #F7F4EC; }
.spec.kind-call { border-style: dashed; }
.spec.kind-popup { border-width: 3px; }
.spec mark { background: var(--hl); color: var(--ink); padding: 0.05em 0.15em; border-radius: 3px; }
ol.spec-notes { list-style: none; padding: 0; margin: 0; }
ol.spec-notes li { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-bottom: 12px; font-size: 1.1rem; }
ol.spec-notes .num { margin-top: 2px; }

/* ---- Panels, lists, tables ---- */
.panel { background: var(--sage); border-radius: 12px; padding: 18px 20px; margin: 22px 0; max-width: var(--measure); }
.panel h2, .panel h3 { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
.quote { border-left: 4px solid var(--blue); padding: 2px 0 2px 16px; margin: 0 0 1em; }
.quote cite { display: block; font-style: normal; font-size: 1.05rem; color: var(--ink-2); margin-top: 0.2em; }
.steps { padding-left: 1.4em; }
.steps li { padding-left: 0.2em; }
.cards { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.cards li { margin: 0; }
.cards a { display: block; height: 100%; background: var(--card); border: 2px solid var(--rule); border-radius: 12px; padding: 14px 16px; color: var(--ink); text-decoration: none; }
.cards a:hover { border-color: var(--blue); }
.cards a .t { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--blue); text-decoration: underline; text-underline-offset: 0.18em; margin-bottom: 0.25em; }
.cards a .d { display: block; font-size: 1.05rem; }
.table-wrap { overflow-x: auto; max-width: 46rem; }
table { border-collapse: collapse; width: 100%; font-size: 1.1rem; margin: 0 0 1em; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--serif); }
td.n, th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-size: 1.05rem; color: var(--ink-2); padding-bottom: 8px; }
.sources { font-size: 1.05rem; }
.sources li { margin-bottom: 0.8em; }
.sources .src-url { display: block; font-family: var(--mono); font-size: 0.95rem; overflow-wrap: anywhere; color: var(--ink-2); }
.related { margin-top: 28px; }
.affiliate { border: 2px solid var(--rule); border-radius: 12px; padding: 14px 18px; background: var(--card); }
.affiliate .disclose { font-size: 1.05rem; color: var(--ink-2); }

/* ---- Printables (screen preview) ---- */
.card-sheet { display: grid; gap: 18px; margin: 18px 0; }
/* On a large screen the preview is shown bigger than life so it can be read; print is actual size. */
@media screen and (min-width: 900px) { .card-sheet { zoom: 1.45; } }
.size-note { font-size: 1.1rem; color: var(--ink-2); }
.wallet { display: grid; grid-template-columns: 3.375in 3.375in; width: 6.75in; max-width: 100%; border: 2px dashed var(--ink-2); background: var(--card); }
.wallet .face { width: 3.375in; height: 2.125in; padding: 0.1in 0.12in; font-size: 10.8pt; line-height: 1.22; overflow: hidden; }
.wallet .face + .face { border-left: 1px dotted var(--ink-2); }
.wallet .face.back { font-size: 10.4pt; }
.wallet h3 { font-family: var(--serif); font-size: 11.6pt; margin: 0 0 0.05in; }
.wallet ol, .wallet ul { margin: 0; padding-left: 1.05em; }
.wallet li { margin: 0 0 0.02in; }
.wallet .site { font-family: var(--mono); font-size: 8pt; margin-top: 0.03in; }
.wallet .writein { font-size: 9pt; margin-top: 0.05in; }
.wallet .writein span { display: inline-block; width: 1.75in; border-bottom: 1px solid var(--ink); }
@media (max-width: 760px) {
  .wallet { grid-template-columns: 1fr; width: auto; }
  .wallet .face { width: auto; height: auto; font-size: 1rem; padding: 14px; }
  .wallet .face + .face { border-left: 0; border-top: 1px dotted var(--ink-2); }
  .wallet h3 { font-size: 1.15rem; }
  .wallet .site, .wallet .writein { font-size: 0.95rem; }
}
.sheet { background: var(--card); border: 2px solid var(--ink); border-radius: 6px; padding: 26px 28px; max-width: 46rem; margin: 18px 0; }
.sheet h2.sheet-title { margin-top: 0; font-size: 2rem; }
.sheet ol.rules { padding-left: 1.3em; font-size: 1.3rem; }
.sheet ol.rules li { margin-bottom: 0.35em; }
.sheet .box { border: 2px solid var(--ink); border-radius: 8px; padding: 12px 16px; margin: 14px 0; }
.sheet .box p { margin: 0; }
.sheet .writein { font-size: 1.2rem; }
.sheet .writein span { display: inline-block; min-width: 12rem; border-bottom: 2px solid var(--ink); }
.sheet .foot { font-size: 1rem; color: var(--ink-2); margin: 10px 0 0; }

/* ---- Footer ---- */
.site-footer { border-top: 2px solid var(--rule); background: var(--envelope); padding: 26px 0 34px; font-size: 1.05rem; }
.site-footer .cols { display: grid; gap: 18px 36px; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.site-footer h2 { font-size: 1.15rem; margin: 0 0 0.5em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.25em; }
.site-footer li a { display: inline-block; padding: 6px 0; }
.site-footer .fine { margin-top: 20px; color: var(--ink-2); }
.print-url { display: none; }
.print-ref, .print-links { display: none; }

/* ---- Print ----
   A printed page should look like this site, in large type: the envelope mark and name at the top in
   Postmark Blue over a Margin Rust rule, the same faces, no filled bands (to spare ink), reading text
   no wider than on screen, and outside web addresses listed at the end (print-links.js). */
@page { size: letter portrait; margin: .6in .65in .7in;
  @bottom-left { content: "isthisemailascam.com"; font: 9pt "Atkinson Hyperlegible Next", Verdana, sans-serif; color: #555; }
  @bottom-right { content: "Page " counter(page) " of " counter(pages); font: 9pt "Atkinson Hyperlegible Next", Verdana, sans-serif; color: #555; } }
@page sheet { margin: .45in .5in; @bottom-left { content: none; } @bottom-right { content: none; } }
@media print {
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .card-sheet { zoom: 1; }
  body { background: #fff; color: #000; font-size: 15pt; line-height: 1.5; }
  .site-footer, .nav, .skip, .tool .row, .examples, .no-print, .adsbygoogle, ins, iframe, .google-auto-placed, .ad-slot, input.text, textarea.text, noscript, details:not([open]) > :not(summary) { display: none !important; }
  .site-header { background: none; border-bottom: 2.5pt solid var(--rust); margin-bottom: 14pt; }
  .site-header .wrap { padding: 0 0 5pt; display: block; max-width: none; }
  .brand { color: var(--blue); font-size: 15pt; min-height: 0; }
  .brand svg { width: 26pt; height: 26pt; }
  main { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .letter { border: 0; padding: 0; }
  .col, .lede, .letter > p, .letter > ul, .letter > ol, .panel, .tool, .limit, .cant-tell { max-width: 6.4in; }
  h1 { font-size: 28pt; margin: 0 0 10pt; }
  h2 { font-size: 20pt; margin: 18pt 0 6pt; }
  h3 { font-size: 16pt; margin: 14pt 0 4pt; }
  h1, h2, h3 { break-after: avoid; }
  h2 { border-top: 1pt solid var(--rule); padding-top: 8pt; }
  h1 + *, .kicker { break-before: avoid; }
  .lede { font-size: 17pt; }
  .updated, .kicker, .crumb { font-size: 12pt; }
  .crumb { margin: 0 0 6pt; }
  a { color: var(--blue); text-decoration-color: #999; }
  .print-ref { display: inline; font: 700 8.5pt/1 var(--sans); color: var(--rust); margin-left: 1pt; }
  .print-links { display: block; margin-top: 20pt; padding-top: 6pt; border-top: 1pt solid var(--rule); font-size: 11pt; line-height: 1.35; max-width: 6.4in; break-inside: avoid; }
  .print-links h2 { font-size: 12pt; margin: 0 0 4pt; border: 0; padding: 0; }
  .print-links ol { margin: 0; padding-left: 2.2em; }
  .print-links li { margin: 0 0 2pt; overflow-wrap: anywhere; }
  .tool, .spec, .sheet, .cards a, .panel, .note, .addr, ol.matches a { box-shadow: none; background: #fff; border-color: var(--ink); }
  .panel { background: none; border: 0; border-left: 4pt solid var(--rust); border-radius: 0; padding: 2pt 0 2pt 12pt; }
  .panel.clicked, .note { border: 0; border-left: 4pt solid var(--rust); border-radius: 0; background: none; }
  .tool { border: 0; padding: 0; }
  .spec { border-width: 1.5pt; padding: 10pt 12pt; }
  .spec-head { font-size: 11.5pt; }
  .addr { background: none; border: 1pt solid var(--rule); font-size: 14pt; }
  mark.hl, .hl, .spec mark, .matched .w { background: none; color: #000; box-shadow: inset 0 -.55em 0 #FFE45C; }
  .specimen { grid-template-columns: 1fr; }
  ol.spec-notes li { font-size: 13pt; }
  .sources, .sources .src-url, .limits, .cards a .d { font-size: 11pt; }
  .sources .src-url { color: #000; font-size: 10.5pt; }
  .cards { grid-template-columns: 1fr 1fr; }
  table { font-size: 13pt; }
  th { background: #E4EEE6; }
  .num { color: var(--rust); border-color: var(--rust); }
  ol.signs > li { border-left-color: var(--rust); }
  .panel, .spec, .note, ol.signs > li, ol.matches > li, .quote, .cards li, table, tr, .addr { break-inside: avoid; }
  p, li { orphans: 3; widows: 3; }
  .print-url { display: block; margin-top: 18pt; font-size: 11pt; border-top: 1pt solid var(--rule); padding-top: 6pt; color: #555; }

  /* The wallet card and the fridge sheet carry their own page settings (no page numbers) and print
     only the printable. */
  body.print-only { page: sheet; }
  body.print-only main .letter > *:not(.printable):not(.print-url) { display: none !important; }
  body.print-only .printable { display: block; }
  body.print-only .site-header { margin-bottom: 12pt; }
  body.print-only main { padding: 0; }

  /* The wallet card prints at bank-card size, three to a sheet: never scaled. */
  body.print-only .wallet { border: 1pt dashed #555; width: 6.75in; grid-template-columns: 3.375in 3.375in; break-inside: avoid; }
  body.print-only .wallet .face { width: 3.375in; height: 2.125in; padding: 0.1in 0.12in; font-size: 10.8pt; position: relative; }
  body.print-only .wallet .face + .face { border-left: 1pt dotted #555; border-top: 0; }
  body.print-only .wallet .face.back { font-size: 10.4pt; }
  body.print-only .wallet h3 { font-size: 11.6pt; color: var(--blue); border-bottom: 1.25pt solid var(--rust); padding-bottom: 2pt; margin: 0 0 0.06in; break-after: auto; }
  body.print-only .wallet li { break-inside: auto; }
  body.print-only .wallet .site { font-size: 8pt; color: var(--blue); }
  body.print-only .wallet .site::before { content: ""; display: inline-block; width: 11pt; height: 11pt; margin-right: 4pt; vertical-align: -2pt; background: var(--mark) center / contain no-repeat; }
  body.print-only .wallet .writein { font-size: 9pt; }
  body.print-only .wallet .writein span { border-bottom-color: #000; }
  body.print-only .card-sheet { gap: 0.28in; }
  body.print-only .card-sheet .copy-2, body.print-only .card-sheet .copy-3 { display: grid !important; }
  body.print-only .print-url { margin-top: 10pt; }

  /* The fridge sheet fills one portrait page: the sheet grows to use the paper, its type is large,
     and "Printed from" sits at the foot. */
  body.print-only.fridge .letter { height: 9.2in; display: flex; flex-direction: column; }
  body.print-only.fridge .printable { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
  body.print-only.fridge .sheet { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; border: 0; padding: 0; max-width: none; margin: 0; font-size: 15pt; line-height: 1.34; }
  body.print-only.fridge .sheet h2.sheet-title { font-size: 27pt; margin: 0 0 2pt; border: 0; padding: 0; color: var(--ink); }
  body.print-only.fridge .sheet ol.rules { font-size: 16pt; margin: 0; padding-left: 1.4em; }
  body.print-only.fridge .sheet ol.rules li { margin-bottom: 0.1em; break-inside: auto; }
  body.print-only.fridge .sheet ol.rules li::marker { color: var(--rust); font-weight: 700; }
  body.print-only.fridge .sheet .box { margin: 0; padding: 7pt 14pt; border: 0; border-left: 4pt solid var(--rust); border-radius: 0; }
  body.print-only.fridge .sheet .writein { margin: 0; font-size: 15pt; }
  body.print-only.fridge .sheet .writein span { min-width: 2.6in; border-bottom: 1.25pt solid #000; }
  body.print-only.fridge .sheet .foot { font-size: 11pt; color: #444; margin: 0; }
  body.print-only.fridge .print-url { margin: 6pt 0 0; }
}
:root { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='1.5' y='7' width='37' height='26' rx='4' fill='%23fff' stroke='%231C2633' stroke-width='2.5'/%3E%3Cpath d='M3 9.5 20 22 37 9.5' fill='none' stroke='%231C2633' stroke-width='2.5' stroke-linejoin='round'/%3E%3Crect x='6' y='25' width='22' height='6' rx='1.5' fill='%23FFE45C'/%3E%3Cpath d='M8 28h18' stroke='%231C2633' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.card-sheet .copy-2, .card-sheet .copy-3 { display: none; }
