/* Warehouse V2: scoped, non-destructive presentation. */
[data-w2-root],[data-w2-dialog]{--w2-green:#176b47;--w2-deep:#14372c;--w2-line:#d5e3da;--w2-ink:#173329;--w2-muted:#60796c;--w2-soft:#f3f7f4}
[data-w2-root] [data-w2-title]{font-size:21px!important;color:var(--w2-ink)!important;font-weight:750!important;letter-spacing:-.02em;line-height:1.35!important}
[data-w2-root] [data-w2-title]::before{content:'GESTÃO DE ESTOQUE';display:block;font-size:10px;letter-spacing:.12em;color:var(--w2-green);font-weight:750;margin-bottom:5px}
[data-w2-root] [data-w2-description]{color:var(--w2-muted)!important;font-size:13px!important}
[data-w2-root] [data-w2-section-title]{color:var(--w2-ink)!important;font-weight:730!important;font-size:16px!important}
[data-w2-root] [data-w2-tabs]{gap:8px!important;flex-wrap:wrap!important;margin-bottom:14px!important}
[data-w2-root] [data-w2-tab]{border-radius:8px 8px 0 0!important;min-height:39px!important;padding:8px 12px!important;font-weight:600!important;line-height:1.3!important}
[data-w2-root] [data-w2-tab]:is(.active,.is-active,.is-selected,.selected,[aria-selected=true],[aria-current=page],[data-active=true],[data-active='1']){background:#e6f2ea!important;color:var(--w2-green)!important;border-color:#b7d6c3!important}
[data-w2-root] [data-w2-tab]:focus-visible,[data-w2-root] button:focus-visible,[data-w2-dialog] button:focus-visible{outline:2px solid #81b69b!important;outline-offset:2px!important}
[data-w2-root] [data-w2-stats]{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-block:12px 18px!important}
[data-w2-root] [data-w2-stat]{border:1px solid var(--w2-line)!important;border-radius:10px!important;padding:15px!important;min-width:0!important;background:#fff!important;box-shadow:none!important}
[data-w2-root] [data-w2-stat-label]{font-size:12px!important;color:var(--w2-muted)!important;font-weight:550!important}
[data-w2-root] [data-w2-stat-value]{font-size:25px!important;font-weight:750!important;line-height:1.2!important;color:var(--w2-ink)!important;font-variant-numeric:tabular-nums}
[data-w2-root] [data-w2-stat=total]{background:var(--w2-deep)!important;border-color:var(--w2-deep)!important}
[data-w2-root] [data-w2-stat=total] :is([data-w2-stat-value],[data-w2-stat-label]){color:#fff!important}
[data-w2-root] [data-w2-stat=ok] [data-w2-stat-value]{color:#176b47!important}
[data-w2-root] [data-w2-stat=warn] [data-w2-stat-value]{color:#95670e!important}
[data-w2-root] [data-w2-stat=danger] [data-w2-stat-value]{color:#a34b42!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-button]{border-radius:8px!important;min-height:40px!important;padding:8px 12px!important;font-weight:650!important;box-shadow:none!important;line-height:1.3!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-button=primary]{background:var(--w2-green)!important;border-color:var(--w2-green)!important;color:#fff!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-button=secondary]{background:white!important;border:1px solid var(--w2-line)!important;color:var(--w2-ink)!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-button=danger]{background:#fff!important;border:1px solid #e6c5c2!important;color:#a34b42!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-button=primary]:hover:not(:disabled){background:#115539!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-button=secondary]:hover:not(:disabled){background:#edf5ef!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-button]:disabled{opacity:.55!important;cursor:not-allowed!important}
:is([data-w2-root],[data-w2-dialog]) :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=button],[type=submit],[type=file],[type=range],[type=color]),select,textarea){border:1px solid #cbded1!important;border-radius:8px!important;color:var(--w2-ink)!important;min-height:40px!important;box-shadow:none!important;max-width:100%;box-sizing:border-box}
:is([data-w2-root],[data-w2-dialog]) :is(input,select,textarea):focus-visible{outline:2px solid #a9cdb8!important;outline-offset:1px!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-table]{border:1px solid var(--w2-line)!important;border-radius:8px!important;border-spacing:0!important;border-collapse:separate!important;width:100%!important;background:#fff!important;box-shadow:none!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-table] thead th{background:#f2f6f3!important;color:#526b5e!important;font-size:12px!important;font-weight:700!important;padding:11px 10px!important;border-bottom:1px solid var(--w2-line)!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-table] tbody td{font-size:13px!important;padding:11px 10px!important;border-bottom:1px solid #e7efe9!important;vertical-align:middle!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-table] tbody tr:last-child td{border-bottom:0!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-table] small{color:var(--w2-muted)!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-status=warn]{color:#95670e!important;font-weight:650!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-status=danger]{color:#a34b42!important;font-weight:650!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-status=ok]{color:#176b47!important;font-weight:650!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-empty]{border:1px dashed var(--w2-line)!important;background:var(--w2-soft)!important}
:is([data-w2-root],[data-w2-dialog]) [data-w2-empty-cell]{text-align:center!important;padding:30px 12px!important;color:var(--w2-muted)!important;white-space:normal!important}
[data-w2-root] [data-w2-details]{border:1px solid var(--w2-line)!important;border-radius:9px!important;background:white!important}
[data-w2-root] [data-w2-details] > summary{padding:12px!important;color:var(--w2-ink)!important;font-weight:650!important}
[data-w2-dialog]:is(dialog){border:1px solid var(--w2-line)!important;border-radius:13px!important;background:#fff!important;color:var(--w2-ink)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto;box-shadow:0 24px 65px #10291f35!important}
[data-w2-dialog]::backdrop{background:rgba(20,44,34,.48)!important}
[data-w2-dialog] [data-w2-dialog-title]{font-size:20px!important;font-weight:750!important;color:var(--w2-ink)!important;line-height:1.35!important}
[data-w2-dialog] :is(.av-form-desc,[data-dialog-description]){color:var(--w2-muted)!important;line-height:1.5!important}
[data-w2-dialog] :is(.av-form-actions,footer){border-top:1px solid var(--w2-line)!important;gap:8px!important;flex-wrap:wrap!important}
[data-w2-dialog] :is(.av-form-fields,.av-catalog-field){min-width:0!important}
@media(max-width:850px){[data-w2-root] [data-w2-stats]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Warehouse V3 — exclusively scoped to the warehouse route and named dialogs. */
[data-w2-root] .wh3-icon,[data-w2-dialog] .wh3-icon{width:16px!important;height:16px!important;flex:none;vertical-align:middle;color:var(--w2-green)}
[data-w2-root] [data-w2-title]>.wh3-icon{width:21px!important;height:21px!important;margin-right:8px;vertical-align:-3px}
[data-w2-root] [data-w2-sitebar]{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:0 0 18px!important;padding:14px!important;border:1px solid var(--w2-line);border-radius:10px;background:#fff;box-sizing:border-box}
[data-w2-root] [data-w2-sitebar]>p{flex:1 0 100%;margin:0!important;font-size:13px!important;font-weight:600;color:var(--w2-ink)!important;overflow-wrap:anywhere}
[data-w2-root] [data-w2-sitebar]>select:not([hidden]){flex:1 0 100%;width:100%!important;margin:0 0 4px!important}
[data-w2-root] [data-w2-sitebar]>button,[data-w2-root] [data-w2-sitebar] .ap-shortcut>button{display:inline-flex!important;align-items:center;gap:7px!important;min-height:40px!important;height:auto!important;white-space:normal!important;text-align:left;justify-content:flex-start!important;margin:0!important;font-size:13px!important;max-width:100%;width:auto!important}
[data-w2-root] [data-w2-sitebar] .ap-shortcut{display:contents!important;margin:0!important;padding:0!important}
[data-w2-root] [data-w2-tabs]{display:flex!important;gap:4px!important;align-items:stretch;padding:5px!important;border:1px solid var(--w2-line)!important;border-radius:10px;background:var(--w2-soft);margin:0 0 16px!important}
[data-w2-root] [data-w2-tabs] [data-w2-tab]{flex:1 1 auto;min-width:0;border:1px solid transparent!important;border-radius:7px!important;margin:0!important;padding:9px 12px!important;color:var(--w2-muted)!important;background:transparent!important;white-space:normal!important}
[data-w2-root] [data-w2-tabs] [data-w2-tab][aria-pressed=true]{background:#fff!important;color:var(--w2-green)!important;border-color:#b9d8c5!important;box-shadow:0 1px 3px #1733290a!important}
[data-w2-root] .aq-stock-page .aq-wh-filter{background:transparent!important;border:0!important;padding:0!important;margin:12px 0!important;gap:12px!important}
[data-w2-root] .wh3-search-label{position:relative}
[data-w2-root] .wh3-search-label>.wh3-search-icon{position:absolute;left:12px;bottom:13px;pointer-events:none;color:var(--w2-muted)}
[data-w2-root] .wh3-search-label input{padding-left:37px!important}
[data-w2-root] .aq-stock-page [data-wh-status]:empty{display:none!important}
[data-w2-root] .aq-stock-page .fiscal-heading{margin-bottom:12px!important}
[data-w2-root] [data-w2-stats]{margin:8px 0 16px!important}
[data-w2-root] .aq-wh-history>summary{padding:14px!important}
[data-w2-root] [data-w2-sitebar] [hidden]{display:none!important}
/* Dialog shell: fixed header/footer; body owns vertical scrolling. */
html body dialog.av-form-dialog.av-catalog-dialog[data-w2-layout]{position:fixed!important;inset:0!important;margin:auto!important;padding:0!important;width:min(var(--wh3-width,760px),calc(100vw - 32px))!important;max-width:none!important;max-height:calc(100dvh - 32px)!important;height:fit-content!important;overflow:hidden!important;border-radius:14px!important;box-sizing:border-box!important}
html body dialog.av-form-dialog[data-w2-layout=registry]{--wh3-width:900px}
html body dialog.av-form-dialog[data-w2-layout=transfers]{--wh3-width:1120px}
html body dialog.av-form-dialog[data-w2-layout=consolidated]{--wh3-width:1440px}
html body dialog.av-form-dialog[data-w2-layout=commercial]{--wh3-width:1120px}
html body dialog.av-form-dialog[data-w2-layout]>.av-form{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;margin:0!important;min-width:0!important;max-height:calc(100dvh - 34px)!important;overflow:hidden!important}
[data-w2-dialog] .wh3-head{height:auto!important;min-height:0!important;max-height:none!important;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:none;padding:20px 24px 16px;border-bottom:1px solid var(--w2-line);background:white}
[data-w2-dialog] .wh3-head-copy{min-width:0}
[data-w2-dialog] .wh3-kicker{font-size:11px;font-weight:700;color:var(--w2-green);letter-spacing:.1em;margin-bottom:6px}
html body [data-w2-dialog] .wh3-head h2{padding:0!important;margin:0!important;font-size:21px!important;line-height:1.3!important}
html body [data-w2-dialog] .wh3-head .av-form-desc{padding:0!important;margin:7px 0 0!important;border:0!important;font-size:13px!important;color:var(--w2-muted)!important;line-height:1.45!important}
html body [data-w2-dialog] .wh3-close{display:grid!important;place-items:center;flex:none;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;margin:0!important;border:1px solid var(--w2-line)!important;border-radius:8px!important;background:white!important;color:var(--w2-green)!important;box-shadow:none!important}
[data-w2-dialog] .wh3-close:hover{background:var(--w2-soft)!important}
[data-w2-dialog] .wh3-body{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:20px 24px;box-sizing:border-box}
html body [data-w2-dialog] .wh3-body>.av-form-fields{padding:0!important;overflow:visible!important;gap:14px!important;min-width:0!important;grid-template-columns:repeat(2,minmax(0,1fr))}
[data-w2-dialog] .wh3-body>.av-form-fields:empty{display:none!important}
[data-w2-dialog] .wh3-body [data-field=action]{grid-column:1/-1;max-width:560px}
[data-w2-dialog] .wh3-body p{margin:0;line-height:1.5;overflow-wrap:anywhere}
[data-w2-dialog] .wh3-body h3{margin:8px 0 0;font-size:15px;color:var(--w2-ink)}
[data-w2-dialog] .wh3-body label{min-width:0;font-size:13px!important;color:var(--w2-ink)!important}
[data-w2-dialog] .wh3-body :is(input:not([type=checkbox],[type=radio],[type=hidden]),select,textarea){width:100%;font-size:14px;min-height:42px!important}
html body [data-w2-dialog] .wh3-body .table[data-w2-scroll]{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:auto!important;border:1px solid var(--w2-line);border-radius:9px!important;margin:0!important;box-sizing:border-box}
html body [data-w2-dialog] .wh3-body [data-w2-table]{min-width:0!important;width:100%!important;border:0!important;table-layout:auto!important;border-collapse:collapse!important;max-width:none!important}
[data-w2-dialog] .wh3-body [data-w2-table] :is(th,td){white-space:normal!important;overflow-wrap:anywhere;line-height:1.4!important;text-align:left}
[data-w2-layout=registry] .wh3-body [data-w2-table] th:first-child{width:36%}
[data-w2-layout=registry] .wh3-body [data-w2-table] th:last-child{width:20%}
html body [data-w2-layout=consolidated] .wh3-body [data-w2-table]:not([data-w2-empty]){min-width:1120px!important}
[data-w2-layout=consolidated] .wh3-body [data-w2-table] :is(th,td):first-child{min-width:175px}
[data-w2-layout=consolidated] .wh3-body [data-w2-table] :is(th,td):not(:first-child){text-align:right;min-width:65px;font-variant-numeric:tabular-nums}
[data-w2-dialog] .wh3-body [data-w2-table] tfoot td{background:var(--w2-soft);font-weight:650;padding:10px;border-top:1px solid var(--w2-line)}
[data-w2-dialog] .wh3-body [data-w2-empty]>thead{display:none!important}
[data-w2-dialog] .wh3-body [data-w2-empty] [data-w2-empty-cell]{padding:28px 14px!important;background:var(--w2-soft)}
[data-w2-dialog] .wh3-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
[data-w2-dialog] .wh3-metric{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid var(--w2-line);border-radius:9px;background:var(--w2-soft);min-width:0}
[data-w2-dialog] .wh3-metric>strong{font-size:12px;color:var(--w2-muted);font-weight:600}
[data-w2-dialog] .wh3-metric>span{font-size:21px;font-weight:750;color:var(--w2-ink);font-variant-numeric:tabular-nums}
[data-w2-dialog] .wh3-report-note{border:1px solid var(--w2-line);border-radius:8px;padding:10px 12px;background:white;color:var(--w2-muted);font-size:12px}
[data-w2-dialog] .wh3-report-note summary{cursor:pointer;color:var(--w2-green);font-weight:600}
[data-w2-dialog] .wh3-report-note[open] p{margin-top:8px}
html body [data-w2-layout] .av-form-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;padding:13px 24px!important;margin:0!important;flex:none!important;background:white!important;border-top:1px solid var(--w2-line)!important}
html body [data-w2-layout] .av-form-actions button{width:auto!important;min-height:40px!important;margin:0!important;padding:9px 16px!important}
[data-w2-layout] .av-form-error:not(:empty){padding:8px 24px!important;font-size:13px}
[data-w2-layout] [data-w2-redundant]{display:none!important}
/* Suggestions already use the purchase modal: preserve its controls and compact the notice. */
html body dialog.ap-suggestions-pro[data-w2-layout=suggestions]{width:min(860px,calc(100vw - 32px))!important;max-height:calc(100dvh - 32px)!important;overflow:hidden!important}
[data-w2-layout=suggestions] .ap-source{padding:10px 12px!important;font-size:12px!important;line-height:1.4!important}
[data-w2-layout=suggestions] .ap-suggestion{min-width:0;align-items:center!important}
[data-w2-layout=suggestions] .ap-suggestion span{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){
 [data-w2-root] [data-w2-sitebar]{padding:10px!important;gap:6px!important}
 [data-w2-root] [data-w2-sitebar]>button,[data-w2-root] [data-w2-sitebar] .ap-shortcut>button{flex:1 1 140px;font-size:12px!important}
 [data-w2-root] [data-w2-tabs] [data-w2-tab]{flex:1 1 110px;font-size:12px!important}
 [data-w2-dialog] .wh3-head,[data-w2-dialog] .wh3-body{padding:14px!important}
 html body [data-w2-dialog] .wh3-body>.av-form-fields{grid-template-columns:minmax(0,1fr)!important}
 [data-w2-dialog] .wh3-metrics{grid-template-columns:1fr}
 [data-w2-dialog] .wh3-metric{padding:10px}
 [data-w2-dialog] .wh3-metric>span{font-size:18px}
 html body [data-w2-layout] .av-form-actions{padding:10px 14px!important;flex-wrap:wrap!important}
 [data-w2-layout=transfers] .wh3-body [data-w2-table]:not([data-w2-empty]){min-width:540px!important}
}

[data-w2-layout=studio].aq-movement-dialog{width:min(680px,calc(100vw - 32px))!important;max-width:none!important}
[data-w2-layout=studio].aq-movement-dialog .aq-dialog-head{padding:18px 22px!important}
[data-w2-layout=studio].aq-movement-dialog .aq-stock-form{padding:20px 22px!important;min-width:0;max-width:100%;box-sizing:border-box}
[data-w2-layout=studio].aq-movement-dialog .aq-stock-form .aq-footer{padding:12px 0 0!important;margin:0!important}
@media(max-width:600px){[data-w2-layout=studio].aq-movement-dialog .aq-stock-form{padding:14px!important}[data-w2-layout=studio].aq-movement-dialog .aq-grid{grid-template-columns:minmax(0,1fr)!important}}
/* V4 — compact hierarchy and scoped corrections */
[data-w2-root] [data-w2-sitebar]{padding:12px 14px!important;gap:8px!important;background:transparent!important;border-color:var(--w2-line)!important}
[data-w2-root] [data-w2-sitebar]>p{font-weight:550!important;margin-bottom:2px!important}
[data-w2-root] [data-w2-sitebar] button{font-weight:550!important}
[data-w2-root] [data-w2-tabs]{background:transparent!important;border:0!important;border-bottom:1px solid var(--w2-line)!important;border-radius:0!important;padding:0 0 7px!important}
[data-w2-root] [data-w2-tabs] [data-w2-tab][aria-pressed=true]{background:#e6f2ea!important;border-color:#bfd9c9!important;box-shadow:none!important}
html body dialog.av-form-dialog[data-w2-layout=consolidated]{--wh3-width:1080px}
html body dialog.av-form-dialog[data-w2-layout=registry]{--wh3-width:820px}
html body dialog.av-form-dialog[data-w2-layout=period]{--wh3-width:680px}
html body dialog.av-form-dialog[data-w2-layout=transfers][data-wh4-empty-transfer]{--wh3-width:640px}
[data-w2-dialog] .wh3-head{padding:18px 24px 15px}
[data-w2-dialog] .wh3-kicker{font-size:10px;letter-spacing:.09em}
[data-w2-dialog] .wh3-body{gap:14px}
[data-w2-dialog] .wh3-metrics{gap:12px}
[data-w2-dialog] .wh3-metric{background:white;border-color:var(--w2-line);padding:12px 14px;gap:5px}
[data-w2-dialog] .wh3-metric>strong{line-height:1.4;font-size:12px}
[data-w2-dialog] .wh3-metric>span{font-size:22px}
[data-w2-dialog] .wh4-report-nav{display:flex;flex-wrap:wrap;gap:5px;padding:4px;border:1px solid var(--w2-line);border-radius:9px;background:var(--w2-soft)}
html body [data-w2-dialog] .wh4-report-nav button{flex:1 1 auto;min-width:0;min-height:36px!important;width:auto!important;height:auto!important;margin:0!important;padding:8px 10px!important;font-size:13px!important;line-height:1.35!important;color:var(--w2-muted)!important;background:transparent!important;border:1px solid transparent!important;border-radius:6px!important;box-shadow:none!important;font-weight:600!important}
html body [data-w2-dialog] .wh4-report-nav button[aria-pressed=true]{color:var(--w2-green)!important;background:white!important;border-color:#bad6c4!important}
[data-w2-dialog] .wh4-view-hint{font-size:12px;color:var(--w2-muted);margin:-5px 0 0!important}
[data-w2-dialog] [data-wh4-col-hidden]{display:none!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-view=compact]:not([data-w2-empty]){min-width:0!important;table-layout:auto!important}
[data-w2-layout=consolidated] table[data-wh4-view=compact] :is(th,td):first-child{min-width:130px}
[data-w2-layout=consolidated] table[data-wh4-view=compact] :is(th,td):not(:first-child){min-width:0;white-space:normal!important;overflow-wrap:normal!important}
[data-w2-dialog] .wh3-report-note{border:0;border-bottom:1px solid var(--w2-line);border-radius:0;padding:4px 0 10px}
[data-w2-dialog] .wh3-report-note summary{font-size:12px;font-weight:550}
html body [data-w2-layout=registry] .wh3-body [data-field=action],html body [data-w2-layout=transfers] .wh3-body [data-field=action]{grid-column:1/-1!important;width:100%!important;max-width:none!important}
[data-w2-layout=registry] [data-wh4-registry-status=operacional]{color:var(--w2-green)!important;font-weight:650}
[data-w2-layout=registry] [data-wh4-registry-status=planejado]{color:#92650f!important;font-weight:600}
html body [data-wh4-empty-transfer] .wh3-body .table{border-style:dashed!important}
[data-wh4-empty-transfer] .wh3-body [data-w2-empty] [data-w2-empty-cell]{font-size:14px!important;font-weight:650;color:var(--w2-ink)!important;padding:22px 14px!important}
[data-w2-dialog] .wh4-empty-help{font-size:12px;color:var(--w2-muted);text-align:center}
html body dialog.ap-suggestions-pro[data-w2-layout=suggestions] .ap-source:not([hidden]){display:flex!important;align-items:flex-start!important;gap:9px!important;padding:11px 13px!important}
html body dialog.ap-suggestions-pro[data-w2-layout=suggestions] .ap-source>svg{position:static!important;inset:auto!important;transform:none!important;width:16px!important;height:16px!important;flex:0 0 16px!important;margin:2px 0 0!important}
[data-w2-layout=suggestions] .ap-source small{min-width:0;line-height:1.5!important;overflow-wrap:anywhere}
[data-w2-layout=suggestions] .ap-suggestion{background:white!important;border-color:var(--w2-line)!important}
[data-w2-layout=suggestions] .ap-suggestion:has(input:checked){background:#edf6f0!important;border-color:#b8d7c3!important}
@media(max-width:760px){[data-w2-dialog] .wh3-head{padding:14px!important}[data-w2-dialog] .wh4-report-nav button{flex:1 1 40%!important}html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-view=compact]:not([data-w2-empty]){min-width:540px!important}[data-w2-dialog] .wh3-metric{padding:10px 12px}[data-w2-dialog] .wh3-metric>span{font-size:19px}}

html body [data-w2-layout=registry] .wh3-body [data-wh4-single-create]{display:none!important}
html body [data-w2-layout=registry] .wh3-body>.av-form-fields:has(>[data-wh4-single-create]:only-child){display:none!important}

/* V5 — restore the original lightweight warehouse navigation; keep V4 dialogs. */
html body [data-w2-root] [data-w2-hero]{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important}
html body [data-w2-root] [data-w2-hero]>.ap-shortcut{display:flex!important;flex:0 0 auto;align-items:center;justify-content:flex-end;margin:0!important;padding:0!important;max-width:100%}
html body [data-w2-root] [data-w2-sitebar]{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 15px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body [data-w2-root] [data-w2-sitebar]>p{flex:1 1 100%!important;min-width:0;margin:0 0 3px!important;color:var(--w2-muted)!important;font-weight:500!important;line-height:1.45!important}
html body [data-w2-root] [data-w2-sitebar]>select:not([hidden]){flex:1 1 100%!important;width:100%!important;margin:0 0 3px!important}
html body [data-w2-root] [data-w2-sitebar]>button,html body [data-w2-root] [data-w2-hero]>.ap-shortcut>button,html body [data-w2-root] [data-w2-sitebar] .ap-shortcut>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:0 1 auto!important;min-height:40px!important;height:40px!important;min-width:0!important;width:auto!important;padding:0 13px!important;margin:0!important;white-space:normal!important;text-align:center!important;font-size:13px!important;font-weight:600!important;line-height:1.25!important;box-sizing:border-box!important}
/* Do not mix icon-bearing and plain actions in the same row. */
[data-w2-root] [data-w2-sitebar]>button>.wh3-icon{display:none!important}
html body [data-w2-root] [data-w2-tabs]{display:flex!important;align-items:stretch!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:22px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;padding:0!important;margin:0 0 20px!important;border:0!important;border-bottom:1px solid var(--w2-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body [data-w2-root] [data-w2-tabs] [data-w2-tab]{flex:0 0 auto!important;width:auto!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:10px 3px 11px!important;margin:0!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;color:var(--w2-muted)!important;font-size:13px!important;font-weight:550!important;white-space:nowrap!important;box-shadow:none!important;box-sizing:border-box!important}
html body [data-w2-root] [data-w2-tabs] [data-w2-tab][aria-pressed=true]{color:var(--w2-green)!important;border-bottom-color:var(--w2-green)!important;background:transparent!important;font-weight:700!important}
html body [data-w2-root] [data-w2-tabs] [data-w2-tab]:hover{color:var(--w2-green)!important}
html body [data-w2-root] [data-w2-tabs] [data-w2-tab]:focus-visible{outline-offset:-3px!important}
/* Center the existing close glyph, without replacing its action. */
html body dialog.ap-suggestions-pro[data-w2-layout=suggestions] .aq-dialog-head>button[data-close],html body [data-w2-dialog] .wh3-head>.wh3-close{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;max-height:36px!important;box-sizing:border-box!important;padding:0!important;margin:0!important;gap:0!important;line-height:1!important;text-align:center!important;text-indent:0!important;transform:none!important}
html body dialog.ap-suggestions-pro[data-w2-layout=suggestions] .aq-dialog-head>button[data-close]>svg,html body [data-w2-dialog] .wh3-head>.wh3-close>svg{display:block!important;position:static!important;inset:auto!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;flex:none!important;padding:0!important;margin:0!important;transform:none!important;vertical-align:middle!important}
@media(max-width:760px){html body [data-w2-root] [data-w2-sitebar]>button,html body [data-w2-root] [data-w2-sitebar] .ap-shortcut>button{flex:1 1 140px!important;height:auto!important;min-height:40px!important;padding:8px 10px!important}html body [data-w2-root] [data-w2-tabs]{gap:14px!important}html body [data-w2-root] [data-w2-hero]>.ap-shortcut{margin-left:auto!important}}

/* V6 - consolidated report only; other views unchanged. */
html body dialog.av-form-dialog[data-w2-layout=consolidated]{--wh3-width:1100px}
html body dialog.av-form-dialog[data-w2-layout=consolidated]:has(table[data-wh4-view=all]){--wh3-width:1440px}
[data-w2-layout=consolidated] .wh3-body{gap:16px}
[data-w2-layout=consolidated] .wh3-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0!important}
[data-w2-layout=consolidated] .wh3-metric{justify-content:space-between;gap:8px;padding:15px 16px;min-height:88px;box-sizing:border-box;background:#f7faf8;border-color:var(--w2-line)}
[data-w2-layout=consolidated] .wh3-metric>strong{font-size:12px;line-height:1.4;color:var(--w2-muted)}
[data-w2-layout=consolidated] .wh3-metric>span{font-size:23px;line-height:1.25;overflow-wrap:anywhere}
[data-w2-layout=consolidated] .wh3-report-note{padding:0!important;border:0!important;margin:0!important}
[data-w2-layout=consolidated] .wh3-report-note summary{display:list-item;line-height:1.5;padding:2px 0;font-weight:600}
[data-w2-layout=consolidated] .wh3-report-note[open] p{background:var(--w2-soft);border:1px solid var(--w2-line);border-radius:8px;padding:12px;line-height:1.55}
[data-w2-layout=consolidated] .wh4-report-nav{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-start;gap:20px;background:transparent;border:0;border-bottom:1px solid var(--w2-line);border-radius:0;padding:0;margin:0}
html body [data-w2-layout=consolidated] .wh4-report-nav button{flex:0 0 auto!important;min-height:42px!important;padding:9px 3px 10px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;white-space:normal!important;font-size:13px!important;text-align:left!important;box-sizing:border-box}
html body [data-w2-layout=consolidated] .wh4-report-nav button[aria-pressed=true]{background:transparent!important;color:var(--w2-green)!important;border-bottom-color:var(--w2-green)!important;font-weight:700!important}
html body [data-w2-layout=consolidated] .wh4-report-nav button:focus-visible{outline-offset:-3px!important}
[data-w2-layout=consolidated] .wh4-view-hint{margin:-7px 0 0!important;line-height:1.5}
html body [data-w2-layout=consolidated] .wh3-body .table[data-w2-scroll]{border:1px solid var(--w2-line)!important;border-radius:9px!important;scrollbar-width:thin;scrollbar-color:#aebfb5 #f4f7f5}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views]:not([data-w2-empty]){table-layout:auto!important;min-width:820px!important;width:100%!important;max-width:none!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-view=all]:not([data-w2-empty]){min-width:1280px!important}
html body [data-w2-layout=consolidated]:has(.wh4-report-nav button:nth-child(2)[aria-pressed=true]) .wh3-body table[data-wh4-views]:not([data-w2-empty]),
html body [data-w2-layout=consolidated]:has(.wh4-report-nav button:nth-child(3)[aria-pressed=true]) .wh3-body table[data-wh4-views]:not([data-w2-empty]){min-width:540px!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] :is(th,td){padding:12px 10px!important;vertical-align:middle!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;line-height:1.45!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] :is(th,td):first-child:not([colspan]){min-width:215px!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] th:not(:first-child){min-width:92px!important;text-align:center!important;white-space:normal!important;vertical-align:middle!important;font-size:12px!important;letter-spacing:0!important;line-height:1.35!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] td:not(:first-child){min-width:92px!important;text-align:center!important;white-space:nowrap!important;font-variant-numeric:tabular-nums;font-size:13px!important;font-weight:650!important;color:#264437!important;letter-spacing:0!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] :is(th,td):last-child:not(:first-child){min-width:124px!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] thead th{background:#eff5f1!important;color:#395a49!important;border-bottom:1px solid var(--w2-line)!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] thead th:not(:first-child),html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] tbody td:not(:first-child),html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] tfoot td:not(:first-child){border-left:1px solid #edf3ef!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] tbody td{border-bottom:1px solid #e4ece6!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] tbody td:not(:first-child){background:#fbfdfc!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] tbody tr:hover td:not(:first-child){background:#f4f9f6!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] tbody tr:last-child td{border-bottom:0!important}
[data-w2-layout=consolidated] table[data-wh4-views] tbody td:first-child strong{font-size:13px;line-height:1.5}
[data-w2-layout=consolidated] table[data-wh4-views] tbody td:first-child small{font-size:11px;line-height:1.55}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] tfoot td{background:#eff5f1!important;border-top:1px solid var(--w2-line)!important;font-weight:700!important;text-align:center!important}
html body [data-w2-layout=consolidated] .wh3-body table[data-wh4-views] td[colspan]{text-align:center!important;white-space:normal!important;padding:26px 12px!important;color:var(--w2-muted)!important}
@media(min-width:761px){
 html body [data-w2-layout=consolidated] table[data-wh4-views] :is(th,td):first-child:not([colspan]){position:sticky;left:0;z-index:1;background:#fff!important;box-shadow:1px 0 0 #e4ece6}
 html body [data-w2-layout=consolidated] table[data-wh4-views] :is(thead,tfoot) :is(th,td):first-child:not([colspan]){background:#eff5f1!important}
}
@media(max-width:760px){
 [data-w2-layout=consolidated] .wh3-metrics{grid-template-columns:1fr;gap:8px}
 [data-w2-layout=consolidated] .wh3-metric{min-height:0;display:flex;flex-direction:row;align-items:center;padding:10px 12px;gap:10px}
 [data-w2-layout=consolidated] .wh3-metric>strong{flex:1;min-width:0}
 [data-w2-layout=consolidated] .wh3-metric>span{font-size:17px;max-width:55%;text-align:right}
 [data-w2-layout=consolidated] .wh4-report-nav{gap:0 12px}
 html body [data-w2-layout=consolidated] .wh4-report-nav button{flex:1 1 40%!important;text-align:center!important}
}
