:root{font-family:Inter,system-ui,sans-serif;color:#111827;background:#eef2f7}*{box-sizing:border-box}body{margin:0;display:grid;grid-template-columns:250px 1fr;min-height:100vh}aside{background:#0b1020;color:white;padding:28px 20px}.brand{font-size:28px;font-weight:900;color:white;text-decoration:none}.brand span{color:#7c3aed}nav{display:grid;gap:10px;margin-top:35px}nav button,nav a{border:0;background:transparent;color:#cbd5e1;text-align:left;padding:12px;border-radius:10px;text-decoration:none;font:inherit;cursor:pointer}nav button:hover,nav a:hover{background:#172036;color:white}main{padding:32px;max-width:1500px;width:100%}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}header p{margin:0;color:#64748b}header h1{margin:4px 0;font-size:clamp(28px,3vw,48px)}button{cursor:pointer}header button,.save,#login{background:linear-gradient(135deg,#2f5bff,#7c3aed);color:white;border:0;border-radius:12px;padding:13px 18px;font-weight:700}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.stat,.panel,.login{background:white;border:1px solid #dbe3ee;border-radius:18px;box-shadow:0 14px 35px rgba(15,23,42,.08)}.stat{padding:20px}.stat b{display:block;font-size:34px}.panel{overflow:hidden}.panel-head{display:flex;justify-content:space-between;padding:20px;align-items:center}.panel-head input,.login input,input,select,textarea{border:1px solid #cbd5e1;border-radius:10px;padding:11px;font:inherit}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:850px}th,td{padding:14px 18px;border-top:1px solid #e5e7eb;text-align:left}td img{width:52px;height:52px;object-fit:cover;border-radius:10px}.actions button{border:0;border-radius:8px;padding:8px;margin-right:5px}.edit{background:#dbeafe}.delete{background:#fee2e2}.login{max-width:430px;padding:28px;display:grid;gap:14px;margin:70px auto}dialog{border:0;border-radius:20px;width:min(850px,94vw);box-shadow:0 25px 80px #0005;padding:0}dialog::backdrop{background:#0b1020aa}#productForm{padding:24px}.modal-head{display:flex;justify-content:space-between}.modal-head button{border:0;background:none;font-size:20px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grid label{display:grid;gap:6px;font-weight:600}.grid .full{grid-column:1/-1}textarea{min-height:90px;resize:vertical}.checks{display:flex;flex-wrap:wrap;gap:18px;margin:18px 0}@media(max-width:850px){body{grid-template-columns:1fr}aside{position:static}nav{grid-template-columns:repeat(2,1fr);margin-top:15px}main{padding:18px}.stats{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1fr}.grid .full{grid-column:auto}}