/*
 * Solaria V17 — canonical product devices and Growth Pack hierarchy.
 * This file intentionally loads after styles.css. It replaces the accumulated
 * device experiments with one stable iPhone geometry and one commercial source
 * of truth for the pricing surfaces.
 */

/* ──────────────────────────────────────────────────────────────────────────
   Shared iPhone geometry
   ────────────────────────────────────────────────────────────────────────── */

.panel-visual.phone-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 760px);
  min-width: 0;
  height: calc(100dvh - var(--header-h) - var(--footer-h) - 20px);
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: visible;
  transform: none !important;
}

.panel-visual.phone-stage .product-phone,
.panel-visual.phone-stage .automation-phone {
  --phone-edge: 48px;
  width: auto !important;
  height: min(78dvh, 740px, calc(100dvh - var(--header-h) - var(--footer-h) - 26px)) !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: 9.65 / 19.5 !important;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--phone-edge);
  background:
    linear-gradient(142deg, rgba(var(--case-rgb, 41, 121, 255), .42), rgba(255, 255, 255, .18) 34%, rgba(4, 5, 8, .9) 74%),
    #111319;
  box-shadow:
    0 38px 88px rgba(0, 0, 0, .62),
    0 0 64px rgba(var(--case-rgb, 41, 121, 255), .16),
    inset 0 0 0 1px rgba(255, 255, 255, .12);
  filter: none;
  transform: perspective(1400px) rotateY(-2.2deg) rotateZ(.18deg) !important;
  transform-origin: 50% 55%;
}

.panel-visual.phone-stage .product-phone::before,
.panel-visual.phone-stage .automation-phone::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 116px;
  left: -4px;
  width: 3px;
  height: 70px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(#777d88 0 24%, transparent 24% 36%, #777d88 36% 100%);
  box-shadow: 0 91px 0 #777d88;
}

.panel-visual.phone-stage .product-phone::after,
.panel-visual.phone-stage .automation-phone::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 150px;
  right: -4px;
  left: auto;
  width: 3px;
  height: 84px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: #777d88;
  box-shadow: none;
  backdrop-filter: none;
}

.panel-visual.phone-stage .product-phone .device-frame,
.panel-visual.phone-stage .automation-phone .device-frame {
  width: 100%;
  height: 100%;
  padding: 5px;
  overflow: hidden;
  border: 0;
  border-radius: calc(var(--phone-edge) - 5px);
  background: linear-gradient(145deg, #343740, #050608 25%, #171920 72%, #050608);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.panel-visual.phone-stage .product-phone .screen,
.panel-visual.phone-stage .automation-phone .screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: calc(var(--phone-edge) - 10px);
  background: #07080b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.panel-visual.phone-stage .product-phone .screen::after,
.panel-visual.phone-stage .automation-phone .screen::after,
.hero-phone-screen::after,
.app-phone .screen::after {
  content: "";
  position: absolute;
  z-index: 90;
  right: 50%;
  bottom: 7px;
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: .78;
  transform: translateX(50%);
  pointer-events: none;
}

.panel-visual.phone-stage .product-phone .device-frame::before,
.panel-visual.phone-stage .automation-phone .device-frame::before {
  z-index: 100;
  top: 12px;
  width: 90px;
  height: 25px;
  border-radius: 18px;
  background: #020203;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .055);
}

.phone-product-ui {
  position: relative;
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  padding: 45px 16px 18px;
  overflow: hidden;
  transform: none !important;
  transform-origin: 50% 50% !important;
}

.hero-phone-frame {
  position: relative;
}

.hero-phone-frame::before {
  content: "";
  position: absolute;
  z-index: 120;
  top: 12px;
  left: 50%;
  width: 90px;
  height: 25px;
  border-radius: 18px;
  background: #020203;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .055);
  transform: translateX(-50%);
}

.phone-status {
  position: absolute !important;
  z-index: 110 !important;
  top: 13px !important;
  right: 19px !important;
  left: 19px !important;
  width: auto !important;
  min-height: 14px;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  color: #f8fafc;
  background: transparent !important;
  font-size: 10px !important;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -.02em;
  pointer-events: none;
}

.phone-time {
  min-width: 42px;
  text-align: center;
}

.phone-status-icons {
  min-width: 43px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.phone-status-icons i {
  position: relative;
  flex: 0 0 auto;
  display: block;
  color: currentColor;
  font-style: normal;
}

.status-cellular {
  width: 13px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) 0 7px / 2px 3px no-repeat,
    linear-gradient(currentColor, currentColor) 4px 5px / 2px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 2px / 2px 8px no-repeat,
    linear-gradient(currentColor, currentColor) 12px 0 / 2px 10px no-repeat;
  border-radius: 1px;
}

.status-wifi {
  width: 13px;
  height: 10px;
  overflow: hidden;
}

.status-wifi::before,
.status-wifi::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 1.8px solid currentColor;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.status-wifi::before { top: -3px; width: 13px; height: 13px; }
.status-wifi::after { top: 2px; width: 6px; height: 6px; }

.status-battery {
  width: 19px;
  height: 9px;
  border: 1.4px solid currentColor;
  border-radius: 3px;
}

.status-battery::before {
  content: "";
  position: absolute;
  inset: 1.5px 2px;
  border-radius: 1px;
  background: currentColor;
}

.status-battery::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -3px;
  width: 2px;
  height: 4px;
  border-radius: 0 2px 2px 0;
  background: currentColor;
  opacity: .65;
}

/* ──────────────────────────────────────────────────────────────────────────
   Payback / Apple Wallet
   ────────────────────────────────────────────────────────────────────────── */

.payback-phone-ui {
  display: flex;
  flex-direction: column;
  padding: 39px 11px 14px !important;
  color: #121317;
  background: #f2f3f7;
}

.payback-phone-ui .phone-status {
  color: #111318 !important;
}

.payback-phone-ui .phone-app-title {
  position: relative;
  z-index: 12;
  flex: 0 0 36px;
  margin: 0 3px 7px !important;
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  color: #111318;
  font-size: 12px !important;
  font-weight: 720;
  text-align: center;
}

.payback-phone-ui .phone-app-title span {
  color: #1677ff;
  font-size: 24px;
  font-weight: 420;
  line-height: 1;
  text-align: left;
}

.payback-phone-ui .phone-app-title b {
  color: #1677ff;
  font-size: 11px;
  letter-spacing: 1px;
  text-align: right;
}

.wallet-in-phone {
  position: relative;
  z-index: 5;
  min-height: 0;
  flex: 1;
  display: grid !important;
  grid-template-rows: auto auto auto minmax(54px, 1fr) 58px auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(17, 24, 39, .1) !important;
  border-radius: 18px !important;
  color: #121317;
  background: #fff !important;
  box-shadow: 0 16px 38px rgba(29, 31, 39, .15) !important;
  transform: none !important;
}

.wallet-in-phone .wallet-top {
  min-height: 0 !important;
  padding: 17px 16px 13px !important;
  background: #fff !important;
}

.wallet-in-phone .wallet-brand {
  display: grid;
  color: #e51c2a !important;
  font-size: clamp(21px, 1.65vw, 28px) !important;
  font-weight: 880;
  letter-spacing: -.065em !important;
  line-height: .9;
}

.wallet-in-phone .wallet-brand small {
  margin-top: 7px !important;
  color: #91949c !important;
  font-size: 6px !important;
  font-weight: 820;
  letter-spacing: .15em !important;
}

.wallet-in-phone .wallet-stamps {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 9px 10px !important;
  padding: 13px 15px !important;
  background: #f1f1f1 !important;
}

.wallet-in-phone .wallet-stamps i {
  position: relative;
  width: 100% !important;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden !important;
  border: 2px solid #afb2b8 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1;
  transform: none;
}

.wallet-in-phone .wallet-stamps i::before {
  display: none !important;
}

.wallet-in-phone .wallet-stamps i::after {
  content: "" !important;
  width: 64% !important;
  height: 64% !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: transparent !important;
  background:
    radial-gradient(circle at 50% 27%, #fff 0 13%, transparent 14%),
    linear-gradient(#fff, #fff) 50% 100% / 20% 24% no-repeat,
    #ef1b24 !important;
  opacity: .18 !important;
  transform: scale(.82) !important;
}

.wallet-in-phone .wallet-stamps i.is-filled {
  border-color: #aeb0b5 !important;
  animation: wallet-stamp-in 420ms cubic-bezier(.16, 1, .3, 1) both !important;
}

.wallet-in-phone .wallet-stamps i.is-filled::after {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.wallet-in-phone .wallet-stamps i:nth-child(2) { animation-delay: 45ms !important; }
.wallet-in-phone .wallet-stamps i:nth-child(3) { animation-delay: 90ms !important; }
.wallet-in-phone .wallet-stamps i:nth-child(4) { animation-delay: 135ms !important; }
.wallet-in-phone .wallet-stamps i:nth-child(5) { animation-delay: 180ms !important; }
.wallet-in-phone .wallet-stamps i:nth-child(6) { animation-delay: 225ms !important; }
.wallet-in-phone .wallet-stamps i:nth-child(7) { animation-delay: 270ms !important; }
.wallet-in-phone .wallet-stamps i:nth-child(8) { animation-delay: 315ms !important; }

@keyframes wallet-stamp-in {
  0% { opacity: .25; transform: translateY(-8px) scale(1.18); }
  70% { opacity: 1; transform: translateY(1px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.wallet-in-phone .wallet-meta {
  display: grid !important;
  grid-template-columns: .95fr 1.2fr !important;
  gap: 12px !important;
  padding: 12px 14px 2px !important;
  background: #fff !important;
}

.wallet-in-phone .wallet-meta span {
  display: block;
  overflow: hidden;
  color: #24262c !important;
  font-size: 6px !important;
  font-weight: 820 !important;
  line-height: 1.15;
  letter-spacing: .015em !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-in-phone .wallet-meta b {
  display: block;
  margin-top: 5px !important;
  color: #141519 !important;
  font-size: 18px !important;
  font-weight: 430 !important;
  line-height: 1;
}

.wallet-in-phone .wallet-meta b small {
  font-size: 10px !important;
  font-weight: 430 !important;
}

.wallet-in-phone .wallet-barcode {
  align-self: end;
  width: auto !important;
  height: 48px !important;
  margin: 0 22px 7px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(90deg,
      #111 0 3%, transparent 3% 5%, #111 5% 7%, transparent 7% 9%,
      #111 9% 14%, transparent 14% 16%, #111 16% 18%, transparent 18% 22%,
      #111 22% 26%, transparent 26% 28%, #111 28% 31%, transparent 31% 35%,
      #111 35% 42%, transparent 42% 45%, #111 45% 48%, transparent 48% 52%,
      #111 52% 58%, transparent 58% 61%, #111 61% 64%, transparent 64% 69%,
      #111 69% 73%, transparent 73% 76%, #111 76% 83%, transparent 83% 87%,
      #111 87% 90%, transparent 90% 94%, #111 94% 100%) !important;
  opacity: 1 !important;
}

.wallet-in-phone .wallet-powered {
  padding: 0 10px 12px !important;
  color: #24262c !important;
  font-size: 7px !important;
  line-height: 1;
  text-align: center;
}

.payback-phone-ui .phone-notification {
  position: absolute !important;
  z-index: 120 !important;
  top: 42px !important;
  right: 8px !important;
  bottom: auto !important;
  left: 8px !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px !important;
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) auto !important;
  align-items: start;
  gap: 8px !important;
  border: 1px solid rgba(255, 255, 255, .82) !important;
  border-radius: 15px !important;
  color: #17181c !important;
  background: rgba(250, 250, 252, .95) !important;
  box-shadow: 0 14px 38px rgba(20, 22, 29, .28) !important;
  backdrop-filter: blur(22px) saturate(1.25);
  opacity: 0;
  transform: translateY(-18px) scale(.97);
  transform-origin: 50% 0;
}

#payback.is-active .phone-notification {
  animation: solaria-notification-in 520ms cubic-bezier(.16, 1, .3, 1) 620ms both !important;
}

@keyframes solaria-notification-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.payback-phone-ui .phone-notification i {
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  display: grid;
  place-items: center;
  border-radius: 8px !important;
  color: #fff !important;
  background: #ed1b2a !important;
  font-size: 11px !important;
  font-weight: 850;
  font-style: normal;
}

.payback-phone-ui .phone-notification div {
  min-width: 0;
  padding-right: 2px;
}

.payback-phone-ui .phone-notification b,
.payback-phone-ui .phone-notification span {
  display: block !important;
  min-width: 0;
}

.payback-phone-ui .phone-notification b {
  overflow: hidden;
  font-size: 9px !important;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payback-phone-ui .phone-notification span {
  margin-top: 3px;
  color: #4c4f57 !important;
  font-size: 8px !important;
  line-height: 1.25;
}

.payback-phone-ui .phone-notification time {
  color: #777982 !important;
  font-size: 7px !important;
  line-height: 1.2;
  white-space: nowrap;
}

.push-route {
  position: absolute !important;
  z-index: 18;
  top: 14% !important;
  right: 0 !important;
  bottom: auto !important;
  display: flex !important;
  align-items: center;
  pointer-events: none;
}

.push-route > i {
  position: relative;
  width: clamp(38px, 5vw, 76px) !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #f5c842) !important;
}

.push-route > i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #f5c842;
  border-right: 1px solid #f5c842;
  transform: rotate(45deg);
}

.push-route > span {
  min-width: 138px;
  display: grid;
  gap: 2px;
  padding: 10px 12px !important;
  border: 1px solid rgba(245, 200, 66, .3);
  border-radius: 13px;
  color: #fff;
  background: rgba(7, 7, 11, .76);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .34);
  backdrop-filter: blur(18px);
}

.push-route small { color: #f5c842 !important; font-size: 6px !important; font-weight: 820; letter-spacing: .13em !important; }
.push-route b { font-size: 10px !important; }
.push-route em { color: rgba(255, 255, 255, .58) !important; font-size: 7px !important; font-style: normal !important; }

/* ──────────────────────────────────────────────────────────────────────────
   Agente Chat / WhatsApp
   ────────────────────────────────────────────────────────────────────────── */

.agent-phone-ui {
  display: flex !important;
  flex-direction: column;
  padding: 38px 0 13px !important;
  color: #111b21;
  background:
    radial-gradient(circle at 18% 24%, rgba(92, 111, 101, .08) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 62%, rgba(92, 111, 101, .07) 0 1px, transparent 2px),
    #efeae2 !important;
  background-size: 31px 31px, 38px 38px, auto !important;
}

.agent-phone-ui .phone-status {
  color: #101316 !important;
}

.whatsapp-bar {
  display: none !important;
}

.mobile-chat-head {
  position: relative;
  z-index: 12;
  flex: 0 0 58px;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  display: grid !important;
  grid-template-columns: 22px 36px minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 7px !important;
  border-bottom: 1px solid rgba(17, 27, 33, .1);
  color: #111b21 !important;
  background: rgba(248, 249, 250, .96) !important;
  box-shadow: 0 1px 0 rgba(17, 27, 33, .05);
}

.wa-back {
  width: 22px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #00a884 !important;
}

.wa-back svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-chat-head .chat-avatar {
  width: 36px !important;
  height: 36px !important;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 168, 132, .22);
  border-radius: 50%;
  color: #067867 !important;
  background: linear-gradient(145deg, #e8fff7, #c8f4e7) !important;
  font-size: 13px !important;
  font-weight: 820;
}

.wa-contact {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.mobile-chat-head .wa-contact b {
  overflow: hidden;
  color: #111b21 !important;
  font-size: 10px !important;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-chat-head .wa-contact span {
  color: #667781 !important;
  font-size: 7px !important;
  line-height: 1;
}

.wa-tools {
  min-width: 49px;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: #00a884 !important;
}

.wa-tools svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wa-channel-label {
  align-self: center;
  margin: 8px 0 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4e5f58;
  font-size: 6px;
  line-height: 1;
}

.wa-channel-label i {
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 1px rgba(37, 211, 102, .35);
}

.wa-channel-label b { color: #126f5c; font-size: 7px; }
.wa-channel-label span { color: #6d7a74; }

.wa-date {
  align-self: center;
  margin: 2px 0;
  padding: 4px 7px;
  border-radius: 6px;
  color: #667781;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 1px 1px rgba(11, 20, 26, .08);
  font-size: 6px;
  font-weight: 760;
  letter-spacing: .06em;
}

.wa-encryption {
  align-self: center;
  max-width: 82% !important;
  margin: 2px 0 5px !important;
  padding: 5px 7px !important;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 7px !important;
  color: #667781 !important;
  background: #fff4c5 !important;
  font-size: 6px !important;
  line-height: 1.25 !important;
  text-align: center;
}

.wa-encryption svg {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.agent-phone-ui .phone-bubble {
  position: relative;
  max-width: 79% !important;
  margin: 3px 10px !important;
  padding: 8px 9px 15px !important;
  border: 0 !important;
  border-radius: 9px !important;
  color: #111b21 !important;
  background: #fff !important;
  box-shadow: 0 1px 1px rgba(11, 20, 26, .14) !important;
  font-size: 9px !important;
  line-height: 1.35 !important;
}

.agent-phone-ui .phone-bubble.in { align-self: flex-start; }

.agent-phone-ui .phone-bubble.out {
  align-self: flex-end;
  background: #d9fdd3 !important;
}

.agent-phone-ui .phone-bubble small {
  position: absolute;
  right: 6px;
  bottom: 4px;
  color: #667781;
  font-size: 6px;
  font-weight: 500;
  white-space: nowrap;
}

.agent-phone-ui .phone-bubble small b {
  color: #53bdeb;
  font-size: 6px;
  letter-spacing: -.12em;
}

.agent-phone-ui .crm-confirm {
  align-self: center;
  margin: 5px 9px 0 !important;
  padding: 5px 8px !important;
  border: 1px solid rgba(18, 140, 126, .2) !important;
  border-radius: 999px !important;
  color: #087b6b !important;
  background: rgba(255, 255, 255, .9) !important;
  font-size: 6px !important;
  line-height: 1.2;
}

.agent-phone-ui .phone-compose {
  flex: 0 0 38px;
  min-height: 38px !important;
  margin: auto 7px 1px !important;
  padding: 5px 6px 5px 10px !important;
  display: grid !important;
  grid-template-columns: 19px minmax(0, 1fr) 30px !important;
  align-items: center;
  gap: 5px;
  border: 0 !important;
  border-radius: 999px !important;
  color: #667781 !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(11, 20, 26, .12) !important;
  font-size: 8px;
}

.agent-phone-ui .phone-compose > i {
  color: #00a884;
  font-size: 18px;
  font-style: normal;
  font-weight: 350;
  line-height: 1;
}

.agent-phone-ui .phone-compose b {
  width: 30px !important;
  height: 30px !important;
  display: grid;
  place-items: center;
  border-radius: 50% !important;
  color: #fff !important;
  background: #00a884 !important;
}

.agent-phone-ui .phone-compose b svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.channel-orbit {
  width: min(80%, 430px) !important;
  aspect-ratio: 1;
}

/* ──────────────────────────────────────────────────────────────────────────
   Remaining product phones inherit the same safe area
   ────────────────────────────────────────────────────────────────────────── */

.voice-phone-ui,
.growth-phone-ui,
.app-chat-ui {
  width: 100% !important;
  height: 100% !important;
  padding-top: 45px !important;
  transform: none !important;
  transform-origin: 50% 50% !important;
}

.voice-phone-ui .phone-status,
.growth-phone-ui .phone-status {
  color: #f8fafc !important;
}

.growth-phone-ui {
  overflow: hidden !important;
}

.voice-phone-ui .voice-actions {
  margin-top: auto !important;
  padding-bottom: 2px;
}

.voice-phone-ui .voice-actions .hangup {
  position: static !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
}

.app-chat-ui {
  color: #101828 !important;
  background: #f7f8fa !important;
}

.app-chat-ui .phone-status,
.app-chat-ui .app-chat-brand {
  color: #101828 !important;
}

.app-chat-ui .app-kpis span,
.app-chat-ui .phone-bubble,
.app-chat-ui .phone-compose {
  border-color: #e4e7ec !important;
  color: #344054 !important;
  background: #fff !important;
}

.app-chat-ui .phone-bubble.out {
  color: #42307d !important;
  background: #eeecff !important;
}

.solaria-dashboard-ui {
  grid-template-columns: 128px minmax(0, 1fr) !important;
  grid-template-rows: 1fr !important;
  gap: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  background: #f6f7f9 !important;
}

.solaria-dashboard-ui .dash-sidebar {
  display: flex !important;
  color: #667085 !important;
  background: #fff !important;
}

.solaria-dashboard-ui .dash-workspace {
  display: grid !important;
  grid-template-rows: auto auto 1fr auto !important;
  color: #101828 !important;
}

.solaria-dashboard-ui .dash-kpis > span,
.solaria-dashboard-ui .dash-chart,
.solaria-dashboard-ui .dash-ai {
  border-color: #eaecf0 !important;
  color: #101828 !important;
  background: #fff !important;
}

.solaria-dashboard-ui .dash-ai {
  border-color: #d9d6fe !important;
  background: #f4f3ff !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   Growth Packs — every visible surface uses the same hierarchy
   ────────────────────────────────────────────────────────────────────────── */

.real-pack {
  min-height: 0 !important;
}

.packs-panel .packs-layout {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.real-pack .pack-fit {
  margin: 12px 0 0;
  padding: 10px 11px;
  display: grid;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .035);
  font-size: .56rem;
  line-height: 1.38;
}

.real-pack .pack-fit span {
  color: #d29cff;
  font-size: .44rem;
  font-weight: 820;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.real-pack .pack-feature-label {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: .51rem;
  font-weight: 820;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.real-pack ul {
  display: flex !important;
  margin-top: 9px !important;
}

.real-pack li {
  padding-left: 16px;
}

.real-pack li::before {
  content: "" !important;
  top: .42em;
  width: 6px;
  height: 6px;
  border: 1px solid #7cf0a6;
  border-radius: 50%;
  background: rgba(74, 222, 128, .18);
}

.packs-table-wrap td {
  line-height: 1.35;
}

#payback .product-phone .screen::after,
#agentes-ia .product-phone .screen::after,
#solaria-app .app-phone .screen::after {
  background: #111318;
}

/* ──────────────────────────────────────────────────────────────────────────
   Compact desktop and tablet heights
   ────────────────────────────────────────────────────────────────────────── */

@media (max-height: 760px) and (min-width: 761px) {
  .panel-visual.phone-stage {
    height: calc(100dvh - var(--header-h) - var(--footer-h) - 12px);
    min-height: 0;
  }

  .panel-visual.phone-stage .product-phone,
  .panel-visual.phone-stage .automation-phone {
    height: calc(100dvh - var(--header-h) - var(--footer-h) - 18px) !important;
  }

  .real-pack {
    padding: 18px !important;
  }

  .real-pack .pack-fit {
    margin-top: 8px;
    padding: 7px 8px;
  }

  .real-pack .pack-feature-label {
    margin-top: 9px;
  }

  .real-pack ul {
    gap: 5px !important;
    margin-bottom: 10px !important;
  }

  .real-pack li {
    font-size: .56rem !important;
  }
}

@media (min-width: 761px) and (max-width: 1020px) {
  .panel-inner:has(.phone-stage) {
    grid-template-columns: minmax(330px, .95fr) minmax(300px, .8fr) !important;
    gap: 20px !important;
  }

  .panel-visual.phone-stage .product-phone,
  .panel-visual.phone-stage .automation-phone {
    height: min(64dvh, 650px) !important;
  }

  #payback .phone-stage,
  #agentes-ia .phone-stage {
    transform: none !important;
  }

  #solaria-app .solaria-dashboard-ui {
    grid-template-columns: 82px minmax(0, 1fr) !important;
  }

  .packs-panel .packs-layout {
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Mobile: full content remains reachable; the phone never touches the nav
   ────────────────────────────────────────────────────────────────────────── */

@media (max-width: 760px) {
  .site-header .sound-toggle {
    width: 31px !important;
    min-width: 31px !important;
    height: 31px !important;
    display: inline-grid !important;
    place-items: center;
    padding: 0 !important;
    border-radius: 50%;
  }

  .site-header .sound-state {
    display: none !important;
  }

  .panel-visual.phone-stage {
    width: 100%;
    height: 100%;
    min-height: 0;
    align-items: start;
    padding-top: 4px;
    transform: none !important;
  }

  .panel-visual.phone-stage .product-phone,
  .panel-visual.phone-stage .automation-phone {
    --phone-edge: 39px;
    height: min(50dvh, 445px) !important;
    max-width: none !important;
    transform: perspective(1000px) rotateY(-1deg) rotateZ(.08deg) !important;
  }

  .panel-visual.phone-stage .product-phone .device-frame::before,
  .panel-visual.phone-stage .automation-phone .device-frame::before {
    top: 10px;
    width: 72px;
    height: 21px;
  }

  .phone-product-ui {
    padding-top: 40px;
  }

  .phone-status {
    top: 11px !important;
    right: 15px !important;
    left: 15px !important;
    font-size: 8px !important;
  }

  .phone-time { min-width: 34px; }
  .phone-status-icons { min-width: 36px; gap: 4px; transform: scale(.83); transform-origin: right center; }

  .payback-phone-ui {
    padding: 34px 8px 11px !important;
  }

  .payback-phone-ui .phone-app-title {
    flex-basis: 29px;
    margin-bottom: 4px !important;
    font-size: 9px !important;
  }

  .wallet-in-phone {
    grid-template-rows: auto auto auto minmax(32px, 1fr) 34px auto !important;
    border-radius: 13px !important;
  }

  .wallet-in-phone .wallet-top { padding: 9px 10px 7px !important; }
  .wallet-in-phone .wallet-brand { font-size: 14px !important; }
  .wallet-in-phone .wallet-brand small { margin-top: 3px !important; font-size: 4px !important; }
  .wallet-in-phone .wallet-stamps { gap: 4px 5px !important; padding: 7px 9px !important; }
  .wallet-in-phone .wallet-stamps i { border-width: 1px !important; }
  .wallet-in-phone .wallet-meta { gap: 6px !important; padding: 7px 8px 1px !important; }
  .wallet-in-phone .wallet-meta span { font-size: 4px !important; }
  .wallet-in-phone .wallet-meta b { margin-top: 3px !important; font-size: 11px !important; }
  .wallet-in-phone .wallet-meta b small { font-size: 6px !important; }
  .wallet-in-phone .wallet-barcode { height: 27px !important; margin: 0 12px 4px !important; }
  .wallet-in-phone .wallet-powered { padding-bottom: 8px !important; font-size: 5px !important; }

  .payback-phone-ui .phone-notification {
    top: 35px !important;
    right: 5px !important;
    left: 5px !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    gap: 6px !important;
    padding: 7px !important;
    border-radius: 11px !important;
  }

  .payback-phone-ui .phone-notification i { width: 22px !important; height: 22px !important; font-size: 8px !important; }
  .payback-phone-ui .phone-notification div { padding-right: 19px; }
  .payback-phone-ui .phone-notification b { font-size: 7px !important; }
  .payback-phone-ui .phone-notification span { font-size: 6px !important; }
  .payback-phone-ui .phone-notification time { position: absolute; top: 7px; right: 7px; font-size: 5px !important; }

  .push-route {
    top: 8% !important;
    right: 2px !important;
  }

  .push-route > i { width: 28px !important; }
  .push-route > span { min-width: 104px; padding: 7px 8px !important; border-radius: 10px; }
  .push-route small { font-size: 4px !important; }
  .push-route b { font-size: 7px !important; }
  .push-route em { font-size: 5px !important; }

  #payback .payback-return,
  #payback .reward-pulse {
    display: none !important;
  }

  .agent-phone-ui {
    padding-top: 33px !important;
  }

  .mobile-chat-head {
    flex-basis: 47px;
    min-height: 47px !important;
    grid-template-columns: 18px 29px minmax(0, 1fr) auto !important;
    gap: 5px !important;
    padding: 5px 7px !important;
  }

  .wa-back { width: 18px; height: 38px; }
  .wa-back svg { width: 18px; height: 18px; }
  .mobile-chat-head .chat-avatar { width: 29px !important; height: 29px !important; font-size: 10px !important; }
  .mobile-chat-head .wa-contact b { font-size: 8px !important; }
  .mobile-chat-head .wa-contact span { font-size: 5px !important; }
  .wa-tools { min-width: 38px; gap: 6px; }
  .wa-tools svg { width: 14px; height: 14px; }
  .wa-channel-label { margin-top: 5px; font-size: 4px; }
  .wa-channel-label i { width: 8px; height: 8px; border-width: 1px; }
  .wa-channel-label b { font-size: 5px; }
  .wa-date { padding: 3px 5px; font-size: 4px; }
  .wa-encryption { margin-bottom: 3px !important; padding: 3px 5px !important; font-size: 4px !important; }

  .agent-phone-ui .phone-bubble {
    margin: 2px 7px !important;
    padding: 5px 6px 11px !important;
    border-radius: 7px !important;
    font-size: 6px !important;
  }

  .agent-phone-ui .phone-bubble small { right: 4px; bottom: 3px; font-size: 4px; }
  .agent-phone-ui .phone-bubble small b { font-size: 4px; }
  .agent-phone-ui .crm-confirm { margin-top: 3px !important; padding: 3px 6px !important; font-size: 4px !important; }
  .agent-phone-ui .phone-compose { flex-basis: 30px; min-height: 30px !important; grid-template-columns: 14px 1fr 23px !important; margin-right: 5px !important; margin-left: 5px !important; font-size: 6px; }
  .agent-phone-ui .phone-compose > i { font-size: 14px; }
  .agent-phone-ui .phone-compose b { width: 23px !important; height: 23px !important; }
  .agent-phone-ui .phone-compose b svg { width: 11px; height: 11px; }

  #agentes-ia .chat-proof {
    right: 3px !important;
    bottom: 12px !important;
  }

  #agentes-ia .channel-orbit {
    width: min(72vw, 310px) !important;
  }

  .voice-phone-ui,
  .growth-phone-ui,
  .app-chat-ui {
    padding-top: 40px !important;
  }

  .voice-phone-ui .voice-actions .hangup {
    width: 43px !important;
    height: 43px !important;
  }

  #solaria-app .solaria-dashboard-ui {
    grid-template-columns: 74px minmax(0, 1fr) !important;
  }

  .packs-panel .packs-layout {
    overflow-y: auto !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
    scrollbar-width: thin;
  }

  .packs-panel .packs-heading {
    flex: 0 0 auto;
  }

  .packs-panel .real-packs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    overflow: visible !important;
    padding-right: 2px;
  }

  .packs-panel .real-pack {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .packs-panel .real-pack h3 {
    margin-top: 7px !important;
    font-size: .68rem !important;
  }

  .packs-panel .real-pack .pack-fit {
    margin-top: 8px;
    padding: 7px 8px;
    font-size: .53rem;
  }

  .packs-panel .real-pack .pack-feature-label {
    margin-top: 10px;
  }

  .packs-panel .real-pack ul {
    gap: 5px !important;
    margin: 7px 0 10px !important;
  }

  .packs-panel .real-pack li {
    font-size: .55rem !important;
    line-height: 1.35;
  }

  .packs-panel .pack-actions a {
    min-height: 38px !important;
  }

  .packs-comparison-panel .packs-table-wrap table {
    width: 820px !important;
    min-width: 820px !important;
  }

  .packs-comparison-panel .packs-table-wrap th:first-child {
    width: 250px !important;
  }
}

@media (max-width: 760px) and (max-height: 760px) {
  .panel-visual.phone-stage .product-phone,
  .panel-visual.phone-stage .automation-phone {
    height: min(48dvh, 360px) !important;
  }

  #agentes-ia .chat-proof {
    display: none !important;
  }

  .packs-panel .packs-layout {
    padding-top: calc(var(--header-h) + 9px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #payback.is-active .phone-notification {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .wallet-in-phone .wallet-stamps i.is-filled {
    animation: none !important;
  }

  .panel-visual.phone-stage .product-phone,
  .panel-visual.phone-stage .automation-phone {
    transform: none !important;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Solaria V20 — pearl devices and light product surfaces.
   Dark cinematic chapters remain the stage; every phone becomes the bright,
   legible product object. Payback owns a notification shelf above its pass.
   ────────────────────────────────────────────────────────────────────────── */

#payback .product-phone,
#agentes-ia .product-phone,
#agentes-voz .product-phone,
#automatizacion .product-phone,
.hero-phone {
  border-color: rgba(255, 255, 255, .9) !important;
  background:
    linear-gradient(145deg, #ffffff 0%, #eef0f4 24%, #b9bec8 57%, #fafbfc 82%, #d5d9e0 100%) !important;
  box-shadow:
    0 38px 88px rgba(0, 0, 0, .56),
    0 0 54px rgba(255, 255, 255, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .72) !important;
}

#payback .product-phone::before,
#agentes-ia .product-phone::before,
#agentes-voz .product-phone::before,
#automatizacion .product-phone::before,
#payback .product-phone::after,
#agentes-ia .product-phone::after,
#agentes-voz .product-phone::after,
#automatizacion .product-phone::after {
  background-color: #c8ccd3 !important;
}

.status-battery-percent {
  width: 25px !important;
  height: 12px !important;
  display: grid !important;
  place-items: center;
  border: 0 !important;
  border-radius: 6px !important;
  color: #fff !important;
  background: #111318 !important;
  font-size: 6px !important;
  font-weight: 820;
  line-height: 1;
}

.status-battery-percent::before,
.status-battery-percent::after {
  display: none !important;
}

.status-battery-percent span {
  display: block;
  transform: translateY(.2px);
}

/* Payback: status + push live on their own shelf. The real Wallet capture is
   lowered intact, so MINISO is never hidden by the notification. */
#payback .payback-phone-ui {
  --wallet-drop: 8.5%;
}

#payback .phone-status {
  z-index: 160 !important;
  display: flex !important;
  color: #111318 !important;
}

#payback .wallet-reference-pass::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: var(--wallet-drop);
  background: linear-gradient(180deg, #f7f8fb, #f2f3f8);
  pointer-events: none;
}

#payback .wallet-reference-pass > img {
  top: var(--wallet-drop);
  bottom: auto;
  height: 100%;
}

#payback .wallet-live-stamps {
  top: calc(14.25% + var(--wallet-drop));
}

#payback .wallet-reference-credit {
  top: calc(63.15% + var(--wallet-drop));
}

#payback .phone-notification {
  top: 45px !important;
  box-shadow: 0 12px 30px rgba(15, 17, 23, .16) !important;
}

/* Voice: same light iOS family as Chat, retaining blue as a functional signal. */
#agentes-voz .product-phone,
#automatizacion .product-phone {
  container-type: inline-size;
  aspect-ratio: 402 / 874 !important;
}

#agentes-voz .voice-phone-ui {
  color: #101828 !important;
  background:
    radial-gradient(circle at 50% 20%, rgba(41, 121, 255, .13), transparent 31%),
    linear-gradient(180deg, #ffffff, #f4f7fb 72%, #eef2f6) !important;
}

#agentes-voz .voice-phone-ui .phone-status {
  color: #111318 !important;
}

#agentes-voz .ios-call-label {
  color: #667085 !important;
  font-weight: 650;
  letter-spacing: .04em;
}

#agentes-voz .voice-orbit {
  border-color: rgba(41, 121, 255, .25) !important;
  background: rgba(255, 255, 255, .78);
  box-shadow:
    inset 0 0 24px rgba(41, 121, 255, .1),
    0 18px 42px rgba(41, 121, 255, .12) !important;
}

#agentes-voz .voice-orbit::before,
#agentes-voz .voice-orbit::after {
  border-color: rgba(41, 121, 255, .18) !important;
}

#agentes-voz .voice-orbit b,
#agentes-voz .voice-phone-ui h3 {
  color: #101828 !important;
}

#agentes-voz .voice-phone-ui > p {
  color: #667085 !important;
}

#agentes-voz .voice-transcript {
  border-color: #e4e7ec !important;
  color: #344054 !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .06);
}

#agentes-voz .voice-transcript small {
  color: #1769d2 !important;
}

#agentes-voz .voice-result {
  border: 1px solid #c6efd3;
  color: #101828 !important;
  background: #ecfdf3 !important;
}

#agentes-voz .voice-result small {
  color: #667085 !important;
}

#agentes-voz .voice-actions,
#agentes-voz .voice-actions i {
  color: #667085 !important;
}

#agentes-voz .voice-actions i b {
  border-color: #d0d5dd !important;
  color: #344054 !important;
  background: #fff !important;
  box-shadow: 0 5px 14px rgba(16, 24, 40, .08);
}

#agentes-voz .voice-actions .hangup {
  color: #fff !important;
  background: #f04438 !important;
  box-shadow: 0 9px 22px rgba(240, 68, 56, .24) !important;
}

/* Automation is also a phone: it uses the same light shell rather than a
   separate dark mini-landing inside the device. */
#automatizacion .growth-phone-ui {
  color: #101828 !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 107, 0, .1), transparent 33%),
    linear-gradient(180deg, #ffffff, #f7f8fa) !important;
}

#automatizacion .growth-phone-ui .phone-status {
  color: #111318 !important;
}

#automatizacion .growth-head {
  border-bottom-color: #eaecf0 !important;
}

#automatizacion .growth-head b {
  color: #101828 !important;
}

#automatizacion .growth-head small,
#automatizacion .growth-answer p,
#automatizacion .channel-strip,
#automatizacion .approval-card > small {
  color: #667085 !important;
}

#automatizacion .growth-answer {
  border-color: #e4e7ec !important;
  color: #101828 !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .06);
}

#automatizacion .growth-answer span {
  color: #b54708 !important;
}

#automatizacion .approval-card {
  border-color: #d9d6fe !important;
  color: #101828 !important;
  background: #f4f3ff !important;
}

#automatizacion .approval-card > span {
  color: #6938ef !important;
}

#automatizacion .approval-card button + button {
  color: #344054 !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px #d0d5dd;
}

#automatizacion .approval-card.is-approved {
  border-color: #abefc6 !important;
  background: #ecfdf3 !important;
}

#automatizacion .approval-card.is-approved > span {
  color: #067647 !important;
}

/* The first and final product phones already use light data surfaces. Their
   shells now match the pearl hardware language as well. */
.hero-phone-screen {
  color: #101828 !important;
  background:
    radial-gradient(circle at 50% 34%, rgba(41, 121, 255, .11), transparent 29%),
    radial-gradient(circle at 70% 61%, rgba(245, 200, 66, .11), transparent 25%),
    linear-gradient(180deg, #ffffff, #f4f7fb) !important;
}

.hero-phone-screen .phone-status,
.hero-app-head > span,
.hero-phone-screen > h3 {
  color: #101828 !important;
}

.hero-app-head small,
.hero-metric-row small {
  color: #667085 !important;
}

.hero-phone-screen > p {
  color: #9a6700 !important;
}

.hero-living-core::before,
.hero-living-core::after,
.hero-living-core i {
  border-color: rgba(16, 24, 40, .16) !important;
}

.hero-living-core b {
  color: #101828;
}

.hero-metric-row span,
.hero-chat {
  border-color: #e4e7ec !important;
  color: #344054;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 7px 18px rgba(16, 24, 40, .06);
}

@media (max-width: 760px) {
  #payback .payback-phone-ui {
    --wallet-drop: 9%;
  }

  #payback .phone-notification {
    top: 39px !important;
  }

  #agentes-voz .product-phone,
  #automatizacion .product-phone {
    height: min(57dvh, 490px) !important;
    transform: none !important;
  }
}

@media (max-width: 760px) and (max-height: 740px) {
  #agentes-voz .product-phone,
  #automatizacion .product-phone {
    height: min(52dvh, 380px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #agentes-voz .voice-orbit::after {
    animation: none !important;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Solaria V18 — Payback and Chat rebuilt on a proportional device canvas.
   These rules are intentionally last: older visual explorations must not
   compress either product surface or alter its internal safe areas.
   ────────────────────────────────────────────────────────────────────────── */

#payback .product-phone,
#agentes-ia .product-phone {
  container-type: inline-size;
  height: min(80dvh, 760px, calc(100dvh - var(--header-h) - var(--footer-h) - 18px)) !important;
  transform: perspective(1400px) rotateY(-1deg) !important;
}

#payback .phone-stage,
#agentes-ia .phone-stage {
  transform: none !important;
}

/* Payback follows the real Wallet hierarchy from IMG_5385: one dominant pass,
   two subtle cards behind it and a notification entering from the OS edge. */
#payback .payback-phone-ui {
  padding: 48px 12px 17px !important;
  overflow: hidden !important;
}

#payback .phone-app-title {
  display: none !important;
}

#payback .wallet-stack {
  position: relative;
  z-index: 4;
  flex: 1 1 auto;
  min-height: 0;
  padding-bottom: 14px;
}

#payback .wallet-stack::before,
#payback .wallet-stack::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 5px;
  left: 5%;
  height: 32px;
  border: 1px solid rgba(17, 24, 39, .09);
  border-radius: 0 0 17px 17px;
  background: #9ae4d4;
  box-shadow: 0 8px 18px rgba(30, 41, 59, .08);
}

#payback .wallet-stack::after {
  right: 9%;
  bottom: 0;
  left: 9%;
  background: #ffe0e2;
}

#payback .wallet-in-phone {
  position: relative;
  z-index: 3;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  display: grid !important;
  grid-template-rows: auto auto auto minmax(42px, 1fr) auto auto !important;
  overflow: hidden !important;
  border-radius: clamp(16px, 5cqw, 22px) !important;
}

#payback .wallet-top {
  padding: clamp(16px, 5.2cqw, 22px) clamp(15px, 5cqw, 21px) clamp(13px, 4cqw, 18px) !important;
}

#payback .wallet-brand {
  font-size: clamp(25px, 8.8cqw, 35px) !important;
  line-height: .9 !important;
}

#payback .wallet-brand small {
  margin-top: clamp(5px, 1.8cqw, 8px) !important;
  font-size: clamp(5px, 1.7cqw, 7px) !important;
}

#payback .wallet-stamps {
  gap: clamp(7px, 2.5cqw, 11px) clamp(8px, 2.8cqw, 12px) !important;
  padding: clamp(12px, 4cqw, 17px) clamp(14px, 4.5cqw, 19px) !important;
}

#payback .wallet-meta {
  gap: clamp(8px, 3cqw, 13px) !important;
  padding: clamp(11px, 3.5cqw, 15px) clamp(13px, 4cqw, 18px) 2px !important;
}

#payback .wallet-meta span {
  font-size: clamp(5px, 1.75cqw, 7px) !important;
}

#payback .wallet-meta b {
  margin-top: clamp(4px, 1.5cqw, 7px) !important;
  font-size: clamp(17px, 5.8cqw, 23px) !important;
}

#payback .wallet-meta b small {
  font-size: clamp(9px, 3.1cqw, 12px) !important;
}

#payback .wallet-space {
  min-height: 30px;
  background: #fff;
}

#payback .wallet-barcode {
  height: clamp(45px, 16cqw, 64px) !important;
  margin: 0 clamp(18px, 6cqw, 26px) clamp(7px, 2cqw, 10px) !important;
}

#payback .wallet-powered {
  padding-bottom: clamp(11px, 3.5cqw, 15px) !important;
  font-size: clamp(6px, 2.1cqw, 8px) !important;
}

#payback .phone-notification {
  top: 47px !important;
  right: 10px !important;
  left: 10px !important;
  padding: clamp(9px, 3cqw, 12px) !important;
  grid-template-columns: clamp(28px, 9cqw, 36px) minmax(0, 1fr) auto !important;
  gap: clamp(7px, 2.3cqw, 10px) !important;
}

#payback .phone-notification i {
  width: clamp(28px, 9cqw, 36px) !important;
  height: clamp(28px, 9cqw, 36px) !important;
}

#payback .phone-notification b {
  font-size: clamp(8px, 2.7cqw, 11px) !important;
}

#payback .phone-notification span {
  font-size: clamp(7px, 2.25cqw, 9px) !important;
}

/* Chat owns a bounded transcript region. The composer can never be pushed
   below the phone and every horizontal edge shares the same 10px gutter. */
#agentes-ia .agent-phone-ui {
  padding: 39px 0 16px !important;
  overflow: hidden !important;
}

#agentes-ia .mobile-chat-head {
  flex: 0 0 clamp(58px, 18cqw, 70px) !important;
  min-height: 0 !important;
  padding: clamp(8px, 2.6cqw, 11px) clamp(9px, 3cqw, 12px) !important;
  grid-template-columns: clamp(22px, 6.5cqw, 27px) clamp(36px, 11cqw, 44px) minmax(0, 1fr) auto !important;
  gap: clamp(6px, 2cqw, 9px) !important;
}

#agentes-ia .mobile-chat-head .chat-avatar {
  width: clamp(36px, 11cqw, 44px) !important;
  height: clamp(36px, 11cqw, 44px) !important;
  font-size: clamp(12px, 3.7cqw, 15px) !important;
}

#agentes-ia .mobile-chat-head .wa-contact b {
  font-size: clamp(9px, 3cqw, 12px) !important;
}

#agentes-ia .mobile-chat-head .wa-contact span {
  font-size: clamp(6px, 2cqw, 8px) !important;
}

#agentes-ia .wa-conversation {
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(7px, 2.3cqw, 10px) clamp(9px, 3cqw, 12px) 5px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(4px, 1.4cqw, 6px);
  overflow: hidden;
}

#agentes-ia .wa-channel-label,
#agentes-ia .wa-date,
#agentes-ia .wa-encryption {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#agentes-ia .wa-channel-label {
  font-size: clamp(5px, 1.7cqw, 7px) !important;
}

#agentes-ia .wa-channel-label b {
  font-size: clamp(6px, 2cqw, 8px) !important;
}

#agentes-ia .wa-date {
  font-size: clamp(5px, 1.6cqw, 6px) !important;
}

#agentes-ia .wa-encryption {
  max-width: 90% !important;
  padding: clamp(4px, 1.4cqw, 6px) clamp(6px, 2cqw, 8px) !important;
  font-size: clamp(5px, 1.65cqw, 7px) !important;
}

#agentes-ia .phone-bubble {
  max-width: 82% !important;
  margin: 0 !important;
  padding: clamp(7px, 2.25cqw, 9px) clamp(8px, 2.6cqw, 11px) clamp(14px, 4.3cqw, 17px) !important;
  font-size: clamp(8px, 2.6cqw, 11px) !important;
  line-height: 1.32 !important;
}

#agentes-ia .phone-bubble small {
  font-size: clamp(5px, 1.6cqw, 6px) !important;
}

#agentes-ia .crm-confirm {
  margin: 1px 0 0 !important;
  padding: clamp(4px, 1.4cqw, 6px) clamp(7px, 2.2cqw, 9px) !important;
  font-size: clamp(5px, 1.7cqw, 7px) !important;
}

#agentes-ia .phone-compose {
  flex: 0 0 clamp(38px, 12cqw, 46px) !important;
  min-height: 0 !important;
  margin: 3px 10px 0 !important;
  padding: 5px 6px 5px 10px !important;
  grid-template-columns: clamp(18px, 5.5cqw, 22px) minmax(0, 1fr) clamp(30px, 9.5cqw, 37px) !important;
  font-size: clamp(7px, 2.3cqw, 9px) !important;
}

#agentes-ia .phone-compose b {
  width: clamp(30px, 9.5cqw, 37px) !important;
  height: clamp(30px, 9.5cqw, 37px) !important;
}

@media (max-width: 760px) {
  #payback .product-phone,
  #agentes-ia .product-phone {
    height: min(51dvh, 455px) !important;
    transform: none !important;
  }

  #payback .payback-phone-ui {
    padding: 40px 9px 13px !important;
  }

  #payback .wallet-stack {
    padding-bottom: 10px;
  }

  #payback .phone-notification {
    top: 39px !important;
  }

  #agentes-ia .agent-phone-ui {
    padding: 34px 0 13px !important;
  }

  #agentes-ia .mobile-chat-head {
    flex-basis: clamp(50px, 18cqw, 62px) !important;
  }

  #agentes-ia .phone-bubble {
    font-size: clamp(7px, 2.8cqw, 10px) !important;
  }
}

@media (max-width: 760px) and (max-height: 740px) {
  #payback .product-phone,
  #agentes-ia .product-phone {
    height: min(47dvh, 360px) !important;
  }

  #agentes-ia .wa-encryption,
  #agentes-ia .wa-channel-label span {
    display: none !important;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Solaria V19 — launch-quality Payback Wallet and Agente Chat.
   The two phones share one physical canvas, while their screens keep the
   native proportions and safe areas of the products they represent.
   ────────────────────────────────────────────────────────────────────────── */

#payback .product-phone,
#agentes-ia .product-phone {
  --phone-edge: 51px;
  aspect-ratio: 402 / 874 !important;
  border-radius: var(--phone-edge) !important;
  transform: perspective(1500px) rotateY(-1.25deg) rotateX(.25deg) !important;
}

#payback .product-phone .device-frame,
#agentes-ia .product-phone .device-frame {
  border-radius: calc(var(--phone-edge) - 5px) !important;
}

#payback .product-phone .screen,
#agentes-ia .product-phone .screen {
  border-radius: calc(var(--phone-edge) - 10px) !important;
}

#payback .product-phone .screen::before,
#agentes-ia .product-phone .screen::before {
  content: "";
  position: absolute;
  z-index: 130;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    inset 0 -16px 22px rgba(0, 0, 0, .035);
  pointer-events: none;
}

#payback .status-battery,
#agentes-ia .status-battery {
  width: 25px !important;
  height: 12px !important;
  display: grid !important;
  place-items: center;
  border: 0 !important;
  border-radius: 6px !important;
  color: #fff;
  background: #111318;
  font-size: 6px;
  font-weight: 820;
  line-height: 1;
}

#payback .status-battery::before,
#payback .status-battery::after,
#agentes-ia .status-battery::before,
#agentes-ia .status-battery::after {
  display: none !important;
}

#payback .status-battery span,
#agentes-ia .status-battery span {
  display: block;
  transform: translateY(.2px);
}

/* Payback uses the provided Wallet screenshot as the truthful product layer.
   The stamp masks reveal the eight visits without redrawing the pass. */
#payback .payback-phone-ui {
  padding: 0 !important;
  background: #f2f3f8 !important;
}

#payback .phone-status {
  display: none !important;
}

#payback .wallet-stack {
  position: absolute;
  z-index: 4;
  inset: 0;
  padding: 0 !important;
  overflow: hidden;
  border-radius: inherit;
  background: #f2f3f8;
}

#payback .wallet-stack::before,
#payback .wallet-stack::after {
  display: none !important;
}

#payback .wallet-reference-pass {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #f2f3f8;
}

#payback .wallet-reference-pass > img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  user-select: none;
  -webkit-user-drag: none;
}

#payback .wallet-live-stamps {
  position: absolute;
  z-index: 3;
  top: 14.25%;
  right: 9.7%;
  left: 9.7%;
  height: 12.65%;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  column-gap: 6.2%;
  row-gap: 4%;
  padding: 0 !important;
  background: transparent !important;
  pointer-events: none;
}

#payback .wallet-live-stamps i {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  display: grid;
  place-items: center;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1;
  transform: none;
}

#payback .wallet-live-stamps i::after {
  content: "" !important;
  width: 59% !important;
  height: auto !important;
  aspect-ratio: 1;
  border: 0 !important;
  border-radius: 2px !important;
  background: #f4f4f4 !important;
  box-shadow: 0 0 0 1px rgba(244, 244, 244, .9);
  opacity: 1 !important;
  transform: scale(1) !important;
  transition: opacity 180ms ease, transform 420ms cubic-bezier(.16, 1, .3, 1) !important;
}

#payback .wallet-live-stamps i::before {
  content: "" !important;
  position: absolute;
  z-index: 2;
  inset: 2%;
  display: block !important;
  border: 1px solid rgba(245, 200, 66, 0);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.8);
}

#payback .wallet-live-stamps i.is-filled::after {
  opacity: 0 !important;
  transform: scale(.68) !important;
}

#payback .wallet-live-stamps i.is-filled::before {
  animation: wallet-reference-stamp 460ms cubic-bezier(.16, 1, .3, 1) both;
}

#payback .wallet-reference-credit {
  position: absolute;
  z-index: 4;
  top: 63.15%;
  right: 13%;
  left: 13%;
  height: 4.55%;
  display: grid;
  place-items: center;
  color: #202124;
  background: #fff;
  font-size: clamp(6px, 2.65cqw, 10px);
  font-weight: 430;
  letter-spacing: -.015em;
  line-height: 1;
  text-align: center;
}

@keyframes wallet-reference-stamp {
  0% { border-color: rgba(245, 200, 66, 0); opacity: 0; transform: scale(.72); }
  55% { border-color: rgba(245, 200, 66, .82); opacity: 1; transform: scale(1.08); }
  100% { border-color: rgba(245, 200, 66, 0); opacity: 0; transform: scale(1.18); }
}

#payback .phone-notification {
  z-index: 140 !important;
  top: 47px !important;
  right: 9px !important;
  left: 9px !important;
  min-height: 57px !important;
  padding: 9px 10px !important;
  grid-template-columns: 34px minmax(0, 1fr) auto !important;
  gap: 8px !important;
  border-color: rgba(255, 255, 255, .88) !important;
  border-radius: 17px !important;
  background: rgba(248, 248, 250, .93) !important;
  box-shadow: 0 14px 34px rgba(15, 17, 23, .22) !important;
}

#payback .phone-notification i {
  width: 34px !important;
  height: 34px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
}

#payback .phone-notification b {
  font-size: clamp(9px, 3.1cqw, 12px) !important;
  letter-spacing: -.01em;
}

#payback .phone-notification span {
  font-size: clamp(7px, 2.5cqw, 10px) !important;
  line-height: 1.25;
}

#payback .phone-notification time {
  color: #7a7c84 !important;
  font-size: clamp(6px, 2cqw, 8px) !important;
}

/* Agente Chat follows current iOS WhatsApp spacing: a fixed status/header,
   bounded transcript and a composer that always remains above the home bar. */
#agentes-ia .agent-phone-ui {
  position: relative;
  padding: 39px 0 14px !important;
  overflow: hidden !important;
  background: #efeae2 !important;
}

#agentes-ia .agent-phone-ui::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 40px;
  background: #f8f9fa;
}

#agentes-ia .phone-status {
  color: #111318 !important;
}

#agentes-ia .phone-status-icons {
  min-width: 54px;
}

#agentes-ia .mobile-chat-head {
  z-index: 14;
  flex: 0 0 clamp(61px, 18.5cqw, 72px) !important;
  grid-template-columns: clamp(22px, 6.4cqw, 27px) clamp(38px, 11.5cqw, 46px) minmax(0, 1fr) auto !important;
  gap: clamp(6px, 2cqw, 9px) !important;
  padding: clamp(8px, 2.5cqw, 11px) clamp(9px, 2.8cqw, 12px) !important;
  border-bottom: 1px solid #e9edef;
  background: #f8f9fa !important;
}

#agentes-ia .chat-avatar {
  position: relative;
  overflow: hidden;
  border: 0 !important;
  color: transparent !important;
  background: #0a0b0e !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

#agentes-ia .chat-avatar .ai-presence {
  position: absolute;
  inset: 4px;
  width: auto;
  height: auto;
  transform: scale(.82);
}

#agentes-ia .wa-contact {
  gap: 2px;
}

#agentes-ia .mobile-chat-head .wa-contact b {
  color: #111b21 !important;
  font-size: clamp(10px, 3.25cqw, 13px) !important;
  font-weight: 680;
  letter-spacing: -.02em;
}

#agentes-ia .mobile-chat-head .wa-contact span {
  color: #667781 !important;
  font-size: clamp(6px, 2.05cqw, 8px) !important;
}

#agentes-ia .wa-conversation {
  position: relative;
  isolation: isolate;
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(8px, 2.5cqw, 11px) clamp(10px, 3cqw, 13px) 6px !important;
  gap: clamp(4px, 1.25cqw, 6px) !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(91, 110, 101, .09) 0 1px, transparent 1.6px) 0 0 / 27px 27px,
    radial-gradient(circle at 77% 72%, rgba(91, 110, 101, .075) 0 1px, transparent 1.6px) 0 0 / 39px 39px,
    #efeae2;
}

#agentes-ia .wa-channel-label {
  align-self: center;
  gap: 5px;
  color: #667781;
  font-size: clamp(5px, 1.7cqw, 7px) !important;
}

#agentes-ia .wa-channel-label b {
  color: #087a67;
  font-size: clamp(6px, 2cqw, 8px) !important;
}

#agentes-ia .wa-encryption {
  max-width: 88% !important;
  color: #5f6f68 !important;
  background: #fff4c5 !important;
  box-shadow: 0 1px 1px rgba(11, 20, 26, .06);
}

#agentes-ia .phone-bubble {
  max-width: 83% !important;
  margin: 0 !important;
  padding: clamp(7px, 2.2cqw, 10px) clamp(8px, 2.5cqw, 11px) clamp(14px, 4.2cqw, 18px) !important;
  border-radius: 10px !important;
  font-size: clamp(8px, 2.65cqw, 11px) !important;
  line-height: 1.34 !important;
  letter-spacing: -.01em;
}

#agentes-ia .phone-bubble.in::before,
#agentes-ia .phone-bubble.out::before {
  content: "";
  position: absolute;
  top: 0;
  width: 9px;
  height: 11px;
  background: inherit;
}

#agentes-ia .phone-bubble.in::before {
  left: -5px;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

#agentes-ia .phone-bubble.out::before {
  right: -5px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

#agentes-ia .phone-bubble small {
  right: 7px;
  bottom: 4px;
  font-size: clamp(5px, 1.55cqw, 6px) !important;
}

#agentes-ia .crm-confirm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 2px 0 0 !important;
  padding: clamp(4px, 1.35cqw, 6px) clamp(7px, 2.2cqw, 10px) !important;
  border-color: rgba(0, 168, 132, .2) !important;
  color: #087a67 !important;
  background: rgba(255, 255, 255, .94) !important;
  font-size: clamp(5px, 1.7cqw, 7px) !important;
  font-weight: 660;
}

#agentes-ia .crm-confirm span {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #00a884;
  font-size: 8px;
}

#agentes-ia .phone-compose {
  z-index: 15;
  flex: 0 0 clamp(42px, 12.5cqw, 49px) !important;
  grid-template-columns: clamp(18px, 5.4cqw, 22px) minmax(0, 1fr) clamp(19px, 5.7cqw, 23px) clamp(31px, 9.5cqw, 38px) !important;
  gap: 5px !important;
  margin: 5px 8px 1px !important;
  padding: 5px 5px 5px 10px !important;
  color: #667781 !important;
  background: #fff !important;
}

#agentes-ia .phone-compose em {
  width: clamp(19px, 5.7cqw, 23px);
  height: clamp(19px, 5.7cqw, 23px);
  display: grid;
  place-items: center;
  color: #667781;
  font-style: normal;
}

#agentes-ia .phone-compose em svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#agentes-ia .phone-compose b {
  width: clamp(31px, 9.5cqw, 38px) !important;
  height: clamp(31px, 9.5cqw, 38px) !important;
}

@media (min-width: 761px) {
  #payback .product-phone,
  #agentes-ia .product-phone {
    height: min(82dvh, 790px, calc(100dvh - var(--header-h) - var(--footer-h) - 14px)) !important;
  }

  #payback .phone-stage,
  #agentes-ia .phone-stage {
    min-width: 0;
  }
}

@media (min-width: 761px) and (max-width: 1020px) {
  #payback .product-phone,
  #agentes-ia .product-phone {
    height: min(63dvh, 650px) !important;
  }
}

@media (min-width: 1021px) {
  #payback .phone-stage,
  #agentes-ia .phone-stage {
    min-width: 420px;
  }
}

@media (max-width: 760px) {
  #payback .product-phone,
  #agentes-ia .product-phone {
    --phone-edge: 43px;
    height: min(58dvh, 500px) !important;
    max-width: none !important;
  }

  #payback .product-phone {
    transform: translateY(-30px) !important;
  }

  #agentes-ia .product-phone {
    transform: none !important;
  }

  #payback .phone-notification {
    top: 41px !important;
    right: 7px !important;
    left: 7px !important;
    min-height: 49px !important;
    padding: 7px 8px !important;
    grid-template-columns: 29px minmax(0, 1fr) auto !important;
    border-radius: 14px !important;
  }

  #payback .phone-notification i {
    width: 29px !important;
    height: 29px !important;
    font-size: 10px !important;
  }

  #payback .push-route,
  #payback .payback-return,
  #payback .reward-pulse,
  #payback .phone-side-stat,
  #agentes-ia .chat-proof,
  #agentes-ia .channel-node {
    display: none !important;
  }

  #agentes-ia .agent-phone-ui {
    padding-top: 35px !important;
    padding-bottom: 12px !important;
  }

  #agentes-ia .agent-phone-ui::before {
    height: 36px;
  }

  #agentes-ia .mobile-chat-head {
    flex-basis: clamp(53px, 18cqw, 64px) !important;
  }

  #agentes-ia .wa-conversation {
    padding: 6px 9px 4px !important;
    gap: 3px !important;
  }

  #agentes-ia .phone-bubble {
    font-size: clamp(8px, 2.75cqw, 10px) !important;
  }

  #agentes-ia .phone-compose {
    margin-right: 6px !important;
    margin-left: 6px !important;
  }
}

@media (max-width: 760px) and (max-height: 740px) {
  #payback .product-phone,
  #agentes-ia .product-phone {
    height: min(53dvh, 390px) !important;
  }

  #payback .product-phone {
    transform: translateY(-18px) !important;
  }

  #agentes-ia .wa-encryption,
  #agentes-ia .wa-channel-label span,
  #agentes-ia .optional-context {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #payback .wallet-live-stamps i.is-filled::before {
    animation: none !important;
  }

  #payback .wallet-live-stamps i.is-filled::after {
    transition: none !important;
  }

  #payback .product-phone,
  #agentes-ia .product-phone {
    transform: none !important;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Solaria V21 — final device cascade.
   Keep this block last: Payback needs an OS shelf above the Wallet capture,
   and every product phone uses the same pearl hardware language.
   ────────────────────────────────────────────────────────────────────────── */

#payback .product-phone,
#agentes-ia .product-phone,
#agentes-voz .product-phone,
#automatizacion .product-phone,
.hero-phone {
  border-color: rgba(255, 255, 255, .9) !important;
  background:
    linear-gradient(145deg, #ffffff 0%, #eef0f4 24%, #b9bec8 57%, #fafbfc 82%, #d5d9e0 100%) !important;
  box-shadow:
    0 38px 88px rgba(0, 0, 0, .56),
    0 0 54px rgba(255, 255, 255, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .72) !important;
}

#payback .product-phone::before,
#agentes-ia .product-phone::before,
#agentes-voz .product-phone::before,
#automatizacion .product-phone::before,
#payback .product-phone::after,
#agentes-ia .product-phone::after,
#agentes-voz .product-phone::after,
#automatizacion .product-phone::after {
  background-color: #c8ccd3 !important;
}

#payback .payback-phone-ui {
  --wallet-drop: 8.5%;
}

#payback .phone-status {
  z-index: 160 !important;
  display: flex !important;
  color: #111318 !important;
}

#payback .wallet-reference-pass::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: var(--wallet-drop);
  background: linear-gradient(180deg, #f7f8fb, #f2f3f8);
  pointer-events: none;
}

#payback .wallet-reference-pass > img {
  inset: var(--wallet-drop) 0 auto !important;
  height: 100% !important;
}

#payback .wallet-live-stamps {
  top: calc(14.25% + var(--wallet-drop)) !important;
}

#payback .wallet-reference-credit {
  top: calc(63.15% + var(--wallet-drop)) !important;
}

#payback .phone-notification {
  top: 45px !important;
  box-shadow: 0 12px 30px rgba(15, 17, 23, .16) !important;
}

@media (max-width: 760px) {
  #payback .payback-phone-ui {
    --wallet-drop: 9%;
  }

  #payback .phone-notification {
    top: 39px !important;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Solaria V22 — Solaria App uses one device rim, not a frame inside a frame.
   The pearl finish belongs to the physical frame; the screen is clipped once.
   ────────────────────────────────────────────────────────────────────────── */

#solaria-app .app-phone {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 32px 48px rgba(0, 0, 0, .48)) !important;
}

#solaria-app .app-phone .device-frame {
  box-sizing: border-box;
  padding: 5px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .92) !important;
  border-radius: 44px !important;
  background:
    linear-gradient(145deg, #ffffff 0%, #eef0f4 24%, #b9bec8 57%, #fafbfc 82%, #d5d9e0 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .7),
    inset 0 -1px 2px rgba(17, 19, 24, .16) !important;
}

#solaria-app .app-phone .screen {
  border: 0 !important;
  border-radius: 39px !important;
  box-shadow: none !important;
}

#solaria-app .app-phone .device-frame::before {
  z-index: 120;
  top: 12px;
  width: 32%;
  min-width: 50px;
  max-width: 76px;
  height: 21px;
  border: 0;
  background: #030406;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .055);
}

@media (max-width: 760px) {
  #solaria-app .app-phone .device-frame {
    padding: 4px !important;
    border-radius: 38px !important;
  }

  #solaria-app .app-phone .screen {
    border-radius: 34px !important;
  }

  #solaria-app .app-phone .device-frame::before {
    top: 10px;
    height: 18px;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Solaria V23 — mobile header owns its space; the opening headline never
   sits underneath client access or the primary CTA.
   ────────────────────────────────────────────────────────────────────────── */

@media (max-width: 760px) {
  :root {
    --header-h: calc(70px + env(safe-area-inset-top, 0px));
  }

  .site-header {
    box-sizing: border-box;
    height: calc(58px + env(safe-area-inset-top, 0px));
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: env(safe-area-inset-top, 0px) 12px 0;
    background: linear-gradient(180deg, rgba(3, 3, 5, .98) 0%, rgba(3, 3, 5, .88) 72%, rgba(3, 3, 5, 0) 100%);
  }

  .site-header .brand {
    min-width: 0;
    gap: 7px;
    font-size: .88rem;
    white-space: nowrap;
  }

  .site-header .solaria-global-mark {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
  }

  .site-header .header-tools {
    min-width: 0;
    gap: 5px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .site-header a.header-login,
  .site-header .header-register {
    flex: 0 0 auto;
    min-height: 32px;
    line-height: 1;
  }

  .site-header a.header-login {
    padding: 0 4px;
    font-size: .47rem;
    letter-spacing: .055em;
  }

  .site-header .header-register {
    padding: 0 10px;
    font-size: .48rem;
    letter-spacing: .06em;
  }

  #sistema .panel-inner {
    align-content: start;
    padding-top: calc(var(--header-h) + 12px);
  }

  #sistema .panel-copy {
    padding-top: 4px;
  }
}

@media (max-width: 350px) {
  .site-header .brand span {
    display: none;
  }

  .site-header a.header-login {
    font-size: .44rem;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Solaria V24 — Growth Packs become a plan selector on phones. One decision
   at a time is clearer than three long cards inside a horizontal journey.
   ────────────────────────────────────────────────────────────────────────── */

.mobile-pack-tabs {
  display: none;
}

@media (max-width: 760px) {
  .packs-panel .packs-layout {
    gap: 10px;
    padding-top: calc(var(--header-h) + 10px);
    padding-right: 14px;
    padding-left: 14px;
  }

  .packs-panel .packs-heading {
    margin-bottom: 0;
  }

  .packs-panel .packs-heading .eyebrow {
    margin-bottom: 7px;
  }

  .packs-panel .packs-heading h2 {
    max-width: 10ch;
    font-size: clamp(2rem, 10vw, 2.45rem);
  }

  .mobile-pack-tabs {
    position: sticky;
    z-index: 12;
    top: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    flex: 0 0 auto;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(8, 8, 12, .88);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px);
  }

  .mobile-pack-tabs button {
    min-height: 38px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, .58);
    background: transparent;
    font: inherit;
    font-size: .58rem;
    font-weight: 760;
    letter-spacing: .04em;
    cursor: pointer;
    transition: color 150ms ease-out, background 150ms ease-out, transform 100ms ease-out;
  }

  .mobile-pack-tabs button[aria-selected="true"] {
    color: #fff;
    background: linear-gradient(135deg, rgba(177, 76, 240, .72), rgba(105, 65, 198, .88));
    box-shadow: inset 0 1px rgba(255, 255, 255, .18);
  }

  .mobile-pack-tabs button:active {
    transform: scale(.97);
  }

  .packs-panel .real-packs {
    display: block !important;
    flex: 0 0 auto;
    overflow: visible !important;
    padding: 0;
  }

  .packs-panel .real-pack {
    display: none;
    min-height: 0;
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .packs-panel .real-pack.is-mobile-active {
    display: flex;
  }

  .packs-panel .pack-price {
    margin-top: 8px;
    font-size: 2rem;
  }

  .packs-panel .real-pack h3 {
    max-width: 32ch;
    font-size: .72rem !important;
  }

  .packs-panel .real-pack .pack-fit {
    font-size: .58rem;
  }

  .packs-panel .real-pack li {
    font-size: .58rem !important;
  }

  .packs-panel .pack-actions {
    position: sticky;
    bottom: 0;
    padding-top: 7px;
    background: linear-gradient(180deg, transparent, rgba(10, 8, 14, .96) 28%);
  }

  .packs-panel .packs-detail-link {
    position: static;
    align-self: center;
    max-width: none;
    min-height: 40px;
    margin: 0;
    padding: 0 14px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .045);
    font-size: .52rem;
    line-height: 1;
    text-align: center;
  }

  .packs-comparison-panel .packs-comparison-layout {
    padding-right: 10px;
    padding-left: 10px;
  }

  .packs-comparison-panel .packs-comparison-heading h2 {
    max-width: 13ch;
    font-size: 1.85rem;
  }

  .packs-comparison-panel .packs-table-wrap table {
    width: 680px !important;
    min-width: 680px !important;
  }

  .packs-comparison-panel .packs-table-wrap th:first-child {
    width: 190px !important;
  }

  .packs-comparison-panel .packs-table-wrap th,
  .packs-comparison-panel .packs-table-wrap td {
    padding: 9px 8px;
    font-size: .52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-pack-tabs button {
    transition-duration: 0ms;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Solaria V25 — the opening phone is sized from available vertical space.
   Width-based sizing made a complete iPhone taller than short mobile screens.
   ────────────────────────────────────────────────────────────────────────── */

@media (max-width: 760px) {
  #sistema .panel-inner {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
  }

  #sistema .panel-copy h1 {
    max-width: 14ch;
    font-size: clamp(2.35rem, 11.5vw, 3rem);
    line-height: .91;
  }

  #sistema .solaria-hero-art {
    min-height: 0;
    height: 100%;
    align-self: stretch;
    place-items: start center;
    padding-top: 2px;
  }

  #sistema .hero-phone {
    width: auto !important;
    height: min(
      46dvh,
      calc(100dvh - var(--header-h) - var(--footer-h) - 265px),
      390px
    );
    min-height: 250px;
    max-width: 62vw;
    aspect-ratio: 9 / 19.5;
    transform: rotateY(-4deg) rotateZ(.35deg);
    transform-origin: 50% 50%;
  }

  #sistema .solaria-hero-art .opening-card {
    display: none;
  }

  #sistema .hero-signal-red {
    top: 18%;
    left: 5%;
  }

  #sistema .hero-signal-blue {
    top: 46%;
    right: 3%;
  }

  #sistema .hero-signal-yellow {
    bottom: 8%;
    left: 8%;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  #sistema .panel-copy .lede {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  #sistema .hero-phone {
    height: min(
      43dvh,
      calc(100dvh - var(--header-h) - var(--footer-h) - 235px)
    );
    min-height: 220px;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Solaria V26 — mobile comparison is a readable plan view, not a desktop
   matrix squeezed behind a horizontal scrollbar.
   ────────────────────────────────────────────────────────────────────────── */

.mobile-pack-comparison {
  display: none;
}

@media (max-width: 760px) {
  .packs-comparison-panel .packs-comparison-layout {
    padding-top: calc(var(--header-h) + 9px);
    padding-bottom: calc(var(--footer-h) + 8px);
  }

  .packs-comparison-panel .packs-comparison-heading {
    margin-bottom: 7px;
  }

  .packs-comparison-panel .packs-comparison-heading .eyebrow {
    margin-bottom: 5px;
  }

  .packs-comparison-panel .packs-comparison-heading h2 {
    max-width: 15ch;
    font-size: 1.72rem;
    line-height: .94;
  }

  .packs-comparison-panel .packs-comparison-frame::before {
    display: none;
  }

  .packs-comparison-panel .packs-table-wrap {
    display: none;
  }

  .mobile-pack-comparison {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    padding: 7px;
  }

  .mobile-comparison-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    flex: 0 0 auto;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
  }

  .mobile-comparison-tabs button {
    min-height: 36px;
    padding: 0 7px;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, .55);
    background: transparent;
    font: inherit;
    font-size: .56rem;
    font-weight: 780;
    cursor: pointer;
  }

  .mobile-comparison-tabs button[aria-selected="true"] {
    color: #fff;
    background: linear-gradient(135deg, rgba(177, 76, 240, .76), rgba(105, 65, 198, .9));
  }

  .mobile-comparison-panels {
    flex: 1;
    min-height: 0;
    margin-top: 7px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .mobile-comparison-plan {
    display: none;
  }

  .mobile-comparison-plan.is-active {
    display: block;
  }

  .mobile-comparison-plan > header {
    position: sticky;
    z-index: 3;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 10px;
    border: 1px solid rgba(210, 156, 255, .18);
    border-radius: 13px;
    color: #fff;
    background: rgba(18, 14, 24, .96);
    backdrop-filter: blur(16px);
  }

  .mobile-comparison-plan > header span {
    font-size: .66rem;
    font-weight: 800;
  }

  .mobile-comparison-plan > header strong {
    color: #d29cff;
    font-size: 1.15rem;
    letter-spacing: -.04em;
  }

  .mobile-comparison-plan > header small {
    margin-left: 2px;
    color: rgba(255, 255, 255, .5);
    font-size: .46rem;
    font-weight: 600;
  }

  .mobile-comparison-plan dl {
    margin: 0;
  }

  .mobile-comparison-plan h4 {
    margin: 13px 5px 5px;
    color: #d29cff;
    font-size: .5rem;
    font-weight: 820;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .mobile-comparison-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(92px, .8fr);
    align-items: start;
    gap: 12px;
    padding: 9px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .mobile-comparison-row dt,
  .mobile-comparison-row dd {
    margin: 0;
    font-size: .56rem;
    line-height: 1.35;
  }

  .mobile-comparison-row dt {
    color: rgba(255, 255, 255, .62);
  }

  .mobile-comparison-row dd {
    color: #fff;
    font-weight: 720;
    text-align: right;
  }

  .mobile-comparison-row dd.is-empty {
    color: rgba(255, 255, 255, .3);
  }

  .packs-comparison-panel .packs-comparison-footer {
    gap: 5px;
    padding: 7px 8px;
  }

  .packs-comparison-panel .comparison-back,
  .packs-comparison-panel .packs-comparison-footer .primary-action {
    min-height: 36px;
    padding: 0 9px;
    font-size: .48rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-comparison-tabs button {
    transition: none;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Solaria V27 — mobile hero uses the canonical living presence from Solaria
   App. The original product phone remains untouched on tablet and desktop.
   ────────────────────────────────────────────────────────────────────────── */

.mobile-hero-presence {
  display: none;
}

@media (max-width: 760px) {
  #sistema .hero-phone {
    display: none !important;
  }

  #sistema .solaria-hero-art {
    display: grid;
    place-items: center;
    min-height: 0;
    padding: 0;
  }

  .mobile-hero-presence {
    position: relative;
    z-index: 3;
    width: min(72vw, 300px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
  }

  .mobile-hero-presence::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background:
      radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .22), transparent 14%),
      conic-gradient(from 20deg, rgba(0, 194, 255, .2), rgba(177, 76, 240, .24), rgba(245, 200, 66, .18), rgba(0, 194, 255, .2));
    filter: blur(24px);
    opacity: .82;
  }

  .mobile-hero-presence > .ai-presence {
    position: relative;
    z-index: 3;
    width: clamp(132px, 39vw, 168px);
    height: clamp(132px, 39vw, 168px);
    border-radius: 48% 52% 55% 45%;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .18),
      0 0 45px rgba(177, 76, 240, .6),
      0 0 90px rgba(0, 194, 255, .3),
      inset 0 0 35px rgba(255, 255, 255, .14);
  }

  .mobile-presence-orbit {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    pointer-events: none;
  }

  .mobile-presence-orbit::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f5c842;
    box-shadow: 0 0 18px #f5c842;
  }

  .mobile-presence-orbit.orbit-one {
    inset: 16%;
    animation: mobile-presence-spin 13s linear infinite;
  }

  .mobile-presence-orbit.orbit-two {
    inset: 5%;
    border-style: dashed;
    opacity: .58;
    animation: mobile-presence-spin-reverse 18s linear infinite;
  }

  .mobile-presence-orbit.orbit-two::after {
    right: 9%;
    bottom: 9%;
    top: auto;
    left: auto;
    background: #00c2ff;
    box-shadow: 0 0 18px #00c2ff;
  }

  .mobile-hero-presence > p {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 5%;
    left: 0;
    margin: 0;
    color: #fff;
    text-align: center;
  }

  .mobile-hero-presence > p b,
  .mobile-hero-presence > p small {
    display: block;
  }

  .mobile-hero-presence > p b {
    font-size: .82rem;
    letter-spacing: -.03em;
  }

  .mobile-hero-presence > p small {
    margin-top: 3px;
    color: rgba(255, 255, 255, .5);
    font-size: .46rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  #sistema .hero-signal-red {
    top: 14%;
    left: 1%;
  }

  #sistema .hero-signal-blue {
    top: 44%;
    right: 0;
  }

  #sistema .hero-signal-yellow {
    bottom: 12%;
    left: 2%;
  }
}

@keyframes mobile-presence-spin {
  to { transform: rotate(360deg); }
}

@keyframes mobile-presence-spin-reverse {
  to { transform: rotate(-360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-presence-orbit {
    animation: none !important;
  }
}
