.th-mobile-form-dialog>[data-dialog-header]{min-height:44px;justify-content:center;padding-right:48px;text-align:left}.th-mobile-form-dialog :is(input,select,textarea,[role=combobox]),.th-mobile-form-dialog .grid>*{min-width:0;max-width:100%}.th-mobile-form-dialog input[type=datetime-local]{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box}.th-mobile-form-dialog input[type=datetime-local]::-webkit-date-and-time-value{text-align:left}.th-mobile-form-dialog input[type=datetime-local]::-webkit-datetime-edit{min-width:0;padding:0}.th-receive-inventory[role=dialog]{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 32px)}.th-receive-inventory>[data-dialog-header]{flex-shrink:0;padding:12px 68px 12px 20px;border-bottom:1px solid #dde3ec;background:#fff}.th-receive-inventory>[data-dialog-header] h2{min-height:44px;line-height:1.2}.th-receive-inventory>[data-dialog-close]{top:12px;right:12px}.th-receive-form{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}.th-receive-body{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:20px;scroll-padding-block:16px}.th-receive-body :is(input,select,textarea,[role=combobox]){scroll-margin-block:16px}.th-receive-footer{flex-shrink:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid #dde3ec;background:#fff}.th-receive-footer>div{min-width:0}.th-receive-footer button{min-height:44px}.th-receive-actions{display:flex;gap:8px}.th-receive-inventory .th-receive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-receive-body .th-receive-upload{min-height:44px}.th-receive-body .th-receive-upload svg{flex-shrink:0}@media (max-width:639px){.th-mobile-form-dialog[role=dialog]{--th-dialog-safe-top:max(0px,calc(env(safe-area-inset-top,0px) - var(--th-dialog-viewport-top,0px)));top:var(--th-dialog-viewport-top,0px);right:0;bottom:auto;left:0;width:100%;max-width:none;height:100vh;height:var(--th-dialog-viewport-height,100dvh);max-height:100vh;max-height:var(--th-dialog-viewport-height,100dvh);transform:none;border:0!important;border-radius:0!important;animation:none!important;display:flex;flex-direction:column;justify-content:flex-start;padding:calc(var(--th-dialog-safe-top) + 12px) max(16px,env(safe-area-inset-right,0px)) calc(16px + var(--th-dialog-bottom-inset,env(safe-area-inset-bottom,0px))) max(16px,env(safe-area-inset-left,0px));background:#fff;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.th-mobile-form-dialog>[data-dialog-close]{top:calc(var(--th-dialog-safe-top) + 12px);right:max(12px,env(safe-area-inset-right,0px));opacity:1;background:#f1f5f9;color:#0c3054;z-index:2}.th-mobile-form-dialog :is(input,select,textarea){font-size:16px!important;min-height:44px}.th-mobile-form-dialog [role=combobox]{min-height:44px}.th-mobile-form-dialog>[data-dialog-header]{flex-shrink:0}.th-mobile-form-dialog>form{min-width:0}.th-receive-inventory.th-mobile-form-dialog{padding:0 env(safe-area-inset-right,0px) var(--th-dialog-bottom-inset,env(safe-area-inset-bottom,0px)) env(safe-area-inset-left,0px);overflow:hidden;gap:0}.th-receive-inventory.th-mobile-form-dialog>[data-dialog-header]{padding:calc(var(--th-dialog-safe-top) + 12px) 68px 12px 16px}.th-receive-form{flex:1 1 auto}.th-receive-body{padding:16px}.th-receive-inventory .th-receive-grid{grid-template-columns:minmax(0,1fr);gap:12px}.th-receive-footer{flex-direction:column;align-items:stretch;gap:8px;padding:12px 16px}.th-receive-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);margin:0!important}.th-receive-body button{min-height:44px;white-space:normal}}
