@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;500;600;700;800&display=swap');:root{font-family:'Noto Sans Arabic',Tahoma,sans-serif;color:#173c36;background:#f4f6f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;min-height:46px;border:0;border-radius:10px;padding:10px 18px;font-weight:700}button:disabled{cursor:wait;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e7a348;outline-offset:2px}header{background:#123f35;color:white;padding:22px max(24px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{display:flex;align-items:center;gap:12px}.logo{display:grid;place-items:center;width:48px;height:48px;background:#d4e9b4;color:#174437;font-size:30px;font-weight:800;border-radius:15px}h1{font-size:22px;margin:0}.brand p{margin:0;color:#c0d9d1;font-size:12px}.status{font-size:12px;white-space:nowrap;color:#ffe7b4;background:#ffffff13;border:1px solid #ffffff20;border-radius:30px;padding:6px 11px}.status.online{color:#c9f3ce}.status.online:before{content:'●';margin-left:7px;font-size:9px}main{max-width:1160px;margin:auto;padding:32px 24px}.intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.eyebrow{color:#64816f;font-size:12px;font-weight:700;margin:0 0 4px}h2{font-size:30px;line-height:1.5;margin:0;font-weight:800}.intro p:last-child{color:#728178;font-size:13px;margin:6px 0 0}.primary{background:#176b50;color:#fff;box-shadow:0 3px 0 #0f513c}.primary:hover{background:#11573f}nav{display:flex;gap:6px;overflow:auto;padding:5px;background:#e6ece5;border-radius:13px}nav button{white-space:nowrap;background:transparent;color:#5c7264;font-size:13px;flex:1}nav button.active{background:white;color:#124b36;box-shadow:0 2px 5px #183a2010}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.stats article{padding:20px 24px;border-radius:14px;background:#fff;border:1px solid #e1e8dd}.stats span{font-size:13px;color:#667b6c;display:block}.stats strong{font-size:30px;display:block;line-height:1.8;font-variant-numeric:tabular-nums}.stats .balance{background:#e0ebcf;border-color:#d6e3c5}.panel{background:#fff;border:1px solid #e0e7dc;border-radius:16px;overflow:hidden}.toolbar{padding:17px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #e7ece3}.search{display:flex;align-items:center;gap:8px;color:#83917f}.search input{border:0;padding:8px;background:none;min-width:0;width:240px;outline:none}.secondary{background:#f0f3ec;color:#456345;font-size:12px;border:1px solid #e0e7da}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}th,td{text-align:right;padding:14px 18px;border-bottom:1px solid #eef1e9}th{background:#fafbf7;color:#70816b;font-size:11px;font-weight:600}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcf7}td.item-name{font-weight:700;min-width:145px}.num{font-variant-numeric:tabular-nums;direction:ltr;text-align:right}.in{color:#23724d}.out{color:#ad6a3c}.now{font-weight:800;color:#1f5236}.negative{color:#bd3b35!important}.chip{display:inline-block;background:#e9f1de;padding:3px 10px;border-radius:6px}.small{font-size:11px;color:#7e8a78}.actions{display:flex;gap:4px}.actions button{padding:6px 10px;min-height:40px;font-size:11px;background:#f0f3ec;color:#3f6344}.actions .delete{color:#a95043;background:#fcf0eb}.help{font-size:12px;color:#72816c;padding:4px 3px}footer{font-size:11px;color:#8b9384;border-top:1px solid #dfe6d8;margin-top:25px;padding-top:18px;line-height:1.9}dialog{width:min(500px,calc(100% - 24px));border:0;border-radius:20px;padding:26px;color:#173c36;box-shadow:0 24px 100px #12302450;max-height:94dvh;overflow:auto}dialog::backdrop{background:#0c281c80;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.dialog-head h2{font-size:24px}.icon{font-size:28px;padding:0;width:44px;color:#667963;background:#f0f3eb}form>label,.pair>label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;margin-bottom:15px}input,select{padding:12px;border:1px solid #d9e2d0;border-radius:9px;background:#fbfcf9;width:100%;color:#24452e;font-size:15px;min-height:48px}small{font-weight:400;color:#829077}.pair{display:flex;gap:14px}.pair>*{flex:1;min-width:0}fieldset{border:0;padding:0;margin:0 0 15px;display:flex;gap:12px}legend{font-size:13px;font-weight:600;margin-bottom:7px}.radio{flex:1;display:flex;align-items:center;gap:6px;background:#f1f5e9;padding:10px;border:1px solid #dfe8d5;border-radius:9px;font-size:14px}.radio input{width:20px;min-height:20px;accent-color:#176b50}.hint{font-size:11px;line-height:1.9;color:#7d8a72;margin:0 0 10px}.full{width:100%}#form-error{font-size:12px;color:#b23c32}#notice{padding:12px;background:#fff4d8;color:#966615;font-size:12px}.empty{text-align:center;padding:50px 20px;color:#77856b;font-size:14px}.empty strong{display:block;font-size:22px;color:#4d6643;margin-bottom:7px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#19482f;color:white;padding:10px 22px;border-radius:30px;font-size:13px;display:none;z-index:10;white-space:nowrap}.danger{background:#ad3c30;color:white}#confirm h2{font-size:24px}#confirm p{font-size:13px;color:#78816d}@media(max-width:600px){header{padding:17px 16px}h1{font-size:19px}.logo{width:42px;height:42px}.status{font-size:10px;padding:5px 8px}main{padding:24px 13px}.intro{gap:9px;margin-bottom:20px}h2{font-size:25px}.intro p:last-child{font-size:11px}.intro .primary{font-size:12px;padding:10px 13px}nav{margin:0 -1px}nav button{font-size:12px;padding:10px 15px}.stats{gap:8px;margin:16px 0}.stats article{padding:12px 10px}.stats span{font-size:10px}.stats strong{font-size:24px}.toolbar{padding:10px}.search{width:55%}.search input{width:100%;font-size:12px;padding:7px 0}.toolbar button{font-size:10px;padding:8px 10px}th,td{padding:12px;font-size:12px}th{font-size:10px}td.item-name{min-width:122px}dialog{padding:20px}.help{font-size:11px}footer{font-size:10px}}

.scroll-hint{font-size:10px;color:#8a967f;margin:0;padding:8px 17px;background:#fafcf7;border-bottom:1px solid #edf1e8}
