:root{--brand:#1ab394;--ink:#334155;--muted:#64748b;--line:#e3e8ef;--nav:#243447;--bg:#f3f5f7}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}a{color:#147b91;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{display:inline-block;padding:8px 15px;border:1px solid transparent;background:var(--brand);color:white;border-radius:3px;cursor:pointer;text-decoration:none}.secondary{background:white;color:var(--ink);border-color:var(--line)}.danger{background:#cb4949}.small{padding:5px 10px;font-size:12px}button:disabled{opacity:.5;cursor:not-allowed}.sidebar{position:fixed;inset:0 auto 0 0;width:216px;background:var(--nav);color:white;overflow:auto}.brand{padding:28px 24px 24px;font-size:20px;letter-spacing:.04em;border-bottom:1px solid #3a4a5d}.brand small{display:block;font-size:11px;color:#a5b5c9;letter-spacing:.1em;margin-top:6px}.sidebar nav{padding:15px 0}.sidebar nav a{display:block;padding:12px 24px;color:#ccdae8}.sidebar nav a.active{background:#172536;border-left:4px solid var(--brand);color:white;padding-left:20px}.sidebar nav i{width:24px}.topbar{height:66px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;margin-left:216px}.topbar form{display:inline-block;margin-left:15px}.content{margin-left:216px;padding:28px 30px;max-width:1720px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:20px}h1{font-size:24px;margin:0;color:#263445;font-weight:600}h2{font-size:17px;margin:0 0 20px;font-weight:600}h3{font-size:15px;margin:18px 0 12px}.muted{color:var(--muted)}.panel{background:white;border:1px solid var(--line);border-radius:3px;padding:24px;margin-bottom:22px}.panel.table-panel{padding:0;overflow:auto}.notice{border-left:3px solid #2b91a9;background:#eaf4f7;padding:12px 16px;margin:0 0 20px}.notice.error{background:#fff0ef;border-color:#c74545;color:#a02e2e}.notice.success{background:#eaf7ef;border-color:#269753;color:#247044}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:22px}.stat{background:white;padding:22px;border:1px solid var(--line)}.stat strong{font-size:32px;font-weight:500;display:block}.table{width:100%;border-collapse:collapse;margin:0}.table th,.table td{text-align:left;border-bottom:1px solid var(--line);padding:14px 18px;vertical-align:top}.table th{color:#64748b;background:#fafbfd;font-weight:500;white-space:nowrap}.table td{font-size:13px}.table tr:last-child td{border-bottom:0}.badge{display:inline-block;background:#eaf1f4;border-radius:3px;padding:2px 8px;color:#486173;white-space:nowrap}.badge.good{background:#eaf7ef;color:#208559}.badge.warn{background:#fff4dc;color:#9a6a13}.field{margin-bottom:18px;max-width:850px}.field label{display:block;font-weight:500;margin-bottom:7px}.field input:not([type=checkbox]),.field select,.field textarea,.filter input,.filter select,.sku-table input,.inline-form input,.inline-form select{width:100%;border:1px solid #cfd7e1;border-radius:3px;background:white;padding:9px 10px;color:var(--ink)}.field textarea{min-height:108px;resize:vertical}.field small{display:block;margin-top:5px;color:var(--muted)}input:focus,textarea:focus,select:focus{outline:2px solid #1ab39466;outline-offset:1px}.field .check{display:flex;gap:10px;align-items:center;font-weight:400}.field input[type=checkbox]{width:17px;height:17px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:28px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:22px}.filter{display:flex;gap:10px;margin-bottom:18px}.filter input{max-width:340px}.filter select{max-width:170px}.pagination{display:flex;justify-content:space-between;margin:18px 0}.details{display:grid;grid-template-columns:150px 1fr;gap:10px 20px;max-width:950px}.details dt{font-weight:400;color:var(--muted)}.details dd{margin:0;overflow-wrap:anywhere}.sku-table{min-width:900px}.sku-table td,.sku-table th{padding:10px}.sku-table input{min-width:80px}.sku-table .sku-title{min-width:150px}.table-wrap{overflow:auto}.inline-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inline-form select{width:auto}.inline-form input[type=checkbox]{width:auto}.pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.login-shell{width:min(450px,calc(100% - 32px));margin:10vh auto}.login-brand{font-size:26px;text-align:center;margin-bottom:25px}.login-brand small{display:block;font-size:13px;letter-spacing:.1em;color:var(--muted);margin-top:8px}.login-shell .panel{padding:32px}.login-shell button{width:100%}.footer{color:#94a3b8;font-size:12px;text-align:center;padding:22px}.read-only{color:#a8710e;font-size:13px}.empty{padding:44px;text-align:center;color:var(--muted)}.thumb{width:46px;height:46px;object-fit:cover;border-radius:3px;float:left;margin-right:12px}.mono{font-family:Consolas,monospace;font-size:12px}.section-links{display:flex;gap:20px;margin-bottom:22px}.nowrap{white-space:nowrap}summary{cursor:pointer;color:#147b91}details{margin:16px 0}fieldset{border:0;padding:0;margin:0}legend{font-size:17px;margin-bottom:18px}@media(max-width:1000px){.sidebar{width:180px}.content,.topbar{margin-left:180px}.content{padding:22px 18px}.two-col{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.sidebar{position:static;width:100%}.brand{padding:15px 20px}.sidebar nav{display:flex;overflow:auto;padding:0}.sidebar nav a{white-space:nowrap;padding:11px 15px}.sidebar nav a.active{border-left:0;border-bottom:3px solid var(--brand);padding:11px 15px 8px}.content,.topbar{margin-left:0}.topbar{padding:0 18px}.topbar .muted{display:none}.content{padding:20px 12px}.heading{align-items:flex-start}.panel{padding:18px}.details{grid-template-columns:100px 1fr}.stats{gap:10px}.stat{padding:15px}.filter{flex-wrap:wrap}.table th,.table td{padding:12px}.login-shell{margin-top:5vh}}

.sku-table button{white-space:nowrap;min-width:58px}.table>tbody>tr>td.empty{text-align:center;padding:34px}
