@import "https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap";:root{font-synthesis:none;text-rendering:optimizelegibility;font-family:Cairo,Segoe UI,sans-serif}body{min-width:320px;min-height:100vh;margin:0}:root{--navy:#15263b;--blue:#235fc7;--light:#f4f7fb;--line:#e5eaf1;--muted:#7b8797;--green:#18a66a}*{box-sizing:border-box}button,input{font:inherit}button{cursor:pointer}.loading-screen{min-height:100vh;color:var(--navy);background:var(--light);place-items:center;display:grid}.login-page{background:#fff;grid-template-columns:minmax(420px,44%) 1fr;min-height:100vh;display:grid}.login-panel{width:min(410px,100% - 48px);margin:auto;padding:36px 0}.brand-mark{color:#fff;background:linear-gradient(145deg,#2c75e7,#163b84);border-radius:16px;place-items:center;width:54px;height:54px;margin-bottom:20px;font-size:28px;font-weight:800;display:grid;box-shadow:0 12px 30px #2965c533}.brand-mark.small{border-radius:12px;flex:none;width:42px;height:42px;margin:0;font-size:21px}.eyebrow{color:var(--blue);letter-spacing:3px;margin:0 0 20px;font-size:12px;font-weight:800}.login-panel h1{color:var(--navy);margin:0 0 10px;font-size:34px}.muted{color:var(--muted);margin:0 0 30px}.login-panel form{gap:10px;display:grid}.login-panel label{color:#3c4858;margin-top:8px;font-size:14px;font-weight:700}.login-panel input{text-align:left;direction:ltr;border:1px solid #dbe1e9;border-radius:12px;outline:none;width:100%;padding:14px 16px}.login-panel input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #235fc71a}.login-panel form button,.welcome button{color:#fff;background:var(--blue);border:0;border-radius:12px;margin-top:14px;padding:14px 20px;font-weight:700;box-shadow:0 8px 20px #235fc72b}.login-panel form button:disabled{opacity:.65}.error{color:#b42318;background:#fef3f2;border-radius:9px;margin:4px 0 0;padding:10px 12px;font-size:13px}.setup-note{color:#755719;background:#fff8e8;border:1px solid #f4dda3;border-radius:11px;gap:5px;margin-bottom:18px;padding:13px 14px;font-size:13px;display:grid}.setup-note code{direction:ltr;display:inline-block}.login-footer{text-align:center;color:#9ba5b2;margin-top:30px;font-size:12px}.login-art{color:#fff;background:radial-gradient(circle at 60% 35%,#3977d7 0,#173b70 32%,#10243c 70%);flex-direction:column;justify-content:flex-end;padding:10%;display:flex;position:relative;overflow:hidden}.login-art:after{content:"";opacity:.13;background-image:linear-gradient(#fff 1px,#0000 1px),linear-gradient(90deg,#fff 1px,#0000 1px);background-size:55px 55px;position:absolute;inset:0;transform:perspective(500px)rotateX(22deg)scale(1.4)}.login-art h2{z-index:1;margin:30px 0 0;font-size:42px;line-height:1.35}.globe{z-index:1;text-align:center;letter-spacing:4px;border:1px solid #fff6;border-radius:50%;align-self:center;place-items:center;width:245px;height:245px;font-size:20px;font-weight:800;display:grid;box-shadow:inset 0 0 60px #5f9cff44,0 0 80px #2f75d955}.art-card{z-index:2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff18;border:1px solid #ffffff30;border-radius:16px;gap:5px;width:180px;padding:16px;display:grid;position:absolute;top:18%;left:12%}.art-card span{opacity:.8;font-size:12px}.art-card strong{font-size:22px}.art-card i{border-bottom:3px solid #7ff0c4;border-radius:50%;height:28px;display:block;transform:skewY(-8deg)}.app-shell{background:var(--light);min-height:100vh;color:var(--navy)}.sidebar{border-left:1px solid var(--line);z-index:20;background:#fff;flex-direction:column;width:270px;padding:24px 16px 18px;display:flex;position:fixed;inset:0 0 0 auto}.brand{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:0 8px 22px;display:flex}.brand strong,.brand span{display:block}.brand strong{font-size:18px}.brand span{color:var(--muted);margin-top:2px;font-size:11px}.sidebar nav{gap:3px;margin:18px 0;display:grid;overflow:auto}.sidebar nav button{text-align:right;color:#566273;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:10px 12px;font-size:13px;display:flex}.sidebar nav button b{text-align:center;color:#8490a0;width:21px;font-size:16px}.sidebar nav button.active{color:var(--blue);background:#eef4ff;font-weight:700}.sidebar nav button.active b{color:var(--blue)}.user-card{border-top:1px solid var(--line);align-items:center;gap:9px;margin-top:auto;padding:12px 8px 0;display:flex}.avatar{width:36px;height:36px;color:var(--blue);background:#dbe8ff;border-radius:10px;place-items:center;font-weight:800;display:grid}.user-card div{flex:1;min-width:0}.user-card strong,.user-card small{text-overflow:ellipsis;display:block;overflow:hidden}.user-card strong{font-size:12px}.user-card small{color:var(--muted);text-align:right;direction:ltr;margin-top:2px;font-size:9px}.user-card button{color:#97a1ae;background:0 0;border:0;font-size:18px}.content{margin-right:270px;padding:0 36px 40px}.content header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:92px;display:flex}.content header h1{margin:3px 0 0;font-size:23px}.content header p{color:var(--muted);margin:0;font-size:11px}.notification{border:1px solid var(--line);background:#fff;border-radius:11px;width:40px;height:40px;margin-right:auto;position:relative}.notification i{background:#e65454;border-radius:50%;width:7px;height:7px;position:absolute;top:7px;right:8px}.menu-button{background:0 0;border:0;font-size:24px;display:none}.welcome{color:#fff;background:linear-gradient(100deg,#173b70,#245ea7);border-radius:18px;justify-content:space-between;align-items:center;margin:26px 0;padding:24px 28px;display:flex;position:relative;overflow:hidden}.welcome:after{content:"";border:30px solid #ffffff0d;border-radius:50%;width:200px;height:200px;position:absolute;top:-85px;left:18%}.welcome h2{margin:5px 0;font-size:24px}.welcome p{opacity:.7;margin:0;font-size:13px}.welcome span{opacity:.8;font-size:12px}.welcome button{color:var(--blue);z-index:1;background:#fff;margin:0}.stats{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.stats article,.panel,.placeholder{border:1px solid var(--line);background:#fff;border-radius:16px;padding:19px}.stat-icon{float:left;width:38px;height:38px;color:var(--blue);background:#eef4ff;border-radius:11px;place-items:center;display:grid}.stats p{color:var(--muted);margin:2px 0 12px;font-size:12px}.stats h3{margin:0 0 7px;font-size:21px}.stats article>span{color:var(--green);font-size:10px}.dashboard-grid{grid-template-columns:1.25fr 1fr;gap:16px;margin-top:16px;display:grid}.panel{min-height:330px}.panel-title{justify-content:space-between;align-items:center;display:flex}.panel-title h3{margin:0;font-size:16px}.panel-title p{color:var(--muted);margin:4px 0;font-size:10px}.panel-title button{border:1px solid var(--line);color:#697586;background:#fff;border-radius:8px;padding:7px 10px;font-size:10px}.chart{border-bottom:1px solid var(--line);background:repeating-linear-gradient(#fff 0 48px,#eef1f5 49px);height:245px;margin-top:15px}.bars{justify-content:space-around;align-items:flex-end;height:215px;padding:0 12px;display:flex}.bars span{background:linear-gradient(#4b83dd,#235fc7);border-radius:7px 7px 0 0;width:7%;box-shadow:0 5px 14px #235fc733}.chart-labels{color:#8994a3;justify-content:space-around;margin-top:8px;font-size:9px;display:flex}.shipments{margin-top:16px}.shipment{border-bottom:1px solid var(--line);align-items:center;gap:11px;padding:15px 0;display:flex}.shipment:last-child{border:0}.shipment-icon{border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.shipment-icon.blue{color:#2870da;background:#eaf2ff}.shipment-icon.orange{color:#e1842d;background:#fff2e4}.shipment-icon.green{color:#18a66a;background:#e9f8f1}.shipment div{flex:1}.shipment strong,.shipment small{display:block}.shipment strong{font-size:12px}.shipment small{color:var(--muted);margin-top:4px;font-size:9px}.shipment em{border-radius:12px;padding:5px 8px;font-size:9px;font-style:normal}.shipment em.blue{color:#2870da;background:#eaf2ff}.shipment em.orange{color:#c26c1c;background:#fff2e4}.shipment em.green{color:#16885a;background:#e9f8f1}.placeholder{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:360px;margin-top:26px;display:flex}.placeholder span{color:var(--blue);background:#eef4ff;border-radius:15px;padding:6px 10px;font-size:11px}.placeholder h2{margin:18px 0 8px;font-size:27px}.placeholder p{max-width:520px;color:var(--muted);font-size:13px;line-height:1.8}.overlay{display:none}.module-page{padding-top:26px}.module-toolbar{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.module-toolbar h2{margin:0;font-size:22px}.module-toolbar p{color:var(--muted);margin:5px 0 0;font-size:11px}.module-toolbar button{background:var(--blue);color:#fff;border:0;border-radius:10px;padding:11px 16px;font-weight:700}.list-card{border:1px solid var(--line);background:#fff;border-radius:16px;min-height:410px;overflow:hidden}.list-tools{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px 18px;display:flex}.list-tools label{background:var(--light);border:1px solid var(--line);border-radius:10px;align-items:center;gap:8px;width:min(340px,75%);padding:0 12px;display:flex}.list-tools input{background:0 0;border:0;outline:0;width:100%;padding:10px 0;font-size:12px}.list-tools strong{color:var(--muted);font-size:11px}.list-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:330px;padding:30px;display:flex}.list-state .empty-icon,.error-state>span{width:58px;height:58px;color:var(--blue);background:#eef4ff;border-radius:17px;place-items:center;font-size:25px;display:grid}.list-state h3{margin:16px 0 6px;font-size:17px}.list-state p{color:var(--muted);margin:0;font-size:12px}.error-state>span{color:#b42318;background:#fef3f2}.spinner{border:3px solid #dbe8ff;border-top-color:var(--blue);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.table-wrap{overflow:auto}.table-wrap table{border-collapse:collapse;text-align:right;width:100%}.table-wrap th{color:var(--muted);background:#fafbfd;padding:12px 18px;font-size:10px}.table-wrap td{border-top:1px solid var(--line);padding:14px 18px;font-size:12px}.table-wrap code{direction:ltr;display:inline-block}.type-pill{color:var(--blue);background:#eef4ff;border-radius:12px;padding:5px 9px;font-size:10px}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#10243c99;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.supplier-modal{background:#fff;border-radius:18px;width:min(510px,100%);overflow:hidden;box-shadow:0 24px 70px #0c1d3266}.modal-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;padding:22px 24px;display:flex}.modal-heading p{color:var(--blue);margin:0 0 4px;font-size:10px;font-weight:700}.modal-heading h2{margin:0;font-size:21px}.modal-heading>button{color:#697586;background:#f2f5f8;border:0;border-radius:10px;width:34px;height:34px;font-size:23px;line-height:1}.supplier-modal form{gap:15px;padding:22px 24px;display:grid}.supplier-modal label{color:#435064;gap:7px;font-size:12px;font-weight:700;display:grid}.supplier-modal label span{color:#d13c3c}.supplier-modal input{border:1px solid #dbe1e9;border-radius:10px;outline:none;padding:12px 13px}.supplier-modal input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #235fc715}.form-error{color:#b42318;background:#fef3f2;border-radius:9px;margin:0;padding:10px 12px;font-size:11px}.form-actions{justify-content:flex-end;gap:9px;margin-top:6px;display:flex}.form-actions button{background:var(--blue);color:#fff;border:0;border-radius:10px;padding:10px 18px;font-weight:700}.form-actions button.secondary{color:#566273;background:#f0f3f7}.form-actions button:disabled{opacity:.55}.supplier-modal select{cursor:pointer;background:#fff;border:1px solid #dbe1e9;border-radius:10px;outline:none;padding:12px 13px}.supplier-modal select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #235fc715}@media (width<=1050px){.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.login-art{display:none}.login-page{grid-template-columns:1fr}}@media (width<=760px){.sidebar{transition:all .25s;transform:translate(105%)}.sidebar.open{transform:none}.overlay{z-index:10;background:#10243c88;border:0;display:block;position:fixed;inset:0}.content{margin-right:0;padding:0 18px 30px}.menu-button{margin-left:10px;display:block}.content header{justify-content:flex-start}.notification{margin-right:auto}.welcome{align-items:flex-start;gap:18px}.welcome button{white-space:nowrap}.stats{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}}@media (width<=480px){.stats{grid-template-columns:1fr}.welcome{display:block}.welcome button{margin-top:18px}.login-panel h1{font-size:28px}}.sidebar{border-left:0;border-right:1px solid var(--line);inset:0 auto 0 0}.sidebar nav button,.user-card small{text-align:left}.content{margin-left:270px;margin-right:0}.notification{margin-left:auto;margin-right:0}.shortcut-help-button{width:35px;height:35px;color:var(--blue);cursor:pointer;background:#fff;border:1px solid #dbe3ee;border-radius:9px;margin-left:auto;font-size:16px}.shortcut-help-button+.notification{margin-left:7px}.global-search-trigger{color:#8a96a7;text-align:left;cursor:pointer;background:#fff;border:1px solid #dbe3ee;border-radius:10px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;width:min(310px,32vw);margin-left:auto;padding:8px 10px;display:grid}.global-search-trigger span{color:var(--blue);font-size:16px}.global-search-trigger em{font-size:9px;font-style:normal}.global-search-trigger kbd,.global-search-modal kbd{color:#657286;background:#f8fafc;border:1px solid #d6dee9;border-bottom-width:2px;border-radius:5px;padding:4px 6px;font:700 7px/1 system-ui}.global-search-trigger+.shortcut-help-button{margin-left:7px}.global-search-backdrop{z-index:240;align-items:flex-start;padding-top:min(12vh,90px)}.global-search-modal{background:#fff;border-radius:16px;flex-direction:column;width:min(720px,100vw - 28px);max-height:min(76vh,650px);display:flex;overflow:hidden;box-shadow:0 28px 80px #13223d55}.global-search-input{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:15px 17px;display:grid}.global-search-input>span{color:var(--blue);font-size:22px}.global-search-input input{min-width:0;color:var(--navy);border:0;outline:0;font-size:14px}.global-search-body{min-height:190px;padding:10px;overflow:auto}.search-hint{text-align:center;align-content:center;place-items:center;gap:7px;min-height:170px;padding:24px;display:grid}.search-hint strong{color:var(--navy);font-size:12px}.search-hint p{max-width:440px;color:var(--muted);margin:0;font-size:9px;line-height:1.6}.global-results{gap:5px;display:grid}.global-results button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:35px 1fr auto;align-items:center;gap:10px;padding:9px;display:grid}.global-results button:hover{background:#f3f7fd}.global-results i{width:35px;height:35px;color:var(--blue);background:#e8f1ff;border-radius:9px;place-items:center;font-size:11px;font-style:normal;font-weight:800;display:grid}.global-results span{gap:2px;min-width:0;display:grid}.global-results small{color:var(--blue);text-transform:uppercase;font-size:7px;font-weight:800}.global-results strong{color:var(--navy);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.global-results em{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-style:normal;overflow:hidden}.global-results b{color:#9aa7b8;font-size:18px}.global-search-modal>footer{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px 15px;font-size:8px;display:flex}.treasury-create{gap:8px;display:flex}.treasury-create .secondary-action{color:var(--blue);background:#fff;border:1px solid #b9cceb}.treasury-summary{grid-template-columns:repeat(3,1fr);gap:11px;margin:15px 0;display:grid}.treasury-summary article{border:1px solid var(--line);background:#fff;border-radius:13px;gap:4px;padding:14px;display:grid}.treasury-summary small{color:var(--muted);font-size:9px}.treasury-summary strong{color:var(--navy);font-size:18px}.treasury-summary span{color:#8692a3;font-size:8px}.treasury-kind{border-radius:999px;padding:5px 8px;font-size:8px;font-weight:800;display:inline-flex}.treasury-kind.collection{color:#177451;background:#e5f7ef}.treasury-kind.payment{color:#b83232;background:#feecec}.account-selector{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin:15px 0;display:grid}.account-selector>button{border:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;border-radius:11px;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;min-height:58px;padding:10px;display:grid}.account-selector>button:first-child{grid-template-columns:1fr}.account-selector>button.active{background:#f4f8ff;border-color:#9dbbe8;box-shadow:0 3px 12px #173d7715}.account-selector>button>span{border-radius:8px;place-items:center;width:31px;height:31px;font-size:9px;font-weight:900;display:grid}.account-selector>button>span.customer{color:var(--blue);background:#e8f1ff}.account-selector>button>span.supplier{color:#6a45a2;background:#f3ebff}.account-selector>button>div{gap:2px;min-width:0;display:grid}.account-selector strong{color:var(--navy);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.account-selector small{color:var(--muted);font-size:7px}.account-selector b{color:var(--blue);white-space:nowrap;font-size:9px}.allocation-layout{grid-template-columns:minmax(300px,.8fr) 1.2fr;gap:14px;margin-top:15px;display:grid}.allocation-form,.allocation-history{border:1px solid var(--line);background:#fff;border-radius:13px;align-content:start;gap:11px;padding:15px;display:grid}.allocation-form>strong,.allocation-history>strong{color:var(--navy);font-size:12px}.allocation-form label{color:#4b596b;gap:5px;font-size:9px;font-weight:700;display:grid}.allocation-form select,.allocation-form input{font:inherit;border:1px solid #dbe1e9;border-radius:9px;padding:10px}.allocation-form>button{background:var(--blue);color:#fff;border:0;border-radius:9px;padding:10px;font-size:9px;font-weight:800}.allocation-form>button:disabled{opacity:.55}.allocation-amounts{grid-template-columns:1fr 1fr;gap:8px;display:grid}.allocation-amounts span{background:#f4f7fb;border-radius:9px;gap:3px;padding:9px;display:grid}.allocation-amounts small{color:var(--muted);font-size:7px}.allocation-amounts strong{color:var(--navy);font-size:10px}.allocation-history>p{color:var(--muted);font-size:9px}.allocation-history article{border-top:1px solid var(--line);gap:4px;padding-top:9px;display:grid}.allocation-history article>div{align-items:center;gap:7px;display:flex}.allocation-history code{color:var(--blue);font-size:8px}.allocation-history article>strong{color:var(--navy);font-size:10px}.allocation-history article>small{color:var(--muted);font-size:8px}.internal-notes{background:#fffdf6;border:1px solid #eadcae;border-radius:13px;gap:12px;margin-top:14px;padding:15px;display:grid}.internal-notes>header,.empty-internal-notes{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.internal-notes header>div,.empty-internal-notes>div{gap:3px;display:grid}.internal-notes strong{color:var(--navy);font-size:11px}.internal-notes header p,.empty-internal-notes p{color:#7a6c47;max-width:620px;margin:0;font-size:8px;line-height:1.5}.internal-notes header>span,.empty-internal-notes>span{color:#7b6020;white-space:nowrap;background:#fff4cc;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:800}.internal-notes form{grid-template-columns:1fr auto;align-items:end;gap:8px;display:grid}.internal-notes textarea{font:inherit;resize:vertical;background:#fff;border:1px solid #dfd2a9;border-radius:9px;padding:10px}.internal-notes form button{background:var(--navy);color:#fff;border:0;border-radius:9px;padding:10px 13px;font-size:9px;font-weight:800}.internal-notes form button:disabled{opacity:.5}.internal-note-list{gap:7px;display:grid}.internal-note-list>p{color:var(--muted);margin:0;font-size:9px}.internal-note-list article{background:#fff;border-left:3px solid #e2c76e;border-radius:7px;gap:5px;padding:9px 11px;display:grid}.internal-note-list article p{color:#3e4858;white-space:pre-wrap;margin:0;font-size:9px}.internal-note-list article small{color:#8c8063;font-size:7px}.statement-error{color:#b83232;font-size:8px}.module-toolbar button:disabled{opacity:.5;cursor:not-allowed}.account-statement-document .document-title h1{font-size:21px}.statement-period{grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;display:grid}.statement-period>div{border:1px solid #dbe4f0;border-radius:9px;gap:3px;padding:11px;display:grid}.statement-period small{color:var(--blue);text-transform:uppercase;font-size:8px;font-weight:800}.statement-period strong{color:var(--navy);font-size:11px}.statement-period span{color:#647086;font-size:8px}.statement-totals{gap:7px;width:min(340px,100%);margin:20px 0 20px auto;display:grid}.statement-totals span{justify-content:space-between;gap:15px;display:flex}.statement-totals .statement-balance{border-top:2px solid var(--blue);color:var(--blue);padding-top:8px;font-size:12px}.statement-public-note{text-align:center;color:#647086;border-top:1px solid #dbe4f0;gap:5px;margin-top:35px;padding-top:12px;display:grid}.statement-public-note strong{color:var(--navy)}.statement-public-note span{font-size:8px}.director-only{background:#f7f8ff;border:1px solid #d9def5;border-radius:14px;align-items:center;gap:14px;margin-top:18px;padding:20px;display:flex}.director-only>span{color:#4f46a5;background:#e7eaff;border-radius:11px;place-items:center;width:44px;height:44px;font-size:20px;display:grid}.director-only h2{color:var(--navy);margin:0;font-size:14px}.director-only p{color:var(--muted);margin:4px 0 0;font-size:9px}.financial-audit-detail{grid-template-columns:1fr 1fr;gap:12px;padding:0 18px 18px;display:grid}.financial-audit-detail>span,.financial-audit-detail>div{gap:4px;display:grid}.financial-audit-detail small{color:var(--muted);font-size:8px}.financial-audit-detail strong{color:var(--navy);font-size:10px}.financial-audit-detail>div{grid-column:1/-1}.financial-audit-detail pre{color:#d7e2ef;white-space:pre-wrap;background:#111827;border-radius:9px;max-height:250px;margin:0;padding:12px;font-size:8px;overflow:auto}.quick-actions-panel{border:1px solid var(--line);background:#fff;border-radius:15px;margin:16px 0;padding:16px}.quick-actions-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.quick-actions-heading h3{color:var(--navy);margin:0;font-size:14px}.quick-actions-heading p{color:var(--muted);margin:3px 0 0;font-size:9px}.quick-actions-heading>span{color:var(--blue);text-transform:uppercase;letter-spacing:.5px;background:#e9f1ff;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:800}.quick-actions-grid{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.quick-actions-grid button{color:var(--navy);text-align:left;cursor:pointer;background:#fbfcfe;border:1px solid #e1e7ef;border-radius:11px;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:11px;transition:all .18s;display:grid}.quick-actions-grid button:hover{background:#f4f8ff;border-color:#aec7ec;transform:translateY(-1px);box-shadow:0 5px 16px #173d7720}.quick-actions-grid i{width:36px;height:36px;color:var(--blue);background:#e8f1ff;border-radius:9px;place-items:center;font-size:16px;font-style:normal;display:grid}.quick-actions-grid button>span{gap:2px;display:grid}.quick-actions-grid strong{font-size:10px}.quick-actions-grid small{color:var(--muted);font-size:8px}.quick-actions-grid kbd,.shortcut-modal kbd{color:#556276;white-space:nowrap;background:#fff;border:1px solid #d6dee9;border-bottom-width:2px;border-radius:5px;padding:4px 6px;font:700 7px/1.1 system-ui}.shortcut-backdrop{z-index:200}.shortcut-modal{background:#fff;border-radius:15px;width:min(680px,100vw - 28px);max-height:calc(100vh - 36px);overflow:auto;box-shadow:0 22px 65px #14233d44}.shortcut-list{grid-template-columns:1fr 1fr;gap:7px;padding:0 18px 16px;display:grid}.shortcut-list>button{text-align:left;cursor:pointer;background:#fbfcfe;border:1px solid #e1e7ef;border-radius:10px;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:9px;display:grid}.shortcut-list>button:hover{background:#f4f8ff;border-color:#aec7ec}.shortcut-list i{width:34px;height:34px;color:var(--blue);background:#e9f1ff;border-radius:8px;place-items:center;font-style:normal;display:grid}.shortcut-list span{gap:2px;display:grid}.shortcut-list strong{color:var(--navy);font-size:9px}.shortcut-list small{color:var(--muted);font-size:8px}.shortcut-modal footer{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 18px;font-size:8px;display:flex}.table-wrap table,.supplier-modal label{text-align:left}.supplier-modal label small{color:var(--muted);margin-left:auto;font-size:9px;font-weight:500}.supplier-modal .generated-code{color:var(--blue);letter-spacing:.4px;cursor:not-allowed;background:#f4f7fb;font-family:Consolas,monospace;font-weight:700}.supplier-modal{width:min(620px,100%);max-height:calc(100vh - 40px);overflow-y:auto}.supplier-modal textarea{resize:vertical;font:inherit;border:1px solid #dbe1e9;border-radius:10px;outline:none;padding:12px 13px}.supplier-modal textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #235fc715}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.section-tabs{background:#e9eef5;border-radius:11px;gap:5px;width:fit-content;margin-top:20px;padding:4px;display:flex}.section-tabs button{color:#687587;background:0 0;border:0;border-radius:8px;padding:8px 14px;font-size:11px;font-weight:700}.section-tabs button.active{color:var(--blue);background:#fff;box-shadow:0 2px 8px #1c355415}.order-modal{width:min(700px,100%)}.prerequisite-note{color:#70561f;background:#fff8e8;border:1px solid #f0d99f;border-radius:10px;padding:11px 13px}.prerequisite-note strong{font-size:11px}.prerequisite-note p{margin:3px 0 0;font-size:10px}.order-line{border:1px solid var(--line);background:#fafbfd;border-radius:12px;gap:12px;padding:13px;display:grid}.order-total{background:#f4f7fb;border-radius:10px;gap:7px;width:min(290px,100%);margin-left:auto;padding:12px;display:grid}.order-total span,.order-total strong{justify-content:space-between;font-size:11px;display:flex}.order-total strong{color:var(--blue);font-size:13px}.order-line input:disabled{color:#7b8797;cursor:not-allowed;background:#edf1f5}.document-scan{background:#f6f9ff;border:1px solid #cfe0fa;border-radius:13px;padding:14px}.document-scan>div:first-child strong{color:var(--blue);font-size:12px}.document-scan>div:first-child p{color:var(--muted);margin:3px 0 11px;font-size:10px}.document-picker{cursor:pointer;background:#fff;border:1px dashed #9bb9e8;border-radius:10px;align-items:center;padding:14px;text-align:center!important;display:flex!important}.document-picker>span{color:var(--blue);font-size:24px}.document-picker b{color:var(--navy);font-size:11px}.document-picker small{margin:0!important;font-size:9px!important}.document-picker input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.document-ready{background:#fff;border:1px solid #dbe6f6;border-radius:10px;align-items:center;gap:11px;padding:9px;display:flex}.document-ready img,.pdf-icon{object-fit:cover;background:#e9f1ff;border-radius:8px;width:52px;height:52px}.pdf-icon{color:var(--blue);place-items:center;font-size:11px;font-weight:800;display:grid}.document-ready>div{flex:1;min-width:0;display:grid}.document-ready>div strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.document-ready>div small{color:var(--muted);font-size:9px}.document-ready>div em{color:var(--green);font-size:9px;font-style:normal}.document-ready>button{color:#697586;background:#f2f5f8;border:0;border-radius:8px;width:29px;height:29px}.analyze-button{background:var(--blue);color:#fff;border:0;border-radius:9px;width:100%;margin-top:9px;padding:10px;font-size:11px;font-weight:700}.analyze-button:disabled{opacity:.65;cursor:wait}.scan-message{line-height:1.6;color:#53647a!important;margin:8px 0 0!important;font-size:9px!important}.product-modal{width:min(720px,100%)}.category-modal{width:min(500px,100%)}.table-action{color:var(--blue);background:#e9f1ff;border:0;border-radius:8px;padding:7px 10px;font-size:9px;font-weight:800}.status-switch{border:1px solid var(--line);background:#fafbfd;border-radius:10px;align-items:center;padding:11px;flex-direction:row!important;gap:10px!important;display:flex!important}.status-switch input{flex:none;height:17px;width:17px!important}.status-switch>span{gap:2px;display:grid}.status-switch strong{font-size:11px}.status-switch small{margin:0!important;font-size:9px!important}.warehouse-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;padding:16px;display:grid}.warehouse-grid article{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:12px;padding:14px;display:flex}.warehouse-grid article>span{width:40px;height:40px;color:var(--blue);background:#e9f1ff;border-radius:10px;place-items:center;font-size:18px;display:grid}.warehouse-grid article>div{flex:1;gap:3px;display:grid}.warehouse-grid code{color:var(--blue);font-size:9px}.warehouse-grid h3{margin:0;font-size:12px}.warehouse-grid small{color:var(--muted);font-size:9px}.warehouse-grid em{color:#8a94a3;background:#f0f2f5;border-radius:20px;padding:5px 8px;font-size:9px;font-style:normal}.warehouse-grid em.active{color:#177451;background:#e4f7ef}.warehouse-actions{justify-items:end;gap:7px;display:grid}.warehouse-actions button{color:var(--blue);background:0 0;border:0;font-size:9px;font-weight:800}.stock-summary{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px;display:grid}.stock-summary article{border:1px solid var(--line);background:#fff;border-radius:12px;gap:5px;padding:14px;display:grid}.stock-summary small{color:var(--muted);font-size:9px}.stock-summary strong{color:var(--navy);font-size:18px}.stock-filters{gap:12px}.stock-filters label{flex:1}.stock-filters select{border:1px solid var(--line);color:var(--navy);background:#fff;border-radius:9px;padding:9px 11px;font-size:10px}.stock-status{color:#657286;background:#eef1f5;border-radius:20px;padding:5px 8px;font-size:9px;font-weight:700;display:inline-block}.stock-status.low,.stock-status.critical{color:#b83232;background:#feecec}.stock-status.ok,.stock-status.normal{color:#177451;background:#e4f7ef}.history-filters{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr 1.5fr;gap:12px;padding:14px 16px;display:grid}.history-filters label{color:var(--muted);gap:5px;font-size:9px;font-weight:700;display:grid}.history-filters select,.history-filters input{border:1px solid var(--line);color:var(--navy);font:inherit;background:#fff;border-radius:9px;padding:9px 11px}.quantity-in{color:#177451!important}.quantity-out{color:#b83232!important}.transfer-lines{border:1px solid var(--line);background:#fafbfd;border-radius:12px;gap:10px;padding:12px;display:grid}.transfer-line{grid-template-columns:2fr 1fr 30px;align-items:end;gap:8px;display:grid}.transfer-line>button{color:#b83232;background:#feecec;border:0;border-radius:8px;height:38px;font-size:18px}.sales-order-modal{width:min(1000px,100%)}.sales-lines{border:1px solid var(--line);background:#fafbfd;border-radius:12px;gap:10px;padding:12px;display:grid}.sales-line{grid-template-columns:minmax(180px,2fr) repeat(4,minmax(90px,1fr)) 30px;align-items:end;gap:7px;display:grid}.sales-line>button{color:#b83232;background:#feecec;border:0;border-radius:8px;height:38px;font-size:18px}.sales-line label small{color:var(--blue)!important;margin:3px 0 0!important}.delivery-lines{border:1px solid var(--line);background:#fafbfd;border-radius:12px;gap:9px;padding:12px;display:grid}.delivery-lines>strong{color:var(--navy);font-size:12px}.delivery-line{border-top:1px solid var(--line);grid-template-columns:2fr 1fr;align-items:end;gap:12px;padding-top:9px;display:grid}.delivery-line>div{gap:2px;display:grid}.delivery-line code{color:var(--blue);font-size:9px}.delivery-line strong{font-size:11px}.delivery-line small{color:var(--muted);font-size:9px}.transport-box{background:#f6f9ff;border:1px solid #cfe0fa;border-radius:12px;gap:10px;padding:12px;display:grid}.transport-box>strong{color:var(--blue);font-size:11px}.driver-document-box{background:#faf8ff;border:1px solid #e0d7f6;border-radius:12px;gap:10px;padding:12px;display:grid}.driver-document-box>strong{color:#61469a;font-size:11px}.driver-document-box>strong small{color:var(--muted);font-size:9px;font-weight:500}.driver-document-box input:disabled{cursor:not-allowed;background:#edf1f5}.audit-note{background:#f6f9ff;border:1px solid #d7e5fa;border-radius:12px;align-items:center;gap:11px;margin-top:16px;padding:12px 14px;display:flex}.audit-note>span{width:34px;height:34px;color:var(--blue);background:#e5efff;border-radius:9px;place-items:center;display:grid}.audit-note strong{color:var(--navy);font-size:11px}.audit-note p{color:var(--muted);margin:2px 0 0;font-size:9px}.audit-action{color:#657286;background:#eef1f5;border-radius:20px;padding:5px 8px;font-size:9px;font-weight:700;display:inline-block}.audit-action.create{color:#177451;background:#e4f7ef}.audit-action.update{color:var(--blue);background:#e9f1ff}.audit-action.cancel,.audit-action.reject,.audit-action.delete_attempt{color:#b83232;background:#feecec}.audit-action.approve,.audit-action.validate{color:#61469a;background:#f1ebff}.audit-modal{width:min(760px,100%)}.audit-detail{grid-template-columns:1fr 1fr;gap:12px;padding:0 18px 18px;display:grid}.audit-detail>span,.audit-detail>div{gap:4px;display:grid}.audit-detail small{color:var(--muted);font-size:9px}.audit-detail strong{color:var(--navy);font-size:11px}.audit-detail>div{grid-column:1/-1}.audit-detail pre{color:#d7e2ef;white-space:pre-wrap;background:#111827;border-radius:9px;max-height:220px;margin:0;padding:12px;font-size:9px;overflow:auto}.settings-page>form{gap:14px;margin-top:16px;display:grid}.settings-card{border:1px solid var(--line);background:#fff;border-radius:14px;gap:12px;padding:17px;display:grid}.settings-card label{color:#4b596b;gap:5px;font-size:10px;font-weight:700;display:grid}.settings-card input,.settings-card select,.settings-card textarea{font:inherit;border:1px solid #dbe1e9;border-radius:9px;outline:none;padding:10px 11px}.settings-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings-heading>div{gap:3px;display:grid}.settings-heading strong{color:var(--navy);font-size:13px}.settings-heading small{color:var(--muted);font-size:9px}.logo-picker{cursor:pointer;background:#f6f9ff;border:1px dashed #a9bddb;border-radius:10px;place-items:center;width:82px;height:68px;overflow:hidden;color:var(--blue)!important;display:grid!important}.logo-picker input{opacity:0;width:1px;height:1px;position:absolute}.logo-picker img{object-fit:contain;width:100%;height:100%}.logo-picker span{font-size:10px}.settings-actions{justify-content:flex-end;display:flex}.settings-actions button{background:var(--blue);color:#fff;border:0;border-radius:10px;padding:11px 18px;font-size:10px;font-weight:800}.success-message{color:#177451;background:#e8f8f1;border:1px solid #a8ddc7;border-radius:10px;margin:0;padding:11px;font-size:10px}.custom-unit{background:#f6f9ff;border:1px solid #cfe0fa;border-radius:11px;gap:9px;padding:12px;display:grid}.custom-unit>strong{color:var(--blue);font-size:11px}.barcode-field{gap:7px;display:flex}.barcode-field input{flex:1;min-width:0}.barcode-field button{color:var(--blue);background:#e9f1ff;border:0;border-radius:9px;padding:0 12px;font-size:10px;font-weight:800}.barcode-preview{border:1px solid var(--line);background:#fff;border-radius:11px;justify-items:center;gap:3px;padding:10px;display:grid}.barcode-preview i{background:repeating-linear-gradient(90deg,#111 0 2px,#0000 2px 4px,#111 4px 5px,#0000 5px 8px,#111 8px 11px,#0000 11px 13px);width:210px;max-width:100%;height:42px}.barcode-preview strong{letter-spacing:3px;font-family:Consolas,monospace;font-size:12px}.barcode-preview small{color:var(--muted);font-size:9px}.sales-prices{border:1px solid var(--line);background:#fafbfd;border-radius:12px;gap:10px;padding:12px;display:grid}.sales-prices-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.sales-prices-title>div{gap:2px;display:grid}.sales-prices-title strong{color:var(--navy);font-size:12px}.sales-prices-title small{color:var(--muted);font-size:9px}.sales-prices-title button{color:var(--blue);background:#e9f1ff;border:0;border-radius:8px;padding:7px 10px;font-size:9px;font-weight:800}.price-line{grid-template-columns:1fr 1fr 30px;align-items:end;gap:8px;display:grid}.price-line>button{color:#b83232;background:#feecec;border:0;border-radius:8px;height:38px;font-size:18px}.director-badge{color:#4f46a5;background:#eef2ff;border-radius:999px;padding:6px 9px;font-size:9px;font-weight:800}.signature-layout{grid-template-columns:minmax(220px,.8fr) 1.2fr;align-items:stretch;gap:16px;display:grid}.signature-picker{cursor:pointer;background:#fbfcff;border:1px dashed #a9bddb;border-radius:12px;place-items:center;min-height:112px;overflow:hidden;color:var(--blue)!important;display:grid!important}.signature-picker input{opacity:0;width:1px;height:1px;position:absolute}.signature-picker img{object-fit:contain;width:100%;height:108px}.signature-picker span{font-size:10px}.signature-fields{gap:12px;display:grid}.signature-toggle{background:#f8faff;border:1px solid #dbe4f3;border-radius:11px;align-items:center;gap:10px;padding:11px;display:flex!important}.signature-toggle input{width:17px;height:17px;accent-color:var(--blue)}.signature-toggle span{gap:2px;display:grid}.signature-toggle strong{color:var(--navy);font-size:10px}.signature-toggle small{color:var(--muted);font-size:9px}.signature-security{color:#25634d;background:#f1f7f4;border-radius:9px;padding:10px;font-size:9px}.settings-actions button:disabled{opacity:.6;cursor:wait}.sign-action{color:#fff;white-space:nowrap;background:#192f59;border:0;border-radius:8px;padding:7px 10px;font-size:9px;font-weight:800}.sign-action:disabled{opacity:.55;cursor:wait}.signed-badge{color:#177451;white-space:nowrap;background:#e8f8f1;border-radius:999px;align-items:center;padding:6px 9px;font-size:9px;font-weight:800;display:inline-flex}.invoice-template-note{background:#f6f9ff;border:1px solid #cfe0fa;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:14px 0;padding:13px;display:grid}.invoice-template-note>span{width:34px;height:34px;color:var(--blue);background:#dce9ff;border-radius:9px;place-items:center;display:grid}.invoice-template-note strong{color:var(--navy);font-size:11px}.invoice-template-note p{color:var(--muted);margin:3px 0 0;font-size:9px}.invoice-template-note code{color:var(--blue);font-size:9px;font-weight:800}.conversion-actions{flex-wrap:wrap;gap:6px;min-width:150px;display:flex}.conversion-actions .table-action{white-space:nowrap}.invoice-convert{color:#177451!important;background:#eefaf5!important;border-color:#a8ddc7!important}.invoice-linked{color:#177451;white-space:nowrap;background:#eefaf5;border-radius:999px;align-items:center;padding:6px 9px;font-size:9px;font-weight:800;display:inline-flex}.invoice-mode{background:#edf2f8;border-radius:10px;grid-template-columns:1fr 1fr;gap:7px;padding:4px;display:grid}.invoice-mode button{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:9px;font-size:9px;font-weight:800}.invoice-mode button.active{color:var(--blue);background:#fff;box-shadow:0 1px 4px #a9b7ca44}.direct-invoice-lines{background:#fafcff;border:1px solid #dbe4f3;border-radius:11px;gap:9px;padding:12px;display:grid}.direct-invoice-lines>strong{color:var(--navy);font-size:11px}.direct-invoice-line{grid-template-columns:2fr .65fr .8fr .75fr .65fr auto;align-items:end;gap:7px;display:grid}.direct-invoice-line>button{color:#a13e4b;background:#f5e9eb;border:0;border-radius:8px;width:30px;height:34px}.direct-lines-footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.direct-lines-footer button{color:var(--blue);background:#fff;border:1px solid #b9cceb;border-radius:8px;padding:7px 10px;font-size:9px;font-weight:800}.direct-lines-footer strong{color:var(--navy);font-size:10px}.footer-preview{background:#fbfcff;border:1px dashed #b7c9e5;border-radius:11px;gap:6px;padding:10px;display:grid}.footer-preview>small{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:800}.document-footer{border-top:2px solid var(--blue);text-align:center;background:#f7faff;gap:8px;padding:14px;display:grid}.document-footer>strong{color:var(--navy);font-size:10px}.document-footer>div{flex-wrap:wrap;justify-content:center;gap:6px 14px;display:flex}.document-footer span{color:var(--blue);overflow-wrap:anywhere;font-size:8px}.footer-rules{gap:10px;padding-top:3px;display:grid}.footer-rules>div:first-child{gap:2px;display:grid}.footer-rules>div:first-child strong{color:var(--navy);font-size:11px}.footer-rules>div:first-child small{color:var(--muted);font-size:9px}.footer-rule-groups{grid-template-columns:1fr 1fr;gap:10px;display:grid}.footer-rule-groups fieldset{border:1px solid #dbe4f3;border-radius:11px;align-content:start;gap:7px;margin:0;padding:10px;display:grid}.footer-rule-groups legend{color:var(--blue);padding:0 5px;font-size:9px;font-weight:800}.footer-rule-groups label{color:#40506a;grid-template-columns:none;align-items:center;gap:7px;font-size:9px;display:flex!important}.footer-rule-groups input{width:15px;height:15px;accent-color:var(--blue);padding:0}.document-preview-backdrop{padding:18px;overflow:auto}.document-preview-modal{background:#e9eef5;border-radius:14px;width:min(920px,96vw);max-height:none;margin:auto;padding:12px}.preview-toolbar{justify-content:space-between;align-items:center;gap:10px;padding:2px 3px 11px;display:flex}.preview-toolbar>strong{color:var(--navy);font-size:11px}.preview-toolbar button{background:var(--blue);color:#fff;border:0;border-radius:8px;padding:8px 11px;font-size:9px;font-weight:800}.preview-toolbar button.secondary{color:var(--navy);background:#fff}.print-document{color:#243047;background:#fff;width:210mm;max-width:100%;min-height:297mm;margin:auto;padding:16mm;font-size:10px;box-shadow:0 8px 30px #26375022}.document-header{border-bottom:2px solid var(--blue);justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:16px;display:flex}.document-company{gap:12px;display:flex}.document-company img{object-fit:contain;width:72px;height:58px}.document-company h2{color:var(--navy);margin:0 0 5px;font-size:17px}.document-company p{color:#647086;margin:2px 0}.document-title{justify-items:end;gap:3px;display:grid}.document-title h1{color:var(--blue);margin:0;font-size:25px}.document-title strong{font-size:12px}.document-title span{color:#647086}.document-parties{grid-template-columns:1fr 1fr;gap:14px;margin:18px 0;display:grid}.document-parties>div{border:1px solid #dbe4f0;border-radius:9px;gap:4px;padding:12px;display:grid}.document-parties small{color:var(--blue);text-transform:uppercase;font-weight:800}.document-parties strong{font-size:12px}.document-parties span{color:#647086}.document-table table{border-collapse:collapse;width:100%}.document-table th{background:var(--navy);color:#fff;text-align:left;padding:9px 7px;font-size:8px}.document-table td{border-bottom:1px solid #e2e8f0;padding:9px 7px}.document-summary{grid-template-columns:1fr 280px;gap:20px;margin:18px 0;display:grid}.document-bank{color:#647086;align-content:start;gap:4px;display:grid}.document-bank strong{color:var(--navy)}.document-totals{gap:7px;display:grid}.document-totals>span{justify-content:space-between;gap:20px;display:flex}.document-totals .grand-total{border-top:2px solid var(--blue);color:var(--blue);padding-top:8px;font-size:12px}.document-signature{justify-items:end;gap:3px;margin:18px 0;display:grid}.document-signature img{object-fit:contain;width:130px;height:58px}.document-signature small,.document-signature span{color:#647086;font-size:8px}.delivery-transport-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0;display:grid}.delivery-transport-summary>div{border:1px solid #dbe4f0;border-radius:9px;gap:3px;padding:10px;display:grid}.delivery-transport-summary small{color:var(--blue);text-transform:uppercase;font-size:8px;font-weight:800}.delivery-transport-summary span{color:#647086;font-size:8px}.document-notes{background:#f7f9fc;border-radius:8px;margin:14px 0;padding:10px}.document-notes p{color:#647086;margin:4px 0 0}.delivery-receipt{grid-template-columns:1fr 1fr;gap:40px;margin:30px 0 18px;display:grid}.delivery-receipt>div{border-bottom:1px solid #8794a8;justify-items:center;gap:38px;padding-bottom:5px;display:grid}.delivery-receipt span{color:#647086;font-size:8px}.analytics-summary{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px;display:grid}.analytics-summary article{border:1px solid var(--line);background:#fff;border-radius:13px;gap:5px;padding:15px;display:grid}.analytics-summary small{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.analytics-summary strong{color:var(--navy);font-size:18px}.analytics-summary span{color:var(--muted);font-size:9px}.analytics-layout{grid-template-columns:minmax(0,1.6fr) minmax(290px,.8fr);align-items:start;gap:14px;display:grid}.customer-analytics tbody tr{cursor:pointer}.customer-analytics tbody tr:hover,.customer-analytics tbody tr.selected-row{background:#f2f7ff}.payment-score{white-space:nowrap;border-radius:999px;padding:6px 8px;font-size:8px;font-weight:800;display:inline-flex}.payment-score.excellent{color:#126c49;background:#daf5e9}.payment-score.good{color:#275ea8;background:#e6f1ff}.payment-score.watch{color:#976500;background:#fff4d8}.payment-score.risk{color:#a52f2f;background:#fee7e7}.customer-product-ranking{border:1px solid var(--line);background:#fff;border-radius:14px;padding:15px}.customer-product-ranking header{justify-content:space-between;align-items:center;gap:10px;display:flex}.customer-product-ranking header small{color:var(--muted);text-transform:uppercase;font-size:8px}.customer-product-ranking h3{color:var(--navy);margin:3px 0 0;font-size:14px}.customer-product-ranking>p{color:var(--muted);margin:9px 0 13px;font-size:9px}.customer-product-ranking ol{gap:6px;margin:0;padding:0;list-style:none;display:grid}.customer-product-ranking li{border-top:1px solid #edf0f4;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 0;display:grid}.customer-product-ranking li>b{width:23px;height:23px;color:var(--blue);background:#edf3ff;border-radius:7px;place-items:center;font-size:9px;display:grid}.customer-product-ranking li>div{gap:3px;min-width:0;display:grid}.customer-product-ranking li strong{color:var(--navy);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.customer-product-ranking li small{color:var(--muted);font-size:8px}.customer-product-ranking li span{background:#edf1f6;border-radius:9px;height:4px;overflow:hidden}.customer-product-ranking li i{border-radius:inherit;background:var(--blue);height:100%;display:block}.customer-product-ranking li em{color:var(--navy);white-space:nowrap;font-size:9px;font-style:normal;font-weight:800}.director-alerts,.director-alerts .notification{position:relative}.director-alerts .notification b{color:#fff;background:#c73535;border-radius:20px;min-width:17px;height:17px;padding:0 4px;font-size:8px;line-height:17px;position:absolute;top:-6px;right:-5px}.alerts-popover{z-index:80;background:#fff;border:1px solid #d9e0ea;border-radius:14px;width:min(440px,88vw);position:absolute;top:calc(100% + 10px);right:0;overflow:hidden;box-shadow:0 18px 55px #1b2c4933}.alerts-popover>header{border-bottom:1px solid #e7ebf0;justify-content:space-between;align-items:center;height:auto;padding:13px 14px;display:flex}.alerts-popover>header div{gap:2px;display:grid}.alerts-popover>header strong{color:var(--navy);font-size:11px}.alerts-popover>header small{color:var(--muted);font-size:8px}.alerts-popover>header button{color:var(--muted);background:0 0;border:0;font-size:18px}.alerts-list{max-height:390px;overflow:auto}.alerts-list>button{text-align:left;background:#fff8f8;border:0;border-bottom:1px solid #edf0f4;grid-template-columns:28px 1fr;gap:9px;width:100%;padding:12px 14px;display:grid}.alerts-list>button.read{opacity:.75;background:#fff}.alerts-list>button>span{color:#b92e2e;background:#fee5e5;border-radius:8px;place-items:center;width:27px;height:27px;font-weight:900;display:grid}.alerts-list>button div{gap:4px;display:grid}.alerts-list strong{color:#8f2424;font-size:10px}.alerts-list p{color:#4b596b;margin:0;font-size:8px;line-height:1.55}.alerts-list small{color:var(--muted);font-size:7px}.alerts-empty{color:var(--muted);text-align:center;padding:24px;font-size:9px}.failure-action{color:#ad3030;white-space:nowrap;background:#fff3f3;border:1px solid #efb5b5;border-radius:8px;padding:6px 8px;font-size:8px;font-weight:800}.type-pill.payment-failed{color:#a72d2d;background:#fee5e5}.import-summary{grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:14px;display:grid}.import-summary article{border:1px solid var(--line);background:#fff;border-radius:12px;gap:4px;padding:13px;display:grid}.import-summary small{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:800}.import-summary strong{color:var(--navy);font-size:20px}.cost-shipment-selector{color:#4b596b;gap:6px;max-width:480px;margin-bottom:14px;font-size:10px;font-weight:800;display:grid}.cost-shipment-selector select{background:#fff;border:1px solid #dbe1e9;border-radius:9px;padding:10px}.cost-summary{grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:12px;display:grid}.cost-summary article{border:1px solid var(--line);background:#fff;border-radius:12px;gap:4px;padding:13px;display:grid}.cost-summary small{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:800}.cost-summary strong{color:var(--navy);font-size:15px}.weight-rule-note{background:#f6f9ff;border:1px solid #cddcf3;border-radius:12px;align-items:center;gap:11px;margin-bottom:13px;padding:12px;display:flex}.weight-rule-note>span{width:34px;height:34px;color:var(--blue);background:#e4edff;border-radius:9px;place-items:center;display:grid}.weight-rule-note strong{color:var(--navy);font-size:10px}.weight-rule-note p{color:var(--muted);margin:3px 0 0;font-size:8px}.manual-cost-input{width:105px;color:var(--navy);border:1px solid #b9cbea;border-radius:7px;padding:7px;font-size:9px;font-weight:800}.manual-cost-badge{color:#69469b;white-space:nowrap;background:#f1eaff;border-radius:999px;padding:6px 8px;font-size:8px;font-weight:800;display:inline-flex}.restore-auto{color:var(--blue);background:0 0;border:0;margin-top:5px;font-size:8px;font-weight:800;display:block}.allocation-method-picker{background:#fbfcff;border:1px solid #d7e1f0;border-radius:13px;gap:10px;margin-bottom:14px;padding:13px;display:grid}.allocation-method-picker>div:first-child{gap:2px;display:grid}.allocation-method-picker>div:first-child strong{color:var(--navy);font-size:11px}.allocation-method-picker>div:first-child small,.allocation-method-picker>p{color:var(--muted);font-size:8px}.allocation-method-picker>div:nth-child(2){grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.allocation-method-picker button{text-align:left;background:#fff;border:1px solid #dce3ed;border-radius:10px;grid-template-columns:28px 1fr;align-items:center;gap:7px;padding:10px;display:grid;position:relative}.allocation-method-picker button.active{border-color:var(--blue);background:#edf4ff;box-shadow:0 0 0 2px #3377d622}.allocation-method-picker button:disabled{cursor:default}.allocation-method-picker button i{width:27px;height:27px;color:var(--blue);background:#eef2f8;border-radius:7px;place-items:center;font-style:normal;display:grid}.allocation-method-picker button span{gap:2px;display:grid}.allocation-method-picker button strong{color:var(--navy);font-size:9px}.allocation-method-picker button small{color:var(--muted);font-size:7px}.allocation-method-picker button em{color:#19704e;background:#e6f5ed;border-radius:20px;padding:3px 5px;font-size:6px;font-style:normal;font-weight:800;position:absolute;top:4px;right:5px}.import-cost-list{border:1px solid var(--line);background:#fff;border-radius:12px;margin-bottom:13px;overflow:hidden}.import-cost-list>header{border-bottom:1px solid #e8ecf1;justify-content:space-between;padding:11px 13px;display:flex}.import-cost-list>header strong{color:var(--navy);font-size:10px}.import-cost-list>header span{color:var(--muted);font-size:8px}.import-cost-list>p{color:var(--muted);text-align:center;margin:0;padding:18px;font-size:9px}.import-cost-list article{border-bottom:1px solid #edf0f4;grid-template-columns:105px 1fr auto;align-items:center;gap:10px;padding:10px 13px;display:grid}.import-cost-list article>span{color:var(--blue);text-align:center;background:#eef4ff;border-radius:20px;padding:5px 7px;font-size:8px;font-weight:800}.import-cost-list article>div{gap:3px;display:grid}.import-cost-list article strong{color:var(--navy);font-size:9px}.import-cost-list article small{color:var(--muted);font-size:7px}.import-cost-list article em{color:var(--muted);justify-items:end;gap:2px;font-size:8px;font-style:normal;display:grid}.import-cost-list article em b{color:var(--navy);font-size:10px}.cost-conversion-preview{background:#eef5ff;border-radius:9px;justify-content:space-between;align-items:center;padding:10px;display:flex}.cost-conversion-preview small{color:var(--muted);font-size:8px}.cost-conversion-preview strong{color:var(--blue);font-size:11px}.director-rate-note{background:#faf7ff;border:1px solid #d7c9ee;border-radius:10px;align-items:center;gap:9px;padding:10px;display:flex}.director-rate-note>span{color:#69469b;background:#eee5fb;border-radius:8px;place-items:center;width:29px;height:29px;display:grid}.director-rate-note p{color:var(--muted);gap:2px;margin:0;font-size:8px;display:grid}.director-rate-note strong{color:#69469b;font-size:9px}.permission-security-note{background:#f6f9ff;border:1px solid #cddcf3;border-radius:12px;align-items:center;gap:11px;margin-bottom:14px;padding:12px;display:flex}.permission-security-note>span{width:34px;height:34px;color:var(--blue);background:#e4edff;border-radius:9px;place-items:center;display:grid}.permission-security-note strong{color:var(--navy);font-size:10px}.permission-security-note p{color:var(--muted);margin:3px 0 0;font-size:8px}.permission-user-list{display:grid}.permission-user-list article{border-bottom:1px solid #e8ecf1;grid-template-columns:minmax(220px,1.25fr) 1fr 1fr auto;align-items:center;gap:14px;padding:14px 16px;display:grid}.permission-user{align-items:center;gap:10px;display:flex}.permission-user>span{width:34px;height:34px;color:var(--blue);background:#eaf1ff;border-radius:10px;place-items:center;font-size:12px;font-weight:900;display:grid}.permission-user>div{gap:3px;display:grid}.permission-user strong{color:var(--navy);font-size:10px}.permission-user small{color:var(--muted);font-size:8px}.permission-user-list article>label{background:#fbfcfe;border:1px solid #e0e5ec;border-radius:10px;align-items:center;gap:9px;padding:10px;display:flex}.permission-user-list input{width:17px;height:17px;accent-color:var(--blue)}.permission-user-list label>span{gap:2px;display:grid}@media (width<=760px){.permission-user-list article,.import-cost-list article{grid-template-columns:1fr}.import-cost-list article em{justify-items:start}.allocation-method-picker>div:nth-child(2){grid-template-columns:1fr 1fr}.cost-summary{grid-template-columns:1fr}.import-summary{grid-template-columns:1fr 1fr}.analytics-summary,.analytics-layout{grid-template-columns:1fr}.customer-product-ranking li{grid-template-columns:24px minmax(0,1fr)}.customer-product-ranking li em{grid-column:2}.quick-actions-grid,.shortcut-list{grid-template-columns:1fr}.global-search-trigger{grid-template-columns:1fr;place-items:center;width:36px;padding:8px}.global-search-trigger em,.global-search-trigger kbd{display:none}.treasury-summary{grid-template-columns:1fr}.treasury-create{width:100%}.treasury-create button{flex:1}.allocation-layout,.internal-notes form{grid-template-columns:1fr}.internal-notes>header,.empty-internal-notes{flex-direction:column}.sidebar{transform:translate(-105%)}.sidebar.open{transform:none}.content{margin-left:0}.menu-button{margin-left:0;margin-right:10px}.notification{margin-left:auto;margin-right:0}.form-row,.price-line{grid-template-columns:1fr}.price-line>button{width:100%}.stock-summary,.history-filters,.transfer-line{grid-template-columns:1fr}.transfer-line>button{width:100%}.sales-line{grid-template-columns:1fr}.sales-line>button{width:100%}.delivery-line,.audit-detail,.signature-layout{grid-template-columns:1fr}.invoice-template-note{grid-template-columns:auto 1fr}.invoice-template-note>code{grid-column:2}.direct-invoice-line{grid-template-columns:1fr 1fr}.direct-invoice-line>label:first-child{grid-column:1/-1}.direct-invoice-line>button{width:100%}.direct-lines-footer{flex-direction:column;align-items:stretch}.footer-rule-groups{grid-template-columns:1fr}}@media print{body *{visibility:hidden!important}.document-preview-backdrop,.document-preview-backdrop *{visibility:visible!important}.document-preview-backdrop{background:#fff!important;padding:0!important;display:block!important;position:absolute!important;inset:0!important}.document-preview-modal{background:#fff!important;width:100%!important;padding:0!important}.preview-toolbar{display:none!important}.print-document{width:210mm!important;min-height:297mm!important;box-shadow:none!important;margin:0!important}}.withholding-status{background:#f5f9ff;border:1px solid #cfe0fb;border-radius:14px;align-items:center;gap:14px;margin-bottom:18px;padding:16px 18px;display:flex}.withholding-status>span{color:#fff;background:#235fc7;border-radius:12px;place-items:center;width:42px;height:42px;font-size:19px;font-weight:800;display:grid}.withholding-status div{flex:1}.withholding-status strong,.withholding-status p{margin:0;display:block}.withholding-status p{color:#6f7d90;margin-top:4px;font-size:11px}.withholding-status em{color:#a55f05;background:#fff4df;border-radius:20px;padding:7px 11px;font-size:10px;font-style:normal;font-weight:700}.withholding-layout{grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:18px;display:grid}.withholding-form-card,.withholding-result-card{background:#fff;border:1px solid #e5eaf1;border-radius:16px;padding:22px}.withholding-form-card h3{margin:0 0 18px}.withholding-form-card>label{color:#435064;gap:7px;margin-bottom:15px;font-size:12px;font-weight:700;display:grid}.withholding-form-card select,.withholding-form-card input{background:#fff;border:1px solid #dbe1e9;border-radius:10px;outline:none;width:100%;padding:12px 13px}.withholding-invoice-info{grid-template-columns:repeat(3,1fr);gap:10px;margin:2px 0 18px;display:grid}.withholding-invoice-info span{background:#f6f8fb;border-radius:11px;padding:12px}.withholding-invoice-info small,.withholding-invoice-info strong{display:block}.withholding-invoice-info small{color:#7b8797;margin-bottom:5px;font-size:9px}.withholding-invoice-info strong{font-size:11px}.withholding-result-card{flex-direction:column;justify-content:center;gap:4px;display:flex}.withholding-result-card>div{border-bottom:1px solid #e5eaf1;justify-content:space-between;gap:18px;padding:17px 0;display:flex}.withholding-result-card span{color:#6f7d90;font-size:12px}.withholding-result-card strong{font-size:15px}.withholding-result-card .withheld-amount{color:#bb3d3d}.withholding-result-card .withholding-net{background:#edf8f3;border:0;border-radius:12px;margin-top:6px;padding:18px}.withholding-result-card .withholding-net strong{color:#15845a;font-size:20px}.withholding-result-card>p{color:#7b8797;margin:12px 0 0;font-size:10px;line-height:1.6}@media (width<=900px){.withholding-layout{grid-template-columns:1fr}}@media (width<=620px){.withholding-status{flex-wrap:wrap;align-items:flex-start}.withholding-status div{min-width:calc(100% - 60px)}.withholding-invoice-info{grid-template-columns:1fr}}:root{--withholding-ready:#15845a}.withholding-save{color:#fff;background:#235fc7;border:0;border-radius:10px;width:100%;padding:12px;font-weight:700}.withholding-save:disabled{opacity:.5}.withholding-history{background:#fff;border:1px solid #e5eaf1;border-radius:16px;margin-top:18px;overflow:hidden}.withholding-history-title{border-bottom:1px solid #e5eaf1;justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.withholding-history-title h3,.withholding-history-title p{margin:0}.withholding-history-title p{color:#7b8797;margin-top:4px;font-size:10px}.withholding-history-title>strong{color:#235fc7;background:#eef4ff;border-radius:10px;place-items:center;min-width:34px;height:34px;display:grid}.withholding-document{color:#15263b;background:#fff;min-height:620px;padding:34px}.withholding-document>header{border-bottom:2px solid #235fc7;justify-content:space-between;margin-bottom:24px;padding-bottom:20px;display:flex}.withholding-document h2,.withholding-document p{margin:0}.withholding-document>section{border-bottom:1px solid #e5eaf1;gap:5px;padding:14px 0;display:grid}.withholding-document>section span,.withholding-document>section small{color:#7b8797}.withholding-document-totals{width:min(360px,100%);margin:28px 0 80px auto}.withholding-document-totals p{border-bottom:1px solid #e5eaf1;justify-content:space-between;padding:12px;display:flex}.withholding-document-totals p:last-child{color:var(--withholding-ready);background:#edf8f3}.withholding-document footer{text-align:center;color:#7b8797;border-top:1px solid #e5eaf1;padding-top:18px;font-size:10px}:root{--employee-card:#fff}.employee-summary{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px;display:grid}.employee-summary article{background:var(--employee-card);border:1px solid #e5eaf1;border-radius:14px;padding:18px}.employee-summary small,.employee-summary strong{display:block}.employee-summary small{color:#7b8797;margin-bottom:8px;font-size:10px}.employee-summary strong{font-size:24px}.employee-modal{width:min(720px,100%)}.employee-modal textarea{resize:vertical;border:1px solid #dbe1e9;border-radius:10px;padding:12px 13px}@media (width<=680px){.employee-summary{grid-template-columns:1fr}}.employee-tasks{white-space:normal;max-width:210px;line-height:1.45}.row-actions{gap:6px;display:flex}.employee-account-modal{width:min(1050px,96vw);max-height:92vh;overflow:auto}.employee-account-summary{grid-template-columns:repeat(5,1fr);gap:9px;margin-bottom:16px;display:grid}.employee-account-summary article{background:#f9fbfe;border:1px solid #e1e7ef;border-radius:11px;padding:12px}.employee-account-summary small,.employee-account-summary strong{display:block}.employee-account-summary small{color:var(--muted);margin-bottom:5px;font-size:8px}.employee-account-summary strong{color:var(--navy);font-size:13px}.account-toolbar{justify-content:space-between;align-items:center;margin:12px 0;display:flex}.account-toolbar p{color:var(--muted);font-size:9px}.employee-movement-form{background:#f8fbff;border:1px solid #dbe4f1;border-radius:13px;margin-bottom:15px;padding:15px}.employee-ledger{border:1px solid #e5eaf1;border-radius:12px}.employee-salary,.employee-bonus{color:#18704d;background:#e3f5ec}.employee-advance{color:#956100;background:#fff1d8}.employee-deduction{color:#a72e2e;background:#fee8e8}@media (width<=760px){.employee-account-summary{grid-template-columns:repeat(2,1fr)}.row-actions{flex-direction:column}}.expense-kpis{grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0;display:grid}.expense-kpis article{background:#fff;border:1px solid #e3e8ef;border-radius:13px;padding:15px}.expense-kpis small,.expense-kpis strong{display:block}.expense-kpis small{color:var(--muted);margin-bottom:6px;font-size:9px}.expense-kpis strong{color:var(--navy);font-size:18px}.expense-modal{width:min(720px,95vw)}.expense-modal textarea{resize:vertical;border:1px solid #dbe1e9;border-radius:10px;padding:12px 13px}.vehicle-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:13px;display:grid}.vehicle-grid>article{background:#fff;border:1px solid #dfe5ed;border-radius:14px;padding:15px}.vehicle-grid header{justify-content:space-between;gap:10px;display:flex}.vehicle-grid header strong{color:var(--navy)}.vehicle-grid p{color:var(--muted);font-size:9px}.vehicle-grid article>div{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.vehicle-grid span{background:#f5f8fc;border-radius:9px;padding:9px}.vehicle-grid small,.vehicle-grid b{display:block}.vehicle-grid small{color:var(--muted);margin-bottom:4px;font-size:7px}.vehicle-grid b{color:var(--navy);font-size:10px}.fuel-total{color:var(--navy);background:#edf5ff;border-radius:9px;padding:11px}@media (width<=680px){.expense-kpis,.vehicle-grid article>div{grid-template-columns:1fr}}.report-export-actions{gap:8px;display:flex}.report-export-actions .secondary-action{color:var(--blue);background:#fff;border:1px solid #b9cceb}.vehicle-report{margin-top:14px}.vehicle-report td strong{color:var(--navy)}.vehicle-report td small{color:var(--muted)}@media (width<=680px){.report-export-actions{width:100%}.report-export-actions button{flex:1}}:root{--report-card:#fff}.report-filters{background:#fff;border:1px solid #e5eaf1;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:18px;padding:13px 16px;display:flex}.report-filters label{align-items:center;gap:10px;font-size:11px;font-weight:700;display:flex}.report-filters select{background:#fff;border:1px solid #dbe1e9;border-radius:9px;padding:9px 12px}.report-filters span{color:#7b8797;font-size:10px}.report-kpis{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px;display:grid}.report-kpis article{background:var(--report-card);border:1px solid #e5eaf1;border-radius:14px;padding:18px}.report-kpis small,.report-kpis strong{display:block}.report-kpis small{color:#7b8797;margin-bottom:9px;font-size:10px}.report-kpis strong{font-size:19px}.report-grid{grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;display:grid}.report-ranking{background:#fff;border:1px solid #e5eaf1;border-radius:16px;padding:18px}.report-ranking h3{margin:0 0 14px}.report-ranking>p{color:#7b8797;font-size:11px}.report-ranking article{border-bottom:1px solid #eef1f5;grid-template-columns:28px 1fr auto;align-items:center;gap:9px;padding:11px 0;display:grid}.report-ranking article:last-child{border:0}.report-ranking article>span{color:#235fc7;background:#eef4ff;border-radius:8px;place-items:center;width:26px;height:26px;font-size:10px;font-weight:800;display:grid}.report-ranking article strong{font-size:11px}.report-ranking article em{color:#15845a;font-size:10px;font-style:normal;font-weight:700}.report-invoices{min-height:260px}.report-invoices .list-tools>span{color:#7b8797;font-size:10px}@media (width<=900px){.report-kpis{grid-template-columns:repeat(2,1fr)}.report-grid{grid-template-columns:1fr}}@media (width<=540px){.report-kpis{grid-template-columns:1fr}.report-filters{flex-direction:column;align-items:flex-start;gap:12px}}:root{--tej-border:#dbe1e9}.tej-status-select{border:1px solid var(--tej-border);background:#fff;border-radius:8px;padding:7px 9px;font-size:10px}.table-subline{color:#7b8797;margin-top:4px;font-size:9px;display:block}.withholding-signature{background:#edf8f3;border:1px solid #bfe5d3;border-radius:12px;margin:24px 0;padding:16px}.withholding-signature span,.withholding-signature strong,.withholding-signature small{display:block}.withholding-signature span,.withholding-signature small{color:#56806d;font-size:9px}.withholding-signature strong{margin:5px 0}.withholding-signature small{word-break:break-all}:root{--dashboard-empty:#7b8797}.dashboard-empty{min-height:210px;color:var(--dashboard-empty);place-items:center;font-size:11px;display:grid}.chart .bars span{min-height:2px;transition:height .25s}.closure-filters{grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px;margin-bottom:18px;display:grid}.closure-filters label,.closure-count label{color:#445166;gap:7px;font-size:.86rem;font-weight:700;display:grid}.closure-filters input,.closure-count input,.closure-count textarea{background:#fff;border:1px solid #d9e0e9;border-radius:10px;padding:10px 12px}.closure-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.closure-summary .difference-warning{background:#fff7f5;border-color:#f1b5ab}.closure-summary .difference-warning strong{color:#b63f2c}.closure-grid{grid-template-columns:minmax(360px,.9fr) minmax(500px,1.4fr);gap:18px;margin:18px 0;display:grid}.closure-grid .list-card,.closure-operations,.closure-history{padding:20px}.closure-grid h3,.closure-operations h3,.closure-history h3{margin:0 0 7px}.denomination-grid{gap:8px;margin:17px 0;display:grid}.denomination-grid label{grid-template-columns:75px 90px 1fr;align-items:center}.denomination-grid strong{text-align:right;color:#17243a}.counted-total{color:#176849;background:#eef6f2;border-radius:12px;justify-content:space-between;align-items:center;margin:12px 0 16px;padding:14px;display:flex}.counted-total strong{font-size:1.2rem}.closure-count>button{width:100%;margin-top:15px}.closure-success{color:#176849;background:#e9f7ef;border-radius:10px;padding:12px 15px;font-weight:700}.closure-operations,.closure-history{margin-top:18px}.saved-closure-document{padding:28px}.saved-closure-document>header{border-bottom:2px solid #1d6b52;justify-content:space-between;gap:20px;padding-bottom:16px;display:flex}.saved-closure-document>header h2{margin:0 0 5px}.saved-closure-totals{grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0;display:grid}.saved-closure-totals span{border:1px solid #dfe6eb;border-radius:10px;gap:6px;padding:12px;display:grid}.invoice-toolbar-actions{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.invoice-toolbar-actions label{color:#667085;gap:4px;font-size:.75rem;display:grid}.invoice-toolbar-actions input{background:#fff;border:1px solid #d9e0e9;border-radius:9px;padding:9px 11px}.batch-invoice-pages{background:#e8edf1;gap:24px;padding:18px;display:grid}.batch-invoice-page{background:#fff;box-shadow:0 2px 12px #182b3d1c}@media print{.batch-invoice-backdrop{background:#fff!important;display:block!important;position:static!important}.batch-invoice-modal{width:100%!important;max-width:none!important;max-height:none!important;box-shadow:none!important;overflow:visible!important}.batch-invoice-pages{background:#fff;padding:0;display:block}.batch-invoice-page{box-shadow:none;break-after:page;page-break-after:always}.batch-invoice-page:last-child{break-after:auto;page-break-after:auto}}.security-gate{background:radial-gradient(circle at top,#e8f6f1,#f5f7fa 55%);place-items:center;min-height:100vh;padding:24px;display:grid}.security-gate>section{text-align:center;background:#fff;border:1px solid #dce5e8;border-radius:20px;gap:16px;width:min(460px,100%);padding:34px;display:grid;box-shadow:0 22px 60px #183b3120}.security-gate h1,.security-gate p{margin:0}.security-gate label,.security-gate form{text-align:left;gap:8px;font-weight:700;display:grid}.security-gate input{text-align:center;letter-spacing:.12em;border:1px solid #ccd8dd;border-radius:10px;padding:12px;font-size:1rem}.security-shield{color:#fff;background:#16664e;border-radius:18px;justify-self:center;place-items:center;width:58px;height:58px;font-size:1.5rem;display:grid}.mfa-qr{border:10px solid #fff;justify-self:center;width:220px;height:220px;box-shadow:0 0 0 1px #dce5e8}.security-link{color:#9c3125!important;box-shadow:none!important;background:0 0!important;border:0!important}.security-session-actions{flex-wrap:wrap;gap:10px;display:flex}.danger-action{background:#a9382a!important}.security-devices .list-card{margin-top:18px}:root{--navy:#17243a;--blue:#176b57;--blue-soft:#eaf5f1;--light:#f5f7f8;--line:#dde5e7;--muted:#71808d;--green:#16835f}body{background:var(--light);color:var(--navy)}button{min-height:40px;transition:transform .16s,box-shadow .16s,background .16s}button:active{transform:translateY(1px)}.sidebar{background:linear-gradient(#fff 0%,#f9fbfb 100%);width:284px;padding:18px 14px;box-shadow:8px 0 28px #15352d0a}.brand{min-height:62px;padding:0 10px 17px}.brand-mark{background:linear-gradient(145deg,#238269,#104c3e);box-shadow:0 12px 30px #176b5730}.sidebar nav{gap:5px;padding-right:3px}.sidebar nav button{border:1px solid #0000;border-radius:12px;min-height:46px;padding:9px 12px;font-size:12px;position:relative}.sidebar nav button b{color:#667b79;background:#f0f4f4;border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.sidebar nav button.active{color:#105846;background:#eaf5f1;border-color:#cfe5de;box-shadow:0 5px 15px #176b5712}.sidebar nav button.active:before{content:"";background:#176b57;border-radius:0 6px 6px 0;width:4px;height:24px;position:absolute;left:-14px}.sidebar nav button.active b{color:#fff;background:#176b57}.content{margin-left:284px;padding:0 clamp(22px,3vw,46px) 50px}.content>header{z-index:9;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f5f7f8e8;gap:12px;height:82px;position:sticky;top:0}.module-title-icon{color:#176b57;background:#fff;border:1px solid #cfe3dd;border-radius:12px;flex:none;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 5px 16px #173d3212}.content header h1{font-size:20px}.global-search-trigger{border-radius:12px;width:min(360px,34vw);min-height:42px;box-shadow:0 3px 12px #17243a08}.welcome{background:linear-gradient(110deg,#105846,#1c8066);border-radius:20px;min-height:145px;box-shadow:0 15px 36px #155c4926}.welcome h2{font-size:23px}.stats{gap:14px}.stats article,.panel,.list-card,.settings-card{box-shadow:0 5px 18px #183b3109}.stats article{border-radius:17px;min-height:136px}.stat-icon{color:#176b57;background:#eaf5f1;border-radius:12px;width:42px;height:42px}.module-toolbar{gap:16px;min-height:58px}.module-toolbar h2{font-size:20px}.module-toolbar p{font-size:10px;line-height:1.6}.module-toolbar button{border-radius:11px;min-height:42px}.section-tabs{scrollbar-width:none}.section-tabs::-webkit-scrollbar{display:none}.section-tabs button{white-space:nowrap;min-height:42px}.list-card{border-radius:17px}.table-wrap th{z-index:1;letter-spacing:.02em;font-size:9px;position:sticky;top:0}.table-wrap td{font-size:11px}.mobile-bottom-nav{display:none}.permission-user-list.granular article{grid-template-columns:minmax(210px,.7fr) minmax(0,2.3fr) auto;align-items:start}.permission-grid{grid-template-columns:repeat(3,minmax(190px,1fr));gap:9px;display:grid}.permission-grid label{background:#fbfcfe;border:1px solid #e0e5ec;border-radius:10px;align-items:flex-start;gap:9px;padding:10px;display:flex}.permission-grid label span{gap:2px;display:grid}.invite-user-modal{width:min(720px,96vw)}.invite-permissions{border:1px solid #e0e5ec;border-radius:12px;grid-template-columns:repeat(2,1fr);gap:8px;padding:14px;display:grid}.invite-permissions legend{color:var(--navy);padding:0 7px;font-weight:800}.invite-permissions label{background:#fbfcfe;border:1px solid #e8ecf1;border-radius:9px;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:9px;display:flex}.invite-permissions input{width:17px;height:17px;accent-color:var(--blue)}@media (width>=1500px){.content{padding-left:max(46px,50vw - 852px);padding-right:max(46px,50vw - 852px)}.quick-actions-grid{grid-template-columns:repeat(4,1fr)}}@media (width<=900px){.permission-user-list.granular article,.permission-grid,.invite-permissions{grid-template-columns:1fr}.sidebar{z-index:100;width:min(86vw,320px);transition:transform .25s;transform:translate(-110%);box-shadow:18px 0 60px #10243c38}.sidebar.open{transform:none}.content{padding:0 16px calc(92px + env(safe-area-inset-bottom));margin-left:0}.content>header{border-bottom:1px solid var(--line);height:68px;margin:0 -16px;padding:0 14px}.menu-button{color:#176b57;background:#fff;border:1px solid #d7e2e1;border-radius:11px;place-items:center;width:42px;height:42px;margin:0;display:grid}.module-title-icon{display:none}.content header h1{text-overflow:ellipsis;white-space:nowrap;max-width:42vw;font-size:16px;overflow:hidden}.content header p{display:none}.global-search-trigger{grid-template-columns:1fr;place-items:center;width:42px;min-height:42px;margin-left:auto;padding:0}.global-search-trigger em,.global-search-trigger kbd{display:none}.global-search-trigger span{font-size:20px}.shortcut-help-button{display:none}.notification{width:42px;height:42px}.overlay{z-index:90}.mobile-bottom-nav{z-index:80;padding:7px 5px calc(7px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#ffffffef;border-top:1px solid #d7e2e1;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -8px 28px #17243a14}.mobile-bottom-nav button{color:#7b898f;background:0 0;border:0;border-radius:10px;align-content:center;place-items:center;gap:4px;min-width:0;min-height:54px;display:grid}.mobile-bottom-nav button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:8px;font-weight:700;overflow:hidden}.mobile-bottom-nav button.active{color:#176b57;background:#eaf5f1}.welcome{gap:16px;min-height:auto;margin:16px 0;padding:20px;display:grid}.welcome h2{font-size:20px}.welcome button{width:100%;margin-top:0}.quick-actions-grid{scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:7px;display:flex;overflow-x:auto}.quick-actions-grid::-webkit-scrollbar{display:none}.quick-actions-grid>button{scroll-snap-align:start;min-width:min(78vw,280px)}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stats article{min-height:128px;padding:15px}.stats h3{overflow-wrap:anywhere;font-size:17px}.dashboard-grid{gap:12px}.module-page{padding-top:17px}.module-toolbar{flex-direction:column;align-items:flex-start}.module-toolbar>button,.module-toolbar>div:last-child:not(:first-child){width:100%}.module-toolbar>button{justify-content:center}.treasury-create,.invoice-toolbar-actions,.security-session-actions{grid-template-columns:1fr;width:100%;display:grid}.section-tabs{border-bottom:1px solid var(--line);background:#fff;margin:0 -16px;padding:8px 16px;display:flex;overflow-x:auto}.section-tabs button{flex:none}.list-card{border-radius:14px;min-height:260px;margin-left:-4px;margin-right:-4px}.list-tools{flex-direction:column;align-items:stretch;gap:9px}.list-tools label{width:100%}.table-wrap{overscroll-behavior-inline:contain;overflow-x:auto}.table-wrap table{min-width:760px}.table-wrap th,.table-wrap td{padding:11px 12px}.modal-backdrop{z-index:160;align-items:end;padding:0}.supplier-modal,.document-preview-modal,.global-search-modal,.shortcut-modal{border-radius:20px 20px 0 0;width:100%;max-width:none;max-height:92dvh;overflow:auto}.supplier-modal form{padding:18px 16px}.modal-heading{z-index:4;background:#fff;padding:16px;position:sticky;top:0}.form-row{grid-template-columns:1fr!important}.form-actions{z-index:3;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;margin:8px -16px -18px;position:sticky;bottom:0;box-shadow:0 -8px 22px #17243a12}.form-actions button{flex:1;min-height:46px}.global-search-backdrop{align-items:start;padding:8px}.global-search-modal{border-radius:16px;margin-top:8px}}@media (width<=520px){.stats{grid-template-columns:1fr 1fr}.stats p{font-size:10px}.stats h3{font-size:15px}.treasury-summary,.closure-summary,.import-summary,.cost-summary{grid-template-columns:1fr!important}.login-panel{width:calc(100% - 32px);padding:24px 0}.login-panel h1{font-size:26px}.security-gate{padding:12px}.security-gate>section{border-radius:17px;padding:24px 18px}.mfa-qr{width:min(220px,70vw);height:auto}}@media (width<=1050px){.closure-summary{grid-template-columns:repeat(2,1fr)}.closure-grid{grid-template-columns:1fr}}@media (width<=720px){.closure-filters,.closure-summary{grid-template-columns:1fr}}@media print{.sidebar,.content>header,.section-tabs,.module-toolbar button,.closure-filters,.closure-count button,.closure-history{display:none!important}.content,.module-page{margin:0!important;padding:0!important}.closure-grid{grid-template-columns:1fr}}.accountant-settings{gap:16px;max-width:760px;display:grid}.accountant-settings>label{color:#435064;gap:7px;font-size:12px;font-weight:700;display:grid}.accountant-settings input,.accountant-settings select{background:#fff;border:1px solid #dbe1e9;border-radius:10px;outline:none;width:100%;padding:12px 13px}.accountant-settings .settings-actions{margin-top:4px}.external-accountant-module .list-card small{color:var(--muted)}.accountant-period{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:18px;display:flex}.accountant-period label{gap:6px;font-weight:700;display:grid}.accountant-period select,.accountant-period input{min-width:150px}.accountant-document-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.accountant-selector{border:1px solid var(--border);background:#fff;border-radius:16px;overflow:hidden}.accountant-selector header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:16px;display:flex}.accountant-selector h3{margin:0}.accountant-selector header label{align-items:center;gap:7px;display:flex}.accountant-document-row{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:12px 16px;display:flex}.accountant-document-row span{flex:1;display:grid}.accountant-document-row small{color:var(--muted)}.accountant-document-row em,.accountant-preview-row em{font-size:.82rem;font-style:normal;font-weight:800}.accountant-document-row .signed,.accountant-preview-row .signed{color:#087a55}.accountant-document-row .unsigned,.accountant-preview-row .unsigned{color:#b42318}.selector-empty{color:var(--muted);padding:22px}.accountant-prepare{flex-wrap:wrap;align-items:center;gap:14px;margin-top:18px;display:flex}.accountant-prepare small{width:100%;color:var(--muted)}.accountant-preview{max-width:720px}.accountant-preview-body{padding:20px}.accountant-preview-row{border-bottom:1px solid var(--border);grid-template-columns:1fr 70px 100px;gap:12px;padding:10px 0;display:grid}.accountant-final-send{width:100%;margin-top:16px}.preview-toolbar>div{gap:4px;display:grid}@media (width<=800px){.accountant-document-grid{grid-template-columns:1fr}.accountant-period>*,.accountant-period select,.accountant-period input,.accountant-period button{width:100%}}.accountant-archive-list{gap:9px;padding:8px;display:grid}.accountant-archive-list>div{border:1px solid var(--border);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.accountant-archive-list span{min-width:0;display:grid}.accountant-archive-list small{overflow-wrap:anywhere;color:var(--muted);font-family:monospace}.accountant-test-bar{flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0;display:flex}.accountant-test-bar small{color:var(--muted)}.accountant-resend-panel{border:1px solid var(--border);background:#fff;border-radius:16px;margin-top:16px;padding:18px}.accountant-resend-panel>div,.accountant-resend-panel article{justify-content:space-between;align-items:center;gap:12px;display:flex}.accountant-resend-panel h3{margin:0}.accountant-resend-panel article{border-top:1px solid var(--border);padding:12px 0}.accountant-resend-panel article span{display:grid}.accountant-resend-panel article small{color:var(--muted)}.accountant-resend-panel article div{gap:8px;display:flex}@media (width<=700px){.accountant-resend-panel>div,.accountant-resend-panel article{flex-direction:column;align-items:stretch}.accountant-resend-panel article div{flex-wrap:wrap}}
