/* Printing: only the tool's form values and result come out. Template sheets print alone, at true size. */
@page{margin:12mm}
header.wp-block-template-part,footer.wp-block-template-part,.bqs-coming-soon-banner,.bqt-crumbs,.bqt-snippet,.bqt-byline,.bqt-actions,.bqt-sheet-actions,.bqt-ref,.bqt-intro,.bqt-summary,.bqt-body,.bqt-cta,.bqt-faq,.bqt-sources,.bqt-share,.bqt-disclaimer,.bqt-related,.bqt-embed-credit,.bqt-embed-title,.bqt-error,.bqt-hint,.bqt-row-units{display:none!important}
.bqt{max-width:none;color:#000;font-size:11pt}
.bqt-tool{border:0;box-shadow:none;padding:0;margin:0;display:block!important}
.bqt-card{background:none;padding:0}
.bqt select,.bqt-input,.bqt input[type="text"]{border:0!important;min-height:0}
.bqt-affix{background:none}
.bqt-diagram{break-inside:avoid}
.bqt-diagram svg{max-height:110mm}
.wc-block-mini-cart,.wc-block-mini-cart__drawer{display:none!important}

/* A tool with a template sheet prints only the sheet, positioned at the top-left corner of the paper. */
body:has(.bqt-sheet-svg) .bqt-h1,
body:has(.bqt-sheet-svg) .bqt-form,
body:has(.bqt-sheet-svg) .bqt-card,
body:has(.bqt-sheet-svg) .bqt-flag{display:none!important}
body:has(.bqt-sheet-svg){margin:0!important;padding:0!important}
html:has(.bqt-sheet-svg){margin:0!important;padding:0!important}
body:has(.bqt-sheet-svg) .wp-site-blocks,
body:has(.bqt-sheet-svg) main,
body:has(.bqt-sheet-svg) .entry-content,
body:has(.bqt-sheet-svg) .bqt,
body:has(.bqt-sheet-svg) .bqt-tool,
body:has(.bqt-sheet-svg) .bqt-result,
body:has(.bqt-sheet-svg) .bqt-embed{margin:0!important;padding:0!important;max-width:none!important;width:auto!important}
.bqt-sheet-wrap{max-width:none;border:0;border-radius:0;margin:0;overflow:visible;break-inside:avoid}
.bqt-sheet-svg{display:block;width:var(--sheet-w,auto);height:var(--sheet-h,auto);max-width:none}
