/* PerkLoop Studio refinements 3.2
   Design inspiration: clear SaaS onboarding, useful product previews,
   progressive disclosure and decision-focused layouts. Brand colors remain PerkLoop's. */

:root{
  --pl-deep:#092c28;
  --pl-deep-2:#123f35;
  --pl-teal:#138f7d;
  --pl-mint:#b9f577;
  --pl-canvas:#f5f8f9;
  --pl-ink:#11272b;
  --pl-muted:#718387;
  --pl-line:#e4ebe9;
  --pl-card-shadow:0 18px 52px rgba(13,49,45,.075);
}

html{scroll-behavior:smooth;scroll-padding-top:92px}
body{font-family:Inter,"Aptos","Segoe UI",system-ui,sans-serif;font-optical-sizing:auto;text-rendering:optimizeLegibility}

/* Role-aware sign-in and registration */
.auth-shell{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);background:var(--pl-canvas)}
.auth-promo{position:relative;isolation:isolate;overflow:hidden;min-width:0;padding:clamp(30px,5.1vw,76px);background:radial-gradient(ellipse 540px 440px at 90% 9%,rgba(67,145,104,.34),transparent 69%),linear-gradient(145deg,#092c28 0%,#0b3b32 57%,#104b3d 100%)}
.auth-promo:before{content:"";position:absolute;z-index:-1;width:590px;height:590px;right:-270px;bottom:-350px;border:1px solid rgba(185,245,119,.22);border-radius:50%;box-shadow:0 0 0 45px rgba(185,245,119,.035),0 0 0 100px rgba(185,245,119,.025)}
.auth-promo:after{content:"";position:absolute;z-index:-1;inset:0;opacity:.2;pointer-events:none;background-image:radial-gradient(rgba(225,255,231,.28) .7px,transparent .7px);background-size:20px 20px;mask-image:linear-gradient(145deg,black,transparent 66%)}
.auth-promo-inner{position:relative;z-index:1;width:min(100%,520px);max-width:520px}
.auth-promo .brand{color:#fff}
.auth-promo .brandmark{background:var(--pl-mint);color:var(--pl-deep);box-shadow:0 8px 20px rgba(0,0,0,.15)}
.auth-promo .brandmark:before{background:var(--pl-teal)}
.pl-auth-eyebrow{display:flex;align-items:center;gap:9px;margin:clamp(26px,4vw,48px) 0 16px;color:#b9f577;font-size:10px;font-weight:900;letter-spacing:.17em}
.pl-auth-eyebrow>span{width:22px;height:2px;border-radius:3px;background:var(--pl-mint);box-shadow:0 0 13px rgba(185,245,119,.35)}
.pl-auth-promo-title{max-width:510px;margin:0 0 15px;color:#f8fff9;font-size:clamp(35px,4.4vw,57px);font-weight:850;line-height:1.02;letter-spacing:-.067em}
.pl-auth-promo-copy{max-width:440px;margin:0;color:#bfd8cd;font-size:14px;line-height:1.78}
.pl-auth-sample{position:relative;max-width:420px;margin:34px 0 24px;padding:19px 20px 17px;border:1px solid rgba(255,255,255,.8);border-radius:21px;background:linear-gradient(150deg,rgba(255,255,255,.99),rgba(246,252,244,.97));box-shadow:0 25px 65px rgba(0,18,13,.24);color:var(--pl-ink);transform:rotate(-1.2deg);transition:transform .25s ease,box-shadow .25s ease}
.pl-auth-sample:hover{transform:rotate(0) translateY(-3px);box-shadow:0 30px 75px rgba(0,18,13,.28)}
.pl-auth-sample-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.pl-auth-sample-brand{display:flex;align-items:center;gap:10px;min-width:0}
.pl-auth-sample-brand>b{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:var(--pl-deep);color:var(--pl-mint);font-size:12px;font-weight:900;letter-spacing:-.05em}
.pl-auth-sample-brand>span{display:grid;gap:3px;min-width:0}
.pl-auth-sample-brand strong{color:#17392f;font-size:12px;font-weight:850}
.pl-auth-sample-brand small{color:#82958a;font-size:9px}
.pl-auth-sample-tag{padding:6px 8px;border-radius:99px;background:#edf7e9;color:#4d805b;font-size:8px;font-weight:900;letter-spacing:.12em}
.pl-auth-sample-reward{display:grid;gap:4px;margin:21px 0 14px}
.pl-auth-sample-reward>span{color:#799183;font-size:8px;font-weight:900;letter-spacing:.15em}
.pl-auth-sample-reward strong{color:#123d30;font-size:20px;line-height:1.2;letter-spacing:-.045em}
.pl-auth-sample-reward small{color:#81948a;font-size:10px}
.pl-auth-sample-stamps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:17px 0 13px}
.pl-auth-sample-stamps>span{display:grid;place-items:center;aspect-ratio:1;max-width:48px;border:1.5px dashed #bdd2c3;border-radius:50%;background:#fff;color:#90a398;font-size:12px;font-weight:850}
.pl-auth-sample-stamps>span.is-filled{border:1px solid #168b69;background:linear-gradient(145deg,#169b77,#087052);color:#fff;box-shadow:0 5px 12px rgba(9,125,84,.16)}
.pl-auth-sample-progress{display:flex;justify-content:space-between;gap:12px;color:#526f61;font-size:9px;font-weight:780}
.pl-auth-sample-progress strong{color:#14785d}
.pl-auth-sample-track{height:7px;margin-top:8px;border-radius:30px;background:#e7efe6;overflow:hidden}
.pl-auth-sample-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#159875,#b9f577)}
.pl-auth-benefits{display:flex;flex-wrap:wrap;gap:9px 15px;max-width:470px}
.pl-auth-benefits>span{display:inline-flex;align-items:center;gap:7px;color:#d7e9df;font-size:10px;font-weight:700}
.pl-auth-benefits i{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:rgba(185,245,119,.17);color:var(--pl-mint);font-size:10px;font-style:normal}
.pl-auth-footnote{margin:20px 0 0;color:#8fb2a2;font-size:10px;letter-spacing:.015em}

.auth-form-side{position:relative;align-content:center;min-width:0;padding:clamp(26px,5vw,60px);background:radial-gradient(ellipse 500px 420px at 3% 0%,#e6f5e9 0,transparent 70%),linear-gradient(145deg,#f9fbfa,#f1f6f5)}
.auth-form-card.pl-auth-form-card{width:min(100%,475px);max-width:475px;padding:clamp(22px,3.4vw,36px);border:1px solid rgba(220,233,226,.9);border-radius:24px;background:rgba(255,255,255,.94);box-shadow:var(--pl-card-shadow);backdrop-filter:blur(12px)}
.pl-auth-form-brand{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:32px}
.pl-auth-form-brand>span{display:inline-flex;align-items:center;gap:6px;color:#6e887b;font-size:9px;font-weight:750;white-space:nowrap}
.pl-auth-form-brand>span .icon{color:#16876a}
.pl-auth-form-kicker{display:block;margin-bottom:10px;color:#16836a;font-size:9px;letter-spacing:.16em}
.auth-form-card.pl-auth-form-card h2{margin:0 0 9px;color:#102f29;font-size:clamp(27px,3vw,34px);font-weight:850;line-height:1.1;letter-spacing:-.06em}
.auth-form-card.pl-auth-form-card .pl-auth-form-desc{margin:0;color:#6c8278;font-size:12px;line-height:1.7}
.pl-auth-switch-caption{display:flex;justify-content:space-between;gap:10px;margin-top:24px;color:#6c8278;font-size:10px;font-weight:750}
.pl-auth-switch-caption>span:last-child{color:#95a69d;font-weight:600}
.auth-form-card.pl-auth-form-card .auth-tab{padding:4px;border:1px solid #e0ebe4;border-radius:13px;background:#f7faf7}
.auth-form-card.pl-auth-form-card .auth-tab button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border-radius:10px;color:#72867c;font-size:12px;font-weight:800;transition:background .18s,color .18s,box-shadow .18s}
.auth-form-card.pl-auth-form-card .auth-tab button.active{background:var(--pl-deep);color:white;box-shadow:0 5px 13px rgba(9,44,40,.15)}
.auth-form-card.pl-auth-form-card .field{margin-top:16px}
.auth-form-card.pl-auth-form-card label{color:#45645a;font-size:11px}
.auth-form-card.pl-auth-form-card input,.auth-form-card.pl-auth-form-card select{min-height:48px;border:1px solid #dce8e1;border-radius:12px;background:#fbfdfb;transition:border-color .17s,box-shadow .17s,background .17s}
.auth-form-card.pl-auth-form-card input:focus,.auth-form-card.pl-auth-form-card select:focus{border-color:#3ca88a;background:#fff;box-shadow:0 0 0 4px rgba(35,157,119,.11)}
.auth-form-card.pl-auth-form-card .btn.full{min-height:49px;border-radius:12px;font-size:13px;font-weight:850}
.auth-form-card.pl-auth-form-card .btn.dark{background:linear-gradient(105deg,#0a392f,#105744);box-shadow:0 9px 18px rgba(7,62,44,.13)}
.auth-form-card.pl-auth-form-card .btn.dark:hover{background:linear-gradient(105deg,#082f27,#0c4d3c)}
.auth-form-card.pl-auth-form-card .notice-panel{margin-top:19px;border:1px solid #e2eee5;border-radius:13px;background:#f6faf6;color:#60786b;font-size:10px;line-height:1.6}
.auth-form-card.pl-auth-form-card .auth-login-footer{margin:20px 0 3px;color:#7b8e83;font-size:11px}
.auth-form-card.pl-auth-form-card .forgot-shortcut{margin:12px 0 5px;font-size:11px}
.auth-form-card.pl-auth-form-card .google-auth-wrap{margin-top:19px}
.auth-form-card.pl-auth-form-card .auth-divider{margin:18px 0}
.auth-form-card.pl-auth-form-card .customer-password-area .tiny{line-height:1.65}
.pl-auth-inline-links{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:16px;font-size:11px}
.auth-form-card.pl-auth-form-card a.link{color:#117d63}
.auth-form-card.pl-auth-form-card a.link:hover{color:#095a46}
.auth-form-card.pl-auth-form-card :focus-visible{outline:3px solid rgba(38,164,125,.55);outline-offset:3px}

/* A more visual, scan-to-reward walkthrough without borrowing another brand's palette. */
.pl-how-steps{max-width:none;margin:23px 0 58px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.pl-how-step{position:relative;display:flex;flex-direction:column;gap:19px;min-width:0;min-height:330px;padding:17px;border:1px solid #e0ebe3;border-radius:21px;background:linear-gradient(165deg,#fff 0%,#fbfdfb 100%);box-shadow:0 9px 27px rgba(15,55,40,.035);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.pl-how-step:hover{transform:translateY(-4px);border-color:#bfddc9;box-shadow:0 18px 42px rgba(15,55,40,.09)}
.pl-how-step-visual{position:relative;display:flex;align-items:flex-start;justify-content:space-between;min-height:124px;overflow:hidden;padding:13px;border-radius:15px;background:radial-gradient(circle at 80% 15%,#ddf3cf 0,transparent 52%),linear-gradient(145deg,#edf7ee,#e4f1e8)}
.pl-how-step-visual:after{content:"";position:absolute;width:142px;height:142px;right:-66px;bottom:-84px;border:1px solid #b8d9c244;border-radius:50%;box-shadow:0 0 0 20px #b8d9c218,0 0 0 42px #b8d9c210}
.pl-how-step-number{position:relative;z-index:1;display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:var(--pl-deep);color:var(--pl-mint);font-size:10px;font-weight:900;box-shadow:0 4px 10px #092c2828}
.pl-how-step-icon{position:relative;z-index:1;display:grid;place-items:center;width:68px;height:68px;margin:12px auto 0;border:1px solid rgba(255,255,255,.9);border-radius:22px;background:rgba(255,255,255,.86);color:#148367;box-shadow:0 10px 23px rgba(20,84,58,.1);transform:rotate(-4deg)}
.pl-how-step-icon .icon svg{width:31px;height:31px;stroke-width:1.8}
.pl-how-step-copy{padding:0 5px 4px}
.pl-how-step-tag{display:inline-flex;align-items:center;gap:6px;margin-bottom:9px;color:#178367;font-size:8px;font-weight:900;letter-spacing:.13em}
.pl-how-step-copy h2{margin:0 0 8px;color:#153a30;font-size:18px;line-height:1.2;letter-spacing:-.045em}
.pl-how-step-copy p{margin:0;color:#6e8277;font-size:11px;line-height:1.75}
.pl-how-split{gap:17px}
.pl-how-split article{border:1px solid #e1ebe4;border-radius:20px;box-shadow:0 10px 29px rgba(14,52,40,.04)}
.pl-how-split article:first-child{background:linear-gradient(145deg,#0b3b31,#104b3d);border-color:#104b3d;color:white}
.pl-how-split article:first-child h2{color:#f4fff6}
.pl-how-split article:first-child p{color:#c0d9ce}
.pl-how-split article:first-child .kicker{color:#b9f577}
.pl-how-split article:first-child .pl-feature-icon{background:rgba(255,255,255,.12);color:#c4f28f}
.pl-how-split article:last-child{background:linear-gradient(145deg,#fff,#f7fbf6)}

/* Focused polish for existing public feature, pricing and contact pages. */
.pl-page-hero{position:relative}
.pl-page-hero h1{max-width:850px;color:#112b27}
.pl-feature-detail,.pl-industry-detail{transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.pl-feature-detail:hover,.pl-industry-detail:hover{transform:translateY(-3px);border-color:#c7dfcd;box-shadow:0 15px 34px rgba(13,49,45,.075)}
.simple-plan{border-radius:19px}
.simple-plan.popular{box-shadow:0 16px 42px rgba(13,143,112,.12)}
.pricing-intro h1{color:#112d27}
.pricing-intro h1 span{color:#138f7d!important}
.pricing-faq{border:1px solid #e4ebe7;border-radius:20px;box-shadow:0 12px 34px rgba(13,49,45,.045)}
.faq-item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:after{content:"+";display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:8px;background:#edf7ef;color:#138f7d;font-size:17px;font-weight:650;transition:transform .18s ease,background .18s ease}
.faq-item[open] summary:after{content:"−";background:#dff2e4;transform:rotate(180deg)}
.contact-method,.contact-form-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.contact-method:hover,.contact-form-card:hover{border-color:#d2e5d8;box-shadow:0 18px 44px rgba(13,49,45,.08)}

@media(max-width:1120px){
 .pl-how-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .auth-promo{padding:36px}
 .pl-auth-promo-title{font-size:clamp(34px,4.5vw,49px)}
}
@media(max-width:920px){
 .auth-shell{grid-template-columns:1fr;min-height:100vh}
 .auth-promo{display:flex;min-height:0;padding:20px 24px 17px}
 .auth-promo-inner{max-width:700px;width:100%}
 .pl-auth-eyebrow{margin:14px 0 8px;font-size:8px}
 .pl-auth-promo-title{max-width:650px;margin-bottom:7px;font-size:clamp(23px,4vw,31px);line-height:1.12}
 .pl-auth-promo-copy{max-width:680px;font-size:11px;line-height:1.6}
 .pl-auth-sample,.pl-auth-benefits,.pl-auth-footnote{display:none}
 .auth-form-side{padding:26px 20px 44px}
 .auth-form-card.pl-auth-form-card{max-width:520px}
}
@media(max-width:640px){
 .auth-promo{padding:17px 18px 15px}
 .auth-promo .brand{font-size:18px}
 .auth-promo .brandmark{width:34px;height:34px;border-radius:10px;font-size:22px}
 .pl-auth-eyebrow{margin-top:11px;letter-spacing:.13em}
 .pl-auth-promo-title{font-size:25px}
 .pl-auth-promo-copy{font-size:10px}
 .auth-form-side{padding:18px 14px 36px}
 .auth-form-card.pl-auth-form-card{padding:21px 18px;border-radius:20px}
 .pl-auth-form-brand{margin-bottom:23px}
 .pl-auth-form-brand .brand{display:none}
 .pl-how-steps{grid-template-columns:1fr;gap:11px;margin:18px 0 38px}
 .pl-how-step{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px;min-height:0;padding:12px}
 .pl-how-step-visual{min-height:100px;padding:9px}
 .pl-how-step-icon{width:54px;height:54px;border-radius:17px;margin:16px 0 0}
 .pl-how-step-icon .icon svg{width:25px;height:25px}
 .pl-how-step-copy h2{font-size:16px}
 .pl-how-step-copy p{font-size:10px}
 .pl-how-split article{padding:22px}
}
@media(max-width:390px){
 .pl-auth-form-brand>span{font-size:8px}
 .pl-auth-switch-caption{font-size:9px}
 .pl-auth-inline-links{justify-content:flex-start}
 .pl-how-step{grid-template-columns:88px minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
 .pl-auth-sample,.pl-how-step,.pl-feature-detail,.pl-industry-detail,.contact-method,.contact-form-card{transition:none!important;transform:none!important}
}

/* WhatsApp OTP: clear steps, reassuring copy and PerkLoop-native styling. */
.pl-wa-auth-flow{margin-top:19px}
.pl-wa-auth-flow form[data-form="whatsapp-request"]{display:grid;gap:2px}
.pl-wa-auth-flow .pl-wa-verify-heading{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #dcebe2;border-radius:15px;background:linear-gradient(120deg,#f4faf4,#fff)}
.pl-wa-icon{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border:1px solid #d6eadb;border-radius:14px;background:#e9f7e9;color:#118064;font-size:18px}
.pl-wa-verify-heading strong{display:block;color:#12392f;font-size:13px;font-weight:850;letter-spacing:-.02em}
.pl-wa-verify-heading p{margin:4px 0 0;color:#6b8277;font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.pl-wa-verify-heading p b{color:#183d32;font-weight:850}
.pl-wa-auth-flow #whatsapp-code{min-height:56px;text-align:center;font-size:25px;font-weight:850;letter-spacing:.42em;padding-left:calc(.42em + 12px);font-variant-numeric:tabular-nums}
.pl-wa-delivery-note{display:flex;align-items:center;justify-content:center;gap:8px;margin:13px 0 2px;padding:11px 13px;border:1px solid #e0eee3;border-radius:12px;background:#f7fbf6;color:#658172;font-size:10px;line-height:1.5;text-align:center}
.pl-wa-brand-icon{display:grid;place-items:center;flex:0 0 21px;width:21px;height:21px;border-radius:7px;background:#dff4e7;color:#16845d;font-size:13px;font-weight:900}
.pl-wa-verify-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}
.pl-wa-verify-actions .link{padding:6px 0;color:#13866d;font-size:10px;font-weight:800}
.pl-wa-auth-flow .tiny{line-height:1.7}
.pl-auth-password-alt{margin-top:17px;padding:12px 14px;border:1px solid #e5ece7;border-radius:13px;background:#fbfdfb}
.pl-auth-password-alt summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;color:#526d61;font-size:11px;font-weight:800;list-style:none}
.pl-auth-password-alt summary::-webkit-details-marker{display:none}
.pl-auth-password-alt summary:after{content:"+";display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#edf5ee;color:#147d65;font-size:16px;font-weight:700}
.pl-auth-password-alt[open] summary:after{content:"−"}
.pl-auth-password-alt form{padding-top:2px}
.pl-wa-auth-flow .fields2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pl-wa-auth-flow .fields2 .field{min-width:0}
.pl-wa-auth-flow .fields2 .field input,.pl-wa-auth-flow .fields2 .field select{width:100%}
@media(max-width:520px){
 .pl-wa-auth-flow .fields2{grid-template-columns:1fr;gap:2px}
 .pl-wa-auth-flow .pl-wa-verify-heading{padding:12px}
 .pl-wa-auth-flow #whatsapp-code{font-size:23px}
}

/* === PerkLoop.org v3.9 Auth Password Toggle Refinement === */
.pl-auth-password-alt {
  margin-top: 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(14, 151, 125, 0.28);
  background: rgba(14, 151, 125, 0.06);
  padding: 4px 14px 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pl-auth-password-alt:hover {
  border-color: rgba(14, 151, 125, 0.5);
  background: rgba(14, 151, 125, 0.1);
}
.pl-auth-password-alt > summary {
  font-weight: 800 !important;
  font-size: 0.96rem !important;
  color: #0e7a64 !important;
  letter-spacing: -0.01em;
  cursor: pointer;
  padding: 10px 2px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pl-auth-password-alt > summary::-webkit-details-marker { display: none; }
.pl-auth-password-alt > summary::after {
  content: '▾';
  font-size: 0.9rem;
  color: #0e7a64;
  transition: transform 0.2s ease;
}
.pl-auth-password-alt[open] > summary::after { transform: rotate(180deg); }


/* PerkLoop v4.0.1 — stable sign-in layout */
.auth-shell,
.auth-form-side,
.auth-form-card,
.auth-form-card-v35,
.auth-form-card-v36,
.pl-auth-password-alt {
  overflow-anchor: none;
}
.auth-form-side {
  align-items: start !important;
  align-content: start !important;
  justify-items: center !important;
  padding-top: clamp(28px, 6vh, 64px) !important;
}
.auth-form-card,
.auth-form-card-v35,
.auth-form-card-v36 {
  align-self: start !important;
  margin-top: 0 !important;
}
.pl-auth-password-alt { transition: none !important; }
.pl-auth-password-alt > summary::after { transition: none !important; }
.pl-auth-password-alt[open],
.pl-auth-password-alt[open] > form { animation: none !important; }
.google-auth-wrap,
.google-connect-card { display: none !important; }


/* PerkLoop 4.1 — final product polish: calm sign-in, translucent insight tips, crisp workspaces. */
html, body { overflow-anchor: none; }
.auth-shell { min-height: 100svh; align-items: stretch; }
.auth-form-side {
  display: grid !important;
  align-content: start !important;
  align-items: start !important;
  justify-items: center !important;
  padding-top: clamp(28px, 5vh, 52px) !important;
  padding-bottom: 44px !important;
  overflow-anchor: none !important;
}
.auth-form-card.pl-auth-form-card {
  align-self: start !important;
  margin: 0 !important;
  overflow-anchor: none !important;
}
.pl-auth-method-stage {
  min-height: 258px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-anchor: none;
}
.pl-auth-method-stage > form { width: 100%; }
.pl-auth-method-stage .pl-wa-delivery-note { margin-top: 13px; }
.pl-auth-method-stage .pl-password-login-form .field + .field { margin-top: 13px; }
.pl-auth-method-stage.is-signup { min-height: 0; }
.pl-auth-method-toggle {
  width: 100%; min-height: 48px; margin-top: 7px; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid #bfe2d5; border-radius: 12px;
  background: rgba(240,249,244,.9); color: #087d65;
  font-size: 13px; font-weight: 850; text-align: left;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.pl-auth-method-toggle:hover { border-color: #72bea5; background: #eaf7ef; box-shadow: 0 4px 13px rgba(18,112,78,.07); }
.pl-auth-method-arrow { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(18,143,117,.08); font-size: 15px; }
.pl-auth-method-stage .field { margin-top: 12px; }
.pl-auth-method-stage .field:first-child { margin-top: 0; }
.pl-auth-method-stage .btn { min-height: 46px; }
.pl-auth-password-alt { display: none !important; }

/* The analytics hover card is frosted, so the chart remains visible underneath. */
.pl-chart-tooltip {
  background: rgba(7, 43, 37, .80) !important;
  border: 1px solid rgba(218, 255, 238, .27) !important;
  color: rgba(248, 255, 251, .97) !important;
  -webkit-backdrop-filter: blur(13px) saturate(135%);
  backdrop-filter: blur(13px) saturate(135%);
  box-shadow: 0 14px 34px rgba(8, 45, 36, .19) !important;
}
.pl-chart-tooltip-date { color: #c8f79a !important; }
.pl-chart-tooltip-row span { color: rgba(222, 243, 234, .83) !important; }
.pl-chart-tooltip-row b { color: #fff !important; }
.pro-analytics-chart { background: rgba(255,255,255,.92); border-color: rgba(219,232,224,.92); }

/* Keep admin and merchant surfaces bright, crisp and quietly interactive. */
.admin-layout { background: #f7faf8; }
.admin-sidebar { box-shadow: 7px 0 24px rgba(15,65,47,.025); }
.admin-topbar { background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.admin-content .card, .app-content .card {
  border-color: #e5eee8;
  box-shadow: 0 8px 25px rgba(13,54,39,.035);
}
.admin-content .card:not(.admin-focus), .app-content .card {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.admin-content .card:not(.admin-focus):hover, .app-content .card:hover {
  border-color: #d4e6da;
  box-shadow: 0 13px 32px rgba(13,54,39,.065);
  transform: translateY(-2px);
}

/* The PerkLoop master mark stays clean on light and dark surfaces — never a tile. */
.brandmark, .brandmark img, .customer-header .brandmark {
  background: transparent !important;
  box-shadow: none !important;
}
.brandmark {
  width: 42px !important; height: 42px !important;
  padding: 0 !important; border-radius: 0 !important;
  overflow: visible !important; flex: 0 0 42px;
}
.brandmark:before { display: none !important; }
.brandmark img {
  display: block; width: 100% !important; height: 100% !important;
  object-fit: contain !important; filter: none !important;
}
@media (max-width: 640px) {
  .auth-form-side { padding: 25px 18px 38px !important; }
  .pl-auth-method-stage { min-height: 258px; }
  .admin-content .card:not(.admin-focus):hover, .app-content .card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-auth-method-toggle, .admin-content .card, .app-content .card { transition: none !important; }
}


/* v4.2 role-specific auth presentation restored on top of the v4.3.2 identity flow. */
.pl-customer-signup .pl-customer-contact-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pl-customer-signup .pl-customer-contact-fields .field{margin:0;min-width:0}
.pl-customer-signup .pl-customer-contact-fields input{min-width:0}
.pl-customer-signup .auth-phone-input{display:flex;align-items:stretch;min-width:0}
.pl-customer-signup .auth-phone-prefix{display:flex;align-items:center;justify-content:center;flex:0 0 54px;border:1px solid #dce8e1;border-right:0;border-radius:12px 0 0 12px;background:#f1f7f2;color:#46665a;font-size:12px;font-weight:800}
.pl-customer-signup .auth-phone-input input{border-radius:0 12px 12px 0;min-width:0}
.pl-customer-signup .auth-field-hint{display:block;margin-top:6px;color:#81948a;font-size:10px;line-height:1.45}
@media(max-width:640px){.pl-customer-signup .pl-customer-contact-fields{grid-template-columns:1fr;gap:0}.pl-customer-signup .pl-customer-contact-fields .field+.field{margin-top:13px}}


/* Google signup: the identity is verified first; the wallet asks only for a phone number next. */
.pl-google-profile-confirm{display:grid;gap:4px;padding:14px 15px;border:1px solid #dcebe1;border-radius:13px;background:#f4faf5;margin-top:8px}
.pl-google-profile-confirm p{margin:0 0 3px;color:#70827a;font-size:12px}
.pl-google-profile-confirm strong{color:#123d33;font-size:15px}
.pl-google-profile-confirm span{color:#688078;font-size:12px;overflow-wrap:anywhere}
