/* Baby Rabby printable checklists (post data "print"): one A4 sheet, always the day look; the same page is printed into public/pdf */
:root{
  --bg:#F6F3EE;--paper:#FFFFFF;--ink:#47425C;--ink2:#76718A;--mute:#8B8599;--line:#E7E1D8;
  --iris:#8B80DC;--iris-d:#7468C8;--lilac:#E4DEF6;--lilac-l:#F4F1FA;--butter:#F8EDC8;--butter-l:#FBF5E4;
  --peach:#F5D6C4;--peach-l:#F9F0EA;--pista:#DCE8CF;--pista-l:#F0F4EA;--fill:#47425C;
  --fh:'Unbounded',system-ui,sans-serif;--fb:'Onest',system-ui,-apple-system,sans-serif;
}
@page{size:A4;margin:0}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;-webkit-print-color-adjust:exact;print-color-adjust:exact}
body{margin:0;background:var(--bg);color:var(--ink);font:400 10.5pt/1.4 var(--fb);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
h1,h2{font-family:var(--fh);font-weight:400;margin:0;letter-spacing:-.02em}
svg{display:block}

/* screen: a bar above the sheet */
.pz-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px max(16px,calc(50% - 105mm));background:rgb(246 243 238 / .92);backdrop-filter:blur(10px)}
.pz-back{font-weight:600;font-size:14px;color:var(--ink2)}
.pz-back:before{content:"\2190";margin-right:8px}
.pz-act{display:flex;gap:8px;flex-wrap:wrap}
.pz-btn{display:inline-flex;align-items:center;height:44px;padding:0 22px;border:0;border-radius:99px;background:var(--fill);color:#fff;font:600 14px var(--fb);cursor:pointer}
.pz-btn:hover{background:var(--iris)}
.pz-btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px rgb(58 52 80 / .22)}
.pz-btn.ghost:hover{background:var(--fill);color:#fff;box-shadow:none}
:focus-visible{outline:2.5px solid var(--iris);outline-offset:3px;border-radius:10px}

.sheet{width:210mm;height:297mm;margin:8px auto 40px;padding:11mm 12mm 9mm;background:var(--paper);box-shadow:0 30px 60px -30px rgb(53 48 74 / .35);display:flex;flex-direction:column}
.pz-h{display:flex;align-items:center;justify-content:space-between;padding-bottom:3.6mm;border-bottom:1.2px dashed var(--iris)}
.pz-logo{color:var(--iris-d)}
.pz-logo svg{height:7.5mm;width:auto}
.pz-k{font:600 7.5pt/1 var(--fb);letter-spacing:.14em;text-transform:uppercase;color:var(--iris-d)}
.pz-t{display:grid;grid-template-columns:1fr 27mm;gap:8mm;align-items:center;margin:4.5mm 0 3.5mm}
.pz-t h1{font-size:23pt;line-height:1.02;letter-spacing:-.035em;color:var(--ink)}
.pz-sub{margin:2mm 0 0;font-size:12pt;color:var(--iris-d);font-weight:500}
.pz-note{margin:2.2mm 0 0;font-size:9.6pt;color:var(--ink2);max-width:120mm}
.pz-art{width:27mm;height:27mm;border-radius:6mm;background:var(--tb,var(--lilac-l));overflow:hidden}
.pz-art svg{width:100%;height:100%}
.pz-art img{width:100%;height:100%;object-fit:cover;display:block}
.pz-f{display:grid;grid-template-columns:repeat(3,1fr);gap:6mm;margin:0 0 4mm}
.pz-fi{margin:0;font:600 7.5pt/1 var(--fb);letter-spacing:.1em;text-transform:uppercase;color:var(--mute)}
.pz-fi:after{content:"";display:block;margin-top:4.2mm;border-bottom:1px solid var(--line)}
.pz-cols{columns:2;column-gap:7mm;font-size:calc(9.5pt * var(--k,1))}
.pz-s{break-inside:avoid;margin:0 0 1.02em;padding:.84em 1.14em .54em;border-radius:1.35em;background:var(--tl)}
.pz-s h2{display:inline-block;font-size:1.05em;line-height:1.1;padding:.48em .96em;border-radius:.9em;background:var(--t);margin:0 0 .48em}
.pz-s ul{list-style:none;margin:0;padding:0}
.pz-s li{display:flex;gap:.78em;align-items:flex-start;padding:.25em 0;line-height:1.3}
.pz-s li+li{border-top:.6px dashed rgb(71 66 92 / .14)}
.bx{flex:none;width:1.17em;height:1.17em;margin-top:.1em;border:1.3px solid var(--iris);border-radius:.33em;background:#fff}
.pz-own{box-shadow:inset 0 0 0 1px var(--line)}
.pz-own .ln{flex:1;border-bottom:1px solid var(--line);height:1.2em}
.pz-ft{display:flex;align-items:center;gap:4mm;margin-top:auto;padding-top:3mm;border-top:1.2px dashed var(--iris);font-size:8.2pt;color:var(--ink2)}
.pz-bun{flex:none;width:7mm;color:var(--iris)}
.pz-bun svg{width:100%;height:auto}
.pz-ftt{flex:1;display:flex;flex-direction:column;gap:1mm}
.pz-ftt p{margin:0}
.pz-u:after{content:" " attr(data-u);color:var(--ink);font-weight:600}
.pz-d{flex:none;color:var(--mute);white-space:nowrap}

/* phones: the sheet is scaled to the screen by the script at the end of the page (zoom), the bar stays usable */
@media print{
  body{background:#fff}
  .pz-bar{display:none}
  .sheet{margin:0;box-shadow:none;width:210mm;height:297mm;min-height:0;overflow:hidden;zoom:1!important}
}
