body{background:radial-gradient(ellipse at 15% 0%,#e8eddc 0,transparent 42%),radial-gradient(ellipse at 90% 85%,#e5ece7 0,transparent 40%),#f3f5ef;background-attachment:fixed}
.shell{padding-right:248px}
.topbar{height:66px;top:14px;margin:14px 25px 0;padding:0 23px;border:1px solid #ffffffc9;border-radius:18px;background:rgba(249,251,246,.58);backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%);box-shadow:0 5px 28px #263c2210,inset 0 1px #ffffffa6;gap:18px}
.breadcrumb{font-size:10px;gap:11px;color:#81907b}.breadcrumb b{font-size:12px;color:#354d3d;font-weight:500}.topbar-user{gap:10px}.topbar-user strong{color:#344c3d}.topbar-user small{color:#819574}.avatar{border-radius:50%;background:linear-gradient(135deg,#edf3df,#dbe6ce);border:1px solid #ffffffc9;box-shadow:0 2px 8px #263b2110}.logout{background:#ffffff73;border-color:#dce4d3;color:#69815a;border-radius:10px;transition:background .2s}.logout:hover{background:#fff}
.sidebar{inset:12px 12px 12px auto;width:224px;padding:20px 14px 15px;border-radius:23px;border:1px solid #56725342;background:radial-gradient(ellipse at 100% 0,#34544566,transparent 52%),linear-gradient(165deg,#142b23,#0c1c17);box-shadow:0 12px 32px #0b211924;overflow:hidden}
.sidebar-brand{padding:2px 6px 19px;margin-bottom:13px;gap:12px;border-color:#ffffff0c;flex-shrink:0;align-items:center}.sidebar-brand img{width:74px;height:71px;flex-shrink:0}.sidebar-brand>span{color:#a7b99c;font-size:9px;line-height:1.7}.sidebar-brand b{font-size:22px;font-weight:500;line-height:1.5;color:#f0edcf}.sidebar-brand small{font-size:9px;display:block;color:#aabfa2;white-space:nowrap}
.sidebar nav{gap:5px;min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;padding:3px 3px 13px;scrollbar-width:thin;scrollbar-color:#738d623d transparent;align-content:start}.sidebar nav:before{content:'إدارة المصنع';font-size:9px;color:#718e77;margin:0 11px 6px}.sidebar nav::-webkit-scrollbar{width:3px}.sidebar nav::-webkit-scrollbar-thumb{background:#738d623d;border-radius:4px}
.nav-link{position:relative;min-height:42px;padding:10px 12px;gap:11px;border:1px solid transparent;font-size:11px;color:#a7bba3;transition:background .2s,color .2s,border-color .2s,transform .2s}.nav-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#839e7b;flex-shrink:0}.nav-icon svg{width:19px;height:19px}.nav-text{min-width:0}.nav-link:hover{background:#ffffff07;color:#f3f0d5;transform:translateX(-2px)}.nav-link.active{background:linear-gradient(110deg,#a89a4610,#d9bd5d20);border-color:#d3b66524;color:#f5e5b5;box-shadow:inset 0 1px #ffffff05}.nav-link.active:before{content:'';position:absolute;right:-4px;top:13px;bottom:13px;width:3px;background:#e5c66d;border-radius:4px}.nav-link.active .nav-icon{color:#e4c875}
.sidebar-bottom{flex-shrink:0;margin-top:5px;padding:15px 11px 1px;gap:12px;border-color:#ffffff0b;font-size:10px}.sidebar-bottom>a{display:flex;justify-content:space-between;color:#c0ccad}.sidebar-bottom button{font-size:10px;color:#97ad8b}.sidebar-bottom .security-note{font-size:8px;color:#708c74;line-height:1.8}.sidebar-bottom .status-pulse{width:4px;height:4px;background:#b5c787}
main{padding:29px 29px 40px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:28px;line-height:1.5;color:#213d31}.page-heading p{font-size:12px;color:#81917c}.page-eyebrow{font-size:9px;color:#8d9d80}
.stats{gap:16px;margin-bottom:25px}.stat-card{position:relative;isolation:isolate;overflow:hidden;padding:21px 21px 18px;border:1px solid #ffffffeb;border-radius:21px;background:linear-gradient(145deg,#ffffffee,#f9fbf5e0);box-shadow:0 5px 22px #2c472a06,inset 0 1px #fff;transition:transform .25s,box-shadow .25s,border-color .25s;min-height:172px}
.stat-card:before{content:'';position:absolute;z-index:-1;width:120px;height:120px;border-radius:50%;left:-45px;bottom:-74px;background:#e5edda80;filter:blur(3px)}.stat-card:after{content:'';position:absolute;bottom:0;right:22px;left:22px;height:2px;border-radius:4px;background:linear-gradient(90deg,transparent,#cfdbc1 75%,#b9cdac);opacity:.6}.stat-card:hover{transform:translateY(-3px);box-shadow:0 13px 28px #2c472a0e;border-color:#d7e2cb}
.stat-label{font-size:11px;color:#6d8262;justify-content:flex-start;gap:9px;line-height:1.7}.stat-symbol{display:grid;place-items:center;width:29px;height:29px;flex-shrink:0;border-radius:9px;border:1px solid #e0e8d6;background:#edf3e6;color:#7a936a}.stat-symbol svg{width:16px;height:16px}.stat-corner{margin-inline-start:auto;color:#adb9a0;font-size:12px}
.stat-value{position:relative;display:flex;align-items:center;width:fit-content;min-width:80px;min-height:62px;margin:11px 0 4px}.stat-card .stat-value strong{position:relative;z-index:2;margin:0;font-size:34px;font-weight:500;line-height:1.35;letter-spacing:-.7px;color:#284832;text-shadow:0 1px 3px #ffffffa6}.stat-card>small{font-size:10px;line-height:1.8;color:#8d9c81;margin-top:5px}.stat-card.dark{background:radial-gradient(ellipse at 0% 0%,#385d42,#193c2c 60%);border-color:#2f5139;box-shadow:0 8px 24px #1b38221a}.stat-card.dark:before{background:#d8be6322}.stat-card.dark:after{background:linear-gradient(90deg,transparent,#e2ca77);opacity:.5}.stat-card.dark .stat-label{color:#bfcba7}.stat-card.dark .stat-symbol{color:#e5cf8b;border-color:#c6b96d20;background:#d9bf5a10}.stat-card.dark .stat-value strong{color:#f3e5b1;text-shadow:none}.stat-card.dark>small{color:#95af8d}.stat-card.dark .stat-corner{color:#a1b88c}
.stat-products .stat-value{min-width:100px}.stat-products .stat-value strong{text-shadow:0 0 8px #fbfcf9,0 1px 3px #fff}.stat-block-orbit{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.48}.stat-block-orbit img{position:absolute;left:calc(50% - 11px);top:calc(50% - 9px);width:22px;height:18px;object-fit:cover;border-radius:4px;mix-blend-mode:multiply;animation:block-orbit 18s linear infinite;box-shadow:0 1px 4px #263e2215}.stat-block-orbit img:nth-child(2){animation-delay:-6s}.stat-block-orbit img:nth-child(3){animation-delay:-12s}.stat-card:hover .stat-block-orbit img{animation-play-state:paused}
@keyframes block-orbit{from{transform:rotate(0deg) translateX(29px) rotate(0deg)}to{transform:rotate(360deg) translateX(29px) rotate(-360deg)}}
.quick-grid button{border-color:#e5ecdc;background:linear-gradient(140deg,#f6f9f0,#eef4e7);border-radius:14px;transition:background .2s,transform .2s}.quick-grid button:hover{transform:translateY(-2px);background:#e9f0df}.panel{border-color:#e3e9db;box-shadow:0 3px 16px #203a1c03}
@media(max-width:1200px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{min-height:163px;padding:18px 20px 16px}.stat-value{margin-top:9px;min-height:56px}.stat-card .stat-value strong{font-size:32px}.breadcrumb>span:first-child{max-width:210px;line-height:1.8}}
@media(max-height:650px) and (min-width:801px){.sidebar{padding-top:15px}.sidebar-brand{padding-bottom:12px;margin-bottom:9px}.sidebar-brand img{height:58px}.sidebar nav{gap:3px;padding-bottom:7px}.nav-link{min-height:37px;padding:8px 11px}.sidebar-bottom{padding-top:12px;gap:10px}.sidebar nav:before{margin-bottom:3px}.sidebar-bottom .security-note{display:none}}
@media(max-width:800px){.shell{padding-right:0}.sidebar{inset:10px -250px 10px auto;width:224px;transition:right .25s}.menu-open .sidebar{right:10px}.topbar{margin:10px 14px 0;top:10px;height:62px;padding:0 14px;gap:11px;border-radius:16px}.sidebar-toggle{background:#ffffff73;border-color:#dce5d4;border-radius:10px;font-size:16px;padding:5px 9px}.breadcrumb>span{display:none}.breadcrumb b{font-size:11px}.topbar-user .avatar{width:30px;height:30px}.topbar-user strong{font-size:10px}.topbar-user small{font-size:8px}.logout{font-size:9px;padding:7px 9px;margin-right:0}.topbar-user{gap:7px}main{padding:23px 18px 35px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.stats{gap:12px}.stat-card{min-height:161px;padding:15px;border-radius:18px}.stat-label{font-size:10px;gap:7px}.stat-symbol{width:26px;height:26px;border-radius:8px}.stat-symbol svg{width:14px;height:14px}.stat-card .stat-value strong{font-size:29px}.stat-value{min-height:56px;min-width:70px;margin-top:10px}.stat-card>small{font-size:9px}.stat-block-orbit img{width:19px;height:16px;left:calc(50% - 9.5px);top:calc(50% - 8px)}.stat-corner{display:none}}
@media(max-width:380px){.stat-card{padding:13px}.stat-label{font-size:9px}.stat-symbol{width:23px;height:23px}.stat-card .stat-value strong{font-size:26px}.topbar-user strong{max-width:73px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.breadcrumb b{font-size:10px}}
@media(prefers-reduced-motion:reduce){.stat-block-orbit img{animation:none}.stat-block-orbit img:nth-child(1){transform:translate(27px,-14px)}.stat-block-orbit img:nth-child(2){transform:translate(-27px,-14px)}.stat-block-orbit img:nth-child(3){transform:translate(0,20px)}.stat-card,.nav-link,.quick-grid button{transition:none}.stat-card:hover,.nav-link:hover,.quick-grid button:hover{transform:none}}
