/* Online consultant on the copied sipwall.estate pages (09.10.2026). Scoped .swe-* so the agency design is untouched.
   09.10.2026, Andrey: «размыто, оформить получше» — the font shorthand with «inherit» was invalid (dropped by the browser,
   random system font); now the site font, a green head with the manager, clear fields. */
.swe-chat-launcher,.swe-chat{font-family:"Wix Madefor Text",Arial,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.swe-chat-launcher{position:fixed;right:20px;bottom:24px;z-index:9998;display:flex;align-items:center;justify-content:center;width:60px;height:60px;border:0;border-radius:50%;background:#00b33c;color:#fff;box-shadow:0 10px 26px rgba(0,60,20,.28);cursor:pointer}
.swe-chat-launcher svg{width:28px;height:28px}
.swe-chat-launcher:hover{background:#009e35}
.swe-chat{position:fixed;right:20px;bottom:96px;z-index:9999;width:min(380px,calc(100vw - 24px));max-height:min(640px,calc(100vh - 120px));display:none;flex-direction:column;border-radius:18px;background:#fff;color:#1f2a22;box-shadow:0 22px 60px rgba(0,0,0,.28);font-size:15px;line-height:1.45;overflow:hidden}
.swe-chat.open{display:flex}
.swe-chat__head{display:flex;align-items:center;gap:12px;padding:16px 48px 16px 18px;background:#00b33c;color:#fff}
.swe-chat__head img{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.85);flex:0 0 46px;background:#fff}
.swe-chat__head b{display:block;font-size:17px;font-weight:700;line-height:1.2}
.swe-chat__head span{display:flex;align-items:center;gap:6px;font-size:13px;opacity:.95}
.swe-chat__head span::before{content:"";width:8px;height:8px;border-radius:50%;background:#b8ffcb;box-shadow:0 0 0 3px rgba(255,255,255,.25)}
.swe-chat__close{position:absolute;right:10px;top:10px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:22px;line-height:32px;cursor:pointer}
.swe-chat__close:hover{background:rgba(255,255,255,.3)}
.swe-chat__body{display:flex;flex-direction:column;gap:12px;padding:16px 18px 18px;overflow:auto}
.swe-chat__welcome{padding:12px 14px;border-radius:14px 14px 14px 4px;background:#f1f5f2}
.swe-chat__welcome h3{margin:0 0 4px;font-size:16px;font-weight:700;color:#1f2a22}
.swe-chat__welcome p{margin:0 0 4px;color:#1f2a22}
.swe-chat__hint{margin:0!important;font-size:13px;color:#6b766e!important}
.swe-chat__thread{display:flex;flex-direction:column;gap:8px;max-height:260px;overflow:auto}
.swe-chat__thread article{max-width:85%;padding:9px 12px;border-radius:14px 14px 14px 4px;background:#f1f5f2}
.swe-chat__thread article.visitor{align-self:flex-end;border-radius:14px 14px 4px 14px;background:#dff5e6}
.swe-chat__thread article b{display:block;font-size:12px;font-weight:600;color:#6b766e}
.swe-chat__form{display:flex;flex-direction:column;gap:8px}
.swe-chat__contacts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.swe-chat__form input[name=visitor_name],.swe-chat__form input[name=visitor_phone],.swe-chat__form textarea{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #cfd8d2;border-radius:10px;background:#fff;color:#1f2a22;font:400 15px/1.35 "Wix Madefor Text",Arial,sans-serif}
.swe-chat__form textarea{resize:vertical;min-height:76px}
.swe-chat__form input:focus,.swe-chat__form textarea:focus{outline:none;border-color:#00b33c;box-shadow:0 0 0 3px rgba(0,179,60,.15)}
.swe-chat__form ::placeholder{color:#8a948d}
.swe-chat__actions{display:flex;align-items:center;gap:8px}
.swe-chat__attach input{display:none}.swe-chat__attach span{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:10px;background:#f1f5f2;cursor:pointer;font-size:18px}
.swe-chat__file{flex:1;font-size:12px;color:#6b766e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.swe-chat__actions button{padding:11px 22px;border:0;border-radius:10px;background:#00b33c;color:#fff;font:700 15px/1.2 "Wix Madefor Text",Arial,sans-serif;cursor:pointer}
.swe-chat__actions button:hover{background:#009e35}
.swe-chat__error{margin:0;color:#c62828;font-size:13px}
.swe-chat__error:empty{display:none}
/* Reply channel in the agency forms, as on sipwall.ru */
.swe-channel{display:grid;grid-template-columns:repeat(2,max-content);gap:6px 18px;margin:4px 0 14px;align-content:center}.swe-channel>span{grid-column:1/-1;display:block;font-size:13px;color:#838a84}
.swe-channel label{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:15px;white-space:nowrap;cursor:pointer}
.detail-card__callback-form form{flex-wrap:wrap!important;row-gap:12px}.detail-card__callback-form .swe-channel{order:9;flex:1 0 100%;grid-template-columns:repeat(5,max-content);margin:0}.detail-card__callback-form .callback__form-item{flex:1 1 170px!important}.detail-card__callback-form .callback__form-submit{flex:0 0 220px!important}.detail-card__callback-form .swe-channel>span{grid-column:auto;align-self:center;margin-right:4px}
.swe-channel input{accent-color:#00b33c}
@media (max-width:720px){.swe-chat-launcher{bottom:84px;right:14px;width:54px;height:54px}.swe-chat{right:12px;bottom:146px}.swe-chat__contacts{grid-template-columns:1fr}}
/* 09.10.2026: on a phone the five-column row of the card form pushed the page sideways (577 px on a 393 px screen) */
@media(max-width:767px){.detail-card__callback-form .swe-channel{grid-template-columns:repeat(2,max-content)}.detail-card__callback-form .swe-channel>span{grid-column:1/-1}.detail-card__callback-form .callback__form-submit{flex:1 1 100%!important}}
/* 09.10.2026: iPhone Safari zooms the page into a field with text under 16 px */
@media(max-width:767px){.swe-chat input:not([type=file]):not([type=checkbox]):not([type=radio]),.swe-chat textarea,input[type=text],input[type=tel],input[type=email],input[type=search],textarea{font-size:16px!important}}
