*{box-sizing:border-box} :root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#202333;background:#f7f8fc;font-size:14px;--accent:#6755dd;--border:#eceef4}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{transition:background .16s,box-shadow .16s}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible{outline:3px solid #bcb2ff;outline-offset:3px}input,select,textarea{outline:none}input:focus,select:focus,textarea:focus{border-color:#8d7de8!important;box-shadow:0 0 0 3px #6855dd14}button:disabled:hover{background:inherit}[hidden]{display:none!important}.app-shell{min-height:100vh;display:flex}.sidebar{width:232px;position:fixed;top:0;bottom:0;left:0;background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;padding:31px 20px 0}.brand{color:#272636;display:flex;gap:11px;align-items:center;text-decoration:none;font-size:23px;font-weight:750;letter-spacing:1px;margin:0 9px 38px}.brand-symbol{width:41px;height:43px;background:var(--accent);border-radius:12px;color:white;font-size:29px;display:grid;place-items:center;box-shadow:0 5px 14px #6956dc23}.brand-en{display:block;font-size:9px;letter-spacing:2.3px;color:#9293a2;margin-top:2px;font-weight:500}.workspace-label{font-size:11px;color:#a0a1b2;margin:0 12px 18px;display:flex;justify-content:space-between;align-items:center}.workspace-label span{color:#8b86a4;border:1px solid #eeedf5;border-radius:5px;padding:3px 6px;font-size:10px}.nav-item{border:0;width:100%;height:44px;text-align:left;display:flex;align-items:center;gap:12px;padding:0 14px;color:#777c90;background:transparent;border-radius:8px;font-size:13px;margin-bottom:7px}.nav-item>span:first-child{font-size:18px;width:21px;text-align:center}.nav-item.active{background:#f0edff;color:var(--accent);font-weight:600}.nav-item:hover{background:#f5f3fd}.nav-count{margin-left:auto;border-radius:5px;padding:2px 6px;background:#e5dfff;font-size:11px}.sidebar-caption{color:#b0b1bf;font-size:11px;margin:31px 14px 12px}.prefix-mini{border:1px solid #e9e7f0;border-radius:5px;font-size:11px!important;height:22px;display:grid;place-items:center;color:#9690af;font-weight:600}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);padding:22px 6px;color:#4e5265;font-size:12px}.sidebar-bottom div>span{display:block;font-size:10px;color:#a0a3b1;margin-top:4px}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#eeeafd;color:#7c69cd;font-size:13px;font-weight:600}.avatar.small{width:30px;height:30px;font-size:11px}.connection-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#b9bfcd}.connection-dot.online{background:#39b496}.main-shell{width:calc(100% - 232px);margin-left:232px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:77px;background:#ffffffc9;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:0 39px;font-size:12px}.breadcrumb{color:#9a9dac}.slash{margin:0 16px;color:#c6c8d1}.topbar strong{font-weight:500;color:#5a5d70}.header-right{display:flex;align-items:center;gap:21px;color:#9598a8;font-size:11px}main{padding:38px 39px 20px;max-width:1640px;width:100%;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px}.eyebrow{color:#9b9dac;font-size:11px;letter-spacing:1px;margin-bottom:10px}h1{font-size:27px;letter-spacing:1px;margin:0 0 10px;font-weight:650;display:flex;align-items:center;gap:12px}.heading-dot{height:7px;width:7px;border-radius:50%;background:#9a8de8}.page-heading p{font-size:12px;margin:0;color:#9698a9;line-height:1.8}.button{border:1px solid transparent;border-radius:7px;padding:10px 16px;display:inline-flex;gap:8px;align-items:center;justify-content:center;white-space:nowrap;font-size:12px;min-height:38px}.primary{background:var(--accent);color:white;box-shadow:0 3px 6px #6955dd16}.primary:hover{background:#5947cc;box-shadow:0 4px 10px #6955dd26}.page-heading>.button{padding:11px 21px;font-size:13px}.page-heading>.button>span{font-size:20px;line-height:15px}.secondary{background:#fff;border-color:#e7e8ef;color:#74788d}.secondary:hover{background:#f7f7fb}.stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:19px;margin-bottom:28px}.stat{background:#fff;border:1px solid var(--border);border-radius:11px;padding:20px 23px 19px;box-shadow:0 2px 5px #24234902}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#85899d;font-size:12px}.stat-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font-size:18px}.purple{color:#8e7deb;background:#f3efff}.green{color:#50b79c;background:#edf9f5}.orange{color:#dda760;background:#fff7e9}.stat-number{font-size:31px;letter-spacing:-.5px;font-weight:650;margin:4px 0 9px;font-variant-numeric:tabular-nums}.stat-caption{font-size:10px;color:#a3a6b6}.time-number{font-size:27px;min-height:37px;display:flex;align-items:center}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#6ac3a9;margin-right:6px;vertical-align:2px}.inventory-card{border:1px solid var(--border);background:#fff;border-radius:11px;overflow:hidden;box-shadow:0 3px 9px #29264402}.card-heading{padding:24px 24px 20px;display:flex;justify-content:space-between;align-items:center}.card-heading h2{font-size:15px;font-weight:600;margin:0 0 8px;display:flex;gap:9px;align-items:center}.card-heading h2 span{font-size:10px;color:#a2a3b3;background:#f4f4f8;padding:2px 6px;border-radius:4px;min-width:21px;text-align:center}.card-heading p{font-size:11px;color:#a2a5b3;margin:0}.card-actions{display:flex;gap:9px}.card-actions .button{font-size:14px;min-height:34px;padding:7px 12px}.card-actions .button span{font-size:11px}.filter-row{padding:0 24px 20px;display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap}.segmented{display:flex;background:#f6f6fa;border-radius:7px;padding:4px;gap:3px}.segmented button{border:0;background:transparent;font-size:11px;color:#9396a7;padding:6px 12px;border-radius:5px;white-space:nowrap}.segmented button.selected{background:#fff;color:var(--accent);box-shadow:0 1px 5px #3333470a;font-weight:600}.filters{display:flex;align-items:center;gap:9px}.search{border:1px solid #e9eaf1;border-radius:6px;display:flex;align-items:center;gap:7px;padding:0 10px;height:34px}.search>span{font-size:24px;color:#aaaebc;line-height:1}.search input{border:0!important;width:173px;height:31px;font-size:11px;box-shadow:none!important;padding:0;background:transparent}input::placeholder,textarea::placeholder{color:#b2b5c2}.filters>input{border:1px solid #e9eaf1;color:#9a9eaf;border-radius:6px;padding:6px 7px;font-size:11px;height:34px;width:132px}.quiet{background:transparent;border:0;color:#8e81d0;font-size:11px;padding:5px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead{background:#fafafd;color:#989bab;font-size:11px;font-weight:400}th{font-weight:500;padding:14px 24px;border-top:1px solid #f1f1f6;border-bottom:1px solid #eeeef5}td{padding:18px 24px;border-bottom:1px solid #f3f3f8;font-size:12px;color:#74798b}td.code{font-weight:600;color:#464359;font-variant-numeric:tabular-nums}.code-badge{display:inline-grid;place-items:center;background:#f3effe;color:#8b77d0;border-radius:6px;font-size:10px;width:25px;height:27px;margin-right:9px}.time-cell{font-size:11px;color:#8d91a3}.time-cell span{color:#b6b8c5;margin-left:9px;font-variant-numeric:tabular-nums}.note-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis}.action-col{width:72px;text-align:right}td:last-child{text-align:right}.edit{border:0;background:transparent;color:#8a7bd0;font-size:11px;padding:4px}.sort-arrow{margin-left:6px;color:#b6b4c7}.optional{font-size:9px;color:#b3b5c2;font-weight:400;margin-left:5px}.empty{text-align:center;padding:49px 16px 48px}.empty-symbol{background:#f5f2ff;color:#a293df;width:62px;height:62px;border-radius:19px;margin:0 auto 20px;display:grid;place-items:center;font-size:34px}.empty h3{font-size:14px;font-weight:500;color:#66667e;margin:0 0 10px}.empty p{font-size:11px;color:#a5a7b6;line-height:1.9;margin:0 0 22px}.empty .button{font-size:11px;min-height:33px;padding:8px 14px}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 24px;color:#b0b2bf;font-size:10px;border-top:1px solid #f4f4f8}.pagination{display:flex;gap:15px;align-items:center}.pagination button{width:26px;height:25px;border:1px solid #e9eaf0;border-radius:5px;background:white;color:#a6a8b7;font-size:17px}.bottom-note{font-size:10px;color:#b0b3c0;margin:19px 2px;display:flex;align-items:center;gap:6px}.bottom-note>span:first-child{font-size:13px}.right-note{margin-left:auto;color:#bfc1cb}footer{padding:22px 39px 25px;display:flex;justify-content:space-between;margin-top:auto;color:#b5b8c5;font-size:10px}.page-error{border:1px solid #f2c6c6;background:#fff3f3;color:#ba5252;padding:14px;border-radius:8px;margin-top:15px}dialog{padding:0;border:1px solid #eeeaf8;border-radius:15px;box-shadow:0 24px 100px #28224330;width:480px;max-width:calc(100vw - 30px);color:#3c3c50}dialog::backdrop{background:#26253854;backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;gap:13px;padding:25px 27px 21px;border-bottom:1px solid var(--border)}.modal-icon{height:40px;width:40px;border-radius:12px;background:#f0ebff;display:grid;place-items:center;color:var(--accent);font-size:27px}.modal-heading h2{font-size:17px;margin:0 0 6px;font-weight:600}.modal-heading p{font-size:11px;color:#a0a1b2;margin:0}.close{margin-left:auto;border:0;background:transparent;font-size:24px;color:#b4b4c4;padding:3px}.modal-body{padding:5px 27px 26px}.field-label{display:block;font-size:12px;color:#6f6d82;margin:21px 0 9px}.required{color:#ab8bdc}.modal-body>input,.modal-body>textarea,#password{width:100%;border:1px solid #e3e3ed;border-radius:7px;padding:11px 12px;background:#fff;color:#565467;font-size:12px}.modal-body>input:disabled{background:#f8f8fb;color:#acacbb}.code-input{border:1px solid #e3e3ed;border-radius:7px;display:flex;align-items:center;height:45px}.code-input:focus-within{border-color:#8d7de8;box-shadow:0 0 0 3px #6855dd14}.code-input select{border:0;background:#f7f5ff;margin:4px 8px;border-radius:5px;color:#7762c6;padding:7px 11px;width:75px;height:34px;box-shadow:none!important}.code-divider{width:1px;height:20px;background:#ebe8f4}.code-input input{border:0;padding:10px 12px;width:calc(100% - 96px);font-size:12px;box-shadow:none!important}.field-hint{color:#b0adbf;font-size:10px;margin-top:9px;display:flex;gap:8px}.field-hint strong{color:#9180ca;font-weight:500}.field-hint>span{margin-left:auto;color:#c0bdcb}.time-label{display:flex;align-items:baseline;justify-content:space-between;gap:5px}.checkbox{display:flex;align-items:center;gap:4px;font-size:10px;color:#9a92b2}.checkbox input{accent-color:var(--accent);width:12px;height:12px}.modal-body textarea{resize:vertical;min-height:72px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;background:#fcfbff;border-top:1px solid var(--border);padding:17px 27px}.form-error{font-size:11px;color:#c25757;background:#fff4f4;padding:10px;border-radius:6px;line-height:1.6}.toast{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);padding:13px 23px;background:#353046;color:white;font-size:12px;border-radius:9px;box-shadow:0 6px 30px #29243330;z-index:50}#login-dialog{width:380px;padding:32px}#login-dialog::backdrop{background:#f1effbe8;backdrop-filter:blur(9px)}.login-brand{font-size:35px;color:var(--accent)}#login-dialog h2{font-size:22px}#login-dialog p{font-size:12px;color:#9793a7}#login-form>.button{width:100%;margin-top:25px}body.locked .app-shell{visibility:hidden}@media(min-width:1550px){main{padding-top:50px}.stats{margin-bottom:34px}.empty{padding-top:65px;padding-bottom:65px}}@media(max-width:1150px){.sidebar{width:197px;padding:27px 14px 0}.main-shell{margin-left:197px;width:calc(100% - 197px)}main{padding:30px 25px}.topbar{padding:0 25px}.filter-row{align-items:flex-start}.filters{flex-wrap:wrap}th,td{padding-left:18px;padding-right:18px}.right-note{display:none}.brand{margin-left:6px;font-size:21px}.stats{gap:12px}.stat{padding:17px}.stat-number{font-size:28px}}@media(max-width:760px){.sidebar{width:66px;padding:23px 8px 0;align-items:center}.brand{margin:0 0 30px}.brand>span:last-child,.workspace-label,.sidebar-caption,.sidebar nav:nth-of-type(2),.sidebar-bottom,.nav-item .nav-count{display:none}.brand-symbol{width:36px;height:38px;font-size:26px}.sidebar nav:first-of-type{width:45px}.nav-item{font-size:0;padding:0;justify-content:center}.nav-item>span:first-child{font-size:20px}.main-shell{margin-left:66px;width:calc(100% - 66px)}.topbar{height:63px;padding:0 18px}.header-right{gap:9px}#current-date{display:none}main{padding:25px 16px}.eyebrow{font-size:9px}h1{font-size:23px}.page-heading{gap:8px}.page-heading p{font-size:10px}.page-heading>.button{padding:9px 12px;font-size:11px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:12px 16px}.stat:last-child .stat-top{gap:10px}.stat:last-child .stat-icon{display:none}.stat:last-child .stat-number{font-size:20px;margin:0}.stat:last-child .stat-caption{max-width:90px;text-align:right;line-height:1.6}.stat{padding:15px}.stat-icon{width:27px;height:27px}.stat-number{font-size:26px;margin-top:9px}.stat-top{font-size:10px}.stat-caption{font-size:9px}.card-heading{padding:19px 16px}.card-heading h2{font-size:13px}.card-actions{gap:5px}.card-actions .button{padding:6px 9px}.card-actions .button span{font-size:10px}.filter-row{padding:0 16px 16px;gap:13px}.segmented button{padding:6px 10px;font-size:10px}.filters{width:100%;gap:7px}.search{flex:1;min-width:100px}.search input{width:100%;min-width:0}.filters>input{width:125px}.table-footer{padding:14px 15px}.empty{padding:40px 10px}.empty p{font-size:10px}.empty-symbol{width:54px;height:54px}.bottom-note{font-size:9px;align-items:flex-start;line-height:1.8}footer{padding:10px 19px 20px;font-size:9px}footer>span{display:none}.modal-heading{padding:22px 20px}.modal-body{padding-left:20px;padding-right:20px}.modal-footer{padding:16px 20px}}

.nav-item.shelf-nav{padding-left:10px;padding-right:5px;gap:7px;font-size:11px}.shelf-nav .prefix-mini{flex:0 0 21px}.shelf-name{white-space:nowrap}.segmented{flex-wrap:wrap}@media(max-width:1150px) and (min-width:761px){.nav-item.shelf-nav{height:auto;min-height:44px;padding-top:8px;padding-bottom:8px}.shelf-name{white-space:normal;line-height:1.6}}

/* Shelf context and fixed box list. */
.shelf-banner{display:flex;align-items:center;gap:21px;padding:23px 27px;margin:0 0 24px;border:1px solid #ddd5ff;border-radius:13px;background:linear-gradient(110deg,#eee8ff,#faf8ff);box-shadow:0 3px 12px #6755dd08}.shelf-letter{display:grid;place-items:center;flex:0 0 70px;height:70px;border-radius:16px;background:#6755dd;color:#fff;font-size:43px;font-weight:750;box-shadow:0 5px 15px #6755dd26}.shelf-banner-label{font-size:11px;color:#8e80b3;letter-spacing:2px}.shelf-banner h2{font-size:23px;margin:5px 0 7px;color:#49358a;font-weight:700}.shelf-banner p{font-size:12px;color:#8b80a6;margin:0}.shelf-range{margin-left:auto;border:1px solid #ddd4fa;background:#ffffff99;color:#7967aa;padding:10px 14px;border-radius:8px;font-size:12px;white-space:nowrap}.card-heading h2 .table-heading-text{font-size:16px;color:#39354e;background:transparent;padding:0}.code-badge{font-size:13px;font-weight:650;width:29px;height:29px;margin-right:14px}.box-number{font-size:16px;font-weight:650;letter-spacing:1px;color:#45405c}.sku-cell{font-size:14px;color:#4e4764}.vacant-row .sku-cell,.vacant-row .time-cell,.vacant-row .note-cell{color:#c2bfce}.registered-row{background:#fdfcff}.table-wrap{max-height:680px;overflow:auto}.table-wrap thead{position:sticky;top:0;z-index:1;background:#f7f5fc}.table-wrap th{font-size:12px;color:#817990}.table-wrap td{height:64px}.fill-box{border:1px solid #e8e1fa;border-radius:5px;padding:6px 10px;background:#fbf9ff}.fill-box:hover{background:#f0eaff}.code-input select{width:155px}.code-input input{width:calc(100% - 175px)}
@media(max-width:760px){.shelf-banner{padding:18px 15px;gap:12px;flex-wrap:wrap}.shelf-letter{flex-basis:52px;height:52px;font-size:32px;border-radius:12px}.shelf-banner h2{font-size:17px}.shelf-banner p{font-size:10px}.shelf-range{display:none}.shelf-banner-label{font-size:9px}.page-heading h1{font-size:20px}.table-wrap{max-height:65vh}.table-wrap td{height:60px}.code-input select{width:130px}.code-input input{width:calc(100% - 150px)}}

.shelf-row-label{display:inline-block;vertical-align:middle;min-width:144px;padding:7px 10px;margin-right:16px;border:1px solid #e9e0fa;background:#f4efff;color:#7960b7;font-size:12px;font-weight:500;border-radius:7px;letter-spacing:0}.code-input input[readonly]{color:#716985;background:#f5f3f9;cursor:default}.code-input select:disabled{color:#84749e;opacity:1;cursor:default}.history-nav{margin-top:20px}.stat-clickable{cursor:pointer}.stat-clickable:hover{border-color:#c5b9ef;box-shadow:0 3px 12px #6755dd12}.stat-clickable:focus-visible{outline:3px solid #bcb2ff;outline-offset:2px}#history-dialog{width:1120px;max-width:calc(100vw - 30px)}.history-toolbar{display:flex;gap:10px;align-items:center;padding:20px 25px;flex-wrap:wrap}.history-toolbar>input{border:1px solid #e9eaf1;border-radius:7px;padding:9px;color:#8a819e;font-size:12px}.history-toolbar .search{height:38px}.history-table-wrap{overflow:auto;max-height:60vh}.history-detail{max-width:260px;white-space:normal;line-height:1.7;color:#9a90a9;font-size:11px}.history-region{font-size:12px;white-space:nowrap;color:#816aaf}.history-action{display:inline-block;background:#f0ebfb;color:#8c71ba;padding:4px 8px;border-radius:5px;font-size:11px}.history-empty{padding:65px 25px;text-align:center;color:#aaa1bb;font-size:13px}.located-row>td{background:#fff2c9!important;box-shadow:inset 0 1px #efc35d,inset 0 -1px #efc35d}.shelf-row-label+.box-number{vertical-align:middle}@media(max-width:760px){.history-nav{font-size:0;padding:0;justify-content:center}.shelf-row-label{font-size:10px;min-width:130px;margin-right:10px}.history-toolbar{padding:16px;gap:7px}}

.row-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center}.delete-sku{border:0;background:transparent;color:#c37381;font-size:11px;padding:4px;white-space:nowrap}.delete-sku:hover{color:#a3485a}.danger{background:#bf596c;color:#fff}.danger:hover{background:#ac4558}.delete-icon{background:#fff0f1;color:#bf596c}.delete-target{white-space:pre-line;line-height:1.9;background:#f7f4fc;padding:14px;border-radius:8px;color:#776391;font-size:13px}.history-nav{white-space:nowrap}

#box-dialog{width:1000px;max-width:calc(100vw - 24px)}.box-toolbar{display:flex;align-items:center;gap:18px;padding:20px 25px;border-bottom:1px solid var(--border);flex-wrap:wrap}.box-toolbar .button{margin-left:auto}.select-all-label{display:flex;align-items:center;gap:7px;color:#796a99;font-size:12px}.sku-select,#box-select-all{accent-color:#6755dd;width:16px;height:16px;cursor:pointer}#box-summary{font-size:12px;color:#a093b4}.box-table-wrap{max-height:55vh;overflow:auto}.box-note{max-width:260px;white-space:normal;line-height:1.7}.box-delete-hint{margin-right:auto;align-self:center;color:#a095ae;font-size:11px}.sku-line{min-height:34px;line-height:34px;white-space:nowrap;max-width:350px;overflow:hidden;text-overflow:ellipsis}.sku-count{margin-left:12px;padding:4px 7px;background:#eae2fb;border-radius:5px;color:#9a82bd;font-size:10px;font-weight:400}.registered-row .sku-line+.sku-line{border-top:1px dashed #eae5f3}.row-actions .fill-box{font-size:11px;padding:4px 8px}.delete-target{max-height:200px;overflow:auto;overflow-wrap:anywhere}@media(max-width:760px){.box-toolbar{gap:10px;padding:15px}.box-delete-hint{display:none}.box-toolbar .button{font-size:11px}.sku-count{display:block;width:max-content;margin:8px 0 0}}

/* Readable controls across staff displays; narrow tables scroll without shrinking text. */
:root{font-size:16px}.sidebar{width:270px;padding-left:18px;padding-right:18px}.main-shell{margin-left:270px;width:calc(100% - 270px)}.nav-item,.nav-item.shelf-nav{font-size:14px;min-height:48px;height:auto;padding-top:10px;padding-bottom:10px}.shelf-name{line-height:1.6;white-space:normal}.workspace-label,.sidebar-caption,.brand-en{font-size:12px}.sidebar-bottom{font-size:14px}.sidebar-bottom div>span{font-size:12px}.topbar,.header-right{font-size:14px}.eyebrow{font-size:14px}.page-heading p{font-size:15px}.shelf-banner p{font-size:14px}.shelf-banner-label,.shelf-range{font-size:14px}.stat-top{font-size:15px}.stat-caption{font-size:13px;line-height:1.7}.stat-number{font-size:34px}.time-number{font-size:29px}.card-heading h2 .table-heading-text{font-size:19px}.card-heading p{font-size:14px;line-height:1.7}.button,.card-actions .button span,.segmented button{font-size:14px;min-height:40px}.segmented button{padding:8px 12px}.filters{flex-wrap:wrap}.search{height:42px}.search input{font-size:15px;height:38px;width:210px}.filters>input{font-size:14px;height:42px;width:155px}.quiet{font-size:14px}.table-wrap table{min-width:1080px}.table-wrap th{font-size:15px;padding:16px 20px}.table-wrap td{font-size:15px;padding:16px 20px;height:70px}.shelf-row-label{font-size:14px;min-width:170px;line-height:1.7}.box-number{font-size:18px}.sku-cell{font-size:16px!important}.time-cell,.time-cell span,.note-cell{font-size:14px}.sku-line{line-height:38px;min-height:38px}.row-actions{gap:12px}.edit,.delete-sku,.row-actions .fill-box,.fill-box{font-size:14px;min-height:38px;padding:8px}.sku-count{font-size:13px}.table-footer,.bottom-note,footer{font-size:13px;line-height:1.8}.card-heading h2 span{font-size:12px}.modal-heading h2{font-size:20px}.modal-heading p{font-size:14px;line-height:1.6}.field-label,.select-all-label{font-size:15px}.modal-body>input,.modal-body>textarea,.code-input input,.code-input select,#password{font-size:16px}.field-hint{font-size:13px;line-height:1.7}.code-input{height:50px}.code-input select{height:40px;width:175px}.code-input input{width:calc(100% - 195px)}.form-error,.toast{font-size:14px}.modal-footer .button{min-height:44px}.box-toolbar{gap:14px}#box-summary,.box-delete-hint{font-size:14px}.box-table-wrap table{min-width:800px}.box-table-wrap th,.box-table-wrap td,.history-table-wrap td,.history-table-wrap th{font-size:14px;padding:16px}.history-region,.history-detail,.history-action{font-size:14px}.history-toolbar>input{font-size:14px;min-height:42px}.history-empty{font-size:15px}.delete-target{font-size:15px}.history-toolbar .search{height:42px}.history-nav{min-height:48px}dialog{max-height:calc(100dvh - 24px);overflow:auto}
@media(max-width:1350px) and (min-width:761px){.sidebar{width:235px;padding-left:12px;padding-right:12px}.main-shell{margin-left:235px;width:calc(100% - 235px)}main{padding:28px 24px}.nav-item.shelf-nav{font-size:14px;gap:7px}.shelf-row-label{min-width:170px}.filter-row{gap:16px}.stats{gap:12px}.stat{padding:18px}.stat-top{font-size:14px}.stat-caption{font-size:13px}}
@media(max-width:760px){.sidebar{width:66px;padding:23px 8px 0}.main-shell{margin-left:66px;width:calc(100% - 66px)}.sidebar .nav-item,.sidebar .history-nav{font-size:0;height:48px;padding:0}.topbar{padding:0 14px;font-size:13px;min-height:65px;height:auto}.breadcrumb,.slash{display:none}main{padding:22px 14px}.page-heading h1{font-size:24px}.eyebrow,.page-heading p{font-size:14px;line-height:1.7}.shelf-banner h2{font-size:20px}.shelf-banner p,.shelf-banner-label{font-size:13px}.shelf-banner{gap:12px}.stat-top{font-size:14px}.stat-caption{font-size:13px}.stat:last-child{gap:10px;flex-wrap:wrap}.stat:last-child .stat-caption{max-width:none;text-align:left;font-size:13px}.stat:last-child .stat-number{font-size:24px}.card-heading{align-items:flex-start;flex-wrap:wrap;gap:16px}.card-heading p{font-size:14px}.card-actions .button span{font-size:13px}.card-heading h2 .table-heading-text{font-size:18px}.segmented{width:100%;gap:5px}.segmented button{font-size:14px;padding:8px;flex-grow:1;min-height:42px}.filter-row{padding:0 14px 16px}.search{width:100%;flex-basis:100%}.search input{font-size:15px}.filters>input{font-size:14px;min-height:42px}.table-wrap{max-height:65vh}.table-wrap th,.table-wrap td{padding-left:16px;padding-right:16px}.table-footer,.bottom-note,footer{font-size:13px}.table-footer{padding:14px}.modal-heading{padding:20px 16px}.modal-body{padding:4px 16px 20px}.modal-heading p{font-size:13px}.code-input select{width:145px;font-size:15px}.code-input input{width:calc(100% - 165px);font-size:16px}.field-hint{flex-wrap:wrap;font-size:12px}.field-hint>span{margin-left:0}.box-toolbar .button,.box-delete-hint{font-size:14px}.box-toolbar{padding:15px;gap:12px}.box-toolbar .button{margin-left:0}.select-all-label{font-size:15px}.modal-footer{padding:15px;flex-wrap:wrap}.modal-footer .button{font-size:15px}.history-toolbar .button{font-size:14px}.bottom-note{align-items:flex-start}.box-delete-hint{display:block;width:100%}}

/* Higher contrast and comfortable text for everyday warehouse use. */
.page-heading p,.eyebrow,.card-heading p,.stat-top,.stat-caption,.shelf-banner p,.shelf-banner-label,.modal-heading p,.field-hint,.box-delete-hint,#box-summary,.bottom-note,.table-footer,footer{color:#655f76}
.table-wrap th,.box-table-wrap th,.history-table-wrap th{color:#625a73}.time-cell,.time-cell span,.note-cell,.box-note,.history-detail{color:#655e73}.sku-cell{color:#393345}.shelf-row-label{color:#62459b}.nav-item{color:#625c76}.segmented button{color:#655d77}.segmented button.selected{color:#5741c4}.edit{color:#5841b3}.delete-sku{color:#a43e54}
.button,.edit,.delete-sku,.row-actions .fill-box,.segmented button{font-size:16px}.box-table-wrap td,.history-table-wrap td{font-size:16px}.box-table-wrap .sku-cell{font-size:17px!important}.select-all-label{font-size:16px}.sku-select,#box-select-all{width:20px;height:20px}.optional{font-size:13px;color:#756d83}.close{width:40px;height:40px;flex-shrink:0;color:#6c627e}
@media(max-width:760px){.box-toolbar .button,.modal-footer .button,.card-actions .button,.card-actions .button span,.segmented button{font-size:16px}.shelf-name{display:none}.topbar .header-right{gap:8px}.header-right #current-date{font-size:12px}}

/* Each SKU owns its edit/delete controls; box action remains add. */
.sku-entry{display:flex;align-items:center;gap:10px;max-width:none;min-height:46px;height:46px;line-height:46px;overflow:visible}.sku-name{display:inline-block;min-width:90px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sku-entry .edit,.sku-entry .delete-sku{flex-shrink:0;line-height:24px;padding:5px 9px;min-height:36px}.sku-line{min-height:46px;line-height:46px}.sku-entry+.sku-entry{border-top:1px dashed #eae5f3}.sku-count{border:1px solid #d9caef;cursor:pointer;min-height:34px;font-size:14px;color:#62459b}.sku-count:hover{background:#e2d6f6}.table-wrap table{min-width:1250px}
.sku-input{display:flex;align-items:center;gap:12px;border:1px solid #dfddea;border-radius:7px;padding:5px 9px;background:#fff;min-height:52px}.sku-input select{width:85px;min-height:40px;background:#f4f1ff;border:0;border-radius:5px;padding:7px 10px;color:#574391;font-size:18px;flex-shrink:0}.sku-input input{width:100%;min-width:0;min-height:40px;border:0;padding:7px 6px;font-size:18px}.sku-divider{height:26px;border-left:1px solid #e7e1f2}#legacy-sku{display:block;line-height:1.8}#duplicate-dialog{width:480px;max-width:calc(100vw - 24px)}#duplicate-message{line-height:1.9}
.brand{font-size:21px;letter-spacing:0;gap:9px;margin-left:0;margin-right:0}.brand-symbol{flex:0 0 41px}.brand-en{font-size:11px}
@media(max-width:1350px) and (min-width:761px){.brand{font-size:18px;gap:7px}.brand-symbol{flex-basis:35px;width:35px}}

.box-search{background:#f8f5ff;border-color:#d9cff5}.box-search>span{font-size:15px;color:#6a5298;font-weight:600}.box-search input{width:190px}
@media(max-width:760px){.brand>span:last-child{display:none}.brand{margin:0;justify-content:center}.sidebar{overflow-y:auto}}

.qr-box-button{background:#fff;border:1px solid #dfd5f1;border-radius:6px;color:#62459b;padding:7px 9px;font-size:14px;margin-left:10px;min-height:36px}.qr-box-button:hover{background:#f0eaff}#qr-dialog{width:540px;max-width:calc(100vw - 24px)}#qr-base{width:100%;min-height:46px;font-size:16px}#qr-result{text-align:center;padding-top:16px}#qr-image{width:264px;max-width:100%;height:auto;image-rendering:pixelated}#qr-label{font-size:18px;font-weight:650;color:#49358a}#qr-result .button{margin:5px;font-size:16px;text-decoration:none}.scan-mode{background:#f5f3fb}.scan-mode>.app-shell{display:none}#scan-page{max-width:540px;padding:28px 22px;margin:25px auto}.scan-logo{font-size:20px;color:#6755dd;font-weight:650;margin-bottom:35px}#scan-location{font-size:26px;line-height:1.6}#scan-status{font-size:18px;line-height:1.9;margin:24px 0;color:#554b68}#scan-page>.button{min-height:48px;font-size:18px;margin-top:10px}.scan-mode #item-dialog{width:510px;max-width:calc(100vw - 24px)}.scan-mode .box-fields,.scan-mode label[for=note],.scan-mode #note{display:none}.scan-mode .modal-heading h2{line-height:1.6;font-size:22px}.scan-mode .modal-body{padding-top:20px}.scan-mode #save{font-size:18px;min-height:48px}.scan-mode .modal-heading .modal-icon{display:none}
