/* A animação da rota criava um containing block para barras e modais fixed. */
.selleros-route-content:has(.shopee-shipping-page){animation:none!important;transform:none!important;filter:none;perspective:none;will-change:auto}
.shopee-shipping-page:has(.shipping-selection-bar),
.shopee-shipping-page:has(.shipping-history-selection){padding-bottom:120px}
.shopee-shipping-page .shipping-selection-bar{z-index:80;gap:12px;max-width:none}
.shopee-shipping-page .shipping-selection-bar>div{display:flex;flex-wrap:wrap;gap:6px 14px}
.shopee-shipping-page .shipping-selection-bar>button{min-height:40px;white-space:normal}
.shopee-shipping-page:has(.shipping-selection-bar) .shipping-feedback-stack,
.shopee-shipping-page:has(.shipping-history-selection) .shipping-feedback-stack{bottom:112px;max-height:calc(100dvh - 136px);overflow:auto}
/* Os filtros ocupam apenas a largura necessária, não três grandes cards. */
.shopee-shipping-page .shipping-workspace .shipping-pending-day-filters{justify-content:flex-start;flex-wrap:wrap;gap:6px;align-self:end}
.shopee-shipping-page .shipping-workspace .shipping-pending-day-filters button{flex:0 0 auto;min-width:0;min-height:34px;padding:6px 10px;font-size:11px;gap:7px;flex-direction:row;white-space:nowrap;justify-content:center}
.shopee-shipping-page .shipping-workspace .shipping-pending-day-filters button span{min-width:20px;padding:2px 5px;font-size:10px}
.shopee-shipping-page .shipping-workspace .shipping-toolbar{padding-top:14px;padding-bottom:14px;row-gap:12px}
/* Diálogos limitados à janela, com ações e fechamento dentro da caixa. */
.shopee-shipping-page .shipping-modal-backdrop{inset:0;position:fixed;z-index:110;padding:16px}
.shipping-auto-print-modal-extension{inset:0;position:fixed;z-index:110}
.shopee-shipping-page .shipping-modal-backdrop>section,
.shipping-auto-print-modal-extension>section{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);min-width:0;overflow:auto}
.shopee-shipping-page .shipping-modal-backdrop>section>header>div{min-width:0}
.shopee-shipping-page .shipping-modal-backdrop>section>header>button,
.shipping-auto-print-modal-extension>section>header>button{align-self:flex-start;flex-shrink:0}
body:has(.shopee-shipping-page .shipping-modal-backdrop),
body:has(.shipping-auto-print-modal-extension){overflow:hidden}
/* O addon legado já controla a preferência enviada: não mostrar dois controles. */
.shipping-confirm-modal:has(.shipping-erp-checkout-option-extension) .shipping-erp-checkout-option:not(.shipping-erp-checkout-option-extension){display:none}
@media(max-width:780px){
 .shopee-shipping-page .shipping-selection-bar{left:12px;right:12px;bottom:10px;flex-wrap:wrap;padding:12px;gap:9px}
 .shopee-shipping-page .shipping-selection-bar>div{flex:1 1 100%;gap:5px 10px}
 .shopee-shipping-page .shipping-selection-bar>button{width:100%}
 .shopee-shipping-page:has(.shipping-selection-bar),.shopee-shipping-page:has(.shipping-history-selection){padding-bottom:180px}
 .shopee-shipping-page .shipping-workspace .shipping-pending-day-filters button{padding:7px 8px;min-height:36px}
 .shopee-shipping-page:has(.shipping-selection-bar) .shipping-feedback-stack,
 .shopee-shipping-page:has(.shipping-history-selection) .shipping-feedback-stack{bottom:164px;max-height:calc(100dvh - 188px)}
 .shopee-shipping-page .shipping-history-selection{flex-wrap:wrap}
 .shopee-shipping-page .shipping-history-selection>div{flex-wrap:wrap}
}
