/* support-chat.css (D-424): the support chat. Works beside every page's own styles, so it names its own colors. */
.sc-root { position: fixed; right: 16px; bottom: 16px; z-index: 50; font-size: 15px; line-height: 1.45; color: #182230; }
.sc-hidden { display: none !important; }
.sc-launcher { min-height: 44px; padding: 0 18px; border: 0; border-radius: 22px; background: #2a5b8c; color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.sc-panel { display: flex; flex-direction: column; width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 32px); background: #fff; border: 1px solid #e3e0d8; border-radius: 12px; box-shadow: 0 4px 18px rgba(0, 0, 0, .2); overflow: hidden; }
.sc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: #2a5b8c; color: #fff; }
.sc-close { min-height: 36px; padding: 0 10px; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .6); border-radius: 6px; font: inherit; cursor: pointer; }
.sc-log { flex: 1; overflow-y: auto; padding: 12px 14px; }
.sc-msg { margin: 0 0 8px; padding: 8px 10px; border-radius: 8px; max-width: 88%; overflow-wrap: anywhere; }
.sc-them { background: #f1f4f8; }
.sc-me { background: #2a5b8c; color: #fff; margin-left: auto; }
.sc-faq { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 8px; }
.sc-q { min-height: 44px; padding: 6px 10px; text-align: left; background: #fff; color: #1d4266; border: 1px solid #2a5b8c; border-radius: 8px; font: inherit; cursor: pointer; }
.sc-link { color: #1d4266; }
.sc-hint { margin: 0; padding: 4px 14px 6px; font-size: 13px; color: #4a5568; }
.sc-form { display: flex; gap: 6px; padding: 8px 10px 10px; border-top: 1px solid #e3e0d8; }
.sc-input { flex: 1; min-width: 0; min-height: 44px; padding: 0 10px; border: 1px solid #b8b4aa; border-radius: 8px; font: inherit; font-size: 16px; color: #182230; background: #fff; }
.sc-send { min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: #2a5b8c; color: #fff; font: inherit; cursor: pointer; }
.sc-send:disabled { opacity: .6; }
.sc-launcher:focus-visible, .sc-q:focus-visible, .sc-send:focus-visible, .sc-close:focus-visible, .sc-input:focus-visible { outline: 2px solid #182230; outline-offset: 2px; }
@media (max-width: 480px) { .sc-root { right: 8px; bottom: 8px; } .sc-panel { max-width: calc(100vw - 16px); height: min(520px, calc(100vh - 16px)); } }
