/* Moraph for Good: pass-it-on cards, four to a page (build/pages/passiton.py). Cards are paper: white with dark ink in
   either theme, like the handouts. */
.pc-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-top:1.4rem}
.pc-tools[hidden]{display:none}
.pc-tools label{color:var(--on-night);font-weight:600}
.pc-tools select{font:inherit;font-size:1rem;color:#16201c;background:#fff;border:1px solid var(--field-line);border-radius:10px;padding:.55rem .7rem;min-height:44px;max-width:100%}
.pc-tools select:focus{outline:none;box-shadow:0 0 0 3px rgba(242,163,58,.6)}
.pc-send{margin:1.2rem 0 0;color:var(--on-night-2);font-size:.95rem}
.pc-send a{color:var(--on-night);text-underline-offset:3px;font-weight:600}

.pc-sheet{display:grid;grid-template-columns:1fr;max-width:52rem;margin:0 auto;background:#fff;color:#16201c;border:1px solid var(--line);border-radius:14px;overflow:hidden}
@media (min-width:720px){.pc-sheet{grid-template-columns:1fr 1fr}}
.pc-card{display:flex;flex-direction:column;gap:.35rem;padding:1.2rem 1.3rem;border:0 dashed #16201c;min-width:0;overflow-wrap:break-word}
.pc-card+.pc-card{border-top-width:1.5px}
@media (min-width:720px){
  .pc-card+.pc-card{border-top-width:0}
  .pc-card:nth-child(n+3){border-top-width:1.5px}
  .pc-card:nth-child(odd){border-right-width:1.5px}
}
.pc-card p{margin:0}
.pc-title{font-family:var(--f-display,inherit);font-size:1.45rem;line-height:1.2;font-weight:600;padding-bottom:.45rem;border-bottom:2px solid #16201c;margin-bottom:.3rem!important}
.pc-lead,.pc-sheet-h{font:500 .72rem/1.3 var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:#5a4000}
.pc-line{font-size:1.08rem;line-height:1.45}
.pc-sheet-h{margin-top:.6rem!important}
.pc-addr{font:600 1rem/1.35 var(--f-mono);overflow-wrap:anywhere}
.pc-cc{border-bottom:1.5px solid #16201c;padding:0 .1em}
.pc-codes{font-size:.82rem;line-height:1.5;color:#2c3531}
.pc-codes[hidden]{display:none}
.pc-code{white-space:nowrap}
.pc-mono{font:600 .95em/1 var(--f-mono)}
.pc-foot{margin-top:auto!important;padding-top:.5rem;font-size:.75rem;line-height:1.35;color:#3d4642}
.pc-note{max-width:52rem;margin:1.4rem auto 0;font-size:.92rem;color:var(--muted)}

@media print{
  /* One page on US Letter and A4: the cards only, in a fixed 2 x 2 grid that fits both (Letter is the shorter page,
     A4 the narrower). Cut along the dashed lines. */
  @page{margin:10mm}
  body::before,main:has(.pc-sheet) .page-hero,.pc-note,.pc-tools{display:none!important}
  .pc-section{padding:0!important}
  .pc-sheet{display:grid!important;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;width:100%;max-width:none;height:245mm;border:1.5px dashed #000;border-radius:0;break-inside:avoid;page-break-inside:avoid;font-size:11pt}
  .pc-card{padding:7mm 5mm;border-color:#000}
  .pc-card+.pc-card{border-top-width:0}
  .pc-card:nth-child(n+3){border-top-width:1.5px}
  .pc-card:nth-child(odd){border-right-width:1.5px}
  .pc-title{font-size:19pt;border-bottom-color:#000}
  .pc-line{font-size:14pt;line-height:1.4}
  .pc-lead,.pc-sheet-h{font-size:8pt;color:#000}
  .pc-sheet-h{margin-top:4mm!important}
  .pc-addr{font-size:11pt;overflow-wrap:normal}
  .pc-nb{white-space:nowrap}
  .pc-codes{font-size:9.5pt;color:#000}
  .pc-foot{font-size:8pt;color:#000}
  .pc-card,.pc-card *{color:#000!important}
}
