﻿.planning-report { max-width:100%; }
.report-text { white-space:pre-wrap; overflow-wrap:anywhere; }
.report-cell small { color:#536572; }
.report-section { margin:1.5rem 0; }
.report-reference { border-top:1px solid #ccd6dc; }
.report-controls { display:flex; flex-wrap:wrap; gap:.7rem; align-items:center; }
.report-controls h2 { flex-basis:100%; }
.report-quick .report-detailed { display:none; }
.planning-report .study-table-wrap { overflow-x:auto; max-width:100%; }
@media print {
 @page { size:A4 landscape; margin:14mm; }
 body { background:white!important; color:black!important; font-size:10pt; }
 body > header, .plan-picker, .thesis-stages, #thesisStatus, #staleNotice,
 .thesis-stage:not(#stage6), .report-controls, button, input, select, textarea { display:none!important; }
 #stage6, #thesisReport, .report-quick .report-detailed { display:block!important; }
 main.thesis-workspace, #stage6 { width:100%; max-width:none; margin:0; padding:0; border:0; box-shadow:none; }
 .study-table-wrap { overflow:visible!important; }
 .planning-report table { width:100%; min-width:0!important; table-layout:fixed; font-size:8pt; }
 .planning-report td, .planning-report th { min-width:0; overflow-wrap:anywhere; padding:4px; vertical-align:top; }
 thead { display:table-header-group; }
 h1,h2,h3,h4,summary { break-after:avoid; page-break-after:avoid; }
 tr, .report-reference, .evidence-chart { break-inside:avoid; page-break-inside:avoid; }
 .report-section { break-inside:auto; }
 details > * { display:block!important; }
 details::details-content { display:block!important; content-visibility:visible!important; }
 .evidence-chart { height:65mm; max-width:100%; }
 canvas { max-width:100%!important; }
 a { color:black; text-decoration:none; }
 blockquote { margin:4px; }
}
