.erp{--cyan:#09aace;--green:#13bd60;--ink:#34434b;min-height:100vh;color:var(--ink);background:#edf0f2;font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.5}.erp button,.erp input,.erp select,.erp textarea{font:inherit}.erp button{color:#41525d;cursor:pointer;background:#fff;border:1px solid #d4dde2;border-radius:4px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:7px 12px;display:inline-flex}.erp button:hover{background:#edf9fc;border-color:#56bdd6}.erp button:disabled{opacity:.5;cursor:not-allowed}.erp input,.erp select,.erp textarea{color:#34434b;background:#fff;border:1px solid #cad5dc;border-radius:4px;min-width:0;min-height:38px;padding:8px 10px}.erp input:focus,.erp select:focus,.erp textarea:focus{outline-offset:1px;outline:2px solid #7cd7eb}.erp input:disabled,.erp textarea:disabled,.erp select:disabled{color:#667782;background:#f4f6f7}.erp input[type=checkbox]{width:17px;height:17px;min-height:17px;accent-color:var(--cyan)}.erp a{color:#087fa3}.erp h1{color:#1285a4;margin:5px 0;font-size:26px;font-weight:500;line-height:1.25}.erp h2{margin:0 0 16px;font-size:17px;font-weight:600}.erp h3{font-size:16px}.erp p{line-height:1.65}.erp small,.erp .muted{color:#6f7e87;font-size:13px}.erp .primary,.erp .success{background:var(--cyan);border-color:var(--cyan);color:#fff}.erp .success{background:var(--green);border-color:var(--green)}.erp .primary:hover{background:#0698ba}.erp .success:hover{background:#0aab53}.erp .link-button{color:#0586ab;text-align:left;background:0 0;border:0;justify-content:flex-start;min-height:30px;padding:0}.erp-header{color:#fff;z-index:40;background:#0ba8ce;align-items:center;gap:18px;height:70px;padding:0 22px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 2px 7px #14465826}.erp .erp-header button{color:#fff;background:0 0;border:0;padding:7px}.erp-header .brand{letter-spacing:-1px;gap:2px;font-size:30px;font-weight:800}.erp-header .brand b{color:var(--cyan);background:#fff;border-radius:50%;place-items:center;width:35px;height:35px;font-size:27px;line-height:1;display:grid}.erp-header .company{letter-spacing:.5px;white-space:nowrap;text-overflow:ellipsis;max-width:280px;font-size:13px;font-weight:600;overflow:hidden}.header-right{align-items:center;gap:13px;margin-left:auto;display:flex}.header-right button{position:relative}.header-right button i{background:#ffdc4b;border-radius:50%;width:7px;height:7px;position:absolute;top:2px;right:5px}.erp-header a{color:#fff}.account-email{opacity:.9;font-size:12px}.erp-main{max-width:1550px;margin:0 auto;padding:100px 30px 55px}.panel{background:#fff;border:1px solid #e3e8eb;border-radius:9px;box-shadow:0 2px 7px #294f6010}.page-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px;display:flex}.page-heading small{font-size:12px}.storage-state{color:#457165;align-items:center;gap:6px;font-size:12px;display:flex}.storage-state>span{background:#1cc173;border-radius:50%;width:7px;height:7px}.storage-state small{margin-left:10px}.drawer-overlay{z-index:80;position:fixed;inset:0}.erp .overlay-bg{cursor:default;background:#15334177;border:0;border-radius:0;position:absolute;inset:0}.erp-drawer{background:#fff;width:390px;position:absolute;inset:0 auto 0 0;overflow-y:auto;box-shadow:5px 0 20px #192f3844}.drawer-heading{background:var(--cyan);color:#fff;z-index:2;justify-content:space-between;align-items:center;height:70px;padding:0 22px;display:flex;position:sticky;top:0}.erp .drawer-heading button{color:#fff;background:0 0;border:0}.menu-search{color:#76909c;align-items:center;gap:8px;padding:16px;display:flex}.erp .menu-search input{border:0;border-bottom:1px solid #dee8ed;border-radius:0;width:100%}.erp .menu-category{border:0;border-bottom:1px solid #edf1f4;border-radius:0;justify-content:flex-start;width:100%;height:50px;padding:0 23px}.menu-category>svg{width:21px;color:var(--cyan)}.menu-category span{text-align:left;flex:1}.erp .menu-category.active{color:#0784a6;background:#e9f8fc;font-weight:600}.submenu{background:#f9fcfd;padding:7px 0}.erp .submenu button{text-align:left;background:0 0;border:0;border-radius:0;justify-content:flex-start;width:100%;min-height:35px;padding:9px 24px 9px 55px;font-size:13px}.erp .submenu button:hover,.erp .submenu button.selected{color:#0785a7;background:#dff5fb}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:17px;display:flex}.toolbar>.success{margin-left:auto}.search-input{color:#7d919c;background:#fff;border:1px solid #cedae0;border-radius:4px;flex:1;align-items:center;min-width:260px;max-width:420px;padding-left:10px;display:flex}.erp .search-input input{border:0;width:100%}.filters{flex-wrap:wrap;align-items:flex-end;gap:13px;margin-bottom:16px;padding:16px;display:flex}.filters label{gap:5px;min-width:150px;font-size:13px;display:grid}.filters label input,.filters label select{width:100%}.table-scroll{overflow-x:auto}.erp table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.erp th{color:#71818b;white-space:nowrap;background:#f5f8fa;border-bottom:1px solid #dfe7eb;padding:14px 13px;font-size:12px;font-weight:600}.erp td{vertical-align:middle;border-bottom:1px solid #e9eef1;min-width:90px;padding:13px}.erp td:first-child{min-width:auto}.erp tbody tr:hover{background:#fbfdfe}.erp td .table-link{text-align:left;color:#1287aa;background:0 0;border:0;justify-content:flex-start;min-height:25px;padding:0;font-weight:500}.erp .row-actions{gap:4px;display:flex}.erp .row-actions button{color:#82949f;border:0;min-height:30px;padding:6px}.table-footer{color:#71818a;justify-content:space-between;align-items:center;padding:14px 17px;font-size:12px;display:flex}.table-footer>div{align-items:center;gap:12px;display:flex}.status{color:#4d7b90;white-space:nowrap;background:#edf5f8;border:1px solid #dcebef;border-radius:12px;padding:3px 9px;font-size:12px;line-height:1.5;display:inline-flex}.status.good{color:#179753;background:#e6f8ed;border-color:#c4efd5}.status.bad{color:#c95151;background:#fff0f0;border-color:#f7d4d4}.empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:290px;padding:30px;display:flex}.empty>svg{color:#9cb9c7;width:44px;height:44px}.empty h3,.empty h2,.empty p{margin:3px}.empty p{color:#82949c}.setup{border-left:4px solid var(--cyan);align-items:center;gap:20px;margin-bottom:20px;padding:22px;display:flex}.setup>div{flex:1}.setup p{color:#728490;margin:0;font-size:13px}.setup h2{margin-bottom:7px}.setup input{max-width:250px}.period{align-items:center;gap:15px;margin-bottom:20px;padding:15px 18px;display:flex}.period>svg{color:var(--cyan)}.period strong{margin-right:auto;font-size:14px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:20px;display:grid}.metrics article{gap:10px;padding:22px;display:grid}.metrics strong{color:#344e5c;font-size:28px;font-weight:600}.metrics span{color:#8a99a2;font-size:12px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.dashboard-card{padding:21px}.dashboard-card>h2{border-bottom:1px solid #e7edf0;padding-bottom:14px}.summary-row{border-bottom:1px solid #edf1f3;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;font-size:13px;display:flex}.summary-row span:first-child{flex:1}.financial-summary{gap:12px;display:grid}.financial-summary>span{justify-content:space-between;align-items:center;padding:8px 0;display:flex}.financial-summary b{font-size:20px}.green-text{color:#15a05b}.red-text{color:#d45252}.big-result{color:#e8a72d;font-size:44px}.chart-bars{border-bottom:1px solid #dbe6ec;align-items:flex-end;gap:12px;height:180px;margin:10px 0 27px;display:flex}.chart-bars>div{background:repeating-linear-gradient(0deg,#0000 0 44px,#edf3f6 45px);flex:1;justify-content:center;align-items:flex-end;height:100%;display:flex;position:relative}.chart-bars span{background:linear-gradient(#2ac3e5,#09aad1);border-radius:3px 3px 0 0;width:65%}.chart-bars small{font-size:12px;position:absolute;bottom:-24px}.audit-list article{border-bottom:1px solid #edf1f4;align-items:flex-start;gap:9px;padding:11px 0;display:flex}.audit-list>article svg{color:#17a9c4;flex-shrink:0;margin-top:3px}.audit-list strong{font-size:13px;font-weight:500;display:block}.audit-list small{word-break:break-all;font-size:12px;display:block}.panel.audit-list{padding:20px}.integration-note{background:#effafd;border:1px solid #d7e9ef;border-left:3px solid #12b1d1;border-radius:5px;align-items:center;gap:12px;margin-bottom:20px;padding:13px 17px;font-size:13px;display:flex}.integration-note svg{color:#059cbe;flex-shrink:0}.integration-note>div,.integration-note>span{flex:1}.record-strip{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:17px;font-size:12px;display:flex}.record-strip>span:nth-child(2){margin-right:auto}.tabs{border-bottom:1px solid #dce5eb;gap:5px;padding:0 15px;display:flex;overflow:auto}.erp .tabs button{white-space:nowrap;color:#7a8b95;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;padding:15px}.erp .tabs button.active{border-bottom-color:var(--cyan);color:#079cc2}.form-content{padding:25px}.form-content>h2{margin-top:25px}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.field{flex-direction:column;gap:7px;font-size:13px;display:flex}.field>span{color:#5e7380;font-weight:500}.field em{color:#e45858;font-style:normal}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{width:100%}.field input[type=checkbox]{align-self:flex-start;width:18px}.line-items{border:1px solid #d9e5ea;border-radius:5px;margin:15px 0}.line-adder{background:#f3f9fb;gap:10px;padding:14px;display:flex}.line-adder select{flex:1;max-width:70%}.line-adder input{width:100px}.line-items td input{width:105px}.line-items>.muted{padding:0 15px}.document-total{border-top:1px solid #dde7eb;justify-content:flex-end;align-items:center;gap:25px;margin-top:20px;padding-top:20px;display:flex}.document-total strong{color:#088fab;font-size:23px}.kanban{gap:16px;padding-bottom:20px;display:flex;overflow-x:auto}.kanban>section{background:#e3eaee;border-radius:7px;flex:1;min-width:235px;min-height:480px;padding:12px}.kanban section>header{border-left:3px solid var(--cyan);justify-content:space-between;align-items:center;margin:4px 0 10px;padding-left:8px;display:flex}.kanban section>small{margin-bottom:12px;display:block}.kanban article{cursor:grab;background:#fff;border-radius:5px;margin-bottom:12px;padding:15px;box-shadow:0 1px 4px #233c5015}.kanban article button{text-align:left;border:0;justify-content:flex-start;padding:0;font-weight:600}.kanban article p{color:#8b9aa4;margin:7px 0;font-size:12px}.kanban article small{margin:8px 0;display:block}.kanban article select{width:100%;font-size:12px}.calendar .toolbar{padding:15px}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-grid>strong{text-align:center;background:#f7fafb;padding:12px;font-size:13px}.calendar-grid>article{border-top:1px solid #e0e8ec;border-right:1px solid #e0e8ec;min-height:130px;padding:8px}.calendar-grid>article>b{margin-bottom:5px;font-size:13px;display:block}.calendar-grid .today{background:#e9f9fd}.calendar-grid article>button{text-align:left;color:#157e9c;word-break:break-word;background:#d9f2fa;border:0;width:100%;margin-bottom:4px;padding:5px;font-size:12px;display:block}.calendar-grid article>button.done{color:#208f4d;background:#e0f5e7}.pdv-open{text-align:center;padding:40px}.pdv-open>svg{color:var(--cyan)}.pdv-open h2{margin-top:15px}.pdv-open .form-grid{text-align:left;max-width:800px;margin:25px auto}.pdv-grid{grid-template-columns:minmax(0,1fr) 320px;gap:20px;display:grid}.pdv-grid>.panel{padding:22px}.pdv-total{flex-direction:column;gap:18px;display:flex}.pdv-total>strong{color:#068fb0;font-size:38px}.pdv-total>p{color:#7a8b94;margin:0;font-size:12px}.close-cash{align-items:center;gap:20px;margin-bottom:20px;padding:20px;display:flex}.receipt{margin-top:20px;padding:25px}.receipt button{margin:15px 7px}.integration-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.integration-grid>article{padding:23px;position:relative}.provider-symbol{color:#099cbe;background:#e8f8fc;border-radius:8px;place-items:center;width:45px;height:45px;font-size:20px;font-weight:700;display:grid}.integration-grid .status{position:absolute;top:20px;right:18px}.integration-grid h2{margin:16px 0 8px}.integration-grid p{color:#7f909b;min-height:45px}.integration-details,.preferences,.backup,.import-screen{margin-bottom:20px;padding:25px}.integration-details{margin-top:20px}.integration-details textarea{width:100%;margin:20px 0;display:block}.integration-details button{margin-right:10px}.preferences{max-width:1000px}.preferences>.field{max-width:500px;margin-bottom:18px}.preferences h2:not(:first-child),.backup h2:not(:first-child){margin-top:30px}.files{padding:15px}.file-button{color:#1587a4;cursor:pointer;background:#e9f8fc;border:1px solid #92d9e9;border-radius:5px;align-items:center;padding:8px 13px;font-size:13px;display:inline-flex;position:relative}.file-button input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.import-screen>button{margin-top:20px}.error{color:#bc3e3e;background:#fff1f0;border-radius:5px;padding:12px}.report-picker{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.erp .report-picker button{font-size:12px}.erp .report-picker button.active{background:var(--cyan);color:#fff;border-color:var(--cyan)}.report-result{padding:20px}.report-result .filters{padding:0}.toast{color:#fff;z-index:100;background:#254551;border:1px solid #507581;border-radius:8px;align-items:center;gap:12px;max-width:min(700px,95vw);padding:14px 16px;font-size:14px;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 6px 25px #1c344644}.erp .toast button{color:#fff;background:0 0;border:0;min-height:20px;padding:3px}.saving{color:#fff;z-index:101;background:#0d99bc;border-radius:6px;padding:8px 15px;position:fixed;bottom:25px;right:20px}.register{min-height:420px}@media (width>=1700px){.erp-main{max-width:1700px}}@media (width<=1100px){.erp-main{padding:95px 20px 35px}.metrics{grid-template-columns:repeat(2,1fr)}.account-email{display:none}.form-grid{grid-template-columns:repeat(2,1fr)}.setup{flex-wrap:wrap}.setup>div{flex-basis:100%}.integration-grid{grid-template-columns:repeat(2,1fr)}.pdv-grid{grid-template-columns:1fr}.pdv-total{grid-template-columns:repeat(2,1fr);display:grid}.storage-state small{display:none}.calendar-grid>article{min-height:110px}.calendar-grid>article button{font-size:12px}.period{flex-wrap:wrap}.period strong{flex:1}}@media (width<=700px){.erp-header{gap:5px;padding:0 10px}.header-right{gap:3px}.erp-header .company{display:none}.erp-main{padding:90px 12px 35px}.page-heading{flex-direction:column;align-items:flex-start;gap:10px}.erp h1{font-size:22px}.dashboard-grid,.form-grid,.integration-grid{grid-template-columns:1fr}.metrics{gap:10px}.metrics article{padding:15px}.metrics strong{font-size:22px}.metrics span{font-size:12px}.toolbar{gap:7px}.toolbar>.success{margin-left:0}.toolbar>button{font-size:12px}.search-input{width:100%;min-width:100%;max-width:none}.erp-drawer{width:min(390px,94vw)}.form-content{padding:17px}.tabs{padding:0 5px}.erp .tabs button{padding:12px 10px;font-size:12px}.line-adder{flex-wrap:wrap}.line-adder select{min-width:100%;max-width:100%}.line-adder input{flex:1}.document-total{flex-wrap:wrap;gap:12px}.calendar{overflow-x:auto}.calendar-grid{min-width:700px}.calendar .toolbar{min-width:650px}.table-footer{flex-direction:column;gap:12px}.integration-note{flex-wrap:wrap;align-items:flex-start}.period select,.period input{max-width:100%}.period strong{min-width:60%}.pdv-total{display:flex}.close-cash{flex-direction:column;align-items:stretch}.chart-bars{gap:4px}.chart-bars small{font-size:11px}}@media print{.erp-header,.toolbar,.tabs,.record-strip button,.record-strip select,.report-picker,.filters,.toast,.saving,.drawer-overlay,.storage-state,.file-button{display:none!important}.erp-main{max-width:none;padding:0}.erp{background:#fff}.panel{box-shadow:none;break-inside:avoid;border:1px solid #ddd}.erp input,.erp select,.erp textarea{background:#fff;border:0}.erp .table-scroll{overflow:visible}.erp th,.erp td{padding:6px;font-size:10px}.erp .receipt{background:#fff;position:absolute;inset:0}.erp button{display:none!important}.page-heading{margin-bottom:15px}}.auth-page{color:#34434b;background:linear-gradient(135deg,#087fa3,#12b8d8);place-items:center;min-height:100vh;padding:24px;font-family:Inter,Arial,sans-serif;display:grid}.auth-card{width:min(100%,470px);padding:34px}.auth-brand{color:#079abd;align-items:center;gap:11px;margin-bottom:28px;display:flex}.auth-brand>b{color:#fff;background:#0aa9ce;border-radius:50%;place-items:center;width:44px;height:44px;font-size:32px;line-height:1;display:grid}.auth-brand strong{font-size:25px;line-height:1;display:block}.auth-brand span{color:#71818a;font-size:12px}.auth-card h1{color:#177f9d;margin:0 0 8px;font-size:24px}.auth-card>p{color:#6d7f89;margin:0 0 22px;font-size:14px;line-height:1.55}.auth-form{gap:14px;display:grid}.auth-form label{color:#526874;gap:6px;font-size:13px;font-weight:600;display:grid}.auth-form input{min-height:40px;font:inherit;border:1px solid #cad5dc;border-radius:5px;padding:10px;font-weight:400}.auth-form input:focus{border-color:#20b5d5;outline:2px solid #7cd7eb}.auth-form .primary{color:#fff;font:inherit;cursor:pointer;background:#0aa9ce;border:0;border-radius:5px;justify-content:center;align-items:center;gap:8px;margin-top:6px;padding:11px;font-weight:600;display:flex}.auth-form .primary:disabled{opacity:.6;cursor:not-allowed}.auth-switch{color:#078cad;font:inherit;cursor:pointer;background:0 0;border:0;width:100%;padding:14px 0 0}
