:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#203342;background:#f3f6f8;font-synthesis:none;font-size:14px;--teal:#126d80;--dark:#102b38;--border:#dfe7eb;--muted:#6c7d88}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #62bcd1;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #389bb1;outline-offset:1px}a{color:var(--teal)}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.8px;margin-bottom:8px}h2{font-size:18px;letter-spacing:-.25px}h3{font-size:15px}.muted{color:var(--muted)}.tiny{font-size:12px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.8px;color:var(--teal);font-weight:700;margin-bottom:10px}.layout{display:grid;grid-template-columns:230px 1fr;min-height:100dvh}.sidebar{background:var(--dark);color:white;display:flex;flex-direction:column;padding:30px 20px;position:fixed;inset:0 auto 0 0;width:230px}.brand{display:flex;align-items:center;gap:10px;margin-bottom:44px}.brand img{width:40px;height:40px}.brand strong{font-size:18px;letter-spacing:.2px}.brand small{display:block;font-size:10px;letter-spacing:3px;color:#a2c2cc;margin-top:4px}.navlabel{font-size:10px;letter-spacing:1.6px;color:#81a1ae;margin:0 12px 13px}.navitem{background:#214757;border:1px solid #315766;border-radius:9px;color:white;padding:14px;display:flex;gap:12px;align-items:center;text-align:left;font-weight:600}.sidebar .bottom{margin-top:auto;border-top:1px solid #2a4550;padding:22px 8px 0}.userdot{width:32px;height:32px;background:#385969;border-radius:50%;display:grid;place-items:center}.userrow{display:flex;gap:9px;align-items:center;margin-bottom:14px}.logout{color:#bed1d9;background:none;border:0;padding:0}.workspace{grid-column:2}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 38px;gap:15px}.topbar span{font-size:12px;color:var(--muted)}.pill{padding:6px 10px;border-radius:20px;font-size:11px;background:#e8f5ee;color:#247d55;display:inline-flex;align-items:center;gap:6px;font-weight:600}.pill:before{content:'';height:6px;width:6px;border-radius:50%;background:currentColor}.pill.separando{background:#e9f2fa;color:#2b729d}.pill.conferencia_nomus,.pill.enviando{background:#fff1d9;color:#926013}.page{max-width:1400px;padding:34px 38px 70px;margin:auto}.pagehead{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:28px}.pagehead p{color:var(--muted);line-height:1.6;margin-bottom:0}.button{border:1px solid transparent;border-radius:8px;background:var(--teal);color:#fff;padding:12px 18px;min-height:44px;display:inline-flex;gap:8px;align-items:center;justify-content:center;text-decoration:none;font-weight:600;white-space:nowrap}.button svg{width:18px;height:18px}.button.secondary{background:#fff;border-color:var(--border);color:#3b5361}.button.ghost{background:transparent;color:var(--teal);border:0;padding-left:0}.button.danger{background:#fff1f1;color:#b43b3b;border-color:#f1cdcd}.button.small{font-size:12px;padding:8px 11px;min-height:36px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px}.stat{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px 22px;display:flex;justify-content:space-between;align-items:center}.stat small{display:block;color:var(--muted);margin-bottom:10px}.stat b{font-size:28px;font-weight:650}.iconbox{height:44px;width:44px;border-radius:10px;background:#e9f4f6;color:var(--teal);display:grid;place-items:center}.iconbox svg{width:22px;height:22px}.card{background:white;border:1px solid var(--border);border-radius:12px;margin-bottom:20px;overflow:hidden}.cardhead{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--border);padding:20px 22px}.cardhead h2{margin:0}.cardbody{padding:22px}.row{display:flex;align-items:center;gap:12px}.searchform{display:flex;gap:10px}.searchform input{min-width:0;flex:1}input,select,textarea{background:#fff;border:1px solid #d5e0e5;border-radius:7px;padding:11px 12px;min-height:44px;color:#263e4c;width:100%}textarea{resize:vertical}label{display:block;font-size:12px;font-weight:600;margin-bottom:7px}.field{margin-bottom:18px}.help{font-size:12px;color:var(--muted);line-height:1.6;margin-top:7px}.divider{height:1px;background:var(--border);margin:22px 0}.empty{text-align:center;padding:50px 20px}.empty .iconbox{margin:0 auto 18px;width:56px;height:56px}.empty p{color:var(--muted);line-height:1.7;max-width:430px;margin:0 auto}.orders{width:100%;border-collapse:collapse}.orders th{color:var(--muted);background:#f9fbfc;font-size:11px;font-weight:600;letter-spacing:.4px;text-align:left;padding:13px 22px}.orders td{padding:18px 22px;border-top:1px solid #edf1f4;font-size:13px}.orders td strong{display:block;margin-bottom:5px}.orders tr[data-id]{cursor:pointer}.orders tr[data-id]:hover{background:#f4fafb}.order-mobile{display:none}.back{margin-bottom:12px}.orderhead{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.orderhead h1{margin:0}.steps{display:flex;gap:0;margin:24px 0}.step{display:flex;gap:8px;align-items:center;flex:1;color:#82909a;font-size:12px}.step b{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;border:1px solid #cedce2}.step.active{color:var(--teal);font-weight:600}.step.active b{background:var(--teal);color:#fff;border-color:var(--teal)}.detailgrid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.product{padding:20px 22px;border-bottom:1px solid #edf1f4}.product:last-child{border-bottom:0}.product-top{display:flex;justify-content:space-between;align-items:start;gap:15px}.product-code{font-size:11px;color:var(--teal);font-weight:700;margin-bottom:5px}.product h3{margin-bottom:12px;line-height:1.5}.product-total{text-align:right;white-space:nowrap;font-size:17px}.product-total small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.progress{background:#edf2f5;border-radius:5px;height:5px;overflow:hidden}.progress i{display:block;background:#229088;height:100%;border-radius:5px}.item-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:7px}.pack{padding:14px 22px;border-bottom:1px solid #edf1f4;display:flex;gap:12px;align-items:flex-start}.pack:last-child{border-bottom:0}.pack .packbody{flex:1;min-width:0}.pack p{font-size:12px;color:var(--muted);margin:5px 0 8px;line-height:1.5}.pack select{padding:7px;min-height:34px;font-size:12px;max-width:210px}.pack .remove{background:none;border:0;color:#9c5555;min-height:36px;min-width:36px}.box-tag{display:inline-flex;padding:9px 12px;border:1px solid #d9e7ec;border-radius:8px;gap:8px;align-items:center;font-size:12px}.boxes{display:flex;flex-wrap:wrap;gap:8px;padding:18px 22px}.box-tag button{border:0;background:transparent;color:#a06363;padding:0 2px}.summary{background:#f5fafb;padding:14px;border-radius:8px}.summary .summaryrow{display:flex;justify-content:space-between;gap:8px;margin:10px 0;color:#526975}.summary .summaryrow:last-child{border-top:1px solid #dce7eb;padding-top:12px;color:#203b49;font-weight:700}.full{width:100%}.notice{border:1px solid #e7d8b3;background:#fffaed;color:#89662a;padding:14px 16px;border-radius:8px;line-height:1.6;margin:16px 0;font-size:12px}.notice.info{background:#eef7fa;border-color:#cfebf0;color:#356e7d}.notice.success{background:#edf9f1;border-color:#c4e7ce;color:#2d7044}.inline-error{color:#b43b3b;font-size:13px;line-height:1.5;margin:12px 0}.modalhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modalhead h2{margin:0}.close{border:0;background:#f0f4f6;border-radius:50%;width:32px;height:32px;font-size:22px;color:#536a77}dialog{border:1px solid var(--border);border-radius:15px;padding:25px;max-width:510px;width:calc(100% - 28px);max-height:92dvh;overflow:auto;box-shadow:0 20px 80px #102b3833}dialog::backdrop{background:#102b3877;backdrop-filter:blur(2px)}.twofields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.scanarea{background:#102b38;border-radius:10px;overflow:hidden;margin:12px 0;position:relative}video{width:100%;max-height:270px;display:block}.camera-actions{display:flex;gap:8px;flex-wrap:wrap}.filebutton{cursor:pointer;margin:0}.filebutton input{display:none}.auth{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.authart{background:var(--dark);color:white;padding:60px;display:flex;flex-direction:column;justify-content:space-between}.authart .brand{margin:0}.authart h1{font-size:45px;line-height:1.15;letter-spacing:-1.3px;max-width:440px}.authart p{color:#a1becb;font-size:16px;line-height:1.8;max-width:420px}.authform{padding:35px;display:flex;align-items:center;justify-content:center}.authform>div{width:100%;max-width:360px}.authform h1{margin-bottom:12px}.authform form{margin-top:28px}.authfooter{font-size:11px;color:var(--muted);line-height:1.6;margin-top:25px}.loading{display:grid;min-height:100dvh;place-items:center;color:var(--teal)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:#173d4c;color:#fff;padding:14px 21px;border-radius:9px;z-index:10;max-width:90%;box-shadow:0 8px 30px #1234;opacity:0;pointer-events:none;transition:all .2s}#toast.show{opacity:1;transform:translate(-50%,0)}.mobilebrand{display:none}.scanfloat{display:none}.checklist{list-style:none;padding:0}.checklist li{padding:9px 0;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;gap:12px;font-size:13px}.checklist li span{color:var(--muted)}.rightlinks{display:flex;gap:8px;flex-wrap:wrap}.onlydesktop{display:block}
@media(min-width:1500px){.page{padding-top:44px}.stats{gap:22px}}
@media(max-width:1100px){.layout{grid-template-columns:190px 1fr}.sidebar{width:190px;padding:25px 14px}.page{padding:28px 24px 65px}.topbar{padding:0 24px}.detailgrid{grid-template-columns:minmax(0,1fr) 285px;gap:16px}.orders th,.orders td{padding:15px}.stat{padding:18px}.brand strong{font-size:16px}}
@media(max-width:800px){.layout{display:block}.sidebar{display:none}.workspace{width:100%}.topbar{height:64px;padding:0 18px}.mobilebrand{display:flex;align-items:center;gap:8px;font-weight:700}.mobilebrand img{width:28px;height:28px}.topbar .breadcrumb{display:none}.page{padding:25px 16px 95px}.pagehead{margin-bottom:22px;gap:12px}h1{font-size:25px}.pagehead .button{padding:10px 12px}.stats{gap:8px;margin-bottom:20px}.stat{padding:14px 12px;min-width:0}.stat b{font-size:23px}.stat small{font-size:10px;margin-bottom:8px}.stat .iconbox{display:none}.detailgrid{display:flex;flex-direction:column;gap:0}.detailmain,.detailside{width:100%}.cardhead,.cardbody{padding:18px}.orders{display:none}.order-mobile{display:block}.order-entry{padding:18px;border-bottom:1px solid var(--border);cursor:pointer}.order-entry:last-child{border:0}.order-entry .entrytop{display:flex;justify-content:space-between;margin-bottom:10px}.order-entry strong{font-size:15px}.order-entry p{font-size:13px;line-height:1.5;margin-bottom:10px}.entrymeta{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.searchform{flex-wrap:wrap}.searchform input{width:100%;flex-basis:100%}.searchform .button{width:100%}.product,.pack{padding:18px}.steps{margin:20px 0}.step{font-size:11px;gap:6px}.step b{width:23px;height:23px}.product-total{font-size:16px}.scanfloat{position:fixed;bottom:16px;left:16px;right:16px;display:flex;z-index:3;box-shadow:0 6px 22px #126d8033;min-height:52px}.desktopscan{display:none}.onlydesktop{display:none}.auth{display:block}.authart{padding:25px;min-height:200px}.authart h1{font-size:29px;max-width:300px;margin:25px 0 0}.authart p,.authart .authartfoot{display:none}.authform{padding:30px 24px}.authform h1{font-size:24px}.authform>div{max-width:420px}.card{border-radius:10px;margin-bottom:16px}.empty{padding:36px 18px}dialog{padding:20px}.rightlinks .button{font-size:11px;padding:8px 10px}.notice{font-size:12px}.back{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.box-tag svg{width:17px;height:17px;flex-shrink:0}
.navitem svg{width:22px;height:22px;flex-shrink:0}
.remaining{font-weight:700;color:#126d80}
.dispatch-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--border)}.dispatch-entry:last-child{border:0}.dispatch-entry p{margin:7px 0;font-size:13px;color:var(--muted)}
@media(max-width:800px){.dispatch-entry{padding:18px;align-items:start;flex-wrap:wrap}.dispatch-entry .button{width:100%}}
.history-reason{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:800px){.pagehead:has(#scan-outgoing-document){flex-wrap:wrap}.pagehead:has(#scan-outgoing-document) .rightlinks{width:100%}.pagehead:has(#scan-outgoing-document) .rightlinks .button{flex:1;white-space:normal}#dispatch-search{flex-wrap:wrap}#dispatch-query{flex-basis:100%}#return-expedition{white-space:normal}.cardhead:has(#return-expedition){flex-wrap:wrap}}
