body{background:#fff;font-family:'Segoe UI',Arial,sans-serif;color:#262626}.access-top{background:#a3383b;color:#fff}.access-top>div{height:34px;display:flex;align-items:center;gap:25px;padding:0 20px;font-size:12px}.access-top>div>strong{margin-left:auto}.access-top nav{display:flex;align-items:center;flex-wrap:wrap;padding:0 12px}.access-top button{background:transparent;border:0;color:white;padding:10px 14px}.access-top button:hover,.access-top button.chosen{background:#79272b}.access-top button.account-switch{margin-left:auto;background:#fff;color:#8d292d;font-weight:600;border-radius:3px;padding:7px 20px;margin-right:8px}.commandbar{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#f1f1f1;border-bottom:1px solid #ccc}.commandbar button,.enterprise button{border:1px solid #b7b7b7;background:linear-gradient(#fff,#eee);padding:7px 12px;color:#333;border-radius:2px}.commandbar .muted{margin-left:auto;font-size:12px}.objecttabs{display:flex;overflow:auto;white-space:nowrap;border-bottom:1px solid #bbb;background:#f5f5f5}.objecttabs button{border:0;border-right:1px solid #ccc;background:#eee;padding:8px 12px}.objecttabs .chosen{background:#fff;border-top:2px solid #a3383b}.enterprise{padding:20px 24px 65px;min-height:calc(100vh - 150px)}.pagehead{display:flex;align-items:center;gap:18px;background:#9ba19e;color:#fff;padding:10px 14px;margin:-4px 0 20px;max-width:1100px}.pagehead h1{font-weight:400;font-size:18px;margin:0}.pagehead .account-label{margin-left:auto;font-size:12px}.module-menu{max-width:500px;background:#fff;border-left:90px solid #8bb4ed;display:flex;flex-direction:column;padding:14px 18px;gap:3px;min-height:220px}.module-menu button{text-align:left;border:0;background:#fff;padding:10px 12px;font-size:14px}.module-menu button:hover{background:#dce9f9}.module-menu span{margin-right:12px;color:#6c7b87}.module-menu b{float:right;font-weight:400}.local-note{max-width:750px;color:#737373;font-size:12px;line-height:1.6;margin-top:30px}.enterprise .panel{box-shadow:none;max-width:1100px;border-color:#b9b9b9}.enterprise .gridform{padding:16px;grid-template-columns:180px minmax(150px,420px);gap:9px 14px}.enterprise .gridform input,.enterprise .gridform textarea,.enterprise .gridform select{padding:6px;border:1px solid #bbb;width:100%}.enterprise form button{margin-top:10px}.enterprise form .tablewrap button{margin:0}.enterprise th{background:#a1b3c6;color:#222}.enterprise td{padding:7px;max-width:350px;white-space:normal}.enterprise td button{padding:4px 8px;margin:2px}.enterprise td select{max-width:230px}.enterprise h3{font-weight:500}.enterprise .stat{min-width:160px;background:#f7f7f7}.enterprise .stat b{font-size:21px}.blue{background:#416d9b!important;border-color:#416d9b!important}footer{position:fixed;bottom:0;left:0;right:0;background:#eee;border-top:1px solid #ccc;padding:6px 18px;font-size:11px;color:#666}#toast{position:fixed;right:25px;bottom:42px;padding:15px 24px;background:#284d38;color:white;border-radius:3px;box-shadow:0 4px 25px #0002;z-index:99}.notice{font-size:12px}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid #4a80b6;outline-offset:1px}@media(max-width:760px){.enterprise{padding:12px 10px 75px}.module-menu{border-left-width:35px}.commandbar{flex-wrap:wrap}.access-top>div span{display:none}.enterprise .gridform{grid-template-columns:1fr}.pagehead{flex-wrap:wrap}.access-top button{padding:8px}.commandbar .muted{display:none}}@media print{header,.commandbar,.objecttabs,footer,.actions,#toast,.pagehead button,button{display:none!important}.enterprise{padding:0}.pagehead{background:white;color:black}table{white-space:normal;font-size:10px}.tablewrap{overflow:visible;border:0}th{position:static}tr{break-inside:avoid}.panel{border:0!important}}
/* Medidas de los formularios de Access del video (1280 × 720). */
body{font-family:Calibri,'Segoe UI',Arial,sans-serif;font-size:11px;color:#111;background:#fff}.access-top>div{height:21px;padding:0 12px;position:relative}.access-top>div b{position:absolute;left:50%;font-size:10px;font-weight:400}.access-top>div>button{padding:0;font-size:13px}.access-top nav{height:22px;padding:0 3px;gap:1px}.access-top nav button{padding:3px 10px;font-size:10px;height:22px}.access-top button.chosen{background:transparent}.access-top button:hover{background:#882e32}.objecttabs{height:17px;min-height:17px;background:#f7f7f7;border-bottom:1px solid #b0b0b0;align-items:stretch}.objecttabs>span{display:flex}.objecttabs button{height:16px;padding:0 6px;background:#f4f4f4;border:1px solid #bbb;border-bottom:0;font-size:9px;color:#88474a}.objecttabs .chosen{border-top:1px solid #a3383b;background:#fff;font-weight:600}.enterprise{padding:0 0 36px;min-height:calc(100vh - 60px);overflow:auto}.pagehead{height:30px;max-width:none;margin:0 0 4px;padding:0 20px 0 70px;background:#d0d3d9;color:#58616b;gap:8px;position:relative}.pagehead:before{content:'▱';position:absolute;left:28px;font-size:24px;color:#89949c}.pagehead h1{font-size:18px;font-weight:400}.pagehead button{font-size:10px;padding:2px 7px}.pagehead .account-label{font-size:10px}.enterprise button,.commandbar button{border-radius:0;padding:2px 6px;font-size:11px;border-color:#b3b3b3;background:linear-gradient(#fafafa,#e5e5e5);color:#111;min-height:18px}.enterprise button.blue{color:#fff}.enterprise .panel{padding:6px;max-width:700px;margin:5px 12px 8px;border:1px solid #aaa;box-shadow:none}.enterprise .gridform{padding:4px;grid-template-columns:170px minmax(100px,245px);gap:3px 5px;max-width:520px}.enterprise .gridform label{font-size:10px}.enterprise .gridform input,.enterprise .gridform textarea,.enterprise .gridform select,.enterprise td input,.enterprise td select,.enterprise .search{font-size:11px;border:1px solid #bcbcbc;border-radius:0;padding:0 2px;min-height:18px;height:18px;background:#fff}.enterprise .gridform textarea{height:46px;min-height:46px}.enterprise .actions{gap:4px;margin:5px 12px 6px}.enterprise .tablewrap{margin:5px 12px;width:max-content;max-width:calc(100% - 24px);min-width:500px;border:1px solid #aaa}.enterprise table{font-size:10px;width:auto;min-width:100%;white-space:nowrap}.enterprise th{background:#c7d5e8;color:#222;padding:2px 5px;font-weight:400;border:1px solid #a9b7c6;height:18px}.enterprise td{padding:1px 5px;white-space:nowrap;border:1px solid #d7d7d7;height:18px;max-width:none}.enterprise td button{padding:0 4px;margin:0;height:17px;min-height:17px}.enterprise tbody tr:nth-child(even){background:#f1f1f1}.enterprise .search{margin:3px 12px 4px!important;max-width:360px!important}.enterprise h3{font-size:11px;font-weight:400;margin:8px 12px}.enterprise p{margin-left:12px}.enterprise .empty{padding:8px}.enterprise .head{height:30px;background:#d0d3d9;padding:0 20px 0 70px;margin-bottom:5px}.enterprise .head h1{font-size:18px;color:#58616b}.enterprise .tabs{margin:0 0 3px;flex-wrap:nowrap;border-bottom:1px solid #aaa}.enterprise .tabs button{font-size:10px;padding:2px 5px;min-height:18px;border:1px solid #ddd;border-bottom:0;background:#eee;white-space:nowrap}.enterprise .tabs button.sel{background:#fff;color:#111;font-weight:400}.menu-screen .pagehead{width:545px;height:38px;background:#9ba19e;color:white;padding-left:120px;justify-content:center;margin-bottom:0}.menu-screen .pagehead:before{display:none}.menu-screen .pagehead h1{font-size:15px;flex:1;text-align:center}.menu-screen .pagehead button{color:white;border:0;background:transparent}.menu-screen .pagehead .account-label{display:none}.module-menu{width:545px;max-width:545px;min-height:280px;border-left:120px solid #8bb4ed;padding:7px 12px;gap:0}.module-menu button{border:0;background:white;font-size:11px;text-align:left;padding:2px 3px;min-height:19px;line-height:15px}.module-menu button:hover{background:#dce9f9}.commandbar{min-height:44px;padding:5px 12px}.commandbar .muted{font-size:10px}footer{padding:1px 3px;height:17px;font-size:9px;background:#f1f1f1}.party-form{width:704px;padding:0 0 0 12px;max-width:none}.party-form>.tabs{margin-bottom:0;overflow:visible}.party-body{border:1px solid #999;border-top:0;width:692px;min-height:308px;padding:6px 7px}.party-body [hidden]{display:none!important}.party-columns{display:grid;grid-template-columns:366px 252px;gap:20px}.party-field{display:grid;grid-template-columns:171px 193px;gap:2px;align-items:center;margin-bottom:2px}.party-field label{font-size:10px;line-height:14px;white-space:nowrap}.party-field input,.party-field textarea,.party-body>section>textarea{font:11px Calibri,'Segoe UI',Arial,sans-serif;border:1px solid #bbb;border-radius:0;padding:0 2px;height:16px;min-width:0;width:100%;background:#fff}.party-field textarea{height:46px;resize:vertical}.party-columns>div:nth-child(2) .party-field{grid-template-columns:96px 154px}.party-flags{display:flex;gap:50px;margin-top:26px;margin-left:170px}.party-check{display:flex;align-items:center;gap:8px;font-size:10px;min-height:18px}.party-check input{appearance:auto;width:12px;height:12px;margin:0}.party-perceptions .party-check{justify-content:space-between;max-width:185px}.party-columns>.party-perceptions .party-field{grid-template-columns:172px 77px}.party-contact-fields{width:365px}.party-save{margin:4px 0!important}.party-account-notes{display:grid;grid-template-columns:90px 300px;gap:5px;margin:0 0 5px 44px;font-size:10px}.party-account-notes textarea{height:30px;border:1px solid #bbb;font:11px Calibri,Arial}.party-account-card{margin-left:44px;width:180px;border:1px solid #bbb;padding:5px;text-align:center}.account-card-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}.party-account-card>button{display:block;width:100%;margin:3px 0;font-size:10px}.party-account-card dl{margin:8px 0 0}.party-account-card dt{font-size:10px;color:green}.party-account-card dd{margin:2px 0 7px;border:1px solid #999;text-align:right;padding:1px 3px;font-size:11px}.party-account-card dt:nth-of-type(2){color:#005aab}.party-account-card dt:last-of-type{color:red}.party-account-card dd:last-child{color:red}.enterprise .stat{padding:7px;min-width:120px}.enterprise .stat b{font-size:15px}.enterprise .notice{max-width:700px;font-size:10px;padding:5px}.local-note{font-size:10px}
@media(max-width:760px){.enterprise{padding:0 0 36px}.enterprise .gridform{grid-template-columns:170px 245px}.menu-screen .pagehead,.module-menu{max-width:100%;width:545px}.module-menu{border-left-width:120px}.pagehead{min-width:545px}.party-form{transform-origin:top left}.access-top>div b{display:block}.access-top nav button{padding:3px 5px}}
/* Facturación y recibos: distribución compacta del video original. */
.document-form{width:865px;padding:0 18px}.document-top{display:grid;grid-template-columns:294px 174px 150px;gap:12px;align-items:start;margin:6px 0}.doc-field{display:grid;grid-template-columns:108px 186px;gap:2px;align-items:center;margin-bottom:3px;min-height:16px}.doc-field label{font-size:10px;color:#6687ac;white-space:nowrap}.doc-field input,.doc-field select{font:11px Calibri,'Segoe UI',Arial;border:1px solid #aaa;border-radius:0;height:17px;padding:0 2px;min-width:0;width:100%}.document-reference .doc-field{grid-template-columns:90px 84px}.document-reference .doc-field label{font-size:9px}.document-totals{border-left:1px solid #999;padding-left:5px;display:grid;grid-template-columns:40px 98px;align-items:start;font-size:9px;color:#6687ac}.document-totals output{border:1px solid #aaa;color:#111;min-height:18px;text-align:right;padding:1px 3px}.enterprise .document-lines.tablewrap{margin:4px 0;width:838px;max-width:none;min-height:190px}.enterprise .document-lines table{table-layout:fixed;width:100%}.enterprise .document-lines th:nth-child(1){width:128px}.enterprise .document-lines th:nth-child(2){width:240px}.enterprise .document-lines th:last-child{width:26px}.enterprise .document-lines input,.enterprise .document-lines select{width:100%;height:17px;min-width:0;max-width:100%;padding:0;font-size:10px}.document-form .actions{margin-left:0}.receipt-form{width:554px;margin:5px 0 0 18px;font-size:10px}.receipt-top{display:flex;align-items:start;gap:12px;margin-left:84px}.receipt-amounts{display:flex;gap:5px}.receipt-amounts label{display:block;color:#6687ac;font-size:10px;width:83px;white-space:nowrap}.receipt-amounts output{display:block;border:1px solid #aaa;height:16px;text-align:right;color:#111;font-size:11px}.receipt-number{display:grid;grid-template-columns:40px 75px;gap:3px 5px;color:#6687ac}.receipt-number input{width:75px;min-width:0;height:16px;border:1px solid #aaa;border-radius:0;font-size:10px;padding:0}.receipt-party{display:grid;grid-template-columns:84px 202px;margin:3px 0 8px;align-items:center;color:#6687ac}.receipt-party select{height:17px;padding:0;border:1px solid #aaa;font-size:11px;width:100%}.receipt-instruments{width:538px;height:154px;overflow:auto;border:1px solid #aaa;margin-bottom:4px}.receipt-instruments table{width:650px;table-layout:fixed}.receipt-instruments th{background:#a9a9a9;font-size:9px;height:18px}.receipt-instruments th:first-child{width:25px}.receipt-instruments th:nth-child(2){width:106px}.receipt-instruments th:nth-child(3){width:82px}.receipt-instruments th:nth-child(4){width:90px}.receipt-instruments input,.receipt-instruments select{width:100%;height:16px;font-size:10px;padding:0;border:1px solid #aaa;min-width:0}.enterprise .receipt-instruments td{padding:0;height:18px}.receipt-bottom{display:grid;grid-template-columns:242px 274px;gap:8px;margin-top:12px;margin-bottom:7px}.receipt-bottom label{font-size:10px;color:#6687ac;display:block;margin-bottom:2px}.receipt-allocations{border:1px solid #aaa;height:92px;overflow:auto}.receipt-allocations table{table-layout:fixed;width:240px}.receipt-allocations th{font-size:9px;padding:1px 2px}.receipt-allocations th:first-child{width:80px}.receipt-allocations input{width:100%;height:17px;border:1px solid #aaa;font-size:10px;padding:0}.receipt-notes textarea{width:274px;height:88px;border:1px solid #aaa;font:11px Calibri,Arial;resize:vertical}.receipt-form .notice{margin:5px 0;background:#fff;border-color:#ccc}.receipt-form>p{margin-left:0}
/* Nómina del personal: siete solapas y panel fijo como la grabación. */
.hr-form{width:634px;margin:0 0 0 12px}.hr-form .tabs{margin-bottom:0;gap:0}.enterprise .hr-form .tabs button{font-size:9px;padding:2px 3px}.hr-body{width:622px;min-height:293px;border:1px solid #999;border-top:0;padding:12px 12px 8px}.hr-body [hidden]{display:none!important}.hr-columns{display:grid;grid-template-columns:300px 207px;gap:12px}.hr-field{display:grid;grid-template-columns:90px 207px;gap:3px;align-items:center;margin-bottom:3px}.hr-field label,.hr-body>section>label{font-size:9px;color:#758a9f}.hr-field input,.hr-field select{width:100%;min-width:0;height:17px;border:1px solid #bbb;padding:0 2px;border-radius:0;font:11px Calibri,'Segoe UI',Arial}.hr-field output{font-size:10px;background:#eee;border:1px solid #aaa;height:17px;padding:0 3px}.hr-columns>div:nth-child(2) .hr-field{grid-template-columns:106px 98px}.hr-check{display:flex;gap:10px;align-items:center;color:#758a9f;font-size:9px;min-height:18px}.hr-check input{width:12px;height:12px;margin:0}.hr-small{width:296px;margin-bottom:12px}.hr-small .hr-field{grid-template-columns:130px 110px}.hr-detail-grid{height:230px;overflow:auto;border:1px solid #aaa;max-width:100%;margin:3px 0}.hr-detail-grid table{table-layout:fixed;width:100%}.enterprise .hr-detail-grid th{font-size:9px;padding:1px 3px;background:#d2d6dc}.hr-detail-grid th:last-child{width:22px}.hr-detail-grid td{padding:0!important}.hr-detail-grid input{height:17px;width:100%;font:10px Calibri,Arial;border:1px solid #ccc;min-width:0;padding:0 2px}.hr-detail-grid input[type=checkbox]{height:12px;width:12px;display:block;margin:auto}.hr-body [data-personnel-pane=familia] .hr-detail-grid{height:205px}.hr-body [data-personnel-pane=perfil] .hr-detail-grid{height:168px}.hr-form .actions{margin-left:0}
.position-form{width:704px;margin:14px 0 0 28px}.position-form>.hr-field{grid-template-columns:105px 568px}.position-form .hr-field>label{align-self:start;padding-top:2px}.position-form textarea{width:100%;height:50px;border:1px solid #bbb;font:11px Calibri,Arial}.position-form .hr-grid-field{align-items:start}.position-form .hr-detail-grid{margin:0;height:64px}.position-form .hr-grid-field:nth-last-of-type(1) .hr-detail-grid{height:205px}.position-form .hr-detail-grid select{font:10px Calibri,Arial;width:100%;height:17px;border:1px solid #aaa;min-width:0}.training-form{margin:14px 0 0 28px;width:588px}.training-form .hr-columns{grid-template-columns:273px 304px;gap:10px}.training-form .hr-field{grid-template-columns:91px 178px}.training-form .hr-columns>div:nth-child(2) .hr-field{grid-template-columns:107px 193px}.training-form textarea{height:27px;border:1px solid #bbb;font:11px Calibri,Arial;width:100%;resize:vertical}.training-form .actions,.position-form .actions{margin:8px 0}
.enterprise .personnel-list.tablewrap{min-width:0;width:360px}.personnel-list th:first-child{width:30px}.personnel-list th:nth-child(2){width:280px}.personnel-list th:last-child{width:50px}
/* Grillas de proveedores y clientes, conforme a las solapas de la grabación. */
.party-field output{height:16px;font-size:10px;padding:0 2px;border:1px solid #bbb;background:#f4f4f4}.party-detail-grid{height:150px;overflow:auto;border:1px solid #aaa;margin:2px 0 3px;max-width:100%}.party-detail-grid table{table-layout:fixed;width:100%;font-size:10px}.enterprise .party-detail-grid th{font-size:9px;padding:1px 3px;background:#d4d9df;height:17px}.enterprise .party-detail-grid td{padding:0;height:17px}.party-detail-grid th:last-child{width:23px}.party-detail-grid input,.party-detail-grid select{width:100%;height:17px;min-width:0;font:10px Calibri,'Segoe UI',Arial;padding:0 2px;border:1px solid #bbb;border-radius:0;background:white}.party-detail-grid input[type=checkbox]{width:12px;height:12px;display:block;margin:auto}.supplyRows,.thirdPartyRows{height:122px}.supplyRows table,.thirdPartyRows table{min-width:740px}.supplyRows th:nth-child(1),.supplyRows th:nth-child(5),.thirdPartyRows th:nth-child(6){width:40px}.supplyRows th:nth-child(2){width:90px}.supplyRows th:nth-child(3){width:130px}.supplyRows th:nth-child(4){width:220px}.party-subgrid-title{display:block;margin:5px 0 0;font-size:10px}.party-body section>textarea{display:block;width:100%;height:32px;min-height:32px;border:1px solid #bbb;font:11px Calibri,Arial;resize:vertical}.party-body section>label{font-size:10px}.contactRows{height:158px}.contactRows table{min-width:650px}.contactRows th:first-child{width:170px}.customerCodes{height:170px}.customerCodes th:first-child{width:250px}.specialPriceRows{height:150px}.specialPriceRows table{min-width:580px}.customer-form{width:570px}.customer-form .party-body{width:558px;min-height:290px}.customer-form .party-columns{grid-template-columns:280px 240px;gap:8px}.customer-form .party-field{grid-template-columns:118px 160px}.customer-form .party-columns>div:nth-child(2) .party-field{grid-template-columns:90px 150px}.customer-form .party-field label{font-size:9px}.customer-form .party-check{font-size:9px}.customer-form .party-columns>div:nth-child(2) .party-check{justify-content:space-between;max-width:160px}.customer-form .party-account-notes{grid-template-columns:90px 300px;margin-left:20px}.customer-form .party-account-card{margin-left:20px}
.purchase-order-form{width:655px;margin:10px 0 0 24px}.purchase-order-top{display:grid;grid-template-columns:309px 120px;gap:56px;margin:3px 0 7px}.purchase-field{display:grid;grid-template-columns:112px 193px;gap:3px;margin-bottom:3px;align-items:center}.purchase-field label{font-size:10px;color:#758a9f}.purchase-field input,.purchase-field select,.purchase-field textarea{width:100%;min-width:0;border:1px solid #aaa;border-radius:0;height:17px;font:11px Calibri,Arial;padding:0 2px}.purchase-field textarea{height:45px;resize:vertical}.purchase-order-right .purchase-field{grid-template-columns:38px 80px}.purchase-order-right input[name=number]{background:#222;color:white}.purchase-order-right button{float:right}.enterprise .purchase-lines.tablewrap{margin:0;width:622px;min-width:0;max-width:none;height:116px}.purchase-lines table{width:820px;table-layout:fixed}.purchase-lines th:nth-child(1){width:130px}.purchase-lines th:nth-child(2){width:210px}.purchase-lines th:nth-child(7){width:110px}.purchase-lines th:last-child{width:24px}.purchase-lines td input,.purchase-lines td select{width:100%;max-width:100%;min-width:0;height:17px;font-size:10px;padding:0}.purchase-order-form .actions{margin:6px 0}.purchase-order-form>output{font-size:11px;display:block;text-align:right;width:622px}
.enterprise p.source-document{font-size:10px;margin:3px 0 6px;color:#576e86}
/* Factura del proveedor: datos, importes y comprobante en tres bloques. */
.supplier-invoice-form{width:610px;margin:2px 0 0 13px}.supplier-invoice-top{display:grid;grid-template-columns:269px 122px 187px;gap:7px;align-items:start}.supplier-invoice-field{display:grid;grid-template-columns:72px 193px;gap:2px;margin-bottom:3px;align-items:center}.supplier-invoice-field label{font-size:9px;color:#718aa4;overflow-wrap:anywhere;line-height:12px}.supplier-invoice-field input,.supplier-invoice-field select,.supplier-invoice-field textarea{font:11px Calibri,Arial;width:100%;min-width:0;height:16px;border:1px solid #aaa;border-radius:0;padding:0 2px}.supplier-invoice-field textarea{height:50px;resize:vertical}.supplier-invoice-field output{font:10px Calibri,Arial;background:#222;color:white;border:1px solid #bbb;height:16px;width:65px}.supplier-summary-field{display:grid;grid-template-columns:60px 53px;gap:2px;margin-bottom:2px;align-items:center}.supplier-summary-field label{font-size:8px;color:#718aa4}.supplier-summary-field input,.supplier-summary-field output{font:10px Calibri,Arial;width:100%;min-width:0;border:1px solid #aaa;border-radius:0;height:14px;padding:0 1px;text-align:right}.supplier-summary-field output{white-space:nowrap;font-size:9px}.supplier-invoice-reference{border:1px solid #aaa;padding:3px}.supplier-invoice-reference .supplier-invoice-field{grid-template-columns:82px 93px}.supplier-invoice-reference .supplier-invoice-field label{font-size:8px}.supplier-invoice-reference .hr-check{justify-content:center;font-size:9px;height:18px}.enterprise .supplier-invoice-lines.tablewrap{margin:4px 0 0 12px;width:565px;max-width:none;min-width:0;height:240px}.supplier-invoice-lines table{width:760px;table-layout:fixed}.supplier-invoice-lines th:nth-child(1){width:125px}.supplier-invoice-lines th:nth-child(2){width:190px}.supplier-invoice-lines th:last-child{width:23px}.supplier-invoice-lines td input,.supplier-invoice-lines td select{width:100%;min-width:0;max-width:100%;height:17px;padding:0;font-size:10px}.supplier-invoice-form>.actions{margin:5px 12px}.supplier-invoice-bottom{display:grid;grid-template-columns:260px 320px;gap:12px}.supplier-invoice-bottom>div>label{color:#718aa4;font-size:9px}.enterprise .supplier-invoice-bottom .tablewrap{margin:0;width:100%;min-width:0;max-width:100%;height:145px}.supplier-invoice-bottom table{table-layout:fixed;width:100%}.supplier-invoice-bottom th{font-size:9px;padding:1px 2px}.supplier-invoice-bottom td{font-size:9px;white-space:normal}.supplier-invoice-form .source-document{max-width:590px}
/* Identificación pedida: formularios 1 azules, formularios 2 negros. */
.account-1{--account-color:#154f91;--account-border:#0e3c71;--account-soft:#e5effb}.account-2{--account-color:#111;--account-border:#000;--account-soft:#e9e9e9}
.enterprise.account-form>.pagehead{background:var(--account-color);color:#fff;border-bottom:1px solid var(--account-border)}.enterprise.account-form>.pagehead:before{color:#fff}.enterprise.account-form>.pagehead .account-label{color:#fff}.enterprise.account-form>.pagehead button{background:#fff;color:var(--account-color);border:1px solid #fff}
.enterprise.account-form>form{background:var(--account-color);color:#fff;border:1px solid var(--account-border);padding:8px 12px}.enterprise.account-form>form label,.enterprise.account-form>form .hr-check,.enterprise.account-form>form .source-document{color:#fff}.enterprise.account-form>form input,.enterprise.account-form>form select,.enterprise.account-form>form textarea{background:#fff;color:#111}.enterprise.account-form>form output{background:#fff;color:#111}.enterprise.account-form>form>.actions{margin-left:0}.enterprise.account-form th{background:var(--account-color);color:#fff;border-color:#999}.enterprise.account-form td{background:#fff;color:#111}.enterprise.account-form tbody tr:nth-child(even) td{background:var(--account-soft)}.enterprise.account-form .panel{background:var(--account-soft);color:#111;border-color:var(--account-border)}.enterprise.account-form .panel label{color:#111}.enterprise.account-form .stat{border-top:3px solid var(--account-color)}.enterprise.account-form>form .notice{background:#fff;color:#111}.enterprise.account-form .supplier-invoice-bottom>div>label{color:#fff}
.enterprise .party-account-card.account-theme{background:var(--account-color);color:#fff;border-color:var(--account-border)}.enterprise .account-theme .account-card-title{color:#fff}.enterprise .account-theme button{background:#fff;color:var(--account-color);border-color:#bbb}.enterprise .account-theme dd{background:#fff;color:#111;border-color:#ddd}.enterprise .account-theme dt{color:#fff}.enterprise .account-theme dd:last-child{color:#b00020;font-weight:600}
@media print{.enterprise.account-form>form,.enterprise.account-form>.pagehead,.enterprise .party-account-card.account-theme{background:white!important;color:black!important;border:0}.enterprise.account-form>form label,.enterprise.account-form th,.enterprise.account-form>form .source-document{background:white!important;color:black!important}}
.ledger-views{max-width:820px}.ledger-views .statrow{gap:6px;margin:6px 12px}.enterprise .ledger-views .stat{min-width:140px;flex:0 1 220px;padding:6px 9px}.ledger-views .ledger-view-tabs .chosen{background:var(--account-color);color:white;border-color:var(--account-color)}.enterprise .ledger-views>.tablewrap{width:calc(100% - 24px);min-width:0}.ledger-views>.panel.gridform{max-width:450px}
.production-order-form{margin:6px 0 0 28px;width:996px}.production-order-layout{display:grid;grid-template-columns:474px 474px;gap:44px}.production-fields{display:grid;grid-template-columns:76px 274px;gap:3px 2px;align-items:center;max-width:355px}.production-fields label,.production-game label{font-size:9px;color:#718aa4}.production-fields input,.production-fields select,.production-fields textarea,.production-game select{font:11px Calibri,Arial;border:1px solid #aaa;border-radius:0;padding:0 2px;height:17px;min-width:0;width:100%}.production-fields output{font-size:10px;background:#222;color:white;width:70px;height:17px}.production-fields textarea{height:32px;resize:vertical}.production-game{width:275px;margin:6px 0 16px}.production-game label{display:block;margin-bottom:3px}.production-component-panel{margin-top:6px}.enterprise .production-component-panel>.tablewrap{margin:0;width:474px;min-width:0;max-width:100%;height:240px}.production-component-panel table{table-layout:fixed;width:100%;font-size:9px}.production-component-panel th{font-size:9px!important;padding:2px!important;background:#a8a8a8!important}.production-component-panel th:nth-child(2){width:170px}.production-component-panel td{white-space:normal!important;font-size:10px}.production-order-form>.actions{margin:8px 0}
.production-part-form{margin:10px 0 0 28px;max-width:660px}.production-part-form .production-fields{grid-template-columns:130px 274px;max-width:407px}.production-part-form .actions{margin-left:0}.production-part-form .production-component-panel>.tablewrap{height:180px}.production-part-form p{margin-left:0;font-size:10px}

.production-part-form fieldset.production-fields{border:0;padding:0;margin:0;min-width:0}

.production-parts-list{max-width:660px}
.production-parts-list table{font-size:11px;table-layout:fixed;width:100%}
.production-parts-list th,.production-parts-list td{padding:2px 4px;height:21px}
.production-parts-list th:nth-child(1){width:48px}
.production-parts-list th:nth-child(2){width:88px}
.production-parts-list th:nth-child(3){width:56px}
.production-parts-list th:nth-child(4){width:165px}
.production-parts-list td button{font-size:10px;padding:1px 5px;margin:0 3px 0 0;min-height:20px}

.production-orders-list{max-width:600px}
.production-orders-list table{font-size:11px;table-layout:fixed;width:100%}
.production-orders-list th,.production-orders-list td{padding:2px 4px;height:21px}
.production-orders-list th:nth-child(1){width:48px}
.production-orders-list th:nth-child(2){width:145px}
.production-orders-list th:nth-child(3){width:85px}
.production-orders-list td button{font-size:10px;padding:1px 5px;margin:0 3px 0 0;min-height:20px}
.production-order-form>p{font-size:11px;margin:8px 0}

.third-party-work-list table{min-width:1550px;table-layout:fixed;font-size:10px}
.third-party-work-list th,.third-party-work-list td{white-space:normal!important;padding:3px 4px}
.third-party-work-list th:nth-child(1){width:40px}
.third-party-work-list th:nth-child(4){width:50px}
.third-party-work-list th:nth-child(6),.third-party-work-list th:nth-child(7),.third-party-work-list th:nth-child(10){width:175px}
.third-party-work-form{max-width:820px}
.third-party-work-form input[type=checkbox]{width:16px;height:16px;justify-self:start}

.production-operations{border:0;padding:0;margin:14px 0 0;width:502px;max-width:100%;min-width:0}
.production-operations legend{font-size:10px;color:#718aa4;padding:0 0 3px}
.production-operations>.tablewrap{margin:0!important;height:180px;max-width:100%}
.production-operations table{table-layout:fixed;width:100%;font-size:10px}
.production-operations th{background:#a8a8a8!important;padding:2px!important;font-size:9px!important}
.production-operations th:first-child{width:45px}
.production-operations th:nth-child(2){width:45px}
.production-operations th:last-child{width:25px}
.production-operations td{padding:1px!important;height:20px}
.production-operations input{width:100%;min-width:0;border:1px solid #bbb;border-radius:0;font-size:11px;padding:1px 2px;height:18px}
.production-operations button{font-size:10px;min-height:18px;padding:1px 4px}
.production-operations:disabled input{color:#333;background:#f2f2f2}

.productive-panel-actions{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin:28px 0 0 36px}
.productive-panel-actions button{width:205px;border-radius:0;min-height:23px;font-size:10px;padding:3px 6px}

.admin-report-menu{display:flex;align-items:flex-start;gap:40px;margin:8px 0 0 16px}
.admin-report-dates{display:grid;grid-template-columns:60px 115px;gap:12px 4px;margin:8px 16px;width:180px;align-items:center}
.admin-report-menu .admin-report-dates{margin:0}
.admin-report-dates label{font-size:10px}
.admin-report-dates input{font-size:11px;padding:1px;border:1px solid #aaa;border-radius:0;height:22px;min-width:0;width:115px}
.admin-report-buttons{display:flex;flex-direction:column;gap:10px}
.admin-report-buttons button{width:200px;font-size:10px;border-radius:0;padding:3px;min-height:24px}
.admin-pending-party{max-width:850px;margin:18px 16px;border-bottom:1px solid #a53636;padding-bottom:12px;break-inside:avoid}
.admin-pending-party h3{margin:4px 0}.admin-pending-party>.tablewrap{margin:6px 0!important}

.admin-client-group{max-width:850px;margin:16px}.admin-client-group h3{margin:4px 0}.admin-client-group>.tablewrap{margin:6px 0!important}

.supplier-agent-fields{border-top:1px solid #aaa;margin-top:12px;padding-top:8px}.supplier-agent-fields .party-check{margin-bottom:6px}

.accounting-menu{margin:10px 16px}.accounting-menu .admin-report-dates{margin:0 0 20px}.accounting-buttons{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.accounting-buttons button{width:160px;border-radius:0;font-size:11px;min-height:24px;padding:3px}

.receipt-instruments table{min-width:1160px}.receipt-instruments select[aria-label^="Cheque en cartera"]{min-width:230px}

.bank-form{margin:8px 0 0 28px;width:760px;max-width:95%}.bank-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.bank-fields{display:grid;grid-template-columns:104px 1fr;gap:4px;align-items:center}.bank-fields label{font-size:10px}.bank-fields input,.bank-fields select,.bank-fields textarea{font-size:11px;border:1px solid #aaa;border-radius:0;padding:1px 3px;min-width:0;width:100%;height:22px}.bank-fields input[type=checkbox]{width:14px;height:14px}.bank-fields textarea{height:38px}.bank-list table{min-width:1500px;font-size:10px}.bank-list td{white-space:normal!important}

/* Preserve the compact desktop layout and reflow forms on smaller screens. */
@media screen and (max-width: 1050px) {
  .enterprise > form,
  .enterprise .party-body,
  .enterprise .hr-body {
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  .enterprise > form {
    margin: 8px 12px;
    padding: 8px;
  }

  .enterprise .pagehead,
  .enterprise .head {
    min-width: 0;
    height: auto;
    min-height: 32px;
    flex-wrap: wrap;
    padding-block: 6px;
  }

  .production-order-layout,
  .party-columns,
  .hr-columns,
  .receipt-bottom,
  .supplier-invoice-bottom,
  .bank-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-top,
  .supplier-invoice-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .purchase-order-top {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }

  .enterprise :is(.party-field, .hr-field, .doc-field, .purchase-field,
    .supplier-invoice-field, .supplier-summary-field, .production-fields,
    .receipt-number, .receipt-party, .bank-fields, .party-account-notes) {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    width: auto;
    max-width: 100%;
  }

  .enterprise :is(.tablewrap, .document-lines.tablewrap, .party-detail-grid,
    .hr-detail-grid, .receipt-instruments, .receipt-allocations) {
    min-width: 0;
    max-width: 100%;
    overflow: auto;
  }

  .enterprise > .tablewrap { max-width: calc(100% - 24px); }
  .enterprise .document-lines.tablewrap { width: 100%; }
  .enterprise .document-lines table { min-width: 650px; }
  .enterprise .receipt-instruments { width: 100%; }
  .enterprise .receipt-notes textarea { width: 100%; }
  .enterprise .tabs { overflow-x: auto; }
  .enterprise .tabs button, .objecttabs > * { flex-shrink: 0; }
  .enterprise .party-form > .tabs { overflow-x: auto; }
  .enterprise :is(.actions, .statrow) { flex-wrap: wrap; }
  .enterprise label { white-space: normal; overflow-wrap: anywhere; }
  .enterprise :is(input, select, textarea) { box-sizing: border-box; max-width: 100%; }
}

@media screen and (max-width: 600px) {
  .access-top nav {
    height: auto;
    min-height: 44px;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
  }

  .access-top nav button, .objecttabs button {
    flex-shrink: 0;
    height: auto;
    min-height: 44px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .objecttabs { height: auto; min-height: 44px; }
  .objecttabs > span > button:last-child { min-width: 44px; }
  .enterprise { font-size: 14px; padding-bottom: 24px; }
  .enterprise .pagehead, .enterprise .head { padding-inline: 12px; }
  .enterprise .pagehead::before { display: none; }
  .enterprise .pagehead h1 { font-size: 16px; overflow-wrap: anywhere; }
  .menu-screen .pagehead, .module-menu { width: 100%; max-width: 100%; }
  .module-menu { border-left-width: 12px; }
  .enterprise .module-menu button { font-size: 15px; }
  .enterprise button, .commandbar button { min-height: 44px; font-size: 13px; }
  .enterprise td button { height: auto; min-height: 44px; }
  .enterprise .tabs button, .enterprise .hr-form .tabs button {
    min-height: 44px;
    font-size: 13px;
    padding-inline: 8px;
  }

  .enterprise :is(.gridform, .document-top, .party-columns, .hr-columns,
    .receipt-bottom, .supplier-invoice-top, .supplier-invoice-bottom,
    .purchase-order-top, .production-order-layout, .bank-columns) {
    grid-template-columns: minmax(0, 1fr);
  }

  .enterprise :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
    font-size: 16px;
    min-height: 44px;
    padding: 6px;
  }

  .enterprise :is(.party-field, .hr-field, .doc-field, .purchase-field,
    .supplier-invoice-field, .production-fields, .bank-fields) label { font-size: 12px; }

  .receipt-top { flex-direction: column; margin-left: 0; }
  .receipt-amounts { flex-wrap: wrap; }
  .receipt-amounts label { width: auto; min-width: 82px; }
  .receipt-amounts output { height: auto; min-height: 24px; }
  .party-flags { flex-wrap: wrap; gap: 12px; margin: 12px 0; }
  .party-account-card, .party-account-notes { margin-left: 0; }
  .admin-report-menu { flex-direction: column; gap: 12px; }
  .admin-report-dates { grid-template-columns: 60px minmax(0, 1fr); width: auto; }
  .admin-report-dates input { width: 100%; }
  .enterprise .search { width: calc(100% - 24px); }
  footer { position: static; height: auto; min-height: 17px; }
  #toast { right: 12px; bottom: 12px; max-width: calc(100% - 24px); }
}

@media screen and (max-width: 1050px) {
  .enterprise .position-form > .hr-field,
  .enterprise .party-columns > div:nth-child(2) .party-field,
  .enterprise .party-columns > .party-perceptions .party-field {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }

  .enterprise :is(.party-contact-fields, .hr-small, .production-game) {
    max-width: 100%;
  }

  .purchase-order-form > output {
    width: 100%;
  }

  .enterprise .supplier-invoice-form > .tablewrap {
    max-width: calc(100% - 12px);
  }
}

@media screen and (min-width: 1200px) {
  body { zoom: 1.12; }
}
