:root{--bg:#070b12;--bg2:#0b111b;--panel:#101822;--panel2:#131d29;--panel3:#0d141e;--line:#223043;--line2:#2b3a50;--text:#f7fbff;--muted:#92a5bb;--muted2:#6d7f92;--gold:#efbd39;--gold2:#d49a19;--goldSoft:rgba(239,189,57,.16);--green:#20d164;--red:#ff5252;--blue:#4da3ff;--purple:#a65cff;--cyan:#22d3c5;--orange:#ff9c2a;--shadow:0 20px 60px rgba(0,0,0,.36);--radius:18px;--font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}*{box-sizing:border-box}html,body{min-height:100%}body.authx-app{margin:0;background:radial-gradient(circle at 75% -20%,rgba(239,189,57,.12),transparent 35%),linear-gradient(180deg,#070b12 0%,#0a0f17 55%,#070b12 100%);color:var(--text);font-family:var(--font);font-size:14px;font-weight:650}a{text-decoration:none}.authx-shell{min-height:100vh}.authx-rail{position:fixed;z-index:30;left:0;top:0;bottom:0;width:64px;background:#060a10;border-right:1px solid #172334;display:flex;flex-direction:column;align-items:center;padding:13px 9px}.authx-mini-brand{width:42px;height:42px;border:1px solid rgba(239,189,57,.62);border-radius:14px;background:linear-gradient(145deg,#080c12,#111a25);display:grid;place-items:center;color:var(--gold);font-weight:1000;font-size:22px;box-shadow:0 0 0 4px rgba(239,189,57,.06),0 12px 28px rgba(0,0,0,.45)}.rail-nav{display:flex;flex-direction:column;gap:10px;margin-top:25px;width:100%;align-items:center}.rail-btn,.rail-exit{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#dbe7f5;position:relative}.rail-btn:hover,.rail-exit:hover{background:#111a24;color:#fff}.rail-btn.active{background:var(--goldSoft);color:var(--gold);border:1px solid rgba(239,189,57,.42)}.rail-btn.active:before{content:"";position:absolute;left:-10px;top:9px;bottom:9px;width:3px;background:var(--gold);border-radius:0 99px 99px 0}.rail-exit{margin-top:auto;color:#eec250}.authx-sidebar{position:fixed;z-index:25;left:64px;top:0;bottom:0;width:248px;background:linear-gradient(180deg,#111a25,#0d141e);border-right:1px solid #1f2c3e;padding:15px 12px 14px;display:flex;flex-direction:column}.authx-brand{height:40px;display:flex;align-items:center;gap:10px;color:#fff;margin:0 0 18px}.authx-brand-mark{width:30px;height:30px;border-radius:9px;background:#05080c;border:1px solid rgba(239,189,57,.55);color:var(--gold);display:grid;place-items:center;font-weight:1000}.authx-brand-name{font-size:20px;font-weight:950;letter-spacing:-.04em}.authx-brand-name span{color:var(--gold)}.authx-menu{display:flex;flex-direction:column;gap:9px}.authx-menu-item,.authx-menu-sub,.authx-menu-group-title{min-height:38px;border-radius:11px;display:flex;align-items:center;gap:10px;padding:0 12px;color:#d9e4f0;font-weight:850}.authx-menu-item:hover,.authx-menu-sub:hover{background:#162131;color:#fff}.authx-menu-item.active,.authx-menu-sub.active,.authx-menu-group-title{background:linear-gradient(90deg,rgba(239,189,57,.18),rgba(239,189,57,.06));border:1px solid rgba(239,189,57,.36);color:#fff}.authx-menu-group{background:rgba(255,255,255,.025);border-radius:16px;padding:6px}.authx-menu-group-title{color:#fff}.authx-menu-group-title b,.authx-menu-sub b{margin-left:auto;background:var(--gold);color:#111827;border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:1000}.authx-menu-sub{font-size:.92rem;margin-top:4px}.authx-menu-sub i,.authx-menu-item i{color:#c9d8e8}.authx-db-card{margin-top:auto;height:36px;border-radius:11px;border:1px solid #1b2738;background:#080d13;color:#aab8c7;display:flex;align-items:center;gap:7px;padding:0 10px;font-size:.76rem}.authx-db-card em{margin-left:auto;width:8px;height:8px;border-radius:50%;background:#22d164;box-shadow:0 0 14px #22d164}.authx-topbar{position:fixed;z-index:20;left:312px;right:0;top:0;height:58px;background:rgba(7,11,18,.84);backdrop-filter:blur(16px);border-bottom:1px solid #1b2738;display:flex;align-items:center;justify-content:space-between;padding:0 18px;gap:12px}.authx-global-search{height:39px;max-width:650px;flex:1;border:1px solid #233044;background:#0a1018;border-radius:12px;display:flex;align-items:center;gap:10px;padding:0 12px;color:#9aa9ba}.authx-global-search input{background:transparent;border:0;outline:0;color:#dbe7f4;flex:1;font-size:.92rem}.authx-global-search kbd{background:#05080c;border:1px solid #344156;color:#cbd5e1;border-radius:5px;font-size:.7rem}.authx-top-actions{display:flex;align-items:center;gap:8px}.top-pill,.top-icon,.btn-authx-new{height:38px;border-radius:11px;border:1px solid #28374c;background:#101722;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;font-weight:900}.top-icon{width:38px;padding:0;position:relative}.top-icon:hover,.top-pill:hover{border-color:#3a4b65;background:#151f2d;color:#fff}.btn-authx-new{background:linear-gradient(180deg,#f4c74c,#d9a226);border-color:#e2ac31;color:#111827;min-width:106px}.has-badge span{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;border-radius:999px;background:#12c95f;color:#04110a;font-size:.72rem;display:grid;place-items:center}.has-badge.danger span{background:#fb4260;color:#fff}.authx-user{display:flex;align-items:center;gap:8px;color:#fff;padding-left:4px}.authx-user .avatar{width:36px;height:36px;border-radius:50%;background:radial-gradient(circle at 70% 30%,#23d164,#1934a6);display:grid;place-items:center}.authx-user strong{display:block;font-size:.84rem;line-height:1}.authx-user small{display:block;color:#96a6b8;font-size:.68rem}.app-main{margin-left:312px;padding:78px 24px 28px;min-height:100vh}.authx-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px}.authx-page-head h1{font-size:1.85rem;font-weight:950;letter-spacing:-.045em;margin:0}.authx-page-head p{margin:4px 0 0;color:#d9e5f3;font-weight:700}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.metric-grid.kpi-7{grid-template-columns:repeat(7,minmax(0,1fr))}.metric-card{min-height:82px;background:linear-gradient(180deg,#111b27,#0d141e);border:1px solid #223043;border-radius:18px;display:flex;align-items:center;gap:13px;padding:15px;box-shadow:0 14px 35px rgba(0,0,0,.18)}.metric-card .icon{width:43px;height:43px;border-radius:14px;background:rgba(239,189,57,.15);color:var(--gold);display:grid;place-items:center;font-size:1.25rem}.metric-card .value{font-size:1.85rem;line-height:1;font-weight:1000;color:#fff;letter-spacing:-.045em}.metric-card .label,.metric-card .small-caps{font-size:.72rem;color:#b9c9dc;text-transform:uppercase;font-weight:1000;letter-spacing:.055em}.metric-card.success .icon{background:rgba(32,209,100,.14);color:var(--green)}.metric-card.warning .icon{background:rgba(239,189,57,.15);color:var(--gold)}.metric-card.danger .icon{background:rgba(255,82,82,.14);color:var(--red)}.metric-card.blue .icon{background:rgba(77,163,255,.14);color:var(--blue)}.metric-card.purple .icon{background:rgba(166,92,255,.14);color:var(--purple)}.metric-card.cyan .icon{background:rgba(34,211,197,.14);color:var(--cyan)}.panel{background:linear-gradient(180deg,#101822,#0d141e);border:1px solid #223043;border-radius:22px;box-shadow:0 18px 45px rgba(0,0,0,.22);overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 18px;border-bottom:1px solid #1f2d3f}.panel-header h5{color:#fff}.panel-body{padding:17px 18px}.small-caps{font-size:.72rem;color:#9eb4cc;text-transform:uppercase;font-weight:1000;letter-spacing:.055em}.authx-table{width:100%;border-collapse:separate;border-spacing:0}.authx-table th{padding:10px 12px;color:#9eb4cc;font-size:.74rem;text-transform:uppercase;font-weight:950;border-bottom:1px solid #203044}.authx-table td{padding:12px;border-bottom:1px solid #182536;vertical-align:middle;color:#eaf2fb}.authx-table tbody tr:hover{background:rgba(255,255,255,.025)}.material-cell{display:flex;align-items:center;gap:12px;min-width:250px}.material-thumb{width:48px;height:48px;border-radius:14px;background:#f7fafc;color:#1b293b;display:grid;place-items:center;font-size:1.45rem;box-shadow:inset 0 0 0 1px #d7e0ea}.material-cell strong{display:block;color:#fff}.material-cell small{color:#9aaec4}.soft-pill,.status-pill,.code-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:900;background:#152131;border:1px solid #2a3a51;color:#cde0f4;white-space:nowrap}.code-badge{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.status-pill.success,.status-pill.green{background:rgba(32,209,100,.12);border-color:rgba(32,209,100,.35);color:#4def83}.status-pill.warning,.status-pill.yellow{background:rgba(239,189,57,.13);border-color:rgba(239,189,57,.4);color:#ffd15c}.status-pill.danger,.status-pill.red{background:rgba(255,82,82,.13);border-color:rgba(255,82,82,.42);color:#ff7070}.status-pill.blue{background:rgba(77,163,255,.14);border-color:rgba(77,163,255,.4);color:#7bbcff}.btn,.form-control,.form-select{font-weight:850}.form-label{color:#aabbd0;font-weight:900;font-size:.78rem}.form-control,.form-select{background:#0a111b!important;border:1px solid #26364c!important;color:#eef6ff!important;border-radius:13px;min-height:42px}.form-control::placeholder{color:#6e8197}.form-control:focus,.form-select:focus{border-color:rgba(239,189,57,.65)!important;box-shadow:0 0 0 .2rem rgba(239,189,57,.12)!important}.btn-hero,.btn-orange{background:linear-gradient(180deg,#f4c74c,#d9a226);border-color:#e2ac31;color:#111827;border-radius:13px;font-weight:1000}.btn-hero:hover,.btn-orange:hover{filter:brightness(1.04);color:#111827}.btn-soft{background:#101722;border:1px solid #2a3a51;color:#e8f1fb;border-radius:13px;font-weight:900}.btn-soft:hover{background:#162235;color:#fff}.btn-light{border-radius:13px;font-weight:900}.btn-outline-light{border-radius:13px;font-weight:900}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.scan-hint{color:#9eafc2}.scan-hint kbd{background:#05080c;border:1px solid #344156;color:#e9f3ff}.scan-field{min-width:260px}.scan-field label{display:block;color:#9eb4cc;font-weight:950;font-size:.78rem;margin-bottom:6px}.scan-field-row{display:flex;align-items:center;gap:8px}.scan-field-row input{flex:1}.scan-camera-btn{width:42px;height:42px;min-width:42px;border-radius:12px;border:1px solid rgba(239,189,57,.65);background:rgba(239,189,57,.09);color:#ffe08a;display:grid;place-items:center}.scan-camera-btn:hover{background:rgba(239,189,57,.18);color:#fff}.scan-microcopy{font-size:.86rem;color:#c0ccda;line-height:1.35}.scan-microcopy strong{color:#fff}.scan-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(250px,360px) 170px;gap:12px;align-items:end}.search-tabs{display:flex;gap:8px;margin-bottom:12px}.search-tab{border:1px solid #2a3a51;background:#0c131d;color:#dce7f4;border-radius:12px;padding:10px 14px;font-weight:950}.search-tab.active{border-color:rgba(239,189,57,.58);background:rgba(239,189,57,.12);color:#fff}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px}.side-stack{display:flex;flex-direction:column;gap:12px}.mini-list{display:flex;flex-direction:column;gap:10px}.mini-item{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #1c293b;color:#eaf2fb}.mini-item:last-child{border-bottom:0}.mini-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(239,189,57,.18);border:1px solid rgba(239,189,57,.42);color:#ffd465;font-size:.75rem;font-weight:1000}.mini-item strong{display:block;color:#fff}.mini-item small{display:block;color:#98aac0}.mini-right{margin-left:auto;text-align:right;color:#cbd7e5}.alert-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #1c293b;padding:10px 0;color:#eaf2fb}.alert-row:last-child{border-bottom:0}.alert-row i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center}.alert-row.danger i{background:rgba(255,82,82,.14);color:#ff7070}.alert-row.warning i{background:rgba(239,189,57,.14);color:#ffd15c}.alert-row.blue i{background:rgba(77,163,255,.14);color:#7bbcff}.alert-row .bi-chevron-right{margin-left:auto;color:var(--gold)}.quick-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.quick-mini-card{border:1px solid #223043;border-radius:16px;background:#0e1621;padding:13px;color:#eaf2fb}.quick-mini-card h6{font-weight:1000;margin:0 0 8px}.quick-mini-card small{display:block;color:#9aacbf}.mobile-reader-card{border:1px solid rgba(239,189,57,.58);border-radius:18px;background:linear-gradient(135deg,rgba(239,189,57,.08),rgba(255,255,255,.02));padding:14px;display:grid;grid-template-columns:1fr auto;gap:10px}.mobile-reader-card .phone{width:52px;height:76px;border:2px solid var(--gold2);border-radius:14px;display:grid;place-items:center;font-size:1.4rem;color:#fff}.cart-list{display:flex;flex-direction:column;gap:10px}.cart-item{display:grid;grid-template-columns:1fr 92px 42px;gap:10px;align-items:center;border:1px solid #23344a;border-radius:16px;background:#0d1520;padding:10px}.cart-item strong{display:block;color:#fff}.cart-item small{display:block;color:#9aacbf}.empty-state{text-align:center;color:#a7b8ca;padding:28px}.empty-state i{font-size:2rem;color:var(--gold)}.progress-thin{height:5px;border-radius:99px;background:#1e2a3b;overflow:hidden}.progress-thin span{display:block;height:100%;background:linear-gradient(90deg,var(--gold),var(--green));border-radius:99px}.toast-zone{position:fixed;z-index:3000;top:74px;right:18px;display:flex;flex-direction:column;gap:10px}.app-toast{display:flex;align-items:center;gap:10px;width:min(380px,calc(100vw - 32px));padding:12px 14px;border-radius:15px;background:#101722;border:1px solid #28384f;color:#fff;box-shadow:var(--shadow);font-weight:900}.app-toast.success{border-left:5px solid var(--green)}.app-toast.warning{border-left:5px solid var(--gold)}.app-toast.danger{border-left:5px solid var(--red)}.scanner-modal{position:fixed;z-index:4000;inset:0;display:none;align-items:center;justify-content:center;padding:16px}.scanner-modal.open{display:flex}.scanner-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.74);backdrop-filter:blur(8px)}.scanner-card{position:relative;width:min(560px,100%);background:#0b111b;border:1px solid #31435e;border-radius:22px;box-shadow:var(--shadow);overflow:hidden}.scanner-head{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid #223043}.scanner-head button{width:38px;height:38px;border:0;border-radius:12px;background:#111b27;color:#fff}.scanner-video-wrap{position:relative;min-height:360px;background:#020409}.scanner-video-wrap video{width:100%;height:360px;object-fit:cover;display:block}.scan-frame{position:absolute;inset:18%;border:2px solid rgba(255,255,255,.86);border-radius:22px;box-shadow:0 0 0 999px rgba(0,0,0,.25)}.scan-frame span{position:absolute;left:8%;right:8%;top:50%;height:3px;border-radius:99px;background:linear-gradient(90deg,transparent,var(--gold),transparent);animation:scanLine 1.35s ease-in-out infinite}.scanner-status{padding:12px 15px;color:#dce8f6;font-weight:900;text-align:center;background:#0f1724}@keyframes scanLine{0%,100%{transform:translateY(-70px);opacity:.45}50%{transform:translateY(70px);opacity:1}}.receipt{background:#fff;color:#111;padding:18px;border-radius:18px;border:1px dashed #98a2b3;max-width:760px;margin:auto}.receipt-80{max-width:80mm;font-size:12px;padding:8px;border:0;border-radius:0}.print-title{display:none}.login-page{min-height:100vh;background:radial-gradient(circle at top right,rgba(239,189,57,.24),transparent 35%),#070b12;display:grid;place-items:center}.login-card{background:#101822;border:1px solid #223043;border-radius:24px;color:#fff;padding:28px;box-shadow:var(--shadow)}.mobile-topbar{display:none}.authx-offcanvas{background:#0b111b;color:#fff}.mobile-alert-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mobile-alert-strip span{background:#111b27;border:1px solid #223043;border-radius:14px;padding:10px;text-align:center}.mobile-alert-strip strong{display:block;color:#fff}.mobile-alert-strip small{color:#9aacbf}.app-nav .nav-link{color:#dce7f4;border-radius:12px;display:flex;align-items:center;gap:10px}.app-nav .nav-link.active{background:rgba(239,189,57,.14);border:1px solid rgba(239,189,57,.38);color:#fff}.dropdown-menu.authx-dropdown{background:#111b27;border-color:#2a3a51}.authx-dropdown .dropdown-item{color:#eaf2fb;font-weight:850}.authx-dropdown .dropdown-item:hover{background:#1a2636;color:#fff}.table{--bs-table-bg:transparent;--bs-table-color:#eaf2fb;--bs-table-border-color:#1f2d3f;--bs-table-hover-bg:rgba(255,255,255,.03);--bs-table-hover-color:#fff}.text-muted{color:#8fa2b8!important}.alert{border-radius:16px;font-weight:850}.alert-warning{background:rgba(239,189,57,.12);border-color:rgba(239,189,57,.35);color:#ffe29a}.alert-danger{background:rgba(255,82,82,.12);border-color:rgba(255,82,82,.35);color:#ff9d9d}.btn-authx-icon{width:42px;height:42px;border-radius:13px;border:1px solid #2a3a51;background:#111b27;color:#fff;display:grid;place-items:center}.page-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:16px}.ops-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.ops-card{display:flex;gap:12px;align-items:flex-start;border:1px solid #223043;border-radius:18px;background:#101822;color:#eaf2fb;padding:14px}.ops-card i{width:40px;height:40px;border-radius:13px;background:rgba(239,189,57,.13);color:var(--gold);display:grid;place-items:center}.ops-card strong{display:block;color:#fff}.ops-card small{color:#9aacbf}.timeline-mini{display:flex;flex-direction:column;gap:10px}.timeline-mini .item{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid #1c293b;padding-bottom:10px;color:#eaf2fb}.timeline-mini .item:last-child{border-bottom:0}.timeline-mini .bullet{width:10px;height:10px;border-radius:50%;background:var(--gold);margin-top:6px;box-shadow:0 0 0 5px rgba(239,189,57,.12)}
body.authx-light{--bg:#f4f6f9;--panel:#fff;--panel2:#fff;--text:#07111f;--muted:#526476;background:#f4f6f9;color:#07111f}body.authx-light .authx-topbar{background:rgba(255,255,255,.88);border-bottom-color:#d9e0e8}body.authx-light .app-main{background:#f4f6f9}body.authx-light .panel,body.authx-light .metric-card,body.authx-light .quick-mini-card,body.authx-light .cart-item{background:#fff;border-color:#dbe3ed;color:#07111f;box-shadow:0 18px 45px rgba(15,23,42,.08)}body.authx-light .panel-header{border-bottom-color:#e4e9f0}body.authx-light .authx-page-head h1,body.authx-light .panel-header h5,body.authx-light .material-cell strong,body.authx-light .metric-card .value{color:#07111f}body.authx-light .authx-page-head p{color:#44566b}body.authx-light .form-control,body.authx-light .form-select{background:#fff!important;color:#07111f!important;border-color:#d5dee9!important}body.authx-light .authx-table td{color:#172234;border-bottom-color:#e7edf4}body.authx-light .authx-table th{border-bottom-color:#dfe7f0}body.authx-light .soft-pill,body.authx-light .code-badge{background:#f4f7fb;border-color:#dce5ef;color:#34455a}body.authx-light .top-pill,body.authx-light .top-icon,body.authx-light .authx-global-search{background:#fff;color:#07111f;border-color:#d9e0ea}body.authx-light .authx-global-search input{color:#07111f}body.authx-light .table{--bs-table-color:#172234;--bs-table-border-color:#e4e9f0;--bs-table-hover-color:#07111f;--bs-table-hover-bg:#f8fafc}
@media(max-width:1280px){.metric-grid.kpi-7{grid-template-columns:repeat(4,minmax(0,1fr))}.content-grid,.page-split{grid-template-columns:1fr}.authx-user span:not(.avatar){display:none}}
@media(max-width:980px){.authx-rail,.authx-sidebar,.authx-topbar{display:none}.mobile-topbar{display:flex;position:sticky;top:0;z-index:50;height:58px;align-items:center;justify-content:space-between;background:#070b12;border-bottom:1px solid #1b2738;padding:0 12px}.app-main{margin-left:0;padding:18px 12px 28px}.metric-grid,.metric-grid.kpi-7{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.scan-toolbar{grid-template-columns:1fr}.content-grid{grid-template-columns:1fr}.authx-page-head{display:block}.hero-actions{margin-top:12px}.quick-mini-grid,.ops-grid{grid-template-columns:1fr}.authx-table,.authx-table thead,.authx-table tbody,.authx-table tr,.authx-table th,.authx-table td{display:block}.authx-table thead{display:none}.authx-table tr{border:1px solid #233044;border-radius:18px;margin-bottom:12px;padding:10px;background:#0e1621}.authx-table td{border:0;display:flex;justify-content:space-between;gap:15px;padding:7px}.authx-table td:before{content:attr(data-label);color:#91a6bc;font-weight:1000}.material-cell{min-width:0}.toast-zone{left:12px;right:12px;top:68px}.app-toast{width:100%}.scanner-video-wrap,.scanner-video-wrap video{min-height:310px;height:310px}.cart-item{grid-template-columns:1fr 78px 38px}}
@media(max-width:560px){.metric-grid,.metric-grid.kpi-7{grid-template-columns:1fr}.panel-header{align-items:flex-start;flex-direction:column}.mobile-reader-card{grid-template-columns:1fr}.authx-page-head h1{font-size:1.55rem}.toolbar .btn{width:100%}.scan-field{min-width:0}.panel-body{padding:14px}.panel-header{padding:14px}}
@media print{body{background:#fff!important;color:#111!important}.no-print,.authx-rail,.authx-sidebar,.authx-topbar,.mobile-topbar,.toast-zone,.scanner-modal,.offcanvas{display:none!important}.app-main{margin:0!important;padding:0!important}.panel,.metric-card,.receipt{box-shadow:none!important}.panel{border:0!important;background:#fff!important;color:#111!important}.panel .panel-header{padding:0 0 8px}.panel .panel-body{padding:0}.print-title{display:block;margin-bottom:12px}.table thead th{background:#fff!important;color:#111!important}.btn{display:none!important}.receipt{border:0}body.print-80 .app-main{width:80mm;margin:0!important;padding:0!important}body.print-80 .receipt{width:80mm;max-width:80mm;font-size:12px;padding:4mm}body.print-a4 .app-main{width:auto}}

/* Ajuste AuthX Estoque v5: menos colunas, menu colapsável real e leitura melhor em 1366x768 */
html{font-synthesis-weight:none;-webkit-text-size-adjust:100%}
body.authx-app{
    font-family:"Segoe UI",Inter,Roboto,Arial,sans-serif;
    font-size:14px;
    font-weight:500;
    letter-spacing:-.012em;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
}
.authx-sidebar{width:236px;transition:transform .22s ease,opacity .18s ease;will-change:transform}
.authx-topbar{left:300px;transition:left .22s ease}
.app-main{margin-left:300px;transition:margin-left .22s ease;padding:74px 22px 24px;overflow-x:hidden}
.rail-exit{border:0;background:transparent;cursor:pointer}
body.authx-sidebar-collapsed .authx-sidebar{transform:translateX(-106%);opacity:0;pointer-events:none}
body.authx-sidebar-collapsed .authx-topbar{left:64px}
body.authx-sidebar-collapsed .app-main{margin-left:64px}
body.authx-sidebar-collapsed .rail-exit{background:rgba(239,189,57,.12);color:var(--gold)}
.authx-brand-name,.authx-page-head h1,.panel-header h5{font-weight:800;letter-spacing:-.035em}
.authx-menu-item,.authx-menu-sub,.authx-menu-group-title,.btn,.form-control,.form-select,.top-pill,.top-icon,.btn-authx-new{font-weight:700}
.metric-card .value{font-weight:800;letter-spacing:-.035em}
.metric-card .label,.metric-card .small-caps,.small-caps{font-weight:750;letter-spacing:.035em}
.authx-table th{font-weight:750;letter-spacing:.025em}
.material-cell strong,.mini-item strong{font-weight:750}
.metric-card{min-height:74px;padding:13px 14px;border-radius:16px}.metric-card .icon{width:40px;height:40px;border-radius:13px}.metric-card .value{font-size:1.62rem}.metric-card .label{font-size:.68rem}.panel{border-radius:19px}.panel-header{padding:15px 17px}.panel-body{padding:16px 17px}.authx-page-head{margin-bottom:16px}.authx-page-head p{font-weight:600;color:#b9c8d9}.hero-actions .btn{min-height:38px}
.content-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start}.side-stack{min-width:0}.authx-table{min-width:980px}.table-responsive{overflow:auto}.authx-table td{padding:10px 11px}.material-cell{min-width:220px}.material-thumb{width:44px;height:44px;border-radius:12px}.btn-sm.btn-soft,.btn-sm.btn-hero{min-width:34px;height:34px;padding:0;display:inline-grid;place-items:center}.scan-toolbar{grid-template-columns:minmax(260px,1fr) minmax(230px,315px) minmax(128px,160px) minmax(128px,160px) 112px;gap:10px;align-items:end}.scan-field{min-width:0}.scan-field-row{gap:7px}.scan-camera-btn{width:40px;height:40px;min-width:40px}.scan-microcopy{font-size:.8rem;line-height:1.25;align-self:center;margin-bottom:2px}.search-tab{font-weight:750;padding:9px 13px}.quick-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.authx-light{background:#f3f6fa;color:#0b1524}body.authx-light .app-main{background:#f3f6fa}body.authx-light .panel,body.authx-light .metric-card,body.authx-light .mobile-reader-card,body.authx-light .quick-mini-card{background:#fff;border-color:#dbe4ef;box-shadow:0 12px 28px rgba(15,23,42,.08)}body.authx-light .panel-header h5,body.authx-light .authx-page-head h1,body.authx-light .metric-card .value,body.authx-light .material-cell strong,body.authx-light .mini-item strong{color:#061120}body.authx-light .panel-header{border-color:#e4ebf3}body.authx-light .scan-microcopy strong{color:#0b1524}body.authx-light .scan-microcopy,body.authx-light .form-label,body.authx-light .scan-field label{color:#677b91}body.authx-light .authx-table th{color:#71849b}body.authx-light .authx-table td{color:#172234;border-bottom-color:#e7edf4}body.authx-light .mobile-reader-card{background:linear-gradient(135deg,rgba(239,189,57,.11),#fff)}body.authx-light .empty-state{color:#8494a7}

@media(max-width:1500px){
    .metric-grid.kpi-7{grid-template-columns:repeat(4,minmax(0,1fr))}
    .content-grid{grid-template-columns:1fr}
    .side-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
    .side-stack .quick-mini-grid{grid-column:1/-1}
    .scan-toolbar{grid-template-columns:minmax(260px,1fr) minmax(230px,315px) minmax(130px,170px) minmax(130px,170px) 112px}
}
@media(max-width:1180px){
    .metric-grid.kpi-7{grid-template-columns:repeat(3,minmax(0,1fr))}
    .scan-toolbar{grid-template-columns:1fr 1fr}
    .scan-microcopy{grid-column:1/-1;background:rgba(239,189,57,.08);border:1px solid rgba(239,189,57,.22);border-radius:13px;padding:10px 12px}
    .scan-toolbar .d-grid{grid-column:auto}
    .side-stack{grid-template-columns:1fr}
    .side-stack .quick-mini-grid{grid-column:auto;grid-template-columns:repeat(3,minmax(0,1fr))}
    .authx-user span:not(.avatar){display:none}
}
@media(max-width:980px){
    body.authx-sidebar-collapsed .app-main,.app-main{margin-left:0;padding:16px 12px 24px;overflow-x:hidden}
    body.authx-sidebar-collapsed .authx-topbar{left:0}
    .metric-grid,.metric-grid.kpi-7{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .scan-toolbar{grid-template-columns:1fr}.side-stack .quick-mini-grid{grid-template-columns:1fr}
}


/* ===== AuthX Estoque - compactação 1366, gráficos e cupom ===== */
body.authx-app{font-weight:590;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}.authx-page-head{margin-bottom:12px}.authx-page-head h1{font-size:1.62rem}.authx-page-head p{font-size:.9rem}.btn-compact{min-height:36px;padding:0 13px;border-radius:12px;display:inline-flex;align-items:center;gap:7px}.btn-xs{height:30px;padding:0 10px;border-radius:10px;font-size:.78rem}.btn-icon-text{min-height:36px;padding:0 12px;border-radius:12px}.metric-grid.kpi-compact{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.kpi-compact .metric-card{min-height:68px;padding:11px 13px;border-radius:15px}.kpi-compact .metric-card .icon{width:38px;height:38px;border-radius:12px}.kpi-compact .metric-card .value{font-size:1.5rem}.kpi-compact .metric-card .label{font-size:.66rem}.inventory-panel{border-radius:18px}.compact-header{padding:13px 16px}.compact-search{padding:14px 16px}.compact-toolbar{gap:7px}.scan-toolbar.compact{display:grid;grid-template-columns:minmax(240px,1.3fr) minmax(220px,.75fr) auto auto auto;gap:9px;align-items:end}.scan-toolbar.compact .form-label,.scan-field-compact label{font-size:.69rem;margin-bottom:5px}.scan-toolbar.compact .form-control,.scan-toolbar.compact .form-select{min-height:39px;border-radius:12px}.scan-field-compact .scan-camera-btn{width:39px;height:39px;min-width:39px;border-radius:12px}.scan-note{height:36px;padding:0 11px;border:1px solid rgba(239,189,57,.28);border-radius:999px;background:rgba(239,189,57,.08);color:#d8e3ef;display:flex;align-items:center;gap:6px;font-size:.78rem;font-weight:850;white-space:nowrap}.scan-note i{color:var(--gold)}.advanced-filters{grid-column:1/-1;display:grid;grid-template-columns:180px 180px;gap:9px;padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.025)}.advanced-filters[hidden]{display:none!important}.ops-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:0 16px 14px}.ops-chip{min-height:48px;border:1px solid #223043;background:linear-gradient(180deg,#101822,#0c121b);border-radius:14px;color:#dce8f5;display:flex;align-items:center;gap:9px;padding:9px 11px}.ops-chip:hover{color:#fff;border-color:rgba(239,189,57,.4)}.ops-chip i{width:30px;height:30px;border-radius:10px;background:rgba(239,189,57,.12);color:var(--gold);display:grid;place-items:center}.ops-chip strong{font-size:1.08rem;line-height:1;color:#fff}.ops-chip span{font-size:.78rem;color:#9fb0c3;font-weight:800}.ops-chip.warning i{background:rgba(239,189,57,.14);color:var(--gold)}.ops-chip.danger i{background:rgba(255,82,82,.13);color:var(--red)}.ops-chip.blue i{background:rgba(77,163,255,.13);color:var(--blue)}.compact-table{min-width:880px}.compact-table th{padding:8px 10px;font-size:.68rem}.compact-table td{padding:8px 10px}.material-cell.compact{min-width:205px;gap:10px}.material-cell.compact .material-thumb{width:40px;height:40px;border-radius:11px;font-size:1.18rem}.progress-thin{height:4px;background:#162334;border-radius:99px;overflow:hidden;max-width:70px}.progress-thin span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--gold),#20d164)}.table-footer-compact{height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;color:#9eb0c4;font-weight:800}.ops-grid-compact{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.mini-panel{border:1px solid #223043;background:linear-gradient(180deg,#101822,#0d141e);border-radius:15px;min-height:72px;padding:12px;display:flex;align-items:center;gap:10px;box-shadow:0 12px 28px rgba(0,0,0,.16)}.mini-panel>i{width:36px;height:36px;border-radius:12px;background:rgba(239,189,57,.12);color:var(--gold);display:grid;place-items:center;font-size:1.08rem}.mini-panel strong{display:block;color:#fff;font-size:.92rem}.mini-panel small{display:block;color:#9fb0c4;font-size:.76rem}.mini-panel .btn{margin-left:auto;white-space:nowrap}

.report-filter-grid{display:grid;grid-template-columns:140px 140px 150px minmax(170px,1fr) minmax(170px,1fr) 54px;gap:10px;align-items:end}.filter-panel-compact .panel-body{padding:13px 14px}.report-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.report-kpis .metric-card{min-height:66px}.report-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:12px;margin-bottom:12px}.chart-panel{border-radius:17px}.daily-chart{height:210px;display:flex;align-items:end;gap:9px;padding-top:20px}.day-bar{height:160px;flex:1;display:flex;align-items:end;justify-content:center;gap:3px;position:relative;border-bottom:1px solid #26364c}.day-bar .bar{width:10px;border-radius:8px 8px 0 0;display:block;min-height:4px}.day-bar .bar.in{background:linear-gradient(180deg,#42de7a,#15954a)}.day-bar .bar.out{background:linear-gradient(180deg,#f3c44a,#d69418)}.day-bar small{position:absolute;left:50%;transform:translateX(-50%);bottom:-22px;font-size:.68rem;color:#8fa2b8;white-space:nowrap}.chart-legend{display:flex;gap:14px;padding:0 16px 13px;color:#9fb0c4;font-size:.78rem;font-weight:800}.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:5px}.legend-dot.in{background:#42de7a}.legend-dot.out{background:#f3c44a}.bar-list{display:flex;flex-direction:column;gap:10px}.bar-row{display:grid;grid-template-columns:minmax(0,1fr) 42%;gap:12px;align-items:center}.bar-row strong{display:block;color:#fff;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar-row small{display:block;color:#9fb0c4;font-size:.72rem}.bar-row>span{height:10px;border-radius:99px;background:#182536;overflow:hidden}.bar-row>span em{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--gold),#20d164)}.print-report-sheet{margin-top:0}.report-print-summary{display:none}.report-table th,.report-table td{font-size:.84rem;padding:8px 10px}.compact-report-table{padding:0}.compact-report-table .table-responsive{padding:0 14px 14px}

.receipt-head{margin-bottom:12px}.receipt-preview-wrap{display:flex;justify-content:center}.receipt.receipt-modern{width:min(100%,560px);background:#fff;color:#111;border:0;border-radius:18px;padding:18px;box-shadow:0 22px 60px rgba(0,0,0,.18)}.receipt-brand{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;border-bottom:2px solid #111;padding-bottom:10px;margin-bottom:10px}.receipt-logo{width:40px;height:40px;border-radius:12px;background:#111;color:#efbd39;display:grid;place-items:center;font-weight:1000}.receipt-brand h2{font-size:1.05rem;margin:0;font-weight:1000;letter-spacing:-.02em}.receipt-brand small,.receipt-info-grid small,.receipt-table small,.receipt-footer small{display:block;color:#555;font-size:.72rem}.receipt-brand>strong{font-family:ui-monospace,monospace;font-size:.82rem}.receipt-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:10px}.receipt-info-grid div{border:1px solid #d7d7d7;border-radius:10px;padding:6px 8px}.receipt-info-grid strong{font-size:.84rem;line-height:1.15}.receipt-table{width:100%;border-collapse:collapse;margin-top:6px}.receipt-table th{font-size:.72rem;text-transform:uppercase;text-align:left;border-bottom:1px solid #111;padding:6px 0}.receipt-table th:last-child,.receipt-table td:last-child{text-align:right;white-space:nowrap}.receipt-table td{padding:7px 0;border-bottom:1px dashed #aaa;font-size:.83rem;vertical-align:top}.receipt-table tfoot th{border-top:2px solid #111;border-bottom:0;padding-top:8px}.receipt-obs{font-size:.82rem;margin:8px 0}.receipt-checks{display:flex;gap:12px;margin:12px 0 26px;font-size:.78rem}.receipt-checks span{display:flex;align-items:center;gap:6px}.receipt-checks i{width:13px;height:13px;border:1px solid #111;display:inline-block}.receipt-signature{border-top:1px solid #111;text-align:center;padding-top:5px;font-size:.8rem;margin-top:18px}.receipt-footer{text-align:center;margin-top:10px;font-size:.76rem}.receipt-footer strong{display:block}.receipt-80-only{display:none}

body.authx-light .scan-note,body.authx-light .ops-chip,body.authx-light .mini-panel{background:#fff;border-color:#dbe4ef;color:#24364a}body.authx-light .ops-chip strong,body.authx-light .mini-panel strong,body.authx-light .bar-row strong{color:#07111f}body.authx-light .advanced-filters{background:#f8fafc;border-color:#e2e8f0}body.authx-light .progress-thin,body.authx-light .bar-row>span{background:#e8eef5}body.authx-light .day-bar{border-color:#dbe4ef}

@media(max-width:1366px){.app-main{padding:74px 20px 22px}.authx-page-head h1{font-size:1.52rem}.metric-grid.kpi-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.scan-toolbar.compact{grid-template-columns:minmax(230px,1fr) minmax(210px,.78fr) auto auto}.scan-note{display:none}.ops-strip{grid-template-columns:repeat(5,minmax(0,1fr))}.ops-chip{min-height:44px;padding:8px}.ops-chip i{width:28px;height:28px}.ops-chip span{font-size:.72rem}.report-grid{grid-template-columns:1fr}.daily-chart{height:190px}.ops-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1180px){.scan-toolbar.compact{grid-template-columns:1fr 1fr}.scan-toolbar.compact>.btn{width:100%}.advanced-filters{grid-template-columns:1fr 1fr}.ops-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-grid .d-grid{grid-column:1/-1}.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.metric-grid.kpi-compact,.ops-grid-compact,.report-kpis{grid-template-columns:1fr 1fr}.scan-toolbar.compact,.advanced-filters{grid-template-columns:1fr}.ops-strip{grid-template-columns:1fr}.receipt-info-grid{grid-template-columns:1fr}.receipt.receipt-modern{border-radius:14px;padding:14px}.daily-chart{overflow-x:auto}.day-bar{min-width:42px}}
@media(max-width:560px){.metric-grid.kpi-compact,.ops-grid-compact,.report-kpis{grid-template-columns:1fr}.compact-header{align-items:stretch}.compact-toolbar .btn{flex:1}.report-grid{gap:10px}.receipt-brand{grid-template-columns:36px 1fr}.receipt-brand>strong{grid-column:1/-1}.receipt-logo{width:36px;height:36px}}

@page{margin:10mm}@page receipt80{size:80mm auto;margin:0}@media print{body.print-80 .receipt.receipt-modern{page:receipt80}body.print-80 .app-main{width:80mm!important;max-width:80mm!important;padding:0!important}body.print-80 .receipt-preview-wrap{display:block!important}body.print-80 .receipt.receipt-modern{width:80mm!important;max-width:80mm!important;border-radius:0!important;box-shadow:none!important;padding:3.5mm!important;font-size:11.5px!important}body.print-80 .receipt-brand{grid-template-columns:30px 1fr auto;gap:6px;margin-bottom:6px;padding-bottom:6px}body.print-80 .receipt-logo{width:30px;height:30px;border-radius:7px}body.print-80 .receipt-brand h2{font-size:13px}body.print-80 .receipt-info-grid{grid-template-columns:1fr;gap:3px}body.print-80 .receipt-info-grid div{border:0;border-bottom:1px dashed #bbb;border-radius:0;padding:3px 0}body.print-80 .receipt-info-grid small{font-size:9px}body.print-80 .receipt-info-grid strong{font-size:11px}body.print-80 .receipt-table td{font-size:11px;padding:5px 0}body.print-80 .receipt-table th{font-size:10px;padding:4px 0}body.print-80 .receipt-checks{margin:8px 0 22px}body.print-80 .receipt-signature{margin-top:14px}body.print-a4 .receipt.receipt-modern{width:170mm;max-width:170mm}.print-report-sheet{box-shadow:none!important;border:0!important}.report-print-summary{display:block;margin-bottom:8px;font-size:11px}.report-table th,.report-table td{font-size:10px;padding:4px 6px}.report-table .status-pill{border:0!important;background:transparent!important;color:#111!important;padding:0}}

/* Scanner mobile corrigido - câmera sob demanda, botão compacto ao lado do código */
.scan-inline-wrap{display:flex;align-items:stretch;gap:7px;width:100%}.scan-inline-wrap>.form-control{flex:1;min-width:0}.input-group>.scan-camera-btn{border-radius:12px!important;margin-left:6px}.scan-camera-btn{width:40px;height:40px;min-width:40px;border-radius:12px;border:1px solid rgba(239,189,57,.55);background:rgba(239,189,57,.08);color:var(--gold);display:inline-grid;place-items:center;padding:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);transition:.16s ease}.scan-camera-btn:hover{background:rgba(239,189,57,.18);border-color:rgba(239,189,57,.9);color:#fff;transform:translateY(-1px)}.scan-camera-btn:active{transform:translateY(0) scale(.98)}.scan-field-row{display:flex;align-items:stretch;gap:7px}.scan-field-row>.form-control{min-width:0;flex:1}.scanner-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:14px}.scanner-modal.open{display:flex}.scanner-backdrop{position:absolute;inset:0;background:rgba(3,6,10,.76);backdrop-filter:blur(10px)}.scanner-card{position:relative;width:min(560px,calc(100vw - 24px));background:linear-gradient(180deg,#111b27,#080d14);border:1px solid rgba(239,189,57,.35);border-radius:22px;box-shadow:0 30px 100px rgba(0,0,0,.65);overflow:hidden}.scanner-head{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid #223043;color:#fff}.scanner-head button{width:36px;height:36px;border-radius:11px;border:1px solid #2a3a51;background:#101722;color:#fff}.scanner-video-wrap{position:relative;background:#020407;min-height:360px;height:55vh;max-height:520px;display:grid;place-items:center;overflow:hidden}.scanner-video-wrap video{width:100%;height:100%;object-fit:cover;background:#020407}.scanner-video-wrap .scan-frame{position:absolute;inset:16%;border:2px solid rgba(239,189,57,.92);border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.28),0 0 28px rgba(239,189,57,.2);pointer-events:none}.scanner-video-wrap .scan-frame span:before{content:"";position:absolute;left:8%;right:8%;top:50%;height:2px;background:linear-gradient(90deg,transparent,var(--gold),transparent);box-shadow:0 0 18px var(--gold);animation:scanLine 1.4s linear infinite}.scanner-status{padding:12px 14px;color:#d8e5f4;font-weight:850;background:#0b121c;border-top:1px solid #223043}.reader-layout-compact{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,430px);gap:14px;align-items:start}.reader-hero-box{display:flex;align-items:center;gap:14px;border:1px solid #223043;border-radius:18px;background:linear-gradient(135deg,rgba(239,189,57,.12),rgba(255,255,255,.025));padding:16px}.reader-hero-box h4{margin:0;color:#fff;font-weight:950}.reader-hero-box p{margin:4px 0 0;color:#a9b9ca;font-weight:750}.reader-hero-icon{width:54px;height:54px;min-width:54px;border-radius:18px;background:rgba(239,189,57,.14);border:1px solid rgba(239,189,57,.4);display:grid;place-items:center;color:var(--gold);font-size:1.5rem}.scan-result.empty-state{min-height:260px}.mobile-scanner-page .quick-actions-mobile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mobile-scanner-page .action-tile{min-height:58px;border:1px solid #223043;border-radius:14px;background:#101822;color:#e8f1fb;display:flex;align-items:center;gap:10px;padding:10px;font-weight:900}.mobile-scanner-page .action-tile i{width:34px;height:34px;border-radius:11px;background:rgba(239,189,57,.13);color:var(--gold);display:grid;place-items:center}@keyframes scanLine{0%{transform:translateY(-85px);opacity:.35}50%{opacity:1}100%{transform:translateY(85px);opacity:.35}}
body.authx-light .scan-camera-btn{background:#fff8e6;color:#c48a0b;border-color:#e9bd45}body.authx-light .scanner-card{background:#fff;border-color:#e3b23a}body.authx-light .scanner-status{background:#f8fafc;color:#334155;border-color:#e2e8f0}body.authx-light .reader-hero-box,body.authx-light .mobile-scanner-page .action-tile{background:#fff;border-color:#dbe4ef;color:#0b1524}body.authx-light .reader-hero-box h4{color:#0b1524}
@media(max-width:980px){.reader-layout-compact{grid-template-columns:1fr}.scanner-video-wrap{min-height:320px;height:58vh}.scan-inline-wrap,.scan-field-row{gap:6px}.mobile-scanner-page .quick-actions-mobile{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.scanner-modal{padding:0;align-items:stretch}.scanner-card{width:100%;height:100%;border-radius:0;border-left:0;border-right:0;display:flex;flex-direction:column}.scanner-video-wrap{flex:1;height:auto;max-height:none}.scanner-video-wrap .scan-frame{inset:20% 10%}.scan-field-row{flex-wrap:nowrap}.scan-field-row .btn-hero{padding-left:10px;padding-right:10px}.mobile-scanner-page .quick-actions-mobile{grid-template-columns:1fr}}

/* AuthX Estoque - impressão real de cupom/A4: não é zoom, é área de papel */
.print-mode-panel{display:flex;align-items:center;gap:10px;margin:-8px 0 16px;flex-wrap:wrap}.print-mode-chip{height:40px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);display:inline-flex;align-items:center;gap:8px;padding:0 12px;font-weight:900}.print-mode-chip:hover{border-color:var(--gold);color:var(--text)}.print-mode-chip.active{background:var(--goldSoft);border-color:rgba(239,189,57,.65);color:var(--gold)}.print-mode-note{color:var(--muted);font-size:.82rem}.receipt-preview-wrap{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));border:1px solid var(--line);border-radius:20px;padding:18px;display:flex;justify-content:center;overflow:auto}.receipt-preview-wrap.preview-80 .receipt-ticket{width:80mm;max-width:80mm}.receipt-preview-wrap.preview-a4 .receipt-ticket{width:190mm;max-width:190mm}.receipt-ticket{background:#fff!important;color:#111!important;border:0!important;border-radius:8px!important;box-shadow:0 18px 60px rgba(0,0,0,.22)!important;padding:5mm!important;font-family:Inter,Arial,sans-serif}.receipt-brand-ticket{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:8px;border-bottom:1.4px solid #111;padding-bottom:7px;margin-bottom:7px}.receipt-brand-ticket .receipt-logo{width:32px;height:32px;border-radius:8px;background:#111;color:#efbd39;display:grid;place-items:center;font-weight:1000}.receipt-brand-title h2{font-size:14px;margin:0;line-height:1;font-weight:1000;letter-spacing:.02em}.receipt-brand-title small{font-size:9px;color:#555;text-transform:uppercase;letter-spacing:.08em}.receipt-code{text-align:right}.receipt-code span{display:block;font-size:8px;color:#555;text-transform:uppercase}.receipt-code strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;letter-spacing:.06em}.receipt-summary-line{display:grid;grid-template-columns:1fr .55fr .7fr;gap:4px;margin:7px 0}.receipt-summary-line div{border:1px solid #ddd;border-radius:7px;padding:4px 5px}.receipt-summary-line span{display:block;font-size:8px;color:#555;text-transform:uppercase;font-weight:800}.receipt-summary-line strong{font-size:11px}.receipt-info-ticket{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:7px}.receipt-info-ticket div{border:0!important;border-bottom:1px dashed #bbb!important;border-radius:0!important;padding:3px 0!important}.receipt-info-ticket small{display:block;font-size:8px;color:#555;text-transform:uppercase;font-weight:900}.receipt-info-ticket strong{font-size:10.5px;line-height:1.1;word-break:break-word}.receipt-table-ticket{width:100%;border-collapse:collapse;margin-top:4px}.receipt-table-ticket th{font-size:8.5px;text-transform:uppercase;text-align:left;border-top:1.4px solid #111;border-bottom:1px solid #111;padding:4px 0}.receipt-table-ticket td{font-size:10.5px;line-height:1.14;padding:5px 0;border-bottom:1px dashed #b8b8b8;vertical-align:top}.receipt-table-ticket td strong{font-weight:900}.receipt-table-ticket small{display:block;color:#555;font-size:8.5px;margin-top:1px}.receipt-table-ticket .qty-col{text-align:right;width:19mm;white-space:nowrap}.receipt-table-ticket .qty-col small{text-align:right}.receipt-table-ticket tfoot th{font-size:10px;border-top:1.4px solid #111;border-bottom:0;padding-top:6px}.receipt-obs{font-size:9.5px;line-height:1.2;margin:6px 0}.receipt-checks-ticket{display:flex;justify-content:space-between;gap:8px;margin:8px 0 18px;font-size:9px}.receipt-checks-ticket span{display:flex;align-items:center;gap:5px}.receipt-checks-ticket i{width:11px;height:11px;border:1px solid #111;display:inline-block}.receipt-signature-ticket{border-top:1px solid #111;text-align:center;padding-top:4px;margin-top:20px;font-size:9px}.receipt-footer-ticket{text-align:center;margin-top:7px;font-size:8.5px}.receipt-footer-ticket strong{display:block}.receipt-footer-ticket small{display:block;color:#555}

@page authxReceipt80{size:80mm 210mm;margin:0}
@page authxA4{size:A4 portrait;margin:12mm}
@media print{
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;box-shadow:none!important;text-shadow:none!important}
  html,body{background:#fff!important;color:#111!important;min-height:0!important;overflow:visible!important}
  .no-print,.authx-rail,.authx-sidebar,.authx-topbar,.mobile-topbar,.toast-zone,.scanner-modal,.offcanvas,.print-mode-panel,.receipt-head{display:none!important}
  .authx-shell{display:block!important;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important}
  .app-main{display:block!important;margin:0!important;background:#fff!important;min-height:0!important;overflow:visible!important}
  .receipt-preview-wrap{display:block!important;background:#fff!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;overflow:visible!important}
  .receipt-ticket{box-shadow:none!important;border-radius:0!important;color:#111!important;background:#fff!important;break-inside:avoid!important;page-break-inside:avoid!important}
  body.print-80{width:80mm!important;min-width:80mm!important;margin:0!important;padding:0!important}
  body.print-80 .authx-shell,body.print-80 .app-main,body.print-80 .receipt-preview-wrap{width:80mm!important;max-width:80mm!important;margin:0!important;padding:0!important}
  body.print-80 .receipt-ticket{page:authxReceipt80;width:80mm!important;max-width:80mm!important;margin:0!important;padding:3.2mm 3.4mm 4mm!important;font-size:10.5px!important}
  body.print-80 .receipt-brand-ticket{grid-template-columns:28px 1fr auto;gap:6px;padding-bottom:5px;margin-bottom:5px}
  body.print-80 .receipt-brand-ticket .receipt-logo{width:28px;height:28px;border-radius:7px}
  body.print-80 .receipt-brand-title h2{font-size:12px}
  body.print-80 .receipt-brand-title small{font-size:8px}
  body.print-80 .receipt-code strong{font-size:10px}
  body.print-80 .receipt-summary-line{grid-template-columns:1fr .55fr .65fr;gap:3px;margin:5px 0}
  body.print-80 .receipt-summary-line div{padding:3px 4px;border-radius:5px}
  body.print-80 .receipt-summary-line span{font-size:7.5px}
  body.print-80 .receipt-summary-line strong{font-size:10px}
  body.print-80 .receipt-info-ticket{grid-template-columns:1fr;gap:2px;margin-bottom:5px}
  body.print-80 .receipt-info-ticket small{font-size:7.5px}
  body.print-80 .receipt-info-ticket strong{font-size:9.5px}
  body.print-80 .receipt-table-ticket th{font-size:8px;padding:3px 0}
  body.print-80 .receipt-table-ticket td{font-size:9.5px;padding:4px 0}
  body.print-80 .receipt-table-ticket small{font-size:7.5px}
  body.print-80 .receipt-table-ticket .qty-col{width:17mm}
  body.print-80 .receipt-checks-ticket{margin:7px 0 16px;font-size:8.5px}
  body.print-80 .receipt-signature-ticket{margin-top:18px;font-size:8.5px}
  body.print-80 .receipt-footer-ticket{font-size:7.8px}
  body.print-a4 .receipt-ticket{page:authxA4;width:100%!important;max-width:186mm!important;margin:0 auto!important;padding:9mm!important;border:1px solid #d5d5d5!important}
  body.print-a4 .receipt-brand-ticket{grid-template-columns:42px 1fr auto}.print-a4 .receipt-brand-ticket .receipt-logo{width:42px;height:42px}.print-a4 .receipt-brand-title h2{font-size:18px}.print-a4 .receipt-info-ticket{grid-template-columns:repeat(4,1fr)}.print-a4 .receipt-table-ticket th{font-size:10px}.print-a4 .receipt-table-ticket td{font-size:12px}.print-a4 .receipt-table-ticket small{font-size:9.5px}.print-a4 .receipt-signature-ticket{margin-top:30mm}
}

/* AuthX menu v2: módulos separados + submenu contextual */
body.authx-app{font-weight:560;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.rail-nav-v2{gap:8px;margin-top:22px}.rail-item{position:relative;width:100%;display:grid;place-items:center}.rail-btn{overflow:visible}.rail-badge{position:absolute;right:-6px;top:-5px;min-width:17px;height:17px;border-radius:999px;background:#efbd39;color:#111827;font-size:.66rem;font-weight:1000;display:grid;place-items:center;border:2px solid #060a10;line-height:1}.rail-flyout{position:absolute;left:54px;top:-4px;width:236px;padding:10px;border:1px solid rgba(239,189,57,.32);background:linear-gradient(180deg,#111a25,#0b111b);border-radius:16px;box-shadow:0 22px 55px rgba(0,0,0,.42);opacity:0;visibility:hidden;transform:translateX(-6px) scale(.98);transition:.16s ease;pointer-events:none;z-index:120}.rail-flyout:before{content:"";position:absolute;left:-10px;top:20px;width:10px;height:1px;background:rgba(239,189,57,.45)}body.authx-sidebar-collapsed .rail-item:hover .rail-flyout,body.authx-sidebar-collapsed .rail-item:focus-within .rail-flyout{opacity:1;visibility:visible;transform:none;pointer-events:auto}.rail-flyout-title{height:34px;display:flex;align-items:center;gap:9px;color:#fff;font-weight:950;border-bottom:1px solid #1d2a3c;margin-bottom:7px;padding:0 4px 7px}.rail-flyout-title i{color:#efbd39}.rail-flyout-link{min-height:36px;border-radius:11px;display:flex;align-items:center;gap:9px;padding:0 9px;color:#dce8f5;font-weight:820;font-size:.86rem}.rail-flyout-link i{width:18px;color:#9fb1c6}.rail-flyout-link b{margin-left:auto;background:#efbd39;color:#111827;border-radius:999px;padding:1px 7px;font-size:.68rem;font-weight:1000}.rail-flyout-link:hover,.rail-flyout-link.active{background:rgba(239,189,57,.13);color:#fff}.rail-flyout-link.active i{color:#efbd39}
.authx-menu-v2{gap:7px}.authx-menu-section{border-radius:16px;background:rgba(255,255,255,.018);border:1px solid transparent;overflow:hidden}.authx-menu-section.open{background:linear-gradient(180deg,rgba(239,189,57,.065),rgba(255,255,255,.018));border-color:rgba(239,189,57,.16)}.authx-menu-main{min-height:42px;border-radius:14px;display:flex;align-items:center;gap:10px;padding:0 11px;color:#dce8f5;font-weight:900;position:relative}.authx-menu-main>i:first-child{width:30px;height:30px;border-radius:10px;background:#0a111b;border:1px solid #26364c;display:grid;place-items:center;color:#c8d6e5}.authx-menu-main span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.authx-menu-main b{margin-left:auto;background:#efbd39;color:#111827;border-radius:999px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 6px;font-size:.72rem;font-weight:1000}.authx-menu-main em{font-style:normal;margin-left:2px;color:#8798ad;font-size:.78rem}.authx-menu-main:hover{background:#151f2d;color:#fff}.authx-menu-main.active{background:linear-gradient(90deg,rgba(239,189,57,.18),rgba(239,189,57,.05));color:#fff}.authx-menu-main.active>i:first-child{color:#efbd39;border-color:rgba(239,189,57,.42);background:rgba(239,189,57,.08)}.authx-submenu-tree{position:relative;margin:3px 0 8px 25px;padding:3px 0 2px 16px}.authx-submenu-tree:before{content:"";position:absolute;left:0;top:0;bottom:10px;width:1px;background:linear-gradient(180deg,rgba(239,189,57,.7),rgba(239,189,57,.18))}.authx-menu-sub-v2{position:relative;min-height:34px;border-radius:10px;display:flex;align-items:center;gap:9px;padding:0 9px 0 10px;color:#bdcce0;font-weight:780;font-size:.86rem;margin:2px 6px 2px 0}.authx-menu-sub-v2:before{content:"";position:absolute;left:-16px;top:17px;width:13px;height:1px;background:rgba(239,189,57,.44)}.authx-menu-sub-v2 i{width:18px;color:#8ea1b8}.authx-menu-sub-v2 span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.authx-menu-sub-v2 b{margin-left:auto;background:#efbd39;color:#111827;border-radius:999px;padding:1px 7px;font-size:.66rem;font-weight:1000}.authx-menu-sub-v2:hover{background:#162131;color:#fff}.authx-menu-sub-v2.active{background:rgba(239,189,57,.14);color:#fff;border:1px solid rgba(239,189,57,.28)}.authx-menu-sub-v2.active i{color:#efbd39}.authx-db-card span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.authx-sidebar-collapsed .authx-sidebar{transform:translateX(-106%);opacity:0;pointer-events:none}body.authx-sidebar-collapsed .authx-topbar{left:64px}body.authx-sidebar-collapsed .app-main{margin-left:64px}.mobile-menu-v2{display:flex;flex-direction:column;gap:12px}.mobile-menu-group{border:1px solid #223043;border-radius:16px;background:#0d141e;padding:8px}.mobile-menu-title{height:34px;display:flex;align-items:center;gap:9px;color:#fff;font-weight:950;padding:0 6px;border-bottom:1px solid #1d2b3e;margin-bottom:6px}.mobile-menu-title i{color:#efbd39}.mobile-menu-group .nav-link{height:38px;border-radius:11px;color:#dce8f5;font-weight:830;display:flex;align-items:center;gap:9px}.mobile-menu-group .nav-link.active{background:rgba(239,189,57,.14);color:#fff}.mobile-menu-group .nav-link i{color:#9fb1c6}
@media(max-width:1366px){.authx-sidebar{width:232px}.authx-topbar{left:296px}.app-main{margin-left:296px}.authx-menu-main{min-height:39px}.authx-menu-sub-v2{min-height:31px;font-size:.81rem}.authx-submenu-tree{margin-left:24px}.authx-brand{margin-bottom:12px}}
@media(max-width:980px){.rail-flyout{display:none!important}.authx-sidebar,.authx-rail,.authx-topbar{display:none!important}.app-main{margin-left:0!important}}

/* =====================================================================
   AuthX Estoque - revisão visual final desktop/mobile
   Foco: 1366x768, mobile real, contraste de tema e layout compacto.
   ===================================================================== */
:root{
  --ax-bg:#070b12;
  --ax-bg-soft:#0b111b;
  --ax-rail:#05080d;
  --ax-sidebar:#0d141f;
  --ax-panel:#101823;
  --ax-panel-2:#121c29;
  --ax-panel-3:#0a111a;
  --ax-border:#223247;
  --ax-border-soft:#1a2738;
  --ax-text:#edf5ff;
  --ax-heading:#ffffff;
  --ax-muted:#9db0c6;
  --ax-muted-2:#74869b;
  --ax-gold:#efbd39;
  --ax-gold-2:#d99a1e;
  --ax-gold-soft:rgba(239,189,57,.13);
  --ax-green:#31d86d;
  --ax-red:#ff5a64;
  --ax-blue:#5aa9ff;
  --ax-purple:#a977ff;
  --ax-cyan:#25d0c3;
  --ax-radius:16px;
  --ax-shadow:0 18px 48px rgba(0,0,0,.25);
  --ax-rail-w:64px;
  --ax-side-w:236px;
  --ax-top-h:58px;
}

body.authx-app{
  --bg:var(--ax-bg);--panel:var(--ax-panel);--panel2:var(--ax-panel-2);--panel3:var(--ax-panel-3);--line:var(--ax-border);--text:var(--ax-text);--muted:var(--ax-muted);--gold:var(--ax-gold);--goldSoft:var(--ax-gold-soft);
  background:
    radial-gradient(circle at 75% -20%, rgba(239,189,57,.13), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(90,169,255,.08), transparent 26%),
    linear-gradient(180deg,#070b12 0%, #080d15 52%, #060a10 100%) !important;
  color:var(--ax-text);
  font-size:13.5px;
  font-weight:520 !important;
  letter-spacing:0;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
body.authx-light{
  --ax-bg:#f5f7fb;
  --ax-bg-soft:#eef2f7;
  --ax-rail:#ffffff;
  --ax-sidebar:#ffffff;
  --ax-panel:#ffffff;
  --ax-panel-2:#ffffff;
  --ax-panel-3:#f8fafc;
  --ax-border:#dbe4ef;
  --ax-border-soft:#e6edf5;
  --ax-text:#101828;
  --ax-heading:#06111f;
  --ax-muted:#5c6d80;
  --ax-muted-2:#7a8da3;
  --ax-gold-soft:rgba(217,154,30,.13);
  --bg:var(--ax-bg);--panel:var(--ax-panel);--panel2:var(--ax-panel-2);--panel3:var(--ax-panel-3);--line:var(--ax-border);--text:var(--ax-text);--muted:var(--ax-muted);--gold:var(--ax-gold);--goldSoft:var(--ax-gold-soft);
  background:linear-gradient(180deg,#f5f7fb 0%, #eef2f7 100%) !important;
  color:var(--ax-text);
}

a,a:hover{color:inherit}.text-muted{color:var(--ax-muted)!important}.fw-800{font-weight:800}.small-caps{color:var(--ax-muted);font-weight:850;letter-spacing:.045em}.authx-shell{min-height:100vh;isolation:isolate}.no-print{print-color-adjust:exact}

/* Estrutura principal */
.authx-rail{
  width:var(--ax-rail-w);background:var(--ax-rail)!important;border-right:1px solid var(--ax-border-soft)!important;padding:12px 9px;z-index:45;
}
.authx-sidebar{
  left:var(--ax-rail-w);width:var(--ax-side-w);background:linear-gradient(180deg,var(--ax-sidebar),var(--ax-panel-3))!important;border-right:1px solid var(--ax-border)!important;padding:14px 11px;z-index:40;transition:transform .2s ease,opacity .2s ease;
}
.authx-topbar{
  left:calc(var(--ax-rail-w) + var(--ax-side-w));height:var(--ax-top-h);background:rgba(7,11,18,.78)!important;border-bottom:1px solid var(--ax-border-soft)!important;backdrop-filter:blur(16px);padding:0 14px;z-index:35;
}
body.authx-light .authx-topbar{background:rgba(255,255,255,.86)!important}
.app-main{
  margin-left:calc(var(--ax-rail-w) + var(--ax-side-w));padding:76px 18px 24px;max-width:100%;transition:margin-left .2s ease;
}
body.authx-sidebar-collapsed .authx-sidebar{transform:translateX(-104%);opacity:0;pointer-events:none}
body.authx-sidebar-collapsed .authx-topbar{left:var(--ax-rail-w)}
body.authx-sidebar-collapsed .app-main{margin-left:var(--ax-rail-w)}
body.authx-sidebar-collapsed .rail-exit i{transform:rotate(180deg)}

/* Marca e menu */
.authx-mini-brand,.authx-brand-mark{background:linear-gradient(145deg,var(--ax-panel-3),var(--ax-panel-2))!important;border-color:rgba(239,189,57,.55)!important;color:var(--ax-gold)!important;box-shadow:0 0 0 4px rgba(239,189,57,.055)}
.authx-brand{margin-bottom:14px;color:var(--ax-heading)!important}.authx-brand-name{font-weight:920;letter-spacing:-.035em}.authx-menu-v2{gap:7px;overflow-y:auto;overflow-x:hidden;padding-right:1px}.authx-menu-v2::-webkit-scrollbar{width:4px}.authx-menu-v2::-webkit-scrollbar-thumb{background:rgba(239,189,57,.35);border-radius:999px}
.authx-menu-section{border-radius:15px;background:rgba(255,255,255,.018);border:1px solid transparent}.authx-menu-section.open{background:linear-gradient(180deg,rgba(239,189,57,.07),rgba(255,255,255,.015));border-color:rgba(239,189,57,.18)}
.authx-menu-main{min-height:40px;border-radius:13px;padding:0 10px;color:var(--ax-text);font-weight:820}.authx-menu-main>i:first-child{width:29px;height:29px;border-radius:10px;background:var(--ax-panel-3);border:1px solid var(--ax-border);color:var(--ax-muted)}.authx-menu-main.active>i:first-child{color:var(--ax-gold);border-color:rgba(239,189,57,.45);background:var(--ax-gold-soft)}.authx-menu-main.active,.authx-menu-main:hover{background:rgba(239,189,57,.10);color:var(--ax-heading)}
.authx-menu-main b,.authx-menu-sub-v2 b,.rail-badge{background:var(--ax-gold)!important;color:#111827!important}.authx-submenu-tree{margin:3px 0 7px 24px;padding:3px 0 2px 15px}.authx-submenu-tree:before{background:linear-gradient(180deg,rgba(239,189,57,.62),rgba(239,189,57,.12))}.authx-menu-sub-v2{min-height:31px;border-radius:10px;color:var(--ax-muted);font-weight:720;font-size:.82rem;margin:2px 5px 2px 0}.authx-menu-sub-v2.active{background:var(--ax-gold-soft);border-color:rgba(239,189,57,.25);color:var(--ax-heading)}
.rail-btn,.rail-exit{background:transparent;border:1px solid transparent;color:var(--ax-muted)}.rail-btn:hover,.rail-exit:hover{background:var(--ax-panel-2);border-color:var(--ax-border);color:var(--ax-heading)}.rail-btn.active{background:var(--ax-gold-soft)!important;color:var(--ax-gold)!important;border-color:rgba(239,189,57,.38)!important}.rail-flyout{background:linear-gradient(180deg,var(--ax-panel-2),var(--ax-panel-3))!important;border-color:rgba(239,189,57,.25)!important;color:var(--ax-text)}.rail-flyout-link{color:var(--ax-text)}.rail-flyout-link:hover,.rail-flyout-link.active{background:var(--ax-gold-soft);color:var(--ax-heading)}.authx-db-card{height:34px;background:var(--ax-panel-3)!important;border-color:var(--ax-border-soft)!important;color:var(--ax-muted)!important}

/* Topbar compacto para 1366 */
.authx-global-search{height:38px;max-width:520px;background:var(--ax-panel-3)!important;border-color:var(--ax-border)!important;color:var(--ax-muted)}.authx-global-search input{color:var(--ax-text)!important}.authx-global-search kbd{background:var(--ax-rail);border-color:var(--ax-border);color:var(--ax-muted)}
.top-pill,.top-icon,.btn-authx-new,.btn-authx-icon{height:37px;border-radius:12px}.top-pill,.top-icon,.btn-authx-icon{background:var(--ax-panel)!important;border:1px solid var(--ax-border)!important;color:var(--ax-text)!important}.top-icon:hover,.top-pill:hover,.btn-authx-icon:hover{border-color:rgba(239,189,57,.45)!important;background:var(--ax-panel-2)!important}.btn-authx-new,.btn-hero,.btn-orange{background:linear-gradient(180deg,#f4c74c,#d99a1e)!important;border-color:#e4ad2f!important;color:#111827!important;box-shadow:0 8px 20px rgba(217,154,30,.12);font-weight:850!important}.btn-soft{background:var(--ax-panel)!important;border:1px solid var(--ax-border)!important;color:var(--ax-text)!important}.btn-soft:hover{background:var(--ax-panel-2)!important;border-color:rgba(239,189,57,.32)!important;color:var(--ax-heading)!important}.authx-user strong{color:var(--ax-heading);font-weight:800}.authx-user small{color:var(--ax-muted)}
.authx-dropdown{background:var(--ax-panel)!important;border:1px solid var(--ax-border)!important;border-radius:14px;padding:8px}.authx-dropdown .dropdown-item{color:var(--ax-text);border-radius:10px;font-weight:760}.authx-dropdown .dropdown-item:hover{background:var(--ax-gold-soft);color:var(--ax-heading)}

/* Cabeçalhos, grids e cartões */
.authx-page-head{align-items:center;margin-bottom:14px;min-height:42px}.authx-page-head h1{font-size:1.55rem;font-weight:880;letter-spacing:-.035em;color:var(--ax-heading);line-height:1.1}.authx-page-head p{font-size:.88rem;color:var(--ax-muted);font-weight:560;margin-top:2px}.hero-actions{gap:8px}.btn-compact{height:36px;padding:0 11px!important;display:inline-flex;align-items:center;gap:7px;border-radius:11px!important;font-size:.86rem}.btn-xs{min-height:30px;padding:0 9px!important;border-radius:10px!important;font-size:.78rem}.btn-sm{border-radius:10px!important}
.metric-grid,.metric-grid.kpi-7,.metric-grid.kpi-compact,.report-kpis{grid-template-columns:repeat(auto-fit,minmax(138px,1fr))!important;gap:10px!important;margin-bottom:12px}.metric-card{min-height:66px!important;border-radius:15px!important;background:linear-gradient(180deg,var(--ax-panel),var(--ax-panel-3))!important;border:1px solid var(--ax-border)!important;box-shadow:0 12px 34px rgba(0,0,0,.16)!important;padding:11px!important;gap:10px}.metric-card .icon{width:36px!important;height:36px!important;border-radius:12px!important;font-size:1.05rem}.metric-card .value{font-size:1.35rem!important;font-weight:880!important;color:var(--ax-heading)!important}.metric-card .label,.metric-card .small-caps{font-size:.66rem!important;color:var(--ax-muted)!important;font-weight:820!important;letter-spacing:.04em}.panel{background:linear-gradient(180deg,var(--ax-panel),var(--ax-panel-3))!important;border:1px solid var(--ax-border)!important;border-radius:18px!important;box-shadow:var(--ax-shadow)!important;color:var(--ax-text);overflow:hidden}.panel-header{min-height:52px;padding:12px 14px!important;border-bottom:1px solid var(--ax-border-soft)!important}.panel-header h5{font-size:1rem;font-weight:820!important;color:var(--ax-heading);margin:0}.panel-body{padding:14px!important}.panel-body.p-0{padding:0!important}.empty-state{padding:22px;text-align:center;color:var(--ax-muted)}.empty-state i{font-size:2rem;color:var(--ax-gold);display:block;margin-bottom:8px}.empty-state h5{color:var(--ax-heading);font-size:1rem}.empty-state p{margin-bottom:0;color:var(--ax-muted)}

/* Conteúdo com no máximo 2 colunas em notebooks */
.page-split,.content-grid,.reader-layout-compact{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,340px);gap:12px}.ops-grid,.ops-grid-compact,.report-grid,.quick-grid,.permission-grid,.focus-grid,.quick-actions-mobile{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.ops-card,.mini-panel,.action-tile,.permission-card,.quick-mini-card,.material-focus-card,.reader-hero-box{background:var(--ax-panel)!important;border:1px solid var(--ax-border)!important;border-radius:16px!important;color:var(--ax-text)!important;box-shadow:0 10px 28px rgba(0,0,0,.12)}.mini-panel,.ops-card,.action-tile{display:flex;align-items:center;gap:10px;padding:12px}.mini-panel>i,.ops-card>i,.action-tile>i{width:36px;height:36px;min-width:36px;border-radius:12px;background:var(--ax-gold-soft);color:var(--ax-gold);display:grid;place-items:center}.mini-panel strong,.ops-card strong,.action-tile strong{color:var(--ax-heading);font-weight:820}.mini-panel small,.ops-card small,.action-tile small{display:block;color:var(--ax-muted);font-size:.78rem}

/* Formulários e leitor */
.form-label,.scan-field label{font-size:.74rem;color:var(--ax-muted);font-weight:800;margin-bottom:4px;text-transform:none}.form-control,.form-select{background:var(--ax-panel-3)!important;border:1px solid var(--ax-border)!important;color:var(--ax-text)!important;border-radius:12px!important;min-height:40px!important;font-weight:620!important}.form-control::placeholder{color:var(--ax-muted-2)!important}.form-control:focus,.form-select:focus{border-color:rgba(239,189,57,.7)!important;box-shadow:0 0 0 .18rem rgba(239,189,57,.12)!important}.input-hero{min-height:46px!important}.scan-field-row,.scan-inline-wrap{display:flex;align-items:center;gap:6px}.scan-field-row .form-control,.scan-inline-wrap .form-control{min-width:0;flex:1}.scan-camera-btn{width:40px!important;height:40px!important;min-width:40px;border-radius:12px!important;border:1px solid rgba(239,189,57,.42)!important;background:var(--ax-gold-soft)!important;color:var(--ax-gold)!important;display:grid;place-items:center;padding:0!important}.scan-camera-btn:hover{background:rgba(239,189,57,.22)!important;color:var(--ax-heading)!important}.scan-toolbar.compact,.scan-toolbar{display:grid;grid-template-columns:minmax(230px,1fr) minmax(170px,250px) auto auto auto;gap:9px;align-items:end}.advanced-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px;margin-top:2px;padding:10px;border:1px solid var(--ax-border-soft);border-radius:14px;background:rgba(255,255,255,.025)}.scan-note,.scan-hint,.scan-microcopy{color:var(--ax-muted);font-size:.78rem}.scan-hint kbd{background:var(--ax-panel-3);border:1px solid var(--ax-border);color:var(--ax-muted);border-radius:6px;padding:2px 5px}

/* Tabelas */
.table-responsive{width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.table{--bs-table-bg:transparent;--bs-table-color:var(--ax-text);--bs-table-border-color:var(--ax-border-soft);--bs-table-hover-bg:rgba(255,255,255,.03);color:var(--ax-text)!important}.table th,.authx-table th{color:var(--ax-muted)!important;font-size:.69rem!important;font-weight:820!important;text-transform:uppercase;letter-spacing:.045em;white-space:nowrap;border-bottom:1px solid var(--ax-border)!important;background:rgba(255,255,255,.015)}.table td,.authx-table td{color:var(--ax-text)!important;border-bottom:1px solid var(--ax-border-soft)!important;vertical-align:middle}.authx-table.compact-table th{padding:8px 9px!important}.authx-table.compact-table td{padding:9px!important}.material-cell{min-width:210px;gap:10px}.material-cell.compact{min-width:200px}.material-thumb{width:40px!important;height:40px!important;min-width:40px;border-radius:12px!important;background:linear-gradient(180deg,#f8fafc,#dbe4ef)!important;color:#182337!important;font-size:1.15rem!important}.material-cell strong{color:var(--ax-heading);font-weight:800}.material-cell small{color:var(--ax-muted);font-size:.78rem}.soft-pill,.status-pill,.code-badge,.role-badge,.print-mode-chip{border-radius:999px!important;padding:4px 9px!important;font-size:.73rem!important;font-weight:780!important;background:var(--ax-panel-2)!important;border:1px solid var(--ax-border)!important;color:var(--ax-text)!important;white-space:nowrap}.code-badge{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#dce8f7!important}.status-pill.success,.status-pill.green,.text-success{color:var(--ax-green)!important}.status-pill.success,.status-pill.green{background:rgba(49,216,109,.11)!important;border-color:rgba(49,216,109,.34)!important}.status-pill.warning,.status-pill.yellow,.text-warning{color:#ffd15c!important}.status-pill.warning,.status-pill.yellow{background:rgba(239,189,57,.13)!important;border-color:rgba(239,189,57,.40)!important}.status-pill.danger,.status-pill.red,.text-danger{color:var(--ax-red)!important}.status-pill.danger,.status-pill.red{background:rgba(255,90,100,.12)!important;border-color:rgba(255,90,100,.38)!important}.status-pill.blue{background:rgba(90,169,255,.12)!important;border-color:rgba(90,169,255,.35)!important;color:var(--ax-blue)!important}.progress-thin{height:4px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden}.progress-thin span{height:100%;display:block;border-radius:999px;background:linear-gradient(90deg,var(--ax-gold),var(--ax-green))}.table-footer-compact{height:38px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--ax-border-soft);padding:0 12px;color:var(--ax-muted);font-size:.8rem}

/* Faixas rápidas */
.ops-strip{display:flex;gap:8px;overflow-x:auto;padding:10px 14px;border-top:1px solid var(--ax-border-soft);border-bottom:1px solid var(--ax-border-soft);background:rgba(255,255,255,.018);scrollbar-width:thin}.ops-chip{min-height:36px;display:inline-flex;align-items:center;gap:7px;border:1px solid var(--ax-border);border-radius:999px;background:var(--ax-panel-3);color:var(--ax-text);padding:0 11px;white-space:nowrap}.ops-chip strong{font-weight:850;color:var(--ax-heading)}.ops-chip span{font-size:.78rem;color:var(--ax-muted)}.ops-chip.danger i,.ops-chip.danger strong{color:var(--ax-red)}.ops-chip.warning i,.ops-chip.warning strong{color:var(--ax-gold)}.ops-chip.blue i,.ops-chip.blue strong{color:var(--ax-blue)}

/* Gráficos e relatórios */
.chart-panel{min-height:100%}.daily-chart{height:185px}.day-bar{border-bottom-color:var(--ax-border);min-width:28px}.bar-list{display:flex;flex-direction:column;gap:8px}.bar-row{display:grid;grid-template-columns:minmax(120px,1fr) 1.2fr auto;gap:8px;align-items:center;color:var(--ax-text)}.bar-row .bar{height:8px;border-radius:999px;background:linear-gradient(90deg,var(--ax-gold),var(--ax-green))}.chart-legend{display:flex;gap:10px;flex-wrap:wrap;color:var(--ax-muted);font-size:.8rem}.legend-dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:5px}.legend-dot.in{background:var(--ax-green)}.legend-dot.out{background:var(--ax-red)}.report-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:9px;align-items:end}.compact-report-table .table{margin-bottom:0}.print-report-sheet{background:var(--ax-panel)!important}

/* Scanner modal */
.scanner-modal{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:18px;opacity:0;visibility:hidden;pointer-events:none;transition:.16s ease}.scanner-modal.open{opacity:1;visibility:visible;pointer-events:auto}.scanner-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(8px)}.scanner-card{position:relative;width:min(620px,100%);background:var(--ax-panel)!important;border:1px solid rgba(239,189,57,.30)!important;border-radius:20px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.50)}.scanner-head{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid var(--ax-border);color:var(--ax-heading)}.scanner-head button{width:34px;height:34px;border:0;border-radius:10px;background:var(--ax-panel-2);color:var(--ax-text)}.scanner-video-wrap{position:relative;height:min(56vh,420px);min-height:280px;background:#000;display:grid;place-items:center}.scanner-video-wrap video{width:100%;height:100%;object-fit:cover}.scan-frame{position:absolute;inset:22% 12%;border:2px solid var(--ax-gold);border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.26)}.scan-frame span{position:absolute;left:8%;right:8%;top:50%;height:2px;background:linear-gradient(90deg,transparent,var(--ax-gold),transparent);animation:scanLine 1.6s ease-in-out infinite}.scanner-status{padding:11px 14px;background:var(--ax-panel-3);border-top:1px solid var(--ax-border);color:var(--ax-muted);text-align:center;font-weight:720}@keyframes scanLine{0%,100%{transform:translateY(-70px)}50%{transform:translateY(70px)}}

/* Mobile */
.mobile-topbar{display:none}.authx-offcanvas{background:var(--ax-bg-soft)!important;color:var(--ax-text)!important;border-right:1px solid var(--ax-border)!important}.mobile-alert-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.mobile-alert-strip span{background:var(--ax-panel);border:1px solid var(--ax-border);border-radius:14px;padding:8px;text-align:center}.mobile-alert-strip strong{display:block;color:var(--ax-heading);font-size:1.1rem}.mobile-alert-strip small{color:var(--ax-muted);font-size:.72rem}.mobile-menu-v2{gap:10px}.mobile-menu-group{background:var(--ax-panel)!important;border:1px solid var(--ax-border)!important;border-radius:16px!important;padding:7px}.mobile-menu-title{height:32px;color:var(--ax-heading);font-weight:820;border-bottom:1px solid var(--ax-border-soft)}.mobile-menu-title i{color:var(--ax-gold)}.mobile-menu-group .nav-link{height:36px;border-radius:11px;color:var(--ax-text);font-weight:730}.mobile-menu-group .nav-link.active{background:var(--ax-gold-soft);color:var(--ax-heading)}

@media (max-width:1500px){
  :root{--ax-side-w:224px}.authx-top-actions{gap:6px}.authx-global-search{max-width:430px}.top-pill strong,.authx-user small{display:none}.metric-grid,.metric-grid.kpi-compact{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))!important}.metric-card{min-height:60px!important}.metric-card .icon{width:32px!important;height:32px!important}.metric-card .value{font-size:1.2rem!important}.report-grid{grid-template-columns:1fr 1fr!important}.ops-grid,.ops-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}.page-split,.content-grid,.reader-layout-compact{grid-template-columns:minmax(0,1fr) minmax(250px,320px)}
  .scan-toolbar.compact,.scan-toolbar{grid-template-columns:minmax(210px,1fr) minmax(160px,220px) auto auto}.scan-note{display:none}.authx-table.compact-table th,.authx-table.compact-table td{padding:8px 7px!important}.material-cell.compact{min-width:180px}.code-badge{max-width:130px;overflow:hidden;text-overflow:ellipsis}
}
@media (max-width:1366px){
  body.authx-app{font-size:13px}.app-main{padding:72px 14px 20px}.authx-page-head h1{font-size:1.42rem}.authx-page-head p{display:none}.authx-sidebar{padding-inline:9px}.authx-menu-main{min-height:38px}.authx-menu-sub-v2{min-height:30px;font-size:.78rem}.top-pill{display:none}.btn-authx-new{min-width:86px}.authx-user{max-width:118px}.authx-user .avatar{width:32px;height:32px}.authx-user strong{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-split,.content-grid,.reader-layout-compact{grid-template-columns:1fr!important}.report-grid{grid-template-columns:1fr 1fr!important}.row.g-3>.col-xl-3,.row.g-3>.col-xl-4,.row.g-3>.col-xl-5{width:50%!important}.row.g-3>.col-xl-7,.row.g-3>.col-lg-7,.row.g-3>.col-lg-8{width:58.333333%!important}.row.g-3>.col-xl-5,.row.g-3>.col-lg-5,.row.g-3>.col-lg-4{width:41.666667%!important}
}
@media (max-width:1100px){
  .authx-topbar{padding-right:10px}.authx-global-search{max-width:none}.authx-user{display:none}.top-icon.has-badge{display:none}.report-grid,.ops-grid,.ops-grid-compact{grid-template-columns:1fr!important}.scan-toolbar.compact,.scan-toolbar{grid-template-columns:1fr minmax(150px,220px) auto}.scan-toolbar .btn[type="submit"]{grid-column:auto}.advanced-filters{grid-template-columns:1fr 1fr}
}
@media (max-width:980px){
  .authx-rail,.authx-sidebar,.authx-topbar{display:none!important}.mobile-topbar{position:fixed;z-index:80;top:0;left:0;right:0;height:58px;background:rgba(7,11,18,.90);border-bottom:1px solid var(--ax-border);backdrop-filter:blur(14px);display:flex!important;align-items:center;justify-content:space-between;padding:0 12px;color:var(--ax-heading)}body.authx-light .mobile-topbar{background:rgba(255,255,255,.92)}.mobile-topbar strong{font-size:.95rem}.mobile-actions{display:flex;gap:7px}.app-main{margin-left:0!important;padding:72px 10px 18px}.authx-page-head{display:flex;align-items:flex-start;margin-bottom:10px}.authx-page-head h1{font-size:1.35rem}.hero-actions .btn{min-height:34px}.metric-grid,.metric-grid.kpi-compact,.report-kpis{display:flex!important;overflow-x:auto;gap:8px!important;padding-bottom:2px;margin-inline:-2px}.metric-card{min-width:132px!important;flex:0 0 132px!important}.panel{border-radius:16px!important}.panel-header{padding:11px 12px!important;min-height:48px}.panel-body{padding:12px!important}.scan-toolbar.compact,.scan-toolbar{grid-template-columns:1fr!important}.advanced-filters{grid-template-columns:1fr!important}.ops-strip{padding:9px 10px}.row.g-3>[class*="col-"]{width:100%!important}.quick-grid,.permission-grid,.focus-grid,.quick-actions-mobile{grid-template-columns:1fr 1fr}.scanner-video-wrap{height:58vh;min-height:320px}
}
@media (max-width:760px){
  .table-mobile-cards table,.table-mobile-cards thead,.table-mobile-cards tbody,.table-mobile-cards th,.table-mobile-cards td,.table-mobile-cards tr{display:block!important;width:100%!important}.table-mobile-cards thead{display:none!important}.table-mobile-cards tbody{padding:8px;display:grid!important;gap:8px}.table-mobile-cards tr{background:var(--ax-panel)!important;border:1px solid var(--ax-border)!important;border-radius:15px!important;padding:8px!important}.table-mobile-cards td{border:0!important;padding:6px 4px!important;display:flex!important;align-items:center;justify-content:space-between;gap:12px;text-align:right!important}.table-mobile-cards td:before{content:attr(data-label);font-size:.69rem;text-transform:uppercase;letter-spacing:.04em;color:var(--ax-muted);font-weight:850;text-align:left}.table-mobile-cards td[data-label="Material"]{display:block!important;text-align:left!important}.table-mobile-cards td[data-label="Material"]:before{display:block;margin-bottom:6px}.table-mobile-cards .action-stack{justify-content:flex-end!important}.table-mobile-cards .material-cell{min-width:0}.table-mobile-cards .table-responsive{overflow:visible}.authx-table.compact-table td{padding:6px 4px!important}.toolbar{width:100%;justify-content:flex-start}.panel-header{align-items:flex-start;flex-direction:column;gap:8px}.compact-header .toolbar{display:flex}.mini-panel,.ops-card,.action-tile{padding:10px}.quick-grid,.permission-grid,.focus-grid,.quick-actions-mobile{grid-template-columns:1fr}.receipt-preview-wrap{padding:8px;justify-content:flex-start}.receipt-preview-wrap.preview-a4 .receipt-ticket{min-width:720px}.bar-row{grid-template-columns:1fr;gap:4px}.daily-chart{overflow-x:auto;justify-content:flex-start}.day-bar{min-width:42px}
}
@media (max-width:560px){
  body.authx-app{font-size:12.8px}.app-main{padding-inline:8px}.authx-page-head{display:block}.hero-actions{margin-top:8px}.hero-actions .btn{flex:1 1 auto;justify-content:center}.metric-card{min-width:124px!important;flex-basis:124px!important}.form-control,.form-select{min-height:39px!important}.scan-field-row,.scan-inline-wrap{gap:5px}.scan-camera-btn{width:39px!important;height:39px!important;min-width:39px!important}.ops-chip{padding:0 10px}.scanner-modal{padding:0;align-items:stretch}.scanner-card{width:100%;height:100%;border-radius:0!important;border-left:0!important;border-right:0!important;display:flex;flex-direction:column}.scanner-video-wrap{flex:1;height:auto;max-height:none}.scan-frame{inset:24% 9%}.receipt-preview-wrap.preview-80 .receipt-ticket{width:80mm!important;min-width:80mm}.mobile-alert-strip{grid-template-columns:repeat(3,1fr);gap:5px}.mobile-menu-group .nav-link{height:35px}
}

/* Impressão preserva papel real */
@media print{body.authx-app{background:#fff!important;color:#111!important}.no-print,.authx-rail,.authx-sidebar,.authx-topbar,.mobile-topbar,.toast-zone,.scanner-modal,.offcanvas{display:none!important}.app-main{margin:0!important;padding:0!important}.panel,.metric-card{box-shadow:none!important}.print-title{display:block!important;color:#111!important}.table th,.table td,.authx-table th,.authx-table td{color:#111!important;border-color:#ddd!important}.status-pill,.soft-pill,.code-badge{background:transparent!important;border-color:#aaa!important;color:#111!important}}

/* ===== Revisão integrada de páginas / fluxo do estoque ===== */
.context-flow{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:8px 10px;margin:-4px 0 12px;border:1px solid var(--ax-border-soft);border-radius:16px;background:rgba(255,255,255,.022);scrollbar-width:thin}.context-flow-item{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid transparent;border-radius:999px;color:var(--ax-muted);font-weight:800;white-space:nowrap}.context-flow-item:hover{background:var(--ax-panel);border-color:var(--ax-border);color:var(--ax-heading)}.context-flow-item.active{background:var(--ax-gold-soft);border-color:rgba(239,189,57,.35);color:var(--ax-heading)}.flow-icon{width:25px;height:25px;border-radius:9px;display:grid;place-items:center;background:var(--ax-panel-3);border:1px solid var(--ax-border);color:var(--ax-gold)}.flow-link{width:16px;height:1px;min-width:16px;background:linear-gradient(90deg,rgba(239,189,57,.45),rgba(239,189,57,.05));display:block}
.dashboard-layout,.operation-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:12px}.dashboard-main,.operation-main{min-width:0}.dashboard-side,.operation-side{min-width:0}.compact-panel-header{min-height:48px!important}.compact-panel-header .small-caps{font-size:.66rem}.compact-card+.compact-card{margin-top:12px}.operation-scanner-panel .panel-body{padding:13px!important}.operation-search-grid{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;align-items:end}.scan-field-lg .form-control{min-height:46px!important}.central-empty{padding:24px 10px}.found-material-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid rgba(239,189,57,.24);background:linear-gradient(180deg,rgba(239,189,57,.065),rgba(255,255,255,.018));border-radius:18px;padding:14px;margin-top:12px}.found-icon{width:56px;height:56px;border-radius:17px;display:grid;place-items:center;background:var(--ax-gold-soft);border:1px solid rgba(239,189,57,.32);color:var(--ax-gold);font-size:1.45rem}.found-info strong{font-size:1.08rem;color:var(--ax-heading);display:block;line-height:1.2}.found-meta,.found-stock{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:7px;color:var(--ax-muted);font-size:.8rem}.found-meta span,.found-stock span:not(.status-pill){display:inline-flex;align-items:center;border:1px solid var(--ax-border);background:var(--ax-panel-3);border-radius:999px;padding:3px 8px}.found-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.ops-flow-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:9px;margin-top:12px}.flow-step{min-height:76px;border:1px solid var(--ax-border);background:var(--ax-panel);border-radius:16px;color:var(--ax-text);padding:11px;display:flex;flex-direction:column;gap:4px;align-items:flex-start;justify-content:center}.flow-step:hover{border-color:rgba(239,189,57,.42);background:var(--ax-panel-2);color:var(--ax-heading)}.flow-step i{width:31px;height:31px;display:grid;place-items:center;border-radius:11px;background:var(--ax-gold-soft);color:var(--ax-gold);margin-bottom:2px}.flow-step strong{font-weight:850;color:var(--ax-heading);line-height:1}.flow-step small{font-size:.75rem;color:var(--ax-muted)}.dashboard-flow{margin-top:0;grid-template-columns:repeat(auto-fit,minmax(118px,1fr))}.compact-timeline{display:flex;flex-direction:column;gap:8px}.timeline-mini.compact-timeline .item{display:flex;align-items:center;gap:9px;padding:8px;border:1px solid var(--ax-border-soft);background:rgba(255,255,255,.018);border-radius:13px;color:var(--ax-text)}.timeline-mini.compact-timeline .item strong{display:block;color:var(--ax-heading);font-size:.84rem}.timeline-mini.compact-timeline .item small{display:block;color:var(--ax-muted);font-size:.74rem}.bullet{width:8px;height:8px;border-radius:50%;background:var(--ax-gold);box-shadow:0 0 0 4px rgba(239,189,57,.09);flex:0 0 8px}.alert-mini-list{display:flex;flex-direction:column;gap:8px}.alert-mini{display:flex;align-items:center;gap:9px;border:1px solid var(--ax-border-soft);background:rgba(255,255,255,.018);border-radius:13px;padding:8px;color:var(--ax-text)}.alert-mini i{width:29px;height:29px;display:grid;place-items:center;border-radius:10px;background:var(--ax-panel-3)}.alert-mini strong{display:block;color:var(--ax-heading);font-size:.84rem}.alert-mini small{display:block;color:var(--ax-muted);font-size:.74rem}.alert-mini.danger i{color:var(--ax-red);background:rgba(255,90,100,.10)}.alert-mini.warning i{color:var(--ax-gold);background:rgba(239,189,57,.10)}.operational-kpis .metric-card{color:inherit!important;text-decoration:none}.action-stack .btn{min-width:34px;min-height:32px;display:inline-grid;place-items:center}.empty-state.compact{padding:14px 8px}.empty-state.compact i{font-size:1.35rem;margin-bottom:4px}.empty-state.compact p{font-size:.82rem}
@media (max-width:1500px){.dashboard-layout,.operation-layout{grid-template-columns:minmax(0,1fr) minmax(250px,320px)}.found-material-card{grid-template-columns:auto minmax(0,1fr)}.found-actions{grid-column:1/-1;justify-content:flex-start}.operation-search-grid{grid-template-columns:minmax(0,1fr) auto auto}}
@media (max-width:1366px){.context-flow{padding:7px 8px;margin-bottom:10px}.context-flow-item{min-height:34px;padding:0 10px;font-size:.82rem}.flow-link{width:10px;min-width:10px}.dashboard-layout,.operation-layout{grid-template-columns:1fr!important}.dashboard-side,.operation-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dashboard-side .panel.mt-3,.operation-side .panel.mt-3,.compact-card+.compact-card{margin-top:0!important}.ops-flow-panel{grid-template-columns:repeat(auto-fit,minmax(112px,1fr))}.flow-step{min-height:68px;padding:9px}.flow-step i{width:28px;height:28px}.operation-search-grid{grid-template-columns:minmax(0,1fr) auto auto}.central-empty{padding:16px 8px}}
@media (max-width:980px){.context-flow{margin-top:0}.dashboard-side,.operation-side{grid-template-columns:1fr}.operation-search-grid{grid-template-columns:1fr}.operation-search-grid .btn{width:100%;justify-content:center}.found-material-card{grid-template-columns:1fr;text-align:left}.found-icon{width:48px;height:48px}.found-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.found-actions .btn{justify-content:center}.ops-flow-panel{display:flex;overflow-x:auto;padding-bottom:2px}.flow-step{min-width:126px}.flow-link{display:none}}
@media (max-width:560px){.context-flow{border-radius:14px;margin-inline:-1px}.context-flow-item span:not(.flow-icon){font-size:.78rem}.found-actions{grid-template-columns:1fr}.found-meta,.found-stock{gap:5px}.found-meta span,.found-stock span:not(.status-pill){font-size:.73rem}.ops-flow-panel{margin-top:9px}.operation-scanner-panel .panel-body{padding:10px!important}}

/* =====================================================================
   Ajuste solicitado: trilho lateral de ícones sempre preto
   Mantém a barra esquerda preta nos temas escuro e claro, inclusive
   quando o menu principal está colapsado.
   ===================================================================== */
:root{
  --ax-rail:#020305;
}
body.authx-light{
  --ax-rail:#020305;
}
.authx-rail{
  background:#020305!important;
  border-right:1px solid #0d121c!important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.04),14px 0 28px rgba(0,0,0,.18)!important;
}
.authx-mini-brand{
  background:linear-gradient(145deg,#05070b,#101722)!important;
  border-color:rgba(239,189,57,.58)!important;
  color:var(--ax-gold)!important;
}
.authx-rail .rail-btn,
.authx-rail .rail-exit{
  background:transparent!important;
  border-color:transparent!important;
  color:#8b98aa!important;
}
.authx-rail .rail-btn:hover,
.authx-rail .rail-exit:hover{
  background:#111827!important;
  border-color:#1e293b!important;
  color:#ffffff!important;
}
.authx-rail .rail-btn.active{
  background:rgba(239,189,57,.14)!important;
  border-color:rgba(239,189,57,.42)!important;
  color:var(--ax-gold)!important;
}
.authx-rail .rail-btn.active:before{
  background:var(--ax-gold)!important;
}
.authx-rail .rail-badge{
  background:var(--ax-gold)!important;
  color:#101010!important;
}
.authx-rail .rail-flyout{
  background:linear-gradient(180deg,#0b111b,#070b12)!important;
  border-color:rgba(239,189,57,.26)!important;
  box-shadow:0 20px 55px rgba(0,0,0,.45)!important;
}
.authx-rail .rail-flyout-link{
  color:#dbe7f5!important;
}
.authx-rail .rail-flyout-link:hover,
.authx-rail .rail-flyout-link.active{
  background:rgba(239,189,57,.14)!important;
  color:#ffffff!important;
}

/* Topbar dropdowns: notificações e usuário */
.authx-top-dropdown{position:relative}.authx-top-dropdown .dropdown-menu{z-index:80}.authx-dropdown-panel{width:min(370px,calc(100vw - 24px));background:linear-gradient(180deg,var(--ax-panel,#111b27),var(--ax-panel-2,#0d141e))!important;border:1px solid var(--ax-border,#2a3a51)!important;border-radius:18px!important;box-shadow:0 22px 70px rgba(0,0,0,.42);padding:8px!important;color:var(--ax-text,#eaf2fb);overflow:hidden}.dropdown-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 12px;border-bottom:1px solid var(--ax-border,#223043)}.dropdown-panel-head strong{display:block;color:var(--ax-heading,#fff);font-size:.95rem;font-weight:900}.dropdown-panel-head small{display:block;color:var(--ax-muted,#9aacbf);font-size:.74rem;font-weight:700}.dropdown-panel-head a{color:var(--ax-gold,#efbd39);font-size:.78rem;font-weight:850;white-space:nowrap}.dropdown-panel-foot{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px 10px 2px;border-top:1px solid var(--ax-border,#223043)}.dropdown-panel-foot a{height:34px;border-radius:11px;background:rgba(255,255,255,.035);border:1px solid var(--ax-border,#253349);display:flex;align-items:center;justify-content:center;gap:7px;color:var(--ax-text,#eaf2fb);font-size:.76rem;font-weight:850}.dropdown-panel-foot a:hover{background:rgba(239,189,57,.12);border-color:rgba(239,189,57,.38);color:var(--ax-heading,#fff)}.notification-panel{width:min(410px,calc(100vw - 24px))}.notification-list{max-height:min(470px,calc(100vh - 170px));overflow:auto;padding:8px 2px}.notification-list::-webkit-scrollbar{width:6px}.notification-list::-webkit-scrollbar-thumb{background:#33445c;border-radius:99px}.notification-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 8px;border-radius:14px;color:var(--ax-text,#eaf2fb);border:1px solid transparent}.notification-item:hover{background:rgba(255,255,255,.04);border-color:var(--ax-border,#2a3a51);color:var(--ax-heading,#fff)}.notification-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:rgba(239,189,57,.13);color:var(--ax-gold,#efbd39)}.notification-item.danger .notification-icon{background:rgba(255,82,82,.13);color:#ff7272}.notification-item.warning .notification-icon{background:rgba(239,189,57,.15);color:#ffd15c}.notification-item.info .notification-icon{background:rgba(77,163,255,.13);color:#7bbcff}.notification-item.success .notification-icon{background:rgba(32,209,100,.13);color:#4def83}.notification-text{min-width:0}.notification-text strong{display:block;color:var(--ax-heading,#fff);font-size:.82rem;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-text small{display:block;color:var(--ax-muted,#9aacbf);font-size:.73rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-item em{font-style:normal;color:var(--ax-gold,#efbd39);font-size:.72rem;font-weight:850;white-space:nowrap}.notification-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;padding:22px 12px;color:var(--ax-muted,#9aacbf)}.notification-empty i{font-size:1.8rem;color:var(--green,#20d164)}.notification-empty strong{color:var(--ax-heading,#fff)}.notification-empty.small{padding:16px 10px}.mini-action-list{padding:8px 2px;display:grid;gap:8px}.mini-action-list a{height:44px;border-radius:13px;background:rgba(255,255,255,.035);border:1px solid var(--ax-border,#223043);display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:8px;padding:0 10px;color:var(--ax-text,#eaf2fb);font-weight:850}.mini-action-list a:hover{background:rgba(239,189,57,.1);border-color:rgba(239,189,57,.35);color:var(--ax-heading,#fff)}.mini-action-list b{min-width:24px;height:22px;border-radius:999px;background:var(--ax-gold,#efbd39);color:#111827;display:grid;place-items:center;font-size:.72rem}.authx-user-btn{border:1px solid transparent;background:transparent;border-radius:14px;padding:2px 8px 2px 4px;min-height:40px}.authx-user-btn:hover,.authx-user-btn.show{background:rgba(255,255,255,.045);border-color:var(--ax-border,#2a3a51)}.user-panel{width:290px}.user-panel-head{display:flex;align-items:center;gap:11px;padding:10px 10px 12px;border-bottom:1px solid var(--ax-border,#223043);margin-bottom:6px}.user-panel-head .avatar.big{width:44px;height:44px}.user-panel-head strong{display:block;color:var(--ax-heading,#fff);font-weight:900;line-height:1.1}.user-panel-head small{display:block;color:var(--ax-muted,#9aacbf);font-size:.75rem;font-weight:700;margin-top:3px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-action{width:100%;min-height:39px;border:0;background:transparent;color:var(--ax-text,#eaf2fb);display:flex;align-items:center;gap:10px;padding:0 10px;border-radius:12px;font-weight:820;text-align:left}.dropdown-action i{width:22px;text-align:center;color:var(--ax-muted,#9aacbf)}.dropdown-action:hover{background:rgba(239,189,57,.1);color:var(--ax-heading,#fff)}.dropdown-action:hover i{color:var(--ax-gold,#efbd39)}.dropdown-action.danger{color:#ff9a9a}.dropdown-action.danger i{color:#ff7070}.dropdown-action.danger:hover{background:rgba(255,82,82,.1)}.mobile-notify-btn{position:relative}.mobile-notify-btn span{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;border-radius:999px;background:#fb4260;color:#fff;font-size:.68rem;display:grid;place-items:center;font-weight:900}.account-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:16px}.account-avatar-card{display:flex;align-items:center;gap:14px}.account-avatar{width:62px;height:62px;border-radius:22px;background:radial-gradient(circle at 70% 30%,#23d164,#1934a6);display:grid;place-items:center;font-size:1.6rem;color:#fff}.account-perm-list{display:flex;flex-wrap:wrap;gap:7px}.account-perm-list .soft-pill{font-size:.72rem;padding:4px 8px}@media(max-width:1050px){.authx-top-dropdown .dropdown-menu{position:fixed!important;right:10px!important;left:auto!important;top:58px!important;transform:none!important}.account-grid{grid-template-columns:1fr}.authx-user-btn{display:none}}@media(max-width:720px){.notification-panel,.requests-panel,.user-panel{width:calc(100vw - 20px)}.notification-item{grid-template-columns:34px minmax(0,1fr)}.notification-item em{display:none}.dropdown-panel-foot{grid-template-columns:1fr}.account-avatar-card{align-items:flex-start}.account-avatar{width:52px;height:52px;border-radius:18px}}


/* Movimentação por técnico/equipe */
.tech-filter-grid{display:grid;grid-template-columns:minmax(230px,1.4fr) 145px 145px 180px minmax(170px,1fr) 54px;gap:9px;align-items:end}.rule-list{display:grid;gap:10px}.rule-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border-radius:14px;border:1px solid var(--ax-border-soft);background:rgba(255,255,255,.025)}.rule-list small{color:var(--ax-muted);font-weight:650;text-align:right}.status-pill.info{background:rgba(77,163,255,.11)!important;border-color:rgba(77,163,255,.34)!important;color:var(--ax-blue)!important}@media(max-width:1366px){.tech-filter-grid{grid-template-columns:minmax(230px,1fr) repeat(2,135px) 170px 1fr 52px}}@media(max-width:980px){.tech-filter-grid{grid-template-columns:1fr 1fr}.tech-filter-grid .d-grid{grid-column:1/-1}.rule-list>div{align-items:flex-start;flex-direction:column}.rule-list small{text-align:left}}@media(max-width:560px){.tech-filter-grid{grid-template-columns:1fr}.metric-card .value{font-size:1.15rem!important}}

/* Movimento por técnico: ações corretas e formulário compacto */
.movement-actions .btn{min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:12px}
.movement-form-grid,.movement-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(178px,1fr));gap:12px;align-items:end}
.movement-form-grid .span-2,.movement-edit-grid .span-2{grid-column:span 2}
.movement-edit-panel{max-width:980px;margin-inline:auto}
.movement-edit-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
@media (max-width: 760px){
  .movement-form-grid,.movement-edit-grid{grid-template-columns:1fr}
  .movement-form-grid .span-2,.movement-edit-grid .span-2{grid-column:auto}
  .movement-edit-actions .btn{width:100%;justify-content:center}
  .movement-edit-actions .ms-auto{margin-left:0!important}
}

/* =====================================================================
   AuthX Estoque - modo simples e direto
   Objetivo: interface limpa, menos texto, menos sombra e melhor leitura
   em notebook 1366x768 e mobile.
   ===================================================================== */
body.authx-simple{
  --ax-bg:#070b12;
  --ax-bg-soft:#0b1118;
  --ax-rail:#020305;
  --ax-sidebar:#0b1119;
  --ax-panel:#ffffff;
  --ax-panel-2:#f8fafc;
  --ax-panel-3:#f1f5f9;
  --ax-border:#dbe4ef;
  --ax-border-soft:#e7edf5;
  --ax-text:#122033;
  --ax-muted:#6f7f93;
  --ax-heading:#06101f;
  --ax-gold:#e9ad20;
  --ax-gold-2:#c88c0d;
  --ax-gold-soft:rgba(233,173,32,.13);
  --ax-green:#1bbf63;
  --ax-red:#ef4444;
  --ax-blue:#3b82f6;
  --ax-purple:#8b5cf6;
  --ax-cyan:#14b8a6;
  color:var(--ax-text);
  background:#eef2f7!important;
  font-weight:560;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
body.authx-simple:not(.authx-light){
  --ax-panel:#0f1722;
  --ax-panel-2:#111c29;
  --ax-panel-3:#0b121c;
  --ax-border:#243448;
  --ax-border-soft:#1c2a3d;
  --ax-text:#dbe7f5;
  --ax-muted:#8fa1b6;
  --ax-heading:#ffffff;
  background:#070b12!important;
}
body.authx-simple.authx-light{background:#eef2f7!important;color:#122033!important}
body.authx-simple .authx-rail{background:#020305!important;width:64px!important;border-right:1px solid #0e1520!important;box-shadow:none!important}
body.authx-simple .authx-sidebar{width:222px!important;left:64px!important;background:var(--ax-sidebar)!important;border-right:1px solid #172232!important;padding:14px 10px!important}
body.authx-simple .authx-topbar{left:286px!important;height:56px!important;background:rgba(255,255,255,.88)!important;border-bottom:1px solid #dbe4ef!important;box-shadow:0 4px 18px rgba(15,23,42,.05)!important}
body.authx-simple:not(.authx-light) .authx-topbar{background:rgba(7,11,18,.88)!important;border-bottom-color:#1d2a3d!important;box-shadow:none!important}
body.authx-simple .app-main{margin-left:286px!important;padding:70px 18px 22px!important;max-width:1540px}
body.authx-simple.authx-sidebar-collapsed .authx-topbar{left:64px!important}
body.authx-simple.authx-sidebar-collapsed .app-main{margin-left:64px!important}
body.authx-simple .authx-brand{margin-bottom:12px!important;height:34px!important}
body.authx-simple .authx-brand-name{font-size:18px!important}
body.authx-simple .authx-menu-v2{gap:6px!important}
body.authx-simple .authx-menu-section{border-radius:14px!important}
body.authx-simple .authx-menu-main{min-height:38px!important;border-radius:12px!important;padding:0 10px!important;font-weight:780!important;font-size:.9rem!important}
body.authx-simple .authx-menu-main>i:first-child{width:28px!important;height:28px!important;border-radius:9px!important}
body.authx-simple .authx-menu-main b{height:19px!important;min-width:19px!important;font-size:.68rem!important}
body.authx-simple .authx-submenu-tree{margin:2px 0 7px 23px!important;padding-left:15px!important}
body.authx-simple .authx-menu-sub-v2{min-height:29px!important;font-size:.79rem!important;font-weight:680!important;border-radius:9px!important;color:#a9b7c9!important}
body.authx-simple .authx-menu-sub-v2.active{font-weight:790!important}
body.authx-simple .authx-db-card{height:34px!important;border-radius:12px!important;font-size:.72rem!important}
body.authx-simple .rail-nav{gap:8px!important;margin-top:22px!important}
body.authx-simple .rail-btn,body.authx-simple .rail-exit{width:40px!important;height:40px!important;border-radius:13px!important}
body.authx-simple .authx-global-search{height:38px!important;max-width:610px!important;border-radius:13px!important;background:var(--ax-panel)!important;border-color:var(--ax-border)!important;color:var(--ax-muted)!important}
body.authx-simple .authx-global-search input{color:var(--ax-heading)!important;font-weight:600!important}
body.authx-simple .top-pill,body.authx-simple .top-icon,body.authx-simple .btn-authx-new{height:37px!important;border-radius:12px!important;font-weight:760!important}
body.authx-simple .btn-authx-new{min-width:94px!important}
body.authx-simple .authx-user strong{font-weight:790!important}
body.authx-simple .authx-page-head{margin-bottom:12px!important;align-items:center!important}
body.authx-simple .authx-page-head h1{font-size:1.55rem!important;font-weight:850!important;letter-spacing:-.035em!important}
body.authx-simple .authx-page-head p{font-size:.88rem!important;color:var(--ax-muted)!important;margin-top:2px!important;font-weight:600!important;max-width:680px}
body.authx-simple .context-flow{background:transparent!important;border:0!important;padding:0!important;margin:0 0 12px!important;gap:6px!important}
body.authx-simple .context-flow-item{min-height:34px!important;padding:0 10px!important;border-radius:12px!important;background:var(--ax-panel)!important;border:1px solid var(--ax-border)!important;font-weight:700!important;font-size:.83rem!important;color:var(--ax-muted)!important}
body.authx-simple .context-flow-item.active{background:var(--ax-gold)!important;border-color:var(--ax-gold)!important;color:#111827!important}
body.authx-simple .context-flow-item.active .flow-icon{background:rgba(255,255,255,.22)!important;color:#111827!important;border-color:rgba(0,0,0,.08)!important}
body.authx-simple .flow-icon{width:24px!important;height:24px!important;border-radius:8px!important;background:var(--ax-panel-3)!important;color:var(--ax-gold)!important}
body.authx-simple .flow-link{display:none!important}
body.authx-simple .metric-grid,body.authx-simple .metric-grid.kpi-compact{gap:10px!important;margin-bottom:12px!important}
body.authx-simple .metric-card{min-height:64px!important;border-radius:16px!important;background:var(--ax-panel)!important;border:1px solid var(--ax-border)!important;box-shadow:none!important;padding:12px!important;color:inherit!important}
body.authx-simple .metric-card .icon{width:36px!important;height:36px!important;border-radius:12px!important;font-size:1.05rem!important}
body.authx-simple .metric-card .value{font-size:1.42rem!important;font-weight:860!important;color:var(--ax-heading)!important}
body.authx-simple .metric-card .label,body.authx-simple .metric-card .small-caps{font-size:.67rem!important;font-weight:760!important;color:var(--ax-muted)!important;letter-spacing:.04em!important}
body.authx-simple .panel{border-radius:18px!important;background:var(--ax-panel)!important;border:1px solid var(--ax-border)!important;box-shadow:none!important}
body.authx-simple .panel-header{min-height:50px!important;padding:12px 14px!important;border-bottom:1px solid var(--ax-border-soft)!important}
body.authx-simple .panel-body{padding:14px!important}
body.authx-simple .panel-header h5{font-weight:820!important;color:var(--ax-heading)!important;font-size:1rem!important}
body.authx-simple .small-caps{font-size:.66rem!important;font-weight:760!important;color:var(--ax-muted)!important}
body.authx-simple .form-control,body.authx-simple .form-select{min-height:39px!important;border-radius:12px!important;background:var(--ax-panel)!important;border:1px solid var(--ax-border)!important;color:var(--ax-heading)!important;font-weight:620!important}
body.authx-simple:not(.authx-light) .form-control,body.authx-simple:not(.authx-light) .form-select{background:#0b121c!important}
body.authx-simple .form-label,body.authx-simple .scan-field label{font-size:.72rem!important;font-weight:740!important;color:var(--ax-muted)!important;margin-bottom:5px!important}
body.authx-simple .btn{border-radius:12px!important;font-weight:760!important;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px}
body.authx-simple .btn-sm{min-height:32px!important;border-radius:10px!important}
body.authx-simple .btn-hero,body.authx-simple .btn-orange{background:var(--ax-gold)!important;border-color:var(--ax-gold)!important;color:#111827!important;box-shadow:none!important}
body.authx-simple .btn-soft{background:var(--ax-panel-3)!important;border-color:var(--ax-border)!important;color:var(--ax-heading)!important}
body.authx-simple .authx-table th,body.authx-simple .table th{font-size:.69rem!important;font-weight:760!important;color:var(--ax-muted)!important;padding:8px 9px!important}
body.authx-simple .authx-table td,body.authx-simple .table td{padding:9px!important;color:var(--ax-text)!important;border-color:var(--ax-border-soft)!important}
body.authx-simple .material-cell{gap:9px!important;min-width:190px!important}
body.authx-simple .material-thumb{width:40px!important;height:40px!important;border-radius:12px!important;font-size:1.15rem!important}
body.authx-simple .material-cell strong{font-weight:790!important;color:var(--ax-heading)!important}
body.authx-simple .material-cell small{font-size:.75rem!important;color:var(--ax-muted)!important}
body.authx-simple .soft-pill,body.authx-simple .status-pill,body.authx-simple .code-badge{padding:4px 8px!important;font-size:.72rem!important;font-weight:700!important}
body.authx-simple .scan-field-row{gap:7px!important}
body.authx-simple .scan-camera-btn{width:40px!important;height:40px!important;min-width:40px!important;border-radius:12px!important;background:var(--ax-gold-soft)!important;border:1px solid rgba(233,173,32,.45)!important;color:var(--ax-gold)!important}
body.authx-simple .scan-camera-btn:hover{background:var(--ax-gold)!important;color:#111827!important}
body.authx-simple .scan-hint{font-size:.78rem!important;color:var(--ax-muted)!important}
body.authx-simple .operation-layout,body.authx-simple .dashboard-layout{grid-template-columns:minmax(0,1fr) minmax(240px,315px)!important;gap:12px!important}
body.authx-simple .operation-search-grid{grid-template-columns:minmax(0,1fr) auto auto!important;gap:8px!important}
body.authx-simple .ops-flow-panel{grid-template-columns:repeat(auto-fit,minmax(108px,1fr))!important;gap:8px!important;margin-top:10px!important}
body.authx-simple .flow-step{min-height:62px!important;border-radius:14px!important;padding:9px!important;box-shadow:none!important;background:var(--ax-panel)!important;border-color:var(--ax-border)!important}
body.authx-simple .flow-step i{width:28px!important;height:28px!important;border-radius:10px!important}
body.authx-simple .flow-step strong{font-size:.83rem!important;font-weight:760!important}
body.authx-simple .flow-step small{display:none!important}
body.authx-simple .found-material-card{border-radius:16px!important;box-shadow:none!important;padding:12px!important;gap:12px!important}
body.authx-simple .found-actions{gap:6px!important}
body.authx-simple .found-actions .btn{min-height:34px!important;font-size:.82rem!important}
body.authx-simple .empty-state p,body.authx-simple .central-empty p{max-width:420px;margin-inline:auto;color:var(--ax-muted)!important;font-weight:560!important}
body.authx-simple .authx-dropdown-panel{box-shadow:0 16px 45px rgba(0,0,0,.28)!important;border-radius:16px!important}
body.authx-simple .toast-zone{z-index:300!important}

@media (max-width:1500px){
  body.authx-simple .authx-sidebar{width:212px!important}
  body.authx-simple .authx-topbar{left:276px!important;padding-inline:12px!important}
  body.authx-simple .app-main{margin-left:276px!important;padding-inline:14px!important}
  body.authx-simple .authx-global-search{max-width:470px!important}
  body.authx-simple .operation-layout,body.authx-simple .dashboard-layout{grid-template-columns:1fr!important}
  body.authx-simple .operation-side,body.authx-simple .dashboard-side{display:grid;grid-template-columns:1fr 1fr;gap:10px!important}
  body.authx-simple .operation-side .panel,body.authx-simple .dashboard-side .panel{margin-top:0!important}
}
@media (max-width:1366px){
  body.authx-simple{font-size:13px!important}
  body.authx-simple .authx-topbar{height:56px!important}
  body.authx-simple .app-main{padding-top:68px!important}
  body.authx-simple .authx-page-head h1{font-size:1.35rem!important}
  body.authx-simple .authx-page-head p{display:none!important}
  body.authx-simple .metric-grid,body.authx-simple .metric-grid.kpi-7{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.authx-simple .metric-card{min-height:58px!important;padding:10px!important}
  body.authx-simple .metric-card .value{font-size:1.24rem!important}
  body.authx-simple .metric-card .icon{width:32px!important;height:32px!important}
  body.authx-simple .panel-header{padding:10px 12px!important}
  body.authx-simple .panel-body{padding:12px!important}
  body.authx-simple .context-flow{margin-bottom:10px!important}
  body.authx-simple .context-flow-item{font-size:.78rem!important;padding:0 9px!important}
}
@media (max-width:1100px){
  body.authx-simple .top-pill,body.authx-simple .authx-user{display:none!important}
  body.authx-simple .authx-global-search{max-width:none!important}
}
@media (max-width:980px){
  body.authx-simple .authx-rail,body.authx-simple .authx-sidebar,body.authx-simple .authx-topbar{display:none!important}
  body.authx-simple .mobile-topbar{height:56px!important;background:#020305!important;color:#fff!important}
  body.authx-simple .app-main{margin-left:0!important;padding:68px 10px 18px!important;max-width:none!important}
  body.authx-simple .authx-page-head{margin-bottom:9px!important}
  body.authx-simple .authx-page-head h1{font-size:1.25rem!important}
  body.authx-simple .metric-grid,body.authx-simple .metric-grid.kpi-7,body.authx-simple .metric-grid.kpi-compact{display:flex!important;overflow-x:auto!important;grid-template-columns:none!important;gap:8px!important;padding-bottom:3px!important;margin-bottom:10px!important}
  body.authx-simple .metric-card{min-width:122px!important;flex:0 0 122px!important}
  body.authx-simple .context-flow{overflow-x:auto!important;padding-bottom:2px!important}
  body.authx-simple .context-flow-item{flex:0 0 auto!important}
  body.authx-simple .operation-side,body.authx-simple .dashboard-side{grid-template-columns:1fr!important}
  body.authx-simple .operation-search-grid{grid-template-columns:1fr!important}
  body.authx-simple .operation-search-grid .btn{width:100%!important}
  body.authx-simple .ops-flow-panel{display:flex!important;overflow-x:auto!important;grid-template-columns:none!important;padding-bottom:3px!important}
  body.authx-simple .flow-step{min-width:104px!important;flex:0 0 104px!important}
  body.authx-simple .found-material-card{grid-template-columns:1fr!important}
  body.authx-simple .found-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
}
@media (max-width:560px){
  body.authx-simple .app-main{padding-inline:8px!important}
  body.authx-simple .panel{border-radius:15px!important}
  body.authx-simple .panel-header{gap:7px!important}
  body.authx-simple .panel-header .toolbar{width:100%!important}
  body.authx-simple .panel-header .toolbar .btn{flex:1 1 auto!important}
  body.authx-simple .found-actions{grid-template-columns:1fr!important}
  body.authx-simple .scan-camera-btn{width:38px!important;height:38px!important;min-width:38px!important}
  body.authx-simple .quick-grid,body.authx-simple .permission-grid,body.authx-simple .focus-grid{grid-template-columns:1fr!important}
}

/* =========================================================
   AuthX Estoque - modo ultra simples
   Menos texto, menos colunas e fluxo para usuário leigo.
   ========================================================= */
body.authx-simple{font-weight:600;letter-spacing:0;background:#eef3f8;color:#0b1524}
body.authx-simple:not(.authx-light){background:#0a0f16;color:#edf4fb}
body.authx-simple .authx-page-head{margin-bottom:12px;align-items:center}
body.authx-simple .authx-page-head h1{font-size:1.55rem;letter-spacing:-.035em}
body.authx-simple .authx-page-head p{font-size:.92rem;max-width:720px;color:var(--muted);font-weight:650}
body.authx-simple .hero-actions .btn{min-height:38px;padding:0 12px}
body.authx-simple .context-flow{margin-bottom:12px;gap:6px;overflow:auto;padding:7px;border-radius:15px;background:rgba(255,255,255,.55);border:1px solid #dbe4ef}
body.authx-simple:not(.authx-light) .context-flow{background:#0d141e;border-color:#1b2b3f}
body.authx-simple .context-flow-item{min-height:34px;padding:0 10px;border-radius:10px;font-size:.84rem;white-space:nowrap}
body.authx-simple .flow-link{display:none}
body.authx-simple .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
body.authx-simple .metric-grid.kpi-7{grid-template-columns:repeat(4,minmax(0,1fr))}
body.authx-simple .metric-card{min-height:64px;border-radius:15px;padding:11px 12px;box-shadow:none}
body.authx-simple .metric-card .icon{width:36px;height:36px;border-radius:12px;font-size:1rem}
body.authx-simple .metric-card .value{font-size:1.45rem}
body.authx-simple .metric-card .label{font-size:.66rem}
body.authx-simple .panel{border-radius:18px;box-shadow:none;background:#fff;border-color:#dbe4ef}
body.authx-simple:not(.authx-light) .panel{background:#101822;border-color:#223043}
body.authx-simple .panel-header{padding:13px 16px}
body.authx-simple .panel-body{padding:14px 16px}
body.authx-simple .small-caps{font-size:.68rem;letter-spacing:.03em;color:#6c7f94}
body.authx-simple .quick-grid,
body.authx-simple .operation-layout,
body.authx-simple .simple-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
body.authx-simple .operation-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.authx-simple .operation-search-grid{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:8px;align-items:end}
body.authx-simple .row.g-3{--bs-gutter-x:.65rem;--bs-gutter-y:.65rem}
body.authx-simple .form-label{font-size:.76rem;margin-bottom:4px;color:#53677d}
body.authx-simple:not(.authx-light) .form-label{color:#aabbd0}
body.authx-simple .form-control,
body.authx-simple .form-select{min-height:40px;border-radius:12px;font-weight:700;background:#fff!important;color:#0b1524!important;border-color:#cfdae7!important}
body.authx-simple:not(.authx-light) .form-control,
body.authx-simple:not(.authx-light) .form-select{background:#0a111b!important;color:#eef6ff!important;border-color:#26364c!important}
body.authx-simple .btn{border-radius:12px;font-weight:850}
body.authx-simple .btn-lg{min-height:44px;padding:.5rem 1rem;font-size:1rem}
body.authx-simple .scan-microcopy{display:none!important}
body.authx-simple .scan-field-row{display:flex;gap:7px;align-items:center}
body.authx-simple .scan-field-row .form-control{flex:1}
body.authx-simple .scan-camera-btn{width:42px;height:40px;min-width:42px;border-radius:12px}
body.authx-simple .cart-item{border-radius:14px;padding:10px;gap:8px;background:#f8fafc;border:1px solid #dbe4ef}
body.authx-simple:not(.authx-light) .cart-item{background:#0d141e;border-color:#223043}
body.authx-simple .cart-item strong{font-size:.95rem}
body.authx-simple .cart-item small{font-size:.76rem;color:#687c92}
body.authx-simple:not(.authx-light) .cart-item small{color:#9fb0c3}
body.authx-simple .empty-state{padding:18px;min-height:auto}
body.authx-simple .empty-state i{font-size:1.5rem}
body.authx-simple .empty-state h5{font-size:1rem;margin-bottom:3px}
body.authx-simple .empty-state p{font-size:.86rem;margin:0}
body.authx-simple .authx-menu-main span,
body.authx-simple .authx-menu-sub-v2 span{font-weight:800}
body.authx-simple .authx-menu-section:not(.open) .authx-submenu-tree{display:none!important}
body.authx-simple .authx-menu-section.open{background:rgba(239,189,57,.06)}
body.authx-simple .authx-submenu-tree{padding-left:14px;margin-left:13px;border-left:1px solid rgba(239,189,57,.28)}
body.authx-simple .table th{font-size:.72rem}
body.authx-simple .table td{font-size:.88rem;vertical-align:middle}
.material-pick-box{margin-top:8px;border:1px solid #d7e2ee;background:#fff;border-radius:14px;box-shadow:0 16px 35px rgba(15,23,42,.12);overflow:hidden;z-index:50;position:relative}
body:not(.authx-light) .material-pick-box{background:#0d141e;border-color:#25364b;box-shadow:0 18px 45px rgba(0,0,0,.32)}
.material-pick-head{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-bottom:1px solid #e5edf5;color:#0b1524}
body:not(.authx-light) .material-pick-head{border-color:#223043;color:#eef6ff}
.material-pick-head strong{font-size:.86rem}.material-pick-head button{border:0;background:transparent;color:inherit;width:30px;height:30px;border-radius:9px}.material-pick-head button:hover{background:rgba(0,0,0,.06)}
.material-pick-list{display:grid;gap:0;max-height:310px;overflow:auto}
.material-pick-item{border:0;border-bottom:1px solid #edf2f7;background:transparent;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;color:#0b1524;width:100%}
body:not(.authx-light) .material-pick-item{border-color:#1f2d3f;color:#eef6ff}
.material-pick-item:hover,.material-pick-item:focus{background:rgba(239,189,57,.10);outline:0}.material-pick-item b{display:block;font-size:.9rem}.material-pick-item small{display:block;font-size:.76rem;color:#64748b}.material-pick-item em{font-style:normal;font-size:.72rem;font-weight:900;border-radius:999px;padding:4px 8px;background:rgba(32,209,100,.13);color:#178544;white-space:nowrap}.material-pick-item em.zerado{background:rgba(255,82,82,.13);color:#d22e2e}
body:not(.authx-light) .material-pick-item small{color:#9fb0c3}
.simple-help-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.simple-help-strip a,.simple-help-strip div{border:1px solid #dbe4ef;background:#fff;border-radius:16px;padding:12px;color:#0b1524;display:flex;gap:10px;align-items:center}.simple-help-strip i{width:34px;height:34px;border-radius:12px;background:rgba(239,189,57,.16);color:#c58a09;display:grid;place-items:center}.simple-help-strip strong{display:block}.simple-help-strip small{display:block;color:#64748b;font-size:.78rem}
body:not(.authx-light) .simple-help-strip a,body:not(.authx-light) .simple-help-strip div{background:#101822;border-color:#223043;color:#eef6ff}
@media(max-width:1500px){body.authx-simple .operation-side{grid-template-columns:1fr 1fr}body.authx-simple .metric-grid,body.authx-simple .metric-grid.kpi-7{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){body.authx-simple .metric-grid,body.authx-simple .metric-grid.kpi-7{grid-template-columns:repeat(2,minmax(0,1fr))}body.authx-simple .operation-side{grid-template-columns:1fr}body.authx-simple .operation-search-grid{grid-template-columns:1fr}body.authx-simple .hero-actions{display:none}.simple-help-strip{grid-template-columns:1fr}body.authx-simple .authx-page-head p{display:none}}
@media(max-width:640px){body.authx-simple .metric-card{min-height:58px;padding:10px}body.authx-simple .metric-card .value{font-size:1.25rem}body.authx-simple .panel-header{padding:12px}body.authx-simple .panel-body{padding:12px}body.authx-simple .cart-item{grid-template-columns:1fr auto auto!important}body.authx-simple .cart-item input[type=number]{width:78px}.material-pick-box{position:fixed;left:10px;right:10px;bottom:10px;margin:0;max-height:60vh}.material-pick-list{max-height:calc(60vh - 38px)}}
/* Consulta por categoria/nome: lista simples e legível */
.material-pick-head small{font-size:.78rem;color:#718096;font-weight:800;margin-left:4px}
body:not(.authx-light) .material-pick-head small{color:#9fb0c3}
.material-pick-more{padding:9px 11px;font-size:.76rem;font-weight:800;color:#64748b;background:rgba(239,189,57,.08)}
body:not(.authx-light) .material-pick-more{color:#a7b5c7;background:rgba(239,189,57,.10)}
.material-pick-item em:not(.zerado){background:rgba(239,189,57,.16);color:#a66b00}
body:not(.authx-light) .material-pick-item em:not(.zerado){color:#f2c84b;background:rgba(239,189,57,.14)}

/* =========================================================
   Correção: técnicos/equipes + tema claro revisado
   ========================================================= */
.tecnico-pick-box{margin-top:7px;border:1px solid #d7e2ee;background:#fff;border-radius:14px;box-shadow:0 16px 35px rgba(15,23,42,.12);overflow:hidden;z-index:80;position:relative}
.tecnico-pick-head{height:38px;display:flex;align-items:center;gap:8px;justify-content:space-between;padding:0 10px;border-bottom:1px solid #e5edf5;color:#0b1524}
.tecnico-pick-head strong{font-size:.86rem}.tecnico-pick-head small{font-size:.76rem;color:#718096;font-weight:800;margin-right:auto}.tecnico-pick-head button{border:0;background:transparent;color:inherit;width:30px;height:30px;border-radius:9px}.tecnico-pick-head button:hover{background:rgba(0,0,0,.06)}
.tecnico-pick-list{display:grid;max-height:270px;overflow:auto}.tecnico-pick-item{border:0;border-bottom:1px solid #edf2f7;background:transparent;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;color:#0b1524;width:100%}.tecnico-pick-item:hover,.tecnico-pick-item:focus{background:rgba(239,189,57,.10);outline:0}.tecnico-pick-item b{display:block;font-size:.9rem}.tecnico-pick-item small{display:block;font-size:.76rem;color:#64748b}.tecnico-pick-item em{font-style:normal;font-size:.72rem;font-weight:900;border-radius:999px;padding:4px 8px;background:rgba(239,189,57,.16);color:#a66b00;white-space:nowrap}
body:not(.authx-light) .tecnico-pick-box{background:#0d141e;border-color:#25364b;box-shadow:0 18px 45px rgba(0,0,0,.32)}
body:not(.authx-light) .tecnico-pick-head{border-color:#223043;color:#eef6ff}body:not(.authx-light) .tecnico-pick-head small{color:#9fb0c3}body:not(.authx-light) .tecnico-pick-item{border-color:#1f2d3f;color:#eef6ff}body:not(.authx-light) .tecnico-pick-item small{color:#9fb0c3}body:not(.authx-light) .tecnico-pick-item em{color:#f2c84b;background:rgba(239,189,57,.14)}

body.authx-app.authx-simple.authx-light{--ax-bg:#eef2f7;--ax-bg-soft:#f5f7fb;--ax-panel:#ffffff;--ax-panel-2:#f8fafc;--ax-panel-3:#ffffff;--ax-border:#d8e2ee;--ax-border-soft:#e8eef5;--ax-text:#132033;--ax-heading:#07111f;--ax-muted:#5f7287;--ax-muted-2:#8394a8;background:#eef2f7!important;color:#132033!important}
body.authx-simple.authx-light .app-main{background:#eef2f7!important}
body.authx-simple.authx-light .authx-rail{background:#020305!important;border-right-color:#111827!important}
body.authx-simple.authx-light .rail-btn,body.authx-simple.authx-light .rail-exit{color:#e6edf6!important}body.authx-simple.authx-light .rail-btn:hover{background:#111827!important;color:#fff!important}body.authx-simple.authx-light .rail-btn.active{background:rgba(239,189,57,.18)!important;color:#efbd39!important;border-color:rgba(239,189,57,.50)!important}
body.authx-simple.authx-light .authx-sidebar{background:#ffffff!important;border-right-color:#dbe4ef!important;box-shadow:10px 0 30px rgba(15,23,42,.04)!important}body.authx-simple.authx-light .authx-brand{color:#07111f!important}body.authx-simple.authx-light .authx-brand-name{color:#07111f!important}
body.authx-simple.authx-light .authx-menu-main,body.authx-simple.authx-light .authx-menu-sub-v2,body.authx-simple.authx-light .mobile-menu-group .nav-link{color:#203047!important}body.authx-simple.authx-light .authx-menu-main i,body.authx-simple.authx-light .authx-menu-sub-v2 i{color:#60758b!important}body.authx-simple.authx-light .authx-menu-main:hover,body.authx-simple.authx-light .authx-menu-sub-v2:hover{background:#f4f7fb!important;color:#07111f!important}
body.authx-simple.authx-light .authx-menu-main.active,body.authx-simple.authx-light .authx-menu-sub-v2.active,body.authx-simple.authx-light .mobile-menu-group .nav-link.active{background:#fff5d6!important;border-color:#e7bd42!important;color:#07111f!important}body.authx-simple.authx-light .authx-menu-main.active i,body.authx-simple.authx-light .authx-menu-sub-v2.active i{color:#c38908!important}body.authx-simple.authx-light .authx-menu-section.open{background:#fffbeb!important}body.authx-simple.authx-light .authx-submenu-tree{border-left-color:#efbd39!important}
body.authx-simple.authx-light .authx-db-card{background:#f8fafc!important;border-color:#dbe4ef!important;color:#506277!important}
body.authx-simple.authx-light .authx-topbar{background:rgba(255,255,255,.94)!important;border-bottom-color:#dbe4ef!important;box-shadow:0 8px 22px rgba(15,23,42,.05)!important}body.authx-simple.authx-light .authx-global-search,body.authx-simple.authx-light .top-pill,body.authx-simple.authx-light .top-icon,body.authx-simple.authx-light .authx-user-btn{background:#ffffff!important;border-color:#d6e0eb!important;color:#07111f!important}body.authx-simple.authx-light .authx-global-search input{color:#07111f!important}body.authx-simple.authx-light .authx-global-search kbd{background:#f3f6fa!important;border-color:#d3deea!important;color:#47576a!important}
body.authx-simple.authx-light .authx-page-head h1,body.authx-simple.authx-light .panel-header h5,body.authx-simple.authx-light .metric-card .value,body.authx-simple.authx-light .material-cell strong{color:#07111f!important}body.authx-simple.authx-light .authx-page-head p,body.authx-simple.authx-light .small-caps,body.authx-simple.authx-light .metric-card .label,body.authx-simple.authx-light .form-label{color:#5f7287!important}
body.authx-simple.authx-light .panel,body.authx-simple.authx-light .metric-card,body.authx-simple.authx-light .cart-item,body.authx-simple.authx-light .quick-mini-card,body.authx-simple.authx-light .mini-panel,body.authx-simple.authx-light .ops-card{background:#ffffff!important;border-color:#dbe4ef!important;color:#132033!important;box-shadow:0 12px 26px rgba(15,23,42,.06)!important}body.authx-simple.authx-light .panel-header{border-bottom-color:#e6edf5!important;background:#fff!important}
body.authx-simple.authx-light .form-control,body.authx-simple.authx-light .form-select{background:#ffffff!important;color:#07111f!important;border-color:#cbd8e6!important}body.authx-simple.authx-light .form-control::placeholder{color:#7c8fa5!important}body.authx-simple.authx-light .form-control:focus,body.authx-simple.authx-light .form-select:focus{border-color:#e3af26!important;box-shadow:0 0 0 .18rem rgba(239,189,57,.16)!important}
body.authx-simple.authx-light .btn-soft,body.authx-simple.authx-light .btn-authx-icon{background:#fff!important;border-color:#d5e0ec!important;color:#0f1d2e!important}body.authx-simple.authx-light .btn-soft:hover,body.authx-simple.authx-light .btn-authx-icon:hover{background:#f8fafc!important;border-color:#bdcbdc!important;color:#07111f!important}
body.authx-simple.authx-light .table{--bs-table-color:#132033;--bs-table-border-color:#e5ecf4;--bs-table-hover-bg:#f8fafc!important;color:#132033!important}body.authx-simple.authx-light .table th,body.authx-simple.authx-light .authx-table th{background:#f8fafc!important;color:#65788e!important;border-bottom-color:#dfe8f2!important}body.authx-simple.authx-light .table td,body.authx-simple.authx-light .authx-table td{color:#132033!important;border-bottom-color:#e7edf4!important}
body.authx-simple.authx-light .soft-pill,body.authx-simple.authx-light .code-badge,body.authx-simple.authx-light .role-badge{background:#f5f8fc!important;border-color:#dce6f1!important;color:#34465a!important}body.authx-simple.authx-light .status-pill.success{background:#e9fbef!important;border-color:#b9efc9!important;color:#12833f!important}body.authx-simple.authx-light .status-pill.warning{background:#fff6db!important;border-color:#eed078!important;color:#925f00!important}body.authx-simple.authx-light .status-pill.danger{background:#fff0f0!important;border-color:#ffc6c6!important;color:#c53030!important}body.authx-simple.authx-light .status-pill.blue{background:#edf6ff!important;border-color:#bddfff!important;color:#236aa7!important}
body.authx-simple.authx-light .authx-dropdown,body.authx-simple.authx-light .authx-dropdown-panel{background:#fff!important;border-color:#dbe4ef!important;color:#132033!important;box-shadow:0 18px 50px rgba(15,23,42,.15)!important}body.authx-simple.authx-light .dropdown-action,body.authx-simple.authx-light .notification-item{color:#132033!important}body.authx-simple.authx-light .dropdown-action:hover,body.authx-simple.authx-light .notification-item:hover{background:#f8fafc!important}
body.authx-simple.authx-light .context-flow{background:#ffffff!important;border-color:#dbe4ef!important}body.authx-simple.authx-light .context-flow-item{color:#31445a!important}body.authx-simple.authx-light .context-flow-item.active{background:#fff5d6!important;border-color:#e7bd42!important;color:#07111f!important}
@media(max-width:640px){.tecnico-pick-box{position:fixed;left:10px;right:10px;bottom:10px;margin:0;max-height:58vh}.tecnico-pick-list{max-height:calc(58vh - 38px)}}

/* =====================================================================
   SIMPLIFICAÇÃO FINAL - interface para usuário leigo
   - Menu direto, sem árvore visual extensa
   - Uma tela principal por vez
   - Busca por produto/categoria/código mais clara
   - Funciona melhor em notebook 1366x768 e mobile
   ===================================================================== */
body.authx-app.authx-simple{
  font-size:14px!important;
  font-weight:520!important;
  letter-spacing:0!important;
}
body.authx-app.authx-simple .context-flow{display:none!important}
body.authx-app.authx-simple .authx-sidebar{width:220px!important;padding:14px 10px!important}
body.authx-app.authx-simple .authx-topbar{left:284px!important;height:56px!important;padding:0 14px!important}
body.authx-app.authx-simple .app-main{margin-left:284px!important;padding:72px 18px 22px!important;max-width:1280px}
body.authx-app.authx-simple.authx-sidebar-collapsed .authx-topbar{left:64px!important}
body.authx-app.authx-simple.authx-sidebar-collapsed .app-main{margin-left:64px!important;max-width:none}
body.authx-app.authx-simple .authx-menu-section{background:transparent!important;border:0!important;margin:2px 0!important}
body.authx-app.authx-simple .authx-menu-section.open{background:transparent!important;border-color:transparent!important}
body.authx-app.authx-simple .authx-menu-main{min-height:44px!important;border-radius:14px!important;padding:0 10px!important}
body.authx-app.authx-simple .authx-menu-main em{display:none!important}
body.authx-app.authx-simple .authx-submenu-tree{display:none!important}
body.authx-app.authx-simple .authx-menu-main>i:first-child{width:32px!important;height:32px!important}
body.authx-app.authx-simple .authx-menu-main.active{background:rgba(239,189,57,.16)!important;border:1px solid rgba(239,189,57,.38)!important}
body.authx-app.authx-simple .authx-menu-main span{font-size:.93rem!important}
body.authx-app.authx-simple .authx-global-search{max-width:560px!important;height:38px!important}
body.authx-app.authx-simple .top-pill{display:none!important}
body.authx-app.authx-simple .authx-page-head{margin-bottom:14px!important}
body.authx-app.authx-simple .authx-page-head h1{font-size:1.55rem!important}
body.authx-app.authx-simple .authx-page-head p{font-size:.9rem!important;color:var(--ax-muted)!important}
body.authx-app.authx-simple .panel{border-radius:18px!important;box-shadow:0 12px 30px rgba(0,0,0,.16)!important}
body.authx-app.authx-simple .panel-header{padding:13px 15px!important}
body.authx-app.authx-simple .panel-body{padding:15px!important}
body.authx-app.authx-simple .form-control,
body.authx-app.authx-simple .form-select{min-height:46px!important;border-radius:13px!important;font-weight:750!important}
body.authx-app.authx-simple .btn{min-height:42px;border-radius:13px!important}
body.authx-app.authx-simple .btn-lg{min-height:46px!important;font-size:1rem!important}
body.authx-app.authx-simple .small-caps{font-size:.7rem!important;letter-spacing:.04em!important}
body.authx-app.authx-simple .scan-camera-btn{width:46px!important;min-width:46px!important;height:46px!important;border-radius:13px!important}

.simple-home-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:0 0 14px}.simple-home-head h1{margin:0;font-size:1.9rem;font-weight:950;letter-spacing:-.04em}.simple-home-head p{margin:4px 0 0;color:var(--ax-muted);font-weight:650}.simple-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}.simple-action-card{min-height:86px;border:1px solid var(--ax-border);border-radius:18px;background:linear-gradient(180deg,var(--ax-panel),var(--ax-panel-3));display:flex;align-items:center;gap:12px;padding:14px;color:var(--ax-text);box-shadow:0 12px 28px rgba(0,0,0,.12)}.simple-action-card:hover{color:var(--ax-heading);border-color:rgba(239,189,57,.42);transform:translateY(-1px)}.simple-action-card i{width:44px;height:44px;border-radius:15px;background:rgba(239,189,57,.13);color:var(--ax-gold);display:grid;place-items:center;font-size:1.25rem}.simple-action-card.primary{border-color:rgba(239,189,57,.5);background:linear-gradient(180deg,rgba(239,189,57,.16),var(--ax-panel))}.simple-action-card strong{display:block;font-size:1.06rem}.simple-action-card small{display:block;color:var(--ax-muted);font-weight:700}.simple-kpi-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.simple-kpi{height:54px;border:1px solid var(--ax-border);border-radius:15px;background:var(--ax-panel);display:flex;align-items:center;gap:8px;padding:0 14px;color:var(--ax-text)}.simple-kpi b{font-size:1.35rem;line-height:1}.simple-kpi span{font-size:.8rem;color:var(--ax-muted);font-weight:850;text-transform:uppercase}.simple-kpi.warning b{color:var(--ax-gold)}.simple-kpi.danger b{color:var(--ax-red)}.simple-kpi.blue b{color:var(--ax-blue)}.simple-panel{max-width:100%}.simple-search-panel .panel-body{padding:18px!important}.simple-label{font-size:.84rem!important;margin-bottom:8px!important}.simple-scan-row{display:grid;grid-template-columns:minmax(220px,1fr) 46px auto;gap:10px;align-items:center}.simple-helper{margin-top:9px;color:var(--ax-muted);font-size:.83rem;font-weight:650}.simple-helper kbd{background:var(--ax-panel-3);border:1px solid var(--ax-border);border-radius:6px;padding:1px 6px}.simple-empty{margin-top:16px;border:1px dashed var(--ax-border);border-radius:16px;min-height:106px;display:grid;place-items:center;text-align:center;color:var(--ax-muted);padding:18px}.simple-empty i{font-size:1.75rem;color:var(--ax-gold);margin-bottom:4px}.simple-empty strong{display:block;color:var(--ax-heading);font-size:1rem}.simple-empty span{display:block;font-weight:650}.simple-found{margin-top:16px!important;border-radius:16px!important}.simple-found .found-actions{gap:8px!important}.simple-panel-header h5{margin:0;font-weight:900}.simple-table th{font-size:.73rem;color:var(--ax-muted);text-transform:uppercase}.simple-table td{vertical-align:middle}

/* Deixa as telas de entrega/entrada/retorno em 1 bloco principal, sem parecer cockpit */
body.authx-simple .quick-grid{grid-template-columns:1fr!important;gap:14px!important;max-width:980px!important}
body.authx-simple .quick-grid>.panel:nth-child(2){order:2;max-height:none!important}
body.authx-simple .quick-grid>.panel:nth-child(2) .panel-body{padding:0!important}
body.authx-simple .row.g-3{--bs-gutter-x:.65rem!important;--bs-gutter-y:.65rem!important}
body.authx-simple .cart-item{border-radius:15px!important;padding:10px!important;gap:10px!important}
body.authx-simple .cart-item strong{font-size:.96rem!important}.cart-item small{font-size:.78rem!important}
body.authx-simple .material-pick-box,.tecnico-pick-box{z-index:2000!important}
body.authx-simple .material-pick-item{min-height:54px!important}
body.authx-simple .material-pick-item b{font-size:.94rem!important}

/* Tema claro mais limpo e com menos cores conflitantes */
body.authx-light.authx-simple{background:#f3f6fa!important;color:#122033!important}
body.authx-light.authx-simple .authx-topbar{background:rgba(255,255,255,.92)!important;border-color:#dce4ef!important}
body.authx-light.authx-simple .authx-sidebar{background:#f8fafc!important;border-color:#dce4ef!important}
body.authx-light.authx-simple .authx-brand-name,body.authx-light.authx-simple .authx-menu-main{color:#142033!important}
body.authx-light.authx-simple .authx-menu-main>i:first-child{background:#fff!important;border-color:#d9e3ef!important;color:#55657a!important}
body.authx-light.authx-simple .authx-menu-main.active{background:#fff3cd!important;color:#111827!important;border-color:#efbd39!important}
body.authx-light.authx-simple .authx-menu-main.active>i:first-child{background:#fff9e8!important;color:#d99a1e!important;border-color:#efbd39!important}
body.authx-light.authx-simple .panel,body.authx-light.authx-simple .simple-action-card,body.authx-light.authx-simple .simple-kpi,body.authx-light.authx-simple .metric-card{background:#fff!important;border-color:#dce4ef!important;color:#122033!important;box-shadow:0 10px 28px rgba(15,23,42,.08)!important}
body.authx-light.authx-simple .panel-header{border-color:#e3eaf3!important}
body.authx-light.authx-simple h1,body.authx-light.authx-simple h2,body.authx-light.authx-simple h3,body.authx-light.authx-simple h4,body.authx-light.authx-simple h5,body.authx-light.authx-simple strong{color:#0f172a!important}
body.authx-light.authx-simple .form-control,body.authx-light.authx-simple .form-select,body.authx-light.authx-simple .authx-global-search{background:#fff!important;border-color:#d6e0ec!important;color:#142033!important}
body.authx-light.authx-simple .form-control::placeholder,body.authx-light.authx-simple .authx-global-search input::placeholder{color:#7b8aa0!important}
body.authx-light.authx-simple .btn-soft{background:#fff!important;border-color:#d6e0ec!important;color:#142033!important}
body.authx-light.authx-simple .authx-table td,body.authx-light.authx-simple .table td{color:#122033!important;border-color:#e6edf5!important}
body.authx-light.authx-simple .authx-table th,body.authx-light.authx-simple .table th{color:#66758a!important;border-color:#e6edf5!important}
body.authx-light.authx-simple .soft-pill,body.authx-light.authx-simple .code-badge{background:#f6f8fb!important;border-color:#dbe4ef!important;color:#253449!important}
body.authx-light.authx-simple .simple-empty{background:#fbfdff!important;border-color:#d7e1ed!important}

@media(max-width:1500px){
  body.authx-app.authx-simple .app-main{padding-left:16px!important;padding-right:16px!important}
  .simple-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1180px){
  .simple-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-kpi-row{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.authx-app.authx-simple .authx-top-actions .top-icon.has-badge:not(.danger){display:none!important}
}
@media(max-width:980px){
  body.authx-app.authx-simple .app-main{margin-left:0!important;padding:76px 12px 18px!important;max-width:none!important}
  .simple-home-head h1{font-size:1.45rem}.simple-home-head p{font-size:.9rem}.simple-action-grid{grid-template-columns:1fr 1fr;gap:9px}.simple-action-card{min-height:76px;padding:11px}.simple-action-card i{width:38px;height:38px}.simple-kpi-row{grid-template-columns:1fr 1fr}.simple-scan-row{grid-template-columns:1fr 46px}.simple-scan-row .btn-hero{grid-column:1/-1}.simple-search-panel .panel-body{padding:14px!important}
}
@media(max-width:560px){
  .simple-action-grid,.simple-kpi-row{grid-template-columns:1fr}.simple-action-card{min-height:64px}.simple-kpi{height:48px}.simple-found{display:block!important}.simple-found .found-icon{margin-bottom:10px}.simple-found .found-actions{display:grid!important;grid-template-columns:1fr 1fr;margin-top:12px}.simple-found .found-actions .btn{width:100%;font-size:.9rem}.authx-user strong,.authx-user small{display:none!important}
}
.active-filter-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 14px;border-top:1px solid var(--ax-border-soft);border-bottom:1px solid var(--ax-border-soft);background:rgba(239,189,57,.045);font-weight:750;color:var(--ax-muted)}.active-filter-line strong{display:inline-flex;align-items:center;border:1px solid rgba(239,189,57,.35);background:rgba(239,189,57,.12);border-radius:999px;padding:4px 9px;color:var(--ax-heading)}.active-filter-line a{margin-left:auto;color:var(--ax-gold);font-weight:900}body.authx-light .active-filter-line{background:#fff8e5;border-color:#efdfad;color:#5d6878}body.authx-light .active-filter-line strong{background:#fff3c4;color:#111827;border-color:#e8c65c}

/* =====================================================================
   Estoque atual - mobile realmente utilizável
   Troca a tabela larga por cartões compactos com ações visíveis.
   ===================================================================== */
.stock-mobile-list{display:none}
.stock-mobile-empty{border:1px dashed var(--ax-border);border-radius:16px;padding:18px;text-align:center;color:var(--ax-muted);display:grid;place-items:center;gap:5px;background:var(--ax-panel-2)}
.stock-mobile-empty i{font-size:1.6rem;color:var(--ax-gold)}
.stock-mobile-empty strong{color:var(--ax-heading)}

@media(max-width:760px){
  body.authx-app.authx-simple .app-main{padding:64px 8px 14px!important}
  body.authx-app.authx-simple .authx-page-head{display:none!important}
  body.authx-app.authx-simple .metric-grid.kpi-compact{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible!important;gap:7px!important;margin-bottom:8px!important}
  body.authx-app.authx-simple .metric-card{min-width:0!important;flex:none!important;min-height:48px!important;border-radius:13px!important;padding:8px!important;gap:6px!important}
  body.authx-app.authx-simple .metric-card .icon{display:none!important}
  body.authx-app.authx-simple .metric-card .label{font-size:.62rem!important;line-height:1!important;letter-spacing:0!important}
  body.authx-app.authx-simple .metric-card .value{font-size:1.05rem!important;line-height:1!important}

  .inventory-panel{border-radius:16px!important;overflow:hidden!important}
  .inventory-panel .compact-header{min-height:44px!important;padding:10px!important;align-items:center!important}
  .inventory-panel .compact-header h5{font-size:1rem!important}
  .inventory-panel .compact-header .toolbar{width:auto!important;margin-left:auto!important;display:flex!important;gap:6px!important}
  .inventory-panel .compact-header .toolbar .btn{min-height:34px!important;padding:0 9px!important;font-size:.82rem!important;flex:0 0 auto!important}
  .inventory-panel .compact-header .toolbar .btn i{margin:0!important}

  .compact-search{padding:10px!important}
  .scan-toolbar.compact{display:grid!important;grid-template-columns:1fr 44px!important;gap:8px!important;align-items:end!important}
  .scan-toolbar.compact .main-search-wrap{grid-column:1/-1!important}
  .scan-toolbar.compact .scan-field{grid-column:1/-1!important}
  .scan-toolbar.compact .form-label,
  .scan-toolbar.compact .scan-field label{font-size:.68rem!important;margin-bottom:4px!important}
  .scan-toolbar.compact .form-control,
  .scan-toolbar.compact .form-select{min-height:42px!important;font-size:.92rem!important;border-radius:12px!important}
  .scan-toolbar.compact .scan-camera-btn{width:42px!important;min-width:42px!important;height:42px!important;border-radius:12px!important}
  .scan-toolbar.compact [data-advanced-toggle]{grid-column:1/2!important;min-height:38px!important;width:100%!important}
  .scan-toolbar.compact .btn-hero[type=submit]{grid-column:2/3!important;min-height:38px!important;width:44px!important;padding:0!important;font-size:0!important}
  .scan-toolbar.compact .btn-hero[type=submit] i{font-size:1rem!important;margin:0!important}
  .scan-toolbar.compact .scan-note{display:none!important}
  .advanced-filters{grid-column:1/-1!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:0!important}

  .active-filter-line{padding:8px 10px!important;font-size:.78rem!important;gap:5px!important}
  .active-filter-line a{margin-left:0!important;width:100%;text-align:center;padding:6px;border-radius:10px;background:rgba(239,189,57,.12)}
  .ops-strip{display:none!important}

  .stock-desktop-table{display:none!important}
  .stock-mobile-list{display:grid!important;gap:9px;padding:10px;background:transparent}
  .table-mobile-cards{padding:0!important}
  .stock-mobile-card{border:1px solid var(--ax-border);background:var(--ax-panel);border-radius:15px;padding:10px;display:grid;gap:9px;box-shadow:none;overflow:hidden}
  body.authx-simple:not(.authx-light) .stock-mobile-card{background:#101822;border-color:#223043}
  .stock-mobile-card.danger{border-color:rgba(239,68,68,.45)!important}
  .stock-mobile-card.warning{border-color:rgba(233,173,32,.48)!important}
  .stock-mobile-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
  .stock-mobile-product{display:flex;align-items:center;gap:9px;min-width:0}
  .stock-mobile-product .material-thumb{width:38px!important;height:38px!important;border-radius:12px!important;flex:0 0 38px}
  .stock-mobile-product strong{display:block;color:var(--ax-heading);font-size:.94rem;line-height:1.14;white-space:normal;overflow-wrap:anywhere}
  .stock-mobile-product small{display:block;color:var(--ax-muted);font-size:.73rem;font-weight:700;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}
  .stock-mobile-qty{text-align:right;min-width:66px}
  .stock-mobile-qty span{display:block;color:var(--ax-muted);font-size:.62rem;font-weight:850;text-transform:uppercase;line-height:1}
  .stock-mobile-qty strong{display:block;font-size:1.25rem;line-height:1.08;margin-top:3px}
  .stock-mobile-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ax-muted);font-size:.73rem;font-weight:800}
  .stock-mobile-meta .status-pill{padding:4px 8px!important;font-size:.7rem!important;white-space:nowrap}
  .stock-mobile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:1px}
  .stock-mobile-actions .btn{min-height:38px!important;border-radius:12px!important;font-size:.82rem!important;padding:0 8px!important;width:100%}
  .stock-mobile-actions .btn i{font-size:.95rem}
  .stock-mobile-details{border-top:1px solid var(--ax-border-soft);padding-top:7px;color:var(--ax-muted);font-size:.78rem}
  .stock-mobile-details summary{cursor:pointer;font-weight:900;color:var(--ax-heading);list-style:none;display:flex;align-items:center;justify-content:space-between}
  .stock-mobile-details summary::-webkit-details-marker{display:none}
  .stock-mobile-details summary:after{content:'+';width:22px;height:22px;border-radius:8px;background:var(--ax-panel-3);display:grid;place-items:center;color:var(--ax-gold);font-size:.9rem}
  .stock-mobile-details[open] summary:after{content:'−'}
  .stock-mobile-details div{display:flex;justify-content:space-between;gap:12px;padding:6px 0 0;border:0}
  .stock-mobile-details b{color:var(--ax-muted);font-size:.72rem;text-transform:uppercase}
  .stock-mobile-details span{text-align:right;color:var(--ax-heading);font-weight:800;word-break:break-word}
  .table-footer-compact{padding:9px 10px!important;font-size:.8rem!important}

  .ops-grid-compact{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:10px!important}
  .ops-grid-compact .mini-panel{min-height:54px!important;padding:9px!important;border-radius:14px!important}
  .ops-grid-compact .mini-panel i{width:32px!important;height:32px!important;border-radius:11px!important;font-size:.96rem!important}
  .ops-grid-compact .mini-panel strong{font-size:.84rem!important}
  .ops-grid-compact .mini-panel small{display:none!important}
  .ops-grid-compact .mini-panel .btn{min-height:30px!important;font-size:.76rem!important;padding:0 8px!important}
}

@media(max-width:390px){
  body.authx-app.authx-simple .metric-grid.kpi-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .stock-mobile-actions{grid-template-columns:1fr!important}
  .ops-grid-compact{grid-template-columns:1fr!important}
}
