.home-chat-composer {
    max-width: 900px;
    margin: 0 auto;
}

.home-chat-bubble-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: -100px;
    padding-right: 200px;
    position: relative;
}

.home-chat-bubble-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.home-chat-bubble-text {
    display: block;
    width: 120px;
    height: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.home-chat-bubble-tail {
    margin: 0;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 14px;
    max-width: 620px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    margin-left: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    color: #191615;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.home-chat-input-area {
    background: #efefef;
    padding: 8px 0 2px;
}

.home-chat-input-inner {
    max-width: 768px;
    margin: 0 auto;
}

.home-chat-input-wrap {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2841f;
    border-radius: 8px;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.home-chat-input-wrap:focus-within {
    border-color: #e2841f;
    box-shadow: 0 0 0 3px rgba(226, 132, 31, 0.1);
}

.home-chat-input-wrap.expanded #homeChatPromptInput {
    min-height: 180px;
}

#homeChatPromptInput {
    width: 100%;
    min-height: 90px;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    padding: 14px 14px 8px;
    font-size: 15px;
    line-height: 1.65;
    color: #1d1d1f;
    font-family: inherit;
}

#homeChatPromptInput::placeholder {
    color: #9ca3af;
    font-size: 18px;
    line-height: 1.4;
    font-family: "Inter", sans-serif;
    font-weight: 300;
}

@media (min-width: 768px) {
    #homeChatPromptInput::placeholder {
        font-size: 18px;
    }
}

.home-chat-input-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px 6px;
    min-height: 38px;
}

.home-chat-input-tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-chat-attach-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    pointer-events: none;
}

.home-chat-input-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-chat-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transition:
        background 0.12s,
        color 0.12s;
}

.home-chat-expand-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
}

.home-chat-expand-btn.active {
    color: #e2841f;
}

.home-chat-send-btn {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: none;
    background: #e2841f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.12s;
}

.home-chat-send-btn:hover {
    background: #c5731a;
}

.home-chat-send-btn:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

@media (max-width: 1023px) {
    .home-chat-bubble-wrap {
        justify-content: center;
        margin-bottom: 10px;
        padding-right: 0;
    }

    .home-chat-mascot {
        display: none;
    }

    .home-chat-bubble-text {
        width: 90px;
        height: 14px;
    }

    .home-chat-bubble-tail {
        min-height: 30px;
        padding: 5px 12px;
        font-size: 16px;
        margin-left: 0;
    }
}
