.bbhb-chapter{border:1px solid #dce5ed;border-radius:8px;background:#fff;margin:10px 0;overflow:hidden}.bbhb-chapter summary{cursor:pointer;padding:15px 18px;font-weight:650;color:#15344e}.bbhb-chapter[open] summary{border-bottom:1px solid #e5ebf0;background:#f5f8fa}.bbhb-chapter-fields,.bbhb-prose{padding:18px}.bbhb-chapter-fields>label:not(.bbhb-check){display:block;font-weight:600}.bbhb-chapter-fields input:not([type=checkbox]){display:block;width:100%;margin:6px 0 12px}.bbhb-check{display:flex!important;align-items:center;gap:8px;margin:14px 0;font-size:13px}.bbhb-check input{margin:0}.bbhb-hint{background:#f4f7fa;border-left:3px solid #15344e;padding:10px 14px;font-size:13px;color:#526d83}.bbhb-chapter textarea{width:100%;box-sizing:border-box}.bbhb-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.bbhb-languages{display:flex;gap:12px;white-space:nowrap}.bbhb-languages [aria-current]{font-weight:700;border-bottom:2px solid #ed1232}.bbhb-publication{font-size:13px;color:#526d83}.bbhb-reader{padding:20px}.bbhb-reader button{font-size:13px}.bbhb-prose p{font-size:15px;line-height:1.65}.bbhb-prose img{max-width:100%;height:auto}.bbhb-preview{width:min(850px,90vw);max-height:85vh;padding:24px;border:1px solid #dce5ed;border-radius:12px;color:#15344e}.bbhb-preview::backdrop{background:rgb(15 36 55 / .65)}.bbhb-preview [data-handbook-close]{float:right}.bbhb-preview .bbhb-prose{white-space:pre-wrap}[data-handbook-status].is-error{color:#b32236}.bbv2-handbook-workspace .efp-org-panel{margin-top:18px}@media(max-width:640px){.bbhb-reader{padding:10px}.bbhb-chapter-fields{padding:12px}.bbhb-languages{margin-top:12px}}

.bbhb-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;padding:18px;background:#f5f8fa;border-radius:8px}.bbhb-facts dt{font-size:12px;font-weight:600;color:#526d83}.bbhb-facts dd{margin:4px 0 0;font-size:14px;color:#15344e}

.bbhb-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.bbhb-detail-grid label{font-size:13px;font-weight:600}.bbhb-prose h4{margin-top:24px}.bbhb-prose li{margin-bottom:8px}

/* Group operational settings instead of mixing controls in an auto-flow grid. */
.bbhb-detail-grid{display:block}
.bbhb-detail-section{min-width:0;margin:0 0 22px!important;padding:18px!important;border:1px solid #dce5ed!important;border-radius:10px;background:#fafcfd}
.bbhb-detail-section:last-child{margin-bottom:0!important}
.bbhb-detail-section legend{float:none;width:auto;margin:0!important;padding:0 8px!important;color:#15344e;font-size:14px!important;font-weight:700;line-height:1.4}
.bbhb-section-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;align-items:start}
.bbhb-section-fields .bbhb-detail-field{display:flex!important;flex-direction:column;min-width:0;gap:7px;margin:0!important;font-size:13px;line-height:1.45}
.bbhb-detail-field>span{min-height:38px;display:flex;align-items:end}
.bbhb-detail-field input{box-sizing:border-box;width:100%!important;min-width:0;margin:0!important;height:42px!important;min-height:42px!important}
.bbhb-detail-field small{font-size:11px;font-weight:400;color:#687787}
.bbhb-section-fields .bbhb-detail-check{display:flex!important;align-items:center;align-self:center;gap:10px;margin:0!important;min-height:42px;padding:10px 12px;border:1px solid #dce5ed;border-radius:7px;background:#fff;font-size:13px;line-height:1.5;box-sizing:border-box}
.bbhb-detail-check input{flex:0 0 16px;width:16px!important;height:16px!important;min-height:16px!important;margin:0!important}
.bbhb-section-fields [hidden]{display:none!important}
@media(max-width:640px){.bbhb-detail-section{padding:14px!important}.bbhb-section-fields{grid-template-columns:1fr;gap:16px}.bbhb-detail-field>span{min-height:0}}
