@import"https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap";:root{--primary:#4A154B;--primary-hover:#360f37;--bg-main:#f4f2f5;--text-main:#1f1121;--text-muted:#756676;--card-bg:#fff;--line:#e5dfe7;--danger:#dc2626}body.page-login{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;margin:0;padding:0 0 40px;background:var(--bg-main);color:var(--text-main);-webkit-tap-highlight-color:transparent}#loginView{background:var(--card-bg);max-width:430px;margin:32vh auto 0;padding:24px;border-radius:12px;box-shadow:0 4px 12px #4a154b08;position:relative}#loginView .login-title{font-size:24px;font-weight:900;color:var(--primary);margin-bottom:8px}#loginView .field{width:100%;padding:12px;border:1px solid #dcd6dd;border-radius:8px;font-size:16px;background:#faf9fa;margin-bottom:12px}#loginView .field:focus{outline:none;border-color:var(--primary);background:#fff}#loginView .btn{width:100%;margin:0;border:0;border-radius:8px;padding:12px;background:var(--primary);color:#fff;font-size:16px;font-weight:800;cursor:pointer}#loginView .btn:disabled{opacity:.6}#loginView .remember-row{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--text-muted);margin:-2px 0 12px;-webkit-user-select:none;user-select:none}#loginView .remember-row input{width:16px;min-width:16px;height:16px;min-height:0;margin:0;padding:0;border-radius:0;accent-color:var(--primary);box-shadow:none}#loginView .error{color:var(--danger);font-size:13px;font-weight:700;margin-top:10px;min-height:18px}:root{--primary:#4A154B;--bg:#f4f2f5;--text:#1f1121;--muted:#756676;--line:#e2dde3;--danger:#dc2626}body.page-change-password{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}#changeView{max-width:430px;margin:18vh auto 0;background:#fff;padding:24px;border-radius:12px;box-shadow:0 4px 12px #4a154b0d}#changeView h1{margin:0 0 8px;color:var(--primary);font-size:24px}#changeView .sub{font-size:13px;color:var(--muted);margin-bottom:20px}#changeView .field{width:100%;padding:12px;border:1px solid #dcd6dd;border-radius:8px;font-size:16px;background:#faf9fa;margin-bottom:12px}#changeView .field:focus{outline:none;border-color:var(--primary);background:#fff}#changeView .btn{width:100%;margin:0;border:0;border-radius:8px;padding:12px;background:var(--primary);color:#fff;font-size:16px;font-weight:800;cursor:pointer}#changeView .btn:disabled{opacity:.6}#changeView .back{display:block;width:100%;margin-top:10px;border:1px solid var(--line);border-radius:8px;padding:10px;background:#f4f2f5;color:var(--text);font-size:14px;font-weight:700}#changeView .error{color:var(--danger);font-size:13px;font-weight:700;margin-top:10px;min-height:18px}#changeView .hint{font-size:12px;color:var(--muted);line-height:1.5;margin:-4px 0 12px}:root{--primary:#4A154B;--bg-main:#f4f2f5;--text-main:#1f1121;--text-muted:#756676;--card-bg:#fff;--line:#e2dde3;--danger:#f56c6c;--blue:#1890ff}button,.smallbtn,.ios-picker,.brand-badge,.spec-badge,.float-submit{touch-action:manipulation;-webkit-user-select:none;user-select:none}body{font-family:-apple-system,Noto Sans SC,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;margin:0;background:var(--bg-main);color:var(--text-main);padding-bottom:90px;-webkit-tap-highlight-color:transparent}.big-store-title{font-size:22px;font-weight:800;color:#111827;margin:4px 0 8px;letter-spacing:-.5px}.store-container{padding-right:24px}.letter-group-title{background:#f4f2f5;color:var(--primary);font-weight:700;font-size:14px;padding:4px 8px;margin:12px 0 6px;border-radius:4px}.item{padding:14px 4px;border-bottom:1px solid #f4f2f5;width:100%}.item-main-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-direction:column}.prod-info{width:100%;min-width:0}.prod-name{font-size:16px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--primary)}.flavor-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 10px;border-radius:999px;background:#f4f2f5;color:var(--primary);line-height:1.25}.control-group{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:8px}.mix-box-card{background:#fff;border:1px solid #eadfec;border-radius:10px;padding:10px;margin:10px 0 12px}.mix-box-head{display:grid;grid-template-columns:72px 58px 34px 78px;align-items:center;gap:6px}.mix-box-toggle{width:72px;border:0;background:var(--primary);color:#fff;border-radius:999px;padding:7px 6px;font-weight:900;text-align:center;white-space:nowrap}.mix-box-count{min-width:58px;color:var(--primary);font-size:13px;font-weight:900;white-space:nowrap;text-align:center}.mix-box-panel{margin-top:10px;display:flex;flex-direction:column;gap:7px}.mix-flavor-row{display:grid;grid-template-columns:minmax(0,1fr) 34px 34px 34px;align-items:center;gap:8px;background:#faf9fa;border:1px solid #eeeade;border-radius:8px;padding:7px 8px}.mix-flavor-row span{font-weight:800;color:var(--primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mix-flavor-row button{touch-action:manipulation;-webkit-user-select:none;user-select:none;width:32px;height:30px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--primary);font-size:18px;font-weight:900}.mix-flavor-row b{text-align:center;color:var(--text-main)}.sell-line{display:grid;grid-template-columns:32px 48px 38px 34px 48px;align-items:center;gap:6px;width:100%;background:#faf9fa;border:1px solid #eeeade;border-radius:8px;padding:8px 6px}.sell-tag{background:var(--primary);color:#fff;border-radius:999px;padding:3px 0;font-size:12px;font-weight:800;text-align:center}.sell-unit{font-weight:800;color:var(--text-main);font-size:13px;white-space:nowrap}.price-label{font-weight:700;color:#665c67;font-size:13px;white-space:nowrap}.picker-wrapper{display:inline-flex;align-items:center;gap:3px;font-size:13px;color:var(--text-muted)}.label-txt{font-weight:600;color:#665c67}.unit-txt{font-weight:600;color:var(--text-main);font-size:13px}.ios-picker{background:#f4f2f5;color:var(--text-main);border:1px solid #dcd6dd;border-radius:6px;padding:6px;font-size:14px;font-weight:700;outline:none;text-align:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:44px}.price-picker{width:48px;min-width:48px}.store-top-gates{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:12px}.btn-gate-half{color:#fff;padding:10px 2px;border-radius:10px;font-size:12px;font-weight:700;text-align:center;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:3px;white-space:nowrap;box-shadow:0 4px 10px #4a154b1f}.btn-gate-stock{background:linear-gradient(135deg,var(--primary),#6b266c)}.btn-gate-report{background:linear-gradient(135deg,#1890ff,#0050b3)}.btn-gate-newstore{background:linear-gradient(135deg,#ff9c6e,#ff4d4f)}.btn-new-order{background:var(--primary);color:#fff;padding:12px;width:100%;border-radius:8px;font-size:16px;font-weight:600;margin-bottom:15px;text-align:center;border:none}.smallbtn{background:#f4f2f5;color:var(--text-main);border:1px solid var(--line);padding:5px 10px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer}.order-date-row{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;margin:0 0 12px;font-size:13px}.order-date-main{display:inline-flex;align-items:center;white-space:nowrap;font-weight:600;color:var(--text-muted)}.order-date-action{height:26px;padding:3px 7px;border-radius:6px;font-size:12px;font-weight:600}.date-picker-wrapper{position:relative;display:inline-block;flex:0 0 auto}.real-date-input{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;cursor:pointer}.report-native-date-label{position:relative;overflow:hidden}.report-native-date-input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.search-wrapper{position:relative;margin:4px 0 12px;width:100%}.search-wrapper input{width:100%;padding:12px 40px 12px 12px;border:1px solid #dcd6dd;border-radius:8px;font-size:16px;background:#faf9fa}.search-clear-btn{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:22px;height:22px;background:#e2dde3;color:#756676;border-radius:50%;text-align:center;line-height:20px;font-size:12px;cursor:pointer;font-weight:700;display:none;z-index:5}.brand-nav{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 6px}.brand-badge{background:#f4f2f5;color:var(--text-muted);padding:7px 11px;border-radius:20px;font-size:13px;cursor:pointer;font-weight:600;border:1px solid transparent}.brand-badge.active{background:#fbf4fc;color:var(--primary);border:1px solid #eecbf5}.spec-nav{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 12px;padding:6px 0;border-bottom:1px dashed #e2dde3}.spec-badge{background:#fff;color:#665c67;padding:4px 10px;border-radius:6px;font-size:12px;cursor:pointer;border:1px solid #e2dde3;font-weight:500}.spec-badge.active{background:var(--primary);color:#fff;border-color:var(--primary)}.pack-hint{margin-top:5px;color:#756676;font-size:12px;font-weight:800;line-height:1.4;padding-left:2px}.float-submit{position:fixed;right:20px;bottom:24px;z-index:99;background:var(--primary);color:#fff;border:none;padding:14px 26px;border-radius:50px;font-size:16px;font-weight:700;box-shadow:0 8px 16px #4a154b4d}.stock-row{display:flex;flex-direction:column;width:100%;background:#faf9fa;padding:12px;border-radius:8px;border:1px solid #eee;margin-bottom:10px}.stock-qty{font-size:13px;margin-top:6px;color:#333;background:#f0ebf1;padding:6px 10px;border-radius:6px}.alphabet-sidebar{position:fixed;right:16px;top:140px;bottom:100px;width:24px;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:90;background:#ffffffd9;border-radius:12px;box-shadow:0 2px 8px #4a154b14;border:1px solid #eeeade;-webkit-user-select:none;user-select:none}.detail-grid-container{display:grid;grid-template-columns:1fr;gap:6px;margin-top:4px;font-size:13px;color:var(--text-muted);line-height:1.4}.detail-grid-item{display:flex;justify-content:space-between;align-items:center}@media(max-width:560px){.store-top-gates{grid-template-columns:repeat(3,1fr)}.float-submit{right:14px;bottom:18px}.alphabet-sidebar{right:8px}}.history-item-actions{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:2px}.history-detail-hint{font-size:13px;font-weight:800;color:var(--primary)}.detail-action-row{display:flex;flex-direction:column;gap:10px;margin:12px 0 14px}.detail-secondary-actions{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap}.detail-secondary-actions .detail-delivery-action,.detail-secondary-actions .detail-detailed-action{width:auto;height:40px;padding:8px 12px;font-size:15px;flex:0 0 auto}.delivery-note-btn{background:#111;color:#fff;border:1px solid #111;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:700;cursor:pointer}.delivery-note-btn-primary{background:var(--primary);border-color:var(--primary);box-shadow:0 6px 14px #4a154b2e;border-radius:999px;padding:9px 15px}.detail-delivery-action{width:100%;padding:12px 16px;font-size:15px}.delivery-note-btn:disabled{opacity:.55;cursor:not-allowed}.delivery-note-capture-wrap{position:fixed;left:-10000px;top:0;width:max-content;background:#fff;padding:0;z-index:-1;pointer-events:none}.delivery-note-sheet{box-sizing:border-box;width:860px;background:#fff;color:#000;font-family:SimSun,Songti SC,"Noto Serif CJK SC",serif;padding:48px 40px 54px;border:none}.delivery-note-title{text-align:center;font-size:42px;font-weight:700;letter-spacing:8px;margin:0 0 32px}.delivery-note-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 28px}.delivery-note-customer{font-size:24px;font-weight:700;margin:0}.delivery-note-customer span{display:inline-block;min-width:330px;padding:0 10px 4px;font-weight:400}.delivery-note-date{font-size:22px;font-weight:700;white-space:nowrap}.delivery-note-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:22px}.delivery-note-table th,.delivery-note-table td{border:2px solid #000;height:66px;text-align:center;vertical-align:middle;padding:6px 8px}.delivery-note-table th{font-weight:700}.delivery-note-table .col-index{width:72px}.delivery-note-table .col-name{width:260px}.delivery-note-table .col-qty{width:170px}.delivery-note-table .col-price{width:150px}.delivery-note-table .col-amount{width:128px}.delivery-note-table .text-left{text-align:left}.delivery-note-total td{height:84px;text-align:left;font-weight:700}.delivery-note-footer td{height:112px;border-top:2px solid #000}.delivery-note-deliver{text-align:right!important;font-weight:700;padding-right:0!important}@media(max-width:560px){.delivery-note-preview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#000000a6;display:flex;flex-direction:column}.delivery-note-preview-inner{width:100%;height:100%;background:#f4f2f5;display:flex;flex-direction:column}.delivery-note-preview-toolbar{height:52px;min-height:52px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid #ddd;font-size:16px;font-weight:800;color:#222}.delivery-note-preview-toolbar button{border:0;background:none;padding:8px 4px;font-size:14px;font-weight:700}.delivery-note-preview-close{color:#666}.delivery-note-preview-save{color:var(--primary)}.delivery-note-preview-scroll{flex:1;overflow:auto;padding:14px 8px 24px;-webkit-overflow-scrolling:touch}.delivery-note-preview-image{display:block;width:100%;height:auto;background:#fff;box-shadow:0 2px 12px #00000029}}@media(min-width:561px){.delivery-note-preview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#000000a6;display:flex;align-items:center;justify-content:center;padding:24px}.delivery-note-preview-inner{max-width:920px;max-height:95vh;width:100%;background:#f4f2f5;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.delivery-note-preview-toolbar{height:52px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-size:16px;font-weight:800}.delivery-note-preview-toolbar button{border:0;background:none;padding:8px;font-size:14px;font-weight:700}.delivery-note-preview-close{color:#666}.delivery-note-preview-save{color:var(--primary)}.delivery-note-preview-scroll{overflow:auto;padding:16px}.delivery-note-preview-image{display:block;max-width:100%;height:auto;margin:auto;background:#fff}}body.store-search-mode .store-top-gates,body.store-search-mode .alphabet-sidebar{display:none!important}body.store-search-mode .card{height:calc(var(--vvh) - 18px);overflow:hidden;display:flex;flex-direction:column}body.store-search-mode #searchBlock{position:sticky;top:0;z-index:50;background:#fff;margin-bottom:8px}body.store-search-mode #list{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:24px}body.store-search-mode .store-container{padding-right:0}body.store-search-mode .store-search-summary{display:none!important}.history-item-compact{padding:10px 14px;gap:6px;margin-bottom:8px}.history-item-top{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px}.history-item-compact .history-item-actions{align-items:flex-start;margin-top:0}.history-item-meta{font-size:13px;color:var(--text-muted);line-height:1.35;padding-top:8px}.history-item-compact .delivery-note-btn-primary{padding:8px 14px;min-width:84px}.detail-amount-banner{margin:0;min-height:43px;display:flex;align-items:center}.detail-danger-action{margin-left:0}@media(max-width:360px){.detail-secondary-actions{gap:8px}.detail-secondary-actions .detail-delivery-action,.detail-secondary-actions .detail-detailed-action{font-size:14px;padding:8px 10px}.history-item-compact{padding:9px 12px}.history-item-compact .delivery-note-btn-primary{padding:8px 12px}}.order-detail-list{display:flex;flex-direction:column;gap:0;margin-top:8px;border-top:1px solid #f0edf1}.order-detail-row{padding:12px 2px 13px;border-bottom:1px solid #f0edf1}.order-detail-title{font-size:15px;font-weight:800;color:var(--primary);line-height:1.35;margin:0 0 6px}.order-detail-lines{display:flex;flex-direction:column;gap:3px}.order-detail-line{font-size:13px;color:var(--text-muted);line-height:1.5}.order-detail-flavors{display:flex;flex-direction:column;gap:4px;margin:1px 0 4px}.order-detail-flavor{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:var(--text-muted);line-height:1.45}.order-detail-flavor span:first-child{font-weight:700;color:var(--primary)}.order-detail-flavor span:last-child{text-align:right}.order-detail-line strong{color:var(--primary);font-size:14px}.order-detail-row-danger{border-left:3px solid var(--danger);padding-left:10px;background:snow}.order-detail-title-danger,.order-detail-line-danger,.order-detail-line-danger strong{color:var(--danger)}.employee-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-2px 0 12px;padding:2px 0 10px;border-bottom:1px solid #f0edf1}.employee-bar span{font-size:15px;font-weight:800;color:var(--primary);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-bar button{flex:0 0 auto;border:1px solid #e2dde3;background:#f4f2f5;color:var(--primary);border-radius:999px;padding:7px 12px;font-size:13px;font-weight:700;cursor:pointer}.employee-bar button:active{transform:scale(.97);background:#e2dde3}.search-wrapper.hide~.employee-bar{display:none!important}body.store-search-mode .employee-bar{display:none!important}.detailed-delivery-note-sheet{box-sizing:border-box;width:980px;background:#fff;color:#000;font-family:SimSun,Songti SC,"Noto Serif CJK SC",serif;padding:48px 40px 54px;border:none}.detailed-delivery-note-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:20px}.detailed-delivery-note-table th,.detailed-delivery-note-table td{border:2px solid #000;height:54px;text-align:center;vertical-align:middle;padding:6px 8px}.detailed-delivery-note-table th{font-weight:700}.detailed-delivery-note-table .detailed-col-index{width:64px}.detailed-delivery-note-table .detailed-col-barcode{width:170px}.detailed-delivery-note-table .detailed-col-name{width:300px}.detailed-delivery-note-table .detailed-col-spec,.detailed-delivery-note-table .detailed-col-quantity,.detailed-delivery-note-table .detailed-col-price{width:80px}.detailed-delivery-note-table .detailed-col-amount{width:120px}.detailed-delivery-note-table .text-left{text-align:left}.detailed-delivery-note-table td:nth-child(5),.detailed-delivery-note-table .detailed-quantity-cell{text-align:right!important;padding-right:0!important}.detailed-delivery-note-table .detailed-quantity-value{display:inline-grid;width:58px;grid-template-columns:30px 28px;align-items:center;margin-left:auto;white-space:nowrap;text-align:left}.detailed-delivery-note-table .detailed-quantity-integer{display:block;width:32px;text-align:right}.detailed-delivery-note-table .detailed-quantity-decimal{display:block;width:28px;text-align:left}.detailed-delivery-note-table .detailed-col-barcode,.detailed-delivery-note-table td:nth-child(2){text-align:left}.detailed-delivery-note-table .delivery-note-total td{text-align:left!important}.detailed-delivery-note-table .delivery-note-deliver{text-align:right!important;padding-right:0!important}.add-order-loading-spinner{display:inline-block;width:13px;height:13px;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:addOrderSpin .7s linear infinite;flex:0 0 13px}@keyframes addOrderSpin{to{transform:rotate(360deg)}}.brand-nav{gap:4px;margin:8px 0 4px}.brand-badge{padding:7px 11px;border-radius:9px;font-size:13px;font-weight:600;border:1px solid transparent}.brand-badge.active{background:#f7f0f7;border-color:#e7d4e9;color:var(--primary)}.spec-nav{gap:5px;margin:3px 0 9px;padding:3px 0 10px;border-bottom:1px solid #eeeaf0}.spec-badge{padding:5px 9px;border-radius:7px;font-size:12px;font-weight:550}.spec-badge.active{box-shadow:none}.item:has(.sell-line){padding:12px 2px 13px;border-bottom:1px solid #eeebef}.item:has(.sell-line) .prod-name{color:#211523;font-size:16px;font-weight:700;letter-spacing:-.25px}.item:has(.sell-line) .flavor-badge{display:inline-flex;align-items:center;background:#f4f2f5;color:var(--primary);padding:3px 9px;border-radius:999px;line-height:1.35}.item:has(.sell-line) .pack-hint{margin-top:3px;padding-left:0;font-size:12px;font-weight:500;color:#827786}.item:has(.sell-line) .control-group{gap:7px;margin-top:8px}.item:has(.sell-line) .sell-line{grid-template-columns:34px 58px 20px 30px 88px;justify-content:start;gap:6px;align-items:center;background:transparent;border:0;border-radius:0;padding:0;min-height:42px}.item:has(.sell-line) .sell-tag{border-radius:7px;padding:7px 0;background:#f1eaf2!important;color:var(--primary);font-size:12px;font-weight:700}.item:has(.sell-line) .ios-picker{width:100%;min-width:0;min-height:40px;padding:5px 2px;border:1px solid #e1dce3;border-radius:8px;background:#f8f7f9;color:#211523;font-size:14px;font-weight:650;text-align:center}.item:has(.sell-line) .price-picker{width:100%;min-width:0}.item:has(.sell-line) .sell-unit{font-size:13px;text-align:center;font-weight:650}.item:has(.sell-line) .price-label{font-size:12px;text-align:center;color:#827786;font-weight:500}.item:has(.sell-line) .recover-btn,.item:has(.sell-line) .return-btn,.item:has(.sell-line) .collect-btn{justify-self:end;min-height:38px;padding:7px 10px;border-radius:999px;border:1px solid #e7d5e9;background:#fff;color:var(--primary);font-size:13px;font-weight:650}.card:has(.order-submit-bar){min-height:calc(100vh - 24px);min-height:calc(100dvh - 24px)}.order-submit-bar{position:sticky;z-index:99;bottom:calc(8px + env(safe-area-inset-bottom,0px));margin:12px 0 8px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;background:#fffffff7;border:1px solid rgba(226,221,227,.9);border-radius:16px;box-shadow:0 3px 14px #23122612;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.order-submit-total{min-width:0;display:flex;flex-direction:column;gap:2px}.order-submit-total span{color:var(--text-muted);font-size:11px;line-height:1.2}.order-submit-total strong{color:var(--primary);font-size:19px;font-weight:700;line-height:1.25;font-variant-numeric:tabular-nums;white-space:nowrap}.order-submit-bar .float-submit{position:static;flex:0 0 auto;padding:11px 20px;border-radius:11px;box-shadow:none;font-size:15px;min-height:44px}.order-submit-bar .float-submit:disabled{opacity:.65}.store-nav-back-wrap{margin-bottom:6px}.store-nav-back-active{padding-top:0}@media(max-width:380px){.item:has(.sell-line) .sell-line{grid-template-columns:32px 52px 18px 27px minmax(68px,82px);gap:4px}.order-submit-bar{left:8px;right:8px;padding:8px 10px}.order-submit-bar .float-submit{padding:11px 16px}}.order-cart-panel{display:none;position:fixed;z-index:98;left:12px;right:12px;bottom:calc(78px + env(safe-area-inset-bottom,0px));max-height:min(52vh,420px);overflow:hidden;flex-direction:column;background:#fffffffb;border:1px solid #e6e0e8;border-radius:16px;box-shadow:0 8px 28px #23122621;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.order-cart-panel.is-open{display:flex}.order-cart-heading{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:13px 15px 10px;border-bottom:1px solid #f0edf1;color:#2b1d2c;font-size:14px}.order-cart-heading span{color:#827786;font-size:12px;font-weight:500}.order-cart-items{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 15px}.order-cart-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #f0edf1}.order-cart-row:last-child{border-bottom:0}.order-cart-info{min-width:0;display:flex;flex-direction:column;gap:4px}.order-cart-info strong{overflow-wrap:anywhere;color:#2b1d2c;font-size:13px;line-height:1.35;font-weight:650}.order-cart-info span{color:#827786;font-size:12px;line-height:1.3}.order-cart-price{flex:0 0 auto;color:#4a154b;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}.order-cart-empty{padding:24px 0;text-align:center;color:#827786;font-size:13px}@media(max-width:380px){.order-cart-panel{left:8px;right:8px;bottom:calc(76px + env(safe-area-inset-bottom,0px));max-height:48vh}}.order-submit-bar,.order-submit-bar .float-submit{cursor:pointer}.store-page-heading{box-sizing:border-box;min-width:0;margin:4px 0 12px}.store-page-heading.big-store-title{margin-bottom:12px}.order-header-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;min-width:0}.order-header-row .big-store-title{display:flex;align-items:center;min-width:0;min-height:0;margin:0;line-height:1;overflow-wrap:anywhere}html:has(.order-submit-bar),body:has(.order-submit-bar){max-width:100%;overflow-x:clip}.order-date-pill{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:3px 7px;background:#f4f2f5;border:1px solid #e2dde3;border-radius:6px;box-sizing:border-box;vertical-align:middle}.order-date-pill .order-date-main{display:block;font-size:12px;font-weight:600;color:var(--primary);line-height:18px}.order-date-pill .real-date-input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.product-filter-group{margin:10px 0 0}.product-filter-label{display:flex;align-items:baseline;gap:7px;margin:0 0 6px;color:#4b3b4d;font-size:12px;font-weight:800;letter-spacing:.02em}.product-filter-label span{font-size:11px;font-weight:500;color:var(--text-muted);letter-spacing:0}.brand-nav{gap:6px;margin:0 0 2px}.brand-badge{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 11px;border-radius:7px;background:#f0edf1;color:#655a67;border:1px solid #e5dfe7;font-size:13px;font-weight:650;white-space:nowrap}.brand-badge.active{background:#4a154b;color:#fff;border-color:#4a154b;box-shadow:0 1px 2px #4a154b1f}.spec-nav{gap:6px;margin:0;padding:0 0 10px;border-bottom:1px solid #e8e2e9}.spec-badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border-radius:6px;background:#fff;color:#554a57;border:1px solid #dcd4df;font-size:13px;font-weight:650;white-space:nowrap}.spec-badge.active{background:#f3e8f4;color:#4a154b;border:1.5px solid #4A154B;box-shadow:inset 0 0 0 1px #4a154b0d}.product-identity{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;line-height:1.35}.product-spec-name{display:inline-flex;align-items:center;min-height:26px;padding:3px 8px;background:#f1e8f2;color:#4a154b;border-left:3px solid #4A154B;border-radius:4px;font-size:15px;font-weight:850;letter-spacing:.01em}.product-flavor-name{display:inline-flex;align-items:center;min-height:24px;padding:2px 7px;border:1px solid #e4dce6;border-radius:5px;background:#fff;color:#514653;font-size:13px;font-weight:600}.product-identity+.pack-hint{margin-top:5px}@media(max-width:560px){.product-filter-group{margin-top:9px}.product-filter-label{margin-bottom:5px}.brand-nav{gap:5px}.brand-badge{min-height:31px;padding:5px 9px}.spec-nav{gap:5px;padding-bottom:9px}.spec-badge{min-height:30px;padding:5px 9px}.product-identity{gap:5px}.product-spec-name{font-size:14px}.product-flavor-name{font-size:12px}}.product-identity.flavor-badge{display:flex;width:100%;max-width:100%;padding:0;border-radius:0;background:transparent;color:inherit;line-height:1.35;overflow:visible;white-space:normal}.product-flavor-name{display:inline;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:#756676;font-size:14px;font-weight:500;line-height:1.35}.product-flavor-name:before{content:"·";display:inline-block;margin:0 6px 0 0;color:#b7aab9;font-weight:700}@media(max-width:560px){.product-flavor-name{font-size:13px}.product-flavor-name:before{margin-right:5px}}.order-filter-sticky{position:-webkit-sticky;position:sticky;top:0;z-index:80;margin:0;padding:8px 0 4px;background:#fbf9fc;border-bottom:1px solid #eee8f0;box-shadow:0 5px 14px #4a154b12}.order-filter-sticky .brand-nav{margin-top:0}.order-filter-sticky .spec-nav{margin-bottom:0;padding-bottom:7px;border-bottom:0}@media(max-width:560px){.order-filter-sticky{padding-top:6px;padding-bottom:3px}.order-filter-sticky .product-filter-label{margin-bottom:4px}.order-filter-sticky .spec-nav{padding-bottom:6px}}.item:has(.product-identity) .product-spec-name{display:inline;min-height:0;padding:0;background:transparent;color:var(--primary);border:0;border-radius:0;box-shadow:none;font-size:14px;font-weight:800;line-height:inherit}.item{padding:10px 4px}.item .prod-info{display:flex;align-items:baseline;gap:8px;min-width:0;flex-wrap:wrap}.item .order-flavor-name{display:inline-flex;align-items:center;width:auto;flex:0 1 auto;min-width:0;max-width:100%;margin:0;padding:3px 9px;border:0;border-radius:999px;background:#f4f2f5;color:var(--primary);font-size:15px;font-weight:600;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip}.item .order-flavor-name+.pack-hint{margin-top:0}.item .pack-hint{flex:0 0 auto;margin:0;padding:0;color:#756676;font-size:12px;font-weight:700;line-height:1.35;white-space:nowrap}.order-header-row{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0}.order-header-row .big-store-title{display:flex;align-items:center;flex:0 1 auto;min-width:0;max-width:100%;margin:0;line-height:1.2;overflow-wrap:anywhere}.item:has(.sell-line) .sell-line select.ios-picker.price-picker{display:block!important;box-sizing:border-box!important;-moz-appearance:none!important;appearance:none!important;-webkit-appearance:none!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 2px!important;border:1px solid #dcd6dd!important;border-radius:6px!important;line-height:32px!important;font-size:15px!important;font-weight:900!important;vertical-align:middle;align-self:center}.item:has(.sell-line) .sell-line .price-picker,.mix-box-head .price-picker{font-weight:400!important}.mix-box-head .price-picker{width:78px!important;min-width:78px!important;max-width:100%!important;box-sizing:border-box!important;justify-self:stretch;padding-left:2px!important;padding-right:2px!important}.item:has(.sell-line) .qty-popup-trigger,.item:has(.sell-line) .sell-line select.price-picker,.item:has(.sell-line) .mix-box-head select.price-picker,#list select.price-picker,#list select.price-picker option{font-family:inherit!important;font-weight:700!important;-webkit-text-fill-color:#211523}body:has(.order-submit-bar){padding-bottom:0!important}.card:has(.order-submit-bar){min-height:calc(100vh - 24px)!important;min-height:calc(100dvh - 24px)!important;margin-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important}.order-submit-bar{position:fixed!important;left:12px!important;right:12px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;width:auto!important;margin:0!important;z-index:100!important}.card:has(.order-submit-bar) #list{scroll-padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}.order-cart-panel{bottom:calc(82px + env(safe-area-inset-bottom,0px));z-index:99}@media(max-width:380px){.order-submit-bar{left:8px!important;right:8px!important;bottom:calc(6px + env(safe-area-inset-bottom,0px))!important}.card:has(.order-submit-bar){padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important}.order-cart-panel{bottom:calc(76px + env(safe-area-inset-bottom,0px))}}.order-cart-return-row .order-cart-info strong,.order-cart-return-row .order-cart-price{color:var(--danger)!important}.order-submit-total{display:contents}.order-submit-total span{margin-right:auto;align-self:center;font-size:13px;white-space:nowrap}.order-submit-total strong{align-self:center;font-size:24px;line-height:1.2;font-weight:800}@media(max-width:380px){.order-submit-total strong{font-size:22px}}.back-btn{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;padding:4px 0;border:0;border-radius:0;background:transparent;color:#4a154b;font-size:15px;font-weight:600;line-height:22px;cursor:pointer;box-shadow:none}.back-btn:active{background:transparent;transform:none;opacity:.65}.back-btn:before{content:"";display:block;flex:0 0 8px;width:8px;height:8px;box-sizing:border-box;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(.5px) rotate(45deg);margin:0 0 0 2px}.report-range-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;display:flex;align-items:flex-end;justify-content:center;padding:0;background:#18101975;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.report-range-sheet{width:100%;max-width:520px;max-height:min(78dvh,560px);overflow-y:auto;margin:0 auto;background:#fff;border-radius:20px 20px 0 0;padding:8px 18px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -8px 36px #190c1b29;box-sizing:border-box}.report-range-handle{width:34px;height:4px;border-radius:99px;background:#d8d2da;margin:0 auto 13px}.report-range-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.report-range-header>div{display:flex;flex-direction:column;gap:0;min-width:0}.report-range-header strong{font-size:17px;line-height:1.35;color:#241b25;font-weight:750}.report-range-header span{display:none}.report-range-close{flex:0 0 32px;width:32px;height:32px;border:0;border-radius:50%;background:#f4f2f5;color:#6d626f;font-size:15px;line-height:1}.report-range-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-range-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#5f5361;font-size:12px;font-weight:700}.report-range-field input{display:block;width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;max-height:46px!important;margin:0!important;padding:0 7px!important;border:1px solid #e2dde3;border-radius:10px;background:#faf9fa;color:#241b25;font-family:inherit;font-size:14px!important;font-weight:600;line-height:44px!important;box-sizing:border-box;-moz-appearance:none;appearance:none;-webkit-appearance:none}.report-range-field input:focus{outline:2px solid rgba(74,21,75,.16);border-color:var(--primary)}.report-range-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.report-range-actions button{height:44px;border-radius:10px;font-family:inherit;font-size:14px;font-weight:700}.report-range-cancel{border:1px solid #e2dde3;background:#fff;color:#5f5361}.report-range-confirm{border:1px solid var(--primary);background:var(--primary);color:#fff}@media(min-width:560px){.report-range-overlay{align-items:center;padding:20px}.report-range-sheet{border-radius:20px;padding-bottom:22px;max-height:80vh}.report-range-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}.control-group.after-sales-group .sell-line{grid-template-columns:32px 48px 38px 34px 78px;padding-right:54px}.after-sales-wrap{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:flex-start;min-width:0;z-index:40}.after-sales-toggle{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;box-sizing:border-box;width:44px;min-width:44px;height:34px;min-height:34px;border:1px solid #e7d7ea;background:#fff7fb;color:var(--primary);border-radius:999px;padding:0;font-size:12px;font-weight:900;line-height:1;white-space:nowrap;-moz-appearance:none;appearance:none;-webkit-appearance:none}.after-sales-toggle.has-value{background:var(--primary);border-color:var(--primary);color:#fff}.after-sales-toggle:active{transform:none!important;transition:none!important;animation:none!important}.after-sales-panel{display:none}.after-sales-panel.open{display:grid;position:absolute;left:0;right:0;top:0;bottom:0;z-index:30;grid-template-columns:32px 48px 38px 34px 78px;align-items:center;gap:0;box-sizing:border-box;margin:0;padding:0 54px 0 0;background:#fff;border:1px solid #e7dfe8;border-radius:12px;box-shadow:none;pointer-events:none}.after-sales-panel.open .after-sales-panel-label{grid-column:1;display:flex;align-items:center;justify-content:center;width:32px;height:34px;margin:0;background:#756676;color:#fff;border-radius:999px;font-size:0;font-weight:900}.after-sales-panel.open .after-sales-panel-label:after{content:"收回数";font-size:12px}.after-sales-panel.open .after-sales-picker{grid-column:2;width:48px!important;min-width:48px!important;height:34px;margin:0!important;box-sizing:border-box;pointer-events:auto}.after-sales-panel.open .after-sales-note{grid-column:3 / -1;font-size:0;min-width:0}.after-sales-panel.open .after-sales-note:after{content:"只算能卖的，收回增加库存";font-size:12px;line-height:1.35;color:var(--text-muted);margin-left:10px;white-space:nowrap}.after-sales-panel.open+*{position:relative}@media(max-width:420px){.control-group.after-sales-group .sell-line{grid-template-columns:30px 46px 38px 34px 70px;gap:5px;padding-left:5px;padding-right:50px}.after-sales-wrap{right:5px}.after-sales-toggle{width:40px;min-width:40px;font-size:11px}.after-sales-panel.open{grid-template-columns:30px 46px 38px 34px 70px;padding-right:50px}.after-sales-panel.open .after-sales-panel-label{width:30px;height:32px}.after-sales-panel.open .after-sales-panel-label:after{font-size:11px}.after-sales-panel.open .after-sales-picker{width:46px!important;min-width:46px!important;height:32px}.after-sales-panel.open .after-sales-note:after{font-size:11px;margin-left:8px}}.after-sales-panel{display:none!important}.sell-line.after-sales-line{position:relative}.sell-line.after-sales-line .after-sales-return-content,.sell-line.after-sales-line .after-sales-inline-note{display:none!important}.sell-line.after-sales-line .shouzou-toggle{display:inline-flex;position:absolute;right:54px;top:50%;transform:translateY(-50%);align-items:center;justify-content:center;box-sizing:border-box;width:44px;min-width:44px;height:34px;border:1px solid #e7d7ea;background:#f7f3f8;color:var(--primary);border-radius:999px;padding:0;font-size:12px;font-weight:900;white-space:nowrap;z-index:41}.sell-line.after-sales-line .shouzou-toggle.has-value{background:var(--primary);border-color:var(--primary);color:#fff}.sell-line.after-sales-line.after-sales-inline-mode [data-after-sales-toggle]{z-index:42}.sell-line.after-sales-line.after-sales-inline-mode .qty-popup-trigger{position:relative;z-index:43}@media(max-width:420px){.sell-line.after-sales-line .after-sales-inline-note{left:128px;right:104px;font-size:11px}.sell-line.after-sales-line .shouzou-toggle{right:50px;width:40px;min-width:40px;font-size:11px}}.employee-sales-report{width:100%;min-width:0;color:var(--text-main)}.employee-sales-report .big-store-title{margin:4px 0 10px}.employee-report-sku{display:flex;align-items:center;justify-content:flex-start;gap:6px;width:100%;min-height:42px;margin:10px 0 4px;padding:0 2px;border:0;border-bottom:1px solid #efedf0;border-radius:0;background:transparent;color:var(--text-main);font-family:inherit;font-size:14px;line-height:1.4;font-weight:600;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}.employee-report-sku span:last-child{font-size:22px;line-height:1;color:#a49ba6;font-weight:400}.employee-report-total{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:15px 0 14px;border-bottom:1px solid #eae7eb}.employee-report-total-main{display:flex;flex-direction:column;gap:4px;min-width:0}.employee-report-total-main>span{font-size:12px;line-height:1.35;color:var(--text-muted);font-weight:500}.employee-report-total-main>strong{color:var(--primary);font-size:25px;line-height:1.15;letter-spacing:-.45px;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}.employee-report-order-count{flex:0 0 auto;padding-bottom:2px;color:var(--text-muted);font-size:12px;white-space:nowrap}.employee-report-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px 8px;color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.02em}.employee-report-list{width:100%;min-width:0}.employee-report-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;padding:12px;border-bottom:1px solid #efedf0;background:transparent;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent}.employee-report-row:last-child{border-bottom:0}.employee-report-row:active{background:#f8f6f8}.employee-report-row:focus-visible{outline:2px solid #c9a9cb;outline-offset:-2px;border-radius:5px}.employee-report-row-main{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.employee-report-row-side{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:4px;color:var(--text-muted);font-size:11px;line-height:1.3;white-space:nowrap}.employee-report-row-side-meta{display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}.employee-report-store{display:block;overflow:hidden;color:var(--primary);font-size:15px;line-height:1.35;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.employee-report-date{font-size:14px;line-height:1.35}.employee-report-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:5px;color:var(--text-muted);font-size:11px;line-height:1.35}.employee-report-meta-separator{color:#c5bec7}.employee-report-after-sale{display:inline-flex;align-items:center;padding:1px 5px;border-radius:3px;background:#f7eeee;color:#a85c58;font-size:10px;font-weight:600}.employee-report-amount{flex:0 0 auto;color:#302a31;font-size:14px;line-height:1.3;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.employee-report-empty{padding:42px 12px;color:#99919b;font-size:13px;text-align:center}@media(max-width:360px){.employee-report-row{gap:8px}.employee-report-date,.employee-report-amount{font-size:13px}.employee-report-total-main>strong{font-size:23px}}.qty-native-hidden{display:none!important}.sell-line select.ios-picker:not(.price-picker),.after-sales-panel select.after-sales-picker{display:none!important;visibility:hidden!important;width:0!important;min-width:0!important;height:0!important;padding:0!important;border:0!important}.sell-line .qty-popup-trigger,.after-sales-panel .qty-popup-trigger{box-sizing:border-box;width:48px;min-width:48px;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0!important;border:1px solid #dcd6dd;border-radius:6px;background:#f4f2f5;color:var(--text-main);font-size:15px;font-weight:900;line-height:32px;text-align:center}.sell-line .qty-popup-trigger.has-value{background:#fbf4fc;color:var(--primary);border-color:#eecbf5;box-shadow:0 0 0 2px #4a154b0d}body.qty-popup-open{overflow:hidden}.qty-popup-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:#11182761;display:flex;align-items:flex-end;justify-content:center;padding:14px}.qty-popup-mask.hide{display:none!important}.qty-popup-sheet{width:min(420px,100%);background:#fff;border-radius:18px 18px 16px 16px;padding:14px 14px calc(14px + env(safe-area-inset-bottom));box-shadow:0 20px 50px #11182747;animation:qtySheetIn .16s ease-out}.qty-popup-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 8px}.qty-popup-title-wrap{min-width:0}.qty-popup-title{font-size:17px;font-weight:900;color:var(--primary);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.qty-popup-close{width:34px;height:34px;border:0;border-radius:50%;background:#f4f2f5;color:#756676;font-size:24px;line-height:30px;font-weight:400;flex:0 0 auto}.qty-popup-current{height:34px;display:flex;align-items:center;justify-content:center;border:1px solid #eadfec;background:#faf9fa;border-radius:10px;margin:2px 0 10px;color:var(--primary);font-size:15px;font-weight:900}.qty-popup-grid{display:grid;gap:7px;margin-top:4px}.qty-popup-grid-5{grid-template-columns:repeat(5,1fr)}.qty-popup-number,.qty-popup-clear{touch-action:manipulation;-webkit-user-select:none;user-select:none;border:1px solid #e2dde3;border-radius:12px;background:#fff;color:#1f1121;font-weight:900}.qty-popup-number{height:46px;font-size:19px}.qty-popup-number.active{background:var(--primary);border-color:var(--primary);color:#fff}.qty-popup-number:disabled{opacity:.35;background:#f4f2f5;color:#aaa}.qty-popup-clear{width:100%;height:44px;margin-top:12px;background:#f4f2f5;color:#756676;font-size:16px}.qty-popup-number:active,.qty-popup-clear:active,.qty-popup-close:active,.qty-popup-trigger:active{transform:scale(.97)}@keyframes qtySheetIn{0%{transform:translateY(22px);opacity:.7}to{transform:translateY(0);opacity:1}}@media(min-width:560px){.qty-popup-mask{align-items:center}.qty-popup-sheet{border-radius:18px;padding-bottom:14px}}.qty-popup-head:has(.qty-popup-title.is-adjustment-prompt) .qty-popup-title-wrap{flex:1;min-width:0}.qty-popup-title.is-adjustment-prompt{text-align:center;white-space:normal;overflow:visible;text-overflow:clip}body:has(.order-submit-bar){color:#1d1d1f;-webkit-font-smoothing:antialiased}body:has(.order-submit-bar) .card:has(.order-submit-bar){background:#fff;border:1px solid rgba(229,229,234,.75);border-radius:16px;box-shadow:0 2px 10px #1d1d1f09;padding:14px 14px calc(104px + env(safe-area-inset-bottom,0px))}.order-header-row{display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:9px;min-width:0;margin:2px 0 12px}.order-header-row .big-store-title{min-width:0;max-width:100%;color:#1d1d1f;font-size:20px;font-weight:600;line-height:1.25;letter-spacing:-.35px}.order-header-row .order-date-pill{flex:0 0 auto;min-height:28px;padding:3px 8px;border:1px solid #E5E5EA;border-radius:7px;background:#f5f5f7}.order-header-row .order-date-main{color:#4a154b;font-size:12px;font-weight:600;line-height:18px;font-variant-numeric:tabular-nums}.order-filter-sticky{position:sticky;top:0;z-index:80;margin:0 -2px 5px;padding:9px 2px 5px;background:#fffffff7;border-bottom:1px solid #E5E5EA;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.order-filter-sticky .brand-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 7px;padding:0 0 1px}.order-filter-sticky .brand-badge{flex:0 0 auto;min-height:34px;padding:7px 12px;border:1px solid #E5E5EA;border-radius:8px;background:#fff;color:#6e6e73;font-size:13px;font-weight:600}.order-filter-sticky .brand-badge.active{border-color:#4a154b;background:#4a154b;color:#fff}.order-filter-sticky .spec-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0 0 2px;border:0}.order-filter-sticky .spec-badge{flex:0 0 auto;min-height:31px;padding:6px 11px;border:1px solid #E5E5EA;border-radius:7px;background:#f5f5f7;color:#6e6e73;font-size:12px;font-weight:600}.order-filter-sticky .spec-badge.active{border-color:#4a154b;background:#f1e8f2;color:#4a154b;font-weight:700}body:has(.order-submit-bar) #list>.item{margin:0;padding:12px 0 13px;border-bottom:1px solid #E5E5EA}body:has(.order-submit-bar) #list>.item:last-of-type{border-bottom-color:transparent}body:has(.order-submit-bar) #list .prod-info{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;margin:0}body:has(.order-submit-bar) #list .order-flavor-name{flex:1 1 auto;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#1d1d1f;font-size:15px;font-weight:500;line-height:1.35;letter-spacing:0;overflow-wrap:anywhere}body:has(.order-submit-bar) #list .pack-hint{flex:0 0 auto;margin:0 0 0 auto;padding:0;color:#6e6e73;font-size:11px;font-weight:400;line-height:1.3;white-space:nowrap}body:has(.order-submit-bar) #list .control-group{gap:0;margin-top:7px}body:has(.order-submit-bar){--order-col-tag:34px;--order-col-picker:58px;--order-col-unit:20px;--order-col-qty:30px;--order-col-price:88px;--order-row-gap:6px;--after-sales-action-size:44px;--after-sales-action-inset:6px;--after-sales-action-reserve:56px}body:has(.order-submit-bar) #list .sell-line{min-width:0;min-height:40px;padding:3px 0;border:0;border-bottom:0;border-radius:0;background:transparent;box-shadow:none}body:has(.order-submit-bar) #list .sell-line>.sell-tag{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 2px;border-radius:0;background:transparent!important;color:#6e6e73!important;font-size:12px;font-weight:600;line-height:1}body:has(.order-submit-bar) #list .sell-line .ios-picker{border-color:#e5e5ea;border-radius:7px;background-color:#fff;color:#1d1d1f;font-variant-numeric:tabular-nums}body:has(.order-submit-bar) #list .sell-line .price-label{color:#6e6e73;font-size:12px;font-weight:500}body:has(.order-submit-bar) #list .sell-line .sell-unit{color:#1d1d1f;font-size:12px;font-weight:600}body:has(.order-submit-bar) #list .sell-line .price-picker{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}body:has(.order-submit-bar) #list .mix-box-card{margin:10px 0 12px;padding:10px;border:1px solid #E5E5EA;border-radius:10px;background:#faf8fb;box-shadow:none}body:has(.order-submit-bar) #list .mix-box-toggle{min-height:34px;border-radius:8px;background:#4a154b;box-shadow:none;font-size:12px}body:has(.order-submit-bar) .order-submit-bar{gap:10px;padding:9px 10px 9px 13px;border:1px solid #E5E5EA;border-radius:14px;background:#fffffff7;box-shadow:0 4px 18px #1d1d1f17;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}body:has(.order-submit-bar) .order-submit-total span{color:#6e6e73;font-size:12px;font-weight:500}body:has(.order-submit-bar) .order-submit-total strong{color:#1d1d1f;font-size:20px;font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}body:has(.order-submit-bar) .order-submit-bar .float-submit{min-height:44px;padding:0 17px;border:0;border-radius:10px;background:#4a154b;color:#fff;box-shadow:none;font-size:14px;font-weight:600;white-space:nowrap}body:has(.order-submit-bar) .order-cart-panel{border-color:#e5e5ea;border-radius:14px;background:#fffffffb;box-shadow:0 8px 26px #1d1d1f21}body:has(.order-submit-bar) .order-cart-heading{color:#1d1d1f;border-bottom-color:#e5e5ea}body:has(.order-submit-bar) .order-cart-row{border-bottom-color:#e5e5ea}body:has(.order-submit-bar) .order-cart-price{color:#1d1d1f;font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}@media(max-width:380px){body:has(.order-submit-bar){--order-col-tag:32px;--order-col-picker:52px;--order-col-unit:18px;--order-col-qty:27px;--order-col-price:minmax(68px,82px);--order-row-gap:4px;--after-sales-action-size:40px;--after-sales-action-inset:5px;--after-sales-action-reserve:50px}}@media(max-width:380px){body:has(.order-submit-bar) .card:has(.order-submit-bar){padding-left:10px;padding-right:10px}.order-header-row .big-store-title{font-size:18px}.order-header-row .order-date-pill{padding-left:6px;padding-right:6px}.order-filter-sticky .brand-nav{gap:5px}.order-filter-sticky .brand-badge{padding-left:9px;padding-right:9px}body:has(.order-submit-bar) #list>.item{padding-top:10px;padding-bottom:11px}body:has(.order-submit-bar) #list .sell-line{gap:4px;padding-left:4px;padding-right:4px}}body:has(.order-submit-bar) .card:has(.order-submit-bar){padding:16px}.order-header-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;min-width:0;margin:4px 0 12px}.order-header-row .big-store-title{display:flex;align-items:center;min-width:0;min-height:0;max-width:none;margin:0;color:#111827;font-size:22px;font-weight:800;line-height:1;letter-spacing:-.5px;overflow-wrap:anywhere}.order-header-row .order-date-row{display:flex;align-items:center;align-self:center;justify-content:center;min-width:0;margin:0;gap:8px;white-space:nowrap;line-height:normal}body:has(.order-submit-bar){padding-bottom:0}body:has(.order-submit-bar) .card:has(.order-submit-bar){min-height:calc(100vh - 24px);min-height:calc(100dvh - 24px);margin-bottom:12px;padding-bottom:16px}body:has(.order-submit-bar) .order-submit-bar{position:sticky;left:auto;right:auto;bottom:calc(8px + env(safe-area-inset-bottom,0px));width:auto;margin:12px 0 8px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid rgba(226,221,227,.9);border-radius:16px;background:#fffffff7;box-shadow:0 3px 14px #23122612;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:99}body:has(.order-submit-bar) .order-submit-total{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px}body:has(.order-submit-bar) .order-submit-total span{margin:0;color:var(--text-muted);font-size:11px;line-height:1.2;white-space:normal}body:has(.order-submit-bar) .order-submit-total strong{align-self:auto;color:var(--primary);font-size:19px;font-weight:700;line-height:1.25;white-space:nowrap}body:has(.order-submit-bar) .order-submit-bar .float-submit{position:static;left:auto;right:auto;bottom:auto;flex:0 0 auto;min-height:44px;padding:11px 20px;border:0;border-radius:11px;background:var(--primary);color:#fff;box-shadow:none;font-size:15px}body:has(.order-submit-bar) .order-cart-panel{bottom:calc(78px + env(safe-area-inset-bottom,0px))}@media(max-width:380px){body:has(.order-submit-bar) .card:has(.order-submit-bar){padding:16px}body:has(.order-submit-bar) .order-submit-bar{left:auto;right:auto;bottom:calc(8px + env(safe-area-inset-bottom,0px));padding:8px 10px}body:has(.order-submit-bar) .order-submit-bar .float-submit{padding:11px 16px}}.order-header-row{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;margin:4px 0 12px}.order-header-row .big-store-title{display:flex;align-items:center;flex:0 1 auto;min-width:0;max-width:100%;margin:0;color:#111827;font-size:22px;font-weight:800;line-height:1.2;letter-spacing:-.5px;overflow-wrap:anywhere}.order-header-row .order-date-row{display:flex;align-items:center;align-self:center;justify-content:flex-start;flex:0 0 auto;min-width:0;margin:0;gap:8px;white-space:nowrap;line-height:normal}.order-header-row .order-date-pill{min-height:26px;padding:3px 7px;border:1px solid #e2dde3;border-radius:6px;background:#f4f2f5}.order-header-row .order-date-main{color:var(--primary);font-size:12px;font-weight:600;line-height:18px}.order-filter-sticky{margin:0;padding:8px 0 4px;background:#fbf9fc;border-bottom:1px solid #eee8f0;box-shadow:0 5px 14px #4a154b12}.order-filter-sticky .product-filter-group{margin-top:0}.order-filter-sticky .product-filter-label{margin-bottom:5px}.order-filter-sticky .product-brand-group{margin-bottom:6px}.order-filter-sticky .brand-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 2px;padding:0}.order-filter-sticky .brand-badge{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 11px;border-radius:7px;background:#f0edf1;color:#655a67;border:1px solid #e5dfe7;font-size:13px;font-weight:650;white-space:nowrap}.order-filter-sticky .brand-badge.active{background:#4a154b;color:#fff;border-color:#4a154b;box-shadow:0 1px 2px #4a154b1f}.order-filter-sticky .spec-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0 0 7px;border:0}.order-filter-sticky .spec-badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border-radius:6px;background:#fff;color:#554a57;border:1px solid #dcd4df;font-size:13px;font-weight:650;white-space:nowrap}.order-filter-sticky .spec-badge.active{background:#f3e8f4;color:#4a154b;border:1.5px solid #4A154B;box-shadow:inset 0 0 0 1px #4a154b0d}@media(max-width:560px){.order-filter-sticky{padding-top:6px;padding-bottom:3px}.order-filter-sticky .product-filter-label{margin-bottom:4px}.order-filter-sticky .brand-nav{gap:5px}.order-filter-sticky .brand-badge{min-height:31px;padding:5px 9px}.order-filter-sticky .spec-nav{gap:5px;padding-bottom:6px}.order-filter-sticky .spec-badge{min-height:30px;padding:5px 9px}}body:has(.order-submit-bar) .order-submit-bar{position:sticky;left:auto;right:auto;bottom:calc(8px + env(safe-area-inset-bottom,0px));width:auto;margin:12px 0 8px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;background:#fffffff7;border:1px solid rgba(226,221,227,.9);border-radius:16px;box-shadow:0 3px 14px #23122612;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:99}body:has(.order-submit-bar) .order-submit-total{min-width:0;display:contents}body:has(.order-submit-bar) .order-submit-total span{margin-right:auto;align-self:center;color:var(--text-muted);font-size:13px;line-height:1.2;white-space:nowrap}body:has(.order-submit-bar) .order-submit-total strong{align-self:center;color:var(--primary);font-size:24px;line-height:1.2;font-weight:800;white-space:nowrap}body:has(.order-submit-bar) .order-submit-bar .float-submit{position:static;left:auto;right:auto;bottom:auto;flex:0 0 auto;min-height:44px;padding:11px 20px;border-radius:11px;box-shadow:none;font-size:15px}@media(max-width:380px){body:has(.order-submit-bar) .order-submit-total strong{font-size:22px}body:has(.order-submit-bar) .order-submit-bar{padding:8px 10px}body:has(.order-submit-bar) .order-submit-bar .float-submit{padding:11px 16px}}body:has(.order-submit-bar) #list .order-flavor-name{display:inline-flex;align-items:center;flex:0 1 auto;width:auto;min-width:0;max-width:100%;margin:0;padding:3px 9px;border:0;border-radius:999px;background:#f4f2f5;color:#211523;font-size:16px;font-weight:700;line-height:1.35;letter-spacing:-.25px;white-space:normal;overflow:visible;text-overflow:clip}.order-filter-sticky .spec-badge.active{border-width:1px;font-weight:650}.card{display:block}#back.back-btn{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;padding:4px 0;border:0;border-radius:0;background:transparent;color:#4a154b;font-size:15px;font-weight:600;line-height:22px;cursor:pointer;box-shadow:none;min-height:0}#back.back-btn:active{background:transparent;transform:none;opacity:.65}#back.back-btn:before{content:"";display:block;flex:0 0 8px;width:8px;height:8px;box-sizing:border-box;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(.5px) rotate(45deg);margin:0 0 0 2px}body{margin:0;background:#f6f3f7}body:has(.sku-page){padding:0}.sku-page{max-width:720px;margin:0 auto;padding:16px;box-sizing:border-box}.sku-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}.sku-back{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 14px;color:var(--primary);text-decoration:none;font-weight:700}.sku-title{font-size:22px;font-weight:800;color:var(--primary)}.sku-filters{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:14px}.sku-filter{white-space:nowrap;border:1px solid var(--line);background:#fff;color:var(--text);border-radius:10px;padding:9px 14px;font-weight:700;text-decoration:none}.sku-filter.active{background:var(--primary);color:#fff;border-color:var(--primary)}.sku-date{position:relative;display:inline-flex;align-items:center}.sku-date input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.sku-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:14px;margin-bottom:10px;box-sizing:border-box}.sku-row{display:flex;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:13px 12px;margin-bottom:0;cursor:pointer}.sku-row:active{background:#f7f3f8}.sku-item{margin-bottom:8px}.sku-chevron{color:#999;font-size:18px;flex:none}.sku-orders{display:none;background:#fff;border-radius:0 0 12px 12px;margin-top:0;padding:0 12px 12px 46px}.sku-item.expanded .sku-row{border-radius:12px 12px 0 0}.sku-item.expanded .sku-orders{display:block}.sku-order{padding:11px 0;border-top:1px solid #f0edf1;font-size:13px}.sku-order:first-child{border-top:1px solid #f0edf1}.sku-order-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.sku-order-store{font-weight:750;color:var(--text);min-width:0;overflow-wrap:anywhere}.sku-order-date{color:#888;white-space:nowrap;font-size:12px}.sku-order-meta{display:flex;justify-content:space-between;gap:8px;color:#888;font-size:12px;margin-top:5px}.sku-order-qty{color:var(--primary);font-weight:800}.sku-rank{width:24px;text-align:right;color:#999;flex:none}.sku-info{flex:1;min-width:0}.sku-name{font-weight:800;color:var(--primary);line-height:1.35;word-break:break-all}.sku-qty{font-size:16px;font-weight:800;white-space:nowrap}.sku-note{background:#fff;padding:20px;text-align:center;border-radius:12px;color:#999}:root{--primary:#4A154B;--primary-hover:#360f37;--accent:#ffb81c;--bg-main:#f4f2f5;--text-main:#1f1121;--text-muted:#756676;--card-bg:#ffffff}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;margin:0;background:var(--bg-main);color:var(--text-main);padding-bottom:90px;-webkit-tap-highlight-color:transparent}.card{background:var(--card-bg);margin:12px;padding:16px;border-radius:12px;box-shadow:0 4px 12px #4a154b08;position:relative}.top-action-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.back-btn{display:inline-flex;align-items:center;justify-content:center;background:#f4f2f5;color:var(--text-main);padding:10px 18px;border-radius:20px;font-size:14px;font-weight:600;cursor:pointer;border:1px solid #e2dde3}.back-btn:before{content:"←";margin:0 6px 0 0;font-weight:700;font-size:16px}.big-store-title{font-size:22px;font-weight:800;color:#111827;margin:4px 0 14px;letter-spacing:-.5px}.sub{font-size:13px;color:var(--text-muted);margin-top:2px}.smallbtn{background:#f4f2f5;color:var(--text-main);border:1px solid #e2dde3;padding:5px 10px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer}.date-picker-wrapper{position:relative;display:inline-block}.real-date-input{padding:7px 10px;border:1px solid #e2dde3;border-radius:6px;background:#fff}.report-page-date-input{position:static;inset:auto;width:142px;min-width:142px;height:37px;min-height:37px;margin:0;opacity:1;cursor:auto;font-size:14px;box-sizing:border-box}.amount-summary-banner{background:#fdfdfd;border:1px solid #ebdfee;border-left:5px solid var(--primary);padding:10px 12px;border-radius:6px;margin:10px 0;font-size:14px;color:#2b1d2c}.history-item{background:#faf9fa;padding:14px 16px;margin-bottom:10px;border-radius:8px;border:1px solid #eeeade;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.admin-loading{display:flex;align-items:center;justify-content:center;min-height:60vh;font-size:15px;color:#756676;font-weight:600}:root{--primary:#4A154B;--primary2:#6A266C;--bg:#f4f2f5;--text:#1f1121;--muted:#756676;--line:#e7e1e8;--soft:#fbf9fc;--danger:#dc2626}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;background:radial-gradient(circle at 0 0,#eadfef 0,#f4f2f5 35%,#f4f2f5);color:var(--text);padding:18px;-webkit-tap-highlight-color:transparent}.shell{max-width:1220px;margin:0 auto}.hero{border-radius:28px;padding:26px 30px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;box-shadow:0 16px 36px #4a154b38;margin-bottom:14px}.hero-main{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap}h1{margin:0;font-size:34px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.btn{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer;font-size:14px;min-height:40px}.hero-btn{color:var(--primary)}.panel{background:#fff;border-radius:22px;padding:18px;border:1px solid rgba(231,225,232,.85);box-shadow:0 10px 24px #4a154b12;margin-bottom:14px}.quick-panel{padding:16px}.nav-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.nav-card{border:1px solid var(--line);background:var(--soft);border-radius:18px;padding:14px;min-height:78px;cursor:pointer;text-align:left;display:flex;gap:12px;align-items:center}.nav-ico{width:42px;height:42px;border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;flex:0 0 auto}.nav-card strong{display:block;color:var(--text);font-size:15px}.nav-arrow{margin-left:auto;color:var(--primary);font-weight:950;font-size:20px}.filter-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.range-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.range-btn{border:1px solid var(--line);background:#fff;color:var(--primary);border-radius:999px;padding:9px 14px;font-size:13px;font-weight:900;cursor:pointer}.range-btn.active{background:var(--primary);border-color:var(--primary);color:#fff}.date-input{height:38px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:0 12px;color:var(--primary);font-weight:800}.date-range-panel{position:absolute;top:46px;right:0;z-index:30;width:520px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 34px #1f112129;padding:12px}.date-range-panel.hide{display:none}.range-cal-head button{border:0;background:#f4f2f5;color:var(--primary);border-radius:999px;width:30px;height:30px;font-weight:950;cursor:pointer}.range-month-title{text-align:center;color:var(--primary);font-weight:950;font-size:13px;margin-bottom:8px}.range-week span{font-size:11px;color:var(--muted);text-align:center}.range-day{height:28px;border:0;border-radius:7px;background:#fff;color:var(--text);font-weight:800;cursor:pointer}.range-picker-actions button{border:1px solid var(--line);background:#fff;color:var(--primary);border-radius:999px;padding:7px 12px;font-weight:900;cursor:pointer}.employee-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.employee-chip{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:999px;padding:8px 12px;font-weight:900;cursor:pointer}.employee-chip.active{background:var(--primary);color:#fff;border-color:var(--primary)}.status{font-size:13px;color:var(--muted);margin:4px 0 12px}.error{color:var(--danger);font-weight:800}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}.metric{background:#fff;border-radius:20px;padding:18px;border:1px solid rgba(231,225,232,.8);box-shadow:0 10px 24px #4a154b12;min-height:106px}.metric-icon{width:44px;height:44px;border-radius:15px;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:22px}.metric-value{margin-top:12px;color:var(--primary);font-size:30px;font-weight:950}.panel-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.panel-title h2{margin:0;color:var(--primary);font-size:20px}.empty{padding:28px;color:var(--muted);text-align:center;font-size:13px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fff}table{width:100%;min-width:650px;border-collapse:separate;border-spacing:0}th,td{border-bottom:1px solid var(--line);padding:11px 10px;vertical-align:middle;font-size:13px;white-space:normal;word-break:break-word}th{position:sticky;top:0;background:var(--primary);color:#fff;text-align:left;font-weight:900;z-index:2}tbody tr:nth-child(2n){background:#fbf9fc}.rank{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;border-radius:999px;background:#f4f2f5;color:var(--primary);font-weight:950}.amount{font-weight:950;color:var(--primary)}.emp-code{margin-top:3px;color:var(--muted);font-size:12px}@media(max-width:1000px){.nav-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content-grid{grid-template-columns:1fr}}@media(max-width:640px){body{padding:10px}.hero{padding:22px 18px;border-radius:22px}h1{font-size:28px}.hero-actions{width:100%}.metric-grid{grid-template-columns:1fr}.nav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-panel{display:block}.range-row{margin-bottom:10px}.range-btn,.date-input{flex:1 1 auto}.panel{padding:14px;border-radius:18px}.employee-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.employee-chip{width:100%}}.inventory-management-card{position:relative}.notification-badge{position:absolute;top:-7px;right:-7px;display:none;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#dc2626;color:#fff;font-size:12px;font-weight:900;line-height:21px;text-align:center;box-shadow:0 0 0 2px #fff}.notification-badge.visible{display:block}:root{--primary:#4A154B;--bg:#f4f2f5;--card:#fff;--text:#1f1121;--muted:#756676;--line:#e7e1e8;--ok:#16a34a;--danger:#dc2626}.card{max-width:780px;margin:0 auto;background:var(--card);border-radius:14px;padding:14px;box-shadow:0 4px 14px #4a154b0f}.table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px;max-height:calc(100vh - 170px);background:#fff}table{width:100%;min-width:640px;table-layout:fixed;border-collapse:separate;border-spacing:0}th,td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:8px;vertical-align:middle;font-size:13px;white-space:normal;word-break:break-word}th:nth-child(1),td:nth-child(1){width:28%}th:nth-child(2),td:nth-child(2){width:22%}th:nth-child(3),td:nth-child(3){width:40%;text-align:center}th:nth-child(4),td:nth-child(4){width:10%;text-align:center}td input[type=text]{width:100%;min-width:0;padding:8px;border:1px solid transparent;border-radius:7px;font-size:13px;background:#fafafa}td input[type=text]:focus{outline:none;border-color:var(--primary);background:#fff}.customer-code-input{text-align:center}@media(max-width:700px){body{padding:8px}.toolbar{grid-template-columns:1fr}.table-wrap{max-height:calc(100vh - 220px)}}html,body{font-family:-apple-system,Noto Sans SC,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif!important}button,input,select,textarea{font-family:inherit!important}:root{--primary: #4a154b;--primary-soft: #fbf9fc;--bg: #f4f2f5;--card: #fff;--text: #1f1121;--muted: #756676;--line: #e7e1e8;--ok: #15803d;--danger: #dc2626;--warning-bg: #fff7ed}html:has(.admin-stock-page){min-width:1100px}body:has(.admin-stock-page){margin:0;padding:14px;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}button,input,select,textarea{font:inherit}button:disabled{cursor:wait;opacity:.58}.shell{width:min(1280px,calc(100vw - 28px));margin:0 auto}.admin-stock-page{min-width:1070px}.inventory-movements-page{width:min(1600px,calc(100vw - 28px));max-width:none}.page-card{margin-bottom:12px;padding:14px;border:1px solid rgba(231,225,232,.9);border-radius:14px;background:var(--card);box-shadow:0 4px 14px #4a154b0f}.page-header-card{padding:16px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.page-title-wrap{min-width:0}h1,h2,p{margin-top:0}h1{margin-bottom:4px;color:var(--primary);font-size:22px;line-height:1.25}h2{margin-bottom:10px;color:var(--primary);font-size:17px}.page-subtitle,.muted,.status{color:var(--muted);font-size:13px;line-height:1.5}.page-subtitle{margin:0}.page-actions,.filter-row,.review-request-actions{display:flex;align-items:center;gap:8px}.page-actions{flex:0 0 auto}.btn,button{min-height:38px;padding:9px 13px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);font-weight:700;cursor:pointer}.btn:hover,button:hover{background:var(--primary-soft)}.btn.primary,button.primary{border-color:var(--primary);background:var(--primary);color:#fff}.btn.primary:hover,button.primary:hover{filter:brightness(1.04)}.btn.danger-outline,button.danger-outline{border-color:#fecaca;background:#fff;color:var(--danger)}.filter-row{flex-wrap:nowrap;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.filter-field{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px;font-weight:700;white-space:nowrap}.input,input,select,textarea{min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);outline:none}input:focus,select:focus,textarea:focus{border-color:#4a154b8c;box-shadow:0 0 0 3px #4a154b14}.filter-field select{min-width:190px}.filter-field input[type=date]{min-width:150px}.status{min-height:20px;margin:9px 0 0}.status.error,.error-state{color:var(--danger);font-weight:700}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.metric{min-height:82px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--primary-soft)}.metric-label{color:var(--muted);font-size:12px}.metric-value{margin-top:8px;color:var(--primary);font-size:23px;font-weight:800}.metric-hint{margin-top:5px;color:var(--muted);font-size:12px}.movements-table-wrap{max-height:calc(100vh - 230px)}.table-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.table-head h2{margin:0}.table-count{color:var(--muted);font-size:13px;font-weight:700}table{width:100%;border-collapse:separate;border-spacing:0}.movements-table{min-width:1160px;table-layout:fixed}.review-table{min-width:900px}th,td{padding:9px 10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;font-size:13px;line-height:1.45}th:last-child,td:last-child{border-right:0}thead th{position:sticky;top:0;z-index:2;background:var(--primary-soft);color:var(--primary);font-weight:800;white-space:nowrap}tbody tr:nth-child(2n){background:#fdfcfd}tbody tr:hover{background:#faf7fb}.cell-nowrap{white-space:nowrap}.cell-number{text-align:right;font-variant-numeric:tabular-nums}.qty-positive{color:var(--ok);font-weight:800}.qty-zero{color:#a69aa7;font-weight:700}.stock-number{color:var(--primary);font-weight:800}.empty-row td,.empty-state{padding:28px;color:var(--muted);text-align:center}.review-list{display:flex;flex-direction:column;gap:12px}.review-request-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 4px 14px #4a154b0a}.review-request-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:13px 14px;border-bottom:1px solid var(--line);background:var(--primary-soft)}.review-request-title{display:flex;align-items:center;gap:9px;color:var(--primary);font-size:16px;font-weight:800}.employee-pill{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#f0e8f2;color:var(--primary);font-size:12px;font-weight:800}.review-request-time{color:var(--muted);font-size:12px;white-space:nowrap}.review-request-reason{display:flex;gap:18px;padding:11px 14px;border-bottom:1px solid var(--line);color:var(--text);font-size:13px;line-height:1.5}.review-request-reason strong{color:var(--primary)}.review-request-note{color:var(--muted)}.review-request-table{padding:12px 14px 0}.review-request-actions{justify-content:flex-end;padding:12px 14px 14px}.review-request-actions button{min-width:92px}.loading-state,.error-state,.empty-state{border:1px dashed var(--line);border-radius:12px;background:#fff}.loading-state{padding:24px;color:var(--muted);text-align:center}.movements-filter-row{justify-content:flex-start;overflow:visible}.range-row{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.range-btn{min-height:38px;padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--primary);font-size:13px;font-weight:900;white-space:nowrap}.range-btn.active{border-color:var(--primary);background:var(--primary);color:#fff}.date-input{height:38px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--primary);font-weight:800}.date-range-input{width:238px;cursor:pointer}.date-range-panel{position:absolute;top:46px;right:0;z-index:50;width:520px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 14px 34px #1f112129}.inventory-movements-page .date-range-panel{right:auto;left:0}.range-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:var(--primary);font-size:13px;font-weight:950}.range-cal-head button{width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:999px;background:var(--bg);color:var(--primary);font-weight:950}.range-cal-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.range-month-title{margin-bottom:8px;color:var(--primary);text-align:center;font-size:13px;font-weight:950}.range-week,.range-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.range-week span{color:var(--muted);text-align:center;font-size:11px}.range-day{height:28px;min-height:28px;padding:0;border:0;border-radius:7px;background:#fff;color:var(--text);font-size:12px;font-weight:800}.range-day.muted{color:#c8c0ca}.range-day.in-range{background:#f1e9f3}.range-day.active{background:var(--primary);color:#fff}.range-picker-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.range-picker-actions button{min-height:32px;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--primary);font-weight:900}.review-history-list{display:flex;flex-direction:column;gap:10px}.review-history-card{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}.review-history-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;background:var(--primary-soft);cursor:pointer;list-style:none}.review-history-summary::-webkit-details-marker{display:none}.review-history-summary:after{content:"▾";color:var(--muted);font-size:12px}.review-history-card[open] .review-history-summary:after{transform:rotate(180deg)}.review-history-title{display:flex;align-items:center;gap:8px;color:var(--primary);font-weight:800}.review-history-time{margin-left:auto;color:var(--muted);font-size:12px;white-space:nowrap}.status-pill{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:800}.status-approved{background:#ecfdf3;color:var(--ok)}.status-rejected{background:#fef2f2;color:var(--danger)}.review-history-body{padding:12px 14px 14px;border-top:1px solid var(--line)}.review-history-meta{display:flex;align-items:center;gap:24px;margin-bottom:8px;color:var(--muted);font-size:13px}.review-history-meta strong{color:var(--primary)}.review-history-rejection{margin:10px 0;padding:9px 11px;border-left:3px solid var(--danger);border-radius:6px;background:#fff7f7;color:var(--danger);font-size:13px}.review-history-table-wrap{margin-top:12px}.history-table{min-width:760px}.employee-name-badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:8px;background:#f0e8f2;color:var(--primary);font-size:16px;font-weight:900;line-height:1.35}.admin-stock-page .page-card{margin-bottom:8px;padding:10px;border-radius:12px}.admin-stock-page .page-header-card{padding:12px}.admin-stock-page .metric-grid{gap:8px;margin-bottom:8px}.admin-stock-page .metric{min-height:68px;padding:9px 10px}.admin-stock-page .metric-value{margin-top:4px;font-size:21px}.admin-stock-page .table-head{margin-bottom:7px}.admin-stock-page h2{font-size:16px}.admin-stock-page .review-list,.admin-stock-page .review-history-list{gap:7px}.admin-stock-page .review-request-card,.admin-stock-page .review-history-card{border-radius:10px;box-shadow:none}.admin-stock-page .review-request-head,.admin-stock-page .review-history-summary{justify-content:flex-start;gap:0;padding:9px 11px}.admin-stock-page .review-request-time,.admin-stock-page .review-history-time{margin-left:12px;font-size:13px}.admin-stock-page .employee-name-badge{padding:4px 9px;font-size:16px}.admin-stock-page .review-request-reason{gap:12px;padding:8px 11px}.admin-stock-page .review-request-table{padding:8px 11px 0}.admin-stock-page th,.admin-stock-page td{padding:6px 8px;font-size:12px;line-height:1.35}.admin-stock-page .review-request-actions{padding:8px 11px 10px}.admin-stock-page .review-request-actions button{min-width:80px;min-height:34px;padding:7px 10px}.admin-stock-page .review-history-body{padding:9px 11px 11px}.admin-stock-page .review-history-meta{gap:16px;margin-bottom:6px;font-size:12px}.admin-stock-page .review-history-table-wrap{margin-top:8px}.admin-stock-page .review-request-head{align-items:center}.admin-stock-page .review-request-time,.admin-stock-page .review-history-time{margin-left:auto;font-size:13px;text-align:right;white-space:nowrap}.admin-stock-page .review-history-summary{justify-content:space-between;gap:12px}.admin-stock-page .review-history-title{min-width:0}.admin-stock-page .review-history-rejection-summary{padding:7px 11px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff7f7;color:var(--danger);font-size:12px;line-height:1.45}html{scrollbar-gutter:stable}.admin-stock-page{width:min(960px,calc(100vw - 28px));min-width:0}.admin-stock-page .review-history-rejection-preview{min-width:0;max-width:520px;color:var(--danger);font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-stock-page .review-history-meta{font-size:16px}html[data-auth-ready="1"] body{visibility:visible}:root{--primary:#4A154B;--primary2:#6A266C;--bg:#f4f2f5;--text:#1f1121;--muted:#756676;--line:#e7e1e8;--soft:#fbf9fc}body{margin:0;padding:14px;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}.shell{max-width:1400px;margin:0 auto}.back{display:inline-block;margin:0 0 10px;color:var(--primary);text-decoration:none;font-size:14px;font-weight:800}.hero{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;border-radius:22px;padding:18px 20px;margin-bottom:12px}.hero h1{margin:0;font-size:26px}.hero p{margin:6px 0 0;font-size:13px;opacity:.82}.panel{background:#fff;border:1px solid rgba(231,225,232,.85);border-radius:18px;padding:14px;margin-bottom:12px;box-shadow:0 8px 22px #4a154b0f}.filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.range-btn,.mode-btn{border:1px solid var(--line);background:#fff;color:var(--primary);border-radius:999px;padding:8px 13px;font-size:13px;font-weight:900;cursor:pointer}.range-btn.active,.mode-btn.active{background:var(--primary);border-color:var(--primary);color:#fff}.date-input{height:36px;border:1px solid var(--line);border-radius:999px;padding:0 12px;background:#fff;color:var(--primary);font-weight:800}.date-range-picker{position:relative}.date-range-panel{position:absolute;top:43px;right:0;z-index:50;width:500px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 34px #1f112129;padding:12px}.employee-filter{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.employee-chip{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:999px;padding:7px 11px;font-weight:800;font-size:12px;cursor:pointer}.employee-chip.active{background:var(--primary);border-color:var(--primary);color:#fff}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.metric{padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--soft)}.metric-label{font-size:12px;color:var(--muted);font-weight:800}.metric-value{margin-top:7px;font-size:23px;color:var(--primary);font-weight:950}.map-wrap{position:relative;height:min(68vh,720px);min-height:460px;border-radius:15px;overflow:hidden;border:1px solid var(--line)}#map{width:100%;height:100%}.map-fullscreen{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100vh!important;min-height:100vh!important;border:0!important;border-radius:0!important;z-index:9999!important;background:#fff}.map-fullscreen #map{height:100%!important}.fullscreen-btn{position:absolute;right:12px;top:12px;z-index:20;border:0;border-radius:9px;padding:8px 11px;background:#fffffff2;color:var(--primary);font-size:12px;font-weight:900;box-shadow:0 4px 12px #00000024;cursor:pointer}.lasso-btn{position:absolute;right:12px;top:56px;z-index:20;border:0;border-radius:9px;padding:8px 11px;background:#fffffff5;color:var(--primary);font-size:12px;font-weight:900;box-shadow:0 4px 12px #00000024;cursor:pointer}.lasso-btn.active{background:var(--primary);color:#fff}.lasso-result{position:absolute;left:12px;bottom:12px;z-index:20;display:none;min-width:190px;max-width:calc(100% - 24px);padding:12px 14px;background:#fffffff7;border:1px solid var(--line);border-radius:12px;box-shadow:0 5px 18px #00000029;color:var(--text)}.lasso-result strong{display:block;color:var(--primary);font-size:20px;margin-top:4px}.map-status{position:absolute;left:12px;top:12px;z-index:10;padding:7px 10px;border-radius:9px;background:#fffffff0;box-shadow:0 4px 12px #0000001f;font-size:12px;color:var(--muted)}.legend{position:absolute;right:12px;bottom:12px;z-index:10;background:#fffffff0;border-radius:10px;padding:9px 11px;font-size:11px;box-shadow:0 4px 12px #0000001f}.gradient{width:150px;height:9px;border-radius:9px;background:linear-gradient(90deg,#d9f7ff,#37b7ff,#3855ff,#a22bff,#ff2d55);margin:5px 0}.bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px}.top-list{max-height:390px;overflow:auto}.store-row{display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;padding:9px 4px;border-bottom:1px solid var(--line);cursor:pointer}.store-row:last-child{border-bottom:0}.store-rank{width:26px;height:26px;border-radius:50%;background:#f1e9f3;color:var(--primary);display:flex;align-items:center;justify-content:center;font-weight:900;font-size:12px}.store-name{font-size:13px;font-weight:800}.store-sub{font-size:11px;color:var(--muted);margin-top:2px}.store-amount{font-size:13px;color:var(--primary);font-weight:900}.notice{padding:10px 12px;border-radius:10px;background:#fff8e8;color:#805500;font-size:13px;line-height:1.5;margin-bottom:12px}@media(max-width:800px){body{padding:9px}.hero{border-radius:18px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-grid{grid-template-columns:1fr}.map-wrap{height:62vh;min-height:430px}.date-range-panel{right:auto;left:0;width:min(500px,calc(100vw - 30px))}}:root{--primary:#4A154B;--bg:#f4f2f5;--card:#fff;--text:#1f1121;--muted:#756676;--line:#e7e1e8;--ok:#16a34a;--danger:#dc2626;--warn:#f59e0b}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);padding:12px;-webkit-tap-highlight-color:transparent}.card{max-width:1320px;margin:0 auto;background:var(--card);border-radius:14px;padding:14px;box-shadow:0 4px 14px #4a154b0f}.top{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}h1{margin:0;font-size:21px;color:var(--primary)}.btn{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:9px;padding:9px 12px;font-weight:700;cursor:pointer}.btn.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.btn.warn{background:#fffbeb;color:#92400e;border-color:#fde68a}.btn:disabled{opacity:.55;cursor:not-allowed}.toolbar{display:grid;grid-template-columns:1fr auto;gap:8px;margin:12px 0;align-items:center}.search{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:9px;font-size:15px;outline:none}.status{font-size:13px;color:var(--muted);margin:8px 0}.sort-tip{display:none;font-size:12px;color:#92400e;background:#fffbeb;border:1px solid #fde68a;padding:8px 10px;border-radius:9px;margin:-3px 0 9px}body.sorting .sort-tip{display:block}.sort-actions{display:none;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 10px;padding:8px;border:1px dashed #d8d0da;border-radius:10px;background:#fbf9fc}body.sorting .sort-actions{display:flex}.sort-actions .btn{padding:7px 10px;font-size:13px}.sort-actions .hint{font-size:12px;color:var(--muted)}.table-wrap{width:100%;overflow-x:hidden;overflow-y:auto;border:1px solid var(--line);border-radius:12px;max-height:calc(100vh - 190px);background:#fff}table{width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0}th,td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:7px;vertical-align:middle;font-size:13px;white-space:nowrap;word-break:normal}th{position:sticky;top:0;z-index:2;background:#fbf9fc;color:var(--primary);text-align:left;font-weight:800}.sort-col{display:none;width:88px;text-align:center}body.sorting .sort-col{display:table-cell}.barcode-col{width:11%}.name-col{width:18%}.brand-col,.spec-col{width:9%}.flavor-col,.price-col,.count-col,.unit-col{width:8%}.enable-col{width:6%;text-align:center}.th-head{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.th-head .title{display:block;min-width:0}.filter-btn{flex:0 0 auto;border:1px solid #d8d0da;background:#fff;color:var(--muted);border-radius:7px;padding:3px 5px;font-size:11px;font-weight:800;cursor:pointer}.filter-btn.active{background:var(--primary);border-color:var(--primary);color:#fff}.filter-panel{position:fixed;z-index:20;display:none;width:min(320px,calc(100vw - 24px));max-height:390px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px #1f11212e;padding:10px}.filter-panel.open{display:block}.filter-panel-title{color:var(--primary);font-weight:800;margin-bottom:8px}.filter-search{width:100%;padding:8px 9px;border:1px solid var(--line);border-radius:8px;font-size:13px;outline:none;margin-bottom:8px}.filter-options{max-height:220px;overflow:auto;border:1px solid #f0ebf1;border-radius:8px;padding:4px}.filter-option{display:flex;align-items:center;gap:7px;padding:6px;color:var(--text);font-weight:500;cursor:pointer}.filter-option:hover{background:#f7f4f8}.filter-option span{min-width:0;white-space:normal;word-break:break-word}.only-btn{margin-left:auto;border:0;background:#f4f2f5;color:var(--primary);border-radius:7px;padding:4px 7px;font-size:12px;font-weight:800;cursor:pointer}.filter-empty{padding:8px;color:var(--muted)}.filter-actions{display:flex;justify-content:space-between;gap:8px;margin-top:9px}.filter-actions .btn{padding:7px 10px;font-size:12px}td input[type=text],td input[type=number]{width:100%;min-width:0;padding:7px;border:1px solid transparent;border-radius:7px;font-size:13px;background:#fafafa}td input[type=text]:focus,td input[type=number]:focus{outline:none;border-color:var(--primary);background:#fff}.dirty{background:#fff7ed!important;border-color:#fdba74!important}.ok{color:var(--ok);font-weight:700}.new-row td{background:#fffbeb}.new-row input{border-color:#facc15!important;background:#fff!important}.inline-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.inline-actions .btn{padding:5px 7px;border-radius:7px;font-size:12px}.sort-tools{display:flex;align-items:center;justify-content:center;gap:6px}.sort-check{width:18px;height:18px;cursor:pointer}tr.selected-row td{background:#f8f3ff}@media(max-width:700px){body{padding:8px}.toolbar{grid-template-columns:1fr}.table-wrap{max-height:calc(100vh - 235px)}.filter-panel{max-height:320px}}:root{--primary:#4A154B;--bg:#f4f2f5;--card:#fff;--text:#1f1121;--muted:#756676;--line:#e7e1e8;--danger:#dc2626;--warn:#92400e;--warn-bg:#fffbeb}body{margin:0;padding:16px;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}.container{max-width:1120px;margin:0 auto}.notice{margin:0 0 14px;padding:12px 14px;border:1px solid #fde68a;background:var(--warn-bg);color:var(--warn);border-radius:10px;font-size:13px;line-height:1.6;font-weight:700}.import-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card{background:var(--card);border:0;border-radius:14px;padding:16px;box-shadow:0 4px 14px #4a154b0f}h2{margin:0 0 10px;font-size:21px;color:var(--primary)}@media(max-width:700px){body{padding:12px}.import-grid{grid-template-columns:1fr}.page-title{font-size:23px}}:root{--primary:#4A154B;--bg:#f4f2f5;--card:#fff;--text:#1f1121;--muted:#756676;--line:#e7e1e8;--danger:#dc2626}body{margin:0;padding:12px;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}.container{max-width:760px;margin:0 auto}.card{background:var(--card);border:0;border-radius:14px;padding:14px;box-shadow:0 4px 14px #4a154b0f;margin-bottom:12px}h2{margin:0 0 10px;font-size:22px;color:var(--primary)}.back{display:inline-block;margin:0 0 12px;border:1px solid var(--line);background:#fff;color:var(--text);border-radius:9px;padding:9px 12px;font-size:14px;font-weight:700;text-decoration:none}.map{border:1px solid var(--line);border-radius:10px;background:#fbf9fc;padding:12px;font-size:13px;line-height:1.6;color:var(--text);margin:0 0 12px}.upload{border:1px dashed var(--line);background:#fff;padding:45px 20px;border-radius:12px;cursor:pointer;text-align:center;position:relative;color:var(--muted)}.upload:hover,.upload.dragover{border-color:var(--primary);background:#fbf9fc}.file{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.info{margin-top:14px;padding:12px;background:#e8f5e9;border:1px solid #c8e6c9;border-radius:9px;font-size:14px;color:#2e7d32;display:none}.btn{margin-top:14px;width:100%;background:var(--primary);color:#fff;border:1px solid var(--primary);padding:13px;border-radius:9px;font-size:15px;font-weight:700}.btn:disabled{background:#ced4da;border-color:#ced4da}.status{margin-top:15px;font-size:13px;font-weight:700;color:var(--primary);text-align:center;white-space:pre-line}.hide{display:none!important}.upload-box{border:1px dashed var(--line);background:#fff;padding:45px 20px;border-radius:12px;cursor:pointer;text-align:center;position:relative;color:var(--muted)}.upload-box:hover,.upload-box.dragover{border-color:var(--primary);background:#fbf9fc}.btn-submit{margin-top:14px;width:100%;background:var(--primary);color:#fff;border:1px solid var(--primary);padding:13px;border-radius:9px;font-size:15px;font-weight:700}:root{--primary:#4A154B;--bg:#f4f2f5;--card:#fff;--text:#1f1121;--muted:#756676;--line:#e7e1e8;--danger:#dc2626;--warn:#f59e0b}*{box-sizing:border-box}body{margin:0;padding:12px;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.shell{width:min(960px,calc(100vw - 24px));max-width:none;margin:0 auto}.card{margin-bottom:12px;padding:14px;border-radius:14px;background:var(--card);box-shadow:0 4px 14px #4a154b0f}.top{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}h1{margin:0;color:var(--primary);font-size:22px}h2{margin:0 0 10px;color:var(--primary);font-size:17px}.sub{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.55}.btn{padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);font-weight:700;cursor:pointer}.btn.primary{border-color:var(--primary);background:var(--primary);color:#fff}.filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.input{min-width:220px;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:14px}.status{margin-top:8px;color:var(--muted);font-size:13px;white-space:pre-line;line-height:1.5}.status.hide{display:none}.error{color:var(--danger);font-weight:700}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.metric{min-height:82px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fbf9fc}.metric .label{color:var(--muted);font-size:12px}.metric .value{margin-top:8px;color:var(--primary);font-size:23px;font-weight:800}.metric .hint{margin-top:6px;color:var(--muted);font-size:12px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff}table{width:100%;min-width:820px;border-collapse:separate;border-spacing:0}th,td{padding:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);vertical-align:middle;font-size:13px;white-space:normal;word-break:break-word}th{position:sticky;top:0;z-index:1;background:#fbf9fc;color:var(--primary);text-align:left;font-weight:800}tr.clickable{cursor:pointer}tr.clickable:hover{background:#fbf9fc}.amount{color:var(--primary);font-weight:800}.empty{padding:18px;color:var(--muted);text-align:center}.pill{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#f4f2f5;color:var(--primary);font-size:12px;font-weight:700}.pill.warn{background:#fffbeb;color:#92400e}.detail-row td{padding:0;background:#fffdf7}.detail-box{padding:12px}.detail-title{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px}.detail-table{min-width:1040px;table-layout:fixed}.detail-table th,.detail-table td{padding:9px 10px;vertical-align:top;line-height:1.45}.detail-table th:nth-child(1),.detail-table td:nth-child(1){width:390px}.detail-table th:nth-child(2),.detail-table td:nth-child(2){width:145px;white-space:nowrap}.detail-table th:nth-child(3),.detail-table td:nth-child(3){width:110px;text-align:right;white-space:nowrap}.detail-table th:nth-child(4),.detail-table td:nth-child(4){width:150px;white-space:nowrap}.detail-table th:nth-child(5),.detail-table td:nth-child(5),.detail-table th:nth-child(6),.detail-table td:nth-child(6){width:90px;text-align:right;white-space:nowrap}.detail-table th:nth-child(7),.detail-table td:nth-child(7){width:140px;white-space:nowrap}.detail-product{display:block;font-weight:800;line-height:1.45}.qty-zero{color:#aaa}.qty-negative{color:var(--danger);font-weight:800}.inventory-tool-link{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:190px;padding:8px 10px 8px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--primary);text-decoration:none;font-weight:800;transition:background .15s,border-color .15s}.inventory-tool-link{position:relative}.inventory-tool-link .notification-badge{position:absolute;top:-7px;right:-7px;display:none;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#dc2626;color:#fff;font-size:12px;font-weight:900;line-height:21px;text-align:center;box-shadow:0 0 0 2px #fff;z-index:2}.inventory-tool-link .notification-badge.visible{display:block}.inventory-tool-link span{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;padding-bottom:1px;border-radius:50%;background:var(--primary);color:#fff;font-family:Arial,sans-serif;font-size:14px;line-height:1}@media(max-width:650px){body{padding:8px}.metric-grid{grid-template-columns:1fr}.inventory-tool-link{width:100%}.filters .btn,.input{width:100%;min-width:0}}.inventory-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.inventory-tool-link{display:inline-flex;align-items:center;justify-content:center;min-width:0;padding:9px 12px;color:var(--text);text-decoration:none;line-height:1.2}.inventory-tool-link:hover{border-color:var(--primary);background:#fbf9fc}.inventory-tool-link span{display:none}@media(max-width:650px){.inventory-tool-link{width:auto}}:root{--primary:#4A154B;--bg-main:#f4f2f5;--text-main:#1f1121;--card-bg:#ffffff;--border-color:#e7e1e8;--ok:#2e7d32;--danger:#dc2626}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;margin:0;padding:16px;background:var(--bg-main);color:var(--text-main)}.container{max-width:553px;margin:0 auto}.back{display:inline-block;margin:0 0 12px;border:1px solid var(--border-color);background:#fff;color:var(--text-main);border-radius:9px;padding:9px 12px;font-size:14px;font-weight:700;text-decoration:none}.page-title{margin:0 0 8px;color:var(--primary);font-size:26px}.card{background:var(--card-bg);padding:16px;border:0;border-radius:14px;box-shadow:0 4px 14px #4a154b0f}h2{display:none}.upload-box{border:1px dashed var(--border-color);background:#fff;padding:45px 20px;border-radius:12px;cursor:pointer;text-align:center;transition:all .15s ease-in-out;position:relative}.upload-box.dragover{border-color:var(--primary)!important;background:#fbf9fc!important}.upload-box:hover{border-color:var(--primary);background:#fbf9fc}.file-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.btn-submit{margin-top:14px;width:100%;background:var(--primary);color:#fff;border:1px solid var(--primary);padding:13px;border-radius:9px;font-size:15px;font-weight:700;transition:background .15s}.btn-submit:hover{background:#360f37}.btn-submit:disabled{background:#ced4da;border-color:#ced4da}.status{margin-top:15px;font-size:13px;font-weight:700;color:var(--primary);text-align:center;min-height:20px;white-space:pre-line;line-height:1.6}.error{color:var(--danger)}@media(max-width:700px){body{padding:12px}.page-title{font-size:23px}.card{max-width:none}}
