:is(body:has([aria-modal=true]) .ycf-chat,body:has([aria-modal=true]) .ycf-chat-launcher,body:has(.tracking-consent) .ycf-chat,body:has(.tracking-consent) .ycf-chat-launcher){display:none!important}.ycf-chat{z-index:1000;width:min(380px,100vw - 40px);max-height:min(560px,100vh - 40px);color:var(--ink,#062a3d);background:#fff;border-radius:16px;grid-template-rows:auto minmax(120px,1fr) auto;display:grid;position:fixed;bottom:20px;right:20px;overflow:hidden;box-shadow:0 12px 45px #0e2e3a3d}.ycf-chat header{background:var(--ink,#062a3d);color:#fff;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.ycf-chat header button{color:#fff;cursor:pointer;background:0 0;border:0;min-width:44px;min-height:44px;font-size:26px;line-height:1}.ycf-chat-log{background:var(--paper,#f5f7f6);flex-direction:column;gap:8px;padding:14px 16px;display:flex;overflow-y:auto}.ycf-chat-msg{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;max-width:85%;margin:0;padding:9px 12px;font-size:15px;line-height:1.45}.ycf-chat-msg time{opacity:.65;margin-top:3px;font-size:11px;display:block}.ycf-chat-msg--agency{border:1px solid var(--line,#dce4e5);background:#fff;align-self:flex-start}.ycf-chat-msg--visitor{background:var(--ink2,#0b374b);color:#fff;align-self:flex-end}.ycf-chat form{border-top:1px solid var(--line,#dce4e5);gap:8px;padding:12px 16px 16px;display:grid}.ycf-chat-notice{color:#587078;margin:0;font-size:12.5px;line-height:1.4}.ycf-chat-notice a{color:var(--ink,#062a3d);text-decoration:underline}.ycf-chat-error{color:#b3261e;margin:0;font-size:13px}.ycf-chat-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.ycf-chat textarea{box-sizing:border-box;border:1px solid var(--line,#dce4e5);width:100%;font:inherit;resize:none;border-radius:10px;padding:10px 12px;font-size:16px}.ycf-chat textarea:focus-visible,.ycf-chat button:focus-visible,.ycf-chat a:focus-visible,.ycf-chat-launcher:focus-visible{outline:3px solid var(--coral,#ef554f);outline-offset:2px}.ycf-chat form button{background:var(--coral,#ef554f);color:#fff;min-height:44px;font:inherit;cursor:pointer;border:0;border-radius:10px;font-weight:600}.ycf-chat form button:disabled{opacity:.55;cursor:default}.ycf-chat-launcher{z-index:1000;background:var(--ink,#062a3d);color:#fff;min-width:56px;min-height:56px;font:inherit;cursor:pointer;border:0;border-radius:28px;padding:0 18px;font-weight:600;position:fixed;bottom:20px;right:20px;box-shadow:0 8px 28px #0e2e3a4d}.ycf-chat-launcher b{background:var(--coral,#ef554f);border-radius:10px;margin-left:8px;padding:2px 7px;font-size:12px}@media (max-width:640px){.ycf-chat{border-radius:16px 16px 0 0;width:auto;max-height:82vh;bottom:0;left:0;right:0}}@media (prefers-reduced-motion:no-preference){.ycf-chat{animation:.2s ease-out ycf-chat-in}@keyframes ycf-chat-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}}
