/* Scoped interface. No modifications to the public homepage or other Elementor/Kirki elements. */
#sml-openai-voice-guide{position:fixed;right:20px;bottom:18px;z-index:99990;font:400 15px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;color:#142b44}
#sml-openai-voice-guide *,#sml-openai-voice-guide *::before,#sml-openai-voice-guide *::after{box-sizing:border-box}
#sml-openai-voice-guide [hidden]{display:none!important}
#sml-voice-toggle{
  background:linear-gradient(160deg,#0da641 0%,#087931 56%,#064e26 100%);
  color:#fff;
  border:2px solid #63ff82;
  border-radius:999px;
  padding:15px 22px;
  font-size:16px;
  font-weight:750;
  line-height:1.3;
  letter-spacing:.012em;
  text-shadow:0 1px 2px rgba(0,37,18,.55);
  box-shadow:0 0 0 0 rgba(69,255,113,.2),0 0 16px rgba(38,242,92,.42),0 8px 24px rgba(0,46,22,.36);
  cursor:pointer;
  animation:smlVoiceButtonPulse 2.6s ease-in-out infinite;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
#sml-voice-toggle:hover{
  animation:none;
  transform:translateY(-2px);
  filter:brightness(1.08);
  box-shadow:0 0 0 6px rgba(76,255,126,.14),0 0 28px rgba(39,255,107,.68),0 10px 26px rgba(0,46,22,.40);
}
#sml-voice-toggle:focus-visible{
  outline:3px solid #d5ff75;
  outline-offset:4px;
}
#sml-voice-toggle:active{
  transform:translateY(0);
}
@keyframes smlVoiceButtonPulse{
  0%,100%{
    box-shadow:0 0 0 0 rgba(69,255,113,.18),0 0 15px rgba(38,242,92,.40),0 8px 24px rgba(0,46,22,.36);
  }
  50%{
    box-shadow:0 0 0 9px rgba(69,255,113,.08),0 0 29px rgba(39,255,109,.72),0 10px 28px rgba(0,46,22,.42);
  }
}
@media(prefers-reduced-motion:reduce){
  #sml-voice-toggle{
    animation:none!important;
    transition:none!important;
  }
  #sml-voice-toggle:hover{
    transform:none;
  }
}
#sml-openai-voice-guide button:focus-visible,#sml-openai-voice-guide a:focus-visible{outline:3px solid #34b3d4;outline-offset:3px}
#sml-voice-panel{width:min(410px,calc(100vw - 24px));max-height:min(640px,calc(100dvh - 38px));display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 12px 36px rgba(11,39,64,.30);overflow:hidden;border:1px solid #c5d6df}
#sml-openai-voice-guide .sml-voice-header{display:flex;align-items:center;justify-content:space-between;background:#142b44;color:#fff;padding:16px 16px 14px;gap:10px}
#sml-openai-voice-guide .sml-voice-header strong{display:block;font-size:16px}
#sml-openai-voice-guide .sml-voice-header small{display:block;font-size:12px;margin-top:4px;color:#b5e5f5}
#sml-voice-close{background:transparent;color:white;border:1px solid #ffffff66;border-radius:8px;cursor:pointer;padding:6px 10px;font-size:18px}
#sml-openai-voice-guide .sml-voice-body{padding:17px;overflow:auto;overscroll-behavior:contain;flex:1 1 auto}
#sml-openai-voice-guide .sml-voice-greeting{font-weight:650;margin:0 0 11px;font-size:16px;color:#102b43}
#sml-openai-voice-guide .sml-voice-privacy{font-size:12px;color:#52677b;margin:0 0 12px;line-height:1.5}
#sml-openai-voice-guide .sml-voice-captions{max-height:190px;overflow:auto;scrollbar-width:thin}
#sml-openai-voice-guide .sml-voice-captions p{font-size:14px;padding:9px 11px;background:#edf4f8;border-radius:10px;margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}
#sml-openai-voice-guide .sml-voice-ai-caption{background:#e9f4f2!important}
#sml-voice-status{margin:10px 0 0;font-size:13px;color:#277078}
#sml-voice-status.sml-voice-error{color:#a12a35}
#sml-voice-audio{width:100%;margin-top:8px;height:38px}
#sml-openai-voice-guide .sml-voice-controls{display:flex;gap:8px;padding:12px 14px;border-top:1px solid #e6edf2}
#sml-openai-voice-guide .sml-voice-controls button{border:1px solid #c1d3dc;border-radius:9px;padding:10px 12px;min-height:42px;background:#f7fafc;color:#15314b;cursor:pointer;font-weight:650;flex:0 0 auto}
#sml-voice-start{background:#147f85!important;color:white!important;border-color:#147f85!important;flex:1!important}
#sml-openai-voice-guide .sml-voice-controls button:disabled{opacity:.45;cursor:not-allowed}
#sml-openai-voice-guide .sml-voice-links{display:flex;justify-content:space-around;gap:8px;padding:0 14px 13px;flex-wrap:wrap}
#sml-openai-voice-guide .sml-voice-links a{font-size:12px;color:#196a84;text-decoration:underline}
/* Fallback when a previously installed animated hero plugin is still active on the private preview. */
body.page-id-222 [data-kirki="sml_hero_media_placeholder"].sml-voice-static-restored{height:auto!important;min-height:0!important;aspect-ratio:auto!important}
body.page-id-222 .sml-preview-static-hero{display:block!important;width:100%!important;max-width:100%!important;height:520px!important;object-fit:cover;object-position:center 22%}
body.page-id-222 .sml-live-robots{visibility:hidden!important}
@media(max-width:760px){
  #sml-openai-voice-guide{right:12px;left:12px;bottom:10px}
  #sml-voice-toggle{display:block;margin-left:auto}
  #sml-voice-panel{width:100%;max-height:calc(100dvh - 18px)}
  #sml-openai-voice-guide .sml-voice-controls button{font-size:12px;padding:8px 10px}
  body.page-id-222 .sml-preview-static-hero{height:290px!important}
}
@media(prefers-reduced-motion:reduce){#sml-openai-voice-guide *,#sml-openai-voice-guide *::before{scroll-behavior:auto!important;transition:none!important}}
