html .rv-image-preview.rv-popup{z-index:200000!important}html .rv-image-preview__overlay.rv-overlay{z-index:199999!important}@media (min-width:961px){.desktop-dialog-overlay.modal-backdrop{padding:24px}.desktop-dialog-overlay>.modal-panel{max-height:min(90dvh,960px)}.desktop-dialog-overlay>.modal-panel>.modal-body{overscroll-behavior:contain;min-height:0;overflow:auto}.desktop-dialog-overlay>.modal-panel>:is(header,footer){flex-shrink:0}.desktop-dialog-overlay :is(input,textarea,select){min-width:0}}
@media (max-width:960px){html .mobile-dialog-shell{--dialog-surface:#0b1730;--dialog-text:#eaf2ff;--dialog-line:#82a3d538;--surf:var(--dialog-surface);--text:var(--dialog-text);--line:var(--dialog-line);--soft:#8799b7;background:var(--dialog-surface);color:var(--dialog-text);max-height:calc(var(--dialog-viewport-height,100dvh) - 16px);box-sizing:border-box;overflow:hidden}html[data-theme=light] .mobile-dialog-shell{--dialog-surface:#fff;--dialog-text:#182230;--dialog-line:#e7edf5;--soft:#667085}html .mobile-dialog-bottom{bottom:var(--dialog-viewport-bottom,0px);border-radius:20px 20px 0 0;width:100%}html .mobile-dialog-center{border-radius:18px;width:calc(100% - 32px)}html .mobile-dialog-right{width:min(88vw,360px);height:var(--dialog-viewport-height,100dvh);bottom:var(--dialog-viewport-bottom,0px);border-radius:18px 0 0 18px;top:auto}html .mobile-dialog-overlay{background:#09112080}html .mobile-dialog-content{min-height:0;max-height:calc(var(--dialog-viewport-height,100dvh) - 16px - env(safe-area-inset-bottom));flex-direction:column;display:flex}html .mobile-dialog-shell.mobile-dialog-fullscreen{width:100%;height:var(--dialog-viewport-height,100dvh);max-height:var(--dialog-viewport-height,100dvh);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);border-radius:0}html .mobile-dialog-fullscreen>.mobile-dialog-content{height:100%;max-height:100%}html .mobile-dialog-content>:is(section,aside,.cw-panel,.cw-orderpick,.fk2-orders,.fk2-anno-pop,.fk2-kf-pop,.theme-menu,.profile-menu){width:100%;min-width:0;max-width:none;height:auto;min-height:0;max-height:inherit;box-shadow:none;background:var(--dialog-surface);color:var(--dialog-text);border:0;border-radius:0;flex-direction:column;margin:0;display:flex;position:relative;inset:auto;overflow:hidden;transform:none}html .mobile-dialog-content>:is(.supplier-action-sheet,.sc-modal){padding:16px;overflow-y:auto}html .mobile-dialog-content>.cw-panel{height:min(640px, calc(var(--dialog-viewport-height,100dvh) - 24px));position:relative!important;inset:auto!important}html .mobile-dialog-content>:is(.fk2-kf-pop,.theme-menu,.profile-menu){padding:16px}html .mobile-dialog-content .mobile-order-detail-head{padding-right:16px}html .mobile-dialog-content .mobile-order-detail-head>div{flex:1}html .mobile-dialog-content .mobile-order-detail-body{flex:auto;min-height:0;overflow:auto}html .mobile-dialog-content>.mobile-drawer{height:calc(var(--dialog-viewport-height,100dvh) - env(safe-area-inset-bottom));overflow:auto}html .mobile-dialog-content>*>:is(header,footer,.cw-head,.cw-tools,.cw-input,.cw-notify-permission,.cw-orderpick-head,.cart-head,.payment-switch,.checkout-total,.fk2-orders-head,.fk2-anno-pop-head){border-color:var(--dialog-line);flex:none;gap:10px;padding:12px 16px}html .mobile-dialog-content>*>:is(.modal-body,.cart-detail-body,.checkout-list,.poster-preview-body,.cw-body,.cw-orderpick-list,.fk2-orders-body,.fk2-anno-pop-list,.admin-notification-list){overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;max-height:none;padding:14px 16px;overflow:auto}html .mobile-dialog-content :is(h2,header b){color:var(--dialog-text);overflow-wrap:anywhere;font-size:17px;line-height:1.4}html .mobile-dialog-content .form-section-title{flex-direction:column;align-items:stretch;gap:6px;display:flex}html .mobile-dialog-content .form-section-title p{text-align:left}html .mobile-dialog-content>*>header>div:first-child{flex:1;min-width:0}html .mobile-dialog-content>*>header>button{flex:none;width:auto}html .mobile-dialog-content :is(p,pre,strong,span,a,b){overflow-wrap:anywhere}html .mobile-dialog-content :is(.form-grid,.ticket-detail-meta,.audit-proof-images,.cart-detail-hero,.supplier-param-list,.order-detail-summary,.supplier-manual-fields){grid-template-columns:minmax(0,1fr)}html .mobile-dialog-content :is(.form-grid,.field,.supplier-confirm,.supplier-detail-modal,.order-detail-panel){min-width:0;max-width:100%}html .mobile-dialog-content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;font-size:16px}html .mobile-dialog-content textarea{resize:vertical;min-height:112px}html .mobile-dialog-content button{white-space:normal;min-height:40px}html .mobile-dialog-content .rv-button{--rv-button-primary-background-color:#2457c5;--rv-button-primary-border-color:#2457c5;border-radius:10px}html .mobile-dialog-content .rv-button--plain{background:var(--dialog-surface);color:var(--dialog-text);border-color:var(--dialog-line)}html .mobile-dialog-content>*>footer{flex-wrap:wrap;justify-content:flex-end;display:flex}html .mobile-dialog-content>*>footer button{flex:110px}html .mobile-dialog-content :is(.table-wrap,.table-scroll){max-width:100%;overflow-x:auto}html .mobile-dialog-content .poster-preview-body{flex-direction:column;display:flex}html .mobile-dialog-content .poster-stage img{object-fit:contain;max-width:100%;max-height:45dvh}html .mobile-dialog-content .poster-thumb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html .mobile-dialog-content .branch-intro-list>details{flex-shrink:0;height:auto;overflow:visible}html .mobile-dialog-content .payment-switch,html .mobile-dialog-content .checkout-total{flex-wrap:wrap;display:flex}html .mobile-dialog-content .checkout-total .pay-btn{width:100%}html .mobile-dialog-content .supplier-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html .mobile-dialog-content .sc-track{touch-action:none;flex-shrink:0}html .mobile-dialog-content .cw-input input{flex:1;width:0}html .mobile-confirm-dialog{border-radius:18px;width:min(340px,100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}html .mobile-confirm-dialog .rv-dialog__message{overflow-wrap:anywhere;max-height:60dvh;overflow:auto}html .mobile-dialog-content>.mobile-order-detail-popup{height:min(88dvh, 820px, calc(var(--dialog-viewport-height,100dvh) - 16px - env(safe-area-inset-bottom)))}html .mobile-order-detail-popup .mobile-order-detail-head{border-bottom:0;padding:20px 16px 8px}html .mobile-order-detail-popup .mobile-order-detail-head:before{content:"";background:var(--dialog-line);border-radius:4px;width:36px;height:4px;position:absolute;top:8px;left:calc(50% - 18px)}html .mobile-order-detail-popup .mobile-order-detail-head h2{margin:0;font-size:18px}html .mobile-order-detail-popup .mobile-order-detail-head button{width:40px;height:40px;color:var(--dialog-text);background:0 0;border:0;place-items:center;padding:0;display:grid}html .mobile-order-detail-popup .mobile-order-detail-body{padding:0;display:flex;overflow:hidden}}
