.grok-brand-entry {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 10;
    width: 170px;
    font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.grok-entry-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e7dfd3;
    border-radius: 999px;
    box-shadow: 0 3px 12px rgba(49, 44, 38, .06);
    color: #312c26;
    font: inherit;
    cursor: pointer;
}

.grok-entry-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    background: #202020;
}

.grok-entry-avatar img {
    display: block;
    width: 20px;
    height: 20px;
}

.grok-entry-label {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

.grok-entry-chevron {
    width: 0;
    height: 0;
    margin-left: auto;
    border-right: 3px solid transparent;
    border-left: 3px solid transparent;
    border-top: 5px solid #8e7c62;
}

.grok-entry-toggle:hover,
.grok-entry-toggle:active {
    background: #fff;
    transform: none;
}

.grok-entry-toggle:focus-visible,
.grok-entry-menu a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.grok-entry-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 4px;
    background: #fff;
    border: 1px solid #dce3ed;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .09);
}

.grok-entry-menu[hidden] {
    display: none;
}

.grok-entry-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 5px;
    color: #172033;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
}

.grok-entry-menu a img {
    flex: none;
    width: 16px;
    height: 16px;
}

.grok-entry-menu a:hover,
.grok-entry-menu a:focus-visible {
    background: #eef4ff;
}

@media (max-width: 1280px) {
    .grok-brand-entry {
        top: 12px;
        left: 12px;
        width: min(170px, calc(100vw - 88px));
    }
}
