.print-report-header{display:none}
.report-section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:10px}
.report-section-heading h2{margin:0}
.section-description{margin:8px 0 18px;max-width:75ch}
.print-help{max-width:250px;margin:0;font-size:11px;color:var(--muted)}
.history-toggle{margin:0 0 8px}
#changes-content{margin-top:18px}
@media print{
 @page{size:auto;margin:12mm}
 html,body{color-scheme:light;background:#fff!important;color:#243b34;font-size:11pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .shell,.workspace{display:block;width:auto;margin:0;min-height:0}
 main{padding:0;max-width:none}
 main>:not(#page-report),.sidebar,.topbar,.skip,.toast,footer,dialog{display:none!important}
 body #page-report{display:block!important}
 #page-report>.report-heading,#report-status,.action-stack,.visit-controls,.balance-controls,.date-graph-toolbar,.graph-layout-switch,.history-toggle,.print-help,.section-print,.narrative-end{display:none!important}
 #page-report .print-report-header{display:block!important;margin:0 0 8mm;border-bottom:1px solid #cbd3c9;padding-bottom:4mm}
 .print-report-header h1{font:400 22pt/1.2 Georgia,serif;letter-spacing:0;margin:0 0 3mm}
 .print-report-header p{margin:0;font-size:10pt}
 #page-report .card{border:0;border-radius:0;padding:0;margin:0 0 7mm;break-inside:auto}
 #page-report .narrative-card{break-before:auto}
 #page-report h2{font-size:18pt;break-after:avoid}
 #page-report h3,.guidance-choice{break-after:avoid}
 #page-report .section-description{font-size:11pt;line-height:1.5;margin-bottom:5mm}
 #page-report .narrative-copy p,#page-report .change-plan-item li{font-size:10.5pt;line-height:1.55;orphans:3;widows:3}
 .patient-guidance,.change-plan-item,.change-topic,.overall-date-row,.history-score-row,.balance-row{break-inside:avoid}
 .patient-guidance h3,.guidance-choice{font-size:11pt}
 #page-report .change-plan-item h3{font-size:15pt;font-weight:700;line-height:1.3;margin-bottom:3mm}
 .guidance-choice{min-height:0;margin-bottom:2mm}
 .guidance-choice input{width:4mm;height:4mm;box-shadow:none}
 .guidance-sources{font-size:8.5pt}
 .guidance-sources a{overflow-wrap:anywhere}
 #page-report .balance-chart{font-size:10pt;overflow:visible}
 .date-profile-graphs.compare-profiles{display:block}
 .date-profile{margin-bottom:7mm;break-inside:auto}
 .table-wrap{overflow:visible}
 #page-report table{min-width:0;width:100%}
 #page-report details:not([open]){display:none}
 #changes-content[hidden]{display:none!important}
 body[data-print-scope="summary"] #page-report>:not(#patient-summary-section):not(.print-report-header){display:none!important}
 body[data-print-scope="changes"] #page-report>:not(#making-changes):not(.print-report-header){display:none!important}
}
