*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:system-ui,"Segoe UI",Tahoma,"Noto Sans Arabic",sans-serif;margin:0;background:#f4f7f6;color:#10312b}
.top{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:12px 24px;background:#07211dcc;backdrop-filter:blur(8px);color:#fff}
.brand{font-weight:800;font-size:1.2rem;display:flex;gap:10px;align-items:center}.logo{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#34d399,#0f766e);font-weight:900}
.nav-r{display:flex;gap:16px;align-items:center}.nav-r a{color:#cfe9e2;text-decoration:none;font-size:.95rem}
.hero{background:radial-gradient(circle at 80% 0,#0f766e 0,#07211d 60%);color:#fff;padding:64px 24px 80px;display:grid;gap:32px;justify-items:center;text-align:center}
.hero-in{max-width:760px}.pill{display:inline-block;background:#facc1522;color:#fde68a;border:1px solid #facc1566;padding:4px 14px;border-radius:99px;font-size:.85rem}
h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.25;margin:18px 0 12px;font-weight:900}h1 em{font-style:normal;color:#f87171}
.hero p{font-size:1.15rem;color:#cfe9e2;margin:0 0 24px}.cta{display:inline-block;background:#34d399;color:#06251f;font-weight:800;padding:14px 34px;border-radius:12px;text-decoration:none;box-shadow:0 10px 30px #34d39955}
.hero-kpi{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}.hero-kpi div{background:#ffffff14;border:1px solid #ffffff26;border-radius:16px;padding:18px 30px;min-width:220px}
.hero-kpi b{display:block;font-size:2.2rem}.hero-kpi small{color:#cfe9e2}
main{max-width:1060px;margin:-40px auto 0;padding:0 14px 30px;position:relative}
.card{background:#fff;border-radius:16px;padding:18px;margin:14px 0;box-shadow:0 8px 28px #0f2d2814}.card h3,.card h2{margin:0 0 12px}
.demo{background:#fef3c7;color:#78350f;text-align:center;padding:8px;border-radius:12px;font-size:.88rem;margin:14px 0}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.k{border-radius:16px;padding:16px;color:#fff;box-shadow:0 8px 20px #0002}.k span{font-size:.9rem;opacity:.9}.k b{display:block;font-size:2.4rem}
.expired{background:#b91c1c}.critical{background:#ea580c}.soon{background:#ca8a04}.ok{background:#15803d}
.grid{display:grid;grid-template-columns:1fr 1.4fr;gap:14px}.donut-w{display:flex;gap:20px;align-items:center;flex-wrap:wrap;justify-content:center}
.donut{width:170px;height:170px;border-radius:50%;display:grid;place-items:center;background:#ddd}.donut>div{width:110px;height:110px;border-radius:50%;background:#fff;display:grid;place-content:center;text-align:center}.donut b{font-size:1.8rem}
.legend{list-style:none;margin:0;padding:0;display:grid;gap:6px}.legend i{display:inline-block;width:12px;height:12px;border-radius:4px;margin-left:8px;vertical-align:middle}
.bars{display:flex;align-items:flex-end;gap:10px;height:180px}.bar{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}.bar i{display:block;width:100%;border-radius:8px 8px 0 0;background:linear-gradient(#34d399,#0f766e);min-height:4px}.bar span{font-size:.75rem;margin-top:6px;color:#4b6b64}.bar b{font-size:.9rem}
form{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
input,button{padding:10px 12px;border:1px solid #c5d6d0;border-radius:10px;font:inherit}button{background:#0f766e;color:#fff;border:0;cursor:pointer;font-weight:700}
button.ghost{background:#ffffff1a;border:1px solid #ffffff44}button.ghost.dark{background:#e6f4f0;color:#0f5c53;border-color:#bfe0d8}
.row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.row input{min-width:240px}
.tw{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.92rem}th,td{padding:10px 8px;text-align:right;border-bottom:1px solid #e5eeea;white-space:nowrap}th{color:#4b6b64;font-size:.82rem}
.tag{display:inline-block;padding:3px 10px;border-radius:99px;color:#fff;font-size:.78rem}td .del{background:#fee2e2;color:#b91c1c;padding:4px 10px}
.sup{border:1px solid #e1ece8;border-radius:12px;padding:12px;margin:8px 0}.sup b{color:#0f5c53}.sup ul{margin:6px 0 0;padding-right:18px}
footer{text-align:center;color:#6b8780;font-size:.85rem;padding:24px}
@media(max-width:700px){.kpis{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.hero{padding:40px 16px 70px}.top{padding:10px 14px}.nav-r a{display:none}}
