:root {
  --night: #0e1a3a;
  --cream: #fff8ec;
  --red: #c62828;
  --red-d: #9e1b1b;
  --gold: #c8a24a;
  --ink: #2b2118;
  --muted: #6b5b4a;
  --line: #e3d3b5;
  --green: #2e7d32;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background-color: var(--night);
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 120px 90px, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 210px 160px, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(2px 2px at 300px 60px, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(180deg, #0e1a3a 0%, #13234d 60%, #0e1a3a 100%);
  background-size: 340px 220px, 340px 220px, 340px 220px, 340px 220px, 100% 100%;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* ---------- top & hero ---------- */
.topbar { color: #fff; padding: 14px 0 4px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.brand { color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .3px; font-size: 17px; }
.brand .star { color: var(--gold); }
.lang-switch { color: #dfe3f1; font-weight: 700; font-size: 14px; }
.hero { color: #fff; padding: 18px 0 34px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.hero .kicker { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; }
.hero h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.02; margin: 8px 0 14px; }
.hero .sub { font-size: 18px; line-height: 1.55; color: #e7e9f4; max-width: 560px; margin: 0; }
.badges { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; }
.badges li::before { content: '✓ '; color: #8fd694; }
.price-note { margin-top: 12px; color: #cfd3e6; font-size: 14px; }
.hero-visual { position: relative; width: 100%; }
.hv { position: absolute; overflow: hidden; border-radius: 3px; box-shadow: 0 22px 50px rgba(0,0,0,.5); }
.hv .doc { transform-origin: top left; }
.hv-letter { left: 4%; top: 0; transform: rotate(-4deg); z-index: 1; }
.hv-diploma { right: 0; transform: rotate(4deg); z-index: 2; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 14px 22px; font: 800 17px/1.2 'Nunito', system-ui, sans-serif; cursor: pointer; text-decoration: none; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: translateY(2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 5px 0 #7f1414; }
.btn-primary:hover { background: #d43131; }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); margin-top: 10px; }

/* ---------- builder ---------- */
.card { background: var(--cream); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.35); padding: 22px; }
.builder { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: 22px; align-items: start; }
.builder > * { min-width: 0; }
.form h2, .preview h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; line-height: 1.1; margin: 0 0 6px; }
.lbl { display: block; font-weight: 800; font-size: 14px; margin: 14px 0 6px; color: #3b2a1a; }
input[type=text] {
  width: 100%; font: 600 16px 'Nunito', system-ui, sans-serif; padding: 11px 12px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
input[type=text]:focus { outline: 3px solid rgba(200,162,74,.35); border-color: var(--gold); }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 800; background: #fff; cursor: pointer; }
.seg input:checked + span { background: var(--red); color: #fff; border-color: var(--red); }
.seg input:focus-visible + span { outline: 3px solid rgba(200,162,74,.5); }
.seg span small { display: block; font-size: 12px; font-weight: 600; opacity: .75; margin-top: 1px; }
.seg3 span { padding: 10px 6px; font-size: 14px; }
.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.stepper button { width: 46px; border: 0; background: #fff; color: var(--ink); font: 800 22px/1 'Nunito', system-ui, sans-serif; cursor: pointer; padding: 0; }
.stepper button:hover { background: #f7efe0; }
.stepper button:active { background: #efe3cc; }
.stepper .val { min-width: 132px; padding: 11px 8px; text-align: center; font-weight: 800; font-size: 16px; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); }
.chips.collapsed .chip.extra { display: none; }
.more-btn { display: inline-block; margin-top: 8px; padding: 4px 2px; border: 0; background: none; color: var(--red-d); font: 800 14px 'Nunito', system-ui, sans-serif; cursor: pointer; }
.more-btn[hidden] { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 11px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; background: #fff; cursor: pointer; user-select: none; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:checked + span::before { content: '✓ '; }
.chip input:disabled + span { opacity: .45; cursor: not-allowed; }
.chip input:focus-visible + span { outline: 3px solid rgba(200,162,74,.5); }

.tabs { display: flex; gap: 6px; margin: 4px 0 12px; }
.tabs button { flex: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 9px; font: 800 14px 'Nunito', system-ui, sans-serif; cursor: pointer; color: var(--ink); }
.tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.stage { position: relative; width: 100%; overflow: hidden; padding-bottom: 2px; }
.doc-wrap { position: relative; margin: 0 auto; box-shadow: 0 10px 30px rgba(60,40,20,.28); overflow: hidden; }
.doc-wrap:not(.active) { position: absolute; top: 0; left: 0; visibility: hidden; pointer-events: none; }
.doc-wrap .doc { transform-origin: top left; }
.readtext { margin-top: 14px; }
.readtext summary { color: var(--red-d); }
#readText { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 19px; line-height: 1.5; padding: 6px 2px 0; }
#readText p { margin: .5em 0; }
.buy { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 16px; scroll-margin-top: 20px; }
.buy h3 { margin: 0 0 8px; font-size: 20px; }
.buy ul { padding: 0; list-style: none; margin: 0 0 14px; }
.buy li { margin: 5px 0; font-weight: 700; }
.buy li::before { content: '🎁 '; }
.buy .btn { width: 100%; font-size: 18px; padding: 16px; }
.buy .note { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.unlocked-banner { background: #e8f5e9; border: 1.5px solid var(--green); color: #1b5e20; border-radius: 12px; padding: 12px 14px; font-weight: 800; margin-bottom: 12px; }
.unlocked-banner .sub { font-weight: 600; font-size: 14px; margin-top: 4px; }
.err { background: #ffebee; border: 1.5px solid var(--red); color: #8e0000; border-radius: 12px; padding: 12px 14px; font-weight: 700; margin: 12px 0; }

.share { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.share h3 { margin: 0 0 4px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; line-height: 1.1; }
.share p { margin: 0; color: var(--muted); }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; font: 800 15px 'Nunito', system-ui, sans-serif; text-decoration: none; cursor: pointer; color: #fff; }
.sbtn-native { background: var(--ink); }
.sbtn-wa { background: #1fa855; }
.sbtn-tg { background: #2a9fd6; }
.sbtn-fb { background: #1877f2; }
.sbtn-copy { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.sbtn:hover { filter: brightness(1.06); }
.how, .faq { margin-top: 30px; color: #fff; }
.thanks { padding: 8px 0 6px; }
.thanks-card { display: flex; gap: 18px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #e8f5e9; border: 2px solid var(--green); border-radius: 18px; padding: 20px 22px; color: #1b3a1d; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.thanks-copy { flex: 1 1 380px; min-width: 0; }
.thanks-title { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 30px; line-height: 1.1; color: #1b5e20; }
.thanks-copy p { margin: 8px 0 6px; font-size: 16px; line-height: 1.5; }
.thanks-for { font-size: 15px; }
.thanks-for a { color: #1b5e20; font-weight: 800; }
.thanks-warn { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #fff8e1; border: 1.5px solid #e0b84a; color: #5a4100; font-weight: 700; font-size: 14px; line-height: 1.45; }
.thanks-actions { display: flex; flex-direction: column; gap: 0; flex: 0 1 320px; }
.thanks-actions .btn { width: 100%; }
.thanks-actions .note { font-size: 13px; color: #33513a; margin-top: 8px; min-height: 1em; }
.how h2, .faq h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 36px; margin: 0 0 12px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 16px; color: #dfe3f1; line-height: 1.5; }
.step b { display: block; font-size: 18px; margin-bottom: 4px; color: #fff; }
.step .n { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink); align-items: center; justify-content: center; font-weight: 800; margin-bottom: 8px; }
.faq details { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.faq summary, .readtext summary { list-style: none; cursor: pointer; font-weight: 800; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker, .readtext summary::-webkit-details-marker { display: none; }
.faq summary::after, .readtext summary::after { content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; line-height: 1; }
.faq summary::after { background: rgba(255,255,255,.14); color: #fff; }
.readtext summary::after { background: #f1e3c6; color: var(--red-d); }
.faq details[open] summary::after, .readtext[open] summary::after { content: '−'; }
.faq p { margin: 8px 0 0; color: #dfe3f1; line-height: 1.5; }
.footer { color: #aab2cf; font-size: 13px; padding: 34px 0 100px; text-align: center; }
.footer a { color: #dfe3f1; }
.footer .seller { margin-top: 8px; font-size: 12px; color: #8f98b8; }
.buy .note a { color: var(--red-d); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(14,26,58,.95); display: none; z-index: 50; }
.sticky-cta .btn { width: 100%; }

#render-root, #print-root { display: none; }
#render-root.measuring, #print-root.measuring { display: block; position: absolute; left: -30000px; top: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .builder { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .sticky-cta.show { display: block; }
  .card { padding: 16px; }
}

/* ---------- printable documents (also captured by html2canvas) ---------- */
.doc { position: relative; overflow: hidden; background: #fbf3e2; color: #3b2a1a; font-family: 'Cormorant Garamond', Georgia, serif; }
.doc.portrait { width: 794px; height: 1123px; }
.doc.landscape { width: 1123px; height: 794px; }
.doc svg { display: block; width: 100%; height: 100%; }
.doc .parch { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 50% 42%, #fffaf0 0%, #fbf1dc 55%, #efdcb6 100%); }
.doc .frame1 { position: absolute; top: 26px; left: 26px; right: 26px; bottom: 26px; border: 3px solid #9e1b1b; border-radius: 8px; }
.doc .frame2 { position: absolute; top: 37px; left: 37px; right: 37px; bottom: 37px; border: 1.5px solid #c8a24a; border-radius: 5px; }
.doc .corner { position: absolute; width: 46px; height: 46px; }
.doc .corner.tl { top: 14px; left: 14px; }
.doc .corner.tr { top: 14px; right: 14px; }
.doc .corner.bl { bottom: 14px; left: 14px; }
.doc .corner.br { bottom: 14px; right: 14px; }
.doc .txt { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; color: #fde3dc; letter-spacing: 1px; }

.wm { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; overflow: hidden; z-index: 10; }
.wm span { position: absolute; font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 60px; letter-spacing: 8px; color: rgba(158,27,27,.14); transform: rotate(-28deg); white-space: nowrap; }

/* letter */
.letter .l-head { position: absolute; top: 52px; left: 0; right: 0; text-align: center; }
.letter .l-head .santa { width: 96px; height: 96px; margin: 0 auto; }
.letter .kicker { font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #a07d2c; margin-top: 4px; }
.letter .l-date { position: absolute; top: 194px; right: 86px; font-style: italic; font-size: 18px; color: #6b4f2e; }
.letter .l-body { position: absolute; top: 228px; left: 86px; right: 86px; bottom: 180px; font-size: 21px; line-height: 1.5; overflow: hidden; }
.letter .l-body p { margin: 0 0 .6em; }
.letter .salut { font-family: 'Caveat', cursive; font-weight: 700; font-size: 2.15em; line-height: 1.05; color: #9e1b1b; margin-bottom: .32em !important; }
.letter .closing { margin-top: .8em !important; margin-bottom: 0 !important; }
.letter .sign { font-family: 'Caveat', cursive; font-weight: 700; font-size: 2.4em; line-height: 1; color: #9e1b1b; margin: .25em 0 .2em; }
.letter .ps { font-style: italic; font-size: .9em; color: #5a4128; }
.letter.style-small .sign { margin-top: .2em; }
/* List rhythm: the same .3em gap above the list, between items and below it. */
.letter .l-body p.intro { margin-bottom: .3em; }
.letter ul.deeds { list-style: none; margin: 0 0 .3em; padding: 0; }
.letter ul.deeds li { position: relative; padding-left: 1.3em; margin: 0 0 .3em; }
.letter ul.deeds li:last-child { margin-bottom: 0; }
.letter ul.deeds + p { margin-top: 0; }
.letter ul.deeds li .bul { position: absolute; left: .08em; top: .5em; width: .62em; height: .62em; }
#readText ul.deeds li .bul { display: none; }
#readText ul.deeds { margin: .3em 0 .6em; padding-left: 1.2em; }
.letter .l-holly { position: absolute; left: 66px; bottom: 58px; width: 150px; height: 86px; }
.letter .l-seal { position: absolute; right: 78px; bottom: 58px; width: 116px; height: 116px; }
.letter .l-seal .txt { font-size: 30px; }

/* diploma */
.diploma .d-wrap { position: absolute; top: 56px; left: 90px; right: 90px; text-align: center; }
.diploma .d-santa { width: 66px; height: 66px; margin: 0 auto; }
.diploma .d-kicker { font-size: 15px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: #a07d2c; margin-top: 2px; }
.diploma .d-title { font-weight: 700; font-size: 88px; line-height: 1; letter-spacing: 16px; text-transform: uppercase; color: #9e1b1b; margin-top: 12px; padding-left: 16px; }
.diploma .d-sub { font-family: 'Caveat', cursive; font-weight: 700; font-size: 46px; line-height: 1.1; color: #a07d2c; }
.diploma .d-lead { font-style: italic; font-size: 22px; color: #5a4128; margin-top: 14px; }
.diploma .d-name { font-family: 'Caveat', cursive; font-weight: 700; font-size: 92px; line-height: 1.08; color: #3b2a1a; margin: 2px auto 0; max-width: 820px; white-space: nowrap; overflow: hidden; border-bottom: 2px solid #c8a24a; padding: 0 30px; display: inline-block; }
.diploma .d-body { font-size: 23px; line-height: 1.4; margin: 14px auto 0; max-width: 780px; }
.diploma .d-date { font-style: italic; font-size: 19px; color: #6b4f2e; margin-top: 10px; }
.diploma .d-foot { position: absolute; left: 110px; right: 110px; bottom: 56px; display: flex; justify-content: space-between; align-items: flex-end; }
.diploma .sig { width: 230px; text-align: center; }
.diploma .sig .hand { font-family: 'Caveat', cursive; font-weight: 700; font-size: 42px; line-height: 1; color: #9e1b1b; }
.diploma .sig .line { border-top: 1.5px solid #6b4f2e; margin-top: 2px; }
.diploma .sig .role { font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #6b4f2e; margin-top: 5px; }
.diploma .d-seal { position: relative; width: 112px; height: 112px; }
.diploma .d-seal .txt { font-size: 30px; }

/* envelope net (A4 landscape) */
.doc.envelope { background: #ffffff; }
.envelope .e-net { position: absolute; top: 0; left: 0; width: 1123px; height: 794px; }
.envelope .e-help { position: absolute; left: 30px; top: 18px; width: 236px; font-family: 'Nunito', system-ui, sans-serif; font-size: 12px; line-height: 1.4; color: #6f6f6f; }
.envelope .e-help b { display: block; font-size: 13px; color: #555; margin-bottom: 2px; }
.envelope .e-fold { position: absolute; left: 515px; width: 92px; text-align: center; background: rgba(255,255,255,.92); border-radius: 4px; padding: 1px 0; font-family: 'Nunito', system-ui, sans-serif; font-size: 12px; font-weight: 700; color: #7a7a7a; letter-spacing: 1px; text-transform: uppercase; }
.envelope .e-fold-t { top: 46px; }
.envelope .e-fold-b { top: 736px; }
.envelope .e-glue { position: absolute; left: 880px; top: 382px; width: 120px; text-align: center; transform: rotate(-90deg); font-family: 'Nunito', system-ui, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: #ffffff; background: rgba(0,0,0,.28); border-radius: 6px; padding: 2px 0; }
.envelope .e-flapseal { position: absolute; left: 70px; top: 339px; width: 116px; height: 116px; }
.envelope .e-flapseal .txt { font-size: 30px; transform: rotate(-90deg); }
.envelope .e-front { position: absolute; left: 255.5px; top: 181.5px; width: 612px; height: 431px; transform: rotate(-90deg); }
.envelope .e-title { position: absolute; top: 34px; left: 38px; font-weight: 700; font-size: 27px; letter-spacing: 1.5px; text-transform: uppercase; color: #9e1b1b; }
.envelope .e-service { position: absolute; top: 70px; left: 38px; font-style: italic; font-size: 16px; color: #5a4128; }
.envelope .e-sender { position: absolute; top: 104px; left: 38px; font-size: 15px; line-height: 1.35; color: #3b2a1a; }
.envelope .e-sender b { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #a07d2c; }
.envelope .e-stamp { position: absolute; top: 30px; right: 34px; width: 92px; height: 108px; }
.envelope .e-stamp .st-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.envelope .e-stamp .st-santa { position: absolute; top: 24px; left: 18px; width: 56px; height: 56px; }
.envelope .e-stamp .st-top, .envelope .e-stamp .st-bot { position: absolute; left: 0; right: 0; text-align: center; font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; color: #e8c766; }
.envelope .e-stamp .st-top { top: 12px; font-size: 10px; letter-spacing: 2px; }
.envelope .e-stamp .st-bot { bottom: 11px; font-size: 13px; letter-spacing: 1px; }
.envelope .e-postmark { position: absolute; top: 88px; right: 84px; width: 176px; height: 80px; opacity: .72; transform: rotate(-12deg); }
.envelope .e-postmark .pm-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.envelope .e-postmark .pm-txt { position: absolute; left: 10px; top: 24px; width: 74px; text-align: center; font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 10px; line-height: 1.3; letter-spacing: .5px; color: #4a4a4a; }
.envelope .e-priority { position: absolute; left: 40px; bottom: 44px; border: 3px solid #c62828; color: #c62828; font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; letter-spacing: 3px; padding: 4px 12px; transform: rotate(-8deg); text-transform: uppercase; font-size: 17px; border-radius: 5px; opacity: .85; }
.envelope .e-to { position: absolute; right: 44px; bottom: 44px; width: 300px; }
.envelope .e-tolabel { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: #a07d2c; }
.envelope .e-name { font-family: 'Caveat', cursive; font-weight: 700; font-size: 56px; line-height: 1.1; color: #9e1b1b; white-space: nowrap; overflow: hidden; border-bottom: 1.5px solid #b9a27a; }
.envelope .e-city { font-size: 22px; line-height: 1.5; border-bottom: 1.5px solid #b9a27a; min-height: 34px; }

@media print {
  @page { size: A4 portrait; margin: 0; }
  @page land { size: A4 landscape; margin: 0; }
  html, body { background: #fff !important; }
  body > *:not(#print-root) { display: none !important; }
  #print-root { display: block !important; position: static !important; }
  #print-root .doc { break-after: page; page-break-after: always; }
  #print-root .doc.landscape { page: land; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
