/* Crash tested, Mother approved */
/* Pocket cards: physical units only (in for geometry, pt for type), no Tailwind, so the PDF never depends on the site build. */
@font-face {
  font-family: "CardInter";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url(../fonts/inter-latin.woff2) format("woff2");
}

/* The strip: four 3.5 in x 2 in panels. Solid outline = cut line; dashed panel tops = fold lines. */
.card-strip {
  box-sizing: border-box;
  width: 3.5in;
  height: 8in;
  outline: 0.75pt solid #000;
  background: #fff;
  color: #000;
  font-family: "CardInter", Arial, sans-serif;
  font-size: 8pt;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}
.card-strip * { box-sizing: border-box; margin: 0; }
.card-panel {
  height: 2in;
  padding: 0.08in 0.1in;
  overflow: hidden;
}
.card-panel + .card-panel { border-top: 0.75pt dashed #000; }

.card-head {
  font-size: 9pt;
  font-weight: 700;
  line-height: 1.15;
  color: #1a3a2a;
  margin-top: 0.04in;
}
.card-head:first-child { margin-top: 0; }
.card-title { font-size: 10.5pt; }

.card-line { margin-top: 0.025in; }
.card-strong { font-weight: 700; }
.card-big { font-size: 9pt; }
.card-quote { padding-left: 0.12in; }
.card-note { font-style: italic; margin-top: 0.05in; }
.card-firm { font-weight: 700; }
.card-cite { white-space: nowrap; }
.card-rule-above { border-top: 0.5pt solid #000; padding-top: 0.03in; margin-top: 0.05in; }

.card-number { display: flex; justify-content: space-between; gap: 0.08in; margin-top: 0.015in; }
.card-phone { font-weight: 700; white-space: nowrap; }

/* Check boxes: an empty square before each label. */
.card-boxes { margin-top: 0.03in; }
.card-box { display: inline-block; margin-right: 0.07in; white-space: nowrap; }
.card-box::before {
  content: "";
  display: inline-block;
  width: 6pt;
  height: 6pt;
  border: 0.75pt solid #000;
  margin-right: 2pt;
  vertical-align: -0.5pt;
}

/* Pen lines: a label followed by a rule to write on. Two may share a row. */
.card-pens { display: flex; align-items: flex-end; gap: 0.1in; height: 0.21in; }
.card-pen { display: flex; flex: 1; align-items: flex-end; white-space: nowrap; }
.card-pen::after { content: ""; flex: 1; border-bottom: 0.75pt solid #000; margin-left: 0.04in; min-width: 0.3in; }
.card-pen-short { flex: 0 0 1.3in; }
.card-pens .card-box { margin-right: 0; } /* the row's gap already spaces them */

/* Per-panel fallbacks: body is 8 pt wherever it fits; these panels overflow at 8 pt (measured in headless Chrome). */
.card-ro #panel-3 { font-size: 7pt; } /* officer side, Decision 10 step 1 */
.card-ro-okaloosa .card-number { font-size: 7.5pt; } /* two long Sheriff labels wrap at 8 pt */

/* The print sheet: strip on a US Letter page, the 1-inch check line beside it. */
.card-sheet { margin: 0; background: #fff; }
.card-sheet .card-strip { position: absolute; left: 1in; top: 1.5in; }
.sheet-check {
  position: absolute;
  left: 5in;
  top: 1.5in;
  width: 2.5in;
  color: #000;
  font-family: "CardInter", Arial, sans-serif;
  font-size: 9pt;
  line-height: 1.3;
}
.sheet-check p { margin: 0.06in 0 0; }
.sheet-inch {
  box-sizing: border-box;
  width: 1in;
  height: 0.12in;
  border: 0.75pt solid #000;
  border-top: 0;
}
