/* Her book: an illustrated prayer book, half-letter pages (5.5 x 8.5 in). The same page is what she turns on her phone
   and what she prints (one page per Letter sheet, enlarged: the body comes out at about 21 pt). Large-print rules: body
   18 pt or more on paper, no italics or capitals in running text, dark text on plain light paper, never text on a
   picture except in a solid band, left aligned, generous leading. «Nq» = N% of the page width (build.mjs). */
.pz.bk { aspect-ratio: 11 / 17; background: #fbf6ea; color: #2b211c; font-family: Lora, Georgia, serif; }
.pz.bk .bpl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.pz.bk .in { position: absolute; left: calc(var(--cq, 1cqw) * 12.5); right: calc(var(--cq, 1cqw) * 12.5); top: calc(var(--cq, 1cqw) * 12); bottom: calc(var(--cq, 1cqw) * 11); display: flex; flex-direction: column; }
.pz.bk .in.mid { justify-content: center; }
.pz.bk p.kk { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 2.9); line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: #8a6420; text-align: center; margin-bottom: calc(var(--cq, 1cqw) * 1.6); }
.pz.bk p.h { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 6.2); line-height: 1.15; color: #6e1b14; text-align: center; margin-bottom: calc(var(--cq, 1cqw) * 0.6); text-wrap: balance; }
.pz.bk img.orn { display: block; width: calc(var(--cq, 1cqw) * 44); height: calc(var(--cq, 1cqw) * 4.4); margin: calc(var(--cq, 1cqw) * 1.6) auto calc(var(--cq, 1cqw) * 2.8); }
.pz.bk p.t { font-size: calc(var(--cq, 1cqw) * 4.5); line-height: 1.5; font-weight: 500; margin-bottom: calc(var(--cq, 1cqw) * 2.6); }
.pz.bk p.t:last-child { margin-bottom: 0; }
.pz.bk p.fr { margin-top: calc(var(--cq, 1cqw) * 2.4); padding-top: calc(var(--cq, 1cqw) * 2.8); border-top: calc(var(--cq, 1cqw) * 0.35) solid #c9a24e; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 6.1); line-height: 1.22; color: #6e1b14; text-align: center; text-wrap: balance; }
.pz.bk p.fr.q { margin-top: calc(var(--cq, 1cqw) * 0.4); padding-top: 0; border-top: 0; }
.pz.bk .ft { position: absolute; left: 0; right: 0; bottom: calc(var(--cq, 1cqw) * 5.6); text-align: center; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 2.2); letter-spacing: .16em; color: #a88a52; }
.pz.bk .x-nom, .pz.bk .x-fam { font-weight: 700; }

/* the cover: her painted book, on its leather */
.pz.bk.cover { background: #3a0f0b; }
.pz.bk.cover .cv { position: absolute; left: 0; right: 0; top: calc(var(--cq, 1cqw) * 2.27); }

/* the chosen house */
.pz.bk img.med { display: block; width: calc(var(--cq, 1cqw) * 30); height: calc(var(--cq, 1cqw) * 30); margin: 0 auto calc(var(--cq, 1cqw) * 3.4); border-radius: 50%; border: calc(var(--cq, 1cqw) * 0.8) solid #c9a24e; object-fit: cover; object-position: 50% 14%; }
.pz.bk p.l1 { font-size: calc(var(--cq, 1cqw) * 4.6); text-align: center; color: #4a3a30; }
.pz.bk p.fam { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; color: #6e1b14; text-align: center; line-height: 1.1; margin: calc(var(--cq, 1cqw) * 0.6) 0 calc(var(--cq, 1cqw) * 0.8); }
.pz.bk p.l2 { font-size: calc(var(--cq, 1cqw) * 4.2); text-align: center; color: #4a3a30; }
.pz.bk p.vk { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 3); letter-spacing: .14em; text-transform: uppercase; color: #8a6420; text-align: center; margin-bottom: calc(var(--cq, 1cqw) * 1.6); }
.pz.bk p.vn { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; color: #2b211c; text-align: center; line-height: 1.25; }
.pz.bk p.por { margin-top: auto; text-align: center; font-size: calc(var(--cq, 1cqw) * 3.8); color: #5a4a40; }

/* how to use it */
.pz.bk .st { display: grid; grid-template-columns: calc(var(--cq, 1cqw) * 11) 1fr; column-gap: calc(var(--cq, 1cqw) * 4); align-items: center; margin-bottom: calc(var(--cq, 1cqw) * 5); }
.pz.bk .st b { display: block; width: calc(var(--cq, 1cqw) * 11); height: calc(var(--cq, 1cqw) * 11); border-radius: 50%; background: #6e1b14; color: #fff7e6; text-align: center; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 6); line-height: calc(var(--cq, 1cqw) * 11); }
.pz.bk .st p { font-size: calc(var(--cq, 1cqw) * 4.5); line-height: 1.42; font-weight: 500; }
.pz.bk .nota { margin-top: auto; padding: calc(var(--cq, 1cqw) * 4) calc(var(--cq, 1cqw) * 4.5); border-radius: calc(var(--cq, 1cqw) * 2.4); background: #f3e7cf; font-size: calc(var(--cq, 1cqw) * 4.3); line-height: 1.42; font-weight: 600; color: #6e1b14; text-align: center; }

/* a painting, the whole page, its title on a solid band */
.pz.bk.art { background: #1c0905; }
.pz.bk img.full { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pz.bk .band { position: absolute; left: 0; right: 0; bottom: 0; padding: calc(var(--cq, 1cqw) * 5.4) calc(var(--cq, 1cqw) * 9) calc(var(--cq, 1cqw) * 8.6); background: rgba(28, 9, 5, .9); border-top: calc(var(--cq, 1cqw) * 0.6) solid #c9a24e; text-align: center; }
.pz.bk .band p.kk { color: #e2bd62; }
.pz.bk .band p.h { color: #fff3dc; font-size: calc(var(--cq, 1cqw) * 6.8); }
.pz.bk .band p.sb { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600; font-size: calc(var(--cq, 1cqw) * 5); line-height: 1.25; color: #ecdcc0; margin-top: calc(var(--cq, 1cqw) * 1.2); }
.pz.bk .band p.bl { font-size: calc(var(--cq, 1cqw) * 4.3); line-height: 1.45; font-weight: 500; color: #fff3dc; margin-top: calc(var(--cq, 1cqw) * 2); }

/* a day opens: its painting on top, the day big on the wine below, the nine days as dots */
.pz.bk.dop { background: #2a0f0b; }
.pz.bk.dop img.top { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--cq, 1cqw) * 72); object-fit: cover; }
.pz.bk.dop .gl { position: absolute; left: 0; right: 0; top: calc(var(--cq, 1cqw) * 72); height: calc(var(--cq, 1cqw) * 0.7); background: #c9a24e; }
.pz.bk.dop .db { position: absolute; left: calc(var(--cq, 1cqw) * 8); right: calc(var(--cq, 1cqw) * 8); top: calc(var(--cq, 1cqw) * 78); bottom: calc(var(--cq, 1cqw) * 8); display: flex; flex-direction: column; align-items: center; text-align: center; }
.pz.bk.dop p.dn { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 3.4); letter-spacing: .3em; color: #e2bd62; }
.pz.bk.dop p.num { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 21); line-height: 1; color: #e2bd62; margin: calc(var(--cq, 1cqw) * 0.6) 0 calc(var(--cq, 1cqw) * 1.4); }
.pz.bk.dop p.h { color: #fff3dc; font-size: calc(var(--cq, 1cqw) * 6.6); }
.pz.bk.dop p.sb { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600; font-size: calc(var(--cq, 1cqw) * 5.2); line-height: 1.25; color: #ecdcc0; margin-top: calc(var(--cq, 1cqw) * 1); }
.pz.bk.dop .dots { margin-top: auto; display: flex; gap: calc(var(--cq, 1cqw) * 2.2); }
.pz.bk.dop .dots i { display: block; width: calc(var(--cq, 1cqw) * 3); height: calc(var(--cq, 1cqw) * 3); border-radius: 50%; border: calc(var(--cq, 1cqw) * 0.4) solid #c9a24e; }
.pz.bk.dop .dots i.on { background: #e2bd62; }

/* a day's prayer: what she repeats, big, in its box; who she prays for; the day to tick */
.pz.bk .or { padding: calc(var(--cq, 1cqw) * 3.6) calc(var(--cq, 1cqw) * 3.8) calc(var(--cq, 1cqw) * 3); border-radius: calc(var(--cq, 1cqw) * 2.4); background: #fffaf0; border: calc(var(--cq, 1cqw) * 0.4) solid #c9a24e; }
.pz.bk .or p { font-size: calc(var(--cq, 1cqw) * 4.45); line-height: 1.32; font-weight: 500; margin-bottom: calc(var(--cq, 1cqw) * 0.9); padding-left: calc(var(--cq, 1cqw) * 3); text-indent: calc(var(--cq, 1cqw) * -3); }
.pz.bk .or p.a1 { font-weight: 700; color: #6e1b14; }
.pz.bk .or p.am { font-weight: 700; color: #6e1b14; margin-bottom: 0; }
.pz.bk p.af { font-size: calc(var(--cq, 1cqw) * 4.1); line-height: 1.4; color: #5a4a40; text-align: center; margin-top: calc(var(--cq, 1cqw) * 2.4); }
.pz.bk p.ci { text-wrap: balance; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 5.6); line-height: 1.2; color: #6e1b14; text-align: center; margin-top: calc(var(--cq, 1cqw) * 1.8); }
.pz.bk .fl { margin-top: auto; display: flex; align-items: flex-end; gap: calc(var(--cq, 1cqw) * 2.4); }
.pz.bk .fl p { font-size: calc(var(--cq, 1cqw) * 4.3); font-weight: 600; white-space: nowrap; }
.pz.bk .fl i { display: block; flex: 1; height: calc(var(--cq, 1cqw) * 6); border-bottom: calc(var(--cq, 1cqw) * 0.35) solid #8a7a6a; }
.pz.bk p.casa { text-align: center; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; color: #2b211c; line-height: 1.2; }
.pz.bk .bck { display: flex; align-items: center; gap: calc(var(--cq, 1cqw) * 2.6); margin-top: calc(var(--cq, 1cqw) * 2); }
.pz.bk .bck i { display: block; width: calc(var(--cq, 1cqw) * 6); height: calc(var(--cq, 1cqw) * 6); border-radius: calc(var(--cq, 1cqw) * 1); border: calc(var(--cq, 1cqw) * 0.45) solid #6e1b14; }
.pz.bk .bck p { font-size: calc(var(--cq, 1cqw) * 4.1); font-weight: 500; }
.pz.bk .bck u { display: inline-block; width: calc(var(--cq, 1cqw) * 9); height: calc(var(--cq, 1cqw) * 3.6); border-bottom: calc(var(--cq, 1cqw) * 0.3) solid #8a7a6a; text-decoration: none; }
.pz.bk .bck u.w { width: calc(var(--cq, 1cqw) * 21); }

.pz.bk p.t.ti { font-size: calc(var(--cq, 1cqw) * 4.2); line-height: 1.42; text-align: center; margin: calc(var(--cq, 1cqw) * 1.4) 0 calc(var(--cq, 1cqw) * 2.6); }
.pz.bk p.t.tc { margin: auto 0 calc(var(--cq, 1cqw) * 1); text-align: center; font-weight: 600; }

/* the novena in full */
.pz.bk p.np { font-size: calc(var(--cq, 1cqw) * 4.3); line-height: 1.42; font-weight: 500; margin-bottom: calc(var(--cq, 1cqw) * 1.7); }
.pz.bk p.np.r { font-weight: 700; color: #6e1b14; }
.pz.bk p.np.s { color: #5a4a40; }

/* the list of the nine days */
.pz.bk .li { display: grid; grid-template-columns: calc(var(--cq, 1cqw) * 6.6) 1fr calc(var(--cq, 1cqw) * 5.2); column-gap: calc(var(--cq, 1cqw) * 2.6); align-items: center; padding: calc(var(--cq, 1cqw) * 1.25) 0; border-bottom: calc(var(--cq, 1cqw) * 0.25) solid #e3d3b3; }
.pz.bk .li b { display: block; width: calc(var(--cq, 1cqw) * 6.6); height: calc(var(--cq, 1cqw) * 6.6); border-radius: 50%; border: calc(var(--cq, 1cqw) * 0.45) solid #c9a24e; color: #6e1b14; text-align: center; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 3.6); line-height: calc(var(--cq, 1cqw) * 5.7); }
.pz.bk .li p { font-size: calc(var(--cq, 1cqw) * 4); line-height: 1.22; font-weight: 600; }
.pz.bk .li p small { display: block; font-size: calc(var(--cq, 1cqw) * 3.15); font-weight: 500; color: #6b5d52; margin-top: calc(var(--cq, 1cqw) * 0.4); }
.pz.bk .li i { display: block; width: calc(var(--cq, 1cqw) * 5.2); height: calc(var(--cq, 1cqw) * 5.2); border-radius: calc(var(--cq, 1cqw) * 1); border: calc(var(--cq, 1cqw) * 0.4) solid #6e1b14; }

/* a message for one person */
.pz.bk p.para { font-size: calc(var(--cq, 1cqw) * 4.2); text-align: center; color: #5a4a40; }
.pz.bk p.nm { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; color: #6e1b14; text-align: center; line-height: 1.1; }
.pz.bk p.sg { margin-top: auto; text-align: right; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 5.6); color: #6e1b14; }

/* the days of grace: twelve calendar leaves, three across, each with its box to tick */
.pz.bk .bgr { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--cq, 1cqw) * 1.4) calc(var(--cq, 1cqw) * 2.2); margin-top: calc(var(--cq, 1cqw) * 0.6); }
.pz.bk .bgi { padding: calc(var(--cq, 1cqw) * 1.2) calc(var(--cq, 1cqw) * 0.6) calc(var(--cq, 1cqw) * 1.1); border: calc(var(--cq, 1cqw) * 0.3) solid #dcc48e; border-radius: calc(var(--cq, 1cqw) * 1.8); background: #fffaf0; text-align: center; }
.pz.bk .bgi p.m { font-size: calc(var(--cq, 1cqw) * 3.4); line-height: 1.15; font-weight: 700; color: #6e1b14; }
.pz.bk .bgi p.n { font-family: Lora, Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 6.4); line-height: 1; color: #b07f2a; margin: calc(var(--cq, 1cqw) * 0.3) 0 calc(var(--cq, 1cqw) * 0.5); }
.pz.bk .bgi .w { display: flex; align-items: center; justify-content: center; gap: calc(var(--cq, 1cqw) * 1.2); }
.pz.bk .bgi .w p { font-size: calc(var(--cq, 1cqw) * 3); line-height: 1.2; color: #5a4a40; }
.pz.bk .bgi .w i { display: block; flex: none; width: calc(var(--cq, 1cqw) * 3.6); height: calc(var(--cq, 1cqw) * 3.6); border-radius: calc(var(--cq, 1cqw) * 0.6); border: calc(var(--cq, 1cqw) * 0.35) solid #6e1b14; font-style: normal; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 3); line-height: calc(var(--cq, 1cqw) * 2.9); text-align: center; color: #fff; }
.pz.bk .bgi.on { background: #f4e3bb; border-color: #c9a24e; }
.pz.bk .bgi.on .w i { background: #6e1b14; }
.pz.bk p.ex { font-size: calc(var(--cq, 1cqw) * 3.8); line-height: 1.4; text-align: center; color: #5a4a40; margin-top: calc(var(--cq, 1cqw) * 2); }

/* the back */
.pz.bk.back { background: #3a0f0b; }
.pz.bk.back img.bcz { position: absolute; left: calc(var(--cq, 1cqw) * 44); top: calc(var(--cq, 1cqw) * 58); width: calc(var(--cq, 1cqw) * 12); height: calc(var(--cq, 1cqw) * 16); }
.pz.bk.back p.bf { position: absolute; left: calc(var(--cq, 1cqw) * 10); right: calc(var(--cq, 1cqw) * 10); top: calc(var(--cq, 1cqw) * 80); text-align: center; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 3.6); letter-spacing: .14em; color: #e2bd62; line-height: 1.6; }

/* what she fills in, on the phone or by hand: the names she prays for, the day she prayed, her signature, in a hand-written
   look; the hints («toca…») show only on the phone (.dg), never in the PDF */
.pz.bk [data-act] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pz.bk .fl p.hw { flex: 1; min-width: 0; white-space: nowrap; border-bottom: calc(var(--cq, 1cqw) * 0.35) solid #8a7a6a; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; color: #6e1b14; line-height: 1.15; padding-left: calc(var(--cq, 1cqw) * 1); }
.pz.bk .fl i { position: relative; }
.pz.bk .dg { position: absolute; left: calc(var(--cq, 1cqw) * 1); bottom: calc(var(--cq, 1cqw) * 0.9); font-family: Lora, Georgia, serif; font-style: normal; font-weight: 600; font-size: calc(var(--cq, 1cqw) * 3.2); color: #a8875a; white-space: nowrap; }
.pz.bk .bck i { flex: none; font-style: normal; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 4.6); line-height: calc(var(--cq, 1cqw) * 5.2); text-align: center; color: #fff; }
.pz.bk .bck.on i { background: #6e1b14; }
.pz.bk .bck u { vertical-align: baseline; text-align: center; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 5); line-height: calc(var(--cq, 1cqw) * 3.6); color: #6e1b14; }
.pz.bk .bck .dg { position: static; margin-left: calc(var(--cq, 1cqw) * 1.6); }
.pz.bk .sgw { flex: 1; display: flex; align-items: flex-end; height: calc(var(--cq, 1cqw) * 12); border-bottom: calc(var(--cq, 1cqw) * 0.35) solid #8a7a6a; }
.pz.bk img.sig { display: block; height: calc(var(--cq, 1cqw) * 11); width: auto; max-width: 100%; margin-left: calc(var(--cq, 1cqw) * 2); }
.pz.bk p.fd { text-align: right; font-size: calc(var(--cq, 1cqw) * 3.4); color: #5a4a40; margin-top: calc(var(--cq, 1cqw) * 1); }
.pz.bk .li.on b { background: #6e1b14; border-color: #6e1b14; color: #fff7e6; }
.pz.bk .li i { font-style: normal; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 4); line-height: calc(var(--cq, 1cqw) * 4.4); text-align: center; color: #fff; }
.pz.bk .li.on i { background: #6e1b14; }

/* the Revelation: her door, hole, knot or cup named big in a parchment box with a double gold rule */
.pz.bk .rv { margin: calc(var(--cq, 1cqw) * 1) 0 0; padding: calc(var(--cq, 1cqw) * 4.2) calc(var(--cq, 1cqw) * 4.6) calc(var(--cq, 1cqw) * 4); border: calc(var(--cq, 1cqw) * 0.5) solid #c9a24e; outline: calc(var(--cq, 1cqw) * 0.25) solid #c9a24e; outline-offset: calc(var(--cq, 1cqw) * -1.6); border-radius: calc(var(--cq, 1cqw) * 1.6); background: #f3e7cf; text-align: center; }
.pz.bk p.rn { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 8); line-height: 1.08; color: #6e1b14; text-wrap: balance; margin-bottom: calc(var(--cq, 1cqw) * 2.4); }
.pz.bk p.rt { font-size: calc(var(--cq, 1cqw) * 4.4); line-height: 1.48; font-weight: 500; text-align: left; margin-bottom: calc(var(--cq, 1cqw) * 2.6); }
.pz.bk p.rd { padding-top: calc(var(--cq, 1cqw) * 2.2); border-top: calc(var(--cq, 1cqw) * 0.3) solid #d8bd7e; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 3.1); line-height: 1.4; letter-spacing: .04em; color: #8a6420; }
.pz.bk p.rd b { display: block; margin-top: calc(var(--cq, 1cqw) * 0.6); font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: calc(var(--cq, 1cqw) * 5); line-height: 1.15; letter-spacing: 0; color: #6e1b14; text-wrap: balance; }
