.meeting-stage-bar[hidden],
.meeting-stage-panel[hidden] {
    display: none;
}
.meeting-stage-bar {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: min(640px, calc(100% - 32px));
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 1002;
    border: 1px solid #dce5f4;
    border-radius: 14px;
    background: #fff;
    color: #23334c;
    box-shadow: 0 4px 18px #2439570a;
    font-family: system-ui, sans-serif;
}
.meeting-stage-bar > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.meeting-stage-bar strong {
    font-size: 13px;
    color: #315bd6;
    white-space: nowrap;
}
.meeting-stage-bar span {
    font-size: 12px;
    color: #66758c;
}
.meeting-stage-bar button,
.meeting-stage-panel button {
    border: 1px solid #dbe4f4;
    border-radius: 9px;
    background: #edf3ff;
    color: #315bd6;
    min-height: 36px;
    padding: 7px 12px;
    font:
        600 12px system-ui,
        sans-serif;
    cursor: pointer;
    white-space: nowrap;
}
.meeting-stage-bar button:focus-visible,
.meeting-stage-panel button:focus-visible {
    outline: 2px solid #315bd6;
    outline-offset: 2px;
}
.meeting-stage-panel {
    position: fixed;
    right: 20px;
    top: 150px;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100dvh - 240px);
    padding: 20px;
    overflow: auto;
    box-sizing: border-box;
    border: 1px solid #dce5f4;
    border-radius: 18px;
    background: #fff;
    color: #23334c;
    z-index: 1005;
    box-shadow: 0 12px 50px #24395726;
    font-family: system-ui, sans-serif;
}
.meeting-stage-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.meeting-stage-panel h2 {
    margin: 0;
    font-size: 18px;
    color: #23334c !important;
}
.meeting-stage-panel h3 {
    font-size: 13px;
    margin: 20px 0 10px;
    color: #23334c !important;
}
.meeting-stage-panel p {
    font-size: 12px;
    line-height: 1.6;
    color: #66758c;
}
.meeting-stage-panel ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.meeting-stage-panel li {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #edf1f7;
}
.meeting-stage-panel li > span {
    font-size: 13px;
    overflow-wrap: anywhere;
}
.meeting-stage-panel li > div {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.meeting-stage-panel .meeting-stage-empty {
    padding: 12px;
    background: #f6f8fc;
    border-radius: 8px;
}
.meeting-stage-mode #startAudioButton:disabled,
.meeting-stage-mode #startVideoButton:disabled,
.meeting-stage-mode #startScreenButton:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.meeting-stage-mode .meeting-audio-prompt {
    top: 146px;
}
.meeting-stage-mode #videoMediaContainer {
    padding-top: calc(150px + env(safe-area-inset-top)) !important;
}
#meetingMembersPagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
    color: #52627d;
    font-size: 12px;
}
#meetingMembersPagination[hidden] {
    display: none;
}
#meetingMembersPagination button {
    background: #edf3ff;
    color: #315bd6;
    border: 1px solid #dbe4f4;
    border-radius: 8px;
    padding: 6px 10px;
    min-height: 36px;
}
#meetingMembersPagination button:disabled {
    opacity: 0.4;
}
@media (max-width: 600px) {
    .meeting-stage-bar {
        top: 72px;
        padding: 8px 10px;
        gap: 6px;
    }
    .meeting-stage-bar > div {
        gap: 4px;
        flex-direction: column;
        align-items: flex-start;
    }
    .meeting-stage-bar span {
        font-size: 11px;
    }
    .meeting-stage-panel {
        top: 138px;
        right: 16px;
        padding: 16px;
    }
}
