/* Reglas de impresión institucional SENA en hoja blanca tamaño carta */
@media print {
  @page {
    size: letter portrait;
    margin: 1.5cm;
  }

  :root, html, html[data-theme="oscuro"], body {
    background-color: #FFFFFF !important;
    color: #0F172A !important;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .toast-region,
  .no-print,
  .btn {
    display: none !important;
  }

  .page-shell {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .card,
  .card-elevated,
  .notice-banner,
  .status-box {
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid #94A3B8 !important;
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1rem !important;
  }

  .code-block {
    background-color: #F8FAFC !important;
    color: #0F172A !important;
    border: 1px solid #94A3B8 !important;
    white-space: pre-wrap !important;
  }

  a {
    color: #0F172A !important;
    text-decoration: underline !important;
  }
}
