/* "Print / Save as PDF" (SPEC §6): the article and its address, and nothing else. */

.top-bar,
.site-header nav,
.site-footer,
.skip-link,
.breadcrumb,
.article-actions,
.action-status,
.related,
.also-in,
.need-help,
.status-banner,
.search-form,
.header-search,
.badge {
    display: none !important;
}

body {
    display: block;
    color: #000;
    font-size: 11pt;
    line-height: 1.45;
}

.wrap,
.article {
    max-width: none;
    padding: 0;
}

.site-header {
    border-bottom: 1px solid #999;
    margin-bottom: 12pt;
}

.site-header .wrap {
    padding: 0 0 8pt;
}

.logo span {
    color: #000;
}

h1,
h2,
h3,
h4 {
    color: #000;
    break-after: avoid;
}

h1 {
    font-size: 22pt;
}

a {
    color: #000;
}

/* Browsers print no background colours, so a button's white words would be on white paper. */
.button {
    color: #000;
    background: #fff;
    border: 1px solid #000;
}

.article-body a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    word-break: break-all;
}

.article-body pre {
    background: #fff;
    color: #000;
    border: 1px solid #999;
    white-space: pre-wrap;
}

.article-body .note,
.article-body .warning,
.article-body .tip,
.article-body .settings,
.article-body table,
.article-body img,
.article-body ol.steps > li {
    break-inside: avoid;
}

.article-body .note,
.article-body .warning,
.article-body .tip,
.article-body .settings {
    background: #fff;
    color: #000;
    border: 1px solid #999;
    border-left-width: 5px;
}

.article-body ol.steps > li::before {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

.print-only {
    display: block;
    margin-top: 18pt;
    padding-top: 6pt;
    border-top: 1px solid #999;
    font-size: 9pt;
}
