/* sundayvisit.com.au/guides/large-print-weekly-planner/ and /guides/large-print-address-book/ (2 Dec 2026, SVWD-39).
   Each page shows the sheet it prints: the weekly planner's one page, and one blank address book page. Loaded after
   guides.css and puzzles.css (which give the Print buttons and the print rules), on these two pages only.
   On screen nothing is under 18px (staticPageTextSize.test.ts). On paper the weekday names, labels and 'Week starting'
   are 20 point and the heading 26 point; the one line of how-to and the footer line under each sheet are 14 point, as
   on the other printables. Chrome 78: no flex gap, and a plain value before any min(), max() or clamp(). */

.wsp-puzzle.ps-sheet { padding: 0; background: none; box-shadow: none; }
.ps-paper {
  max-width: 49.625rem;
  margin: 0 auto;
  background: #fffdf9;
  color: var(--ink);
  border-radius: 4px;
  padding: 1.5rem 1rem 1.25rem;
  box-shadow: 0 1px 2px rgba(19, 36, 59, .08), 0 30px 60px -36px rgba(19, 36, 59, .5);
  font-family: var(--sans);
  font-size: 1.25rem;
}
.sv-guide .ps-paper h2 { margin: 0 0 .25rem; font: 400 2.5rem/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.sv-guide .ps-paper .ps-how { margin: 0 0 1rem; font-size: 1.25rem; line-height: 1.4; color: var(--ink-soft); }
.ps-start { margin: 0 0 1rem; font-size: 1.25rem; line-height: 1.3; }
.ps-start-line { display: inline-block; width: 14rem; max-width: 60%; height: 1.25rem; border-bottom: 1.5px solid var(--ink); vertical-align: baseline; }
.ps-line { display: block; height: 2.75rem; border-bottom: 1.5px solid var(--ink); }

/* The weekly planner: a row for each day. */
.ps-day { border-top: 2px solid var(--ink); padding: .5rem 0 .25rem; }
.ps-dayname { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.ps-day .ps-line { height: 2.5rem; }
/* A day's last line is the next day's rule, so two rules never sit side by side; Sunday keeps its own. */
.ps-day .ps-line:last-child { border-bottom-width: 0; }
.ps-day:last-child .ps-line:last-child { border-bottom-width: 1.5px; }
@media (min-width: 40rem) {
  .ps-day { display: grid; grid-template-columns: 10rem minmax(0, 1fr); grid-column-gap: 1rem; padding: .75rem 0 .25rem; }
  .ps-dayname { padding-top: .5rem; }
}

/* One blank address book page: three people, each in a box. */
.ps-entry { margin: 0 0 1.25rem; padding: .75rem 1rem .5rem; border: 2px solid var(--ink); border-radius: 6px; }
.ps-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); grid-column-gap: .75rem; align-items: end; }
.ps-label { display: block; font-size: 1.25rem; line-height: 1.3; color: var(--ink-soft); padding-bottom: .25rem; }
.ps-row .ps-line { height: 2.75rem; }
.ps-row-more .ps-label { visibility: hidden; }

@media print {
  .ps-notes-band { display: none !important; }
  .ps-paper { max-width: none; padding: 0; border-radius: 0; background: none; box-shadow: none; font-size: 20pt; }
  .sv-guide .ps-paper h2 { font-size: 26pt; margin: 0 0 2mm; }
  .sv-guide .ps-paper .ps-how { font-size: 14pt; margin: 0 0 4mm; color: #333; }
  .ps-start { font-size: 20pt; margin: 0 0 4mm; }
  .ps-start-line { width: 80mm; height: 6mm; border-bottom: 1pt solid #444; }
  .ps-day { display: grid; grid-template-columns: 52mm minmax(0, 1fr); border-top: 1.5pt solid #000; padding: 2mm 0 0; height: 32mm; box-sizing: border-box; break-inside: avoid; }
  .ps-dayname { font-size: 20pt; padding-top: 1mm; }
  .ps-day .ps-line { height: 11mm; border-bottom: 1pt solid #444; }
  .ps-day .ps-line:last-child { border-bottom-width: 0; }
  .ps-day:last-child .ps-line:last-child { border-bottom-width: 1pt; }
  .ps-entry { margin: 0 0 6mm; padding: 3mm 5mm 1mm; border: 1.5pt solid #000; break-inside: avoid; }
  .ps-row { grid-template-columns: 30mm minmax(0, 1fr); }
  .ps-label { font-size: 20pt; color: #333; padding-bottom: 1mm; }
  .ps-row .ps-line { height: 10mm; border-bottom: 1pt solid #444; }
}

/* 200% text on a phone (SVWD-29): the label column gives way before the line does. */
@media (max-width: 30rem) {
  .ps-paper { padding-left: .75rem; padding-right: .75rem; }
  .sv-guide .ps-paper h2 { font-size: 1.75rem; }
  .ps-dayname { font-size: 1.125rem; }
  .ps-row { grid-template-columns: minmax(0, 1fr); }
  .ps-row .ps-label { padding-bottom: 0; }
  .ps-row-more .ps-label { display: none; }
}
