:root{color:#1b1b1d;background:#fcf8fa;font-family:Hanken Grotesk,Inter,Microsoft YaHei,PingFang SC,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#fcf8fa}button,input,select{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}input,select{width:100%;height:40px;border:1px solid #c6c6cd;border-radius:4px;padding:0 12px;background:#fff;color:#1b1b1d;outline:none}input:focus,select:focus{border-color:#0f172a;box-shadow:0 0 0 2px #0f172a14}label{display:grid;gap:8px;color:#45464d;font-size:13px;font-weight:700}.primary,.ghost{height:40px;border-radius:4px;padding:0 16px;font-weight:800}.primary{background:#000;color:#fff}.ghost{border:1px solid #c6c6cd;background:#fff;color:#1b1b1d}.wide{width:100%}.error{color:#93000a;background:#ffdad6;border:1px solid #ba1a1a;padding:10px 12px;border-radius:4px}.eyebrow{margin:0 0 4px;color:#76777d;font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(#0c131bb8,#0c131bb3),url(/assets/login-bg-BuzkZgzu.jpg) center/cover}.login-panel{width:min(820px,100%);min-height:420px;display:grid;grid-template-columns:1fr .92fr;background:#fff;border:1px solid #c6c6cd;border-radius:8px;overflow:hidden;box-shadow:0 24px 70px #00000042}.login-copy{padding:38px 48px 46px;background:#f6f3f5;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.login-logo{width:min(142px,64%);max-height:142px;height:auto;margin:0 auto 14px;display:block;object-fit:contain}.login-copy h1{margin:0 0 8px;color:#1b1b1d;font-size:31px;line-height:1.12}.login-subtitle{max-width:280px;margin:0 auto;color:#45464d;font-size:15px;font-weight:700;line-height:1.5}.login-form{padding:52px 42px;display:flex;flex-direction:column;justify-content:center;gap:16px;border-left:1px solid #e4e2e4}.form-head{margin-bottom:4px}.form-head h2{margin:0 0 6px;color:#1b1b1d;font-size:24px}.form-head p{margin:0;color:#76777d;font-size:13px}.shell{min-height:100vh;background:#fcf8fa}.topbar{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:#fff;border-bottom:1px solid #e4e2e4}.brand-title h1{margin:0;color:#1b1b1d;font-size:22px;font-weight:800;line-height:1}.nav{display:flex;align-items:center;gap:10px}.nav button{height:34px;border-radius:4px;padding:0 12px;background:transparent;color:#45464d;font-weight:800}.nav button.active{background:#000;color:#fff}.nav .user{color:#45464d;font-size:13px;font-weight:700;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layout{display:grid;grid-template-columns:286px 1fr;min-height:calc(100vh - 54px)}.filters{align-self:stretch;display:flex;flex-direction:column;gap:18px;padding:18px 16px;background:#f6f3f5;border-right:1px solid #e4e2e4}.filters h2{margin:0;color:#1b1b1d;font-size:14px;font-weight:800;letter-spacing:.02em}.two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.category-picker{display:grid;gap:10px}.category-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.text-button{height:auto;padding:0;background:transparent;color:#1b1b1d;font-size:12px;font-weight:800}.text-button.danger{color:#ba1a1a}.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:28px;color:#76777d;font-size:12px}.breadcrumb button{background:transparent;color:#565e74;font-weight:800;padding:0}.breadcrumb.muted{color:#76777d}.category-levels{display:grid;gap:8px;max-height:360px;overflow:auto;padding-right:2px}.category-level{display:grid;gap:6px;padding:8px;border:1px solid #e4e2e4;border-radius:4px;background:#fff}.category-clear{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e4e2e4;border-radius:4px;padding:8px 10px;background:#fff;color:#1b1b1d;text-align:left}.category-clear.active{background:#131b2e;color:#fff}.category-level p{margin:0 0 2px;color:#76777d;font-size:11px;font-weight:800;text-transform:uppercase}.category-level button{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:4px;padding:7px 9px;background:#fff;color:#1b1b1d;text-align:left}.category-level button.active{background:#131b2e;color:#fff}.category-level button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-level button small{flex:0 0 auto;color:inherit;opacity:.78;font-weight:800}.content{min-width:0;padding:28px 28px 36px;background:#fcf8fa}.content-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.content-head h2{margin:0 0 6px;color:#1b1b1d;font-size:30px;font-weight:800;line-height:1.1}.content-head p{margin:0;color:#76777d;font-size:15px;font-weight:700}.stats{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;margin-bottom:28px}.stat-card{position:relative;background:#fff;border:1px solid #c6c6cd;border-radius:8px;min-height:86px;padding:14px 14px 12px 22px;overflow:hidden}.stat-card:before{content:"";position:absolute;left:0;top:0;width:4px;height:100%;background:#64748b}.stats span{display:block;margin-top:6px;color:#050816;font-size:30px;font-weight:900;line-height:1}.stats small{color:#45464d;font-size:13px;font-weight:800}.stat-total:before{background:#64748b}.stat-sellable:before{background:#22c55e}.stat-apply:before,.stat-pending:before{background:#f59e0b}.stat-unsellable:before{background:#ef4444}.toolbar-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.toolbar-controls select{width:150px}.grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:10px}.product-card{overflow:hidden;background:#fff;border:1px solid #c6c6cd;border-radius:8px;cursor:pointer;transition:border-color .15s ease,background-color .15s ease}.product-card:hover{border-color:#131b2e;background:#fff}.image-wrap{display:block;aspect-ratio:1 / 1;background:#f0edef;border-bottom:1px solid #e4e2e4}.image-wrap img{width:100%;height:100%;object-fit:contain;display:block}.no-image{height:100%;display:grid;place-items:center;color:#76777d;font-weight:800}.card-body{display:grid;gap:5px;padding:8px}.card-title,.meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-title strong{min-width:0;overflow:hidden;color:#1b1b1d;font-family:JetBrains Mono,Consolas,monospace;font-size:11px;font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.flag{flex:0 0 auto;border-radius:2px;padding:2px 4px;font-size:10px;font-weight:900;background:#e4e2e4;color:#45464d}.flag-1{background:#dcfce7;color:#15803d}.flag-2{background:#fff7ed;color:#c2410c}.flag-3{background:#fee2e2;color:#dc2626}.fulfillment-badge{flex:0 0 auto;border-radius:2px;padding:2px 4px;font-size:10px;font-weight:900;line-height:1.25;background:#e4e2e4;color:#45464d}.fulfillment-fba{background:#d0e1fb;color:#38485d}.fulfillment-fbm{background:#fcdeb5;color:#574425}.fulfillment-unknown{background:#e4e2e4;color:#45464d}.external-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding-top:2px}.pill-action{display:inline-flex;align-items:center;justify-content:center;min-width:0;height:24px;padding:0 5px;background:#fff;border:1px solid #c6c6cd;border-radius:3px;color:#1b1b1d;font-size:10px;font-weight:900;line-height:1;text-decoration:none;white-space:nowrap;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.pill-action:hover:not(:disabled){background:#000;border-color:#000;color:#fff}.pill-action.accent{border-color:#c6c6cd;color:#1b1b1d}.tutorial-page{min-height:calc(100vh - 54px);padding:32px;background:linear-gradient(180deg,#131b2e0a,#131b2e00),#fcf8fa}.tutorial-card{max-width:920px;min-height:520px;margin:0 auto;padding:36px;border:1px solid #c6c6cd;border-radius:8px;background:#fff;box-shadow:0 18px 48px #10182814}.tutorial-kicker{margin:0 0 8px;color:#565e74;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.tutorial-card h2{margin:0;color:#1b1b1d;font-size:34px;line-height:1.1}.tutorial-status{display:inline-flex;align-items:center;height:28px;margin:18px 0 22px;padding:0 10px;border-left:4px solid #f59e0b;background:#fff7ed;color:#9a3412;font-size:13px;font-weight:900}.tutorial-card pre{margin:0;padding:22px;border:1px solid #e4e2e4;border-radius:6px;background:#f6f3f5;color:#303032;font-family:Microsoft YaHei,PingFang SC,Arial,sans-serif;font-size:15px;line-height:1.75;white-space:pre-wrap}.category,.brand{margin:0;color:#45464d;font-size:11px;line-height:1.35}.category{min-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meta{flex-wrap:nowrap;color:#1b1b1d;font-weight:800;font-size:11px}.meta>span{min-width:0;white-space:nowrap}.meta>span:last-child{margin-left:auto;color:#f59e0b;text-align:right}.secondary-meta{color:#76777d;font-size:10px;font-weight:700}.secondary-meta>span:last-child{color:inherit}.toast{position:fixed;top:70px;right:24px;z-index:20;max-width:min(360px,calc(100vw - 32px));padding:14px 18px;border-radius:4px;border:1px solid #22c55e;background:#f0fdf4;color:#166534;font-weight:800;box-shadow:0 18px 46px #1665342e;animation:toast-in .18s ease-out}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.empty{padding:46px;text-align:center;background:#fff;border:1px solid #c6c6cd;border-radius:8px;color:#76777d}.pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:28px 0 8px}.page-button{min-width:38px;height:38px;padding:0 10px;border:1px solid #c6c6cd;border-radius:4px;background:#fff;color:#1b1b1d;font-weight:800;cursor:pointer}.page-button.active{background:#000;border-color:#000;color:#fff}.page-button:disabled,.jump-form button:disabled{cursor:not-allowed;opacity:.55}.jump-form{display:inline-flex;align-items:center;gap:8px;color:#45464d;font-size:14px}.jump-form input{width:76px;height:38px;padding:0 10px;border:1px solid #c6c6cd;border-radius:4px;background:#fff;color:#1b1b1d;font-weight:800}.admin-page{padding:22px}.admin-head,.permission-note,.table-wrap{background:#fff;border:1px solid #c6c6cd;border-radius:8px}.admin-head{display:flex;justify-content:space-between;align-items:center;padding:18px;margin-bottom:16px}.admin-head h2{margin:0}.link-button{display:inline-flex;align-items:center;text-decoration:none}.permission-note{padding:16px;margin-bottom:16px}.permission-note p{margin:8px 0 0;color:#45464d;line-height:1.6}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:13px 14px;border-bottom:1px solid #e4e2e4;text-align:left;white-space:nowrap}th{color:#76777d;font-size:12px}td select{min-width:160px}@media (max-width: 1600px){.grid{grid-template-columns:repeat(8,minmax(0,1fr))}}@media (max-width: 1280px){.layout{grid-template-columns:260px 1fr}.content{padding:24px}.grid{grid-template-columns:repeat(5,minmax(0,1fr))}.stats{grid-template-columns:repeat(3,minmax(150px,1fr))}}@media (max-width: 900px){.login-panel,.layout{grid-template-columns:1fr}.login-copy,.login-form{padding:32px 24px}.topbar{height:auto;min-height:64px;flex-direction:column;align-items:flex-start;padding:14px 16px;gap:12px}.nav{width:100%;flex-wrap:wrap}.filters{border-right:0;border-bottom:1px solid #e4e2e4}.content-head{flex-direction:column}.toolbar-controls{width:100%;justify-content:stretch}.toolbar-controls select{flex:1 1 150px;width:auto}.stats,.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 560px){.brand-title h1{font-size:18px}.content{padding:16px}.content-head h2{font-size:24px}.stats,.grid,.two,.external-actions{grid-template-columns:1fr}}
