.bf-app-shell .bf-page-head h1,.bf-app-shell .bf-page-head .bf-breadcrumb{display:none}.bf-app-shell .bf-kpi-card,.bf-app-shell .center-card{transition:transform .18s ease,box-shadow .18s ease}.bf-app-shell .bf-kpi-card:hover,.bf-app-shell .center-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #1030491f}.bf-app-shell .bf-kpi-card.patients app-kpi-icon{--kpi-icon-color:#7543b5;--kpi-icon-bg:#f1eafb}.bf-app-shell .bf-kpi-card.rdv app-kpi-icon{--kpi-icon-color:#078c99;--kpi-icon-bg:#e6f6f5}.bf-app-shell .bf-kpi-card.recettes app-kpi-icon,.bf-app-shell .bf-kpi-card.green app-kpi-icon{--kpi-icon-color:#168459;--kpi-icon-bg:#e8f6ef}.bf-app-shell .bf-kpi-card.depenses app-kpi-icon{--kpi-icon-color:#c44d55;--kpi-icon-bg:#fff0f0}.bf-app-shell .bf-kpi-card.benefice app-kpi-icon,.bf-app-shell .bf-kpi-card.orange app-kpi-icon{--kpi-icon-color:#bd7a16;--kpi-icon-bg:#fff5e5}.bf-app-shell .bf-kpi-card.seances app-kpi-icon{--kpi-icon-color:#267eb7;--kpi-icon-bg:#eaf3fa}.bf-app-shell .bf-center-card h3{display:flex;align-items:center;gap:9px}.bf-app-shell .bf-center-card h3 app-kpi-icon{width:32px;height:32px}.bf-sidebar-nav .bf-nav-item app-kpi-icon{width:20px;height:20px;border-radius:0;background:transparent;color:currentColor}.bf-sidebar-nav .bf-nav-item app-kpi-icon svg{width:18px;height:18px}@media (prefers-reduced-motion: reduce){.bf-app-shell .bf-kpi-card,.bf-app-shell .center-card,.bf-app-shell .bf-center-card{transition:none}.bf-app-shell .bf-kpi-card:hover,.bf-app-shell .center-card:hover,.bf-app-shell .bf-center-card:hover{transform:none}}:root{--bf-navy: #0a2342;--bf-navy-2: #123b5b;--bf-turquoise: #168fa0;--bf-turquoise-soft: #e8f7f7;--bf-surface: #ffffff;--bf-page: #f4f8fa;--bf-line: #dbe6eb;--bf-text: #18364d;--bf-muted: #6c8191;--bf-danger: #c63f4b;--bf-shadow: 0 18px 54px rgba(7, 34, 58, .2)}.bf-app-shell{color:var(--bf-text)}.bf-app-shell .bf-page-content{min-width:0}.bf-app-shell .bf-table-scroll,.bf-app-shell .table-responsive{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.bf-app-shell table{border-collapse:separate;border-spacing:0}.bf-app-shell th{color:var(--bf-navy);font-weight:750}.bf-app-shell td,.bf-app-shell th{vertical-align:middle}.bf-app-shell input:not([type="checkbox"]):not([type="radio"]),.bf-app-shell select,.bf-app-shell textarea{max-width:100%;border:1px solid #cbdbe3;border-radius:9px;background:#fff;color:var(--bf-text);font:inherit;transition:border-color .16s ease,box-shadow .16s ease}.bf-app-shell input:focus,.bf-app-shell select:focus,.bf-app-shell textarea:focus{outline:none;border-color:var(--bf-turquoise);box-shadow:0 0 0 3px #168fa026}.bf-app-shell button{transition:color .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.bf-app-shell button:focus-visible{outline:3px solid rgba(22,143,160,.42);outline-offset:2px}.bf-app-shell button:disabled{cursor:not-allowed;opacity:.56;transform:none;box-shadow:none}.bf-app-shell .bf-modal-backdrop,.bf-app-shell .modal-backdrop,.bf-app-shell .transfer-modal-backdrop,.bf-app-shell .small-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:rgba(5,26,46,.56);animation:bf-fade-in .16s ease-out}.bf-app-shell .bf-modal,.bf-app-shell .patient-modal,.bf-app-shell .small-modal,.bf-app-shell .packs-modal,.bf-app-shell .invoice-preview-modal,.bf-app-shell .transfer-modal,.bf-app-shell .login-modal{border:1px solid rgba(219,230,235,.9);border-radius:16px;box-shadow:var(--bf-shadow);animation:bf-modal-in .2s cubic-bezier(.2,.75,.25,1) both}.bf-app-shell .bf-modal-head,.bf-app-shell .modal-header,.bf-app-shell .transfer-modal-head,.bf-app-shell .small-modal-header,.bf-app-shell .packs-modal header,.bf-app-shell .invoice-preview-modal header,.bf-app-shell .transfer-modal header{background:linear-gradient(120deg,var(--bf-navy),var(--bf-navy-2));color:#fff}.bf-app-shell .bf-modal-head h2,.bf-app-shell .modal-header h2,.bf-app-shell .transfer-modal-head h2,.bf-app-shell .small-modal-header h2,.bf-app-shell .packs-modal header h2,.bf-app-shell .invoice-preview-modal header h2,.bf-app-shell .transfer-modal header h2{color:#fff}.bf-app-shell .bf-modal-head h2:before,.bf-app-shell .modal-header h2:before,.bf-app-shell .small-modal-header h2:before,.bf-app-shell .packs-modal header h2:before,.bf-app-shell .invoice-preview-modal header h2:before,.bf-app-shell .transfer-modal header h2:before{content:"";display:inline-block;width:20px;height:20px;flex:0 0 20px;margin-right:9px;background:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v6h5M10 14h6M10 18h6'/%3E%3C/svg%3E")}.bf-app-shell .bf-modal-head button,.bf-app-shell .modal-header button,.bf-app-shell .transfer-modal-head button,.bf-app-shell .small-modal-header button,.bf-app-shell .packs-modal header button,.bf-app-shell .invoice-preview-modal header button,.bf-app-shell .transfer-modal header button{color:#e9f8fa;border-radius:8px}.bf-app-shell .bf-modal-head button:hover,.bf-app-shell .modal-header button:hover,.bf-app-shell .transfer-modal-head button:hover,.bf-app-shell .small-modal-header button:hover,.bf-app-shell .packs-modal header button:hover,.bf-app-shell .invoice-preview-modal header button:hover,.bf-app-shell .transfer-modal header button:hover{background:rgba(255,255,255,.14)}.bf-app-shell .bf-form-grid,.bf-app-shell .modal-form-grid,.bf-app-shell .patient-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bf-app-shell .bf-form-grid>label,.bf-app-shell .modal-form-grid>label,.bf-app-shell .patient-form-grid>label{display:grid;align-content:start;gap:7px;color:var(--bf-navy);font-size:13px;font-weight:700;min-width:0}.bf-app-shell .bf-form-grid>label input,.bf-app-shell .bf-form-grid>label select,.bf-app-shell .bf-form-grid>label textarea{width:100%;min-height:42px;padding:9px 11px;box-sizing:border-box}.bf-app-shell .bf-form-grid>.full,.bf-app-shell .modal-form-grid>.full,.bf-app-shell .patient-form-grid>.full{grid-column:1 / -1}.bf-app-shell .bf-modal-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.bf-app-shell .bf-btn-primary,.bf-app-shell .primary-button{border-color:var(--bf-turquoise);background:var(--bf-turquoise);color:#fff}.bf-app-shell .bf-btn-primary:hover,.bf-app-shell .primary-button:hover{background:#0f7482;box-shadow:0 5px 14px #168fa033}.bf-app-shell .bf-actions button{display:inline-grid;place-items:center;min-width:34px;min-height:34px;border:1px solid var(--bf-line);border-radius:8px;background:white;color:var(--bf-navy)}.bf-app-shell .bf-actions button:hover:not(:disabled){border-color:var(--bf-turquoise);color:var(--bf-turquoise)}.bf-app-shell .bf-actions button.danger{color:var(--bf-danger)}.bf-app-shell .finance-action-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bf-app-shell .bf-badge{border-radius:999px;font-weight:700}.bf-app-shell .bf-kpi-card,.bf-app-shell .center-card{min-width:0}.bf-app-shell .finance-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.bf-app-shell .finance-kpi-grid .center-card{min-width:0}.bf-app-shell .bf-modal-head,.bf-app-shell .modal-header,.bf-app-shell .transfer-modal-head,.bf-app-shell .small-modal-header,.bf-app-shell .packs-modal>header,.bf-app-shell .transfer-modal>header,.bf-app-shell .invoice-preview-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;border:0;border-radius:15px 15px 0 0;background:var(--bf-navy)!important;color:#fff!important}.bf-app-shell .bf-modal-head h1,.bf-app-shell .bf-modal-head h2,.bf-app-shell .bf-modal-head h3,.bf-app-shell .modal-header h1,.bf-app-shell .modal-header h2,.bf-app-shell .modal-header h3,.bf-app-shell .modal-header .modal-title,.bf-app-shell .transfer-modal-head h1,.bf-app-shell .transfer-modal-head h2,.bf-app-shell .transfer-modal-head h3,.bf-app-shell .small-modal-header h1,.bf-app-shell .small-modal-header h2,.bf-app-shell .small-modal-header h3,.bf-app-shell .packs-modal>header h1,.bf-app-shell .packs-modal>header h2,.bf-app-shell .packs-modal>header h3,.bf-app-shell .transfer-modal>header h1,.bf-app-shell .transfer-modal>header h2,.bf-app-shell .transfer-modal>header h3,.bf-app-shell .invoice-preview-head h1,.bf-app-shell .invoice-preview-head h2,.bf-app-shell .invoice-preview-head h3{margin:0;color:#fff!important;font-size:20px!important;font-weight:750!important;line-height:1.3}.bf-app-shell .bf-modal-head button,.bf-app-shell .modal-header button.close,.bf-app-shell .modal-header .modal-close,.bf-app-shell .transfer-modal-head button,.bf-app-shell .transfer-modal>header>button,.bf-app-shell .small-modal-header button,.bf-app-shell .packs-modal>header>button,.bf-app-shell .invoice-preview-head button{display:inline-grid;flex:0 0 38px;place-items:center;width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:9px;background:rgba(255,255,255,.08)!important;color:#fff!important;font-size:28px!important;font-weight:500;line-height:1;opacity:1}.bf-app-shell .bf-modal-head button:hover,.bf-app-shell .modal-header button.close:hover,.bf-app-shell .modal-header .modal-close:hover,.bf-app-shell .transfer-modal-head button:hover,.bf-app-shell .transfer-modal>header>button:hover,.bf-app-shell .small-modal-header button:hover,.bf-app-shell .packs-modal>header>button:hover,.bf-app-shell .invoice-preview-head button:hover{background:rgba(255,255,255,.2)!important}.bf-app-shell .bf-modal-actions button,.bf-app-shell .modal-actions button,.bf-app-shell .small-modal-actions button,.bf-app-shell .packs-modal footer button,.bf-app-shell .transfer-modal footer button,.bf-app-shell .modal-footer button{min-height:40px;padding:0 16px;border:1px solid #d6e0e7;border-radius:9px;background:#f4f7f9;color:#29465c;font:inherit;font-weight:700;cursor:pointer}.bf-app-shell .bf-modal-actions button[type=submit],.bf-app-shell .bf-modal-actions .bf-btn-primary,.bf-app-shell .small-modal-actions .confirm-btn,.bf-app-shell .packs-modal footer button[type=submit],.bf-app-shell .transfer-modal footer button[type=submit],.bf-app-shell .bf-popup-primary{border-color:var(--bf-turquoise)!important;background:var(--bf-turquoise)!important;color:#fff!important}.bf-app-shell .bf-modal-actions button.danger,.bf-app-shell .bf-modal-actions .danger,.bf-app-shell .small-modal-actions .danger,.bf-app-shell .packs-modal footer button.danger,.bf-app-shell .bf-popup-primary.bf-popup-danger{border-color:var(--bf-danger)!important;background:var(--bf-danger)!important;color:#fff!important}.bf-app-shell .bf-popup-secondary{border-color:#d6e0e7!important;background:#f4f7f9!important;color:#29465c!important}.bf-app-shell .bf-popup-primary:hover{filter:brightness(.92)}@media (max-width: 600px){.bf-app-shell .bf-modal-head,.bf-app-shell .modal-header,.bf-app-shell .transfer-modal-head,.bf-app-shell .small-modal-header,.bf-app-shell .packs-modal>header,.bf-app-shell .invoice-preview-head{padding:14px 15px}}@keyframes bf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes bf-modal-in{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}@media (max-width: 850px){.bf-app-shell .finance-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 600px){.bf-app-shell .finance-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bf-app-shell .bf-form-grid,.bf-app-shell .modal-form-grid,.bf-app-shell .patient-form-grid{grid-template-columns:minmax(0,1fr)}.bf-app-shell .bf-form-grid>.full,.bf-app-shell .modal-form-grid>.full,.bf-app-shell .patient-form-grid>.full{grid-column:auto}.bf-app-shell .bf-modal-backdrop,.bf-app-shell .modal-backdrop,.bf-app-shell .transfer-modal-backdrop{padding:12px}.bf-app-shell .bf-modal{width:min(100%,560px);max-height:calc(100dvh - 24px);overflow:auto}}@media (prefers-reduced-motion: reduce){.bf-app-shell .bf-modal-backdrop,.bf-app-shell .bf-modal,.bf-app-shell .patient-modal{animation:none}.bf-app-shell button{transition:none}}html,body{width:100%;min-width:320px;max-width:100%}body{-webkit-text-size-adjust:100%}.bf-app-shell,.bf-layout-content,.bf-page-content{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.bf-app-shell>.bf-main{width:auto;min-width:0;max-width:none;box-sizing:border-box}.bf-app-shell.sidebar-collapsed>.bf-main{width:auto}.bf-layout-content,.bf-topbar,.bf-page-content{min-width:0}.bf-layout-content>*,.bf-page-content>*{min-width:0;max-width:100%}.bf-app-shell :is(.bf-kpi-grid,.patient-kpis,.metric-grid,.facture-kpi-grid,.packs-kpi-grid,.transfer-kpis,.operational-kpis,.bf-centers-grid,.centers-grid,.finance-kpi-grid,.bf-main-grid,.bf-chart-row,.charts-grid,.settings-grid,.bf-two-cols)>*{min-width:0}.bf-page-content>*,.bf-page-head>*,.topbar-controls>*,.bf-header-actions>*{min-width:0}.bf-app-shell img,.bf-app-shell canvas,.bf-app-shell svg{max-width:100%}.bf-app-shell table{max-width:100%}.bf-app-shell :is(.bf-table-scroll,.table-responsive,.table-wrap,.table-scroll,.packs-table-wrap,.transfer-table-scroll,.detail-table-scroll,.invoice-real-table,.rfid-table-card,.calendar-grid-scroll){width:100%;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.bf-app-shell :is(.bf-table-card,.bf-table-scroll,.table-wrap,.table-scroll,.packs-table-wrap,.transfer-table-scroll,.detail-table-scroll,.invoice-real-table,.rfid-table-card) table{max-width:none}.bf-app-shell :is(.bf-main-grid,.bf-chart-row,.charts-grid,.charts-grid > *,.chart-wrapper,.chart-shell,.chartjs-size-monitor,.donut-layout,.finance-donut-wrap,.finance-bar-canvas,.settings-grid,.bf-two-cols){min-width:0}.bf-app-shell :is(.bf-search-box,.bf-unified-search,.transfer-search,.global-search){min-width:0}.bf-app-shell :is(.bf-search-box,.bf-unified-search,.transfer-search) input{min-width:0;width:100%}.bf-app-shell :is(.bf-filter-row,.finance-filter-row,.patient-filters,.bf-header-actions,.transfer-filters,.bf-unified-filter-row,.bf-filter-card){max-width:100%}.bf-app-shell :is(.settings-grid,.bf-two-cols){grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.bf-app-shell :is(.metric-card,.bf-kpi-card,.facture-kpi,.packs-kpi,.center-card,.transfer-kpis article,.operational-kpis > *){min-width:0;overflow-wrap:anywhere}.bf-app-shell :is(.report-page,.rfid-page,.packs-page,.transfer-page){min-width:0;max-width:100%}@media (min-width: 768px) and (max-width: 1023px){.bf-app-shell :is(.bf-kpi-grid,.patient-kpis,.metric-grid,.facture-kpi-grid,.packs-kpi-grid,.transfer-kpis,.operational-kpis,.bf-centers-grid,.centers-grid,.finance-kpi-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important}.bf-app-shell :is(.bf-main-grid,.bf-chart-row,.charts-grid,.bf-two-cols){grid-template-columns:repeat(2,minmax(0,1fr))}.bf-app-shell :is(.bf-form-grid,.modal-form-grid,.patient-form-grid,.packs-form-grid,.transfer-form-grid,.profile-form,.password-form){grid-template-columns:repeat(2,minmax(0,1fr))}.bf-app-shell :is(.bf-filter-row,.finance-filter-row,.patient-filters,.bf-header-actions,.transfer-filters,.bf-unified-filter-row){flex-wrap:wrap}.bf-app-shell :is(.bf-search-box,.bf-unified-search,.transfer-search){flex:1 1 100%;width:100%}.bf-app-shell :is(.settings-grid,.bf-two-cols){grid-template-columns:repeat(2,minmax(0,1fr))}.bf-app-shell .bf-page-content{padding-left:clamp(14px,2vw,22px);padding-right:clamp(14px,2vw,22px)}}@media (max-width: 767px){.bf-app-shell :is(.bf-page-content,.report-page){padding:12px!important}.bf-app-shell :is(.bf-kpi-grid,.patient-kpis,.metric-grid,.facture-kpi-grid,.packs-kpi-grid,.transfer-kpis,.operational-kpis,.bf-centers-grid,.centers-grid,.finance-kpi-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.bf-app-shell :is(.bf-main-grid,.bf-chart-row,.charts-grid,.bf-two-cols,.detail-grid,.profile-form,.password-form){grid-template-columns:minmax(0,1fr)!important}.bf-app-shell :is(.bf-form-grid,.modal-form-grid,.patient-form-grid,.packs-form-grid,.transfer-form-grid,.profile-form,.password-form){grid-template-columns:minmax(0,1fr)!important}.bf-app-shell :is(.bf-form-grid > .full,.modal-form-grid > .full,.patient-form-grid > .full,.packs-form-grid > .wide,.transfer-form-grid > .full){grid-column:auto!important}.bf-app-shell :is(.bf-filter-row,.finance-filter-row,.patient-filters,.bf-header-actions,.transfer-filters,.bf-unified-filter-row,.bf-page-head,.transfer-table-heading,.packs-data-heading){display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;min-width:0}.bf-app-shell :is(.bf-search-box,.bf-unified-search,.transfer-search){flex:1 1 100%!important;width:100%;min-width:0}.bf-app-shell :is(.bf-filter-row select,.finance-filter-row select,.patient-filters select,.transfer-filters select,.bf-unified-filter-row select){flex:1 1 calc(50% - 6px);min-width:0;max-width:100%}.bf-app-shell :is(.settings-grid,.bf-two-cols){grid-template-columns:minmax(0,1fr)!important}.bf-app-shell :is(.settings-card,.patient-modal,.bf-modal,.transfer-modal,.packs-modal,.invoice-preview-modal,.invoice-payment-modal,[role="dialog"]){width:min(100%,680px);max-width:100%}.bf-app-shell :is(.bf-modal-head,.modal-header,.small-modal-header,.packs-modal > header,.transfer-modal > header,.invoice-preview-head){position:sticky;top:0;z-index:4}.bf-app-shell :is(.bf-modal-backdrop,.modal-backdrop,.transfer-modal-backdrop,.small-modal-backdrop,.modal-overlay){max-width:100vw}.bf-app-shell :is(.bf-actions,.row-actions,.management-actions,.packs-row-actions,.transfer-actions,.invoice-actions){flex-wrap:wrap}.bf-app-shell :is(.bf-actions button,.row-actions button,.management-actions button,.packs-row-actions button,.transfer-actions button,.invoice-actions button){min-width:44px;min-height:44px}.bf-app-shell :is(.bf-data-table,.rfid-table,.invoice-real-table table,.transfer-table-scroll table,.packs-table-wrap table,.detail-table-scroll table){min-width:720px}.bf-app-shell :is(.cal-appt-item,.invoice-payment-row){min-width:0}.bf-app-shell :is(.chart-wrapper,.chart-shell,.finance-donut-wrap,.donut-shell){width:100%;max-width:100%}.bf-app-shell canvas{display:block;max-width:100%!important}.bf-app-shell .finance-donut-total{font-size:clamp(14px,4vw,20px)}}@media (max-width: 400px){.bf-app-shell :is(.bf-page-content,.report-page){padding:10px!important}.bf-app-shell :is(.bf-kpi-card,.metric-card,.facture-kpi,.packs-kpi,.center-card,.transfer-kpis article){padding:10px!important}.bf-app-shell :is(.bf-kpi-card strong,.metric-card strong,.facture-kpi > strong,.packs-kpi strong,.transfer-kpis strong){font-size:clamp(14px,5vw,19px)}.bf-app-shell :is(.patient-details-header,.cal-day-detail-header,.transfer-table-heading){gap:8px}.bf-app-shell :is(.modal-actions,.bf-modal-actions,.small-modal-actions,.bf-modal-actions.full,.packs-modal-footer,.transfer-modal footer){flex-wrap:wrap}.bf-app-shell :is(.modal-actions button,.bf-modal-actions button,.packs-modal-footer button,.transfer-modal footer button){flex:1 1 auto;min-height:44px}}*{font-family:Montserrat,sans-serif}html,body{height:100%}body{margin:0;font-family:Roboto,Helvetica Neue,sans-serif}.bf-unified-filter-row{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;width:100%;min-width:0;margin:0 0 18px;padding:10px 12px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;background:#fff;border:1px solid #d9e5ec;border-radius:12px;box-shadow:0 2px 10px #0a23420f;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.bf-unified-filter-row>*{flex:0 0 auto}.bf-unified-search{display:flex;flex:1 1 220px!important;align-items:center;gap:8px;min-width:200px;height:38px;padding:0 10px;border:1px solid #c8dce8;border-radius:9px;background:#fff}.bf-unified-search svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:#168b9b;stroke-width:2;stroke-linecap:round}.bf-unified-search input{width:100%;min-width:0;height:34px;padding:0;border:0;outline:0;color:#17334c;background:transparent}.bf-unified-filter-row select,.bf-unified-date{height:38px;min-width:130px;padding:0 10px;border:1px solid #c8dce8;border-radius:9px;background:#fff;color:#17334c;font:inherit;font-size:12px}.bf-period-controls{display:flex;flex:0 0 auto;align-items:center;gap:6px}.bf-period-controls button,.bf-unified-apply{height:38px;padding:0 11px;border:1px solid #d9e5ec;border-radius:20px;background:#fff;color:#0a2342;font-size:12px;font-weight:750;white-space:nowrap;cursor:pointer}.bf-period-controls button.active,.bf-unified-apply{border-color:#1a8fa0;background:#1a8fa0;color:#fff}.bf-unified-date{width:132px;min-width:132px}.packs-kpi-note,.bf-kpi-filter-note{margin:-8px 0 0;color:#60778a;font-size:12px}@media (max-width:1100px){.bf-unified-filter-row{flex-wrap:wrap;overflow:visible;white-space:normal;gap:8px}.bf-unified-search{flex:1 0 100%!important;width:100%;min-width:0}.bf-period-controls{max-width:100%;overflow-x:auto;padding-bottom:3px}.bf-unified-filter-row select{flex:1 1 140px;min-width:125px}}@media (max-width:767px){.bf-unified-filter-row{flex-wrap:wrap;overflow:visible;white-space:normal;padding:10px}.bf-unified-search{flex:1 0 100%!important;width:100%;min-width:0}.bf-period-controls{flex:1 0 100%;max-width:100%;overflow-x:auto;padding-bottom:3px}.bf-unified-filter-row select{flex:1 1 calc(50% - 6px);min-width:0}.bf-unified-filter-row .bf-unified-date{flex:1 1 120px;min-width:120px;width:auto}.bf-unified-apply{flex:1 1 auto}}@media (min-width: 768px) and (max-width: 1023px){.bf-app-shell .bf-kpi-grid,.bf-app-shell .facture-kpi-grid,.bf-app-shell .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.bf-app-shell .bf-main-grid,.bf-app-shell .bf-chart-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 767px){.bf-app-shell .bf-form-grid,.bf-app-shell .modal-form-grid,.bf-app-shell .patient-form-grid{grid-template-columns:minmax(0,1fr)!important}.bf-app-shell .bf-form-grid>.full,.bf-app-shell .modal-form-grid>.full,.bf-app-shell .patient-form-grid>.full{grid-column:auto}.bf-app-shell .bf-kpi-grid,.bf-app-shell .facture-kpi-grid,.bf-app-shell .metric-grid,.bf-app-shell .patient-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bf-app-shell .bf-main-grid,.bf-app-shell .bf-chart-row{grid-template-columns:minmax(0,1fr)}.bf-app-shell .topbar-icon-button,.bf-app-shell .centre-picker-trigger,.bf-app-shell .user-menu-trigger,.bf-app-shell .topbar-login,.bf-app-shell .bf-nav-item,.bf-app-shell .bf-logout,.bf-app-shell .bf-actions button{min-height:44px}.bf-app-shell .topbar-icon-button{width:44px;flex-basis:44px}.bf-app-shell .user-menu-trigger{min-width:44px;width:44px}.bf-app-shell input:not([type="checkbox"]):not([type="radio"]),.bf-app-shell select,.bf-app-shell textarea{min-height:44px}.bf-app-shell .bf-modal-backdrop,.bf-app-shell .modal-backdrop,.bf-app-shell .transfer-modal-backdrop,.bf-app-shell .login-modal-overlay{align-items:start;overflow-y:auto;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}.bf-app-shell .bf-modal,.bf-app-shell .modal-dialog,.bf-app-shell .modal-content,.bf-app-shell .packs-modal,.bf-app-shell .transfer-modal,.bf-app-shell [role=dialog],.bf-app-shell .login-modal{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}.bf-app-shell .bf-modal-actions,.bf-app-shell .modal-actions,.bf-app-shell .modal-footer,.bf-app-shell [role=dialog]>footer,.bf-app-shell .packs-modal footer,.bf-app-shell .transfer-modal footer{position:sticky;bottom:-1px;z-index:2;padding:10px 0 max(4px,env(safe-area-inset-bottom));background:#fff}.bf-app-shell .table-responsive,.bf-app-shell .bf-table-scroll,.bf-app-shell .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.bf-app-shell canvas,.bf-app-shell svg{max-width:100%}}@media screen{.bf-app-shell .bf-page-content{box-sizing:border-box;width:100%;max-width:100%;min-width:0}.bf-app-shell .bf-page-content>*{min-width:0;max-width:100%}.bf-app-shell input,.bf-app-shell select,.bf-app-shell textarea{max-width:100%;min-width:0}}@media screen and (max-width:1024px){.bf-app-shell .bf-page-content{padding-inline:14px!important}.bf-app-shell .bf-unified-filter-row,.bf-app-shell .bf-period-controls{flex-wrap:wrap;white-space:normal}}@media screen and (max-width:600px){.bf-app-shell .bf-page-content{padding:10px!important}.bf-app-shell .bf-unified-search{min-width:0;flex:1 1 100%!important}}@media screen and (max-width: 1024px){html,body{width:100%;max-width:100%;min-width:0;margin:0;overflow-x:clip}app-root,app-admin-layout{display:block;width:100%;max-width:100%;min-width:0}app-admin-layout .bf-app-shell,app-admin-layout .bf-main,app-admin-layout .bf-layout-content{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}app-admin-layout .mobile-overlay{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;margin:0!important}app-admin-layout .bf-sidebar{width:min(290px,85vw)!important;max-width:85vw!important;height:100dvh!important}app-admin-layout :is(.bf-modal-backdrop,.patient-modal-backdrop,.transfer-modal-backdrop,.login-modal-overlay){position:fixed!important;inset:0!important;width:100%!important;max-width:none!important;height:100vh!important;height:100dvh!important;max-height:none!important;margin:0!important;box-sizing:border-box!important;padding:10px!important;display:grid!important;place-items:center!important;overflow:hidden!important}app-admin-layout :is(.bf-modal,.patient-form-modal,.patient-details-modal,.transfer-modal,.login-modal){box-sizing:border-box!important;min-width:0!important;max-width:100%!important;margin:0 auto!important}}@media screen and (max-width: 767px){app-admin-layout :is(.bf-modal,.patient-form-modal,.patient-details-modal,.transfer-modal,.login-modal){width:100%!important;max-width:100%!important;max-height:calc(100vh - 20px)!important;max-height:calc(100dvh - 20px)!important;border-radius:14px!important}app-admin-layout .bf-modal:not(.patient-form-modal):not(.patient-details-modal),app-admin-layout .transfer-modal,app-admin-layout .login-modal{overflow-y:auto;overscroll-behavior:contain}app-admin-layout .patient-form-scroll,app-admin-layout .patient-details-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}app-admin-layout :is(.bf-modal,.transfer-modal,.login-modal) input:not([type="checkbox"]):not([type="radio"]),app-admin-layout :is(.bf-modal,.transfer-modal,.login-modal) select,app-admin-layout :is(.bf-modal,.transfer-modal,.login-modal) textarea{min-width:0;max-width:100%;font-size:16px}}
