/* Dense operational workspace. Servos master dashboard retains its original layout. */
.erp-mode{font-family:Arial,'Segoe UI',sans-serif;font-size:12px;background:#e4eaf0;color:#20384b}.erp-mode .topbar{height:52px;padding:0 16px;border-bottom:3px solid #bb9658}.erp-mode .brand img{width:30px;height:30px;border-radius:5px}.erp-mode .wordmark{font-size:17px}.erp-mode .brand small{font-size:8px;margin-top:1px}.erp-mode .layout{grid-template-columns:190px minmax(0,1fr);min-height:calc(100dvh - 52px)}.erp-mode .sidebar{padding:10px 7px;gap:2px;background:linear-gradient(90deg,#e7edf3,#f6f8fa);border-right:1px solid #aabcca}.erp-mode .sidebar button{padding:8px 9px;min-height:33px;font-size:12px;border-radius:3px}.erp-mode .nav-caption{margin:10px 8px 6px;font-size:9px;letter-spacing:.7px}.erp-mode .nav-separator{margin:9px 4px}.erp-mode .sidebar-note{padding:12px 8px;font-size:10px}.erp-mode .workspace{padding:12px 14px 24px;max-width:none}.erp-mode .breadcrumb{margin-bottom:6px;font-size:10px}.erp-mode .page-head{margin-bottom:10px;gap:10px;min-height:36px}.erp-mode h1{font-size:20px;margin:0}.erp-mode .page-head p{font-size:11px;margin-top:4px}.erp-mode button{border-radius:3px;border-color:#a6b9c8;background:linear-gradient(#fff,#e6edf4);box-shadow:0 1px 1px #2342,inset 0 1px #fff;font-size:12px;padding:6px 10px;min-height:30px;color:#244d6d}.erp-mode button.primary{background:linear-gradient(#3975a1,#245778);border-color:#204a69;color:white;box-shadow:inset 0 1px #75a1bf}.erp-mode button:disabled{opacity:.5;cursor:default}.erp-mode button:hover:not(:disabled){filter:brightness(.97);border-color:#648cac}.erp-mode input,.erp-mode select,.erp-mode textarea{border-radius:2px;border:1px solid #a9bdcb;min-height:30px;font-size:12px;padding:5px 7px;background:#fff;color:#193c55}.erp-mode input:focus,.erp-mode select:focus,.erp-mode textarea:focus{outline:2px solid #5795c255;outline-offset:0;border-color:#397fab}.erp-mode input[readonly]{background:#e9eef3;color:#647688}.erp-mode .panel{border-radius:3px;border-color:#afc1d0;box-shadow:0 1px 3px #173e6112}.erp-mode .panel-head{padding:8px 10px}.erp-mode .toolbar{padding:7px 9px;gap:7px;background:linear-gradient(#fafcfe,#edf2f6)}.erp-mode .toolbar .field{gap:2px;font-size:10px;min-width:125px}.erp-mode .toolbar .field select{max-width:170px}.erp-mode .search input{max-width:340px}.erp-mode .registry-tabs{padding:7px 8px;gap:3px;background:#e7eef5}.erp-mode .tabs button{padding:6px 9px;min-height:30px}.erp-mode th{padding:7px 9px;font-size:10px;letter-spacing:.2px;background:linear-gradient(#eaf1f7,#dce6ef);border-right:1px solid #c4d1dc;border-bottom:1px solid #acbdcb}.erp-mode td{padding:6px 9px;border-right:1px solid #e0e7ed;font-size:12px}.erp-mode td strong{font-size:12px}.erp-mode td small{margin-top:2px;font-size:10px;color:#6c7e8b}.erp-mode tbody tr:nth-child(even){background:#f0f5f9}.erp-mode tbody tr:hover{background:#e3eef7}.erp-mode tbody tr:focus{outline:2px solid #5487b0;outline-offset:-2px}.erp-mode .small{font-size:11px;padding:3px 7px;min-height:25px}.erp-mode .table-scroll{max-height:calc(100dvh - 285px)}.erp-mode .table-footer{padding:7px 10px;font-size:10px}.erp-mode .statusbar{margin-top:8px;font-size:10px}.erp-mode .empty{padding:30px 16px}.erp-mode .pill{padding:3px 6px;border-radius:3px}.erp-mode .hero{padding:12px 14px;margin-bottom:12px;border-radius:3px}.erp-mode .modules{padding:12px;gap:9px}.erp-mode .module{padding:14px;border-radius:3px}.erp-mode dialog{width:min(1080px,calc(100vw - 30px));border-radius:4px;border-color:#819eb5}.erp-mode dialog::backdrop{backdrop-filter:none;background:#152c406b}.erp-mode .dialog-header{padding:9px 13px;background:linear-gradient(#e5edf5,#d5e2ee)}.erp-mode .dialog-header h2{font-size:15px}.erp-mode .dialog-body{padding:12px 14px}.erp-mode .dialog-footer{padding:8px 13px}.erp-mode .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px}.erp-mode .field{gap:4px;font-size:11px}.erp-mode .span2{grid-column:1/-1}.erp-mode .form-note{padding:8px 10px;margin-bottom:10px;border-radius:3px;font-size:11px;line-height:1.5}.erp-mode .sales-edit-row{padding:7px 9px;gap:9px;border-radius:2px;margin-bottom:6px}.erp-mode h3{font-size:13px;margin:14px 0 8px}.erp-mode .registry-card{padding:10px;border-radius:3px;margin-bottom:8px}.erp-mode .registry-card-head{margin-bottom:9px}.erp-mode .registry-form-tabs{padding-bottom:8px;margin-bottom:10px}.erp-mode .registry-check-list{padding:8px;gap:7px;border-radius:2px}.erp-mode input[data-money]{text-align:right;font-variant-numeric:tabular-nums}.number{text-align:right;font-variant-numeric:tabular-nums}.shortage{color:#a14035;font-weight:bold}.record-id{font-size:10px;color:#698090;margin-bottom:9px}.op-state{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;font-size:11px}.led{display:inline-block;width:8px;height:8px;border-radius:50%;border:1px solid #8395a4;background:#bcc7d0;flex-shrink:0}.led.received{background:#5c9bd1;border-color:#3977aa}.led.approved,.led.delivered,.led.closed{background:#65a985;border-color:#3b7e58}.led.picking{background:#e8b459;border-color:#af8034}.led.ready,.led.invoiced{background:#4c9f9d;border-color:#307a78}.led.on_route{background:#a68bc6;border-color:#7c60a1}.led.cancelled,.led.returned{background:#d58378;border-color:#a05248}.op-counters{display:flex;gap:16px;padding:9px 11px;background:#f6f8fb;border-bottom:1px solid #d3dfe8;align-items:center;flex-wrap:wrap}.op-counters>span{display:flex;align-items:center;gap:8px}.op-counters b{font-size:14px}.op-counters>small{margin-left:auto;color:#7c8f9e;font-size:10px}.op-actions{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.op-order-summary{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #c8d6e0;padding:8px 0 11px;margin-bottom:8px}.op-order-summary small{display:block;margin-top:4px;color:#6a7e8e}.receipt-slip{border-top:1px dashed #657b8c;padding:14px 0;margin-top:20px;break-inside:avoid}.document-caption{font-size:10px;font-weight:bold;color:#617989}.op-stop{display:flex;gap:12px;align-items:center;border:1px solid #b7c9d8;background:#f2f6fa;padding:8px 10px;margin-bottom:6px;cursor:grab}.op-stop>span{flex:1}.op-stop small{display:block;color:#688194;margin-top:3px}.op-stop>b{width:27px}.packing-block{break-inside:avoid;margin-bottom:18px}@media(max-width:850px){.erp-mode .layout{display:block}.erp-mode .sidebar{padding:5px;flex-direction:row}.erp-mode .workspace{padding:10px}.erp-mode .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-mode .table-scroll{max-height:65vh}.erp-mode .toolbar .search{min-width:100%}}@media(max-width:540px){.erp-mode .form-grid{grid-template-columns:1fr}.erp-mode .toolbar .field{min-width:100px}.op-stop{gap:6px}.op-stop>small{display:none}.op-counters{gap:9px}.erp-mode .topbar{padding:0 10px}.erp-mode .page-head{flex-wrap:wrap}.erp-mode .brand small{display:none}}@media print{.op-actions,.no-print{display:none!important}.erp-mode td,.erp-mode th{padding:6px;font-size:10px}.erp-mode .table-scroll{max-height:none}.op-counters{border:0}.erp-grid td{white-space:normal}h2{font-size:18px}.receipt-slip{color:black}}
