/* Print-specific styles for references */

@media print {
    /* Hide non-essential elements */
    .site-header,
    .site-footer,
    .breadcrumbs,
    .sheet-sidebar,
    .sheet-meta,
    .related-sheets,
    .copy-code-btn {
        display: none !important;
    }
    
    /* Reset layout */
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .sheet-layout {
        display: block;
    }
    
    /* Page breaks */
    .content-section {
        page-break-inside: avoid;
    }
    
    h1 {
        font-size: 24pt;
        margin-bottom: 12pt;
    }
    
    h2 {
        font-size: 18pt;
        margin-top: 18pt;
        margin-bottom: 9pt;
        page-break-after: avoid;
    }
    
    /* Code blocks */
    pre {
        border: 1px solid #ddd;
        page-break-inside: avoid;
        font-size: 10pt;
        padding: 10pt;
        background: #f5f5f5 !important;
    }
    
    code {
        color: black !important;
    }
    
    /* Links */
    a {
        color: black;
        text-decoration: none;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }
    
    /* Remove shadows and transitions */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
        transition: none !important;
    }
}
