
@import url('/store-ui.css');
.warehouse-count .mc-plan-fields>label{flex-direction:row}
.warehouse-workspace>[hidden]{display:none!important}
.wh-location-dialog{width:min(26rem,92vw)}
.wh-location-dialog input{width:100%}
.wh-location-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.wh-location-dialog [role=status]:empty{display:none}
.warehouse-workspace [hidden]{display:none!important}
.hq-console dialog.wh-editor{width:min(48rem,94vw);max-height:90dvh;box-sizing:border-box;overflow:auto}
.wh-editor>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 12px}
.wh-editor h2,.wh-editor h3{margin:0;overflow-wrap:anywhere}
.wh-editor>section{border-top:1px solid var(--wh-edge);padding-top:16px;margin-top:18px}
.wh-editor .wh-row>label{flex:1 1 10rem;min-width:0;margin:0}
.wh-editor :is(input,select){min-width:0;max-width:100%;box-sizing:border-box}
.wh-editor .wh-zone-actions{display:flex;gap:6px;flex-wrap:wrap}
.wh-editor .wh-editor-status{position:sticky;top:0;z-index:1;background:#edf3f7;color:#203647;border-radius:6px;padding:8px 12px}
.wh-editor table{width:100%}
.warehouse-office .warehouse-workspace{background:#fff;padding:24px}
.warehouse-workspace .wh-row{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:12px 0}
.warehouse-workspace label{display:flex;flex-direction:column;gap:5px}
.warehouse-workspace details{border-block:1px solid #dae2e8;padding:14px 0;margin:20px 0}
.warehouse-workspace summary{cursor:pointer;color:#174e74}
.warehouse-workspace table{margin:12px 0}
.warehouse-workspace th,.warehouse-workspace td{white-space:normal}
.warehouse-workspace a{color:#0075b8}
.warehouse-office{min-height:100vh;background:#f8f9fb}
.warehouse-office.hq-console>header{padding-inline:clamp(16px,4vw,56px)}
.warehouse-office main{max-width:var(--backoffice-content-width);padding:0 clamp(12px,3vw,36px) 42px}
.warehouse-office.hq-console #login{
 width:min(440px,100%);max-width:440px;margin:clamp(32px,10vh,110px) auto;
 padding:clamp(20px,4vw,32px);display:grid;gap:16px
}
.warehouse-office #login h1{
 margin:0 0 4px;font-size:clamp(20px,3vw,24px);font-weight:650;
 line-height:1.25;letter-spacing:-.025em;text-wrap:balance
}
.warehouse-office.hq-console #login>label,.warehouse-office #login button,.warehouse-office #login p{margin:0}
.warehouse-office #login button{min-height:40px}
.warehouse-office #login p{font-size:13px;line-height:1.5;color:#62666c}
.warehouse-office #login input{min-height:40px}
.warehouse-office #notice:empty{display:none}
.warehouse-workspace{--wh-edge:#e5e5e9;min-width:0;display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1.35fr);column-gap:18px;align-items:start}
.warehouse-office .warehouse-workspace{background:transparent;padding:0}
.warehouse-workspace .wh-tools{grid-column:1/-1;align-items:center;margin:6px 0 16px}
.warehouse-workspace .wh-entry,.warehouse-workspace .wh-stock,.warehouse-workspace .wh-settings{border:1px solid var(--wh-edge);border-radius:16px;padding:clamp(14px,2vw,22px);background:white;min-width:0}
.warehouse-workspace .wh-entry{grid-column:1;grid-row:2;margin:0;background:#f6f7fc;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.warehouse-workspace .wh-entry h2{grid-column:1/-1;margin:0;font-size:16px}
.warehouse-workspace .wh-entry label{min-width:0}
.warehouse-workspace .wh-entry label:has([name=code]){grid-column:1/-1}
.warehouse-workspace .wh-entry :is(select,input){width:100%;min-height:38px}
.warehouse-workspace .wh-stock{grid-column:2;grid-row:2/span 3;overflow:auto}
.warehouse-workspace .wh-item{color:#1266a6;text-align:start;overflow-wrap:anywhere}
.warehouse-workspace .receipt-columns>section{margin:0;padding:0;border:0;background:none}
.warehouse-workspace .wh-stock>p{background:#e6f1fd;border-radius:10px;width:fit-content;padding:8px 12px;font-variant-numeric:tabular-nums}
.warehouse-workspace>.wh-entry~p{grid-column:1;margin:8px 0 0;overflow-wrap:anywhere}
.warehouse-workspace .wh-settings{grid-column:1/-1;margin-top:18px}
.warehouse-workspace .wh-settings details{border:0;margin:0;padding:0}
.warehouse-workspace .wh-settings details+h2{margin-top:20px}
.warehouse-workspace .wh-settings summary,.warehouse-workspace a{color:#383943}
@media(max-width:760px){
 .warehouse-workspace{display:flex;flex-direction:column;align-items:stretch}
 .warehouse-workspace .wh-stock{margin-top:12px}
 .warehouse-workspace .wh-entry{display:grid}
 .warehouse-office .wh-settings input{max-width:100%}
}

.warehouse-office.wh-modern{background:#fff}
.warehouse-office.wh-modern>header{padding-inline:16px}
.warehouse-office.wh-modern main{max-width:none;margin:0;padding:0}
.warehouse-office.wh-modern #wh-shell{display:grid;grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - var(--bar))}
.warehouse-office.wh-modern #wh-shell.nav-open{grid-template-columns:clamp(138px,13vw,192px) clamp(155px,14vw,210px) minmax(0,1fr)}
#wh-rail,#wh-sub{display:none;align-self:stretch;border-inline-end:1px solid var(--line);padding:14px 8px}
#wh-sub{background:#fafafa;padding-inline:10px}
.nav-open :is(#wh-rail,#wh-sub){display:block}
#wh-sub h2{margin:0 0 12px;padding:6px 8px 12px;border-bottom:1px solid var(--line)}
.warehouse-office #wh-shell nav button{display:block;text-align:start;border:0;background:transparent;width:100%;padding:9px 12px;margin-block:3px;line-height:1.4}
#wh-shell nav button:hover,#wh-shell #wh-rail .selected{background:#edf1f5}
#wh-shell nav .selected,#wh-shell nav [aria-current]{font-weight:650}
#wh-shell #wh-sub [aria-current]{background:#ecedfa}
#wh-body{min-width:0;padding:clamp(18px,2.4vw,40px)}
#wh-page-title{font-size:clamp(21px,2vw,29px);margin:0 0 22px}
.warehouse-office.wh-holidays-open #wh-shell{display:none}
.warehouse-office.wh-modern #warehouse-holidays{margin:24px}
.wh-page-tools,.wh-inline-rate,.wh-pay-total{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:12px 0 20px}
.wh-page-tools [aria-pressed=true]{font-weight:650;background:#edf1f5}
.wh-page-tools input,.wh-page-tools select{min-width:0;max-width:100%}
.wh-pay-total{align-items:baseline;font-size:15px}.wh-pay-total span:last-child{font-weight:650;font-size:22px}
.wh-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:12px;margin-bottom:30px}
.wh-metrics button{display:grid;text-align:start;gap:10px;padding:16px;background:#f5f7fa}
.wh-metrics button span:last-child{font-size:26px;font-weight:650}
.wh-modern #stock .warehouse-workspace{display:block}
.wh-modern #stock .wh-entry{max-width:620px}
.wh-modern #stock .wh-entry label:has([name=operation]){display:none}
.wh-modern #stock .wh-stock,.wh-modern #stock .wh-settings{border:none;margin:0;padding:0}
.wh-modern #stock:not([data-view="stock"]) .wh-stock,
.wh-modern #stock:not([data-view="zones"]) .wh-settings,
.wh-modern #stock:is([data-view="stock"],[data-view="zones"]) .wh-entry,
.wh-modern #stock:is([data-view="stock"],[data-view="zones"]) .wh-entry+p{display:none}
.wh-modern #stock .wh-settings summary{margin-bottom:12px}
.wh-modern #stock .wh-tools{margin:0 0 16px}
.wh-modern #wh-page [role=status]:empty{display:none}
.wh-modern .report-table-overflow{max-width:100%;overflow:auto}
.wh-modern .report-table-overflow th{white-space:nowrap}
.wh-modern #wh-page .link{text-align:start;color:#1266a6}
@media(max-width:760px){
 .warehouse-office.wh-modern #wh-shell.nav-open{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start}
 #wh-shell.nav-open #wh-body{grid-column:1/-1}
 #wh-rail,#wh-sub{border-bottom:1px solid var(--line)}
 #wh-body{padding:16px 12px}
 .wh-page-tools>label{max-width:100%}
}

.warehouse-workspace.wh-owner-stock{display:block;background:white}
.wh-owner-stock .wh-tools{align-items:end;margin:0 0 18px}
.wh-owner-stock .wh-tools label{margin:0;max-width:100%}
.wh-owner-stock .wh-tools select{max-width:100%;min-width:min(10rem,100%)}
.wh-owner-stock .wh-tools a{margin-inline-start:auto;align-self:end;padding:7px 0}
.wh-owner-tabs{display:flex;gap:18px;border-bottom:1px solid var(--wh-edge)}
.wh-owner-tabs button{border:0;border-radius:0;border-bottom:3px solid transparent;background:none;padding:9px 3px}
.wh-owner-tabs [aria-selected=true]{border-bottom-color:#284a63;color:#18374c;font-weight:650}
.wh-stock-bar,.wh-stock-actions,.wh-zone-list{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.wh-stock-bar{justify-content:space-between;gap:12px;padding:18px 0}
.wh-zone-list{flex:1 1 18rem}
.wh-zone-list button{overflow-wrap:anywhere;max-width:100%;background:white}
.wh-zone-list [aria-pressed=true]{background:#e7eff5;border-color:#7c98ac;color:#17394d;font-weight:650}
.wh-more{position:relative}
.wh-stock-actions .wh-more{margin:0;padding:0;border:0}
.wh-more summary{padding:7px 10px}
.wh-more[open]>div{position:absolute;inset-inline-end:0;z-index:2;display:grid;width:max-content;min-width:9rem;padding:4px;background:white;border:1px solid var(--wh-edge);border-radius:8px;box-shadow:0 5px 15px #18283420}
.wh-more button{text-align:start;border:0;background:white}
.wh-more button:hover,.wh-more button:focus-visible{background:#eef3f6}
.wh-owner-stock .wh-stock,.wh-owner-stock .wh-settings{border-radius:8px;margin:0}
.wh-owner-stock .wh-stock>p:only-child{background:none;width:auto;margin:0;text-align:center;padding:24px 10px}
.wh-owner-stock .wh-stock>p:not(:only-child){background:none;padding:0;margin:4px 0 12px}
.wh-owner-stock .wh-settings{border:0;padding:0}
.wh-owner-stock>p:empty,.wh-stock-dialog p:empty{display:none}
.hq-console dialog.wh-stock-dialog{width:min(30rem,94vw);box-sizing:border-box;max-height:90dvh;overflow:auto}
.wh-owner-stock .wh-stock-dialog .wh-entry{border:0;background:none;padding:0;margin:0;display:grid;grid-template-columns:minmax(0,1fr)}
.wh-stock-dialog .wh-entry>label,.wh-stock-dialog .wh-entry>p{margin:0}
.wh-stock-dialog footer{display:flex;justify-content:flex-end;gap:8px}
.wh-editor>footer [data-location-action=delete]{color:#913a32}
@media(max-width:640px){
 .wh-owner-stock .wh-tools a{margin-inline-start:0}
 .wh-stock-actions{flex:1}
 .wh-more[open]>div{inset-inline-start:0;inset-inline-end:auto}
}
