/* Rescue Listings: printables (/printables/). Pages made by tools/build_printables.py.
   The hub loads it after shell.css, content.css and resources.css; each printable after shell.css and content.css.
   Screen: reuses the site's pieces (rl-org cards, rl-tag, rl-btn, rl-need-bar, rl-card, rl-notice,
   rl-keypoints rows, the clay step numbers). This file only adds checkboxes, fill-in fields and the sheet layout.
   Print: clean US Letter sheets. No header, nav, hero art or buttons. Black on white, with a small black logo
   at the top. Print, Save as PDF and the PDFs from tools/build_printables_pdf.py all come from these rules. */

/* ---------- Library hub ---------- */

.pr-items > li > .rl-org { height: 100%; }
.pr-items .rl-org h3 { font-size: 1.35rem; }
.pr-items .rl-org__where { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.pr-items .rl-org__where .rl-tag { margin-right: 0; }
.pr-pages { font-size: .78rem; color: #526a60; }
.rl-section > .pr-items { margin-top: 14px; }
/* Writing rule for this section: no arrows on links (the site's guide cards add one) */
.pr-related .rl-link-card em::after { content: none; }
.pr-related { margin-top: 56px; }
.pr-jump { margin-top: 30px; }

/* ---------- Toolbar on a printable page ---------- */

/* The site's filter panel (.rl-search: pale fill, hairline, 12 px corners) */
.pr-toolbar { margin: 0 0 34px; padding: 18px 20px; background: #f8fafb; border: 1px solid var(--line); border-radius: 12px; }
.pr-toolbar .rl-btn-row + .rl-hint,
.pr-toolbar .rl-hint + .rl-btn-row,
.pr-toolbar .pr-keep { margin-top: 12px; }
.pr-toolbar button.rl-btn { font-family: inherit; }
.pr-keep { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .84rem; font-weight: 500; cursor: pointer; }
@media (max-width: 560px) {
  .pr-toolbar .rl-btn-row > .rl-btn { flex: 1 0 100%; }
}

/* ---------- Checkboxes and radios: real boxes, the site's pine when ticked ---------- */

.pr-sheet input[type=checkbox],
.pr-sheet input[type=radio],
.pr-keep input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  background: #fff center / 80% no-repeat;
  border: 1.5px solid #4f6f68;
  border-radius: 4px;
  cursor: pointer;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.pr-sheet input[type=radio] { border-radius: 50%; width: 20px; height: 20px; }
.pr-sheet input[type=checkbox]:checked,
.pr-keep input[type=checkbox]:checked {
  background-color: var(--forest);
  border-color: var(--forest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pr-sheet input[type=radio]:checked { background-image: radial-gradient(circle, var(--forest) 0 45%, transparent 50%); border-color: var(--forest); background-size: 100%; }

/* ---------- Checklist rows: the key points hairline rows, with a box in place of the clay dash ---------- */

.pr-checks { list-style: none; margin: 0; padding: 0 !important; border-top: 1px solid #dce4dd; }
.rl-prose .pr-checks li + li { margin-top: 0; }
.pr-checks li { margin: 0; border-bottom: 1px solid #dce4dd; break-inside: avoid; }
.pr-checks label { display: flex; align-items: flex-start; gap: 14px; min-height: 48px; padding: 12px 0; cursor: pointer; line-height: 1.5; }
.pr-checks input { margin-top: 1px !important; }
.pr-checks small { display: block; margin-top: 2px; color: #51685d; font-size: .82rem; }
@media (min-width: 620px) {
  .pr-checks--2 { columns: 2; column-gap: 32px; border-top: 0; }
  .pr-checks--2 li { display: block; }
}

/* ---------- Day by day: hairline cards in two columns, clay day labels like the site's step numbers ---------- */

.pr-days { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.rl-prose .pr-days li + li { margin-top: 0; }
.pr-day { margin: 0; padding: 22px 22px 8px; background: #fff; border: 1px solid #dce4dd; border-radius: 8px; break-inside: avoid; }
.pr-day__num { display: block; margin-bottom: 6px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #976148; }
.rl-prose .pr-day h3 { margin: 0 0 12px; font-size: 1.3rem; }
.pr-day .pr-checks { border-top: 1px solid #dce4dd; }
.pr-day .pr-checks li:last-child { border-bottom: 0; }
.pr-day--notes .pr-lined { padding-bottom: 14px; }
.pr-day--notes .rl-hint { margin: -6px 0 14px; }
@media (min-width: 761px) { .pr-days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Fill-in fields (screen): the site's text input ---------- */

.pr-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 20px; }
@media (min-width: 620px) { .pr-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .pr-fields--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pr-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pr-fields .rl-field--wide { grid-column: 1 / -1; }
.pr-sheet textarea.rl-input { min-height: 96px; resize: vertical; line-height: 1.5; font-family: inherit; }

/* Form groups: a plain fieldset with the site's small tracked label as the legend */
.pr-group { margin: 0 0 30px; padding: 0; border: 0; min-width: 0; break-inside: avoid; }
.pr-group > legend { display: block; width: 100%; margin: 0 0 14px; padding: 14px 0 0; border-top: 2px solid #7e9a86; font-size: 1.5rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; color: var(--forest); }
.pr-group > legend small { display: block; margin-top: 4px; font-size: .82rem; font-weight: 400; letter-spacing: 0; color: #51685d; }

/* Choice rows (All / Some / None): small pills that hold a real radio */
.pr-choices { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pr-choices > legend { padding: 0; margin-bottom: 6px; font-size: .73rem; font-weight: 700; }
.pr-choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .86rem; cursor: pointer; }

/* Rows of a log (meals, potty, medicine). On phones each row is a small card with its own labels.
   From 700 px and in print it is a table: one header line, the labels hidden but still read. */
.pr-log { margin: 0; padding: 0; list-style: none; }
.pr-log__head { display: none; }
.pr-log__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 12px; padding: 14px 16px; border: 1px solid #dce4dd; border-radius: 8px; }
.pr-log__row > .rl-field { gap: 4px; }
.pr-log__row strong.pr-log__name { font-size: 1rem; font-weight: 500; }
/* Phones: Pee and Poop side by side, time and notes full width; medicine time and initials side by side */
@media screen and (max-width: 699px) {
  .pr-log--potty .pr-log__row,
  .pr-log--meds .pr-log__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-log--potty .pr-log__row > .rl-field,
  .pr-log--meds .pr-log__row > .rl-field:nth-child(-n+2) { grid-column: 1 / -1; }
}
@media (min-width: 700px) {
  .pr-log__head,
  .pr-log__row { display: grid; grid-template-columns: var(--cols); gap: 12px; align-items: center; }
  .pr-log__head { padding: 0 0 8px; border-bottom: 1px solid #dce4dd; font-size: .63rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: #64786d; }
  .pr-log__row { margin: 0; padding: 8px 0; border: 0; border-bottom: 1px solid #e4eae5; border-radius: 0; }
  .pr-log__row .rl-field > label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pr-log__row .rl-input { min-height: 40px; padding: 8px 10px; }
  .pr-log .pr-choices legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.pr-log--meals { --cols: minmax(90px, .8fr) minmax(80px, .7fr) minmax(0, 2fr) minmax(170px, 1.3fr); }
.pr-log--potty { --cols: minmax(80px, .7fr) minmax(70px, .5fr) minmax(70px, .5fr) minmax(0, 2.4fr); }
.pr-log--meds  { --cols: minmax(0, 1.6fr) minmax(0, 1fr) minmax(80px, .7fr) minmax(70px, .5fr); }
.pr-log--told  { --cols: minmax(120px, 1.1fr) minmax(70px, .55fr) minmax(0, 1.6fr) minmax(0, 1.4fr); }
.pr-log--pets  { --cols: minmax(130px, 1fr) minmax(0, 1.6fr) minmax(0, 1.6fr); }
.pr-check-cell { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: .86rem; cursor: pointer; }

/* Small notes inside the sheet */
.pr-sheet .rl-notice { margin: 0 0 30px; }
.pr-sheet-foot { margin-top: 36px; padding-top: 14px; border-top: 1px solid #dce4dd; font-size: .78rem; line-height: 1.6; color: var(--muted); }
.pr-print-only { display: none; }
.pr-rules { display: none; }
.pr-print-logo { display: none; }

/* Field widths: a field can span two columns once the grid has two or more */
.pr-fields--1 { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 620px) { .pr-span-2 { grid-column: span 2; } }
.pr-fields--choices { gap: 6px 28px; }
.pr-fields--choices > :only-child { grid-column: 1 / -1; }
@media screen {
  .pr-sheet .pr-block, .pr-sheet .pr-block--days { margin: 0 0 30px; }
  .pr-sheet .pr-block > h2, .pr-sheet .pr-block--days > h2 { margin-top: 0; }
  .pr-block--days > h2 { margin-bottom: 16px; }
}

/* Group heading that is not a fieldset legend (a group with no fields, such as the poison lines) */
.pr-group > .pr-legend { display: block; width: 100%; margin: 0 0 14px; padding: 14px 0 0; border-top: 2px solid #7e9a86; font-size: 1.5rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; color: var(--forest); }
.pr-group > .pr-legend small { display: block; margin-top: 4px; font-size: .82rem; font-weight: 400; letter-spacing: 0; color: #51685d; }
.pr-info { margin: 0; padding: 0 !important; list-style: none; border-top: 1px solid #dce4dd; }
.rl-prose .pr-info li + li { margin-top: 0; }
.pr-info li { margin: 0; padding: 10px 0; border-bottom: 1px solid #dce4dd; line-height: 1.5; }

/* Bigger fields: the name and phone on a flyer */
.pr-field--lg .rl-input { font-size: 1.35rem; font-weight: 500; }
.pr-field--xl .rl-input { font-size: 1.7rem; font-weight: 600; letter-spacing: .01em; }

/* ---------- Flyer ---------- */

.pr-flyer-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: 0 0 22px; }
.pr-flyer-word { margin: 0; font-size: clamp(3rem, 14vw, 5.6rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; color: var(--forest); }
.pr-flyer-kind { flex: 1 1 200px; }
.pr-flyer-kind .rl-input { min-height: 64px; font-size: clamp(2rem, 9vw, 3.6rem); font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.pr-flyer-kind .rl-input::placeholder { color: #b9c7c0; }
.pr-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 30px; margin: 0 0 30px; }
@media (min-width: 761px) { .pr-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.pr-split .pr-fields { gap: 12px; }
.pr-photo__box { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; margin: 0 0 12px; overflow: hidden; background: #f8fafb; border: 2px dashed #9fb3aa; border-radius: 8px; }
.pr-photo__box img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pr-photo__box.has-photo .pr-photo__empty { display: none; }
.pr-photo__empty { font-size: .9rem; color: #64786d; }
.pr-photo__input { width: 100%; min-height: 44px; font: inherit; font-size: .9rem; }
.pr-call { margin: 0 0 30px; padding: 18px 0 0; border-top: 2px solid #7e9a86; }
.pr-call__lead { margin: 0 0 10px; font-size: 1.35rem; font-weight: 600; line-height: 1.25; color: var(--forest); }
.pr-call__note { margin: 10px 0 0; font-size: .9rem; color: #51685d; }
.pr-strips { display: none; }

/* ---------- Wallet cards: front and back side by side, a fold line between ---------- */

.pr-cards-intro { margin: 0 0 16px; }
.pr-wcards { display: grid; gap: 16px; }
.pr-wcard { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 640px; border: 1.5px dashed #9fb3aa; border-radius: 10px; background: #fff; }
.pr-wcard--copy { display: none; }
.pr-wcard__face { padding: 14px 16px; }
.pr-wcard__face + .pr-wcard__face { border-top: 1px dotted #9fb3aa; }
@media (min-width: 620px) {
  .pr-wcard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-wcard__face + .pr-wcard__face { border-top: 0; border-left: 1px dotted #9fb3aa; }
}
.pr-wcard p { margin: 0 0 6px; font-size: .86rem; line-height: 1.4; }
.pr-wcard .pr-wcard__title { font-size: 1rem; font-weight: 600; color: var(--forest); }
.pr-wcard__row { display: flex; gap: 8px; align-items: baseline; }
.pr-wcard__k { flex: 0 0 auto; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64786d; }
.pr-wcard__v { flex: 1 1 auto; min-height: 1.3em; border-bottom: 1px solid #c9d5cf; }

/* ---------- Tips under a flyer ---------- */

.pr-tips { margin-top: 48px; }
.pr-tips h2 { margin-top: 0; }

/* ======================================================================================
   Print: Print, Save as PDF, and the build-time PDF all come from these rules.
   ====================================================================================== */

@page {
  size: letter;
  margin: .45in .5in .55in;
  @bottom-left { content: "Free from rescuelistings.com"; font: 400 7.5pt Outfit, Arial, sans-serif; color: #000; }
  @bottom-right { content: "Page " counter(page) " of " counter(pages); font: 400 7.5pt Outfit, Arial, sans-serif; color: #000; }
}

@media print {
  html, body { background: #fff !important; }
  body { color: #000; font-size: 9.5pt; line-height: 1.38; }
  #rl-header, #rl-footer, .rl-crumbs, .pr-toolbar, .pr-screen-only, .rl-hero__media, .rl-hero__shade, .rl-hero__texture, .rl-hero__bottom, .rl-hero__note, .rl-cta, .pr-related { display: none !important; }
  .pr-print-only { display: block; }
  a { color: #000; text-decoration: none; }

  /* The page top becomes the sheet title */
  .rl-hero { display: block; min-height: 0; background: #fff !important; color: #000 !important; border: 0; }
  .rl-hero .rl-hero__inner { display: block; width: auto; padding: 0 0 8pt !important; }
  .rl-hero__eyebrow { margin: 0 0 4pt; color: #000 !important; font-size: 7.5pt; letter-spacing: .12em; }
  .rl-hero__eyebrow::before { display: none; }
  .pr-print-hide { display: none !important; }
  .rl-hero .rl-hero__title { max-width: none; margin: 0 0 2pt; font-size: 19pt; line-height: 1.1; color: #000 !important; }
  .rl-hero .rl-hero__title em { color: #000 !important; font-weight: 500; }
  .rl-hero .rl-hero__description { max-width: none; margin: 0; color: #000 !important; font-size: 9.5pt; line-height: 1.4; }

  .rl-prose, .rl-wrap { max-width: none; padding: 0 !important; font-size: 9.5pt; }
  .rl-prose h2 { margin: 12pt 0 5pt; font-size: 12.5pt; font-weight: 600; letter-spacing: -.01em; color: #000; break-after: avoid; }
  .rl-prose h3 { break-after: avoid; }
  .rl-prose p { margin-bottom: 5pt; }
  .pr-block, .pr-day, .pr-group, .rl-notice { break-inside: avoid; }

  /* Boxes and ticks: black outlines, a black tick when ticked */
  .pr-sheet input[type=checkbox],
  .pr-sheet input[type=radio] { width: 10pt; height: 10pt; border: .9pt solid #000; border-radius: 1.5pt; background-color: #fff; }
  .pr-sheet input[type=radio] { width: 9.5pt; height: 9.5pt; border-radius: 50%; }
  .pr-sheet input[type=checkbox]:checked { background-color: #fff; border-color: #000; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .pr-sheet input[type=radio]:checked { background-image: radial-gradient(circle, #000 0 42%, transparent 48%); border-color: #000; }

  .pr-checks, .pr-checks li, .pr-day .pr-checks { border-color: #9a9a9a !important; }
  .pr-checks label { min-height: 0; gap: 6pt; padding: 3pt 0; line-height: 1.3; }
  .pr-checks input { margin-top: 1pt !important; }
  .pr-checks small { color: #000; font-size: 8pt; margin-top: 0; }
  .pr-checks--2 { columns: 2; column-gap: 18pt; border-top: 0; }

  .pr-days { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6pt 10pt; }
  .pr-day { padding: 5pt 7pt 1pt; border: .75pt solid #000; border-radius: 3pt; }
  .pr-day__num { margin-bottom: 1pt; color: #000; font-size: 7pt; font-weight: 600; }
  .rl-prose .pr-day h3 { margin: 0 0 3pt; font-size: 10.5pt; font-weight: 600; }

  /* Notes become plain outlined boxes */
  .rl-notice, .rl-card, .rl-keypoints { background: #fff !important; color: #000 !important; border: .75pt solid #000 !important; border-radius: 3pt; padding: 4pt 7pt !important; font-size: 8pt; line-height: 1.35; }
  .pr-sheet .rl-notice { margin: 6pt 0; }

  /* Fill-in fields: a ruled line to write on, the typed text on top of it */
  .pr-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3pt 14pt; }
  .pr-fields--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pr-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-fields .rl-field { gap: 0; }
  .pr-sheet .rl-field > label { font-size: 7pt; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
  /* shell.css sets 16px on phone-width fields (no zoom on iPhones); a printed page is narrower than its
     1024 px breakpoint, so this selector has to outrank it. */
  .pr-sheet input.rl-input:not([type=checkbox]):not([type=radio]),
  .pr-sheet textarea.rl-input { font-size: 9.5pt !important; }
  .pr-sheet .rl-input { min-height: 0; height: 15.5pt; padding: 0 2pt; border: 0; border-bottom: .75pt solid #000; border-radius: 0; background: transparent; color: #000; }
  .pr-sheet .rl-input::placeholder { color: transparent; }
  .pr-sheet input[type=date]::-webkit-calendar-picker-indicator { display: none; }
  .pr-sheet input[type=date].is-empty::-webkit-datetime-edit { color: transparent; }
  /* Lined notes: real ruled lines (one span per line, made by printables.js) under a see-through box,
     so the lines print even with background graphics off. */
  .pr-lined { position: relative; }
  .pr-lined .pr-rules { display: block; }
  .pr-rules span { display: block; height: 15.5pt; border-bottom: .75pt solid #000; }
  .pr-sheet .pr-lined textarea.rl-input {
    position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0 2pt; border: 0; resize: none; overflow: hidden;
    line-height: 15.5pt; background: transparent;
  }

  .pr-group { margin: 0 0 5pt; }
  .pr-group > legend { margin: 0 0 3pt; padding: 3pt 0 0; border-top: 1.2pt solid #000; font-size: 11pt; font-weight: 600; color: #000; }
  .pr-group > legend small { display: inline; margin-left: 6pt; font-size: 8pt; color: #000; }

  .pr-log__head, .pr-log__row { display: grid; grid-template-columns: var(--cols); gap: 8pt; align-items: end; }
  .pr-log__head { padding: 0 0 1pt; border-bottom: .75pt solid #000; font-size: 6.5pt; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #000; }
  .pr-log__row { margin: 0; padding: 0; border: 0; border-radius: 0; }
  .pr-log__row .rl-field > label,
  .pr-log .pr-choices legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pr-log__row strong.pr-log__name { font-size: 9pt; font-weight: 500; align-self: end; border-bottom: .75pt solid #000; height: 15.5pt; line-height: 15.5pt; }
  .pr-choices { gap: 2pt 8pt; align-items: center; }
  .pr-choices > legend { margin: 0 4pt 0 0; font-size: 7pt; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; float: left; }
  .pr-choices label, .pr-check-cell { min-height: 0; gap: 3pt; font-size: 8.5pt; }
  .pr-log__row .pr-choices, .pr-log__row .pr-check-cell { height: 15.5pt; border-bottom: .75pt solid #000; }

  .pr-sheet-foot { margin-top: 8pt; padding-top: 4pt; border-top: .75pt solid #000; color: #000; font-size: 7.5pt; line-height: 1.35; }

  /* The logo: small, black, top left of the first page */
  .pr-print-logo { display: block; margin: 0 0 9pt; }
  .pr-print-logo svg { display: block; width: auto; height: 19pt; }

  .pr-span-2 { grid-column: span 2; }
  .pr-fields--choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3pt 14pt; margin-bottom: 3pt; }
  .pr-fields--choices > :only-child { grid-column: 1 / -1; }
  .pr-group > .pr-legend { margin: 0 0 3pt; padding: 3pt 0 0; border-top: 1.2pt solid #000; font-size: 11pt; font-weight: 600; color: #000; }
  .pr-group > .pr-legend small { display: inline; margin-left: 6pt; font-size: 8pt; color: #000; }
  .pr-info { border-color: #9a9a9a; }
  .pr-info li { padding: 2pt 0; border-color: #9a9a9a; font-size: 9pt; line-height: 1.3; }
  .pr-field--lg .rl-input, .pr-field--xl .rl-input { font-weight: 600; }

  /* Flyer: one poster page, big type, a photo box and tear-off strips */
  .pr-sheet--flyer { font-size: 11pt; }
  .pr-flyer-head { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 12pt; margin: 0 0 8pt; }
  .pr-flyer-word { flex: 0 0 auto; font-size: 62pt; line-height: .95; color: #000; }
  .pr-flyer-kind { flex: 1 1 auto; min-width: 0; }
  .pr-sheet.pr-sheet--flyer .pr-flyer-kind input.rl-input { height: 52pt; font-size: 44pt !important; font-weight: 700; text-transform: uppercase; }
  .pr-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14pt; margin: 0 0 8pt; }
  .pr-split .pr-fields { gap: 5pt; }
  .pr-photo__box { height: 3.95in; aspect-ratio: auto; margin: 0; background: #fff; border: 1.2pt dashed #000; border-radius: 0; }
  .pr-photo__empty { color: #000; font-size: 10pt; }
  .pr-sheet.pr-sheet--flyer input.rl-input:not([type=checkbox]):not([type=radio]) { height: 21pt; font-size: 14pt !important; }
  .pr-sheet.pr-sheet--flyer .pr-field--lg input.rl-input { height: 27pt; font-size: 22pt !important; }
  .pr-sheet.pr-sheet--flyer .pr-field--xl input.rl-input { height: 38pt; font-size: 32pt !important; }
  .pr-sheet.pr-sheet--flyer .pr-flyer-kind input.rl-input:not([type=checkbox]):not([type=radio]) { height: 52pt; font-size: 44pt !important; }
  /* No focus ring on paper */
  .pr-sheet .rl-input:focus, .pr-sheet input:focus, .pr-sheet textarea:focus { outline: none !important; box-shadow: none !important; }
  .pr-sheet input, .pr-sheet textarea { caret-color: transparent; }
  .pr-sheet--flyer .rl-field > label { font-size: 8pt; }
  .pr-sheet--flyer .pr-block > h2 { margin: 4pt 0 2pt; font-size: 13pt; }
  .pr-call { margin: 6pt 0 0; padding: 4pt 0 0; border-top: 1.2pt solid #000; }
  .pr-call__lead { margin: 0 0 2pt; font-size: 17pt; color: #000; }
  .pr-call__note { margin: 3pt 0 0; font-size: 10pt; color: #000; }
  .pr-strips { display: flex; margin: 10pt 0 0; border-top: 1pt dashed #000; break-inside: avoid; }
  .pr-strip { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 4pt; height: 1.8in; padding: 6pt 0; border-left: .75pt dashed #000; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9pt; line-height: 1.15; }
  .pr-strip:last-child { border-right: .75pt dashed #000; }
  .pr-strip__t { font-weight: 600; }
  .pr-strip__v { font-size: 10.5pt; font-weight: 600; }
  .pr-strip__v:empty { display: none; }

  /* Wallet cards: a page of their own, each card 3.5 x 2 in, fold line in the middle */
  .pr-cards-page { break-before: page; }
  .pr-cards-page > h2 { margin: 0 0 3pt; }
  .pr-cards-intro { margin: 0 0 10pt; font-size: 9pt; }
  .pr-wcards { display: grid; gap: 14pt; }
  .pr-wcard, .pr-wcard--copy { display: grid; grid-template-columns: 3.5in 3.5in; width: 7in; max-width: none; height: 2in; border: .9pt dashed #000; border-radius: 0; break-inside: avoid; }
  .pr-wcard__face { box-sizing: border-box; height: 2in; padding: 8pt 10pt; overflow: hidden; }
  .pr-wcard__face + .pr-wcard__face { border-top: 0; border-left: .75pt dotted #000; }
  .pr-wcard p { margin: 0 0 3pt; font-size: 8.5pt; line-height: 1.25; color: #000; }
  .pr-wcard .pr-wcard__title { font-size: 11pt; color: #000; }
  .pr-wcard p.pr-wcard__row { margin: 0 0 4pt; }
  .pr-wcard__k { font-size: 6.5pt; color: #000; }
  .pr-wcard__v { min-height: 15pt; border-bottom: .6pt solid #000; }

  /* Print blank: hide what was typed or ticked, keep the lines and boxes */
  html[data-print=blank] .pr-sheet .rl-input,
  html[data-print=blank] .pr-sheet input[type=date]::-webkit-datetime-edit { color: transparent !important; }
  html[data-print=blank] .pr-sheet input:checked { background-image: none !important; }
  html[data-print=blank] .pr-sheet [data-from] { color: transparent !important; }
  html[data-print=blank] .pr-photo__box img { display: none !important; }
  html[data-print=blank] .pr-photo__box .pr-photo__empty { display: inline !important; }
}
