/* garnet-chatbot.css — extracted from garnet-chatbot.js (2026-05-09).
   Was previously injected via JS-created <style> element which got
   blocked under nonce-based strict CSP. Static CSS file lets the
   strict CSP stay strict + the chatbot keep working. */

.garnet-chatbot-host {
    position: fixed;
    z-index: 9000;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    pointer-events: none;
}
.garnet-chatbot-bubble {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(20,8,12,0.92), rgba(5,5,5,0.95));
    border: 1px solid rgba(170,26,51,0.35);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 0 24px rgba(170,26,51,0.18);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.4s ease;
    display: block;
    position: relative;
    overflow: hidden;
}
.garnet-chatbot-bubble:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow:
        0 14px 36px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 32px rgba(170,26,51,0.32);
}
.garnet-chatbot-bubble canvas {
    width: 100%; height: 100%;
    display: block;
}
.garnet-chatbot-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-12px);
    background: rgba(15,15,15,0.92);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.garnet-chatbot-bubble:hover .garnet-chatbot-tooltip { opacity: 1; }
.garnet-chatbot-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: 320px;
    max-height: 440px;
    background: rgba(10,10,10,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    padding: 1rem;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: none;
}
.garnet-chatbot-host[data-open="true"] .garnet-chatbot-panel {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}
.garnet-chatbot-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(170,26,51,0.25);
}
.garnet-chatbot-body {
    color: rgba(240,240,240,0.78);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0 0 0.75rem;
}
.garnet-chatbot-body a {
    color: #fff;
    border-bottom: 1px dashed rgba(170,26,51,0.6);
    text-decoration: none;
}
.garnet-chatbot-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.garnet-chatbot-quick a {
    font-size: 0.74rem;
    color: rgba(240,240,240,0.82);
    background: rgba(170,26,51,0.12);
    border: 1px solid rgba(170,26,51,0.35);
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.garnet-chatbot-quick a:hover {
    background: rgba(170,26,51,0.32);
    color: #fff;
}
.garnet-chatbot-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: 0;
    color: rgba(240,240,240,0.55);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}
.garnet-chatbot-close:hover { color: #fff; }
.garnet-chatbot-thread {
    margin-top: 0.75rem;
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-right: 0.25rem;
}
.garnet-chatbot-msg {
    font-size: 0.83rem;
    line-height: 1.45;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    word-wrap: break-word;
}
.garnet-chatbot-msg--user {
    align-self: flex-end;
    background: rgba(170,26,51,0.25);
    border: 1px solid rgba(170,26,51,0.4);
    color: #fff;
    max-width: 85%;
}
.garnet-chatbot-msg--assistant {
    align-self: flex-start;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(240,240,240,0.85);
    max-width: 90%;
}
.garnet-chatbot-input {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.garnet-chatbot-input input {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
}
.garnet-chatbot-input input:focus {
    outline: none;
    border-color: rgba(170,26,51,0.5);
}
.garnet-chatbot-input button {
    background: rgba(170,26,51,0.85);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 0 0.85rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}
.garnet-chatbot-input button:hover { background: rgba(170,26,51,1); }
@media (max-width: 480px) {
    .garnet-chatbot-panel { width: calc(100vw - 48px); }
}
@media (prefers-reduced-motion: reduce) {
    .garnet-chatbot-bubble { transition: none; }
    .garnet-chatbot-bubble:hover { transform: none; }
}
