:root{--pa-navy:#102c51;--pa-blue:#456ed5;--pa-lavender:#8d79da;--pa-text:#243650;--pa-sub:#69778d;--pa-border:#e3e8f2;--pa-surface:#f8faff}
html{scroll-behavior:smooth;scroll-padding-top:22px}
.shell-partner-app{max-width:1232px;padding:24px 28px 50px}
.shell-partner-app .top{margin-bottom:20px}
.shell-partner-app .top nav{gap:22px}
.partner-app{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--pa-text)}
.partner-app *{box-sizing:border-box}
.partner-app h1,.partner-app h2,.partner-app h3,.partner-app p{margin-top:0}
.partner-app h2{color:var(--pa-navy);font-size:clamp(27px,3vw,37px);letter-spacing:-.045em;line-height:1.17;margin-bottom:12px}
.partner-app p{line-height:1.75}
.pa-overline{display:flex;align-items:center;gap:9px;color:#64738e;font-size:10px;letter-spacing:.13em;font-weight:800;margin:12px 0 16px}
.pa-overline-right{margin-left:auto;color:#8b94a6}
.pa-live-dot{width:7px;height:7px;border-radius:50%;background:#83cbb0;box-shadow:0 0 0 4px #e4f5ed}
.pa-hero{background:linear-gradient(130deg,#f7f8ff 0%,#f0efff 56%,#e7e5fc 100%);border:1px solid #e4e3f7;border-radius:31px;min-height:500px;padding:54px 54px 46px;display:grid;grid-template-columns:1.04fr .96fr;gap:46px;align-items:center;position:relative;overflow:hidden}
.pa-hero:before{content:"";position:absolute;width:490px;height:490px;border-radius:50%;right:-170px;top:-280px;background:#d8d2fc66}
.pa-hero-copy,.pa-hero-visual{position:relative;z-index:1}
.pa-pill{display:inline-flex;gap:9px;align-items:center;background:#fff9;color:#5265a6;border:1px solid #e8e2fc;padding:7px 13px;border-radius:30px;font-size:11px;font-weight:850;letter-spacing:.13em}
.pa-mini-star{color:#927ce1;font-size:16px}
.pa-hero h1{font-size:clamp(37px,4.25vw,62px);color:#102b54;line-height:1.1;letter-spacing:-.06em;margin:23px 0}
.pa-hero h1 em{font-style:normal;color:#8573d4}
.pa-hero-copy>p{font-size:15px;color:#5e6c89;max-width:530px;margin-bottom:22px}
.pa-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.pa-button{display:inline-flex;align-items:center;justify-content:center;gap:15px;text-decoration:none!important;padding:13px 22px;min-height:47px;line-height:1.3;border-radius:13px;font-weight:800;font-size:13px;border:1px solid transparent;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}
.pa-button:hover{transform:translateY(-1px)}
.pa-button-primary{background:#172f5a;color:#fff!important;box-shadow:0 8px 22px #172d5320}
.pa-button-primary:hover{background:#253e71}
.pa-button-light{background:#fff;color:#354d81!important;border-color:#dbe0ee}
.pa-button-outline{background:transparent;border-color:#aebce3;color:#1f3561!important}
.pa-hero-note{margin-top:25px;color:#64718c;font-size:11px;font-weight:650;line-height:1.7}
.pa-check{display:inline-grid;place-items:center;border-radius:50%;background:#d6eee2;color:#1f9a61;width:18px;height:18px;margin-right:5px;font-weight:900}
.pa-dotsep{margin:0 7px}
.pa-hero-visual{background:#ffffffd6;border:1px solid #f0ebff;box-shadow:0 26px 60px #4e4f9b19;border-radius:24px;padding:24px;transform:rotate(1.5deg);max-width:420px;margin:0 auto;width:100%;backdrop-filter:blur(12px)}
.pa-visual-header{display:flex;align-items:center;gap:12px;padding-bottom:19px;border-bottom:1px solid #eaeef7;color:#283f68;font-weight:900;font-size:12px;line-height:1.2}
.pa-visual-header small{display:block;letter-spacing:.16em;font-size:8px;margin-top:4px;color:#8593a8}
.pa-visual-logo{display:grid;place-items:center;width:36px;height:36px;background:#102b54;color:white;border-radius:11px;font-size:21px}
.pa-visual-badge{margin-left:auto;color:#4e9476;background:#e8f7ee;border-radius:999px;padding:5px 9px;font-size:10px}
.pa-visual-route{padding:18px 0 6px;position:relative}
.pa-route-line{position:absolute;left:20px;top:30px;bottom:38px;width:2px;background:#d9e3f8}
.pa-route-node{display:flex;align-items:center;gap:13px;margin:8px 0 19px;position:relative}
.pa-route-icon{background:#e8e9fd;border:4px solid white;color:#6869c4;font-size:10px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;font-weight:900}
.pa-route-node b{font-size:10px;letter-spacing:.09em;color:#274168;display:block}
.pa-route-node small{font-size:11px;color:#8996a8}
.pa-route-status{margin-left:auto;font-size:10px;background:#e5f7ee;color:#31845f;padding:5px 9px;border-radius:99px}
.pa-visual-earning{border-radius:16px;padding:18px 21px;background:linear-gradient(115deg,#1b3564,#34528b);color:#d9e2f8}
.pa-visual-earning span{display:block;font-size:10px}
.pa-visual-earning strong{font-size:32px;display:block;color:white;letter-spacing:-.035em}
.pa-visual-earning small{font-size:10px}
.pa-section{padding:78px 0 0}
.pa-section-head{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:28px}
.pa-section-head>div{max-width:620px}
.pa-section-head>p{max-width:330px;color:var(--pa-sub);font-size:13px;margin:0 0 7px}
.pa-kicker{display:block;font-size:10px;color:#716ad5;letter-spacing:.15em;font-weight:900;margin-bottom:11px}
.pa-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pa-benefit{background:#fff;border:1px solid #e4e9f4;border-radius:20px;padding:25px 21px;box-shadow:0 12px 25px #1e3f7906;min-height:210px}
.pa-benefit-symbol{width:40px;height:40px;display:grid;place-items:center;background:#f0efff;border-radius:12px;color:#7a71d2;font-size:12px;font-weight:900;margin-bottom:20px}
.pa-benefit h3{font-size:15px;letter-spacing:-.02em;color:#243d69;margin:0 0 10px}
.pa-benefit p{font-size:12px;color:#718098;line-height:1.75}
.pa-requirements{scroll-margin-top:20px}
.pa-requirement-layout,.pa-commission-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.pa-white-card{background:#fff;border:1px solid var(--pa-border);border-radius:23px;padding:30px;box-shadow:0 10px 25px #1e3f7905}
.pa-white-card h3,.pa-calc-card h3,.pa-payout-card h3{font-size:21px;letter-spacing:-.035em;color:#20395e;margin:0 0 22px}
.pa-persona{display:flex;align-items:flex-start;gap:15px;padding:15px 0;border-bottom:1px solid #edf0f7}
.pa-persona:last-child{border-bottom:none}
.pa-persona>span{background:#f1f4ff;color:#6c7dd3;font-size:12px;font-weight:900;display:grid;place-items:center;width:38px;height:38px;min-width:38px;border-radius:12px}
.pa-persona b{display:block;font-size:13px;color:#31476b;margin-bottom:5px}
.pa-persona small{color:#7e8a9e;font-size:12px;display:block;line-height:1.6}
.pa-check-card{background:linear-gradient(165deg,#f8f7ff,#fff)}
.pa-check-heading{display:flex;justify-content:space-between;gap:18px;align-items:center}
.pa-check-heading h3{margin-bottom:9px}
.pa-check-count{background:#e8e8fb;color:#6464b0;font-size:13px;font-weight:900;padding:8px 12px;border-radius:12px;white-space:nowrap}
.pa-muted-small{font-size:12px;color:#7c869e;margin-bottom:17px}
.pa-checklist{display:grid;gap:10px}
.pa-checklist label{display:flex;gap:12px;align-items:flex-start;background:white;border:1px solid #e6e9f4;border-radius:13px;padding:12px 13px;font-size:12px;line-height:1.65;color:#53647d;cursor:pointer}
.pa-checklist label:has(input:checked){background:#f1f8f5;border-color:#bfe0cf}
.pa-checklist input{width:17px;height:17px;min-width:17px;margin-top:2px;accent-color:#357e68;cursor:pointer}
.pa-progress-track{height:7px;border-radius:999px;background:#e8eaf4;overflow:hidden;margin-top:21px}
.pa-progress-track span{display:block;background:linear-gradient(90deg,#7b78d9,#4b9c89);height:100%;border-radius:inherit;transition:width .25s}
.pa-check-feedback{font-size:12px;color:#65748e;margin:11px 0 17px}
.pa-full{width:100%}
.pa-rule-callout{border:1px solid #e8decb;background:#fffcf7;display:flex;gap:13px;padding:16px 18px;border-radius:15px;margin-top:17px;color:#806944}
.pa-rule-callout p{margin:0;font-size:12px;line-height:1.65}
.pa-rule-icon{width:25px;height:25px;min-width:25px;display:grid;place-items:center;border-radius:50%;background:#f8edda;font-weight:900}
.pa-steps-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:18px}
.pa-step-list{display:grid;gap:10px}
.pa-step{font:inherit;text-align:left;border:1px solid #e3e9f3;display:flex;align-items:center;gap:15px;padding:16px;background:#fff;border-radius:14px;cursor:pointer;transition:.2s;color:#425570}
.pa-step>span:first-child{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eef0fd;color:#7674d2;font-size:11px;font-weight:900}
.pa-step b{font-size:13px}
.pa-step-arrow{margin-left:auto;color:#9aa5b7}
.pa-step:hover{border-color:#a5b4ec}
.pa-step.active{background:#20365d;color:#fff;border-color:#20365d;box-shadow:0 12px 28px #21365d28}
.pa-step.active>span:first-child{background:#fff2;color:white}
.pa-step.active .pa-step-arrow{color:#fff}
.pa-step-detail{background:linear-gradient(150deg,#eff1ff,#f7f7ff);border:1px solid #e4e5fa;border-radius:22px;padding:29px;display:flex;flex-direction:column;min-height:440px}
.pa-step-detail-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.12em;color:#6f73ba;font-weight:900}
.pa-step-badge{font-size:9px;padding:7px 10px;border-radius:99px;background:white;color:#7f79ca}
.pa-step-detail-illustration{height:130px;display:flex;align-items:center;justify-content:center;gap:25px;overflow:hidden}
.pa-step-detail-illustration>span{font-size:110px;line-height:1;font-weight:900;color:#d7daf6;letter-spacing:-.11em}
.pa-illustration-lines{display:grid;gap:12px}
.pa-illustration-lines span{width:100px;background:#d9def5;height:11px;border-radius:99px}
.pa-illustration-lines span:nth-child(2){width:72px}
.pa-illustration-lines span:nth-child(3){width:92px}
.pa-step-detail h3{font-size:25px;letter-spacing:-.035em;color:#243b66;margin:0 0 9px}
.pa-step-detail>p{font-size:13px;color:#667693;line-height:1.8}
.pa-step-info{border:1px solid #e1e6f5;background:#ffffffa8;border-radius:12px;padding:14px 16px;display:grid;gap:5px;margin-bottom:22px}
.pa-step-info b{font-size:11px;color:#38527c}
.pa-step-info span{font-size:12px;color:#7b89a1}
.pa-step-controls{margin-top:auto;display:flex;justify-content:space-between;gap:8px}
.pa-step-controls button:disabled{opacity:.45;cursor:not-allowed;transform:none}
.pa-commission-layout{align-items:stretch}
.pa-calc-card{background:linear-gradient(145deg,#243c6b,#182e55);padding:31px;border-radius:23px;color:#f1f4ff}
.pa-calc-card h3{color:#fff;margin:18px 0}
.pa-calc-top{display:flex;justify-content:space-between;align-items:center;letter-spacing:.12em;font-size:10px;font-weight:900;color:#9eb3df}
.pa-calc-icon{background:#ffffff17;padding:9px 14px;border-radius:12px;font-size:16px;color:#e6e3ff}
.pa-calc-card label{font-size:12px;color:#b6c5e2;display:block;max-width:300px}
.pa-quantity{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 14px}
.pa-quantity button{width:40px;height:40px;border:1px solid #7181a5;background:#ffffff14;border-radius:12px;color:white;font-size:24px;cursor:pointer}
.pa-quantity output{font-size:18px;font-weight:850}
.pa-calc-card input[type=range]{width:100%;accent-color:#9b8ef3;cursor:pointer}
.pa-calc-result{border-top:1px solid #ffffff30;margin-top:25px;padding-top:22px;display:grid;gap:7px}
.pa-calc-result small{font-size:11px;color:#bbc6df}
.pa-calc-result strong{font-size:clamp(33px,4vw,48px);letter-spacing:-.05em;color:#fff}
.pa-calc-result span{color:#b4c3e1;font-size:12px}
.pa-calc-disclaimer{color:#9eafd2;line-height:1.6;font-size:11px;margin-top:23px!important;margin-bottom:0}
.pa-payout-card{border:1px solid #e2e8f3;padding:30px;border-radius:23px;background:#fff}
.pa-payout-step{display:flex;gap:14px;align-items:flex-start;position:relative;margin-bottom:20px}
.pa-payout-step>span{display:grid;place-items:center;width:34px;height:34px;min-width:34px;background:#edf1fb;border-radius:10px;font-size:12px;font-weight:900;color:#7582ce}
.pa-payout-step b{color:#2c4163;font-size:13px}
.pa-payout-step p{margin:4px 0 0;color:#7a88a0;font-size:12px}
.pa-payout-note{background:#f4f6fe;border:1px solid #e5e8f4;padding:15px;border-radius:13px;color:#5f7095;font-size:12px;line-height:1.7}
.pa-faq-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.pa-faq-list details{border:1px solid #e5eaf2;border-radius:14px;background:white;padding:0 18px}
.pa-faq-list summary{cursor:pointer;list-style:none;padding:19px 0;font-weight:750;color:#314766;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.pa-faq-list summary::-webkit-details-marker{display:none}
.pa-faq-list summary span{font-size:20px;color:#8c91b7;transition:transform .2s}
.pa-faq-list details[open] summary span{transform:rotate(45deg)}
.pa-faq-list details[open]{border-color:#cdd2ec}
.pa-faq-list details p{font-size:12px;line-height:1.8;color:#6f7f99;padding:0 0 18px;margin:0}
.pa-final-cta{margin:82px 0 0;border-radius:26px;background:linear-gradient(115deg,#e9ecfc,#dfe7f8);padding:38px 43px;display:flex;justify-content:space-between;align-items:center;gap:35px}
.pa-final-cta>div:first-child{max-width:610px}
.pa-final-cta h2{font-size:clamp(27px,3vw,38px);margin-bottom:12px}
.pa-final-cta p{font-size:13px;color:#687993;margin-bottom:0}
.pa-final-buttons{display:grid;gap:10px;min-width:235px}
.pa-help{display:flex;justify-content:center;gap:12px;padding:24px;color:#7a87a2;font-size:12px}
.pa-help a{font-weight:800}
.pa-bottom-nav{display:none}
.pa-install-button{position:fixed;right:18px;bottom:18px;background:#18345f;color:white;padding:12px 16px;border-radius:14px;border:0;box-shadow:0 8px 24px #172f5a3d;z-index:20;font-weight:800;cursor:pointer;font-size:12px}
.pa-install-button[hidden]{display:none}
@media(max-width:960px){.pa-hero{padding:36px;gap:20px}.pa-hero h1{font-size:42px}.pa-hero-visual{max-width:345px}.pa-benefit-grid{grid-template-columns:repeat(2,1fr)}.pa-section{padding-top:60px}.pa-final-cta{align-items:flex-start;flex-direction:column}.pa-final-buttons{display:flex;flex-wrap:wrap}}
@media(max-width:720px){html{scroll-padding-top:16px}.shell-partner-app{padding:12px 14px 100px}.shell-partner-app .top{margin:3px 2px 13px}.shell-partner-app .top nav{display:none}.shell-partner-app .brand{font-size:16px}.shell-partner-app .brand .mark{width:34px;height:34px;font-size:19px}.pa-overline{font-size:9px;margin:15px 3px}.pa-overline-right{display:none}.pa-hero{padding:27px 23px 25px;border-radius:24px;grid-template-columns:1fr;min-height:0;gap:26px}.pa-hero h1{font-size:clamp(37px,9vw,49px);margin:18px 0}.pa-hero-copy>p{font-size:13px;line-height:1.8}.pa-hero-actions .pa-button{flex:1;padding:13px 12px;white-space:nowrap}.pa-hero-note{font-size:10px;margin-top:18px}.pa-hero-visual{max-width:100%;padding:17px 18px;transform:rotate(0);border-radius:19px}.pa-visual-route{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;padding:17px 0 9px}.pa-route-line{top:38px;bottom:auto;left:20px;right:20px;width:auto;height:2px}.pa-route-node{flex-direction:column;text-align:center;margin:0;gap:5px}.pa-route-node b{font-size:9px}.pa-route-node small{font-size:9px;line-height:1.4}.pa-route-status{display:none}.pa-visual-earning{padding:15px}.pa-visual-earning strong{font-size:28px}.pa-section{padding-top:54px}.pa-section-head{display:block;margin-bottom:20px}.pa-section-head>p{margin-top:9px;max-width:none}.pa-section-head h2{font-size:29px}.pa-benefit-grid{grid-template-columns:1fr 1fr;gap:10px}.pa-benefit{padding:17px 14px;min-height:205px;border-radius:16px}.pa-benefit-symbol{margin-bottom:14px}.pa-benefit h3{font-size:13px}.pa-benefit p{font-size:11px}.pa-requirement-layout,.pa-commission-layout,.pa-steps-layout,.pa-faq-list{grid-template-columns:1fr}.pa-white-card,.pa-calc-card,.pa-payout-card{padding:23px;border-radius:19px}.pa-step-list{grid-template-columns:1fr 1fr;gap:8px}.pa-step{padding:12px 10px;gap:9px}.pa-step b{font-size:11px}.pa-step-arrow{display:none}.pa-step>span:first-child{width:28px;height:28px;min-width:28px}.pa-step-detail{min-height:390px;padding:23px}.pa-step-detail-illustration{height:98px}.pa-step-detail-illustration>span{font-size:82px}.pa-step-detail h3{font-size:23px}.pa-step-controls .pa-button{padding:11px 13px;font-size:12px}.pa-final-cta{margin-top:55px;padding:27px 22px;gap:21px;border-radius:20px}.pa-final-buttons{display:grid;width:100%}.pa-final-cta h2{font-size:30px}.pa-help{flex-direction:column;align-items:center;gap:4px}.shell-partner-app .footer{padding-bottom:30px}.pa-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);align-items:center;position:fixed;left:0;right:0;bottom:0;bottom:env(safe-area-inset-bottom,0);background:#fffd;backdrop-filter:blur(18px);border-top:1px solid #e5eaf4;box-shadow:0 -8px 25px #1d345a10;padding:9px 7px 12px;z-index:15}.pa-bottom-nav a{display:grid;place-items:center;gap:0;color:#8a96aa;text-decoration:none!important;padding:2px 0}.pa-bottom-nav a.active{color:#375eab}.pa-bottom-icon{font-weight:900;font-size:22px;line-height:1.4;height:29px}.pa-bottom-nav small{font-size:10px;font-weight:750}.pa-nav-signup .pa-bottom-icon{display:grid;place-items:center;width:32px;height:29px;border-radius:10px;background:#19345f;color:white;font-size:18px}.pa-install-button{bottom:83px;right:14px}.partner-app .pa-faq-list details{padding:0 16px}}
@media(max-width:380px){.pa-hero-actions{display:grid}.pa-benefit-grid{grid-template-columns:1fr}.pa-benefit{min-height:unset}.pa-step-list{grid-template-columns:1fr}.pa-step{padding:10px 12px}.pa-hero h1{font-size:37px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Connected dashboard guide: keep the existing referral, payment and payout handlers unchanged. */
.pa-dashboard-guide{display:flex;align-items:center;gap:15px;background:linear-gradient(110deg,#f2f4ff,#f8f7ff);border:1px solid #e2e6f6;border-radius:17px;padding:17px 19px;margin:22px 0}.pa-guide-square{flex:0 0 39px;width:39px;height:39px;border-radius:12px;background:#e4e7fb;color:#6e6ac2;display:grid;place-items:center;font-weight:900;font-size:20px}.pa-dashboard-guide>div{flex:1}.pa-dashboard-guide strong{color:#2d416c;font-size:13px}.pa-dashboard-guide p{font-size:12px;line-height:1.6;color:#7786a1;margin:4px 0 0}.pa-dashboard-guide .pa-button{font-size:12px;white-space:nowrap}@media(max-width:720px){.pa-dashboard-guide{align-items:flex-start;flex-wrap:wrap}.pa-dashboard-guide .pa-button{width:100%}}

/* Authenticated mobile app shell, with no alteration to account/finance logic. */
.pa-account-nav{display:none}
.pa-account-shell .panel.wide{border-radius:22px}
@media(max-width:720px){
 .pa-account-shell{padding-bottom:106px}
 .pa-account-shell .top{margin-bottom:15px}
 .pa-account-shell .top nav{display:none}
 .pa-account-shell .top .brand{font-size:16px}
 .pa-account-shell .top .mark{width:36px;height:36px}
 .pa-account-shell .panel.wide{padding:19px;border-radius:19px;margin:13px 0}
 .pa-account-shell .panel.wide h1{font-size:27px;line-height:1.2}
 .pa-account-nav{display:grid;position:fixed;bottom:0;left:0;right:0;grid-template-columns:repeat(5,1fr);background:#fffefeea;backdrop-filter:blur(18px);border-top:1px solid #e5eaf4;box-shadow:0 -8px 25px #1d345a10;z-index:18;padding:9px 7px calc(11px + env(safe-area-inset-bottom,0px))}
 .pa-account-nav a{display:grid;place-items:center;text-decoration:none!important;color:#8a96aa;padding:1px 0;gap:0}
 .pa-account-nav a.active{color:#365da9}
 .pa-account-icon{font-size:21px;font-weight:900;height:29px;line-height:1.4}
 .pa-account-nav a small{font-size:10px;font-weight:800}
 .pa-bottom-nav{bottom:0;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
}

/* 21 November 2026 — mobile-first pastel-glass app, inspired by supplied reference */
body:has(.shell-partner-app),body:has(.pa-account-shell){background:radial-gradient(ellipse at 25% 0%,#e7ebff 0%,transparent 35%),radial-gradient(ellipse at 95% 28%,#efe6ff 0%,transparent 38%),#f7f9ff;color:#24385f}
.shell-partner-app .top,.pa-account-shell .top{background:#ffffffad;border:1px solid #fff;box-shadow:0 12px 30px #7785bf0c;padding:12px 16px;border-radius:19px}
.shell-partner-app .top .mark,.pa-account-shell .top .mark{background:linear-gradient(130deg,#5477e5,#8e7bea);box-shadow:0 6px 17px #6276ce34}
.shell-partner-app .brand,.pa-account-shell .brand{letter-spacing:-.025em}
.partner-app .pa-hero{border-color:#ebedfc;background:linear-gradient(135deg,#f7f9ff 5%,#e9edff 68%,#e7e3fe 100%);border-radius:32px;box-shadow:0 22px 65px #7883bb15}
.partner-app .pa-hero h1{color:#202f4e}
.partner-app .pa-hero h1 em{color:#7976ea}
.partner-app .pa-pill{box-shadow:0 8px 18px #786ddb0c}
.partner-app .pa-button-primary{background:linear-gradient(110deg,#536fe3,#8d7bee);box-shadow:0 10px 22px #6f70d63a}
.partner-app .pa-button-primary:hover{background:linear-gradient(110deg,#4a63d0,#7866d8)}
.partner-app .pa-button-light{background:#ffffffc7;box-shadow:0 8px 21px #7887c215}
.partner-app .pa-benefit,.partner-app .pa-white-card,.partner-app .pa-payout-card,.partner-app .pa-faq-list details,.partner-app .pa-step:not(.active){box-shadow:0 9px 28px #6575ba0d;border-color:#e7eafa}
.partner-app .pa-benefit{border-radius:24px}
.partner-app .pa-step.active{background:linear-gradient(120deg,#6178e7,#8b7cec);box-shadow:0 10px 24px #7881dc35;border-color:#8b87ec}
.partner-app .pa-calc-card{background:linear-gradient(142deg,#5d71df,#8a78e9);box-shadow:0 20px 37px #6376cb25}
.partner-app .pa-final-cta{background:linear-gradient(110deg,#e9edff,#e3e1ff)}
/* A working in-page preview, not fake account metrics. */
.pa-mobile-preview{width:100%;max-width:415px;padding:24px 23px 22px;border:1px solid #ffffffdb;border-radius:34px;background:linear-gradient(135deg,#f9faffed,#f0f2fffa);box-shadow:0 26px 75px #6577ba2c;position:relative;z-index:2;justify-self:center}
.pa-preview-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.pa-preview-kicker{font-size:12px;color:#8691ab;font-weight:650;letter-spacing:-.01em}
.pa-preview-tools{display:flex;gap:8px;color:#48608f;font-size:21px}
.pa-preview-tools span{width:32px;height:32px;border-radius:50%;background:#ffffffd7;display:grid;place-items:center;box-shadow:0 5px 14px #6979ac18}
.pa-preview-greeting{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:7px 0 20px}
.pa-preview-greeting h2{font-size:clamp(21px,2.4vw,27px);margin:0 0 7px;color:#243350;letter-spacing:-.045em}
.pa-preview-greeting h2 span{font-size:22px;letter-spacing:0}
.pa-preview-greeting p{font-size:12px;line-height:1.55;color:#8291aa;margin:0}
.pa-preview-greeting img{width:105px;height:105px;object-fit:contain;filter:drop-shadow(0 7px 17px #766ee72d)}
.pa-preview-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}
.pa-preview-stats>div{background:#ffffffbf;border:1px solid #ffffff;box-shadow:0 10px 20px #5569a80b;border-radius:21px;min-height:116px;padding:14px 8px 10px}
.pa-preview-stats b{display:block;margin:8px 0 2px;color:#2b3854;font-size:15px;letter-spacing:-.03em}
.pa-preview-stats small{display:block;color:#9aa4b7;font-size:9px;line-height:1.45}
.pa-preview-stat-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:11px;font-size:10px;font-weight:900;color:#fff;box-shadow:0 6px 13px #7476d92f}
.pa-preview-stat-icon.purple{background:linear-gradient(135deg,#9e87ed,#b59afa)}
.pa-preview-stat-icon.blue{background:linear-gradient(135deg,#5683e8,#86b9ff)}
.pa-preview-stat-icon.pink{background:linear-gradient(135deg,#ee98a6,#f9bbc4)}
.pa-preview-goal{background:linear-gradient(123deg,#5c76e9 0%,#7179ed 52%,#9a70e7 100%);border-radius:22px;box-shadow:0 13px 23px #6476e54f;padding:19px 20px 16px;position:relative;overflow:hidden;color:#fff}
.pa-preview-goal:after{content:'';position:absolute;width:150px;height:140px;border:1px solid #ffffff45;transform:rotate(-23deg);border-radius:39px;right:-52px;top:15px;pointer-events:none}
.pa-preview-goal-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#e1e7ff}
.pa-preview-arrow{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#6177da;font-size:19px}
.pa-preview-goal h3{font-size:23px;letter-spacing:-.04em;margin:6px 0 2px;color:#fff}
.pa-preview-goal p{font-size:11px;margin:0 0 15px;color:#ebedff}
.pa-preview-progress{height:9px;border-radius:999px;background:#ffffff40;overflow:hidden}
.pa-preview-progress i{display:block;width:33.333%;height:100%;border-radius:inherit;background:#fff}
.pa-preview-goal>small{display:block;color:#e5e7ff;margin-top:8px;font-size:9px;letter-spacing:.03em}
.pa-preview-task-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0 10px}
.pa-preview-task-head h3{font-size:17px;color:#283655;letter-spacing:-.04em;margin:0}
.pa-preview-task-head a{font-size:10px;color:#8590aa;text-decoration:none}
.pa-preview-task{display:flex;align-items:center;gap:11px;background:#ffffffcf;border:1px solid #fff;border-radius:17px;padding:11px 12px;min-height:60px;box-shadow:0 8px 20px #6d7ab312;margin-bottom:8px}
.pa-preview-check{display:grid;place-items:center;width:29px;height:29px;border:1.6px solid #b5bfd9;border-radius:50%;font-size:17px;color:#b5bfd9;min-width:29px;line-height:1}
.pa-preview-check.done{background:#6d73eb;color:white;border-color:#6d73eb;font-weight:900;font-size:12px}
.pa-preview-task>div{flex:1;min-width:0}
.pa-preview-task b{display:block;color:#344461;font-size:11px;line-height:1.45}
.pa-preview-task small{display:block;color:#98a1b3;font-size:10px;line-height:1.5}
.pa-preview-menu{color:#8e97b0;font-size:23px;line-height:1}
.pa-preview-install{width:100%;border:1px solid #dedff9;border-radius:13px;padding:11px;margin-top:7px;background:#ffffffcb;color:#7471d4;font-size:11px;font-weight:850;cursor:pointer}
/* Account: original backend totals remain source-of-truth. */
.pa-dashboard-shell{max-width:none!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
.pa-welcome-card{background:linear-gradient(132deg,#fbfcff 0%,#e9edff 76%,#e9e5ff 100%);box-shadow:0 18px 45px #7386be19;border:1px solid #eef0ff;border-radius:29px;padding:24px 26px 18px}
.pa-welcome-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.pa-welcome-label{font-size:10px;color:#787ab3;letter-spacing:.13em;font-weight:900}
.pa-welcome-bell{position:relative;background:#fff;border-radius:50%;color:#777bd3;box-shadow:0 5px 19px #8997c51c;width:35px;height:35px;display:grid;place-items:center;font-size:23px;text-decoration:none}
.pa-welcome-bell i{position:absolute;top:-5px;right:-5px;border-radius:99px;background:#f48b9a;color:#fff;padding:0 4px;font-size:10px;font-style:normal}
.pa-welcome-person{display:flex;align-items:center;justify-content:space-between;gap:15px}
.pa-welcome-greeting{font-size:13px;color:#8692ae;margin:10px 0 3px}
.pa-welcome-person h1{font-size:clamp(26px,3.7vw,40px);line-height:1.18;color:#25334d;letter-spacing:-.05em;margin:0 0 9px}
.pa-welcome-person h1 span{font-size:.78em}
.pa-welcome-helper{font-size:12px;color:#8390a8;margin:0 0 10px}
.pa-welcome-person img{width:125px;height:125px;object-fit:contain}
.pa-welcome-mini{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #ffffffb0;margin-top:5px;padding-top:13px}
.pa-welcome-mini>span:last-child{letter-spacing:.1em;font-weight:900;color:#9299bd;font-size:9px}
.pa-mission-card{margin:18px 0 19px;background:linear-gradient(111deg,#6075e5,#9279ea);color:white;border-radius:23px;padding:21px 25px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 14px 32px #6a7bde37}
.pa-mission-card>div{flex:1}
.pa-mission-card .pa-mission-kicker{font-size:10px;letter-spacing:.14em;color:#e0e5ff;font-weight:900}
.pa-mission-card h2{font-size:23px;color:#fff;letter-spacing:-.03em;margin:5px 0}
.pa-mission-card p{font-size:12px;color:#eef0ff;line-height:1.6;margin:0}
.pa-mission-action{background:#fff;color:#7175db;display:grid;place-items:center;border-radius:50%;width:43px;height:43px;min-width:43px;font-size:22px;font-weight:900;text-decoration:none}
.pa-dashboard-shell>.stats{gap:12px}
.pa-dashboard-shell>.stats .stat{border:1px solid #fff;background:linear-gradient(145deg,#fff,#f2f4ff);border-radius:21px;box-shadow:0 9px 23px #6679be12;padding:21px 17px}
.pa-dashboard-shell>.stats .stat strong{color:#2c3c69;font-size:clamp(23px,2.6vw,35px);line-height:1.15;overflow-wrap:anywhere}
.pa-dashboard-shell>.stats .stat small{color:#8a95ae;display:block;margin-top:8px;font-size:11px}
.pa-dashboard-shell>h2{font-size:20px!important;margin:28px 0 12px!important;letter-spacing:-.04em}
.pa-dashboard-shell>.notice{border-radius:17px}
.pa-dashboard-shell>.actions .btn{background:linear-gradient(120deg,#6076e7,#907de9);color:white;border:0;border-radius:15px}
.pa-dashboard-shell>.actions .btn.secondary{color:#6376bc;background:#fff;border:1px solid #e3e6f7}
.pa-dashboard-shell .sharelink{border:1px solid #e3e6f7;border-radius:17px;box-shadow:0 8px 22px #6676b20a;background:#fff}
.pa-dashboard-shell>.tablewrap{border:1px solid #e9edfa;background:white;border-radius:20px;box-shadow:0 9px 24px #6978b710}
.pa-quick-action-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:19px 0 15px}
.pa-quick-action-bar a{background:#fff;border:1px solid #e6e9fa;border-radius:18px;display:grid;place-items:center;gap:6px;padding:13px 9px;color:#56628a;text-decoration:none;box-shadow:0 9px 23px #6679bd10}
.pa-quick-action-bar span{width:38px;height:38px;display:grid;place-items:center;font-size:19px;font-weight:800;background:#f0edff;color:#7772d7;border-radius:14px}
.pa-quick-action-bar b{font-size:11px}
.pa-dashboard-guide{border-color:#e6e5fc;background:linear-gradient(120deg,#fff,#f0efff);border-radius:19px}
.pa-account-shell .stats .stat,.pa-account-shell .card{border-radius:20px}
.pa-account-shell .btn:not(.secondary):not(.ghost){background:linear-gradient(115deg,#5875e6,#927dea)}
.pa-account-shell .panel.wide{max-width:unset;box-shadow:0 15px 35px #5e74aa10}
.pa-account-shell .panel h1,.pa-account-shell .panel h2{letter-spacing:-.035em}
.pa-account-shell .pa-dashboard-shell h1,.pa-account-shell .pa-dashboard-shell h2{color:#2a3659}
.pa-account-shell .pa-dashboard-shell .pa-mission-card h2{color:white}
.pa-account-nav a.pa-nav-center .pa-account-icon{background:linear-gradient(125deg,#6279ed,#8a75ed);color:#fff!important;border-radius:50%;width:45px;height:45px;box-shadow:0 7px 17px #7b78e254;transform:translateY(-12px)}
.pa-account-nav a.pa-nav-center small{margin-top:-10px}
.pa-account-nav .pa-account-icon svg{display:block}
.pa-bottom-modern a:nth-child(3) .pa-bottom-fab{background:linear-gradient(120deg,#6178ee,#9076eb);color:#fff;border-radius:50%;width:46px;height:46px;box-shadow:0 7px 20px #7874df59;display:grid;place-items:center;font-size:28px;font-weight:400;transform:translateY(-12px)}
.pa-bottom-modern a:nth-child(3) small{margin-top:-11px}
@media(max-width:950px){
 .pa-mobile-preview{max-width:370px;padding:18px}
 .pa-preview-greeting img{width:90px;height:90px}
}
@media(max-width:720px){
 .shell-partner-app{padding-top:7px}
 .shell-partner-app .top,.pa-account-shell .top{border-radius:15px;padding:10px 12px}
 .partner-app .pa-hero{border-radius:28px;background:linear-gradient(138deg,#f4f6ff,#e8eaff);padding:26px 21px 22px;gap:23px}
 .partner-app .pa-hero h1{font-size:39px;letter-spacing:-.06em}
 .partner-app .pa-hero h1 em{color:#7771e0}
 .pa-mobile-preview{max-width:410px;border-radius:29px;padding:21px 20px 18px}
 .pa-preview-greeting img{width:92px;height:92px}
 .pa-preview-greeting h2{font-size:23px}
 .pa-preview-stats>div{min-height:103px;padding:12px 8px}
 .pa-preview-goal{border-radius:19px;padding:17px 18px}
 .pa-preview-task{border-radius:15px}
 .partner-app .pa-section-head h2{font-size:28px}
 .partner-app .pa-benefit{border-radius:19px}
 .pa-welcome-card{padding:20px 18px 16px;border-radius:24px}
 .pa-welcome-person img{width:95px;height:95px}
 .pa-welcome-person h1{font-size:28px}
 .pa-welcome-helper{font-size:11px}
 .pa-mission-card{padding:18px;border-radius:21px}
 .pa-mission-card h2{font-size:20px}
 .pa-mission-card p{font-size:11px}
 .pa-dashboard-shell .stats{grid-template-columns:repeat(2,1fr)}
 .pa-dashboard-shell .stats .stat{padding:16px 14px;border-radius:19px}
 .pa-dashboard-shell .stats .stat strong{font-size:25px}
 .pa-quick-action-bar{gap:8px;margin:16px 0 12px}
 .pa-quick-action-bar a{padding:10px 5px;border-radius:16px}
 .pa-quick-action-bar span{width:35px;height:35px}
 .pa-quick-action-bar b{font-size:9px}
 .pa-account-nav{padding-bottom:calc(7px + env(safe-area-inset-bottom,0px))}
 .pa-account-icon{height:37px}
 .pa-account-nav a.pa-nav-center .pa-account-icon{width:47px;height:47px}
 .pa-account-nav a small{font-size:10px}
}
@media(max-width:365px){
 .pa-preview-stats{gap:5px}
 .pa-preview-stats>div{padding:11px 6px}
 .pa-preview-stats b{font-size:12px}
 .pa-preview-greeting img{width:81px;height:81px}
 .pa-welcome-person img{width:70px;height:70px}
 .pa-quick-action-bar a{border-radius:12px}
}

/* Registration & login now share the installed-app visual language. */
body:has(.pa-auth-shell){background:radial-gradient(ellipse at 15% 8%,#e6e9ff 0%,transparent 37%),radial-gradient(ellipse at 90% 32%,#efe8ff 0%,transparent 35%),#f8faff}
.pa-auth-shell{max-width:960px}
.pa-auth-shell .top{background:#ffffffb9;border:1px solid #fff;box-shadow:0 12px 28px #6d7eb014;border-radius:20px;padding:13px 18px}
.pa-auth-shell .top .mark{background:linear-gradient(125deg,#5e77e6,#9279ea)}
.pa-auth-shell .panel{box-shadow:0 20px 48px #7281be19;border:1px solid #fff;border-radius:29px;background:linear-gradient(145deg,#fff,#f6f7ff);padding:32px;max-width:770px}
.pa-auth-shell .panel[style*="470px"]{max-width:480px!important}
.pa-auth-shell .panel h2{font-size:29px;letter-spacing:-.04em;margin:10px 0 14px}
.pa-auth-shell .panel .lead{font-size:13px}
.pa-auth-shell .eyebrow{color:#8c7ee3}
.pa-auth-shell .field{color:#425576}
.pa-auth-shell .field input,.pa-auth-shell .field select{border-radius:13px;border:1px solid #dce2f3;background:#fff;min-height:49px}
.pa-auth-shell .btn{background:linear-gradient(115deg,#5c79e5,#947de9);border-radius:14px;padding:14px}
.pa-auth-shell .check{background:#fff;border:1px solid #e9eaf8;border-radius:13px;padding:13px 14px}
@media(max-width:720px){.pa-auth-shell{padding:13px 14px 100px}.pa-auth-shell .top{border-radius:16px;padding:11px 13px}.pa-auth-shell .top nav{gap:8px}.pa-auth-shell .top nav a{font-size:11px}.pa-auth-shell .panel{margin:19px 0;padding:23px 19px;border-radius:24px}.pa-auth-shell .panel h2{font-size:25px}}

.pa-welcome-tools{display:flex;gap:7px;align-items:center}.pa-welcome-logout{margin:0}.pa-welcome-logout button{border:1px solid #edf0fa;background:#ffffffdd;color:#7d86a2;cursor:pointer;display:grid;place-items:center;width:35px;height:35px;border-radius:50%;font-size:22px;line-height:1}.pa-welcome-logout button:hover{color:#5b66c9;background:#fff}
