.omnichat-session-bar {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 10px;
}

.omnichat-session-login,
.omnichat-session-profile,
.omnichat-session-logout {
    min-height: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(31, 36, 46, .92);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.omnichat-session-authenticated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.omnichat-session-login,
.omnichat-session-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
}

.omnichat-session-login:hover,
.omnichat-session-login:focus,
.omnichat-session-logout:hover,
.omnichat-session-logout:focus {
    background: rgba(46, 53, 68, .96);
    color: #fff;
}

.omnichat-session-login:disabled,
.omnichat-session-logout:disabled {
    cursor: not-allowed;
    opacity: .7;
}

.omnichat-session-profile {
    display: inline-flex;
    align-items: center;
    max-width: min(320px, calc(100vw - 28px));
    padding: 3px 10px 3px 4px;
    gap: 8px;
    background: #4338ca;
}

.omnichat-session-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    overflow: hidden;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #a8c7fa;
    color: #111827;
    font-size: .78rem;
    font-weight: 900;
}

.omnichat-session-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.omnichat-session-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .82rem;
    font-weight: 700;
}

.participant-card {
    width: 400px;
    height: 300px;
    position: relative;
    background: #000;
    overflow: hidden;
}

.participant-card-reconnecting .participant-video,
.participant-card-reconnecting .participant-camera-placeholder {
    filter: grayscale(1);
    opacity: .42;
}

.participant-reconnecting-state {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    gap: 8px;
    place-content: center;
    justify-items: center;
    color: #fff;
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: .01em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .85);
    background: rgba(32, 33, 36, .68);
    pointer-events: none;
}

.participant-reconnecting-state i {
    font-size: 1.2rem;
}

.participant-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
    z-index: 1;
    opacity: 0;
}

.participant-screen-video {
    z-index: 2;
}

.participant-video-active {
    opacity: 1;
}

.participant-camera-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    background: #5f432f;
}

.participant-camera-placeholder img,
.participant-camera-placeholder span,
.prejoin-avatar img,
.meeting-participant-list-avatar img,
.meeting-participant-list-avatar span,
.chat-message-avatar img,
.chat-message-avatar span {
    display: block;
    border-radius: 999px;
}

.participant-camera-placeholder img,
.participant-camera-placeholder span {
    width: 86px;
    height: 86px;
}

.participant-camera-placeholder img {
    object-fit: cover;
}

.participant-camera-placeholder span {
    display: grid;
    place-items: center;
    color: #202124;
    font-size: 2rem;
    font-weight: 900;
    background: #a8c7fa;
}

.participant-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(0, 0, 0, .42);
    pointer-events: none;
    z-index: 3;
}

.participant-label,
.participant-text {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .85);
}

.participant-label {
    opacity: .82;
}

.participant-metrics {
    flex-wrap: wrap;
}

.participant-card .h5 {
    font-size: 1rem;
}

.participant-name-line {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.participant-name-line > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.participant-name-icon {
    display: inline-grid;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    place-items: center;
    font-size: .78rem;
    border-radius: 999px;
    text-shadow: none;
}

.participant-audio-indicator {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #fff;
    background: #2f80ed;
    border: 2px solid rgba(255, 255, 255, .86);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
    text-shadow: none;
}

.participant-audio-indicator > span {
    width: 5px;
    height: 12px;
    background: currentColor;
    border-radius: 999px;
    animation: participant-audio-wave .78s ease-in-out infinite;
}

.participant-audio-indicator > span:nth-child(2) {
    animation-delay: .12s;
}

.participant-audio-indicator > span:nth-child(3) {
    animation-delay: .24s;
}

@keyframes participant-audio-wave {
    0%,
    100% {
        transform: scaleY(.45);
    }

    50% {
        transform: scaleY(1.35);
    }
}

.participant-name-hand {
    color: #202124;
    background: #fdd663;
}

.participant-name-admin {
    color: #fff;
    background: rgba(0, 123, 255, .95);
}

.participant-name-moderator {
    color: #202124;
    background: #fdd663;
}

.participant-speaking {
    border: 3px solid #dc3545 !important;
}

.participant-card-hand-raised {
    border: 3px solid #fdd663 !important;
}

.participant-hand-raised {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    font-size: 1.8rem;
    line-height: 1;
    background: rgba(17, 24, 39, .86);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}

.participant-card > .participant-admin-actions {
    position: absolute !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    z-index: 100 !important;
    display: flex !important;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.96);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.participant-card:hover > .participant-admin-actions,
.participant-card:focus-within > .participant-admin-actions {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.participant-card > .participant-admin-actions > .participant-admin-action {
    display: inline-grid !important;
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    place-items: center;
    position: relative;
    z-index: 101 !important;
    color: #fff;
    background: rgba(17, 24, 39, .96);
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
    cursor: pointer;
    pointer-events: auto !important;
}

.participant-card > .participant-admin-actions > .participant-admin-action:hover,
.participant-card > .participant-admin-actions > .participant-admin-action:focus {
    color: #fff;
    background: rgba(220, 53, 69, .96);
    outline: 2px solid rgba(255, 255, 255, .86);
    outline-offset: 2px;
}

.participant-card > .participant-admin-actions > .participant-admin-action:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.participant-card > .participant-admin-actions > .participant-admin-action-danger {
    color: #fecaca;
}

.participant-pin-actions {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 20;
    display: flex;
    gap: 8px;
}

.participant-pin-action {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #f1f3f4;
    background: rgba(17, 24, 39, .88);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
    cursor: pointer;
}

.participant-pin-action:hover,
.participant-pin-action:focus {
    color: #202124;
    background: #a8c7fa;
    border-color: transparent;
    outline: 2px solid rgba(255, 255, 255, .76);
    outline-offset: 2px;
}

.participant-pin-action-active {
    color: #202124;
    background: #fdd663;
    border-color: transparent;
}

.participant-status-indicators {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 18;
    display: flex;
    gap: 8px;
    pointer-events: none;
}

.participant-status-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: rgba(17, 24, 39, .88);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
}

.participant-muted-indicator {
    color: #fff;
    background: rgba(220, 53, 69, .95);
}

.participant-admin-indicator {
    color: #fff;
    background: rgba(0, 123, 255, .95);
}

.participant-chat-muted-indicator {
    color: #fff;
    background: rgba(255, 193, 7, .96);
}

.local-preview-card {
    max-width: min(400px, 100%);
}

.reaction-button {
    min-width: 46px;
    font-size: 1.25rem;
    line-height: 1;
}

.reaction-float-layer {
    position: fixed;
    inset: 0;
    z-index: 1080;
    pointer-events: none;
    overflow: hidden;
}

.reaction-toast {
    position: absolute;
    left: var(--reaction-left, 8%);
    bottom: var(--reaction-bottom, 112px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    min-width: 112px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .38));
    opacity: 0;
    transform: translate(0, 24px) scale(.82);
    will-change: transform, opacity;
    animation: reaction-rise var(--reaction-duration, 4600ms) cubic-bezier(.22, .78, .24, 1) var(--reaction-delay, 0ms) forwards;
    pointer-events: none;
    z-index: 20;
}

.reaction-toast span:not(.reaction-emotion) {
    max-width: min(180px, 42vw);
    padding: 4px 10px;
    overflow: hidden;
    margin-top: 0;
    color: #f1f3f4;
    font-size: .82rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(32, 33, 36, .9);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 6px 18px rgba(0, 0, 0, .34);
}

.reaction-emotion {
    font-size: clamp(2.15rem, 6vw, 3rem);
    line-height: 1;
    transform-origin: 50% 80%;
}

@keyframes reaction-rise {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(.78);
    }

    10% {
        opacity: 1;
        transform: translateY(-40px) scale(var(--reaction-scale, 1));
    }

    35% {
        opacity: 1;
        transform: translateY(-180px) scale(var(--reaction-scale, 1));
    }

    70% {
        opacity: 1;
        transform: translateY(-420px) scale(var(--reaction-scale, 1));
    }

    85% {
        opacity: .45;
        transform: translateY(-500px) scale(.92);
    }

    100% {
        opacity: 0;
        transform: translateY(-560px) scale(.76);
    }
}

.chat-panel {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1070;
    display: flex;
    flex-direction: column;
    width: min(600px, calc(100vw - 40px));
    height: min(400px, calc(100vh - 40px));
    overflow: hidden;
    background: #1b1b1b;
    border: 2px solid #333;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .4);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    color: #fff;
    font-weight: 700;
    background: #252525;
    border-bottom: 1px solid #333;
}

.chat-header-button,
.chat-minimized-button {
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    background: #333;
    border: 1px solid #555;
}

.chat-header-button {
    padding: 6px 10px;
    border-radius: 6px;
}

.chat-minimized-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1070;
    min-width: 120px;
    padding: 12px 16px;
    background: #1b1b1b;
    border: 2px solid #333;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .4);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    color: #fff;
}

.chat-message {
    margin-bottom: 10px;
    word-break: break-word;
}

.chat-message-system {
    color: #d1d5db;
    font-style: italic;
}

.chat-message-name {
    color: #4ade80;
    font-weight: 700;
}

.chat-message-system .chat-message-name {
    color: #fbbf24;
}

.chat-message-separator {
    color: #999;
}

.chat-message-text {
    white-space: pre-wrap;
}

.chat-message-text-block,
.chat-message-link-line {
    display: block;
}

.chat-message-text-block + .chat-message-link-line,
.chat-link-preview + .chat-message-text-block {
    margin-top: 6px;
}

.chat-message-link {
    color: #d2e3fc;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.chat-message-link:hover,
.chat-message-link:focus {
    color: #f1f3f4;
    text-decoration: underline;
}

.chat-link-preview {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    max-width: 100%;
    padding: 10px;
    margin-top: 8px;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.chat-link-preview:hover,
.chat-link-preview:focus {
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, .12);
    outline: 2px solid rgba(168, 199, 250, .35);
    outline-offset: 2px;
}

.chat-link-preview-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    color: #d2e3fc;
    background: rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.chat-link-preview-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.chat-link-preview-icon .fa-globe {
    color: #5ad7ff;
    font-size: 2rem;
}

.chat-link-preview-body {
    display: grid;
    min-width: 0;
}

.chat-link-preview-title,
.chat-link-preview-domain {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-link-preview-title {
    color: #f1f3f4;
    font-weight: 700;
}

.chat-link-preview-domain {
    color: #bdc1c6;
    font-size: .86rem;
}

.chat-composer {
    display: flex;
    align-items: flex-end;
    border-top: 1px solid #333;
}

.chat-input {
    flex: 1;
    min-width: 0;
    min-height: 86px;
    max-height: 180px;
    padding: 12px;
    color: #fff;
    background: #111;
    border: 0;
    outline: 0;
    resize: none;
    scrollbar-color: #6f7378 transparent;
    scrollbar-width: thin;
}

.chat-input::-webkit-scrollbar {
    width: 9px;
}

.chat-input::-webkit-scrollbar-track {
    background: transparent;
}

.chat-input::-webkit-scrollbar-thumb {
    background: #6f7378;
    border: 2px solid #303134;
    border-radius: 999px;
}

.chat-input::-webkit-scrollbar-thumb:hover {
    background: #8b9097;
}

.chat-send-button {
    width: 100px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    background: #2563eb;
    border: 0;
}

body:has(.meeting-shell-active),
body:has(.meeting-shell-prejoin) {
    overflow: visible;
}

.meeting-shell {
    min-height: 100dvh;
}

.meeting-shell-prejoin {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: 22px 20px 30px;
    color: #e8eaed;
    background: #0f1011;
}

.meeting-shell-prejoin label {
    font-weight: 700;
}

.meeting-shell-prejoin .participant-card {
    border: 0 !important;
    border-radius: 18px !important;
}

.meeting-autojoin-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100dvh - 52px);
}

.prejoin-lobby {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(560px, 100%);
    min-height: calc(100dvh - 52px);
    margin: 0 auto;
}

.prejoin-header {
    display: grid;
    gap: 8px;
    justify-items: center;
    width: 100%;
    margin: 0 0 22px;
    text-align: center;
}

.prejoin-header h1 {
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prejoin-header p {
    margin: 0;
    color: #7f858d;
    font-size: .78rem;
}

.prejoin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
}

.prejoin-live-chip,
.prejoin-participants-chip,
.prejoin-recording-chip {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    color: #f5f7fa;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    background: #202124;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
}

.prejoin-live-chip {
    background: #4b5563;
    border-color: rgba(255, 255, 255, .14);
}

.prejoin-live-chip i {
    font-size: .48rem;
}

.prejoin-recording-chip {
    color: #1f2937;
    background: #facc15;
    border-color: rgba(250, 204, 21, .55);
}

.prejoin-recording-chip i {
    color: #dc2626;
    font-size: .48rem;
}

.prejoin-live-chip-ended {
    background: #dc2626;
}

.prejoin-live-chip-waiting {
    color: #1f2937;
    background: #facc15;
}

.prejoin-live-chip-invalid {
    color: #1f2937;
    background: #facc15;
}

.prejoin-live-chip-loading {
    background: #4b5563;
}

.prejoin-meta-avatar-stack {
    min-height: 24px;
    padding-left: 4px;
}

.prejoin-participants-chip .prejoin-room-avatar {
    width: 24px;
    height: 24px;
    margin-left: -4px;
    border-width: 1px;
    border-color: #202124;
}

.prejoin-participants-summary {
    max-width: min(640px, calc(100vw - 48px));
    margin: 8px auto 0;
    overflow-wrap: anywhere;
    color: #aeb6c2;
    font-size: .78rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
}

.prejoin-preview-wrap {
    position: relative;
    display: grid;
    gap: 14px;
    justify-items: center;
    width: 100%;
    min-width: 0;
}

.prejoin-preview-card {
    width: 100%;
    height: auto;
    min-height: auto;
    aspect-ratio: 16 / 9;
    background: #1d1f21;
    border-radius: 7px !important;
}

.prejoin-preview-card .participant-overlay {
    justify-content: flex-end;
    padding: 18px !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 54%, rgba(0, 0, 0, .74));
}

.prejoin-preview-card .participant-overlay .h5 {
    display: inline-flex;
    max-width: min(100%, 360px);
    min-height: 32px;
    align-items: center;
    padding: 7px 13px;
    margin: 0 !important;
    overflow: visible;
    color: #202124;
    font-size: .92rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #a8e6a1;
    border-radius: 999px;
    text-shadow: none;
}

.prejoin-avatar {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(168, 199, 250, .12), transparent 32%),
        #5b3f2b;
}

.prejoin-avatar span {
    display: grid;
    width: clamp(82px, 12vw, 132px);
    height: clamp(82px, 12vw, 132px);
    place-items: center;
    color: #202124;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 900;
    background: #a8c7fa;
    border-radius: 999px;
}

.prejoin-avatar img {
    width: clamp(94px, 14vw, 148px);
    height: clamp(94px, 14vw, 148px);
    object-fit: cover;
    box-shadow: 0 12px 44px rgba(0, 0, 0, .38);
}

.prejoin-controls {
    position: relative;
    bottom: auto;
    left: auto;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 6px;
    transform: none;
}

.prejoin-controls .meeting-control-button,
.meeting-controls-center .prejoin-media-control-group .meeting-control-button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 6px;
}

.prejoin-media-control-group {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
}

.prejoin-media-control-group-open {
    z-index: 1100;
}

.prejoin-media-control-group .meeting-control-button {
    border: 0;
    border-radius: 0;
}

.prejoin-media-control-group .meeting-control-button:first-child {
    border-radius: 7px 0 0 7px;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.prejoin-media-control-group-single .meeting-control-button:first-child {
    border-right: 0;
    border-radius: 7px;
}

.prejoin-device-dots {
    width: 28px !important;
    color: #f1f3f4;
    background: #1b1d1f;
    border-radius: 0 7px 7px 0 !important;
}

.prejoin-entry-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
}

.prejoin-field {
    min-width: 0;
}

.prejoin-status-panel {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
}

.prejoin-status-panel:empty {
    display: none;
}

.prejoin-status-panel label {
    display: block;
    margin: 0 0 8px;
    color: #f1f3f4;
    font-size: .86rem;
}

.prejoin-entry-row .form-control {
    min-height: 36px;
    color: #f1f3f4;
    background: #1b1d1f;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 6px;
}

.prejoin-entry-row .form-control:focus {
    color: #f1f3f4;
    background: #1b1d1f;
    border-color: #a8c7fa;
    box-shadow: 0 0 0 3px rgba(168, 199, 250, .24);
}

.prejoin-room-status,
.prejoin-status {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    color: #e8eaed;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.35;
    background: #303134;
    border-radius: 12px;
}

.prejoin-room-status i {
    margin-top: 2px;
    color: #a8c7fa;
}

.prejoin-room-avatar-stack {
    display: flex;
    align-items: center;
    min-height: 24px;
    padding-left: 6px;
}

.prejoin-room-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    margin-left: -6px;
    place-items: center;
    overflow: hidden;
    border: 2px solid #303134;
    border-radius: 999px;
    background: #a8c7fa;
}

.prejoin-room-avatar img,
.prejoin-room-avatar span {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.prejoin-room-avatar img {
    object-fit: cover;
}

.prejoin-room-avatar span,
.prejoin-room-avatar-more {
    display: grid;
    place-items: center;
    color: #202124;
    font-size: .64rem;
    font-weight: 900;
}

.prejoin-room-avatar-more {
    background: #e8eaed;
}

.prejoin-status-info {
    background: #214b5b;
}

.prejoin-status-success {
    color: #202124;
    background: #a8e6a1;
}

.prejoin-status-warning {
    color: #202124;
    background: #fdd663;
}

.prejoin-status-danger {
    color: #fff;
    background: #a50e0e;
}

.prejoin-enter-button {
    min-width: 92px;
    min-height: 36px;
    padding: 0 18px;
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    background: #15946f;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.prejoin-enter-button:hover,
.prejoin-enter-button:focus {
    background: #1aa67d;
    outline: 2px solid rgba(26, 166, 125, .45);
    outline-offset: 2px;
}

.prejoin-enter-button:disabled {
    color: #9aa0a6;
    background: #3c4043;
    cursor: not-allowed;
}

.prejoin-login-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    color: #aeb6c2;
    font-size: .82rem;
}

.prejoin-login-button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    color: #f1f3f4;
    font-size: .78rem;
    font-weight: 800;
    background: #303134;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    cursor: pointer;
}

.prejoin-login-button:hover,
.prejoin-login-button:focus {
    color: #202124;
    background: #a8c7fa;
    outline: 2px solid rgba(168, 199, 250, .28);
    outline-offset: 2px;
}

.prejoin-login-button:disabled {
    color: #9aa0a6;
    background: #3c4043;
    cursor: not-allowed;
}

.omnichat-auth-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, .68);
}

.omnichat-auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 3001;
    width: min(420px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 20px;
    overflow: auto;
    color: #f1f3f4;
    background: #17191c;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .58);
    transform: translate(-50%, -50%);
}

.omnichat-auth-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}

.omnichat-auth-header h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.omnichat-auth-header p {
    margin: 0;
    color: #aeb6c2;
    font-size: .84rem;
    line-height: 1.35;
}

.omnichat-auth-close {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    color: #f1f3f4;
    background: #303134;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.omnichat-auth-close:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.omnichat-auth-form {
    display: grid;
    gap: 10px;
}

.omnichat-auth-form label {
    margin: 0;
    color: #f1f3f4;
    font-size: .82rem;
    font-weight: 800;
}

.omnichat-auth-form .form-control {
    min-height: 40px;
    color: #f1f3f4;
    background: #202124;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 6px;
}

.omnichat-auth-form .form-control:focus {
    color: #f1f3f4;
    background: #202124;
    border-color: #a8c7fa;
    box-shadow: 0 0 0 3px rgba(168, 199, 250, .22);
}

.omnichat-auth-error {
    padding: 10px 12px;
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.35;
    background: #a50e0e;
    border-radius: 6px;
}

.omnichat-auth-submit {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    color: #fff;
    font-size: .82rem;
    font-weight: 900;
    background: #15946f;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.omnichat-auth-submit:hover,
.omnichat-auth-submit:focus {
    background: #1aa67d;
    outline: 2px solid rgba(26, 166, 125, .45);
    outline-offset: 2px;
}

.omnichat-auth-submit:disabled {
    color: #9aa0a6;
    background: #3c4043;
    cursor: wait;
}

.prejoin-device-menu {
    left: 0;
    right: auto;
    bottom: calc(100% + 10px);
    transform: none;
}

.meeting-shell-active {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    padding: 72px 16px 96px;
    overflow: hidden;
    color: #e8eaed;
    background: #111214;
}

.meeting-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-height: 56px;
    padding: 10px 18px;
    color: #f1f3f4;
    background: linear-gradient(180deg, rgba(17, 18, 20, .98), rgba(17, 18, 20, .76));
}

.meeting-room-title,
.meeting-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.meeting-admin-chip,
.meeting-moderator-chip,
.meeting-count-chip,
.meeting-recording-control,
.meeting-recording-indicator,
.meeting-topbar .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 10px;
    color: #e8eaed;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    background: #303134;
    border-radius: 999px;
}

.meeting-topbar .meeting-connection-quality-chip.badge-warning {
    color: #202124;
    background: #facc15;
}

.meeting-topbar .meeting-connection-quality-chip.badge-danger {
    color: #fff;
    background: #dc2626;
}

.meeting-admin-chip {
    color: #d2e3fc;
    background: #174ea6;
}

.meeting-moderator-chip {
    color: #202124;
    background: #fdd663;
}

.meeting-count-chip {
    color: #202124;
    background: #a8c7fa;
}

@keyframes meeting-count-chip-attention {
    0%, 100% {
        transform: translateX(0) scale(1);
    }

    20% {
        transform: translateX(-1px) scale(1.04);
    }

    40% {
        transform: translateX(1px) scale(1.04);
    }

    60% {
        transform: translateX(-1px) scale(1.04);
    }

    80% {
        transform: translateX(1px) scale(1.04);
    }
}

.meeting-recording-control {
    justify-content: center;
    min-width: 34px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.meeting-capture-control {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.meeting-recording-control-start {
    color: #202124;
    background: #facc15;
}

.meeting-recording-control-cancel {
    color: #202124;
    background: #fdd663;
}

.meeting-recording-control-stop {
    color: #fff;
    background: #dc2626;
}

.meeting-recording-control:disabled {
    cursor: not-allowed;
    opacity: .7;
}

.meeting-capture-control-active .meeting-recording-control {
    overflow: hidden;
    transition: padding .24s ease, min-width .24s ease;
}

.meeting-recording-indicator-collapsible {
    overflow: hidden;
    transition: padding .24s ease, min-width .24s ease;
}

.meeting-capture-word {
    display: inline-block;
    max-width: 190px;
    overflow: hidden;
    white-space: nowrap;
    animation: meeting-capture-word-collapse .36s ease 3s forwards;
}

.meeting-capture-time {
    display: inline-block;
    min-width: 38px;
    text-align: left;
    white-space: nowrap;
}

@keyframes meeting-capture-word-collapse {
    to {
        max-width: 0;
        margin-left: -6px;
        opacity: 0;
    }
}

.meeting-capture-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1090;
    display: grid;
    width: 240px;
    padding: 8px;
    color: #f1f3f4;
    background: rgba(27, 28, 31, .98);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .42);
}

.meeting-capture-menu button {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    width: 100%;
    padding: 10px;
    color: inherit;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.meeting-capture-menu button + button {
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0 0 6px 6px;
}

.meeting-capture-menu button:hover,
.meeting-capture-menu button:focus {
    background: rgba(255, 255, 255, .08);
    outline: none;
}

.meeting-capture-menu button:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.meeting-capture-menu strong,
.meeting-capture-menu small {
    display: block;
    min-width: 0;
}

.meeting-capture-menu strong {
    font-size: .88rem;
    line-height: 1.25;
}

.meeting-capture-menu small {
    margin-top: 3px;
    color: #bdc1c6;
    font-size: .76rem;
    line-height: 1.25;
}

.meeting-capture-menu-icon {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: #202124;
    border-radius: 50%;
}

.meeting-capture-menu-icon-transcription {
    background: #facc15;
}

.meeting-capture-menu-icon-recording {
    color: #fff;
    background: #dc2626;
}

.meeting-capture-message {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1091;
    width: 260px;
    padding: 9px 10px;
    color: #f1f3f4;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.25;
    background: rgba(32, 33, 36, .98);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .38);
}

.meeting-capture-menu + .meeting-capture-message {
    top: calc(100% + 154px);
}

.meeting-capture-message-error {
    color: #fecaca;
    border-color: rgba(248, 113, 113, .4);
    background: rgba(69, 10, 10, .98);
}

.meeting-mobile-label {
    display: none;
}

.meeting-recording-indicator {
    background: rgba(32, 33, 36, .92);
    border: 1px solid rgba(255, 255, 255, .08);
}

.meeting-recording-indicator-countdown i {
    color: #facc15;
}

.meeting-recording-indicator-active i {
    color: #ef4444;
    animation: recording-pulse 1.2s ease-in-out infinite;
}

.meeting-recording-indicator-transcription i {
    color: #facc15;
    animation: recording-pulse 1.2s ease-in-out infinite;
}

@keyframes recording-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .45;
    }
}

.meeting-admin-button,
.meeting-count-button {
    border: 0;
    cursor: pointer;
}

.meeting-count-queue-text {
    font-weight: 900;
}

.meeting-admin-button:hover,
.meeting-admin-button:focus {
    color: #d2e3fc;
    background: #1967d2;
    outline: 2px solid rgba(168, 199, 250, .65);
    outline-offset: 2px;
}

.meeting-count-button:hover,
.meeting-count-button:focus {
    color: #202124;
    background: #d2e3fc;
    outline: 2px solid rgba(168, 199, 250, .65);
    outline-offset: 2px;
}

.meeting-participants-popover,
.meeting-admin-popover {
    position: absolute;
    top: 56px;
    right: 18px;
    z-index: 1095;
    width: min(338px, calc(100vw - 28px));
    overflow: visible;
    color: #e8eaed;
    background: #202124;
    border: 1px solid #3c4043;
    border-radius: 10px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
}

.meeting-admin-popover {
    right: 112px;
}

.meeting-admin-popover .meeting-participants-popover-header {
    grid-template-columns: minmax(0, 1fr) 32px;
}

.meeting-participants-popover-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 32px;
    gap: 12px;
    align-items: center;
    min-height: 52px;
    padding: 0 14px 0 20px;
    font-weight: 800;
    border-bottom: 1px solid #3c4043;
}

.meeting-participants-popover-header strong {
    font-size: .95rem;
}

.meeting-participants-popover-close {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #e8eaed;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.meeting-participants-popover-close:hover,
.meeting-participants-popover-close:focus {
    background: #303134;
    outline: 0;
}

.meeting-participants-popover-list {
    display: grid;
    gap: 22px;
    padding: 22px 20px 28px;
}

.meeting-admin-popover-body {
    display: grid;
    gap: 12px;
    padding: 18px 20px 22px;
}

.meeting-admin-popover-body label {
    margin: 0;
    color: #bdc1c6;
    font-size: .8rem;
    font-weight: 800;
}

.meeting-admin-permission-row {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid #3c4043;
}

.meeting-admin-permission-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    font-size: .82rem;
    font-weight: 900;
    border-radius: 999px;
}

.meeting-admin-permission-public {
    color: #062e6f;
    background: #a8c7fa;
}

.meeting-admin-permission-private {
    color: #fce8e6;
    background: #a50e0e;
}

.meeting-admin-change-permission {
    min-height: 34px;
    padding: 6px 12px;
    color: #f1f3f4;
    font-size: .82rem;
    font-weight: 900;
    background: #303134;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    cursor: pointer;
}

.meeting-admin-change-permission:hover,
.meeting-admin-change-permission:focus {
    background: #3c4043;
    outline: 2px solid rgba(168, 199, 250, .5);
    outline-offset: 2px;
}

.meeting-admin-scope-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3c4043;
}

.meeting-admin-scope-option {
    display: grid;
    gap: 3px;
    min-width: 0;
    min-height: 58px;
    padding: 9px 10px;
    color: #f1f3f4;
    text-align: left;
    background: #303134;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    cursor: pointer;
}

.meeting-admin-scope-option span,
.meeting-admin-scope-option small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meeting-admin-scope-option span {
    font-size: .84rem;
    font-weight: 900;
}

.meeting-admin-scope-option small {
    color: #bdc1c6;
    font-size: .72rem;
    font-weight: 800;
}

.meeting-admin-scope-option:hover,
.meeting-admin-scope-option:focus {
    background: #3c4043;
    outline: 2px solid rgba(168, 199, 250, .5);
    outline-offset: 2px;
}

.meeting-admin-scope-option-active,
.meeting-admin-scope-option:disabled {
    color: #062e6f;
    background: #a8c7fa;
    border-color: #a8c7fa;
    cursor: default;
    opacity: 1;
}

.meeting-admin-scope-option-active small,
.meeting-admin-scope-option:disabled small {
    color: #174ea6;
}

.meeting-admin-create-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.meeting-admin-create-group .form-control {
    min-height: 40px;
    color: #f1f3f4;
    background: #303134;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
}

.meeting-admin-create-group button {
    min-height: 40px;
    padding: 0 14px;
    color: #062e6f;
    font-weight: 900;
    background: #a8c7fa;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.meeting-admin-create-group button:disabled {
    color: #9aa0a6;
    background: #3c4043;
    cursor: not-allowed;
}

.meeting-admin-groups-row {
    display: grid;
    gap: 10px;
}

.meeting-admin-groups {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.meeting-admin-groups span,
.meeting-group-pill {
    max-width: 100%;
    padding: 5px 9px;
    overflow: hidden;
    color: #d2e3fc;
    font-size: .78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #174ea6;
    border-radius: 999px;
}

.meeting-group-pill {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
}

.meeting-admin-group-item {
    position: relative;
    display: inline-flex;
}

.meeting-admin-group-button {
    border: 0;
    cursor: pointer;
}

.meeting-admin-group-button:hover,
.meeting-admin-group-button:focus {
    color: #fff;
    background: #1967d2;
    outline: 2px solid rgba(168, 199, 250, .55);
    outline-offset: 2px;
}

.meeting-admin-group-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1120;
    display: grid;
    min-width: 150px;
    padding: 8px;
    background: #2b2c2f;
    border: 1px solid #3c4043;
    border-radius: 12px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .5);
}

.meeting-admin-group-menu button {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 38px;
    padding: 7px 10px;
    color: #fce8e6;
    font-size: .84rem;
    font-weight: 800;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.meeting-admin-group-menu button:hover,
.meeting-admin-group-menu button:focus {
    background: rgba(255, 255, 255, .08);
    outline: 0;
}

.meeting-admin-end-all-groups {
    width: fit-content;
    min-height: 34px;
    padding: 6px 12px;
    color: #fce8e6;
    font-size: .82rem;
    font-weight: 900;
    background: #a50e0e;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.meeting-admin-end-all-groups:hover,
.meeting-admin-end-all-groups:focus {
    background: #d93025;
    outline: 2px solid rgba(252, 232, 230, .5);
    outline-offset: 2px;
}

.meeting-join-requests {
    display: grid;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #3c4043;
}

.meeting-join-requests-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #e8eaed;
    font-size: .86rem;
    font-weight: 800;
}

.meeting-join-requests-header button,
.meeting-join-request-actions button {
    min-height: 30px;
    padding: 5px 10px;
    font-size: .78rem;
    font-weight: 800;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.meeting-join-requests-header button,
.meeting-join-request-approve {
    color: #062e6f;
    background: #a8c7fa;
}

.meeting-join-request-item {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.meeting-join-request-item > span {
    overflow: hidden;
    color: #f1f3f4;
    font-size: .9rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meeting-join-request-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.meeting-join-request-deny {
    color: #fce8e6;
    background: #a50e0e;
}

.meeting-join-requests-header button:hover,
.meeting-join-requests-header button:focus,
.meeting-join-request-approve:hover,
.meeting-join-request-approve:focus {
    background: #d2e3fc;
    outline: 0;
}

.meeting-join-request-deny:hover,
.meeting-join-request-deny:focus {
    background: #d93025;
    outline: 0;
}

.meeting-join-requests button:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.meeting-participants-popover-item {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 34px;
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.meeting-participant-reconnecting {
    opacity: .68;
}

.meeting-participant-reconnecting .meeting-participant-list-avatar {
    filter: grayscale(1);
}

.meeting-participant-list-avatar {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
}

.meeting-participant-list-avatar img,
.meeting-participant-list-avatar span {
    width: 36px;
    height: 36px;
}

.meeting-participant-list-avatar img {
    object-fit: cover;
}

.meeting-participant-list-avatar span {
    display: grid;
    place-items: center;
    color: #202124;
    font-size: .84rem;
    font-weight: 900;
    background: #a8c7fa;
}

.meeting-participant-list-avatar.participant-avatar-hand-raised {
    color: #202124;
    font-size: .96rem;
    background: #fdd663;
    border-radius: 999px;
}

.meeting-participants-popover-name {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.meeting-participants-popover-name span {
    overflow: hidden;
    font-size: .93rem;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meeting-participants-popover-name small {
    color: #bdc1c6;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.2;
}

.meeting-participants-popover-name .meeting-participant-moderator-label {
    color: #fdd663;
}

.meeting-participants-popover-name .meeting-participant-reconnecting-label {
    color: #fdd663;
}

.meeting-participants-popover-name .meeting-group-pill {
    color: #d2e3fc;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.2;
    background: #174ea6;
}

.meeting-participant-kebab {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #e8eaed;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.meeting-participant-kebab:hover,
.meeting-participant-kebab:focus {
    background: #303134;
    outline: 0;
}

.meeting-participant-context-menu {
    position: absolute;
    top: 38px;
    right: 0;
    z-index: 1110;
    display: grid;
    min-width: 230px;
    padding: 8px;
    background: #2b2c2f;
    border: 1px solid #3c4043;
    border-radius: 12px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .5);
}

.meeting-participant-context-menu button {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 40px;
    padding: 7px 10px;
    color: #f1f3f4;
    font-size: .84rem;
    font-weight: 800;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.meeting-participant-context-menu button:hover,
.meeting-participant-context-menu button:focus {
    background: rgba(255, 255, 255, .08);
    outline: 0;
}

.meeting-participant-context-menu button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.meeting-participant-context-danger {
    color: #fce8e6 !important;
}

.meeting-moderator-icon {
    color: #fdd663;
}

.meeting-participant-context-divider {
    height: 1px;
    margin: 6px 4px;
    background: #3c4043;
}

.meeting-shell-active > .alert {
    position: fixed;
    top: 66px;
    left: 50%;
    z-index: 1090;
    width: min(560px, calc(100vw - 32px));
    margin: 0;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
    transform: translateX(-50%);
}

.meeting-shell-active .meeting-participants-section {
    --meeting-card-gap: 12px;
    --meeting-pagination-height: 46px;
    --meeting-sidebar-card-width: clamp(150px, calc(var(--meeting-standard-card-height) * 16 / 9), 260px);
    --meeting-standard-card-height: max(72px, calc((100dvh - 180px - var(--meeting-pagination-height) - (var(--meeting-card-gap) * 5)) / 5));
    --meeting-focus-card-width: min(calc((100dvh - 190px) * 16 / 9), calc(100vw - 560px), 1180px);
    flex: 1;
    min-height: 0;
    margin: 0 !important;
    transition: margin-right .18s ease;
}

.meeting-shell-active .meeting-presentation-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) var(--meeting-pagination-height);
    gap: var(--meeting-card-gap);
    align-items: stretch;
    justify-content: center;
}

.meeting-shell-active .meeting-presentation-layout:not(.meeting-presentation-solo-layout):not(.meeting-presentation-pair-layout) {
    grid-template-columns: minmax(0, var(--meeting-focus-card-width)) var(--meeting-sidebar-card-width);
}

.meeting-shell-active :is(.meeting-presentation-solo-layout, .meeting-presentation-pair-layout) {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
}

.meeting-shell-active .meeting-presentation-pair-layout {
    grid-template-columns: minmax(0, var(--meeting-focus-card-width)) var(--meeting-sidebar-card-width);
}

.meeting-shell-active :is(.meeting-solo-layout, .meeting-pair-layout) {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    gap: var(--meeting-card-gap);
    align-items: stretch;
}

.meeting-shell-active .meeting-matrix-layout {
    --meeting-matrix-card-height: max(92px, calc(100dvh - 180px));
    --meeting-matrix-card-width: min(100%, calc(var(--meeting-matrix-card-height) * 16 / 9));
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: var(--meeting-card-gap);
}

.meeting-shell-active .meeting-participants-section > h2 {
    display: none;
}

.meeting-screen-stage {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #05070b;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.meeting-shell-active .meeting-presentation-layout .meeting-screen-stage {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.meeting-screen-stage-video {
    opacity: 1;
    object-fit: contain;
    background: #05070b;
}

.meeting-screen-stage:fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    background: #000;
    box-shadow: none;
}

.meeting-screen-stage:fullscreen .meeting-screen-stage-video {
    object-fit: contain;
    background: #000;
}

.meeting-screen-stage-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 6;
    display: inline-flex;
    max-width: calc(100% - 76px);
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 7px 12px;
    overflow: hidden;
    color: #f1f3f4;
    font-size: .86rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(32, 33, 36, .82);
    border-radius: 999px;
}

.meeting-screen-stage-fullscreen-button {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 7;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #f1f3f4;
    background: rgba(32, 33, 36, .82);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
}

.meeting-screen-stage-fullscreen-button:hover,
.meeting-screen-stage-fullscreen-button:focus {
    color: #fff;
    background: rgba(64, 67, 72, .92);
}

.meeting-shell-active .meeting-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--meeting-grid-columns, 4), minmax(0, 1fr));
    gap: var(--meeting-card-gap);
    align-content: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 4px 0;
    overflow: hidden;
}

.meeting-grid-stack {
    display: contents;
}

.meeting-shell-active .meeting-presentation-layout .meeting-grid-stack {
    z-index: 6;
    display: flex;
    grid-column: 2;
    grid-row: 1 / span 2;
    flex-direction: column;
    align-self: center;
    justify-self: start;
    width: var(--meeting-sidebar-card-width);
    gap: var(--meeting-card-gap);
}

.meeting-shell-active .meeting-presentation-layout .meeting-grid {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
    height: auto;
    min-height: 0;
    padding: 0;
}

.meeting-shell-active .meeting-presentation-layout:not(.meeting-presentation-solo-layout):not(.meeting-presentation-pair-layout) .meeting-grid {
    position: static;
    z-index: 5;
    width: 100%;
    height: auto;
    max-height: none;
    align-self: end;
    overflow: visible;
    transform: none;
}

.meeting-shell-active .meeting-presentation-pair-layout .meeting-grid {
    position: absolute;
    display: grid !important;
    padding: 0;
}

.meeting-shell-active .meeting-presentation-pair-layout .meeting-participant-card {
    width: 100%;
}

.meeting-shell-active :is(.meeting-solo-layout, .meeting-pair-layout) .meeting-grid {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    padding: 0;
}

.meeting-shell-active .meeting-pair-layout .meeting-grid {
    grid-template-columns: minmax(0, 1fr) var(--meeting-sidebar-card-width);
    gap: var(--meeting-card-gap);
}

.meeting-shell-active .meeting-matrix-layout .meeting-grid {
    grid-template-columns: repeat(var(--meeting-grid-columns, 4), minmax(0, var(--meeting-matrix-card-width)));
    grid-template-rows: repeat(var(--meeting-grid-rows, 1), minmax(0, var(--meeting-matrix-card-height)));
    grid-auto-rows: minmax(0, var(--meeting-matrix-card-height));
    place-content: center;
    place-items: center;
}

.meeting-shell-active .meeting-participant-card {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin: 0 !important;
    overflow: hidden;
    background: #5b3f2b;
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04) !important;
}

.meeting-shell-active .meeting-matrix-layout .meeting-participant-card {
    width: var(--meeting-matrix-card-width);
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
}

.meeting-shell-active :is(.meeting-participant-expanded, .meeting-solo-layout .meeting-participant-card, .meeting-matrix-layout .meeting-participant-card) {
    container-type: size;
}

.meeting-shell-active :is(.meeting-solo-layout .meeting-participant-card, .meeting-pair-layout .meeting-participant-expanded, .meeting-presentation-layout .meeting-participant-expanded, .meeting-presentation-layout .meeting-screen-stage) {
    width: min(100%, var(--meeting-focus-card-width));
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    place-self: center;
    grid-column: 1;
    grid-row: 1;
}

.meeting-shell-active :is(.meeting-pair-layout .participant-local, .meeting-presentation-pair-layout .meeting-grid) {
    position: static;
    z-index: 5;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.meeting-shell-active .meeting-pair-layout .meeting-participant-expanded {
    grid-column: 1;
    grid-row: 1;
}

.meeting-shell-active .meeting-pair-layout .participant-local {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: center;
}

.meeting-shell-active .meeting-presentation-pair-layout .meeting-screen-stage {
    grid-column: 1;
    grid-row: 1;
}

.meeting-shell-active .meeting-presentation-pair-layout .meeting-participant-expanded {
    grid-column: 1;
    grid-row: 1;
}

.meeting-shell-active .meeting-presentation-pair-layout .meeting-grid {
    align-self: end;
    justify-self: center;
    transform: none;
}

.meeting-shell-active .meeting-presentation-layout .meeting-participant-card,
.meeting-shell-active .meeting-presentation-layout .meeting-participant-card:has(.participant-screen-video.participant-video-active) {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.meeting-shell-active .meeting-presentation-pair-layout .meeting-participant-expanded {
    grid-column: 1;
    grid-row: 1;
}

.meeting-grid-pagination {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    justify-self: center;
    align-self: end;
    min-height: 38px;
    padding: 4px 8px;
    color: #f1f3f4;
    font-size: .86rem;
    font-weight: 800;
    background: rgba(32, 33, 36, .88);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
}

.meeting-shell-active .meeting-presentation-layout .meeting-grid-pagination {
    position: static;
    align-self: center;
    transform: none;
}

.meeting-grid-pagination button {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #f1f3f4;
    background: #3c4043;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.meeting-grid-pagination button:hover,
.meeting-grid-pagination button:focus {
    background: #5f6368;
    outline: 2px solid rgba(168, 199, 250, .55);
    outline-offset: 2px;
}

.meeting-grid-pagination button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.meeting-shell-active .meeting-presentation-layout .participant-on-stage .participant-screen-video {
    display: none;
}

.meeting-shell-active .meeting-participant-expanded .participant-video {
    object-fit: cover;
    background: transparent;
}

.meeting-shell-active .meeting-participant-expanded .participant-camera-placeholder img,
.meeting-shell-active .meeting-participant-expanded .participant-camera-placeholder span,
.meeting-shell-active :is(.meeting-solo-layout, .meeting-matrix-layout) .participant-camera-placeholder img,
.meeting-shell-active :is(.meeting-solo-layout, .meeting-matrix-layout) .participant-camera-placeholder span {
    width: 60cqh;
    height: 60cqh;
    max-width: 60%;
    max-height: 60%;
}

.meeting-shell-active .meeting-participant-expanded .participant-camera-placeholder span,
.meeting-shell-active :is(.meeting-solo-layout, .meeting-matrix-layout) .participant-camera-placeholder span {
    font-size: 26cqh;
}

.meeting-shell-active .participant-local {
    box-shadow: inset 0 0 0 3px #a8c7fa, 0 18px 58px rgba(168, 199, 250, .18);
}

.meeting-shell-active .participant-speaking {
    border: 0 !important;
    box-shadow: inset 0 0 0 5px #34a853, 0 0 0 2px rgba(255, 255, 255, .74), 0 18px 58px rgba(52, 168, 83, .34) !important;
}

.meeting-shell-active .participant-card-hand-raised {
    border: 2px solid #fdd663 !important;
  box-shadow: 0 0 0 1px rgba(253, 214, 99, 0.35) !important;
}

.meeting-shell-active .participant-video {
    border-radius: inherit;
}

.meeting-shell-active .participant-overlay {
    justify-content: flex-end;
    padding: 14px !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .72));
}

.meeting-shell-active .participant-overlay > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.meeting-shell-active .participant-overlay .participant-label,
.meeting-shell-active .participant-overlay .text-monospace,
.meeting-shell-active .participant-overlay .mt-2,
.meeting-shell-active .participant-overlay .mt-3,
.meeting-shell-active .participant-metrics {
    display: none !important;
}

    .meeting-shell-active .participant-overlay .h5 {
        display: inline-flex;
        max-width: min(100%, 320px);
        min-height: 30px;
        align-items: center;
        padding: 6px 12px;
        margin: 0 !important;
        overflow: hidden;
        color: #f1f3f4;
        font-size: .9rem;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
        background: rgb(14 14 14 / 82%);
        border-radius: 999px;
        text-shadow: none;
    }

.meeting-shell-active .participant-local .participant-overlay .h5 {
    background: rgb(14 14 14 / 82%);
}

.meeting-shell-active .participant-audio-indicator {
    width: 28px;
    height: 28px;
    gap: 2px;
    border-width: 1px;
    border-radius: 999px;
    box-shadow: none;
}

.meeting-shell-active .participant-audio-indicator > span {
    width: 4px;
    height: 10px;
}

.meeting-shell-active .participant-status-indicators {
    top: 12px;
    right: 12px;
    gap: 7px;
}

.meeting-shell-active .participant-status-icon {
    width: 32px;
    height: 32px;
    border: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.meeting-shell-active .participant-pin-actions {
    top: 12px;
    left: 12px;
}

.meeting-shell-active .participant-pin-action {
    width: 32px;
    height: 32px;
    border: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.meeting-shell-active .participant-hand-raised {
    right: 12px;
    bottom: 58px;
    width: 40px;
    height: 40px;
    color: #202124;
    font-size: 1.4rem;
    background: #fdd663;
    border: 0;
}

.meeting-shell-active .participant-card > .participant-admin-actions {
    z-index: 120 !important;
    gap: 10px;
    padding: 12px;
    background: rgba(32, 33, 36, .72);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

.meeting-shell-active .participant-card > .participant-admin-actions > .participant-admin-action {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: rgba(60, 64, 67, .98);
    border: 0;
    border-radius: 999px;
}

.meeting-shell-active .participant-card > .participant-admin-actions > .participant-admin-action:hover,
.meeting-shell-active .participant-card > .participant-admin-actions > .participant-admin-action:focus {
    background: #d93025;
}

.meeting-controls-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1080;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 84px;
    padding: 12px 20px;
    color: #f1f3f4;
    background: linear-gradient(0deg, rgba(17, 18, 20, .98), rgba(17, 18, 20, .84) 70%, rgba(17, 18, 20, 0));
}

.meeting-controls-left,
.meeting-controls-center,
.meeting-controls-right {
    display: flex;
    align-items: center;
    min-width: 0;
}

.meeting-controls-left {
    gap: 10px;
    overflow: hidden;
    font-weight: 700;
}

.meeting-controls-left span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meeting-controls-divider {
    width: 1px;
    height: 18px;
    background: rgba(241, 243, 244, .42);
}

.meeting-controls-center {
    position: relative;
    justify-content: center;
    gap: 8px;
}

.meeting-controls-right {
    justify-content: flex-end;
}

.meeting-control-button {
    position: relative;
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #f1f3f4;
    background: #3c4043;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .14s ease, color .14s ease, transform .14s ease;
}

.meeting-control-button:hover,
.meeting-control-button:focus {
    color: #fff;
    background: #5f6368;
    outline: 2px solid rgba(168, 199, 250, .65);
    outline-offset: 2px;
}

.meeting-control-button:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.meeting-background-blur-button {
    overflow: hidden;
}

.meeting-background-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    z-index: 1095;
    display: grid;
    width: 324px;
    max-width: calc(100vw - 28px);
    gap: 10px;
    padding: 14px;
    color: #f1f3f4;
    background: rgba(32, 33, 36, .96);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .45);
    transform: translateX(-42%);
}

.meeting-background-menu-title {
    font-size: .92rem;
    font-weight: 800;
}

.meeting-background-menu-inline {
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding-top: 12px;
    color: #f1f3f4;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.meeting-background-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.meeting-background-option {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.4;
    padding: 0;
    overflow: hidden;
    background: #303134;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
}

.meeting-background-option:hover,
.meeting-background-option:focus {
    border-color: rgba(168, 199, 250, .76);
    outline: 0;
}

.meeting-background-option:disabled {
    cursor: not-allowed;
    opacity: .62;
}

.meeting-background-option-selected {
    border-color: #a8c7fa;
    box-shadow: 0 0 0 2px rgba(168, 199, 250, .24);
}

.meeting-background-option img,
.meeting-background-option video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meeting-background-option-blur {
    display: grid;
    height: 100%;
    place-items: center;
    gap: 5px;
    color: #f1f3f4;
    font-size: .78rem;
    font-weight: 800;
}

.meeting-background-option-none {
    display: grid;
    height: 100%;
    place-items: center;
    gap: 5px;
    color: #f1f3f4;
    font-size: .76rem;
    font-weight: 800;
    text-align: center;
}

.meeting-background-option-none i {
    color: #bdc1c6;
    font-size: 1.12rem;
}

.meeting-background-option-blur .meeting-background-blur-icon {
    width: 20px;
    height: 20px;
}

.meeting-background-blur-icon {
    position: relative;
    display: block;
    width: 21px;
    height: 21px;
    border-radius: 5px;
    background:
        radial-gradient(circle at 5px 5px, currentColor 0 1.3px, transparent 1.4px),
        radial-gradient(circle at 11px 5px, currentColor 0 1.3px, transparent 1.4px),
        radial-gradient(circle at 17px 5px, currentColor 0 1.3px, transparent 1.4px),
        radial-gradient(circle at 5px 11px, currentColor 0 1.3px, transparent 1.4px),
        radial-gradient(circle at 11px 11px, currentColor 0 1.3px, transparent 1.4px),
        radial-gradient(circle at 17px 11px, currentColor 0 1.3px, transparent 1.4px),
        radial-gradient(circle at 5px 17px, currentColor 0 1.3px, transparent 1.4px),
        radial-gradient(circle at 11px 17px, currentColor 0 1.3px, transparent 1.4px),
        radial-gradient(circle at 17px 17px, currentColor 0 1.3px, transparent 1.4px);
    opacity: .95;
}

.meeting-background-blur-icon::before {
    content: "";
    position: absolute;
    inset: 4px 3px 3px 4px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 999px;
    transform: rotate(35deg);
}

.meeting-background-blur-icon::after {
    content: "";
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: 9px;
    width: 2px;
    background: currentColor;
    border-radius: 999px;
    transform: rotate(38deg);
}

.meeting-noise-suppression-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.meeting-noise-suppression-button {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 24px;
    align-items: center;
    padding: 2px;
    background: #3c4043;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .14s ease, border-color .14s ease;
}

.meeting-noise-suppression-button span {
    display: block;
    width: 18px;
    height: 18px;
    background: #f1f3f4;
    border-radius: 999px;
    transition: transform .14s ease;
}

.meeting-noise-suppression-button-active {
    background: #a8c7fa;
    border-color: #a8c7fa;
}

.meeting-noise-suppression-button-active span {
    background: #062e6f;
    transform: translateX(20px);
}

.meeting-noise-suppression-button:hover,
.meeting-noise-suppression-button:focus {
    outline: 2px solid rgba(168, 199, 250, .55);
    outline-offset: 2px;
}

.meeting-noise-suppression-label {
    min-width: 0;
    color: #f1f3f4;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.25;
}

.meeting-control-active {
    color: #062e6f;
    background: #a8c7fa;
}

.meeting-control-button.meeting-control-active:hover,
.meeting-control-button.meeting-control-active:focus {
    color: #062e6f;
    background: #a8c7fa;
}

.meeting-control-active-danger {
    color: #fff;
    background: #d93025;
}

.meeting-control-button.meeting-control-active-danger:hover,
.meeting-control-button.meeting-control-active-danger:focus {
    color: #fff;
    background: #d93025;
}

.meeting-control-danger {
    width: 64px;
    color: #fff;
    background: #d93025;
}

.meeting-controls-center > .meeting-control-button,
.meeting-screen-share-picker > .meeting-control-button,
.meeting-reaction-picker > .meeting-control-button,
.meeting-controls-center .meeting-chat-control-wrap > .meeting-control-button {
    width: 36px;
    height: 36px;
    border-radius: 6px;
}

.meeting-controls-center > .meeting-control-danger {
    width: 64px;
    height: 36px;
    border-radius: 6px;
}

.meeting-chat-unread-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    padding: 0 5px;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    background: #d93025;
    border: 2px solid #111315;
    border-radius: 999px;
}

.meeting-reaction-picker,
.meeting-screen-share-picker {
    position: relative;
    display: inline-flex;
}

.meeting-device-menu,
.meeting-screen-share-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    z-index: 1095;
    display: flex;
    gap: 6px;
    padding: 8px;
    background: rgba(32, 33, 36, .96);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .45);
    transform: translateX(-50%);
}

.meeting-reaction-menu {
    position: absolute;
    right: 50%;
    bottom: calc(100% + 12px);
    z-index: 1095;
    display: flex;
    gap: 6px;
    padding: 8px;
    background: rgba(32, 33, 36, .96);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .45);
    transform: translate(50%, 0);
}

.meeting-screen-share-menu {
    left: 0;
    display: grid;
    min-width: 260px;
    gap: 4px;
    padding: 10px 0;
    color: #f1f3f4;
    border-radius: 4px;
    transform: translateX(-45%);
}

.meeting-screen-share-menu button {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 8px 16px;
    color: #f1f3f4;
    font-weight: 800;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.meeting-screen-share-menu button:hover,
.meeting-screen-share-menu button:focus {
    background: rgba(255, 255, 255, .08);
    outline: 0;
}

.meeting-screen-share-menu button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.meeting-screen-share-menu i {
    color: #bdc1c6;
    font-size: 1.1rem;
    text-align: center;
}

.meeting-device-menu {
    left: 0;
    display: grid;
    width: min(360px, calc(100vw - 28px));
    gap: 8px;
    padding: 14px;
    color: #f1f3f4;
    border-radius: 18px;
    transform: translateX(-42%);
}

.meeting-device-menu label {
    margin: 6px 0 0;
    color: #bdc1c6;
    font-size: .78rem;
    font-weight: 800;
}

.meeting-device-menu .custom-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 42px;
    padding-right: 38px;
    color: #f1f3f4;
    background-color: #303134;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.25 7.25L9 11l3.75-3.75' fill='none' stroke='%23a8c7fa' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
}

.meeting-volume-control {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.meeting-volume-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.meeting-volume-label label,
.meeting-volume-label span {
    margin: 0;
    color: #bdc1c6;
    font-size: .78rem;
    font-weight: 800;
}

.meeting-volume-slider {
    width: 100%;
    accent-color: #a8c7fa;
    cursor: pointer;
}

.meeting-reaction-menu button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    font-size: 1.35rem;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .14s ease, transform .14s ease;
}

.meeting-reaction-menu button:hover,
.meeting-reaction-menu button:focus {
    background: rgba(255, 255, 255, .14);
    outline: 2px solid rgba(168, 199, 250, .7);
    outline-offset: 2px;
    transform: translateY(-2px);
}

.meeting-shell-active .reaction-float-layer {
    bottom: 96px;
}

.meeting-shell-active .chat-minimized-button {
    display: none;
}

.meeting-shell-active .chat-panel {
    top: 64px;
    right: 16px;
    bottom: 92px;
    z-index: 1075;
    width: min(360px, calc(100vw - 32px));
    height: auto;
    color: #e8eaed;
    background: #202124;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .48);
}

.meeting-shell-active:has(.chat-panel) .meeting-participants-section {
    margin-right: 376px !important;
}

.meeting-shell-active .chat-header {
    min-height: 56px;
    padding: 16px 18px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.meeting-shell-active .chat-header span {
    font-size: 1rem;
}

.meeting-shell-active .chat-header-button {
    width: 36px;
    height: 36px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    background: transparent;
    border: 0;
    border-radius: 999px;
}

.meeting-shell-active .chat-header-button::before {
    color: #e8eaed;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00d";
}

.meeting-shell-active .chat-messages {
    position: relative;
    overflow-x: hidden;
    padding: 14px 18px;
}

.chat-pinned-message {
    flex: 0 0 auto;
    box-sizing: border-box;
    max-height: min(172px, 28vh);
    padding: 10px 18px 12px;
    overflow: hidden;
    background: #292a2d;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.chat-pinned-message-label {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-bottom: 7px;
    color: #a8c7fa;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.meeting-shell-active .chat-pinned-message .chat-pinned-message-card {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: 132px;
    margin: 0;
    padding-right: 40px;
    overflow: hidden;
    align-content: start;
    border: 1px solid rgba(168, 199, 250, .34);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .24);
}

.chat-pinned-message-card .chat-message-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-pinned-message-content {
    min-width: 0;
    max-width: 100%;
    max-height: 92px;
    overflow: hidden;
}

.meeting-shell-active .chat-pinned-message-card > .chat-pinned-message-content {
    grid-column: 2;
}

.chat-pinned-message-content > * {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.chat-pinned-message-content .chat-message-text {
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.chat-pinned-message-content > .chat-message-text:not(.chat-message-link-line) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    white-space: normal;
}

.chat-pinned-message-content .chat-message-link-line {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-pinned-message-content .chat-message-link {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-pinned-message-content .chat-link-preview {
    box-sizing: border-box;
    grid-template-columns: 36px minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    gap: 8px;
    padding: 6px;
    margin-top: 6px;
    overflow: hidden;
}

.chat-pinned-message-content .chat-link-preview ~ .chat-link-preview {
    display: none;
}

.chat-pinned-message-content .chat-link-preview-icon {
    width: 36px;
    height: 36px;
}

.chat-pinned-message-content .chat-link-preview-icon img {
    width: 24px;
    height: 24px;
}

.chat-pinned-message-content .chat-link-preview-icon .fa-globe {
    font-size: 1.4rem;
}

.chat-pinned-message-content .chat-link-preview-title,
.chat-pinned-message-content .chat-link-preview-domain {
    font-size: .76rem;
}

.chat-scroll-bottom-button {
    position: sticky;
    right: 0;
    bottom: 8px;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin: 8px auto 0;
    color: #062e6f;
    background: #a8c7fa;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .36);
}

.chat-scroll-bottom-button:hover,
.chat-scroll-bottom-button:focus {
    color: #062e6f;
    background: #d2e3fc;
    outline: 2px solid rgba(168, 199, 250, .65);
    outline-offset: 2px;
}

.meeting-shell-active .chat-message {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 8px;
    width: fit-content;
    min-width: min(230px, 92%);
    max-width: 92%;
    padding: 8px 10px;
    margin-bottom: 34px;
    color: #f1f3f4;
    background: #303134;
    border-radius: 14px 14px 14px 4px;
}

.meeting-shell-active .chat-message-can-pin {
    padding-right: 38px;
}

.chat-message-pin-action {
    position: absolute;
    top: 6px;
    right: -14px;
    z-index: 4;
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    color: #bdc1c6;
    background: #3c4043;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    cursor: pointer;
}

.chat-message-pin-action:hover,
.chat-message-pin-action:focus {
    color: #e8f0fe;
    background: #4a4d51;
    border-color: rgba(168, 199, 250, .7);
    outline: 0;
}

.chat-message-pin-action-active {
    color: #d2e3fc;
    background: #0b57d0;
    border-color: #a8c7fa;
}

.chat-pinned-message-card .chat-message-pin-action {
    top: 7px;
    right: 7px;
}

.meeting-shell-active .chat-message-pinned:not(.chat-pinned-message-card) {
    border: 1px solid rgba(168, 199, 250, .5);
}

.meeting-shell-active .chat-message-highlight {
    animation: chat-message-highlight-pulse 1.2s ease-in-out;
}

@keyframes chat-message-highlight-pulse {
    0%,
    100% {
        background: #303134;
        box-shadow: 0 0 0 0 rgba(168, 199, 250, 0);
    }

    20%,
    70% {
        background: #3d4658;
        box-shadow: 0 0 0 3px rgba(168, 199, 250, .55);
    }
}

.chat-message-avatar {
    grid-row: 1 / span 3;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    align-self: start;
}

.chat-message-avatar img,
.chat-message-avatar span {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
}

.chat-message-avatar img {
    object-fit: cover;
}

.chat-message-avatar span {
    display: grid;
    place-items: center;
    color: #202124;
    font-size: .74rem;
    font-weight: 900;
    background: #a8c7fa;
}

.meeting-shell-active .chat-message > :not(.chat-message-avatar) {
    grid-column: 2;
}

.meeting-shell-active .chat-message-name {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 2px;
    color: #bdc1c6;
    font-size: .78rem;
}

.chat-message-time {
    color: #9aa0a6;
    font-size: .72rem;
    font-weight: 700;
}

.meeting-shell-active .chat-message-separator {
    display: none;
}

.chat-message-reaction-footer {
    position: absolute;
    top: 100%;
    right: -14px;
    left: 0;
    z-index: 3;
    height: 0;
    min-width: 0;
    pointer-events: none;
}

.meeting-shell-active .chat-message > .chat-message-reaction-footer {
    grid-column: 1 / -1;
}

.chat-message-reaction-summary {
    position: absolute;
    top: 4px;
    left: 0;
    display: inline-flex;
    max-width: calc(100% - 22px);
    min-width: 0;
    gap: 1px;
    align-items: center;
    padding: 1px;
    overflow: visible;
    background: #3c4043;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    pointer-events: auto;
}

.chat-message-reaction,
.chat-message-reaction-more,
.chat-message-reaction-add {
    display: inline-flex;
    min-width: 26px;
    height: 24px;
    gap: 3px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    color: #e8eaed;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
}

.chat-message-reaction:hover,
.chat-message-reaction:focus,
.chat-message-reaction-more:hover,
.chat-message-reaction-more:focus,
.chat-message-reaction-add:hover,
.chat-message-reaction-add:focus {
    background: #4a4d51;
    border-color: rgba(168, 199, 250, .7);
    outline: 0;
}

.chat-message-reaction-overflow {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.chat-message-reaction-more {
    min-width: 28px;
    font-size: .7rem;
    font-weight: 800;
}

.chat-message-reaction-overflow-menu {
    position: absolute;
    right: -3px;
    bottom: calc(100% + 7px);
    z-index: 6;
    display: none;
    width: max-content;
    max-width: min(180px, calc(100vw - 80px));
    flex-wrap: nowrap;
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding: 4px 7px;
    overflow: visible;
    white-space: nowrap;
    background: #292a2d;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .38);
}

.chat-message-reaction-overflow-item {
    display: inline-flex;
    flex: 0 0 auto;
    height: 20px;
    gap: 2px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #e8eaed;
    font-size: .82rem;
    line-height: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.chat-message-reaction-overflow-item:hover,
.chat-message-reaction-overflow-item:focus {
    color: #fff;
    outline: 0;
    transform: translateY(-1px);
}

.chat-message-reaction-overflow-item[aria-pressed="true"] {
    color: #a8c7fa;
}

.chat-message-reaction-overflow-item .chat-message-reaction-count {
    font-size: .66rem;
}

.chat-message-reaction-overflow-menu::after {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 8px;
    content: "";
}

.chat-message-reaction-overflow:hover .chat-message-reaction-overflow-menu,
.chat-message-reaction-overflow:focus-within .chat-message-reaction-overflow-menu {
    display: inline-flex;
}

.chat-message-reaction-active {
    color: #d2e3fc;
    background: rgba(11, 87, 208, .58);
    border-color: #a8c7fa;
}

.chat-message-reaction-count {
    min-width: 1ch;
    font-size: .7rem;
    font-weight: 800;
}

.chat-message-reaction-add {
    width: 28px;
    min-width: 28px;
    height: 28px;
    padding: 0;
    color: #bdc1c6;
    background: #3c4043;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.chat-message-reaction-picker {
    position: absolute;
    top: -14px;
    right: 0;
    pointer-events: auto;
}

.chat-message-reaction-menu {
    position: absolute;
    bottom: calc(100% + 7px);
    right: 0;
    z-index: 4;
    display: flex;
    width: max-content;
    max-width: min(218px, calc(100vw - 48px));
    gap: 4px;
    padding: 7px;
    background: #202124;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .42);
}

.chat-message-reaction-menu button {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    font-size: 1.1rem;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.chat-message-reaction-menu button:hover,
.chat-message-reaction-menu button:focus {
    background: rgba(255, 255, 255, .12);
    outline: 0;
    transform: scale(1.08);
}

.meeting-shell-active .chat-message-system {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: #bdc1c6;
    margin-bottom: 8px;
    text-align: center;
    background: transparent;
}

.meeting-shell-active .chat-message-system .chat-message-name {
    justify-content: center;
}

.meeting-shell-active .chat-composer {
    gap: 8px;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.meeting-shell-active .chat-input {
    min-height: 86px;
    line-height: 1.35;
    padding: 12px 14px;
    color: #f1f3f4;
    background: #303134;
    border-radius: 14px;
}

.meeting-shell-active .chat-send-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    overflow: hidden;
    color: transparent;
    background: #a8c7fa;
    border-radius: 999px;
}

.meeting-shell-active .chat-send-button::before {
    color: #062e6f;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f1d8";
}

.meeting-side-panel {
    position: fixed;
    top: 64px;
    right: 16px;
    bottom: 92px;
    z-index: 1075;
    display: flex;
    flex-direction: column;
    width: min(360px, calc(100vw - 32px));
    min-height: 0;
    overflow: hidden;
    color: #e8eaed;
    background: #202124;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .48);
}

.meeting-side-panel-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 12px;
    align-items: center;
    padding: 14px 16px 10px;
}

.meeting-side-panel-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    padding: 3px;
    background: #111315;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
}

.meeting-side-panel-tab {
    min-width: 0;
    min-height: 34px;
    padding: 6px 10px;
    overflow: hidden;
    color: #d6d8dc;
    font-size: .86rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.meeting-side-panel-tab:hover,
.meeting-side-panel-tab:focus {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    outline: 0;
}

.meeting-side-panel-tab-active {
    color: #f1f3f4;
    background: #303134;
}

.meeting-side-panel-close {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #e8eaed;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.meeting-side-panel-close:hover,
.meeting-side-panel-close:focus {
    background: #303134;
    outline: 0;
}

.meeting-side-panel .chat-panel {
    position: static;
    inset: auto;
    flex: 1;
    width: auto;
    height: auto;
    min-height: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.meeting-side-panel .chat-messages,
.meeting-side-panel-participants {
    min-height: 0;
    overflow-y: auto;
}

.meeting-side-panel-participants {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding: 12px 20px 20px;
    overflow-x: hidden;
    scrollbar-color: #5f6368 transparent;
    scrollbar-width: thin;
}

.meeting-side-panel-participants .meeting-participants-popover-item,
.meeting-side-panel-participants .meeting-join-requests {
    flex: 0 0 auto;
}

.meeting-side-panel-participants::-webkit-scrollbar {
    width: 8px;
}

.meeting-side-panel-participants::-webkit-scrollbar-track {
    background: transparent;
}

.meeting-side-panel-participants::-webkit-scrollbar-thumb {
    background: #5f6368;
    border: 2px solid #202124;
    border-radius: 999px;
}

.meeting-chat-control-wrap {
    position: relative;
    display: grid;
    place-items: center;
}

.meeting-chat-control-mobile {
    display: none;
}

.meeting-chat-toast-stack {
    position: fixed;
    right: 20px;
    bottom: 86px;
    z-index: 1076;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    width: min(318px, calc(100vw - 40px));
    max-height: calc(100vh - 112px);
    overflow: hidden;
    pointer-events: none;
}

.meeting-chat-toast {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 74px;
    padding: 13px 15px;
    color: #f1f3f4;
    text-align: left;
    cursor: pointer;
    background: #202124;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .42);
    opacity: 1;
    transition: opacity 2s ease;
    pointer-events: auto;
}

.meeting-chat-toast-fading {
    opacity: 0;
}

.meeting-chat-toast:hover,
.meeting-chat-toast:focus {
    background: #26282b;
    outline: 2px solid rgba(168, 199, 250, .65);
    outline-offset: 2px;
}

.meeting-chat-toast-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    overflow: hidden;
    color: #202124;
    font-size: .8rem;
    font-weight: 900;
    background: #a8c7fa;
    border-radius: 999px;
}

.meeting-chat-toast-avatar img,
.meeting-chat-toast-avatar span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    border-radius: inherit;
}

.meeting-chat-toast-avatar img {
    object-fit: cover;
}

.meeting-chat-toast-body {
    display: grid;
    min-width: 0;
}

.meeting-chat-toast-name,
.meeting-chat-toast-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meeting-chat-toast-name {
    color: #f1f3f4;
    font-size: .88rem;
    font-weight: 800;
}

.meeting-chat-toast-text {
    color: #f1f3f4;
    font-size: .84rem;
}

.meeting-chat-toast .fa-reply {
    color: #a8c7fa;
    font-size: .98rem;
    transform: scaleX(-1);
}

.meeting-side-panel .chat-composer {
    margin-top: auto;
}

.meeting-side-panel .chat-input {
    border-radius: 8px;
}

.meeting-side-panel .chat-send-button {
    border-radius: 8px;
}

.meeting-shell-active:has(.meeting-side-panel) .meeting-participants-section {
    margin-right: 376px !important;
}

.meeting-shell-active:has(.meeting-side-panel) .meeting-presentation-layout:not(.meeting-presentation-solo-layout):not(.meeting-presentation-pair-layout) {
    grid-template-columns: minmax(0, var(--meeting-focus-card-width)) var(--meeting-sidebar-card-width);
}

@media (max-width: 1100px) {
    .prejoin-lobby {
        width: min(560px, 100%);
        min-height: calc(100dvh - 36px);
    }

    .meeting-shell-active .meeting-presentation-layout:not(.meeting-presentation-solo-layout):not(.meeting-presentation-pair-layout) {
        grid-template-columns: minmax(0, var(--meeting-focus-card-width)) var(--meeting-sidebar-card-width);
    }

}

@media (max-width: 900px) {
    .meeting-shell-prejoin {
        padding: 18px 12px;
        overflow-y: auto;
    }

    .prejoin-preview-card {
        border-radius: 7px !important;
    }

    .meeting-shell-active {
        padding: 64px 10px 88px;
    }

    .meeting-topbar {
        justify-content: center;
        min-height: 52px;
        padding: 8px 12px;
    }

    .meeting-topbar-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .meeting-count-chip .meeting-count-queue-text {
        display: none;
    }

    .meeting-count-chip-pending {
        animation: meeting-count-chip-attention .7s ease-in-out infinite;
        transform-origin: center;
    }

    .meeting-audio-output-control {
        display: none !important;
    }

    .meeting-room-title {
        flex: 1;
    }

    .meeting-shell-active:has(.chat-panel) .meeting-participants-section,
    .meeting-shell-active:has(.meeting-side-panel) .meeting-participants-section {
        margin-right: 0 !important;
    }

    .meeting-shell-active .chat-panel {
        top: 62px;
        right: 10px;
        bottom: 86px;
        left: 10px;
        width: auto;
        border-radius: 18px;
    }

    .meeting-side-panel {
        top: 62px;
        right: 10px;
        bottom: 86px;
        left: 10px;
        width: auto;
        border-radius: 18px;
    }

    .meeting-side-panel .chat-panel {
        position: static;
        inset: auto;
        width: auto;
        height: auto;
        border-radius: 0;
    }

    .meeting-shell-active .meeting-solo-layout,
    .meeting-shell-active .meeting-presentation-layout,
    .meeting-shell-active .meeting-pair-layout {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(220px, 1fr) auto auto;
    }

    .meeting-shell-active .meeting-presentation-layout .meeting-grid-stack {
        display: contents;
        width: auto;
    }

    .meeting-shell-active .meeting-presentation-layout .meeting-grid {
        position: static;
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: repeat(var(--meeting-grid-columns, 4), minmax(0, 1fr));
        width: 100%;
        max-height: 190px;
        transform: none;
    }

    .meeting-shell-active .meeting-presentation-layout .meeting-screen-stage {
        grid-column: 1;
        grid-row: 1;
    }

    .meeting-shell-active .meeting-presentation-layout .meeting-grid-pagination {
        position: static;
        grid-column: 1;
        grid-row: 3;
        transform: none;
    }

    .meeting-shell-active :is(.meeting-solo-layout, .meeting-pair-layout) .meeting-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .meeting-shell-active .meeting-presentation-pair-layout .meeting-grid,
    .meeting-shell-active .meeting-solo-layout .meeting-participant-card,
    .meeting-shell-active .meeting-pair-layout .meeting-participant-expanded,
    .meeting-shell-active .meeting-pair-layout .participant-local {
        position: static;
        bottom: auto;
        left: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        grid-column: auto;
        grid-row: auto;
    }

    .meeting-shell-active .meeting-solo-layout {
        display: grid;
        place-items: center;
    }

    .meeting-shell-active .meeting-solo-layout .meeting-grid {
        display: grid !important;
        width: 100%;
        height: 100%;
        place-items: center;
        padding: 0;
    }

    .meeting-shell-active .meeting-solo-layout .meeting-participant-card {
        width: min(88vw, 320px);
        height: min(calc(100dvh - 168px), 568px);
        aspect-ratio: auto;
        border: 5px solid #f1f3f4 !important;
        border-radius: 0 !important;
    }

    .meeting-controls-bar {
        grid-template-columns: 1fr;
        gap: 8px;
        min-height: 80px;
        padding: 8px 10px 10px;
    }

    .meeting-controls-left,
    .meeting-controls-right {
        display: none;
    }

    .meeting-chat-control-mobile {
        display: grid;
    }

    .meeting-chat-control-desktop {
        display: none;
    }

    .meeting-controls-center {
        gap: 6px;
        justify-content: center;
    }

    .meeting-control-button {
        width: 44px;
        height: 44px;
    }

    .meeting-screen-share-picker {
        display: none;
    }

    .meeting-control-danger {
        width: 56px;
    }
}

@media (max-width: 640px) {
    .meeting-shell-prejoin {
        padding: 14px 10px;
    }

    .prejoin-lobby {
        min-height: calc(100dvh - 28px);
    }

    .prejoin-header {
        margin-bottom: 18px;
    }

    .prejoin-header h1 {
        font-size: 1.2rem;
    }

    .prejoin-meta {
        margin-top: 12px;
    }

    .prejoin-entry-row {
        grid-template-columns: 1fr;
    }

    .prejoin-enter-button {
        width: 100%;
    }

    .meeting-shell-active {
        padding-right: 8px;
        padding-left: 8px;
    }

    .meeting-shell-active .meeting-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        align-content: start;
    }

    .meeting-shell-active .meeting-participant-card {
        min-height: 0;
        border-radius: 14px !important;
    }

    .meeting-shell-active .meeting-solo-layout .meeting-participant-card {
        border-radius: 0 !important;
    }

    .meeting-shell-active .meeting-solo-layout .participant-camera-placeholder img,
    .meeting-shell-active .meeting-solo-layout .participant-camera-placeholder span {
        width: min(80cqh, 80cqw);
        height: min(80cqh, 80cqw);
        max-width: 80%;
        max-height: 80%;
        aspect-ratio: 1 / 1;
    }

    .meeting-shell-active .participant-card > .participant-admin-actions {
        gap: 6px;
        padding: 8px;
    }

    .meeting-shell-active .participant-card > .participant-admin-actions > .participant-admin-action {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .meeting-controls-center {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 4px 4px;
        scrollbar-width: none;
    }

    .meeting-controls-center::-webkit-scrollbar {
        display: none;
    }

    .meeting-control-button {
        flex: 0 0 auto;
    }

    .meeting-device-menu,
    .meeting-reaction-menu,
    .meeting-background-menu {
        position: fixed;
        right: 10px;
        bottom: 84px;
        left: 10px;
        width: auto;
        transform: none;
    }

    .meeting-reaction-menu {
        right: max(10px, env(safe-area-inset-right));
        bottom: calc(86px + env(safe-area-inset-bottom));
        left: max(10px, env(safe-area-inset-left));
        justify-content: center;
        width: auto;
        max-width: none;
        padding: 10px;
        border-radius: 18px;
    }

    .meeting-reaction-menu button {
        width: 48px;
        height: 48px;
        font-size: 1.55rem;
        touch-action: manipulation;
    }

    .meeting-screen-share-menu {
        left: 50%;
        min-width: min(280px, calc(100vw - 20px));
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .meeting-shell-active {
        --meeting-mobile-gap: 10px;
        --meeting-mobile-content-width: calc(100vw - 16px);
        --meeting-mobile-stage-height: calc(var(--meeting-mobile-content-width) * 9 / 16);
        --meeting-mobile-grid-columns: 2;
        --meeting-mobile-grid-rows: 3;
        --meeting-mobile-grid-available-height: calc(100dvh - 162px);
        --meeting-mobile-grid-card-width: calc((var(--meeting-mobile-content-width) - var(--meeting-mobile-gap)) / 2);
        --meeting-mobile-grid-card-height: calc(var(--meeting-mobile-grid-card-width) * 9 / 16);
    }

    .meeting-shell-active .meeting-desktop-label,
    .meeting-shell-active .meeting-role-label {
        display: none;
    }

    .meeting-shell-active .meeting-mobile-label {
        display: inline;
    }

    .meeting-shell-active :is(.meeting-admin-chip, .meeting-moderator-chip) {
        width: 38px;
        min-width: 38px;
        padding-inline: 0;
        justify-content: center;
    }

    .meeting-shell-active .meeting-topbar .meeting-connection-quality-chip {
        width: 10px;
        min-width: 10px;
        height: 10px;
        min-height: 10px;
        padding: 0;
        overflow: hidden;
        color: transparent;
        font-size: 0;
        border-radius: 999px;
    }

    .meeting-shell-active .meeting-admin-popover {
        left: 8px;
        right: 8px;
        top: 56px;
        width: auto;
        max-width: calc(100vw - 16px);
    }

    .meeting-shell-active .meeting-presentation-layout {
        --meeting-mobile-grid-available-height: calc(100dvh - 162px - var(--meeting-mobile-stage-height) - var(--meeting-mobile-gap));
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: var(--meeting-mobile-stage-height) auto auto;
        gap: var(--meeting-mobile-gap);
        align-content: start;
        justify-items: start;
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .meeting-shell-active .meeting-presentation-layout:not(.meeting-presentation-solo-layout):not(.meeting-presentation-pair-layout) {
        grid-template-columns: var(--meeting-mobile-content-width) !important;
        grid-template-rows: var(--meeting-mobile-stage-height) auto auto !important;
        justify-content: start !important;
    }

    .meeting-shell-active .meeting-presentation-layout .meeting-screen-stage,
    .meeting-shell-active .meeting-presentation-layout .meeting-participant-expanded {
        position: relative;
        grid-column: 1 !important;
        grid-row: 1;
        width: var(--meeting-mobile-content-width);
        height: var(--meeting-mobile-stage-height);
        min-height: var(--meeting-mobile-stage-height);
        max-width: none;
        max-height: none;
        aspect-ratio: 16 / 9;
        place-self: start;
    }

    .meeting-shell-active .meeting-presentation-layout .meeting-grid-stack {
        display: flex;
        grid-column: 1 !important;
        grid-row: 2 / span 2;
        width: var(--meeting-mobile-content-width);
        min-height: 0;
        flex-direction: column;
        justify-content: start;
        gap: var(--meeting-mobile-gap);
    }

    .meeting-shell-active .meeting-presentation-layout .meeting-grid {
        grid-template-columns: repeat(var(--meeting-mobile-grid-columns), minmax(0, var(--meeting-mobile-grid-card-width)));
        grid-template-rows: repeat(var(--meeting-mobile-grid-rows), var(--meeting-mobile-grid-card-height));
        grid-auto-rows: var(--meeting-mobile-grid-card-height);
        gap: var(--meeting-mobile-gap);
        width: var(--meeting-mobile-content-width);
        height: var(--meeting-mobile-grid-available-height);
        max-height: none;
        min-height: 0;
        align-content: center;
        justify-content: center;
        place-items: stretch;
        overflow: hidden;
    }

    .meeting-shell-active .meeting-presentation-layout .meeting-participant-card {
        width: var(--meeting-mobile-grid-card-width);
        height: var(--meeting-mobile-grid-card-height);
        aspect-ratio: 16 / 9;
        border-radius: 0 !important;
    }

    .meeting-shell-active .meeting-presentation-layout .meeting-participant-expanded {
        width: var(--meeting-mobile-content-width);
        height: var(--meeting-mobile-stage-height);
        min-height: var(--meeting-mobile-stage-height);
    }

    .meeting-shell-active .meeting-presentation-layout .meeting-grid-pagination {
        grid-column: auto;
        grid-row: auto;
        align-self: center;
        justify-self: center;
        margin-top: 6px;
    }

    .meeting-shell-active .meeting-matrix-layout {
        --meeting-mobile-grid-available-height: calc(100dvh - 162px);
        grid-template-rows: minmax(0, 1fr) auto;
        gap: var(--meeting-mobile-gap);
        overflow: hidden;
    }

    .meeting-shell-active .meeting-matrix-layout .meeting-grid {
        grid-template-columns: repeat(var(--meeting-mobile-grid-columns), minmax(0, var(--meeting-mobile-grid-card-width)));
        grid-template-rows: repeat(var(--meeting-mobile-grid-rows), var(--meeting-mobile-grid-card-height));
        grid-auto-rows: var(--meeting-mobile-grid-card-height);
        gap: var(--meeting-mobile-gap);
        align-content: center;
        justify-content: center;
        place-items: stretch;
        overflow: hidden;
    }

    .meeting-shell-active .meeting-matrix-layout .meeting-participant-card {
        width: var(--meeting-mobile-grid-card-width);
        height: var(--meeting-mobile-grid-card-height);
        aspect-ratio: 16 / 9;
        border-radius: 0 !important;
    }

    .meeting-shell-active .meeting-matrix-layout .meeting-grid-pagination {
        align-self: center;
        justify-self: center;
        margin-top: 6px;
    }
}
