@import "https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap";:root{color:#172b45;font-synthesis:none;text-rendering:optimizelegibility;background:#f4f7fb;font-family:Cairo,Tahoma,Arial,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:flex}.sidebar{color:#eaf2ff;background:#102f57;flex-direction:column;flex-shrink:0;width:258px;padding:24px 16px;display:flex}.brand{align-items:center;gap:12px;padding:4px 8px 28px;display:flex}.brand-mark{color:#123b70;background:#e6f0ff;border-radius:15px;place-items:center;width:48px;height:48px;display:grid}.brand strong{font-size:25px;line-height:1.25;display:block}.brand small{color:#b9cce5;font-size:11px}.role-pill{color:#d9e8fa;background:#1b416d;border:1px solid #355477;border-radius:10px;align-items:center;gap:8px;margin-bottom:22px;padding:10px;font-size:12px;display:flex}.sidebar nav{gap:7px;display:grid}.nav-item{color:#c7d6e9;text-align:right;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:12px 13px;display:flex}.nav-item:hover,.nav-item.active{color:#123b70;background:#e8f1ff;font-weight:700}.sidebar-footer{color:#94adcc;margin-top:auto;padding:20px 8px 0;font-size:11px;line-height:1.9}.main{flex:1;min-width:0;padding:26px 30px}.topbar{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.topbar h1{margin:2px 0 0;font-size:26px}.eyebrow{color:#75869b;font-size:12px}.icon-btn,.notification-btn{color:#425872;background:#fff;border:1px solid #e1e8f0;border-radius:11px;place-items:center;width:42px;height:42px;display:grid;position:relative}.mobile-menu{display:none}.dot{background:#ef665f;border:2px solid #fff;border-radius:50%;width:8px;height:8px;position:absolute;top:8px;right:9px}.welcome{color:#fff;background:linear-gradient(115deg,#123b70,#1d568e);border-radius:18px;justify-content:space-between;align-items:center;padding:26px 28px;display:flex;overflow:hidden}.welcome span{color:#c8dcf4;font-size:13px}.welcome h2{margin:7px 0;font-size:23px}.welcome p{color:#d0e0f3;margin:0;font-size:13px}.welcome-icon{color:#d9e9fc;background:#ffffff12;border:1px solid #6082a8;border-radius:25px;place-items:center;width:90px;height:90px;display:grid}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0;display:grid}.stat-card{background:#fff;border:1px solid #e8edf4;border-radius:15px;align-items:center;gap:13px;min-width:0;padding:18px 15px;display:flex}.stat-icon{border-radius:13px;flex-shrink:0;place-items:center;width:43px;height:43px;display:grid}.stat-icon svg{width:21px}.blue{color:#2764a6;background:#e8f1ff}.green{color:#21865a;background:#e5f8ee}.orange{color:#b87320;background:#fff1df}.purple{color:#8054bc;background:#f1eaff}.stat-card p{color:#7b8ba0;margin:0 0 5px;font-size:11px}.stat-card strong{font-size:14px;line-height:1.6}.panel{background:#fff;border:1px solid #e6ecf3;border-radius:16px;margin-top:20px;overflow:hidden}.panel-head{justify-content:space-between;align-items:center;gap:14px;padding:21px 22px 14px;display:flex}.panel-head h3,.empty-panel h3{margin:0;font-size:17px}.panel-head p{color:#8492a5;margin:4px 0 0;font-size:12px}.primary-btn,.secondary-btn{white-space:nowrap;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 13px;font-size:12px;font-weight:700;display:inline-flex}.primary-btn{color:#fff;background:#174b83}.primary-btn:hover{background:#0e3764}.secondary-btn{color:#52667f;background:#f2f5f9;border:1px solid #e4eaf1}.table-tools{justify-content:space-between;gap:12px;padding:10px 22px 16px;display:flex}.search-box{color:#8795a8;border:1px solid #e1e8f0;border-radius:9px;align-items:center;gap:9px;width:100%;max-width:330px;padding:0 11px;display:flex}.search-box input{border:0;outline:0;width:100%;min-width:0;padding:10px 0;font-size:12px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;white-space:nowrap;width:100%}th{text-align:right;color:#7d8da2;background:#f8fafd;padding:13px 18px;font-size:11px;font-weight:600}td{color:#53657b;border-top:1px solid #eef2f6;padding:15px 18px;font-size:12px}td strong{color:#243c58;font-weight:700}.subline{color:#96a3b4;margin-top:4px;font-size:10px;display:block}.amount{color:#234b78;font-weight:700}.status{border-radius:7px;padding:5px 8px;font-size:10px}.status.paid{color:#258051;background:#e4f7ec}.status.late{color:#c44e45;background:#ffebe8}.status.soon{color:#ad7624;background:#fff4df}.call-link{color:#1a639f;align-items:center;gap:5px;font-weight:700;text-decoration:none;display:inline-flex}.no-results{text-align:center;padding:30px}.empty-panel{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:330px;padding:30px;display:flex}.empty-panel p{color:#7b8ba0;max-width:480px;font-size:13px;line-height:1.9}.empty-icon{color:#245b94;background:#e9f1fc;border-radius:17px;place-items:center;width:58px;height:58px;margin-bottom:15px;display:grid}.coming{color:#1b5c98;background:#e8f1ff;border-radius:7px;padding:6px 10px;font-size:11px}.page-footer{text-align:center;color:#99a6b6;padding:22px;font-size:10px}.modal-backdrop{z-index:5;background:#10243b80;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:16px;width:min(100%,440px);padding:22px;box-shadow:0 25px 80px #08172b40}.modal-head{justify-content:space-between;align-items:center;display:flex}.modal-head h3{margin:0}.notice{color:#8b6b27;background:#fff7e5;border-radius:8px;padding:11px;font-size:12px;line-height:1.7}.modal label{color:#52667f;gap:6px;margin:13px 0;font-size:12px;display:grid}.modal input{border:1px solid #dfe7f0;border-radius:8px;outline-color:#5486bc;padding:10px}.full{width:100%;margin-top:10px}@media (width<=1150px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:225px}.main{padding:22px}}@media (width<=700px){.sidebar{z-index:1001;width:min(290px,85vw);height:100dvh;transition:transform .25s;display:flex;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;transform:translate(100%);box-shadow:-8px 0 30px #08172b30}.sidebar.sidebar-open{transform:translate(0)}.sidebar-close{margin-inline-start:auto;display:grid}.mobile-scrim{z-index:1000;background:#10243b80;border:0;border-radius:0;width:100%;height:100%;position:fixed;inset:0}.main{padding:16px 12px}.mobile-menu{z-index:1;display:grid;position:relative}.topbar{gap:10px}.topbar>div{flex:1}.topbar h1{font-size:21px}.welcome{padding:20px 17px}.welcome h2{font-size:18px}.welcome-icon{border-radius:16px;width:55px;height:55px}.welcome-icon svg{width:28px}.stats{gap:9px;margin:12px 0}.stat-card{align-items:flex-start;gap:9px;padding:13px 10px}.stat-icon{border-radius:10px;width:35px;height:35px}.stat-card p{font-size:10px}.stat-card strong{font-size:12px}.panel-head{align-items:flex-start;padding:17px 13px 12px}.panel-head h3{font-size:15px}.panel-head p{max-width:230px}.panel-head .primary-btn{padding:9px;font-size:11px}.table-tools{padding:8px 13px 13px}.table-wrap table{min-width:700px}th,td{padding:13px}.page-footer{padding:18px 0}}.notification-list{flex-direction:column;gap:12px;margin-top:14px;display:flex}.notification-item{background:#fff;border:1px solid #dce3ec;border-radius:12px;align-items:flex-start;gap:12px;margin:0;padding:16px;transition:border-color .2s,box-shadow .2s;display:flex;box-shadow:0 2px 6px #0f172a0d}.notification-item.is-unread{background:#f3f7ff;border-inline-start:4px solid #2563eb}.notification-item.is-read{background:#fff;border-inline-start:4px solid #cbd5e1}.notification-item .notification-content{flex:1;min-width:0}.notification-item .notification-title-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.notification-item .notification-icon{background:#e8efff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.notification-item .notification-content .muted{overflow-wrap:anywhere;line-height:1.8}.notification-item .read-mark{white-space:nowrap;font-size:12px}.notification-item .small-btn{margin-top:10px}@media (width<=600px){.notification-item{gap:9px;padding:12px}.notification-item .notification-icon{width:34px;height:34px}}.filter-count{background:#80808026;border-radius:999px;justify-content:center;align-items:center;min-width:22px;height:22px;margin-inline-start:7px;padding:0 6px;font-size:12px;font-weight:700;display:inline-flex}.debt-amount-button{color:#174b83;font:inherit;cursor:pointer;pointer-events:auto;z-index:1;background:#edf6ff;border:1px solid #b8d7f3;border-radius:8px;justify-content:center;align-items:center;padding:6px 10px;font-weight:700;display:inline-flex;position:relative}.debt-amount-button:hover{background:#dceeff;border-color:#174b83}.debt-amount-button:focus-visible{outline-offset:2px;outline:2px solid #174b83}@media (width<=600px){.modal-backdrop{padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));justify-content:center;align-items:center;display:flex;overflow-y:auto}.modal{overscroll-behavior:contain;width:100%;max-width:440px;max-height:calc(100dvh - 24px);margin:auto;padding:16px;overflow-y:auto}.modal-head{z-index:2;background:#fff;padding-bottom:10px;position:sticky;top:0}}.modal-backdrop{min-width:0}.modal{min-width:0;max-width:min(440px,100%)}.modal>*{min-width:0}.modal .table-wrap{-webkit-overflow-scrolling:touch;width:100%;min-width:0;max-width:100%;display:block;overflow:auto visible}.modal .table-wrap table{white-space:nowrap;width:max-content;min-width:100%}@media (width<=600px){.modal-backdrop{width:100%;max-width:100%;padding-left:12px;padding-right:12px;overflow-x:hidden}.modal{box-sizing:border-box;flex:0 440px;width:100%;min-width:0;max-width:100%;overflow-x:hidden}.modal .table-wrap{max-width:100%;margin-inline:0}}.table-wrap tbody tr.collection-reversed-row>td{background-color:#fff0f0!important}.table-wrap tbody tr.collection-reversed-row:hover>td{background-color:#ffe1e1!important}.followups-table-wrap{width:100%;overflow-x:auto}.followups-table-wrap table{table-layout:auto;border-collapse:collapse;width:100%;min-width:850px}.followups-table-wrap thead tr{display:table-row}.followups-table-wrap thead th,.followups-table-wrap tbody td{vertical-align:middle;white-space:nowrap;display:table-cell}.followups-table-wrap thead th:last-child,.followups-table-wrap tbody td:last-child{min-width:175px}@media (width<=700px){.sidebar:not(.sidebar-open){visibility:hidden;pointer-events:none;transition:transform .25s,visibility 0s linear .25s;transform:translate(110%)}.sidebar.sidebar-open{visibility:visible;pointer-events:auto;transition:transform .25s,visibility;transform:translate(0)}.mobile-scrim{display:block}}html{-webkit-text-size-adjust:100%;width:100%;max-width:100%}body{width:100%;max-width:100%;overflow-x:clip}#root{width:100%;min-width:0;max-width:100%}.app-shell{width:100%;min-width:0;max-width:100%;overflow-x:clip}.main{flex:1;min-width:0;max-width:100%}button,input,select,textarea{touch-action:manipulation;max-width:100%}@media (width<=700px){.sidebar{box-sizing:border-box;width:min(290px,100vw - 28px);max-width:100vw;padding-top:max(18px, env(safe-area-inset-top));padding-bottom:max(18px, env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;right:0;overflow-x:hidden}.sidebar nav{width:100%;min-width:0}.nav-item{white-space:normal;width:100%;min-width:0;min-height:44px;padding:11px 10px}.nav-item span{overflow-wrap:anywhere;min-width:0}.mobile-scrim{z-index:1000;touch-action:manipulation}.sidebar.sidebar-open{z-index:1001}.main{width:100%;padding-left:10px;padding-right:10px}.topbar{flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.topbar>div{min-width:0}.topbar h1{overflow-wrap:anywhere}.topbar-actions{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:7px;width:100%;min-width:0;display:flex}.topbar-actions button{min-height:42px}.welcome{flex-wrap:wrap;gap:10px;min-width:0}.welcome>*{min-width:0;max-width:100%}.stats{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0}.stat-card{overflow-wrap:anywhere;min-width:0}.panel{width:100%;min-width:0;max-width:100%}.panel-head{flex-wrap:wrap;min-width:0}.panel-head>*{min-width:0;max-width:100%}.table-tools{flex-wrap:wrap;min-width:0}.table-tools>*,.search-box{min-width:0;max-width:100%}.table-wrap,.followups-table-wrap{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;width:100%;max-width:100%;overflow-x:auto}.table-wrap table,.followups-table-wrap table{width:max-content;min-width:700px}.modal-backdrop{box-sizing:border-box;overscroll-behavior:contain;max-width:100vw;overflow-y:auto}.modal{box-sizing:border-box;min-width:0;max-width:100%}.modal input,.modal select,.modal textarea{box-sizing:border-box;width:100%;min-width:0}}@media (width<=380px){.main{padding-left:8px;padding-right:8px}.topbar h1{font-size:19px}.welcome{padding:16px 12px}.stat-card{gap:7px;padding:10px 8px}.stat-card strong{overflow-wrap:anywhere;font-size:11px}.panel-head{padding-left:10px;padding-right:10px}.primary-btn,.secondary-btn{white-space:normal;overflow-wrap:anywhere}}@media (width<=900px) and (pointer:coarse){.app-shell{width:100%!important;min-width:0!important;display:block!important}.sidebar{z-index:1001!important;visibility:hidden!important;pointer-events:none!important;flex:none!important;width:min(290px,85vw)!important;max-width:85vw!important;height:100dvh!important;margin:0!important;transition:transform .25s,visibility 0s linear .25s!important;position:fixed!important;inset:0 0 0 auto!important;overflow-y:auto!important;transform:translate(110%)!important}.sidebar.sidebar-open{visibility:visible!important;pointer-events:auto!important;transition:transform .25s,visibility!important;transform:translate(0)!important}.main{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}.mobile-menu{display:grid!important}.mobile-scrim{z-index:1000!important;position:fixed!important;inset:0!important}}.mobile-bottom-nav,.mobile-more-panel{display:none}@media (width<=900px),(pointer:coarse){.app-shell{width:100%!important;min-width:0!important;display:block!important}.sidebar,.mobile-scrim,.mobile-menu{display:none!important}.main{width:100%!important;min-width:0!important;max-width:100%!important;padding:14px 12px calc(92px + env(safe-area-inset-bottom))!important;margin:0!important}.topbar{flex-wrap:wrap;gap:10px}.topbar h1{font-size:21px}.mobile-bottom-nav{width:100%;padding:7px 4px calc(7px + env(safe-area-inset-bottom));z-index:1100;background:#fff;border-top:1px solid #e1e8f0;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -5px 20px #102f5712}.mobile-nav-item{color:#64758b;touch-action:manipulation;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:54px;padding:5px 2px;font-size:10px;font-weight:600;display:flex}.mobile-nav-item span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.mobile-nav-item.active{color:#174b83;background:#e8f1ff}.mobile-more-panel{left:10px;right:10px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:1101;background:#fff;border:1px solid #e1e8f0;border-radius:16px;max-height:min(65dvh,520px);padding:12px;display:block;position:fixed;overflow-y:auto;box-shadow:0 8px 35px #10243b30}.mobile-more-title{color:#17395f;justify-content:space-between;align-items:center;gap:12px;padding:2px 4px 10px;display:flex}.mobile-more-item{color:#344c68;text-align:right;touch-action:manipulation;background:#f6f8fb;border:0;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:48px;margin-top:4px;padding:10px 12px;display:flex}.mobile-more-item.active{color:#174b83;background:#e8f1ff;font-weight:700}.mobile-more-item .nav-count{margin-inline-start:auto}.table-wrap,.followups-table-wrap{max-width:100%;overflow-x:auto}.modal-backdrop{align-items:center;overflow-y:auto}.app-shell.mobile-layout-legacy .sidebar{z-index:1201!important;visibility:hidden!important;pointer-events:none!important;width:min(290px,85vw)!important;max-width:85vw!important;height:100dvh!important;margin:0!important;transition:transform .25s,visibility 0s linear .25s!important;display:flex!important;position:fixed!important;inset:0 0 0 auto!important;overflow-y:auto!important;transform:translate(110%)!important}.app-shell.mobile-layout-legacy .sidebar.sidebar-open{visibility:visible!important;pointer-events:auto!important;transition:transform .25s,visibility!important;transform:translate(0)!important}.app-shell.mobile-layout-legacy .mobile-menu{display:grid!important}.app-shell.mobile-layout-legacy .mobile-scrim{z-index:1200!important;background:#0a192d61!important;border:0!important;border-radius:0!important;width:100%!important;height:100%!important;display:block!important;position:fixed!important;inset:0!important}.app-shell.mobile-layout-legacy .mobile-bottom-nav,.app-shell.mobile-layout-legacy .mobile-more-panel{display:none!important}.app-shell.mobile-layout-legacy .main{padding-bottom:calc(16px + env(safe-area-inset-bottom))!important}}@media (width<=900px){.app-shell:not(.mobile-layout-legacy) .main{padding:14px 12px calc(94px + env(safe-area-inset-bottom));background:#f3f6fb}.app-shell:not(.mobile-layout-legacy) .topbar{gap:10px;margin-bottom:16px;padding:5px 0}.app-shell:not(.mobile-layout-legacy) .topbar h1{font-size:21px;font-weight:800;line-height:1.5}.app-shell:not(.mobile-layout-legacy) .welcome{border-radius:22px;gap:12px;padding:22px 18px;box-shadow:0 8px 22px #123b701c}.app-shell:not(.mobile-layout-legacy) .welcome h2{font-size:19px;line-height:1.7}.app-shell:not(.mobile-layout-legacy) .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}.app-shell:not(.mobile-layout-legacy) .stat-card{background:linear-gradient(145deg,#fff,#f9fbff);border:1px solid #e4ebf5;border-radius:18px;flex-direction:column;align-items:flex-start;gap:10px;min-height:126px;padding:15px 13px;display:flex;position:relative;box-shadow:0 4px 14px #18395b0a}.app-shell:not(.mobile-layout-legacy) .stat-icon{border-radius:13px;width:39px;height:39px}.app-shell:not(.mobile-layout-legacy) .stat-card p{font-size:11px;line-height:1.7}.app-shell:not(.mobile-layout-legacy) .stat-card strong{overflow-wrap:anywhere;font-size:14px;line-height:1.8}.app-shell:not(.mobile-layout-legacy) .panel{background:#fff;border:1px solid #e4eaf3;border-radius:19px;margin-top:15px;box-shadow:0 5px 18px #18395b0a}.app-shell:not(.mobile-layout-legacy) .panel-head{flex-wrap:wrap;align-items:center;gap:11px;padding:17px 15px 12px}.app-shell:not(.mobile-layout-legacy) .panel-head h3{font-size:16px;font-weight:800;line-height:1.7}.app-shell:not(.mobile-layout-legacy) .table-tools{flex-direction:column;gap:11px;padding:10px 14px 15px}.app-shell:not(.mobile-layout-legacy) .search-box{background:#f8faff;border-radius:13px;max-width:none;min-height:46px}.app-shell:not(.mobile-layout-legacy) .primary-btn,.app-shell:not(.mobile-layout-legacy) .secondary-btn{white-space:normal;border-radius:12px;min-height:43px;line-height:1.6}.app-shell:not(.mobile-layout-legacy) .main input:not([type=checkbox]):not([type=radio]),.app-shell:not(.mobile-layout-legacy) .main select,.app-shell:not(.mobile-layout-legacy) .main textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:45px;font:inherit;background-color:#fbfcff;border:1px solid #dce5f0;border-radius:12px;padding:11px 12px;font-size:14px}.app-shell:not(.mobile-layout-legacy) .main label{line-height:1.8}.app-shell:not(.mobile-layout-legacy) .table-wrap{scrollbar-width:thin;border-top:1px solid #edf1f7}.app-shell:not(.mobile-layout-legacy) .table-wrap th{color:#526985;background:#f3f7fc;font-weight:700}.app-shell:not(.mobile-layout-legacy) .table-wrap td{line-height:1.8}.app-shell:not(.mobile-layout-legacy) .modal-backdrop{background:#10243b75;align-items:flex-end;padding:0}.app-shell:not(.mobile-layout-legacy) .modal{width:100%;max-width:none;max-height:90dvh;padding:20px 16px calc(20px + env(safe-area-inset-bottom));overscroll-behavior:contain;border:1px solid #e7edf5;border-radius:24px 24px 0 0;margin:0;overflow-y:auto;box-shadow:0 -12px 40px #08172b20}.app-shell:not(.mobile-layout-legacy) .modal-head{border-bottom:1px solid #edf1f6;margin-bottom:12px;padding-bottom:14px}.app-shell:not(.mobile-layout-legacy) .modal-head h3{font-size:18px;font-weight:800;line-height:1.7}.app-shell:not(.mobile-layout-legacy) .empty-panel{min-height:240px;padding:24px 18px}.app-shell:not(.mobile-layout-legacy) .notice{border-radius:12px;line-height:1.9}}@media (width<=420px){.app-shell:not(.mobile-layout-legacy) .main{padding-left:9px;padding-right:9px}.app-shell:not(.mobile-layout-legacy) .stat-card{min-height:118px;padding:12px 10px}.app-shell:not(.mobile-layout-legacy) .panel-head{padding-left:12px;padding-right:12px}}@media (width<=900px){.app-shell:not(.mobile-layout-legacy) .modal-backdrop{-webkit-backdrop-filter:blur(3px);z-index:2000!important;background:#0c1d3394!important;justify-content:center!important;align-items:flex-end!important;padding:0!important;display:flex!important;position:fixed!important;inset:0!important;overflow-y:auto!important}.app-shell:not(.mobile-layout-legacy) .modal{overscroll-behavior:contain;border:1px solid #e5ebf4;border-bottom:0;animation:.22s ease-out dhemma-modal-enter;display:block;position:relative;width:100%!important;max-width:620px!important;max-height:90dvh!important;padding:0 18px calc(22px + env(safe-area-inset-bottom))!important;background:#fff!important;border-radius:25px 25px 0 0!important;margin:auto 0 0!important;overflow:hidden auto!important;box-shadow:0 -12px 45px #0c1d332e!important}.app-shell:not(.mobile-layout-legacy) .modal:before{content:"";background:#d9e1ec;border-radius:99px;width:42px;height:5px;margin:10px auto 15px;display:block}.app-shell:not(.mobile-layout-legacy) .modal .modal-head{z-index:5;background:#fffffff7;border-bottom:1px solid #edf1f7;align-items:center;gap:12px;margin:0 -18px 18px;display:flex;top:0;padding:13px 18px 15px!important;position:sticky!important}.app-shell:not(.mobile-layout-legacy) .modal .modal-head h3{color:#17375e;flex:1;margin:0;font-weight:800;line-height:1.7;font-size:18px!important}.app-shell:not(.mobile-layout-legacy) .modal .modal-head .icon-btn{background:#f5f8fc;border:1px solid #e3eaf3;border-radius:13px;flex:0 0 40px;width:40px;height:40px}.app-shell:not(.mobile-layout-legacy) .modal form{flex-direction:column;gap:4px;min-width:0;display:flex}.app-shell:not(.mobile-layout-legacy) .modal form label,.app-shell:not(.mobile-layout-legacy) .modal form .field{color:#344c68;flex-direction:column;gap:7px;width:100%;min-width:0;margin:0 0 13px;font-size:13px;font-weight:700;line-height:1.8;display:flex}.app-shell:not(.mobile-layout-legacy) .modal input:not([type=checkbox]):not([type=radio]),.app-shell:not(.mobile-layout-legacy) .modal select,.app-shell:not(.mobile-layout-legacy) .modal textarea{color:#183653;min-width:0;max-width:100%;min-height:48px;font:inherit;background:#f8fafd;border:1px solid #dce5f0;border-radius:13px;outline:none;padding:12px 13px;font-size:14px;line-height:1.7;transition:border-color .18s,box-shadow .18s,background .18s;display:block;box-shadow:inset 0 1px 2px #142d4b06;width:100%!important}.app-shell:not(.mobile-layout-legacy) .modal textarea{resize:vertical;min-height:100px}.app-shell:not(.mobile-layout-legacy) .modal input:focus,.app-shell:not(.mobile-layout-legacy) .modal select:focus,.app-shell:not(.mobile-layout-legacy) .modal textarea:focus{background:#fff;border-color:#3978bb;box-shadow:0 0 0 3px #3978bb1f}.app-shell:not(.mobile-layout-legacy) .modal .primary-btn,.app-shell:not(.mobile-layout-legacy) .modal .secondary-btn,.app-shell:not(.mobile-layout-legacy) .modal form button{border-radius:13px;min-height:46px;font-size:13px;font-weight:800}.app-shell:not(.mobile-layout-legacy) .modal .primary-btn,.app-shell:not(.mobile-layout-legacy) .modal form button[type=submit]{color:#fff;background:linear-gradient(135deg,#1b548e,#123b70);border:0;box-shadow:0 4px 12px #123b7029}.app-shell:not(.mobile-layout-legacy) .modal .secondary-btn{color:#425873;background:#f4f7fb;border:1px solid #dfe7f1}.app-shell:not(.mobile-layout-legacy) .modal .full{width:100%}.app-shell:not(.mobile-layout-legacy) .modal .notice,.app-shell:not(.mobile-layout-legacy) .modal .app-alert{overflow-wrap:anywhere;border-radius:13px;padding:12px 14px;line-height:1.9}}@media (width<=420px){.app-shell:not(.mobile-layout-legacy) .modal{border-radius:22px 22px 0 0!important;padding-left:14px!important;padding-right:14px!important}.app-shell:not(.mobile-layout-legacy) .modal .modal-head{margin-left:-14px;margin-right:-14px;padding-left:14px!important;padding-right:14px!important}}@keyframes dhemma-modal-enter{0%{opacity:.7;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.customer-mobile-cards{display:none}@media (width<=900px){.app-shell:not(.mobile-layout-legacy) .customer-table-wrap{display:none!important}.app-shell:not(.mobile-layout-legacy) .customer-mobile-cards{gap:13px;padding:12px;display:grid}.app-shell:not(.mobile-layout-legacy) .customer-mobile-card{background:linear-gradient(160deg,#fff 0%,#f8fbff 100%);border:1px solid #e1e9f4;border-radius:18px;min-width:0;padding:15px;box-shadow:0 5px 16px #173b6312}.app-shell:not(.mobile-layout-legacy) .customer-card-heading{border-bottom:1px solid #eaf0f7;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:13px;display:flex}.app-shell:not(.mobile-layout-legacy) .customer-card-identity{gap:5px;min-width:0;display:grid}.app-shell:not(.mobile-layout-legacy) .customer-card-identity>strong{color:#173b65;overflow-wrap:anywhere;font-size:15px;line-height:1.8}.app-shell:not(.mobile-layout-legacy) .customer-card-notes{color:#8190a4;overflow-wrap:anywhere;font-size:11px;line-height:1.8}.app-shell:not(.mobile-layout-legacy) .customer-card-call{color:#18794e;background:#e8f7ef;border-radius:11px;flex-shrink:0;padding:8px 10px}.app-shell:not(.mobile-layout-legacy) .customer-card-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;padding:14px 0;display:grid}.app-shell:not(.mobile-layout-legacy) .customer-card-detail{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.app-shell:not(.mobile-layout-legacy) .customer-card-detail>span{color:#8998aa;font-size:10px}.app-shell:not(.mobile-layout-legacy) .customer-card-detail>strong,.app-shell:not(.mobile-layout-legacy) .customer-card-values{color:#344c68;overflow-wrap:anywhere;max-width:100%;font-size:12px;line-height:1.8}.app-shell:not(.mobile-layout-legacy) .customer-card-actions{border-top:1px solid #eaf0f7;flex-wrap:wrap;gap:7px;padding-top:12px;display:flex}.app-shell:not(.mobile-layout-legacy) .customer-card-actions .small-btn{border-radius:10px;min-height:37px;padding:7px 10px;font-size:11px}.app-shell:not(.mobile-layout-legacy) .customer-card-actions .danger-text{color:#c43f48}.app-shell:not(.mobile-layout-legacy) .customer-cards-empty{text-align:center;color:#7c8da3;padding:28px 12px;font-size:13px}.app-shell:not(.mobile-layout-legacy) .customer-mobile-cards{gap:8px!important;padding:8px!important}.app-shell:not(.mobile-layout-legacy) .customer-mobile-card{border-radius:13px!important;padding:10px!important;box-shadow:0 2px 8px #173b630d!important}.app-shell:not(.mobile-layout-legacy) .customer-card-heading{align-items:center!important;gap:7px!important;padding-bottom:8px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-identity{gap:2px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-identity>strong{font-size:13px!important;line-height:1.5!important}.app-shell:not(.mobile-layout-legacy) .customer-card-notes{font-size:10px!important;line-height:1.5!important}.app-shell:not(.mobile-layout-legacy) .customer-card-call{border-radius:8px!important;padding:6px 8px!important;font-size:11px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-details{gap:7px 8px!important;padding:9px 0!important}.app-shell:not(.mobile-layout-legacy) .customer-card-detail{gap:2px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-detail>span{font-size:9px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-detail>strong,.app-shell:not(.mobile-layout-legacy) .customer-card-values{font-size:11px!important;line-height:1.55!important}.app-shell:not(.mobile-layout-legacy) .customer-card-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding-top:8px!important;display:grid!important}.app-shell:not(.mobile-layout-legacy) .customer-card-actions .small-btn{white-space:nowrap!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;gap:4px!important;min-width:0!important;min-height:33px!important;padding:5px 3px!important;font-size:10px!important;display:inline-flex!important}}@media (width<=380px){.app-shell:not(.mobile-layout-legacy) .customer-mobile-card{padding:8px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-actions{gap:4px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-actions .small-btn{gap:2px!important;font-size:9px!important}}@media (width<=900px){.app-shell:not(.mobile-layout-legacy) .customer-mobile-cards{gap:6px!important;padding:6px!important}.app-shell:not(.mobile-layout-legacy) .customer-mobile-card{border-radius:11px!important;padding:8px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-heading{flex-wrap:wrap!important;align-items:center!important;gap:6px!important;padding-bottom:7px!important;display:flex!important}.app-shell:not(.mobile-layout-legacy) .customer-card-identity{flex:100%!important;gap:1px!important;min-width:0!important}.app-shell:not(.mobile-layout-legacy) .customer-card-identity>strong{font-size:12px!important;line-height:1.4!important}.app-shell:not(.mobile-layout-legacy) .customer-card-notes{font-size:10px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-contact-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;width:100%!important;display:grid!important}.app-shell:not(.mobile-layout-legacy) .customer-card-contact-actions .small-btn{white-space:nowrap!important;justify-content:center!important;align-items:center!important;gap:3px!important;min-width:0!important;min-height:30px!important;padding:4px 2px!important;font-size:10px!important;display:inline-flex!important}.app-shell:not(.mobile-layout-legacy) .customer-card-details{gap:6px 8px!important;padding:7px 0!important}.app-shell:not(.mobile-layout-legacy) .customer-card-detail{gap:2px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-detail>span{font-size:9px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-detail>strong,.app-shell:not(.mobile-layout-legacy) .customer-card-values{font-size:10px!important;line-height:1.45!important}.app-shell:not(.mobile-layout-legacy) .customer-card-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;padding-top:6px!important;display:grid!important}.app-shell:not(.mobile-layout-legacy) .customer-card-actions .small-btn{white-space:nowrap!important;border-radius:7px!important;justify-content:center!important;align-items:center!important;gap:3px!important;min-width:0!important;min-height:30px!important;padding:4px 2px!important;font-size:10px!important;display:inline-flex!important}}@media (width<=380px){.app-shell:not(.mobile-layout-legacy) .customer-mobile-card{padding:7px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-contact-actions .small-btn,.app-shell:not(.mobile-layout-legacy) .customer-card-actions .small-btn{gap:2px!important;font-size:9px!important}}@media (width<=900px){.app-shell:not(.mobile-layout-legacy) .customer-card-contact-actions .small-btn{white-space:nowrap!important;justify-content:center!important;align-items:center!important;gap:3px!important;min-width:0!important;min-height:30px!important;padding:4px 2px!important;font-size:10px!important;display:inline-flex!important}.app-shell:not(.mobile-layout-legacy) .customer-card-heading{flex-wrap:wrap!important}.app-shell:not(.mobile-layout-legacy) .customer-card-identity{flex:100%!important}.app-shell:not(.mobile-layout-legacy) .customer-mobile-cards{gap:5px!important;padding:5px!important}.app-shell:not(.mobile-layout-legacy) .customer-mobile-card{cursor:pointer;border-radius:10px!important;margin:0!important;padding:7px!important;box-shadow:0 1px 4px #173b6312!important}.app-shell:not(.mobile-layout-legacy) .customer-card-heading{gap:5px!important;padding-bottom:5px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-identity>strong{font-size:12px!important;line-height:1.6!important}.app-shell:not(.mobile-layout-legacy) .customer-card-contact-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;width:100%!important;display:grid!important}.app-shell:not(.mobile-layout-legacy) .customer-card-contact-actions .small-btn{white-space:nowrap!important;min-width:0!important;min-height:32px!important;box-shadow:none!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;gap:3px!important;padding:4px 2px!important;font-size:10px!important;font-weight:700!important;text-decoration:none!important;display:inline-flex!important}.app-shell:not(.mobile-layout-legacy) .customer-card-contact-actions .small-btn:first-child{color:#176b35!important;background:#e8f7ed!important;border:1px solid #a8dcb8!important}.app-shell:not(.mobile-layout-legacy) .customer-card-contact-actions .small-btn:nth-child(2){color:#08783e!important;background:#dcf7e5!important;border:1px solid #9cdeb2!important}.app-shell:not(.mobile-layout-legacy) .customer-card-contact-actions .small-btn:nth-child(3){color:#174ea6!important;background:#eaf2ff!important;border:1px solid #b8d0ff!important}.app-shell:not(.mobile-layout-legacy) .customer-card-contact-actions .small-btn svg{color:inherit!important;flex-shrink:0!important}.app-shell:not(.mobile-layout-legacy) .customer-card-details.is-collapsed .customer-card-detail:first-child,.app-shell:not(.mobile-layout-legacy) .customer-card-details.is-collapsed .customer-card-detail:nth-child(2),.app-shell:not(.mobile-layout-legacy) .customer-card-details.is-collapsed .customer-card-detail:nth-child(3),.app-shell:not(.mobile-layout-legacy) .customer-card-details.is-collapsed .customer-card-detail:nth-child(5),.app-shell:not(.mobile-layout-legacy) .customer-card-details.is-collapsed .customer-card-detail:nth-child(6){display:none!important}.app-shell:not(.mobile-layout-legacy) .customer-card-details.is-collapsed{gap:4px!important;padding:2px 0!important}.app-shell:not(.mobile-layout-legacy) .customer-card-details.is-collapsed .customer-card-detail{padding:0!important}.app-shell:not(.mobile-layout-legacy) .customer-card-details.is-expanded{gap:6px 8px!important;padding:7px 0!important}.app-shell:not(.mobile-layout-legacy) .customer-card-actions{gap:4px!important;padding-top:5px!important}.app-shell:not(.mobile-layout-legacy) .customer-card-actions .small-btn{min-height:30px!important;padding:4px 2px!important;font-size:10px!important}}@media (width<=380px){.app-shell:not(.mobile-layout-legacy) .customer-card-contact-actions .small-btn,.app-shell:not(.mobile-layout-legacy) .customer-card-actions .small-btn{gap:2px!important;font-size:9px!important}}@media (width<=900px){.app-shell:not(.mobile-layout-legacy) .notification-list{gap:7px!important;margin-top:10px!important}.app-shell:not(.mobile-layout-legacy) .notification-item{border-radius:12px!important;gap:8px!important;padding:10px 11px!important;box-shadow:0 2px 6px #192d4b0d!important}.app-shell:not(.mobile-layout-legacy) .notification-item.is-unread{border:1px solid #ffd1d1!important;background:#fff0f0!important;border-inline-start:4px solid #e85b64!important}.app-shell:not(.mobile-layout-legacy) .notification-item.is-read{background:#fff!important;border:1px solid #e5eaf0!important;border-inline-start:3px solid #cbd5e1!important}.app-shell:not(.mobile-layout-legacy) .notification-item .notification-icon{border-radius:9px!important;width:30px!important;min-width:30px!important;height:30px!important}.app-shell:not(.mobile-layout-legacy) .notification-item .notification-title-row{gap:5px!important;margin-bottom:3px!important}.app-shell:not(.mobile-layout-legacy) .notification-item .notification-content{font-size:12px!important;line-height:1.65!important}.app-shell:not(.mobile-layout-legacy) .notification-item .notification-content .muted{font-size:11px!important;line-height:1.7!important}.app-shell:not(.mobile-layout-legacy) .notification-item .read-mark{font-size:10px!important}.app-shell:not(.mobile-layout-legacy) .notification-item .small-btn{min-height:29px!important;margin-top:6px!important;padding:4px 9px!important;font-size:10px!important}}@media (width<=700px){.app-shell:not(.mobile-layout-legacy) .notification-btn .notification-dot{color:#fff;white-space:nowrap;background:#e5484d;border:2px solid #fff;border-radius:999px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 5px;font-size:10px;font-weight:800;line-height:1;display:flex;position:absolute;top:-5px;right:-5px}.app-shell:not(.mobile-layout-legacy) .notification-list{gap:8px;margin-top:10px}.app-shell:not(.mobile-layout-legacy) .notification-item{border-radius:10px;gap:9px;padding:10px;box-shadow:0 1px 4px #0f172a0d}.app-shell:not(.mobile-layout-legacy) .notification-item.is-unread{border:1px solid #f4b6b8;background:#fff1f1;border-inline-start:4px solid #e5484d}.app-shell:not(.mobile-layout-legacy) .notification-item.is-read{box-shadow:none;background:#fff;border:1px solid #e2e7ee;border-inline-start:4px solid #cbd5e1}.app-shell:not(.mobile-layout-legacy) .notification-item .notification-title-row{gap:5px;margin-bottom:4px}.app-shell:not(.mobile-layout-legacy) .notification-item.is-unread .notification-title-row strong{color:#a5262b}.app-shell:not(.mobile-layout-legacy) .notification-item.is-unread .notification-icon{color:#c8323a;background:#ffe0e1}.app-shell:not(.mobile-layout-legacy) .notification-item.is-read .notification-icon{color:#7b8797;background:#f0f3f7}.app-shell:not(.mobile-layout-legacy) .notification-item .notification-content p{overflow-wrap:anywhere;margin:4px 0;font-size:12px;line-height:1.7}.app-shell:not(.mobile-layout-legacy) .notification-item .notification-content small{color:#7b8797;font-size:10px}}@media (width<=900px){.app-shell:not(.mobile-layout-legacy) .topbar{grid-template-columns:minmax(0,1fr);gap:3px;margin-top:-5px;margin-bottom:10px;padding-top:0;display:grid}.app-shell:not(.mobile-layout-legacy) .topbar>div:first-of-type{margin-top:-4px}.app-shell:not(.mobile-layout-legacy) .topbar .eyebrow{font-size:11px;line-height:1.4;display:block}.app-shell:not(.mobile-layout-legacy) .topbar h1{margin-top:0;line-height:1.35}.app-shell:not(.mobile-layout-legacy) .topbar-actions{flex-wrap:nowrap;align-items:center;gap:6px;width:100%;min-width:0;display:flex}.app-shell:not(.mobile-layout-legacy) .topbar-actions>button{white-space:nowrap;border-radius:10px;flex:1 1 0;min-width:0;height:36px;min-height:36px;padding:5px 7px;font-size:10px;line-height:1.3}.app-shell:not(.mobile-layout-legacy) .topbar-actions>.icon-btn{flex:0 0 36px;width:36px;padding:0}.app-shell:not(.mobile-layout-legacy) .topbar-actions .notification-btn{flex:0 0 38px;width:38px}.app-shell:not(.mobile-layout-legacy) .sent-notifications-mobile{flex-direction:column;gap:8px;display:flex}.app-shell:not(.mobile-layout-legacy) .sent-notification-card{color:#263244;background:#fff;border:1px solid #e1e5eb;border-radius:12px;padding:10px;font-size:13px;box-shadow:0 1px 4px #0000000a}.app-shell:not(.mobile-layout-legacy) .sent-notification-card.has-unread{background:#fff1f1;border-color:#f0a2a2}.app-shell:not(.mobile-layout-legacy) .sent-notification-card.all-read{background:#f7f8fa}.app-shell:not(.mobile-layout-legacy) .sent-notification-heading,.app-shell:not(.mobile-layout-legacy) .sent-recipient-name{justify-content:space-between;align-items:center;gap:8px;display:flex}.app-shell:not(.mobile-layout-legacy) .sent-notification-status{color:#687386;font-size:11px}.app-shell:not(.mobile-layout-legacy) .has-unread .sent-notification-status,.app-shell:not(.mobile-layout-legacy) .sent-unread-count{color:#b42318;font-weight:700}.app-shell:not(.mobile-layout-legacy) .sent-notification-body{overflow-wrap:anywhere;margin-top:6px;line-height:1.6}.app-shell:not(.mobile-layout-legacy) .sent-notification-date,.app-shell:not(.mobile-layout-legacy) .sent-recipient-time{color:#697586;margin-top:5px;font-size:11px}.app-shell:not(.mobile-layout-legacy) .sent-notification-stats{flex-wrap:wrap;gap:6px 12px;margin-top:8px;font-size:11px;display:flex}.app-shell:not(.mobile-layout-legacy) .sent-notification-actions{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.app-shell:not(.mobile-layout-legacy) .sent-notification-actions button{padding:6px 9px;font-size:12px}.app-shell:not(.mobile-layout-legacy) .sent-notifications-desktop{display:none}.app-shell:not(.mobile-layout-legacy) .sent-recipients-backdrop{z-index:9999;background:#0f172a94;justify-content:center;align-items:center;padding:12px;display:flex;position:fixed;inset:0}.app-shell:not(.mobile-layout-legacy) .sent-recipients-modal{color:#263244;background:#fff;border-radius:14px;width:100%;max-width:480px;max-height:85dvh;padding:13px;overflow-y:auto;box-shadow:0 12px 40px #0003}.app-shell:not(.mobile-layout-legacy) .sent-recipients-modal-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.app-shell:not(.mobile-layout-legacy) .sent-recipients-modal-header h3{margin:0;font-size:16px}.app-shell:not(.mobile-layout-legacy) .sent-recipients-summary{color:#596579;font-size:12px}.app-shell:not(.mobile-layout-legacy) .sent-recipients-list{flex-direction:column;gap:7px;display:flex}.app-shell:not(.mobile-layout-legacy) .sent-recipient-card{border:1px solid #e0e4ea;border-radius:10px;padding:9px;font-size:12px}.app-shell:not(.mobile-layout-legacy) .sent-recipient-card.recipient-unread{background:#fff0f0;border-color:#efa0a0}.app-shell:not(.mobile-layout-legacy) .sent-recipient-card.recipient-unread .sent-recipient-name span{color:#b42318;font-weight:700}.app-shell:not(.mobile-layout-legacy) .sent-recipient-card.recipient-read{background:#f7f8fa}.app-shell:not(.mobile-layout-legacy) .sent-recipient-username{overflow-wrap:anywhere;color:#596579;margin-top:5px}}@media (width>=901px){.sent-notifications-mobile{display:none}}.upcoming-debts-mobile{display:none}@media (width<=900px){.app-shell:not(.mobile-layout-legacy) .upcoming-debts-mobile{gap:8px;margin-top:10px;display:grid}.app-shell:not(.mobile-layout-legacy) .upcoming-debts-desktop{display:none}.app-shell:not(.mobile-layout-legacy) .upcoming-debt-card{background:var(--panel,#fff);border:1px solid #e2e8f0;border-radius:12px;gap:8px;min-width:0;padding:10px;font-size:12px;display:grid}.app-shell:not(.mobile-layout-legacy) .upcoming-debt-card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.app-shell:not(.mobile-layout-legacy) .upcoming-debt-card-head>strong{overflow-wrap:anywhere;font-size:12px}.app-shell:not(.mobile-layout-legacy) .upcoming-debt-customer{overflow-wrap:anywhere;font-size:13px;font-weight:700}.app-shell:not(.mobile-layout-legacy) .upcoming-debt-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.app-shell:not(.mobile-layout-legacy) .upcoming-debt-details>div{background:#94a3b817;border-radius:8px;gap:3px;min-width:0;padding:7px;display:grid}.app-shell:not(.mobile-layout-legacy) .upcoming-debt-details span{color:var(--muted,#64748b);font-size:10px}.app-shell:not(.mobile-layout-legacy) .upcoming-debt-details strong{overflow-wrap:anywhere;font-size:11px}.app-shell:not(.mobile-layout-legacy) .upcoming-debt-view{width:100%;min-height:32px;padding:6px 10px;font-size:12px}.app-shell:not(.mobile-layout-legacy) .upcoming-debts-empty{text-align:center;border:1px dashed #cbd5e1;border-radius:10px;padding:12px;font-size:12px}}.modal.modal-multi-debt{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:90dvh;overflow-y:auto}.modal.modal-multi-debt .modal-head{z-index:20;background:#fff;position:sticky;top:0}.modal.modal-multi-debt .modal-actions{z-index:15;padding:12px 0 calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e7edf5;margin-top:12px;position:sticky;bottom:0}@media (width<=900px){.app-shell:not(.mobile-layout-legacy) .modal.modal-multi-debt{max-height:90dvh!important;overflow-y:auto!important}.app-shell:not(.mobile-layout-legacy) .upcoming-debts-panel{display:none!important}.app-shell:not(.mobile-layout-legacy) .upcoming-appointments-panel{display:block}.app-shell:not(.mobile-layout-legacy) .upcoming-appointments-list{gap:9px;padding:0 10px 12px;display:grid}.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-card{background:#fff;border:1px solid #e2eaf4;border-radius:13px;min-width:0;padding:11px}.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-head{border-bottom:1px solid #edf1f6;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px;padding-bottom:9px;display:flex}.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-head strong{color:#173b65;overflow-wrap:anywhere;font-size:13px}.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-head a{color:#1768a6;font-size:11px;text-decoration:none}.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-items{gap:8px;padding-top:8px;display:grid}.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-item{background:#f6f9fd;border-radius:9px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:8px;display:grid}.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-time,.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-detail,.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-notes{align-content:start;gap:4px;min-width:0;display:grid}.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-time span,.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-detail span,.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-notes span{color:#8291a5;font-size:10px}.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-time strong,.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-detail strong{color:#314a68;overflow-wrap:anywhere;font-size:11px;line-height:1.7}.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-notes{grid-column:1/-1}.app-shell:not(.mobile-layout-legacy) .upcoming-appointment-notes p{color:#52667f;overflow-wrap:anywhere;margin:0;font-size:11px;line-height:1.8}.app-shell:not(.mobile-layout-legacy) .upcoming-appointments-empty{text-align:center;color:#74849a;border:1px dashed #cbd5e1;border-radius:11px;padding:16px 10px;font-size:12px}}@media (width>=901px){.upcoming-appointments-panel{display:none!important}}@media (width<=700px){.app-shell:not(.mobile-layout-legacy) .followups-table-wrap{overflow:visible}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap table{white-space:normal;width:100%;min-width:0;display:block}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap thead{display:none}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody{gap:10px;padding:8px 10px 12px;display:grid}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody tr{background:#fff;border:1px solid #e3eaf2;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;padding:7px 10px;display:grid;overflow:hidden;box-shadow:0 2px 7px #183b5c0b}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td{white-space:normal;overflow-wrap:anywhere;border:0;border-bottom:1px solid #f0f3f7;justify-content:space-between;align-items:flex-start;gap:6px;min-width:0;padding:7px 2px;font-size:11px;display:flex}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td:before{color:#8492a5;flex-shrink:0;font-size:10px;font-weight:700}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td:first-child:before{content:"التاريخ"}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td:nth-child(2):before{content:"العميل"}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td:nth-child(3):before{content:"الهاتف"}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td:nth-child(4):before{content:"النتيجة"}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td:nth-child(5){grid-column:1/-1}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td:nth-child(5):before{content:"التفاصيل"}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td:nth-child(6):before{content:"المتابعةالقادمة"}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td:nth-child(7){border-bottom:0;flex-wrap:wrap;grid-column:1/-1;justify-content:flex-start;gap:7px;padding-top:9px}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td:nth-child(7):before{content:"الإجراءات"}.app-shell:not(.mobile-layout-legacy) .followups-table-wrap tbody td:nth-child(7) button{padding:6px 8px;font-size:10px}}.app-alert.error-alert{font-weight:600;color:#b91c1c!important;background-color:#fef2f2!important;border:1px solid #f87171!important}
