/* 延用附件 WMS 的 style.css，僅補充分開入口、手機掃碼與確認視窗。 */
.home-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.entry-card{border-top:5px solid #1769aa;padding:24px}.entry-card.raw{border-top-color:#087f5b}
.entry-card h2{font-size:28px;margin:0 0 10px}.entry-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.entry-links button{padding:17px 12px;font-size:17px;min-height:58px}
.category-tag{display:inline-block;padding:5px 12px;border-radius:20px;background:#e4eefb;color:#124f8c;font-size:14px;margin-bottom:10px}.category-tag.raw{background:#e2f4ec;color:#086246}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.page-head h2{margin:0}.page-head .secondary{white-space:nowrap}
.step-line{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 20px}.step-line span{background:#edf3fa;border-radius:7px;padding:10px 14px;color:#234b78;font-weight:700}
.matched{background:#eff8f4;border:1px solid #c1decc;border-radius:10px;padding:16px;margin:14px 0}.matched strong{font-size:20px}.scan-row input{min-width:0}.scan-row button{white-space:nowrap;min-height:45px}
.scan-tools{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.notice{background:#f2f6fb;border-left:4px solid #1769aa;padding:12px;line-height:1.7}.badge{display:inline-block;background:#edf3fa;border-radius:6px;padding:4px 8px}.badge.pending{background:#fff1d8;color:#80530b}.qty-strong{font-size:19px;font-weight:800}.muted{line-height:1.7}.error-text{color:#b42318}.action-info{line-height:1.9;margin-bottom:16px;background:#f5f7fb;border-radius:8px;padding:14px}.table-wrap td.item-text{white-space:normal;min-width:210px}.result-count{margin-top:10px;color:#637089}.modal-card{max-height:88vh;overflow-y:auto}.modal-head button{min-height:42px}.action-fixed{border-top:1px solid #dde4ee;padding-top:14px;margin-top:16px}.action-fixed button{min-height:50px;min-width:130px}
#reader{width:100%;max-width:440px;margin:auto}#scannerModal{z-index:1200}#actionModal{z-index:1100}.scanner-error{padding:12px;color:#b42318;line-height:1.7}button:disabled{opacity:.55;cursor:wait}input[readonly]{background:#edf2f7;color:#425369}.import-preview{white-space:pre-wrap;max-height:320px;overflow:auto;background:#f6f8fb;padding:14px;border-radius:8px}.form-note{font-size:14px;color:#657489;margin:8px 0 14px}
@media(max-width:760px){.home-groups{grid-template-columns:1fr}.entry-card{padding:18px}.page-head{align-items:flex-start}.page-head h2{font-size:22px}.scan-row{grid-template-columns:minmax(0,1fr) auto}.step-line{gap:6px}.step-line span{font-size:14px;padding:8px}.modal-card{width:96vw;max-height:90dvh}.entry-links button{padding:17px 8px}.actions button{min-height:48px}.login-card{max-height:100%;overflow:auto}header h1{font-size:20px}.header-status{flex-wrap:wrap}.current-user{max-width:150px;overflow:hidden;text-overflow:ellipsis}}

.permission-check{display:flex;align-items:center;gap:8px;margin:8px 12px 8px 0;font-size:16px}.permission-check input{width:22px;height:22px}.header-status .current-user{max-width:300px}
