/* Print: the worksheet and the cost ledger are meant to leave the screen. */

@page { margin: 16mm; }

.ap-header, .ap-footer, .ap-navtoggle, .ap-worksheet__tools, .ap-actions { display: none !important; }

body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.45; }
.ap-section { border-top: 1px solid #999; padding: 10mm 0; break-inside: avoid; }
.ap-section--dark { --on-dark: #000; --on-dark-2: #333; background: #fff !important; color: #000 !important; }
.ap-section--dark .ap-points li { border-color: #999 !important; }
.ap-eyebrow, .ap-tag, .ap-num, .ap-figure__caption { color: #444 !important; }
.ap-figure picture { aspect-ratio: auto; }
.ap-figure img { max-height: 70mm; object-fit: contain; }
.ap-table { min-width: 0; font-size: 9pt; }
.ap-table th, .ap-table td { padding: 3pt 6pt 3pt 0; }
.ap-checklist li { padding: 4pt 0; break-inside: avoid; }
.ap-checklist input { width: 11pt; height: 11pt; }
.ap-checklist__desc { color: #333 !important; }
.ap-prose, .ap-ledger, .ap-columns { max-width: none; }
.ap-page--price .ap-section:not(.ap-section--localNav), .ap-section--questions,
.ap-article .ap-prose__section { display: block !important; }
.ap-section--localNav, .ap-section--journey, .ap-industrial__dispatch { display: none !important; }
.ap-industrial { display: block; }
.ap-industrial .ap-display { font-size: 34pt; }
.ap-page--price .ap-head > .ap-num { font-size: 20pt; }
a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }

/* The worksheet's print action should produce the worksheet alone. */
.ap-page--problem main > section:not(.ap-section--checklist) { display: none !important; }
.ap-page--problem::before { content: 'Allsidia Avfallsteknik · hej@allsidia.se'; display: block; margin-bottom: 8mm; font-size: 10pt; }
.ap-page--problem .ap-section--checklist { border: 0; padding: 0; background: #fff !important; }
.ap-page--problem .ap-section--checklist > * { padding-inline: 0; }
.ap-page--problem .ap-head { display: block; margin-bottom: 6mm; }
.ap-page--problem .ap-head > .ap-num, .ap-page--problem .ap-worksheet .ap-note { display: none; }
