/* Чат поддержки на сайте (docs/screens/support-chat.md) */
.sc-launcher[hidden],.sc-panel[hidden],.sc-panel [hidden]{display:none!important}
.sc-launcher{position:fixed;right:22px;bottom:22px;z-index:60;width:60px;height:60px;padding:0;border:1px solid #59d6e7;border-radius:50%;background:linear-gradient(125deg,#027e99,#00627c 45%,#00c2d1);box-shadow:0 8px 22px #00627c52;cursor:pointer}
.sc-launcher svg{width:30px;height:30px;display:block;margin:auto;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.sc-badge{position:absolute;top:-4px;right:-4px;min-width:23px;height:23px;padding:0 6px;border-radius:12px;background:#c4362f;color:#fff;font:700 13px/23px Arial,sans-serif;text-align:center}
.sc-panel{position:fixed;right:22px;bottom:22px;z-index:61;display:flex;flex-direction:column;width:390px;max-width:calc(100vw - 24px);height:min(660px,calc(100dvh - 44px));overflow:hidden;border:1px solid #9fd5df;border-radius:22px;background:#f7fcfd;color:var(--lema-ink);box-shadow:0 20px 60px #0b45594d}
.sc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 14px 20px;background:linear-gradient(112deg,#00627c,#007c91);color:#fff}
.sc-head h2{margin:0;font-size:18px;line-height:1.25;color:#fff;outline:0}
.sc-head p{margin:3px 0 0;font-size:13px;color:#dcf6fa}
.sc-close{width:44px;height:44px;flex:none;border:0;border-radius:50%;background:transparent;color:#fff;font-size:30px;line-height:1;cursor:pointer}
.sc-close:hover{background:#ffffff26}
.sc-log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px;display:flex;flex-direction:column;gap:14px}
.sc-msg{max-width:88%;align-self:flex-start;min-width:0}
.sc-msg.sc-mine{align-self:flex-end}
.sc-meta{display:block;margin:0 4px 4px;font-size:12px;color:#557580}
.sc-mine .sc-meta{text-align:right}
.sc-msg p{margin:0;padding:11px 14px;border:1px solid #d6e9ed;border-radius:16px 16px 16px 5px;background:#fff;font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.sc-mine p{border-color:#00728a;border-radius:16px 16px 5px 16px;background:#00728a;color:#fff}
.sc-msg p a{color:#00728a}.sc-mine p a{color:#fff}
.sc-attached{display:block}
.sc-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.sc-buttons :is(a,button){min-height:44px;padding:9px 14px;border:1px solid #4fb6c6;border-radius:22px;background:#fff;color:#00627c;font:600 14px/1.35 Arial,sans-serif;text-align:left;text-decoration:none;cursor:pointer}
.sc-buttons :is(a,button):hover{background:#e5f7fa}
.sc-panel button:disabled{opacity:.55;cursor:default}
.sc-status{margin:0;padding:9px 18px;font-size:13px;line-height:1.45;color:#426777;background:#eaf6f8}
.sc-status[data-kind=error]{background:#fdeeec;color:#9b2a22}
.sc-email{padding:10px 16px;background:#eaf6f8;font-size:13px}
.sc-email label{display:block;margin-bottom:6px}
.sc-email-row{display:flex;gap:8px}
.sc-email input{flex:1;min-width:0;min-height:44px;padding:8px 14px;border:1px solid #a9ccd4;border-radius:20px;background:#fff;color:inherit;font:16px Arial,sans-serif}
.sc-email button{min-height:44px;padding:8px 16px;border:0;border-radius:20px;background:#00728a;color:#fff;font:600 14px Arial,sans-serif;cursor:pointer}
.sc-email-saved{margin:0;padding:8px 18px;background:#eaf6f8;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.sc-email-saved button{padding:4px 0;border:0;background:none;color:#00728a;font:inherit;text-decoration:underline;cursor:pointer}
.sc-email input:focus-visible{outline:3px solid #00a7bb;outline-offset:2px}
.sc-form{padding:10px 14px 12px;border-top:1px solid #d6e9ed;background:#fff}
.sc-row{display:flex;align-items:flex-end;gap:8px}
.sc-row textarea{flex:1;min-width:0;min-height:44px;max-height:120px;padding:11px 14px;border:1px solid #a9ccd4;border-radius:20px;background:#fff;color:inherit;font:16px/1.3 Arial,sans-serif;resize:none}
.sc-attach,.sc-send{position:relative;display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;border-radius:50%;cursor:pointer}
.sc-attach svg,.sc-send svg{width:23px;height:23px;fill:none;stroke:#00728a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sc-attach input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.sc-attach:hover{background:#e5f7fa}
.sc-send{background:#00728a}.sc-send svg{stroke:#fff}
.sc-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.sc-file{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;padding:0 4px 0 12px;border-radius:12px;background:#eaf6f8;font-size:13px}
.sc-file span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-file button{width:40px;height:40px;flex:none;border:0;background:none;font-size:20px;cursor:pointer}
.sc-note{margin:9px 2px 0;font-size:11.5px;line-height:1.45;color:#557580}
.sc-note button{display:inline;padding:0;border:0;background:none;color:#00728a;font:inherit;text-decoration:underline;cursor:pointer}
.sc-confirm{margin-top:10px;padding:12px;border-radius:14px;background:#fdf4e3;font-size:13px;line-height:1.45}
.sc-confirm p{margin:0 0 10px}
.sc-confirm button{min-height:40px;margin-right:8px;padding:8px 16px;border:1px solid #4fb6c6;border-radius:20px;background:#fff;color:#00627c;font:600 14px Arial,sans-serif;cursor:pointer}
:is(.sc-launcher,.sc-panel button,.sc-panel a,.sc-panel textarea):focus-visible,.sc-attach:focus-within{outline:3px solid #00a7bb;outline-offset:2px}
button.lq-messenger{font-family:inherit;text-align:left;cursor:pointer}
@media(max-width:599px){.sc-panel{right:0;bottom:0;left:0;width:100%;max-width:none;height:100dvh;border:0;border-radius:0}.sc-launcher{right:14px;bottom:14px;width:56px;height:56px}}
@media print{.sc-launcher,.sc-panel{display:none!important}}
