*{box-sizing:border-box}:root{font-family:Inter,system-ui,sans-serif;color:#202124;background:#f4f5f7}body{margin:0}.app{display:flex;min-height:100vh}.sidebar{width:248px;background:#111214;color:#fff;padding:24px 16px;display:flex;flex-direction:column;gap:34px}.brand{display:flex;gap:11px;align-items:center;padding:4px 10px}.brandMark{width:34px;height:34px;border-radius:10px;background:#fff;color:#111;display:grid;place-items:center;font-size:11px;font-weight:800}.brand strong,.brand span{display:block}.brand span{font-size:12px;color:#92959b;margin-top:2px}.sidebar nav{display:grid;gap:5px}.sidebar nav button{border:0;background:transparent;color:#aeb1b7;text-align:left;padding:12px 13px;border-radius:10px;font:inherit;cursor:pointer}.sidebar nav button.active,.sidebar nav button:hover{background:#25272b;color:#fff}.sidebar nav button span{margin-left:10px}.printerCard{margin-top:auto;background:#1c1e22;border-radius:14px;padding:15px}.printerCard .online{font-size:13px;color:#cfd2d7}.printerCard i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#69b86c;margin-right:7px}.printerCard strong{display:block;font-size:20px;margin:10px 0 2px}.printerCard span{font-size:11px;color:#858990}.content{flex:1;max-width:1500px;margin:0 auto;padding:34px 42px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.18em;color:#858a92;margin:0 0 7px}.topbar h1{margin:0;font-size:32px;letter-spacing:-.04em}.profile{width:38px;height:38px;border:0;border-radius:50%;background:#202124;color:#fff;font-weight:700}.hero{background:#191a1d;color:#fff;border-radius:22px;padding:30px 34px;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.hero h2{font-size:38px;letter-spacing:-.05em;margin:12px 0 6px}.hero p{color:#aeb1b7;margin:0}.pill{font-size:10px;letter-spacing:.1em;color:#a8d8aa}.heroPrinter{text-align:right;color:#777c84;font-size:11px;letter-spacing:.12em}.bigStatus{font-size:29px;color:#fff;letter-spacing:-.04em;margin:7px 0}.heroPrinter small{letter-spacing:0;color:#777c84}.statsGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:16px}.stat{background:#fff;border:1px solid #e4e6e9;border-radius:16px;padding:19px}.stat span,.stat small{display:block;color:#737982;font-size:12px}.stat strong{display:block;font-size:27px;margin:8px 0 3px;letter-spacing:-.04em}.twoCol{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel{background:#fff;border:1px solid #e4e6e9;border-radius:18px;padding:22px}.panelHead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}.panelHead h3{margin:0;font-size:17px}.panelHead p{margin:4px 0 0}.panelHead button{border:0;background:transparent;color:#6d7178;cursor:pointer}.primary{background:#17181b!important;color:#fff!important;padding:10px 14px!important;border-radius:9px!important}.spoolRow,.printRow{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #eef0f2}.spoolDot{width:11px;height:11px;border-radius:50%;background:#27292d;flex:none}.spoolInfo{flex:1}.spoolInfo strong,.spoolInfo span,.printRow strong,.printRow span{display:block}.spoolInfo span,.printRow span{font-size:11px;color:#7b8088;margin-top:3px}.weight{width:105px}.weight strong{font-size:12px}.bar{height:4px;background:#e8eaed;border-radius:9px;margin-top:6px;overflow:hidden}.bar i{display:block;height:100%;background:#27292d}.pct,.low{font-size:11px;width:30px;text-align:right}.low{color:#c4574f}.printRight{text-align:right}.pagePanel{min-height:500px}.tableRow{display:grid;grid-template-columns:1.5fr 1fr .8fr .8fr .6fr .6fr;gap:12px;align-items:center;padding:15px 8px;border-top:1px solid #eef0f2;font-size:13px}.tableRow span{color:#747981}.form{display:flex;gap:9px;background:#f6f7f8;border-radius:12px;padding:12px;margin-bottom:15px}.form input,.form select{border:1px solid #dfe2e6;border-radius:8px;padding:10px;background:#fff;min-width:0}.form input:first-child{flex:1}.muted{color:#777d85;font-size:12px}.tag{background:#edf5ed;color:#4c8750!important;border-radius:20px;padding:5px 9px;text-align:center}.chart{height:360px}.bars{height:230px;display:flex;align-items:end;gap:12px;border-bottom:1px solid #e7e9eb;margin-top:20px}.bars i{flex:1;background:#282a2e;border-radius:5px 5px 0 0}.months{display:flex;justify-content:space-between;color:#8a8f96;font-size:11px;padding-top:10px}.statsPage .statsGrid{margin-bottom:16px}@media(max-width:950px){.sidebar{width:72px}.sidebar .brand strong,.sidebar .brand span,.sidebar nav button span,.printerCard{display:none}.content{padding:25px}.twoCol,.statsGrid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.sidebar{display:none}.content{padding:20px}.statsGrid,.twoCol{grid-template-columns:1fr}.hero{padding:24px;display:block}.heroPrinter{text-align:left;margin-top:20px}.table{overflow:auto}.tableRow{min-width:650px}.form{flex-wrap:wrap}}.spoolTableRow{grid-template-columns:1.5fr 1fr 1fr 1.2fr auto}.spoolIdentity strong,.spoolIdentity span{display:block}.spoolIdentity span{font-size:11px;color:#7b8088;margin-top:3px}.qrButton{border:1px solid #dfe2e6;background:#fff;border-radius:8px;padding:8px 11px;cursor:pointer}.qrButton:hover{background:#f4f5f7}.qrModal{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a0b0c7a;display:grid;place-items:center;padding:20px;z-index:20}.qrCard{background:#fff;border-radius:20px;padding:26px;min-width:280px;display:flex;align-items:center;gap:10px;flex-direction:column;text-align:center;box-shadow:0 20px 60px #0003}.qrCard strong{font-size:18px;letter-spacing:.05em}.qrCard span{color:#5f646c}.qrCard small{color:#80858d;max-width:230px}.qrCard .primary{margin-top:6px}.form input,.form select{flex:1}.form button{white-space:nowrap}@media(max-width:650px){.spoolTableRow{grid-template-columns:1fr;min-width:0}.spoolTableRow>*{margin-bottom:2px}}.backendBadge{position:absolute;top:14px;right:18px;font-size:9px;letter-spacing:.08em;color:#aeb1b7}.hero{position:relative}.rowActions{display:flex;gap:6px;align-items:center}.consumeInput{width:100%;border:1px solid #dfe2e6;border-radius:8px;padding:11px;background:#fff}@media(max-width:650px){.backendBadge{position:static;margin-bottom:12px}.rowActions{flex-wrap:wrap}}.topActions{display:flex;align-items:center;gap:10px}.topActions>button:first-child{border:1px solid #dfe2e6;background:#fff;border-radius:9px;padding:9px 12px;cursor:pointer}.errorBanner{background:#fff0ee;border:1px solid #f1c8c3;color:#9a4038;border-radius:10px;padding:10px 14px;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.errorBanner button{border:0;background:transparent;font-size:18px;cursor:pointer}@media(max-width:650px){.topActions>button:first-child{padding:8px}.topbar h1{font-size:27px}}.searchInput{width:100%;border:1px solid #dfe2e6;border-radius:9px;padding:11px 12px;margin-bottom:12px;background:#fff}.quickGrams{display:flex;gap:6px;width:100%;justify-content:center}.quickGrams button{border:1px solid #dfe2e6;background:#f7f8f9;border-radius:8px;padding:7px 10px;cursor:pointer}.loadedSlots{margin-bottom:16px}.slotGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.slotCard{border:1px solid #e4e6e9;border-radius:13px;padding:14px;min-height:125px;display:flex;flex-direction:column;gap:6px;background:#fafbfc}.slotNumber{font-size:9px;letter-spacing:.12em;color:#8a8f96;font-weight:800}.slotCard strong{font-size:14px}.slotCard>span:not(.slotNumber){font-size:11px;color:#747981}.slotWeight{display:flex;justify-content:space-between;align-items:center;margin-top:auto}.slotWeight b{font-size:13px}.slotWeight span{font-size:10px;color:#777d85}.slotCard .bar{margin-top:0}@media(max-width:950px){.slotGrid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.slotGrid{grid-template-columns:1fr 1fr}.slotCard{min-height:110px}}.slotManager{margin-top:16px}.slotManageGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.slotManageCard{border:1px solid #e4e6e9;border-radius:14px;padding:15px;display:flex;flex-direction:column;gap:7px;min-height:150px}.slotManageCard strong{font-size:15px}.slotManageCard span:not(.slotNumber){font-size:11px;color:#747981}.slotManageCard b{font-size:13px;margin-top:auto}.slotManageCard .qrButton{margin-top:4px}.textButton{border:0;background:transparent;color:#777d85;cursor:pointer;font-size:11px}.slotPicker{min-width:360px}.slotSelect{width:100%;padding:11px;border:1px solid #dfe2e6;border-radius:8px;background:#fff}@media(max-width:950px){.slotManageGrid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.slotManageGrid{grid-template-columns:1fr 1fr}.slotPicker{min-width:0;width:100%}}
