.lc-agora-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(12, 45, 87, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.lc-agora-overlay.d-none { display: none !important; }
.lc-agora-stage {
    width: min(960px, 100%);
    height: min(640px, 90vh);
    background: #0b1220;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
.lc-agora-remote, .lc-agora-local video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
}
.lc-agora-remote { width: 100%; height: 100%; }
.lc-agora-local {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 180px;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #fff;
    background: #1e293b;
    z-index: 2;
}
.lc-agora-waiting {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1rem;
    text-align: center;
}
.lc-agora-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    padding: 0.85rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    z-index: 3;
}
.lc-agora-bar button {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #334155;
    color: #fff;
    font-size: 1.1rem;
}
.lc-agora-bar button.off { background: #64748b; }
.lc-agora-bar button.on { background: #0ea5e9; }
.lc-agora-bar button.danger { background: #ef4444; }
.lc-agora-label { color: #fff; font-weight: 600; margin-right: auto; padding-left: 0.5rem; }
.lc-incoming {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20001;
}
.lc-incoming.d-none { display: none !important; }
.lc-incoming__card {
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    min-width: 260px;
}
.lc-incoming__actions { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.lc-incoming__actions .accept { background: #10b981; color: #fff; border: none; border-radius: 8px; padding: 0.45rem 0.9rem; font-weight: 600; }
.lc-incoming__actions .decline { background: #ef4444; color: #fff; border: none; border-radius: 8px; padding: 0.45rem 0.9rem; font-weight: 600; }
.lc-call-btns { display: flex; gap: 0.35rem; }
.lc-call-btns.d-none { display: none !important; }
.lc-call-btns button, .lc-attach-btn {
    border: none;
    background: rgba(255,255,255,0.18);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
}
.lc-file-chip {
    display: block;
    margin-top: 0.4rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.16);
    color: inherit;
    text-decoration: none;
    font-size: 0.82rem;
    word-break: break-all;
}
.lc-msg--user .lc-file-chip { background: rgba(255,255,255,0.22); color: #fff; }
.lc-msg--doctor .lc-file-chip { background: rgba(12,45,87,0.08); color: #0C2D57; }
.lc-file-download {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: #0C2D57;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
}
.lc-msg--user .lc-file-download { background: rgba(255,255,255,0.22); }
.lc-attach-menu {
    position: absolute;
    bottom: 64px;
    left: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 180px;
    z-index: 20;
    display: none;
}
.lc-attach-menu.open { display: block; }
.lc-attach-menu button {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    color: #1e293b;
}
.lc-attach-menu button:hover { background: #f8fafc; }
.lc-chat-form { position: relative; }
