/* /Shared/SiteAssistant.razor.rz.scp.css */
.site-assistant[b-sqfhb866ez] {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-family-primary, "Segoe UI", sans-serif);
}

.assistant-products[b-sqfhb866ez],
.assistant-launcher[b-sqfhb866ez] {
    display: inline-flex;
    min-width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #174e3d;
    box-shadow: 0 8px 26px rgba(13, 31, 51, .25);
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.assistant-products[b-sqfhb866ez] {
    width: 54px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: #14213d;
}

.assistant-launcher[b-sqfhb866ez] {
    padding: 0 19px;
    background: linear-gradient(135deg, #176b4d, #174e3d);
    font-size: .9rem;
    font-weight: 700;
}

.assistant-products:hover[b-sqfhb866ez],
.assistant-launcher:hover[b-sqfhb866ez] {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13, 31, 51, .32);
}

.assistant-products:focus-visible[b-sqfhb866ez],
.assistant-launcher:focus-visible[b-sqfhb866ez],
.assistant-close:focus-visible[b-sqfhb866ez],
.assistant-prompts button:focus-visible[b-sqfhb866ez],
.assistant-composer button:focus-visible[b-sqfhb866ez],
.assistant-links a:focus-visible[b-sqfhb866ez] {
    outline: 3px solid #78b9ff;
    outline-offset: 3px;
}

.assistant-products svg[b-sqfhb866ez],
.assistant-launcher svg[b-sqfhb866ez] {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.assistant-panel[b-sqfhb866ez] {
    position: absolute;
    right: 0;
    bottom: 68px;
    display: flex;
    width: min(390px, calc(100vw - 32px));
    max-height: min(620px, calc(100vh - 120px));
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-radius: 20px;
    color: #172033;
    background: #fff;
    box-shadow: 0 20px 60px rgba(16, 26, 54, .24);
}

.assistant-header[b-sqfhb866ez] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px;
    color: #fff;
    background: linear-gradient(125deg, #12203e, #174e3d);
}

.assistant-avatar[b-sqfhb866ez] {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 13px;
    background: rgba(255, 255, 255, .12);
}

.assistant-avatar svg[b-sqfhb866ez],
.assistant-close svg[b-sqfhb866ez] {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.assistant-header h2[b-sqfhb866ez] {
    margin: 0;
    font-size: .98rem;
    font-weight: 750;
}

.assistant-header p[b-sqfhb866ez] {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: .76rem;
}

.assistant-close[b-sqfhb866ez] {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin-left: auto;
    place-items: center;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    cursor: pointer;
}

.assistant-privacy[b-sqfhb866ez] {
    margin: 0;
    padding: 10px 15px;
    border-bottom: 1px solid #e8edf4;
    color: #53647b;
    background: #f5f8fc;
    font-size: .73rem;
    line-height: 1.45;
}

.assistant-messages[b-sqfhb866ez] {
    display: flex;
    min-height: 140px;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 11px;
    overflow-y: auto;
    padding: 14px;
}

.assistant-message[b-sqfhb866ez] {
    max-width: 94%;
    padding: 11px 13px;
    border-radius: 14px;
    font-size: .85rem;
    line-height: 1.5;
}

.assistant-message p[b-sqfhb866ez] { margin: 0; white-space: pre-line; }

.bot-message[b-sqfhb866ez] {
    align-self: flex-start;
    border: 1px solid #e7edf3;
    border-top-left-radius: 5px;
    background: #f7f9fc;
}

.user-message[b-sqfhb866ez] {
    align-self: flex-end;
    border-top-right-radius: 5px;
    color: #fff;
    background: #174e3d;
}

.assistant-links[b-sqfhb866ez] {
    display: grid;
    gap: 6px;
    margin-top: 9px;
}

.assistant-links a[b-sqfhb866ez] {
    display: block;
    padding: 8px 10px;
    border: 1px solid #dce8e1;
    border-radius: 9px;
    color: #174e3d;
    background: #fff;
    font-size: .78rem;
    text-decoration: none;
}

.assistant-links a:hover[b-sqfhb866ez] { background: #edf7f1; }
.assistant-links a span[b-sqfhb866ez] { float: right; font-weight: 800; }

.assistant-prompts[b-sqfhb866ez] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 14px 12px;
}

.assistant-prompts button[b-sqfhb866ez] {
    padding: 7px 10px;
    border: 1px solid #d8e6de;
    border-radius: 999px;
    color: #24543e;
    background: #f7fbf8;
    font: inherit;
    font-size: .73rem;
    cursor: pointer;
}

.assistant-composer[b-sqfhb866ez] {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #edf0f5;
}

.assistant-composer input[b-sqfhb866ez] {
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #dce3ed;
    border-radius: 11px;
    color: #172033;
    background: #fff;
    font: inherit;
    font-size: .82rem;
}

.assistant-composer input:focus[b-sqfhb866ez] {
    border-color: #3d8b67;
    outline: 3px solid rgba(61, 139, 103, .14);
}

.assistant-composer button[b-sqfhb866ez] {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: #174e3d;
    cursor: pointer;
}

.assistant-composer button:disabled[b-sqfhb866ez] { opacity: .48; cursor: not-allowed; }
.assistant-composer button svg[b-sqfhb866ez] { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.assistant-footnote[b-sqfhb866ez] {
    margin: 0;
    padding: 0 14px 12px;
    color: #7a8494;
    font-size: .68rem;
    text-align: center;
}

@media (max-width: 520px) {
    .site-assistant[b-sqfhb866ez] { right: 14px; bottom: 14px; gap: 8px; }
    .assistant-products[b-sqfhb866ez], .assistant-launcher[b-sqfhb866ez] { height: 50px; min-width: 50px; }
    .assistant-products[b-sqfhb866ez] { width: 50px; }
    .assistant-launcher[b-sqfhb866ez] { padding: 0 15px; }
    .assistant-panel[b-sqfhb866ez] { bottom: 62px; max-height: min(600px, calc(100dvh - 95px)); }
}

@media (prefers-reduced-motion: reduce) {
    .assistant-products[b-sqfhb866ez], .assistant-launcher[b-sqfhb866ez] { transition: none; }
}
