@font-face{font-family:IRANSans;src:url('/fonts/IRANSansWeb.woff') format('woff');font-weight:400;font-display:swap}@font-face{font-family:IRANSans;src:url('/fonts/IRANSansWeb_Bold.woff') format('woff');font-weight:700;font-display:swap}
:root{--navy:#111e35;--ink:#253450;--muted:#78859a;--border:#e5eaf1;--blue:#2874e8;--blue-soft:#ecf4ff;--green:#169b78;--gold:#d19632}
body{background:#f5f7fb;color:var(--ink);font-family:IRANSans,Tahoma,sans-serif;font-size:12px}
.topbar{height:58px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100vw - 1560px)/2));border-bottom:3px solid var(--blue)}
.brand{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700;letter-spacing:.2px}.brand-mark{width:30px;height:30px;display:grid;place-items:center;background:var(--blue);border-radius:8px;font:700 20px Arial}.brand small{font-size:10px;font-weight:400;color:#aab8cc;margin-right:8px}.topbar-label{color:#a9b9d0;font-size:11px}
main{max-width:1600px;padding:30px 24px}header{border:0;padding:0;gap:22px}header small{color:var(--blue);font-size:11px;font-weight:700}h1{font-size:24px;color:var(--navy);margin:4px 0 5px}header p{color:var(--muted);margin:0;font-size:11px}#connection{max-width:670px;background:#fff;border:1px solid var(--border);box-shadow:0 4px 20px #1a3d7208;font-size:10px;line-height:1.8;color:#52647c;padding:10px 15px}
.toolbar{margin:24px 0 14px;padding:15px 17px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 30px #18335c08;align-items:center;gap:20px}.toolbar label,.fields label{color:#708096;font-size:10px;font-weight:700;gap:5px}.toolbar select{min-width:150px}.toolbar input,.toolbar select,.toolbar button,dialog input,dialog button{font-family:IRANSans,Tahoma,sans-serif;border-color:#dae3ed;border-radius:8px;font-size:12px;height:38px}.toolbar input:focus,.toolbar select:focus,dialog input:focus{outline:2px solid #b5d5ff;border-color:var(--blue)}.toolbar .check{margin-right:auto;padding:0;align-self:center;color:var(--ink);font-size:11px}.toolbar .check input{height:auto;accent-color:var(--blue)}#settingsButton,#save{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:700;padding:0 17px}.budget-box{display:flex;align-items:center;border:1px solid #dae3ed;border-radius:8px;overflow:hidden}.budget-box input{border:0;min-width:165px}.budget-box span{padding:0 10px;color:#8795a6;background:#f8fafd;height:38px;display:flex;align-items:center}.note{color:#8896a8;font-size:10px;margin:0 0 12px}
.tablewrap{border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 30px #18335c08}table{min-width:1070px;table-layout:fixed}th,td{padding:11px 8px;border-bottom:1px solid #edf1f5;vertical-align:middle}thead th{background:#f8fafd;color:#718096;font-size:10px;line-height:1.7}thead th:first-child{width:130px}thead th:nth-child(n+2):nth-child(-n+5){width:145px}thead th:nth-child(6){width:150px}thead th:nth-child(7){width:95px}thead th:nth-child(8){width:135px}thead th:nth-child(9){width:120px}tbody tr{height:64px;background:#fff;transition:background .16s}tbody tr:hover{background:#f5f9ff}tbody tr.positive{background:#f0fbf7;color:var(--ink)}tbody tr.positive:hover{background:#e9f8f2}tbody tr.unsupported{background:#fbfcfe;color:#8e9aaa}tbody td:first-child{background:#fff;box-shadow:-1px 0 var(--border)}tbody tr.positive td:first-child{background:#f0fbf7}tbody tr.unsupported td:first-child{background:#fbfcfe}.asset-name{font-size:12px;font-weight:700;color:var(--navy)}.asset-code{font:10px Arial,sans-serif;color:#91a0b2;margin-top:3px;direction:ltr;text-align:right}.asset-glyph{float:right;margin-left:8px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#eaf2ff;color:#3476d5;font:700 13px Arial}.asset-glyph.gold{background:#fff2d9;color:#bf8b20}.asset-glyph.oil{background:#edf0f5;color:#66758d}.pair{line-height:1.4;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;direction:ltr;text-align:right}.pair .ask{color:#ca5663}.pair .bid{color:#159873}.pair .sep{color:#b5c0cc;padding:0 3px}.pair small{font-size:9px;color:#98a5b4;font-weight:400;margin-top:3px;direction:rtl}.cell-empty{color:#abb5c2;font-size:10px}.route{font-size:11px;font-weight:700}.route small{display:block;color:#94a1b1;font-size:9px;font-weight:400}.profit{font-weight:700;color:#66758c}.profit.good{color:var(--green)}.status{display:inline-block;border-radius:20px;padding:5px 8px;background:#f1f3f7;color:#718097;font-size:9px;white-space:nowrap}.status.good{background:#e5f7ef;color:#18805e}.status.warn{background:#fff5e2;color:#a47618}.status.unsupported{background:#f0f2f5;color:#909bac}.detail{border-color:var(--border);box-shadow:0 6px 20px #18335c08;font-size:11px;color:#576a82}.detail strong{color:var(--navy)}dialog{font-family:IRANSans,Tahoma,sans-serif;color:var(--ink);border-color:var(--border)}dialog h2{color:var(--navy)}dialog p{color:var(--muted);line-height:1.9;font-size:11px}
@media(max-width:900px){.topbar-label{display:none}main{padding:20px 12px}header{align-items:flex-start;flex-direction:column}.toolbar{gap:12px}.toolbar .check{margin-right:0}table{min-width:1060px}thead th:first-child,tbody td:first-child{position:sticky;right:0;z-index:2}}
.fee-line{display:block;color:#818da0;font-size:9px;font-weight:400;direction:rtl;text-align:right;margin-top:3px;white-space:normal}.pair{min-height:48px}tbody tr{height:74px}
