:root{--bg:#f5f7fb;--card:#fff;--text:#10243e;--muted:#6d7b8d;--primary:#0b5cff;--accent:#ffcc00;--border:#e5eaf2}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}a{text-decoration:none;color:inherit}
.topbar{height:68px;background:#0d2f45;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:30}
.brand{display:flex;align-items:center;gap:12px;font-weight:800}.brand img{height:44px}.shell{display:grid;grid-template-columns:250px 1fr;min-height:calc(100vh - 68px)}
.sidebar{background:#fff;border-right:1px solid var(--border);padding:18px;position:sticky;top:68px;height:calc(100vh - 68px);overflow:auto}.sidebar a{display:flex;gap:10px;padding:11px 12px;border-radius:12px;margin:3px 0;color:#31435a}.sidebar a:hover,.sidebar a.active{background:#edf4ff;color:var(--primary);font-weight:700}
.content{padding:24px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:18px;box-shadow:0 8px 24px #1122330a}.card h3{margin:0 0 8px}.metric{font-size:28px;font-weight:850}.muted{color:var(--muted);font-size:14px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden}.table th,.table td{padding:12px;border-bottom:1px solid var(--border);text-align:left}.table th{background:#f8fafc}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:11px 15px;background:var(--primary);color:#fff;font-weight:700;cursor:pointer}.btn.secondary{background:#eef3f8;color:#203247}.btn.green{background:#12b76a}.btn.yellow{background:#ffd400;color:#14243a}
input,select,textarea{width:100%;padding:11px 12px;border:1px solid #cfd8e6;border-radius:11px;background:#fff;font:inherit}textarea{min-height:110px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{margin-bottom:13px}.field label{display:block;font-weight:700;font-size:13px;margin-bottom:6px}
.flash{padding:12px 15px;border-radius:12px;margin-bottom:15px}.flash.success{background:#e8f8ee;color:#11663d}.flash.danger{background:#ffe9e9;color:#a12222}
.hero{background:linear-gradient(135deg,#082f55,#0b5cff);color:#fff;padding:56px 26px;border-radius:0 0 32px 32px}.hero .wrap{max-width:1120px;margin:auto}.hero h1{font-size:48px;line-height:1.05;margin:0 0 14px}.wrap{max-width:1120px;margin:auto;padding:24px}
.store-head{background:#fff;border-bottom:1px solid var(--border)}.store-head .wrap{display:flex;justify-content:space-between;align-items:center}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px;background:#eef2f6}.pill{display:inline-block;padding:5px 9px;border-radius:999px;background:#eef4ff;color:#0b5cff;font-size:12px;font-weight:700}.loginbox{max-width:440px;margin:8vh auto;background:#fff;border-radius:22px;padding:26px;border:1px solid var(--border);box-shadow:0 20px 50px #0001}
.mobile-nav{display:none}
@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{display:none}.content{padding:15px}.cards{grid-template-columns:1fr 1fr}.grid2,.form-grid{grid-template-columns:1fr}.products{grid-template-columns:1fr 1fr}.hero h1{font-size:36px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);z-index:40;justify-content:space-around;padding:9px}.mobile-nav a{font-size:12px}.content{padding-bottom:80px}}
@media(max-width:560px){.cards{grid-template-columns:1fr}.products{grid-template-columns:1fr 1fr}.topbar{padding:0 12px}.brand span{display:none}}