/* Shared administrative navigation and responsive surfaces. */
.fi-sidebar-header-ctn, .ct-dashboard-brand, .ct-sidebar-signature { display: none !important; }
.fi-sidebar::after { content: none !important; }
.fi-body .fi-sidebar-nav, body:has(.ct-dashboard) .fi-sidebar-nav { padding-top: 20px !important; padding-bottom: 20px !important; }
.fi-body .fi-sidebar-item, body:has(.ct-dashboard) .fi-sidebar-item { margin-bottom: 4px; }
.fi-body .fi-sidebar-item-btn, body:has(.ct-dashboard) .fi-sidebar-item-btn { min-height: 44px; gap: 12px !important; }
.fi-body .fi-sidebar-item-label, body:has(.ct-dashboard) .fi-sidebar-item-label { font-family: Inter, sans-serif; font-size: 14px; font-weight: 500; }
.fi-sidebar-item-icon { width: 22px; height: 22px; flex-shrink: 0; }
.fi-body .fi-sidebar-item-btn::before { content: none !important; }
.fi-ta-content { overflow-x: auto; }
@media (max-width: 640px) { .fi-modal-window { max-width: calc(100vw - 24px); } }
.fi-modal-content, .fi-section-content { min-width: 0; overflow-wrap: anywhere; }
.fi-fo-textarea { color: #49263e; }
.fi-fo-file-upload .filepond--panel-root { background: #fff9ed; border: 1px dashed #bf9c63; border-radius: 9px; }
.fi-fo-file-upload .filepond--drop-label { color: #866c56; }
.fi-modal-content dl { margin: 0; }
.fi-modal-content dt { color: #633551; }
.fi-modal-content dd { margin: 4px 0 16px; }
@media (max-width: 640px) {
    .fi-main { padding-inline: 16px !important; }
    .fi-header-heading { overflow-wrap: anywhere; }
    .fi-modal-footer-actions { flex-wrap: wrap; }
    .fi-modal-content, .fi-modal-header, .fi-modal-footer { padding-inline: 18px; }
}
.fi-topbar .ct-brand { display: none; }
.fi-body .fi-sidebar-item-label { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }
.fi-ta-actions-header-cell, .fi-ta-empty-header-cell { background: #f8ead4; }
.fi-ta-cell:has(> .fi-ta-actions) { min-width: 230px; width: 260px; }
.fi-ta-cell > .fi-ta-actions { flex-wrap: wrap !important; justify-content: flex-start !important; gap: 8px 12px; }
