/* P2E "Tired of your scheduling software?" switch popup.
   Self-contained: every selector is prefixed .p2esw-, tokens follow the P2E charcoal + lime rule (no navy). */
.p2esw-root {
  --sw-bg: #1f2023;
  --sw-panel: #2a2b2f;
  --sw-panel2: #303136;
  --sw-line: #3d3e44;
  --sw-text: #f4f4f5;
  --sw-muted: #a1a1aa;
  --sw-input: #1c1d20;
  --sw-lime: #c6ff00;
  --sw-lime-ink: #151a00;
  --sw-violet: #8b5cf6;
  --sw-radius: 22px;
  --sw-font: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--sw-font);
  color: var(--sw-text);
}
.p2esw-root *, .p2esw-root *::before, .p2esw-root *::after { box-sizing: border-box; }

/* Overlay */
.p2esw-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: radial-gradient(1200px 700px at 30% 40%, rgba(198,255,0,.08), transparent 60%), rgba(12,12,14,.72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.p2esw-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease; }

/* Card */
.p2esw-card {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100dvh - 32px);
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: linear-gradient(180deg, var(--sw-panel) 0%, var(--sw-bg) 100%);
  border: 1px solid var(--sw-line);
  border-radius: var(--sw-radius);
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(198,255,0,.06) inset;
  overflow: hidden;
  transform: translateY(24px) scale(.96) rotateX(6deg);
  transform-origin: 50% 100%;
  transition: transform .55s cubic-bezier(.2,.9,.2,1.15);
}
.p2esw-overlay.is-open .p2esw-card { transform: none; }

.p2esw-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(31,32,35,.75); color: var(--sw-text);
  border: 1px solid var(--sw-line); cursor: pointer;
  transition: background .2s, transform .2s;
}
.p2esw-close:hover { background: var(--sw-panel2); transform: rotate(90deg); }
.p2esw-close:focus-visible, .p2esw-root :focus-visible { outline: 2px solid var(--sw-lime); outline-offset: 2px; }

/* Art side: pointer-driven 3D tilt + floating chips */
.p2esw-art {
  position: relative; min-height: 100%;
  perspective: 1100px;
  background: radial-gradient(80% 70% at 50% 45%, rgba(198,255,0,.14), transparent 70%), #17181b;
  overflow: hidden;
}
.p2esw-art-stage {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out;
}
.p2esw-art img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: translateZ(0) scale(1.06);
}
.p2esw-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 55%, rgba(31,32,35,.85) 100%),
              linear-gradient(0deg, rgba(23,24,27,.7), transparent 35%);
}
.p2esw-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  background: rgba(31,32,35,.72); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transform: translateZ(70px);
  animation: p2esw-float 6s ease-in-out infinite;
}
.p2esw-chip i { width: 8px; height: 8px; border-radius: 99px; background: var(--sw-lime); box-shadow: 0 0 12px var(--sw-lime); }
.p2esw-chip.c1 { left: 7%; top: 10%; }
.p2esw-chip.c2 { left: 12%; bottom: 16%; animation-delay: -2s; }
.p2esw-chip.c3 { right: 14%; top: 42%; animation-delay: -4s; }
.p2esw-chip.c3 i { background: var(--sw-violet); box-shadow: 0 0 12px var(--sw-violet); }
@keyframes p2esw-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Form side */
.p2esw-body { padding: 40px 40px 30px; overflow: auto; display: flex; flex-direction: column; }
.p2esw-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sw-lime);
}
.p2esw-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--sw-lime); border-radius: 2px; }
.p2esw-title {
  margin: 14px 0 10px; font-size: clamp(28px, 3.3vw, 38px); line-height: 1.05; font-weight: 800;
  letter-spacing: -.02em; text-wrap: balance;
}
.p2esw-title em { font-style: normal; color: var(--sw-lime); }
.p2esw-sub { margin: 0 0 22px; color: var(--sw-muted); font-size: 15.5px; line-height: 1.55; max-width: 44ch; }

.p2esw-progress { display: flex; gap: 6px; margin: 0 0 18px; }
.p2esw-progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--sw-line); overflow: hidden; position: relative; }
.p2esw-progress span::after { content: ""; position: absolute; inset: 0; background: var(--sw-lime); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.p2esw-progress span.is-done::after { transform: scaleX(1); }

.p2esw-step { display: none; flex-direction: column; gap: 14px; animation: p2esw-in .4s ease both; }
.p2esw-step.is-active { display: flex; }
@keyframes p2esw-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.p2esw-label { font-size: 13px; font-weight: 600; color: var(--sw-text); margin-bottom: 7px; display: block; }
.p2esw-label small { color: var(--sw-muted); font-weight: 500; }
.p2esw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p2esw-input, .p2esw-select, .p2esw-textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--sw-text);
  background: var(--sw-input); border: 1px solid var(--sw-line); border-radius: 12px;
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.p2esw-textarea { min-height: 84px; resize: vertical; }
.p2esw-input::placeholder, .p2esw-textarea::placeholder { color: #6b6b74; }
.p2esw-input:focus, .p2esw-select:focus, .p2esw-textarea:focus { outline: none; border-color: var(--sw-lime); box-shadow: 0 0 0 4px rgba(198,255,0,.12); }
.p2esw-input[aria-invalid="true"] { border-color: #ff6b6b; }
.p2esw-error { color: #ff8f8f; font-size: 12.5px; min-height: 0; }

.p2esw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.p2esw-pick {
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  padding: 9px 13px; border-radius: 999px;
  color: var(--sw-text); background: var(--sw-panel2); border: 1px solid var(--sw-line);
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.p2esw-pick:hover { transform: translateY(-1px); border-color: #55565d; }
.p2esw-pick[aria-pressed="true"] { background: var(--sw-lime); color: var(--sw-lime-ink); border-color: var(--sw-lime); }

.p2esw-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--sw-muted); line-height: 1.45; }
.p2esw-consent input { accent-color: var(--sw-lime); width: 17px; height: 17px; margin-top: 1px; flex: none; }

.p2esw-actions { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.p2esw-btn {
  font: inherit; font-weight: 800; font-size: 15.5px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; border-radius: 14px; border: 0;
  color: var(--sw-lime-ink); background: var(--sw-lime);
  box-shadow: 0 10px 30px rgba(198,255,0,.25), inset 0 -2px 0 rgba(0,0,0,.15);
  transition: transform .15s, box-shadow .2s, filter .2s;
  flex: 1;
}
.p2esw-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(198,255,0,.32), inset 0 -2px 0 rgba(0,0,0,.15); }
.p2esw-btn:active { transform: translateY(0); }
.p2esw-btn[disabled] { filter: grayscale(.6) brightness(.8); cursor: progress; }
.p2esw-btn .arrow { transition: transform .2s; }
.p2esw-btn:hover .arrow { transform: translateX(4px); }
.p2esw-ghost {
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
  padding: 15px 16px; border-radius: 14px; background: transparent; color: var(--sw-muted);
  border: 1px solid var(--sw-line);
}
.p2esw-ghost:hover { color: var(--sw-text); border-color: #55565d; }
.p2esw-fine { margin-top: 14px; font-size: 12px; color: #7b7b84; }
.p2esw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Mac-dock attention bounce on the next field to fill */
.p2esw-bounce { animation: p2esw-dock 2s cubic-bezier(.33,.66,.45,1) both; transform-origin: 50% 100%; }
.p2esw-bounce .p2esw-input { border-color: var(--sw-lime); box-shadow: 0 0 0 4px rgba(198,255,0,.14); }
.is-glass .p2esw-bounce .p2esw-input { box-shadow: 0 0 0 4px rgba(167,139,250,.2); }
@keyframes p2esw-dock {
  0%, 100% { transform: translateY(0); }
  10% { transform: translateY(-16px); }
  20% { transform: translateY(0) scale(1.015, .97); }
  23% { transform: translateY(0); }
  33% { transform: translateY(-16px); }
  43% { transform: translateY(0) scale(1.015, .97); }
  46% { transform: translateY(0); }
  56% { transform: translateY(-14px); }
  66% { transform: translateY(0) scale(1.012, .975); }
  69% { transform: translateY(0); }
  79% { transform: translateY(-11px); }
  89% { transform: translateY(0) scale(1.01, .98); }
  92% { transform: translateY(0); }
}

/* Self-serve path under step 1 */
.p2esw-skip { margin: 2px 0 0; font-size: 13.5px; color: var(--sw-muted); }
.p2esw-skip a { color: var(--sw-text); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(198,255,0,.5); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.p2esw-skip a:hover { color: var(--sw-lime); border-color: var(--sw-lime); }

/* Success */
.p2esw-done { display: none; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 8px; animation: p2esw-in .45s ease both; }
.p2esw-done.is-active { display: flex; }
.p2esw-check { width: 64px; height: 64px; border-radius: 20px; background: var(--sw-lime); display: grid; place-items: center; box-shadow: 0 0 40px rgba(198,255,0,.45); }
.p2esw-check svg { width: 34px; height: 34px; stroke: var(--sw-lime-ink); stroke-width: 3.2; fill: none; stroke-dasharray: 40; stroke-dashoffset: 40; animation: p2esw-draw .6s .15s ease forwards; }
@keyframes p2esw-draw { to { stroke-dashoffset: 0; } }

/* Re-open launcher */
.p2esw-launcher {
  position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 2147482999;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px 12px 12px; border-radius: 999px; cursor: pointer;
  font: 700 14px/1 var(--sw-font); color: var(--sw-text);
  background: rgba(31,32,35,.92); border: 1px solid var(--sw-line);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  transform: translateY(120%); opacity: 0; transition: transform .45s cubic-bezier(.2,.9,.2,1.1), opacity .3s;
}
.p2esw-launcher.is-shown { transform: none; opacity: 1; }
.p2esw-launcher b { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--sw-lime); color: var(--sw-lime-ink); font-size: 15px; }

/* Responsive: art becomes a banner on phones */
@media (max-width: 760px) {
  .p2esw-card { grid-template-columns: 1fr; border-radius: 20px; }
  .p2esw-art { min-height: 170px; height: 170px; }
  .p2esw-art::after { background: linear-gradient(0deg, rgba(31,32,35,1) 0%, transparent 60%); }
  .p2esw-chip.c3 { display: none; }
  .p2esw-body { padding: 22px 20px 22px; }
  .p2esw-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .p2esw-root *, .p2esw-root *::before, .p2esw-root *::after { animation: none !important; transition: none !important; }
  .p2esw-art-stage { transform: none !important; }
}

/* ------------------------------------------------------------------
   Glass variant (data-variant="glass"): dark glass panels, vivid gradient
   tiles and a tilted wall of feature cards that pop in one by one.
   ------------------------------------------------------------------ */
.p2esw-root.is-glass {
  --sw-bg: #131418;
  --sw-panel: #1b1c22;
  --sw-panel2: #24252c;
  --sw-line: #2f3038;
  --sw-input: #121317;
  --sw-lime: #a78bfa;          /* accent role: violet in this variant */
  --sw-lime-ink: #ffffff;
  --sw-grad: linear-gradient(135deg, #7c5cff 0%, #c04cfd 55%, #ff7a59 100%);
  --g-free: #4ade80; --g-inc: #67e8f9; --g-fee: #fcd34d; --g-ltd: #f9a8d4;
}
.is-glass .p2esw-overlay { background: radial-gradient(900px 600px at 25% 40%, rgba(124,92,255,.16), transparent 60%), radial-gradient(700px 500px at 80% 70%, rgba(255,122,89,.10), transparent 60%), rgba(8,8,11,.74); }
.is-glass .p2esw-card { background: linear-gradient(160deg, rgba(36,37,44,.96), rgba(19,20,24,.98)); box-shadow: 0 40px 120px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.06); }
.is-glass .p2esw-eyebrow { color: #c4b5fd; }
.is-glass .p2esw-eyebrow::before { background: var(--sw-grad); }
.is-glass .p2esw-title em { background: var(--sw-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-glass .p2esw-progress span::after { background: var(--sw-grad); }
.is-glass .p2esw-btn { background: var(--sw-grad); color: #fff; box-shadow: 0 12px 34px rgba(160,80,255,.35), inset 0 1px 0 rgba(255,255,255,.25); }
.is-glass .p2esw-btn:hover { box-shadow: 0 18px 44px rgba(160,80,255,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.is-glass .p2esw-pick[aria-pressed="true"] { background: var(--sw-grad); color: #fff; border-color: transparent; }
.is-glass .p2esw-input:focus, .is-glass .p2esw-select:focus, .is-glass .p2esw-textarea:focus { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(167,139,250,.16); }
.is-glass .p2esw-skip a { border-bottom-color: rgba(192,76,253,.6); }
.is-glass .p2esw-skip a:hover { color: #e9d5ff; border-color: #c04cfd; }
.is-glass .p2esw-check { background: var(--sw-grad); box-shadow: 0 0 40px rgba(192,76,253,.45); }
.is-glass .p2esw-check svg { stroke: #fff; }
.is-glass .p2esw-launcher b { background: var(--sw-grad); color: #fff; }

/* The wall */
.p2esw-wall { background: radial-gradient(70% 60% at 40% 35%, rgba(124,92,255,.22), transparent 70%), radial-gradient(60% 50% at 70% 85%, rgba(255,122,89,.14), transparent 70%), #101115; }
.p2esw-wall::after { background: linear-gradient(90deg, transparent 62%, rgba(19,20,24,.95) 100%), linear-gradient(0deg, rgba(16,17,21,.9), transparent 22%), linear-gradient(180deg, rgba(16,17,21,.8), transparent 18%); }
.p2esw-plane {
  position: absolute; left: 50%; top: 50%; width: 500px;
  transform: translate(-44%, -44%) rotateX(22deg) rotateZ(-12deg) translateZ(0);
  transform-style: preserve-3d;
  animation: p2esw-drift 26s ease-in-out infinite alternate;
}
@keyframes p2esw-drift { from { translate: 0 40px; } to { translate: 0 -200px; } }
.p2esw-plan {
  display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 14px;
  margin: 0 0 12px; padding: 18px 20px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(124,92,255,.35), rgba(255,122,89,.22)), rgba(27,28,34,.9);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12);
  animation: p2esw-pop .6s cubic-bezier(.2,.9,.25,1.3) both .15s;
}
.p2esw-plan span { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ddd6fe; }
.p2esw-plan strong { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.p2esw-plan small { color: #d4d4d8; font-size: 13px; padding-bottom: 8px; }
.p2esw-flist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p2esw-fcard {
  position: relative; display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 10px;
  padding: 14px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)), rgba(24,25,31,.92);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 18px 40px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.07);
  animation: p2esw-pop .55s cubic-bezier(.2,.9,.25,1.35) both;
  animation-delay: calc(.35s + var(--i) * .11s);
}
.p2esw-fcard:nth-child(even) { transform: translateY(26px); }
@keyframes p2esw-pop { from { opacity: 0; scale: .6; filter: blur(6px); } to { opacity: 1; scale: 1; filter: none; } }
.p2esw-ftile { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; box-shadow: 0 10px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35); }
.p2esw-ftile svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.p2esw-ftile.t1 { background: linear-gradient(135deg, #34d399, #22d3ee); }
.p2esw-ftile.t2 { background: linear-gradient(135deg, #fde68a, #d4a24c); }
.p2esw-ftile.t3 { background: linear-gradient(135deg, #ff7eb3, #ff9a3d); }
.p2esw-ftile.t4 { background: linear-gradient(135deg, #8b5cf6, #3b82f6); }
.p2esw-ftile.t5 { background: linear-gradient(135deg, #38bdf8, #6366f1); }
.p2esw-ftile.t6 { background: linear-gradient(135deg, #c084fc, #f472b6); }
.p2esw-ftext { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.p2esw-ftext b { font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.p2esw-ftext small { font-size: 11.5px; color: #a1a1aa; line-height: 1.3; }
.p2esw-badge {
  justify-self: start; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px; border: 1px solid currentColor; background: rgba(0,0,0,.25);
}
.p2esw-badge.free { color: var(--g-free); box-shadow: 0 0 16px rgba(74,222,128,.25); }
.p2esw-badge.inc { color: var(--g-inc); }
.p2esw-badge.fee { color: var(--g-fee); box-shadow: 0 0 16px rgba(252,211,77,.22); }
.p2esw-badge.ltd { color: var(--g-ltd); animation: p2esw-pulse 2.4s ease-in-out infinite; }
@keyframes p2esw-pulse { 0%,100% { box-shadow: 0 0 0 rgba(249,168,212,0); } 50% { box-shadow: 0 0 18px rgba(249,168,212,.45); } }

@media (max-width: 760px) {
  .is-glass .p2esw-art.p2esw-wall { height: 200px; min-height: 200px; }
  .p2esw-plane { width: 460px; transform: translate(-50%, -46%) rotateX(24deg) rotateZ(-10deg) scale(.78); }
  .p2esw-wall::after { background: linear-gradient(0deg, rgba(19,20,24,1) 0%, transparent 55%); }
}
@media (prefers-reduced-motion: reduce) {
  .p2esw-plane { animation: none !important; }
  .p2esw-fcard, .p2esw-plan { animation: none !important; opacity: 1; }
}

/* ------------------------------------------------------------------
   Close -> banner. The card shrinks toward the bottom and the banner takes over,
   then bumps (same dock keyframes) until the visitor reopens or shrinks it.
   ------------------------------------------------------------------ */
.p2esw-card.is-closing { transform: translateY(38vh) scale(.42) !important; opacity: 0; transition: transform .3s cubic-bezier(.5,0,.75,0), opacity .26s ease; }
.p2esw-overlay.is-open:has(.p2esw-card.is-closing) { opacity: 0; transition: opacity .3s ease; }

.p2esw-banner {
  /* Leave room for the support-chat launcher at the lower right. */
  position: fixed; left: auto; right: max(110px, calc(96px + env(safe-area-inset-right))); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 2147482999;
  width: fit-content; max-width: calc(100% - 32px); margin: 0;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 7px 7px 8px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(48,49,54,.96), rgba(31,32,35,.97));
  border: 1px solid var(--sw-line);
  box-shadow: 0 22px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(198,255,0,.08) inset;
  transform: translateY(160%); opacity: 0; visibility: hidden;
  transition: transform .5s cubic-bezier(.2,.9,.25,1.25), opacity .3s, visibility 0s linear .5s;
  transform-origin: 50% 100%;
}
.p2esw-banner.is-shown { transform: none; opacity: 1; visibility: visible; transition: transform .5s cubic-bezier(.2,.9,.25,1.25), opacity .3s; }
.p2esw-banner-main {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  font: inherit; color: var(--sw-text); text-align: left; cursor: pointer;
  background: transparent; border: 0; padding: 4px 6px 4px 2px; border-radius: 16px;
}
.p2esw-banner-icon { position: relative; flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sw-lime); box-shadow: 0 8px 22px rgba(198,255,0,.3); }
.p2esw-banner-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--sw-lime-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p2esw-banner-icon i { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 99px; background: #ff4d4f; border: 2px solid #232428; }
.p2esw-banner-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p2esw-banner-text b { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.p2esw-banner-text small { font-size: 12.5px; color: var(--sw-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p2esw-banner-cta { flex: none; margin-left: 8px; padding: 11px 16px; border-radius: 14px; font-size: 14px; font-weight: 800; background: var(--sw-lime); color: var(--sw-lime-ink); box-shadow: 0 8px 24px rgba(198,255,0,.25); transition: transform .15s; }
.p2esw-banner-main:hover .p2esw-banner-cta { transform: translateY(-1px); }
.p2esw-banner-min { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; background: transparent; border: 1px solid var(--sw-line); color: var(--sw-muted); }
.p2esw-banner-min svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.p2esw-banner-min:hover { color: var(--sw-text); border-color: #55565d; }
.p2esw-banner.p2esw-bounce, .p2esw-launcher.p2esw-bounce { animation: p2esw-dock 2s cubic-bezier(.33,.66,.45,1) both; }

/* Glass variant banner */
.is-glass .p2esw-banner { background: linear-gradient(160deg, rgba(36,37,44,.96), rgba(19,20,24,.97)); box-shadow: 0 22px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.07); }
.is-glass .p2esw-banner-icon { background: var(--sw-grad); box-shadow: 0 8px 22px rgba(160,80,255,.35); }
.is-glass .p2esw-banner-icon svg { stroke: #fff; }
.is-glass .p2esw-banner-cta { background: var(--sw-grad); color: #fff; box-shadow: 0 8px 24px rgba(160,80,255,.3); }

/* A distinct contact cue and Amazon-style Buy Now colour for the reopen action. */
.p2esw-banner-icon, .is-glass .p2esw-banner-icon {
  background: #fff; border: 2px solid #ffa41c;
  box-shadow: 0 0 0 3px rgba(255,164,28,.18), 0 6px 18px rgba(0,0,0,.3);
}
.p2esw-banner-icon svg, .is-glass .p2esw-banner-icon svg {
  width: 27px; height: 27px; stroke: #171717; stroke-width: 2.4;
}
.p2esw-banner-cta, .is-glass .p2esw-banner-cta {
  background: #ffa41c; color: #111; border: 1px solid #ff8f00;
  box-shadow: 0 3px 10px rgba(255,164,28,.25);
}
.p2esw-banner-main:hover .p2esw-banner-cta { background: #fa8900; }

@media (max-width: 760px) {
  /* At narrow tablet widths, place the banner above the lower-right chat launcher. */
  .p2esw-banner { left: 12px; right: 12px; width: auto; max-width: none; bottom: max(100px, calc(96px + env(safe-area-inset-bottom))); }
  .p2esw-banner-text b { white-space: normal; }
}
@media (max-width: 560px) {
  .p2esw-banner-main { flex: 1; }
  .p2esw-banner-text small { display: none; }
  .p2esw-banner-text b { white-space: normal; font-size: 14px; line-height: 1.2; }
  .p2esw-banner-cta { padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 520px) {
  /* Chat already lifts by 84px for the visible banner at phone widths. */
  .p2esw-banner { bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .p2esw-banner.p2esw-bounce, .p2esw-launcher.p2esw-bounce { animation: none !important; }
}

body.has-hero-support .p2esw-banner{position:absolute;top:var(--hero-support-top);left:var(--hero-support-left);right:auto;bottom:auto;width:var(--hero-switch-width);max-width:none}
body.has-hero-support .p2esw-banner-main{width:100%;flex-wrap:wrap;gap:8px}
body.has-hero-support .p2esw-banner-text{flex:1;min-width:100px}
body.has-hero-support .p2esw-banner-text b,body.has-hero-support .p2esw-banner-text small{white-space:normal}
body.has-hero-support .p2esw-banner-cta{margin-left:0}
@media(max-width:600px){body.has-hero-support .p2esw-banner-icon{display:none}body.has-hero-support .p2esw-banner-text small{display:none}body.has-hero-support .p2esw-banner-cta{padding:10px;font-size:13px}}
