/* Tabler interface layer. Company logos and document content are excluded. */
/* One shared clipping edge: the fill covers the complete inner switch area. */
html body .lang-switch.cr-lang-wave{isolation:isolate;background:var(--sky-surface)!important;gap:0!important}
html body.auth-page .auth-card .auth-lang-switch.cr-lang-wave{position:relative!important;inset:auto!important}
html body .lang-switch.cr-lang-wave::after{display:none!important}
html body .lang-switch.cr-lang-wave>.cr-lang-fill{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:0;border:0;border-radius:0;max-width:none}
html body .lang-switch.cr-lang-wave>a,html body .lang-switch.cr-lang-wave>a.active{background:transparent!important;box-shadow:none!important;position:relative;z-index:1;flex:1 1 50%!important;width:50%!important}
html body .lang-switch.cr-lang-wave>a{color:var(--cr-lang-ink,var(--sky-ink))!important}
html body .lang-switch.cr-lang-wave>a.active{--cr-lang-ink:#fff}
.cr-icon{--cr-icon-size:20px;display:inline-block!important;inline-size:var(--cr-icon-size);block-size:var(--cr-icon-size);min-inline-size:var(--cr-icon-size);flex:0 0 var(--cr-icon-size);background-color:currentColor;-webkit-mask:var(--cr-icon-url) center/contain no-repeat;mask:var(--cr-icon-url) center/contain no-repeat;vertical-align:middle;line-height:1;pointer-events:none}
.cr-icon-slot{display:inline-flex!important;align-items:center;justify-content:center}
.cr-icon-label{display:block;min-width:0;overflow-wrap:break-word;white-space:normal!important}
.cr-has-icon{display:inline-flex!important;align-items:center!important;justify-content:center;gap:10px!important}
.cr-has-icon>.cr-icon-label{flex:0 1 auto}
.cr-icon-only{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;min-width:44px;min-height:44px}
/* Icon-only styling must respect the site's 820px navigation breakpoint. */
.site-header .nav-toggle.cr-icon-only{display:none!important}
@media(max-width:820px){.site-header .nav-toggle.cr-icon-only{display:inline-flex!important}}
/* Keep the home card's icon size and spacing after replacing its legacy image. */
.portal-home .home-entry-icon.cr-icon{--cr-icon-size:48px!important;display:block!important;margin-bottom:26px;flex-shrink:0}
.portal-home .home-entry-client .home-entry-icon.cr-icon{color:var(--sky-ink)}
@media(max-width:700px){.portal-home .home-entry-icon.cr-icon{margin-bottom:22px}}
/* The login language control belongs to the card, not the viewport. */
.auth-page .auth-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.auth-page .auth-card-top>.eyebrow{min-width:0}
.auth-page .auth-card .auth-lang-switch{position:static!important;inset:auto!important;z-index:auto;flex:0 0 88px;width:88px;margin:0}
/* A stable fallback while the script moves the control into the card. */
.auth-page>.auth-lang-switch{position:fixed!important;right:22px;top:20px;left:auto}
html body [hidden]{display:none!important}
.employee-sidebar a>span{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.employee-sidebar a{color:#fff}.employee-sidebar a.active{color:var(--sky-ink)}
.employee-sidebar a:not(.active) .cr-reicon{filter:brightness(0) invert(1)}
.module-icon .cr-icon{--cr-icon-size:28px!important;color:var(--sky-ink)}
html body .employee-sidebar-toggle,html body .employee-sidebar-toggle .cr-icon{color:var(--sky-on-dark-muted)!important;font-size:inherit!important}
html body .employee-sidebar-toggle::after{display:none!important;content:none!important}
.wh-section-heading>.cr-icon{--cr-icon-size:24px!important}
.wh-tabs>.cr-has-icon{gap:8px!important}.wh-tabs>.cr-has-icon>.cr-icon{--cr-icon-size:18px!important}
.cr-button.cr-has-icon{gap:10px!important;min-height:48px}
html body button.cr-has-icon{min-height:48px!important;height:auto!important;white-space:normal!important}
.cr-button.cr-has-icon[data-cr-state]{color:transparent!important}
.cr-button.cr-has-icon[data-cr-state]>.cr-icon{visibility:hidden!important}
.cr-button[data-cr-state]::before{background-color:var(--cr-check)!important;border:0!important;border-radius:0!important;-webkit-mask:url('/assets/img/tabler/loader.svg') center/contain no-repeat!important;mask:url('/assets/img/tabler/loader.svg') center/contain no-repeat!important}
.cr-button[data-cr-state=success]::before{content:''!important;-webkit-mask-image:url('/assets/img/tabler/check.svg')!important;mask-image:url('/assets/img/tabler/check.svg')!important}
.cr-select-trigger::after{content:''!important;width:16px!important;height:16px!important;top:50%!important;right:12px!important;border:0!important;background:currentColor!important;-webkit-mask:url('/assets/img/tabler/chevron-down.svg') center/contain no-repeat!important;mask:url('/assets/img/tabler/chevron-down.svg') center/contain no-repeat!important;transform:translateY(-50%)!important}
.cr-select-trigger[aria-expanded=true]::after{transform:translateY(-50%) rotate(180deg)!important}
.cr-select-option::after{content:''!important;width:16px;height:16px;background:currentColor!important;-webkit-mask:url('/assets/img/tabler/check.svg') center/contain no-repeat!important;mask:url('/assets/img/tabler/check.svg') center/contain no-repeat!important}
.settings-accordion summary i,.wh-label-product summary i{font-style:normal!important;transition:transform .16s ease;flex:0 0 16px}
.settings-accordion[open] summary i,.wh-label-product[open]>summary i{transform:rotate(180deg)}
.settings-accordion summary::marker,.wh-label-product summary::marker{content:''}
.settings-checklist .cr-has-icon,.portal-account>span.cr-has-icon{justify-content:flex-start!important;gap:6px!important}
.status-pill{display:inline-flex;align-items:center;gap:6px}.status-pill .cr-icon{color:inherit}
.portal-toast button.cr-icon-only{padding:0!important;box-shadow:none!important;border:0!important;background:transparent!important}
.portal-toast__icon{flex:0 0 20px}.portal-toast button::before,.portal-toast button::after{display:none!important}
.contact-icon .cr-icon{--cr-icon-size:24px!important}.contact-link:has(.contact-icon[hidden]){grid-template-columns:minmax(0,1fr) auto!important}
.social-tg{color:#fff!important}.copy-state .cr-icon{--cr-icon-size:16px!important}
.wh-machine-icon .cr-icon,.wh-type-icon .cr-icon{--cr-icon-size:24px!important}
.cookie-consent__icon .cr-icon{--cr-icon-size:28px!important}
.print-actions .cr-icon{--cr-icon-size:20px!important}
.print-actions button{display:inline-flex;align-items:center;gap:8px}
.status-dot{width:16px!important;height:16px!important;background:transparent!important;color:#31a66d;border-radius:0!important}
.wh-spinner{border:0!important;border-radius:0!important;background:currentColor!important;-webkit-mask:url('/assets/img/tabler/loader.svg') center/contain no-repeat!important;mask:url('/assets/img/tabler/loader.svg') center/contain no-repeat!important}
.wh-module-status::before{content:''!important;display:inline-block;width:16px;height:16px;background:#2ca56a;-webkit-mask:url('/assets/img/tabler/circle-check.svg') center/contain no-repeat;mask:url('/assets/img/tabler/circle-check.svg') center/contain no-repeat}
/* The text and result slot determine width. Never squeeze a label for an icon. */
.wh-shipping-toolbar:not(.wh-shipping-toolbar--processing) .wh-shipping-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body .wh-machine-cargo-row .wh-cargo-row-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body .wh-machine-cargo-row .wh-cargo-row-actions>:last-child{grid-column:auto}
.wh-shipping-toolbar:not(.wh-shipping-toolbar--processing) .wh-shipping-actions>:is(button,a){padding-inline:14px!important;min-height:48px!important}
.wh-shipping-toolbar:not(.wh-shipping-toolbar--processing) .wh-shipping-actions>.cr-button--result{padding-right:48px!important}
.wh-template-fill .cr-button--result,.wh-label-save .cr-button--result{padding-right:48px!important}
.wh-shipment-detail-page a.cr-has-icon,.wh-label-import a.cr-has-icon{max-width:100%}
html body .mini.cr-has-icon{gap:6px!important;min-height:44px!important}.mini .cr-icon{--cr-icon-size:16px!important}
.tabs .cr-has-icon{gap:8px!important}.tabs .cr-icon{--cr-icon-size:18px!important}
@media(max-width:700px){.wh-shipping-toolbar:not(.wh-shipping-toolbar--processing) .wh-shipping-actions,body .wh-machine-cargo-row .wh-cargo-row-actions{grid-template-columns:1fr!important}.cr-has-icon{max-width:100%;min-width:0!important}.wh-tabs>.cr-has-icon{width:100%}.cr-icon-only{min-width:44px!important}.wh-template-fill>label,.wh-template-fill>button{min-width:0}.wh-label-import .cr-has-icon{width:100%}}
@media(max-width:820px){html body .employee-sidebar-toggle{display:none!important}}
@media(prefers-reduced-motion:reduce){.settings-accordion summary i,.wh-label-product summary i{transition:none}}
@media print{.print-actions{display:none!important}}

/* Desktop action rows: compact labels, unchanged 48px hit areas. */
@media(min-width:701px){
 .wh-shipping-toolbar:not(.wh-shipping-toolbar--processing){grid-template-columns:minmax(180px,.65fr) minmax(620px,1.65fr)!important;gap:18px!important}
 .wh-shipping-actions>:is(button,a),.wh-cargo-row-actions>:is(button,a){min-width:0!important;padding-inline:10px!important;font-size:13px!important;gap:6px!important;min-height:48px!important}
 .wh-shipping-actions .cr-icon-label,.wh-cargo-row-actions .cr-icon-label{white-space:nowrap!important;overflow-wrap:normal}
 .wh-shipping-actions .cr-icon,.wh-cargo-row-actions .cr-icon{--cr-icon-size:18px!important}
 .wh-shipping-toolbar:not(.wh-shipping-toolbar--processing) .wh-shipping-actions>.cr-button--result{padding-right:28px!important}
}
@media(min-width:701px) and (max-width:1200px){.wh-shipping-toolbar:not(.wh-shipping-toolbar--processing){grid-template-columns:1fr!important}.wh-shipping-actions{width:100%}}

.warehouse-module .wh-job-card:has(.wh-add-shipment){display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:0}
.warehouse-module .wh-add-shipment{margin-right:18px;white-space:nowrap!important;min-width:0!important;padding-inline:14px!important;min-height:48px!important;font-size:13px!important}
.warehouse-module .wh-add-shipment-dialog{width:min(640px,calc(100vw - 24px))}
@media(max-width:700px){.warehouse-module .wh-job-card:has(.wh-add-shipment){grid-template-columns:1fr;gap:0}.warehouse-module .wh-add-shipment{margin:0 16px 16px;justify-self:start}}

/* Shipping correction: measured available width, no fixed 620px track. */
@media(min-width:701px){
html body .warehouse-module .wh-shipping-toolbar:not(.wh-shipping-toolbar--processing){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
html body .warehouse-module .wh-shipping-toolbar:not(.wh-shipping-toolbar--processing) .wh-shipping-actions{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:auto;gap:8px!important;padding:2px 0 4px}
html body .warehouse-module .wh-shipping-actions>:is(button,a){flex:0 0 auto!important;width:auto!important;min-width:0!important;padding-inline:12px!important;white-space:nowrap!important}
html body .warehouse-module .wh-machine-cargo-row{flex-wrap:wrap!important;gap:12px!important}
html body .warehouse-module .wh-machine-cargo-row .wh-cargo-row-actions{display:flex!important;flex-wrap:nowrap!important;max-width:100%!important;min-width:0!important;overflow-x:auto;gap:8px!important}
html body .warehouse-module .wh-machine-cargo-row .wh-cargo-row-actions>:is(button,a){flex:0 0 auto!important;width:auto!important;min-width:0!important;padding-inline:10px!important;min-height:48px!important;font-size:13px!important;white-space:nowrap!important}
}
html body [data-cr-notice-source]{display:none!important}
.warehouse-module .wh-add-shipment-dialog .wh-shipment-choice b{overflow-wrap:anywhere}

#prepareShipment.wh-primary .cr-reicon{filter:brightness(0) invert(1);opacity:1}
