.stock-studio{--ink:#253d35;--green:#365d4b;--muted:#7b837c;--line:#e4e8df;background:#f7f8f3;color:var(--ink);font:14px system-ui,sans-serif;display:flex;min-height:100vh}.stock-studio *{box-sizing:border-box}.stock-studio button,.stock-studio input,.stock-studio select,.stock-studio textarea{font:inherit}.stock-studio button{cursor:pointer}.stock-studio button:focus-visible,.stock-studio input:focus-visible,.stock-studio select:focus-visible,.stock-studio textarea:focus-visible{outline:3px solid #a6bd84;outline-offset:2px}.stock-studio aside{width:224px;background:#eef1e8;border-right:1px solid var(--line);padding:32px 24px;display:flex;flex-direction:column;flex-shrink:0}.stock-studio .brand{font-size:23px;font-weight:800;letter-spacing:-1px}.stock-studio .brand span{display:block;font-size:9px;letter-spacing:2px;margin:10px 0 40px}.stock-studio .logo{display:inline-grid;place-items:center;background:var(--green);color:#fff;width:28px;height:32px;border-radius:14px 14px 7px 7px;margin-right:7px}.stock-studio nav button{display:block;width:100%;text-align:left;padding:13px 12px;border:0;border-radius:7px;margin:5px 0;background:transparent;color:#677362}.stock-studio nav button.active{background:#dce5d4;color:var(--green);font-weight:700}.stock-studio .sidefoot{margin-top:auto;padding-top:40px;font-size:12px;color:var(--muted)}.stock-studio .sidefoot button{display:block;width:100%;margin-top:8px}.stock-studio main{padding:34px 4%;width:calc(100% - 224px);min-width:0}.stock-studio .top{display:flex;gap:12px;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:24px;color:var(--muted);font-size:12px}.stock-studio .heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:35px 0 27px}.stock-studio h1{font-size:32px;margin:0 0 8px;letter-spacing:-1px}.stock-studio h2{font-size:19px;margin:0}.stock-studio p{color:var(--muted);line-height:1.6;margin:6px 0}.stock-studio .btn{border:1px solid var(--line);border-radius:7px;background:#fff;padding:11px 15px;color:var(--ink);font-weight:600}.stock-studio .primary{background:var(--green);color:#fff;border-color:var(--green)}.stock-studio .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stock-studio .stat{padding:22px;background:#fff;border:1px solid var(--line);border-radius:10px}.stock-studio .stat label{color:var(--muted);font-size:12px}.stock-studio .stat b{font-size:32px;display:block;margin:12px 0 7px}.stock-studio .stat small{color:var(--muted);font-size:11px}.stock-studio .stat.warn{background:#f4edde}.stock-studio .stat.warn b{color:#99702c}.stock-studio .banner{margin:25px 0 32px;padding:20px 24px;background:#e9eedf;border:1px solid #dbe3cc;border-radius:9px;display:flex;align-items:center;gap:17px}.stock-studio .banner .icon{font-size:26px}.stock-studio .banner p{font-size:12px}.stock-studio .banner button{margin-left:auto;background:transparent;border:0;font-weight:700;color:var(--green);white-space:nowrap}.stock-studio .sectionhead{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:19px}.stock-studio .sectionhead p{font-size:12px}.stock-studio .buttons{display:flex;gap:8px;flex-wrap:wrap}.stock-studio .tools{display:flex;gap:10px;margin-bottom:18px}.stock-studio .tools input{flex:1;min-width:0}.stock-studio .tools input,.stock-studio .tools select{background:#fff;border:1px solid var(--line);padding:11px 13px;border-radius:7px;color:var(--ink)}.stock-studio .tablewrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:10px}.stock-studio table{border-collapse:collapse;width:100%;text-align:left}.stock-studio th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);background:#fcfcf9;padding:16px;white-space:nowrap}.stock-studio td{padding:17px 16px;border-top:1px solid #edf0e8;font-size:12px}.stock-studio .itemname{font-weight:700;font-size:13px;margin-bottom:4px}.stock-studio .sub{font-size:10px;color:var(--muted);margin-top:5px}.stock-studio .badge{border-radius:5px;padding:5px 8px;background:#eaf1e5;color:#4b6934;font-size:10px;white-space:nowrap}.stock-studio .badge.low{background:#fbefdb;color:#86601e}.stock-studio .badge.urgent{background:#f8e6e0;color:#974b30}.stock-studio .progress{width:70px;height:4px;background:#eef0e8;margin-top:7px;border-radius:3px}.stock-studio .progress span{display:block;background:#9eb58a;height:100%;border-radius:3px}.stock-studio .action{border:1px solid var(--line);border-radius:5px;background:#fff;padding:7px 10px;color:var(--green);font-size:11px;white-space:nowrap}.stock-studio .foot{font-size:11px;color:var(--muted);margin-top:16px}.stock-studio .tip{margin-top:30px;border-top:1px solid var(--line);padding-top:20px;font-size:11px;color:var(--muted);line-height:1.7}.stock-studio .ss-dialog{color:var(--ink);border:0;border-radius:14px;padding:28px;width:min(500px,92vw);max-height:90vh;box-shadow:0 20px 90px #203b3530}.stock-studio .ss-dialog::backdrop{background:#142c2455}.stock-studio .modalheading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:20px}.stock-studio form label{display:block;font-size:12px;margin:13px 0 5px}.stock-studio form input,.stock-studio form select,.stock-studio form textarea{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #dce2d6;border-radius:5px;background:#fff;color:var(--ink)}.stock-studio .row{display:flex;gap:12px}.stock-studio .row>label{flex:1;min-width:0}.stock-studio .formbuttons{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.stock-studio .danger{color:#a35440;margin-right:auto}.stock-studio .empty{padding:40px;text-align:center}.stock-studio .toast{position:fixed;bottom:25px;right:25px;background:var(--green);color:#fff;padding:14px 22px;border-radius:8px;z-index:100}.stock-studio .sample{font-size:10px;border:1px solid #d9dfd0;border-radius:4px;padding:3px 7px;margin-left:8px;color:#667258}.stock-studio .suppliergrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-top:16px}.stock-studio .suppliercontact{margin:16px 0;padding-top:12px;border-top:1px solid var(--line);overflow-wrap:anywhere}.stock-studio a{color:var(--green)}.stock-studio .error{background:#f8e6e0;color:#974b30;padding:12px;border-radius:6px}.stock-studio pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 system-ui;background:#f7f8f3;padding:16px;border-radius:8px}.stock-studio .delivery{font-size:12px}@media(max-width:1050px){.stock-studio aside{width:190px;padding:24px 16px}.stock-studio main{width:calc(100% - 190px);padding:26px}.stock-studio .stats{grid-template-columns:1fr 1fr}.stock-studio .sectionhead{align-items:flex-start;flex-direction:column}}@media(max-width:700px){.stock-studio{display:block}.stock-studio aside{width:100%;padding:18px}.stock-studio .brand span{margin-bottom:12px}.stock-studio nav{display:flex;overflow:auto}.stock-studio nav button{white-space:nowrap;width:auto}.stock-studio .sidefoot{padding-top:12px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.stock-studio .sidefoot p{display:none}.stock-studio .sidefoot button{width:auto;margin:0}.stock-studio main{width:100%;padding:20px}.stock-studio .top{font-size:10px}.stock-studio h1{font-size:26px}.stock-studio .stat{padding:16px}.stock-studio .heading{align-items:flex-start}.stock-studio .banner{padding:16px;gap:10px}.stock-studio .banner button{font-size:11px;white-space:normal}.stock-studio .tools{flex-wrap:wrap}.stock-studio .tools input{flex-basis:100%}.stock-studio .tools select{min-width:0;flex:1}}
