*{box-sizing:border-box}body{margin:0;background:#f5f6f8;color:#1d2939;font:14px/1.6 system-ui,"Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #d8dde5;background:#fff;border-radius:7px;padding:8px 14px;color:#344054}button:hover{border-color:#8b9baf;background:#f4f7fb}button:disabled{opacity:.5;cursor:wait}.primary{background:#253d56;color:#fff;border-color:#253d56}.primary:hover{background:#365674;color:#fff}.link{border:0;background:transparent;color:#2d5c7d;padding:3px 5px}.danger{color:#b44f38}input,select,textarea{border:1px solid #d8dde5;background:#fff;border-radius:7px;padding:9px 11px;max-width:100%;color:inherit}input:focus,select:focus,textarea:focus{outline:2px solid #b8cddf;outline-offset:1px}label{display:grid;gap:6px;font-size:13px;color:#556477}label input,label textarea{width:100%}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:-.6px}h2{font-size:20px}h3{font-size:16px}.muted{color:#8490a0;font-size:12px}.small{font-size:12px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.badge{background:#e9f3ee;color:#357457;border-radius:4px;padding:3px 7px;font-size:11px;white-space:nowrap}.warn{background:#fff2df;color:#9a6a1e}.tag{background:#eef1f5;color:#667085;padding:2px 7px;border-radius:4px;font-size:12px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.welcome{background:#22394f;color:#fff;padding:10vh 8vw;display:flex;flex-direction:column;justify-content:space-between}.welcome h1{font-size:42px;max-width:450px;line-height:1.4}.welcome p{color:#b5c6d4;margin-top:25px;max-width:390px}.brand{font-size:23px;font-weight:650;letter-spacing:2px}.brand span{font-weight:400;font-size:12px;display:block;letter-spacing:3px;margin-top:5px;color:#9eafbf}.swatches{display:flex;gap:15px;margin:40px 0}.swatches i{display:block;width:55px;height:85px;background:#bba182;border-radius:28px 28px 4px 4px;transform:rotate(-10deg)}.swatches i:nth-child(2){background:#b9cbd6;transform:rotate(4deg)}.swatches i:nth-child(3){background:#dfd4c3;transform:rotate(12deg)}.login-panel{display:flex;align-items:center;justify-content:center;padding:40px}.login-panel form{width:340px;display:grid;gap:22px}.login-panel form h2{font-size:28px}.login-panel form>p{color:#7e8998;margin-top:-14px}.shell{display:grid;grid-template-columns:216px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#22394f;color:#fff;display:flex;flex-direction:column;padding:30px 18px}.sidebar .brand{padding:0 15px 35px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{text-align:left;background:transparent;border:0;color:#b9c8d7;padding:12px 15px}.sidebar nav button.selected{background:#36536d;color:#fff}.sidebar footer{margin-top:auto;font-size:12px;color:#a5b8c9;padding:12px}.sidebar footer button{font-size:12px;margin-top:15px;background:transparent;color:#e5ecf2;border-color:#496076}.main{min-width:0;padding:34px 38px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:2px;color:#9a7951;margin-bottom:8px}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:20px}.page-head p{color:#8a95a3;margin-top:6px}.panel{background:#fff;border:1px solid #e4e8ed;border-radius:10px;overflow:hidden}.toolbar{padding:18px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #edf0f4}.toolbar input{width:235px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{font-weight:500;color:#8993a0;background:#fafbfc;white-space:nowrap;font-size:12px}td,th{padding:12px 14px;border-bottom:1px solid #eef0f3;vertical-align:middle}tbody tr:hover{background:#fcfcfd}td .code{font-weight:650;font-size:14px;color:#273d52}.thumb{width:65px;height:82px;object-fit:cover;border-radius:5px;background:#edf0f3;cursor:pointer}.no-image{width:65px;height:82px;background:#f0f2f5;color:#99a3ae;font-size:11px;display:grid;place-items:center;border-radius:5px}.price{font-weight:650;font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}.pager{padding:16px 20px;display:flex;justify-content:space-between;align-items:center;color:#8894a2;font-size:12px}.empty{padding:75px 20px;text-align:center;color:#8b96a3}.note{background:#eef3f7;color:#6b7e90;border-radius:7px;padding:12px 16px;font-size:12px;margin:18px 0}.status-paused,.status-discontinued{background:#f1f2f4;color:#8d949d}dialog{border:1px solid #dce1e7;border-radius:13px;box-shadow:0 25px 90px #102b4930;padding:28px;max-width:760px;width:calc(100% - 35px);max-height:90vh;overflow:auto}dialog::backdrop{background:#11263883}dialog form{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #eee;padding-top:18px;margin-top:10px}.upload-area{border:1px dashed #bfcbd5;background:#fafcfd;padding:15px;border-radius:8px}.previews{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}.previews img{width:68px;height:85px;object-fit:contain;background:#f1f3f5;border-radius:5px}.preview-wrap{display:grid;gap:4px}.viewer{width:95vw;max-width:1200px}.image-stage{height:66vh;overflow:auto;display:grid;place-items:center;background:#f4f5f7;margin:18px 0}.image-stage img{max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;cursor:zoom-in}.account-card{padding:20px;border-bottom:1px solid #eee}.account-card:last-child{border-bottom:0}.import-box{padding:25px;display:grid;gap:20px}.import-box label{max-width:500px}.progress{height:5px;background:#e4eaf0;border-radius:4px;overflow:hidden}.progress>div{height:100%;background:#69869d;transition:width .3s}.error{color:#b34f3c}.credential{background:#f6f4ef;border:1px solid #e6dfd3;padding:18px;white-space:pre-wrap;user-select:text;word-break:break-all}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#22394f;color:#fff;padding:12px 22px;border-radius:8px;box-shadow:0 8px 25px #1233;z-index:20;display:none;max-width:90vw}#toast.visible{display:block}@media(max-width:900px){.shell{grid-template-columns:160px 1fr}.main{padding:25px 18px}.sidebar{padding:25px 8px}.sidebar .brand{font-size:18px}.toolbar input{width:100%}.login{grid-template-columns:1fr}.welcome{padding:35px}.welcome h1{font-size:27px}.welcome>small,.swatches{display:none}.welcome .brand{margin-bottom:30px}.page-head{align-items:flex-start}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}}@media(max-width:600px){.shell{display:block}.sidebar{position:relative;height:auto;padding:15px}.sidebar .brand{padding:0 0 10px}.sidebar nav{display:flex}.sidebar nav button{font-size:12px;padding:7px}.sidebar footer{display:none}.main{padding:22px 12px}h1{font-size:24px}.page-head{flex-direction:column;gap:15px}td,th{padding:9px}}
#main[aria-busy="true"]{cursor:progress}
.table-wrap table{min-width:830px}
button:focus-visible{outline:3px solid #8bb3cf;outline-offset:2px}
@media(max-width:600px){.sidebar footer{display:flex;align-items:center;gap:10px;padding:10px 0 0;flex-wrap:wrap}.sidebar footer br{display:none}.sidebar footer button{margin:0}.pager{flex-wrap:wrap;gap:12px}.table-wrap::after{content:'左右滑动可查看完整款式资料';display:block;padding:8px 14px;color:#8490a0;font-size:12px}.upload-area input{max-width:100%}}

.catalog-head .page-head{margin-bottom:14px;min-height:36px}.catalog-head .eyebrow,.catalog-head .page-head p{display:none}.catalog-head h1{font-size:22px}.main:has(.catalog-head){padding-top:20px}.category-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:12px 16px;border-bottom:1px solid #edf0f4}.category-tabs button{padding:5px 12px;border-color:transparent;background:#f3f5f7;font-size:13px;white-space:nowrap}.category-tabs button[aria-pressed="true"]{background:#253d56;color:white}.catalog-head+.panel .toolbar{padding:12px 16px}.catalog-head+.panel input[type="hidden"]{display:none}@media(max-width:600px){.category-tabs{flex-wrap:nowrap;overflow-x:auto;padding:10px}.catalog-head .page-head{flex-direction:row;align-items:center;gap:8px}.catalog-head h1{font-size:21px}.main:has(.catalog-head){padding-top:14px}}

.size-thumb{display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px;border:1px solid #e4e8ed;background:#fff;min-width:82px}.size-thumb img{display:block;width:82px;height:56px;object-fit:contain;background:#f8f9fb}.size-thumb span{font-size:11px;color:#567086;white-space:nowrap}.size-thumb:hover{border-color:#69869d;background:#f4f7fb}
