/*
 * Shared styling for the printable "document" guides (sample policy, compliance checklist,
 * speak-up guide). Extracted verbatim from the identical inline blocks those pages carried;
 * colours reference the design tokens. Page-specific rules stay in the page.
 *
 * The Training guide deliberately does NOT use this: its base layout genuinely differs
 * (full-width with a background rather than a centred document), so folding it in here
 * would change how it looks.
 */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    color: var(--color-brand-slate);
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.section {
    margin-bottom: 30px;
}

.highlight-box {
    background-color: var(--color-surface);
    border-left: 4px solid var(--color-brand-slate);
    padding: 15px;
    margin: 20px 0;
}

.warning {
    color: var(--color-danger);
    font-weight: bold;
}

.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
}

.related-links {
    list-style: none;
    padding-left: 0;
}

.related-links li {
    margin-bottom: 6px;
}

.related-links a {
    color: var(--color-brand-slate);
    font-weight: 500;
}

/* Print affordance: fixed on desktop, inline on narrow screens, hidden when printing. */
.print-button {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: var(--color-brand-slate);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 1000;
}

.print-button:hover {
    background-color: #34495e;
}

@media (max-width: 768px) {
    .print-button {
        position: static;
        display: block;
        margin: 0 auto 20px auto;
        width: fit-content;
    }
}

.no-print {
    display: block;
}

@media print {
    .no-print {
        display: none;
    }
}
