#mobile-sync-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 16px;margin:8px 16px;border:1px solid #d8e3ed;background:#f3f7fc;border-radius:12px;color:#183650;font-size:13px;overflow-wrap:anywhere}
#mobile-sync-bar button,.mobile-dialog button{border:1px solid #bdcedd;border-radius:9px;min-height:44px;padding:9px 14px;font:inherit;background:#fff;color:#193b59;cursor:pointer;white-space:normal}
.mobile-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 24px));max-width:100%;max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #bacddb;border-radius:18px;padding:22px;background:white;color:#15324a;font:15px/1.5 system-ui,sans-serif;overscroll-behavior:contain}
.mobile-dialog::backdrop{background:#071c35aa}.mobile-dialog header{display:flex;gap:12px;justify-content:space-between;align-items:start}.mobile-dialog h2{margin:0;font-size:23px}.mobile-dialog h3{font-size:17px;margin:0}.mobile-dialog p{overflow-wrap:anywhere;margin:12px 0}.mobile-dialog label{display:block;margin:12px 0;font-weight:600}.mobile-dialog input:not([type=radio]):not([type=file]),.mobile-dialog textarea,.mobile-dialog select{box-sizing:border-box;display:block;width:100%;min-height:46px;border:1px solid #aebed0;border-radius:8px;padding:10px;font:16px/1.4 system-ui,sans-serif;background:white;color:#152f49}.mobile-dialog input[hidden]{display:none!important}.mobile-form-fields{border:0;margin:0;padding:0;min-width:0}.mobile-driving{border:1px solid #cedce8;border-radius:12px;padding:12px;margin:14px 0;min-width:0}.mobile-driving label:has(input[type=radio]){display:flex;gap:10px;align-items:center;font-weight:400}.mobile-driving input[type=radio]{width:22px;min-width:22px;height:22px;min-height:22px;margin:0;padding:0}.mobile-actions{display:flex;flex-wrap:wrap;gap:8px}.mobile-dialog .mobile-primary{display:block;width:100%;background:#1467ca;border-color:#1467ca;color:white;font-weight:700;margin:14px 0}.mobile-dialog button:disabled{opacity:.55;cursor:wait}.mobile-dialog :focus-visible,#mobile-sync-bar :focus-visible{outline:3px solid #e6792a;outline-offset:3px}.mobile-queue-card{border:1px solid #d9e3ec;border-radius:12px;padding:16px;margin:14px 0}.mobile-error{color:#a1261a;background:#fff0ec;border-radius:8px;padding:10px}.mobile-saved{background:#edf5fd;border-radius:8px;padding:10px}.mobile-file{display:flex;align-items:center;gap:10px;border-bottom:1px solid #dfe7ee;padding:12px 0}.mobile-file img{width:70px;height:85px;object-fit:contain;border-radius:6px;background:#f1f5f9}.mobile-file span{min-width:0;flex:1;overflow-wrap:anywhere}.mobile-file small{display:block;color:#526678}.mobile-file button{flex:0 0 auto}
@media(max-width:600px){#mobile-sync-bar{margin:8px;align-items:stretch}#mobile-sync-bar span{flex:1 1 100%}.mobile-dialog{padding:16px;border-radius:13px}.mobile-dialog header h2{font-size:21px}.mobile-dialog .mobile-actions button{flex:1 1 42%}.eod-dialog,.so-dialog{max-width:calc(100vw - 16px);box-sizing:border-box}.eod-dialog .eod-head,.eod-dialog .eod-tools{flex-wrap:wrap}.eod-dialog input,.eod-dialog select,.eod-dialog textarea{font-size:16px;max-width:100%;box-sizing:border-box}.eod-dialog button,.so-dialog button{min-height:44px;white-space:normal}.eod-dialog{overflow-wrap:anywhere}.eod-dialog .eod-grid,.eod-dialog .eod-form{min-width:0}.wm-pay-lines dd{overflow-wrap:anywhere}}

/* Native picker receives the tap directly; no hidden-input synthetic click. */
.mobile-file-picker{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;border:1px solid #bac6d3;border-radius:8px;min-height:44px;cursor:pointer;overflow:hidden}
.mobile-file-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.mobile-file-picker:focus-within{outline:2px solid #1769c2;outline-offset:2px}
