
/* Flow popup + stacked render (readable in dark themes) */
#documentationModal .modal-dialog.modal-xl { max-width: 1200px; }
#documentationModal .modal-body { overflow-x: auto; }
#flow-root .flow-grid { width: 100%; table-layout: fixed; }
#flow-root .flow-grid th, #flow-root .flow-grid td { vertical-align: top; }
#flow-root .flow-grid .flow-sticky { width: 64px; max-width: 64px; white-space: nowrap; }
/* Stacked entry display */
#flow-root .fb-entry { width: 100%; }
#flow-root .fb-head-row .fb-vol { font-weight: 700; }
#flow-root .fb-type-small { display:block; font-size: .8rem; line-height:1.1; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bs-secondary-color, #6c757d); }
/* Normalize old badge style if still present */
#flow-root .fb-type-badge { display:block; font-size:.8rem; line-height:1.1; background:transparent; padding:0; border-radius:0; max-width:200px; color: var(--bs-secondary-color, #6c757d); }
/* Edit icon */
#flow-root .fb-edit { opacity: .6; } #flow-root .fb-entry:hover .fb-edit { opacity: 1; }
/* Popup editor force light theme */
#documentationModal .fb-popback { position: absolute; inset: 0; background: rgba(0,0,0,.05); z-index: 1040; }
#documentationModal .fb-popup { position: absolute; z-index: 1041; min-width: 320px; max-width: 420px; background: #fff !important; border: 1px solid rgba(0,0,0,.12); border-radius: .5rem; box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: .75rem; color: #212529 !important; }
#documentationModal .fb-popup * { color: #212529 !important; }
#documentationModal .fb-popup .form-control, #documentationModal .fb-popup .form-select { background-color: #fff !important; border-color: rgba(0,0,0,.2) !important; }
#documentationModal .fb-popup .form-control::placeholder { color: #6c757d; }

.text-location-inactive { color: #fff !important; }
