#toph-lc-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    font-family: inherit;
}
.toph-lc-button {
    width: 55px;
    height: 55px;
    background: #0f766e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    font-size: 24px;
    position: relative;
}
.toph-lc-badge {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    background: #e11d48;
    border-radius: 50%;
}
.toph-lc-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
    overflow: hidden;
    display: none;
}
.toph-lc-window.open { display: block; }
.toph-lc-header {
    background: #0f766e;
    color: #fff;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}
.toph-lc-close { cursor: pointer; font-size: 20px; }
.toph-lc-messages {
    max-height: 280px;
    overflow-y: auto;
    padding: 10px;
    background: #f7f7f7;
}
.toph-lc-msg {
    max-width: 85%;
    margin-bottom: 6px;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.3;
}
.toph-lc-msg.user {
    margin-left: auto;
    background: #fff;
    border: 1px solid #eee;
}
.toph-lc-msg.admin {
    background: #0f766e;
    color: #fff;
    margin-right: auto;
}
.toph-lc-msg.system {
    background: #e5e5e5;
    color: #333;
    text-align: center;
    margin: 5px auto;
}
.toph-lc-input {
    padding: 10px;
    background: #fff;
}
.toph-lc-input-row {
    display: flex;
    gap: 5px;
}
#toph_lc_message {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}
#toph_lc_send {
    width: 38px;
    border: none;
    background: #0f766e;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}
.toph-lc-status {
    font-size: 11px;
    color: #666;
    margin-top: 3px;
}
@media (max-width:480px) {
    .toph-lc-window {
        right: 10px;
        width: calc(100vw - 20px);
    }
}
