/* =====================================================================================================
   Article print layout (board PrintPreview). Loaded by content/article with media="print", so Ctrl P / ⌘ P and the
   Print button give the same result. Print-only parts: content/partials/article-print (.print-only, .print-head,
   .print-restricted, .print-meta, .print-foot, .print-links, .print-stamp); the link numbers (.print-ref) and the
   list are added on beforeprint by public/js/article-actions.js. Ink: text #0a1f44, rules #7d89a3 at 1px or #0a1f44
   at 1.5px. No new colours.
   ===================================================================================================== */

@page { margin: 18mm 16mm; }

html, body { background: #ffffff !important; }
body { display: block; min-height: 0; font-size: 11pt; color: #0a1f44; }
.site-main { display: block; }

/* What goes: header, both rails, breadcrumb, the actions, section links, "On this page", the feedback question,
   previous and next, the footer, toasts, tooltips, menus; on restricted pages the navy banner (one plain line instead). */
.skip-link, .site-header, .site-footer, .article-rail, .article-aside, .breadcrumb, .article-pop, .article-actions,
.article-keep, .section-link, .feedback, .pager, .lhc-toast, .share-pop, .share-scrim, .article-private,
.article__meta, .act-tip, .code-card__copy, .code-card__hint { display: none !important; }

.print-only { display: block !important; }
.print-links[hidden] { display: none !important; }

.container, .page, .docs-layout, .docs-layout__main { display: block !important; max-width: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; }
.article { display: block; padding: 0; border: 0; box-shadow: none; border-radius: 0; background: none; }
.article > * + * { margin-top: 14pt; }
.article__head, .article__intro { display: block; }
.article__intro > * + * { margin-top: 6pt; }
.article h1 { font-size: 22pt; color: #0a1f44; }
.lead { max-width: none; font-size: 12pt; color: #364a63; }

/* Print head: "Laramin Help Center" and space › category on one ruled line. */
.print-head { display: flex !important; justify-content: space-between; gap: 12pt; padding-bottom: 6pt; margin-bottom: 12pt; border-bottom: 1.5px solid #0a1f44; font-size: 9pt; font-weight: 700; color: #0a1f44; }
.print-restricted { margin: 0 0 12pt; padding: 6pt 0; border-block: 1px solid #7d89a3; font-size: 10pt; font-weight: 700; }
.print-meta { display: grid !important; grid-template-columns: max-content 1fr; gap: 2pt 12pt; margin: 8pt 0 0; font-size: 9.5pt; }
.print-meta > div { display: contents; }
.print-meta dt { font-weight: 700; color: #0a1f44; }
.print-meta dd { margin: 0; overflow-wrap: anywhere; color: #364a63; }

/* The language notices stay, as one plain line. */
.notice--language { display: block; padding: 0 0 6pt; background: none; border-bottom: 1px solid #7d89a3; border-radius: 0; font-size: 9.5pt; color: #364a63; }
.notice--language .notice__icon, .article-notice__original { display: none; }

/* Applies-to: a ruled 2 × 2 grid without fills. */
.applies { background: none; border: 1px solid #7d89a3; border-radius: 0; break-inside: avoid; }
.applies > div { border-top-color: #7d89a3; padding: 6pt 8pt; }

/* Prose */
.prose { font-size: 11pt; line-height: 1.55; color: #0a1f44; }
.prose p, .prose li, .prose > blockquote { max-width: none; }
.prose a { color: #0a1f44; }
.print-ref { font-size: 8pt; vertical-align: super; line-height: 0; margin-inline-start: 1pt; color: #364a63; }
.prose > .section-head, .prose > h2, .prose > h3 { break-after: avoid; page-break-after: avoid; }
.prose > .section-head > h2, .prose > .section-head > h3 { display: block; }
.prose > .section-head { margin-top: 16pt; }
.prose > ol > li, .steps > li { break-inside: avoid; }
.prose > ol > li::before, .steps > li::before { background: #ffffff !important; color: #0a1f44 !important; border: 1.5px solid #0a1f44; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.prose img { break-inside: avoid; max-width: 100%; }
p, li { orphans: 3; widows: 3; }

/* Callouts: a 4px start border and the bold word carry the meaning without background colours. */
.callout { background: none !important; border-inline-start: 4px solid #0a1f44; border-radius: 0; padding: 4pt 0 4pt 10pt; color: #0a1f44; break-inside: avoid; }
[dir="rtl"] .callout { padding: 4pt 10pt 4pt 0; }

/* Code: a white card with a thin rule; the label kept, Copy and line numbers gone, lines wrap (help.css). */
.code-card { background: #ffffff !important; border: 1px solid #7d89a3; box-shadow: none; break-inside: avoid; }
.code-card__head { background: #ffffff !important; border-bottom: 1px solid #7d89a3; }
.code-card__body, .code-card__scroll { background: #ffffff !important; overflow: visible !important; }

/* Tables: the header row repeats on each page and rows never split; a table never scrolls on paper. */
.prose .table-scroll { overflow: visible !important; box-shadow: none !important; background: none !important; }
.prose thead { display: table-header-group; }
.prose tr { break-inside: avoid; }

/* The end: the links with their addresses, then the printed date. */
.print-foot { margin-top: 18pt !important; padding-top: 8pt; border-top: 1.5px solid #0a1f44; font-size: 9.5pt; }
.print-links { break-inside: avoid; }
.print-links__title { font-size: 11pt; margin: 0 0 4pt; }
.print-links__list { margin: 0 0 10pt; padding: 0; list-style: none; }
.print-links__list li { overflow-wrap: anywhere; }
.print-stamp { margin: 0; color: #364a63; }
