html,body{margin:0;background:#f4f5f8}
button,input,select{font-family:inherit}
#mt *{box-sizing:border-box}
#mt{direction:rtl;min-height:100vh;margin:0;position:relative;font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;background:#f4f5f8;color:#1d2433;font-size:16px}
#mt .top{background:#12355b;color:#fff;padding:12px 14px;display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:5}
#mt .brand{flex:1;display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700}
#mt .logo img{width:100%;display:block}
#mt .bn{display:flex;flex-direction:column;line-height:1.1}
#mt .bn b{letter-spacing:2px;font-size:19px}
#mt .bn small{font-size:13px;font-weight:400;opacity:.85}
#mt .logo{width:52px;height:36px;border-radius:9px;background:#fff;padding:7px 6px;display:inline-flex;align-items:center}
#mt .rs{width:auto;padding:6px 8px;font-size:14px;border-radius:16px;background:#2a5384;color:#fff;border:0}
#mt .backb{border:0;background:#2a5384;color:#fff;border-radius:50%;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0}
#mt .demo{background:#fff3c4;color:#6b5400;font-size:12px;padding:4px 14px}
#mt main{padding:14px;max-width:560px;margin:auto}
#mt h2{margin:4px 0 12px;font-size:20px}
#mt h3{margin:0 0 4px;font-size:17px}
#mt .tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#mt .tile{background:#fff;border:0;border-radius:18px;padding:22px 10px;display:flex;flex-direction:column;align-items:center;gap:10px;font-size:17px;color:#12355b;box-shadow:0 1px 4px #0002;font-family:inherit}
#mt .ti{width:62px;height:62px;border-radius:18px;background:#e6eefa;display:flex;align-items:center;justify-content:center}
#mt .card{background:#fff;border-radius:14px;padding:14px;margin-bottom:12px;box-shadow:0 1px 3px #0001}
#mt .pick{background:#eef4fc}
#mt label{display:block;font-size:14px;color:#51607a;margin:12px 0 4px}
#mt label:first-child{margin-top:0}
#mt input,#mt select{width:100%;padding:13px;font-size:16px;border:1px solid #c6cdd8;border-radius:10px;background:#fff;font-family:inherit;color:#1d2433}
#mt select.big{font-size:17px;font-weight:600;margin-bottom:12px}
#mt .row{display:flex;gap:10px}
#mt .row>*{flex:1}
#mt .btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:0;border-radius:14px;padding:15px;font-size:18px;background:#1f8a4c;color:#fff;margin-top:6px;font-family:inherit}
#mt .btn.gray{background:#5b6b86}
#mt .btn.dark{background:#12355b}
#mt .rowbtn{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:right;background:#fff;border:0;border-right:6px solid #12355b;border-radius:12px;padding:14px;margin-bottom:10px;font-family:inherit;font-size:16px;color:inherit;box-shadow:0 1px 3px #0001}
#mt .rowbtn small{display:block;color:#6b7790;font-size:13px;margin-top:3px}
#mt .rowbtn.closed{border-right-color:#9aa3b2;background:#eceef2;color:#6b7790}
#mt .ord{padding:10px 0;border-top:1px solid #eef0f4}
#mt .ord:first-child{border-top:0}
#mt .oh{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
#mt .tot{border-top:2px solid #dfe3ea;padding-top:10px;margin-top:4px;font-size:17px}
#mt .muted{color:#6b7790;font-size:13px}
#mt .money{color:#1f8a4c;font-weight:700;white-space:nowrap}
#mt .mv{margin-top:8px;padding:8px;font-size:14px}
#mt .tag{font-size:13px;background:#e6ecf5;border-radius:10px;padding:3px 10px;font-weight:400}
#mt .tag.c{background:#d9dce3;color:#444}
#mt table{width:100%;border-collapse:collapse;font-size:15px}
#mt th,#mt td{border:1px solid #aaa;padding:9px;text-align:right}
#mt th{background:#eee}
#mt .ctr{text-align:center}
#mt .y{color:#1f8a4c}
#mt .sheet{background:#fff;padding:14px;border:1px solid #999;margin:12px 0}
#mt .note{height:38px}
#mt .toast{pointer-events:none;position:fixed;bottom:16px;left:50%;transform:translateX(-50%);background:#1d2433;color:#fff;padding:11px 18px;border-radius:22px;font-size:15px;display:none;z-index:9}
#mt .ic{flex:none}
#mt.light .top{background:#fff;color:#12355b;border-bottom:1px solid #dde3ec}
#mt.light .logo{background:none;padding:2px 0;width:56px}
#mt.light .rs{background:#e6eefa;color:#12355b}
#mt.light .backb{background:#e6eefa;color:#12355b}
#mt #splash{position:fixed;left:0;right:0;top:0;min-height:100%;background:#fff;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:120px;gap:18px;transition:opacity .5s}
#mt #splash img{width:62%;max-width:300px}
#mt #splash span{color:#51607a;font-size:17px}
#mt{direction:rtl;min-height:100vh}
#mt .rl table{font-size:12px;width:100%}
#mt .rl th,#mt .rl td{padding:6px 3px!important}
#mt .cd{display:inline-block;background:#e6edf7;color:#17375e;border-radius:6px;padding:0 6px;font-size:12px;font-weight:700;margin-inline-end:6px;direction:ltr}
#mt .hint{font-size:13px;color:#17375e;margin:6px 2px}
#mt .sg{display:block;width:100%;text-align:right;background:#fff;border:1px solid #d5dbe6;border-radius:10px;padding:10px;margin-top:6px;font-size:15px}
#mt .kv{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid #eef1f6;font-size:14px}
#mt .kv b{text-align:left}

#mt .outb{border:0;background:#e6eefa;color:#12355b;border-radius:16px;padding:7px 14px;font-size:14px}
#mt .login{background:#fff;border-radius:16px;padding:18px;margin-top:20px;box-shadow:0 1px 4px #0002}
#mt .err{color:#a40000;margin:8px 0;font-size:15px}
#mt .ok{color:#1d7a46}
#mt .tag.ok2{background:#d9f2e3;color:#1d7a46}
#mt .ldb{border:0;background:#e6eefa;color:#12355b;border-radius:12px;padding:8px 12px;font-size:14px;margin-top:6px}
#mt .ldb.on{background:#d9f2e3;color:#1d7a46}
#mt .ord.done .muted{opacity:.7}
@media print{
 html,body,#mt{background:#fff!important}
 #mt .top,#mt .demo,#mt .btn,#mt select,#mt .hint,#mt .toast,#mt #splash,#mt .ldb,#mt .noprint{display:none!important}
 #mt main{max-width:none;padding:0}
 #mt .card,#mt .sheet{box-shadow:none;break-inside:avoid}
}
#mt .printonly{display:none}
@media print{#mt .printonly{display:block}}
