.sc { padding: 22px 0 10px; }
.sc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; align-items: start; }
.sc label, .sc .sc-lbl { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.sc input, .sc select, .sc textarea { width: 100%; font: inherit; font-size: 15px; border: 1px solid #ddd6cb; border-radius: 10px; padding: 8px 10px; background: #fff; color: var(--text); min-height: 42px; box-sizing: border-box; }
.sc textarea { min-height: 64px; resize: vertical; }
.sc input:focus, .sc select:focus, .sc textarea:focus { outline: 3px solid rgba(245, 158, 11, .35); border-color: var(--gold); }
.sc input[type=color] { padding: 3px; height: 42px; }
.sc input[type=checkbox] { width: 18px; height: 18px; min-height: 0; accent-color: #d97706; }
.sc-sec { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 12px; padding: 0 16px; }
.sc-sec > summary { cursor: pointer; font-weight: 800; padding: 14px 0; display: flex; align-items: center; gap: 10px; list-style: none; }
.sc-sec > summary::-webkit-details-marker { display: none; }
.sc-sec > summary .sc-n { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #1f1d1a; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sc-sec > summary .sc-s { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 13px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sc-sec > summary::after { content: "▾"; color: var(--muted); }
.sc-sec[open] > summary::after { content: "▴"; }
.sc-in { padding: 0 0 16px; }
.sc-g2, .sc-g3, .sc-g4 { display: grid; gap: 10px; }
.sc-g2 { grid-template-columns: 1fr 1fr; }
.sc-g3 { grid-template-columns: repeat(3, 1fr); }
.sc-g4 { grid-template-columns: repeat(4, 1fr); }
.sc-g2 > *, .sc-g3 > *, .sc-g4 > * { min-width: 0; }
.sc-mt { margin-top: 10px; }
.sc-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.sc-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.sc-toggles label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); font-weight: 600; margin: 0; cursor: pointer; }
.sc-sh { font-size: 13px; font-weight: 800; margin: 12px 0 6px; }
.sc-rows { display: flex; flex-direction: column; gap: 8px; }
.sc-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 36px 36px; gap: 6px; align-items: center; }
.sc-x { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.sc-x:hover { color: #b42318; border-color: #f0c4be; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sc-chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12.5px; cursor: pointer; color: var(--muted); }
.sc-chips button:hover { border-color: var(--gold); color: var(--text); }
.sc-paysum { margin-top: 12px; font-weight: 800; font-size: 13.5px; background: var(--soft); border-radius: 10px; padding: 8px 10px; }
.sc-rowhead { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 78px; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.sc-upl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sc-upl .sc-pv { width: 42px; height: 42px; border: 1px dashed #cfc6b8; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #a9a196; font-size: 11px; flex: none; overflow: hidden; background: #fff; }
.sc-upl .sc-pv img { max-width: 100%; max-height: 100%; display: block; object-fit: contain; }
.sc .sc-upbtn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #ddd6cb; border-radius: 10px; background: var(--soft); font-weight: 700; font-size: 14px; color: var(--text); cursor: pointer; margin: 0; white-space: nowrap; font-family: inherit; }
.sc .sc-upbtn[hidden], .sc [hidden] { display: none !important; }
.sc-pad { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; }
.sc-pad canvas { display: block; width: 100%; height: 150px; border: 1px dashed #cfc6b8; border-radius: 8px; touch-action: none; cursor: crosshair; background: #fff; }
.sc-pad .sc-padbar { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.sc-edited { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 8px 10px; font-size: 13px; margin-top: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sc-period { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.sc-period button { border: 0; background: #fff; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--muted); }
.sc-period button[aria-pressed="true"] { background: #1f1d1a; color: #fff; }
.sc-warn { margin-top: 10px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 700; }
.sc-honest { background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 12px; }
.sc-side { position: sticky; top: 12px; }
.sc-pv-box { background: #e9e6e0; border-radius: 16px; padding: 14px; }
.sc-pvbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 12.5px; font-weight: 800; color: var(--muted); letter-spacing: .4px; }
.sc-pvwrap { overflow: hidden; border-radius: 4px; }
.sc-host { transform-origin: top left; width: max-content; }
.sc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sc-acts .btn { padding: 10px 14px; font-size: 14px; }
.sc-acts .btn.soft { color: var(--text); }
.sc-msg { min-height: 20px; font-size: 13px; font-weight: 700; color: var(--ok); margin-top: 8px; }
.sc-msg.sc-err { color: #b42318; }
.sc-saved { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 12px 14px; }
.sc-saved .sc-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; max-height: 240px; overflow: auto; }
.sc-saved .sc-it { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; font-size: 13.5px; }
.sc-saved .sc-it span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-saved .sc-it button { border: 1px solid var(--line); background: var(--soft); border-radius: 8px; padding: 4px 9px; font: inherit; font-size: 12.5px; cursor: pointer; }
.sc-empty { color: var(--muted); font-size: 13px; }
.sc-store { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.sc-store button, .sc-store label { font: inherit; font-size: 12.5px; border: 0; background: none; color: var(--gold-text); font-weight: 700; cursor: pointer; padding: 0; margin: 0; text-decoration: underline; display: inline; }
.sc-mbar { display: none; }
/* design buttons and certificate types */
.sc-tpls { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sc-kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sc-tpls button, .sc-kinds button { border: 2px solid var(--line); border-radius: 12px; background: #fff; padding: 6px; cursor: pointer; font: inherit; font-weight: 800; font-size: 12px; text-align: center; min-width: 0; color: var(--text); }
.sc-kinds button { font-size: 12.5px; padding: 9px 4px; line-height: 1.25; }
.sc-tpls button[aria-pressed="true"], .sc-kinds button[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 6px 16px rgba(245, 158, 11, .25); }
.sc-tpls i { display: block; height: 46px; border-radius: 6px; margin: 0 auto 5px; border: 1px solid #e5e7eb; width: 74%; background: #fff; }
.sc-tpls .sc-i1 { background: linear-gradient(#fff 0 9px, var(--acc, #0f766e) 9px 12px, #fff 12px 18px, #d1d5db 18px 19px, #fff 19px 23px, #d1d5db 23px 24px, #fff 24px); }
.sc-tpls .sc-i2 { background: linear-gradient(var(--acc, #0f766e) 0 11px, #fff 11px 18px, transparent 18px 32px, #fff 32px 35px, var(--acc, #0f766e) 35px 40px, #fff 40px), linear-gradient(90deg, #e5e7eb 0 47%, #fff 47% 53%, #e5e7eb 53%); }
.sc-tpls .sc-i3 { background: #fff; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--acc, #0f766e); }
.sc-tpls .sc-i4 { background: repeating-linear-gradient(#fff 0 6px, #d1d5db 6px 7px); }
.sc-tpls .sc-i5 { background: linear-gradient(90deg, var(--acc, #0f766e) 0 28%, #fff 28%); }

/* ===== the certificate (A4 794 × 1123, US Letter 816 × 1056) ===== */
.sc-page { --a: #0f766e; --a-ink: #fff; --a-txt: #0f766e; --a-tint: #eaf4f3; --a-line: #b7d6d3; --a-dark: #134e4a; --st: rgba(15,118,110,.82); --fs: 14px;
  width: 794px; height: 1123px; background: #fff; color: #1f1d1a; font: var(--fs)/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  position: relative; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); text-align: left; box-sizing: border-box; }
.sc-page * { box-sizing: border-box; }
.sc-page.sc-letter { width: 816px; height: 1056px; }
.sc-page p { margin: 0 0 .7em; overflow-wrap: anywhere; }
.sc-page b { font-weight: 700; }
.sc-lo { width: 54px; height: 54px; border-radius: 12px; background: var(--a); color: var(--a-ink); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.sc-lo.sc-img { background: none; width: auto; max-width: 150px; }
.sc-lo img { max-width: 100%; max-height: 54px; display: block; }
.sc-co { font-weight: 800; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
.sc-sub { color: #6b655d; font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
.sc-hn { min-width: 0; }
.sc-meta { display: flex; justify-content: space-between; gap: 12px; color: #6b655d; font-size: .86em; line-height: 1.5; margin-bottom: .8em; }
.sc-meta span { min-width: 0; overflow-wrap: anywhere; }
.sc-to { font-size: .95em; line-height: 1.45; margin-bottom: .9em; overflow-wrap: anywhere; }
.sc-title { font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--a-txt); line-height: 1.4; overflow-wrap: anywhere; }
.sc-greet { font-weight: 600; }
.sc-sal { width: 100%; border-collapse: collapse; font-size: .9em; margin: .2em 0 .5em; }
.sc-sal th, .sc-sal td { padding: .32em .7em; text-align: left; border-bottom: 1px solid #e3ded5; overflow-wrap: anywhere; }
.sc-sal th { font-size: .78em; text-transform: uppercase; letter-spacing: .6px; color: #6b655d; }
.sc-sal .sc-r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-sal .sc-gross td { font-weight: 700; background: #f7f5f1; }
.sc-sal .sc-ded td { color: #57534e; }
.sc-sal .sc-tot td { font-weight: 800; border-top: 2px solid #1f1d1a; border-bottom: 0; }
.sc-words { font-size: .86em; font-style: italic; color: #4b4640; margin: -.1em 0 .5em; overflow-wrap: anywhere; }
.sc-pnote { font-size: .82em; color: #6b655d; margin: 0 0 .7em; overflow-wrap: anywhere; }
.sc-kv { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: .25em 14px; margin: .2em 0 1em; font-size: .95em; }
.sc-kv i { font-style: normal; color: #6b655d; }
.sc-kv b { overflow-wrap: anywhere; }
.sc-sigrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 1.1em; }
.sc-sig { min-width: 0; width: 230px; }
.sc-sig .sc-sigimg { height: 56px; display: flex; align-items: flex-end; }
.sc-sig .sc-sigimg img { max-height: 56px; max-width: 220px; display: block; }
.sc-sig .sc-who { border-top: 1px solid #b8b1a6; padding-top: 5px; margin-top: 4px; font-size: .86em; line-height: 1.45; overflow-wrap: anywhere; }
.sc-sig .sc-who b { display: block; font-size: 1.05em; }
.sc-stamp { width: 104px; height: 104px; border-radius: 50%; border: 3px solid var(--st); color: var(--st); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 9.5px; font-weight: 800; letter-spacing: .8px; line-height: 1.35; transform: rotate(-12deg); padding: 8px; flex: none; text-transform: uppercase; overflow-wrap: anywhere; }
.sc-stamp > div { width: 100%; }
.sc-stamp span { display: block; border-top: 1.5px solid var(--st); border-bottom: 1.5px solid var(--st); padding: 3px 0; margin: 4px 2px; font-size: 8.5px; }
.sc-stampimg { width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; flex: none; }
.sc-stampimg img { max-width: 110px; max-height: 110px; display: block; }
.sc-made { font-size: 10px; color: #a39d93; line-height: 1.4; }
.sc-grow { flex: 1 1 auto; }

/* A — classic letterhead */
.sc-d-classic .sc-hd { display: flex; gap: 14px; align-items: center; padding: 38px 54px 16px; border-bottom: 4px solid var(--a); }
.sc-d-classic .sc-hr { margin-left: auto; text-align: right; max-width: 45%; }
.sc-d-classic .sc-in { padding: 20px 54px 0; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.sc-d-classic .sc-title { text-align: center; font-size: 1.3em; margin: .3em 0 1em; text-decoration: underline; text-underline-offset: 6px; }
.sc-d-classic .sc-ft { margin: 0 54px; border-top: 1px solid #e3ded5; padding: 10px 0 20px; text-align: center; min-height: 12px; }

/* B — earnings | deductions */
.sc-d-split .sc-band { background: var(--a-dark); color: #fff; padding: 30px 48px 26px; display: flex; align-items: center; gap: 14px; }
.sc-d-split .sc-band .sc-lo { background: #fff; color: var(--a-dark); }
.sc-d-split .sc-band .sc-lo.sc-img { padding: 5px; border-radius: 10px; }
.sc-d-split .sc-band .sc-sub { color: rgba(255,255,255,.82); }
.sc-d-split .sc-tt { margin-left: auto; text-align: right; font-weight: 900; font-size: 19px; letter-spacing: 2px; text-transform: uppercase; line-height: 1.25; max-width: 42%; overflow-wrap: anywhere; }
.sc-d-split .sc-in { padding: 22px 48px 20px; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.sc-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; background: var(--a-tint); border-radius: 8px; padding: .6em 1em; font-size: .86em; color: #6b655d; margin: 0 0 1em; }
.sc-strip small { display: block; font-size: .9em; }
.sc-strip b { display: block; color: #1f1d1a; font-size: 1.1em; overflow-wrap: anywhere; }
.sc-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.sc-two .sc-sal th { color: var(--a-txt); border-bottom: 2px solid var(--a-line); }
.sc-net { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--a-tint); border: 1.5px solid var(--a); border-radius: 10px; padding: .6em 1em; margin: .3em 0 .5em; font-weight: 800; }
.sc-net b { font-size: 1.45em; color: var(--a-txt); white-space: nowrap; }
.sc-d-split .sc-ft { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 11.5px; color: #6b655d; border-top: 1px solid #e3ded5; padding-top: 10px; }
.sc-d-split .sc-ft span { min-width: 0; overflow-wrap: anywhere; }

/* C — certificate frame */
.sc-d-certificate { padding: 22px; }
.sc-d-certificate .sc-frame { position: absolute; inset: 22px; border: 3px solid var(--a); border-radius: 4px; }
.sc-d-certificate .sc-frame2 { position: absolute; inset: 32px; border: 1px solid var(--a); opacity: .45; border-radius: 2px; }
.sc-d-certificate .sc-in { position: relative; padding: 44px 60px 22px; text-align: center; display: flex; flex-direction: column; flex: 1 1 auto; align-items: center; min-height: 0; }
.sc-d-certificate .sc-lo { margin: 0 auto 8px; }
.sc-d-certificate .sc-co { font-size: 18px; }
.sc-d-certificate .sc-title { font-family: Georgia, "Times New Roman", serif; font-size: 2em; letter-spacing: 5px; margin: .8em 0 0; font-weight: 700; }
.sc-d-certificate .sc-of { font-size: .82em; color: #6b655d; letter-spacing: 2.5px; text-transform: uppercase; overflow-wrap: anywhere; }
.sc-d-certificate .sc-cert-to { margin: 1.4em 0 0; color: #6b655d; }
.sc-d-certificate .sc-name { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 2em; line-height: 1.35; margin: .2em 0 .6em; border-bottom: 1px solid #e3ded5; padding: 0 30px 4px; overflow-wrap: anywhere; max-width: 100%; }
.sc-d-certificate .sc-body { text-align: left; width: 100%; }
.sc-d-certificate .sc-sigrow { width: 100%; text-align: left; }
.sc-d-certificate .sc-made { margin-top: 8px; }

/* D — plain letter (serif) */
.sc-d-letter { font-family: Georgia, "Times New Roman", serif; }
.sc-d-letter .sc-in { padding: 54px 64px 26px; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.sc-d-letter .sc-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 2em; }
.sc-d-letter .sc-hd .sc-hn { display: flex; gap: 12px; align-items: center; }
.sc-d-letter .sc-co { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 19px; }
.sc-d-letter .sc-sub { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.sc-d-letter .sc-hr { text-align: right; font-size: 12px; color: #6b655d; line-height: 1.55; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; max-width: 45%; overflow-wrap: anywhere; }
.sc-d-letter .sc-title { font-size: 1.45em; font-weight: 400; letter-spacing: 0; text-transform: none; color: #1f1d1a; margin: .2em 0 .5em; }
.sc-d-letter .sc-sal th { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.sc-d-letter .sc-sal .sc-gross td { background: none; }
.sc-d-letter .sc-yours { margin-top: .6em; }
.sc-d-letter .sc-made { font-family: system-ui, sans-serif; }

/* E — side band */
.sc-d-band { flex-direction: row; }
.sc-d-band .sc-col { width: 214px; flex: none; background: var(--a-dark); color: #fff; padding: 40px 20px 26px; font-size: 12px; line-height: 1.5; display: flex; flex-direction: column; }
.sc-d-band .sc-col .sc-lo { background: #fff; color: var(--a-dark); margin-bottom: 14px; }
.sc-d-band .sc-col .sc-lo.sc-img { background: #fff; border-radius: 10px; padding: 6px; max-width: 170px; height: auto; min-height: 54px; }
.sc-d-band .sc-col .sc-co { font-size: 17px; color: #fff; }
.sc-d-band .sc-tag { opacity: .85; margin-top: 2px; overflow-wrap: anywhere; }
.sc-d-band .sc-blk { margin-top: 16px; overflow-wrap: anywhere; font-weight: 700; font-size: 13px; }
.sc-d-band .sc-blk i { display: block; font-style: normal; font-weight: 400; text-transform: uppercase; letter-spacing: 1.2px; font-size: 9.5px; opacity: .75; }
.sc-d-band .sc-bc { font-size: 11px; opacity: .85; overflow-wrap: anywhere; }
.sc-d-band .sc-main { flex: 1 1 auto; padding: 44px 42px 24px; display: flex; flex-direction: column; min-width: 0; }
.sc-d-band .sc-title { font-size: 1.6em; letter-spacing: .3px; text-transform: none; }
.sc-d-band .sc-bar { width: 56px; height: 5px; background: var(--a); border-radius: 5px; margin: 8px 0 18px; flex: none; }
.sc-d-band .sc-sal { background: var(--a-tint); border-radius: 8px; }
.sc-d-band .sc-sal th, .sc-d-band .sc-sal td { border-bottom-color: var(--a-line); }
.sc-d-band .sc-sal .sc-gross td { background: none; }

@media (max-width: 960px) {
  .sc-grid { grid-template-columns: minmax(0, 1fr); }
  .sc-side { position: static; }
  .sc-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #1f1d1a; color: #fff; padding: 10px 16px; align-items: center; gap: 12px; box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
  .sc-mbar small { opacity: .75; display: block; font-size: 11.5px; }
  .sc-mbar b { font-size: 15px; color: var(--gold-hi); }
  .sc-mbar .btn { margin-left: auto; padding: 9px 14px; font-size: 14px; }
  body { padding-bottom: 64px; }
}
@media (max-width: 640px) {
  .sc-g3, .sc-g4 { grid-template-columns: 1fr 1fr; }
  .sc-tpls { grid-template-columns: repeat(3, 1fr); }
  .sc-kinds { grid-template-columns: 1fr 1fr; }
  .sc-toggles { grid-template-columns: 1fr; }
  .sc-sec { padding: 0 12px; }
}
@media print {
  @page { margin: 0; }
  body { padding: 0 !important; background: #fff; }
  body > *:not(main), main > *:not(.sc), .sc-form, .sc-pvbar, .sc-acts, .sc-msg, .sc-saved, .sc-mbar, .sc-warn, .sc-honest, .pagehead { display: none !important; }
  .sc, .sc-grid, .sc-side, .sc-pv-box, .sc-pvwrap { display: block !important; padding: 0 !important; margin: 0 !important; background: #fff !important; overflow: visible !important; height: auto !important; }
  .sc-host { transform: none !important; }
  .sc-page { box-shadow: none; margin: 0 auto !important; }
  .sc-page, .sc-page * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* html2canvas measures text with a hidden div on <body>; site.css makes img a block */
body > div[style*="hidden"] > img { display: inline !important; }
