:root{font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;color:#24334b;background:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}.app-shell{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid #e7ecf3;padding:23px 14px;display:flex;flex-direction:column;gap:25px}.brand{display:flex;align-items:center;gap:11px;padding:0 8px;color:#1e304b}.brand-mark{width:39px;height:39px;border-radius:12px;background:linear-gradient(145deg,#397bea,#2457c3);display:grid;place-items:center;color:#fff;font-size:21px;font-weight:800;box-shadow:0 5px 14px #3679ed30}.brand b{display:block;font-size:14px;letter-spacing:.2px}.brand small{display:block;font-size:9px;color:#96a2b3;letter-spacing:1px;margin-top:4px}.nav-group{display:flex;flex-direction:column;gap:4px}.nav-caption{font-size:10px;color:#9aa7b8;font-weight:800;letter-spacing:1px;padding:0 12px 7px}.nav-item{border:0;background:transparent;border-radius:9px;padding:11px 12px;text-align:left;display:flex;gap:11px;align-items:center;color:#66758b;font-size:12px}.nav-item span{width:17px;text-align:center;font-size:16px}.nav-item:hover{background:#f5f8fc}.nav-item.active{background:#edf4ff;color:#2864ce;font-weight:750}.sidebar-foot{margin-top:auto;padding:13px;border:1px solid #e9edf3;border-radius:11px;font-size:10px;color:#5e6c81}.sidebar-foot p{margin:7px 0 0;color:#99a4b2;font-size:9px}.dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:6px}.amber{background:#e5a23b}.main-area{min-width:0;padding:0 28px 30px}.topbar{height:68px;border-bottom:1px solid #e8edf3;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:24px;font-size:11px;color:#7e8ca1}.topbar b{color:#40516b}.top-actions{display:flex;align-items:center;gap:8px}.env-pill{background:#fff4e4;color:#a97528;padding:7px 9px;border-radius:20px;font-size:9px}.avatar{width:30px;height:30px;border-radius:50%;background:#e8effc;color:#2d65c9;display:grid;place-items:center;font-weight:800}.btn{border:1px solid #e0e7ef;background:#fff;color:#52627a;border-radius:8px;padding:9px 12px;font-size:10px;font-weight:700;white-space:nowrap}.btn:hover{background:#f8faff;border-color:#b7c9e8}.btn.primary{background:#2865d5;border-color:#2865d5;color:#fff;box-shadow:0 3px 8px #2865d51a}.btn.primary:hover{background:#2056bd}.btn:disabled{opacity:.45;cursor:not-allowed}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:19px}.page-heading h1{font-size:23px;letter-spacing:-.5px;color:#1e2e47;margin:0;font-weight:800}.page-heading p{font-size:11px;color:#8c99aa;margin:7px 0 0;line-height:1.6}.actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:15px}.metric-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card,.panel{background:#fff;border:1px solid #e8edf3;border-radius:12px;box-shadow:0 2px 8px #1d345008}.metric-card{padding:16px}.metric-card label{display:block;font-size:10px;color:#8794a6}.metric-card strong{display:block;font-size:27px;letter-spacing:-.8px;margin:11px 0 5px;color:#263751}.metric-card small{font-size:9px;color:#9ba6b4}.panel{padding:16px;margin-bottom:15px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px}.panel-head h3{font-size:13px;margin:0;color:#2c3c55}.panel-head p{font-size:9px;color:#98a4b3;margin:5px 0 0}.two-col{display:grid;grid-template-columns:1.15fr 1fr;gap:14px}.status-list{display:flex;flex-direction:column;gap:13px;margin:17px 0}.status-list>div{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#67758b}.pill{display:inline-flex;align-items:center;border-radius:20px;padding:5px 8px;font-size:9px;font-weight:750;white-space:nowrap;background:#f1f3f6;color:#778498}.pill.green{background:#e9f7f0;color:#1b966c}.pill.amber{background:#fff5e7;color:#bd822a}.pill.blue{background:#edf4ff;color:#356bc8}.pill.red{background:#fff0f0;color:#cf5c5c}.pill.gray{background:#f0f2f5;color:#7c899b}.callout,.alert{border-radius:9px;padding:11px 13px;font-size:10px;line-height:1.7;margin-bottom:14px}.callout{background:#fff9ec;border:1px solid #f2e3c4;color:#8e713e}.info-callout,.alert.info{background:#f0f6ff;border-color:#dfebff;color:#5475a5}.alert.warn{background:#fff8ea;border:1px solid #f2e4c9;color:#96723a}.alert.error{background:#fff0f0;border:1px solid #f3dada;color:#b74e4e}.simple-list{display:flex;flex-direction:column;gap:12px}.simple-list>div{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px}.simple-list small{display:block;color:#9aa5b3;margin-top:4px}.text-btn{border:0;background:transparent;color:#2d68cf;font-size:10px;font-weight:700}.table-scroll{width:100%;overflow:auto;border:1px solid #edf0f4;border-radius:9px}table{border-collapse:collapse;width:100%;min-width:650px;text-align:left}th{background:#f8fafd;color:#8794a6;font-size:9px;font-weight:750;padding:12px;border-bottom:1px solid #edf0f4;white-space:nowrap}td{padding:12px;font-size:10px;color:#596980;border-bottom:1px solid #f0f2f6;white-space:nowrap}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}.mono{font-family:ui-monospace,Consolas,monospace;color:#455a77}.empty{padding:28px;text-align:center;color:#9ca7b5;font-size:10px}.toolbar{display:flex;justify-content:flex-end;margin-bottom:13px}.field{border:1px solid #e1e7ef;border-radius:8px;padding:9px 11px;background:#fff;color:#50617a;font-size:10px;outline:none}.field:focus,input:focus,select:focus,textarea:focus{border-color:#80a5e6}.search{width:min(310px,100%)}.warning-text{color:#c18a35!important}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid #edf0f4;font-size:11px}.setting-row:last-child{border:0}.setting-row small{display:block;color:#98a4b2;font-size:9px;margin-top:5px}.settings-panel{max-width:850px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#16243c70;display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}.modal{background:#fff;border-radius:15px;width:min(510px,100%);padding:21px;box-shadow:0 20px 65px #15243c30;max-height:90vh;overflow:auto}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.modal-head h2{font-size:16px;margin:0;color:#263750}.icon-close{border:0;background:#f2f4f7;border-radius:7px;width:27px;height:27px;color:#66758a;font-size:18px}.modal form{display:flex;flex-direction:column;gap:12px}.modal label{font-size:10px;color:#64738a;font-weight:700;display:flex;flex-direction:column;gap:6px}.modal input,.modal select,.modal textarea{width:100%;border:1px solid #e1e7ef;border-radius:8px;padding:10px;font-size:11px;color:#42536d;outline:none}.modal textarea{min-height:75px;resize:vertical}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.selection-list{max-height:150px;overflow:auto;border:1px solid #edf0f4;border-radius:8px;padding:8px}.selection-list .check-row{display:flex;flex-direction:row;align-items:center;padding:7px 2px;font-weight:500}.check-row input{width:auto}.notice{background:#fff8ea;border:1px solid #f2e4c9;border-radius:8px;padding:10px;color:#94753e;font-size:9px;line-height:1.7}.toast{position:fixed;right:22px;bottom:22px;background:#253750;color:#fff;padding:11px 15px;border-radius:9px;font-size:10px;z-index:100;box-shadow:0 6px 20px #1b2d4730}footer{font-size:9px;color:#a0aab8;text-align:center;padding:18px 0 4px}.muted{color:#95a1b0}@media(max-width:1050px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.main-area{padding:0 18px 25px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}}@media(max-width:700px){.app-shell{display:block}.sidebar{display:none}.main-area{padding:0 12px 25px}.topbar{height:57px;margin-bottom:17px}.top-actions{gap:5px}.top-actions .btn{padding:7px}.env-pill{display:none}.page-heading{flex-direction:column}.page-heading h1{font-size:20px}.metric-grid{gap:8px}.metric-card{padding:12px}.metric-card strong{font-size:23px}.metric-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.panel{padding:12px}.modal{padding:17px}}.qr-preview{display:flex;justify-content:center;align-items:center;background:#f7f9fc;border:1px solid #e8edf3;border-radius:10px;padding:16px;min-height:220px}.qr-preview img{max-width:100%;max-height:65vh;object-fit:contain}.mobile-nav{display:none}.mobile-nav button{border:0;background:transparent;color:#8290a3;font-size:9px;display:flex;flex-direction:column;gap:3px;align-items:center;padding:4px 3px}.mobile-nav button span{font-size:17px}.mobile-nav button.active{color:#2865d5;font-weight:800}@media(max-width:700px){.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e7ebf1;z-index:40;justify-content:space-around;padding:7px 4px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -3px 12px #26375108}.main-area{padding-bottom:92px}}.field-group{display:flex;flex-direction:column;gap:6px}.field-label{font-size:10px;color:#64738a;font-weight:700}.upload-drop{border:1px dashed #b9c9df;border-radius:12px;background:#f8fbff;padding:26px 16px;display:flex;flex-direction:column;align-items:center;gap:8px;color:#526780;cursor:pointer;text-align:center}.upload-drop:hover{border-color:#6f98dc;background:#f2f7ff}.upload-drop input{max-width:100%;font-size:10px}.upload-drop .upload-symbol{width:36px;height:36px;border-radius:11px;background:#e8f0ff;color:#326bcf;display:grid;place-items:center;font-size:22px}.upload-drop b{font-size:12px}.upload-drop small{font-size:9px;color:#96a3b4}.qr-preview img{max-width:100%;max-height:62vh;object-fit:contain}.modal label.check-row{flex-direction:row;align-items:center;gap:8px}.modal label.check-row input{width:auto}.payment-draft-list{display:flex;flex-direction:column;gap:10px;max-height:52vh;overflow:auto;padding-right:3px}.payment-draft-row{border:1px solid #e8edf3;background:#fbfcfe;border-radius:10px;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.payment-draft-row label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#64738a;font-weight:700}.payment-draft-row input,.payment-draft-row select{width:100%;min-width:0;border:1px solid #e1e7ef;border-radius:8px;padding:9px;background:#fff;font-size:10px;color:#42536d}.draft-row-head{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#35445b}.payment-draft-row .btn{justify-self:end}@media(max-width:600px){.payment-draft-row{grid-template-columns:1fr}.draft-row-head{grid-column:1}}.modal.payment-reconciliation{width:min(820px,100%)}
