/* Enginerds Compass — print / PDF stylesheet (v2 §3 Phase 2).
   When the user prints a Compass page (→ Save as PDF), hide the app chrome and interactive controls so the
   measurements + sources land cleanly on the page. Loaded globally; only active under @media print. */
@media print {
    /* App chrome and navigation. */
    nav, .navbar, header, footer,
    .compass-subnav, .ai-command-trigger, .ai-command-palette,
    .compass-statusbar .compass-plan {
        display: none !important;
    }

    /* Compass interactive controls that don't belong in a printed artifact. */
    .compass-export, .cbrief-trigger, .cbrief-actions, .cnote-actions,
    .onto-toolbar, .bridge-toolbar, .onto-controls, .bridge-viewtabs,
    .compass-onboard, .compass-onboard-skip, .wl-digest {
        display: none !important;
    }

    /* Let the content use the full page; drop dark hero backgrounds for ink economy. */
    .ai-page, .compass-shell { max-width: none !important; padding: 0 !important; }
    .ai-hero { background: none !important; color: #0f172a !important; box-shadow: none !important; }
    .ai-hero * { color: #0f172a !important; }

    a { text-decoration: none; color: #0f172a; }
    body { background: #fff !important; }

    /* Avoid breaking cards/tables awkwardly across pages. */
    .ai-bento-cell, .lens-card, .frc-metric, table { break-inside: avoid; }
}
