.camera-call-panel{position:fixed;inset:7dvh 5vw;z-index:149;display:flex;flex-direction:column;box-sizing:border-box;padding:20px;background:var(--paper,#0e1d31);color:var(--ink,#f1f6ff);border:1px solid var(--line,#304964);border-radius:22px;box-shadow:0 24px 90px #0008;overflow:hidden}
.camera-call-panel[hidden],.camera-call-card[hidden],.camera-call-card video[hidden],.meeting-camera-placeholder[hidden]{display:none!important}
.camera-call-panel>header{display:flex;align-items:center;gap:12px;flex:none;padding-bottom:16px}.camera-call-panel>header strong{font-size:18px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meeting-count{font-size:12px;color:var(--muted);margin-right:auto;white-space:nowrap}
.camera-call-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));grid-auto-rows:minmax(190px,1fr);align-content:stretch;gap:14px;flex:1;min-height:0;overflow:auto;padding:3px}
.camera-call-card{position:relative;min-width:0;min-height:190px;border-radius:16px;overflow:hidden;background:var(--panel,#15283f);border:2px solid transparent;color:var(--ink);display:flex;align-items:center;justify-content:center}.camera-call-card.is-speaking{border-color:#43d987}.camera-call-card video{display:block;width:100%;height:100%;max-height:62dvh;object-fit:contain;background:#03070c}.camera-call-card video.self-camera{transform:scaleX(-1)}
.meeting-camera-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--brand-panel,var(--panel));padding:20px 20px 45px;box-sizing:border-box}.meeting-initials{display:grid;place-items:center;width:76px;height:76px;flex:none;border-radius:50%;background:var(--surface-card);font-weight:800;font-size:26px}.meeting-camera-status{color:var(--muted);font-size:12px}.camera-call-caption{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:linear-gradient(transparent,#000c);color:#fff;font-size:13px}.camera-call-caption span{overflow-wrap:anywhere;min-width:0}.meeting-audio-state{font-size:11px}.meeting-controls{flex:none;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;padding-top:18px}.camera-call-panel button{width:auto;min-height:38px;padding:8px 14px;font-size:12px;border-radius:10px}.meeting-leave{background:#b82d49!important;color:#fff!important;border:1px solid #d1435f!important}
.camera-call-panel.minimized{inset: auto 18px 120px auto;width:min(380px,calc(100vw - 36px));padding:12px;border-radius:14px}.camera-call-panel.minimized .camera-call-grid,.camera-call-panel.minimized .meeting-controls,.camera-call-panel.minimized .meeting-count,.camera-call-panel.minimized header>button:first-of-type{display:none}.camera-call-panel.minimized header{padding:0}.camera-call-panel.minimized header strong{margin-right:auto;font-size:14px}.camera-call-panel:fullscreen{inset:0;width:100%;height:100%;border:0;border-radius:0}
#voice-camera[aria-pressed=true]{color:#76e3b0;border-color:#43b884;background:#43b88420}.nexo-identity #voice-dock .voice-controls{display:flex;flex-wrap:wrap;gap:6px}.nexo-identity #voice-dock .voice-controls>button{flex:0 0 36px;min-width:36px;width:36px;height:36px;padding:6px!important}
@media(max-width:600px){.camera-call-panel{inset:12px 8px;padding:12px;border-radius:16px}.camera-call-panel>header{flex-wrap:wrap;gap:8px}.camera-call-panel>header strong{font-size:15px;max-width:60%}.camera-call-panel>header .meeting-count{font-size:10px}.camera-call-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(160px,1fr);gap:8px}.camera-call-card{min-height:160px}.camera-call-panel button{padding:8px 10px}.camera-call-caption{font-size:11px;padding:8px}.meeting-initials{width:54px;height:54px;font-size:20px}.meeting-camera-placeholder{padding:12px 8px 44px}.meeting-camera-status{font-size:10px;text-align:center}.meeting-controls{gap:6px;padding-top:12px}}
@media(min-width:601px){.camera-call-grid[data-count="2"],.camera-call-grid[data-count="3"],.camera-call-grid[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}.camera-call-grid[data-count="1"],.camera-call-grid[data-count="2"]{align-content:center;grid-auto-rows:auto}.camera-call-grid[data-count="1"]>.camera-call-card,.camera-call-grid[data-count="2"]>.camera-call-card{aspect-ratio:16/9}.camera-call-grid[data-count="3"]>.camera-call-card:last-child{grid-column:1/-1;width:calc(50% - 7px);justify-self:center}}
/* The meeting belongs to the active conversation, inside its existing center pane. */
.nexo-identity .chat .camera-call-panel{position:relative!important;inset:auto!important;z-index:auto;flex:1 1 0;min-width:0;min-height:0;width:100%!important;height:auto;max-height:none;box-sizing:border-box;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
.nexo-identity #voice-room.has-inline-meeting{display:flex!important;flex-direction:column;min-width:0;min-height:0;overflow:hidden!important;padding:12px!important;container-type:inline-size}
.nexo-identity #voice-room.has-inline-meeting>*:not(.camera-call-panel){display:none!important}
.nexo-identity #voice-room.has-inline-meeting:has(>.camera-call-panel.minimized)>#voice-room-people{display:flex!important;margin-top:12px}
.nexo-identity .chat .camera-call-panel>header{gap:8px;padding-bottom:10px;flex-wrap:wrap}.nexo-identity .chat .camera-call-panel>header strong{font-size:15px}.nexo-identity .chat .camera-call-panel>header button{min-height:32px;padding:6px 9px;font-size:11px}.nexo-identity .chat .meeting-controls{padding-top:10px;gap:6px}.nexo-identity .chat .meeting-controls button{font-size:11px;padding:7px 10px;min-height:34px}.nexo-identity .chat .camera-call-panel.minimized{flex:0 0 auto;padding:0;width:100%}
.nexo-identity .chat.meeting-dm-visible{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.nexo-identity .chat.meeting-dm-visible>.chat-header{grid-column:1/-1}.nexo-identity .chat.meeting-dm-visible>.camera-call-panel{grid-column:1;grid-row:2;padding:12px;border-right:1px solid var(--line)}.nexo-identity .chat.meeting-dm-visible>#conversation{grid-column:2;grid-row:2}
@container(max-width:600px){.camera-call-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;grid-auto-rows:minmax(140px,1fr)}.camera-call-card{min-height:140px}.meeting-initials{width:50px;height:50px;font-size:20px}.camera-call-caption{font-size:11px;padding:8px}}
@media(max-width:760px){.nexo-identity .chat.meeting-dm-visible{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(180px,1fr) minmax(160px,1fr)}.nexo-identity .chat.meeting-dm-visible>.camera-call-panel{grid-column:1;grid-row:2;border-right:0;border-bottom:1px solid var(--line)}.nexo-identity .chat.meeting-dm-visible>#conversation{grid-column:1;grid-row:3}.nexo-identity #voice-room.has-inline-meeting{padding:8px!important}}
.nexo-identity .chat .camera-call-panel:fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;padding:20px;background:var(--paper);z-index:149}
.nexo-identity #voice-room.has-inline-meeting>#voice-room-people{display:none!important}
.nexo-identity #voice-room.has-inline-meeting:has(>.camera-call-panel.minimized)>#voice-room-people{display:flex!important}
/* Compact meeting controls use icons with accessible names and hover labels. */
.nexo-identity .camera-call-panel .meeting-icon-button{display:inline-grid;place-items:center;flex:0 0 40px;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border-radius:50%!important}
.nexo-identity .camera-call-panel .meeting-icon-button svg{width:20px;height:20px;display:block}
.nexo-identity .camera-call-panel>header .meeting-icon-button{flex-basis:34px;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}
.nexo-identity .meeting-controls .meeting-icon-button[aria-pressed=true]{background:color-mix(in srgb,var(--brand-blue) 22%,var(--panel));border-color:var(--brand-blue)}
#voice-meeting svg{width:20px;height:20px;display:block}
/* One consistent, left-aligned call-control row in the meeting and sidebar. */
.nexo-identity .chat .meeting-controls{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;gap:6px;min-height:44px;padding-bottom:2px;scrollbar-width:thin}
.nexo-identity #voice-dock .voice-controls{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:4px!important;min-width:0;width:100%}
.nexo-identity #voice-dock .voice-controls>button{flex:1 1 0!important;min-width:0!important;width:auto!important;height:32px!important;min-height:32px!important;margin:0!important;padding:5px!important;box-sizing:border-box;display:grid;place-items:center}
.nexo-identity #voice-dock .voice-controls>button svg{width:18px;height:18px}
@media(max-width:760px){.nexo-identity .chat .meeting-controls{gap:5px}.nexo-identity .chat .meeting-controls .meeting-icon-button{flex-basis:36px;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}}

/* Keep avatars circular and leave room for the entire control outline. */
.meeting-initials{overflow:hidden;flex-shrink:0}.meeting-initials img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}.meeting-camera-status:empty{display:none}
.nexo-identity #voice-dock .voice-controls{padding:4px;box-sizing:border-box;overflow:visible!important;gap:5px!important}
.nexo-identity #voice-dock .voice-controls>button{flex:0 0 calc((100% - 25px)/6)!important;aspect-ratio:1;width:calc((100% - 25px)/6)!important;min-width:0!important;height:auto!important;min-height:0!important;border-radius:50%!important;padding:0!important;overflow:visible!important}
.nexo-identity .chat .meeting-controls{padding:5px!important;min-height:50px;box-sizing:border-box}
.nexo-identity #voice-dock .voice-controls>button:focus-visible,.nexo-identity .meeting-controls button:focus-visible{outline-offset:2px}
.nexo-identity #sidebar>#voice-dock .voice-controls{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));justify-content:initial!important;gap:5px!important;padding:3px;overflow:visible!important}
.nexo-identity #sidebar>#voice-dock .voice-controls>button{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:1;flex:none!important;padding:0!important;border-radius:50%!important}
.nexo-identity #sidebar>#voice-dock .voice-controls>button svg{width:16px!important;height:16px!important}
