.sf-boot { min-height: min(70vh, 32rem); }
html.sf-case .sf-boot { min-height: 0; }
.sf-boot-actions[hidden] { display: none; }
html.sf-case:not(.sf-boot-failed) #secureflow-case-content { display: none; }
#secureflow-case-content { color: #eee; background: #101b2c; padding: .6rem 1rem; }
#secureflow-case-content[hidden] { display: none; }
#secureflow-case-content summary { cursor: pointer; }
#secureflow-case-content .case-shell { max-width: 900px; margin: auto; padding: 1rem; }
#secureflow-case-content h1 { font-size: 1.4rem; margin: 1rem 0; }
#secureflow-case-content p { line-height: 1.7; }
#secureflow-case-content a { color: #77c5ff; }
html.sf-case #secureflow-case-content {
  position: fixed; bottom: 8px; left: 8px; z-index: 60;
  max-width: min(650px, calc(100vw - 16px)); border: 1px solid #3e526d;
  border-radius: 8px; font-size: 13px;
}
html.sf-case #secureflow-case-content[open] { max-height: 65dvh; overflow: auto; }
html.sf-case #secureflow-app-host:has(#app:empty) { overflow: auto; }
@media print { #secureflow-case-content { display: none !important; } }
