/* Shared visual system: Persian typography, indigo accents, responsive merchant workspace. */
@font-face{font-family:Vazirmatn;src:url('fonts/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--green:#6154db;--green-dark:#4f42c0;--mint:#eeecff;--ink:#282b45;--muted:#737b91;--line:#e9eaf2;--bg:#f6f7fb;--white:#fff}
body{font-family:Vazirmatn,Tahoma,sans-serif;font-size:14px;line-height:1.9;color:var(--ink);background:var(--bg)}a:hover{color:#4534bf}button,.button{border-radius:10px;padding:10px 18px;font-weight:600;min-height:44px;transition:background .15s,box-shadow .15s}button:hover,.button:hover{background:#5143c7;box-shadow:0 4px 12px #6154db20}.light{border-color:#e4e1f6;color:#6154db;background:#fff}.light:hover{background:#f1efff;color:#5143c7}.small{padding:7px 14px;min-height:38px;font-size:13px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a69bf5;outline-offset:3px}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.sidebar{width:252px;padding:28px 20px 18px;border-left:1px solid var(--line);overflow-y:auto;scrollbar-width:thin;z-index:40}.brand{font-size:25px;letter-spacing:-1px;color:#292740;gap:10px}.brand-icon{width:39px;height:39px;border-radius:12px;background:#6154db;box-shadow:0 5px 12px #6154db28}.brand-icon .icon{width:25px;height:25px;stroke-width:1.8}.brand-dot{color:#887bf2}.brand-caption{font-size:11px;color:var(--muted);margin:5px 49px 24px 0}.workspace-card{display:flex;align-items:center;gap:10px;padding:14px 10px;background:#f8f8fc;border:1px solid var(--line);border-radius:12px;color:var(--ink)}.workspace-card div{flex:1;min-width:0}.workspace-card strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-card small{font-size:11px;color:var(--muted)}.workspace-card>.icon{width:16px;color:#9297ab}.avatar{background:#ece9ff;color:#6154db;border:0;border-radius:12px;font-weight:700;width:39px;height:39px;flex-shrink:0}.workspace-label{font-size:11px;margin:26px 12px 9px;color:#969aaf}.sidebar nav a{font-size:13px;gap:12px;padding:11px 13px;margin:4px 0;color:#687087;border-radius:9px}.sidebar nav a.selected{background:#6154db;color:#fff;box-shadow:0 5px 13px #6154db22;font-weight:600}.sidebar nav a:hover:not(.selected){background:#f2f0fe;color:#6154db}.sidebar nav small{font-size:10px;background:#f0eef9;border-radius:5px;color:#89839d}.sidebar nav a.selected small{color:#fff;background:#ffffff24}.nav-separator{margin:18px 10px;background:var(--line)}.sidebar-bottom{padding-top:28px}.support-card{background:linear-gradient(135deg,#f1eeff,#f8f8ff);border:1px solid #ebe7ff;border-radius:12px;padding:16px;font-size:12px}.support-card>.icon{display:block;color:#8474df;margin-bottom:10px}.support-card strong{font-size:12px}.support-card p{font-size:11px;color:#858099;margin:8px 0}.support-card a{font-size:11px}.logout{font-size:12px;color:#868298;min-height:38px;padding:8px}.logout:hover{background:#f5f3fc;color:#6154db;box-shadow:none}.shell{margin-right:252px}.topbar{height:80px;padding:0 32px;background:#fff;border-color:var(--line);font-size:12px}.topbar-title{display:flex;gap:12px;align-items:center;color:var(--muted)}.topbar-title strong{font-weight:500;color:#52576d}.slash{padding:0 12px;color:#c8c9d6}.user-chip{font-size:12px;color:#575b73;gap:10px}.user-chip>.icon{width:17px;color:#9e9bb3}.user-chip .avatar{width:33px;height:33px;border-radius:10px}.shell main{padding:26px 32px 36px;max-width:1700px}.demo-banner{padding:8px 13px;border-radius:8px;background:#fff9ed;border:1px solid #f4e8cf;font-size:12px;color:#a07829;gap:8px;margin-bottom:26px}.demo-banner .icon{width:17px;height:17px}.demo-banner>span:last-child{color:#957e51;font-size:11px}.eyebrow{font-size:12px;color:#9699ae;margin-bottom:9px}.page-heading{margin:0 0 26px;gap:20px}.page-heading h1{font-size:26px;font-weight:750;letter-spacing:-.8px;margin:0 0 6px}.page-heading p{font-size:13px;color:var(--muted)}.welcome-spark{font-size:25px;color:#9a8bf4;margin-right:5px}.page-heading>.button{font-size:13px;white-space:nowrap}
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat{border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 3px 12px #25234603}.stat.primary{background:linear-gradient(120deg,#7264e7,#5949cb);border-color:transparent;color:#fff}.stat strong,.stat.primary strong{font-family:inherit;font-size:29px;font-weight:750;line-height:1.7;margin:18px 0 15px;white-space:normal;overflow-wrap:anywhere}.stat strong small{font-size:12px;color:#9699ae;font-weight:400}.stat .stat-label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#797d92;font-size:12px}.stat-icon{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:10px;flex-shrink:0}.violet{background:#f0edff;color:#8b76db}.teal{background:#eaf7f4;color:#52a18c}.amber{background:#fff4e6;color:#c59a5b}.stat .stat-foot{display:flex;align-items:center;gap:5px;border-top:1px solid #efeff6;padding-top:11px;font-size:11px;color:#9295aa}.stat .stat-foot .icon{width:15px;margin-right:auto}.stat.primary .stat-label,.stat.primary small,.stat.primary .stat-foot{color:#e2dcff}.stat.primary .stat-foot{border-color:#ffffff20}.stat.primary .stat-label>.icon{padding:7px;box-sizing:content-box;border-radius:10px;background:#ffffff17}.dot.green{background:#58b29a}.dot.amber{background:#d1a04b}
.panel{border-radius:14px;padding:24px;border-color:var(--line);box-shadow:0 3px 14px #27224c03;margin-bottom:24px}.section-head{margin-bottom:22px}.section-head h2,h2{font-size:16px;font-weight:700;color:#36374e}.section-head a{font-size:12px}.section-subtitle{margin:3px 0 0;color:#9094a8;font-size:11px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:24px}.chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.segmented{display:flex;padding:4px;background:#f6f5fb;border:1px solid #eeeaf8;border-radius:9px}.segmented button{background:transparent;color:#8b87a1;border:0;padding:5px 12px;font-size:11px;min-height:30px;border-radius:6px;box-shadow:none}.segmented button.active{background:#fff;color:#6154db;box-shadow:0 2px 7px #40308e12}.period-select select{border:1px solid var(--line);border-radius:8px;padding:6px 10px;font-size:11px;color:#73768c;background:#fff;min-height:36px}.chart-legend{font-size:10px;color:#86899e;display:flex;align-items:center;gap:6px}.chart-legend i{width:7px;height:7px;border-radius:50%;background:#7666e7}.chart-container{position:relative;margin-top:22px;min-height:190px;display:grid;align-items:center}.chart-container svg{display:block;width:100%;overflow:visible;direction:ltr}.chart-point{opacity:0;cursor:pointer;transition:opacity .15s}.chart-point:hover,.chart-point:focus{opacity:1;outline:none}.chart-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#ffffffde;text-align:center;padding:14px;pointer-events:none}.chart-empty strong{font-size:13px;font-weight:600}.chart-empty>span:last-child{font-size:11px;color:#9694a8}.chart-caption{display:flex;justify-content:space-between;gap:12px;color:#9091a6;font-size:10px;margin:8px 0 17px}.chart-summary{display:flex;gap:20px;align-items:center;border-top:1px solid var(--line);padding-top:16px;font-size:11px;color:#9091a6;flex-wrap:wrap}.chart-summary strong{font-size:17px;color:#4c4b67}.chart-summary small{font-size:10px;font-weight:400;color:#9493a7}.gateway-overview{display:flex;flex-direction:column}.gateway-overview .empty{padding:26px 5px;flex:1}.gateway-tip{display:flex;align-items:flex-start;gap:8px;border-top:1px solid var(--line);padding-top:16px;margin-top:auto;color:#9995ab;font-size:11px}.gateway-tip .icon{width:17px}.gateway-row{border-color:#f0eff6;gap:12px;min-width:0}.gateway-row strong{color:#4c4d66;font-size:13px}.gateway-row div{min-width:0}.gateway-row small{font-size:11px;overflow-wrap:anywhere;color:#9a98aa}.shop-icon{background:#f4f1ff;border-color:#eeebfa;color:#8b7cce;width:42px;height:42px;flex-shrink:0}.badge{font-size:11px;padding:3px 9px;border-radius:6px;background:#fff6e7;color:#b38a4b}.badge.active,.badge.success{background:#ecf8f2;color:#4a9977}.badge.failed,.badge.rejected,.badge.verify_failed{background:#fff0ef;color:#cc7c76}.badge.large{font-size:13px}.empty{padding:42px 18px}.empty h3{font-size:15px;color:#56516e;font-weight:600}.empty p{font-size:12px;color:#9490a5;line-height:2}.empty>span{color:#a195db}.empty .empty-orbit{display:grid;place-items:center;width:65px;height:65px;background:#f4f1ff;border-radius:22px;margin:auto;box-shadow:0 0 0 10px #faf9ff}.empty-orbit .icon{width:29px;height:29px}.empty .button{font-size:12px}.developer-banner{display:flex;align-items:center;gap:20px;padding:25px 28px;border:1px solid #e8e3fb;background:linear-gradient(110deg,#f4f0ff,#eeedff);border-radius:14px}.developer-banner h2{margin:0 0 5px;font-size:17px}.developer-banner p{font-size:12px;color:#9690a9;margin:0}.developer-banner>.button{margin-right:auto;font-size:12px}.developer-icon{background:white;border:1px solid #e8e1fc;border-radius:13px;color:#8875d5;padding:13px}.developer-icon .icon{width:26px;height:26px}
.table-wrap{border:1px solid #efedf5;border-radius:10px}th{background:#f8f7fc;font-size:12px;padding:14px 15px;color:#9290a5}td{font-size:12px;color:#68687e;padding:18px 15px;border-color:#f0eef7}td.money{font-size:14px;color:#484661}tbody tr:hover{background:#fcfbff}.table-wrap .empty{padding:40px 15px}td .empty p{white-space:normal}.filter-form>.form-grid{gap:16px}.report-total{background:#eeebfc;border:1px solid #e6e0f6;padding:13px 18px;border-radius:10px;margin:20px 0;color:#8a7f9f;font-size:13px}.report-total strong{font-size:17px;color:#6554b9}.pagination{font-size:13px;padding-bottom:0}.form-panel{max-width:850px}.form-panel.wide{max-width:none}.field label{font-size:13px;color:#67647e;margin-bottom:8px}.field input,.field select,.field textarea{border:1px solid #e3e1ed;background:#fdfcfe;border-radius:9px;color:#48455f;padding:11px 13px;min-height:46px;transition:border-color .15s}.field input:hover,.field select:hover,.field textarea:hover{border-color:#c9c0ee}.field input:focus,.field select:focus,.field textarea:focus{border-color:#9381df;background:#fff}.field small{font-size:11px;line-height:1.9;color:#928c9f}.field input[type=file]{font-size:12px;padding:8px}.field input::file-selector-button{font:inherit;color:#7560b9;background:#f1edfc;border:0;border-radius:6px;padding:6px 10px;margin-left:10px;cursor:pointer}.form-grid{gap:22px 28px}.form-section{padding-bottom:30px;margin-bottom:30px}.form-section legend{font-size:16px;color:#5c507d;border-right:3px solid #9783de;padding-right:12px}.errorlist{font-size:12px;color:#b45c6e}.notice{font-size:13px;border-radius:10px}.detail-grid span{font-size:12px;color:#938c9f}.detail-grid strong{font-size:15px;color:#5e5575;overflow-wrap:anywhere}.text-button{font-size:12px}.prose p,.prose li{font-size:14px;color:#777085}pre{background:#28253e;color:#e0d9f4;font-size:13px}code{font-size:13px}.auth-wrap{gap:80px;margin:50px auto}.auth-copy h1{font-size:38px;color:#3d3356}.auth-copy p{color:#92879f}.auth-form{padding:36px}.auth-form p{font-size:13px}.abstract-card{background:linear-gradient(125deg,#7662dc,#5040ad);box-shadow:0 25px 70px #6550c830}.abstract-card>span{color:#d3c9f8}.decor-circle{background:#eae4fa}.visual-bars i{background:#ab9ae9}.visual-bars i:nth-child(3n){background:#d1c4ff}.hero h1 em{color:#8c71cf}.hero p,.hero-notes,.feature-grid p{color:#94899f}.feature-grid p{font-size:13px}.step{color:#ac99d3}.payment-amount{color:#6c50ac}.connect-card{background:#f0ebfc;border-color:#e6dcf7}.connect-card p{color:#9483a5}.connect-card .eyebrow,.code-mark{color:#9a85b5}footer{padding:22px 32px;font-size:12px;color:#9a93a8;border-color:var(--line)}footer span{font-size:11px;color:#aaa4b5}.menu-toggle,.nav-veil{display:none}.gateway-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.gateway-card{margin:0;display:flex;flex-direction:column;gap:20px}.gateway-card .section-head{margin:0}.gateway-card h2{font-size:17px;margin:0}.gateway-domain{display:block;text-align:right;font-size:12px;color:#91869f;overflow-wrap:anywhere}.merchant-box{padding:13px 15px;background:#f8f6fc;border:1px solid #eee8f5;border-radius:9px}.merchant-box span{font-size:11px;color:#9c91a7;display:block}.merchant-box strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.gateway-card>.button{margin-top:auto}.profile-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:24px}.profile-summary{text-align:center;align-self:start}.profile-summary .avatar{width:70px;height:70px;font-size:28px;margin:8px auto 15px;border-radius:22px}.profile-summary p{font-size:12px;color:#8f839c}.profile-summary h2{margin:0}
@media(min-width:1600px){.shell main{padding:32px 42px}.stat{padding:24px}.chart-container{min-height:260px}}
@media(max-width:1200px){.sidebar{width:225px;padding:24px 15px}.shell{margin-right:225px}.shell main{padding:24px}.topbar{padding:0 24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:18px}.chart-panel{padding:20px}.gateway-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.stat strong{margin:10px 0}.chart-legend{display:none}}
@media(max-width:960px){.overview-grid{grid-template-columns:1fr}.gateway-overview .empty{padding:30px}.gateway-overview .gateway-row{padding:15px 0}.profile-layout{grid-template-columns:1fr}.profile-summary{order:-1}.page-heading h1{font-size:23px}.topbar-title>span{font-size:11px}.user-chip>span:not(.avatar){max-width:120px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.filter-form>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{position:fixed;top:0;bottom:0;right:0;width:270px;padding:25px 20px;transform:translateX(100%);transition:transform .2s;border-left:1px solid var(--line)}.sidebar .brand{font-size:25px}.sidebar nav{display:block;overflow:visible;margin-top:0}.sidebar nav a{font-size:14px;padding:11px 13px;gap:12px}.sidebar nav small,.workspace-label,.sidebar-bottom,.nav-separator{display:block}.sidebar nav small{margin-right:auto}.sidebar-bottom{margin-top:auto}.shell{margin-right:0}.nav-open .sidebar{transform:translateX(0)}.nav-open{overflow:hidden}.nav-open .nav-veil{display:block;position:fixed;inset:0;z-index:35;background:#25203b66;border:0;border-radius:0;backdrop-filter:blur(3px)}.menu-toggle{display:inline-flex;padding:7px;min-height:38px}.topbar{height:69px;padding:0 17px}.topbar-title .slash,.topbar-title strong{display:none}.user-chip>.icon{display:none}.shell main{padding:20px 16px}.page-heading{gap:17px;margin-bottom:22px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px}.page-heading>.button{min-height:42px}.demo-banner{gap:6px;font-size:11px;margin-bottom:23px}.demo-banner>span:last-child{font-size:10px;margin:0}.stats-grid{gap:12px;margin-bottom:20px}.stat{padding:16px}.stat strong,.stat.primary strong{font-size:25px;margin:14px 0}.stat .stat-label{font-size:11px;align-items:flex-start}.stat-icon{width:29px;height:29px}.stat-icon .icon{width:17px}.stat .stat-foot{font-size:10px}.stat strong small{font-size:10px}.stat.primary .stat-label>.icon{width:17px;height:17px;padding:5px}.panel{padding:18px;margin-bottom:20px}.overview-grid{gap:0}.section-head{gap:10px;margin-bottom:18px}.section-head h2,h2{font-size:15px}.section-head a{font-size:11px}.section-subtitle{font-size:10px}.chart-summary{gap:12px}.chart-summary strong{font-size:15px}.chart-empty strong{font-size:12px}.chart-empty>span:last-child{font-size:10px}.chart-container{min-height:175px;margin-top:12px}.chart-caption{font-size:10px;flex-wrap:wrap}.developer-banner{padding:20px;gap:13px;flex-wrap:wrap}.developer-banner h2{font-size:15px}.developer-banner p{font-size:11px}.developer-banner>.button{margin-right:0}.developer-icon{padding:10px}.developer-icon .icon{width:22px;height:22px}.gateway-cards{grid-template-columns:1fr;gap:0}.form-grid,.filter-form>.form-grid{grid-template-columns:1fr}.field label{font-size:13px}.field input,.field select,.field textarea{font-size:16px}.field small{font-size:11px}.detail-grid{grid-template-columns:1fr 1fr;gap:22px}.detail-grid strong{font-size:13px}.gateway-row{flex-wrap:nowrap;gap:10px}.gateway-row .badge{font-size:10px;padding:3px 6px}.gateway-row small{font-size:10px}.gateway-row strong{font-size:12px}.badge{font-size:11px}.auth-form{padding:25px}.hero h1{font-size:39px}.hero p{font-size:14px}.hero-notes{font-size:11px;flex-wrap:wrap}.hero-visual .abstract-card strong{font-size:25px}.report-total{gap:8px;font-size:12px}.report-total strong{font-size:16px}footer{padding:20px 16px;font-size:11px;gap:10px;flex-wrap:wrap}footer span{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
/* Readable secondary labels and a visible mobile navigation exit. */
.menu-close{display:none}.section-subtitle,.chart-caption,.chart-summary small,.field small,.gateway-tip,.stat .stat-foot{font-size:12px;color:#777489}.gateway-list-note{font-size:12px;margin-top:22px}.text-button:hover{background:#f1edfc;color:#6154db;box-shadow:none}.empty>span>.icon{width:34px;height:34px}.stat.primary .stat-foot{color:#e2dcff}.workspace-card small,.gateway-row small{color:#7e788e}.chart-empty>span:last-child{color:#797487}
@media(max-width:760px){.menu-close{display:inline-flex;align-self:flex-end;margin-top:14px;min-height:36px;font-size:12px}.sidebar .workspace-label{margin-top:16px}.section-subtitle,.chart-caption,.chart-summary small,.stat .stat-foot{font-size:11px}.chart-empty strong{font-size:13px}.chart-empty>span:last-child{font-size:11px}}
/* Field guidance is available on hover, keyboard focus, and touch focus. */
.field.checkbox{display:block}
.field-label-row{display:flex;align-items:center;gap:7px;margin-bottom:8px;min-height:25px}
.field-label-row label{margin:0;line-height:1.7}
.field-guide{position:relative;display:inline-flex;align-items:center;flex:none;z-index:2}
.field-guide:focus-within{z-index:12}
.field-guide-trigger{width:21px;height:21px;min-width:21px;padding:0;border:1px solid #b9b0d4;border-radius:50%;background:#f5f2fc;color:#65558b;font-size:12px;font-weight:700;line-height:1;cursor:help}
.field-guide-trigger:hover,.field-guide-trigger:focus-visible{background:#e9e2fb;border-color:#7968ad;color:#38285f}
.field-guide-bubble{position:absolute;right:0;top:calc(100% + 9px);width:max-content;max-width:min(310px,calc(100vw - 40px));padding:11px 13px;border:1px solid #dcd5ec;border-radius:10px;background:#fff;color:#353048;box-shadow:0 10px 30px #2b244427;font-size:12px;font-weight:400;line-height:1.9;text-align:right;white-space:normal;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .12s ease}
.field-guide-bubble::before{content:"";position:absolute;right:6px;top:-6px;width:10px;height:10px;background:#fff;border-top:1px solid #dcd5ec;border-right:1px solid #dcd5ec;transform:rotate(-45deg)}
.field-guide:hover .field-guide-bubble,.field-guide:focus-within .field-guide-bubble{visibility:visible;opacity:1}
.field.checkbox>input[type=checkbox]{margin:2px 0 0}
