.ja-app {
  --ja-ink:#241d27;
  --ja-muted:#675b66;
  --ja-paper:#fffdf9;
  --ja-rule:#e4dbe0;
  --ja-accent:#a51a61;
  --ja-tint:#f7e8f0;
  font:normal 17px/1.5 NarkissBlockCondensed,Arial,sans-serif;
  color:var(--ja-ink);
  text-align:start;
}
.ja-app *, .ja-app *::before, .ja-app *::after { box-sizing:border-box; }
.ja-app :is(h2,h3,p,dl,dd,dt,fieldset,legend) { margin:0; color:inherit; }
.ja-app :is(button,input,textarea,select) { font:inherit; }
.ja-app :is(button,a,input,textarea,select):focus-visible {
  outline:2px solid var(--ja-accent);
  outline-offset:3px;
}
.ja-app button { cursor:pointer; min-block-size:44px; }
.ja-app button:disabled { cursor:wait; opacity:.65; }
.ja-app button,
.ja-app :is(input,textarea,select) { color:var(--ja-ink); letter-spacing:normal; }
.ja-app button { text-transform:none; }
.ja-app [hidden] { display:none!important; }
.ja-sr {
  position:absolute!important; inline-size:1px; block-size:1px; overflow:hidden;
  clip-path:inset(50%); white-space:nowrap;
}
.ja-panel {
  border:1px solid var(--ja-rule);
  border-radius:18px;
  background:var(--ja-paper);
  color:var(--ja-ink);
  overflow:hidden;
  box-shadow:0 18px 60px #30203013;
}
.ja-panel-top {
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 16px;
  border-block-end:1px solid var(--ja-rule);
}
.ja-panel-brand { display:flex; align-items:center; gap:9px; line-height:1; font-size:21px; }
.ja-avatar {
  display:grid; place-items:center; position:relative; aspect-ratio:1; inline-size:100%;
  color:var(--ja-accent); font:700 24px/1 Arial,sans-serif;
}
.ja-avatar-ready { font-size:0; }
.ja-avatar canvas { position:absolute; inset:0; inline-size:100%; block-size:100%; }
.ja-avatar .ja-mascot { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.ja-orb-ready { --ja-orb-region:ellipse 11.65% 11.9% at 15% 23.7%; }
.ja-orb-ready .ja-mascot:first-of-type {
  mask-image:radial-gradient(var(--ja-orb-region), transparent 98%, #000 100%);
}
.ja-mascot-orb { display:none; }
.ja-orb-ready .ja-mascot-orb {
  display:block; clip-path:ellipse(11.65% 11.9% at 15% 23.7%);
  animation:ja-orb-drift 4.8s ease-in-out infinite;
}
.ja-mascot-blink { display:none; }
.ja-expressions-ready .ja-mascot-blink {
  position:absolute; inset:0; display:block; opacity:0; animation:ja-mascot-blink 11s steps(1,end) infinite;
}
.ja-mascot-blink::before,.ja-mascot-blink::after {
  position:absolute; content:""; width:7%; height:5%; border-radius:50%;
  background:radial-gradient(ellipse at center, #30271f 48%, transparent 75%);
}
.ja-mascot-blink::before { left:56%; top:37.4%; }
.ja-mascot-blink::after { left:68.6%; top:36.9%; }
.ja-mascot-attentive {
  opacity:0; clip-path:inset(36.5% 23% 56% 55% round 4%); transition:opacity .16s ease-out;
}
.ja-mascot-listening .ja-expressions-ready .ja-mascot-attentive,
.ja-launcher:is(:hover,:focus-visible) .ja-expressions-ready .ja-mascot-attentive,
.ja-app:has(.ja-invitation:not([hidden])) .ja-launcher .ja-expressions-ready .ja-mascot-attentive { opacity:1; }
.ja-small-avatar { inline-size:56px; flex:none; }
.ja-app .ja-launcher {
  position:fixed; right:18px; inset-block-end:calc(max(16px,env(safe-area-inset-bottom)) + var(--ja-launcher-lift,0px)); z-index:900;
  padding:0; width:96px; height:96px; border:0; border-radius:14px;
  background:transparent; box-shadow:none; touch-action:pan-y pinch-zoom;
}
.ja-launcher .ja-avatar { filter:drop-shadow(0 4px 5px #371c4240); pointer-events:none; }
.ja-launcher .ja-avatar { animation:ja-mascot-float 4s ease-in-out 2; }
.ja-launcher:is(:hover,:focus-visible) .ja-avatar { animation:none; }
.ja-launcher:is(:hover,:focus-visible) .ja-avatar { transform:translateY(-3px) rotate(-5deg); }
.ja-launcher .ja-avatar { transition:transform .22s ease-out; }
.ja-invitation {
  position:fixed; inset-block-end:calc(max(16px,env(safe-area-inset-bottom)) + 25px + var(--ja-launcher-lift,0px)); right:116px; z-index:900;
  max-width:calc(100vw - 130px); display:flex; align-items:center; border:1px solid var(--ja-rule);
  border-radius:16px; background:var(--ja-paper); box-shadow:0 6px 22px #34172e20; touch-action:pan-y pinch-zoom;
}
.ja-invitation .ja-invitation-action { background:transparent; border:0; padding:0 12px; font-weight:700; }
.ja-invitation .ja-invitation-dismiss { width:44px; padding:0; border:0; background:transparent; font-size:22px; }
@keyframes ja-mascot-float {
  0%, 100% { transform:translateY(0) rotate(0); }
  45% { transform:translateY(-5px) rotate(-3deg); }
  70% { transform:translateY(-1px) rotate(1deg); }
}
@keyframes ja-orb-drift {
  0%, 100% { transform:translate(0,0); }
  46% { transform:translate(-1.3%,-3.8%); }
}
@keyframes ja-mascot-blink {
  0%, 38%, 83.5%, 100% { opacity:0; }
  36.5%, 82% { opacity:1; }
}
@media (max-width:680px) {
  .ja-app .ja-launcher { width:84px; height:84px; }
  .ja-invitation { right:104px; max-width:calc(100vw - 116px); }
  .ja-app:is(.ja-launcher-scrolling,.ja-launcher-obstructed) .ja-launcher:not(:focus-visible),
  .ja-app:is(.ja-launcher-scrolling,.ja-launcher-obstructed) .ja-invitation:not(:focus-within) {
    visibility:hidden; pointer-events:none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ja-launcher .ja-avatar { animation:none; transition:none; transform:none; }
  .ja-mascot-attentive { transition:none; }
  .ja-orb-ready .ja-mascot-orb,.ja-expressions-ready .ja-mascot-blink { animation:none; }
}
.ja-dialog {
  position:fixed; inset:auto 20px 118px auto; margin:0;
  padding:0; width:min(470px,calc(100% - 40px)); max-height:min(760px,calc(100dvh - 120px));
}
.ja-dialog[open] { display:flex; flex-direction:column; }
.ja-dialog::backdrop { background:transparent; }
.ja-dialog .ja-content { overflow:auto; }
.ja-close-button { background:transparent; border:0; width:44px; font-size:28px!important; line-height:1; }
.ja-content { padding:clamp(16px,4vw,32px); min-inline-size:0; }
.ja-content h2 {
  font-family:inherit; font-size:clamp(26px,4.5vw,40px); font-weight:700;
  line-height:1.04; letter-spacing:-.025em; text-wrap:balance;
}
.ja-content .ja-intro { color:var(--ja-muted); margin-block:9px 16px; font-size:1em; }
.ja-content .ja-test-note {
  color:#743a57; font-size:.83em; margin-block-end:14px;
  padding-inline-start:10px; border-inline-start:2px solid #bf6f94;
}
.ja-paths { display:grid; gap:8px; margin-block:16px 3px; }
.ja-app .ja-route {
  display:grid; grid-template-columns:34px 1fr auto; align-items:center; gap:12px;
  text-align:start; border:1px solid var(--ja-rule); border-radius:10px; background:#fff; padding:10px;
}
.ja-app .ja-route-main { background:var(--ja-tint); border-color:#daa0bd; }
.ja-app .ja-route:hover { border-color:var(--ja-accent); background:#faf1f7; }
.ja-glyph {
  display:grid; place-items:center; width:32px; height:32px; border-radius:8px;
  background:#f4edf2; color:#8c315f; font:700 18px Arial,sans-serif;
}
.ja-route-main .ja-glyph { background:#a51a61; color:white; }
.ja-route-copy, .ja-choice-copy { display:grid; gap:1px; }
.ja-route-copy strong, .ja-choice-copy strong { font-weight:700; }
.ja-route-copy small, .ja-choice-copy small { color:var(--ja-muted); font-size:.85em; line-height:1.35; }
.ja-route-arrow { color:var(--ja-accent); font-family:Arial,sans-serif; margin-inline-end:2px; }
.ja-progress { display:grid; gap:5px; font-size:.84em; color:var(--ja-muted); margin-block:0 18px; }
.ja-progress progress { width:100%; height:7px; border:0; accent-color:var(--ja-accent); appearance:none; }
.ja-progress progress::-webkit-progress-bar { background:#eee6eb; border-radius:6px; }
.ja-progress progress::-webkit-progress-value { background:#a51a61; border-radius:6px; }
.ja-step-form, .ja-review-form { display:grid; gap:13px; margin-block-start:17px; }
.ja-field { display:grid; gap:4px; }
.ja-dependent {
  border-inline-start:2px solid #c881a8;
  padding-inline-start:10px;
  margin-inline-start:3px;
}
.ja-field label, .ja-choices legend { font-weight:700; }
.ja-app .ja-input {
  display:block; width:100%; min-height:46px; border:1px solid #cdbbc7; border-radius:8px;
  background:#fff; padding:8px 12px; font-size:17px; line-height:1.4;
}
.ja-app textarea.ja-input { resize:vertical; }
.ja-choices { min-width:0; padding:0; border:0; }
.ja-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.ja-choice {
  display:flex; align-items:flex-start; gap:8px; min-width:0;
  border:1px solid var(--ja-rule); border-radius:8px; background:#fff; cursor:pointer; padding:10px;
}
.ja-choice:has(input:checked) { border-color:#af3f77; background:#f8eaf1; }
.ja-app :is(.ja-choice,.ja-consent) input {
  appearance:auto; accent-color:var(--ja-accent); flex:none; width:16px; height:16px; margin:4px 0 0;
}
.ja-actions { display:flex; gap:8px; flex-wrap:wrap; margin-block-start:5px; }
.ja-app :is(.ja-primary,.ja-secondary,.ja-faq-button,.ja-text-button) {
  border-radius:8px; padding:8px 14px; font-weight:700; background:transparent;
}
.ja-app .ja-primary { background:#332335; border:1px solid #332335; color:#fff; }
.ja-app .ja-primary:hover { background:#59364c; }
.ja-app .ja-whatsapp-link {
  display:inline-flex; align-items:center; justify-content:center; min-block-size:44px; text-decoration:none;
}
.ja-app .ja-secondary, .ja-app .ja-faq-button { border:1px solid #cdbbc7; }
.ja-app .ja-secondary:hover, .ja-app .ja-faq-button:hover { background:var(--ja-tint); }
.ja-app .ja-text-button { border:0; color:#913161; text-decoration:underline; text-underline-offset:3px; }
.ja-app .ja-link { color:#873058; text-decoration:underline; text-underline-offset:3px; }
.ja-content .ja-scope-note {
  padding:10px 12px; background:#f5eaf0; border-inline-start:2px solid #a51a61;
  border-radius:6px; margin-block:14px;
}
.ja-summary { border-block-end:1px solid var(--ja-rule); padding-block:4px 11px; }
.ja-summary-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ja-summary h3 { font-family:inherit; font-weight:700; font-size:1.06em; line-height:1.3; }
.ja-summary dl { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:3px 9px; }
.ja-summary dt { color:var(--ja-muted); font-size:.9em; }
.ja-summary dd { overflow-wrap:anywhere; white-space:pre-wrap; }
.ja-empty { grid-column:1/-1; color:var(--ja-muted); }
.ja-consent { display:flex; align-items:flex-start; gap:8px; font-size:.92em; }
.ja-app .ja-error { color:#8e1943; }
.ja-faq-choices { display:flex; flex-wrap:wrap; gap:6px; }
.ja-faq-form { display:flex; gap:8px; margin-block:15px; }
.ja-answer:not(:empty) { background:#f7eef4; padding:14px; border-radius:8px; }
.ja-answer p { margin-block:5px; }
@media(max-width:490px) {
  .ja-dialog { inset:auto 8px 8px 8px; width:calc(100% - 16px); max-height:calc(100dvh - 16px); }
  .ja-choice-grid { grid-template-columns:1fr; }
  .ja-faq-form { flex-wrap:wrap; }
}
