.simple-receiving-page{--simple-blue:#1768d7;--simple-navy:#15304e;--simple-green:#159873;--simple-line:#d9e4f0;min-height:100dvh;background:#f3f7fb;color:var(--simple-navy);font-family:system-ui,-apple-system,"Noto Sans TC",sans-serif;padding-bottom:max(28px,env(safe-area-inset-bottom))}
.simple-receiving-page *{box-sizing:border-box;min-width:0}.simple-receiving-page button,.simple-receiving-page input{font:inherit}.simple-receiving-page nav{position:sticky;z-index:20;top:0;display:flex;align-items:center;gap:12px;min-height:68px;padding:10px max(14px,env(safe-area-inset-left));background:rgba(255,255,255,.96);border-bottom:1px solid var(--simple-line);box-shadow:0 4px 18px #24476a10;backdrop-filter:blur(12px)}
.simple-receiving-page nav>div{display:flex;align-items:center;gap:10px;flex:1}.simple-receiving-page nav i{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#138f75,#27b58d);color:#fff;font-style:normal;font-weight:900}.simple-receiving-page nav strong{display:block;font-size:18px}.simple-receiving-page nav small{display:block;color:#72869d;font-size:12px;margin-top:1px}.simple-receiving-page nav>span{max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#60758b;font-size:13px}.simple-receiving-page nav>button{border:1px solid var(--simple-line);background:#fff;border-radius:12px;padding:7px 10px;color:#36536f}.simple-receiving-page nav>button strong,.simple-receiving-page nav>button small{font-size:12px}
.simple-job-list,.simple-receiving-card{width:min(720px,calc(100% - 24px));margin:16px auto}.simple-job-list>header{display:flex;align-items:center;justify-content:space-between;margin:18px 2px 12px}.simple-job-list>header strong{display:block;font-size:24px}.simple-job-list>header small{color:#71849a}.simple-refresh{display:flex;align-items:center;gap:6px;min-height:46px;padding:8px 14px;border:1px solid #bfd1e4;border-radius:14px;background:#fff;color:#27577e}.simple-refresh span,.simple-refresh small{display:block}
.simple-job-list>button{width:100%;margin:0 0 12px;padding:17px;text-align:left;border:1px solid var(--simple-line);border-radius:19px;background:#fff;box-shadow:0 8px 25px #23496c10;color:var(--simple-navy)}.simple-job-list>button>span{display:inline-flex;flex-direction:column;width:calc(100% - 92px);vertical-align:top}.simple-job-list>button>span b{font-size:14px;color:var(--simple-blue)}.simple-job-list>button>span strong{font-size:18px;margin:4px 0;overflow-wrap:anywhere}.simple-job-list>button>span small{color:#71849a}.simple-job-list>button>em{float:right;font-style:normal;font-weight:800;font-size:16px}.simple-job-list>button>i{display:block;clear:both;height:8px;margin-top:15px;background:#e9eff6;border-radius:999px;overflow:hidden}.simple-job-list>button>i u{display:block;height:100%;background:linear-gradient(90deg,#1a9d77,#4bbd87);border-radius:inherit}.simple-job-list footer{display:flex;justify-content:space-between;align-items:end;margin-top:10px;color:#567089}.simple-job-list footer span,.simple-job-list footer small{display:block}.simple-job-list footer b{color:var(--simple-blue)}.simple-empty{padding:50px 20px;text-align:center;border:1px dashed #b9ccde;border-radius:20px;background:#fff}.simple-empty>b{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 15px;border-radius:50%;background:#dff8ed;color:var(--simple-green);font-size:30px}
.simple-receiving-card{border:1px solid var(--simple-line);border-radius:22px;background:#fff;box-shadow:0 12px 35px #1e477017;overflow:hidden}.simple-receiving-card>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:13px;border-bottom:1px solid var(--simple-line)}.simple-receiving-card>header button{min-height:44px;border:0;border-radius:12px;background:#edf5fe;color:var(--simple-blue);padding:7px 10px}.simple-receiving-card>header button span{display:inline}.simple-receiving-card>header button small{display:none}.simple-receiving-card>header>div b,.simple-receiving-card>header>div small{display:block}.simple-receiving-card>header>div small{color:#71849a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.simple-receiving-card>header>em{font-style:normal;font-weight:900}
.simple-step-strip{display:flex;align-items:center;justify-content:center;padding:14px 18px;background:#f7faff}.simple-step-strip span{display:flex;align-items:center;gap:6px}.simple-step-strip span b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--simple-green);color:#fff}.simple-step-strip small{line-height:1.15;font-weight:700}.simple-step-strip i{height:2px;flex:1;max-width:65px;background:#b9d9d0;margin:0 8px}.simple-receiving-card form{padding:15px}.simple-receiving-card label>span strong,.simple-receiving-card label>span small{display:block}.simple-receiving-card label>span strong{font-size:17px}.simple-receiving-card label>span small{color:#72869d;font-size:12px;margin:2px 0 7px}.simple-field-block{margin-bottom:14px}.simple-field-block>div{display:grid;grid-template-columns:1fr 82px;gap:8px}.simple-receiving-card input{width:100%;height:52px;border:1.5px solid #c7d5e4;border-radius:13px;padding:0 13px;background:#fff;color:#132b43;font-size:17px}.simple-receiving-card input:focus{outline:3px solid #1c70df20;border-color:var(--simple-blue)}#simple-open-camera{border:0;border-radius:13px;background:var(--simple-blue);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:800}#simple-open-camera small{font-size:10px;opacity:.9}
.simple-product-match{display:flex;align-items:center;gap:11px;margin-top:9px;padding:10px;border-radius:13px;background:#eef9f5}.simple-product-match.unknown{background:#fff6df}.simple-product-match img,.simple-product-match>i{width:56px;height:56px;object-fit:contain;border-radius:10px;background:#fff}.simple-product-match>i{display:grid;place-items:center;font-size:25px;font-style:normal}.simple-product-match span>*{display:block}.simple-product-match span small{color:#668199}.simple-product-match span strong{margin:2px 0;overflow-wrap:anywhere}.simple-product-match span em{font-style:normal;color:var(--simple-green);font-weight:800}.simple-product-match span u{margin-top:4px;color:#477dac;font-size:12px;font-weight:700;text-decoration:none;line-height:1.4}
.simple-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.simple-two-fields>label,.simple-batch{display:block;padding:11px;border:1px solid var(--simple-line);border-radius:15px;background:#f9fbfd}.simple-number{display:grid;grid-template-columns:48px 1fr 48px;gap:6px}.simple-number button{border:0;border-radius:11px;background:#e5f0fd;color:var(--simple-blue);font-size:24px;font-weight:900}.simple-number input{text-align:center;font-size:24px;font-weight:900;padding:0}.simple-expiry-picker{width:100%;min-height:54px;padding:9px 12px;border:1px solid #8cc9bf;border-radius:12px;background:#fff;text-align:left;display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px;color:#163b55;cursor:pointer;font:inherit;box-shadow:0 1px 0 rgba(16,78,109,.06)}.simple-expiry-picker span{font-size:17px;font-weight:800;line-height:1.25}.simple-expiry-picker small{font-size:12px;color:#568079;grid-column:1}.simple-expiry-picker b{grid-column:2;grid-row:1 / span 2;font-size:23px;color:#1b7a8a}.simple-expiry-picker:hover,.simple-expiry-picker:focus-visible{border-color:#2379d7;outline:3px solid rgba(35,121,215,.16)}.simple-expiry.urgent{border-color:#f59e0b;background:#fff8e9}.simple-expiry.expired{border-color:#e84848;background:#fff0f0}.simple-expiry.ok{border-color:#73c6a5;background:#effbf6}.simple-expiry em{display:block;margin-top:5px;color:#bb5d0b;font-style:normal;font-weight:800;font-size:12px}.simple-batch{margin:10px 0 14px}
.simple-photo-section{padding:13px;border:1px solid #cddaea;border-radius:17px;background:#f8fbff}.simple-photo-section>header{display:flex;justify-content:space-between;align-items:center}.simple-photo-section>header strong,.simple-photo-section>header small{display:block}.simple-photo-section>header em{font-style:normal;font-weight:900;color:var(--simple-blue)}.simple-photo-section>p{font-size:13px;color:#60768c}.simple-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.simple-photo-grid>label{position:relative;aspect-ratio:1;border:1.5px dashed #9bb6cf;border-radius:13px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:6px;cursor:pointer}.simple-photo-grid>label i{font-size:25px;font-style:normal}.simple-photo-grid>label span{font-size:11px;font-weight:800}.simple-photo-grid>label small{font-size:10px;color:#75879a}.simple-photo-grid>label img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}.simple-photo-grid>label.has-photo:after{content:'↻';position:absolute;right:5px;bottom:5px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#1768d7;color:#fff}
.simple-confirm-summary{margin:14px 0;padding:12px;border-radius:15px;background:#edf5fe}.simple-confirm-summary h3{margin:0 0 10px}.simple-confirm-summary h3 strong,.simple-confirm-summary h3 small{display:block}.simple-confirm-summary>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.simple-confirm-summary>div span{padding:8px;background:#fff;border-radius:10px;color:#60768c}.simple-confirm-summary span small,.simple-confirm-summary span b{display:block}.simple-confirm-summary span b{color:#172f48;overflow-wrap:anywhere}.simple-submit{width:100%;min-height:62px;border:0;border-radius:15px;background:linear-gradient(135deg,#1768d7,#0e56bc);color:#fff;box-shadow:0 8px 20px #1768d733}.simple-submit strong,.simple-submit small{display:block}.simple-submit strong{font-size:17px}.simple-submit:disabled{opacity:.6}.simple-autosave{text-align:center;font-size:12px;color:#668099}
.simple-review-panel{border:2px solid #94c7ef!important;background:#f5fbff!important}.simple-review-panel>.panel-title>strong{padding:7px 11px;border-radius:999px;background:#fff0c9;color:#8e5a00}.simple-review-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.simple-review-list>article{padding:13px;border:1px solid #cbdceb;border-radius:15px;background:#fff}.simple-review-list>article.returned{border-color:#efa5a5;background:#fff9f9}.simple-review-list article>header{display:flex;justify-content:space-between}.simple-review-list article>header span>*{display:block}.simple-review-list article>header small{color:#71849a}.simple-review-list article>header em{font-size:19px;font-style:normal;font-weight:900}.simple-review-facts{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0}.simple-review-facts span{padding:7px;border-radius:8px;background:#f3f7fb;color:#6c8195;font-size:12px}.simple-review-facts b{display:block;color:#1a334c}.simple-review-photos{display:flex;gap:7px;overflow:auto}.simple-review-photos img{width:76px;height:76px;object-fit:contain;border:1px solid #d5e0eb;border-radius:10px}.simple-review-list form{display:grid;grid-template-columns:1fr auto auto;gap:7px;margin-top:10px}.simple-review-list form input{height:38px;border:1px solid #cbd9e7;border-radius:9px;padding:0 9px}
@media(max-width:520px){.simple-receiving-page nav>span{display:none}.simple-job-list,.simple-receiving-card{width:calc(100% - 16px);margin:8px auto}.simple-receiving-card form{padding:11px}.simple-two-fields{grid-template-columns:1fr}.simple-photo-grid{grid-template-columns:repeat(3,1fr)}.simple-step-strip small{font-size:10px}.simple-receiving-card>header>div{max-width:38vw}.simple-review-list form{grid-template-columns:1fr 1fr}.simple-review-list form input{grid-column:1/-1}}
.simple-sheet-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 14px;padding:9px 12px;border-radius:12px;background:#edf9f5;color:#18765d}.simple-sheet-note small{color:#5f7d73}.simple-review-list>article.approved{border-color:#65b998;background:#f8fffc}.simple-build-product{margin-top:12px;border:1px solid #86cdb2;border-radius:12px;background:#fff;overflow:hidden}.simple-build-product summary{cursor:pointer;list-style:none;padding:12px 14px;background:#e9f8f2;color:#126f55;font-weight:900;text-align:center}.simple-build-product summary::-webkit-details-marker{display:none}.simple-build-product form{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px;margin:0}.simple-build-product label{display:grid;gap:4px;color:#526b80;font-size:12px;font-weight:800}.simple-build-product label.wide,.simple-build-product button.wide{grid-column:1/-1}.simple-build-product input,.simple-build-product select{width:100%;height:40px;border:1px solid #cbd9e7;border-radius:9px;padding:0 9px;background:#fff}.simple-build-product label.check{display:flex;align-items:center;gap:7px;min-height:40px}.simple-build-product label.check input{width:20px;height:20px}.simple-build-product button{min-height:44px}
@media(max-width:520px){.simple-sheet-note{align-items:flex-start;flex-direction:column;gap:2px}.simple-build-product form{grid-template-columns:1fr}.simple-build-product label.wide,.simple-build-product button.wide{grid-column:auto}.simple-build-product form input{grid-column:auto}}
.simple-mode-section{margin:0 0 12px;padding:11px;border:1px solid var(--simple-line);border-radius:15px;background:#f8fbff}.simple-mode-section>header strong,.simple-mode-section>header small{display:block}.simple-mode-section>header small{color:#72869d}.simple-mode-section>div{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:9px}.simple-mode-section button{min-height:72px;padding:7px 4px;border:1.5px solid #c9d8e7;border-radius:12px;background:#fff;color:#405a73}.simple-mode-section button>*{display:block;margin:auto}.simple-mode-section button i{font-size:22px;font-style:normal}.simple-mode-section button strong{font-size:13px}.simple-mode-section button small{font-size:10px}.simple-mode-section button.active{border-color:var(--simple-blue);background:#eaf3ff;color:#125abd;box-shadow:inset 0 0 0 1px var(--simple-blue)}.simple-count-fields{align-items:start}.simple-count-fields>.simple-expiry{width:100%;max-width:100%;min-width:0;overflow:hidden;box-sizing:border-box}.simple-count-fields>.simple-expiry input[type="date"]{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box}.simple-package-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.simple-package-fields label{display:block;padding:9px;border:1px solid #d5e1ed;border-radius:12px;background:#fff;font-weight:800}.simple-package-fields label>small{display:block;color:#74889b;font-weight:500}.simple-package-fields label.wide{grid-column:1/-1}.simple-package-fields input{margin-top:5px}.simple-unit-barcode{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.simple-unit-barcode button{min-width:76px;border:0;border-radius:11px;background:var(--simple-blue);color:#fff;font-weight:800}.simple-piece-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0;padding:10px;border:1px solid #8ccbb5;border-radius:14px;background:#effbf6}.simple-piece-summary.variance{border-color:#f0b14a;background:#fff9e9}.simple-piece-summary span{font-size:11px;color:#657d72;text-align:center}.simple-piece-summary b{display:block;margin-top:3px;color:#163a2e;font-size:16px}.simple-review-package{display:grid;gap:4px;margin:9px 0;padding:9px;border-radius:10px;background:#fff4d8;color:#80560a}.simple-review-package>*{display:block}.simple-review-package span{font-size:12px}
@media(max-width:520px){.simple-mode-section>div{grid-template-columns:1fr 1fr}.simple-count-fields{display:block}.simple-count-fields>.simple-expiry{margin-top:10px;padding:10px}.simple-package-fields{grid-template-columns:1fr 1fr}.simple-piece-summary{grid-template-columns:1fr 1fr}.simple-receiving-page input[type="date"]{font-size:16px!important;padding-inline:10px!important}}
