@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#07101d;--surface:#0d1929;--card:#102137;--line:#1d354e;--text:#eff6ff;--muted:#91a5ba;--green:#21d49a;--green2:#0da978;--gold:#f6c66b;--red:#ff727c;--blue:#70aaff;--radius:18px}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 85% -15%,#153a48 0,transparent 38%),var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.topbar{height:76px;padding:0 max(22px,calc((100% - 1220px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1a2d42;background:#07101deF;position:sticky;top:0;z-index:5;backdrop-filter:blur(16px)}.brand{display:flex;gap:12px;align-items:center;color:var(--text);text-decoration:none;letter-spacing:.04em}.brand b{font:800 15px Manrope}.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:.2em;margin-top:3px}.logo{width:42px;height:42px;border-radius:13px;background:linear-gradient(140deg,#36e6ae,#087a62);display:grid;place-items:center;color:#04271e;font:900 16px Manrope;box-shadow:0 8px 24px #12c78b30}.top-actions{display:flex;align-items:center;gap:14px}.connection{font-size:11px;color:var(--muted)}.connection i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gold);margin-right:7px}.connection.online i{background:var(--green);box-shadow:0 0 10px var(--green)}.shell{max-width:1220px;margin:auto;padding:34px 22px 80px}.auth-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center;min-height:calc(100vh - 150px)}.auth-intro{max-width:620px}.eyebrow{color:var(--green);font-size:10px;letter-spacing:.2em;font-weight:800}.auth-intro h1{font:800 clamp(40px,5vw,64px)/1.08 Manrope;letter-spacing:-.055em;margin:20px 0}.auth-intro h1 em{font-style:normal;color:var(--green)}.auth-intro p{font-size:16px;line-height:1.8;color:var(--muted);max-width:510px}.trust-row{display:flex;flex-wrap:wrap;gap:18px;margin-top:34px;color:#b5c8d8;font-size:12px}.panel{background:linear-gradient(145deg,#11243a,#0c1b2d);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 18px 50px #0002}.auth-panel{max-width:440px;width:100%;justify-self:end;padding:28px}.auth-tabs{display:flex;gap:6px;padding:4px;background:#091625;border-radius:12px;margin-bottom:26px}.tab{flex:1;border:0;background:transparent;color:var(--muted);padding:10px;border-radius:9px;font-weight:700}.tab.active{background:#1b344b;color:var(--text)}h2{font:750 20px Manrope;margin:0 0 7px}h3{font:700 15px Manrope}.muted{color:var(--muted);font-size:12px;line-height:1.6;margin:0}.field{margin:19px 0}.field label{display:block;font-size:11px;color:#b7c7d5;font-weight:700;margin-bottom:8px}.field input,.field textarea,.field select,.inline-form input{width:100%;border:1px solid #28435d;background:#091726;color:var(--text);border-radius:10px;padding:13px 14px;outline:none;min-width:0}.field input:focus,.field textarea:focus,.inline-form input:focus{border-color:var(--green);box-shadow:0 0 0 3px #21d49a18}.mobile-input{display:flex;border:1px solid #28435d;background:#091726;border-radius:10px;align-items:center;padding-left:13px}.mobile-input span{font-size:13px;color:var(--muted)}.mobile-input input{border:0!important;box-shadow:none!important;background:transparent!important}.btn{border:0;border-radius:10px;padding:12px 17px;font-weight:800;font-size:12px;transition:.18s}.btn:hover{transform:translateY(-1px);filter:brightness(1.08)}.btn-primary{background:linear-gradient(120deg,#3be3ad,#10a879);color:#03271d;box-shadow:0 7px 20px #15c58b24}.btn-outline{background:#102238;border:1px solid #2a455e;color:#d8e6f2}.btn-wide{width:100%}.btn-small{padding:9px 13px}.fineprint{font-size:10px;color:#71869a;line-height:1.65;margin:16px 0 0}.welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;background:linear-gradient(115deg,#102d36,#11243a)}.welcome h1{font:800 27px Manrope;margin:7px 0 3px}.role-chip{border:1px solid #2a6a5a;color:var(--green);border-radius:99px;padding:7px 13px;font-size:10px;font-weight:800;letter-spacing:.12em}.nav-tabs{display:flex;gap:7px;overflow:auto;margin:0 0 20px;padding-bottom:3px}.nav-tab{white-space:nowrap;background:#0c1a2a;border:1px solid #20364c;color:var(--muted);border-radius:10px;padding:11px 16px;font-size:12px;font-weight:700}.nav-tab.active{background:#163b3b;border-color:#247d67;color:#8cf0ca}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat-card{background:linear-gradient(145deg,#11243a,#0d1b2c);border:1px solid var(--line);border-radius:15px;padding:20px}.stat-card span{display:block;color:var(--muted);font-size:11px}.stat-card strong{display:block;font:800 28px Manrope;margin:12px 0 5px;color:#e9fff7;overflow-wrap:anywhere}.stat-card small{font-size:10px;color:#6f899e}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:17px}.claim-copy{font-size:13px;color:#b4c6d5;line-height:1.7;margin:24px 0}.stack{display:grid;gap:10px}.item{border:1px solid #203950;background:#0b1a2a;border-radius:12px;padding:14px;display:flex;justify-content:space-between;gap:12px;align-items:center}.item b{font-size:13px}.item small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.plans-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.plan-card{border:1px solid #25445a;border-radius:16px;padding:22px;background:linear-gradient(155deg,#122a3c,#0d1b2d);display:flex;flex-direction:column;min-height:245px}.plan-card h3{font-size:18px;margin:10px 0}.plan-card p{color:var(--muted);font-size:12px;line-height:1.6;flex:1}.rate{font:800 29px Manrope;color:var(--green);margin:8px 0}.plan-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;padding:12px 0;border-top:1px solid #203950}.badge{display:inline-flex;width:max-content;padding:5px 9px;border-radius:99px;background:#164438;color:#7cf0c3;font-size:9px;font-weight:800}.section-title{margin:8px 0 20px}.section-title h2{font-size:25px;margin:8px 0}.table-wrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;min-width:620px;font-size:12px}th{text-align:left;color:#7f97ac;font-size:9px;text-transform:uppercase;letter-spacing:.1em;padding:12px;border-bottom:1px solid #274057}td{padding:13px 12px;border-bottom:1px solid #1d3449;color:#d3e0eb}td .btn{padding:7px 10px;font-size:10px}.empty{text-align:center;color:#7890a4;padding:22px;font-size:12px}.subheading{margin:24px 0 12px}.admin-section{margin-top:16px}.inline-form{display:flex;gap:9px;margin:16px 0;flex-wrap:wrap}.inline-form input{flex:1;min-width:150px}.status{font-size:10px;font-weight:800;text-transform:uppercase}.status.active,.status.approved{color:var(--green)}.status.blocked,.status.rejected{color:var(--red)}.status.pending{color:var(--gold)}.dialog{border:1px solid #2a465d;border-radius:18px;background:#102238;color:var(--text);width:min(440px,calc(100% - 28px));padding:26px;box-shadow:0 30px 100px #0009}.dialog::backdrop{background:#020812cc;backdrop-filter:blur(5px)}.dialog-close{float:right;border:0;background:transparent;color:#9fb2c3;font-size:25px}.dialog textarea{min-height:85px;resize:vertical}.toast{position:fixed;right:20px;bottom:20px;z-index:10;background:#14372f;border:1px solid #247e62;color:#dffdf1;border-radius:12px;padding:13px 18px;max-width:min(400px,calc(100% - 40px));font-size:12px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}@media(max-width:850px){.auth-layout{grid-template-columns:1fr;gap:28px;padding:28px 0}.auth-intro{text-align:center;margin:auto}.auth-intro p{margin:auto}.trust-row{justify-content:center}.auth-panel{justify-self:center}.stats-grid{grid-template-columns:repeat(2,1fr)}.plans-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.topbar{height:64px;padding:0 15px}.connection{display:none}.shell{padding:18px 13px 55px}.auth-intro h1{font-size:39px}.auth-intro p{font-size:13px}.trust-row{gap:8px 13px;font-size:10px}.auth-panel,.panel{padding:18px}.welcome{align-items:flex-start}.welcome h1{font-size:22px}.stats-grid{gap:9px}.stat-card{padding:14px}.stat-card strong{font-size:23px}.two-col{grid-template-columns:1fr}.plans-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.inline-form{flex-direction:column}.inline-form .btn{width:100%}.role-chip{font-size:9px}.brand b{font-size:13px}}
/* Plan graph additions */
.graph-explainer{margin-top:18px}.graph-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:14px}.graph-card{border:1px solid rgba(148,163,184,.22);border-radius:14px;padding:14px;background:rgba(15,23,42,.22);min-width:0}.graph-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.mini-graph svg{display:block;width:100%;height:112px;overflow:visible;color:#94a3b8}.graph-dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:8px}.graph-dates span{font-size:10px;text-align:center;color:#91a5ba;display:flex;flex-direction:column;gap:3px}.graph-dates b{font-size:10px;white-space:nowrap}.gain{color:#22c55e}.loss{color:#f87171}.graph-empty{font-size:12px;color:#91a5ba;padding:24px 4px;text-align:center}.graph-controls{display:grid;grid-template-columns:110px 72px 72px 72px auto;gap:5px;min-width:410px}.graph-controls input,.graph-controls select{min-width:0;width:100%;padding:7px 6px;border:1px solid rgba(148,163,184,.3);border-radius:8px;background:#0f172a;color:inherit;font-size:12px}.graph-controls .btn{padding:7px 9px;white-space:nowrap}@media(max-width:760px){.graph-controls{grid-template-columns:repeat(2,minmax(0,1fr));min-width:260px}.graph-controls select{grid-column:span 2}.graph-controls .btn{grid-column:span 2}.graph-dates{grid-template-columns:repeat(7,minmax(0,1fr))}.graph-dates span,.graph-dates b{font-size:9px}}

.admin-access{margin:-12px 0 20px}.admin-access .btn{letter-spacing:.02em}.admin-access #adminLoginOpen{border-color:#4a617c;color:#e5edf7;background:#12243a}


/* Mobile-first rewards-app presentation inspired by the supplied reference */
@media(max-width:600px){
  body{background:#f6f6f8;color:#17151d;padding-bottom:82px}
  .topbar{background:#fff;border-bottom:1px solid #ece9ef;box-shadow:0 2px 10px #180b2208}
  .brand{color:#21152e}.brand small{color:#81768b}
  .logo{background:linear-gradient(145deg,#8d22df,#5b0dbb);color:#fff;box-shadow:none;border-radius:50%}
  .top-actions #logoutBtn:not(.hidden){display:inline-flex!important;align-items:center;white-space:nowrap;padding:9px 11px;font-size:11px}
  .shell{padding:14px 0 24px;max-width:none}
  .welcome{margin:0 14px 14px;padding:17px;border:0;border-radius:0 0 18px 18px;background:linear-gradient(120deg,#5f10bf,#861ee0);color:white;box-shadow:0 7px 22px #5b0dbb25}
  .welcome .eyebrow,.welcome .muted{color:#ead7ff}
  .welcome h1{font-size:22px}
  .role-chip{border-color:#d8b5ff;color:white}
  .nav-tabs{position:fixed;z-index:20;left:0;right:0;bottom:0;margin:0;padding:9px 8px calc(9px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e8e4eb;box-shadow:0 -5px 20px #20102b12;display:flex;gap:6px;justify-content:space-around;overflow-x:auto}
  .nav-tab{flex:1;min-width:max-content;text-align:center;padding:11px 10px;border:0;border-radius:12px;background:transparent;color:#77717e;font-size:11px}
  .nav-tab.active{background:#f1e5ff;color:#6813bd}
  #dashboardView{padding:0 14px}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}
  .stat-card{background:#fff;border:1px solid #ece8ef;border-radius:17px;padding:15px;box-shadow:0 3px 12px #160c2008}
  .stat-card span{color:#756c7c;font-size:11px}
  .stat-card strong{font-size:23px;color:#6512b9;margin:8px 0 4px}
  .stat-card small{font-size:10px;color:#918898;line-height:1.4}
  .two-col{grid-template-columns:1fr;gap:12px}
  .panel{background:#fff;color:#211a27;border:1px solid #ece8ef;border-radius:17px;padding:16px;box-shadow:0 3px 12px #160c2008}
  .panel h2,.panel h3{color:#211a27}
  .muted{color:#807687}
  .btn-primary{background:linear-gradient(120deg,#8a20df,#5d0db8);color:white;box-shadow:none}
  .btn-outline{background:#f7f1fc;border-color:#e8d8f8;color:#6414b7}
  .section-head{gap:10px}
  .stack .item{border-bottom-color:#f0edf2}
  .graph-explainer{margin:14px 14px 0}
  .graph-card{background:#fff;border-color:#eee8f3}
  .graph-card-head b{color:#211a27}
  .mini-graph svg{height:125px}
  .plans-grid{grid-template-columns:1fr;padding:0 14px}
  .plan-card{background:#fff;color:#211a27;border:1px solid #ece8ef;border-radius:17px}
  .plan-card h3{color:#211a27}
  .plan-card p{color:#807687}
  .rate{color:#6714bb}
  .section-title,.view>.panel{margin-left:14px;margin-right:14px}
  .admin-access{display:none!important}
  .auth-layout{padding:20px 14px;min-height:calc(100vh - 90px)}
  .auth-intro{display:none}
  .auth-panel{background:#fff;color:#211a27;border:1px solid #eee8f3;box-shadow:0 8px 28px #1d0c2b12}
  .auth-panel h2{color:#211a27}
  .auth-panel .tab.active{background:#f0e3ff;color:#6514bb}
  .auth-panel .auth-tabs{background:#f7f3fa}
  .fineprint{color:#8d8492}
}

/* ZERO PAISA premium fintech refresh */
:root{--zp-purple:#7625d5;--zp-violet:#a34cf2;--zp-ink:#20152c;--zp-muted:#81758d}
body{background:radial-gradient(ellipse at 10% 0%,#f3e8ff 0,transparent 34%),#f7f5fa;color:var(--zp-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}
.topbar{background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid #eee7f5;box-shadow:0 5px 24px #32104b08}
.logo{background:linear-gradient(145deg,#b35aff,#6716c7);box-shadow:0 8px 20px #7925d53b}
.brand b{letter-spacing:.06em}.brand small{letter-spacing:.16em}
.panel,.stat-card,.plan-card{border-radius:22px;box-shadow:0 10px 30px #32104b0b;transition:transform .22s,box-shadow .22s}
.panel{background:linear-gradient(145deg,#fff,#fdfbff);border:1px solid #eee7f5;color:#251a30}
.panel:hover,.stat-card:hover,.plan-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px #32104b14}
.welcome{background:linear-gradient(115deg,#4f0b9e,#8f35e5 65%,#b45cf2);border:0;box-shadow:0 15px 35px #7625d52b;color:white}
.welcome .muted{color:#ead7ff}.role-chip{color:#fff;border-color:#ffffff55}
.nav-tab{border:1px solid #eee4f7;background:#fff;color:#75677f;border-radius:14px}.nav-tab.active{background:linear-gradient(120deg,#7625d5,#a34cf2);border-color:transparent;color:white;box-shadow:0 7px 18px #7625d536}
.stat-card{background:linear-gradient(145deg,#fff,#f8f1ff);border:1px solid #eee4f7}.stat-card strong{color:#6c1ac4}
.btn-primary{background:linear-gradient(115deg,#7a22d5,#a34cf2);color:white;box-shadow:0 8px 18px #7625d52b}.btn-outline{background:#faf6ff;border:1px solid #eadcf8;color:#6c1ac4}
.plan-card{background:linear-gradient(155deg,#fff,#faf4ff);border:1px solid #eadcf8}.plan-card .badge{background:#f0e2ff;color:#7020c6}.rate{color:#7625d5}
.graph-card{background:#fff;border:1px solid #eee4f7;border-radius:18px;box-shadow:0 8px 22px #32104b08}.mini-graph polyline{stroke:#8732dc}
.live-preview{margin:15px 0;padding:18px;border-radius:20px;background:linear-gradient(140deg,#f8f0ff,#fff 65%);border:1px solid #ebdcfa;overflow:hidden}
.live-preview-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.live-kicker{font-size:9px;font-weight:900;letter-spacing:.16em;color:#8531d7}.live-preview h3{font-size:18px;margin:5px 0}.live-preview small{font-size:10px;color:#8d8198}.live-percent{text-align:right}.live-percent strong{display:block;font-size:25px;color:#169b69;font-weight:850;font-variant-numeric:tabular-nums}.live-percent strong.negative{color:#d64c68}.live-percent span{font-size:9px;color:#8c8197;font-weight:800;letter-spacing:.08em}.live-chart{width:100%;height:112px;margin-top:10px;overflow:visible}.live-foot{display:flex;justify-content:space-between;font-size:10px;color:#91859d}.live-foot i,.support-chat-top i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#20bd80;margin-right:5px;box-shadow:0 0 0 4px #20bd801a}
.support-heading{padding:10px 2px 16px}.support-heading h2{font-size:27px;margin:7px 0}.support-chat-card{background:#fff;border:1px solid #eee5f6;border-radius:22px;overflow:hidden;box-shadow:0 12px 32px #32104b10}.support-chat-top{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid #f0eaf5;background:linear-gradient(110deg,#fcf8ff,#fff)}.support-avatar{width:42px;height:42px;border-radius:15px;background:linear-gradient(145deg,#a94cf0,#6818c2);display:grid;place-items:center;color:#fff;font-weight:900;font-size:20px}.support-chat-top b{display:block;font-size:13px}.support-chat-top small{display:block;color:#887b93;font-size:10px;margin-top:4px}.support-secure{margin-left:auto;font-size:10px;color:#7727cb;background:#f4eaff;border-radius:99px;padding:7px 10px;font-weight:800}.chat-messages{height:330px;overflow:auto;padding:16px;background:linear-gradient(#fcfaff,#fff)}.chat-empty{padding:28px 12px;text-align:center;color:#93879d;font-size:12px}.chat-row{display:flex;margin:9px 0}.chat-row.mine{justify-content:flex-end}.chat-bubble{max-width:min(82%,440px);padding:10px 13px;border-radius:16px 16px 16px 5px;background:#f0e6fb;color:#352342;box-shadow:0 3px 10px #32104b08}.chat-row.mine .chat-bubble{background:linear-gradient(125deg,#7926d4,#9a43e8);color:#fff;border-radius:16px 16px 5px 16px}.chat-bubble p{font-size:12px;line-height:1.55;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.chat-bubble small{display:block;text-align:right;font-size:9px;opacity:.7;margin-top:6px}.chat-compose{display:flex;gap:9px;padding:12px;border-top:1px solid #f0eaf5;background:#fff}.chat-compose input{flex:1;min-width:0;border:1px solid #e8ddef;border-radius:13px;padding:12px 14px;background:#fcfaff;color:#30233a;outline:none}.chat-compose input:focus{border-color:#a34cf2;box-shadow:0 0 0 3px #a34cf21a}.chat-compose .btn{padding:0 20px}.admin-chat-layout{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.5fr);gap:12px}.chat-threads{display:grid;align-content:start;gap:7px;max-height:440px;overflow:auto}.chat-thread{text-align:left;border:1px solid #eee5f6;border-radius:13px;padding:12px;background:#fff;color:#30233a;cursor:pointer}.chat-thread.selected{border-color:#a34cf2;background:#f7efff}.chat-thread b,.chat-thread small,.chat-thread span{display:block}.chat-thread b{font-size:12px}.chat-thread small,.chat-thread span{font-size:10px;color:#8a7d94;margin-top:4px}.admin-chat-window{min-width:0;border:1px solid #eee5f6;border-radius:15px;overflow:hidden}.admin-chat-title{padding:12px 14px;font-size:12px;font-weight:800;border-bottom:1px solid #eee5f6;background:#fcf9ff}.admin-chat-window .chat-messages{height:300px}.admin-chat-window .chat-compose{padding:9px}.admin-chat-window .chat-compose input{font-size:12px}
@media(max-width:600px){body{background:#f7f4fa}.welcome{border-radius:0 0 22px 22px}.panel,.stat-card,.plan-card{border-radius:18px}.live-preview{margin:12px 0}.live-percent strong{font-size:22px}.chat-messages{height:52vh;min-height:280px;max-height:480px}.admin-chat-layout{grid-template-columns:1fr}.chat-threads{display:flex;max-height:none;overflow-x:auto;padding-bottom:5px}.chat-thread{min-width:145px}.admin-chat-window .chat-messages{height:48vh}.support-heading{padding:4px 14px 14px}.support-chat-card{border-radius:18px}.chat-compose{padding:9px}.chat-compose .btn{padding:0 14px}.support-secure{font-size:9px}}


/* Stable mobile viewport and smooth, app-like interaction */
* { -webkit-tap-highlight-color: transparent; }
html { width:100%; max-width:100%; overflow-x:hidden; overscroll-behavior-x:none; }
body { width:100%; max-width:100%; overflow-x:hidden; }
button, a, input, select, textarea { touch-action: manipulation; }
input, select, textarea { font-size:16px !important; } /* prevents iOS focus auto-zoom */
button, .btn { min-height:42px; }
img, svg, canvas { max-width:100%; }
@media (max-width: 600px) {
  html, body { min-width:0; }
  .shell, main, .view, .panel, .dialog { max-width:100%; }
  .table-wrap { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .dialog { width:calc(100% - 24px); max-width:480px; max-height:88dvh; overflow:auto; }
  .dialog input, .dialog textarea, .dialog select { width:100%; min-width:0; }
  .field { min-width:0; }
  .btn, button, .nav-tab { transition:background-color .16s ease, transform .16s ease, box-shadow .16s ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* Two-step clean mobile login: original ZeroPaisa branding, no third-party logos */
#authView{background:#fff;color:#181818}#authView .auth-panel{background:#fff;color:#171717;box-shadow:none;border:0}#authView .auth-mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:42px;font-size:16px}#authView .auth-mobile-mark{background:#6420c5;color:#fff;border-radius:12px;padding:12px;font-weight:800}#authView .auth-mobile-brand>span:last-child{font-size:11px;color:#858585;margin-left:auto}#authView h2{font-size:29px;font-weight:800;letter-spacing:-.035em;margin-bottom:10px}#authView .muted{font-size:14px;color:#777}#authView .field label{color:#555;font-size:13px}#authView .field input,#authView .mobile-input{background:#fff;color:#202020;border:1px solid #d6d6d6;border-radius:9px}#authView .mobile-input span{color:#555;white-space:nowrap}#authView .mobile-input input{color:#171717}#authView .field input::placeholder{color:#aaa}#authView .auth-tabs{background:#f4f2f7}#authView .tab{color:#666}#authView .tab.active{background:#eae0fa;color:#6521b5}#authView .btn-primary{background:#6d20c9;color:white;font-size:15px;padding:16px}#authView .btn-outline{background:#faf7ff;color:#6722b5;border:1px solid #e5d6fa}#authView .auth-intro{display:none}#authView.auth-layout{display:flex;justify-content:center;min-height:calc(100vh - 155px)}#authView .auth-panel{max-width:500px;width:100%;justify-self:center}#authView .admin-access{margin-top:0}
@media(max-width:600px){body:has(#authView:not(.hidden)){background:#fff}body:has(#authView:not(.hidden)) .topbar{border:0;box-shadow:none}#authView.auth-layout{display:block;min-height:calc(100dvh - 110px)}#authView .auth-panel{max-width:none;border-radius:0;padding:24px 24px 35px}#authView .auth-mobile-brand{margin-bottom:52px}#authView h2{font-size:29px}#authView .field{margin:25px 0}#authView .field input,#authView .mobile-input{min-height:57px;font-size:17px}#authView .mobile-input input{min-height:55px}#authView .btn-primary{min-height:55px}#authView .auth-tabs{margin-bottom:30px}#authView .admin-access{margin-bottom:28px}}

/* Admin entry is URL-only on desktop and mobile. */
#adminLoginOpen{display:none!important}

/* Accessible confirmation and error notifications */
.toast{display:flex!important;align-items:center;gap:12px;min-width:230px;max-width:min(440px,calc(100vw - 28px));padding:14px 16px!important;border-radius:14px!important;background:#f7f8fc!important;color:#152438!important;border:1px solid #d8dfe9!important;box-shadow:0 16px 45px #172b4d38!important;font-size:13px!important;font-weight:700;line-height:1.5;z-index:99999!important;overflow-wrap:anywhere}.toast-symbol{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:50%;font-size:18px;font-weight:900;background:#e8efff;color:#3154b5}.toast-success{background:#f0fff5!important;color:#155b32!important;border-color:#a9e7bc!important}.toast-success .toast-symbol{background:#18a457;color:white}.toast-error{background:#fff5f5!important;color:#8e2222!important;border-color:#f4b5b5!important}.toast-error .toast-symbol{background:#d63838;color:white}.toast-info .toast-symbol{background:#376bd3;color:white}@media(max-width:600px){.toast{left:14px!important;right:14px!important;bottom:20px!important;max-width:none!important;width:auto!important}}


/* Mobile viewport fit and stable bottom navigation - 2026-11 */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { min-width:0; overflow-x:clip; }
#app, .shell, .view, #dashboardView, .panel, .stat-card, .plan-card,
.two-col, .stats-grid, .plans-grid, .item, .section-head { min-width:0; }
input, textarea, select { max-width:100%; font-size:16px!important; }
button, a, input, select, textarea { touch-action:manipulation; }
@media(max-width:600px) {
  :root { --mobile-nav-height:66px; }
  html { width:100%; overflow-x:clip; }
  body { width:100%; padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 14px); }
  .topbar { width:100%; min-width:0; }
  .top-actions { min-width:0; gap:6px; }
  .brand { min-width:0; }
  .brand small { letter-spacing:.06em; }
  .shell { width:100%; max-width:100%; padding-left:0; padding-right:0; }
  #dashboardView { width:100%; padding:0 12px; }
  .welcome { margin-left:12px; margin-right:12px; }
  .stats-grid, .two-col, .plans-grid { width:100%; min-width:0; }
  .stat-card { padding:12px; }
  .stat-card strong { font-size:clamp(19px,5.8vw,25px); }
  .section-head { flex-wrap:wrap; }
  .section-head > * { max-width:100%; }
  .item { flex-wrap:wrap; overflow-wrap:anywhere; }
  .nav-tabs {
    position:fixed; left:0; right:0; bottom:0; top:auto;
    width:100%; max-width:100vw; min-height:var(--mobile-nav-height);
    display:flex; justify-content:flex-start; align-items:center;
    gap:4px; padding:7px 8px calc(7px + env(safe-area-inset-bottom));
    overflow-x:auto; overflow-y:hidden; white-space:nowrap;
    overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity; scrollbar-width:none;
    background:#fff; border-top:1px solid #e8e4eb; z-index:40;
  }
  .nav-tabs::-webkit-scrollbar { display:none; }
  .nav-tab { flex:0 0 auto; min-width:76px; max-width:126px;
    padding:11px 9px; font-size:11px; line-height:1.25;
    white-space:nowrap; scroll-snap-align:start; }
  .nav-tab.hidden { display:none!important; }
  .dialog { box-sizing:border-box; width:calc(100% - 20px);
    max-width:480px; max-height:calc(100dvh - 28px); overflow-y:auto;
    overscroll-behavior:contain; padding:20px; }
  .dialog::backdrop { touch-action:none; }
  .table-wrap { overflow-x:auto; max-width:100%; }
  .auth-panel { min-width:0; }
  .toast { bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 12px)!important; }
}
@media(max-width:360px) {
  .stat-card { padding:10px; }
  .stat-card span { font-size:10px; }
  .nav-tab { min-width:70px; padding:10px 7px; font-size:10px; }
  #authView .auth-panel { padding-left:16px; padding-right:16px; }
}

/* Readability fix: reward enrollment cards and other dark remnants. */
#myPlans .item, .stack .item {
  background:#ffffff !important; color:#21172b !important;
  border:1px solid #e9e1f1 !important; border-radius:16px;
  box-shadow:0 3px 12px rgba(42,16,66,.06);
  padding:16px; min-width:0;
}
#myPlans .item b, .stack .item b {color:#201529 !important;font-weight:800;font-size:14px;line-height:1.5}
#myPlans .item small, .stack .item small {color:#5d5268 !important;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
#myPlans .item .status.active, .stack .item .status.active {
  color:#087747 !important; background:#e7f8ee !important; border:1px solid #bce9cd;
  padding:7px 10px;border-radius:99px;white-space:nowrap;
}
#myPlans .item .status.approved, .stack .item .status.approved {
  color:#5d2fa8 !important; background:#f1e9ff !important;
  padding:7px 10px;border-radius:99px;white-space:nowrap;
}
.graph-controls input,.graph-controls select {background:#fff !important;color:#21172b !important;border:1px solid #d8cce5 !important}
.graph-card {background:#fff !important;color:#21172b !important;border-color:#e9e1f1 !important}
.graph-dates span,.graph-empty {color:#655970 !important}
@media(max-width:600px){
 #myPlans .item,.stack .item{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
 #myPlans .item>div,.stack .item>div{min-width:0;flex:1 1 175px}
 #myPlans .item .status,.stack .item .status{flex:0 0 auto}
}


/* ZeroPaisa high-contrast mobile admin readability patch */
:root{color-scheme:light}
html{font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:clip}
#adminView .panel,#adminView .panel h2,#adminView .panel h3{color:#20152c}
#adminView .panel .muted{color:#564760!important;font-size:13px}
#adminView .inline-form input,#adminView .inline-form select,
#adminView .field input,#adminView .field textarea,#adminView .field select{
 background:#fff!important;color:#20152c!important;border:1.5px solid #cdbbdc!important;
 box-shadow:none!important;opacity:1!important;font-size:16px!important;
 -webkit-text-fill-color:#20152c;
}
#adminView input::placeholder,#adminView textarea::placeholder{color:#655770!important;opacity:1!important;-webkit-text-fill-color:#655770}
#adminView input:focus,#adminView textarea:focus{outline:2px solid #8a35d6!important;outline-offset:1px}
#adminView table td{color:#25182e!important;font-weight:650!important;font-size:13px!important;border-bottom:1px solid #e4d9eb!important}
#adminView table th{color:#51405d!important;font-size:11px!important;border-bottom:2px solid #d9c9e5!important}
#adminView .status.active{color:#087b4e!important}
#adminView .status.blocked{color:#b6243e!important}
#adminView .btn-outline{background:#fbf8ff!important;color:#5b169b!important;border:1px solid #dac6ed!important}
#adminView .inline-form .btn-primary{color:#fff!important;background:linear-gradient(115deg,#7922cf,#a744e9)!important}
@media(max-width:600px){
  .topbar{position:relative!important;min-height:68px;height:auto!important;padding:12px 14px!important;gap:10px}
  .topbar .brand{flex:1;min-width:0;overflow:hidden}
  .topbar .brand b{font-size:13px!important;white-space:normal}
  .topbar .brand small{font-size:9px!important}
  .top-actions{flex:none!important}
  .top-actions .btn{white-space:nowrap;padding:10px 12px}
  #dashboardView{padding:0 12px!important}
  #adminView{min-width:0;width:100%}
  #adminView .panel{padding:16px!important;overflow:hidden}
  #adminView .inline-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  #adminView .inline-form input{min-width:0!important;width:100%!important;min-height:52px}
  #adminView .inline-form button{width:100%!important;min-height:48px}
  #adminUserRows{display:block!important}
  #adminUserRows tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px;
   background:#fff!important;border:1px solid #e1d5eb!important;border-radius:16px!important;
   margin:12px 0!important;padding:12px!important;box-shadow:0 3px 12px #2e10420d}
  #adminUserRows td{display:flex!important;flex-direction:column!important;align-items:flex-start!important;
   min-width:0!important;padding:10px 3px!important;border-bottom:1px solid #f0eaf5!important;
   overflow-wrap:anywhere!important;word-break:break-word;color:#21152b!important;font-size:13px!important}
  #adminUserRows td:before{content:attr(data-label);display:block;font-size:10px;font-weight:800;
   color:#6a5278!important;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px}
  #adminUserRows td:first-child{grid-column:1/-1;font-size:16px!important;font-weight:850!important}
  #adminUserRows td:last-child{grid-column:1/-1;border-bottom:0!important}
  #adminUserRows td:last-child button{min-height:40px}
  #adminView .table-wrap:has(#adminUserRows){overflow:visible!important;width:100%!important}
  #adminView .table-wrap:has(#adminUserRows) table{display:block!important;min-width:0!important;width:100%!important}
  #adminView .table-wrap:has(#adminUserRows) thead{display:none!important}
  #adminView .table-wrap:has(#adminUserRows) tbody{display:block!important;width:100%!important}
  .nav-tabs{padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}
  body{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
  .shell{min-width:0!important}
}


/* Global readability and iOS mobile layout refinements */
:root { --zp-ink:#21172b; --zp-muted:#54475e; }
body { color:#21172b; }
.panel,.stat-card,.plan-card,.graph-card,.item,.dialog { background:#fff!important; color:#21172b!important; border-color:#e4d7ed!important; }
.panel h2,.panel h3,.panel p,.panel b,.panel strong,.panel label,.item b,.item strong,.dialog h2,.dialog h3 { color:#21172b; }
.panel .muted,.dialog .muted,.item small,.plan-card p,.claim-copy,.empty,.stat-card small,.stat-card span,.plan-meta { color:#584b64!important; opacity:1!important; }
.field label {color:#3d3047!important;font-weight:750!important;font-size:13px!important;}
.field input,.field textarea,.field select,.inline-form input,.inline-form select,.dialog input,.dialog textarea,.dialog select {
 background:#fff!important;color:#20152c!important;-webkit-text-fill-color:#20152c!important;
 border:1.5px solid #cbb9db!important;border-radius:12px!important;
}
input::placeholder,textarea::placeholder {color:#665a70!important;opacity:1!important;}
input:focus,textarea:focus,select:focus {outline:2px solid #8e36dc!important;outline-offset:1px;}
.dialog { width:min(480px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 35px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 55px #24112b38!important; }
.dialog::backdrop {background:rgba(20,14,28,.58)!important;backdrop-filter:blur(3px);}
.dialog-close {color:#3d3047!important;}
table th {color:#483653!important;border-color:#d9cbe3!important;font-weight:850!important;}
table td {color:#24192c!important;border-color:#e4d9ed!important;font-weight:650!important;opacity:1!important;}
table td *,table th * {opacity:1;}
.table-wrap .empty {color:#5d4c68!important;}
.status.active,.status.approved {color:#087a4d!important;}
.status.pending {color:#875600!important;}
.status.blocked,.status.rejected {color:#b52b42!important;}
.btn-primary {color:#fff!important;}
@media(max-width:600px) {
 html,body {width:100%;max-width:100%;overflow-x:clip;}
 .shell,.view,.panel,.table-wrap {min-width:0;max-width:100%;}
 .panel {padding:16px!important;}
 .dialog {padding:20px!important;border-radius:18px!important;}
 .dialog .field {margin:16px 0;}
 .dialog input,.dialog textarea,.dialog select,.field input,.field textarea,.field select {font-size:16px!important;min-height:49px;}
 .topbar {z-index:45;}
 .nav-tabs {z-index:35;}
 .table-wrap {overflow-x:auto;-webkit-overflow-scrolling:touch;}
 #activityView .table-wrap table {min-width:0!important;width:100%!important;display:block;}
 #activityView .table-wrap thead {display:none!important;}
 #activityView .table-wrap tbody {display:block;width:100%;}
 #activityView .table-wrap tr {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:0 0 12px;padding:14px;border:1px solid #e2d5ec;border-radius:15px;background:#fff;}
 #activityView .table-wrap td {display:block;padding:2px 0;border:0!important;overflow-wrap:anywhere;word-break:break-word;font-size:13px!important;min-width:0;}
 #activityView .table-wrap td:before {display:block;font-size:10px;color:#675673;font-weight:850;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px;}
 #ledgerRows td:nth-child(1):before,#requestRows td:nth-child(1):before {content:'Date';}
 #ledgerRows td:nth-child(2):before {content:'Activity';}
 #ledgerRows td:nth-child(3):before,#requestRows td:nth-child(3):before {content:'Points';}
 #ledgerRows td:nth-child(4):before {content:'Details';}
 #requestRows td:nth-child(2):before {content:'Type';}
 #requestRows td:nth-child(4):before {content:'UPI ID';}
 #requestRows td:nth-child(5):before {content:'Status';}
 #requestRows td:nth-child(6):before {content:'Admin note';}
 #activityView .table-wrap td[colspan] {grid-column:1/-1;text-align:center;}
 #activityView .table-wrap td[colspan]:before {content:none;}
 #activityView .table-wrap tr td:last-child:nth-child(4),#activityView .table-wrap tr td:last-child:nth-child(6){grid-column:1/-1;}
 .nav-tabs {scroll-padding-inline:12px;}
}

/* Keep the original purple welcome banner, including readable white text. */
.welcome, .welcome.panel {background:linear-gradient(115deg,#4f0b9e,#8f35e5 65%,#b45cf2)!important;color:#fff!important;border:0!important;}
.welcome h1,.welcome h2,.welcome strong,.welcome b,.welcome .role-chip {color:#fff!important;-webkit-text-fill-color:#fff!important;}
.welcome .eyebrow,.welcome .muted,.welcome p,.welcome small {color:#ead7ff!important;-webkit-text-fill-color:#ead7ff!important;opacity:1!important;}
.welcome .role-chip{border-color:#ffffff80!important;background:#ffffff12!important;}

/* Premium purple responsive UI upgrade */
:root{--zp-purple:#6c0ec8}html{touch-action:pan-y}body{background:linear-gradient(145deg,#faf8ff 0%,#f0e6ff 60%,#f9f6ff 100%);overscroll-behavior-x:none}.topbar{background:#fff!important}.brand .logo{background:linear-gradient(135deg,#ac37fa,#4b00b9)!important;color:#fff!important}.welcome{background:linear-gradient(115deg,#36008b,#7508ce 70%,#a83cf6)!important;color:white!important;border:0!important;box-shadow:0 12px 25px #6b19ad30}.welcome .eyebrow,.welcome .muted,.welcome h1,.welcome #welcomeMeta{color:white!important}.role-chip{border:1px solid white!important;color:white!important}.stat-card{background:#fff!important;border:1px solid #eee3ff!important;border-radius:25px!important;box-shadow:0 7px 16px #5116a013!important}.stat-card strong{color:#6500bd!important}.profit-tab{background:linear-gradient(135deg,#a32cf3,#4e00ac)!important;color:white!important;font-weight:800!important;border-radius:30px!important}.mobile-quickbar{display:none}.profit-preview{max-width:780px}.profit-preview svg{display:block;width:100%;height:180px;background:linear-gradient(#f4e8ff,#fff);border-radius:20px;margin:18px 0}.profit-status{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#6211aa;font-size:12px;font-weight:800}.profit-status strong{font-size:24px}.btn:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:760px){.shell{padding-bottom:112px!important}.mobile-quickbar{display:flex;position:sticky;bottom:8px;z-index:15;align-items:center;justify-content:space-between;gap:3px;padding:10px 5px;background:#ffffffed;border:1px solid #e8d7fc;border-radius:30px;box-shadow:0 8px 35px #49008425;backdrop-filter:blur(12px);margin:14px 0}.mobile-quickbar button{border:0;background:transparent;color:#5605a8;font-size:22px;font-weight:800;min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 0}.mobile-quickbar small{font-size:9px;line-height:1.1;white-space:normal;text-align:center}.mobile-quickbar .quick-profit{background:linear-gradient(135deg,#a43af8,#4a00a8);color:white;border:5px solid white;border-radius:50%;width:74px;height:74px;flex:0 0 74px;margin-top:-24px;box-shadow:0 5px 15px #6d00ca70;font-size:30px}.mobile-quickbar .quick-profit small{font-size:12px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.stat-card{min-width:0!important;padding:16px!important}.stat-card strong{font-size:28px!important}.stat-card span{font-size:13px!important}.stat-card small{font-size:11px!important}.nav-tabs{overflow-x:auto;scrollbar-width:none}.welcome{border-radius:28px!important;padding:24px!important}input,select,textarea{font-size:16px!important}}

/* Screenshot-inspired mobile Minutes Trading UI */
.zp-minutes-screen{max-width:760px;margin:0 auto;padding:0 0 110px;color:#22143f}
.zp-minute-header{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#170b46,#6400c8);color:white;border-radius:22px 22px 0 0;padding:16px 20px;margin-bottom:0}.zp-minute-header h2{font-size:clamp(21px,5vw,29px);margin:0;color:#fff}.zp-back,.zp-help{border:0;background:transparent;color:#fff;font-size:38px;cursor:pointer}.zp-help{font-size:29px}
.zp-minute-hero{background:radial-gradient(circle at 22% 35%,#8e29ed,#260658 65%,#120a37);border:2px solid #d9a7ff;border-radius:28px;box-shadow:0 10px 18px #6d27ba35;display:flex;align-items:center;justify-content:space-around;min-height:176px;padding:16px;margin:14px 8px 22px;color:#fff;font-size:clamp(21px,4.7vw,32px);font-weight:800;line-height:1.28}.zp-minute-hero strong{color:#ffd42b}.zp-hero-visual{font-size:88px;position:relative;filter:drop-shadow(0 8px 10px #a434ff)}.zp-hero-visual span{position:absolute;font-size:37px;bottom:0;right:-25px}
.zp-duration-card{background:linear-gradient(135deg,#e9d9ff,#dbc7fa);border-radius:24px;margin:0 8px 18px;padding:20px 12px;text-align:center}.zp-duration-card h3{font-size:23px;color:#21133f;margin:0 0 18px}.zp-duration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.zp-duration-grid>div{display:flex;flex-direction:column;align-items:center;gap:3px;padding:0 6px}.zp-duration-grid>div+div{border-left:2px solid #9a66d5}.zp-duration-grid span{font-size:29px;color:#7d12cf}.zp-duration-grid small{font-size:13px;color:#251b3b}.zp-duration-grid strong{font-size:clamp(23px,6vw,34px);color:#170c32}
.zp-live-card{margin:0 8px 18px;background:linear-gradient(135deg,#1b123c,#100c30);border-radius:23px;color:#fff;padding:20px 18px}.zp-live-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:18px;font-weight:750}.zp-live-dot{display:inline-block;background:#16e65a;width:13px;height:13px;border-radius:50%;box-shadow:0 0 10px #17ee66;margin-right:7px}.zp-live-heading b{background:#74638b;color:white;border-radius:9px;padding:5px 11px;font-size:15px}.zp-live-heading b.is-live{background:#20ed50;color:#092517}.zp-live-body{display:flex;align-items:center;justify-content:space-evenly;gap:18px;padding:20px 0 8px}.zp-timer-ring{--progress:100%;height:clamp(150px,35vw,210px);width:clamp(150px,35vw,210px);flex-shrink:0;border-radius:50%;background:conic-gradient(#0ce65a var(--progress),#625775 0);padding:12px;display:grid;place-items:center}.zp-timer-ring>div{border-radius:50%;background:#1b123c;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.zp-timer-ring strong{font-size:clamp(33px,8vw,52px);color:white;font-variant-numeric:tabular-nums}.zp-timer-ring small{font-size:15px}.zp-live-copy{flex:1;max-width:230px}.zp-live-copy p{font-size:19px;font-weight:700;color:white;line-height:1.3}.zp-live-copy span{display:inline-block;background:#20eb4d;border-radius:24px;color:#082714;padding:9px 12px;font-weight:800}.zp-round-meta{color:#c7b7e5;font-size:12px;margin:9px 0 0}
.zp-info-strip{margin:0 8px 18px;padding:16px 18px;border-radius:18px;background:linear-gradient(120deg,#6518c7,#a22ae6);color:white;font-size:15px}.zp-result-card{margin:0 8px 18px;border-radius:20px;background:#eae4ff;padding:20px}.zp-result-card h3{font-size:20px;margin:0 0 15px}.zp-result-cols{display:grid;grid-template-columns:1fr 1fr;text-align:center}.zp-result-cols>div+div{border-left:2px solid #9c83c9}.zp-result-cols small{display:block;font-size:14px;margin-bottom:6px}.zp-result-cols strong{font-size:20px;color:#11a846}.zp-plan-selector,.zp-join-card{margin:0 8px 18px}.zp-minutes-screen .panel{border-radius:20px}
@media(max-width:430px){.zp-minute-hero{min-height:142px}.zp-hero-visual{font-size:62px}.zp-duration-card h3{font-size:20px}.zp-duration-grid small{font-size:11px}.zp-live-card{padding:16px 12px}.zp-live-heading{font-size:15px}.zp-live-body{gap:10px}.zp-timer-ring{width:145px;height:145px}.zp-live-copy p{font-size:15px}.zp-live-copy span{font-size:12px}.zp-result-cols strong{font-size:16px}}

/* 2026-11-16: single fixed bottom navigation for customer mobile screens. */
@media (max-width:760px) {
  #appView:has(> .mobile-quickbar:not(.hidden)) #mainNav {display:none!important;}
  #appView > .mobile-quickbar:not(.hidden) {
    display:flex!important; position:fixed!important; top:auto!important;
    bottom:calc(7px + env(safe-area-inset-bottom))!important;
    left:8px!important; right:8px!important; width:auto!important;
    margin:0!important; z-index:80!important;
    padding:7px 3px!important; min-height:66px;
    border-radius:24px!important; box-sizing:border-box;
  }
  #appView > .mobile-quickbar button {min-width:0!important; flex:1 1 0!important; font-size:20px!important; padding:5px 0!important;}
  #appView > .mobile-quickbar button small {font-size:clamp(8px,2.15vw,11px)!important; line-height:1.12!important;}
  #appView > .mobile-quickbar .quick-profit {flex:0 0 64px!important; width:64px!important; height:64px!important; margin-top:-20px!important; font-size:25px!important;}
  #appView > .mobile-quickbar .quick-profit small {font-size:11px!important;}
  #appView:has(> .mobile-quickbar:not(.hidden)) {padding-bottom:100px;}
  .zp-minutes-screen {padding-bottom:28px!important;}
}

/* Restore Support in the fixed mobile navigation; fit all seven controls. */
@media(max-width:760px){
 #appView > .mobile-quickbar:not(.hidden){gap:0!important;left:4px!important;right:4px!important;padding:7px 2px!important;}
 #appView > .mobile-quickbar button{font-size:18px!important;padding:5px 0!important;overflow:visible;}
 #appView > .mobile-quickbar button small{font-size:clamp(7px,1.85vw,10px)!important;overflow-wrap:anywhere;}
 #appView > .mobile-quickbar .quick-profit{flex:0 0 57px!important;width:57px!important;height:57px!important;font-size:23px!important;}
}

/* ZeroPaisa premium 3-minute trading plan selector — isolated styles */
.zp-plan-selector{background:linear-gradient(145deg,#08162d,#0d1930 62%,#11132b)!important;border:1px solid #304466!important;border-radius:22px!important;color:#fff!important;padding:clamp(14px,3vw,25px)!important;overflow:hidden}
.zp-premium-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.zp-premium-plan-heading h3{font-size:clamp(19px,3vw,27px)!important;color:#fff!important;margin:6px 0!important}.zp-premium-plan-heading p{font-size:12px;color:#b9c8e0;margin:0}.zp-plan-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#ffcd65}.zp-plan-heading-symbol{font-size:30px}.zp-premium-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.zp-premium-plan{--tone:#23bdfd;--glow:rgba(0,177,255,.22);position:relative;min-width:0;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:8px;padding:16px 13px 12px;border:1.5px solid var(--tone);border-radius:20px;color:#fff;background:radial-gradient(ellipse at 50% -20%,var(--glow),transparent 70%),linear-gradient(145deg,#142844,#09182e);box-shadow:inset 0 1px 0 #ffffff24,0 8px 20px #0005;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s;font-family:inherit}.zp-premium-plan:focus-visible{outline:3px solid white;outline-offset:3px}.zp-premium-plan:hover{transform:translateY(-3px);box-shadow:0 8px 26px var(--glow)}.zp-premium-plan.is-selected{box-shadow:0 0 0 2px var(--tone),0 8px 28px var(--glow)}.zp-plan-tone-1{--tone:#c663ff;--glow:rgba(171,54,255,.25)}.zp-plan-tone-2{--tone:#ffbb37;--glow:rgba(255,165,0,.23)}.zp-plan-tone-3{--tone:#ff566b;--glow:rgba(255,54,91,.22)}.zp-plan-top{display:flex;align-items:center;justify-content:space-between;gap:5px}.zp-plan-icon{font-size:27px;color:var(--tone);text-shadow:0 0 15px var(--tone)}.zp-plan-tag{font-size:9px;font-weight:800;letter-spacing:.3px;border:1px solid var(--tone);border-radius:99px;padding:5px 7px;color:var(--tone);white-space:nowrap}.zp-plan-name{font-size:clamp(15px,2.8vw,21px);overflow-wrap:anywhere;line-height:1.2}.zp-plan-duration{font-size:11px;color:#cbd8ec}.zp-plan-divider{height:1px;background:#ffffff29;margin:4px 0}.zp-plan-caption{font-size:9px;font-weight:700;letter-spacing:.7px;color:#b9c8de}.zp-plan-amount{font-size:clamp(15px,2.8vw,22px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.zp-plan-amount span{color:var(--tone)}.zp-plan-cta{display:block;text-align:center;border-radius:12px;background:var(--tone);color:#061322;padding:10px 5px;font-size:12px;font-weight:900;margin-top:auto}.zp-plan-risk-note{color:#b8c6d9;font-size:11px;margin:14px 0 0;line-height:1.5}@media(min-width:950px){.zp-premium-plan-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:350px){.zp-premium-plan-grid{gap:8px}.zp-premium-plan{padding:12px 9px}.zp-plan-tag{font-size:8px;padding:4px}}

/* Compact, high-contrast 3-minute plan cards only */
.zp-premium-plan-grid{gap:9px!important}
.zp-premium-plan{padding:10px 11px 10px!important;gap:5px!important;border-radius:14px!important;min-height:0!important}
.zp-premium-plan .zp-plan-name{display:block!important;color:#fff!important;opacity:1!important;visibility:visible!important;font-size:clamp(14px,2.5vw,17px)!important;line-height:1.3!important;font-weight:900!important;letter-spacing:.1px!important;text-shadow:0 1px 3px #000a!important;overflow-wrap:anywhere!important}
.zp-premium-plan .zp-plan-top{min-height:23px!important}
.zp-premium-plan .zp-plan-icon{font-size:20px!important}
.zp-premium-plan .zp-plan-tag{font-size:8px!important;padding:3px 6px!important}
.zp-premium-plan .zp-plan-duration{font-size:10px!important;color:#e4edff!important}
.zp-premium-plan .zp-plan-caption{font-size:8px!important;color:#d1dcef!important}
.zp-premium-plan .zp-plan-amount{font-size:clamp(13px,2.4vw,17px)!important;color:#fff!important;line-height:1.3!important}
.zp-premium-plan .zp-plan-cta{padding:7px 4px!important;border-radius:9px!important;font-size:11px!important}
.zp-premium-plan .zp-plan-divider{margin:1px 0!important}
@media(max-width:380px){.zp-premium-plan{padding:9px 8px!important}.zp-premium-plan .zp-plan-name{font-size:13px!important}}

/* Profit page wallet placement: scoped by JS view switching */
.zp-welcome-right{display:flex;flex-direction:column;align-items:flex-end;gap:12px;min-width:0}
.zp-profit-wallet{border:1px solid #f0ceff;border-radius:18px;padding:9px 14px;background:linear-gradient(125deg,#5406a6,#8d17e8);box-shadow:0 3px 13px #39006445;text-align:center;color:#fff;max-width:100%}
.zp-profit-wallet>span{display:block;color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em}
.zp-profit-wallet strong,.welcome .zp-profit-wallet strong{display:block;font-size:clamp(14px,3.5vw,21px);font-weight:900;color:#ffe145!important;-webkit-text-fill-color:#ffe145!important;white-space:nowrap}
.zp-profit-wallet.hidden{display:none!important}
@media(max-width:600px){.welcome .zp-welcome-right{flex:0 0 auto;gap:12px}.welcome .zp-profit-wallet{padding:7px 9px;border-radius:15px}.welcome .zp-profit-wallet strong{font-size:13px}.welcome .zp-profit-wallet>span{font-size:10px}.welcome h1{overflow-wrap:anywhere}}
@media(max-width:380px){.welcome .zp-profit-wallet strong{font-size:11px}.welcome .zp-profit-wallet{padding:6px}.welcome .zp-welcome-right{max-width:46%}}

/* Compact single-column 3-minute plan list and investment popup */
.zp-premium-plan-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
.zp-premium-plan{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;grid-template-rows:auto auto auto!important;align-items:center!important;column-gap:10px!important;row-gap:3px!important;padding:10px 12px!important;border-radius:15px!important;min-height:0!important}
.zp-premium-plan .zp-plan-top{display:contents!important}
.zp-premium-plan .zp-plan-icon{grid-column:1;grid-row:1 / span 2;font-size:22px!important;text-align:center}
.zp-premium-plan .zp-plan-tag{grid-column:3;grid-row:1;font-size:8px!important;padding:3px 7px!important}
.zp-premium-plan .zp-plan-name{grid-column:2;grid-row:1 / span 2;font-size:14px!important;line-height:1.2!important}
.zp-premium-plan .zp-plan-duration{grid-column:2;grid-row:3;font-size:9px!important}
.zp-premium-plan .zp-plan-divider,.zp-premium-plan .zp-plan-caption{display:none!important}
.zp-premium-plan .zp-plan-amount{grid-column:3;grid-row:2;font-size:12px!important;white-space:nowrap}
.zp-premium-plan .zp-plan-cta{grid-column:3;grid-row:3;padding:4px 8px!important;font-size:9px!important;white-space:nowrap}
.zp-invest-modal{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:18px;background:#08051acc;backdrop-filter:blur(7px)}
.zp-invest-modal.hidden{display:none!important}
.zp-invest-dialog{position:relative;width:min(100%,420px);padding:26px 20px 22px;border:1px solid #d7a8ff;border-radius:24px;background:linear-gradient(155deg,#17102d,#0b1930);color:#fff;box-shadow:0 24px 80px #0009}
.zp-invest-close{position:absolute;right:14px;top:10px;border:0;background:#ffffff18;color:#fff;border-radius:50%;width:34px;height:34px;font-size:25px;line-height:1;cursor:pointer}
.zp-invest-eyebrow{font-size:10px;font-weight:900;letter-spacing:1.5px;color:#ffc044}
.zp-invest-dialog h3{margin:10px 0 5px;font-size:22px}
.zp-invest-plan-name{margin:0 0 8px;color:#d9b5ff;font-size:16px;font-weight:800}
.zp-invest-range{margin:12px 0 18px;padding:10px 12px;border:1px solid #ffffff24;border-radius:12px;color:#dce7ff;font-size:12px}
.zp-invest-dialog form{gap:10px}
.zp-invest-dialog label{font-size:13px;font-weight:800;color:#e7e2f5}
.zp-invest-dialog input{width:100%;min-height:52px;border:1px solid #b98be4;border-radius:13px;padding:12px 14px;background:#fff;color:#21142f;font-size:18px;box-sizing:border-box}
.zp-invest-dialog form button{width:100%;min-height:50px;border:0;border-radius:13px;background:linear-gradient(90deg,#a82df0,#d34bff);color:#fff;font-weight:900;font-size:16px}
.zp-invest-hint{margin:0;color:#aebbd1;font-size:11px;line-height:1.5}
@media(max-width:430px){.zp-invest-dialog{padding:24px 16px 18px}.zp-premium-plan{padding:9px 10px!important}}


/* Compact 3-minute duration summary for mobile and desktop */
.zp-duration-card{
  margin:0 8px 12px!important;
  padding:11px 10px!important;
  border-radius:17px!important;
}
.zp-duration-card h3{
  font-size:clamp(16px,4.2vw,20px)!important;
  margin:0 0 8px!important;
  line-height:1.2!important;
}
.zp-duration-grid>div{
  gap:1px!important;
  padding:0 4px!important;
}
.zp-duration-grid span{font-size:20px!important;line-height:1.1!important}
.zp-duration-grid small{font-size:10px!important;line-height:1.2!important}
.zp-duration-grid strong{font-size:clamp(19px,5vw,25px)!important;line-height:1.15!important}
@media(max-width:380px){
  .zp-duration-card{padding:9px 7px!important}
  .zp-duration-card h3{font-size:16px!important}
  .zp-duration-grid span{font-size:18px!important}
  .zp-duration-grid small{font-size:9px!important}
  .zp-duration-grid strong{font-size:20px!important}
}


/* Smaller 3-minute trading countdown */
.zp-live-card{padding:18px 18px 16px!important}
.zp-live-body{gap:12px!important;padding:12px 0 4px!important}
.zp-timer-ring{
  width:clamp(112px,30vw,150px)!important;
  height:clamp(112px,30vw,150px)!important;
  padding:8px!important;
}
.zp-timer-ring strong{font-size:clamp(27px,7vw,39px)!important;line-height:1.05!important}
.zp-timer-ring small{font-size:clamp(12px,3.4vw,16px)!important}
.zp-live-copy p{font-size:clamp(15px,4.2vw,21px)!important;line-height:1.25!important}
.zp-live-copy span{font-size:clamp(13px,3.6vw,17px)!important;padding:9px 13px!important}
@media(max-width:380px){
  .zp-live-card{padding:14px 12px!important}
  .zp-live-body{gap:8px!important}
  .zp-timer-ring{width:112px!important;height:112px!important;padding:7px!important}
  .zp-live-copy p{font-size:14px!important}
  .zp-live-copy span{font-size:12px!important}
}

/* Trading-only header and dense viewport layout */
body:has(#profitView:not(.hidden)) .topbar{display:none!important}
body:has(#profitView:not(.hidden)) .shell{padding-top:8px!important}
body:has(#profitView:not(.hidden)) #roleChip{display:none!important}
body:has(#profitView:not(.hidden)) #zpTradeRefresh{display:inline-flex!important}
.zp-trade-refresh{align-items:center;justify-content:center;min-width:38px;height:34px;border:1px solid #ffffffb0;border-radius:14px;background:#ffffff1b;color:#fff;font-size:27px;cursor:pointer}
.zp-trade-refresh:disabled{opacity:.5}
@media(max-width:600px){
body:has(#profitView:not(.hidden)) .shell{padding:8px 8px 75px!important}
body:has(#profitView:not(.hidden)) .welcome{margin:0 0 7px!important;padding:12px 13px!important;min-height:0!important;border-radius:20px!important}
body:has(#profitView:not(.hidden)) .welcome h1{font-size:clamp(17px,4.8vw,22px)!important;margin:6px 0!important}
body:has(#profitView:not(.hidden)) .welcome .eyebrow{font-size:9px!important}
body:has(#profitView:not(.hidden)) .welcome .muted{font-size:11px!important;margin:0!important}
body:has(#profitView:not(.hidden)) .zp-welcome-right{gap:5px!important}
body:has(#profitView:not(.hidden)) #mainNav{display:none!important}
.zp-minutes-screen{padding-bottom:105px!important}
.zp-duration-card{margin:0 0 7px!important;padding:8px 7px!important;border-radius:15px!important}
.zp-duration-card h3{font-size:15px!important;margin-bottom:4px!important}
.zp-duration-grid span{font-size:15px!important}
.zp-duration-grid strong{font-size:19px!important}
.zp-duration-grid small{font-size:9px!important}
.zp-live-card{margin:0 0 7px!important;padding:10px 12px!important;border-radius:16px!important}
.zp-live-heading{font-size:14px!important}
.zp-live-heading b{font-size:11px!important;padding:4px 8px!important}
.zp-live-body{padding:7px 0 0!important;gap:12px!important}
.zp-timer-ring{width:91px!important;height:91px!important;padding:6px!important}
.zp-timer-ring strong{font-size:24px!important}
.zp-timer-ring small{font-size:10px!important}
.zp-live-copy p{font-size:12px!important;margin:0 0 6px!important}
.zp-live-copy span{font-size:11px!important;padding:5px 8px!important}
.zp-result-card{margin:0 0 7px!important;padding:9px 12px!important;border-radius:14px!important}
.zp-result-card h3{font-size:14px!important;margin:0 0 5px!important}
.zp-result-cols small{font-size:10px!important;margin-bottom:2px!important}
.zp-result-cols strong{font-size:13px!important}
.zp-plan-selector{margin:0 0 9px!important;padding:9px!important;border-radius:15px!important}
.zp-premium-plan-heading{margin-bottom:6px!important}
.zp-premium-plan-heading h3{font-size:15px!important;margin:0!important}
.zp-premium-plan-heading p,.zp-plan-heading-symbol,.zp-plan-eyebrow{display:none!important}
.zp-premium-plan-grid{gap:5px!important}
.zp-premium-plan{padding:7px 9px!important;row-gap:1px!important}
.zp-premium-plan .zp-plan-name{font-size:13px!important}
.zp-premium-plan .zp-plan-cta{padding:4px 6px!important}
.zp-plan-risk-note{font-size:9px!important;margin:5px 0 0!important}
}


/* ZeroPaisa DEMO-ONLY Add Money: compact button in circled welcome area */
.zp-add-money-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;align-self:center;border:1px solid #a7ffde;border-radius:999px;padding:9px 13px;background:linear-gradient(135deg,#10d985,#04a96c);color:#092b21;font-size:13px;font-weight:900;box-shadow:0 4px 12px #004c3250;cursor:pointer;white-space:nowrap}
.zp-add-money-btn small{font-size:8px;letter-spacing:.05em;border:1px solid #035b42;border-radius:5px;padding:2px 4px}
.zp-add-money-btn.hidden{display:none!important}
.zp-demo-page{max-width:740px;margin-inline:auto!important}
.zp-demo-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.zp-demo-pill{display:inline-block;border:1px solid #8b3ed8;border-radius:99px;padding:6px 10px;font-size:10px;letter-spacing:.03em;font-weight:900;color:#5a179a;background:#f3e8ff}
.zp-demo-h2{font-size:.65em;color:#8d3ac4}
.zp-demo-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.zp-demo-method{display:flex;flex-direction:column;align-items:center;gap:6px;padding:13px 7px;border:2px solid #d7c7e9;border-radius:16px;background:#faf7ff;color:#32233f;cursor:pointer;min-width:0}
.zp-demo-method strong{font-size:13px}.zp-demo-method small{font-size:10px;color:#61556d;text-align:center}
.zp-demo-method.active{border-color:#7c19db;background:#f2e5ff;box-shadow:0 0 0 2px #b87bfa33}
.zp-demo-method:disabled{opacity:.38;cursor:not-allowed}
.zp-demo-fields{padding:13px;border:1px solid #e6d6f5;border-radius:14px;background:#fdfaff}
.zp-demo-fields.hidden{display:none!important}
.zp-demo-fields .field{margin:9px 0}.zp-demo-fields .field small{display:block;color:#6d597a;margin-top:4px;font-size:11px}
.zp-demo-bank{display:grid;gap:5px;padding:13px;border:1px dashed #7c34c8;border-radius:12px;background:#f2e9ff;font-size:13px;color:#36214c}
.zp-demo-bank strong{color:#6119aa}.zp-demo-bank small{font-size:11px;color:#6b577a}
.zp-demo-hint{font-size:12px;font-weight:700;color:#6816ae}
.zp-demo-admin-switches{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 20px}
.zp-demo-admin-switches label{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700}
.zp-demo-admin-switches input{width:18px;height:18px;min-height:0!important}
.zp-demo-request{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;padding:13px;border:1px solid #e6d9ee;border-radius:14px;background:#fff;margin:9px 0;overflow-wrap:anywhere}
.zp-demo-request>div{min-width:0;flex:1 1 220px}.zp-demo-request small{display:block;margin:5px 0;color:#61516c}
.zp-demo-request .zp-demo-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.zp-demo-request .zp-demo-actions button{min-height:38px}
.zp-demo-request .zp-demo-note{width:100%;min-height:42px;margin-top:7px}
.zp-demo-status{display:inline-block;font-weight:800;text-transform:uppercase;font-size:11px;border-radius:30px;padding:4px 8px;background:#eee3f7;color:#6323a2}
.zp-demo-status.approved{background:#d9fbe9;color:#117345}.zp-demo-status.rejected{background:#ffe2e2;color:#b42b2b}
@media(max-width:600px){.zp-add-money-btn{padding:7px 10px;font-size:11px;max-width:150px}.zp-add-money-btn small{font-size:7px}.zp-demo-page{margin:8px!important;padding:14px!important}.zp-demo-methods{gap:7px}.zp-demo-method{padding:10px 5px}.zp-demo-method strong{font-size:11px}}

/* Place Add Money precisely to the LEFT of the Trading Wallet (green-circle area). */
.zp-welcome-right{position:relative}
.zp-welcome-right>.zp-add-money-btn{position:absolute;right:calc(100% + 8px);bottom:0;z-index:2;max-width:130px}
@media(max-width:380px){.zp-welcome-right>.zp-add-money-btn{right:calc(100% + 4px);padding:6px 7px;font-size:10px;max-width:112px}}

/* Compact add-points page: hide duplicated header/welcome only here */
body.zp-add-page-active .topbar,body.zp-add-page-active #appView > .welcome{display:none!important}
body.zp-add-page-active .zp-demo-top{margin-bottom:10px}
body.zp-add-page-active .zp-demo-page{padding-top:16px}
body.zp-add-page-active .zp-brief-note{font-size:12px;color:#665779;margin:4px 0 16px}
body.zp-add-page-active .zp-demo-hint{margin:12px 0 8px}
body.zp-add-page-active .zp-demo-fields .field small{display:none}
body.zp-add-page-active #demoAddAvailability{font-size:12px}

/* Requested Activity cleanup: retain welcome on other pages */
body:has(#activityView:not(.hidden)) #appView > .welcome{display:none!important}

/* Selected plan tone is shared by its trade dialog */
#minuteInvestModal .zp-invest-dialog{border:2px solid var(--tone,#23bdfd);background:radial-gradient(ellipse at 50% 0%,var(--glow,rgba(0,177,255,.22)),transparent 70%),linear-gradient(155deg,#142844,#09182e);box-shadow:0 24px 80px #0009,0 0 26px var(--glow,rgba(0,177,255,.22))}
#minuteInvestModal .zp-invest-eyebrow,#minuteInvestModal .zp-invest-plan-name{color:var(--tone,#23bdfd)}
#minuteInvestModal .zp-invest-dialog form button{background:var(--tone,#23bdfd);color:#09182e}
#minuteInvestModal .zp-invest-dialog input:focus{outline:2px solid var(--tone,#23bdfd);outline-offset:2px}

/* Nov 17: remove repeated welcome card on Settings / Change password screen. */
body:has(#securityView:not(.hidden)) #appView > .welcome{display:none!important}

/* Make PROFIT legible in the floating mobile navigation without clipping. */
@media(max-width:760px){
 #appView > .mobile-quickbar .quick-profit{
   flex:0 0 72px!important;width:72px!important;height:72px!important;
   min-width:72px!important;margin-top:-23px!important;
   padding:6px 1px!important;gap:0!important;
   overflow:visible!important;line-height:1!important;
 }
 #appView > .mobile-quickbar .quick-profit small{
   display:block!important;font-size:13px!important;font-weight:900!important;
   line-height:1.1!important;letter-spacing:-.3px!important;
   white-space:nowrap!important;overflow:visible!important;
 }
}

/* Support page: remove duplicate purple welcome card only on support. */
body:has(#supportView:not(.hidden)) #appView > .welcome{display:none!important}

/* SuperProfile external payment link */
.zp-payment-link-panel{padding:16px;border:1px solid #d7e2ed;border-radius:14px;background:#f6faff;margin:12px 0 18px;color:#203044}
.zp-payment-link-panel strong{font-size:16px}
.zp-payment-link-panel p{font-size:13px;line-height:1.5;margin:8px 0 14px;color:#4d6174}
.zp-payment-link-button{display:flex;align-items:center;justify-content:center;text-decoration:none;min-height:44px}

/* Compact 3-column payment selection */
.zp-demo-methods{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.zp-demo-method{padding:10px 3px;min-width:0}
.zp-demo-method strong{font-size:clamp(10px,2.7vw,13px);text-align:center;overflow-wrap:anywhere}
.zp-demo-method small{font-size:10px}

/* Bank form and compact transfer layout */
.bank-panel{margin:16px 0 22px;padding:16px;border:1px solid #e7d9f5;border-radius:18px;background:#faf7ff}.bank-panel h3{margin-top:0}.bank-panel .field{margin:10px 0}.bank-panel .stack{gap:4px}.bank-panel .muted{overflow-wrap:anywhere}

/* Mobile modal responsiveness: reduce expensive full-screen blur and prevent layout jank. */
#minuteInvestModal{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#minuteInvestModal .zp-invest-dialog{max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;transform:translateZ(0)}
@media(max-width:760px){#minuteInvestModal{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(8,5,26,.82)}#minuteInvestModal .zp-invest-dialog{box-shadow:0 12px 36px rgba(0,0,0,.48);padding-bottom:max(18px,env(safe-area-inset-bottom))}}

/* Published plan results, beside the duration on each card. */
.zp-premium-plan .zp-plan-duration{grid-column:2;grid-row:3;justify-self:start;align-self:center}
.zp-premium-plan .zp-plan-last-result{grid-column:2;grid-row:3;justify-self:end;display:flex;flex-direction:column;align-items:center;line-height:1.15;color:#dce5f3;font-variant-numeric:tabular-nums;margin-left:5px}
.zp-plan-last-result b{font-size:13px;font-weight:800;white-space:nowrap}.zp-plan-last-result small{font-size:8px;white-space:nowrap;color:#dce5f3}.zp-plan-last-result.positive b{color:#39ed87}.zp-plan-last-result.negative b{color:#ff7676}
@media(max-width:420px){.zp-premium-plan .zp-plan-last-result{grid-row:4;justify-self:end}.zp-premium-plan .zp-plan-duration{grid-row:3}.zp-premium-plan .zp-plan-last-result b{font-size:12px}}

.zp-demo-chart-link{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #52c7ff;border-radius:10px;padding:8px 12px;color:#fff!important;background:#193752;text-decoration:none;font-size:13px;font-weight:700;flex-shrink:0}
