#lkbot-wrap {
    max-width: 580px;
    margin: 1.5rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(101,123,153,0.18);
    font-family: 'AvantGarde', 'Century Gothic', 'Trebuchet MS', sans-serif;
    font-size: 15px;
}

#lkbot-header {
    background: linear-gradient(135deg, #657B99 0%, #A6B6C3 100%);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.lkbot-icon { font-size: 28px; }
.lkbot-title { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; }
.lkbot-subtitle { font-size: 12px; opacity: 0.85; margin-top: 2px; letter-spacing: 0.03em; text-transform: uppercase; }

#lkbot-messages {
    background: #EFEDE7;
    padding: 16px;
    min-height: 220px;
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lkbot-msg {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 14px;
    line-height: 1.55;
    word-break: break-word;
}
.lkbot-bot {
    background: #fff;
    border: 1px solid #CAD2D8;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: #2c3e50;
}
.lkbot-user {
    background: #657B99;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.lkbot-loading {
    opacity: 0.55;
    font-style: italic;
}
.lkbot-error {
    background: #fff3f0;
    border-color: #FAA74A;
    color: #8B4513;
}

.lkbot-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.lkbot-chip {
    font-size: 12px;
    padding: 4px 12px;
    border: 1.5px solid #FAA74A;
    color: #657B99;
    border-radius: 20px;
    cursor: pointer;
    background: transparent;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
}
.lkbot-chip:hover {
    background: #FAA74A;
    color: #fff;
}

#lkbot-input-area {
    display: flex;
    gap: 8px;
    background: #fff;
    border-top: 1px solid #CAD2D8;
    padding: 12px;
}
#lkbot-input {
    flex: 1;
    border: 1.5px solid #CAD2D8;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    background: #EFEDE7;
    color: #2c3e50;
    font-family: inherit;
    transition: border-color 0.15s;
}
#lkbot-input:focus {
    border-color: #657B99;
    background: #fff;
}
#lkbot-send {
    background: #FAA74A;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s;
}
#lkbot-send:hover { background: #e8943a; }
#lkbot-send:disabled { background: #CAD2D8; cursor: not-allowed; }

@media (max-width: 480px) {
    #lkbot-wrap { border-radius: 0; }
    .lkbot-msg { max-width: 92%; }
}
