/* fastwork-landing-support-bot-v15.3.8 */
.fw-lsb1538 { position: relative; z-index: 2147483001; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.fw-lsb1538 *, .fw-lsb1538 *::before, .fw-lsb1538 *::after { box-sizing: border-box; }
.fw-lsb1538 [hidden] { display: none !important; }
.fw-lsb1538 [data-screen] { display: none !important; }
.fw-lsb1538 [data-screen].is-active { display: block !important; }
.fw-lsb1538 .fw-lsb1538-chat.is-active { display: grid !important; }
.fw-lsb1538-panel { position: fixed; right: 24px; bottom: 166px; z-index: 2147483002; width: min(392px, calc(100vw - 32px)); height: min(700px, calc(100dvh - 196px)); overflow: hidden; border: 1px solid rgba(0,0,0,.08); border-radius: 24px; background: #f4f6f5; box-shadow: 0 32px 84px rgba(5,24,12,.32); animation: fwLsb1538Open .18s ease-out; }
.fw-lsb1538-header { position: relative; height: 142px; padding: 16px 22px 18px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; color: #fff; text-align: center; background: linear-gradient(180deg, #02b33f 0%, #008c32 100%); }
.fw-lsb1538-avatars { display: flex; gap: 8px; margin-bottom: 12px; }
.fw-lsb1538-avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.58); box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.fw-lsb1538-header h2 { margin: 0; font-size: 24px; line-height: 1.1; font-weight: 800; }
.fw-lsb1538-header p { margin: 6px 0 0; color: rgba(255,255,255,.94); font-size: 14px; font-weight: 600; }
.fw-lsb1538-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.19); cursor: pointer; display: grid; place-items: center; padding: 0; }
.fw-lsb1538-close:hover { background: rgba(255,255,255,.30); }
.fw-lsb1538-chevron-svg { width: 18px; height: 18px; display: block; }
.fw-lsb1538-tabs { height: 104px; padding: 14px 26px 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-bottom: 1px solid #edf0ee; background: #fff; }
.fw-lsb1538-tabs button { padding: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; border: 0; background: transparent; color: #555c61; cursor: pointer; }
.fw-lsb1538-tabs button b { font-size: 14px; font-weight: 750; }
.fw-lsb1538-tab-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #777f85; background: #eff1f0; font-size: 21px; font-weight: 800; transition: background .18s ease, color .18s ease, transform .18s ease; }
.fw-lsb1538-tab-icon .fw-lsb1538-svg { width: 25px; height: 25px; }
.fw-lsb1538-tabs button.is-active .fw-lsb1538-tab-icon.is-write { color: #fff; background: #00ad3d; }
.fw-lsb1538-tabs button.is-active .fw-lsb1538-tab-icon.is-vk, .fw-lsb1538-tabs button:hover .fw-lsb1538-tab-icon.is-vk { color: #fff; background: #2787f5; }
.fw-lsb1538-tabs button.is-active .fw-lsb1538-tab-icon.is-telegram, .fw-lsb1538-tabs button:hover .fw-lsb1538-tab-icon.is-telegram { color: #fff; background: #27a7e7; }
.fw-lsb1538-tabs button:hover .fw-lsb1538-tab-icon.is-write { color: #fff; background: #00ad3d; }
.fw-lsb1538-tabs button.is-active b { color: #00a83a; }
.fw-lsb1538-tabs button:hover .fw-lsb1538-tab-icon { transform: translateY(-1px); }
.fw-lsb1538-svg { display: block; width: 28px; height: 28px; }
.fw-lsb1538-content { height: calc(100% - 246px); background: #f4f6f5; }
.fw-lsb1538-chat { height: 100%; grid-template-rows: 58px minmax(0,1fr) auto auto auto; }
.fw-lsb1538-chatbar { padding: 9px 13px; display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; gap: 10px; border-bottom: 1px solid #e6eae7; background: #fff; }
.fw-lsb1538-bot-avatar, .fw-lsb1538-message-avatar { display: grid; place-items: center; border-radius: 50%; color: #fff; background: #00ad3d; font-weight: 800; }
.fw-lsb1538-bot-avatar { width: 40px; height: 40px; }
.fw-lsb1538-message-avatar { width: 30px; height: 30px; flex: 0 0 30px; }
.fw-lsb1538-robot-svg { width: 22px; height: 22px; display: block; }
.fw-lsb1538-message-avatar .fw-lsb1538-robot-svg { width: 17px; height: 17px; }
.fw-lsb1538-chatbar strong { display: block; color: #2e3337; font-size: 14px; }
.fw-lsb1538-chatbar span { display: block; margin-top: 2px; color: #00a83a; font-size: 12px; }
.fw-lsb1538-reset { width: 34px; height: 34px; border: 0; border-radius: 50%; color: #667068; background: #eef1ef; cursor: pointer; font-size: 20px; }
.fw-lsb1538-reset:hover { color: #00a83a; background: #e3f7e9; }
.fw-lsb1538-messages { min-height: 0; overflow-y: auto; padding: 16px 13px 10px; scroll-behavior: smooth; }
.fw-lsb1538-message-row { margin-bottom: 12px; display: flex; align-items: flex-end; gap: 8px; }
.fw-lsb1538-message-row.is-user { justify-content: flex-end; }
.fw-lsb1538-message-wrap { max-width: 82%; display: flex; flex-direction: column; align-items: flex-start; }
.fw-lsb1538-message-row.is-user .fw-lsb1538-message-wrap { align-items: flex-end; }
.fw-lsb1538-message { padding: 10px 12px; border-radius: 15px 15px 15px 4px; color: #343a3e; background: #fff; box-shadow: 0 2px 8px rgba(20,43,28,.06); font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.fw-lsb1538-message-row.is-user .fw-lsb1538-message { border-radius: 15px 15px 4px 15px; color: #fff; background: #00ad3d; }
.fw-lsb1538-message-wrap small { margin-top: 4px; color: #939a95; font-size: 10px; }
.fw-lsb1538-typing { min-width: 52px; height: 34px; padding: 0 12px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 14px 14px 14px 4px; background: #fff; }
.fw-lsb1538-typing i { width: 6px; height: 6px; border-radius: 50%; background: #8e9690; animation: fwLsb1538Typing 1.05s infinite ease-in-out; }
.fw-lsb1538-typing i:nth-child(2) { animation-delay: .15s; }
.fw-lsb1538-typing i:nth-child(3) { animation-delay: .3s; }
.fw-lsb1538-quick-wrap { position: relative; padding: 0 12px 8px; }
.fw-lsb1538-quick-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; padding: 0 2px; color: #7a857b; font-size: 12px; font-weight: 700; }
.fw-lsb1538-quick-hint { color: #00a83a; white-space: nowrap; }
.fw-lsb1538-quick { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; scroll-snap-type: x proximity; }
.fw-lsb1538-quick::-webkit-scrollbar { display: none; }
.fw-lsb1538-quick button { flex: 0 0 auto; min-height: 34px; padding: 0 12px; border: 1px solid #cfe8d6; border-radius: 17px; color: #087d31; background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; scroll-snap-align: start; }
.fw-lsb1538-quick button:hover { border-color: #00ad3d; background: #effaf2; }
.fw-lsb1538-quick-wrap.has-overflow::after, .fw-lsb1538-quick-wrap.scrolled::before { content: ''; position: absolute; top: 26px; bottom: 8px; width: 28px; pointer-events: none; z-index: 2; }
.fw-lsb1538-quick-wrap.has-overflow::after { right: 12px; background: linear-gradient(90deg, rgba(244,246,245,0) 0%, rgba(244,246,245,.96) 70%); }
.fw-lsb1538-quick-wrap.scrolled::before { left: 12px; background: linear-gradient(90deg, rgba(244,246,245,.96) 20%, rgba(244,246,245,0) 100%); }
.fw-lsb1538-quick-wrap.at-end::after { opacity: 0; }
.fw-lsb1538-operator-button { min-height: 42px; margin: 0 12px 9px; border: 1px solid #00ad3d; border-radius: 14px; color: #fff; background: #00ad3d; cursor: pointer; font-size: 14px; font-weight: 800; }
.fw-lsb1538-operator-button:hover { background: #009d37; border-color: #009d37; }
.fw-lsb1538-form { min-height: 58px; padding: 8px 10px 9px; display: grid; grid-template-columns: minmax(0,1fr) 42px; align-items: end; gap: 8px; border-top: 1px solid #e4e8e5; background: #fff; }
.fw-lsb1538-form textarea { width: 100%; min-height: 42px; max-height: 92px; padding: 11px 13px; resize: none; overflow-y: auto; border: 1px solid #dce2de; border-radius: 15px; outline: none; color: #30353a; background: #f7f9f8; font: inherit; font-size: 13.5px; line-height: 1.35; }
.fw-lsb1538-form textarea:focus { border-color: #00ad3d; box-shadow: 0 0 0 3px rgba(0,173,61,.10); }
.fw-lsb1538-form button { width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: #00ad3d; cursor: pointer; font-size: 19px; }
.fw-lsb1538-form button:hover { background: #009d37; }
.fw-lsb1538-channel { height: 100%; padding: 18px 18px 16px; overflow: hidden; text-align: center; background: #fff; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 12px; }
.fw-lsb1538-channel h3 { margin: 2px 0 0; color: #30353a; font-size: 24px; line-height: 1.15; }
.fw-lsb1538-channel-action { min-height: 50px; width: 100%; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 16px; color: #fff; text-decoration: none; font-size: 16px; font-weight: 800; flex: 0 0 auto; }
.fw-lsb1538-channel-action.is-vk { background: #2787f5; }
.fw-lsb1538-channel-action.is-telegram { background: #27a7e7; }
.fw-lsb1538-channel-action .fw-lsb1538-svg { width: 25px; height: 25px; }
.fw-lsb1538-qr-card { padding: 14px 14px 12px; border-radius: 18px; border: 1px solid #e4e8e5; background: #f7f9f8; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1 1 auto; justify-content: center; min-height: 0; }
.fw-lsb1538-qr-card p { margin: 0; color: #51606a; font-size: 13px; line-height: 1.4; }
.fw-lsb1538-qr-card img { width: min(168px, 100%); max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 14px; }
.fw-lsb1538-launcher { position: fixed; right: 24px; bottom: 84px; z-index: 2147483002; height: 74px; padding: 0; display: inline-flex; align-items: center; gap: 11px; border: 0; color: #fff; background: transparent; cursor: pointer; }
.fw-lsb1538-launcher-circle { width: 74px; height: 74px; flex: 0 0 74px; display: grid; place-items: center; border-radius: 50%; background: #00af3d; box-shadow: 0 8px 22px rgba(0,122,43,.38); transition: transform .18s ease, background .18s ease; }
.fw-lsb1538-launcher:hover .fw-lsb1538-launcher-circle { transform: translateY(-2px); background: #009f37; }
.fw-lsb1538-face { position: relative; width: 46px; height: 38px; border-radius: 13px; background: #fff; }
.fw-lsb1538-face::after { content: ""; position: absolute; left: 8px; bottom: -7px; width: 15px; height: 15px; background: #fff; clip-path: polygon(0 0,100% 0,0 100%); }
.fw-lsb1538-dots, .fw-lsb1538-smile { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.fw-lsb1538-dots { gap: 4px; animation: fwLsb1538Dots 4.2s infinite; }
.fw-lsb1538-dots i { width: 6px; height: 6px; border-radius: 50%; background: #00ad3d; }
.fw-lsb1538-smile { opacity: 0; animation: fwLsb1538Smile 4.2s infinite; }
.fw-lsb1538-smile i { position: absolute; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: #00ad3d; }
.fw-lsb1538-smile i:first-child { left: 12px; }
.fw-lsb1538-smile i:nth-child(2) { right: 12px; }
.fw-lsb1538-smile b { position: absolute; left: 14px; bottom: 8px; width: 18px; height: 9px; border-bottom: 3px solid #00ad3d; border-radius: 0 0 18px 18px; }
.fw-lsb1538-launcher-label { min-width: 158px; min-height: 56px; padding: 0 18px; display: flex; align-items: center; border-radius: 18px; color: #fff; background: #00af3d; box-shadow: 0 8px 22px rgba(0,122,43,.28); }
.fw-lsb1538-launcher-label strong { font-size: 16px; line-height: 1.15; font-weight: 800; }
.fw-lsb1538-launcher.is-open .fw-lsb1538-launcher-label { display: none; }
.fw-lsb1538-launcher:hover .fw-lsb1538-launcher-label { background: #009f37; }
@keyframes fwLsb1538Open { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fwLsb1538Typing { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes fwLsb1538Dots { 0%,58% { opacity: 1; transform: scale(1); } 65%,94% { opacity: 0; transform: scale(.75); } 100% { opacity: 1; } }
@keyframes fwLsb1538Smile { 0%,58% { opacity: 0; transform: scale(.75); } 65%,94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@media (max-width: 640px) {
  .fw-lsb1538-panel { right: 8px; bottom: 108px; width: calc(100vw - 16px); max-width: none; height: min(700px, calc(100dvh - 124px)); border-radius: 20px; }
  .fw-lsb1538-header { height: 130px; padding-top: 14px; }
  .fw-lsb1538-header h2 { font-size: 21px; }
  .fw-lsb1538-avatars img { width: 39px; height: 39px; }
  .fw-lsb1538-tabs { height: 96px; padding: 11px 16px 9px; gap: 8px; }
  .fw-lsb1538-tab-icon { width: 44px; height: 44px; }
  .fw-lsb1538-content { height: calc(100% - 226px); }
  .fw-lsb1538-quick-head { font-size: 11.5px; }
  .fw-lsb1538-channel { padding: 14px 14px 14px; gap: 10px; }
  .fw-lsb1538-channel h3 { font-size: 21px; }
  .fw-lsb1538-channel-action { min-height: 48px; font-size: 15px; }
  .fw-lsb1538-qr-card { padding: 12px; gap: 8px; }
  .fw-lsb1538-qr-card p { font-size: 12.5px; }
  .fw-lsb1538-qr-card img { width: min(156px, 100%); }
  .fw-lsb1538-launcher { right: 12px; bottom: max(84px, calc(env(safe-area-inset-bottom) + 84px)); height: 66px; }
  .fw-lsb1538-launcher-circle { width: 66px; height: 66px; flex-basis: 66px; }
  .fw-lsb1538-launcher-label { display: none; }
  .fw-lsb1538-message-wrap { max-width: 86%; }
}
@media (prefers-reduced-motion: reduce) { .fw-lsb1538-panel, .fw-lsb1538-dots, .fw-lsb1538-smile, .fw-lsb1538-typing i { animation: none !important; } .fw-lsb1538-smile { display: none; } }
