/* HF160: successive project stages stay visible above the saved analysis. */
body #hf153SummaryDetails[open]{max-height:52%;flex:0 1 auto}
body #hf153SummaryDetails #hf144ProjectDetail{max-height:none;overflow:visible;margin:0}
body #hf145ProjectSummary:not(:has(#hf152SummaryAnalysis)) #hf153SummaryDetails,body #hf145ProjectSummary:has(#hf152SummaryAnalysis[data-hf153-report-state=empty]) #hf153SummaryDetails,body #hf145ProjectSummary:has(#hf152SummaryAnalysis[data-hf153-report-state=error]) #hf153SummaryDetails{max-height:none;flex:1 1 auto}
.hf160-phase-section{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #dbe4ee;border-left:3px solid #38bdf8;border-radius:8px;min-width:0;background:#fff}
.hf160-phase-section+.hf160-phase-section{margin-top:2px}
body .hf160-phase-heading{display:flex;align-items:center;gap:8px;margin:0 0 2px;font-size:16px;color:#17365d;line-height:1.4}
.hf160-phase-heading>span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;font-size:13px;background:#e0f2fe;color:#0369a1;flex:0 0 auto}
.hf160-phase-heading>small{font-size:12px;font-weight:400;margin-left:auto;color:#64748b}
body #hf144ProjectDetail .hf142-date-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body #hf144ProjectDetail .hf142-date-field{min-width:0}
body #hf144ProjectDetail .hf142-date-field input{min-width:0;font-size:14px;min-height:40px;box-sizing:border-box;width:100%}
body #hf144ProjectDetail .hf142-date-field>span,body #hf144ProjectDetail .hf142-created{font-size:14px}
body #hf144ProjectDetail .hf142-date-field small,body #hf144ProjectDetail .hf142-phase-message{font-size:12px}
@media(max-width:760px){body #hf144ProjectDetail .hf142-date-grid{grid-template-columns:1fr}.hf160-phase-section{padding:10px}}
@media print{body #hf153SummaryDetails[open],body #hf153SummaryDetails #hf144ProjectDetail{max-height:none;overflow:visible}.hf160-phase-section{break-inside:avoid}}
