*{box-sizing:border-box}body{margin:0;background:#f2f6fc;color:#14284b;font-family:Tahoma,Arial,sans-serif;font-size:15px}header{background:#091e40;color:white;display:flex;align-items:center;justify-content:space-between;padding:16px 24px;gap:15px}.brand{font-size:22px;font-weight:800;direction:ltr}.brand small{display:block;font-size:11px;font-weight:400;color:#a9c2e4}.layout{display:flex;min-height:calc(100vh - 72px)}nav{width:240px;background:#102c55;padding:20px 12px;flex-shrink:0}nav a,nav button{display:block;color:#eaf4ff;text-decoration:none;padding:15px 16px;border-radius:12px;margin:4px 0;font-size:15px;width:100%;text-align:right}nav a:hover{background:#174985}.logout{background:#b61c3b;border:0;cursor:pointer}main{flex:1;min-width:0;padding:25px;max-width:1600px}h1{font-size:25px;margin:4px 0 14px}h2{font-size:20px;margin:28px 0 15px}.muted{color:#6e7c91;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:20px 0}.stats article{background:#fff;padding:20px;border-radius:18px;border:1px solid #dce6f5;box-shadow:0 6px 20px #1839630a}.stats span{display:block;color:#64758d}.stats strong{display:block;font-size:24px;margin-top:8px;color:#005bd1}.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:15px}.product,.panel{background:white;border:1px solid #dae5f3;border-radius:19px;padding:16px;box-shadow:0 8px 24px #102c550a}.product-image{height:125px;border-radius:13px;background:linear-gradient(135deg,#e7effb,#f7faff);display:grid;place-items:center;font-size:58px;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain}.product h3{font-size:15px;direction:ltr;text-align:center;min-height:38px}.pill{background:#e2f8ed;color:#087e4a;padding:7px 10px;border-radius:9px;display:inline-block;font-size:13px}.price{font-weight:800;color:#074eb8}.actions{display:flex;gap:8px}.btn,button,.secondary{border:0;background:#075bd7;color:white;border-radius:10px;padding:11px 15px;text-decoration:none;cursor:pointer;font-weight:bold;font-size:14px}.secondary{background:#edf3fd;color:#15519e}.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:800px}.form button{align-self:end}label{display:block;font-weight:600}input,select{display:block;width:100%;padding:13px;border:1px solid #cbd8ea;border-radius:10px;margin-top:8px;font:inherit;background:#fff;min-width:0}.panel{margin:20px 0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:760px;text-align:right}td,th{padding:12px;border-bottom:1px solid #e7edf6}th{background:#f0f5fc}.error{background:#ffe6e6;color:#a31a1a;padding:13px;border-radius:10px}.login{max-width:440px;margin:9vh auto;background:white;border-radius:20px;padding:30px;box-shadow:0 10px 45px #112d5822}.login label{margin:16px 0}.login button{width:100%;margin-top:15px}.mobile-nav{display:none}@media(max-width:800px){nav{display:none}header{padding:12px 15px}.brand{font-size:18px}main{padding:16px 12px 95px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stats article{padding:13px}.stats strong{font-size:17px}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product{padding:10px;border-radius:14px}.product-image{height:100px;font-size:45px}.product h3{font-size:12px;min-height:32px}.price{font-size:13px}.actions{flex-wrap:wrap}.actions a{flex:1;text-align:center;font-size:12px;padding:9px}.form{grid-template-columns:1fr}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #d9e5f3;justify-content:space-around;padding:8px 3px max(8px,env(safe-area-inset-bottom));box-shadow:0 -5px 22px #102c551a;z-index:5}.mobile-nav a{color:#1452a0;text-decoration:none;text-align:center;font-size:23px}.mobile-nav small{display:block;font-size:10px}.login{margin:8vh 12px}}@media(max-width:360px){.products{grid-template-columns:1fr}}

/* Premium responsive polish */
body{background:#eef3fb;color:#12274a}header{background:linear-gradient(105deg,#071a36,#123d76);border-bottom:1px solid #23558d;padding:18px 24px;box-shadow:0 5px 25px #071a3620}nav{background:linear-gradient(180deg,#0b2448,#0b1b37);box-shadow:inset -1px 0 #ffffff18}nav a{transition:background .2s,transform .2s}nav a:hover{transform:translateX(-3px)}main{padding:24px}.hero{background:linear-gradient(110deg,#09244b,#075fc9);color:white;border-radius:22px;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 12px 30px #0c397b29;margin-bottom:22px;overflow:hidden}.hero h1{font-size:clamp(20px,2.3vw,32px);margin:7px 0}.hero p{color:#d3e6ff;margin:0}.eyebrow{font-size:11px;letter-spacing:1px;color:#9ccfff;direction:ltr;text-align:right}.hero-icon{font-size:76px;filter:drop-shadow(0 12px 12px #041c4d55)}.stats article{border:1px solid #d9e7fb;border-radius:19px;box-shadow:0 8px 24px #17396b0a}.stats strong{color:#075bd7}.product{padding:12px;transition:transform .15s,box-shadow .15s;overflow:hidden}.product:hover{transform:translateY(-3px);box-shadow:0 13px 26px #14396519}.product-image{height:170px;background:#eaf2fd}.product-image img{width:100%;height:100%;object-fit:cover}.product h3{font-size:14px;min-height:34px;margin:12px 0 3px}.product .muted{text-align:center;margin:4px 0 10px}.price{font-size:17px}.pill{font-weight:700}.btn{background:linear-gradient(135deg,#087aff,#0648b8)}.secondary{border:1px solid #d1e1f7}.actions a{flex:1;text-align:center}.panel{box-shadow:0 9px 25px #0a2a5910}.mobile-nav a{font-weight:700}.login{border:1px solid #d6e5f7}@media(max-width:800px){main{padding:12px 11px 98px}.hero{padding:18px 17px;border-radius:18px;margin-bottom:14px}.hero-icon{font-size:44px}.hero p{font-size:12px}.eyebrow{font-size:9px}.product-image{height:125px}.product h3{font-size:12px}.price{font-size:14px}.stats article{padding:14px}.products{gap:10px}.mobile-nav{border-radius:18px 18px 0 0}}@media(max-width:400px){.hero-icon{font-size:34px}.product-image{height:105px}.product{padding:8px}.product .actions{gap:4px}.actions a{padding:8px 4px}}
