/* Shared editorial print system for user-generated CommonHelpSource documents. */
@page { size: letter; margin: .58in .62in .62in; }

@media print {
  :root { --gp-ink:#172522; --gp-navy:#294b6a; --gp-teal:#386b68; --gp-rust:#b84933; --gp-gold:#d8a94c; --gp-cream:#f6f1e7; --gp-paper:#fffdf8; --gp-panel:#e7f0ee; --gp-prompt:#f8f1df; }
  html,body { background:var(--gp-cream)!important; color:var(--gp-ink)!important; }
  body { font-family:Inter,Arial,sans-serif!important; font-size:14pt; line-height:2; }
  .assessment-document-preview,.draft-output,.pn-document,.treatment-plan-output,.report { width:100%!important;max-width:none!important;margin:0!important;padding:24pt!important;border:1pt solid #ded5c5!important;border-radius:0!important;box-shadow:none!important;background:var(--gp-paper)!important; }
  .assessment-document-preview::before,.draft-output::before,.pn-document::before,.treatment-plan-output::before,.report::before { content:"COMMONHELPSOURCE  /  FIELD RESOURCE";display:block;margin:-24pt -24pt 24pt;padding:16pt 24pt 14pt;border-top:5pt solid var(--gp-rust);border-bottom:2pt solid var(--gp-gold);color:var(--gp-navy);background:var(--gp-cream);font-family:Georgia,"Times New Roman",serif;font-size:15pt;font-weight:700;letter-spacing:.035em;text-align:center; }
  .assessment-document-preview h1,.assessment-document-preview>h2,.draft-output>h2,.pn-document-header h2,.treatment-plan-output>h1,.treatment-plan-output>h2,.report-head h2 { margin:0 0 14pt!important;color:var(--gp-navy)!important;font-family:Georgia,"Times New Roman",serif!important;font-size:24pt!important;line-height:1.08!important; }
  .assessment-document-preview h2:not(:first-child),.assessment-document-preview h3,.draft-section h3,.pn-client-summary h3,.treatment-plan-output .plan-section-header,.treatment-plan-output h3,.report h3 { break-after:avoid;margin:19pt 0 8pt!important;padding:0 0 7pt!important;border:0!important;border-bottom:2pt solid var(--gp-gold)!important;border-radius:0;color:var(--gp-navy)!important;background:transparent!important;font-family:Georgia,"Times New Roman",serif!important;font-size:14pt!important;font-weight:700!important;line-height:1.2!important; }
  .participant-prompt,.pn-review-note,.disclaimer,[data-assessment-privacy-notice] { padding:10pt 12pt!important;border:1pt solid #e2d5b8!important;border-left:4pt solid var(--gp-rust)!important;color:var(--gp-ink)!important;background:var(--gp-prompt)!important; }
  p,li,dd { orphans:3;widows:3; }
  h1,h2,h3,h4 { break-after:avoid; }
  article,section,.diagnosis-card,.listing,.pn-client-summary { break-inside:avoid-page; }
  a { color:var(--gp-navy)!important;text-decoration:none!important; }
  .no-print,button,.assessment-preview-label { display:none!important; }
}
