.support-launcher {
    position: fixed;
    inset-inline-end: 22px;
    bottom: 22px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 10px 17px;
    border: 0;
    border-radius: 17px;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 99, 235, .3);
    font-weight: 800;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.support-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(37,99,235,.35); }
.support-launcher svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.support-launcher[aria-expanded="true"] { opacity: 0; pointer-events: none; transform: translateY(8px); }

.support-panel {
    position: fixed;
    inset-inline-end: 22px;
    bottom: 22px;
    z-index: 1500;
    display: grid;
    grid-template-rows: auto minmax(180px, 1fr) auto auto auto;
    width: min(390px, calc(100vw - 32px));
    height: min(610px, calc(100vh - 44px));
    overflow: hidden;
    border: 1px solid #d9e2ef;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(20, 38, 68, .24);
    direction: rtl;
}
.support-panel-header { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 13px 16px; border-bottom: 1px solid #e7ebf1; background: linear-gradient(135deg,#f7faff,#edf3ff); }
.support-identity { display: flex; align-items: center; gap: 11px; }.support-avatar { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: #2563eb; color: #fff; font-size: 1.15rem; box-shadow: 0 8px 18px rgba(37,99,235,.2); }.support-identity strong,.support-identity small { display: block; }.support-identity strong { color: #182033; font-size: .94rem; }.support-identity small { margin-top: 4px; color: #687386; font-size: .68rem; }.support-identity small i { display: inline-block; width: 7px; height: 7px; margin-inline-end: 4px; border-radius: 50%; background: #20a464; }
.support-close { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: #5b6575; font-size: 1.65rem; cursor: pointer; }.support-close:hover { background: rgba(23,32,51,.07); }
.support-messages { display: flex; flex-direction: column; gap: 10px; padding: 18px 15px; overflow-y: auto; background: #fbfcfe; overscroll-behavior: contain; }
.support-message { max-width: 86%; padding: 10px 12px; border-radius: 15px; color: #263044; font-size: .78rem; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }.support-message.bot { align-self: flex-start; border: 1px solid #e0e6ef; border-end-start-radius: 5px; background: #fff; }.support-message.user { align-self: flex-end; border-end-end-radius: 5px; background: #2563eb; color: #fff; }.support-message a { display: inline-flex; margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: #edf3ff; color: #2563eb; font-weight: 800; }
.support-quick-actions { display: flex; gap: 7px; padding: 10px 13px; overflow-x: auto; border-top: 1px solid #edf0f5; background: #fff; scrollbar-width: none; }.support-quick-actions::-webkit-scrollbar { display: none; }.support-quick-actions button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #ced9e8; border-radius: 10px; background: #fff; color: #425069; font-size: .69rem; cursor: pointer; }.support-quick-actions button:hover { border-color: #8eade1; background: #f4f8ff; color: #2563eb; }
.support-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #edf0f5; background: #fff; }.support-form input { min-width: 0; min-height: 44px; flex: 1; padding: 9px 12px; border: 1px solid #ccd6e3; border-radius: 13px; outline: 0; background: #f9fbfd; }.support-form input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }.support-form button { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 13px; background: #2563eb; color: #fff; font-size: 1.2rem; font-weight: 900; cursor: pointer; }
.support-disclaimer { margin: 0; padding: 0 14px 11px; background: #fff; color: #8a93a2; font-size: .6rem; line-height: 1.5; text-align: center; }
.support-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 540px) { .support-launcher { inset-inline-end: 14px; bottom: 14px; width: 52px; height: 52px; justify-content: center; padding: 0; border-radius: 17px; }.support-launcher span { display: none; }.support-panel { inset-inline: 10px; bottom: 10px; width: auto; height: min(650px, calc(100vh - 20px)); border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { .support-launcher { transition: none; } }
