*{box-sizing:border-box;margin:0;padding:0}
html,body{background:#fff}
body{-webkit-print-color-adjust:exact;print-color-adjust:exact}
.sheet{--ink:#1c1b18;--line:#8d8a82;width:var(--pw);height:var(--ph);padding:38px 42px 26px;display:flex;flex-direction:column;
  color:var(--ink);font:500 calc(12.5px*var(--s))/1.3 "Instrument",system-ui,sans-serif;overflow:hidden;background:#fff}
ul{list-style:none}
i{font-style:normal}
.head{background:var(--tint);border-radius:20px;padding:22px 28px 22px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex:none}
.head h1{font:800 39px/1 "Bricolage",sans-serif;letter-spacing:-.025em;text-wrap:balance}
.head p{margin-top:9px;font-size:13px;line-height:1.35;max-width:52ch;text-wrap:pretty}
.badge{flex:none;text-align:center;line-height:1}
.badge b{display:block;font:800 76px/.82 "Bricolage",sans-serif;letter-spacing:-.04em}
.badge span{display:block;margin-top:8px;font:700 12px/1 "Instrument",sans-serif;letter-spacing:.14em;text-transform:uppercase}
.body{flex:1 1 0;min-height:0;display:flex;flex-direction:column;gap:14px;margin-top:16px}
.foot{flex:none;display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:10px;font-weight:600;color:#55524b}
.foot span{display:flex;align-items:center;gap:5px}

h3{font:700 calc(13.5px*var(--s))/1.1 "Bricolage",sans-serif;letter-spacing:-.005em}
.box{flex:none;display:block;width:calc(12px*var(--s));height:calc(12px*var(--s));border:1.4px solid var(--ink);border-radius:3.5px}

.fields{display:flex;gap:22px;flex:none}
.field{display:flex;align-items:flex-end;gap:8px;min-width:0}
.field b{font-weight:700;font-size:12.5px;white-space:nowrap}
.field i{flex:1;border-bottom:1.3px solid var(--ink);height:20px}
.note{flex:none;font-size:11.5px;color:#55524b;text-wrap:pretty}
.chips{display:flex;gap:8px;flex:none}
.chips span{flex:1;background:var(--tint);border-radius:12px;padding:9px 12px;font-weight:600;font-size:11.5px;line-height:1.25;text-wrap:balance}
.dots{display:flex;align-items:center;gap:7px;flex:none}
.dots b{font:700 calc(13.5px*var(--s)) "Bricolage",sans-serif;margin-right:6px}
.dots i{width:19px;height:19px;border:1.4px solid var(--ink);border-radius:50%}

/* numbered grids */
.grid,.boxes{min-height:0;display:flex}
.gridin{flex:1;display:grid;grid-auto-rows:1fr;gap:8px;min-height:0}
.cell{border:1.5px solid var(--ink);border-radius:12px;padding:7px 9px;display:flex;flex-direction:column;justify-content:space-between;min-height:0;min-width:0}
.cell>span{font:800 22px/1 "Bricolage",sans-serif;letter-spacing:-.02em}
.cell small{font:600 11px/1 "Instrument",sans-serif;color:#55524b;align-self:flex-end}
.grid.sm .gridin{gap:6px}.grid.sm .cell{border-radius:9px;padding:5px 7px}.grid.sm .cell>span{font-size:16px}
.grid.xs .gridin{gap:5px}.grid.xs .cell{border-radius:8px;padding:4px 6px;border-width:1.3px}.grid.xs .cell>span{font-size:13.5px}
.grid.money .cell{align-items:center;justify-content:center;gap:3px}
.grid.money .cell>span{font-size:19px}.grid.money small{align-self:center;order:-1;font-size:9.5px;letter-spacing:.06em;text-transform:uppercase}
.prompts .gridin{gap:7px}
.prompts .cell{justify-content:flex-start;gap:6px;padding:8px 9px}
.prompts .ptop{display:flex;justify-content:space-between;align-items:flex-start}
.prompts .ptop span{font:800 22px/1 "Bricolage",sans-serif}
.prompts p{font-size:13.2px;line-height:1.22;font-weight:500;text-wrap:balance}

/* check lists & blank lines */
.checks,.lines{display:flex;flex-direction:column;min-height:0}
.checks h3,.lines h3,.table h3{align-self:flex-start;background:var(--tint);padding:5px 11px 5px;border-radius:99px;margin-bottom:3px;flex:none}
.checks ul,.lines ul{flex:1;display:flex;flex-direction:column;min-height:0}
.checks li{flex:1 1 0;display:flex;align-items:center;gap:9px;min-height:0;line-height:1.18}
.lines li{flex:1 1 0;display:flex;align-items:flex-end;gap:9px;min-height:0;padding-bottom:1px}
.lines li span{flex:1;border-bottom:1.1px solid var(--line);height:1px}
.lines li .box{margin-bottom:2px}

/* matrix */
.matrix{display:flex;flex-direction:column;min-height:0;border:1.5px solid var(--ink);border-radius:14px;overflow:hidden}
.mrow{flex:1 1 0;display:grid;min-height:0;border-top:1.1px solid var(--line)}
.mrow>div{border-left:1.1px solid var(--line);display:flex;align-items:center;justify-content:center;min-width:0}
.mrow>div:first-child{border-left:0;justify-content:flex-start;padding:0 10px}
.mhead{flex:none;height:26px;border-top:0;background:var(--tint);font:700 11px "Instrument",sans-serif}
.matrix.sm .mhead{font-size:9px}.matrix.sm .mrow>div:first-child{padding:0 8px}
.msec{display:flex;flex:none;height:24px;background:color-mix(in srgb,var(--tint) 45%,#fff);font:700 12px "Bricolage",sans-serif}
.mlabel{font-size:calc(13px*var(--s));line-height:1.15}

/* tables */
.table{display:flex;flex-direction:column;min-height:0}
.tbody{flex:1;display:flex;flex-direction:column;min-height:0;border:1.5px solid var(--ink);border-radius:14px;overflow:hidden}
.trow{flex:1 1 0;display:grid;min-height:0;border-top:1.1px solid var(--line)}
.trow>div{border-left:1.1px solid var(--line);display:flex;align-items:center;padding:0 9px;min-width:0;font-size:calc(12.5px*var(--s));line-height:1.15}
.trow>div:first-child{border-left:0;font-weight:600}
.thead{flex:none;height:26px;border-top:0;background:var(--tint)}
.thead>div{font:700 11px "Instrument",sans-serif !important}
.ttotal{background:color-mix(in srgb,var(--tint) 45%,#fff)}.ttotal>div:first-child{font-weight:700}

/* open boxes, cards, rows */
.bx{border:1.5px solid var(--ink);border-radius:14px;padding:9px 11px;min-height:0;
  background:repeating-linear-gradient(to bottom,transparent 0 21px,#d9d6cf 21px 22px) content-box;background-position:0 14px}
.bx h3{background:#fff;display:inline-block;padding-right:8px}
.card{border:1.5px solid var(--ink);border-radius:16px;padding:14px 14px 12px;display:flex;flex-direction:column;gap:10px;min-height:0}
.card h2{font:800 20px/1 "Bricolage",sans-serif;letter-spacing:-.02em}
.card .csub{font-size:11px;font-weight:600;color:#55524b;margin-top:-6px}
.row{display:flex;gap:18px;min-height:0}
.col{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0}

.checks li .blank{flex:1;align-self:flex-end;border-bottom:1.1px solid var(--line);height:1px;margin-bottom:5px}
html,body{width:var(--pw);height:var(--ph);overflow:hidden}
.checks li:has(.blank){align-items:flex-end;padding-bottom:5px}.checks li .blank{margin-bottom:0}

/* minimal style: tinted page, big title, lots of air */
.sheet.minimal{background:var(--tint);padding:84px 112px 34px}
.minimal .head{background:none;padding:0 0 10px;border-radius:0}
.minimal .head h1{font-size:112px;line-height:1.1;letter-spacing:-.045em}
.minimal .head p{font-size:15px;margin-top:14px}
.minimal .body{margin-top:20px;gap:0}
.minimal .foot{color:var(--ink)}
.gbox{flex:none}
.gbox b{display:block;font:700 12px/1 "Instrument",sans-serif;letter-spacing:.14em;text-transform:uppercase;margin-bottom:9px}
.gboxin{height:92px;border:1.6px solid var(--ink);border-radius:16px;padding:12px 16px;font-size:17px;line-height:1.3;overflow:hidden}
.circ{display:flex;align-items:center;min-height:0}
.circin{flex:1;display:grid;gap:22px}
.circ i{display:block;aspect-ratio:1;border:1.6px solid var(--ink);border-radius:50%}

/* white paper (default): outlines instead of colour fills, so printing uses very little ink */
.plain .head,.plain .chips span{outline:1.6px solid var(--ink);outline-offset:-1.6px}
.plain .checks h3,.plain .lines h3,.plain .table h3{outline:1.2px solid var(--ink);outline-offset:-1.2px}
.plain.minimal .head{outline:0}
.plain .msec,.plain .ttotal{background:#f3f2ee}
