.abs-assistant { position: fixed; right: 86px; bottom: 22px; z-index: 1080; font-family: inherit; color: #0b326d; }
.abs-assistant__launcher { display: flex; align-items: center; gap: 9px; border: 0; border-radius: 999px; padding: 11px 18px; background: #1877df; color: #fff; font-weight: 700; box-shadow: 0 8px 24px rgba(11,50,109,.25); cursor: pointer; }
.abs-assistant__launcher-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #fff; color: #1877df; }
.abs-assistant__panel { position: absolute; right: 0; bottom: 58px; display: flex; flex-direction: column; width: min(410px, calc(100vw - 28px)); height: min(650px, calc(100vh - 100px)); overflow: hidden; box-sizing: border-box; border: 1px solid #d8e3f1; border-radius: 16px; background: #fff; box-shadow: 0 18px 55px rgba(15,41,75,.24); }
.abs-assistant__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: linear-gradient(135deg,#0b326d,#1877df); color: #fff; }
.abs-assistant__header strong, .abs-assistant__header span { display: block; }
.abs-assistant__header strong { font-size: 18px; }
.abs-assistant__header span { margin-top: 2px; font-size: 12px; opacity: .85; }
.abs-assistant__close { border: 0; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.abs-assistant__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #dfe7f1; }
.abs-assistant__tab { border: 0; border-bottom: 3px solid transparent; padding: 12px; background: #fff; color: #53657c; font-weight: 700; cursor: pointer; }
.abs-assistant__tab.is-active { border-color: #1877df; color: #0b326d; }
.abs-assistant__view { flex: 1 1 auto; min-height: 0; padding: 14px; overflow-y: auto; box-sizing: border-box; }
.abs-assistant__view[data-abs-view="chat"] { display: flex; flex-direction: column; overflow: hidden; }
.abs-assistant__notice { margin-bottom: 10px; border-radius: 8px; padding: 9px 10px; background: #fff7df; color: #6d5514; font-size: 11px; line-height: 1.4; }
.abs-assistant__messages { display: flex; flex: 1 1 auto; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; padding: 3px; }
.abs-assistant__message { max-width: 88%; border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.45; white-space: pre-wrap; }
.abs-assistant__message--assistant { align-self: flex-start; background: #eef5fd; }
.abs-assistant__message--user { align-self: flex-end; background: #1877df; color: #fff; }
.abs-assistant__sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.abs-assistant__sources a { font-size: 11px; color: #0b63c7; text-decoration: underline; }
.abs-assistant__inline-link { color: #0b63c7; font-weight: 700; text-decoration: underline; }
.abs-assistant__form { flex: 0 0 auto; border-top: 1px solid #dfe7f1; margin-top: 10px; padding-top: 10px; }
.abs-assistant textarea, .abs-assistant input[type="search"] { width: 100%; border: 1px solid #b9c8da; border-radius: 8px; padding: 10px 11px; color: #26374b; background: #fff; outline: none; box-sizing: border-box; }
.abs-assistant textarea:focus, .abs-assistant input[type="search"]:focus { border-color: #1877df; box-shadow: 0 0 0 3px rgba(24,119,223,.12); }
.abs-assistant__form-actions { display: flex; justify-content: space-between; margin-top: 8px; }
.abs-assistant__send, .abs-assistant__reset { border-radius: 7px; padding: 7px 13px; cursor: pointer; }
.abs-assistant__send { border: 1px solid #1877df; background: #1877df; color: #fff; }
.abs-assistant__reset { border: 1px solid #b9c8da; background: #fff; color: #40536c; }
.abs-assistant__staff-intro, .abs-assistant__staff-status { color: #65758a; font-size: 12px; line-height: 1.45; }
.abs-assistant__staff-status { min-height: 20px; margin: 9px 0; }
.abs-assistant__staff-card { border: 1px solid #dfe7f1; border-radius: 10px; margin-bottom: 9px; padding: 11px; background: #fbfdff; }
.abs-assistant__staff-card strong { display: block; margin-bottom: 4px; color: #0b326d; }
.abs-assistant__staff-meta { margin: 2px 0; color: #607087; font-size: 12px; }
.abs-assistant__staff-links { display: flex; gap: 12px; margin-top: 7px; }
.abs-assistant__staff-links a { color: #0b63c7; font-size: 12px; font-weight: 700; }
.abs-assistant button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 600px) {
  .abs-assistant { right: 14px; bottom: 14px; }
  .abs-assistant__launcher span:last-child { display: none; }
  .abs-assistant__launcher { padding: 10px; }
  .abs-assistant__panel { right: 0; bottom: 54px; height: calc(100vh - 82px); }
}
