:root{--erp-bg: #d0d0d0;--erp-panel: #ffffff;--erp-header: #000000;--erp-menu-bar: #fff2be;--erp-menu-text: #111111;--erp-orange-btn: #ffc044;--erp-orange-btn-2: #e7b449;--erp-table-head: #ff6600;--erp-link: #0000cc;--erp-danger: #cc0000;--erp-font: Tahoma, Arial, Verdana, "Microsoft YaHei", sans-serif;--erp-row-alt: #f5f8fb;--erp-filter-btn: #ffcc33}*{box-sizing:border-box}html,body,#app{margin:0;padding:0;height:100%;background:var(--erp-bg);font-family:var(--erp-font);font-size:12px;color:#111}.role-company,.role-company .erp-main{background:#ebeff0}a{color:var(--erp-link);text-decoration:none}a:hover{text-decoration:underline}.erp-shell{display:flex;flex-direction:column;height:100%;min-width:1180px}.erp-header{background:#000!important;color:#fff;min-height:52px;border-bottom:0}.erp-header-inner{display:flex;align-items:center;gap:8px;padding:6px 10px 8px}.erp-brand{display:flex;align-items:center;gap:6px;flex-shrink:0}.erp-logo-img{width:48px;height:48px;object-fit:contain;display:block}.erp-header.role-company{background:#000!important;min-height:80px}.erp-header.role-company .erp-header-inner{min-height:80px;align-items:flex-start;padding:0 8px 0 0;gap:0}.erp-header.role-company .erp-logo-img{width:auto;height:64px;max-width:72px;margin:4px 4px 0 6px}.erp-header.role-company .erp-brand{gap:6px;margin-right:8px;padding-top:0;align-items:flex-start}.erp-brand-title.company{font-family:Verdana,Arial,sans-serif;font-size:13px;font-weight:700;color:#fff;line-height:1.15;margin-top:5px;letter-spacing:.4px}.erp-nav.erp-nav-company{margin-top:10px;margin-left:2px;gap:0}.erp-nav.erp-nav-company .erp-nav-link{margin-right:0;padding:2px .5em;font-family:楷体,KaiTi,STKaiti,Microsoft YaHei,serif;font-size:16px;border:2px solid #fff2bf;background:#fff2bf}.role-company .erp-header-right{padding-top:8px;padding-right:8px}.role-company .erp-header-actions{gap:12px}.erp-brand-title{font-family:Verdana,Arial,sans-serif;font-size:13px;font-weight:700;color:#fff;white-space:nowrap;line-height:1.1;letter-spacing:.5px}.erp-brand-title span{display:block;color:#ffc}.erp-brand-title.agent span{color:#a8ffc8}.erp-nav.erp-nav-agent{background:#e8f5e9;border-color:#a5d6a7}.erp-nav.erp-nav-agent .erp-nav-link.active{box-shadow:inset 0 -2px #2e7d32;background:#c8e6c9}.agent-tree{margin:0 0 12px;border:1px solid #bbb;background:#fff;padding:8px 10px}.agent-tree-title{font-weight:700;color:#c00;margin-bottom:6px}.agent-tree-master{margin:4px 0;font-weight:700}.agent-tree-agents{margin:2px 0 8px 22px;padding:0;list-style:none}.agent-tree-agents li{padding:2px 0;font-size:12px}.agent-tree-agents .off{color:#999;text-decoration:line-through}.erp-nav{display:flex;flex-wrap:nowrap;align-items:center;flex:1;min-width:0;background:var(--erp-menu-bar);border:1px solid #d8c98a;border-radius:2px;padding:0 4px;height:28px;overflow:hidden}.erp-nav-link{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;height:100%;padding:0 9px;color:var(--erp-menu-text)!important;font-size:12px;font-weight:600;font-family:Tahoma,Arial,Microsoft YaHei,sans-serif;text-decoration:none!important;white-space:nowrap;background:transparent;border:0;border-right:1px solid rgba(0,0,0,.08)}.erp-nav-link:last-child{border-right:0}.erp-nav-link:hover{background:#ffffff73;color:#000!important;text-decoration:none!important}.erp-nav-link.active{background:#fff8dc;color:#000!important;font-weight:700;box-shadow:inset 0 -2px #f60}.erp-nav.erp-nav-company{background:transparent;border:0;height:auto;gap:0;overflow:visible;padding:0;align-items:stretch;margin-top:10px;margin-left:2px}.erp-nav.erp-nav-company .erp-nav-link{height:auto;padding:2px .5em;margin:0;color:#000!important;background:#fff2bf;border:2px solid #fff2bf;border-right-width:2px;font-family:楷体,KaiTi,STKaiti,Microsoft YaHei,serif;font-size:16px;font-weight:400;box-shadow:none;line-height:1.35;float:none}.erp-nav.erp-nav-company .erp-nav-link:hover{background:#ffe271;border-color:#ffe271;border-style:outset}.erp-nav.erp-nav-company .erp-nav-link.active{background:#ffe271;border-color:#ffe271;border-style:inset;box-shadow:none;font-weight:400}.erp-header-right{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex-shrink:0;padding-top:2px}.erp-header-actions{display:flex;align-items:center;gap:6px}.erp-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ffaa22;border-radius:6px;background:linear-gradient(to bottom,#ffec64 5%,#ffab23);color:#333;font-family:Arial,Tahoma,Microsoft YaHei,sans-serif;font-size:11px;font-weight:700;padding:0 6px;cursor:pointer;text-decoration:none!important;display:inline-block;line-height:18px;text-shadow:0 1px 0 #ffee66;box-shadow:0 1px #fff6af}.erp-btn:hover{background:linear-gradient(to bottom,#ffab23 5%,#ffec64);text-decoration:none!important}.erp-btn.ghost{background:linear-gradient(to bottom,#ffec64 5%,#ffab23);color:#333;border-color:#fa2}.erp-btn.filter{background:linear-gradient(to bottom,#ffe066,#fc3);border-color:#d4a017;border-radius:8px}.erp-btn.active-filter{outline:1px solid #8b0000}.erp-btn.loan{padding:2px 8px;font-size:11px}.erp-lang-row{display:flex;align-items:center;justify-content:flex-end}.erp-flags{display:inline-flex;align-items:center;gap:5px}.erp-flag{display:inline-flex;align-items:center;border:0;background:transparent;cursor:pointer;padding:0;line-height:0;opacity:.95}.erp-flag img{display:block;border:1px solid #333}.erp-flag .flag-cn,.erp-flag .flag-en{height:16px;width:auto}.erp-flag:hover,.erp-flag.active{opacity:1}.erp-flag.active img{outline:1px solid #ffcc00}.erp-login-form{display:flex;align-items:center;gap:6px;color:#fff;font-size:11px;margin-left:auto}.erp-login-form input{height:22px;border:1px solid #456879;border-radius:3px;padding:0 6px;font-size:11px;width:120px}.erp-main{flex:1;overflow:auto;padding:0;background:#c8c8c8}.role-company .erp-main{background:#ebeff0;padding:0;display:block}.erp-panel{background:#fff;border:1px solid #888;padding:8px 10px 14px;min-height:calc(100% - 8px)}.role-company .erp-panel{border:1px solid #cccccc;margin:0;min-height:100%;padding:0;border-radius:0;width:100%}.role-company .erp-panel.panel-compact{width:fit-content;max-width:100%;min-width:0;min-height:auto;background:transparent;border:0;box-shadow:none}.role-company .erp-panel.panel-flush{width:100%;max-width:100%;min-height:auto;background:transparent;border:0;box-shadow:none;padding:0}.company-page-pad{padding:0}.company-daily.company-page-pad,.role-company .company-daily{background:#ebeff0;min-height:100%;padding:4px 6px 16px!important}.erp-title{font-size:15px;font-weight:700;margin:0;color:#c00}.erp-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:8px}.erp-toolbar-right{display:flex;flex-wrap:wrap;gap:5px;margin-left:auto}.letter-bar-wrap{background:#111;padding:5px 8px;margin:0 0 8px}.letter-bar{display:flex;flex-wrap:wrap;gap:3px}.letter-bar button{width:24px;height:24px;border-radius:50%;border:1px solid #a67c00;background:radial-gradient(circle at 32% 28%,#ffe9a8,#efc033 52%,#c9920a);color:#222;font-weight:800;font-size:11px;font-family:Verdana,Arial,sans-serif;cursor:pointer;padding:0;line-height:22px;box-shadow:0 1px 2px #0006}.letter-bar button.active{outline:2px solid #ff4444;color:#8b0000}.erp-search-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}.erp-search-icon{width:28px;height:28px;object-fit:contain}.erp-input{height:24px;border:1px solid #888;border-radius:3px;padding:0 8px;font-size:12px;background:#fff}.erp-input.wide{width:280px}.erp-table{width:100%;border-collapse:collapse;font-size:12px;font-family:Arial,Tahoma,Microsoft YaHei,sans-serif}.erp-table th,.erp-table td{border:1px solid #ccc;padding:4px 7px;text-align:left;vertical-align:middle}.erp-table th{background:var(--erp-table-head);color:#fff;font-weight:700;border-color:#e65c00;text-align:center}.erp-table.theme-gray{border:1px solid #000}.erp-table.theme-gray th,.erp-table.theme-gray td{border-color:#000}.erp-table.theme-gray th{background:#4d4d4d;border-color:#000;font-size:13px;font-weight:400;height:28px}.erp-table.theme-teal th{background:teal;border-color:teal;color:#fff;font-family:Verdana,Tahoma,Arial,sans-serif;font-size:9pt;font-weight:400}.erp-table.theme-teal th,.erp-table.theme-teal td{border-color:teal}.company-daily .erp-table.theme-teal{border:1px solid #008080;border-collapse:collapse;width:100%;background:#fff}.company-daily .erp-table.theme-teal td{font-family:Tahoma,Arial,sans-serif;font-size:9pt;padding:2px 4px;height:26px}.company-daily .erp-table.theme-teal tbody tr td{background:#fff!important}.company-daily .erp-table.theme-teal tbody tr:hover>td{background:#ffc!important}.company-daily .erp-table.theme-teal th.th-deposit-daily{background:#fcefa1!important;color:teal!important;border-color:teal}.company-daily .erp-table.theme-teal tfoot td{background:#fff;font-weight:400;border-top:1px solid #008080;border-bottom:1px solid #008080;font-family:Tahoma,Arial,sans-serif;font-size:9pt}.company-daily .erp-table.theme-teal tfoot .foot-label{text-align:right;background:#fff!important}.company-daily .erp-table.theme-teal tfoot .foot-estimate{background:#fff!important;color:red}.company-daily .erp-table.theme-teal tfoot .foot-stamp{background:#ff9!important}.company-daily .erp-table.theme-teal tfoot .foot-deposit{background:#fcefa1!important}.erp-table tbody tr:nth-child(2n) td{background:var(--erp-row-alt)}.erp-table tbody tr:nth-child(odd) td{background:#fff}.erp-table tbody tr:hover>td{background:#ffc!important}.erp-table.theme-gray tbody tr td,.erp-table.no-stripe tbody tr td{background:#fff!important;font-size:9pt;font-family:Arial,sans-serif}.erp-table.theme-gray tbody tr:hover>td,.erp-table.no-stripe tbody tr:hover>td{background:#ffc!important}.erp-table .num{text-align:right;font-variant-numeric:tabular-nums}.erp-table .neg{color:var(--erp-danger);font-weight:700}.erp-table .nick-red{color:#c00;font-weight:700}.erp-table .login-magenta,.erp-table .login-red{color:red}.erp-table th.th-deposit{background:#ff6!important;color:#111!important;border-color:#016668}.erp-table td.cell-click{cursor:pointer}.erp-table td.cell-click a{display:block;width:100%}.erp-table .center{text-align:center}.erp-table tfoot td{background:#fff8f0;font-weight:700;border-top:3px solid var(--erp-table-head);border-bottom:3px solid var(--erp-table-head)}.erp-table.theme-teal tfoot td{background:#e8f4f4;border-top-color:#027f81;border-bottom-color:#027f81}.erp-table.theme-gray tfoot td{border-top-color:#606060;border-bottom-color:#606060}.erp-table .act{text-align:center;white-space:nowrap}.erp-table .loan-link{color:#00c;font-weight:400;text-decoration:none;cursor:pointer;font-family:Arial,sans-serif;font-size:9pt}.erp-table .loan-link:hover{text-decoration:underline}.erp-icon-edit{width:17px;height:20px;vertical-align:middle}.erp-icon-sex{width:18px;height:18px;vertical-align:middle}.erp-icon-remove{width:25px;height:25px;vertical-align:middle;cursor:pointer}.erp-add-icon{display:inline-block;line-height:0;padding:8px 10px}.company-daily-bar{background:#faf4c4;border:1px solid #cfcfcf;padding:6px 8px;margin:0 0 8px}.company-daily-bar .erp-title{color:red;font-size:14px;font-family:Verdana,Tahoma,Arial,sans-serif;font-weight:700}.erp-remind-block{margin-top:10px;padding:0;display:flex;justify-content:flex-start}.erp-remind-wrap{width:700px;max-width:100%;border-collapse:collapse;border:1px solid #000;background:#fff;table-layout:fixed}.erp-remind-wrap td{border:1px solid #000;padding:4px 8px;font-family:Tahoma,Arial,Verdana,sans-serif;font-size:10pt;color:#000;text-align:center;background:#fff;height:26px;vertical-align:middle}.erp-remind-title{background:#ff0!important;text-align:center!important;font-weight:700;font-size:12pt;font-family:Verdana,Tahoma,Arial,sans-serif;padding:5px 8px!important;color:red!important;height:26px;border:1px solid #000!important}.erp-remind-wrap .remind-code{width:160px;white-space:nowrap}.erp-remind-wrap .remind-name{width:auto}.erp-remind-wrap .remind-master{width:110px;white-space:nowrap}.erp-remind-wrap tbody tr:hover td:not(.erp-remind-title){background:#ffc}.erp-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000026;z-index:1000;display:flex;align-items:flex-start;justify-content:center;padding-top:120px}.erp-modal{background:#fff;border:1px solid #000;box-shadow:3px 3px 8px #00000059;min-width:420px;max-width:92vw}.erp-modal-title{background:#c00000;color:#fff;font-family:Tahoma,Arial,Microsoft YaHei,sans-serif;font-size:13px;font-weight:700;padding:3px 4px 3px 8px;display:flex;align-items:center;justify-content:space-between;-webkit-user-select:none;user-select:none}.erp-modal-ctrls{display:flex;gap:2px}.erp-modal-ctrls .ctrl{width:16px;height:14px;padding:0;border:1px solid #888;background:#ddd;color:#000;font-size:10px;line-height:12px;cursor:pointer}.erp-modal-ctrls .ctrl:disabled{opacity:.5;cursor:default}.erp-modal-ctrls .close{font-weight:700}.erp-modal-body{padding:10px 12px 14px;background:#fff}.erp-modal-form-table{width:100%;border-collapse:collapse}.erp-modal-form-table td{padding:4px 2px;font-family:Arial,sans-serif;font-size:13px;vertical-align:middle}.erp-modal-form-table .lbl{width:120px;white-space:nowrap}.erp-modal-form-table input[type=text],.erp-modal-form-table input[type=password]{border:1px solid #456879;height:22px;padding:0 4px;font-size:12px;font-family:Arial,sans-serif}.erp-modal-form-table input.long{width:360px}.erp-modal-form-table input.short{width:130px}.master-pill{display:inline-block;background:linear-gradient(to bottom,#ffec64 5%,#ffab23);border:1px solid #ffaa22;border-radius:12px;color:#333!important;font-family:Arial,sans-serif;font-size:11px;font-weight:700;padding:2px 14px;text-decoration:none!important;text-shadow:0 1px 0 #ffee66;cursor:pointer;line-height:1.4}.master-pill:hover{background:linear-gradient(to bottom,#ffab23 5%,#ffec64)}.member-topbar{display:flex;align-items:center;justify-content:space-between;background:#fff;border:2px solid #000;border-bottom:0;min-height:55px;padding:0 10px;font-size:14px}.member-topbar .ic-search{display:flex;align-items:center;gap:6px;font-size:12px}.member-topbar .ic-search input{height:22px;border:1px solid #888;padding:0 6px;font-family:Verdana,Arial,sans-serif;font-size:8pt;width:160px}.back-link{float:right;line-height:0}.erp-form-row{display:flex;gap:8px;align-items:center;margin-bottom:6px;flex-wrap:wrap}.erp-form-row label{min-width:90px}.erp-remind{position:fixed;left:0;right:0;bottom:0;background:#ff3;border-top:1px solid #000;padding:7px 12px;font-size:13px;font-weight:700;color:#c00;text-align:center;z-index:20}.erp-empty{padding:20px;color:#666;text-align:center}.erp-clock{font-family:Verdana,Arial,sans-serif;font-size:11px;color:#ccc}.loan-page-active .erp-main{background:#ebeff0}.loan-page-active .erp-panel{margin:6px 8px;padding:0;border:0;min-height:0}.role-master .erp-header{min-height:58px;height:58px;flex-shrink:0}.role-master .erp-header-inner{height:58px;align-items:flex-start;padding:0;gap:8px}.role-master .erp-logo-img{width:110px;height:50px;object-fit:fill}.role-master .erp-brand{gap:10px;align-items:flex-start}.role-master .erp-brand-title{margin-top:5px;font:700 16px/20px Verdana,Arial,sans-serif;width:170px;white-space:nowrap;letter-spacing:0}.role-master .erp-brand-title span{color:#ffc;font-weight:400}.role-master .erp-nav{flex:0 1 auto;height:26px;padding:0;border:0;border-radius:0;background:#fff2bf;overflow:visible}.role-master .erp-nav-link{padding:0 9px;border:0;font:400 16px/26px KaiTi,STKaiti,serif}.role-master .erp-nav-link.active{background:#fff2bf;font-weight:400;box-shadow:none}.role-master .erp-nav-link:hover{background:#ffe271}.role-master .erp-header-right{margin-left:auto;margin-right:5%;padding-top:6px}.role-master .erp-header-actions{gap:36px}.role-master .erp-lang-row{justify-content:flex-start;margin-top:3px}.role-master .erp-flags{gap:16px}.role-master .erp-flag img{height:12px;border:0;outline:none}.role-master .erp-main{background:#ebeff0}.role-master .erp-panel{margin:8px;padding:0;border:0;min-height:0}.role-master .erp-btn{line-height:normal}.erp-btn:active{position:relative;top:1px}.role-company .erp-header{min-height:58px;height:auto;flex-shrink:0;overflow:visible}.role-company .erp-header .erp-header-inner{min-height:58px;height:auto;align-items:flex-start;padding:0;gap:8px;flex-wrap:wrap}.role-company .erp-header .erp-logo-img{width:110px;height:50px;max-width:none;margin:0;object-fit:fill}.role-company .erp-header .erp-brand{gap:10px;margin:0;padding:0}.role-company .erp-brand-title.company{width:80px;margin-top:5px;font:700 16px/20px Verdana,Arial,sans-serif;letter-spacing:0}.role-company .erp-nav.erp-nav-company{flex:1 1 420px;height:auto;min-height:26px;margin:0;flex-wrap:wrap;overflow:visible}.role-company .erp-nav.erp-nav-company .erp-nav-link{padding:0 9px;border:0;font:400 16px/26px KaiTi,STKaiti,serif}.role-company .erp-nav.erp-nav-company .erp-nav-link.active{background:#fff2bf}.role-company .erp-header-right{margin-left:auto;margin-right:5%;padding:6px 0 0}.role-company .erp-header-actions{gap:28px}.role-company .erp-panel{margin:8px;padding:0;min-height:0;width:auto;border:0}.standalone-page{min-width:0}.standalone-page .erp-main{background:#ebeff0}.standalone-page .erp-panel{min-height:0;margin:8px;padding:0;border:0}.letter-bar-wrap{background:#fff;margin:0;padding:20px 8px 12px}.letter-bar{justify-content:center;gap:12px;flex-wrap:nowrap}.letter-bar button{width:auto;min-width:23px;height:18px;border:1px solid #ffaa22;border-radius:6px;background:linear-gradient(to bottom,#ffec64 5%,#ffab23);padding:0 6px;font:700 11px/16px Arial,sans-serif;box-shadow:0 1px #fff6af;text-shadow:0 1px 0 #ffee66}.letter-bar button.active{outline:none;color:red}.letter-bar button:hover{background:linear-gradient(to bottom,#ffab23 5%,#ffec64)}.customer-list-origin{background:#fff;border:1px solid #555}.customer-list-origin .erp-search-row{height:65px;margin:0;padding:0 56px 14px;gap:4px}.customer-list-origin .erp-search-icon{width:53px;height:42px;margin-right:32px;cursor:pointer}.customer-list-origin .erp-search-row .erp-input{width:218px;height:21px;padding:0 3px;border:2px inset #999;border-radius:0}.customer-list-origin .erp-table th{background:#606060;border:1px solid #333;font:400 14px KaiTi,serif;height:28px}.customer-list-origin .erp-table td{border:1px solid #333;padding:1px 3px;height:30px}.customer-list-origin .erp-table tbody tr:nth-child(2n) td{background:#ffc}.customer-list-origin .erp-table tbody tr:hover td{background:silver!important}.customer-list-origin .erp-table td:first-child{text-align:center;width:45px}.customer-list-origin .erp-table td:nth-child(2),.customer-list-origin .erp-table td:nth-child(3){width:21.5%}.customer-list-origin .erp-table td:nth-child(4){text-align:center;width:12%}.customer-list-origin .erp-table td:nth-child(n+5){text-align:center}.customer-list-origin .erp-btn.loan{padding:0 6px;color:red}.role-master .company-page-pad>.erp-toolbar{height:55px;margin:0;padding:8px 5px;border:1px solid #000;border-bottom:0}.role-master .company-page-pad>.erp-toolbar .erp-title{color:red;font:16px KaiTi,serif;font-weight:400}.role-master .company-page-pad>.erp-table{border:1px solid #000;border-bottom:8px ridge #ff6600}.role-master .company-page-pad>.erp-table th{font-weight:400;height:28px;border-color:#000}.role-master .company-page-pad>.erp-table td{padding:3px;border-color:#000;height:27px}.role-master .erp-remind-block{max-width:800px;margin-top:24px;background:#ebeff0}.erp-shell.origin-flush .erp-panel{margin:0!important;padding:0!important}.role-company .erp-panel.panel-flush{width:auto;max-width:none}.role-company .erp-nav.erp-nav-company .erp-nav-link{padding-left:10px;padding-right:10px}.role-company .erp-header-right,.role-master .erp-header-right{margin-right:6.25%}.erp-shell.report-page-active .erp-panel{margin:0!important;padding:0!important}.erp-shell.customer-add-active .erp-main{background:#fff}.erp-shell.customer-add-active .erp-panel{margin:0!important;padding:0!important}.customer-add-active .customer-add{margin-left:26px}.customer-add-active .customer-add{margin-left:26px!important}.role-master .erp-nav-link{padding-left:10px;padding-right:10px}@media(max-width:1023px){.erp-shell:has(.customer-loan-page),.erp-shell:has(.bill-detail-page){min-width:0;width:100%}.erp-shell:has(.customer-loan-page) .erp-header-inner,.erp-shell:has(.bill-detail-page) .erp-header-inner{flex-wrap:wrap;min-width:0;height:auto}.erp-shell:has(.customer-loan-page) .erp-nav,.erp-shell:has(.bill-detail-page) .erp-nav{max-width:100%;overflow-x:auto;flex-basis:100%;white-space:nowrap}.erp-shell:has(.customer-loan-page) .erp-main,.erp-shell:has(.bill-detail-page) .erp-main{min-width:0;width:100%;padding:6px}.erp-shell:has(.customer-loan-page) .erp-content,.erp-shell:has(.bill-detail-page) .erp-content{min-width:0;width:100%}.erp-modal:has(.bill-detail-page){min-width:0;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)}.erp-modal-mask:has(.bill-detail-page){padding-top:8px;overflow-y:auto}.erp-modal:has(.bill-detail-page) .erp-modal-body{padding:4px}}@media(max-width:1023px){.erp-shell:has(.customer-loan-page) .erp-header,.erp-shell:has(.bill-detail-page) .erp-header{height:auto!important;min-height:58px}.erp-shell:has(.customer-loan-page) .erp-header-right,.erp-shell:has(.bill-detail-page) .erp-header-right{margin:0 8px 6px auto;padding:0}.erp-shell:has(.customer-loan-page) .erp-panel,.erp-shell:has(.bill-detail-page) .erp-panel{margin:0;min-width:0;max-width:100%}}.mobile-menu-button{display:none}@media(max-width:1199px){.erp-shell{min-width:0!important;width:100%;height:100dvh;min-height:100vh}.erp-shell .erp-header{height:auto!important;min-height:0!important;flex-shrink:0}.erp-shell .erp-header .erp-header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;height:auto!important;min-height:0!important;padding:6px 8px!important}.erp-shell .erp-header .erp-brand{min-width:0;margin:0;padding:0;gap:8px}.erp-shell .erp-header .erp-logo-img{width:68px;max-width:68px;height:36px;object-fit:contain;margin:0}.erp-shell .erp-header .erp-brand-title{width:auto;min-width:0;margin:0;font:700 13px/18px Arial,sans-serif;white-space:normal;overflow-wrap:anywhere}.mobile-menu-button{display:block;min-height:38px;padding:6px 12px;color:#111;background:#fff2bf;border:1px solid #d7b74b;border-radius:4px;font-size:14px}.erp-shell .erp-header .erp-nav{display:none;grid-column:1/-1;width:100%;max-width:100%;height:auto!important;min-width:0;overflow:visible;white-space:normal;background:#fff2bf;flex:none}.erp-shell .erp-header .erp-nav.mobile-open{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px}.erp-shell .erp-header .erp-nav-link{display:flex;align-items:center;justify-content:center;white-space:normal;text-align:center;padding:8px 3px;min-height:40px;font:14px/20px Arial,sans-serif}.erp-shell .erp-header .erp-nav-link.active{background:#ffd466}.erp-shell .erp-header .erp-header-right{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:0!important;padding:0!important}.erp-shell .erp-header .erp-header-actions{display:flex;gap:8px}.erp-shell .erp-header .erp-lang-row{margin:0}.erp-shell .erp-header .erp-flags{gap:8px}.erp-shell .erp-header .erp-flag{min-width:32px;min-height:32px}.erp-shell .erp-login-form{grid-column:1/-1;display:grid;grid-template-columns:75px minmax(0,1fr);gap:8px;width:100%;white-space:normal}.erp-login-form input{width:100%!important;min-width:0}.erp-login-form>.erp-btn{grid-column:2}.erp-shell .erp-main{min-width:0!important;width:100%;padding:6px!important;overflow:auto;min-height:0}.erp-shell .erp-panel,.erp-shell .erp-panel.panel-compact,.erp-shell .erp-panel.panel-flush{min-width:0!important;max-width:100%!important;width:100%!important;margin:0!important;padding:0!important;min-height:0}.erp-main :is(.agents-origin,.masters-origin,.company-bills,.member-page,.company-page-pad,.pkg-page,.hol-page,.reports-page,.payhist-page,.showacc-page,.simple-page,.logs-page,.ann-page,.pwd-page,.bill-account,.customer-list-origin,.customer-add){min-width:0!important;max-width:100%!important;width:100%!important;margin-left:0!important;box-sizing:border-box}.erp-main :is(.erp-toolbar,.ledger-toolbar,.member-topbar,.payhist-filters,.showacc-filters,.hol-form,.cash-toolbar,.erp-search-row,.legacy-filter,.report-toolbar,.report-tabs,.account-search,.account-navigation){display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%!important;width:100%!important;min-width:0;height:auto!important;white-space:normal;padding:10px!important;box-sizing:border-box}.erp-main :is(.erp-btn,.ledger-show,button){min-height:34px}.erp-main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;min-height:34px;font-size:16px;box-sizing:border-box}.erp-main :is(.letter-bar,.letter-bar-wrap){max-width:100%;white-space:normal;height:auto}.erp-main .letter-bar{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:5px;padding:8px}.erp-main .letter-bar-wrap{padding:0}.erp-main .letter-bar button{min-width:28px;min-height:30px}.erp-main .customer-list-origin .erp-search-row{padding:10px!important;height:auto}.erp-main .customer-list-origin .erp-search-icon{width:34px;height:34px;margin:0}.erp-main .customer-list-origin .erp-search-row .erp-input{flex:1;min-width:110px;width:150px;max-width:100%}.erp-main table:not(.bill-info-table):not(.bill-calendar):not(.pkg-form-table):not(.pwd-form):not(.penalty-form):not(.erp-modal-form-table){display:block;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap;-webkit-overflow-scrolling:touch}.erp-main table:not(.bill-info-table):not(.bill-calendar):not(.pkg-form-table):not(.pwd-form):not(.penalty-form):not(.erp-modal-form-table) :is(th,td){padding:6px;min-height:32px}.erp-main :is(.um-table,.um-bill,.legacy-bill-table,.ledger-table,.report-table,.pkg-list-table,.payhist-table,.showacc-table,.company-customer-table) :is(th,td){min-width:80px}.erp-main :is(.um-table,.um-bill,.legacy-bill-table) :is(th,td):first-child{min-width:34px}.erp-main :is(.report-tabs,.report-tab-cell){width:auto!important;max-width:100%}.erp-main .report-tabs{height:auto!important}.erp-main .report-tab-cell{flex:1 1 110px}.erp-main :is(.pwd-box,.pwd-form,.pkg-form-wrap,.pkg-form-table,.erp-inline-form,.customer-add,.penalty-form){max-width:100%!important;width:100%!important;min-width:0!important;margin-left:0!important}.erp-main :is(.pkg-form-table,.erp-modal-form-table,.pwd-form){table-layout:fixed;width:100%!important}.erp-main :is(.pkg-form-table,.erp-modal-form-table,.pwd-form) :is(th,td){overflow-wrap:anywhere;white-space:normal;padding:6px 4px}.erp-main .pkg-form-table .gutter{display:none}.erp-main :is(.pkg-form-table,.erp-modal-form-table,.pwd-form) :is(input,select,textarea){max-width:100%!important;min-width:0!important;width:100%!important}.erp-main .pkg-form-table .lbl{width:36%}.erp-main .erp-inline-title{height:auto;min-height:36px;padding:8px}.erp-main .erp-modal-form-table .lbl{width:34%}.erp-modal-mask{padding:8px!important;overflow-y:auto;align-items:flex-start;justify-content:center;box-sizing:border-box}.erp-modal{min-width:0!important;width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px);overflow:auto;box-sizing:border-box}.erp-modal-body{padding:8px!important;overflow:auto}.erp-modal :is(input,select,textarea){max-width:100%;min-height:34px;font-size:16px}.erp-modal-title{min-height:36px;font-size:14px}.erp-modal-ctrls .ctrl:not(.close){display:none}.erp-modal-ctrls .close{width:30px;height:26px;font-size:16px;line-height:22px}.erp-modal .del-stats-table{display:table!important;width:100%!important;white-space:normal}.erp-main :is(.erp-remind-block,.erp-remind-wrap,.latest-loans-table){max-width:100%!important;width:100%!important}.erp-main :is(.legacy-bills,.legacy-logs,.legacy-announcements,.announcement-form,.bill-filters,.log-filter){width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box}.erp-main :is(.bill-filters form,.log-filter){display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;white-space:normal;padding:10px!important}.erp-main .announcement-form table{display:table;table-layout:fixed;white-space:normal}.erp-main .announcement-form textarea{width:100%;min-height:100px}.erp-main .announcement-form th{width:75px}.erp-main .log-pages{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.erp-main .account-search form{margin-left:0!important;width:100%!important;flex-wrap:wrap}.erp-main .account-search input{flex:1;min-width:100px;max-width:100%}.erp-main .company-loan-detail{flex-direction:column;max-width:100%;gap:10px}.erp-main .company-loan-detail :is(section,aside){width:100%!important;max-width:100%;height:auto;min-width:0}.erp-main .company-loan-detail aside{min-height:120px;flex-wrap:wrap}.erp-main .company-loan-detail .field{height:auto;min-height:42px;padding:4px;gap:5px}.erp-main .company-loan-detail .field label{width:110px;padding-left:4px}.erp-main .company-loan-detail .field input{flex:1;min-width:0;width:100%}.erp-main table{font-size:13px}.erp-main table a{display:inline-block;min-height:28px;padding-top:4px;padding-bottom:4px}.erp-main .legacy-logs td:last-child{white-space:normal;min-width:260px;max-width:320px;overflow-wrap:anywhere}.erp-main .customer-add .add-fields{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;padding:10px;width:100%;max-width:100%}.erp-main .customer-add .add-fields>label{width:auto;padding:6px 0}.erp-main .customer-add .add-fields :is(input,select){width:100%!important;min-width:0}.erp-main .customer-add .add-fields>span{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.erp-main .customer-add .add-fields input[type=checkbox]{width:auto!important}.erp-main .customer-add .add-actions{display:flex;justify-content:space-around;gap:8px;padding:10px}.erp-main .customer-form{width:100%;max-width:100%;margin:0}.erp-main .customer-form table{display:table;table-layout:fixed;white-space:normal}.erp-main .customer-form td:first-child{width:100px}.erp-main .customer-form td{white-space:normal;overflow-wrap:anywhere}.erp-main .customer-form :is(input,select){width:100%!important;max-width:100%;min-width:0}.erp-main .customer-form input[type=checkbox]{width:auto!important}.erp-main .customer-add .add-fields .active{margin-left:0}.erp-main :is(.pkg-form-table,.erp-modal-form-table,.pwd-form) input[type=checkbox]{width:auto!important;min-height:20px}.erp-main .hol-form{display:grid!important;grid-template-columns:65px minmax(0,1fr)!important}.erp-main .hol-form :is(.loan-date,input,select){width:100%!important;max-width:100%;min-width:0}.erp-main .hol-form>.erp-btn{grid-column:2}.erp-main .pkg-form-table,.erp-main .pkg-form-table>tbody{display:block}.erp-main .pkg-form-table tr{display:grid;grid-template-columns:38% minmax(0,1fr)}.erp-main .pkg-form-table td{width:auto!important;min-width:0;min-height:44px}.erp-main .pkg-form-table td:empty,.erp-main .pkg-form-table .gutter,.erp-main .pkg-form-table .form-actions>td:first-child{display:none}.erp-main .pkg-form-table td[colspan]{grid-column:1/-1}.erp-main .pkg-form-table .val{display:flex;align-items:center}.erp-main .pkg-form-table .form-actions>td:last-child{grid-column:1/-1;display:flex;justify-content:center;gap:8px}.erp-main .pkg-form-table :is(.form-blank,.form-footer){display:none}.erp-main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}.erp-main .loan-date{min-width:0;max-width:100%}.erp-main .loan-date>input{min-width:0}.erp-main .date-calendar{width:32px;height:34px;min-width:32px;display:inline-flex;align-items:center;justify-content:center}.erp-main .date-calendar input{width:100%;height:100%}.erp-modal .erp-modal-form-table{width:100%;table-layout:fixed}.erp-modal .erp-modal-form-table td{white-space:normal;overflow-wrap:anywhere}.erp-modal .erp-modal-form-table .lbl{width:35%}.erp-modal .erp-modal-form-table :is(input:not([type=checkbox]):not([type=radio]),select,textarea){width:100%!important;min-width:0!important}}@media(prefers-reduced-motion:no-preference){.erp-main table{scroll-behavior:smooth}}
