:root{--bg:#f4f6f8;--panel:#fff;--text:#17202a;--muted:#667085;--line:#e4e7ec;--primary:#1f6feb;--primary2:#eef5ff;--good:#067647;--warn:#b54708;--danger:#b42318;--shadow:0 10px 25px rgba(16,24,40,.08)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text);display:flex;min-height:100vh}.sidebar{width:245px;background:#101828;color:#fff;padding:24px;position:fixed;inset:0 auto 0 0}.logo{font-size:26px;font-weight:800;margin-bottom:30px}nav{display:flex;flex-direction:column;gap:8px}nav a{color:#cfd6e4;text-decoration:none;padding:12px 14px;border-radius:10px}nav a:hover,nav a.active{background:#24324a;color:#fff}.main{margin-left:245px;padding:28px;width:calc(100% - 245px)}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.topbar h1{margin:0 0 6px;font-size:32px}.topbar p{margin:0;color:var(--muted)}.badge{background:var(--primary2);color:var(--primary);padding:10px 14px;border-radius:999px;font-weight:700;white-space:nowrap}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:22px}.card{text-decoration:none;color:inherit;display:block}.card h2,.panel h2{margin:0 0 10px}.card p{color:var(--muted);min-height:48px}.featured{border-color:#b2ccff;background:linear-gradient(135deg,#fff,#eef5ff)}button,.btn{border:0;background:var(--primary);color:white;padding:12px 16px;border-radius:10px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-block}.btn.secondary,button.secondary{background:#eef2f6;color:#344054}.btn.good,button.good{background:var(--good)}.btn.warn,button.warn{background:var(--warn)}.panel{margin-top:18px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stats div{background:#f8fafc;border-radius:14px;padding:18px}.stats strong{font-size:30px;display:block}.stats span{color:var(--muted)}.toolbar{display:flex;gap:12px;align-items:center;margin:0 0 18px;flex-wrap:wrap}.input,select{height:44px;border:1px solid var(--line);border-radius:10px;padding:0 14px;background:white;min-width:260px}.table{width:100%;border-collapse:separate;border-spacing:0 10px}.table th{text-align:left;color:var(--muted);font-size:13px;padding:0 12px}.table td{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 12px}.table td:first-child{border-left:1px solid var(--line);border-radius:12px 0 0 12px}.table td:last-child{border-right:1px solid var(--line);border-radius:0 12px 12px 0}.status{padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}.status.stock{background:#ecfdf3;color:var(--good)}.status.machine{background:#eef5ff;color:var(--primary)}.status.check{background:#fff7ed;color:var(--warn)}.split{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.scanbox{border:2px dashed #b2ccff;background:#f8fbff;border-radius:18px;padding:26px;text-align:center}.scanbox .big{font-size:44px;margin:0}.summary{background:#101828;color:white;border-radius:18px;padding:22px}.summary p{color:#cfd6e4}.checkbox{width:20px;height:20px}.notice{background:#fffaeb;border:1px solid #fedf89;color:#93370d;border-radius:12px;padding:12px 14px;margin-bottom:16px}@media(max-width:850px){.sidebar{position:static;width:100%;height:auto}.main{margin-left:0;width:100%}body{display:block}.grid,.split,.stats{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}}
