/* پایه، ورود و موبایل — سیستم مدیریت هوشمند مشتریان v2.39.2
   ترتیب بلوک‌ها عیناً حفظ شده تا اولویت آبشاری (cascade) تغییر نکند. */

/* ===== [01] core ===== */
:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html{scroll-padding-top:env(safe-area-inset-top,0px)}body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#fff;color:#000}img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}
/* ===== ATM POLISH v4: refined glass, aligned and readable ===== */
html body .dlg.atmdlg.v3{width:min(1500px,98.5vw)!important;max-width:none!important;border:1px solid rgba(255,255,255,.58);border-radius:24px;box-shadow:0 32px 100px rgba(5,18,50,.38),inset 0 1px rgba(255,255,255,.7);background:linear-gradient(145deg,#f7faff 0%,#edf3fb 48%,#f8faff 100%);backdrop-filter:blur(24px)}
.atmdlg.v3 .a3-hd{background:linear-gradient(120deg,rgba(8,24,62,.98),rgba(22,57,117,.96) 58%,rgba(17,113,133,.92));border-bottom:3px solid #d7b65b;box-shadow:0 8px 26px rgba(10,30,75,.18);padding:17px 22px 16px;gap:18px}
.atmdlg.v3 .a3-t h2{font-size:23px;letter-spacing:-.3px}.atmdlg.v3 .a3-t>small{color:#dce8ff;margin-bottom:12px}
.atmdlg.v3 .a3-ch label{border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.94);box-shadow:0 3px 10px rgba(0,0,0,.08);border-radius:12px;padding:5px 8px}.atmdlg.v3 .a3-ch input{background:#edf4ff;border:1px solid #d7e4f5;border-radius:8px;width:98px;height:30px}.atmdlg.v3 .a3-ch label:nth-child(3) input{width:140px}
.atmdlg.v3 .a3-codes>div{border:1px solid rgba(245,210,117,.8);background:rgba(255,255,255,.09);border-radius:14px;min-width:92px;box-shadow:inset 0 1px rgba(255,255,255,.12)}.atmdlg.v3 .a3-codes b{font-size:22px}
.atmdlg.v3 .a3-b{padding:18px 20px 20px!important;max-height:calc(94vh - 170px);overflow:auto;scrollbar-width:thin;scrollbar-color:#aabbd2 transparent}
.atmdlg.v3 .a3-tool{padding:10px 12px;border:1px solid #dce7f4;border-radius:15px;background:rgba(255,255,255,.72);box-shadow:0 8px 22px rgba(24,52,99,.05);margin-bottom:15px}
.atmdlg.v3 .a3-tip{color:#52637d;line-height:1.7}.atmdlg.v3 .segc{padding:3px;background:#e8eff9;border:1px solid #d5e1f0;border-radius:12px}.atmdlg.v3 .segc button{border-radius:9px;padding:7px 14px}.atmdlg.v3 .segc button[aria-pressed=true]{background:linear-gradient(135deg,#1b477f,#0f8994);color:white;box-shadow:0 4px 12px rgba(17,92,132,.22)}
.atmdlg.v3 .a3-panels{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.atmdlg.v3 .ap{border:1px solid rgba(190,207,229,.9);border-radius:18px;background:rgba(255,255,255,.88);box-shadow:0 12px 30px rgba(23,49,92,.08),inset 0 1px rgba(255,255,255,.95);animation:none;min-width:0}
.atmdlg.v3 .ap-h{padding:13px 14px;background:linear-gradient(110deg,#132e62,#24558c 68%,#177f8b);border-bottom:1px solid rgba(255,255,255,.22)}.atmdlg.v3 .ap-h b{font-size:14px;line-height:1.45}.atmdlg.v3 .ap-n{background:linear-gradient(145deg,#f6df94,#d8b451);color:#17315f;box-shadow:0 0 0 3px rgba(255,255,255,.16)}
.atmdlg.v3 .ap table{table-layout:fixed;font-size:12px}.atmdlg.v3 .ap thead th{padding:10px 4px;background:#eaf1fb;color:#405574;font-size:11px;line-height:1.5;white-space:normal}.atmdlg.v3 .ap td,.atmdlg.v3 .ap tbody th{padding:8px 4px;border-bottom:1px solid #edf2f8}.atmdlg.v3 .dnc b{padding:7px 3px;font-size:12.5px;border-radius:9px}.atmdlg.v3 .dnc small{font-size:9px;line-height:1.4}
.atmdlg.v3 .ap .atm-in{width:clamp(48px,5.2vw,78px);min-width:0;max-width:78px;height:34px;padding:5px 3px;border-radius:9px;border:1px solid #cdd9e9;background:#f8fbff;color:#14294d;text-align:center;font-weight:800;font-size:13px;box-shadow:inset 0 1px 2px rgba(20,45,85,.04);transition:border-color .15s,box-shadow .15s}.atmdlg.v3 .ap .atm-in:focus{outline:none;border-color:#158b9a;box-shadow:0 0 0 3px rgba(21,139,154,.14);background:#fff}.atmdlg.v3 .ap .atm-in.bad{border-color:#dc4545;background:#fff1f1;box-shadow:0 0 0 2px rgba(220,69,69,.12)}
.atmdlg.v3 .ap td small{font-size:9.5px;line-height:1.4;min-height:0;margin-top:3px}.atmdlg.v3 .ap td.am{font-size:11.5px;white-space:normal;overflow-wrap:anywhere;color:#1a477e}.atmdlg.v3 .ap tfoot th,.atmdlg.v3 .ap tfoot td{padding:10px 4px;background:#f9f1d4;color:#243b63;font-size:12px}.atmdlg.v3 .ap-f{padding:10px 11px;background:linear-gradient(180deg,#fbfdff,#f1f6fc);font-size:10.5px;line-height:1.65;color:#566783}.atmdlg.v3 .ap-f b{color:#173c70}
.atmdlg.v3 .a3-cards{gap:13px;margin:16px 0}.atmdlg.v3 .ac{position:relative;min-width:0;padding:15px 15px 13px;border-radius:17px;border:1px solid #d5e2f1;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,246,255,.94));box-shadow:0 9px 24px rgba(24,52,96,.07);overflow:hidden}.atmdlg.v3 .ac:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#2b82a4,#7bc7c9)}.atmdlg.v3 .ac small{color:#51627d;line-height:1.6}.atmdlg.v3 .ac b{font-size:clamp(17px,1.5vw,22px);color:#173c70;overflow-wrap:anywhere}.atmdlg.v3 .ac em{color:#71809a}.atmdlg.v3 .ac.dark{background:linear-gradient(130deg,#102957,#1e4f8b 68%,#117d8b);border:1px solid #d5b85f;box-shadow:0 14px 28px rgba(18,54,104,.2)}.atmdlg.v3 .ac.dark:before{display:none}.atmdlg.v3 .ac.dark b{color:#f4d77c;font-size:clamp(20px,1.8vw,27px)}
.atmdlg.v3 .ac-s{width:100%;text-align:center;padding:8px 9px;border-radius:10px;line-height:1.6;border:1px solid transparent}.atmdlg.v3 .ac-s.on{background:#e6f7ef;color:#08784e;border-color:#a9e3c9}.atmdlg.v3 .ac-s.off{background:#fff1ed;color:#b33c2f;border-color:#ffc9bd;animation:none}.atmdlg.v3 .ac-s.na{background:#eef2f7;color:#8390a4;border-color:#e0e7f0}.atmdlg.v3 .ac-ref{width:100%;min-width:0;height:34px;padding:6px 10px;border:1px solid #cbd8e9;background:#fbfdff;border-radius:10px;font-size:12px;outline:none}.atmdlg.v3 .ac-ref:focus{border-color:#168a99;box-shadow:0 0 0 3px rgba(22,138,153,.13)}.atmdlg.v3 .ac-ref.ref-missing{border-color:#dc4545;background:#fff4f3;box-shadow:0 0 0 2px rgba(220,69,69,.1)}
.atmdlg.v3 .a3-chk{gap:10px}.atmdlg.v3 .cp{border-radius:13px;padding:11px 12px;background:rgba(255,255,255,.84);border-color:#d8e3ef;box-shadow:0 4px 12px rgba(25,52,91,.04);line-height:1.6}.atmdlg.v3 .cp[aria-pressed=true]{background:linear-gradient(145deg,#effcf5,#e3f7ec);border-color:#8fd3af;color:#13764b}.atmdlg.v3 .cp-all{border-radius:12px;background:#fff6e9;border-color:#f1d2a2;color:#9a5a11}.atmdlg.v3 .cp-all.ok{background:#eaf9f0;border-color:#a4d9b8;color:#13764b}
.atmdlg.v3 .a3-more{gap:13px;margin-top:14px;padding:13px;border:1px solid #dce6f1;border-radius:15px;background:rgba(255,255,255,.7)}.atmdlg.v3 .a3-more .field{height:38px;border-radius:10px}.atmdlg.v3 .atm-warn{border-radius:12px;padding:0 13px;margin-top:10px;line-height:1.8}.atmdlg.v3 .atm-warn:not(:empty){padding:11px 13px;border:1px solid #b8dfce;background:#eefaf4;color:#17664a}.atmdlg.v3 .atm-warn.bad{border-color:#ffc2b9!important;background:#fff1ef!important;color:#a22e27!important}
.atmdlg.v3 .dlg-f{position:sticky;bottom:0;z-index:5;padding:13px 20px;background:rgba(249,252,255,.94);border-top:1px solid #dbe5f1;backdrop-filter:blur(16px);box-shadow:0 -8px 24px rgba(25,48,85,.06);gap:10px}.atmdlg.v3 .dlg-f .btn{min-height:40px;border-radius:12px;padding-inline:17px;font-weight:800}.atmdlg.v3 .dlg-f .btn.pri{background:linear-gradient(120deg,#16467f,#117f8b);box-shadow:0 7px 16px rgba(17,93,128,.2)}
.atmdlg.v3 .atm-bank-required{border:1px solid #ffc4bb!important;background:#fff3f1!important;color:#a02e25!important;box-shadow:0 0 0 3px rgba(220,69,69,.08)!important}
@media(max-width:1120px){.atmdlg.v3 .a3-panels{grid-template-columns:1fr}.atmdlg.v3 .ap table{table-layout:auto}.atmdlg.v3 .ap .atm-in{width:84px;max-width:100%}}
@media(max-width:720px){.atmdlg.v3 .a3-b{padding:12px!important;max-height:calc(94vh - 210px)}.atmdlg.v3 .a3-cards{grid-template-columns:1fr}.atmdlg.v3 .a3-chk{grid-template-columns:1fr}.atmdlg.v3 .a3-hd{padding:14px;gap:10px}.atmdlg.v3 .a3-t h2{font-size:19px}.atmdlg.v3 .a3-ch label{border-radius:10px}.atmdlg.v3 .dlg-f{flex-wrap:wrap}.atmdlg.v3 .dlg-f .btn{flex:1 1 44%}}


.atmdlg.v3 .a3-sign{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.atmdlg.v3 .a3-sign>div{display:flex;flex-direction:column;gap:10px;min-height:92px;padding:13px 15px;border:1px solid #d8e2ee;border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(242,247,253,.88));box-shadow:inset 0 1px rgba(255,255,255,.9)}.atmdlg.v3 .a3-sign b{font-size:12px;color:#2e4567}.atmdlg.v3 .a3-sign span{height:24px;border-bottom:1px dashed #9aaec7}.atmdlg.v3 .a3-sign small{color:#8492a7;font-size:10.5px}@media(max-width:720px){.atmdlg.v3 .a3-sign{grid-template-columns:1fr}}



/* Pishkhan Plus v11 — dashboard polish & responsive guardrails.
   CSS-only changes: preserve existing markup, data model and feature handlers. */
:root{--pp-v11-focus:rgba(36,112,201,.22);--pp-v11-line:#dce6f2;--pp-v11-ink:#19385f}
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
html body #page{min-width:0;overflow-wrap:anywhere}
html body #page .ph{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;min-width:0;gap:12px;padding:clamp(12px,2vw,18px);border:1px solid var(--pp-v11-line);border-radius:18px;background:linear-gradient(125deg,#fff 0%,#f7faff 66%,#effafa 100%);box-shadow:0 10px 28px -24px rgba(20,45,80,.55)}
html body #page .ph>div{min-width:0;max-width:100%}
html body #page .ph .bar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
html body #page .ph h1{color:var(--pp-v11-ink);line-height:1.5;overflow-wrap:anywhere}
html body #page .kpis{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}
html body #page .kpi{min-width:0;overflow:hidden}
html body #page .kpi .k{display:block;line-height:1.65;overflow-wrap:anywhere}
html body #page .kpi .v{display:block;max-width:100%;line-height:1.45;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;word-break:normal}
html body #page .cols,html body #page .c21,html body #page .c12,html body #page .c3{min-width:0}
html body #page .box{min-width:0;overflow-wrap:anywhere}
html body #page .box-h{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;min-width:0;gap:8px}
html body #page .box-h h2{min-width:0;overflow-wrap:anywhere}
html body #page .chart,html body #page .chart svg{max-width:100%;min-width:0}
html body #page .btn,html body #page button{touch-action:manipulation}
html body #page :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--pp-v11-focus)!important;outline-offset:2px}
@media(max-width:1100px){html body #page .kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){
 html body #page{padding-inline:12px!important}
 html body #page .ph{align-items:stretch;padding:13px;border-radius:15px}
 html body #page .ph .bar{justify-content:stretch}
 html body #page .ph .bar .btn{flex:1 1 auto;min-height:42px}
 html body #page .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 html body #page .kpi{padding:12px!important;border-radius:14px!important}
 html body #page .kpi .k{font-size:11px!important;line-height:1.6}
 html body #page .kpi .v{font-size:clamp(16px,4.4vw,22px)!important;letter-spacing:0!important}
 html body #page .box{min-width:0}
 html body #page .box-h{align-items:flex-start}
 html body #page .box-h .btn{min-height:38px}
 html body #page .list .li{align-items:flex-start;flex-wrap:wrap}
 html body #page .list .li>.bar{width:100%;justify-content:flex-start!important;flex-wrap:wrap}
 html body #page .chart svg{max-height:210px}
}
@media(max-width:380px){
 html body #page{padding-inline:8px!important}
 html body #page .kpis{gap:7px!important}
 html body #page .kpi{padding:10px!important}
 html body #page .kpi .k{font-size:10.5px!important}
 html body #page .kpi .v{font-size:16px!important}
 html body #page .ph h1{font-size:18px!important}
}
@media(prefers-reduced-motion:reduce){html body #page .kpi,html body #page .btn,html body #page .meter i{transition:none!important;scroll-behavior:auto!important}}

/* ===== [02] pishkhan-performance-patch ===== */
html.lowmo body::before,html.lowmo body::after{animation:none!important}
html.lowmo .box,html.lowmo .kpi,html.lowmo .coach,html.lowmo .btn,html.lowmo .side,html.lowmo .topbar,html.lowmo .login-card,html.lowmo .dlg,html.lowmo .tile2,html.lowmo .gcard,html.lowmo .ins{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html.lowmo .box,html.lowmo .kpi,html.lowmo .coach,html.lowmo .dlg,html.lowmo .login-card{box-shadow:0 4px 14px rgba(15,35,65,.07)!important}
html.lowmo *,html.lowmo *::before,html.lowmo *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.08s!important}
html.lowmo .ripple{display:none!important}

/* ===== [03] atm-polish-overrides ===== */
/* ATM modal: compact, stable and consistent */
html body .dlg.atmdlg.v3{width:min(1320px,96vw)!important;max-width:none!important;max-height:90vh;display:flex;flex-direction:column;overflow:hidden!important;border-radius:22px}
.atmdlg.v3 .a3-hd{flex:0 0 auto;padding:14px 18px 12px;gap:14px}
.atmdlg.v3 .a3-t h2{font-size:21px;line-height:1.3;margin:0}
.atmdlg.v3 .a3-t>small{margin-bottom:8px;font-size:12px}
.atmdlg.v3 .a3-codes>div{min-width:86px;padding:8px 10px}
.atmdlg.v3 .a3-codes b{font-size:20px}
.atmdlg.v3 .a3-ch{gap:8px}
.atmdlg.v3 .a3-ch label{padding:4px 7px;border-radius:11px}
.atmdlg.v3 .a3-ch input{width:88px;height:28px;font-size:12.5px}
.atmdlg.v3 .a3-ch label:nth-child(3) input{width:124px}
.atmdlg.v3 .a3-b{flex:1 1 auto;min-height:0;overflow:auto;padding:14px 16px 12px!important;max-height:none!important}
.atmdlg.v3 .a3-tool{margin-bottom:12px;padding:9px 11px;border-radius:14px}
.atmdlg.v3 .segc button{padding:6px 12px;font-size:12px}
.atmdlg.v3 .a3-panels{gap:12px}
.atmdlg.v3 .ap{border-radius:16px;animation:none!important}
.atmdlg.v3 .ap-h{padding:11px 12px}
.atmdlg.v3 .ap-h b{font-size:13.5px}
.atmdlg.v3 .ap table{font-size:11.5px}
.atmdlg.v3 .ap thead th{padding:8px 4px;font-size:10.5px;line-height:1.35}
.atmdlg.v3 .ap td,.atmdlg.v3 .ap tbody th{padding:6px 4px}
.atmdlg.v3 .dnc b{padding:6px 3px;font-size:12px}
.atmdlg.v3 .dnc small{font-size:8.7px}
.atmdlg.v3 .ap .atm-in{width:64px;max-width:64px;height:32px;padding:4px 3px;font-size:12.5px;border-radius:8px;transition:border-color .15s,box-shadow .15s,background-color .15s!important;transform:none!important}
.atmdlg.v3 .ap .atm-in:focus,.atmdlg.v3 .ac-ref:focus,.atmdlg.v3 .a3-more .field:focus{transform:none!important;outline:none;box-shadow:0 0 0 2px rgba(21,139,154,.14)!important}
.atmdlg.v3 .ap td small{font-size:8.8px;margin-top:2px}
.atmdlg.v3 .ap tfoot th,.atmdlg.v3 .ap tfoot td{padding:8px 4px;font-size:11.5px}
.atmdlg.v3 .ap-f{padding:8px 10px;font-size:10px;line-height:1.55}
.atmdlg.v3 .a3-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}
.atmdlg.v3 .ac{padding:11px 12px 10px;border-radius:14px;min-height:96px;display:flex;flex-direction:column;justify-content:space-between;animation:none!important}
.atmdlg.v3 .ac:before{width:3px}
.atmdlg.v3 .ac small{font-size:11px;line-height:1.45}
.atmdlg.v3 .ac b{font-size:18px;line-height:1.25}
.atmdlg.v3 .ac.dark b{font-size:21px}
.atmdlg.v3 .ac em{font-size:10.5px}
.atmdlg.v3 .ac-s{padding:7px 8px;border-radius:9px;font-size:11px}
.atmdlg.v3 .ac-ref{height:32px;padding:5px 9px;border-radius:9px;font-size:11.5px}
.atmdlg.v3 .a3-chk{gap:8px}
.atmdlg.v3 .cp{padding:9px 10px;border-radius:11px;font-size:12px}
.atmdlg.v3 .a3-more{gap:10px;margin-top:10px;padding:10px 12px;border-radius:13px}
.atmdlg.v3 .a3-more .field{height:34px;font-size:12.5px}
.atmdlg.v3 .atm-warn{font-size:11.5px;line-height:1.65}
.atmdlg.v3 .a3-sign{gap:10px;margin-top:10px}
.atmdlg.v3 .a3-sign>div{min-height:80px;padding:11px 12px;border-radius:12px}
.atmdlg.v3 .a3-sign b{font-size:11.5px}
.atmdlg.v3 .a3-sign small{font-size:10px}
.atmdlg.v3 .dlg-f{position:sticky;bottom:0;flex:0 0 auto;padding:10px 16px;gap:8px;border-top:1px solid #dbe5f1}
.atmdlg.v3 .dlg-f .btn{min-height:36px;padding-inline:14px;border-radius:11px;font-size:12.5px;transform:none!important}
.atmdlg.v3 .btn:hover,.atmdlg.v3 .btn:active,.atmdlg.v3 .ac:hover,.atmdlg.v3 .ap:hover,.atmdlg.v3 .cp:hover,.atmdlg.v3 .field:hover,.atmdlg.v3 .atm-in:hover,.atmdlg.v3 .segc button:hover{transform:none!important}
@media(max-width:1260px){.atmdlg.v3 .a3-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1120px){html body .dlg.atmdlg.v3{width:min(1180px,97vw)!important;max-height:92vh}.atmdlg.v3 .a3-panels{grid-template-columns:1fr;gap:10px}.atmdlg.v3 .ap table{table-layout:auto}.atmdlg.v3 .ap .atm-in{width:74px;max-width:100%}}
@media(max-width:720px){html body .dlg.atmdlg.v3{width:100vw!important;max-width:100vw!important;max-height:100vh;border-radius:0}.atmdlg.v3 .a3-b{padding:12px!important}.atmdlg.v3 .a3-cards,.atmdlg.v3 .a3-sign,.atmdlg.v3 .a3-chk{grid-template-columns:1fr}}

/* ===== [04] staff-login-polish ===== */
.login-pro{background:radial-gradient(circle at 18% 12%,rgba(37,170,184,.18),transparent 35%),radial-gradient(circle at 88% 90%,rgba(67,91,176,.18),transparent 35%),rgba(7,19,42,.68)!important;backdrop-filter:blur(12px)!important}
.login-card-pro{width:min(470px,calc(100vw - 30px))!important;padding:27px!important;border:1px solid rgba(255,255,255,.75)!important;border-radius:26px!important;background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(238,246,253,.94))!important;box-shadow:0 28px 80px rgba(4,18,43,.35),inset 0 1px 0 #fff!important;color:#15294a!important}
.login-brand-pro{display:flex;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid #dce6f1}
.login-brand-pro>div{display:flex;flex-direction:column;gap:3px}.login-brand-pro>div b{font-size:19px;letter-spacing:-.4px;color:#16325c}.login-brand-pro>div small{font-size:11px;color:#71819a}
.login-brand-mark{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#174278,#0b8790);color:#fff;font-weight:900;font-size:24px;box-shadow:0 7px 17px rgba(16,101,130,.25);border:1px solid rgba(255,255,255,.75)}
.login-live{margin-inline-start:auto;display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #cfe5df;border-radius:99px;background:#effaf5;color:#28735f;font-size:10.5px;font-weight:700}.login-live i{width:7px;height:7px;border-radius:50%;background:#25a77c;box-shadow:0 0 0 3px rgba(37,167,124,.12)}
.login-intro{padding:20px 0 12px}.login-overline{font-size:9px;font-weight:900;letter-spacing:2px;color:#168897}.login-intro h2{font-size:25px;margin:5px 0 4px;color:#152e55}.login-intro p{margin:0;color:#75849b;font-size:12px}.login-user-label,.login-pin-label{display:block;margin:12px 0 7px;color:#405674;font-size:12px;font-weight:800}
.users-pro{display:flex;flex-direction:column;gap:8px;margin:0 0 14px}.uopt-pro{display:flex!important;align-items:center!important;gap:11px!important;width:100%;padding:11px 12px!important;border-radius:14px!important;border:1px solid #dce6f1!important;background:rgba(255,255,255,.72)!important;text-align:right!important;box-shadow:0 3px 10px rgba(24,52,88,.025)!important;transition:border-color .15s,background .15s,box-shadow .15s!important}.uopt-pro[aria-pressed=true]{border-color:#168d9a!important;background:linear-gradient(110deg,#eaf8f9,#f4f8ff)!important;box-shadow:0 0 0 2px rgba(22,141,154,.1)!important}.uopt-pro .sub{font-size:11px;color:#74839a;margin-top:3px}.login-user-check{margin-inline-start:auto;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#e9eff7;color:transparent;font-size:12px}.uopt-pro[aria-pressed=true] .login-user-check{background:#148b96;color:white}
.login-pin{width:100%;height:46px!important;border:1px solid #d7e2ef!important;border-radius:13px!important;background:#fff!important;color:#172b4b!important;font-size:18px!important;letter-spacing:.2em;text-align:center;box-shadow:inset 0 1px 2px rgba(20,40,70,.04)!important}.login-pin:focus{outline:none!important;border-color:#178b98!important;box-shadow:0 0 0 3px rgba(23,139,152,.12)!important}.login-submit{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:47px!important;margin-top:14px!important;padding:0 17px!important;border-radius:14px!important;background:linear-gradient(110deg,#174278,#087e89)!important;box-shadow:0 8px 18px rgba(12,102,132,.22)!important;font-size:13px!important}.login-submit b{font-size:19px}.login-demo{text-align:center;margin:12px 0 0;font-size:11px;color:#70809a}.login-foot{text-align:center;margin-top:16px;padding-top:12px;border-top:1px solid #e0e8f1;color:#8895a8;font-size:10px}
.staffdlg{width:min(800px,calc(100vw - 24px))!important;border-radius:22px!important;overflow:hidden!important;background:linear-gradient(145deg,#f8fbff,#edf3fb)!important;border:1px solid rgba(255,255,255,.7)!important;box-shadow:0 24px 70px rgba(4,18,43,.28)!important}.staffdlg .dlg-h{padding:18px 22px;background:linear-gradient(110deg,#122c5b,#21548a 65%,#0f828e);color:#fff}.staffdlg .dlg-h h2{color:#fff}.staffdlg .dlg-h .sub{color:#dce9fa;font-size:11px;margin-top:4px}.staffdlg .staff-body{padding:18px 22px;max-height:min(65vh,620px);overflow:auto}.staff-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.staff-grid .field{height:40px;border-radius:11px}.staff-perms{margin-top:20px;padding:15px;border:1px solid #d9e4f0;border-radius:16px;background:rgba(255,255,255,.78)}.staff-perms-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.staff-perms-head b{font-size:14px;color:#1c365e}.staff-perms-head .sub{font-size:11px;margin-top:4px}.staff-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.staff-menu{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #dbe5f0;border-radius:12px;background:#fff;cursor:pointer;min-width:0}.staff-menu:has(input:checked){border-color:#7ec8cb;background:linear-gradient(120deg,#effbfb,#f7faff);box-shadow:0 0 0 1px rgba(19,135,149,.08)}.staff-menu input{accent-color:#108995;width:15px;height:15px;flex:0 0 auto}.staff-menu-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#edf3fb;color:#20528a;flex:0 0 auto}.staff-menu b{display:block;font-size:11.5px;color:#20395e}.staff-menu small{display:block;font-size:9.5px;color:#8492a7;margin-top:3px;line-height:1.4}.staff-note{font-size:11px;color:#657894;line-height:1.7;margin:12px 0 0}.staff-error{color:#b52c30;font-size:12px;margin-top:8px;min-height:0}.staffdlg .dlg-f{padding:12px 20px;background:rgba(249,252,255,.95);border-top:1px solid #dbe5f1;display:flex;justify-content:flex-end;gap:8px}.staffdlg .dlg-f .btn{min-height:39px;border-radius:11px}.staff-admin .box-h{align-items:center}.staff-admin .li{gap:10px}
@media(max-width:620px){.login-card-pro{padding:20px!important}.login-live{display:none}.staff-grid{grid-template-columns:1fr}.staff-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-perms-head{align-items:flex-start;flex-direction:column}.staffdlg .staff-body{padding:14px;max-height:65vh}.staffdlg .dlg-h{padding:15px}.staffdlg .dlg-f{flex-wrap:wrap}.staffdlg .dlg-f .btn{flex:1}}

/* ===== [05] pishkhan-performance-hotfix ===== */
html.lowmo *,html.lowmo *::before,html.lowmo *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important;caret-color:auto!important}
html.lowmo .box,html.lowmo .kpi,html.lowmo .coach,html.lowmo .dlg,html.lowmo .login-card,html.lowmo .tile2,html.lowmo .gcard,html.lowmo .ins,html.lowmo .atmdlg,html.lowmo .atmdlg *{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html.lowmo .box,html.lowmo .kpi,html.lowmo .coach,html.lowmo .dlg,html.lowmo .login-card{box-shadow:0 2px 8px rgba(15,35,65,.06)!important}
html.lowmo .ripple,html.lowmo .fx,html.lowmo .sfx,html.lowmo .confetti,html.lowmo .atm-pulse{display:none!important}

/* ===== [06] staff-access-layout-fix ===== */
/* Fix: generic .dlg form grid was splitting the employee form body and footer into columns. */
html body .dlg.staffdlg #staffAdminForm{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  grid-template-columns:none!important;
  grid-auto-flow:row!important;
  gap:0!important;
  width:100%!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
}
html body .dlg.staffdlg #staffAdminForm>.staff-body{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  max-height:min(66vh,650px)!important;
  overflow:auto!important;
  padding:18px 22px!important;
}
html body .dlg.staffdlg #staffAdminForm>.dlg-f{
  display:flex!important;
  flex:0 0 auto!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  padding:12px 22px!important;
  margin:0!important;
  border-top:1px solid #dbe5f1!important;
  background:rgba(249,252,255,.98)!important;
}
html body .dlg.staffdlg #staffAdminForm>.dlg-f .btn{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:110px!important;
  min-height:40px!important;
  align-self:auto!important;
  white-space:nowrap!important;
}
html body .dlg.staffdlg{
  width:min(920px,calc(100vw - 28px))!important;
  max-width:calc(100vw - 28px)!important;
  max-height:92vh!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
html body .dlg.staffdlg>.dlg-h{flex:0 0 auto!important}
html body .dlg.staffdlg .staff-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
}
html body .dlg.staffdlg .staff-perms{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin-top:16px!important;
  padding:15px!important;
}
html body .dlg.staffdlg .staff-perms-head{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:12px!important;
}
html body .dlg.staffdlg .staff-menu-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
  width:100%!important;
}
html body .dlg.staffdlg .staff-menu{
  display:grid!important;
  grid-template-columns:16px 34px minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:8px!important;
  min-height:76px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding:10px!important;
  overflow:hidden!important;
}
html body .dlg.staffdlg .staff-menu input{
  grid-column:1!important;
  grid-row:1!important;
  width:15px!important;
  height:15px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  justify-self:center!important;
}
html body .dlg.staffdlg .staff-menu .staff-menu-icon{
  grid-column:2!important;
  grid-row:1!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  display:grid!important;
  place-items:center!important;
}
html body .dlg.staffdlg .staff-menu>span:last-child{
  grid-column:3!important;
  grid-row:1!important;
  display:block!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  text-align:right!important;
}
html body .dlg.staffdlg .staff-menu b{
  display:block!important;
  font-size:12px!important;
  line-height:1.5!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
html body .dlg.staffdlg .staff-menu small{
  display:block!important;
  font-size:10px!important;
  line-height:1.5!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
html body .dlg.staffdlg .staff-note{line-height:1.8!important}
@media(max-width:720px){
  html body .dlg.staffdlg{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:94vh!important}
  html body .dlg.staffdlg #staffAdminForm>.staff-body{padding:13px!important;max-height:calc(94vh - 160px)!important}
  html body .dlg.staffdlg .staff-grid{grid-template-columns:minmax(0,1fr)!important}
  html body .dlg.staffdlg .staff-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body .dlg.staffdlg .staff-perms-head{align-items:flex-start!important;flex-direction:column!important}
  html body .dlg.staffdlg #staffAdminForm>.dlg-f{padding:10px 13px!important}
}
@media(max-width:420px){html body .dlg.staffdlg .staff-menu-grid{grid-template-columns:minmax(0,1fr)!important}}

/* ===== [07] staff-reward-goals-style ===== */
.staff-reward-wrap{margin:0 0 16px;display:flex;flex-direction:column;gap:12px}
.staff-reward-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.staff-reward-head h2{margin:0;font-size:16px;color:var(--text,#10233f)}
.staff-reward-head .sub{margin-top:3px}
.staff-reward-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.staff-reward-kpi{padding:13px 15px;border:1px solid var(--line,#dbe5ef);border-radius:15px;background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(225,244,248,.8));box-shadow:0 5px 16px rgba(15,43,76,.05);min-width:0}
.staff-reward-kpi small{display:block;color:var(--muted,#65758b);font-size:11px}
.staff-reward-kpi strong{display:block;font-size:22px;color:var(--ink,#17345a);margin-top:4px}
.staff-reward-kpi span{font-size:11px;color:var(--muted,#65758b)}
.staff-reward-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.staff-reward-card{overflow:hidden;border:1px solid rgba(124,158,188,.28);border-radius:18px;background:var(--panel,#fff);box-shadow:0 8px 24px rgba(23,49,78,.07);min-width:0}
.staff-reward-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center;background:#eaf6fa}
.staff-reward-card .src-body{padding:13px 15px 15px}
.staff-reward-card .src-title{font-size:14px;font-weight:800;color:var(--ink,#142d50);display:flex;justify-content:space-between;align-items:center;gap:8px}
.staff-reward-card .src-title .pill{white-space:nowrap}
.staff-reward-card .src-meta{font-size:11.5px;color:var(--muted,#66758a);margin-top:5px}
.staff-reward-card .src-progress{height:8px;border-radius:99px;background:#e7edf4;overflow:hidden;margin:11px 0 7px}
.staff-reward-card .src-progress i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#0e8797,#42c4c4);width:0;transition:width .25s ease}
.staff-reward-card .src-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted,#66758a)}
.staff-reward-card .src-foot b{color:var(--ink,#17345a)}
.staff-reward-note{border-radius:12px;padding:10px 12px;background:rgba(14,145,155,.08);border:1px solid rgba(14,145,155,.16);font-size:12px;color:var(--ink,#17345a);line-height:1.8}
.staff-reward-leaderboard{border:1px solid var(--line,#dbe5ef);border-radius:15px;overflow:hidden;background:var(--panel,#fff)}
.staff-reward-leaderboard .sr-lb-head{padding:11px 14px;background:rgba(230,241,247,.6);font-weight:800;font-size:13px}
.staff-reward-leaderboard .sr-lb-row{display:grid;grid-template-columns:minmax(120px,1fr) 1.5fr 1.5fr;gap:12px;align-items:center;padding:11px 14px;border-top:1px solid var(--line,#e5ebf2);font-size:12px}
.staff-reward-leaderboard .sr-lb-row small{color:var(--muted,#6b7b90)}
.staff-reward-leaderboard .sr-mini-meter{height:6px;background:#e7edf4;border-radius:99px;overflow:hidden;margin-top:5px}
.staff-reward-leaderboard .sr-mini-meter i{display:block;height:100%;background:linear-gradient(90deg,#0e8797,#43c5b9);border-radius:99px}
@media(max-width:900px){.staff-reward-summary{grid-template-columns:1fr}.staff-reward-cards{grid-template-columns:1fr}.staff-reward-leaderboard .sr-lb-row{grid-template-columns:1fr;gap:6px}}
@media(prefers-reduced-motion:reduce){.staff-reward-card .src-progress i{transition:none}}

/* ===== [08] pplus-loans-ui-v115 ===== */
/* سیستم مدیریت هوشمند مشتریان ۱.۱.۵ — اصلاح رابط تسهیلات و منوی کناری */
html body .viz{gap:12px;margin-block:10px 14px;align-items:stretch}
html body .viz .box{min-width:0;overflow:hidden;border-radius:18px;border:1px solid var(--line-2);box-shadow:0 5px 18px rgba(30,55,90,.055)}
html body .viz .box-h{min-height:42px;padding:10px 14px;background:linear-gradient(180deg,var(--panel-2),var(--panel));border-bottom:1px solid var(--line)}
html body .viz .box-h h2{font-size:13px;letter-spacing:0}
html body .viz .box-b{min-height:190px!important;padding:12px 14px!important;display:flex;align-items:center;justify-content:center;overflow:hidden}
html body .viz .box-b>svg{display:block;width:100%;height:auto;max-height:255px}
html body .viz .box-b .d3wrap{width:100%;justify-content:center;gap:14px}
html body .viz .box-b .d3{width:145px;height:130px}
html body .viz .box-b .d3legend{font-size:11px;line-height:1.7}
html body .viz .box-b text{font-family:var(--f-ui);font-size:10.5px}
html body .board{grid-template-columns:repeat(6,minmax(155px,1fr))!important;gap:9px!important;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}
html body .colk{min-width:0;min-height:160px;border-radius:17px;border:1px solid var(--line-2);background:linear-gradient(180deg,var(--panel),var(--panel-2));box-shadow:0 4px 14px rgba(28,55,90,.045);overflow:hidden}
html body .colk-h{align-items:center;gap:6px;padding:10px 11px;background:color-mix(in srgb,var(--acc) 5%,var(--panel));border-bottom:1px solid var(--line);font-size:12px}
html body .colk-h small{font-size:10px;white-space:nowrap}
html body .colk-b{padding:7px;gap:7px;display:flex;flex-direction:column}
html body .kc{padding:10px!important;border-radius:13px!important;border:1px solid var(--line-2)!important;background:var(--panel)!important;box-shadow:0 2px 8px rgba(25,50,80,.045)!important;transition:border-color .15s,transform .15s,box-shadow .15s}
html body .kc:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--acc) 45%,var(--line))!important;box-shadow:0 5px 14px rgba(25,50,80,.08)!important}
html body .kc .a{font-size:15px!important;font-weight:750;line-height:1.45;color:var(--ink);margin:5px 0 3px}
html body .kc .m{display:flex;flex-direction:column;gap:3px;font-size:10.5px!important;color:var(--muted)}
html body .kc .meter{height:5px!important;border-radius:99px;overflow:hidden;background:var(--sunk)}
html body .lsteps{grid-template-columns:repeat(6,minmax(80px,1fr))!important;gap:3px!important;padding:12px 8px 10px!important;border-radius:18px!important;box-shadow:0 4px 16px rgba(30,55,90,.05)!important}
html body .lsteps .lstep{min-width:0;padding:2px 3px!important;gap:5px}
html body .lsteps .lstep .ln{width:38px;height:38px;font-size:16px;border-width:2px}
html body .lsteps .lstep b{font-size:11px;white-space:normal;text-align:center;line-height:1.35}
html body .lsteps .lstep small{font-size:9.5px;min-height:12px}
html body .lrail{top:31px!important;height:4px!important;inset-inline:8%!important}
html body .lpanel{gap:10px}
html body .lp-b{gap:9px}
html body .lcard,html body .lkv>div,html body .lsum,html body .lmsg,html body .notice{border-radius:14px}
html body .lform{gap:9px!important}
html body .lform .fl{font-size:11.5px;gap:5px}
html body .lform .field{min-height:36px;padding:7px 10px;font-size:12px}
html body .lgo{gap:7px;flex-wrap:wrap}
html body .lgo .btn{min-height:35px;font-size:12px}
html body .side{box-shadow:-6px 0 22px rgba(20,40,70,.045);border-inline-start:1px solid var(--line-2)}
html body .modules .mod{min-height:39px;margin:2px 7px;padding:7px 10px;border-radius:12px;gap:9px;transition:background .15s,color .15s,transform .15s;box-shadow:none}
html body .modules .mod:hover{transform:translateX(-1px);background:color-mix(in srgb,var(--acc) 7%,transparent)}
html body .modules .mod[aria-current="true"]{background:color-mix(in srgb,var(--acc) 10%,var(--panel));box-shadow:inset -3px 0 var(--acc);color:var(--acc)}
html body .modules .grp{padding:12px 12px 5px;font-size:10px;letter-spacing:.04em;color:var(--muted)}
@media(max-width:1100px){html body .board{grid-template-columns:repeat(6,minmax(160px,1fr))!important}html body .viz .box-b{min-height:175px!important}}
@media(max-width:760px){html body .board{grid-template-columns:repeat(6,minmax(155px,1fr))!important}html body .lsteps{grid-template-columns:repeat(6,minmax(74px,1fr))!important}html body .viz .box-b>svg{max-height:220px}}
@media(prefers-reduced-motion:reduce){html body .kc,html body .modules .mod{transition:none!important;animation:none!important}}

/* ===== [09] pishkhan-v137-login-redesign ===== */
/* پنجره ورود نسخه ۱.۳.۹: طراحی مرکزی، یکپارچه و تایپوگرافی تازه */
html body .login.login-pro{position:fixed!important;inset:0!important;z-index:9999!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-content:center!important;justify-items:center!important;gap:16px!important;padding:24px!important;overflow:auto!important;direction:rtl!important;background:radial-gradient(ellipse at 15% 15%,rgba(31,174,178,.23),transparent 34%),radial-gradient(ellipse at 85% 80%,rgba(68,108,190,.22),transparent 38%),linear-gradient(145deg,#07172b 0%,#102b49 52%,#0b4650 100%)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body .login.login-pro:after{content:"همه خدمات باجه؛ یک تجربه منظم و هوشمند\Aثبت، پیگیری و مدیریت مشتریان و قراردادها"!important;grid-column:1!important;grid-row:1!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center!important;white-space:pre-line!important;width:min(620px,100%)!important;min-height:118px!important;box-sizing:border-box!important;padding:24px 28px!important;border:1px solid rgba(179,225,239,.22)!important;border-radius:24px!important;background:linear-gradient(120deg,rgba(17,52,80,.78),rgba(11,104,111,.44))!important;box-shadow:0 18px 45px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.12)!important;color:#f3fbff!important;font-family:Tahoma,"Segoe UI",sans-serif!important;font-size:clamp(15px,2vw,21px)!important;font-weight:900!important;line-height:2!important;letter-spacing:-.45px!important;pointer-events:none!important}
html body .login.login-pro .login-card-pro{grid-column:1!important;grid-row:2!important;align-self:center!important;justify-self:center!important;width:min(460px,100%)!important;max-width:460px!important;box-sizing:border-box!important;padding:26px!important;border:1px solid #e2ebf3!important;border-radius:24px!important;background:linear-gradient(155deg,#fff 0%,#f8fbff 65%,#edf6fb 100%)!important;box-shadow:0 26px 75px rgba(0,0,0,.30),inset 0 1px #fff!important;color:#172b49!important}
html body .login.login-pro .login-headline{display:block!important}
html body .login.login-pro .login-brand-pro{display:flex!important;align-items:center!important;gap:11px!important;padding-bottom:15px!important;border-bottom:1px solid #e4edf5!important}
html body .login.login-pro .login-brand-mark{width:46px!important;height:46px!important;flex:0 0 46px!important;border-radius:14px!important;background:linear-gradient(145deg,#153c68,#0d9295)!important;color:#fff!important;font-size:23px!important;box-shadow:0 8px 20px rgba(13,119,139,.22)!important}
html body .login.login-pro .login-brand-pro>div b{font-family:Tahoma,"Segoe UI",sans-serif!important;font-size:19px!important;font-weight:900!important;letter-spacing:-.4px!important;color:#16365b!important}
html body .login.login-pro .login-brand-pro>div small{font-size:11px!important;color:#718198!important}
html body .login.login-pro .login-live{margin-inline-start:auto!important;font-size:10px!important;font-weight:800!important;color:#0e6874!important;background:#e8f7f7!important;border:1px solid #cdebea!important;border-radius:999px!important;padding:6px 9px!important;white-space:nowrap!important}
html body .login.login-pro .login-badge{display:inline-flex!important;margin-top:15px!important;padding:6px 10px!important;border-radius:999px!important;background:#edf4ff!important;color:#24588a!important;font-size:11px!important;font-weight:800!important}
html body .login.login-pro .login-intro h2{font-family:Tahoma,"Segoe UI",sans-serif!important;font-size:25px!important;line-height:1.6!important;font-weight:900!important;letter-spacing:-.6px!important;color:#17365b!important;margin:8px 0 2px!important}
html body .login.login-pro .login-intro p{font-size:12px!important;line-height:1.9!important;color:#6a7b90!important}
html body .login.login-pro .login-submit{min-height:48px!important;border-radius:13px!important;background:linear-gradient(110deg,#1768a6,#0b858b)!important;box-shadow:0 9px 20px rgba(20,111,151,.19)!important;font-weight:900!important}
html body .login.login-pro input,html body .login.login-pro select{border-radius:12px!important;min-height:43px!important;border-color:#d7e2ed!important;background:#fff!important}
@media(max-width:560px){html body .login.login-pro{padding:14px!important;gap:12px!important}html body .login.login-pro:after{min-height:94px!important;padding:17px!important;border-radius:18px!important;font-size:14px!important}html body .login.login-pro .login-card-pro{padding:19px!important;border-radius:19px!important}html body .login.login-pro .login-intro h2{font-size:22px!important}}
@media(prefers-reduced-motion:reduce){html body .login.login-pro *{animation:none!important;transition:none!important}}

/* ===== [10] pishkhan-mobile-responsive-v8 ===== */
/* PishkhanPlus responsive repair v8: mobile modal bounds, form sizing and keyboard-safe scrolling */
*,*::before,*::after{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}
@media (max-width: 768px), (pointer: coarse) {
  html, body { width:100%; max-width:100%; overflow-x:hidden; }
  /* The app's optional desktop zoom setting must never scale mobile dialogs off-screen. */
  html[data-uifs] .app,
  html[data-uifs] .dlg,
  html[data-uifs] .pop { zoom:1!important; }
  .scrim { position:fixed!important; inset:0!important; width:100%!important; height:100vh!important; height:100dvh!important; }
  html body .dlg {
    position:fixed!important;
    inset-inline:8px!important;
    top:max(8px,env(safe-area-inset-top,0px))!important;
    bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
    width:auto!important; min-width:0!important; max-width:none!important;
    height:auto!important; max-height:none!important; min-height:0!important;
    margin:0!important; transform:none!important;
    overflow-x:hidden!important; overflow-y:auto!important;
    overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
    border-radius:16px!important;
  }
  html body .dlg.atmdlg.v3 {
    display:flex!important; flex-direction:column!important;
    overflow:hidden!important; border-radius:16px!important;
  }
  .atmdlg.v3 .a3-b { min-height:0!important; max-height:none!important; flex:1 1 auto!important; overflow:auto!important; -webkit-overflow-scrolling:touch; }
  .atmdlg.v3 .a3-hd, .dlg-h { flex:0 0 auto; }
  .dlg form { grid-template-columns:minmax(0,1fr)!important; padding:12px!important; gap:10px!important; }
  .dlg form > *, .dlg .fl, .dlg .fl.w, .dlg .bar, .dlg .facts { min-width:0!important; max-width:100%!important; }
  .dlg input:not([type=checkbox]):not([type=radio]),
  .dlg select, .dlg textarea,
  input, select, textarea, button { max-width:100%; }
  .dlg input:not([type=checkbox]):not([type=radio]), .dlg select, .dlg textarea,
  .fl input, .fl select, .fl textarea { font-size:16px!important; }
  .dlg textarea { resize:vertical; }
  .dlg table { max-width:100%; }
  .dlg .table-wrap, .dlg .tbl-wrap, .dlg .overflow-x, .dlg .scroll-x { max-width:100%; overflow-x:auto!important; }
  .dlg-h { padding:12px!important; gap:8px!important; }
  .dlg-h h2 { min-width:0; overflow-wrap:anywhere; line-height:1.5; }
  .dlg .bar { flex-wrap:wrap!important; }
  .dlg .bar .btn, .dlg form .btn { min-height:40px; }
  /* Staff and SMS dialogs have their own internal scrollers. */
  html body .dlg.staffdlg { display:flex!important; flex-direction:column!important; }
  .staffdlg #staffAdminForm, .staffdlg .staff-body { min-height:0!important; max-height:none!important; flex:1 1 auto!important; overflow:auto!important; -webkit-overflow-scrolling:touch; }
  .smsg { grid-template-columns:minmax(0,1fr)!important; gap:10px!important; padding:12px!important; }
  .rcp { max-height:35dvh!important; }
  /* Multi-step loan wizard: fit the screen and keep content/controls scrollable. */
  html body .wiz {
    position:fixed!important; inset-inline:8px!important;
    top:max(8px,env(safe-area-inset-top,0px))!important;
    bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
    width:auto!important; height:auto!important; max-height:none!important;
    min-width:0!important; grid-template-columns:minmax(0,1fr)!important;
    overflow:hidden!important; border-radius:16px!important;
  }
  .wiz-side { display:none!important; }
  .wmain { min-width:0!important; min-height:0!important; display:flex!important; flex-direction:column!important; overflow:hidden!important; }
  .wbody { min-height:0!important; flex:1 1 auto!important; overflow:auto!important; -webkit-overflow-scrolling:touch; padding:12px!important; }
  .wfoot { flex:0 0 auto!important; display:flex!important; flex-wrap:wrap!important; gap:8px!important; padding:10px!important; }
  .wfoot button { flex:1 1 auto; min-width:0; }
  /* Search palette, assistant and popovers stay inside the safe viewport. */
  html body .pal { position:fixed!important; inset-inline:8px!important; top:max(8px,env(safe-area-inset-top,0px))!important; width:auto!important; max-width:none!important; max-height:75dvh!important; overflow:auto!important; }
  html body .aip { inset:8px!important; inset-block-end:max(8px,env(safe-area-inset-bottom,0px))!important; width:auto!important; max-width:none!important; max-height:none!important; border-radius:16px!important; }
  html body .pop { max-width:calc(100vw - 16px)!important; max-height:70dvh!important; overflow:auto!important; }
  /* Avoid grids, long labels, and wide controls forcing the viewport wider. */
  .dlg [style*="grid-template-columns"], .wiz [style*="grid-template-columns"] { min-width:0; }
  .dlg img, .dlg svg, .dlg canvas, .dlg video { max-width:100%; }
}
@media (max-width: 420px) {
  html body .dlg { inset-inline:5px!important; border-radius:13px!important; }
  .dlg form { padding:10px!important; }
  .dlg-h { padding:10px!important; }
  .dlg-h h2 { font-size:15px!important; }
  .dlg .btn { white-space:normal!important; }
  .atmdlg.v3 .a3-b { padding:9px!important; }
}

/* ===== [11] pishkhan-v15-loan-cheque-ui ===== */
.loan-cheque-preview{width:100%;border:1px solid #dce5ef;border-radius:18px;padding:12px;background:linear-gradient(145deg,#fff,#f5f8fc);box-shadow:0 10px 28px rgba(21,48,82,.07);overflow:hidden;box-sizing:border-box}
.loan-cheque-preview-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;min-width:0}
.loan-cheque-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:linear-gradient(145deg,#e7f3ff,#e5f7f5);color:#185b7d}
.loan-cheque-preview-title{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.loan-cheque-preview-title b{font-size:13px;color:#183653}.loan-cheque-preview-title small{font-size:10.5px;color:#718096;line-height:1.6}
.loan-cheque-tag{font-size:10px;font-weight:700;color:#76511c;background:#fff2d8;border:1px solid #f2ddb0;border-radius:999px;padding:5px 9px;flex:0 0 auto}
.loan-cheque-image-wrap{position:relative;width:100%;aspect-ratio:883/347;border-radius:12px;overflow:hidden;background:#f8edf3;border:1px solid #eadde7;box-shadow:0 5px 16px rgba(40,35,70,.08)}
.loan-cheque-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.loan-cheque-preview-foot{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:9px;color:#65758a;font-size:10px;line-height:1.7}.loan-cheque-preview-foot span:first-child{display:flex;align-items:center;gap:6px}.loan-cheque-preview-foot i{width:7px;height:7px;border-radius:50%;background:#168a83;display:inline-block;flex:0 0 auto}
.loan-cheque-calc{margin-top:9px!important;padding:9px 10px;border-radius:10px;background:#edf5fb;color:#294f70!important;font-size:11px;line-height:1.9}
.loan-cheque-detail .box-h{align-items:center;gap:10px}.loan-cheque-image-detail{margin-bottom:14px;max-height:300px}.loan-cheque-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.loan-cheque-meta{min-width:0;padding:11px 12px;border:1px solid var(--line,#dce5ef);border-radius:12px;background:var(--panel-2,#f7f9fc)}.loan-cheque-meta>small{display:block;color:var(--muted,#6d7d91);font-size:10.5px;margin-bottom:5px}.loan-cheque-meta>b{display:block;overflow-wrap:anywhere;font-size:13px;color:var(--ink,#18324f);line-height:1.8}.loan-cheque-meta>b small{font-size:10px;color:var(--muted,#6d7d91);font-weight:400}.loan-cheque-state{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#fff3df;color:#8a5b13;font-size:10px;font-weight:600}.loan-cheque-state.is-ok{background:#e4f7ec;color:#187348}.loan-cheque-disclaimer{margin:12px 0 0;padding:10px 12px;border-right:3px solid #d99a38;border-radius:8px;background:#fff8e9;color:#735522;font-size:10.5px;line-height:1.9}
@media(max-width:760px){.loan-cheque-preview{padding:9px;border-radius:14px}.loan-cheque-preview-head{gap:8px}.loan-cheque-icon{width:32px;height:32px}.loan-cheque-preview-title b{font-size:12px}.loan-cheque-preview-title small{font-size:9.5px}.loan-cheque-preview-foot{font-size:9px}.loan-cheque-image-detail{max-height:none}.loan-cheque-meta-grid{gap:7px}.loan-cheque-meta{padding:9px}.loan-cheque-meta>b{font-size:12px}.loan-cheque-disclaimer{font-size:10px}}
@media(max-width:380px){.loan-cheque-tag{padding:4px 6px;font-size:9px}.loan-cheque-preview-foot{display:grid}.loan-cheque-meta-grid{grid-template-columns:minmax(0,1fr)}}

/* ===== [12] pplus-mobile-modal-fix-v10 ===== */
/* v10: viewport-safe modal geometry. Explicit physical left/right avoids RTL inset-inline quirks. */
@media (max-width: 760px), (pointer: coarse) and (hover: none) {
  html, body { max-width:100% !important; overflow-x:hidden !important; }
  html body #layer { position:relative !important; z-index:10000 !important; max-width:100vw !important; }
  html body .scrim { position:fixed !important; inset:0 !important; width:100% !important; height:100% !important; height:100dvh !important; z-index:9998 !important; }
  /* Dialogs are centered in the visible viewport, with explicit left/right rather than RTL logical insets. */
  html body .dlg,
  html body .dlg.atmdlg.v3,
  html body .dlg.staffdlg,
  html body .wiz,
  html body .pal,
  html body .aip {
    box-sizing:border-box !important;
    position:fixed !important;
    left:8px !important; right:8px !important;
    inset-inline:8px !important;
    top:50% !important; bottom:auto !important;
    width:auto !important; min-width:0 !important;
    max-width:calc(100vw - 16px) !important;
    height:auto !important; min-height:0 !important;
    max-height:calc(100dvh - 136px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
    margin:0 !important;
    transform:translateY(-50%) !important;
    zoom:1 !important;
    overflow-x:hidden !important; overflow-y:auto !important;
    overscroll-behavior:contain !important;
    -webkit-overflow-scrolling:touch !important;
  }
  html body .dlg.atmdlg.v3 { display:flex !important; flex-direction:column !important; overflow:hidden !important; }
  html body .dlg.atmdlg.v3 .a3-b { flex:1 1 auto !important; min-height:0 !important; max-height:none !important; overflow:auto !important; }
  html body .dlg.staffdlg { display:flex !important; flex-direction:column !important; }
  html body .dlg.staffdlg #staffAdminForm,
  html body .dlg.staffdlg #staffAdminForm > .staff-body,
  html body .dlg.staffdlg .staff-body { flex:1 1 auto !important; min-height:0 !important; max-height:none !important; overflow:auto !important; }
  html body .dlg form { min-width:0 !important; max-width:100% !important; }
  html body .dlg form > *, html body .dlg .fl, html body .dlg .bar,
  html body .dlg .facts, html body .dlg .grid, html body .dlg [class*="grid"] { min-width:0 !important; max-width:100% !important; }
  html body .dlg input:not([type=checkbox]):not([type=radio]),
  html body .dlg select, html body .dlg textarea,
  html body input, html body select, html body textarea { box-sizing:border-box !important; width:100%; max-width:100% !important; font-size:16px !important; }
  html body .dlg img, html body .dlg svg, html body .dlg canvas, html body .dlg video { max-width:100% !important; }
  html body nav#mnav.mnav { z-index:9997 !important; pointer-events:auto !important; }
  html body #app.app > section.work > main#page,
  html body #page.page { padding-bottom:calc(118px + env(safe-area-inset-bottom, 0px)) !important; scroll-padding-bottom:calc(118px + env(safe-area-inset-bottom, 0px)) !important; }
  html body .dlg .dlg-b, html body .dlg .dlg-body, html body .dlg .dlg-c,
  html body .dlg .form-body { min-height:0 !important; max-width:100% !important; overflow-wrap:anywhere; }
}
@media (max-width: 420px) {
  html body .dlg, html body .dlg.atmdlg.v3, html body .dlg.staffdlg,
  html body .wiz, html body .pal, html body .aip {
    left:6px !important; right:6px !important; inset-inline:6px !important;
    max-width:calc(100vw - 12px) !important;
    max-height:calc(100dvh - 126px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
  }
}
