/* Everything that ends up on paper.
 *
 * Its own file because a sheet is now printed as its own document rather than
 * revealed inside the page. Both that document and the sample shown on screen
 * load this, so the preview cannot drift away from what comes out.
 */

@page { size: letter; margin: .5in .75in; }

body.printdoc { margin: 0; padding: 0; background: #fff;
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif; color: #22303d; }

.sheet { display: grid; gap: 0; }
/* ---- cards, at business-card size ----
   3.5in x 2in, ten to a Letter sheet, which is the standard 2-across-5-down
   layout. Lines up with off-the-shelf business-card stock and drops straight
   into a laminating pouch. */
.idcard, .ptcard {
  width: 3.5in; height: 2in; box-sizing: border-box;
  border: .5pt dashed #b9c4d0; padding: .16in .25in;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
  break-inside: avoid;
}
.idcard .logo, .ptcard .logo { height: 12pt; width: auto; margin-bottom: 2pt; }
/* the yeshiva mark is a wide rectangle, not the round site logo */
.idcard .logo--card, .ptcard .logo--card { height: 26pt; margin-bottom: 3pt; }
.idcard .photo { width: 34pt; height: 34pt; border-radius: 50%; object-fit: cover;
  border: .5pt solid #cfd8e3; background: #eef3f8; margin-bottom: 3pt; }
.idcard .photo--none { display: flex; align-items: center; justify-content: center;
  font-size: 5.5pt; letter-spacing: .04em; color: #9fb0c2; }
.idcard .nm { font-size: 12.5pt; font-weight: 800; color: #003877; margin: 0;
  line-height: 1.1; }
.idcard .cl { font-size: 7.5pt; color: #5c6b7a; margin: 1pt 0 3pt; }
.idcard .cd { font-size: 7pt; letter-spacing: .12em; color: #5c6b7a; margin: 2pt 0 0; }
.ptcard .v { font-size: 30pt; font-weight: 800; color: #003877; margin: 0; line-height: 1; }
.ptcard .w { font-size: 7.5pt; letter-spacing: .1em; color: #5c6b7a; margin: 0 0 3pt; }
.ptcard .sn { font-size: 7.5pt; letter-spacing: .14em; font-weight: 700; color: #003877;
  margin: 2pt 0 0; }
.ptcard .once { font-size: 5.5pt; letter-spacing: .12em; color: #9aa8b6; margin: 1pt 0 0; }
.idcard svg, .ptcard svg { display: block; }

.sheet__head { text-align: center; margin: 0 0 .18in; }
.sheet__head h2 { margin: 0; font-size: 14pt; color: #003877; }
.sheet__head p { margin: 2pt 0 0; font-size: 8.5pt; color: #5c6b7a; }

/* ---- the sheet that goes home ---- */
.home-sheet { break-after: page; padding-bottom: .3in; }
.home-sheet:last-child { break-after: auto; }
.hs-head { display: flex; align-items: center; gap: 8pt; border-bottom: 1.5pt solid #B8860B;
  padding-bottom: 5pt; margin-bottom: 8pt; }
.hs-head img { height: 20pt; width: auto; }
.hs-head h2 { margin: 0; font-size: 15pt; color: #003877; }
.hs-head p { margin: 1pt 0 0; font-size: 8.5pt; color: #5c6b7a; }
.hs-tot { display: flex; gap: 16pt; margin-bottom: 8pt; }
.hs-tot div { text-align: center; }
.hs-tot b { display: block; font-size: 20pt; color: #003877; line-height: 1; }
.hs-tot span { font-size: 7.5pt; letter-spacing: .06em; text-transform: uppercase; color: #7b8b9c; }
.hs-list div { border-top: .5pt solid #e6ecf3; padding: 2.5pt 0; font-size: 9.5pt;
  display: flex; gap: 6pt; }
.hs-list b { min-width: 24pt; }
.hs-list .d { margin-left: auto; color: #8b98a6; font-size: 8pt; }
.hs-note { margin-top: 8pt; font-size: 8.5pt; color: #5c6b7a; line-height: 1.5; }

/* printed list for a staff meeting */
.miss-sheet h2 { margin: 0 0 2pt; font-size: 15pt; color: #003877; }
.miss-sheet .sub { margin: 0 0 10pt; font-size: 9pt; color: #5c6b7a; }
.miss-sheet table { width: 100%; border-collapse: collapse; font-size: 10pt; }
.miss-sheet th { text-align: left; font-size: 7.5pt; letter-spacing: .06em;
  text-transform: uppercase; color: #7b8b9c; padding: 3pt 4pt; border-bottom: .8pt solid #B8860B; }
.miss-sheet td { padding: 4pt; border-bottom: .5pt solid #e6ecf3; }
.miss-sheet .tick { width: 26pt; }
.miss-sheet .tick span { display: inline-block; width: 11pt; height: 11pt;
  border: .8pt solid #9fb0c2; border-radius: 2pt; }
