/* The pages to print (/printables/*) and the QR kit (printables-src/qr-kit.html). One sheet = one US Letter page
   (8.5 x 11 in = 816 x 1056 CSS px). On screen the sheet is shown as a paper inside the page (it scrolls sideways inside
   its own box on a phone, never the page); in print only the sheets are printed, with no margins of the browser.
   The PDFs are made from these pages (tools/printables.mjs), so what prints is what the PDF shows. */
[hidden] { display:none !important; }
.pr-intro { width:100%; max-width:816px; }
.pr-intro h1 { font-size:clamp(2rem, 7vw, 2.8rem); }
.pr-intro .acts { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:16px; }
.pr-intro .acts .btn { margin-top:0; font-size:1.1rem; padding:14px 12px 15px; }
@media (max-width: 420px) { .pr-intro .acts { grid-template-columns:1fr; } }
.pr-paper { width:100%; max-width:860px; overflow-x:auto; padding:4px 6px 14px; -webkit-overflow-scrolling:touch; }
.pr-paper .hint { margin:0 0 8px; color:var(--ink2); font:600 .85rem/1.4 var(--body); }
.pr-signup { width:100%; max-width:816px; }
.pr-list { list-style:none; margin:14px 0 0; padding:0; display:grid; gap:14px; }
.pr-list li { border-top:2px solid var(--plum); padding-top:12px; }
.pr-list h2 { margin:0 0 4px; font:800 1.25rem/1.2 var(--disp); }
.pr-list p { margin:4px 0 8px; }
.pr-list .links a { font-weight:800; margin-right:16px; white-space:nowrap; }

/* ---- the sheet */
.sheet { width:816px; height:1056px; margin:0 auto; background:#fff; color:var(--plum); position:relative; overflow:hidden;
  padding:44px 52px 40px; display:flex; flex-direction:column; box-shadow:0 2px 0 var(--plum), 0 16px 30px rgba(58,38,80,.18); border-radius:4px;
  font:400 15px/1.45 var(--body); }
.sheet + .sheet { margin-top:24px; }
.sheet .top { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:12px; border-bottom:3px solid var(--plum); }
.sheet .brand { display:flex; align-items:center; gap:10px; font:800 26px/1 var(--disp); }
.sheet .brand img { width:44px; height:44px; display:block; }
.sheet .slogan { font:700 14px/1.3 var(--disp); color:var(--ink2); text-align:right; }
.sheet h1 { margin:18px 0 4px; font:800 38px/1.05 var(--disp); letter-spacing:-.01em; }
.sheet .sub { margin:0 0 12px; font:600 15px/1.4 var(--body); color:var(--ink2); }
.sheet .grow { flex:1 1 auto; min-height:0; }
.sheet .foot { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; padding-top:12px; border-top:2px solid var(--plum); }
.sheet .foot p { margin:0; font:600 12.5px/1.45 var(--body); color:var(--ink2); }
.sheet .foot p b { color:var(--plum); }
.sheet .foot .cta { margin-top:6px; color:var(--plum); font:800 15px/1.3 var(--disp); }
.sheet .foot .url { font:800 13px/1.3 var(--body); color:var(--plum); word-break:break-all; }
.sheet .foot img.qr { width:92px; height:92px; display:block; flex:none; }
.sheet .line { display:flex; gap:10px; align-items:flex-end; margin:10px 0 0; font:700 15px/1.3 var(--body); }
.sheet .line span { flex:1; border-bottom:1.5px solid var(--plum); height:20px; }
.sheet .line.short span { flex:none; width:150px; }
.sheet .tip { margin:10px 0 0; background:var(--butter); border-radius:10px; padding:8px 12px; font:600 13.5px/1.4 var(--body); }

/* the tracker */
.sheet table.track { width:100%; border-collapse:collapse; table-layout:fixed; margin-top:8px; }
.sheet table.track th { font:800 12.5px/1.15 var(--body); text-align:center; padding:6px 3px; border:1.5px solid var(--plum); background:#FFF6D6; }
.sheet table.track td { height:34px; border:1.5px solid var(--plum); }
.sheet table.track col.t { width:78px; } .sheet table.track col.c { width:70px; } .sheet table.track col.n { width:auto; }

/* the sample day */
.sheet .loop { display:flex; flex-wrap:wrap; align-items:center; gap:6px 4px; margin:6px 0 14px; }
.sheet .loop b { background:var(--butter); border:2px solid var(--plum); border-radius:12px; padding:8px 10px; font:800 16px/1.15 var(--disp); text-align:center; }
.sheet .loop b small { display:block; font:700 12px/1.2 var(--body); }
.sheet .loop i { font:800 20px/1 var(--disp); font-style:normal; color:var(--coral-d); }
.sheet table.day { width:100%; border-collapse:collapse; }
.sheet table.day td { padding:9px 10px; border-bottom:1.5px solid var(--plum); font:600 16px/1.35 var(--body); vertical-align:top; }
.sheet table.day td:first-child { width:220px; font:800 16px/1.35 var(--disp); }
.sheet table.day tr.shark td { background:#FFE3DF; }

/* the checklist */
.sheet h2 { margin:14px 0 6px; font:800 21px/1.2 var(--disp); }
.sheet ul.boxes { list-style:none; margin:0; padding:0; display:grid; gap:7px; }
.sheet ul.boxes li { display:grid; grid-template-columns:22px 1fr; gap:10px; align-items:start; font:600 15.5px/1.38 var(--body); }
.sheet ul.boxes li::before { content:""; width:18px; height:18px; margin-top:2px; border:2px solid var(--plum); border-radius:4px; background:#fff; }

/* The QR kit: the flyer, the cards to cut out, the partner's page */
.sheet.flyer { align-items:center; text-align:center; padding-top:56px; }
.sheet.flyer .top { width:100%; }
.sheet.flyer h1 { font-size:50px; margin-top:42px; max-width:12em; text-wrap:balance; }
.sheet.flyer .sub { font-size:19px; max-width:30em; margin-top:10px; }
.sheet.flyer .big-qr { margin:22px 0 8px; padding:18px; border:3px solid var(--plum); border-radius:18px; box-shadow:6px 6px 0 var(--plum); background:#fff; }
.sheet.flyer .big-qr img { width:300px; height:300px; display:block; }
.sheet.flyer .scan { margin:12px 0 0; font:800 22px/1.2 var(--disp); }
.sheet.flyer .url { margin:6px 0 0; font:800 17px/1.3 var(--body); word-break:break-all; }
.sheet.flyer .what { margin:18px 0 0; padding:0; list-style:none; display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.sheet.flyer .what li { background:var(--butter); border-radius:999px; padding:6px 14px; font:700 14px/1.2 var(--body); }
.sheet.flyer .foot { width:100%; text-align:left; margin-top:auto; }
.sheet.cards { padding:36px 40px; }
.sheet.cards .grid { display:grid; grid-template-columns:repeat(2, 336px); grid-auto-rows:192px; justify-content:center; margin-top:14px; }
.sheet.cards .c { border:1.5px dashed #9a8fab; padding:12px 14px 10px 16px; display:grid; grid-template-columns:1fr 96px; grid-template-rows:1fr auto; gap:4px 10px; align-items:center; }
.sheet.cards .c .b { display:flex; align-items:center; gap:6px; font:800 15px/1 var(--disp); }
.sheet.cards .c .b img { width:24px; height:24px; }
.sheet.cards .c p { margin:6px 0 0; font:800 16px/1.2 var(--disp); }
.sheet.cards .c small { grid-column:1 / -1; display:block; font:700 10.5px/1.2 var(--body); color:var(--ink2); white-space:nowrap; }
.sheet.cards .c img.qr { width:96px; height:96px; display:block; }
.sheet.cards .cutnote { margin:8px 0 0; text-align:center; font:600 12px/1.3 var(--body); color:var(--ink2); }
.sheet.partner h2 { font-size:19px; margin-top:16px; }
.sheet.partner p, .sheet.partner li { font:600 14.5px/1.45 var(--body); }
.sheet.partner p { margin:4px 0; }
.sheet.partner ol, .sheet.partner ul { margin:4px 0; padding-left:22px; }
.sheet.partner li { margin:3px 0; }

@media print {
  @page { size:letter; margin:0; }
  html, body { background:#fff !important; }
  body { min-height:0; }
  .bg, header, footer, .noprint, .pr-intro, .pr-signup, .pr-paper .hint { display:none !important; }
  main, main.simple { display:block; padding:0; margin:0; max-width:none; }
  .pr-paper { overflow:visible; padding:0; max-width:none; }
  .sheet { margin:0; box-shadow:none; border-radius:0; break-after:page; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .sheet:last-child { break-after:auto; }
  .sheet + .sheet { margin-top:0; }
}
.pr-signup h2 { margin:0 0 6px; font:800 1.4rem/1.2 var(--disp); }
/* On a screen narrower than the paper, the whole sheet is shown smaller (never in print: zoom is for the screen only). */
@media screen and (max-width: 899px) { .pr-paper .sheet { zoom:.86; } }
@media screen and (max-width: 599px) { .pr-paper .sheet { zoom:.4; } .pr-paper { overflow-x:visible; display:flex; flex-direction:column; align-items:center; } }
@media screen and (max-width: 374px) { .pr-paper .sheet { zoom:.36; } }
