.gc-chat-launcher {
    position: fixed;
    right: 64px;
    bottom: 176px;
    z-index: 130;
    width: 52px;
    height: 52px;
    border: 1px solid #006bff;
    border-radius: 50%;
    background: #006bff;
    color: #fff;
    font: 700 22px/1 Inter, sans-serif;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 107, 255, .24);
}
.gc-chat-launcher:hover { background: #0057d4; }
.gc-chat-panel {
    position: fixed;
    right: 40px;
    bottom: 176px;
    z-index: 131;
    width: min(390px, calc(100vw - 32px));
    height: 540px;
    max-height: calc(100dvh - 196px);
    display: none;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    border: 1px solid rgba(7, 17, 31, .2);
    border-radius: 8px;
    background: #fff;
    color: #07111f;
    box-shadow: 0 24px 64px rgba(7, 17, 31, .22);
    font-family: Inter, sans-serif;
}
.gc-chat-panel[data-open="true"] { display: grid; }
.gc-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #dbe5f1;
}
.gc-chat-title { font-size: 15px; font-weight: 700; }
.gc-chat-close {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #526173;
    font-size: 22px;
    cursor: pointer;
}
.gc-chat-messages { overflow-y: auto; padding: 18px; background: #f6f9ff; }
.gc-chat-message {
    width: fit-content;
    max-width: 88%;
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #dbe5f1;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
}
.gc-chat-message[data-role="user"] { margin-left: auto; border-color: #006bff; background: #eaf3ff; }
.gc-chat-action {
    display: inline-block;
    margin: 0 0 12px;
    color: #006bff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.gc-chat-action:hover { text-decoration: underline; }
.gc-chat-form { display: grid; grid-template-columns: 1fr 42px; gap: 8px; padding: 12px; border-top: 1px solid #dbe5f1; }
.gc-chat-input {
    min-width: 0;
    border: 1px solid #aebccd;
    border-radius: 5px;
    padding: 10px 12px;
    color: #07111f;
    background: #fff;
    font: 14px/1.3 Inter, sans-serif;
    cursor: text;
}
.gc-chat-send {
    border: 0;
    border-radius: 5px;
    background: #006bff;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}
.gc-chat-send:disabled { opacity: .5; cursor: wait; }
@media (max-width: 700px) {
    .gc-chat-launcher { right: 41px; bottom: 124px; }
    .gc-chat-panel { right: 16px; bottom: 124px; height: 500px; max-height: calc(100dvh - 148px); }
}

/* Thinking indicator: three blinking dots while the reply streams in */
.gc-chat-message.gc-chat-typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: normal;
}
.gc-chat-message.gc-chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9aa4b2;
    animation: gc-chat-blink 1.2s infinite ease-in-out both;
}
.gc-chat-message.gc-chat-typing span:nth-child(2) { animation-delay: .2s; }
.gc-chat-message.gc-chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes gc-chat-blink {
    0%, 80%, 100% { opacity: .3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
    .gc-chat-message.gc-chat-typing span { animation: none; opacity: .6; }
}

/* The "24/7 OPS" callout is now the chat opener */
.callout-247.gc-chat-trigger { cursor: pointer; }
.callout-247.gc-chat-trigger:hover { opacity: .85; }
.callout-247.gc-chat-trigger:focus-visible { outline: 2px solid #006bff; outline-offset: 3px; }
