/* No page-margin boxes for the browser's date, title, URL or page count. */
@page { margin: 0; }
:root, body { background: white; color: #172a31; }
body { margin: 0; padding: 0 15mm; }
body > :not(main),
#main > :not(.workspace, .area-page, .quote-grid),
.workspace > :not(#results),
#results > :not(.result-title, #result-body, .print-empty),
.area-page > :not(.area-work),
.area-work > :not(.area-result),
.area-result > :not(h2, [aria-live], .print-empty),
.quote-grid > :not(.quote-side),
.quote-side > :not(#q-preview) { display: none !important; }

#main, .workspace, .area-page, .area-work, .quote-grid, .quote-side {
  display: block; margin: 0; padding: 0; width: auto; max-width: none;
  background: transparent; border: 0; box-shadow: none;
}
#results, .area-result, #q-preview {
  margin: 0; padding: 13mm 0; border: 0; border-radius: 0; background: white;
  box-shadow: none; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
#results .screen-title, #results .grain, [data-screen-only],
[data-print-empty] > #result-body, [data-print-empty] > [aria-live] { display: none !important; }
#results .print-title { display: block !important; color: inherit; }
[data-print-empty] > .print-empty { display: block !important; }
.result-title h2, .area-result > h2, #q-preview h3 {
  margin: 0 0 5mm; font-size: 20pt; font-weight: 600; line-height: 1.25;
}
.comparison-table { margin: 5mm 0; }
.quote-sheet .pair, .quote-line { break-inside: avoid; }
.quote-sheet h3, .quote-sheet .qmeta { break-after: avoid; }
.quote-sheet small { display: block; }

