/* IRS Design System — Print */

@media print {
  :root { --ds-primary: #000; }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.4;
  }

  .site-header,
  .site-footer,
  .admin-nav,
  .admin-shell__sidebar,
  .btn,
  .flash-stack,
  .notification,
  .skip-link,
  .filter-bar,
  .form__actions,
  .no-print {
    display: none !important;
  }

  .admin-shell { display: block; }
  .admin-shell__main { padding: 0; max-width: none; }
  .container, .container--wide { max-width: none; padding: 0; }

  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
  a[href^="/"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }

  .card,
  .table,
  .terms-box {
    border: 1px solid #000;
    box-shadow: none;
    page-break-inside: avoid;
    background: #fff;
  }

  .table th, .table td {
    border-bottom: 1px solid #000;
    padding: 6pt 8pt;
  }
  .table th { background: #eee; color: #000; }

  h1, h2, h3, h4, h5, h6 { color: #000; page-break-after: avoid; }
  h1 { font-size: 18pt; }
  h2 { font-size: 14pt; }
  h3 { font-size: 12pt; }

  .badge { border: 1px solid #000; background: #fff !important; color: #000 !important; }

  img { max-width: 100%; page-break-inside: avoid; }

  @page { margin: 1.5cm; }
}
