body .mya-chat-root [hidden]{display:none !important}
body .mya-chat-root{position:fixed;right:18px;bottom:18px;z-index:10050;font-family:var(--mya-font,"Sofia Sans",sans-serif) !important;color:#1c1c1c;line-height:1.45;letter-spacing:normal;text-transform:none}
body .mya-chat-root,body .mya-chat-root *{box-sizing:border-box;font-family:var(--mya-font,"Sofia Sans",sans-serif);letter-spacing:normal;text-transform:none}
body.mya-sticky-visible .mya-chat-root{bottom:calc(var(--mya-sticky-height,72px) + 12px)}
body .mya-chat-root button,body .mya-chat-root input:not([type=checkbox]),body .mya-chat-root textarea{appearance:none;-webkit-appearance:none;margin:0;background-image:none;box-shadow:none;text-transform:none;letter-spacing:normal;font-family:inherit;line-height:1.3;min-height:0;width:auto;max-width:none}
body .mya-chat-root img{max-width:none;border:0;box-shadow:none}
body .mya-chat-root a{color:inherit;text-decoration:none;box-shadow:none;background:none}
body .mya-chat-root a.mya-chat-contact{color:#af1f2b;font-weight:750;text-decoration:underline;text-underline-offset:2px}
body .mya-chat-root h2,body .mya-chat-root p,body .mya-chat-root label{margin:0;padding:0;font-family:inherit;color:inherit}
body .mya-chat-root svg{display:block;fill:none}
body .mya-chat-root button.mya-chat-bubble{width:58px;height:58px;min-width:58px;max-width:58px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:0 10px 24px #5a183038;cursor:pointer;display:grid;place-items:center}
body .mya-chat-root .mya-chat-bubble img{width:58px;height:58px;object-fit:contain;border-radius:0;background:transparent}
body .mya-chat-root .mya-chat-bubble:hover{transform:translateY(-2px)}
body .mya-chat-root button:focus-visible,body .mya-chat-root input:focus-visible,body .mya-chat-root textarea:focus-visible{outline:2px solid var(--mya-accent,#af1f2b);outline-offset:2px}
body .mya-chat-root .mya-chat-panel{position:absolute;right:0;bottom:70px;width:min(340px,calc(100vw - 24px));height:min(540px,calc(100dvh - 120px));display:flex;flex-direction:column;overflow:hidden;border-radius:26px;border:1px solid #ffffffb8;background:linear-gradient(180deg,#ffffff78,#fff6f46b 42%,#ffffff82),radial-gradient(120% 70% at 8% 0%,#ffc49a80,transparent 58%),radial-gradient(90% 60% at 100% 18%,#ef6d9a66,transparent 52%),radial-gradient(80% 50% at 50% 100%,#af1f2b1f,transparent 62%);backdrop-filter:blur(22px) saturate(1.4);-webkit-backdrop-filter:blur(22px) saturate(1.4);box-shadow:0 22px 60px #2a101840,inset 0 1px 0 #ffffffd9}
body .mya-chat-root .mya-chat-panel[hidden]{display:none}
body .mya-chat-root .mya-chat-head{position:absolute;top:0;left:0;right:0;z-index:4;display:flex;align-items:center;gap:8px;padding:10px 10px 26px;pointer-events:none;background:linear-gradient(180deg,#fff8f6e6 0%,#fff8f699 58%,#fff8f600 100%);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 58%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 58%,transparent 100%)}
body .mya-chat-root .mya-chat-head>*{pointer-events:auto}
body .mya-chat-root .mya-chat-status{display:flex;align-items:center;gap:7px;margin:0;min-width:0}
body .mya-chat-root .mya-chat-mark{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;overflow:hidden;flex-shrink:0;background:transparent}
body .mya-chat-root .mya-chat-mark img,body .mya-chat-root .mya-chat-mark svg{width:24px;height:24px;object-fit:contain}
body .mya-chat-root .mya-chat-status strong{font-size:12px;letter-spacing:.08em;font-weight:750}
body .mya-chat-root .mya-chat-online{width:7px;height:7px;border-radius:50%;background:#2faf62;box-shadow:0 0 0 3px #2faf6226}
body .mya-chat-root .mya-chat-scroll{flex:1;min-height:0;overflow:auto;padding:46px 12px 8px;display:flex;flex-direction:column}
body .mya-chat-root .mya-chat-scroll::-webkit-scrollbar{width:7px}
body .mya-chat-root .mya-chat-scroll::-webkit-scrollbar-thumb{background:#ffffffb0;border-radius:99px}
body .mya-chat-root .mya-chat-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 16px 2px;gap:2px}
body .mya-chat-root .mya-chat-hero img,body .mya-chat-root .mya-chat-hero svg{width:60px;height:60px;object-fit:contain;filter:drop-shadow(0 8px 16px #7a2a6a2e)}
body .mya-chat-root .mya-chat-hero strong{font-size:16px;letter-spacing:-.2px;font-weight:750}
body .mya-chat-root .mya-chat-hero span{font-size:12px;color:#5c5658}
body .mya-chat-root .mya-chat-panel.is-live .mya-chat-hero img,body .mya-chat-root .mya-chat-panel.is-live .mya-chat-hero svg{width:48px;height:48px}
body .mya-chat-root .mya-chat-panel.is-live .mya-chat-hero strong{font-size:14px}
body .mya-chat-root .mya-chat-log{display:flex;flex-direction:column;gap:10px;background:transparent;overflow:visible;padding:0}
body .mya-chat-root .mya-chat-row{display:flex;align-items:flex-end;gap:6px;max-width:96%}
body .mya-chat-root .mya-chat-face{width:22px;height:22px;border-radius:50%;object-fit:contain;flex-shrink:0;background:#ffffffb0}
body .mya-chat-root .mya-chat-msg{max-width:100%;padding:9px 11px;border-radius:16px;font-size:13.5px;line-height:1.45;white-space:pre-wrap}
body .mya-chat-root .mya-chat-row .mya-chat-msg{max-width:calc(100% - 28px)}
body .mya-chat-root .mya-chat-msg.is-assistant{background:#ffffffd6;color:#1c1c1c;border-bottom-left-radius:5px;box-shadow:0 6px 16px #1b101212}
body .mya-chat-root .mya-chat-msg.is-user{align-self:flex-end;max-width:88%;background:linear-gradient(100deg,#c81e36,#e45486);color:#fff;border-radius:16px 16px 5px 16px;box-shadow:0 8px 16px #c81e362e}
body .mya-chat-root .mya-chat-msg.is-note{align-self:stretch;background:#fff6f6d0;color:#7a3036;border:1px solid #f0d5d8;text-align:center}
body .mya-chat-root .mya-chat-cards{display:flex;flex-direction:column;gap:6px;align-self:stretch;margin-left:28px}
body .mya-chat-root .mya-chat-card{display:grid;grid-template-columns:58px 1fr;gap:8px;padding:6px;border:1px solid #fff;border-radius:14px;background:#ffffffd4;color:inherit;box-shadow:0 6px 14px #1b101210}
body .mya-chat-root .mya-chat-card img{width:58px;height:58px;object-fit:contain;background:#fff;border-radius:10px}
body .mya-chat-root .mya-chat-card strong{display:block;font-size:12px;line-height:1.3}
body .mya-chat-root .mya-chat-card del{color:#8a8688;font-size:11px;margin-right:5px}
body .mya-chat-root .mya-chat-card b{color:var(--mya-accent,#af1f2b);font-size:13px}
body .mya-chat-root .mya-chat-card em{display:block;margin-top:3px;font-style:normal;font-size:11px;font-weight:750}
body .mya-chat-root .mya-chat-card:hover{background:#fff}
body .mya-chat-root .mya-chat-starters{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0 2px}
body .mya-chat-root .mya-chat-starters button{border:1px solid #fff;background:#ffffffc2;border-radius:999px;padding:6px 10px;font:inherit;font-size:11px;cursor:pointer;color:#1c1c1c}
body .mya-chat-root .mya-chat-starters button:hover{border-color:var(--mya-accent,#af1f2b);color:var(--mya-accent,#af1f2b)}
body .mya-chat-root .mya-chat-compose{display:flex;gap:4px;align-items:flex-end;margin:0 10px 10px;padding:4px 4px 4px 12px;border-radius:999px;background:#ffffffd0;border:1px solid #fff;box-shadow:0 8px 18px #1b101212}
body .mya-chat-root .mya-chat-compose textarea{flex:1;width:100%;resize:none;min-height:34px;max-height:72px;border:0;background:transparent;padding:8px 0;font:inherit;font-size:13px;color:#1c1c1c;box-shadow:none}
body .mya-chat-root .mya-chat-compose textarea:focus{outline:none}
body .mya-chat-root button.mya-chat-mic,body .mya-chat-root button.mya-chat-send{width:34px;height:34px;min-width:34px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;padding:0}
body .mya-chat-root button.mya-chat-mic{border:0;background:transparent;color:#3a3a3a;cursor:pointer}
body .mya-chat-root button.mya-chat-mic.is-on{background:#191919;color:#fff}
body .mya-chat-root button.mya-chat-mic[hidden]{display:none}
body .mya-chat-root button.mya-chat-send{border:0;background:#2b2b2b;color:#fff;cursor:pointer}
body .mya-chat-root button.mya-chat-send:hover{background:#111}
body .mya-chat-root button.mya-chat-send:disabled{opacity:.45;cursor:default}
body .mya-chat-root .mya-chat-gate{padding:2px 4px 8px}
body .mya-chat-root .mya-chat-gate h2{margin:2px 0;font-size:16px;letter-spacing:-.2px;font-weight:750}
body .mya-chat-root .mya-chat-gate>p{margin:0 0 6px;color:#5c5658;font-size:12px;line-height:1.4}
body .mya-chat-root .mya-chat-gate label{display:flex;flex-direction:column;gap:3px;font-size:11px;font-weight:700;margin-bottom:6px}
body .mya-chat-root .mya-chat-gate input[type=text],body .mya-chat-root .mya-chat-gate input[type=email],body .mya-chat-root .mya-chat-gate input[type=tel]{width:100%;min-height:32px;border:1px solid #fff;border-radius:12px;padding:6px 10px;font:inherit;font-weight:500;font-size:13px;background:#ffffffc7;color:#1c1c1c;box-shadow:none}
body .mya-chat-root .mya-chat-gate .is-check{flex-direction:row;align-items:flex-start;font-weight:500;line-height:1.4;color:#333}
body .mya-chat-root .mya-chat-gate .is-check input{appearance:auto;-webkit-appearance:checkbox;width:16px;height:16px;min-width:16px;flex:0 0 16px;margin:2px 8px 0 0;accent-color:var(--mya-accent,#af1f2b)}
body .mya-chat-root .mya-chat-gate .is-check a{color:var(--mya-accent,#af1f2b);background:none}
body .mya-chat-root .mya-chat-gate button{border:0;border-radius:999px;min-height:36px;padding:7px 12px;font:inherit;font-weight:750;cursor:pointer}
body .mya-chat-root .mya-chat-gate button{width:100%;margin-top:4px;background:linear-gradient(90deg,#af1f2b,#d23a62);color:#fff;box-shadow:0 6px 14px #af1f2b2e}
body .mya-chat-root .mya-chat-hp{position:absolute;inset:auto;opacity:0;clip-path:inset(50%);width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;pointer-events:none}
body .mya-chat-root .mya-chat-typing{display:flex;gap:4px;align-items:center;height:30px;padding:0 12px;border-radius:16px;background:#ffffffd4}
body .mya-chat-root .mya-chat-typing i{width:6px;height:6px;border-radius:50%;background:#9a9094;display:block;animation:mya-chat-dot 1s infinite ease-in-out}
body .mya-chat-root .mya-chat-typing i:nth-child(2){animation-delay:.15s}
body .mya-chat-root .mya-chat-typing i:nth-child(3){animation-delay:.3s}
@keyframes mya-chat-dot{0%,80%,100%{transform:translateY(0);opacity:.4}40%{transform:translateY(-3px);opacity:1}}
@media(max-height:760px){
body .mya-chat-root .mya-chat-panel{height:min(540px,calc(100dvh - 108px))}
body .mya-chat-root .mya-chat-hero img,body .mya-chat-root .mya-chat-hero svg{width:48px;height:48px}
}
@media(max-width:640px){
body .mya-chat-root{right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom))}
body .mya-chat-root.is-open{
    z-index:100100;
    top:var(--mya-chat-viewport-top,0px);
    left:0;
    right:0;
    bottom:auto;
    height:100vh;
    height:var(--mya-chat-viewport-height,100dvh);
    pointer-events:none;
}
body .mya-chat-root.is-open .mya-chat-bubble{display:none}
body .mya-chat-root.is-open .mya-chat-panel{
    position:absolute;
    left:max(8px,env(safe-area-inset-left));
    right:max(8px,env(safe-area-inset-right));
    bottom:max(8px,env(safe-area-inset-bottom));
    width:auto;
    height:min(600px,calc(100% - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom))));
    border:1px solid #fff;
    border-radius:18px;
    pointer-events:auto;
}
body .mya-chat-root .mya-chat-head{
    position:static;
    flex:none;
    padding:4px 8px 4px 12px;
    background:#fff9;
    border-bottom:1px solid #fff7;
    pointer-events:auto;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    -webkit-mask-image:none;
    mask-image:none;
}
body .mya-chat-root .mya-chat-scroll{padding:10px 12px;overflow-x:hidden;overscroll-behavior:contain;min-width:0}
body .mya-chat-root .mya-chat-scroll>*{flex-shrink:0;min-width:0}
body .mya-chat-root .mya-chat-panel.is-live .mya-chat-hero{display:none}
body .mya-chat-root .mya-chat-msg,body .mya-chat-root .mya-chat-card,body .mya-chat-root .mya-chat-gate{overflow-wrap:anywhere}
body .mya-chat-root .mya-chat-card{grid-template-columns:48px minmax(0,1fr)}
body .mya-chat-root .mya-chat-card img{width:48px;height:48px}
body .mya-chat-root .mya-chat-gate input:not([type=checkbox]),body .mya-chat-root .mya-chat-compose textarea{font-size:16px;min-height:44px}
body .mya-chat-root .mya-chat-gate button{min-height:44px}
body .mya-chat-root .mya-chat-compose{flex:none;min-width:0;margin:0 8px 8px}
body .mya-chat-root .mya-chat-compose textarea{min-width:0;width:0;padding:10px 0}
body .mya-chat-root button.mya-chat-mic,body .mya-chat-root button.mya-chat-send{width:44px;height:44px;min-width:44px}
}
@media(prefers-reduced-motion:reduce){
body .mya-chat-root .mya-chat-bubble,body .mya-chat-root .mya-chat-typing i{transition:none;animation:none}
}

body .mya-chat-root .mya-chat-head button {
    position:relative;
    display:grid;
    place-items:center;
    flex:0 0 34px;
    width:34px;
    min-width:34px;
    height:34px;
    padding:0;
    border:0;
    border-radius:50%;
    background:transparent;
    color:#252525;
    cursor:pointer;
    isolation:isolate;
}
body .mya-chat-root .mya-chat-head button::before {
    content:'';
    position:absolute;
    width:28px;
    height:28px;
    border-radius:50%;
    background:#ffffffdc;
    z-index:-1;
}
body .mya-chat-root .mya-chat-head .mya-chat-settings-toggle { margin-left:auto }
body .mya-chat-root .mya-chat-head button:hover::before,
body .mya-chat-root .mya-chat-head button[aria-expanded=true]::before { background:#f1dedf }
body .mya-chat-root .mya-chat-x::after {
    content:'';
    width:16px;
    height:16px;
    background:linear-gradient(currentColor,currentColor) center/2.25px 16px no-repeat,
               linear-gradient(currentColor,currentColor) center/16px 2.25px no-repeat;
    transform:rotate(45deg);
}
body .mya-chat-root .mya-chat-head .mya-chat-back::before { background:transparent }
body .mya-chat-root .mya-chat-head .mya-chat-back:hover::before { background:#ffffffa6 }
body .mya-chat-root .mya-chat-head .mya-chat-back::after {
    content:'';
    width:8px;
    height:8px;
    border-left:2px solid currentColor;
    border-bottom:2px solid currentColor;
    border-bottom-left-radius:1px;
    transform:translateX(2px) rotate(45deg);
}
body .mya-chat-root button.mya-chat-team {
    align-self:center;
    flex:none;
    margin:0 0 8px;
    min-height:32px;
    padding:5px 12px;
    border:0;
    background:transparent;
    color:#8c202a;
    text-decoration:underline;
    text-underline-offset:3px;
    font-size:13px;
    cursor:pointer;
}
body .mya-chat-root .mya-chat-preferences {
    flex:1;
    min-height:0;
    overflow:auto;
    padding:60px 16px 16px;
    background:#fffaf938;
    overscroll-behavior:contain;
}
body .mya-chat-root .mya-chat-preferences h2 {
    margin:0 0 10px;
    font-size:15px;
    line-height:1.3;
    font-weight:700;
}
body .mya-chat-root .mya-chat-preference-controls {
    border:1px solid #ffffffdc;
    border-radius:12px;
    padding:0 10px;
    background:#ffffffaa;
}
body .mya-chat-root label.mya-chat-switch {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:42px;
    font-size:12px;
    font-weight:650;
    cursor:pointer;
}
body .mya-chat-root .mya-chat-switch + .mya-chat-switch { border-top:1px solid #56352c1a }
body .mya-chat-root .mya-chat-preference-information {
    margin-top:12px;
    padding:0 2px;
    color:#514a4b;
    font-size:12px;
}
body .mya-chat-root .mya-chat-preference-information p { margin:0 0 4px;line-height:1.45 }
body .mya-chat-root .mya-chat-switch input {
    appearance:none;
    -webkit-appearance:none;
    position:relative;
    flex:none;
    width:34px;
    height:20px;
    margin:0 0 0 auto;
    border:1px solid #a8a1a0;
    border-radius:20px;
    background:#eee9e8;
    cursor:pointer;
}
body .mya-chat-root .mya-chat-switch input::before {
    content:'';
    position:absolute;
    top:2px;
    left:2px;
    width:14px;
    height:14px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 1px 3px #392c2c40;
}
body .mya-chat-root .mya-chat-switch input:checked { background:#a51e2b;border-color:#a51e2b }
body .mya-chat-root .mya-chat-switch input:checked::before { transform:translateX(14px) }
body .mya-chat-root .mya-chat-gate textarea {
    width:100%;
    min-height:54px;
    padding:8px 10px;
    border:1px solid #e4d7d5;
    border-radius:10px;
    background:#fff;
    resize:vertical;
    font-size:16px;
}
body .mya-chat-root.mya-chat-no-animation .mya-chat-typing i,
body .mya-chat-root.mya-chat-no-animation .mya-chat-msg { animation:none }
@media (prefers-reduced-motion:no-preference) {
    body .mya-chat-root:not(.mya-chat-no-animation) .mya-chat-msg.is-assistant { animation:mya-chat-arrival 180ms ease-out }
}
@keyframes mya-chat-arrival { from { opacity:0;transform:translateY(4px) } to { opacity:1;transform:translateY(0) } }

body .mya-chat-root .mya-chat-settings-icon {
    width:13px;
    height:13px;
    background:radial-gradient(circle at center, transparent 0 23%, currentColor 25%);
    clip-path:polygon(39% 0,61% 0,65% 16%,74% 21%,90% 17%,100% 35%,89% 46%,89% 54%,100% 65%,90% 83%,74% 79%,65% 84%,61% 100%,39% 100%,35% 84%,26% 79%,10% 83%,0 65%,11% 54%,11% 46%,0 35%,10% 17%,26% 21%,35% 16%);
}
body .mya-chat-root .mya-chat-card-item { min-width:0 }
body .mya-chat-root button.mya-chat-card-add {
    width:100%;
    min-height:38px;
    margin-top:4px;
    padding:7px 10px;
    border:1px solid #fff8;
    border-radius:12px;
    background:#a51e2b;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}
body .mya-chat-root button.mya-chat-card-add:hover { background:#851721 }
@media(max-width:640px) {
    body .mya-chat-root button.mya-chat-card-add { min-height:44px }
}

body .mya-chat-root .mya-chat-go { display:flex;gap:6px;margin:2px 0 4px }
body .mya-chat-root .mya-chat-go a { flex:1;text-align:center;border-radius:12px;padding:8px 10px;background:#292424;color:#fff;font-size:12px;font-weight:700 }
body .mya-chat-root .mya-chat-go a:last-child { background:#a51e2b }

body .mya-chat-root .mya-chat-preferences .mya-chat-contact { font-size:12px }
@media(max-width:640px) {
    body .mya-chat-root .mya-chat-head { gap:2px }
    body .mya-chat-root .mya-chat-head button { flex-basis:44px;width:44px;min-width:44px;height:44px }
    body .mya-chat-root .mya-chat-preferences { padding:12px 14px 14px }
}

body .mya-chat-root .mya-chat-finish {
    flex:1;
    min-height:0;
    overflow:auto;
    margin:0;
    padding:54px 16px 16px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:9px;
    text-align:center;
    overscroll-behavior:contain;
}
body .mya-chat-root .mya-chat-finish h2 { font-size:18px;line-height:1.2;font-weight:750 }
body .mya-chat-root .mya-chat-finish p { color:#51474a;font-size:13px }
body .mya-chat-root .mya-chat-finish .mya-chat-finish-status:empty { display:none }
body .mya-chat-root .mya-chat-rating {
    min-width:0;
    margin:6px 0;
    padding:0;
    border:0;
    background:transparent;
}
body .mya-chat-root .mya-chat-rating legend { width:100%;padding:0;font-size:13px;font-weight:700 }
body .mya-chat-root .mya-chat-stars { display:flex;justify-content:center;gap:2px }
body .mya-chat-root .mya-chat-stars label {
    position:relative;
    display:grid;
    place-items:center;
    flex:0 1 44px;
    min-height:42px;
    color:#635651;
    font-size:29px;
    line-height:1;
    cursor:pointer;
}
body .mya-chat-root .mya-chat-stars label.is-selected { color:#a51e2b }
body .mya-chat-root .mya-chat-stars input {
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
}
body .mya-chat-root .mya-chat-stars label:focus-within { outline:2px solid #a51e2b;border-radius:8px }
body .mya-chat-root .mya-chat-finish button {
    flex:none;
    min-height:42px;
    padding:8px 12px;
    border:1px solid #fff9;
    border-radius:12px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
}
body .mya-chat-root button.mya-chat-finish-confirm { background:#a51e2b;color:#fff }
body .mya-chat-root button.mya-chat-finish-cancel { background:#ffffffd4;color:#292424 }
body .mya-chat-root .mya-chat-finish button:disabled { opacity:.55;cursor:wait }
@media(max-width:640px) {
    body .mya-chat-root .mya-chat-finish { padding:14px 14px 16px }
}
