:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f4f6f9;font-family:Segoe UI,Tahoma,Arial,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100vh;margin:0}body{direction:rtl;background:#f4f6f9}button,input,textarea,select,a{font-family:inherit}button,a{cursor:pointer}.app{background:#f4f6f9;min-height:100vh;display:flex}.sidebar{color:#fff;background:#17212b;flex-direction:column;flex-shrink:0;width:260px;min-height:100vh;padding:24px 16px;display:flex}.sidebar-logo{align-items:center;gap:12px;padding:0 8px 30px;display:flex}.logo-mark{background:#2d89ef;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:22px;font-weight:700;display:flex}.logo-title{font-size:20px;font-weight:700}.logo-subtitle{color:#9ca8b4;margin-top:2px;font-size:11px}.sidebar-menu{flex-direction:column;gap:6px;display:flex}.menu-item{color:#b9c3cc;text-align:right;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;width:100%;padding:12px 14px;font-size:14px;text-decoration:none;transition:all .2s;display:flex}.menu-item:hover{color:#fff;background:#22303d}.menu-item.active{color:#fff;background:#2d89ef}.sidebar-bottom{margin-top:auto}.main-content{flex:1;min-width:0}.mobile-menu-button{z-index:9000;color:#17212b;cursor:pointer;background:#fff;border:1px solid #e2e2e2;border-radius:9px;width:42px;height:42px;font-family:inherit;font-size:22px;line-height:1;display:none;position:fixed;top:16px;right:16px;box-shadow:0 3px 12px #00000014}.mobile-menu-button:hover{color:#92143b;border-color:#92143b}.mobile-sidebar-overlay{z-index:9998;background:#00000059;display:none;position:fixed;inset:0}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;min-height:82px;padding:18px 32px;display:flex}.topbar h1{color:#111827;margin:0;font-size:24px}.topbar p{color:#6b7280;margin:4px 0 0;font-size:13px}@media (width<=768px){.topbar{min-height:70px;padding:14px 72px 14px 16px}.topbar>div:first-child{min-width:0}.topbar h1{white-space:nowrap;text-overflow:ellipsis;font-size:18px;overflow:hidden}.topbar p{white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:12px;overflow:hidden}.user-info{flex-shrink:0;gap:8px}.user-info strong{font-size:13px}.user-info small{font-size:11px}.user-avatar{flex-shrink:0;width:36px;height:36px;font-size:14px}}.user-info{align-items:center;gap:10px;display:flex}.user-avatar{color:#2d89ef;background:#e8f2ff;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-weight:700;display:flex}.user-info strong{font-size:13px;display:block}.user-info small{color:#9ca3af;margin-top:2px;display:block}.dashboard{background:#f4f6f9;min-height:100vh}.dashboard-content{padding:32px}.welcome-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:28px;box-shadow:0 4px 16px #0000000a}.welcome-card h2{margin:0 0 8px;font-size:20px}.welcome-card p{color:#6b7280;margin:0;line-height:1.9}.stats-grid{grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px;display:grid}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;align-items:center;gap:16px;padding:22px;display:flex;box-shadow:0 3px 12px #00000008}.stat-icon{background:#e8f2ff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:23px;display:flex}.stat-card span{color:#6b7280;margin-bottom:6px;font-size:13px;display:block}.stat-card strong{color:#111827;font-size:22px;display:block}.dashboard-grid{grid-template-columns:1.5fr 1fr;gap:24px;display:grid}.dashboard-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:24px;box-shadow:0 3px 12px #00000008}.card-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.card-header h2{color:#111827;margin:0;font-size:17px}.card-header button{color:#2d89ef;background:0 0;border:0;font-size:12px}.badge{color:#dc2626;background:#fee2e2;border-radius:20px;padding:4px 9px;font-size:12px}.visit-list{flex-direction:column;display:flex}.visit-item{border-bottom:1px solid #f0f1f3;align-items:center;gap:12px;padding:14px 0;display:flex}.visit-item:last-child{border-bottom:0}.visit-avatar{color:#2d89ef;background:#e8f2ff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-weight:700;display:flex}.visit-item div:nth-child(2){flex:1}.visit-item strong{color:#1f2937;font-size:13px;display:block}.visit-item span{color:#9ca3af;margin-top:4px;font-size:11px;display:block}.visit-item small{color:#9ca3af;font-size:11px}.alert-list{flex-direction:column;gap:12px;display:flex}.alert-item{background:#f8fafc;border-radius:10px;gap:12px;padding:14px;display:flex}.alert-icon{font-size:18px}.alert-item strong{color:#374151;font-size:12px;display:block}.alert-item span{color:#9ca3af;margin-top:5px;font-size:11px;line-height:1.7;display:block}.page{background:#f4f6f9;min-height:100vh}.page-content{padding:32px}.primary-button{color:#fff;cursor:pointer;background:#2d89ef;border:0;border-radius:9px;padding:11px 18px;font-size:13px;transition:all .2s}.filter-button{color:#6d3a82;cursor:pointer;background:#ffc0d2;border:1px solid #e1e5ea;border-radius:9px;height:46px;padding:0 20px;transition:all .2s}.filter-button:hover{color:#e1e5ea;background:#9d7bab}.search-box{gap:12px;margin-bottom:20px;display:flex}.search-input-wrapper{flex:1;position:relative}.search-input-wrapper input{direction:rtl;background:#fff;border:1px solid #e1e5ea;border-radius:9px;outline:none;width:100%;height:46px;padding:0 42px 0 15px;font-size:13px}.search-input-wrapper input:focus{border-color:#2d89ef}.search-icon{color:#9ca3af;pointer-events:none;font-size:20px;position:absolute;top:50%;right:15px;transform:translateY(-50%)}.persons-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;box-shadow:0 3px 12px #00000008}.persons-table{border-collapse:collapse;width:100%}.persons-table th{color:#6b7280;text-align:right;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:15px 18px;font-size:12px;font-weight:600}.persons-table td{color:#4b5563;border-bottom:1px solid #f0f1f3;padding:16px 18px;font-size:12px}.persons-table tbody tr:hover{background:#fafcff}.person-name{font-weight:600;color:#111827!important}.status{border-radius:20px;padding:5px 10px;font-size:10px;display:inline-block}.active-status{color:#15803d;background:#dcfce7}.warning-status{color:#b45309;background:#fef3c7}.action-button{color:#2d89ef;cursor:pointer;background:#eef5ff;border:0;border-radius:7px;padding:7px 12px;font-size:11px;transition:all .2s}.action-button:hover{background:#dcecff}.table-footer{color:#9ca3af;justify-content:space-between;align-items:center;padding:16px 18px;font-size:11px;display:flex}.pagination{gap:5px;display:flex}.pagination button{color:#6b7280;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:6px;min-width:30px;height:30px}.pagination button:hover{background:#f3f6fa}.pagination .current-page{color:#fff;background:#92143b;border-color:#92143b}.empty-result{text-align:center;color:#9ca3af!important;padding:50px 20px!important}.details-grid{grid-template-columns:repeat(4,1fr);gap:20px;margin-top:20px;display:grid}.details-grid>div{background:#f8f9fb;border:1px solid #eef0f4;border-radius:12px;flex-direction:column;gap:8px;min-width:0;padding:16px;display:flex}.details-grid label{color:#8a8f98;font-size:13px}.details-grid strong{color:#252a31;word-break:break-word;font-size:15px;font-weight:600;line-height:1.8}.persons-card hr{border:none;border-top:1px solid #eef0f4;margin:35px 0}.persons-card h3{color:#252a31;margin:0;font-size:18px}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.details-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=900px){.persons-card{overflow-x:auto}.persons-table{min-width:850px}}@media (width<=768px){.sidebar{z-index:10000;width:260px;height:100vh;min-height:100vh;transition:right .25s;position:fixed;top:0;right:-260px;overflow-y:auto}.sidebar.mobile-open{right:0}.dashboard-content,.page-content{padding:20px}.mobile-menu-button{justify-content:center;align-items:center;display:flex}.mobile-menu-button.is-hidden{display:none}.mobile-sidebar-overlay{display:block}.mobile-sidebar-close{color:#9ca8b4;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-family:inherit;font-size:24px;line-height:1;display:flex;position:absolute;top:14px;left:14px}.mobile-sidebar-close:hover{color:#fff;background:#22303d}}@media (width<=600px){.stats-grid,.dashboard-grid,.details-grid{grid-template-columns:1fr}.dashboard-content,.page-content{padding:16px}.search-box{flex-direction:column}.topbar h1{font-size:20px}.user-info>div:first-child{display:none}}.form-section{padding:30px}.form-section h3{margin:0 0 25px;font-size:18px;font-weight:700}.form-grid{grid-template-columns:repeat(3,1fr);gap:22px 20px;display:grid}.form-field{flex-direction:column;gap:8px;display:flex}.form-field label{color:#555;font-size:13px;font-weight:600}.form-field input,.form-field select,.form-field textarea{color:#333;box-sizing:border-box;background:#fff;border:1px solid #e2e2e2;border-radius:10px;outline:none;width:100%;height:46px;padding:0 14px;font-family:inherit;font-size:14px;transition:all .2s}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.form-field input::placeholder{color:#aaa}.form-actions{justify-content:flex-start;gap:12px;margin-top:22px;display:flex}.form-actions button{min-width:120px}.form-error{color:#b42318;background:#fff1f1;border-radius:10px;margin-top:18px;padding:14px 18px;font-size:14px}@media (width<=1100px){.form-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=700px){.form-grid{grid-template-columns:1fr}.form-section{padding:20px}.form-actions{flex-direction:column}.form-actions button{width:100%}}.persian-date-picker{direction:rtl;width:300px;font-family:inherit;position:relative}.persian-date-picker button{font-family:inherit}.persian-date-picker input{color:#333;box-sizing:border-box;background:#fff;border:1px solid #e2e2e2;border-radius:10px;outline:none;width:100%;max-width:100%;height:46px;padding:0 14px;font-family:inherit;font-size:14px;transition:all .2s}.persian-date-picker input:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.persian-date-picker input::placeholder{color:#aaa}.persian-date-picker [data-jalali-calendar-title-month],.persian-date-picker [data-jalali-calendar-title-year]{color:#333;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:6px 10px;font-family:inherit;font-size:14px;font-weight:600;transition:all .2s}.persian-date-picker [data-jalali-calendar-title-month]:hover,.persian-date-picker [data-jalali-calendar-title-year]:hover{color:#92143b;background:#f8edf1}.persian-date-picker [data-jalali-calendar-nav]{color:#555;cursor:pointer;background:0 0;border:none;border-radius:8px;width:34px;height:34px;padding:0;font-family:inherit;font-size:22px;line-height:1;transition:all .2s}.persian-date-picker [data-jalali-calendar-nav]:hover{color:#92143b;background:#f8edf1}.persian-date-picker [data-jalali-calendar-day=true]{color:#333;cursor:pointer;background:0 0;border:none;border-radius:8px;width:36px;height:36px;font-family:inherit;font-size:13px;transition:all .15s}.persian-date-picker [data-jalali-calendar-day=true]:hover{color:#92143b;background:#f8edf1}.persian-date-picker [data-jalali-calendar-day=true][aria-selected=true]{color:#fff;background:#92143b;font-weight:600}.persian-date-picker [data-jalali-calendar-day=true][data-outside-month]{color:#bbb}.persian-date-picker [data-jalali-calendar-weekday=true]{color:#999;font-family:inherit;font-size:11px;font-weight:600}.persian-date-picker [data-jalali-calendar-weekdays=true]{direction:rtl;grid-template-columns:repeat(7,1fr);gap:4px;width:100%;display:grid}.persian-date-picker [data-jalali-calendar-weekdays=true] [data-jalali-calendar-weekday=true]{color:#999;white-space:nowrap;text-align:center;justify-content:center;align-items:center;width:100%;min-width:0;font-family:inherit;font-size:11px;font-weight:600;display:flex}.persian-date-picker [data-jalali-calendar-week=true]{direction:rtl;grid-template-columns:repeat(7,1fr);gap:4px;width:100%;display:grid}.persian-date-picker [data-jalali-calendar-week=true] [data-jalali-calendar-day=true]{box-sizing:border-box;color:#333;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:100%;min-width:0;height:36px;padding:0;font-family:inherit;font-size:13px;transition:all .15s;display:flex}.persian-date-picker [data-jalali-calendar-week=true] [data-jalali-calendar-day=true]:hover{color:#92143b;background:#f8edf1}.persian-date-picker [data-jalali-calendar-week=true] [data-jalali-calendar-day=true][aria-selected=true]{color:#fff;background:#92143b;font-weight:600}.persian-date-picker [data-jalali-calendar-week=true] [data-jalali-calendar-day=true][data-outside-month]{color:#bbb}.persian-date-picker [role=dialog]{box-sizing:border-box;background:#fff;border:1px solid #e5e5e5;border-radius:14px;padding:12px;box-shadow:0 10px 30px #00000014}.persian-date-picker [data-jalali-calendar-header=true]{direction:rtl;justify-content:space-between;align-items:center;width:100%;display:flex}.persian-date-picker [data-jalali-calendar-title=true]{flex:1;justify-content:center;align-items:center;gap:4px;display:flex}.persian-date-picker [data-jalali-calendar-nav=previous],.persian-date-picker [data-jalali-calendar-nav=next]{flex-shrink:0}.persian-date-picker [data-jalali-calendar-month=true]{color:#333;cursor:pointer;background:0 0;border:none;border-radius:8px;width:100%;height:40px;font-family:inherit;font-size:13px;transition:all .15s}.persian-date-picker [data-jalali-calendar-month]{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.persian-date-picker [data-jalali-calendar-months=true]{grid-template-columns:repeat(3,1fr);gap:6px;width:100%;display:grid}.persian-date-picker [data-jalali-calendar-month=true]{color:#333;cursor:pointer;background:0 0;border:none;border-radius:8px;width:100%;height:38px;padding:0 8px;font-family:inherit;font-size:13px;transition:all .15s}.persian-date-picker [data-jalali-calendar-month=true]:hover{color:#92143b;background:#f8edf1}.persian-date-picker [data-jalali-calendar-month=true][aria-selected=true]{color:#fff;background:#92143b;font-weight:600}.persian-date-picker [data-jalali-calendar-years=true]{grid-template-columns:repeat(3,1fr);gap:6px;width:100%;display:grid}.persian-date-picker [data-jalali-calendar-year=true]{color:#333;cursor:pointer;background:0 0;border:none;border-radius:8px;width:100%;height:38px;padding:0 8px;font-family:inherit;font-size:13px;transition:all .15s}.persian-date-picker [data-jalali-calendar-year=true]:hover{color:#92143b;background:#f8edf1}.persian-date-picker [data-jalali-calendar-year=true][aria-selected=true]{color:#fff;background:#92143b;font-weight:600}@font-face{font-family:IRANSans;src:url(/assets/IRANSansWeb-BlBBwgIO.woff)format("woff");font-weight:400;font-style:normal;font-display:swap}html,body,button,input,select,textarea{font-family:IRANSans,sans-serif}.form-field label.required:after{content:" *";color:#dc1e59;font-weight:700}.persian-date-picker [data-jalali-calendar-day][aria-current=date]:not([aria-selected=true]){color:#92143b;background:#fff;border:1px solid #92143b;border-radius:8px;font-weight:700}.persian-date-picker [data-jalali-calendar-day][aria-selected=true]{color:#fff;background:#92143b;border:1px solid #92143b;border-radius:8px;font-weight:700}.success-message{color:#217a3c;background:#eaf7ef;border:1px solid #b8e0c5;border-radius:10px;margin-bottom:20px;padding:14px 18px;font-size:14px;font-weight:600}.edit-action-button,.edit-action-button:hover{color:#fff;background:#cf3767;border-color:#cf3767}.inactive-status{color:#92143b;background:#fde8ef;border:1px solid #f5bfd0}.deactivate-button{color:#92143b;cursor:pointer;background:#fde8ef;border:1px solid #dc1e59;border-radius:9px;height:42px;padding:0 18px;font-family:inherit;font-size:13px;transition:all .2s}.deactivate-button:hover{color:#fff;background:#dc1e59}.activate-button{color:#287344;cursor:pointer;background:#eaf7ef;border:1px solid #4a9b68;border-radius:9px;height:42px;padding:0 18px;font-family:inherit;font-size:13px;transition:all .2s}.activate-button:hover{color:#fff;background:#4a9b68}.status-modal-overlay{z-index:9999;background:#00000059;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.status-modal{text-align:center;background:#fff;border-radius:16px;width:420px;max-width:calc(100% - 40px);padding:30px;box-shadow:0 20px 60px #0000002e}.status-modal h3{color:#333;margin:0 0 12px;font-size:18px}.status-modal p{color:#444;margin:0 0 10px;font-size:14px}.status-modal span{color:#888;font-size:12px;line-height:1.8;display:block}.status-modal-actions{gap:10px;margin-top:25px;display:flex}.modal-cancel-button,.modal-confirm-button{cursor:pointer;border-radius:9px;flex:1;height:42px;font-family:inherit;font-size:13px;transition:all .2s}.modal-cancel-button{color:#555;background:#fff;border:1px solid #ddd}.modal-cancel-button:hover{background:#f5f5f5}.modal-confirm-button{color:#fff;background:#dc1e59;border:1px solid #dc1e59}.modal-confirm-button:hover{background:#92143b;border-color:#92143b}.advanced-filter-panel{background:#fff;border:1px solid #e8e8e8;border-radius:14px;margin-bottom:20px;padding:22px;box-shadow:0 4px 18px #0000000a}.filter-panel-header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.filter-panel-header h3{color:#333;margin:0 0 6px;font-size:16px}.filter-panel-header span{color:#999;font-size:12px}.filter-grid{grid-template-columns:repeat(4,1fr);gap:18px;display:grid}.filter-field{flex-direction:column;gap:8px;display:flex}.filter-field label{color:#555;font-size:12px}.filter-field select{color:#333;cursor:pointer;background:#fff;border:1px solid #e2e2e2;border-radius:9px;outline:none;width:100%;height:44px;padding:0 12px;font-family:inherit;font-size:13px}.filter-field select:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.filter-panel-actions{border-top:1px solid #eee;justify-content:flex-start;gap:10px;margin-top:24px;padding-top:18px;display:flex}@media (width<=768px){.advanced-filter-panel{border-radius:12px;padding:16px}.filter-panel-header{margin-bottom:18px}.filter-panel-header h3{font-size:15px}.filter-panel-header span{font-size:11px}.filter-section-title{margin-top:20px;margin-bottom:12px}.filter-grid{grid-template-columns:1fr;gap:14px}.filter-panel-actions{flex-direction:column;gap:10px;margin-top:20px;padding-top:16px}.filter-panel-actions button,.filter-field{width:100%}.filter-field input{box-sizing:border-box;width:100%}.filter-field input[type=text]{box-sizing:border-box;width:100%!important;max-width:none!important}}.clear-filter-button,.apply-filter-button{cursor:pointer;border-radius:9px;height:42px;padding:0 20px;font-family:inherit;font-size:13px;transition:all .2s}.clear-filter-button{color:#666;background:#fff;border:1px solid #ddd}.clear-filter-button:hover{background:#f7f7f7}.apply-filter-button{color:#fff;background:#92143b;border:1px solid #92143b}.apply-filter-button:hover{background:#dc1e59;border-color:#dc1e59}@media (width<=1100px){.filter-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=800px){.filter-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=550px){.filter-grid{grid-template-columns:1fr}.filter-panel-actions{flex-direction:column}.clear-filter-button,.apply-filter-button{width:100%}}.text-filter{gap:8px;width:100%;display:flex}.text-filter select{color:#444;cursor:pointer;background:#fff;border:1px solid #e2e2e2;border-radius:10px;outline:none;width:125px;height:46px;padding:0 10px;font-family:inherit;font-size:13px}.text-filter select:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.text-filter input{color:#333;box-sizing:border-box;background:#fff;border:1px solid #e2e2e2;border-radius:10px;outline:none;flex:1;min-width:0;height:46px;padding:0 14px;font-family:inherit;font-size:14px;transition:all .2s}.text-filter input:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.advanced-filter-panel{box-sizing:border-box;width:100%;overflow:hidden}.advanced-filter-panel *,.advanced-filter-panel :before,.advanced-filter-panel :after{box-sizing:border-box}.advanced-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%;display:grid}.filter-field{width:100%;min-width:0}.filter-field label{color:#555;margin-bottom:7px;font-size:13px;font-weight:500;display:block}.filter-field input,.filter-field select{color:#333;background:#fff;border:1px solid #e2e2e2;border-radius:10px;outline:none;width:100%;min-width:0;max-width:100%;height:46px;padding:0 13px;font-family:inherit;font-size:13px;transition:all .2s}.filter-field input:focus,.filter-field select:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.numeric-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%;display:grid}.numeric-filter input{width:100%;min-width:0}.filter-field select{appearance:auto;cursor:pointer}.filter-row{gap:8px;width:100%;min-width:0;display:flex}.filter-row>*{flex:1;min-width:0}.text-filter{gap:8px;width:100%;min-width:0;display:flex}.text-filter select{flex:0 0 125px;width:125px;min-width:0}.text-filter input{flex:auto;width:0;min-width:0}.date-range-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%;display:grid}.date-range-filter>*{width:100%;min-width:0}@media (width<=1100px){.advanced-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.advanced-filter-grid{grid-template-columns:minmax(0,1fr)}.text-filter{flex-direction:column}.text-filter select{flex-basis:auto;width:100%}}.advanced-filter-panel{box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow:hidden}.advanced-filter-panel .advanced-filter-grid{width:100%;min-width:0}.advanced-filter-panel .filter-field{min-width:0;max-width:100%}.advanced-filter-panel input,.advanced-filter-panel select{box-sizing:border-box;min-width:0;max-width:100%}.advanced-filter-panel .text-filter{width:100%;min-width:0;max-width:100%}.advanced-filter-panel .text-filter input{width:0;min-width:0;max-width:100%}.advanced-filter-panel .text-filter select{flex-shrink:1;min-width:0;max-width:125px}.advanced-filter-panel .numeric-filter,.advanced-filter-panel .date-range-filter{width:100%;min-width:0;max-width:100%}.advanced-filter-panel .numeric-filter>*,.advanced-filter-panel .date-range-filter>*{min-width:0;max-width:100%}.advanced-filter-panel .date-range-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%;min-width:0;display:grid}.advanced-filter-panel .date-range-filter>*,.advanced-filter-panel .persian-date-picker{width:100%;min-width:0;max-width:100%}.advanced-filter-panel .persian-date-picker [data-jalali-datepicker-input=true]{box-sizing:border-box;height:46px;width:100%!important;min-width:0!important;max-width:100%!important}.advanced-filter-panel .persian-date-picker>div{width:100%;min-width:0;max-width:100%}.custom-select-wrapper{width:100%;min-width:0;position:relative}.custom-select{color:#333;cursor:pointer;box-sizing:border-box;background:#fff;border:1px solid #e2e2e2;border-radius:10px;outline:none;width:100%;height:46px;padding:0 14px;font-family:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s}.custom-select:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.custom-select-wrapper{z-index:1;width:100%;min-width:0;position:relative}.custom-select-wrapper.is-open{z-index:1001}.custom-select{color:#333;cursor:pointer;box-sizing:border-box;background:#fff;border:1px solid #e2e2e2;border-radius:10px;outline:none;justify-content:space-between;align-items:center;width:100%;height:46px;padding:0 13px;font-family:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s;display:flex;position:relative}.custom-select:hover{border-color:#d2d2d2}.custom-select-wrapper.is-open .custom-select{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.custom-select:disabled{color:#999;cursor:not-allowed;background:#f7f7f7}.custom-select-value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.custom-select-placeholder{color:#999}.custom-select-arrow{color:#777;margin-right:8px;font-size:15px;transition:transform .2s}.custom-select-wrapper.is-open .custom-select-arrow{transform:rotate(180deg)}.custom-select-dropdown{z-index:1000;box-sizing:border-box;background:#fff;border:1px solid #e2e2e2;border-radius:10px;width:100%;height:220px;max-height:220px;padding:5px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:hidden auto;box-shadow:0 8px 24px #0000001a}.custom-select-option{color:#444;text-align:right;cursor:pointer;box-sizing:border-box;background:0 0;border:none;border-radius:7px;flex-shrink:0;align-items:center;width:100%;height:42px;min-height:42px;padding:0 12px;font-family:inherit;font-size:13px;display:flex}.custom-select-option:hover{color:#92143b;background:#fdf0f4}.custom-select-option.selected{color:#92143b;background:#fde8ef;font-weight:500}.custom-select-dropdown::-webkit-scrollbar{width:6px}.custom-select-dropdown::-webkit-scrollbar-track{background:0 0}.custom-select-dropdown::-webkit-scrollbar-thumb{background:#d8d8d8;border-radius:10px}.custom-select-dropdown::-webkit-scrollbar-thumb:hover{background:#bdbdbd}.custom-select-empty{color:#999;text-align:center;padding:14px 10px;font-size:13px}.filter-section-title{margin-top:24px;margin-bottom:14px}.persons-card,.form-section{overflow:visible}.page-container{box-sizing:border-box;width:100%;padding:28px}.page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.page-header h2{color:#111827;margin:0 0 6px;font-size:20px}.page-header h1{color:#333;margin:0 0 7px;font-size:24px;font-weight:600}.page-header p{color:#888;margin:0;font-size:13px}.page-header span{color:#9ca3af;font-size:12px}@media (width<=768px){.page-header{align-items:flex-start;gap:15px;margin-bottom:20px;padding-right:56px}.page-header h1{font-size:20px}.page-header h2{font-size:18px}.page-header p{font-size:12px}.page-header span{font-size:11px}}.primary-button{color:#fff;cursor:pointer;background:#92143b;border:none;border-radius:10px;height:44px;padding:0 18px;font-family:inherit;font-size:13px;transition:background .2s,transform .2s}.primary-button:hover{background:#dc1e59}.primary-button:active{transform:translateY(1px)}.filter-toolbar{width:100%;margin-bottom:18px;display:flex}.filter-toolbar input{color:#333;box-sizing:border-box;background:#fff;border:1px solid #e2e2e2;border-radius:10px;outline:none;width:100%;max-width:none;height:46px;padding:0 14px;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}.filter-toolbar input:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.data-card{background:#fff;border:1px solid #ededed;border-radius:14px;width:100%;overflow:hidden;box-shadow:0 4px 18px #0000000a}.data-table{border-collapse:collapse;width:100%;font-size:13px}.data-table th{color:#666;text-align:right;background:#fafafa;border-bottom:1px solid #ededed;height:50px;padding:0 16px;font-weight:500}.data-table td{color:#444;text-align:right;border-bottom:1px solid #f0f0f0;height:58px;padding:0 16px}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background:#fffafb}.status-active,.status-inactive{border-radius:20px;justify-content:center;align-items:center;min-width:62px;height:28px;padding:0 10px;font-size:12px;display:inline-flex}.status-active{color:#27804b;background:#eaf7ef}.status-inactive{color:#92173f;background:#fde8ef}.table-actions{align-items:center;gap:8px;display:flex}.table-actions button{color:#555;cursor:pointer;background:#fff;border:1px solid #e2e2e2;border-radius:8px;height:34px;padding:0 11px;font-family:inherit;font-size:12px;transition:all .2s}.table-actions button:hover{color:#92143b;background:#fff7f9;border-color:#92143b}.page-loading,.page-error{text-align:center;background:#fff;border-radius:12px;padding:30px;font-size:13px}.page-loading{color:#888}.page-error{color:#b42318;border:1px solid #f1d1d1}.table-actions .action-edit,.table-actions .action-edit:hover{color:#fff;background:#cf3767;border-color:#cf3767}.table-actions .action-deactivate{color:#b42318;background:#fff8f8;border-color:#e3b7b7}.table-actions .action-deactivate:hover{color:#fff;background:#b42318;border-color:#b42318}.table-actions .action-activate{color:#27804b;background:#f5fbf7;border-color:#b7d8c2}.table-actions .action-activate:hover{color:#fff;background:#27804b;border-color:#27804b}.base-info-menu{white-space:nowrap;box-sizing:border-box;justify-content:flex-start;position:relative}.base-info-icon{text-align:center;flex-shrink:0;min-width:22px;width:22px!important;font-size:17px!important}.base-info-text{white-space:nowrap;text-align:right;flex:1;min-width:0;font-size:14px;font-weight:400;line-height:normal}.base-info-arrow{color:#9ca8b4;flex-shrink:0;min-width:auto;margin-right:auto;transition:transform .2s;width:auto!important;font-size:13px!important}.base-info-menu.open .base-info-arrow{transform:rotate(180deg)}.submenu{box-sizing:border-box;flex-direction:column;gap:4px;width:100%;margin:2px 0 8px;padding-right:34px;display:flex}.submenu-item{color:#9ca8b4;white-space:nowrap;box-sizing:border-box;border-radius:8px;align-items:center;width:100%;min-height:38px;padding:0 14px;font-family:inherit;font-size:14px;text-decoration:none;transition:background .2s,color .2s;display:flex}.submenu-item:hover{color:#fff;background:#22303d}.submenu-item.active{color:#fff;background:#2d89ef}.status-modal-overlay{z-index:9999;box-sizing:border-box;background:#0f172a73;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.status-modal{box-sizing:border-box;text-align:center;background:#fff;border-radius:16px;width:100%;max-width:420px;padding:28px;animation:.2s ease-out statusModalShow;box-shadow:0 20px 60px #0f172a2e}.status-modal-icon{color:#b42318;background:#fff4f4;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin:0 auto 16px;font-size:24px;font-weight:700;display:flex}.status-modal h3{color:#17212b;margin:0 0 10px;font-size:18px;font-weight:700}.status-modal p{color:#66727d;margin:0;font-size:14px;line-height:1.9}.status-modal-actions{justify-content:center;gap:10px;margin-top:24px;display:flex}.status-modal-actions button{cursor:pointer;border-radius:8px;min-width:110px;height:42px;padding:0 18px;font-family:inherit;font-size:14px;font-weight:600;transition:background .2s,border-color .2s,color .2s}.status-modal-cancel{color:#66727d;background:#fff;border:1px solid #d9dee3}.status-modal-cancel:hover{color:#17212b;background:#f5f6f7;border-color:#c7cdd3}.status-modal-confirm.deactivate{color:#fff;background:#b42318;border:1px solid #b42318}.status-modal-confirm.deactivate:hover{background:#941c13;border-color:#941c13}.status-modal-confirm.activate{color:#fff;background:#27804b;border:1px solid #27804b}.status-modal-confirm.activate:hover{background:#1f693d;border-color:#1f693d}@keyframes statusModalShow{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px;display:grid}.settings-grid>.data-card{box-sizing:border-box;height:100%}.settings-section-header{margin-bottom:24px}.settings-section-header h2{color:#2f2f2f;margin:0 0 8px;font-size:20px;font-weight:700}.settings-section-header p{color:#777;margin:0;font-size:14px;line-height:1.8}.settings-success,.settings-error{border-radius:10px;margin-bottom:20px;padding:13px 16px;font-size:14px}.settings-success{color:#27804b;background:#eaf7ef;border:1px solid #ccebd8}.settings-error{color:#92173f;background:#fde8ef;border:1px solid #f3c5d3}.logo-preview{box-sizing:border-box;background:linear-gradient(135deg,#fafafa 25%,#f3f3f3 25% 50%,#fafafa 50% 75%,#f3f3f3 75%) 0 0/28px 28px;border:1px solid #e6e6e6;border-radius:16px;justify-content:center;align-items:center;width:100%;min-height:260px;padding:28px;display:flex;overflow:hidden}.logo-preview img{object-fit:contain;max-width:85%;max-height:220px;display:block}.logo-placeholder{color:#999;background:#ffffffb3;border:2px dashed #d4d4d4;border-radius:18px;justify-content:center;align-items:center;width:150px;height:150px;font-size:14px;display:flex}.logo-actions{align-items:center;gap:12px;margin-top:18px;display:flex}.logo-actions .primary-button{cursor:pointer;box-sizing:border-box;justify-content:center;align-items:center;min-height:44px;display:inline-flex}.secondary-button{color:#b42318;cursor:pointer;background:#fff8f8;border:1px solid #e3b7b7;border-radius:9px;min-height:44px;padding:0 20px;font-family:inherit;font-size:14px;transition:background .2s,border-color .2s}.secondary-button:hover{background:#fff0f0;border-color:#d89a9a}:is(.secondary-button:disabled,.logo-actions .primary-button:has(input:disabled)){opacity:.6;cursor:not-allowed}.logo-help{color:#777;border-top:1px solid #eee;flex-wrap:wrap;gap:8px 18px;margin-top:18px;padding-top:16px;font-size:13px;display:flex}.logo-help strong{color:#444}.settings-info-list{flex-direction:column;display:flex}.settings-info-row{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:20px;padding:17px 0;display:flex}.settings-info-row:last-child{border-bottom:none}.settings-info-row span{color:#777;font-size:14px}.settings-info-row strong{color:#333;text-align:left;direction:rtl;font-size:14px;font-weight:600}@media (width<=900px){.settings-grid{grid-template-columns:1fr}}@media (width<=600px){.page-container{padding:18px}.logo-actions{flex-direction:column;align-items:stretch}.logo-actions .primary-button,.secondary-button{width:100%}.settings-info-row{flex-direction:column;align-items:flex-start;gap:6px}}.settings-grid .data-card{box-sizing:border-box;padding:28px}.logo-mark{background:0 0;justify-content:center;align-items:center;display:flex;overflow:hidden}.logo-mark img{object-fit:contain;width:100%;height:100%;display:block}.menu-item{font-size:14px}.menu-item span{text-align:center;width:22px;font-size:14px}.form-field textarea{resize:vertical;width:100%;min-height:110px;font-family:inherit;line-height:1.8}.pagination-arrow span{margin:0 6px}.related-items{flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;display:flex;gap:10px!important;display:flex!important}.related-item{color:#92143b;white-space:nowrap;box-sizing:border-box;background:#fff5f8;border:1px solid #f0d3dc;border-radius:20px;flex:none;align-items:center;min-height:36px;padding:0 14px;font-size:13px;font-weight:500;display:inline-flex!important}.related-empty{color:#999;background:#fafafa;border:1px dashed #ddd;border-radius:10px;margin-top:18px;padding:14px 16px;font-size:13px}.related-item-remove{color:#92143b;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;margin-right:8px;padding:0;font-size:18px;line-height:1;transition:background .2s,color .2s;display:inline-flex}.related-item-remove:hover{color:#963b39;background:#e8caca}.contact-form{background:#f8f8f8;border:1px solid #e5e5e5;border-radius:10px;flex-wrap:wrap;gap:15px;margin-top:15px;padding:18px;display:flex}.contact-form-field{flex:1;min-width:220px}.contact-form-field label{color:#333;margin-bottom:7px;font-size:14px;font-weight:600;display:block}.contact-form-field input{box-sizing:border-box;color:#333;width:100%;padding:9px 11px;font-family:inherit;font-size:14px;box-shadow:none!important;background:#fff!important;border:1px solid #d8d8d8!important;border-radius:7px!important;outline:none!important}.contact-form-field input:focus{border-color:#92143b!important;outline:none!important;box-shadow:0 0 0 2px #92143b14!important}.contact-form-actions{align-items:center;gap:10px;width:100%;margin-top:3px;display:flex}.contact-form-actions .primary-button,.contact-form-actions .secondary-button{min-width:80px}.related-item-actions .contact-edit-button{color:#fff;cursor:pointer;background:#4c956c;border:none;border-radius:6px;justify-content:center;align-items:center;margin-right:8px;transition:background-color .2s,color .2s;display:inline-flex;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important;padding:0!important}.related-item-actions .contact-edit-button:hover{color:#fff;background:#2f6f49}.related-item-actions .contact-edit-button svg{display:block}.bank-related-items .related-item{box-sizing:border-box;width:100%;min-width:0}.bank-related-items .related-item-info{flex:auto;width:0;min-width:0;overflow:hidden}.bank-related-items .related-item-info>span{white-space:normal;overflow-wrap:anywhere;word-break:break-word;width:100%;min-width:0;line-height:2;display:block}.bank-related-items .related-item-actions{flex:none}.related-item{color:#246b3a;background:#f0f8f2;border-color:#cfe6d4}.related-item .related-item-info,.related-item .related-item-info>span{color:#246b3a}.person-details-page .primary-button{color:#fff;background:#4c956c;border-color:#4c956c}.person-details-page .primary-button:hover{color:#fff;background:#2f6f49;border-color:#2f6f49}.person-details-page .custom-select{transition:border-color .2s}.person-details-page .custom-select:hover,.person-details-page .custom-select-wrapper.is-open .custom-select{border-color:#4c956c}[data-jalali-datepicker-popover=true]{z-index:99999!important;position:fixed!important}.loan-form-card{margin-top:20px}.loan-form-inner{padding:24px}.loan-form-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.loan-form-header h2{color:#333;margin:0;font-size:20px;font-weight:700}.loan-form-header p{color:#888;margin:6px 0 0;font-size:13px}.loan-form-cancel-top{cursor:pointer;color:#666;background:#fff;border:1px solid #e2e2e2;border-radius:8px;padding:8px 14px;font-family:inherit;transition:all .2s}.loan-form-cancel-top:hover{color:#92143b;border-color:#92143b}.loan-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.loan-form-grid>div{min-width:0}.loan-form-grid label{color:#444;margin-bottom:7px;font-size:14px;font-weight:500;display:block}.loan-form-grid input{box-sizing:border-box;color:#333;background:#fff;border:1px solid #ddd;border-radius:8px;outline:none;width:100%;height:44px;padding:0 12px;font-family:inherit;font-size:14px;transition:all .2s}.loan-form-grid input::placeholder{color:#aaa}.loan-form-grid input:focus{border-color:#92143b;box-shadow:0 0 0 2px #92143b14}.loan-form-actions{border-top:1px solid #eee;justify-content:flex-start;gap:10px;margin-top:24px;padding-top:20px;display:flex}.loan-form-cancel{cursor:pointer;color:#555;background:#fff;border:1px solid #ddd;border-radius:8px;height:44px;padding:0 22px;font-family:inherit;font-size:14px;transition:all .2s}.loan-form-cancel:hover{color:#92143b;border-color:#92143b}@media (width<=768px){.loan-form-inner{padding:18px}.loan-form-grid{grid-template-columns:1fr;gap:14px}.loan-form-header{align-items:flex-start;gap:15px}.loan-form-header h2{font-size:18px}}.mobile-sidebar-close{display:none!important}@media (width<=768px){.mobile-sidebar-close{color:#9ca8b4;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-family:inherit;font-size:24px;line-height:1;position:absolute;top:14px;left:14px;display:flex!important}.mobile-sidebar-close:hover{color:#fff;background:#22303d}.user-info{gap:8px}.user-avatar{width:36px;height:36px;font-size:14px}.user-info strong{font-size:13px}.user-info small{font-size:11px}}.persons-table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}@media (width<=768px){.persons-table-wrapper{overflow-x:auto}.persons-table{min-width:900px}}.pagination-top{width:fit-content;margin-bottom:20px;margin-left:0;margin-right:auto}@media (width<=768px){.table-footer{flex-direction:column;align-items:stretch;gap:12px;padding:14px 16px}.table-footer>span{text-align:center}.pagination{flex-wrap:wrap;justify-content:center}.pagination-top{justify-content:center;width:100%;margin-left:0;margin-right:0}}.loans-table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}@media (width<=768px){.loans-table-wrapper{overflow-x:auto}.data-table{min-width:900px}}.base-info-table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}@media (width<=768px){.base-info-table-wrapper{overflow-x:auto}.base-info-table-wrapper .data-table{min-width:700px}}.page-header-actions{align-items:center;gap:10px;display:flex}.excel-import-button{color:#237a3b;cursor:pointer;background-color:#e6f4ea;border:1px solid #b7dfc0;border-radius:8px;padding:10px 18px;font-family:inherit;font-size:14px;font-weight:500;transition:background-color .2s,border-color .2s}.excel-import-button:hover{background-color:#d7eedc;border-color:#9dcea8}.excel-import-file-box{flex-direction:column;align-items:flex-start;gap:16px;padding:24px;display:flex}.excel-file-label{box-sizing:border-box;color:#237a3b;cursor:pointer;white-space:nowrap;background-color:#e6f4ea;border:1px solid #b7dfc0;border-radius:8px;justify-content:center;align-items:center;width:150px;padding:10px 18px;font-family:inherit;font-size:14px;font-weight:500;transition:background-color .2s,border-color .2s;display:inline-flex}.excel-file-label:hover{background-color:#d7eedc;border-color:#9dcea8}#persons-excel-file{display:none}.excel-selected-file{color:#555;background-color:#fafafa;border:1px solid #e3e3e3;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;font-size:14px;display:flex}.excel-selected-file strong{color:#333;font-weight:500}.excel-preview-section{background-color:#fff;border:1px solid #eee;border-radius:10px;margin-top:28px;padding:24px}.excel-preview-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;display:flex}.excel-preview-header>div{flex-direction:column;gap:6px;display:flex}.excel-preview-header h3{margin:0;font-size:16px;font-weight:600}.excel-preview-header span{color:#777;font-size:13px}.excel-preview-table-wrapper{width:100%;overflow-x:auto}.excel-caseworker-suggestion,.excel-caseworker-new{flex-direction:column;align-items:flex-start;gap:9px;min-width:260px;display:flex}.excel-caseworker-suggestion>div:first-child,.excel-caseworker-new>div:first-child{line-height:1.9}.excel-caseworker-suggestion strong,.excel-caseworker-new strong{color:#92143b;font-weight:600}.excel-suggestion-confirm-button,.excel-suggestion-create-button{cursor:pointer;border-radius:7px;padding:7px 12px;font-family:inherit;font-size:13px;transition:background-color .2s,border-color .2s}.excel-suggestion-confirm-button{color:#237a3b;background-color:#e6f4ea;border:1px solid #b7dfc0}.excel-suggestion-confirm-button:hover{background-color:#d7eedc;border-color:#9dcea8}.excel-suggestion-create-button{color:#92143b;background-color:#f9f1f4;border:1px solid #d8c1ca}.excel-suggestion-create-button:hover{background-color:#f2e4ea;border-color:#c9a7b5}.excel-suggestion-selected{color:#4d6653;background-color:#f5f9f6;border-radius:7px;padding:7px 10px;font-size:13px}.excel-suggestion-selected strong{color:#237a3b;font-weight:600}.excel-caseworker-valid{color:#237a3b;font-size:13px;font-weight:500}.status-badge.pending{color:#9a6500;background-color:#fff4df}.excel-existing-person{flex-direction:column;align-items:flex-start;gap:10px;min-width:260px;display:flex}.excel-existing-person-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.excel-existing-update-button,.excel-existing-skip-button{cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:34px;padding:6px 12px;font-family:inherit;font-size:13px;font-weight:500;transition:background-color .2s,border-color .2s,color .2s;display:inline-flex}.excel-existing-update-button{color:#237a3b;background-color:#f1f8f3;border:1px solid #b7dfc0}.excel-existing-update-button:hover{background-color:#e2f2e6;border-color:#9dcea8}.excel-existing-skip-button{color:#666;background-color:#fafafa;border:1px solid #dedede}.excel-existing-skip-button:hover{background-color:#f1f1f1;border-color:#cfcfcf}.excel-existing-skipped{color:#666;background-color:#f7f7f7;border-radius:7px;padding:7px 10px;font-size:13px}.excel-base-info-valid{color:#237a3b;font-size:13px;font-weight:500}.success-message{direction:rtl;border-radius:6px;align-items:center;gap:10px;margin-top:16px;padding:12px 16px;font-size:14px;font-weight:500;display:flex;color:#246b3f!important;background:#eaf7ef!important;border:1px solid #8ac9a3!important;border-right:4px solid #2e8b57!important}.success-message-icon{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:13px;font-weight:700;display:flex;color:#fff!important;background:#2e8b57!important}.error-message{color:#922b21;direction:rtl;background:#fdecec;border:1px solid #e3a0a0;border-right:4px solid #c0392b;border-radius:6px;align-items:center;gap:10px;margin-top:16px;padding:12px 16px;font-size:14px;font-weight:500;display:flex}.excel-preview-button{box-sizing:border-box;white-space:nowrap;width:150px;min-width:150px}.person-status-counts{align-items:center;gap:18px;margin-top:6px;display:flex}.person-status-item{align-items:center;gap:6px;display:flex}.person-status-item small{color:#777;font-size:12px}.person-status-item strong{font-size:20px}.person-status-divider{background:#ddd;width:1px;height:24px}.view-all-alerts-button{color:#92143b;cursor:pointer;background:#fff;border:1px solid #e0b6c4;border-radius:8px;width:100%;margin-top:12px;padding:10px 16px;font-family:inherit;font-size:13px;font-weight:500;transition:background-color .2s,border-color .2s,color .2s;display:block}.view-all-alerts-button:hover{color:#92143b;background:#fdf0f4;border-color:#92143b}.back-button{color:#555;cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:7px;width:fit-content;margin-bottom:12px;margin-left:0;margin-right:auto;padding:8px 14px;font-family:inherit;font-size:13px;transition:background-color .2s,border-color .2s,color .2s;display:block}.back-button:hover{color:#92143b;background:#fdf4f7;border-color:#92143b}.caseworker-chart{box-sizing:border-box;justify-content:space-around;align-items:flex-end;gap:24px;height:270px;padding:20px 14px 0;display:flex;position:relative}.caseworker-chart-item{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;max-width:110px;height:100%;display:flex;position:relative}.caseworker-chart-value{color:#92143b;margin-bottom:8px;font-size:14px;font-weight:700;transition:transform .2s}.caseworker-chart-column-wrapper{justify-content:center;align-items:flex-end;width:46px;height:185px;display:flex;position:relative}.caseworker-chart-column-wrapper:after{content:"";z-index:0;background:#f5f5f5;border-radius:10px 10px 4px 4px;width:46px;height:100%;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.caseworker-chart-column{z-index:1;background:linear-gradient(#c51a50,#92143b);border-radius:10px 10px 4px 4px;width:46px;min-height:10px;transition:height .4s,transform .2s,box-shadow .2s;position:relative}.caseworker-chart-item:hover .caseworker-chart-column{transform:scaleX(1.08);box-shadow:0 6px 16px #92143b38}.caseworker-chart-item:hover .caseworker-chart-value{transform:translateY(-2px)}.caseworker-chart-label{color:#555;text-align:center;white-space:normal;word-break:break-word;width:100%;margin-top:11px;font-size:12px;font-weight:500;line-height:1.6}@media (width<=768px){.caseworker-chart{gap:10px;height:250px;padding:18px 4px 0}.caseworker-chart-item{max-width:70px}.caseworker-chart-column-wrapper{width:32px;height:165px}.caseworker-chart-column-wrapper:after,.caseworker-chart-column{width:32px}.caseworker-chart-value{margin-bottom:6px;font-size:12px}.caseworker-chart-label{color:#555;text-align:center;white-space:nowrap;transform-origin:top;width:100%;margin-top:14px;font-size:12px;font-weight:500;line-height:1.5;transform:rotate(-35deg)}}@media (width<=480px){.caseworker-chart{gap:4px;padding-left:0;padding-right:0}.caseworker-chart-item{max-width:58px}.caseworker-chart-column-wrapper,.caseworker-chart-column-wrapper:after,.caseworker-chart-column{width:28px}.caseworker-chart-label{font-size:10px}}.excel-export-button{color:#fff;cursor:pointer;background-color:#2e8b57;border:none;border-radius:6px;padding:10px 16px;font-family:inherit;font-size:14px;transition:background-color .2s}.excel-export-button:hover{background-color:#267348}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.page-header-info{min-width:0}.page-header-info h2{overflow-wrap:anywhere;margin-top:0}.page-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.page-header-actions button{white-space:nowrap;max-width:100%}@media (width<=600px){.base-page-title{padding-right:56px}.page-header,.search-box{box-sizing:border-box;width:100%;max-width:100%;margin-left:0;margin-right:0}.page-header{flex-direction:column;align-items:stretch;gap:14px}.page-header-info,.page-header-actions{box-sizing:border-box;width:100%;min-width:0}.page-header-actions{flex-direction:column;align-items:stretch;gap:8px;display:flex}.page-header-actions button{box-sizing:border-box;width:100%;min-width:0}.search-box{gap:8px;display:flex}.search-input-wrapper{flex:1;min-width:0}.search-input-wrapper input{box-sizing:border-box;width:100%}.page-header{padding-left:0;padding-right:0}}.reports-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px;display:grid}.report-card{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;align-items:flex-start;min-width:0;padding:24px;transition:box-shadow .2s,border-color .2s;display:flex}.report-card:hover{border-color:#d6b0bc;box-shadow:0 4px 14px #0000000d}.report-card-icon{background:#f8edf1;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;margin-bottom:14px;font-size:25px;display:flex}.report-card h3{color:#292929;margin:0 0 10px;font-size:17px}.report-card p{color:#707070;flex:1;margin:0 0 20px;font-size:13px;line-height:1.9}.report-card button{color:#fff;cursor:pointer;background:#92143b;border:none;border-radius:7px;width:100%;min-height:42px;padding:10px 14px;font-family:inherit;font-size:13px;transition:background .2s}.report-card button:hover{background:#75102f}@media (width<=700px){.reports-grid{grid-template-columns:1fr;gap:14px}.report-card{padding:18px}}.persons-report-page .persons-report-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.persons-report-page .persons-report-filters{flex-wrap:wrap;flex:1;align-items:center;gap:12px;min-width:0;display:flex}.persons-report-page .persons-report-filters input,.persons-report-page .persons-report-filters select{color:#333;background:#fff;border:1px solid #ddd;border-radius:8px;outline:none;min-height:42px;padding:10px 12px;font-family:inherit;font-size:13px}.persons-report-page .persons-report-filters input{flex:1;min-width:220px}.persons-report-page .persons-report-filters select{cursor:pointer;min-width:190px}.persons-report-page .persons-report-filters input:focus,.persons-report-page .persons-report-filters select:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.persons-report-page .persons-report-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.persons-report-page .persons-report-actions button,.persons-report-page .page-header .secondary-button{cursor:pointer;border-radius:8px;min-height:40px;padding:9px 16px;font-family:inherit;font-size:13px;transition:background-color .2s,transform .2s}.persons-report-page .persons-report-actions .print-button{color:#2563eb;background:#eff6ff;border:1px solid #93c5fd}.persons-report-page .persons-report-actions .print-button:hover{color:#1d4ed8;background:#dbeafe;border-color:#60a5fa}.persons-report-page .persons-report-actions .excel-export-button{color:#fff;background:#23834b;border:1px solid #23834b}.persons-report-page .persons-report-actions .excel-export-button:hover{background:#196b3b}.persons-report-page .page-header .secondary-button{color:#92143b;background:#fff;border:1px solid #92143b}.persons-report-page .page-header .secondary-button:hover{background:#fff0f4}.persons-report-page .persons-report-footer{color:#666;border-top:1px solid #eee;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;font-size:13px;display:flex}.persons-report-page .persons-report-footer .pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.persons-report-page .pagination-pages{align-items:center;gap:5px;display:flex}.persons-report-page .report-page-item{align-items:center;gap:5px;display:inline-flex}.persons-report-page .pagination-pages button,.persons-report-page .pagination-arrow{color:#444;cursor:pointer;background:#fff;border:1px solid #e2e2e2;border-radius:7px;justify-content:center;align-items:center;min-width:36px;min-height:36px;padding:6px 10px;font-family:inherit;font-size:13px;transition:background-color .2s,border-color .2s;display:inline-flex}.persons-report-page .pagination-pages button:hover,.persons-report-page .pagination-arrow:not(:disabled):hover{color:#92143b;background:#fff5f7;border-color:#92143b}.persons-report-page .pagination-pages button.current-page{color:#fff;background:#92143b;border-color:#92143b}.persons-report-page .pagination-arrow:disabled{opacity:.4;cursor:not-allowed}.persons-report-page .pagination-ellipsis{color:#888;padding:0 3px}@media (width<=768px){.persons-report-page .persons-report-toolbar,.persons-report-page .persons-report-filters,.persons-report-page .persons-report-actions{width:100%}.persons-report-page .persons-report-filters{flex-direction:column;align-items:stretch}.persons-report-page .persons-report-filters input,.persons-report-page .persons-report-filters select{box-sizing:border-box;width:100%;min-width:0}.persons-report-page .persons-report-actions button{flex:1}.persons-report-page .persons-report-footer{flex-direction:column;align-items:stretch}.persons-report-page .persons-report-footer .pagination{justify-content:center}.persons-report-page .page-header{flex-wrap:wrap;gap:12px}}.pagination-top{direction:rtl;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;margin-bottom:16px;display:flex}.pagination-top .pagination-pages{align-items:center;gap:5px;display:flex}.pagination-top .pagination-pages button,.pagination-top .pagination-arrow{color:#444;cursor:pointer;background:#fff;border:1px solid #e2e2e2;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-width:36px;min-height:36px;padding:6px 10px;font-family:inherit;font-size:13px;transition:background-color .2s,border-color .2s;display:inline-flex}.pagination-top .pagination-pages button:hover,.pagination-top .pagination-arrow:not(:disabled):hover{color:#92143b;background:#fff5f7;border-color:#92143b}.pagination-top .pagination-pages button.current-page{color:#fff;background:#92143b;border-color:#92143b}.pagination-top .pagination-arrow:disabled{opacity:.4;cursor:not-allowed}.pagination-top .pagination-ellipsis{color:#888;padding:0 3px}@media (width<=600px){.pagination-top{justify-content:center;gap:5px}.pagination-top .pagination-pages{gap:3px}.pagination .pagination-pages button,.pagination .pagination-arrow{color:#444;cursor:pointer;background:#fff;border:1px solid #e2e2e2;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-width:36px;min-height:36px;padding:6px 10px;font-family:inherit;font-size:13px;font-weight:400;transition:background-color .2s,border-color .2s;display:inline-flex}.pagination .pagination-pages button:hover,.pagination .pagination-arrow:not(:disabled):hover{color:#92143b;background:#fff5f7;border-color:#92143b}.pagination .pagination-pages button.current-page{color:#fff;background:#92143b;border-color:#92143b}.pagination .pagination-arrow:disabled{opacity:.4;cursor:not-allowed}}.pagination.pagination-top{direction:rtl;justify-content:flex-start;align-items:center;gap:8px;font-family:inherit;display:flex}.pagination.pagination-top .pagination-pages{align-items:center;gap:5px;display:flex}.pagination.pagination-top .pagination-pages button,.pagination.pagination-top .pagination-arrow{box-sizing:border-box;color:#444;cursor:pointer;background:#fff;border:1px solid #e2e2e2;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-width:36px;min-height:36px;margin:0;padding:6px 10px;font-family:inherit;font-size:13px;font-weight:400;line-height:normal;display:inline-flex}.pagination.pagination-top .pagination-pages button:hover,.pagination.pagination-top .pagination-arrow:not(:disabled):hover{color:#92143b;background:#fff5f7;border-color:#92143b}.pagination.pagination-top .pagination-pages button.current-page{color:#fff;background:#92143b;border-color:#92143b}.pagination.pagination-top .pagination-arrow:disabled{opacity:.4;cursor:not-allowed}.pagination.pagination-top .pagination-ellipsis{color:#888;padding:0 3px;font-family:inherit;font-size:13px}.pagination .pagination-arrow{box-sizing:border-box;white-space:nowrap;justify-content:center;align-items:center;gap:6px;width:88px;min-width:88px;height:36px;padding:6px 10px;font-family:inherit;font-size:13px;display:inline-flex}@media (width<=768px){.pagination.pagination-top{width:100%;margin-left:auto;margin-right:auto;justify-content:center!important}}.pagination .pagination-pages{align-items:center;gap:5px;display:flex}.pagination .report-page-item{align-items:center;gap:5px;display:inline-flex}.pagination .pagination-pages button{flex-shrink:0}.print-orientation-controls{flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 12px;display:flex}.print-orientation-controls>span{color:#555;font-size:12px}.orientation-button{color:#333;cursor:pointer;background:#fff;border:1px solid #d5d5d5;border-radius:5px;padding:5px 9px;font-family:inherit;font-size:12px;line-height:1.4}.orientation-button.selected{color:#fff;background:#92143b;border-color:#92143b}.orientation-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=768px){.print-orientation-controls{width:100%;margin-left:auto;margin-right:auto;justify-content:center!important}}.loans-report-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}.loans-report-stats .loan-stat-card{background:#fff;border:1px solid #ece8ed;border-radius:16px;align-items:center;gap:16px;min-width:0;padding:24px 20px;transition:transform .2s,box-shadow .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 16px #2319280b}.loans-report-stats .loan-stat-card:before{content:"";background:var(--loan-stat-color,#92143b);width:4px;height:100%;position:absolute;top:0;right:0}.loans-report-stats .loan-stat-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #23192817}.loans-report-stats .loan-count-card{--loan-stat-color:#92143b;--loan-stat-bg:#f8eaf0}.loans-report-stats .loan-total-card{--loan-stat-color:#21865a;--loan-stat-bg:#e8f6ee}.loans-report-stats .loan-average-card{--loan-stat-color:#3974b8;--loan-stat-bg:#eaf2fc}.loans-report-stats .loan-stat-icon{background:var(--loan-stat-bg);width:58px;height:58px;color:var(--loan-stat-color);border-radius:15px;flex:0 0 58px;justify-content:center;align-items:center;font-size:24px;display:flex}.loans-report-stats .loan-stat-content{flex:1;min-width:0}.loans-report-stats .loan-stat-card h3{color:#68616b;margin:0 0 10px;font-size:13px;font-weight:500}.loans-report-stats .loan-stat-card .dashboard-card-value{color:#29232c;overflow-wrap:anywhere;font-size:25px;font-weight:750;line-height:1.6}.loans-report-stats .loan-stat-card .dashboard-card-value small{color:#77717a;font-size:11px;font-weight:500}.loans-report-stats .loan-stat-caption{color:#938b96;margin-top:5px;font-size:11px;line-height:1.8;display:block}@media (width<=900px){.loans-report-stats{grid-template-columns:1fr;gap:12px}.loans-report-stats .loan-stat-card{padding:18px}}@media print{.loans-report-page.printing .loan-stat-card{box-shadow:none!important;break-inside:avoid!important;transform:none!important}.loans-report-page.printing .loan-stat-icon,.loans-report-page.printing .loan-stat-caption,.loans-report-page.printing .loan-stat-card:before{display:none!important}}.loans-report-page .loans-print-summary{display:none}@page portraitPage{size:A4 portrait;margin:15mm 10mm 10mm}@page landscapePage{size:A4 landscape;margin:15mm 8mm 8mm}.persons-report-page .print-report-header{display:none}@media print{body *{visibility:hidden!important}.persons-report-page.printing,.persons-report-page.printing *{visibility:visible!important}.persons-report-page.printing{direction:rtl;color:#000!important;background:#fff!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.persons-report-page.printing .topbar,.persons-report-page.printing .persons-report-toolbar,.persons-report-page.printing .persons-report-footer,.persons-report-page.printing .pagination,.persons-report-page.printing .print-orientation-controls,.persons-report-page.printing .page-header button,.persons-report-page.printing .error-message,.persons-report-page.printing button{display:none!important}.persons-report-page.printing .page-container{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.persons-report-page.printing .page-header{border-bottom:2px solid #92143b!important;width:100%!important;margin:0 0 12px!important;padding:0 0 8px!important;display:none!important}.persons-report-page.printing .page-header h1{color:#000!important;margin:0 0 5px!important;font-size:18px!important;font-weight:700!important}.persons-report-page.printing .page-header p{color:#444!important;margin:0!important;font-size:11px!important}.persons-report-page.printing .print-report-header{z-index:9999!important;box-sizing:border-box!important;color:#000!important;direction:rtl!important;background:#fff!important;border-bottom:1mm solid #92143b!important;grid-template-columns:22mm minmax(0,1fr) 38mm!important;align-items:center!important;column-gap:5mm!important;width:100%!important;height:25mm!important;margin:0!important;padding:0 0 3mm!important;font-family:inherit!important;display:grid!important;position:relative!important;top:0!important;left:0!important;right:0!important}.persons-report-page.printing .print-report-header-line{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#92143b!important;width:100%!important;height:1mm!important;display:none!important;position:absolute!important;bottom:0!important;left:0!important;right:0!important}.persons-report-page.printing .print-report-header-logo{justify-content:flex-start!important;align-items:center!important;width:22mm!important;height:20mm!important;display:flex!important;overflow:hidden!important}.persons-report-page.printing .print-report-header-logo img{object-fit:contain!important;width:auto!important;max-width:21mm!important;height:auto!important;max-height:19mm!important;display:block!important}.persons-report-page.printing .print-report-header-title{text-align:center!important;min-width:0!important}.persons-report-page.printing .print-report-header-title h1{color:#000!important;margin:0 0 2mm!important;padding:0!important;font-size:12pt!important;font-weight:700!important;line-height:1.5!important}.persons-report-page.printing .print-report-header-title p{color:#444!important;margin:0!important;padding:0!important;font-size:9pt!important;line-height:1.5!important}.persons-report-page.printing .print-report-header-brand{font-size:16pt!important;font-weight:700!important;line-height:1.5!important}.persons-report-page.printing .print-report-header-datetime{text-align:right!important;direction:rtl!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:2mm!important;min-width:0!important;font-size:8pt!important;line-height:1.5!important;display:flex!important}.persons-report-page.printing .print-report-header-datetime span{color:#666!important;font-weight:400!important}.persons-report-page.printing .print-report-header-datetime strong{color:#000!important;white-space:nowrap!important;font-weight:700!important}.persons-report-page.printing .page-header{display:none!important}.persons-report-page.printing .persons-card{width:100%!important;min-width:0!important;max-width:none!important;box-shadow:none!important;border:none!important;border-radius:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.persons-report-page.printing .persons-table-wrapper{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.persons-report-page.printing .persons-table{direction:rtl;border-collapse:collapse!important;border-spacing:0!important;table-layout:auto!important;page-break-inside:auto!important;break-inside:auto!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;font-size:10px!important;display:table!important}.persons-report-page.printing .persons-table thead{display:table-header-group!important}.persons-report-page.printing .persons-table tbody{display:table-row-group!important}.persons-report-page.printing .persons-table tr{page-break-inside:avoid!important;break-inside:avoid!important;display:table-row!important}.persons-report-page.printing .persons-table th,.persons-report-page.printing .persons-table td{box-sizing:border-box!important;text-align:center!important;vertical-align:middle!important;color:#000!important;white-space:normal!important;overflow-wrap:anywhere!important;background:#fff!important;border:1px solid #999!important;min-width:0!important;padding:5px 4px!important;font-size:10px!important;line-height:1.6!important;display:table-cell!important;overflow:visible!important}.persons-report-page.printing .persons-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#eee!important;font-weight:700!important}.persons-report-page.printing .persons-table .person-name{text-align:right!important}.persons-report-page.printing .persons-table .status{color:#000!important;font-size:inherit!important;background:0 0!important;border:none!important;padding:0!important;display:inline!important}.persons-report-page.printing>.persons-report-print-header{display:none!important}.persons-report-page.printing .persons-report-print-header-row{break-inside:avoid!important;page-break-inside:avoid!important;display:table-row!important}.persons-report-page.printing .persons-report-print-header-cell{background:#fff!important;border:none!important;padding:0!important}.persons-report-page.printing .persons-report-print-header-cell .print-report-header{box-sizing:border-box!important;width:100%!important;height:25mm!important;margin:0!important;display:grid!important;position:static!important;top:auto!important;left:auto!important;right:auto!important}}.loans-report-page .print-report-header{display:none}@media print{@page portraitPage{size:A4 portrait;margin:15mm 10mm 10mm}@page landscapePage{size:A4 landscape;margin:15mm 8mm 8mm}.loans-report-page.printing .loans-print-summary{box-sizing:border-box!important;color:#000!important;visibility:visible!important;break-inside:avoid!important;page-break-inside:avoid!important;background:#fff!important;border:1px solid #aaa!important;flex-flow:row!important;justify-content:space-between!important;align-items:stretch!important;gap:8px!important;width:100%!important;margin:0 0 10px!important;padding:8px!important;font-size:10px!important;display:flex!important}.loans-report-page.printing .loans-print-summary-item{color:#000!important;text-align:center!important;visibility:visible!important;background:#fff!important;border:1px solid #ddd!important;flex-direction:column!important;flex:1 1 0!important;justify-content:center!important;align-items:center!important;gap:5px!important;min-width:0!important;padding:6px 3px!important;display:flex!important}.loans-report-page.printing .loans-print-summary-item strong{color:#000!important;font-size:10px!important;font-weight:700!important}.loans-report-page.printing .loans-print-summary-item span{color:#000!important;overflow-wrap:anywhere!important;font-size:11px!important}.loans-report-page.printing .loans-report-count,.loans-report-page.printing .persons-report-footer{display:none!important}.loans-report-page.print-portrait{page:portraitPage}.loans-report-page.print-landscape{page:landscapePage}body *{visibility:hidden!important}.loans-report-page.printing,.loans-report-page.printing *{visibility:visible!important}.loans-report-page.printing{color:#000!important;direction:rtl!important;background:#fff!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.loans-report-page.printing .topbar,.loans-report-page.printing .persons-report-toolbar,.loans-report-page.printing .pagination,.loans-report-page.printing .print-orientation-controls,.loans-report-page.printing .page-header button,.loans-report-page.printing .error-message,.loans-report-page.printing button{display:none!important}.loans-report-page.printing .print-report-header{grid-template-columns:22mm minmax(0,1fr) 38mm;align-items:center;column-gap:5mm;z-index:9999!important;box-sizing:border-box!important;color:#000!important;direction:rtl!important;background:#fff!important;border-bottom:1mm solid #92143b!important;width:100%!important;height:25mm!important;margin:0!important;padding:0 0 3mm!important;font-family:inherit!important;display:grid!important;position:static!important;top:0!important;left:0!important;right:0!important}.loans-report-page.printing .loans-report-print-header-cell .print-report-header{box-sizing:border-box!important;width:100%!important;height:25mm!important;margin:0!important;display:grid!important;position:static!important}.loans-report-page.printing .print-report-header-logo{justify-content:flex-start!important;align-items:center!important;width:22mm!important;height:20mm!important;display:flex!important;overflow:hidden!important}.loans-report-page.printing .print-report-header-logo img{object-fit:contain!important;width:auto!important;max-width:21mm!important;height:auto!important;max-height:19mm!important;display:block!important}.loans-report-page.printing .print-report-header-title{text-align:center!important;min-width:0!important}.loans-report-page.printing .print-report-header-title h1{color:#000!important;margin:0 0 2mm!important;padding:0!important;font-size:12pt!important;font-weight:700!important;line-height:1.5!important}.loans-report-page.printing .print-report-header-title p{color:#444!important;margin:0!important;padding:0!important;font-size:9pt!important;line-height:1.5!important}.loans-report-page.printing .print-report-header-brand{font-size:16pt!important;font-weight:700!important;line-height:1.5!important}.loans-report-page.printing .print-report-header-datetime{text-align:right!important;direction:rtl!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:2mm!important;min-width:0!important;font-size:8pt!important;line-height:1.5!important;display:flex!important}.loans-report-page.printing .print-report-header-datetime span{color:#666!important;font-weight:400!important}.loans-report-page.printing .print-report-header-datetime strong{color:#000!important;white-space:nowrap!important;font-weight:700!important}.loans-report-page.printing .print-report-header-line{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#92143b!important;height:1mm!important;display:none!important;position:absolute!important;bottom:0!important;left:0!important;right:0!important}.loans-report-page.printing .page-header{display:none!important}.loans-report-page.printing .page-container{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.loans-report-page.printing .loans-report-stats{grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin:0 0 10px!important;display:none!important}.loans-report-page.printing .dashboard-card{box-shadow:none!important;color:#000!important;break-inside:avoid!important;page-break-inside:avoid!important;background:#fff!important;border:1px solid #aaa!important;border-radius:0!important;padding:8px!important}.loans-report-page.printing .dashboard-card h3{color:#000!important;font-size:10px!important}.loans-report-page.printing .dashboard-card-value{color:#000!important;font-size:13px!important}.loans-report-page.printing .persons-card,.loans-report-page.printing .persons-table-wrapper{width:100%!important;min-width:0!important;max-width:none!important;box-shadow:none!important;border:none!important;border-radius:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.loans-report-page.printing .persons-table{border-collapse:collapse!important;table-layout:auto!important;direction:rtl!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;font-size:9px!important;display:table!important}.loans-report-page.printing .persons-table tbody{display:table-row-group!important}.loans-report-page.printing .persons-table tr{break-inside:avoid!important;page-break-inside:avoid!important}.loans-report-page.printing .persons-table th,.loans-report-page.printing .persons-table td{box-sizing:border-box!important;text-align:center!important;vertical-align:middle!important;color:#000!important;white-space:normal!important;overflow-wrap:anywhere!important;background:#fff!important;border:1px solid #999!important;min-width:0!important;padding:4px 3px!important;font-size:9px!important;line-height:1.5!important}.loans-report-page.printing .persons-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#eee!important;font-weight:700!important}.loans-report-page.printing .persons-table .person-name{text-align:right!important}.loans-report-page .page-header h1{font-size:24px}.loans-report-page.printing .loans-print-header-before-summary .print-report-header{box-sizing:border-box!important;width:100%!important;height:25mm!important;margin:0 0 5mm!important;display:grid!important;position:static!important}.loans-report-page.printing .loans-print-summary-row{break-inside:avoid!important;page-break-inside:avoid!important}.loans-report-page.printing .loans-print-summary-row>td{background:#fff!important;border:none!important;padding:6px!important}.loans-report-page.printing .loans-print-header-row{display:table-row!important}.loans-report-page.printing .loans-print-header-row>td{border:none!important;padding:0!important}.loans-report-page.printing .loans-print-header-row .print-report-header{display:grid!important}.loans-report-page.printing .persons-table thead{display:table-header-group!important}.loans-report-page.printing>.print-report-header{display:none!important}}.loans-print-header-before-summary{display:none}.loans-total-row td{background-color:#f7f7f7;padding:10px 6px;font-weight:700;border-top:2px solid #92143b!important}@media print{.loans-total-row{break-inside:avoid;page-break-inside:avoid;display:table-row}.loans-total-row td{-webkit-print-color-adjust:exact;print-color-adjust:exact;background-color:#f7f7f7!important}.loans-report-page.printing .persons-table tfoot{display:table-row-group!important}.loans-report-page.printing .persons-table tfoot tr{display:table-row!important}}.loans-report-page .loans-total-row td{background-color:#e5e5e5!important;font-weight:700!important}@media print{.loans-report-page.printing .loans-total-row td{-webkit-print-color-adjust:exact;print-color-adjust:exact;background-color:#e5e5e5!important;font-weight:700!important}}.loans-report-filters-selects .custom-select-dropdown{max-height:200px!important;overflow:hidden auto!important}.loans-report-filters-selects .custom-select-option{box-sizing:border-box;height:40px;min-height:40px}.loans-report-filters-selects{flex-direction:row;align-items:center;gap:12px;display:flex}.loans-report-filters-selects>.custom-select-wrapper{flex:1;min-width:0}@media (width<=600px){.loans-report-filters-selects{flex-direction:column;align-items:stretch}.loans-report-filters-selects>.custom-select-wrapper{width:100%}}.loans-report-filters-selects{flex-direction:row;flex-shrink:0;gap:12px;display:flex}.loans-report-filters-selects>.custom-select-wrapper{flex:0 0 160px;width:160px;min-width:160px}.loans-report-filters-selects .custom-select{box-sizing:border-box;width:100%}@media (width<=600px){.loans-report-filters-selects{flex-direction:row;gap:8px;width:100%;display:flex}.loans-report-filters-selects>.custom-select-wrapper{flex:1 1 0;width:auto;min-width:0}.loans-report-filters-selects .custom-select{box-sizing:border-box;width:100%;min-width:0}}.ps-print-button span,.ps-print-button:hover:not(:disabled) span{color:#2d8bf0}.person-details-actions{align-items:center;gap:10px;display:flex}@media (width<=768px){.person-details-actions{flex-direction:column;align-items:stretch;width:100%}.person-details-actions button{box-sizing:border-box;width:100%}.page-header{align-items:flex-start}}.logout-dialog-overlay{z-index:20000;-webkit-backdrop-filter:blur(5px);background:#0a121ba6;justify-content:center;align-items:center;padding:20px;animation:.2s logout-overlay-in;display:flex;position:fixed;inset:0}.logout-dialog{color:#17212b;text-align:center;background:#fff;border:1px solid #e9e9ed;border-radius:22px;width:100%;max-width:430px;padding:32px 28px 26px;animation:.25s logout-dialog-in;box-shadow:0 24px 80px #00000038}.logout-dialog-icon{color:#92143b;background:#f9e9ee;border-radius:22px;justify-content:center;align-items:center;width:72px;height:72px;margin:0 auto 20px;display:flex}.logout-dialog h2{margin:0 0 14px;font-size:21px;font-weight:700;line-height:1.7}.logout-dialog p{color:#374151;margin:0 0 10px;font-size:14px;line-height:2}.logout-dialog-hint{color:#87909b;font-size:12px;line-height:2;display:block}.logout-dialog-actions{gap:12px;margin-top:28px;display:flex}.logout-dialog-actions button{cursor:pointer;border-radius:11px;flex:1;justify-content:center;align-items:center;gap:7px;min-height:46px;padding:10px 12px;font-family:inherit;font-size:13px;font-weight:600;transition:background .2s,color .2s,transform .2s;display:flex}.logout-dialog-actions button:active{transform:scale(.98)}.logout-dialog-cancel{color:#374151;background:#fff;border:1px solid #dfe3e8}.logout-dialog-cancel:hover{background:#f3f5f7}.logout-dialog-confirm{color:#fff;background:#92143b;border:1px solid #92143b}.logout-dialog-confirm:hover{background:#76102f;border-color:#76102f}.logout-dialog-actions button:focus-visible{outline-offset:3px;outline:3px solid #92143b40}@keyframes logout-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes logout-dialog-in{0%{opacity:0;transform:translateY(12px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=480px){.logout-dialog{border-radius:18px;padding:28px 20px 22px}.logout-dialog h2{font-size:19px}.logout-dialog-actions{gap:8px}.logout-dialog-actions button{padding:10px 8px;font-size:12px}}@media (prefers-reduced-motion:reduce){.logout-dialog-overlay,.logout-dialog{animation:none}.logout-dialog-actions button{transition:none}}.password-settings-card{grid-column:1/-1}.password-change-form{flex-direction:column;gap:20px;max-width:620px;display:flex}.password-field{flex-direction:column;gap:8px;display:flex}.password-field label{color:#333;font-weight:600}.password-input-wrapper{background:#fff;border:1px solid #d8d8d8;border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.password-input-wrapper:focus-within{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.password-input-wrapper input{width:100%;min-width:0;box-shadow:none;font:inherit;text-align:left;direction:ltr;background:0 0;border:none;outline:none;flex:1;padding:12px 4px}.password-input-wrapper input:focus{box-shadow:none;outline:none}.password-toggle{color:#92143b;cursor:pointer;font:inherit;background:0 0;border:none;flex-shrink:0;padding:6px;font-size:12px}.password-help{color:#777;font-size:12px;line-height:1.9}.password-submit-row{justify-content:flex-start;display:flex}.password-submit-row button:disabled{opacity:.65;cursor:not-allowed}@media (width<=600px){.password-settings-card{grid-column:auto}.password-change-form{max-width:100%}}.user-account-menu{direction:rtl;flex-shrink:0;position:relative}.user-account-menu .user-info{color:#252535;text-align:right;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;align-items:center;gap:10px;padding:6px 10px;font-family:inherit;transition:background-color .2s,border-color .2s;display:flex}.user-account-menu .user-info:hover,.user-account-menu .user-info[aria-expanded=true]{background:#fff5f7;border-color:#f0d6df}.user-account-menu .user-info>div:first-child{min-width:0;display:block}.user-account-menu .user-info strong{text-overflow:ellipsis;white-space:nowrap;color:#252535;max-width:180px;font-size:13px;display:block;overflow:hidden}.user-account-menu .user-info small{color:#858594;margin-top:3px;font-size:11px;display:block}.user-account-menu .user-avatar{color:#fff;background:#92143b;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;font-weight:700;display:flex}.user-account-dropdown{z-index:1000;box-sizing:border-box;background:#fff;border:1px solid #ececf1;border-radius:14px;width:240px;max-width:calc(100vw - 32px);margin:0;padding:8px;animation:.16s ease-out account-menu-appear;position:absolute;top:calc(100% + 8px);left:auto;right:0;box-shadow:0 10px 30px #1919281f}.user-account-details{flex-direction:column;gap:5px;padding:12px;display:flex;overflow:hidden}.user-account-details strong{color:#252535;overflow-wrap:anywhere;font-size:13px}.user-account-details small{color:#858594;overflow-wrap:anywhere;font-size:12px}.user-account-dropdown>button{box-sizing:border-box;color:#424252;text-align:right;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;width:100%;padding:11px 12px;font-family:inherit;font-size:13px;transition:background-color .2s,color .2s;display:flex}.user-account-dropdown>button:hover{background:#f6f6f9}.user-account-dropdown>.user-account-logout{color:#92143b}.user-account-dropdown>.user-account-logout:hover{background:#fff0f3}@keyframes account-menu-appear{0%{opacity:0}to{opacity:1}}@media (width<=768px){.user-account-menu .user-info{gap:8px;padding:5px}.user-account-menu .user-avatar{width:36px;height:36px;font-size:14px}.user-account-menu .user-info strong{max-width:110px;font-size:12px}.user-account-menu .user-info small{font-size:10px}.user-account-dropdown{z-index:1000;box-sizing:border-box;width:240px;max-width:calc(100vw - 32px);margin:0;position:absolute;top:calc(100% + 8px);left:auto;right:0}}html,body{overflow-x:clip}.user-account-dropdown{z-index:1000;box-sizing:border-box;width:240px;max-width:calc(100vw - 32px);margin:0;position:absolute;top:calc(100% + 8px);left:0;right:auto}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;display:grid}.account-profile-card,.account-page .password-settings-card{min-width:0}.account-profile{align-items:center;gap:14px;padding:18px 0 22px;display:flex}.account-profile-avatar{color:#fff;background:#92143b;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:58px;height:58px;font-size:23px;font-weight:700;display:flex}.account-profile-name{flex-direction:column;gap:6px;min-width:0;display:flex}.account-profile-name strong{color:#252535;overflow-wrap:anywhere;font-size:16px}.account-profile-name span{color:#858594;font-size:12px}.account-page .settings-info-row{gap:16px}.account-page .settings-info-row strong{overflow-wrap:anywhere;text-align:left}@media (width<=900px){.account-grid{grid-template-columns:minmax(0,1fr)}}.account-profile-card,.account-page .password-settings-card{padding:20px}.base-info-page{padding:0}.base-info-page-header{width:100%;margin:0;padding:0}.base-info-page>.page-header,.base-info-page>.filter-toolbar,.base-info-page>.data-card,.base-info-page>.page-error,.base-info-page>.page-loading{margin-left:28px;margin-right:28px}.base-info-page>.page-header{margin-top:28px}.base-info-page>.filter-toolbar,.base-info-page>.data-card{box-sizing:border-box;width:calc(100% - 56px)}.base-info-page-actions{justify-content:flex-end;margin:28px 28px 24px;display:flex}.page-container>.topbar{border-radius:0;width:auto;margin:-28px -24px 24px}.sidebar .sidebar-icon,.sidebar .base-info-icon{stroke-width:1.9px;flex-shrink:0;min-width:23px;width:23px!important;height:23px!important}.sidebar .base-info-arrow-icon{flex-shrink:0;width:16px;min-width:16px;height:16px;transition:transform .2s}.sidebar .base-info-arrow-icon.rotated{transform:rotate(180deg)}.sortable-stat-card{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;transition:box-shadow .2s,opacity .2s}.sortable-stat-card:active{cursor:grabbing}.sortable-stat-card.stat-card-dragging{opacity:.65;z-index:10;box-shadow:0 8px 24px #00000026}.backup-actions{flex-wrap:wrap;gap:12px;margin:20px 0;display:flex}.backup-warning{color:#842b20;background:#fff5f2;border:1px solid #e5b6a9;border-radius:8px;margin:18px 0;padding:14px}.backup-warning strong{margin-bottom:8px;display:block}.backup-warning p{margin:0;line-height:1.9}.backup-list-header{justify-content:space-between;align-items:center;gap:12px;margin:24px 0 12px;display:flex}.backup-list-header h3{margin:0;font-size:16px}.backup-list{scrollbar-width:thin;overscroll-behavior:contain;flex-direction:column;gap:10px;max-height:300px;padding:4px 6px 4px 2px;display:flex;overflow:hidden auto}.backup-item{cursor:pointer;border:1px solid #dedede;border-radius:8px;align-items:flex-start;gap:12px;padding:14px;transition:border-color .2s,background .2s;display:flex}.backup-item:hover{border-color:#92143b}.backup-item.selected{background:#fff7f9;border-color:#92143b}.backup-item input[type=radio]{accent-color:#92143b;flex-shrink:0;margin-top:5px}.backup-item-info{overflow-wrap:anywhere;flex-direction:column;gap:7px;min-width:0;display:flex}.backup-item-info strong{text-align:right;direction:ltr}.backup-item-info span{color:#666;font-size:13px}.backup-empty{color:#777;padding:16px 0}.backup-restore-button{color:#fff;width:100%;font:inherit;cursor:pointer;background:#92143b;border:none;border-radius:8px;margin-top:20px;padding:12px 16px}.backup-restore-button:hover:not(:disabled){background:#76102f}.backup-restore-button:disabled{opacity:.55;cursor:not-allowed}.backup-restore-note{color:#8a5a00;margin-top:12px;font-size:13px;line-height:1.8}@media (width<=600px){.backup-actions{flex-direction:column}.backup-actions button{width:100%}.backup-list-header{flex-direction:column;align-items:flex-start}}.restore-dialog-overlay{z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#140f129e;justify-content:center;align-items:center;padding:20px;animation:.2s restoreOverlayFadeIn;display:flex;position:fixed;inset:0}.restore-dialog{background:#fff;border:1px solid #f0e4e8;border-radius:18px;width:100%;max-width:540px;max-height:calc(100vh - 40px);padding:28px;animation:.25s restoreDialogSlideIn;overflow-y:auto;box-shadow:0 24px 80px #230f173d}.restore-dialog-icon{color:#c62828;background:#fff0f0;border:1px solid #f4caca;border-radius:50%;justify-content:center;align-items:center;width:54px;height:54px;margin:0 auto 16px;font-size:30px;font-weight:800;display:flex}.restore-dialog h2{text-align:center;color:#92143b;margin:0 0 12px;font-size:21px;font-weight:800;line-height:1.8}.restore-dialog-description{color:#665b60;text-align:center;margin:0 0 22px;font-size:14px;line-height:2}.restore-backup-details{background:#faf7f8;border:1px solid #eee4e8;border-radius:12px;flex-direction:column;gap:0;margin-bottom:20px;padding:6px 16px;display:flex}.restore-detail-row{border-bottom:1px solid #eee4e8;justify-content:space-between;align-items:flex-start;gap:16px;padding:12px 0;display:flex}.restore-detail-row:last-child{border-bottom:none}.restore-detail-row>span{color:#76676e;flex-shrink:0;font-size:13px}.restore-detail-row>strong{color:#35252c;text-align:left;overflow-wrap:anywhere;min-width:0;font-size:13px;font-weight:700}.restore-detail-row>strong[dir=ltr]{max-width:72%}.restore-dialog-warning{background:#fff8eb;border:1px solid #f1d8a9;border-right:4px solid #d99a22;border-radius:10px;margin-bottom:18px;padding:16px}.restore-dialog-warning>strong{color:#8b5a08;margin-bottom:8px;font-size:14px;font-weight:800;display:block}.restore-dialog-warning ul{color:#725a35;margin:0;padding-right:20px;font-size:13px;line-height:2}.restore-dialog-warning li+li{margin-top:4px}.restore-acknowledge{cursor:pointer;background:#f8f5f6;border:1px solid #eadde2;border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:22px;padding:13px;display:flex}.restore-acknowledge input{accent-color:#92143b;cursor:pointer;flex-shrink:0;width:17px;height:17px;margin-top:4px}.restore-acknowledge span{color:#49383f;font-size:13px;line-height:1.9}.restore-dialog-actions button{cursor:pointer;border-radius:9px;flex:1;justify-content:center;align-items:center;min-height:44px;padding:10px 16px;font-family:inherit;font-size:14px;font-weight:700;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s;display:flex}.restore-cancel-button{color:#514149;background:#fff;border:1px solid #ded2d7}.restore-cancel-button:hover:not(:disabled){background:#f8f4f6;border-color:#b9a5ae}.restore-confirm-button{color:#fff;background:#92143b;border:1px solid #92143b}.restore-confirm-button:hover:not(:disabled){background:#74102f;border-color:#74102f;transform:translateY(-1px);box-shadow:0 4px 12px #92143b33}.restore-dialog-actions button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}.restore-dialog-progress{color:#92143b;text-align:center;margin:18px 0 0;font-size:13px;line-height:1.9}@keyframes restoreOverlayFadeIn{0%{opacity:0}to{opacity:1}}@keyframes restoreDialogSlideIn{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=600px){.restore-dialog-overlay{padding:12px}.restore-dialog{border-radius:14px;max-height:calc(100vh - 24px);padding:20px 16px}.restore-dialog h2{font-size:18px}.restore-dialog-description{font-size:13px}.restore-backup-details{padding:4px 12px}.restore-detail-row{gap:10px}.restore-detail-row>span,.restore-detail-row>strong{font-size:12px}.restore-dialog-warning{padding:12px}.restore-dialog-warning ul{font-size:12px}.restore-dialog-actions{gap:8px}.restore-dialog-actions button{padding:10px 8px;font-size:12px}}.restore-dialog-actions{align-items:stretch;gap:12px;display:flex}.restore-dialog-actions button{box-sizing:border-box;white-space:nowrap;flex:1;justify-content:center;align-items:center;min-width:0;height:46px;min-height:46px;margin:0;padding:0 12px;line-height:1.5;display:flex}.restore-dialog-actions .restore-cancel-button,.restore-dialog-actions .restore-confirm-button{align-self:stretch}@media (width<=600px){.restore-dialog-actions{gap:8px}.restore-dialog-actions button{height:44px;min-height:44px;padding:0 6px;font-size:12px}}.visit-alert-setting-row{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.visit-alert-setting-row strong{margin-bottom:6px;display:block}.visit-alert-setting-row p{color:#6b7280;margin:0;font-size:13px;line-height:1.8}.visit-alert-toggle{white-space:nowrap;cursor:pointer;align-items:center;gap:8px;display:flex}.visit-alert-toggle input{accent-color:#92143b;cursor:pointer;width:18px;height:18px}.visit-alert-setting-field{flex-direction:column;gap:8px;margin-top:20px;display:flex}.visit-alert-setting-field label{font-size:14px;font-weight:600}.visit-alert-setting-field input{box-sizing:border-box;width:100%;max-width:220px;min-height:40px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:8px 12px}.visit-alert-setting-field input:focus{border-color:#92143b;outline:none;box-shadow:0 0 0 2px #92143b1a}.visit-alert-setting-field small{color:#6b7280;font-size:12px}@media (width<=600px){.visit-alert-setting-row{flex-direction:column;align-items:flex-start}.visit-alert-setting-field input{max-width:none}}.system-health-item{background:#fafafa;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:10px;min-width:0;padding:16px;display:flex}.system-health-item span{color:#6b7280;font-size:13px}.system-health-item strong{overflow-wrap:anywhere;font-size:15px}.health-inspect-button{color:#b42318;cursor:pointer;background:#fff8f8;border:1px solid #e3b7b7;border-radius:9px;min-height:44px;margin-top:10px;padding:0 20px;font-family:inherit;font-size:14px;transition:background .2s,border-color .2s}.settings-grid>.data-card{box-sizing:border-box}.settings-grid>.visit-alert-settings-card{align-self:start;height:fit-content}.sidebar-unread-dot{aspect-ratio:1;background-color:#e53935;border-radius:50%;flex:0 0 8px;width:8px;min-width:8px;max-width:8px;height:8px;min-height:8px;max-height:8px;margin:0 2px;display:block}.notifications-container{align-items:center;display:flex;position:relative}.notifications-bell{color:#555;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex;position:relative}.notifications-bell:hover{color:#92143b;background:#fdf5f7;border-color:#e5c1cc}.notifications-badge{color:#fff;background:#e53935;border-radius:20px;justify-content:center;align-items:center;min-width:17px;height:17px;padding:0 4px;font-size:10px;display:flex;position:absolute;top:-5px;right:-5px}.notifications-dropdown{z-index:2000;background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:340px;max-width:calc(100vw - 30px);position:absolute;top:48px;left:0;overflow:hidden;box-shadow:0 8px 30px #0000001f}.notifications-header{color:#333;border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.notifications-header button{color:#777;cursor:pointer;background:0 0;border:none;align-items:center;display:flex}.notifications-empty{text-align:center;color:#999;padding:30px 15px;font-size:13px}.topbar-user-actions{direction:ltr;flex-shrink:0;align-items:center;gap:12px;display:flex}.global-notifications{z-index:1000;position:absolute;top:20px;left:32px}.user-account-group{direction:ltr;flex-shrink:0;align-items:center;gap:12px;display:flex}.notifications-list{max-height:400px;overflow-y:auto}.notification-item{cursor:pointer;text-align:right;direction:rtl;border-bottom:1px solid #f0f0f0;padding:13px 16px;transition:background-color .2s}.notification-item:hover{background-color:#faf5f7}.notification-item.unread{background-color:#fff5f7;border-right:3px solid #92143b}.notification-item strong{color:#333;margin-bottom:6px;font-size:13px;display:block}.notification-item p{color:#666;margin:0 0 7px;font-size:12px;line-height:1.8}.notification-item small{color:#999;font-size:10px}.notification-toast{z-index:3000;cursor:pointer;text-align:right;direction:rtl;background:#fff;border:1px solid #e5c1cc;border-radius:12px;width:320px;max-width:calc(100vw - 40px);animation:.3s notificationToastIn;position:fixed;inset:auto 20px 20px auto;box-shadow:0 8px 30px #00000029;visibility:visible!important;opacity:1!important;display:block!important}.notification-toast-header{color:#92143b;background:#fdf5f7;border-bottom:1px solid #f0dce2;justify-content:space-between;align-items:center;padding:12px 15px;font-size:13px;display:flex}.notification-toast-header button{color:#777;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:flex}.notification-toast-body{padding:13px 15px}.notification-toast-body strong{color:#333;margin-bottom:6px;font-size:13px;display:block}.notification-toast-body p{color:#555;margin:0 0 8px;font-size:13px;line-height:1.8}.notification-toast-body small{color:#92143b;font-size:11px}@keyframes notificationToastIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@page{size:A4 portrait;margin:12mm}@media print{body{-webkit-print-color-adjust:exact;print-color-adjust:exact;direction:rtl;background:#fff!important;margin:0!important;padding:0!important}.person-details-page,.person-details-page *{visibility:visible!important;color:#000!important}.person-details-page{background:#fff!important;width:100%!important;height:auto!important;display:block!important;position:static!important;overflow:visible!important}.person-details-page .page-content{background:#fff!important;height:auto!important;display:block!important;position:static!important;overflow:visible!important}.person-details-page .topbar,.person-details-page .person-details-actions,.person-details-page .no-print,.person-details-page .success-message,.person-details-page .contact-form,.person-details-page .contact-form-actions,.person-details-page .related-item-actions,.person-details-page .related-item-remove,.person-details-page button,.person-details-page input,.person-details-page select,.person-details-page textarea,.person-details-page .status-modal-overlay{display:none!important}.person-details-page .persons-card,.person-details-page .page-header{color:#000!important;box-shadow:none!important;background:#fff!important}.person-details-page .details-grid{height:auto!important;overflow:visible!important}.person-details-page .details-grid strong,.person-details-page .details-grid label,.person-details-page .related-item,.person-details-page .related-item-info{color:#000!important}.person-details-page .persons-card{break-inside:avoid-page;page-break-inside:avoid;width:100%!important;box-shadow:none!important;background:#fff!important;border:1px solid #ccc!important;border-radius:0!important;margin:0 0 12px!important;padding:0!important}.person-details-page .persons-card h3{break-after:avoid;page-break-after:avoid;border-bottom:1px solid #ddd!important;margin:0 0 10px!important;padding-bottom:6px!important;font-size:12pt!important}.person-details-page .details-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 16px!important;display:grid!important}.person-details-page .details-grid>div{min-width:0!important}.person-details-page .details-grid label{margin-bottom:3px!important;font-size:9pt!important;display:block!important}.person-details-page .details-grid strong{overflow-wrap:anywhere;font-size:10pt!important;display:block!important}.person-details-page .persons-card h3{break-after:avoid-page;page-break-after:avoid}.person-details-page .details-grid>div,.person-details-page .related-item{break-inside:avoid;page-break-inside:avoid}.person-details-page .print-page-break{clear:both!important;break-before:page!important;page-break-before:always!important;border:none!important;width:100%!important;height:1px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important}}.print-only{display:none}@media print{.person-details-page .print-only{visibility:visible!important;display:block!important}.person-details-page .print-main-details{color:#000!important;direction:rtl!important;background:#fff!important;margin-top:0!important}.person-details-page .ps-print-header{margin-bottom:8px!important;padding-bottom:0!important}.print-main-details h1,.print-main-details .print-person-name{text-align:center}.print-details-table{border-collapse:collapse;direction:rtl;width:100%;font-size:9pt}.print-details-table th,.print-details-table td{text-align:right;vertical-align:top;overflow-wrap:anywhere;border:1px solid #999;padding:5px 8px}.print-details-table th{font-weight:700;background:#eee!important}.person-details-page .page-content>.persons-card,.person-details-page .page-header,.person-details-page .print-page-break{display:none!important}.person-details-page .print-only{visibility:visible!important;width:100%!important;height:auto!important;display:block!important;position:static!important;overflow:visible!important}.person-details-page .print-main-details{break-before:auto!important;page-break-before:auto!important;break-after:auto!important;page-break-after:auto!important}.person-details-page .print-section-title{break-after:avoid;page-break-after:avoid;border:1px solid #999;margin:10px 0 4px;padding:4px 8px;font-size:10pt;font-weight:700;color:#000!important;background:#eee!important}.person-details-page .print-details-table{border-collapse:collapse;direction:rtl;width:100%;margin-bottom:12px;font-size:9pt}.person-details-page .print-details-table thead{display:table-header-group}.person-details-page .print-details-table tr{break-inside:avoid;page-break-inside:avoid}.person-details-page .print-page-break{break-before:page!important;page-break-before:always!important;height:0!important;display:block!important}.person-details-page .print-main-details,.person-details-page .ps-print-header{margin-top:0!important;padding-top:0!important}.person-details-page .print-report-header{margin-top:0!important;transform:none!important}.person-details-page .print-details-table{margin-top:0!important}}.print-main-details.pdf-export-mode{color:#000;box-sizing:border-box;direction:rtl;background:#fff;font-family:inherit;width:186mm!important;margin:0!important;padding:0!important;display:block!important}.print-main-details.pdf-export-mode *{box-sizing:border-box}.print-main-details.pdf-export-mode .ps-print-header{margin:0 0 8mm!important;padding:3mm 0 0!important}.print-main-details.pdf-export-mode .print-report-header{width:100%;margin:0 0 8mm}.print-main-details.pdf-export-mode .print-details-table{border-collapse:collapse;color:#000;direction:rtl;width:100%;margin:0 0 4mm;font-size:9pt}.print-main-details.pdf-export-mode .print-details-table th,.print-main-details.pdf-export-mode .print-details-table td{text-align:right;vertical-align:top;overflow-wrap:anywhere;border:1px solid #999;padding:5px 8px}.print-main-details.pdf-export-mode .print-details-table th{background:#eee;font-weight:700}.print-main-details.pdf-export-mode .print-section-title{color:#000;break-after:avoid;page-break-after:avoid;background:#eee;border:1px solid #999;margin:4mm 0 2mm;padding:4px 8px;font-size:10pt;font-weight:700}.print-main-details.pdf-export-mode .print-details-table thead{display:table-header-group}.print-main-details.pdf-export-mode{visibility:visible!important;display:block!important}.print-main-details.pdf-export-mode .print-page-break{break-before:page;page-break-before:always;height:0!important;margin:0!important;padding:0!important;display:block!important}.print-main-details.pdf-export-mode .ps-print-header{box-sizing:border-box;visibility:visible!important;width:100%!important;height:auto!important;margin:0 0 8mm!important;padding:3mm 0 0!important;display:block!important}.print-main-details.pdf-export-mode .print-report-header{color:#000;box-sizing:border-box;direction:rtl;background:#fff;border-bottom:1mm solid #92143b;grid-template-columns:22mm minmax(0,1fr) 38mm;align-items:center;column-gap:5mm;width:100%;height:25mm;position:relative;margin:0!important;padding:0 0 3mm!important;display:grid!important}.print-main-details.pdf-export-mode .print-report-header-logo{grid-column:1;justify-content:center;align-items:center;min-width:0;visibility:visible!important;display:flex!important}.print-main-details.pdf-export-mode .print-report-header-logo img{object-fit:contain;width:auto;max-width:21mm;height:auto;max-height:19mm;display:block!important}.print-main-details.pdf-export-mode .print-report-header-title{text-align:center;grid-column:2;min-width:0;transform:translateY(-1mm);visibility:visible!important;display:block!important}.print-main-details.pdf-export-mode .print-report-header-brand{color:#92143b;margin:0;padding:0;font-size:16pt;font-weight:700;line-height:1.5;display:block!important}.print-main-details.pdf-export-mode .print-report-header-title h1{color:#000;margin:1mm 0;padding:0;font-size:12pt;font-weight:700;line-height:1.5;display:block!important}.print-main-details.pdf-export-mode .print-report-header-title p{color:#333;font-size:9pt;font-weight:700;line-height:1.5;transform:translateY(-1mm);margin:0!important;padding:0!important;display:block!important}.print-main-details.pdf-export-mode .print-report-header-datetime{text-align:center;color:#000;grid-column:3;min-width:0;font-size:8pt;line-height:1.7;visibility:visible!important;display:block!important}.print-main-details.pdf-export-mode .print-report-header-datetime span,.print-main-details.pdf-export-mode .print-report-header-datetime strong{color:#000;margin:0;padding:0;visibility:visible!important;display:block!important}.print-main-details.pdf-export-mode .print-section-title{break-after:avoid!important;page-break-after:avoid!important;break-inside:avoid!important;page-break-inside:avoid!important}.print-main-details.pdf-export-mode .print-section-title+table{break-before:avoid!important;page-break-before:avoid!important}.print-main-details.pdf-export-mode .print-details-table tr{break-inside:avoid;page-break-inside:avoid}.print-main-details.pdf-export-mode{width:186mm!important;font-size:9px!important}.print-main-details.pdf-export-mode>.ps-print-header{margin-bottom:3mm!important;padding-top:0!important}.print-main-details.pdf-export-mode .print-report-header{height:20mm!important;margin-bottom:0!important;padding-bottom:2mm!important}.print-main-details.pdf-export-mode .print-report-header-brand{font-size:13pt!important;line-height:1.2!important}.print-main-details.pdf-export-mode .print-report-header-title h1{margin:1mm 0!important;font-size:10pt!important;line-height:1.2!important}.print-main-details.pdf-export-mode .print-report-header-title p{font-size:8pt!important;line-height:1.2!important}.print-main-details.pdf-export-mode .print-details-table{table-layout:fixed;border-collapse:collapse!important;width:100%!important;margin:0 0 2mm!important;font-size:8pt!important}.print-main-details.pdf-export-mode .print-details-table th,.print-main-details.pdf-export-mode .print-details-table td{vertical-align:middle!important;padding:4px 6px!important;font-size:9pt!important;line-height:1.3!important}.print-main-details.pdf-export-mode .print-section-title{margin:2mm 0 1mm!important;padding:2px 5px!important;font-size:8pt!important}.print-main-details.pdf-export-mode .print-page-break{break-before:page!important;page-break-before:always!important;height:0!important;margin:0!important;padding:0!important;display:block!important}.ps-page{color:#303039;direction:rtl;width:100%;min-width:0;padding:0 24px 24px}.ps-page,.ps-page *{box-sizing:border-box}.ps-page>.topbar{direction:rtl;margin-bottom:24px;margin-left:-24px;margin-right:-24px}.ps-page>.topbar h1{margin:0 0 8px;font-size:25px;font-weight:700}.ps-page>.topbar p{color:#85858e;margin:0;font-size:13px}.ps-filter-card,.ps-card{background:#fff;border:1px solid #eeeef1;border-radius:14px;box-shadow:0 3px 14px #19192309}.ps-filter-card{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:10px;padding:20px;display:flex}.ps-filter-title{align-items:center;gap:12px;display:flex}.ps-filter-icon{color:#92143b;background:#f8eaf0;border-radius:12px;place-items:center;width:44px;height:44px;font-size:24px;display:grid}.ps-filter-title h2{margin:0 0 6px;font-size:15px}.ps-filter-title p{color:#85858e;margin:0;font-size:12px}.ps-status-options{flex-wrap:wrap;gap:8px;display:flex}.ps-status-button{color:#666672;cursor:pointer;background:#fff;border:1px solid #e5e5e9;border-radius:9px;padding:10px 16px;font-family:inherit;font-size:13px;transition:background .2s,color .2s,border-color .2s}.ps-status-button:hover{color:#92143b;border-color:#92143b}.ps-status-button.active{color:#fff;background:#92143b;border-color:#92143b}.ps-status-button:disabled{cursor:default;opacity:.8}.ps-summary-card{background:linear-gradient(110deg,#fff 45%,#fcf3f6);border:1px solid #f0e0e6;border-radius:14px;align-items:center;gap:18px;margin-bottom:10px;padding:24px;display:flex}.ps-summary-icon{background:#f7e5ec;border-radius:15px;flex-shrink:0;place-items:center;width:60px;height:60px;font-size:28px;display:grid}.ps-summary-card>div:last-child{flex-direction:column;gap:5px;display:flex}.ps-summary-card span{color:#777782;font-size:13px}.ps-summary-card strong{color:#92143b;font-size:30px;line-height:1.3}.ps-summary-card small{color:#9696a0;font-size:11px}.ps-charts-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px;display:grid}.ps-chart-print-page{min-width:0;display:contents}.ps-card{min-width:0;padding:20px;overflow:hidden}.ps-card-header{border-bottom:1px solid #f0f0f2;justify-content:space-between;align-items:center;gap:10px;padding-bottom:15px;display:flex}.ps-card-header h2{margin:0;font-size:15px;font-weight:700}.ps-card-header>span{color:#92929c;white-space:nowrap;font-size:11px}.ps-chart{direction:ltr;width:100%;height:285px;margin-top:15px}.ps-pie-chart{direction:ltr;width:100%;height:270px;margin-top:12px}.ps-data-list{flex-direction:column;gap:0;margin-top:12px;display:flex}.ps-data-row{border-bottom:1px solid #f3f3f5;grid-template-columns:minmax(0,1fr) 65px 65px;align-items:center;gap:8px;padding:11px 2px;font-size:12px;display:grid}.ps-data-row:last-child{border-bottom:none}.ps-data-label{overflow-wrap:anywhere;color:#555560;min-width:0}.ps-data-count{text-align:center;color:#33333d;font-weight:600}.ps-data-percent{text-align:left;color:#92143b;white-space:nowrap}.ps-gender-label{align-items:center;gap:8px;min-width:0;display:flex}.ps-color-dot{border-radius:50%;flex-shrink:0;width:9px;height:9px}.ps-tooltip{direction:rtl;background:#fff;border:1px solid #ececf0;border-radius:9px;flex-direction:column;gap:7px;padding:12px 15px;font-size:12px;display:flex;box-shadow:0 4px 16px #00000014}.ps-tooltip strong{margin-bottom:2px}.ps-empty,.ps-message{text-align:center;color:#888893;padding:35px 15px;font-size:13px}.ps-error{color:#b4233f;background:#fff0f2;border:1px solid #f3c8d0;border-radius:10px}.ps-filter-actions{flex-wrap:wrap;justify-content:flex-start;gap:10px;display:flex}.ps-export-button,.ps-print-button{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-family:inherit;font-size:13px;font-weight:600;display:inline-flex}.ps-export-button{color:#237647;background:#eaf7ef;border:1px solid #2e8b57;min-width:145px;transition:background-color .2s,border-color .2s}.ps-export-button:hover:not(:disabled){background:#d8f0e1;border-color:#237647}.ps-print-button{color:#2d8bf0;background:#eff6ff;border:1px solid #60a5fa;min-width:160px;transition:background-color .2s}.ps-print-button:hover:not(:disabled){background:#dbeafe}.ps-export-button:disabled,.ps-print-button:disabled{opacity:.5;cursor:not-allowed}.ps-export-button span{font-size:20px;line-height:1}.ps-print-button span{font-size:19px;line-height:1}.ps-trend-card{min-width:0}.ps-trend-chart{min-width:0;height:300px}@media (width<=1000px){.ps-charts-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=768px){.topbar>div:first-child{margin-right:15px}}@media (width<=600px){.ps-page{padding:0 12px 16px}.ps-page>.topbar{margin-bottom:18px}.ps-page>.topbar h1{font-size:20px}.ps-page>.topbar p{line-height:1.8}.ps-filter-card{align-items:stretch;padding:15px}.ps-filter-title{align-items:flex-start}.ps-status-options{grid-template-columns:1fr;width:100%;display:grid}.ps-status-button{width:100%}.ps-summary-card{gap:13px;padding:18px}.ps-summary-icon{width:48px;height:48px;font-size:23px}.ps-summary-card strong{font-size:25px}.ps-card{padding:15px 12px}.ps-card-header h2{font-size:14px}.ps-chart{height:270px}.ps-pie-chart{height:250px}.ps-data-row{grid-template-columns:minmax(0,1fr) 52px 55px;gap:5px;font-size:11px}.ps-filter-actions{justify-content:center;align-items:center;width:100%}.ps-print-button,.ps-export-button{width:100%}.ps-trend-chart{height:280px}}.ps-print-header{display:none}@media print{.ps-print-header{display:block!important}@page{size:A4 portrait;margin:32mm 12mm 12mm}html,body{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#fff!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}.sidebar,.mobile-sidebar,.mobile-menu-button,.ps-filter-card,.ps-filter-actions,.ps-export-button,.ps-print-button,.ps-page>.topbar .user-info,.ps-tooltip,.no-print{display:none!important}.ps-page{color:#303039!important;width:100%!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important;transform:none!important}.ps-page>.topbar{display:none!important}.ps-content{width:100%!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important;transform:none!important}.ps-print-header{break-inside:avoid!important;page-break-inside:avoid!important;width:100%!important;height:auto!important;margin:0 0 12mm!important;padding:0!important;display:block!important;position:static!important}.print-report-header{color:#222!important;width:100%!important;box-shadow:none!important;direction:rtl!important;background:#fff!important;grid-template-columns:90px minmax(0,1fr) 150px!important;align-items:center!important;gap:10px!important;margin:0!important;padding:0 0 8px!important;display:grid!important;position:relative!important;overflow:visible!important}.print-report-header-logo{justify-content:center!important;align-items:center!important;min-width:0!important;max-width:90px!important;display:flex!important}.print-report-header-logo img{object-fit:contain!important;max-width:80px!important;max-height:65px!important;display:block!important}.print-report-header-title{text-align:center!important;color:#222!important;min-width:0!important;display:block!important}.print-report-header-brand{color:#92143b!important;white-space:normal!important;margin:0 0 4px!important;font-size:17px!important;font-weight:700!important;line-height:1.5!important;display:block!important}.print-report-header-title h1{color:#222!important;margin:0 0 3px!important;font-size:14px!important;font-weight:700!important;line-height:1.5!important;display:block!important}.print-report-header-title p{color:#666!important;margin:0!important;font-size:10px!important;line-height:1.5!important;display:block!important}.print-report-header-datetime{color:#555!important;text-align:right!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;min-width:0!important;font-size:9px!important;line-height:1.8!important;display:flex!important}.print-report-header-datetime span,.print-report-header-datetime strong{color:#555!important;white-space:normal!important;font-size:9px!important;font-weight:400!important;display:block!important}.print-report-header-line{background:#d8d8d8!important;width:100%!important;height:1px!important;display:block!important;position:absolute!important;bottom:0!important;left:0!important;right:0!important}.ps-summary-card{display:none!important}.ps-charts-grid{width:100%!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important;transform:none!important}.ps-chart-print-page{break-before:page!important;break-after:page!important;break-inside:avoid!important;page-break-before:always!important;page-break-after:always!important;page-break-inside:avoid!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;width:100%!important;height:253mm!important;min-height:253mm!important;max-height:253mm!important;margin:0!important;padding:0!important;display:flex!important;position:static!important;overflow:hidden!important;transform:none!important}.ps-chart-print-page:last-child{break-after:auto!important;page-break-after:auto!important}.ps-chart-print-page>.ps-card{width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;box-shadow:none!important;break-inside:avoid!important;page-break-inside:avoid!important;background:#fff!important;border:1px solid #ddd!important;border-radius:8px!important;margin:0!important;padding:16px!important;display:block!important;position:static!important;overflow:visible!important;transform:none!important}.ps-card-header{border-bottom:1px solid #ddd!important;justify-content:space-between!important;align-items:center!important;padding-bottom:12px!important;display:flex!important}.ps-card-header h2{color:#222!important;font-size:15px!important}.ps-card-header>span{color:#666!important;font-size:10px!important}.ps-chart{width:100%!important;min-width:0!important;height:230px!important;margin-top:12px!important;display:block!important;overflow:visible!important}.ps-trend-chart{min-width:0!important;height:250px!important}.ps-pie-chart{width:100%!important;height:230px!important;margin-top:10px!important;display:block!important;overflow:visible!important}.ps-data-list{flex-direction:column!important;margin-top:10px!important;display:flex!important}.ps-data-row{break-inside:avoid!important;padding:7px 2px!important;font-size:10px!important}.ps-empty{padding:20px!important;font-size:12px!important}.ps-page,.ps-page *,.ps-page .ps-print-header{visibility:visible!important;opacity:1!important}}.person-banks-page{min-width:0}.person-banks-summary{background:#fff;border:1px solid #ece8ed;border-radius:14px;align-items:center;gap:16px;margin-bottom:20px;padding:20px 24px;display:flex;box-shadow:0 4px 16px #2319280a}.person-banks-summary-icon{color:#92143b;background:#f8eaf0;border-radius:13px;flex:0 0 52px;justify-content:center;align-items:center;width:52px;height:52px;font-size:27px;display:flex}.person-banks-summary>div:last-child{flex-direction:column;gap:6px;display:flex}.person-banks-summary span{color:#77717a;font-size:13px}.person-banks-summary strong{color:#29232c;font-size:25px;font-weight:750}.person-banks-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.person-banks-search-box{flex:1;min-width:0;margin:0}.person-banks-search-box .search-input-wrapper{width:100%}.person-banks-search-box input{box-sizing:border-box;width:100%}.person-banks-status-filters{background:#fff;border:1px solid #ece8ed;border-radius:10px;flex-shrink:0;align-items:center;gap:6px;padding:4px;display:flex}.person-banks-status-filters button{color:#68616b;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;padding:10px 13px;font-family:inherit;font-size:12px;transition:all .2s}.person-banks-status-filters button:hover{color:#92143b;background:#faf4f6}.person-banks-status-filters button.active{color:#fff;background:#92143b;border-color:#92143b}.person-banks-pagination{margin-bottom:16px}.person-banks-data-card{min-width:0;overflow:hidden}.person-banks-table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.person-banks-table{border-collapse:collapse;width:100%;min-width:1050px}.person-banks-table th,.person-banks-table td{text-align:center;vertical-align:middle;padding:14px 12px}.person-banks-table th{white-space:nowrap}.person-banks-table tbody tr{transition:background .15s}.person-banks-table tbody tr:hover{background:#fcf7f9}.person-banks-person-cell{text-align:right;flex-direction:column;align-items:flex-start;gap:6px;min-width:115px;display:flex}.person-banks-person-cell strong{color:#302832;font-size:13px;font-weight:650}.person-banks-person-cell small{color:#89818b;font-size:11px}.person-banks-number-cell{white-space:nowrap;letter-spacing:.1px;direction:ltr;unicode-bidi:isolate;font-size:12px}.person-banks-amount{white-space:nowrap;color:#29232c;font-weight:650}.person-banks-status{white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;min-width:65px;padding:6px 10px;font-size:11px;font-weight:600;display:inline-flex}.person-banks-status.is-active{color:#21865a;background:#e8f6ee}.person-banks-status.is-inactive{color:#b4233d;background:#fbeaec}.person-banks-data-card .table-footer{border-top:1px solid #eee9ee;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}.person-banks-data-card .table-footer>span{color:#77717a;font-size:12px}.person-banks-data-card .table-footer .pagination{margin:0}@media (width<=900px){.person-banks-toolbar{flex-direction:column;align-items:stretch}.person-banks-status-filters{box-sizing:border-box;width:100%}.person-banks-status-filters button{flex:1}}@media (width<=600px){.person-banks-summary{gap:12px;padding:16px}.person-banks-summary-icon{flex-basis:44px;width:44px;height:44px;font-size:23px}.person-banks-summary strong{font-size:22px}.person-banks-summary span{font-size:12px}.person-banks-status-filters{gap:3px;padding:3px}.person-banks-status-filters button{padding:9px 5px;font-size:10px}.person-banks-data-card .table-footer{flex-direction:column;align-items:stretch;padding:14px 10px}.person-banks-data-card .table-footer .pagination{flex-wrap:wrap;justify-content:center}}.person-banks-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.person-banks-actions button{white-space:nowrap;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-width:125px;min-height:44px;padding:12px 18px;font-family:inherit;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.person-banks-print-button{color:#2d8bf0;background:#eff6ff;border:1px solid #60a5fa}.person-banks-print-button:hover{background:#dbeafe}.person-banks-excel-button{color:#fff;background:#21865a;border:1px solid #21865a}.person-banks-excel-button:hover{background:#176b47}@media (width<=900px){.person-banks-actions{width:100%}.person-banks-actions button{flex:1}}@media print{body{background:#fff!important;margin:0!important;padding:0!important}.sidebar,.mobile-menu-button,.mobile-sidebar-overlay,.topbar,.page-header,.person-banks-summary,.person-banks-toolbar,.person-banks-pagination,.person-banks-data-card .table-footer{display:none!important}.app,.main-content,.page,.page-container,.person-banks-data-card,.person-banks-table-wrapper{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;box-shadow:none!important;background:#fff!important;border:none!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.person-banks-table{border-collapse:collapse!important;width:100%!important;min-width:0!important;font-size:10px!important;display:table!important}.person-banks-table thead{display:table-header-group!important}.person-banks-table tbody{display:table-row-group!important}.person-banks-table tr{break-inside:avoid;display:table-row!important}.person-banks-table th,.person-banks-table td{overflow-wrap:anywhere;color:#000!important;text-align:center!important;border:1px solid #bbb!important;padding:7px 4px!important;display:table-cell!important}.person-banks-person-cell{min-width:0!important}.person-banks-status{color:#000!important;background:0 0!important;padding:0!important}}.visits-page{min-width:0}.visits-summary{background:#fff;border:1px solid #eadde2;border-radius:14px;align-items:center;gap:14px;margin-bottom:22px;padding:18px 22px;display:flex}.visits-summary-icon{color:#92143b;background:#f8edf1;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:25px;font-weight:700;display:flex}.visits-summary>div:last-child{flex-direction:column;gap:5px;display:flex}.visits-summary span{color:#666;font-size:13px}.visits-summary strong{color:#92143b;font-size:23px}.visits-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;display:flex}.visits-search-box{flex:300px;min-width:220px}.visits-search-box .search-input-wrapper{width:100%}.visits-search-box input{width:100%;min-width:0}.visits-status-filters{flex-wrap:wrap;gap:6px;display:flex}.visits-status-filters button,.visits-print-button{color:#555;cursor:pointer;background:#fff;border:1px solid #e1d7dc;border-radius:9px;min-height:38px;padding:8px 13px;font-family:inherit;font-size:12px;transition:all .2s}.visits-status-filters button:hover,.visits-print-button:hover{color:#92143b;border-color:#92143b}.visits-status-filters button.active{color:#fff;background:#92143b;border-color:#92143b}.visits-actions{gap:8px;display:flex}.visits-print-button{color:#92143b;white-space:nowrap;border-color:#92143b}.visits-pagination{margin:12px 0 18px}.visits-data-card{overflow:hidden}.visits-table-wrapper{width:100%;overflow-x:auto}.visits-table{width:100%;min-width:850px}.visits-table th,.visits-table td{vertical-align:middle}.visits-person-cell{text-align:right;flex-direction:column;gap:6px;min-width:125px;display:flex}.visits-person-cell strong{color:#333;font-size:13px}.visits-person-cell small{color:#777;font-size:11px}.visits-date-cell{white-space:nowrap;font-variant-numeric:tabular-nums;min-width:115px}.visits-description-cell{white-space:normal;overflow-wrap:anywhere;text-align:right;min-width:180px;max-width:340px;line-height:1.9}.visits-status{white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;min-width:65px;padding:5px 10px;font-size:11px;display:inline-flex}.visits-status.is-active{color:#287b4b;background:#eaf7ef}.visits-status.is-inactive{color:#a12c43;background:#f8e9ec}.visits-row-actions{white-space:nowrap;justify-content:center;align-items:center;gap:7px;display:flex}.visits-row-actions button,.visits-edit-actions button{cursor:pointer;border-radius:7px;padding:7px 11px;font-family:inherit;font-size:12px;transition:all .2s}.visits-edit-button{color:#92143b;background:#fff;border:1px solid #92143b}.visits-edit-button:hover{color:#fff;background:#92143b}.visits-delete-button{color:#b4233d;background:#fff;border:1px solid #d9a1ab}.visits-delete-button:hover{color:#fff;background:#b4233d;border-color:#b4233d}.visits-edit-panel{background:#fff;border:1px solid #e8d4dc;border-right:4px solid #92143b;border-radius:12px;margin:18px 0;padding:20px}.visits-edit-panel h3{color:#92143b;margin:0 0 18px;font-size:15px}.visits-edit-fields{grid-template-columns:minmax(180px,1fr) minmax(250px,2fr);gap:16px;display:grid}.visits-edit-fields label{color:#555;flex-direction:column;gap:8px;font-size:12px;display:flex}.visits-edit-fields input,.visits-edit-fields textarea{color:#333;background:#fff;border:1px solid #ddd;border-radius:8px;outline:none;width:100%;min-width:0;padding:10px 12px;font-family:inherit;font-size:13px}.visits-edit-fields input:focus,.visits-edit-fields textarea:focus{border-color:#92143b;box-shadow:0 0 0 2px #92143b14}.visits-edit-fields textarea{resize:vertical;line-height:1.8}.visits-edit-actions{flex-wrap:wrap;gap:9px;margin-top:16px;display:flex}.visits-save-button{color:#fff;background:#92143b;border:1px solid #92143b}.visits-save-button:hover{background:#74102f}.visits-cancel-button{color:#555;background:#fff;border:1px solid #ddd}.visits-edit-actions button:disabled{cursor:not-allowed;opacity:.6}.visits-success-message{color:#276b43;background:#eaf7ef;border:1px solid #8ac9a3;border-right:4px solid #2e8b57;border-radius:8px;margin:12px 0;padding:12px 15px;font-size:13px}.visits-error-message{margin:12px 0}@media (width<=768px){.visits-toolbar{align-items:stretch}.visits-search-box{flex-basis:100%}.visits-status-filters{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.visits-status-filters button{padding:8px 5px;font-size:11px}.visits-actions{align-items:stretch;gap:8px;width:100%;display:flex}.visits-actions .visits-print-button,.visits-actions .excel-export-button{box-sizing:border-box;white-space:nowrap;flex:1;width:0;min-width:0;min-height:42px;margin:0}.visits-edit-fields{grid-template-columns:1fr}.visits-edit-panel{padding:14px}.visits-table{min-width:850px}}.visits-page .pagination.pagination-top.visits-pagination{direction:rtl;column-gap:8px;width:100%;margin-left:0;margin-right:0;display:flex;flex-wrap:nowrap!important;justify-content:flex-end!important}@media (width<=768px){.visits-page .pagination.pagination-top.visits-pagination{direction:rtl;justify-content:center!important}}.visits-toolbar{align-items:center}.visits-toolbar .visits-search-box{align-self:center;margin:0}.visits-toolbar .visits-search-box .search-input-wrapper{box-sizing:border-box;align-items:center;min-height:38px;display:flex;height:38px!important}.visits-toolbar .visits-search-box .search-input-wrapper input{box-sizing:border-box;height:100%;min-height:0;margin:0}@media (width<=768px){.visits-page .visits-toolbar .visits-search-box{height:46px!important;min-height:46px!important}.visits-page .visits-toolbar .visits-search-box .search-input-wrapper{box-sizing:border-box!important;align-items:center!important;height:46px!important;min-height:46px!important;padding-top:0!important;padding-bottom:0!important}.visits-page .visits-toolbar .visits-search-box .search-input-wrapper input{box-sizing:border-box!important;height:44px!important;min-height:44px!important;padding-top:0!important;padding-bottom:0!important}}.visits-edit-button{color:#fff;background:#cf3767;border-color:#cf3767}.visits-print-button{color:#2d8bf0;background:#eff6ff;border:1px solid #60a5fa}.visits-print-button:hover{color:#2d8bf0;background:#dcecff;border:1px solid #60a5fa}.visits-print-area{display:none}@media print{@page{size:A4 portrait;margin:10mm}html,body{width:auto!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}body *{visibility:hidden!important}.visits-page .topbar,.visits-page .page-container>:not(.visits-print-area){display:none!important}.visits-print-area,.visits-print-area *{visibility:visible!important}.visits-print-area{direction:rtl;color:#222!important;box-sizing:border-box!important;background:#fff!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.visits-print-table{border-collapse:collapse;table-layout:fixed;direction:rtl;margin-top:12px;width:100%!important;max-width:none!important;height:auto!important;display:table!important;overflow:visible!important}.visits-print-table thead{display:table-header-group!important}.visits-print-table tbody{display:table-row-group!important}.visits-print-table tr{break-inside:avoid;page-break-inside:avoid}.visits-print-table th,.visits-print-table td{text-align:center;overflow-wrap:anywhere;word-break:normal;border:1px solid #aaa;padding:5px;font-size:10px}.visits-print-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#f1e7ec!important}}.visits-print-table th:first-child,.visits-print-table td:first-child{width:6%}.visits-print-table th:nth-child(2),.visits-print-table td:nth-child(2){width:20%}.visits-print-table th:nth-child(3),.visits-print-table td:nth-child(3){width:12%}.visits-print-table th:nth-child(4),.visits-print-table td:nth-child(4){width:13%}.visits-print-table th:nth-child(6),.visits-print-table td:nth-child(6){width:10%}.visits-date-filters{box-sizing:border-box;background:#fff;border:1px solid #e7dce1;border-radius:10px;flex-wrap:wrap;align-items:flex-end;gap:12px;width:100%;margin:16px 0;padding:16px;display:flex}.visits-date-filters>label{color:#444;flex-direction:column;flex:180px;gap:7px;min-width:0;font-size:13px;font-weight:600;display:flex}.visits-date-filters .persian-date-picker{width:100%;min-width:0}.visits-date-filters .persian-date-picker input{color:#333;box-sizing:border-box;background:#fff;border:1px solid #d6c5cc;border-radius:7px;outline:none;width:100%;min-width:0;height:40px;padding:8px 10px;font-family:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s}.visits-date-filters .persian-date-picker input:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b1a}.visits-date-filters>button{cursor:pointer;white-space:nowrap;border-radius:7px;height:40px;padding:0 16px;font-family:inherit;font-size:13px;font-weight:600;transition:background-color .2s,border-color .2s}.visits-date-filters>button:first-of-type{color:#fff;background:#92143b;border:1px solid #92143b}.visits-date-filters>button:first-of-type:hover{background:#74102f;border-color:#74102f}.visits-date-filters>button:last-of-type{color:#555;background:#fff;border:1px solid #d6c5cc}.visits-date-filters>button:last-of-type:hover{color:#92143b;background:#f8f1f4;border-color:#92143b}.visits-date-filters>button:disabled{opacity:.55;cursor:not-allowed}@media (width<=600px){.visits-date-filters{gap:12px;margin:12px 0;padding:12px}.visits-date-filters>label{flex:100%}.visits-date-filters>button{flex:1;padding:0 10px}}.visits-toolbar{box-sizing:border-box;justify-content:space-between;align-items:center;gap:16px;width:100%;margin:16px 0;display:flex}.visits-toolbar .visits-date-filters{flex:0 auto;width:auto;min-width:0;margin:0}.visits-toolbar .visits-date-filters>label{flex:0 300px;width:300px;max-width:300px}.visits-toolbar .visits-date-filters .persian-date-picker,.visits-toolbar .visits-date-filters .persian-date-picker input{box-sizing:border-box;width:100%;max-width:100%}.visits-toolbar .visits-actions{flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;display:flex}@media (width<=768px){.visits-toolbar{flex-direction:column;align-items:stretch}.visits-date-filters>button{flex:100%;width:100%}.visits-toolbar .visits-date-filters{width:100%}.visits-toolbar .visits-actions{flex-wrap:wrap;justify-content:flex-start}.visits-toolbar .visits-date-filters{justify-content:center}.visits-toolbar .visits-date-filters>label,.visits-toolbar .visits-date-filters>button{flex:0 300px;width:300px;max-width:100%;margin-left:auto;margin-right:auto}}.visits-toolbar .visits-actions button{box-sizing:border-box;justify-content:center;align-items:center;height:40px;min-height:40px;line-height:1;display:inline-flex}.users-page{padding-bottom:32px}.users-create-card,.users-list-card{box-sizing:border-box;margin-bottom:24px;padding:28px}.users-create-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:20px;display:grid}.users-field{flex-direction:column;gap:9px;min-width:0;display:flex}.users-field label,.users-modal label{color:#424242;font-size:14px;font-weight:600}.users-field input,.users-modal input{box-sizing:border-box;color:#333;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #d8d8d8;border-radius:9px;outline:none;padding:12px 14px;transition:border-color .2s,box-shadow .2s}.users-field input:focus,.users-modal input:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b17}.users-field small,.users-modal small{color:#777;font-size:12px;line-height:1.8}.users-form-action{align-items:end;min-height:42px;display:flex}.users-form-action button{min-height:43px}.users-list-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.users-list-header .settings-section-header{margin-bottom:20px}.users-list-header>button{flex-shrink:0}.users-empty{text-align:center;color:#777;padding:28px 12px}.users-table-wrapper{width:100%;overflow-x:auto}.users-table{border-collapse:collapse;white-space:nowrap;width:100%}.users-table th,.users-table td{text-align:right;vertical-align:middle;border-bottom:1px solid #eee;padding:15px 13px;font-size:13px}.users-table th{color:#555;background:#faf7f8;font-weight:700}.users-table tbody tr:hover{background:#fdfafb}.users-admin-badge,.users-normal-badge,.users-active-badge,.users-inactive-badge{border-radius:20px;padding:5px 10px;font-size:12px;font-weight:600;display:inline-block}.users-admin-badge{color:#1e40af;background-color:#dbeafe}.users-normal-badge{color:#4d596a;background:#edf0f5}.users-active-badge{color:#27804b;background:#eaf7ef}.users-inactive-badge{color:#92173f;background:#fde8ef}.users-protected-label{color:#888;font-size:12px}.users-row-actions{align-items:center;gap:8px;display:flex}.users-row-actions button{font:inherit;cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:7px;padding:8px 11px;font-size:12px}.users-deactivate-button{color:#92173f;background:#fde8ef;border-color:#f3c5d3!important}.users-activate-button{color:#27804b;background:#eaf7ef;border-color:#ccebd8!important}.users-reset-button{color:#92143b;background:#fff;border-color:#d9b5c1!important}.users-row-actions button:disabled,.users-modal-actions button:disabled,.users-list-header button:disabled{opacity:.6;cursor:not-allowed}.users-modal-backdrop{z-index:1000;background:#14141980;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.users-modal{box-sizing:border-box;background:#fff;border-radius:14px;width:100%;max-width:440px;padding:26px;box-shadow:0 18px 60px #0000002e}.users-modal h2{color:#333;margin:0 0 12px;font-size:20px}.users-modal>p{color:#777;margin:0 0 22px;font-size:14px;line-height:1.9}.users-modal form{flex-direction:column;gap:12px;display:flex}.users-modal-actions{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}@media (width<=1000px){.users-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}.users-form-action{grid-column:1/-1}}@media (width<=600px){.users-create-card,.users-list-card{padding:18px}.users-create-form{grid-template-columns:1fr;gap:17px}.users-form-action{grid-column:auto}.users-form-action button{width:100%}.users-list-header{flex-direction:column;align-items:stretch}.users-list-header>button{align-self:flex-start}.users-table th,.users-table td{padding:12px 10px}.users-modal{padding:20px}}.users-password-wrapper{direction:rtl;width:100%;position:relative}.users-password-wrapper input{text-align:left;direction:ltr;padding-left:44px;padding-right:14px}.users-password-toggle{color:#777;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.users-password-toggle:hover{color:#92143b}.users-password-toggle:focus-visible{outline-offset:3px;border-radius:4px;outline:2px solid #92143b}.user-username{text-align:left;direction:ltr}.login-page{box-sizing:border-box;background:#f5f6fa;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;gap:12px;width:100%;max-width:400px;padding:32px;display:flex;box-shadow:0 8px 30px #00000012}.login-card h1{color:#92143b;margin:0;font-size:25px}.login-card p{color:#666;margin:0 0 12px;line-height:1.8}.login-card label{font-size:14px;font-weight:600}.login-card input{box-sizing:border-box;width:100%;min-height:44px;font:inherit;border:1px solid #d1d5db;border-radius:7px;outline:none;padding:10px 12px}.login-card input:focus{border-color:#92143b}.login-card button{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:#92143b;border:none;border-radius:7px;margin-top:8px;font-weight:600}.login-card button:disabled{opacity:.65;cursor:wait}.login-error{color:#b42318;background:#fff0f0;border-radius:6px;padding:10px;font-size:14px;line-height:1.7}.login-username{width:100%;position:relative}.login-username input{padding:10px 12px;text-align:left!important;direction:ltr!important}.login-password-wrapper{width:100%;position:relative}.login-password-wrapper input{text-align:left;direction:ltr;padding-left:42px;padding-right:12px}.login-password-wrapper .login-password-toggle{color:#777;cursor:pointer;background:0 0;border:none;border-radius:5px;justify-content:center;align-items:center;width:28px;height:28px;margin:0;padding:0;display:flex;position:absolute;top:50%;left:8px;transform:translateY(-50%)}.login-password-wrapper .login-password-toggle:hover{color:#92143b;background:0 0}.login-password-wrapper .login-password-toggle:focus-visible{outline-offset:1px;outline:2px solid #92143b}.audit-logs-page{color:#302832;direction:rtl;min-width:0}.audit-logs-page .page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.audit-logs-page .page-header h2{color:#302832;align-items:center;gap:8px;margin:0 0 8px;font-size:21px;font-weight:700;display:flex}.audit-logs-page .page-header h2 svg{color:#92143b}.audit-logs-page .page-header p{color:#77717a;margin:0;font-size:13px;line-height:1.8}.audit-logs-page .secondary-button{color:#92143b;cursor:pointer;background:#fff;border:1px solid #e6cbd5;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 15px;font-family:inherit;font-size:13px;transition:background .2s,border-color .2s;display:inline-flex}.audit-logs-page .secondary-button:hover{background:#fbf1f5;border-color:#92143b}.audit-logs-page .search-filter-bar{background:#fff;border:1px solid #ece8ed;border-radius:14px;align-items:center;gap:12px;margin-bottom:20px;padding:16px;display:flex;box-shadow:0 4px 16px #23192809}.audit-logs-page .search-box{color:#89818b;background:#fff;border:1px solid #e2dce3;border-radius:9px;flex:1;align-items:center;gap:10px;min-width:0;height:44px;padding:0 13px;transition:border-color .2s,box-shadow .2s;display:flex}.audit-logs-page .search-box:focus-within{border-color:#92143b;box-shadow:0 0 0 3px #92143b12}.audit-logs-page .search-box svg{flex-shrink:0}.audit-logs-page .search-box input{color:#302832;background:0 0;border:none;outline:none;width:100%;min-width:0;height:100%;padding:0;font-family:inherit;font-size:13px}.audit-logs-page .search-box input::placeholder{color:#a19aa3}.audit-logs-page .search-filter-bar select{color:#514853;cursor:pointer;background:#fff;border:1px solid #e2dce3;border-radius:9px;outline:none;flex:0 0 190px;width:190px;max-width:100%;height:44px;padding:0 12px;font-family:inherit;font-size:13px}.audit-logs-page .search-filter-bar select:focus{border-color:#92143b}.audit-logs-page .table-wrapper{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #ece8ed;border-radius:14px;width:100%;min-width:0;overflow-x:auto;box-shadow:0 4px 16px #23192809}.audit-logs-page .audit-logs-table{border-collapse:collapse;border-spacing:0;text-align:center;width:100%;min-width:850px}.audit-logs-page .audit-logs-table th,.audit-logs-page .audit-logs-table td{text-align:center;vertical-align:middle;padding:14px 12px}.audit-logs-page .audit-logs-table thead th{color:#71102e;white-space:nowrap;background:#f8eaf0;border-bottom:1px solid #ead5de;font-size:12px;font-weight:700}.audit-logs-page .audit-logs-table tbody td{color:#514853;border-bottom:1px solid #f0edf0;font-size:12px;line-height:1.8}.audit-logs-page .audit-logs-table tbody tr{transition:background .15s}.audit-logs-page .audit-logs-table tbody tr:hover{background:#fcf7f9}.audit-logs-page .audit-logs-table tbody tr:last-child td{border-bottom:none}.audit-logs-page .audit-logs-table td:first-child{color:#89818b;font-variant-numeric:tabular-nums}.audit-logs-page .audit-logs-table .empty-state{color:#89818b;text-align:center;padding:36px 16px;font-size:13px}.audit-logs-page .audit-action{white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;min-width:76px;padding:6px 11px;font-size:11px;font-weight:650;display:inline-flex}.audit-logs-page .audit-action-create{color:#21865a;background:#e8f6ee}.audit-logs-page .audit-action-update{color:#94600b;background:#fff3df}.audit-logs-page .audit-action-statuschange{color:#2d8bf0;background:#dcecff}.audit-action-delete{color:#b42318;background-color:#fde8e8;border:1px solid #f5b5b5;border-radius:6px;padding:4px 10px;font-weight:600;display:inline-block}.audit-logs-page .audit-details-button{color:#92143b;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #e6cbd5;border-radius:8px;justify-content:center;align-items:center;padding:7px 11px;font-family:inherit;font-size:11px;transition:all .2s;display:inline-flex}.audit-logs-page .audit-details-button:hover{color:#fff;background:#92143b;border-color:#92143b}.audit-logs-page .audit-details{color:#514853;text-align:right;white-space:normal;overflow-wrap:anywhere;background:#fcf7f9;border:1px solid #eadde2;border-right:3px solid #92143b;border-radius:9px;flex-direction:column;gap:8px;min-width:220px;max-width:380px;margin-top:10px;padding:12px 14px;font-size:12px;line-height:1.9;display:flex}.audit-logs-page .error-message{color:#a32323;background:#fff0f0;border:1px solid #efc2c2;border-radius:9px;margin-bottom:16px;padding:13px 16px;font-size:13px;line-height:1.8}.audit-logs-page .pagination{direction:rtl;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin:24px 0;display:flex}.audit-logs-page .pagination-pages{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;display:flex}.audit-logs-page .pagination button{color:#6e5360;cursor:pointer;background:#fff;border:1px solid #e8d5dd;border-radius:9px;justify-content:center;align-items:center;min-width:38px;height:38px;padding:0 10px;font-family:inherit;font-size:13px;font-weight:500;transition:all .2s;display:inline-flex}.audit-logs-page .pagination button:hover:not(:disabled){color:#92143b;background:#fbf1f5;border-color:#92143b}.audit-logs-page .pagination button.current-page{color:#fff;background:#92143b;border-color:#92143b;font-weight:700;box-shadow:0 3px 8px #92143b2e}.audit-logs-page .pagination button:disabled{color:#b7afb4;cursor:not-allowed;box-shadow:none;background:#f8f6f7;border-color:#eee9ec}.audit-logs-page .pagination .pagination-arrow{color:#92143b;background:#fff;border-color:#e6cbd5;min-width:66px;padding:0 12px}.audit-logs-page .pagination .pagination-ellipsis{color:#89818b;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;min-width:20px;font-size:14px;display:inline-flex}@media (width<=600px){.audit-logs-page .pagination{justify-content:center;gap:6px;margin:18px 0}.audit-logs-page .pagination-pages{gap:4px}.audit-logs-page .pagination button{min-width:34px;height:35px;padding:0 8px;font-size:12px}.audit-logs-page .pagination .pagination-arrow{min-width:52px;padding:0 8px}}@media (width<=900px){.audit-logs-page .search-filter-bar{align-items:stretch}.audit-logs-page .search-filter-bar select{flex-basis:170px;width:170px}}@media (width<=600px){.audit-logs-page .page-header{align-items:stretch;gap:12px}.audit-logs-page .page-header h2{font-size:18px}.audit-logs-page .page-header>button{align-self:flex-start}.audit-logs-page .search-filter-bar{border-radius:11px;flex-direction:column;gap:10px;padding:12px}.audit-logs-page .search-box{box-sizing:border-box;width:100%}.audit-logs-page .search-filter-bar select{box-sizing:border-box;flex:none;width:100%}.audit-logs-page .audit-logs-table{min-width:820px}.audit-logs-page .audit-logs-table th,.audit-logs-page .audit-logs-table td{padding:12px 10px}.audit-logs-page .pagination{flex-wrap:wrap;gap:9px}.audit-logs-page .pagination button{min-width:65px;padding:8px 11px}.audit-logs-page .audit-details{min-width:180px;max-width:240px}}.audit-logs-page .search-filter-bar{align-items:center}.audit-logs-page .search-box,.audit-logs-page .search-filter-bar select{box-sizing:border-box;height:44px;min-height:44px;margin-top:0;margin-bottom:0}.audit-logs-page .search-filter-bar select{align-self:center;line-height:normal}.audit-logs-page .search-box input{box-sizing:border-box;margin:0;line-height:normal}@media print{.audit-logs-page .topbar,.audit-logs-page .page-header,.audit-logs-page .search-filter-bar,.audit-logs-page .pagination,.audit-logs-page .audit-details-button{display:none!important}.audit-logs-page,.audit-logs-page .page-container,.audit-logs-page .table-wrapper{width:100%!important;max-width:none!important;box-shadow:none!important;background:#fff!important;border:none!important;margin:0!important;padding:0!important;overflow:visible!important}.audit-logs-page .audit-logs-table{border-collapse:collapse!important;width:100%!important;min-width:0!important;font-size:10px!important}.audit-logs-page .audit-logs-table th,.audit-logs-page .audit-logs-table td{overflow-wrap:anywhere;color:#000!important;border:1px solid #bbb!important;padding:6px 4px!important}.audit-logs-page .audit-logs-table thead th{background:#f0f0f0!important}.audit-logs-page .audit-action{color:#000!important;background:0 0!important;border:none!important;padding:2px 4px!important}}.audit-logs-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}@media (width<=768px){.audit-logs-header-actions{width:100%}.audit-logs-header-actions button{flex:1;justify-content:center}}.excel-export-button{box-sizing:border-box;color:#237a3b;cursor:pointer;background-color:#e6f4ea;border:1px solid #b7dfc0;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-width:130px;min-height:42px;padding:10px 15px;transition:background-color .2s,border-color .2s;display:inline-flex}.excel-export-button:hover{background-color:#d7eedc;border-color:#9dcea8}.excel-export-button:disabled{opacity:.6;cursor:not-allowed}.audit-print-area{display:none}@media print{.audit-logs-page .audit-print-area{color:#000;direction:rtl;width:100%;font-family:inherit;position:absolute;top:0;right:0;display:block!important}.audit-logs-page .audit-print-area h2{text-align:center;margin-bottom:8px;font-size:18px}.audit-logs-page .audit-print-area p{margin-bottom:12px;font-size:11px}.audit-logs-page .audit-print-table{border-collapse:collapse;direction:rtl;width:100%;font-size:9px}.audit-logs-page .audit-print-table th,.audit-logs-page .audit-print-table td{text-align:center;vertical-align:top;overflow-wrap:anywhere;border:1px solid #999;padding:5px 4px}.audit-logs-page .audit-print-table th{color:#000!important;background:#f0f0f0!important}.audit-logs-page .audit-print-table tr{break-inside:avoid}}.audit-print-button{box-sizing:border-box;color:#2d8bf0;cursor:pointer;background-color:#eff6ff;border:1px solid #60a5fa;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-width:130px;min-height:42px;padding:10px 15px;transition:background-color .2s,border-color .2s;display:inline-flex}.audit-print-button:hover{background-color:#dbeafe;border-color:#3b82f6}.audit-print-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=768px){.audit-logs-header-actions .secondary-button{white-space:nowrap;flex-shrink:0}.audit-logs-header-actions{flex-direction:column;align-items:stretch;gap:10px;width:100%;display:flex}.audit-logs-header-actions button{white-space:nowrap;box-sizing:border-box;width:100%;min-width:0}}.audit-print-button span{color:#2d8bf0}.audit-logs-table thead th{color:#333;background-color:#f5f5f5!important}.audit-logs-page .audit-logs-table thead th{color:#333!important;background-color:#f5f5f5!important}.audit-logs-page .audit-print-area{display:none}@media print{body.audit-logs-print-active .audit-logs-page *{visibility:hidden!important}body.audit-logs-print-active .audit-logs-page .audit-print-area,body.audit-logs-print-active .audit-logs-page .audit-print-area *{visibility:visible!important}body.audit-logs-print-active .audit-logs-page .audit-print-area{direction:rtl;color:#222!important;box-sizing:border-box!important;background:#fff!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;position:absolute!important;top:0!important;left:0!important;right:0!important;overflow:visible!important}body.audit-logs-print-active .audit-logs-page .audit-print-area h2{text-align:center;font-size:16px;color:#222!important;margin:0 0 8px!important}body.audit-logs-print-active .audit-logs-page .audit-print-area p{font-size:10px;color:#222!important;margin:0 0 8px!important}body.audit-logs-print-active .audit-logs-page .audit-print-table{direction:rtl;table-layout:fixed!important;border-collapse:collapse!important;width:100%!important;min-width:0!important;font-size:9px!important;display:table!important}body.audit-logs-print-active .audit-logs-page .audit-print-table thead{display:table-header-group!important}body.audit-logs-print-active .audit-logs-page .audit-print-table tbody{display:table-row-group!important}body.audit-logs-print-active .audit-logs-page .audit-print-table tr{break-inside:avoid;display:table-row!important}body.audit-logs-print-active .audit-logs-page .audit-print-table th,body.audit-logs-print-active .audit-logs-page .audit-print-table td{text-align:center;vertical-align:top;overflow-wrap:anywhere;word-break:break-word;color:#222!important;background:#fff!important;border:1px solid #aaa!important;padding:4px 3px!important;display:table-cell!important}body.audit-logs-print-active .audit-logs-page .audit-print-table thead th{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#333!important;background:#f0f0f0!important}body.audit-logs-print-active{page:audit-logs-landscape}@page audit-logs-landscape{size:A4 landscape;margin:17mm 7mm 7mm}}.message-category-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0000007a;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.message-category-modal{background:#fff;border-radius:14px;width:100%;max-width:450px;animation:.2s messageCategoryModalShow;overflow:hidden;box-shadow:0 12px 40px #0000002e}@keyframes messageCategoryModalShow{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.message-category-modal-header{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.message-category-modal-header h3{color:#333;margin:0;font-size:17px;font-weight:700}.message-category-modal-close{color:#777;cursor:pointer;background:0 0;border:none;font-size:26px;line-height:1}.message-category-modal-close:hover{color:#92143b}.message-category-modal-body{padding:24px}.message-category-modal-body label{color:#444;margin-bottom:10px;font-size:14px;font-weight:600;display:block}.message-category-modal-body input{border:1px solid #ddd;border-radius:8px;outline:none;width:100%;height:44px;padding:0 12px;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}.message-category-modal-body input:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b17}.message-category-form-error{color:#c62828;margin-top:10px;font-size:13px}.message-category-modal-actions{justify-content:flex-end;gap:10px;padding:16px 24px 22px;display:flex}.message-category-modal-actions button{cursor:pointer;border-radius:8px;min-width:100px;height:40px;font-family:inherit;font-size:14px;font-weight:600;transition:all .2s}.message-category-cancel{color:#555;background:#fff;border:1px solid #ddd}.message-category-cancel:hover{background:#f5f5f5}.message-category-save{color:#fff;background:#92143b;border:1px solid #92143b}.message-category-save:hover{background:#76102f}.message-category-modal-actions button:disabled,.message-category-modal-close:disabled{opacity:.6;cursor:not-allowed}@media (width<=480px){.message-category-modal-overlay{padding:14px}.message-category-modal-header{padding:17px 18px}.message-category-modal-body{padding:20px 18px}.message-category-modal-actions{padding:14px 18px 18px}}.message-category-status-filter{color:#444;cursor:pointer;box-sizing:border-box;background-color:#fff;border:1px solid #ddd;border-radius:8px;outline:none;align-self:center;width:160px;min-width:160px;height:42px;padding:0 12px;font-family:inherit;font-size:14px}.message-category-status-filter:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b17}.filter-toolbar{align-items:center;gap:20px;display:flex}.filter-toolbar input{box-sizing:border-box;align-self:center;height:42px}@media (width<=600px){.filter-toolbar{flex-direction:column;align-items:stretch;gap:16px}.filter-toolbar input,.message-category-status-filter{width:100%;min-width:0}}.admin-message-tabs{background:#f5f5f5;border-radius:10px;align-items:center;gap:8px;width:fit-content;margin:20px 0;padding:6px;display:flex}.admin-message-tabs button{color:#666;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:10px 24px;font-family:inherit;font-size:14px;transition:all .2s}.admin-message-tabs button:hover{color:#92143b}.admin-message-tabs button.active{color:#fff;background:#92143b;box-shadow:0 2px 7px #92143b2e}.admin-message-toolbar{justify-content:flex-start;align-items:center;gap:16px;margin-bottom:18px;display:flex}.admin-message-toolbar input,.admin-message-toolbar select{box-sizing:border-box;color:#333;background-color:#fff;border:1px solid #ddd;border-radius:8px;outline:none;height:42px;padding:0 14px;font-family:inherit;font-size:14px}.admin-message-toolbar input{width:100%;max-width:420px}.admin-message-toolbar select{cursor:pointer;min-width:145px}.admin-message-toolbar input:focus,.admin-message-toolbar select:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b17}.admin-message-toolbar span{color:#777;white-space:nowrap;margin-right:auto;font-size:13px}.admin-message-table-wrapper{width:100%;overflow-x:auto}.admin-message-table-wrapper .data-table{min-width:850px}.admin-message-row{cursor:pointer;transition:background .15s}.admin-message-row:hover{background:#faf5f7}.admin-message-subject{color:#333;align-items:center;gap:8px;font-weight:600;display:flex}.admin-message-table-wrapper td small{color:#999;margin-top:5px;font-size:11px;display:block}.admin-message-last-body{text-overflow:ellipsis;white-space:nowrap;color:#666;max-width:260px;font-size:13px;overflow:hidden}.admin-message-unread-dot{background:#92143b;border-radius:50%;flex-shrink:0;width:8px;height:8px}.admin-message-priority{white-space:nowrap;border-radius:6px;padding:5px 10px;font-size:12px;font-weight:600;display:inline-block}.priority-1{color:#666;background:#f1f1f1}.priority-2{color:#a66b00;background:#fff3df}.priority-3{color:#c62828;background:#fde8e8}.admin-message-status-unread{color:#92143b;font-size:12px;font-weight:600}.admin-message-status-read{color:#888;font-size:12px}@media (width<=600px){.admin-message-tabs{box-sizing:border-box;gap:4px;width:100%}.admin-message-tabs button{flex:1;padding:10px 8px;font-size:13px}.admin-message-toolbar{flex-direction:column;align-items:stretch}.admin-message-toolbar input{max-width:none}.admin-message-toolbar span{text-align:left}}.new-admin-message-form{flex-direction:column;gap:22px;padding:24px;display:flex}.new-message-field{flex-direction:column;gap:9px;width:100%;display:flex}.new-message-field>label,.new-message-recipient-header>label{color:#444;font-size:14px;font-weight:600}.new-message-field label span,.new-message-recipient-header label span{color:#c62828}.new-message-field input[type=text],.new-message-field select,.new-message-field textarea{box-sizing:border-box;color:#333;background:#fff;border:1px solid #ddd;border-radius:8px;outline:none;width:100%;padding:11px 13px;font-family:inherit;font-size:14px;transition:all .2s}.new-message-field input[type=text],.new-message-field select{height:44px}.new-message-field textarea{resize:vertical;min-height:150px;line-height:1.9}.new-message-field input:focus,.new-message-field select:focus,.new-message-field textarea:focus{border-color:#92143b;box-shadow:0 0 0 3px #92143b14}.new-message-row{grid-template-columns:1fr 1fr;gap:20px;display:grid}.new-message-recipient-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.new-message-select-all{color:#92143b;cursor:pointer;background:0 0;border:none;font-family:inherit;font-size:13px}.new-message-select-all:hover{text-decoration:underline}.new-message-select-all:disabled{opacity:.5;cursor:not-allowed}.new-message-recipient-box{background:#fff;border:1px solid #e5e5e5;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;max-height:230px;padding:8px 12px;display:grid;overflow-y:auto}.new-message-recipient{cursor:pointer;color:#555;border-radius:6px;align-items:center;gap:9px;min-width:0;padding:10px 8px;font-size:13px;display:flex}.new-message-recipient:hover{background:#faf5f7}.new-message-recipient input{accent-color:#92143b;cursor:pointer;flex-shrink:0;width:16px;height:16px}.new-message-hint{color:#888;font-size:12px}.new-message-empty{text-align:center;color:#999;grid-column:1/-1;padding:18px;font-size:13px}.new-message-actions{border-top:1px solid #eee;justify-content:flex-end;align-items:center;gap:10px;padding-top:8px;display:flex}.new-message-actions button{min-width:120px}@media (width<=768px){.new-admin-message-form{padding:18px}.new-message-row{grid-template-columns:1fr;gap:22px}.new-message-recipient-box{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=480px){.new-admin-message-form{gap:19px;padding:14px}.new-message-recipient-box{grid-template-columns:1fr}.new-message-actions{flex-direction:column-reverse}.new-message-actions button{width:100%}}.message-thread-info{margin-bottom:20px;padding:22px}.message-thread-subject{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:16px;padding-bottom:18px;display:flex}.message-thread-subject h2{color:#333;margin:0;font-size:19px;font-weight:700;line-height:1.8}.message-thread-meta{flex-wrap:wrap;gap:28px;padding:18px 0;display:flex}.message-thread-meta>div{align-items:center;gap:7px;font-size:13px;display:flex}.message-thread-meta span{color:#888}.message-thread-meta strong{color:#444;font-weight:600}.message-thread-participants{border-top:1px solid #eee;flex-wrap:wrap;align-items:center;gap:9px;padding-top:15px;display:flex}.message-thread-participants>span:first-child{color:#888;font-size:13px}.message-thread-participant{color:#92143b;background:#f7eef1;border-radius:20px;padding:6px 12px;font-size:12px}.message-thread-messages{flex-direction:column;gap:14px;display:flex}.message-thread-message{padding:20px 22px}.message-thread-message-header{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:15px;padding-bottom:13px;display:flex}.message-thread-message-header>div{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.message-thread-message-header strong{color:#444;font-size:14px}.message-thread-message-header small{color:#999;font-size:12px}.message-thread-original-label{color:#92143b;background:#f7eef1;border-radius:5px;padding:4px 9px;font-size:11px}.message-thread-message-body{color:#555;white-space:pre-wrap;overflow-wrap:anywhere;padding-top:15px;font-size:14px;line-height:2.1}@media (width<=600px){.message-thread-info{padding:16px}.message-thread-subject{flex-direction:column;align-items:flex-start;gap:10px}.message-thread-subject h2{font-size:16px}.message-thread-meta{flex-direction:column;gap:12px}.message-thread-message{padding:16px}.message-thread-message-header{flex-direction:column;align-items:flex-start;gap:8px}}.message-thread-reply{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-top:24px;padding:20px}.message-thread-reply textarea{resize:vertical;box-sizing:border-box;border:1px solid #d1d5db;border-radius:8px;width:100%;min-height:120px;padding:12px;font-family:inherit;font-size:14px}.message-thread-reply textarea:focus{border-color:#92143b;outline:none}.message-thread-reply-actions{justify-content:flex-start;margin-top:12px;display:flex}.message-thread-closed{text-align:center;color:#856404;background:#fff3cd;border:1px solid #ffe69c;border-radius:8px;margin-top:24px;padding:14px}.message-thread-header-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}@media (width<=576px){.message-thread-header-actions{justify-content:space-between;width:100%}}.message-thread-header-actions .secondary-button{color:#6d3a82;background-color:#f1e9ee;border:1px solid #6d3a82}.message-thread-header-actions .secondary-button:hover{background-color:#ebe0e8;border-color:#ded3e3}.message-thread-header-actions .secondary-button:disabled{opacity:.6;cursor:not-allowed}.message-thread-close-button{color:#fff;cursor:pointer;background-color:#92143b;border:1px solid #92143b;border-radius:6px;padding:8px 14px;font-family:inherit;font-size:13px;transition:background-color .2s}.message-thread-close-button:hover{background-color:#75102f;border-color:#75102f}.message-thread-close-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=576px){.message-thread-header-actions .secondary-button,.message-thread-header-actions .message-thread-close-button{text-align:center;flex:1;min-width:0}}.chat-page .chat-container{direction:rtl;background:#fff;border:1px solid #e9e9ed;border-radius:14px;height:calc(100vh - 175px);min-height:520px;display:flex;overflow:hidden;box-shadow:0 2px 12px #00000009}.chat-sidebar{background:#fff;border-left:1px solid #eeeef1;flex-direction:column;width:350px;min-width:300px;display:flex}.chat-sidebar-header{justify-content:space-between;align-items:center;padding:20px 18px 15px;display:flex}.chat-sidebar-header h2{color:#303039;margin:0 0 5px;font-size:17px;font-weight:700}.chat-sidebar-header span{color:#9999a2;font-size:12px}.chat-new-button{color:#fff;cursor:pointer;background:#92143b;border:none;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:flex}.chat-new-button:hover{background:#74102f;transform:translateY(-1px)}.chat-search{color:#9999a2;background:#f8f8fa;border:1px solid #eeeef1;border-radius:9px;align-items:center;gap:9px;height:42px;margin:0 15px 14px;padding:0 12px;display:flex}.chat-search input{color:#333;background:0 0;border:none;outline:none;width:100%;height:100%;font-family:inherit;font-size:13px}.chat-search input::placeholder{color:#aaaab2}.chat-conversation-list{flex:1;padding:0 8px 10px;overflow-y:auto}.chat-conversation-item{text-align:right;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:11px;width:100%;padding:12px 10px;font-family:inherit;transition:background .2s;display:flex}.chat-conversation-item:hover{background:#f8f5f6}.chat-conversation-item.selected{background:#f9edf1}.chat-avatar{color:#92143b;background:#f3e5ea;border-radius:50%;justify-content:center;align-items:center;width:43px;min-width:43px;height:43px;display:flex}.chat-conversation-info{flex:1;min-width:0}.chat-conversation-title,.chat-conversation-preview{justify-content:space-between;align-items:center;gap:8px;display:flex}.chat-conversation-title strong{color:#35353d;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.chat-conversation-title>span{color:#aaaab2;direction:ltr;flex-shrink:0;font-size:10px}.chat-conversation-preview{margin-top:7px}.chat-conversation-preview>span{color:#9999a2;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.chat-conversation-preview small{color:#fff;background:#92143b;border-radius:50%;justify-content:center;align-items:center;min-width:19px;height:19px;font-size:10px;display:flex}.chat-main{background:#fafafb;flex-direction:column;flex:1;min-width:0;display:flex}.chat-main-header{background:#fff;border-bottom:1px solid #eeeef1;align-items:center;gap:12px;height:75px;min-height:75px;padding:0 20px;display:flex}.chat-main-user{flex-direction:column;flex:1;gap:5px;display:flex}.chat-main-user strong{color:#303039;font-size:14px}.chat-main-user span{color:#9999a2;font-size:11px}.chat-more-button,.chat-back-button{color:#777780;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.chat-more-button:hover,.chat-back-button:hover{color:#92143b;background:#f2f2f5}.chat-back-button{display:none}.chat-messages{flex-direction:column;flex:1;padding:25px 24px;display:flex;overflow-y:auto}.chat-date-divider{justify-content:center;align-items:center;margin:10px 0 20px;display:flex}.chat-date-divider span{color:#85858e;background:#eeeef2;border-radius:20px;padding:6px 13px;font-size:10px}.chat-message-row{margin-bottom:13px;display:flex}.chat-message-row.mine{justify-content:flex-start}.chat-message-row.theirs{justify-content:flex-end}.chat-message-bubble{border-radius:13px;max-width:min(75%,500px);padding:11px 14px 8px;box-shadow:0 1px 3px #00000009}.chat-message-row.mine .chat-message-bubble{color:#fff;background:#92143b;border-bottom-right-radius:3px}.chat-message-row.theirs .chat-message-bubble{color:#33333b;background:#fff;border:1px solid #eeeef1;border-bottom-left-radius:3px}.chat-message-bubble>strong{color:#92143b;margin-bottom:6px;font-size:11px;display:block}.chat-message-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.9}.chat-message-meta{opacity:.7;justify-content:flex-end;align-items:center;gap:4px;margin-top:5px;font-size:9px;display:flex}.chat-message-form{background:#fff;border-top:1px solid #eeeef1;align-items:flex-end;gap:10px;padding:14px 18px;display:flex}.chat-message-form textarea{resize:vertical;color:#333;background:#fafafb;border:1px solid #e8e8ed;border-radius:10px;outline:none;flex:1;min-height:43px;max-height:120px;padding:12px 13px;font-family:inherit;font-size:13px;line-height:1.7}.chat-message-form textarea:focus{background:#fff;border-color:#c78a9e}.chat-message-form button{color:#fff;cursor:pointer;background:#92143b;border:none;border-radius:10px;justify-content:center;align-items:center;width:43px;min-width:43px;height:43px;transition:all .2s;display:flex}.chat-message-form button:hover:not(:disabled){background:#74102f}.chat-message-form button:disabled{opacity:.45;cursor:not-allowed}.chat-empty{color:#9999a2;text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;min-height:100px;padding:20px;font-size:12px;display:flex}.chat-welcome{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:30px;display:flex}.chat-welcome-icon{color:#92143b;background:#f7e9ee;border-radius:25px;justify-content:center;align-items:center;width:85px;height:85px;margin-bottom:20px;display:flex}.chat-welcome h2{color:#35353d;margin:0 0 10px;font-size:18px}.chat-welcome p{color:#9999a2;max-width:350px;margin:0;font-size:12px;line-height:2}.chat-error{color:#b42318;background:#fff1f1;border:1px solid #efc2c2;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding:12px 15px;font-size:12px;display:flex}.chat-error button{color:inherit;cursor:pointer;background:0 0;border:none;font-size:20px}@media (width<=768px){.chat-page .chat-container{border-radius:10px;height:calc(100dvh - 155px);min-height:430px}.chat-sidebar{border-left:none;width:100%;min-width:0}.chat-main{width:100%}.chat-sidebar-hidden-mobile,.chat-main-hidden-mobile{display:none}.chat-back-button{display:flex}.chat-main-header{gap:8px;height:65px;min-height:65px;padding:0 12px}.chat-messages{padding:15px 12px}.chat-message-bubble{max-width:88%}.chat-message-form{gap:7px;padding:10px}.chat-sidebar-header{padding:15px 13px}}@media (width<=400px){.chat-conversation-item{padding:10px 7px}.chat-avatar{width:39px;min-width:39px;height:39px}.chat-message-bubble{max-width:92%}}.chat-modal-overlay{z-index:1000;background:#00000073;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.chat-modal{background:#fff;border-radius:14px;flex-direction:column;width:100%;max-width:460px;max-height:80vh;display:flex;overflow:hidden;box-shadow:0 10px 40px #0000002e}.chat-modal-header{border-bottom:1px solid #eee;justify-content:space-between;align-items:flex-start;padding:20px;display:flex}.chat-modal-header h2{color:#333;margin:0 0 6px;font-size:18px}.chat-modal-header p{color:#888;margin:0;font-size:13px}.chat-modal-close{color:#888;cursor:pointer;background:0 0;border:none;font-size:27px;line-height:1}.chat-recipient-list{min-height:100px;max-height:420px;padding:10px 16px;overflow-y:auto}.chat-modal-message{text-align:center;color:#888;padding:35px 10px;font-size:14px}.chat-recipient-item{cursor:pointer;text-align:right;color:#333;background:#fff;border:1px solid #0000;border-radius:10px;align-items:center;gap:12px;width:100%;padding:12px;font-family:inherit;font-size:14px;transition:background .2s,border-color .2s;display:flex}.chat-recipient-item:hover{background:#f8f8f8}.chat-recipient-item.selected{background:#fdf3f6;border-color:#92143b}.chat-recipient-avatar{color:#777;background:#f1f1f1;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.chat-recipient-item span{flex:1}.chat-recipient-check{color:#92143b;flex-shrink:0}.chat-modal-footer{border-top:1px solid #eee;justify-content:flex-end;gap:10px;padding:16px 20px;display:flex}.chat-modal-footer button{cursor:pointer;border:none;border-radius:8px;padding:10px 20px;font-family:inherit;font-size:13px}.chat-modal-cancel{color:#555;background:#f1f1f1}.chat-modal-submit{color:#fff;background:#92143b}.chat-modal-submit:disabled{cursor:not-allowed;background:#ccc}
