@font-face{font-family:system-fallback;src:local("PingFang SC")}*{box-sizing:border-box}body{margin:0;background:#f4f6f3;color:#24372e;font-family:Inter,system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.muted{color:#7a867e}.micro{font-size:12px;color:#87918a;line-height:1.7}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:#789185}.wordmark{display:flex;gap:11px;align-items:center;font-size:21px;font-weight:700;letter-spacing:1px}.wordmark small{display:block;font-size:8px;letter-spacing:1.3px;font-weight:500;color:#90a599;margin-top:2px}.brand-mark{display:grid;place-items:center;width:38px;height:42px;border-radius:11px 11px 4px 11px;background:#1b7155;color:#fff;font-family:serif;font-size:24px;font-weight:400}.sidebar{position:fixed;left:0;top:0;bottom:0;width:234px;padding:32px 22px 24px;background:#fff;border-right:1px solid #e4e9e3;z-index:20}.nav-caption{margin:45px 12px 15px;font-size:11px;letter-spacing:2px;color:#9aa59b}nav a{display:flex;align-items:center;gap:13px;padding:12px 15px;border-radius:9px;margin:5px 0;color:#738075;font-weight:500}nav a:hover{background:#f1f5f0}nav a.active{background:#e7f0e8;color:#176b52;font-weight:650}nav .nav-icon{width:21px;font-size:19px;line-height:1}nav .count{margin-left:auto;background:#dce8df;padding:0 6px;border-radius:4px;font-size:10px}.sidebar-bottom{position:absolute;bottom:30px;font-size:11px;color:#6f8375;left:27px}.sidebar-bottom small{display:block;color:#a1aaa2;font-size:10px;margin-top:6px;margin-left:12px}.sync-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#81a78e;margin-right:5px}.workspace{margin-left:234px;min-height:100vh}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4e8e1;padding:0 38px;background:#fff}.breadcrumb{font-size:12px;color:#8b958d}.breadcrumb span{margin:0 12px;color:#c8cfc7}.breadcrumb strong{font-weight:500;color:#435349}.topbar-actions{display:flex;gap:18px;align-items:center}.pill{font-size:11px;border:1px solid #e0e6dc;padding:4px 9px;border-radius:20px;color:#74816e}.text-button,.icon-button{border:0;background:none;color:#7b877d;font-size:12px;padding:5px}.icon-button{font-size:18px}.demo-banner{padding:9px 38px;background:#fff4df;color:#957027;font-size:11px;display:flex;justify-content:space-between;gap:15px}.demo-banner b{margin-right:12px}main{padding:32px 38px 20px;max-width:1700px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:15px}.page-head h1{font-size:27px;margin:5px 0 4px;font-weight:650;letter-spacing:-.7px}.page-head p{font-size:12px;color:#89938a;margin:0}.page-head .eyebrow{font-size:9px;letter-spacing:1.8px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.primary,.secondary,.danger{padding:10px 17px;border-radius:7px;border:1px solid transparent;font-size:12px;font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:10px}.primary{background:#1b6b51;color:white;box-shadow:0 2px 3px #176b5210}.primary:hover{background:#12583f}.secondary{background:white;border-color:#dae2d7;color:#50644f}.secondary:hover{background:#f5f8f1}.danger{background:#fbeae6;color:#a84c3d;border-color:#f0cec4}.wide{width:100%;justify-content:space-between}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:#fff;border:1px solid #e3e9df;border-radius:11px;padding:21px 22px;position:relative;overflow:hidden}.stat.featured{background:#1c604b;color:white;border-color:#1c604b}.stat.featured .stat-label,.stat.featured .stat-foot{color:#b9d0c2}.stat-label{font-size:12px;color:#82907e;display:flex;justify-content:space-between}.stat-value{font-size:34px;line-height:1.2;font-weight:600;letter-spacing:-1px;margin-top:17px;font-variant-numeric:tabular-nums}.stat-value small{font-size:12px;font-weight:400;letter-spacing:0;margin-left:6px;opacity:.65}.stat-foot{font-size:10px;color:#9ca69a;margin-top:15px}.stat-icon{font-size:20px;opacity:.55}.stat.warning .stat-value{color:#be8b38}.section-row{display:grid;grid-template-columns:1.8fr 1fr;gap:20px;margin:0 0 24px}.panel{border-radius:11px;border:1px solid #e1e7dd;background:white;overflow:hidden;margin-bottom:22px}.section-row .panel{margin:0}.panel-head{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #edf0e8}.panel-head h2{font-size:14px;font-weight:650;margin:0}.panel-head small{display:block;font-size:10px;color:#a0a99c;margin-top:3px}.panel-head .text-button{font-size:11px}.quick-grid{padding:20px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quick-card{background:#f8faf5;border:1px solid #ebefe4;border-radius:9px;text-align:left;padding:20px 15px;color:#405742}.quick-card:hover{border-color:#a3bea5;background:#f0f5ed}.quick-icon{display:grid;place-items:center;border-radius:10px;width:35px;height:35px;background:#e4eee0;color:#35704b;font-size:22px;margin-bottom:15px}.quick-card:nth-child(2) .quick-icon{background:#f4eddf;color:#a57e3c}.quick-card:nth-child(3) .quick-icon{background:#e4eaf3;color:#64809a}.quick-card strong{display:block;font-size:13px;font-weight:600}.quick-card small{display:block;font-size:10px;margin-top:6px;color:#97a18e}.notice{background:#f6f8ef;border:1px solid #e6ebd9;border-radius:8px;padding:15px 18px;font-size:12px;color:#788165;margin-bottom:20px;line-height:1.8}.notice.warn{background:#fff6e5;border-color:#f2e4c4;color:#997a3e}.notice strong{color:#536b4f}.alert-list{padding:3px 22px 10px}.alert-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px dashed #e8eddf;gap:10px}.alert-row:last-child{border-bottom:0}.alert-row strong{font-size:12px;display:block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alert-row small{font-size:10px;color:#98a18e}.alert-qty{font-size:17px;color:#ba8b40;font-weight:600;text-align:right;white-space:nowrap}.alert-qty small{display:block;font-size:9px;color:#b1ae9a;font-weight:400}.toolbar{padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;border-bottom:1px solid #edf0e8}.search{max-width:330px;width:100%;position:relative}.search input{padding:9px 12px 9px 32px;width:100%;border:1px solid #e2e7dc;border-radius:7px;background:#fafbf8;font-size:12px}.search span{position:absolute;left:11px;top:6px;color:#a2ac9e;font-size:20px}.filters{display:flex;gap:5px}.filter-btn{background:none;border:0;border-radius:5px;color:#89957f;font-size:11px;padding:6px 10px}.filter-btn.active{background:#eaf0e2;color:#58733d}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{background:#fbfcf8;color:#899480;font-size:10px;font-weight:500;letter-spacing:.3px;padding:12px 22px;white-space:nowrap}td{padding:15px 22px;border-bottom:1px solid #edf0e8;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcf8}td strong.product{display:block;font-size:12px;font-weight:550;max-width:300px}td .sub{display:block;font-size:10px;color:#a0aa96;margin-top:3px}.mono{font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px;color:#94a08b}.qty{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.num{font-variant-numeric:tabular-nums;white-space:nowrap}.badge{font-size:10px;padding:3px 8px;border-radius:4px;display:inline-block;white-space:nowrap}.badge.good{background:#eaf3e6;color:#6c9061}.badge.low{background:#fff1d9;color:#b28b42}.badge.out{background:#fbe9e3;color:#c0836d}.badge.blue{background:#e9eff5;color:#68829a}.badge.neutral{background:#f0f2ed;color:#8a9580}.positive{color:#558b60}.negative{color:#b17a5a}.empty{padding:45px 25px;text-align:center;color:#97a18e}.empty .empty-icon{font-size:32px;opacity:.45;margin-bottom:12px}.empty h3{font-size:14px;color:#71816c;font-weight:500;margin:8px}.empty p{font-size:12px}.table-foot{padding:13px 22px;font-size:10px;color:#a3ad98;border-top:1px solid #edf0e8;display:flex;justify-content:space-between}.top-products{padding:18px 22px}.bar-row{display:grid;grid-template-columns:minmax(140px,1fr) 1fr 45px;gap:16px;align-items:center;margin:15px 0}.bar-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.bar-track{height:6px;background:#eef2e9;border-radius:4px;overflow:hidden}.bar-fill{height:100%;background:#79a084;border-radius:4px}.bar-value{text-align:right;font-size:12px;color:#66856b}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.info-card{border:1px solid #e3e8de;background:white;padding:22px;border-radius:10px}.info-card h3{font-size:14px;margin:0 0 8px}.info-card p{font-size:12px;color:#97a18e}.steps{display:flex;gap:20px;margin:18px 0;font-size:12px;color:#87987c}.steps b{border-radius:50%;background:#e4ecdf;padding:2px 7px;color:#638253;margin-right:5px}footer{padding:0 38px 25px;display:flex;justify-content:space-between;font-size:10px;color:#a1ab97}.mobile-only{display:none}dialog{border:0;border-radius:13px;padding:0;max-width:680px;width:calc(100% - 32px);box-shadow:0 20px 100px #153d2c33;max-height:90vh;color:#293e2c}dialog::backdrop{background:#173c2c50;backdrop-filter:blur(3px)}.modal-head{padding:23px 26px 18px;border-bottom:1px solid #e8eddf;display:flex;justify-content:space-between;align-items:center}.modal-head h2{font-size:18px;margin:0}.modal-head small{color:#96a28a;font-size:11px}.modal-body{padding:23px 26px}.modal-foot{padding:17px 26px;background:#f8faf5;border-top:1px solid #e8eddf;display:flex;justify-content:flex-end;gap:10px;align-items:center}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid .full{grid-column:1/-1}label{font-size:12px;color:#708268;display:block}input,select,textarea{display:block;width:100%;padding:10px 12px;background:#fff;border:1px solid #dfe6d9;border-radius:6px;color:#374d33;margin-top:6px;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #9eba9b;outline-offset:1px}textarea{resize:vertical;min-height:75px}.form-error{font-size:12px;color:#b86e51;min-height:18px;margin:12px 0}.line-items{margin-top:18px}.doc-line{display:grid;grid-template-columns:minmax(120px,1fr) 110px 28px;gap:10px;align-items:end;margin:10px 0}.doc-line .line-stock{font-size:10px;color:#9aa88b;display:block;margin-top:3px}.doc-line select{font-size:11px}.doc-line .icon-button{margin-bottom:10px}.form-help{font-size:10px;color:#9ea992;margin:5px 0 0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:8px 0 20px;font-size:12px}.detail-grid small{color:#9aa58d;display:block;margin-bottom:3px}.photo-preview{width:100%;max-height:260px;object-fit:contain;background:#f5f6f1;border-radius:8px}.photo-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.photo-card{background:#fff;border:1px solid #e0e7d9;border-radius:10px;overflow:hidden}.photo-card img{width:100%;height:170px;object-fit:cover;background:#edf0e8}.photo-card .content{padding:17px}.photo-card p{font-size:12px;margin:10px 0;color:#7d8e70}.photo-card .meta{font-size:10px;color:#a0ac92}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(100px);background:#254d35;color:white;padding:12px 22px;z-index:100;border-radius:8px;box-shadow:0 4px 20px #16342020;font-size:12px;transition:transform .2s;max-width:90%;pointer-events:none}#toast.show{transform:translateX(-50%) translateY(0)}#toast.error{background:#9e654a}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{padding:54px 70px;background:#e5eede;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;position:relative;overflow:hidden}.login-story:after{content:'芸';position:absolute;right:-40px;bottom:-170px;font-size:450px;font-family:serif;line-height:1;color:#d9e5d1;pointer-events:none}.login-story>div,.login-story>small{position:relative;z-index:1}.login-story h1{font-size:45px;line-height:1.5;letter-spacing:-1px;font-weight:500;margin:25px 0;color:#345a3e}.login-story p{color:#7b9476;line-height:2;font-size:14px}.login-story small{font-size:11px;color:#8ea184}.login-chips{display:flex;gap:12px;margin-top:30px}.login-chips span{font-size:11px;color:#75916a;border:1px solid #cbdcc1;border-radius:20px;padding:5px 14px}.login-panel{display:flex;align-items:center;justify-content:center;background:#fdfefa;padding:40px}.login-box{width:100%;max-width:350px}.login-box h2{font-size:29px;font-weight:500;margin:12px 0}.login-box>p{font-size:12px}.login-box form{margin-top:30px}.login-box label{margin:16px 0}.login-box input{padding:13px}.login-box .primary,.login-box .secondary{padding:13px 18px}.divider{position:relative;text-align:center;color:#adb6a2;font-size:10px;margin:23px 0}.divider:before,.divider:after{content:'';display:block;position:absolute;top:50%;width:31%;height:1px;background:#e3e9db}.divider:after{right:0}.setup-note{margin-top:30px}.catalog-name{max-width:320px;display:block;max-height:42px;overflow:hidden;font-size:11px}.catalog-spec{font-size:10px;color:#7f9072;display:block;max-width:320px;margin-top:4px}.pagination{display:flex;align-items:center;gap:12px}.pagination button{background:#f2f6ec;border:1px solid #e0e8d6;border-radius:4px;color:#7c916a;font-size:11px;padding:3px 8px}.inline-note{font-size:11px;color:#95a18b;line-height:1.8}.small{font-size:11px!important}.catalog-summary{display:flex;gap:18px;flex-wrap:wrap;padding:17px 22px;background:#fafcf7;font-size:11px;color:#859777}.catalog-summary strong{color:#4d7543;margin-left:5px}.sticky-actions{position:sticky;bottom:0;background:#fff;z-index:2}.loading{text-align:center;padding:100px;color:#879d7a}
@media(min-width:1500px){main{padding-top:40px}.stat{padding:25px}.quick-card{padding:25px}.sidebar{width:250px}.workspace{margin-left:250px}}
@media(max-width:1100px){.sidebar{width:205px;padding-left:16px;padding-right:16px}.workspace{margin-left:205px}.wordmark{font-size:18px}.topbar{padding:0 24px}main{padding:25px 24px}.demo-banner{padding:9px 24px}.stats{gap:10px}.stat{padding:17px 14px}.stat-value{font-size:28px}.section-row{grid-template-columns:1.4fr 1fr}.quick-grid{padding:14px;gap:8px}.quick-card{padding:15px 11px}td,th{padding-left:17px;padding-right:17px}.photo-list{grid-template-columns:repeat(2,1fr)}.login-story{padding:40px}.login-story h1{font-size:34px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .15s;width:230px;box-shadow:10px 0 30px #25452a10}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.topbar{height:60px;padding:0 18px;gap:8px}.mobile-only{display:block}.breadcrumb{font-size:11px;flex:1}.breadcrumb span{margin:0 5px}.topbar-actions{gap:8px}.topbar-actions .pill{display:none}.topbar-actions .text-button{font-size:11px}main{padding:24px 17px 15px}.page-head{align-items:flex-start;gap:12px;margin-bottom:20px}.page-head h1{font-size:24px}.page-head p{font-size:11px}.page-head .actions{justify-content:flex-end;max-width:170px}.page-head .actions button,.page-head .actions a{padding:8px 12px;font-size:11px}.stats{grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px}.stat{padding:17px}.stat-value{font-size:29px;margin-top:11px}.stat-foot{margin-top:10px}.section-row{grid-template-columns:1fr;gap:18px;margin-bottom:20px}.quick-grid{gap:10px;padding:17px}.quick-card{padding:17px 11px}.quick-card small{font-size:9px}.quick-card strong{font-size:12px}.panel-head{padding:17px}.toolbar{padding:13px 17px;gap:10px}.filters{width:100%}.search{max-width:100%}.demo-banner{padding:8px 17px;font-size:10px}.demo-banner>span:last-child{display:none}td{padding:13px 17px}th{padding:10px 17px}table{min-width:680px}.table-foot{padding:12px 17px;gap:10px}.cards{grid-template-columns:1fr}.photo-list{grid-template-columns:1fr}.form-grid{gap:12px}.form-grid .full-mobile{grid-column:1/-1}.modal-body{padding:20px}.modal-head,.modal-foot{padding:18px 20px}.doc-line{grid-template-columns:minmax(110px,1fr) 75px 20px;gap:7px}.doc-line input{padding:10px 8px}.steps{gap:10px;font-size:10px;flex-wrap:wrap}.login-page{grid-template-columns:1fr}.login-story{min-height:0;padding:28px 26px}.login-story h1{font-size:26px;margin:24px 0 12px}.login-story p{font-size:12px}.login-story>.wordmark{font-size:18px}.login-story small,.login-chips{display:none}.login-story:after{font-size:250px;bottom:-100px}.login-story .eyebrow{display:none}.login-panel{padding:34px 25px}.login-box h2{font-size:24px}.login-box form{margin-top:22px}.login-box .eyebrow{font-size:9px}footer{padding:0 17px 25px;font-size:9px;gap:15px}.bar-row{grid-template-columns:120px 1fr 40px;gap:10px}.catalog-summary{padding:15px 17px;gap:9px 16px}.notice{font-size:11px;padding:13px}.page-head .eyebrow{font-size:8px}.detail-grid{font-size:11px}}

.w0{width:0%}.w1{width:5%}.w2{width:10%}.w3{width:15%}.w4{width:20%}.w5{width:25%}.w6{width:30%}.w7{width:35%}.w8{width:40%}.w9{width:45%}.w10{width:50%}.w11{width:55%}.w12{width:60%}.w13{width:65%}.w14{width:70%}.w15{width:75%}.w16{width:80%}.w17{width:85%}.w18{width:90%}.w19{width:95%}.w20{width:100%}
input[type=checkbox]{display:inline-block;width:auto;margin:18px 8px 0 0;vertical-align:middle}#link-new{margin-top:15px}#link-existing{margin-top:15px}.photo-card .actions{margin-top:15px}

.brand-title{font-size:19px;letter-spacing:1px;line-height:1.35}.brand-title>span{display:block;font-size:11px;font-weight:400;letter-spacing:2px;color:#93a08a;margin-top:4px}.sidebar .brand-mark{flex-shrink:0}.stock-mobile{display:none}.product-heading td{background:#f4f7ef;padding-top:10px;padding-bottom:10px}.product-heading strong{font-weight:650;font-size:12px}.product-heading span{font-size:10px;color:#97a58a;margin-left:15px}.variant-name{font-size:11px;font-weight:450;color:#738769;padding-left:12px}.variant-name:before{content:'└';color:#bdcbb0;margin-right:10px}.stock-product{border-bottom:1px solid #e6ecdf;padding:16px 18px 8px}.stock-product:last-child{border:0}.stock-product-title{display:flex;justify-content:space-between;align-items:center;font-size:13px;padding-bottom:8px;gap:10px}.stock-product-title>span{font-size:9px;color:#9cac8f;white-space:nowrap}.variant-card{display:flex;justify-content:space-between;gap:10px;padding:12px 0 12px 13px;border-top:1px dashed #eaf0e0;border-left:2px solid #edf2e6;margin:4px 0 8px}.variant-card strong{display:block;font-size:12px;font-weight:450}.variant-card small{display:block;font-size:9px;color:#a1af94;margin-top:3px}.variant-card .badge{margin-top:7px;font-size:9px}.variant-qty{white-space:nowrap;text-align:right;font-size:10px;color:#8ea17d}.variant-qty b{font-size:22px;color:#4b6b3b;font-weight:600}.variant-qty .text-button{font-size:10px;padding:7px 0 0 10px}.variant-qty .text-button:first-child{padding-left:0}.stat-foot:empty{display:none}@media(max-width:760px){.stock-mobile{display:block}.stock-desktop{display:none}.login-story .wordmark{font-size:17px}.login-story .brand-mark{width:33px;height:36px}.stat-foot{font-size:9px}}

.catalog-product{border-bottom:1px solid #e8eddf;padding:0 18px}.catalog-product:last-child{border:0}.catalog-product summary{cursor:pointer;list-style:none;padding:18px 0}.catalog-product summary::-webkit-details-marker{display:none}.catalog-product summary strong{font-size:12px;font-weight:550;display:block;line-height:1.7}.catalog-product summary small{display:flex;justify-content:space-between;font-size:9px;color:#9ead8d;margin-top:7px}.catalog-product summary small span{font-size:16px}.catalog-variant{display:flex;justify-content:space-between;align-items:center;border-top:1px dashed #e4ecdb;padding:13px 0;gap:12px;font-size:11px;color:#69855b}.catalog-variant>div:first-child{flex:1;min-width:0}.catalog-variant small{display:block;font-size:9px;color:#a4b097;margin-top:5px}.catalog-variant .secondary{padding:6px 10px;font-size:10px;white-space:nowrap}.page-head .eyebrow{display:none}

.simple-entry .doc-line{grid-template-columns:minmax(130px,1fr) 100px 20px;margin-top:0}.simple-entry .line-stock{font-size:10px;margin-top:8px}.simple-entry select,.simple-entry input{padding-top:13px;padding-bottom:13px}.simple-entry .qty-label{align-self:start}.simple-entry .icon-button{align-self:start;margin-top:33px}.modal-head small:empty{display:none}@media(max-width:760px){.simple-entry .doc-line{grid-template-columns:1fr 26px;gap:10px}.simple-entry .doc-line>label:first-child{grid-column:1/-1}.simple-entry .qty-label{grid-column:1}.simple-entry .icon-button{grid-column:2;margin-top:31px}.simple-entry .doc-line:only-child .icon-button{visibility:hidden}.simple-entry input{font-size:20px}.simple-entry .line-stock{font-size:11px}.simple-entry select{font-size:12px}}
.scan-modes{display:flex;gap:12px;margin-bottom:20px}.scan-modes label{flex:1;border:1px solid #dae5d3;background:#f7faf2;border-radius:8px;padding:12px;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer}.scan-modes input[type=radio]{display:inline-block;width:auto;margin:0}.scan-modes label:has(input:checked){border-color:#5f8d5b;background:#eaf2e3;color:#376b3b}#camera-area{margin:0 0 16px;border:1px solid #e0e8d8;border-radius:8px;overflow:hidden;background:#f4f7ef}#scan-video{display:block;width:100%;max-height:280px;object-fit:cover;background:#233b2c}#camera-status{margin:10px;text-align:center;font-size:11px}

/* Desktop tables and portrait phone cards share the same server records. */
.records-mobile{display:none}.record-object{overflow-wrap:anywhere;word-break:break-word;max-width:300px}.sidebar{overflow-y:auto}.sidebar-bottom{position:static;margin-top:28px}.topbar-actions{flex-wrap:wrap}.page-head>div{min-width:0}
@media(max-width:760px){.records-desktop{display:none}.records-mobile{display:block}.record-card{padding:16px;border-bottom:1px solid #e5ebdf;overflow-wrap:anywhere}.record-card:last-child{border-bottom:0}.record-card p{margin:10px 0;font-size:13px}.record-card small{font-size:11px;color:#7c8b74}.record-top,.record-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.record-top>span{font-size:11px;color:#7c8b74}.record-bottom{margin-top:12px;font-size:12px}.record-object{max-width:none}.page-head{flex-wrap:wrap}.page-head .actions{max-width:none;justify-content:flex-start;width:100%}.filters{overflow-x:auto}.filter-btn{flex-shrink:0}.topbar{height:auto;min-height:64px;padding:10px 12px;flex-wrap:wrap}.breadcrumb{min-width:80px}.topbar-actions{gap:8px}.form-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.detail-grid>div{overflow-wrap:anywhere}input,select,textarea{font-size:16px}.table-foot{flex-wrap:wrap}.pagination{flex-wrap:wrap}.login-story{padding:22px}.login-story h1,.login-story p{display:none}.login-panel{padding:28px 22px}.panel-head{flex-wrap:wrap}.stat{min-width:0}.stat-value{font-size:26px}.stat-value small{font-size:10px}.quick-grid{grid-template-columns:1fr}.quick-card{display:grid;grid-template-columns:35px 1fr;column-gap:12px;padding:14px}.quick-icon{grid-row:1/3;margin:0}.quick-card small{margin-top:3px}.stock-product-title strong,.variant-card>div:first-child{min-width:0;overflow-wrap:anywhere}.variant-qty{flex-shrink:0}main{padding-left:12px;padding-right:12px}.workspace{min-width:0}footer{flex-wrap:wrap}}

/* Inventory grid: desktop rows follow physical SKU, mobile cards retained. */
.inventory-summary{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:12px 20px;border-top:1px solid #e3e8e2;background:#f8faf8;color:#5b6b61;font-size:13px}.inventory-summary strong{font-size:18px;color:#244e3e;margin-left:6px;font-variant-numeric:tabular-nums}.inventory-summary small{margin-left:auto;font-size:12px;color:#748079}
.inventory-grid{max-height:65vh;overflow:auto;scrollbar-gutter:stable}.inventory-grid table{min-width:1320px;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.inventory-grid th,.inventory-grid td{padding:12px 14px;border-right:1px solid #e5eae5;border-bottom:1px solid #e5eae5;vertical-align:middle;font-size:13px;line-height:1.55;color:#34463b;overflow-wrap:break-word}.inventory-grid th{position:sticky;top:0;z-index:2;background:#edf2ef;color:#425c4e;font-weight:600;white-space:nowrap;box-shadow:0 1px 0 #d6dfd8}.inventory-grid th:nth-child(1){width:240px}.inventory-grid th:nth-child(2){width:260px}.inventory-grid th:nth-child(3){width:110px}.inventory-grid th:nth-child(4){width:60px}.inventory-grid th:nth-child(5),.inventory-grid th:nth-child(6){width:100px}.inventory-grid th:nth-child(7){width:110px}.inventory-grid th:nth-child(8){width:110px}.inventory-grid th:nth-child(9){width:210px}.inventory-grid td.inventory-code{white-space:nowrap;word-break:normal;overflow-wrap:normal;font-size:12px}.inventory-grid .inventory-number{text-align:right;font-variant-numeric:tabular-nums}.inventory-grid .qty{font-size:18px;line-height:1.3;color:#244e3e}.inventory-grid .inventory-product{font-weight:500}.inventory-grid .inventory-spec{color:#526658}.inventory-grid tbody tr:nth-child(even) td{background:#f7faf8}.inventory-grid tbody tr:hover td{background:#eaf3ed}.inventory-grid .inventory-group-start:not(:first-child) td{border-top:2px solid #cddbd1}.inventory-grid .actions{flex-wrap:nowrap;gap:12px}.inventory-grid .text-button{padding:4px 0;white-space:nowrap;font-size:13px}.inventory-grid .badge{white-space:nowrap;font-size:11px}.inventory-grid-compact table{min-width:950px}.inventory-grid-compact{max-height:420px}.inventory-grid:focus-visible{outline:2px solid #2c7353;outline-offset:-2px}
@media(max-width:760px){.inventory-summary{padding:12px 16px;gap:14px;font-size:12px}.inventory-summary strong{font-size:16px}.inventory-summary small{width:100%;margin-left:0}.inventory-grid.stock-desktop{display:none}}

.inventory-grid .inventory-row-low .qty,.inventory-grid .inventory-row-out .qty{color:#c02626;font-weight:800}.inventory-grid .inventory-row-low td{background:#fff8ed}.inventory-grid .inventory-row-out td{background:#fff5f5}.inventory-grid .inventory-row-out:nth-child(even) td{background:#fff0f0}.inventory-grid .inventory-row-low:nth-child(even) td{background:#fff4df}.inventory-grid .inventory-row-out .badge.out{background:#b91c1c;color:#fff;font-weight:700;border:1px solid #b91c1c}.inventory-grid .inventory-row-low .badge.low{background:#fff0c2;color:#8a3b06;font-weight:700;border:1px solid #efc078}.inventory-grid .inventory-row-out:hover td,.inventory-grid .inventory-row-low:hover td{background:#ffe8de}.variant-qty:has(.badge.out) b{color:#c02626}

.variant-card:has(.badge.out) .variant-qty b,.variant-card:has(.badge.low) .variant-qty b{color:#c02626;font-weight:800}.variant-card .badge.out{background:#b91c1c;color:#fff;font-weight:700}.variant-card .badge.low{background:#fff0c2;color:#8a3b06;font-weight:700}

.inventory-grid .qty{font-weight:400;color:#34463b;font-size:16px}.inventory-grid .inventory-row-low .qty,.inventory-grid .inventory-row-out .qty{color:#c02626;font-weight:800;font-size:18px}.variant-card:not(:has(.badge.out)):not(:has(.badge.low)) .variant-qty b{font-weight:400;color:#34463b}

/* Phone workbench follows the verified Jushuitan home screenshot structure. */
.phone-workbench,.phone-topbar,.phone-bottom-tabs{display:none}.product-thumbnail{display:block;flex:0 0 68px;width:68px;height:68px;padding:0;border:1px solid #e1e8e1;border-radius:7px;background:#f2f5ef;overflow:hidden;color:#6c826e}.product-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}.product-image-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.product-image-empty svg{width:24px;height:24px}.product-image-empty small{font-size:10px;color:#76856f}.small-thumb{width:42px;height:42px;flex-basis:42px;border-radius:4px}.small-thumb .product-image-empty svg{width:18px;height:18px}.small-thumb small{font-size:9px}.inventory-product-with-image{display:flex;gap:10px;align-items:center}.inventory-product-with-image>span{min-width:0}.stock-product-title{align-items:center;justify-content:flex-start}.stock-product-copy{flex:1;min-width:0}.stock-product-copy>small{display:block;margin-top:5px;color:#7c897b;font-size:11px;font-weight:400}.product-image-preview{display:block;width:100%;max-height:280px;object-fit:contain;background:#f5f6f2;margin-bottom:20px}.phone-account{padding:24px;text-align:center}.phone-account-avatar{width:64px;height:64px;border-radius:50%;background:#e9eee1;color:#37694d;display:grid;place-items:center;margin:0 auto 15px;font-size:24px}.phone-account-links{text-align:left;margin-top:24px}.phone-account-links>a,.phone-account-links>button{display:flex;justify-content:space-between;width:100%;padding:16px 0;border:0;border-top:1px solid #e7ebe5;background:none;font-size:14px;color:#34483c;text-decoration:none}
@media(max-width:760px){body{background:#f1f3ef}.workspace>.topbar{display:none}main{padding:0 0 calc(76px + env(safe-area-inset-bottom))}.phone-topbar{display:flex;align-items:center;justify-content:center;position:sticky;top:0;z-index:8;min-height:51px;background:#36775a;color:#fff;padding:10px 46px;box-sizing:border-box}.phone-topbar strong{font-size:16px;font-weight:500;letter-spacing:.3px}.phone-brand-mark{position:absolute;left:16px;font-size:21px;font-family:serif}.phone-topbar button{position:absolute;right:12px;background:none;border:0;padding:7px;color:#fff;font-size:20px}.phone-bottom-tabs{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e1e6df;z-index:10;padding:7px 0 calc(7px + env(safe-area-inset-bottom))}.phone-bottom-tabs a{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;color:#8c968b;text-decoration:none;font-size:11px;min-height:43px;justify-content:center}.phone-bottom-tabs svg{height:23px;width:23px}.phone-bottom-tabs [aria-current=page]{color:#36775a}.phone-workbench{display:block}.desktop-overview{display:none}.phone-module{background:#fff;margin:10px 0 0;border-top:1px solid #e6eae3;border-bottom:1px solid #e6eae3}.phone-module h2{margin:0;padding:12px 16px 9px;border-bottom:1px solid #f0f1ed;font-size:13px;font-weight:400;color:#7e877a}.phone-function-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:4px 9px 10px;row-gap:2px}.phone-entry{display:flex;flex-direction:column;align-items:center;gap:8px;padding:13px 2px 10px;background:none;border:0;color:#465142;font-size:12px;font-weight:400;min-height:88px}.phone-entry:disabled{opacity:.4}.phone-entry-icon{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 2px 5px #3d533310}.phone-entry svg{width:23px;height:23px}.tone-jade{background:#6e9d7a}.tone-gold{background:#c6a65c}.tone-slate{background:#7e9999}.tone-amber{background:#c28b58}.phone-attention{display:flex;align-items:center;gap:12px;padding:16px;color:#354737;text-decoration:none}.phone-attention>span:nth-child(2){flex:1;min-width:0}.phone-attention strong{font-size:13px;font-weight:500;display:block}.phone-attention small{display:block;font-size:11px;color:#82907e;margin-top:6px}.phone-leaf{display:grid;place-items:center;background:#eff3e9;color:#668257;border-radius:50%;width:39px;height:39px;font-family:serif;font-size:22px}.phone-brand-note{text-align:center;font-size:10px;color:#9ca694;padding:10px 0 5px}.workspace footer{display:none}.page-head{padding:17px 14px 0;margin-bottom:16px}.page-head .eyebrow{display:none}.page-head h1{font-size:21px}.panel{border-radius:0;border-left:0;border-right:0;box-shadow:none}.stock-product{padding:14px}.stock-product-title .product-thumbnail{width:68px;height:68px;flex-basis:68px}.stock-product-title strong{font-size:14px;line-height:1.55}.variant-card{margin-left:78px;padding-left:0;border-left:0;gap:8px}.variant-card strong{font-size:12px;color:#65715f}.variant-qty b{font-size:23px}.variant-qty .text-button{font-size:11px;padding-left:9px}.stock-product-copy{align-self:center}.sidebar{z-index:20}.phone-account{margin-top:10px}.phone-account-links button{font-size:15px}.page-head p{font-size:12px}.notice{margin-left:12px;margin-right:12px}.modal-body .notice{margin-left:0;margin-right:0}}
