/* Printable cause sheet (A4 poster, A6 flyer). Always light: it is made for paper. On screen the sheet is shown as a
   page with a small toolbar above it; the toolbar never prints. Sizes are in millimetres so the printout matches. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  src: url("/assets/fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  src: url("/assets/fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root { --ink: #1F1C18; --ink-2: #48423A; --ink-3: #5F584F; --gold: #F0B03A; --gold-text: #7A4E00; --desk: #E9E3D8; }
* { box-sizing: border-box; }
html { background: var(--desk); color: var(--ink); color-scheme: light; }
body { margin: 0; padding: 16px 16px 40px; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }

.sheet-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 16px; max-width: 210mm; }
.sheet-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid #C9C0B2; background: #fff; color: var(--ink); font: 600 .92rem/1 "Inter", system-ui, sans-serif;
  text-decoration: none; cursor: pointer; }
.sheet-btn.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sheet-btn-main { background: var(--gold); border-color: var(--gold); }
.sheet-btn:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; }

.sheet-page { background: #fff; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center;
  overflow: hidden; box-shadow: 0 2px 18px rgba(31, 28, 24, .16); }
.sheet-cover { display: block; width: 100%; object-fit: cover; border-radius: 3mm; }
.sheet-title { font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif; font-weight: 800; letter-spacing: -.01em;
  line-height: 1.08; margin: 0; overflow-wrap: anywhere; }
.sheet-qr { background: #fff; }
.sheet-qr svg { display: block; width: 100%; height: 100%; }
.sheet-line { font-weight: 700; margin: 0; }
.sheet-link { margin: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sheet-org { margin: auto 0 0; color: var(--ink-3); }
.sheet-note { margin: 0; color: var(--gold-text); }

/* A4 poster: 210 x 297 mm */
.sheet-a4 .sheet-page { width: 210mm; height: 297mm; padding: 14mm 16mm 12mm; gap: 6mm; }
.sheet-a4 .sheet-cover { height: 92mm; }
.sheet-a4 .sheet-title { font-size: 27pt; max-width: 175mm; }
.sheet-a4 .sheet-qr { width: 78mm; height: 78mm; }
.sheet-a4 .sheet-line { font-size: 19pt; }
.sheet-a4 .sheet-link { font-size: 12pt; }
.sheet-a4 .sheet-org { font-size: 10pt; }

/* A6 flyer: 105 x 148 mm */
.sheet-a6 .sheet-page { width: 105mm; height: 148mm; padding: 7mm 8mm 6mm; gap: 3mm; }
.sheet-a6 .sheet-cover { height: 38mm; border-radius: 2mm; }
.sheet-a6 .sheet-title { font-size: 13pt; max-width: 89mm; }
.sheet-a6 .sheet-qr { width: 44mm; height: 44mm; }
.sheet-a6 .sheet-line { font-size: 10.5pt; }
.sheet-a6 .sheet-link { font-size: 7.5pt; }
.sheet-a6 .sheet-org { font-size: 6.5pt; }

/* On a narrow screen app.js scales the page down to fit (zoom); the printout always keeps its real size. */

@media print {
  html, body { background: #fff; }
  body { padding: 0; }
  .sheet-tools { display: none; }
  .sheet-page { box-shadow: none; margin: 0; zoom: 1 !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
