/* PishkhanPlus 2.38.9 — login refresh, reliable customer creation, print controls, compact analytics. */
:root{--p2388-ink:#17283f;--p2388-teal:#087f8c;--p2388-blue:#3656a8;--p2388-gold:#c18a32;--p2388-line:#d8e2eb}
/* Login: new light mineral background and deep teal/navy palette. */
html body #layer.is-login-layer>.login.login-pro{background:radial-gradient(ellipse at 8% 8%,rgba(8,127,140,.15),transparent 32%),radial-gradient(ellipse at 92% 88%,rgba(54,86,168,.13),transparent 36%),linear-gradient(140deg,#f0f5f7 0%,#e9eef6 48%,#e5f2f0 100%)!important;gap:clamp(14px,2vw,28px)!important}
html body #layer.is-login-layer>.login.login-pro>.login-artist-panel{background:linear-gradient(145deg,#193b56 0%,#164d5c 55%,#1b6370 100%)!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:0 22px 54px rgba(25,59,86,.20),inset 0 1px rgba(255,255,255,.16)!important}
html body #layer.is-login-layer>.login.login-pro>.login-card-pro{border-color:#d9e4eb!important;background:linear-gradient(160deg,#fff 0%,#fbfdff 66%,#f0f7f8 100%)!important;box-shadow:0 22px 56px rgba(24,53,79,.14),inset 0 1px #fff!important}
html body #layer.is-login-layer>.login.login-pro:after{background:linear-gradient(125deg,rgba(25,59,86,.96),rgba(8,127,140,.86))!important;border-color:rgba(255,255,255,.22)!important}
.login-artist-copy h1{font-size:clamp(20px,2vw,27px)!important;line-height:1.45!important;letter-spacing:0!important}
html body #layer.is-login-layer .login-intro h2{font-size:clamp(21px,2vw,24px)!important;letter-spacing:0!important}
html body #layer.is-login-layer .login-submit{background:linear-gradient(110deg,#3656a8,#087f8c)!important;box-shadow:0 8px 18px rgba(8,127,140,.17)!important}
html body #layer.is-login-layer .login-brand-mark{background:linear-gradient(145deg,#3656a8,#087f8c)!important}
html body #layer.is-login-layer .login-live{color:#08736f!important;background:#e5f7f3!important;border-color:#c5e9e3!important}
html body #layer.is-login-layer .uopt[aria-pressed=true]{border-color:#087f8c!important;background:#edf8f7!important;box-shadow:0 0 0 1px rgba(8,127,140,.12)!important}
html body #layer.is-login-layer .uopt-pro{border-radius:13px!important}
html body #layer.is-login-layer .login-pin:focus{border-color:#087f8c!important;box-shadow:0 0 0 3px rgba(8,127,140,.13)!important}
/* Sidebar brand must remain readable even in narrow sidebars. */
html body #app .side .brand{min-width:0!important;display:flex!important;align-items:center!important;gap:9px!important;padding:10px!important;border-radius:15px!important}
html body #app .side .brand>div{min-width:0!important;flex:1 1 auto!important}
html body #app .side .brand b{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:clamp(11px,1vw,14px)!important;line-height:1.5!important;max-width:100%!important}
html body #app .side .brand small{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:10px!important;line-height:1.55!important}
/* Investor tabs must scroll with content, never overlay forms. */
html body #page .iv-tabs{position:static!important;top:auto!important;z-index:auto!important;align-self:stretch!important;isolation:auto!important;margin:6px 0 10px!important}
html body #page .iv-body{position:relative!important;overflow:visible!important}
html body #page .iv-tabs [role=tab]{min-height:32px!important;padding:6px 9px!important}
/* Customer analysis: compact, readable, non-sticky cards and graphs. */
html body #page .cpf-grid{gap:9px!important;align-items:start!important}
html body #page .cpf-ai{position:static!important;top:auto!important;padding:11px!important;gap:8px!important;border-radius:15px!important}
html body #page .cpf-aih h2{font-size:14px!important}
html body #page .cpf-aih small{line-height:1.55!important}
html body #page .cpf-ail{font-size:12px!important;line-height:1.75!important;padding:8px 10px!important;margin:0!important}
html body #page .cpf-gs{gap:5px!important}
html body #page .cpf-g{padding:6px 7px!important;border-radius:10px!important}
html body #page .cpf-gh b{font-size:15px!important}
html body #page .cpf-ins li{padding:6px 8px!important;gap:6px!important}
html body #page .cpf-kpis{gap:7px!important}
html body #page .cpf-k{padding:9px 10px!important;border-radius:13px!important}
html body #page .cpf-k b{font-size:17px!important}
.p2388-member-tenure{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:7px 10px;border:1px solid rgba(8,127,140,.18);border-radius:11px;background:linear-gradient(110deg,rgba(8,127,140,.07),rgba(54,86,168,.045));color:#28445e;font-size:11.5px;line-height:1.65}
.p2388-member-tenure b{color:#087f8c;font-weight:800}
.p2388-member-tenure .p2388-member-date{color:#64748b;font-size:10.5px}
/* Reduce whitespace around chart cards without hiding meaningful data. */
html body #page .viz{margin:0 0 9px!important;border-radius:13px!important;overflow:hidden}
html body #page .viz .box-h{min-height:34px!important;padding:8px 11px!important}
html body #page .viz .box-b{min-height:0!important;padding:9px 10px!important}
html body #page .viz .box-b>svg{display:block!important;width:100%!important;max-height:185px!important;height:auto!important}
html body #page .board{gap:8px!important}
html body #page .kc{min-height:0!important;padding:10px!important}
html body #page .p2370-ai-card{padding:11px!important;margin-top:9px!important;border-radius:14px!important}
html body #page .p2370-ai-kpis{gap:6px!important}
html body #page .p2370-ai-kpis>div{padding:8px!important}
/* The new-customer action stays above decorative header layers and has a clear hit target. */
html body #page [data-new="cust"],html body .topbar [data-new="cust"]{position:relative!important;z-index:2!important;pointer-events:auto!important;min-height:36px}
/* Print windows opened from the app get persistent screen controls; controls are never printed. */
#pplus-print-screen-tools{position:fixed;inset:0 0 auto 0;z-index:2147483000;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;background:rgba(20,40,75,.97);color:#fff;box-shadow:0 3px 14px rgba(15,23,42,.2);font:600 13px/1.5 Tahoma,Arial,sans-serif;direction:rtl}
#pplus-print-screen-tools .p2388-print-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
#pplus-print-screen-tools button{appearance:none;border:1px solid rgba(255,255,255,.3);border-radius:9px;padding:8px 12px;min-height:36px;background:#fff;color:#17324c;font:700 12px Tahoma,Arial,sans-serif;cursor:pointer}
#pplus-print-screen-tools button.primary{background:#0b9b9a;color:#fff;border-color:#0b9b9a}
body.p2388-print-document{padding-top:68px!important;font-family:Vazirmatn,Tahoma,Arial,sans-serif!important;color:#1e293b!important;line-height:1.8!important}
body.p2388-print-document h1{font-size:19px!important;line-height:1.6!important;margin:0 0 10px!important;padding-bottom:8px!important;border-bottom:2px solid #dbe5ec!important;color:#17324c!important}
body.p2388-print-document h2{font-size:15px!important;line-height:1.6!important;color:#234766!important}
body.p2388-print-document table{width:100%;border-collapse:collapse}
body.p2388-print-document th{background:#eef4f7!important;color:#1e3b55!important}
body.p2388-print-document th,body.p2388-print-document td{padding:6px 8px!important;line-height:1.7!important}
@media print{#pplus-print-screen-tools{display:none!important}body.p2388-print-document{padding-top:0!important}body.p2388-print-document h1{border-bottom:1px solid #aaa!important}}
@media(max-width:760px){html body #layer.is-login-layer>.login.login-pro{background:radial-gradient(ellipse at 8% 8%,rgba(8,127,140,.15),transparent 35%),linear-gradient(145deg,#edf3f6,#e5f0ef)!important}.p2388-member-tenure{font-size:11px;padding:6px 8px}html body #page .viz .box-b>svg{max-height:155px!important}#pplus-print-screen-tools{padding:8px;gap:5px;align-items:flex-start}#pplus-print-screen-tools .p2388-print-actions{gap:5px}#pplus-print-screen-tools button{padding:7px 9px;min-height:34px;font-size:11px}}
@media(prefers-reduced-motion:reduce){#pplus-print-screen-tools *,html body #layer.is-login-layer *{animation:none!important;transition:none!important}}
