.support-chat { --support-border: #2b4563; position: fixed; right: 24px; bottom: 22px; width: min(414px,calc(100vw - 32px)); height: min(590px,calc(100dvh - 44px)); display: flex; flex-direction: column; overflow: hidden; z-index: 85; color: #e6effb; background: #0c1c30f5; border: 1px solid #365575; border-radius: 18px; box-shadow: 0 18px 55px #0006; backdrop-filter: blur(18px); font-size: 13px; }
.support-chat[hidden],.support-chat [hidden] { display: none !important; }
.support-chat button { cursor: pointer; font: inherit; clip-path: none; }
.support-chat button:disabled { cursor: wait; opacity: .5; }
.support-chat :is(button,textarea,select):focus-visible,.support-inbox :is(button,input,select):focus-visible { outline: 2px solid #87bdff; outline-offset: 3px; }
.support-chat-head { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; padding: 13px 16px; background: #10263e; border-bottom: 1px solid #263e57; }
.support-head-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #a6c9f5; background: #234e7c70; }
.support-chat-head > div { flex: 1; }
.support-chat-head h2 { margin: 0; font-size: 15px; }
.support-chat-head .support-brand-title { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.support-brand-title .logo-wordmark { display: inline-block; width: 58px; height: 27px; line-height: 0; }
.support-chat-head small { color: #aac1da; font-size: 12px; }
.support-chat-head button { width: 32px; height: 32px; min-height: 32px; padding: 0; background: transparent; border: 0; border-radius: 8px; font-size: 23px; color: #b3c8e2; }
.support-chat-head button:hover { color: #fff; background: #ffffff12; }
.support-chat-body { min-height: 0; display: flex; flex-direction: column; flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #365575 transparent; }
.support-toolbar { display: flex; flex: 0 0 auto; }
.support-toolbar button,.support-toolbar a { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #36557580; border-radius: 10px; background: transparent; color: #a6c9f5; text-decoration: none; }
.support-toolbar button:hover,.support-toolbar a:hover { background: #1a3656; border-color: #588ccb; color: #fff; }
.support-toolbar .ico { width: 18px; height: 18px; }
.support-lifecycle { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 16px 10px; padding: 0; }
.support-lifecycle > small { flex: 1; min-width: 0; color: #8ea8c5; font-size: 10px; overflow-wrap: anywhere; }
.support-lifecycle button,.support-start button,.support-rating button { padding: 9px 12px; border: 1px solid #4c7db3; border-radius: 9px; background: #23538b; color: #eff6ff; font: inherit; cursor: pointer; }
.support-lifecycle [data-support-resolve] { background: #174c48; border-color: #34746c; }
.support-start { padding: 18px 16px; overflow-y: auto; flex: 1; }
.support-start > strong { display: block; font-size: 18px; }
.support-start > p { margin: 10px 0 20px; color: #a7bed9; line-height: 1.6; }
.support-start label { display: grid; gap: 7px; margin-bottom: 14px; color: #c8d9ed; font-size: 12px; }
.support-start :is(input,textarea),.support-rating textarea { box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid #365575; border-radius: 10px; padding: 11px; background: #0e2036; color: #e5efff; font: inherit; resize: vertical; }
.support-start button { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; }
.support-rating { flex-shrink: 0; padding: 16px; border-top: 1px solid #2b456380; background: #102238; }
.support-rating strong { font-size: 12px; }
.support-rating fieldset { margin: 8px 0; padding: 0; border: 0; }
.support-chat .support-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.support-stars.rate-pick { padding: 4px 0; }
.support-stars.rate-pick input:focus-visible + label { outline: none; filter: brightness(1.35); box-shadow: inset 0 0 0 2px #9ecbff; }
.support-rating textarea { margin-bottom: 8px; max-height: 80px; font-size: 12px; }
.support-rating [data-support-rated] { margin: 10px 0 0; color: #c4d7ed; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-rating-comment { display: block; margin-top: 8px; line-height: 1.5; }
@media(max-height:700px) { .support-chat-body { overflow-y: auto; }.support-messages { flex-shrink: 0; }.support-rating { flex-shrink: 0; } }
@media(max-width:600px) { .support-start :is(input,textarea),.support-rating textarea { font-size: 16px; } }
.support-conversations { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin: 0; padding: 12px 16px; color: #a4bbd6; font-size: 10px; }
.support-chat .support-picker-trigger { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; min-height: 48px; padding: 7px 10px; border: 1px solid #36557570; border-radius: 10px; color: #e4efff; background: #132940; text-align: left; }
.support-chat .support-picker-trigger:hover,.support-chat .support-picker-trigger[aria-expanded=true] { border-color: #588ccb; background: #1a3656; }
.support-picker-icon { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border: 1px solid #416a943d; border-radius: 9px; color: #8dbbfa; background: #264e763d; }
.support-picker-current { flex: 1; min-width: 0; }
.support-picker-current strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 600; }
.support-picker-current small { display: block; margin-top: 4px; color: #93afcf; font-size: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.support-picker-arrow { display: flex; color: #8caaca; transition: transform .16s; }
[aria-expanded=true] > .support-picker-arrow { transform: rotate(180deg); }
.support-picker-menu { box-sizing: border-box; position: fixed; z-index: 140; margin: 0; padding: 6px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #41658e; border-radius: 14px; background: #10243b; color: #e4efff; box-shadow: 0 16px 40px #0009,inset 0 1px #ffffff08; font-family: var(--font-body,inherit); scrollbar-width: thin; scrollbar-color: #426994 #10243b; }
.support-picker-menu[hidden] { display: none !important; }
.support-picker-option { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 10px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; }
.support-picker-option + .support-picker-option { margin-top: 3px; }
.support-picker-option.is-active { background: #1b3858; }
.support-picker-option[aria-selected=true] { border-color: #3f6ba4; background: #203f65; box-shadow: inset 3px 0 #6da8fa; }
.support-picker-copy { flex: 1; min-width: 0; }
.support-picker-copy strong { display: block; margin-bottom: 5px; color: #e2eeff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }
.support-picker-copy small { display: block; color: #8faac9; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-picker-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; max-width: 45%; }
.support-picker-status { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 7px; border: 1px solid #567da947; border-radius: 6px; background: #28466466; color: #a4bedc; font-size: 9px; line-height: 1.2; }
.support-picker-status[data-state=open] { background: #76592a33; color: #edc884; border-color: #a6884547; }
.support-picker-status[data-state=in_progress],.support-picker-status[data-state=waiting] { background: #315f9e40; color: #a0c9ff; border-color: #5281bd66; }
.support-picker-status[data-state=resolved] { background: #245c4b44; color: #8bcbb5; border-color: #447d6b55; }
.support-picker-unread { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 6px; background: #3679d1; color: #fff; font-size: 10px; }
@media(prefers-reduced-motion:reduce) { .support-picker-arrow { transition: none; } }
.support-chat select { width: 100%; min-width: 0; border: 1px solid var(--support-border); border-radius: 8px; color: #dbe9fb; background: #11253e; padding: 7px; font-size: 11px; }
.support-context { flex-shrink: 0; margin: 0 16px 10px; padding: 0; color: #c2acf2; font-size: 11px; overflow-wrap: anywhere; }
.support-context:empty { display: none; }
.support-context summary { width: fit-content; cursor: pointer; color: #c2acf2; font-size: 11px; }
.support-context summary:focus-visible { outline: 2px solid #87bdff; outline-offset: 3px; }
.support-context strong { display: block; font-size: 13px; }
.support-context small { display: block; margin-top: 4px; color: #9fb8d5; font-size: 11px; line-height: 1.5; }
.support-status-label { display: flex; align-items: center; gap: 8px; margin: 0 12px 8px; font-size: 12px; }
.support-feedback { margin: 0; padding: 0 16px 8px; color: #abc4df; font-size: 12px; line-height: 1.5; }
.support-feedback:empty { display: none; }
.support-feedback.is-error { color: #f5b1bd; }
.support-messages { flex: 1; min-height: 80px; overflow-y: auto; overscroll-behavior: contain; padding: 4px 10px 14px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #365575 transparent; }
.support-message { margin: 0 0 12px; padding: 12px; width: fit-content; max-width: 88%; border-radius: 13px; background: #192e48; overflow-wrap: anywhere; }
.support-message.is-own { margin-left: auto; background: #234f8b; }
.support-message b { display: block; margin-bottom: 5px; font-size: 11px; color: #8fbeff; }
.support-message p { margin: 0; white-space: pre-wrap; line-height: 1.55; font-size: 13px; }
.support-message time { display: block; text-align: right; margin-top: 5px; font-size: 10px; color: #a8bfdb; }
.support-composer { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--support-border); background: #0c1a2c; }
.support-composer textarea { resize: none; min-height: 46px; max-height: 110px; flex: 1; width: 0; border: 1px solid var(--support-border); border-radius: 12px; padding: 12px; color: #e5efff; background: #0e2036; font: inherit; line-height: 1.4; }
.support-composer button { flex: 0 0 44px; display: grid; place-items: center; height: 44px; padding: 0; color: #fff; background: #2563eb; border: 0; border-radius: 12px; }
.support-recovery { padding: 0 12px 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.support-recovery button,.support-claim { padding: 7px 10px; border: 1px solid #416486; background: #18304b; color: #cee3ff; border-radius: 8px; font-size: 11px; }
.support-claim { margin: 0 12px 8px; }
.support-chat.is-minimized { height: auto; }
.support-chat.is-minimized .support-chat-body { display: none; }
.support-inbox { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(320px,1.15fr); gap: 20px; align-items: start; }
.support-inbox .support-chat-admin { position: sticky; top: 20px; width: 100%; height: min(740px,calc(100dvh - 70px)); min-height: 460px; z-index: 1; }
.support-inbox-list { min-width: 0; padding: 16px; border: 1px solid #2b4563; border-radius: 16px; background: #0d1e32; }
.support-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.support-filters label { font-size: 12px; }
.support-filters :is(input,select) { min-width: 0; width: 100%; }
.support-filters .support-unread-filter { position: relative; display: flex; align-items: center; align-self: end; gap: 10px; min-height: 46px; margin: 0; padding: 10px 12px; border: 1px solid #304b6a; border-radius: 11px; background: #10243a; color: #afc3dd; cursor: pointer; }
.support-filters .support-unread-filter:hover { border-color: #527fb5; background: #152d49; }
.support-filters .support-unread-filter input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.support-filter-check { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; border: 1px solid #527296; border-radius: 6px; background: #0b1b2e; color: #fff; }
.support-filter-check .ico { width: 14px; height: 14px; opacity: 0; }
.support-unread-filter input:checked + .support-filter-check { background: #2563eb; border-color: #5b99f5; }
.support-unread-filter input:checked + .support-filter-check .ico { opacity: 1; }
.support-unread-filter input:checked ~ span:last-child { color: #e3efff; }
.support-unread-filter input:focus-visible + .support-filter-check { outline: 2px solid #87bdff; outline-offset: 3px; }
.support-inquiry { display: block; width: 100%; padding: 16px 4px; border: 0; border-top: 1px solid #2a425e; color: #dce8fa; background: transparent; text-align: left; cursor: pointer; }
.support-inquiry:hover,.support-inquiry.is-active { background: #1a3453; }
.support-inquiry strong { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.support-inquiry span { display: block; margin-top: 7px; font-size: 12px; color: #a4bcda; }
.support-inquiry p { margin: 8px 0; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.support-inquiry small { font-size: 10px; color: #809cbf; }
.support-inquiry em { padding: 3px 7px; background: #2563eb; border-radius: 8px; color: #fff; font-style: normal; font-size: 10px; }
.support-pages { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; }
.support-pages button { padding: 8px; border: 1px solid #36577d; border-radius: 8px; color: #d7e7fb; background: #18304d; cursor: pointer; }
.support-pages button:disabled { opacity: .4; cursor: default; }
.support-page { padding: 24px; }
@media (max-width: 1100px) { .support-inbox { grid-template-columns: minmax(0,1fr); }.support-inbox .support-chat-admin { position: relative; top: auto; } }
@media (max-width: 600px) {
  .support-chat:not(.support-chat-admin) { inset: 0; width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
  .support-chat:not(.support-chat-admin).is-minimized { inset: auto 10px max(10px,env(safe-area-inset-bottom)) auto; width: min(360px,calc(100vw - 20px)); height: auto; border-radius: 15px; border: 1px solid #365575; }
  .support-composer { padding-bottom: max(12px,env(safe-area-inset-bottom)); }
  .support-composer textarea { font-size: 16px; }
  .support-chat-head { padding-top: max(16px,env(safe-area-inset-top)); }
  .support-inbox .support-chat-admin { min-height: 520px; height: 75dvh; }
  .support-inbox-list { padding: 12px; }
}
@media(prefers-reduced-motion:reduce) { .support-messages { scroll-behavior: auto; } }
.support-launcher { position: fixed; right: 24px; bottom: max(22px,env(safe-area-inset-bottom)); z-index: 86; display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 1px solid #729ad780; border-radius: 20px; background: linear-gradient(145deg,#326eb1,#16375e); color: #eef6ff; box-shadow: 0 8px 30px #0006,inset 0 1px #ffffff24; cursor: pointer; clip-path: none; transition: transform .18s,box-shadow .18s; }
.support-launcher:hover { transform: translateY(-3px); box-shadow: 0 12px 34px #0008,0 0 20px #5698ef30; }
.support-launcher:focus-visible { outline: 2px solid #b5d6ff; outline-offset: 4px; }
.support-launcher svg { width: 26px; height: 26px; }
.support-launcher-badge { position: absolute; top: -6px; right: -6px; min-width: 23px; height: 23px; padding: 0 5px; display: grid; place-items: center; border: 2px solid #0c1c30; border-radius: 20px; background: #ed6478; color: white; font: 700 11px/1 sans-serif; }
.support-launcher-badge[hidden] { display: none; }
.support-launcher-label { position: absolute; right: 70px; padding: 8px 12px; border: 1px solid #365575; border-radius: 10px; background: #10243c; color: #dbeaff; white-space: nowrap; font-size: 12px; opacity: 0; pointer-events: none; }
.support-launcher:hover .support-launcher-label,.support-launcher:focus-visible .support-launcher-label { opacity: 1; }
.support-chat-floating { bottom: 94px; height: min(700px,calc(100dvh - 116px)); }
@media(max-width:600px) { .support-launcher { right: 16px; width: 52px; height: 52px; border-radius: 18px; }.support-chat-floating.support-chat-admin { inset: 0; width: 100%; height: 100dvh; border: 0; border-radius: 0; }.support-launcher[aria-expanded="true"] { visibility: hidden; } }
@media(prefers-reduced-motion:reduce) { .support-launcher { transition: none; } }
