/* vccs-ai-print.css
 * Loaded with media="print" only, after core.css and whichever adapter
 * is active. Scoped beneath .vccs-ai like every other file here.
 */

@media print {
  .vccs-ai-skip-link,
  .vccs-ai-accordion-controls,
  .vccs-ai-helpfulness,
  .vccs-ai-button,
  .vccs-ai a.vccs-ai-button,
  [data-vccs-ai-print-hide] {
    display: none !important;
  }
  /* the four !important above target print-only "controls that have no
     printed meaning" (skip link, expand/collapse toggles, helpfulness
     widget, buttons) — nothing about content is suppressed here. */

  .vccs-ai-band, .vccs-ai-band--primary, .vccs-ai-band--accent {
    background: none !important;
    color: #000 !important;
    padding: 12pt 0 !important;
  }
  .vccs-ai-band--primary *, .vccs-ai-band--accent * { color: #000 !important; }

  /* expand every disclosure so nothing essential is hidden on paper */
  .vccs-ai-accordion-panel[hidden] {
    display: block !important;
  }
  .vccs-ai-accordion-trigger { cursor: default; }
  .vccs-ai-accordion-icon { display: none; }

  /* preserve link destinations as visible text */
  .vccs-ai a[href^="http"]::after,
  .vccs-ai a[href^="/"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    font-weight: 400;
    color: #444;
  }
  .vccs-ai a[href^="#"]::after { content: ""; }

  .vccs-ai-card { border: 1px solid #999 !important; break-inside: avoid; }
  .vccs-ai-accordion-item { border: 1px solid #999 !important; break-inside: avoid; }
  .vccs-ai-table tr { break-inside: avoid; }
  .vccs-ai h1, .vccs-ai h2, .vccs-ai h3, .vccs-ai h4 { break-after: avoid; }

  /* status, version, dates, and source attribution stay visible and
     legible in black on white regardless of the band they printed on */
  .vccs-ai-status-banner, .vccs-ai-status-banner-grid dt, .vccs-ai-status-banner-grid dd,
  .vccs-ai-changelog, .vccs-ai-document-link-body {
    color: #000 !important;
    border-color: #999 !important;
    background: none !important;
  }
}
