/* Professional print styling for troubleshooting card exports. */

.troubleshooting-card-export {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  line-height: 1.55;
  max-width: 8.5in;
  margin: 0 auto;
}

.troubleshooting-card-export .print-page-header,
.troubleshooting-card-export .print-page-footer {
  display: none;
}

.troubleshooting-card-export .artifact-shell {
  background: #ffffff;
  border: 1px solid #dbe2f0;
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
}

.troubleshooting-card-export .artifact-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: #475569;
}

.troubleshooting-card-export .asset-header {
  margin: 0.35rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1.2;
  color: #0f172a;
}

.troubleshooting-card-export .asset-subheader {
  margin: 0.3rem 0 0.6rem;
  font-size: 0.95rem;
  color: #334155;
}

.troubleshooting-card-export .issue-title {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #1e293b;
}

.troubleshooting-card-export .section {
  margin-top: 1rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

.troubleshooting-card-export .section h2 {
  margin: 0 0 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.25;
  color: #0f172a;
}

.troubleshooting-card-export .section p {
  margin: 0.35rem 0;
}

.troubleshooting-card-export .section ol,
.troubleshooting-card-export .section ul {
  margin: 0.4rem 0 0.5rem 1.2rem;
}

.troubleshooting-card-export .section li {
  margin: 0.25rem 0;
}

.troubleshooting-card-export .callout-box {
  border: 1px solid #d0d5dd;
  border-radius: 2px;
  background: #f8fafc;
  padding: 0.65rem 0.85rem;
}

.troubleshooting-card-export .export-provenance {
  margin-top: 1.1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #cbd5e1;
  font-size: 0.82rem;
  color: #475569;
}

.troubleshooting-card-export .export-provenance p {
  margin: 0.2rem 0;
}

.troubleshooting-card-export .export-provenance .provenance-title {
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #64748b;
}

@media print {
  @page {
    size: Letter;
    margin: 0.75in;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  nav,
  .demo-banner,
  .app-footer,
  .page-header,
  .btn,
  button,
  .flash,
  .card > .card-meta,
  form[action*="mark_placed"] {
    display: none !important;
  }

  main,
  .card,
  #export-output {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  .troubleshooting-card-export {
    max-width: none;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  .troubleshooting-card-export .artifact-shell {
    border: 0;
    padding: 0;
    border-radius: 0;
  }

  .troubleshooting-card-export .print-page-header,
  .troubleshooting-card-export .print-page-footer {
    display: block;
    color: #000;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 9pt;
  }

  .troubleshooting-card-export .print-page-header {
    border-bottom: 1px solid #999;
    padding-bottom: 6pt;
    margin-bottom: 10pt;
  }

  .troubleshooting-card-export .print-page-footer {
    border-top: 1px solid #999;
    padding-top: 6pt;
    margin-top: 10pt;
  }

  .troubleshooting-card-export .section {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .troubleshooting-card-export .callout-box {
    border-color: #999;
    background: #fff;
  }

  .troubleshooting-card-export .export-provenance {
    border-top-color: #999;
    color: #000;
    font-size: 9pt;
  }
}
