#obsidian-chatbot-launcher {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #222;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    z-index: 9999;
    border: none;
    transition: background 0.2s;
}
#obsidian-chatbot-launcher:hover {
    background: #444;
}
#obsidian-chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 33vw;
    min-width: 320px;
    max-width: 480px;
    height: 75vh;
    min-height: 320px;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px 16px 0 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    display: none;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
    font-family: inherit;
    animation: chatbot-popin 0.2s;
}
@keyframes chatbot-popin {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
#obsidian-chatbot-header {
    background: #222;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
}
#obsidian-chatbot-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    margin-left: 8px;
    transition: color 0.2s;
}
#obsidian-chatbot-close:hover {
    color: #ff5252;
}
#obsidian-chatbot-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow: hidden;
}
#chat-history {
    flex: 1;
    min-height: 60px;
    max-height: 100%;
    overflow-y: auto;
    margin-bottom: 10px;
    font-size: 1rem;
}
#obsidian-chatbot-form {
    display: flex;
    gap: 8px;
}
#obsidian-chatbot-question {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}
#obsidian-chatbot-form button[type="submit"] {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    background: #222;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
#obsidian-chatbot-form button[type="submit"]:hover {
    background: #444;
}
#obsidian-chatbot-wait {
    color: #888;
    margin-top: 8px;
    font-size: 0.95em;
}
#interlocutor-switcher {
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    margin-right: 8px;
    transition: color 0.2s;
}
#interlocutor-switcher:hover {
    color: #ccc;
}
@media (max-width: 700px) {
    #obsidian-chatbot-widget {
        width: 98vw;
        right: 1vw;
        min-width: 0;
        border-radius: 16px 16px 0 16px;
    }
}

