:root{font-family:'Segoe UI','Microsoft YaHei',Arial,sans-serif;color:#222b28;background:#f3f0e9;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.45;cursor:not-allowed}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:#1f2a27;color:#f6f3eb;padding:28px 16px;display:flex;flex-direction:column;gap:36px}.brand{display:flex;gap:11px;align-items:center;padding:0 10px}.logo{width:36px;height:36px;border-radius:9px;background:#ed5a34;color:white;display:grid;place-items:center;font-size:24px;font-weight:800}.brand strong{display:block;font-size:16px;letter-spacing:.04em}.brand small{color:#aaaFA7;letter-spacing:.12em;font-size:10px}.nav{display:grid;gap:5px}.nav button{border:0;background:transparent;color:#c5cbc3;text-align:left;padding:12px 16px;border-radius:8px;font-weight:600;display:flex;gap:12px;align-items:center}.nav button:hover,.nav button.active{background:#3b4b44;color:#fff}.nav button.active:before{content:'';height:16px;width:3px;background:#f36b45;border-radius:3px;margin-left:-8px}.aside-note{margin-top:auto;padding:16px;border-top:1px solid #4a5851;color:#a9b2a9;font-size:12px;line-height:1.7}.aside-note button{margin-top:12px;background:none;border:0;color:#fff;padding:0;text-decoration:underline}.main{padding:28px 34px 70px;max-width:1600px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:16px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;color:#8a928c;font-weight:700}.topbar h1{font-size:30px;line-height:1.2;margin:5px 0 0;letter-spacing:-.04em}.userchip{border:1px solid #d9dbd2;border-radius:999px;padding:8px 13px;color:#59625c;font-size:12px;white-space:nowrap}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 19px}.toolbar input,.toolbar select{min-width:150px}.spacer{flex:1}.button{background:#ed5a34;border:1px solid #ed5a34;color:white;padding:10px 15px;border-radius:7px;font-weight:700;white-space:nowrap}.button:hover{background:#d94a27}.button.secondary{background:#fff;color:#26332d;border-color:#d6d9d0}.button.ghost{background:transparent;color:#46544b;border-color:transparent}.button.small{padding:6px 10px;font-size:12px}.field,input,select,textarea{border:1px solid #d5d9d1;background:#fff;border-radius:7px;padding:10px 11px;color:#23302a;outline:none}input:focus,select:focus,textarea:focus{border-color:#e66b49;box-shadow:0 0 0 3px #ed5a3422}textarea{min-height:85px;resize:vertical}.panel{background:#fff;border:1px solid #e0e3dc;border-radius:11px;box-shadow:0 3px 15px #20302509;overflow:hidden}.panel.pad{padding:20px}.panel-title{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #edf0ea}.panel-title h2{margin:0;font-size:16px}.muted{color:#7b857d}.grid{display:grid;gap:15px}.stats{grid-template-columns:repeat(4,1fr);margin-bottom:20px}.stat{padding:20px}.stat small{color:#7b857d}.stat strong{display:block;font-size:34px;margin-top:14px;letter-spacing:-.05em}.stat span{font-size:12px;color:#849087}.split{grid-template-columns:1.25fr .75fr}.tablewrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:750px}.table th{text-align:left;color:#7c877d;background:#fafbf8;font-size:11px;letter-spacing:.07em;text-transform:uppercase;font-weight:700}.table th,.table td{padding:13px 17px;border-bottom:1px solid #edf0e9;vertical-align:middle}.table tbody tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#fdfbf7}.link{border:0;background:none;color:#d95835;padding:0;font-weight:700;text-align:left}.sku{font:600 12px/1.3 ui-monospace,SFMono-Regular,monospace;color:#7b867e}.tag{display:inline-flex;border-radius:5px;background:#edf2ed;color:#446151;padding:4px 7px;font-size:11px;font-weight:700}.tag.orange{background:#fff0e8;color:#cc542f}.tag.warn{background:#fff1dd;color:#a56917}.empty{text-align:center;padding:54px 20px;color:#859087}.empty strong{display:block;color:#38453d;font-size:17px;margin-bottom:7px}.market-card{padding:18px;border-bottom:1px solid #edf0e9}.market-card:last-child{border:0}.market-card strong{display:block;margin-bottom:6px}.market-card p{color:#68746b;margin:0;line-height:1.7}.two-col{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.form-grid label,.stack label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#5a675d}.form-grid label.wide{grid-column:span 2}.form-grid label.full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea,.stack input,.stack select,.stack textarea{width:100%}.section-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;color:#777f77;margin:25px 0 12px;border-top:1px solid #ecefe8;padding-top:22px}.actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.drawer-backdrop{position:fixed;inset:0;background:#15231c88;z-index:10;display:flex;justify-content:flex-end}.drawer{width:min(850px,100%);height:100%;background:#f8f7f2;overflow:auto;padding:24px 28px 40px;box-shadow:-10px 0 30px #14221822}.drawer-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.drawer-head h2{font-size:24px;margin:4px 0}.close{border:0;background:#e9ebe5;border-radius:7px;width:34px;height:34px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.detail{background:#fff;border:1px solid #e5e8e1;padding:12px;border-radius:8px}.detail small{color:#829087;display:block;margin-bottom:6px}.detail strong{font-size:14px;word-break:break-word}.detail.full{grid-column:1/-1}.detail-banner{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:18px}.notice{padding:12px 14px;background:#fff4df;border:1px solid #f5dfb0;color:#8e5a0d;border-radius:8px;font-size:12px;line-height:1.7}.notice.blue{background:#ecf5f1;border-color:#cfe5d9;color:#436451}.quote-line{display:grid;grid-template-columns:1.5fr .6fr .7fr .7fr auto;gap:8px;align-items:end;margin-bottom:9px}.quote-line label{display:grid;gap:5px;font-size:11px;color:#657267}.quote-line select,.quote-line input{width:100%}.quote-line button{height:39px}.mono{font-family:ui-monospace,SFMono-Regular,monospace}.codebox{white-space:pre-wrap;background:#26332d;color:#f6f6eb;border-radius:8px;padding:20px;line-height:1.7;font-size:13px;word-break:break-word}.toast{position:fixed;bottom:20px;right:20px;z-index:30;background:#24352b;color:white;padding:12px 17px;border-radius:8px;box-shadow:0 8px 25px #0003}.toast.error{background:#a73928}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-art{background:#20332c;color:white;padding:9vw;display:flex;flex-direction:column;justify-content:center}.login-art .logo{width:58px;height:58px;font-size:36px;margin-bottom:40px}.login-art h1{font-size:clamp(42px,5vw,74px);letter-spacing:-.065em;line-height:1.07;margin:0 0 22px}.login-art p{color:#bed0c3;max-width:420px;line-height:1.9}.login-form{display:grid;place-items:center;padding:30px}.login-card{width:min(380px,100%)}.login-card h2{font-size:27px;margin:8px 0 25px}.login-card .stack{display:grid;gap:15px}.login-card .button{width:100%;margin-top:8px}.footnote{margin-top:25px;color:#88928a;font-size:12px;line-height:1.7}@media(max-width:950px){.shell{grid-template-columns:1fr}.sidebar{padding:13px 18px;gap:10px}.nav{display:flex;overflow:auto;gap:4px}.nav button{white-space:nowrap;font-size:12px;padding:9px 11px}.nav button.active:before,.aside-note{display:none}.main{padding:22px 18px 90px}.stats{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.login{grid-template-columns:1fr}.login-art{min-height:260px;padding:35px}.login-art h1{font-size:38px}.login-form{padding:35px}}@media(max-width:600px){.topbar h1{font-size:25px}.topbar{align-items:start}.userchip{display:none}.stats{gap:8px}.stat{padding:15px}.stat strong{font-size:28px}.form-grid,.two-col,.three-col,.detail-grid{grid-template-columns:1fr 1fr}.form-grid label.wide,.form-grid label.full,.detail.full{grid-column:1/-1}.quote-line{grid-template-columns:1fr 1fr}.quote-line label:first-child{grid-column:1/-1}.drawer{padding:18px}.toolbar input{width:100%}}
@media(prefers-color-scheme:dark){:root{background:#141d19;color:#e7eee7}.main{background:#141d19}.panel,.detail{background:#233029;border-color:#3c4b40}.table th{background:#28372e;color:#abb9ab}.table td,.table th,.panel-title,.market-card{border-color:#3c4b40}.table tbody tr:hover{background:#2b3b31}.muted,.empty,.market-card p,.sku{color:#adbbae}.field,input,select,textarea{background:#202c25;color:#e7eee7;border-color:#526057}.button.secondary{background:#2e3c32;color:#e7eee7;border-color:#58695b}.drawer{background:#19251e}.close{background:#334236;color:white}.tag{background:#375143;color:#c8e0cc}.notice.blue{background:#273d32;border-color:#385745;color:#c3dfcd}.notice{background:#47351f;border-color:#6a512a;color:#f7d48c}.section-label{border-color:#3c4b40}.footnote{color:#adb9ac}}
.product-cell{display:flex;align-items:center;gap:12px;min-width:220px}.product-cell>div:last-child{min-width:0}.product-photo{position:relative;flex:none;width:78px;height:78px;border:1px solid #e2e5de;border-radius:8px;overflow:hidden;background:#f6f3ec;display:grid;place-items:center}.product-photo img{display:block;width:100%;height:100%;object-fit:contain}.product-photo.large{width:100%;height:310px;margin:0 0 18px;border-radius:11px}.product-photo.large img{object-fit:contain}.photo-empty{color:#99a39a;font-size:11px}.photo-label{position:absolute;right:4px;bottom:4px;padding:2px 4px;border-radius:3px;background:#233329d9;color:#fff;font-size:9px;line-height:1.25;white-space:nowrap}.product-photo.large .photo-label{right:12px;bottom:12px;font-size:11px;padding:5px 7px}.form-image-preview{padding:10px;border:1px dashed #d0d8cd;border-radius:7px}.form-image-preview .product-photo{width:140px;height:110px}.form-grid input[type=file]{padding:7px;font-size:11px}@media(max-width:600px){.product-photo{width:60px;height:60px}.product-photo.large{height:230px}.product-cell{gap:8px}}
.product-cell .product-photo{width:104px;height:78px}.photo-label{left:auto;right:3px;bottom:3px;padding:2px 3px;text-align:center;font-size:8px}.product-photo.large .photo-label{right:12px;bottom:12px;font-size:11px;padding:5px 7px}.form-image-preview .photo-label{right:4px;padding:2px 4px;font-size:9px}@media(max-width:600px){.product-cell .product-photo{width:98px;height:68px}}
.product-table{min-width:1080px}.product-table th:nth-child(3),.product-table td:nth-child(3),.product-table th:nth-child(4),.product-table td:nth-child(4){white-space:nowrap}
@media(max-width:1200px){.product-table{min-width:750px}.product-table th:nth-child(2),.product-table td:nth-child(2){display:none}}
.detail-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.detail-actions .button{min-height:36px}
[hidden]{display:none!important}.catalog-segments{display:flex;gap:8px;margin:0 0 22px;padding:5px;border:1px solid #d9ddd5;border-radius:10px;background:#e8ebe4;width:max-content;max-width:100%}.catalog-segment{display:flex;align-items:center;gap:20px;justify-content:space-between;min-width:170px;min-height:46px;padding:8px 15px;border:1px solid transparent;border-radius:7px;background:transparent;color:#4f5e54;font-weight:700}.catalog-segment strong{font-size:12px;border-radius:999px;padding:3px 8px;background:#d8dfd5;color:#34463a}.catalog-segment.active{background:#fff;border-color:#d2d9ce;color:#1f3025;box-shadow:0 1px 5px #1a30200c}.catalog-segment.active strong{background:#e9eee7;color:#244b32}@media(max-width:600px){.catalog-segments{width:100%}.catalog-segment{min-width:0;flex:1;gap:6px;font-size:12px;padding:7px 9px}}
