.chat-launcher{position:fixed;bottom:24px;right:26px;z-index:35;display:flex;align-items:center;gap:12px;background:var(--ink);color:white;padding:13px 20px;border-radius:40px;box-shadow:0 5px 25px #292e3c25;font-size:13px;min-height:54px;transition:transform .25s}.chat-launcher:hover{transform:translateY(-4px)}.chat-launcher .chat-spark{display:block;width:19px;height:19px;background:var(--yellow);border-radius:50% 0 50% 50%;transform:rotate(-30deg)}.chat-dialog{padding:0;border:1px solid #ffffff30;border-radius:12px;background:var(--paper);color:var(--ink);width:440px;height:min(740px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);max-width:calc(100vw - 30px);margin: auto 24px 20px auto;box-shadow:0 18px 80px #0003;overflow:hidden}.chat-dialog::backdrop{background:#292e3c40;backdrop-filter:blur(3px)}.chat-shell{height:100%;display:flex;flex-direction:column}.chat-header{padding:20px 20px 16px;background:var(--ink);color:white;display:flex;align-items:center;gap:12px}.chat-avatar{height:35px;width:35px;background:var(--yellow);border-radius:50% 0 50% 50%;flex-shrink:0}.chat-header h2{font-size:19px;line-height:1.25}.chat-header p{font-size:10px;color:#c9cbd2;margin-top:4px}.chat-close{margin-left:auto;flex-shrink:0;background:none;color:white;width:44px;height:44px;font-size:27px}.chat-mode{padding:9px 18px;background:#eeeee6;font-size:10px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line)}.chat-mode:before{content:'';width:6px;height:6px;background:var(--yellow);border-radius:50%;flex-shrink:0}.chat-mode.live:before{background:#357d69}.chat-messages{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:20px 18px;min-height:80px;scroll-behavior:smooth}.chat-message{max-width:92%;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 16px;padding:13px 16px;background:#eaece5;border-radius:0 14px 14px 14px}.chat-message.user{margin-left:auto;background:var(--ink);color:white;border-radius:14px 0 14px 14px}.chat-message .message-speaker{display:block;font-size:9px;margin-bottom:5px;color:var(--muted)}.chat-message.user .message-speaker{color:#c9cbd2}.chat-message.pending{opacity:.65}.chat-prompts{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:0 0 20px}.chat-prompts button{font-size:11px;background:transparent;border:1px solid #b7bcb4;border-radius:25px;padding:9px 12px;text-align:left;min-height:40px}.chat-prompts button:hover{background:var(--yellow)}.chat-tools{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:0 18px 10px;border-top:1px solid var(--line);padding-top:9px}.chat-tools button{background:none;font-size:10px;min-height:32px;padding:5px 0;text-decoration:underline;text-underline-offset:3px}.chat-tools button:disabled{opacity:.4;cursor:default}.chat-compose{padding:0 15px 13px;display:flex;gap:7px;align-items:flex-end}.chat-compose textarea{resize:none;min-height:48px;max-height:110px;flex:1;width:100%;padding:12px;border:1px solid #cdd0c8;border-radius:6px;background:white;font-size:13px;line-height:1.5}.chat-icon{background:var(--ink);color:white;width:44px;height:48px;display:grid;place-items:center;border-radius:6px;flex-shrink:0;font-size:22px}.chat-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}.chat-icon:disabled{background:#e4e6df;color:#7b817b;cursor:not-allowed}.chat-icon.recording{background:var(--red)}.chat-notice{padding:0 18px 11px;font-size:9px;color:var(--muted);line-height:1.5}.chat-error{font-size:11px;color:#a31c39;background:#f9e5e8;padding:10px 18px;line-height:1.6}.chat-error[hidden]{display:none}.chat-lead{flex:1;overflow-y:auto;padding:20px;overscroll-behavior:contain}.chat-lead h3{font-size:23px;margin:3px 0 15px}.chat-lead p{font-size:12px;color:var(--muted)}.summary-block{background:#eaece5;margin:15px 0;padding:15px}.summary-block h4{font-size:10px;letter-spacing:.5px;margin:12px 0 5px}.summary-block h4:first-child{margin-top:0}.summary-block p{color:var(--ink);white-space:pre-wrap;font-size:12px;overflow-wrap:anywhere}.lead-form label:not(.consent){display:block;font-size:11px;margin:13px 0 5px}.lead-form input:not([type=checkbox]){width:100%;border:1px solid #bfc4bb;background:white;padding:11px 12px;border-radius:3px;font-size:13px;min-height:44px}.lead-form .consent{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.7;margin:20px 0;cursor:pointer}.consent input{width:18px;height:18px;margin:2px 0 0;flex-shrink:0;accent-color:var(--ink)}.lead-form .button{width:100%;font-size:12px}.lead-form .button:disabled{opacity:.5;cursor:not-allowed;transform:none}.chat-back{background:none;min-height:44px;padding:0;font-size:11px}.lead-success{padding:40px 25px;text-align:center}.lead-success .success-symbol{width:65px;height:65px;margin:0 auto 25px;background:var(--blue);border-radius:50%;display:grid;place-items:center;font-size:30px}.lead-success h3{font-size:25px;margin-bottom:15px}.lead-success p{font-size:13px;color:var(--muted)}.lead-success button{margin-top:25px}.email-fallback{display:block;margin-top:15px;font-size:12px;text-align:center;text-decoration:underline}.chat-voice-hint{font-size:10px;padding:8px 18px;background:#fff1b9}.chat-dialog button:focus-visible,.chat-dialog textarea:focus-visible,.chat-dialog input:focus-visible{outline-offset:2px}.chat-dialog[open]{animation:chatIn .35s var(--ease)}@keyframes chatIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:560px){.chat-launcher{bottom:16px;right:16px;padding:12px 16px;font-size:12px;min-height:50px}.chat-dialog{margin:auto 8px 8px;width:calc(100% - 16px);max-width:calc(100% - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.chat-header{padding:15px 16px 12px}.chat-message{font-size:14px}.chat-compose textarea{font-size:16px}.chat-lead{padding:18px}.lead-form input:not([type=checkbox]){font-size:16px}}

/* Dark studio theme */
.chat-launcher{background:#f3f3ef;color:#101114;box-shadow:0 8px 35px #0008}.chat-header{background:#17191e;color:#f3f3ef}.chat-mode{background:#191b20}.chat-message,.summary-block{background:#1b1e24}.chat-message.user{background:#303640;color:#f3f3ef}.chat-prompts button{color:#d7d9de;border-color:#363b44}.chat-prompts button:hover{background:#303640}.chat-compose textarea,.lead-form input:not([type=checkbox]){background:#13161b;color:#f3f3ef;border-color:#363b44}.chat-icon{background:#f3f3ef;color:#101114}.chat-icon:disabled{background:#24272e;color:#777e89}.chat-tools button,.chat-back{color:#d7d9de}.chat-voice-hint{background:#302b17;color:#e9d687}.chat-error{background:#3c1c25;color:#ffa6bb}.chat-dialog{box-shadow:0 18px 80px #000a}.chat-dialog::backdrop{background:#0008}.sidebar-icon svg,.mail-symbol svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}.hero{overflow:hidden}
/* Luminous yellow AI orb and compact accessible tools */
.chat-avatar,.chat-launcher .chat-spark{position:relative;isolation:isolate;border-radius:50%;transform:none;background:radial-gradient(circle at 30% 25%,#fff9cf 0%,#ffe983 20%,#ffd43b 48%,#e99e08 80%,#b36a05 100%);box-shadow:inset -2px -3px 6px #8a570045,inset 2px 2px 5px #fffbdc80,0 0 10px #ffd84975,0 0 24px #ffc32832;animation:aiOrbGlow 4s ease-in-out infinite}.chat-avatar::before,.chat-launcher .chat-spark::before{content:'';position:absolute;inset:-5px;border-radius:50%;background:radial-gradient(circle,#ffdb4944,transparent 70%);z-index:-1;filter:blur(3px)}.chat-avatar::after,.chat-launcher .chat-spark::after{content:'';position:absolute;inset:13% 43% 60% 18%;border-radius:50%;background:#fffde9bb;filter:blur(2px);transform:rotate(-30deg)}.chat-dialog.is-thinking .chat-avatar{animation:aiOrbGlow 1.3s ease-in-out infinite}.chat-mode.live:before{background:#f6d354;box-shadow:0 0 8px #f6d35466}.chat-tools{gap:10px;padding:8px 14px}.chat-tools button{min-height:44px;text-decoration:none;padding:8px 10px;border-radius:7px;transition:background .2s,color .2s}.chat-tools button:not(:disabled):hover{background:#ffffff0a;color:#fff4b2}.chat-email-tool{display:flex;align-items:center;gap:8px;font-size:11px!important;text-align:left;flex:1}.chat-icon-tools{display:flex;gap:4px}.chat-tools .chat-tool-icon{width:44px;display:grid;place-items:center;padding:10px;flex-shrink:0}.chat-tool-icon[aria-pressed=true]{background:#ffe47418;color:#ffe474}.chat-tools svg,.chat-handoff svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.chat-handoff{border:1px solid #4d4932;background:linear-gradient(140deg,#24231b,#171b20);padding:17px;border-radius:12px;margin:8px 0 18px;overflow-wrap:anywhere}.chat-handoff h3{font-size:15px;line-height:1.65;color:#f4eedc;margin:0 0 8px;letter-spacing:0}.chat-handoff>p{font-size:12px;line-height:1.85;color:#bbc0c6;margin:0 0 14px}.handoff-options{display:flex;flex-direction:column;gap:8px}.handoff-options button,#handoff-prepare{min-height:44px;border-radius:7px;padding:11px 12px;text-align:left;font-size:12px;background:#ffe58f;color:#242213;display:flex;align-items:center;justify-content:space-between;gap:10px}.handoff-options button:last-child{background:transparent;color:#c1c6cc;border:1px solid #4c5055}.handoff-options button:hover,#handoff-prepare:hover{filter:brightness(1.08)}.handoff-options button:disabled,#handoff-prepare:disabled{opacity:.5;cursor:wait}.handoff-text-action{min-height:44px;background:transparent;color:#f0d97d;font-size:11px;text-align:left;padding:8px 0}.whatsapp-card-heading{display:flex;gap:11px;align-items:center;margin-bottom:15px}.whatsapp-card-heading h3{margin:0;font-size:14px}.whatsapp-card-heading div>span{font-size:10px;color:#a4acb5}.whatsapp-badge{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;border-radius:50%;background:#25d36620;color:#5be390}.whatsapp-badge svg{width:26px;height:26px}.whatsapp-preview{border:1px solid #373e43;border-radius:8px;overflow:hidden;margin:15px 0;background:#10161b}.whatsapp-preview summary{padding:11px 12px;font-size:11px;cursor:pointer;color:#b9c2ca}.whatsapp-preview pre{font:inherit;font-size:11px;line-height:1.9;white-space:pre-wrap;margin:0;padding:0 12px 13px;max-height:215px;overflow:auto;color:#c8ced5}.whatsapp-contact-link{display:flex;align-items:center;gap:9px;background:#25d366;color:#092b17;border-radius:7px;min-height:46px;padding:11px 12px;font-size:12px;font-weight:500}.whatsapp-contact-link>span:last-child{margin-left:auto}.whatsapp-contact-link:hover{background:#50e387}.chat-handoff .whatsapp-send-note{font-size:10px;margin:11px 0 0;color:#969fa9;line-height:1.8}.motion-paused .chat-avatar,.motion-paused .chat-spark{animation:none!important}@keyframes aiOrbGlow{0%,100%{box-shadow:inset -2px -3px 6px #8a570045,inset 2px 2px 5px #fffbdc80,0 0 10px #ffd84975,0 0 24px #ffc32832}50%{box-shadow:inset -2px -3px 6px #8a570045,inset 2px 2px 5px #fffbdc80,0 0 15px #ffd84999,0 0 30px #ffc32850}}@media(prefers-reduced-motion:reduce){.chat-avatar,.chat-launcher .chat-spark,.chat-dialog.is-thinking .chat-avatar{animation:none}}@media(max-width:560px){.chat-email-tool{font-size:12px!important}.chat-handoff h3{font-size:16px}.chat-handoff>p{font-size:13px}.handoff-options button,#handoff-prepare,.whatsapp-contact-link{font-size:13px}.whatsapp-preview pre{font-size:12px}.chat-handoff .whatsapp-send-note{font-size:11px}}

/* Diffuse monochrome light: no opaque surface or specular highlight. */
.chat-avatar,.chat-launcher .chat-spark{background:radial-gradient(circle,#ffda6480 0%,#ffda644d 28%,#ffda6426 48%,#ffda640a 66%,transparent 75%);box-shadow:none;filter:blur(.6px);animation:aiMistBreath 5s ease-in-out infinite}
.chat-avatar::before,.chat-launcher .chat-spark::before{inset:-28%;background:radial-gradient(ellipse at 40% 44%,#ffda6459 0%,#ffda642b 35%,transparent 70%);filter:blur(5px);opacity:.8;z-index:-1}
.chat-avatar::after,.chat-launcher .chat-spark::after{inset:6%;background:radial-gradient(ellipse at 57% 42%,#ffda6473,transparent 68%);filter:blur(5px);transform:none}
.chat-dialog.is-thinking .chat-avatar{animation:aiMistBreath 1.8s ease-in-out infinite}
.chat-mode.live:before{background:#58d69a;box-shadow:0 0 7px #58d69a66}
.chat-handoff .handoff-followup{margin:16px 0 0;padding-top:13px;border-top:1px solid #ffffff12;color:#d0d5da;font-size:12px}
@keyframes aiMistBreath{0%,100%{transform:scale(.94);opacity:.72}50%{transform:scale(1.08);opacity:1}}
@media(prefers-reduced-motion:reduce){.chat-avatar,.chat-launcher .chat-spark,.chat-dialog.is-thinking .chat-avatar{animation:none}}
.chat-call-entry{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;margin:0 16px 10px;border:1px solid #ffda6438;border-radius:8px;background:#ffda640a;color:#e9dcae;font-size:12px}.chat-call-entry svg,.voice-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.chat-call-entry:disabled{opacity:.45;cursor:default}.chat-call-entry:hover{background:#ffda6418}.voice-call{flex:1;overflow:auto;min-height:0;padding:12px 26px 24px;text-align:center}.voice-call .chat-back{display:block;color:#adb4be}.voice-orb{width:104px;height:104px;margin:22px auto 16px;background:radial-gradient(circle,#ffda6480, #ffda643b 28%,#ffda6418 52%,transparent 72%);filter:blur(4px);animation:aiMistBreath 4s ease-in-out infinite}.voice-orb.speaking{animation:aiMistBreath .9s ease-in-out infinite}.voice-call h3{font-size:23px;letter-spacing:-.4px;margin-bottom:12px}.voice-state{font-size:13px;line-height:1.8;color:#d2d6dc;min-height:46px}.voice-notice{font-size:11px;line-height:1.8;color:#aab2bd;margin:18px 0}.voice-limit{font-size:11px;color:#e8d99f;line-height:1.7}.voice-shared,.voice-transcript-note{font-size:10px;color:#8d97a5;line-height:1.7;margin:8px 0 16px}.voice-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:19px 0}.voice-controls button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 18px;border-radius:8px;background:#ece8d9;color:#171a20;font-size:13px}.voice-controls button:disabled{opacity:.5;cursor:wait}.voice-controls #voice-end{background:#ae3946;color:#fff}.voice-controls #voice-mute{background:#272c34;color:#e1e6ee;border:1px solid #49515d}.voice-countdown{margin:12px 0}.voice-countdown span{display:block;color:#939eab;font-size:10px}.voice-countdown strong{font-variant-numeric:tabular-nums;font-size:36px;font-weight:400;letter-spacing:2px;color:#f2df9f}.voice-warning{font-size:12px;color:#f1cb72;line-height:1.7}.voice-controls [hidden],.voice-call [hidden]{display:none!important}.voice-ended-note{padding:14px;border:1px solid #3a424b;border-radius:9px;color:#cdd6df;font-size:12px;line-height:1.8;margin:10px 0 18px}.motion-paused .voice-orb{animation:none}@media(prefers-reduced-motion:reduce){.voice-orb,.voice-orb.speaking{animation:none}}
