:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#223831;background:#f5f7f5;font-size:14px;--green:#25745a;--muted:#7a8982;--line:#e7ece8}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dce5de;border-radius:7px;padding:10px 16px;background:white;color:#304a3e}button:hover{background:#edf4ef}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--green);border-color:var(--green);color:white}button.quiet{border:0;background:transparent;color:var(--muted)}input,select,textarea{border:1px solid #dce5de;border-radius:7px;padding:10px;background:white;color:#304a3e}input:focus,textarea:focus,select:focus{outline:2px solid #9bc7b3}label{display:grid;gap:8px;margin:16px 0}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:-1px;font-weight:650;margin-bottom:8px}h2{font-size:17px;font-weight:600}small,.muted{color:var(--muted);font-size:12px}.brandmark{display:inline-grid;place-items:center;background:#25745a;color:white;width:37px;height:37px;border-radius:12px;font-size:22px}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:700}.brand small{display:block;font-size:8px;letter-spacing:1.5px;margin-top:5px}aside{width:222px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:28px 19px;display:flex;flex-direction:column}.team{margin:32px 0 26px;padding:13px 8px;border-block:1px solid var(--line);font-size:13px}.team span{float:right;color:#8a998f;font-size:11px}.nav-label{font-size:11px;color:#9aa69f;letter-spacing:2px;margin:0 14px 12px}nav button{display:flex;align-items:center;width:100%;border:0;text-align:left;margin:5px 0;padding:13px 16px;gap:14px;color:#6c7e74;background:transparent}nav button.active{background:#eaf3ed;color:var(--green);font-weight:600}nav i{font-style:normal;font-size:18px;width:20px}.aside-bottom{margin-top:auto;font-size:11px;color:#768b7e}.aside-bottom p{margin-top:13px;color:#9aa89f}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#74a389;margin-right:5px}.workspace{margin-left:222px}header{height:72px;background:#fff;border-bottom:1px solid var(--line);padding:0 36px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#76877e}header b{margin:0 16px;font-weight:400;color:#c8d0ca}main{padding:24px 36px 40px;max-width:1600px;margin:auto}.demo-banner{background:#f2efe3;border:1px solid #e8e1c8;border-radius:7px;padding:10px 14px;font-size:12px;color:#82754a;margin-bottom:27px}.demo-banner span{margin-left:12px;opacity:.85}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.page-title p{color:var(--muted);margin:0;font-size:12px}.pill{display:inline-block;border-radius:5px;padding:5px 8px;background:#edf5ef;color:#478267;font-size:11px}.pill.amber{background:#fff3df;color:#a27d37}.pill.gray{background:#f0f2f2;color:#7d8981}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:22px}.card,.panel{border:1px solid var(--line);border-radius:11px;background:white}.card{padding:22px}.card .metric{font-size:29px;letter-spacing:-1px;margin:16px 0 12px;font-weight:600}.card .caption{font-size:12px;color:#74847a}.up{font-size:11px;color:#418d69}.down{font-size:11px;color:#bb7b53}.grid{display:grid;grid-template-columns:1.7fr 1fr;gap:22px;margin-bottom:22px}.panel{padding:22px;margin-bottom:22px}.grid .panel{margin-bottom:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel-heading h2{margin:0}.chart{height:190px;display:flex;align-items:flex-end;gap:16px;padding-top:15px;border-bottom:1px solid var(--line)}.bar-group{flex:1;height:100%;display:flex;align-items:flex-end;justify-content:center;gap:4px;position:relative;padding-bottom:24px}.bar{width:14px;border-radius:4px 4px 0 0;background:#4e9274;min-height:2px}.bar.sale{background:#c6d6a8}.bar-group small{position:absolute;bottom:0;font-size:10px}.legend{font-size:11px;color:#819087}.legend span{margin-left:12px}.todo{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.todo:last-child{border:0}.todo p{font-size:12px;color:var(--muted);margin:5px 0 0}.todo strong{font-size:24px;font-weight:500;color:var(--green)}.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.toolbar input{min-width:220px}.toolbar .spacer{flex:1}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:12px}th{font-weight:400;color:#89968e;background:#f8faf8}td,th{padding:15px 13px;border-bottom:1px solid #eef1ee}td small{display:block;margin-top:5px}td.title{white-space:normal;min-width:190px}.product-icon{display:inline-grid;width:34px;height:34px;place-items:center;border-radius:7px;background:#eff3ec;color:#779183;margin-right:12px;font-size:18px;vertical-align:middle}.table-footer{margin-top:17px;color:var(--muted);font-size:11px}.empty{text-align:center;padding:45px;color:var(--muted)}.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.shop-grid .card h2{margin-top:18px}.shop-stats{display:flex;justify-content:space-between;margin:25px 0}.notice{padding:16px;border-radius:7px;background:#f6f8f5;color:#75877b;line-height:1.8;margin:18px 0;font-size:12px}dialog{border:1px solid var(--line);border-radius:13px;padding:26px;width:min(720px,94vw);max-height:85vh;color:#304a3e}dialog::backdrop{background:#142b2259;backdrop-filter:blur(3px)}dialog textarea{width:100%;min-height:115px}dialog input:not([type=checkbox]),dialog select{width:100%}dialog label.check{display:flex;align-items:center}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 24px;border-radius:8px;background:#244c3c;color:white;z-index:5;box-shadow:0 8px 30px #1233}#login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(at 20% 20%,#dfece1,transparent 55%)}#login[hidden],#shell[hidden]{display:none}#login form{width:390px;max-width:90vw;background:white;padding:36px;border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 70px #29462b0a}#login h1{margin-top:24px}#login button{width:100%;margin:10px 0 20px}#login-error{color:#b65d48}pre{white-space:pre-wrap;word-break:break-word;font-size:11px;max-width:480px}.result-error{color:#b65d48}@media(max-width:1050px){aside{width:185px;padding-inline:12px}.workspace{margin-left:185px}main{padding:20px}.cards{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.shop-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){aside{position:static;width:100%;padding:14px}.brand small,.team,.nav-label,.aside-bottom{display:none}nav{display:flex;overflow:auto;margin-top:10px}nav button{width:auto;white-space:nowrap;padding:10px}nav i{display:none}.workspace{margin-left:0}header{padding:0 20px;height:50px}.cards{gap:10px}.card{padding:16px}.card .metric{font-size:25px}.page-title{align-items:flex-start;gap:10px}.shop-grid{grid-template-columns:1fr}.demo-banner span{display:block;margin:5px 0 0}}

.product-image{width:42px;height:42px;object-fit:cover;border-radius:7px;float:left;margin-right:12px}
.row-actions{display:grid;grid-template-columns:repeat(2,auto);gap:5px}.row-actions button{padding:6px 9px}td:has(.row-actions){position:sticky;right:0;background:white;box-shadow:-3px 0 6px #edf2ee}.sales-chart{overflow-x:auto}.sales-chart .bar-group{min-width:32px}.change-cell{white-space:pre-wrap;word-break:break-word;min-width:220px;max-width:320px}