#ponka-support[hidden], #ponka-support [hidden] { display: none !important; }
#ponka-support { position: fixed; z-index: 1100; right: 24px; bottom: 24px; font-family: inherit; color: #f2f4f4; }
#ponka-support button, #ponka-support textarea { font: inherit; }
#ponka-support button { cursor: pointer; }
#ponka-support button:focus-visible, #ponka-support textarea:focus-visible { outline: 2px solid #a8efd4; outline-offset: 3px; }
.ponka-support-launcher { display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%; color: #102d25; background: #a9e8d1; box-shadow: 0 6px 24px #0008; }
.ponka-support-launcher svg, .ponka-support-send svg, .ponka-support-attach svg { width: 24px; height: 24px; }
.ponka-support-panel { position: fixed; inset: 0; top: var(--support-viewport-top, 0px); left: var(--support-viewport-left, 0px); display: flex; flex-direction: column; width: var(--support-viewport-width, 100%); height: var(--support-viewport-height, 100dvh); min-height: 0; overflow: hidden; overscroll-behavior: contain; background: #151719; }
.ponka-support-header { flex: none; display: flex; align-items: center; gap: 12px; padding: max(16px, env(safe-area-inset-top, 0px)) max(calc(16px + env(safe-area-inset-right, 0px)), calc((100% - 960px) / 2)) 16px max(calc(16px + env(safe-area-inset-left, 0px)), calc((100% - 960px) / 2)); border-bottom: 1px solid #ffffff12; background: #1c2021; }
.ponka-support-header strong, .ponka-support-header small { display: block; }
.ponka-support-header strong { font-size: 15px; line-height: 1.3; }
.ponka-support-header small { margin-top: 3px; color: #9ca4a2; font-size: 12px; }
.ponka-support-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; color: #a9e8d1; background: #a9e8d119; font-size: 22px; }
.ponka-support-close { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 10px; color: #c1c9c6; background: transparent; font-size: 26px !important; line-height: 1; }
.ponka-support-close:hover { background: #ffffff0c; }
.ponka-support-messages { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px max(calc(16px + env(safe-area-inset-right, 0px)), calc((100% - 960px) / 2)) 22px max(calc(16px + env(safe-area-inset-left, 0px)), calc((100% - 960px) / 2)); overflow: auto; overscroll-behavior: contain; }
.ponka-support-empty { margin: auto 6px; color: #aab1af; font-size: 14px; line-height: 1.5; text-align: center; }
.ponka-support-bubble { max-width: 88%; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: #282c2d; color: #edf0ef; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.ponka-support-bubble.is-user { align-self: flex-end; border-radius: 14px 14px 4px 14px; color: #102d25; background: #a9e8d1; }
.ponka-support-bubble.is-system { align-self: center; background: transparent; color: #9ca4a2; font-size: 12px; text-align: center; }
.ponka-support-ai-label { display: block; margin-bottom: 4px; color: #a9e8d1; font-size: 11px; font-weight: 600; }
.ponka-support-manager { align-self: flex-start; margin: 0 16px 8px max(16px, calc((100% - 960px) / 2)); padding: 6px 10px; border: 1px solid #ffffff20; border-radius: 8px; color: #b9d9cd; background: #ffffff09; font-size: 12px !important; }
.ponka-support-manager:disabled { color: #909a96; cursor: default; }
.ponka-support-download { display: block; margin-top: 8px; padding: 7px 0; border: 0; color: inherit; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.ponka-support-status { min-height: 0; padding: 0 max(16px, calc((100% - 960px) / 2)); color: #e9b3ad; font-size: 12px; }
.ponka-support-status:not(:empty) { padding-bottom: 8px; }
.ponka-support-file { display: flex; align-items: center; gap: 8px; padding: 6px max(16px, calc((100% - 960px) / 2)); color: #b6d9cb; font-size: 12px; }
.ponka-support-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ponka-support-file button { flex: none; width: 32px; height: 32px; border: 0; color: inherit; background: transparent; font-size: 20px; }
.ponka-support-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px max(calc(12px + env(safe-area-inset-right, 0px)), calc((100% - 960px) / 2)) max(12px, env(safe-area-inset-bottom, 0px)) max(calc(12px + env(safe-area-inset-left, 0px)), calc((100% - 960px) / 2)); border-top: 1px solid #ffffff12; }
.ponka-support-attach { display: grid; place-items: center; flex: none; width: 40px; height: 44px; border: 0; border-radius: 10px; color: #a6b2ad; background: transparent; }
.ponka-support-attach:hover { color: #a9e8d1; background: #ffffff0a; }
.ponka-support-attach:disabled { opacity: .55; }
.ponka-support-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ponka-support-form textarea { box-sizing: border-box; flex: 1; width: 100%; max-height: 100px; min-height: 44px; padding: 11px 12px; resize: vertical; border: 1px solid #ffffff19; border-radius: 11px; color: #f2f4f4; background: #101213; font-size: 16px; line-height: 20px; }
.ponka-support-form textarea::placeholder { color: #858d8b; }
.ponka-support-send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 11px; color: #102d25; background: #a9e8d1; }
.ponka-support-send:disabled { opacity: .55; cursor: wait; }
@media (max-width: 767px) {
  #ponka-support { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .ponka-support-launcher { width: 52px; height: 52px; }
}
