/* Call workspace: a calm entry screen, then video first with controls immediately below. */
.ce-call-workspace{--call-bg:#26292d;--call-panel:#111416;--call-text:#f5f7f9;background:var(--call-bg);color:var(--call-text);padding:14px;min-height:100dvh}.ce-call-workspace [hidden]{display:none!important}.ce-call-workspace>header{padding:4px 4px 12px;border-color:#41474b}.ce-call-workspace>header .wordmark{color:white}.ce-call-workspace>header .badge{background:#36464b;color:#e6f3f1}.ce-call-workspace .ce-meeting-layout,.ce-call-workspace.is-entered .ce-meeting-layout{display:block;max-width:1600px;margin:10px auto}.ce-call-workspace .ce-meeting-stage>h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ce-call-top{display:flex;align-items:center;gap:10px;margin-bottom:10px}.ce-call-top>div{display:grid;gap:2px;margin-inline-end:auto}.ce-call-top>div>span{font-size:.8rem;color:#bbccd1}.ce-call-top time{font-variant-numeric:tabular-nums;background:#141719;padding:10px;border-radius:9px}.ce-call-top>button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #465054;border-radius:9px;background:#141719;color:white}.ce-call-top svg{width:22px;height:22px}.ce-call-workspace .ce-video-shell{position:relative;min-height:48vh;background:#303438;border-radius:14px;overflow:hidden}.ce-call-workspace .ce-video-grid{min-height:48vh;display:grid;grid-template-columns:1fr;position:relative;gap:0}.ce-call-workspace .ce-video-tile{max-height:65dvh;min-height:48vh;aspect-ratio:16/9;border-radius:0;background:#303438}.ce-call-workspace.is-live .ce-video-grid:has(.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{position:absolute;bottom:14px;inset-inline-end:14px;width:clamp(130px,20%,260px);min-height:0;max-height:160px;aspect-ratio:16/10;border-radius:12px;z-index:5;box-shadow:0 8px 30px #0006}.ce-call-workspace .ce-video-tile span{background:#111a;color:white}.ce-call-workspace .ce-control-dock{background:transparent;border:0;box-shadow:none;padding:6px 0;margin:4px 0;position:relative}.ce-call-workspace .ce-meeting-controls{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:7px;max-width:1080px;margin:auto}.ce-call-workspace .ce-meeting-controls .ce-tool{background:#121517;color:#fff;border:1px solid #394248;min-height:64px;font-size:.75rem;border-radius:12px}.ce-call-workspace .ce-tool svg{width:24px;height:24px}.ce-call-workspace .ce-meeting-controls .ce-tool:hover{background:#34484e}.ce-call-workspace .ce-meeting-controls .ce-tool[aria-expanded=true],.ce-call-workspace .ce-meeting-controls .ce-tool[aria-pressed=true]{background:#215a55;border-color:#50bbae;color:white}.ce-call-workspace .ce-meeting-controls .ce-tool.is-muted{background:#632d2d;color:#fff;border-color:#df8070}.ce-call-workspace .ce-meeting-controls #ce-room-leave,.ce-call-workspace .ce-meeting-controls #ce-room-end{color:#ffb19e}.ce-call-workspace .ce-inline-settings{background:#fff;color:#173344;border-radius:16px;padding:20px;margin:12px auto;max-width:900px;box-shadow:0 16px 44px #0003}.ce-call-workspace .ce-inline-settings h2{font-family:inherit;font-size:1.25rem;margin:0 0 12px}.ce-call-workspace .ce-inline-settings p{font-size:.9rem}.ce-call-workspace .ce-effect-tools>.ce-tool{padding:9px;border:1px solid #b5cbcc;background:#edf6f4;display:flex;gap:6px;align-items:center;min-height:44px;border-radius:8px;color:#173344}.ce-call-workspace .ce-room-side{color:#173344;max-width:580px;margin:16px auto;background:white}.ce-call-workspace.is-host .ce-room-side{display:none}.ce-call-workspace .ce-effect-status{color:#e2f5ef}.ce-call-workspace .ce-room-alert{color:#173344}.ce-call-workspace #ce-room-status:not(.ce-sr-only){color:#ffe2b6;padding:12px}.ce-player-actions{display:flex;gap:8px;flex-wrap:wrap}.ce-call-workspace .ce-local-file{margin:0;display:inline-flex;align-items:center}.ce-call-workspace #ce-chat-log{max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.ce-chat-compose{display:flex;gap:8px}.ce-chat-compose input{min-width:0}.ce-reactions{display:flex;gap:8px}.ce-reactions button{font-size:1.3rem;min-width:44px;min-height:44px;border:1px solid #d3dedf;border-radius:8px;background:#f4f8f8}.ce-call-workspace #ce-main-player{position:relative;z-index:6;display:grid;place-items:center;min-height:300px;padding:15px;background:#181c20}.ce-call-workspace #ce-main-player video,.ce-call-workspace #ce-main-player iframe{width:100%;max-height:55dvh;aspect-ratio:16/9;border:0;object-fit:contain}.ce-call-workspace #ce-main-player audio{width:min(600px,100%)}.ce-player-offer{text-align:center;padding:30px;color:white}.ce-call-workspace.has-player .ce-video-grid{min-height:120px;max-height:140px;display:flex;justify-content:flex-end}.ce-call-workspace.has-player .ce-video-tile,.ce-call-workspace.has-player.is-live .ce-video-grid:has(.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{position:relative;inset:auto;width:200px;min-height:0;height:130px;aspect-ratio:auto}.ce-call-workspace.is-waiting{background:#dff4f2;color:#173344}.ce-call-workspace.is-waiting .ce-meeting-layout{max-width:560px}.ce-call-workspace.is-waiting .ce-video-grid,.ce-call-workspace.is-waiting .ce-video-tile,.ce-call-workspace.is-waiting .ce-video-shell{min-height:0}.ce-call-workspace.is-waiting .ce-room-alert{position:static;transform:none;min-width:0;margin:14px;background:#f0efff;border:0;border-inline-start:5px solid #7970d9;box-shadow:none;border-radius:10px}.ce-call-workspace.is-waiting .ce-call-top>div>span{color:#4d6773}.ce-call-workspace.is-waiting .ce-meeting-controls{grid-template-columns:repeat(4,minmax(0,1fr))}.ce-call-workspace.needs-consent,.ce-call-workspace.is-loading{background:#f5fbfa;color:#183c48}.ce-call-workspace.needs-consent .ce-meeting-layout,.ce-call-workspace.is-loading .ce-meeting-layout{display:none}.ce-call-workspace.needs-consent>header .wordmark,.ce-call-workspace.is-waiting>header .wordmark{color:#173344}.ce-consent-page{max-width:1000px;margin:28px auto}.ce-consent-banner{background:#197e7b;color:white;border-radius:14px 14px 0 0;padding:28px}.ce-consent-banner p{margin:0 0 7px;font-weight:600}.ce-consent-banner h1{font-size:2.4rem;margin:0}.ce-consent-card{background:white;border:1px solid #d8e3e2;border-radius:12px;margin:22px auto;padding:30px;line-height:1.65;max-width:850px}.ce-consent-card h2{font:650 1.8rem Figtree,sans-serif;margin:0 0 20px}.ce-consent-card .btn{display:block;margin:24px auto 0}.ce-consent-card summary{font-weight:650;cursor:pointer}.ce-call-workspace .ce-meeting-ended{color:#173344}.ce-call-workspace:fullscreen{overflow:auto}.ce-call-workspace .ce-room-status{overflow-wrap:anywhere}
@media(max-width:900px){.ce-call-workspace .ce-meeting-controls{grid-template-columns:repeat(6,minmax(0,1fr))}.ce-call-workspace .ce-video-shell,.ce-call-workspace .ce-video-grid,.ce-call-workspace .ce-video-tile{min-height:38vh}.ce-call-workspace .ce-inline-settings{padding:16px}}
@media(max-width:600px){.ce-call-workspace{padding:8px}.ce-call-workspace>header .wordmark{font-size:.8rem}.ce-call-workspace .ce-meeting-controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.ce-call-workspace .ce-meeting-controls .ce-tool{min-height:56px;font-size:.66rem;padding:5px}.ce-call-workspace .ce-video-tile{aspect-ratio:4/3;max-height:48dvh}.ce-call-top{gap:6px}.ce-call-top>div{font-size:.8rem}.ce-call-top>div>span{font-size:.7rem}.ce-call-workspace .ce-inline-settings .ce-device-selectors{grid-template-columns:1fr}.ce-consent-card{padding:20px;margin:14px auto;font-size:.93rem}.ce-consent-card h2{font-size:1.5rem}.ce-consent-banner{padding:20px}.ce-consent-banner h1{font-size:1.8rem}.ce-player-actions .btn{flex:1 1 45%}.ce-call-workspace #ce-main-player{min-height:210px;padding:6px}.ce-call-workspace .ce-meeting-ended{margin:24px auto}}
.ce-call-workspace.is-client:not(.is-entered):not(.needs-consent) .ce-meeting-layout{max-width:620px}.ce-call-workspace.is-client:not(.is-entered) .ce-meeting-controls{grid-template-columns:repeat(4,minmax(0,1fr))}
.ce-call-top time{color:#fff}
.ce-call-top>.ce-record-header{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:112px;height:44px;padding:0 12px;border:1px solid #9c554d;border-radius:9px;background:#3d2525;color:#fff;font:650 .85rem/1 system-ui,sans-serif;cursor:pointer}.ce-call-top>.ce-record-header:hover:not(:disabled){background:#673631}.ce-call-top>.ce-record-header:disabled{opacity:.55;cursor:not-allowed}.ce-record-dot{width:10px;height:10px;border-radius:50%;background:#e35353;box-shadow:0 0 0 3px #e3535333}.ce-call-top>.ce-record-header.is-recording{background:#872e2e;border-color:#f07171}
.ce-call-quality{max-width:900px;margin:10px auto;padding:12px 16px;border:1px solid #526368;border-radius:12px;background:#182124;color:#f1f8f7}.ce-call-quality summary{cursor:pointer;font-weight:650}.ce-call-quality p{margin:9px 0 0;overflow-wrap:anywhere}.ce-call-quality .fine{color:#bdcecc}

.ce-connection-notice{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;max-width:900px;margin:18px auto;padding:16px 20px;background:#fff3dc;color:#513a16;border:1px solid #e4c58e;border-radius:12px;font-weight:600}.ce-connection-notice .btn{min-height:44px}.ce-call-workspace [aria-busy=true]{opacity:.65;cursor:progress}

/* Full screen keeps the session identity visible. Controls appear on hover, touch or keyboard focus. */
.ce-call-workspace:fullscreen{box-sizing:border-box;width:100vw;height:100vh;padding:14px 18px;overflow:hidden;background:#171b1e}.ce-call-workspace:fullscreen>header,.ce-call-workspace:fullscreen .ce-call-top{position:relative;z-index:30;background:linear-gradient(180deg,#171b1ef2,#171b1e99);border-radius:10px}.ce-call-workspace:fullscreen>header{padding:8px 12px;border:0}.ce-call-workspace:fullscreen .ce-meeting-layout{height:calc(100vh - 92px);max-width:none;margin:0}.ce-call-workspace:fullscreen .ce-meeting-stage{position:relative;height:100%}.ce-call-workspace:fullscreen .ce-call-top{position:absolute;inset:10px 10px auto;z-index:31;margin:0;padding:8px 10px}.ce-call-workspace:fullscreen .ce-video-shell,.ce-call-workspace:fullscreen .ce-video-grid,.ce-call-workspace:fullscreen .ce-video-tile{height:100%;min-height:0;max-height:none}.ce-call-workspace:fullscreen .ce-video-shell{border-radius:12px}.ce-call-workspace:fullscreen .ce-video-tile{aspect-ratio:auto}.ce-call-workspace:fullscreen .ce-video-tile video{width:100%;height:100%;object-fit:contain}.ce-call-workspace:fullscreen.is-live .ce-video-grid:has(.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{bottom:82px;inset-inline-end:18px;z-index:34}.ce-call-workspace:fullscreen .ce-control-dock{position:absolute;z-index:35;inset:auto 50% 14px auto;width:min(1080px,calc(100% - 28px));transform:translateX(50%) translateY(20px);opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}.ce-call-workspace:fullscreen.controls-visible .ce-control-dock,.ce-call-workspace:fullscreen .ce-control-dock:hover,.ce-call-workspace:fullscreen .ce-control-dock:has(:focus-visible){opacity:1;pointer-events:auto;transform:translateX(50%)}.ce-call-workspace:fullscreen .ce-room-side,.ce-call-workspace:fullscreen .ce-inline-settings,.ce-call-workspace:fullscreen #ce-effect-status,.ce-call-workspace:fullscreen #ce-record-status,.ce-call-workspace:fullscreen #ce-record-downloads{position:relative;z-index:36}.ce-call-workspace:fullscreen .ce-inline-settings,.ce-call-workspace:fullscreen #ce-record-status{max-height:42vh;overflow:auto}.ce-call-workspace:fullscreen .ce-connection-notice{position:absolute;z-index:40;inset:90px 20px auto;max-width:min(900px,calc(100% - 40px))}.ce-record-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;max-width:900px;margin:12px auto;padding:12px 14px;border-radius:12px;background:#fff3dc;color:#513a16;border:1px solid #e4c58e}.ce-record-status p{margin:0;flex:1 1 360px}.ce-record-status .btn{min-height:40px}.ce-meeting>header .badge.is-recording{background:#8d2830;color:#fff}.ce-meeting-controls .ce-tool.is-recording{background:#8d2830!important;border-color:#f5a0a6!important}.ce-meeting-controls .ce-tool.is-recording span::before{content:'● ';color:#ffc6c9}.ce-record-downloads{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;max-width:900px;margin:8px auto}.ce-record-downloads .btn{font-size:.86rem}
@media(max-width:600px){.ce-call-workspace:fullscreen{padding:8px}.ce-call-workspace:fullscreen .ce-meeting-layout{height:calc(100vh - 76px)}.ce-call-workspace:fullscreen .ce-call-top{inset:6px 6px auto}.ce-call-workspace:fullscreen .ce-control-dock{bottom:6px;width:calc(100% - 12px)}.ce-call-workspace:fullscreen .ce-meeting-controls{grid-template-columns:repeat(4,minmax(0,1fr))}.ce-call-workspace:fullscreen.is-live .ce-video-grid:has(.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{bottom:70px;inset-inline-end:10px;width:34%;max-height:110px}}

/* Compact in-frame controls and device choices. Keyboard focus also reveals them. */
.ce-call-workspace .ce-video-shell{position:relative}
.ce-call-workspace .ce-mic-control{position:relative;flex:0 0 48px;width:48px;height:46px}
.ce-call-workspace .ce-video-shell>.ce-meeting-controls .ce-mic-control>.ce-tool{width:48px;height:46px;min-height:46px}
.ce-mic-options{position:absolute;z-index:2;inset:1px 1px auto auto;width:17px;height:17px;padding:0;border:0;border-radius:0 10px 0 5px;background:#273438;color:#fff;font:700 12px/16px system-ui;cursor:pointer;opacity:.86}
.ce-mic-options:hover,.ce-mic-options:focus-visible{background:#087c85;opacity:1}
.ce-device-menu .ce-noise-levels{margin:10px 2px 2px;padding-top:9px;border-top:1px solid #d7e1e3}
.ce-device-menu .ce-speaker-devices{margin:10px 2px 2px;padding-top:9px;border-top:1px solid #d7e1e3}
.ce-device-menu .ce-speaker-devices>span{display:block;margin:2px 7px 5px;font-size:.84rem;font-weight:700}
.ce-device-menu .ce-speaker-devices .fine{margin:6px 7px 2px;font-size:.75rem;line-height:1.4;color:#526b75}
.ce-device-menu .ce-speaker-devices .ce-output-picker{margin-top:5px;border:1px solid #d4e1e2}
.ce-device-menu .ce-noise-levels>span{display:block;margin:2px 7px 5px;font-size:.84rem;font-weight:700}
.ce-device-menu .ce-noise-levels button{display:inline-flex;width:32%;justify-content:center;padding:9px 4px;text-align:center}
.ce-device-menu .ce-noise-levels .fine{margin:6px 7px 2px;font-size:.72rem;line-height:1.35;color:#526b75}
.ce-device-menu button:disabled{opacity:.5;cursor:not-allowed}
.ce-call-workspace .ce-video-shell>.ce-meeting-controls{
  position:absolute;z-index:22;inset:auto auto 12px 50%;transform:translateX(-50%);
  display:flex;justify-content:center;gap:5px;width:max-content;max-width:calc(100% - 20px);
  padding:6px;border-radius:14px;background:#10181bdc;box-shadow:0 6px 24px #0008;
  overflow-x:auto;opacity:0;pointer-events:none;transition:opacity .2s ease;
}
.ce-call-workspace.controls-visible .ce-video-shell>.ce-meeting-controls,
.ce-call-workspace .ce-video-shell>.ce-meeting-controls:has(:focus-visible){
  opacity:1;pointer-events:auto;
}
.ce-call-workspace .ce-video-shell>.ce-meeting-controls .ce-tool{flex:0 0 48px;width:48px;min-height:46px;height:46px;padding:7px;display:grid;place-items:center}
.ce-call-workspace .ce-video-shell>.ce-meeting-controls .ce-tool span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ce-call-workspace .ce-video-shell>.ce-meeting-controls .ce-tool svg{width:22px;height:22px}
.ce-device-menu{position:absolute;z-index:45;bottom:72px;width:min(300px,calc(100% - 16px));max-height:min(420px,65dvh);overflow:auto;padding:10px;border:1px solid #68838a;border-radius:12px;background:#fff;color:#173344;box-shadow:0 12px 30px #0007;pointer-events:auto}
.ce-device-help{padding:10px 12px;border-radius:9px;background:#fff2d9;color:#593d15;font-size:.9rem;line-height:1.45}
.ce-device-menu strong{display:block;margin:3px 7px 7px}
.ce-device-menu button{display:block;width:100%;padding:9px 10px;border:0;border-radius:7px;text-align:left;background:transparent;color:inherit}
.ce-device-menu button:hover,.ce-device-menu button:focus-visible,.ce-device-menu button[aria-pressed=true]{background:#d8f0ea}
.ce-call-workspace .ce-video-grid:has(.ce-shared-screen){display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,22%);grid-auto-rows:minmax(100px,1fr);gap:8px;max-height:65dvh;overflow:hidden}
.ce-call-workspace .ce-video-grid:has(.ce-shared-screen){grid-template-rows:repeat(4,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:minmax(150px,22%);overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:thin}
.ce-call-workspace .ce-video-grid:has(.ce-shared-screen)>.ce-shared-screen{grid-column:1;grid-row:1/span 4;position:relative;inset:auto;width:100%;height:100%;max-height:none;min-height:42vh;aspect-ratio:auto}
.ce-call-workspace .ce-video-grid:has(.ce-shared-screen)>.ce-video-tile:not(.ce-shared-screen),
.ce-call-workspace.is-live .ce-video-grid:has(.ce-shared-screen)>.ce-video-tile:first-child:not(.ce-shared-screen){grid-column:2;position:relative;inset:auto;width:100%;height:auto;max-height:140px;min-height:95px;aspect-ratio:16/9;box-shadow:none}
.ce-call-workspace .ce-video-grid:has(.ce-shared-screen)>.ce-shared-screen video{object-fit:contain;background:#171b1e}
.ce-call-workspace.is-live .ce-video-grid:has(.ce-video-tile:nth-child(3)):not(:has(.ce-shared-screen)){grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
.ce-call-workspace.is-live .ce-video-grid:has(.ce-video-tile:nth-child(3)):not(:has(.ce-shared-screen))>.ce-video-tile:first-child{position:relative;inset:auto;width:100%;height:auto;max-height:65dvh;min-height:180px;aspect-ratio:16/9;box-shadow:none}
.ce-call-workspace:fullscreen .ce-video-shell>.ce-meeting-controls{bottom:14px;z-index:50}
.ce-call-workspace:fullscreen .ce-video-grid:has(.ce-shared-screen){max-height:none}
.ce-call-workspace:fullscreen .ce-video-grid:has(.ce-shared-screen)>.ce-shared-screen{max-height:none}
@media(max-width:700px){.ce-call-workspace .ce-video-grid:has(.ce-shared-screen){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(35vh,1fr);grid-auto-flow:column;grid-auto-columns:minmax(110px,28vw);grid-auto-rows:minmax(84px,18vw);max-height:none;overflow:auto}.ce-call-workspace .ce-video-grid:has(.ce-shared-screen)>.ce-shared-screen{grid-column:1;grid-row:1;min-height:35vh}.ce-call-workspace .ce-video-grid:has(.ce-shared-screen)>.ce-video-tile:not(.ce-shared-screen){grid-column:auto;grid-row:1;width:100%;display:block;min-height:84px;max-height:none}.ce-call-workspace .ce-video-shell>.ce-meeting-controls{justify-content:flex-start}}

/* Keep the practice identity and timer in the logo bar, leaving the video near the top. */
.ce-call-workspace>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:2px 4px 7px;min-height:0}
.ce-call-workspace>header .wordmark{grid-column:1;grid-row:1}
.ce-call-workspace>header .wordmark .name{color:#f7fafb}
.ce-call-workspace>header .ce-call-top{grid-column:2;grid-row:1;min-width:0;margin:0;padding:0 4px;background:none}
.ce-call-workspace>header .ce-call-top>div{min-width:0;overflow:hidden;text-overflow:ellipsis}
.ce-call-workspace>header .ce-call-top strong,.ce-call-workspace>header .ce-call-top span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ce-call-workspace>header .lang-pick{grid-column:3;grid-row:1;margin:0;white-space:nowrap;color:#c4d4d8}
.ce-call-workspace>header .badge{grid-column:4;grid-row:1;white-space:nowrap}
.ce-call-workspace .ce-meeting-layout,.ce-call-workspace.is-entered .ce-meeting-layout{margin:6px auto}
.ce-call-workspace.needs-consent>header .ce-call-top,.ce-call-workspace.is-loading>header .ce-call-top{display:none}
.ce-call-workspace .ce-video-shell>.ce-connection-notice{position:absolute;z-index:40;inset:12px auto auto 50%;transform:translateX(-50%);width:min(760px,calc(100% - 24px));max-width:none;margin:0;padding:10px 14px;box-shadow:0 8px 26px #0006}
.ce-call-workspace .ce-video-shell>.ce-connection-notice .btn{min-height:38px}
.ce-call-workspace:fullscreen{display:flex;flex-direction:column}
.ce-call-workspace:fullscreen>header{flex:none}
.ce-call-workspace:fullscreen .ce-meeting-layout{flex:1;min-height:0;height:auto;margin:0}
.ce-call-workspace:fullscreen .ce-call-top{position:relative;inset:auto;z-index:31;padding:0 4px}
.ce-call-workspace:fullscreen .ce-video-shell>.ce-connection-notice{inset:12px auto auto 50%;max-width:none}
@media(max-width:1000px){.ce-call-workspace>header{grid-template-columns:auto minmax(0,1fr) auto;gap:6px}.ce-call-workspace>header .ce-call-top{grid-column:2}.ce-call-workspace>header .lang-pick{grid-column:3}.ce-call-workspace>header .badge{grid-column:3;grid-row:2;justify-self:end}.ce-call-workspace>header .ce-call-top>div{font-size:.82rem}}
@media(max-width:650px){.ce-call-workspace>header{grid-template-columns:minmax(0,1fr) auto}.ce-call-workspace>header .wordmark{grid-column:1;grid-row:1}.ce-call-workspace>header .lang-pick{grid-column:2;grid-row:1}.ce-call-workspace>header .ce-call-top{grid-column:1 / -1;grid-row:2}.ce-call-workspace>header .badge{display:none}.ce-call-workspace>header .ce-call-top>div{font-size:.76rem}.ce-call-workspace>header .ce-call-top>button{width:38px;height:38px}.ce-call-workspace>header .ce-call-top time{padding:8px}}

.ce-call-workspace .ce-caption-box{position:absolute;z-index:8;inset:auto 5% 18px;max-width:68%;margin:auto;padding:10px 16px;border:1px solid #ffffff35;border-radius:12px;background:#111c;color:#fff;text-align:center;line-height:1.4;font-size:clamp(.9rem,1.2vw,1.08rem);box-shadow:0 4px 18px #0007;pointer-events:none;overflow-wrap:anywhere}
.ce-call-workspace .ce-caption-box:empty{display:none}
.ce-call-workspace .ce-caption-box p{margin:0}
.ce-call-workspace .ce-caption-box p+p{margin-top:8px;padding-top:7px;border-top:1px solid #ffffff35}
.ce-call-workspace .ce-caption-box b{font-size:.76em;color:#d9e9f4}
.ce-call-workspace.is-live #ce-video-grid:has(.ce-video-tile:nth-child(2))+.ce-caption-box{inset-inline-end:27%;max-width:62%}
@media(max-width:650px){.ce-call-workspace .ce-caption-box{inset-inline:10px;bottom:10px;max-width:calc(100% - 20px);font-size:.92rem;padding:8px 10px}.ce-call-workspace.is-live #ce-video-grid:has(.ce-video-tile:nth-child(2))+.ce-caption-box{inset-inline-end:10px;max-width:calc(100% - 20px)}}

/* Keep admission notices compact inside both the clinician and guest call layouts. */
.ce-call-workspace .ce-video-shell>.ce-room-alert{position:absolute;inset:14px auto auto 14px;transform:none;display:flex;align-items:flex-start;text-align:start;gap:.5rem;width:min(340px,calc(100% - 28px));min-width:0;margin:0;padding:12px 14px;border:1px solid #a9c5c9;border-inline-start:4px solid #087c85;border-radius:12px;background:#f8fcfc;color:#173344;box-shadow:0 8px 28px #061c302e;z-index:28}.ce-call-workspace .ce-video-shell>.ce-room-alert[hidden]{display:none}.ce-call-workspace .ce-room-alert strong{font-size:.98rem}.ce-call-workspace .ce-room-alert-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;width:100%}.ce-call-workspace .ce-room-alert-actions .btn{min-width:0;min-height:38px;padding:.45rem .75rem}.ce-call-workspace .ce-room-alert-dismiss{margin-inline-start:auto;border:0;background:transparent;color:#536b78;text-decoration:underline;cursor:pointer;padding:7px}.ce-call-workspace .ce-room-alert-actions button:focus-visible,.ce-call-workspace .ce-room-alert-dismiss:focus-visible{outline:3px solid #087c85;outline-offset:2px}
@media(max-width:600px){.ce-call-workspace .ce-video-shell>.ce-room-alert{inset:8px auto auto 8px;width:min(310px,calc(100% - 16px));padding:10px}.ce-call-workspace .ce-room-alert-actions .btn{min-height:40px}}

.ce-call-workspace.is-client #ce-local-name{display:none!important}.ce-call-workspace.is-client #ce-picture-button,.ce-call-workspace.is-client [data-room-panel="ce-appearance-panel"],.ce-call-workspace.is-client [data-room-panel="ce-people-panel"]{display:none!important}
.ce-client-join-card{text-align:center;max-width:620px;padding:clamp(22px,5vw,42px);margin:20px auto}.ce-client-join-card h2{margin:10px 0;font-size:clamp(1.4rem,4vw,2rem)}.ce-client-join-card>p{max-width:48ch;margin:12px auto}.ce-join-mark{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 12px;border-radius:20px;background:#dff3f0;color:#087e80}.ce-join-mark svg{width:34px;height:34px}.ce-client-join-card .ce-privacy-join{padding:14px 16px;border-radius:10px;background:#f3f7f7;color:#425a64;text-align:start;font-size:.92rem}.ce-client-join-card .btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:12px 24px}.ce-client-join-card .btn svg{width:20px;height:20px}.ce-consent-page>details.ce-consent-card{max-width:620px;padding:16px 20px;margin:12px auto}.ce-call-workspace.needs-consent .ce-consent-page{padding:0 16px 30px}
.ce-client-preview-note{position:absolute;z-index:12;inset:14px 14px auto auto;max-width:min(360px,calc(100% - 28px));margin:0;padding:10px 14px;border:1px solid #8ebfba;border-radius:10px;background:#10292be8;color:#f4ffff;font-size:.9rem;line-height:1.4;box-shadow:0 5px 20px #0005}

/* The guest consent page keeps the join action and essential disclosures in a phone-sized first view. */
@media(max-width:650px){
  .ce-call-workspace.needs-consent{box-sizing:border-box;padding:5px 8px;min-height:100svh}
  .ce-call-workspace.needs-consent>header{padding:0 2px 4px;min-height:0}
  .ce-call-workspace.needs-consent .ce-consent-page{padding:0;margin:2px auto 6px}
  .ce-call-workspace.needs-consent .ce-consent-banner{padding:9px 12px;border-radius:10px 10px 0 0}
  .ce-call-workspace.needs-consent .ce-consent-banner p{margin:0 0 2px;font-size:.76rem;line-height:1.15}
  .ce-call-workspace.needs-consent .ce-consent-banner h1{font-size:clamp(1.2rem,5.5vw,1.55rem);line-height:1.08;letter-spacing:-.025em}
  .ce-call-workspace.needs-consent .ce-consent-banner p:last-child{font-size:.82rem}
  .ce-call-workspace.needs-consent .ce-client-join-card{margin:0 auto;padding:10px 12px 12px;border-radius:0 0 12px 12px;line-height:1.3}
  .ce-call-workspace.needs-consent .ce-join-mark{width:32px;height:32px;margin:0 auto 3px;border-radius:10px}
  .ce-call-workspace.needs-consent .ce-join-mark svg{width:19px;height:19px}
  .ce-call-workspace.needs-consent .ce-client-join-card h2{font-size:1.12rem;line-height:1.15;margin:3px 0 5px}
  .ce-call-workspace.needs-consent .ce-client-join-card>p{font-size:.86rem;line-height:1.32;margin:4px auto;max-width:42ch}
  .ce-call-workspace.needs-consent .ce-client-join-card .ce-privacy-join{padding:6px 8px;font-size:.78rem;text-align:center}
  .ce-call-workspace.needs-consent .ce-client-join-card .btn{width:100%;min-height:44px;margin:7px auto 0;padding:8px 14px}
  .ce-call-workspace.needs-consent .ce-consent-page>details.ce-consent-card{margin:5px auto;padding:8px 10px;border-radius:9px;line-height:1.35;font-size:.78rem}
  .ce-call-workspace.needs-consent .ce-consent-page>details.ce-consent-card p{margin:7px 0}
  .ce-call-workspace.needs-consent .ce-consent-page>details.ce-consent-card summary{font-size:.84rem}
}

/* Keep the client entry screen to one obvious, accessible action. */
.ce-call-workspace.needs-consent>header{display:none}
.ce-call-workspace.needs-consent .ce-connection-notice{display:none!important}
.ce-call-workspace.needs-consent .ce-consent-page{margin:12px auto;padding:0 12px 16px}
.ce-call-workspace.needs-consent .ce-client-join-card{max-width:760px;padding:clamp(18px,4vw,36px)}
.ce-call-workspace.needs-consent .ce-client-join-card .btn{width:100%;min-height:76px;margin:18px auto 0;padding:16px 22px;font-size:1.2rem;font-weight:750;border-radius:14px;touch-action:manipulation}
.ce-call-workspace.needs-consent .ce-client-join-card .btn:focus-visible{outline:4px solid #e4a51b;outline-offset:3px}
.ce-call-workspace.needs-consent .ce-client-join-card .ce-privacy-join{margin:14px auto 0;padding:0;background:transparent;text-align:center;font-size:.95rem;line-height:1.45}
@media(max-width:650px){
  .ce-call-workspace.needs-consent .ce-consent-page{margin:8px auto 12px;padding:0}
  .ce-call-workspace.needs-consent .ce-client-join-card{padding:14px 14px 16px}
  .ce-call-workspace.needs-consent .ce-client-join-card .btn{min-height:76px;margin-top:14px;font-size:1.22rem}
  .ce-call-workspace.needs-consent .ce-client-join-card .ce-privacy-join{font-size:.88rem}
}

/* Clinician waiting room overlays: status left, pending clients right. */
.ce-call-workspace .ce-video-shell>.ce-room-alert.is-host-notice{width:max-content;max-width:min(210px,calc(50% - 22px));padding:8px 11px;align-items:center}.ce-call-workspace .ce-video-shell>.ce-room-alert.is-host-notice strong{font-size:.83rem;line-height:1.2}
.ce-call-workspace .ce-video-shell>#ce-waiting-clients{position:absolute;z-index:29;inset:14px 14px auto auto;width:min(260px,calc(50% - 22px));max-height:min(38dvh,280px);overflow:auto;padding:5px;border:1px solid #a9c5c9;border-radius:12px;background:#f8fcfc;color:#173344;box-shadow:0 8px 28px #061c302e}
.ce-waiting-client{display:flex;align-items:center;gap:6px;min-height:38px;padding:3px 5px;border-radius:8px}.ce-waiting-client:hover,.ce-waiting-client:focus-within{background:#e6f3f1}.ce-waiting-client>span{min-width:0;overflow-wrap:anywhere;flex:1}.ce-waiting-admit{display:flex;align-items:center;justify-content:center;gap:4px;flex:none;min-width:70px;min-height:32px;padding:4px 8px;border:0;border-radius:8px;background:#087c85;color:#fff;font-size:.76rem;font-weight:700;opacity:0;pointer-events:none;transition:opacity .15s ease}.ce-waiting-client:hover .ce-waiting-admit,.ce-waiting-client:focus-within .ce-waiting-admit{opacity:1;pointer-events:auto}.ce-waiting-admit svg{width:17px;height:17px}.ce-waiting-admit:focus-visible{outline:3px solid #173344;outline-offset:2px}
@media(hover:none){.ce-waiting-admit{opacity:1;pointer-events:auto}}
@media(max-width:600px){.ce-call-workspace .ce-video-shell>.ce-room-alert{width:min(48%,calc(50% - 16px));font-size:.8rem;padding:8px}.ce-call-workspace .ce-video-shell>.ce-room-alert.is-host-notice{max-width:calc(50% - 16px);padding:6px 8px}.ce-call-workspace .ce-video-shell>#ce-waiting-clients{inset:8px 8px auto auto;width:min(48%,calc(50% - 16px));padding:5px;font-size:.8rem}.ce-waiting-client{min-height:38px}.ce-waiting-admit{min-width:34px;min-height:32px;padding:4px}.ce-waiting-admit span{display:none}}

/* Keep client in-session actions to the six requested controls. */
.ce-call-workspace.is-client .ce-call-top [data-call-action="pip"],.ce-call-workspace.is-client .ce-call-top [data-call-action="fullscreen"]{display:grid!important}
.ce-call-workspace.is-client .ce-video-shell>.ce-room-alert.is-guest-notice{inset:8px 8px auto;width:calc(100% - 16px);max-width:none;justify-content:center;text-align:center;padding:9px 12px;background:#f8fcfc;border-inline-start:0;border-top:4px solid #087c85;line-height:1.3}
.ce-call-workspace.is-client.is-waiting .ce-video-shell>.ce-room-alert.is-guest-notice{position:absolute;margin:0}
.ce-call-workspace.is-client .ce-video-grid>.ce-video-tile video{width:100%;height:100%;object-fit:cover}
.ce-call-workspace.is-client.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){width:100%;height:100%;min-height:48vh;max-height:65dvh;aspect-ratio:16/9}
.ce-call-workspace.is-client.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{cursor:pointer}
.ce-call-workspace.is-client.is-live.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{position:relative;inset:auto;width:100%;height:100%;min-height:48vh;max-height:65dvh;aspect-ratio:16/9;box-shadow:none;border-radius:0}
.ce-call-workspace.is-client.is-live.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){position:absolute;bottom:14px;right:14px;width:clamp(130px,20%,260px);height:auto;min-height:0;max-height:160px;aspect-ratio:16/10;z-index:5;border-radius:12px;cursor:pointer;box-shadow:0 8px 30px #0006}
@media(max-width:650px){.ce-call-workspace.is-client.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){min-height:46dvh;max-height:70dvh;aspect-ratio:3/4}.ce-call-workspace.is-client.is-live.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{min-height:46dvh;max-height:70dvh;aspect-ratio:3/4}.ce-call-workspace.is-client.is-live.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){min-height:0;max-height:110px;aspect-ratio:16/10}.ce-call-workspace.is-client .ce-call-top{display:flex;flex-wrap:wrap}.ce-call-workspace.is-client .ce-call-top>div{flex:1 1 100%}}
@media(max-width:900px) and (orientation:landscape){.ce-call-workspace.is-client.is-live{min-height:100dvh}.ce-call-workspace.is-client.is-live .ce-meeting-layout{max-width:none;margin:0}.ce-call-workspace.is-client.is-live .ce-video-shell,.ce-call-workspace.is-client.is-live .ce-video-grid{height:calc(100dvh - 105px);min-height:0}.ce-call-workspace.is-client.is-live .ce-video-grid>.ce-video-tile,.ce-call-workspace.is-client.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){height:100%;min-height:0;max-height:none;aspect-ratio:auto}.ce-call-workspace.is-client.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{height:auto;min-height:0;max-height:30dvh}}
.ce-call-workspace .ce-chat-compose{align-items:end}.ce-call-workspace .ce-chat-compose textarea{flex:1;min-width:0;min-height:96px;max-height:32vh;resize:vertical;padding:12px 14px;font:inherit;line-height:1.45;border:1px solid #b5cbcc;border-radius:10px}.ce-call-workspace .ce-chat-compose button{align-self:end;min-height:48px}.ce-call-workspace #ce-chat-log a{color:#006b76;text-decoration:underline;overflow-wrap:anywhere}.ce-call-workspace #ce-chat-log a:hover,.ce-call-workspace #ce-chat-log a:focus-visible{color:#004a51;background:#d9f3ef}.ce-call-workspace .ce-chat-toast{position:absolute;z-index:42;left:50%;bottom:88px;transform:translate(-50%,18px);width:min(560px,calc(100% - 24px));max-height:120px;overflow:hidden;padding:12px 16px;border:1px solid #83c8c0;border-left:5px solid #13a79a;border-radius:12px;background:#f8ffff;color:#173344;box-shadow:0 12px 36px #0008;opacity:0;pointer-events:none;transition:transform .2s ease,opacity .2s ease}.ce-call-workspace .ce-chat-toast.is-visible{opacity:1;transform:translate(-50%,0)}.ce-call-workspace .ce-chat-toast strong{display:block;margin-bottom:2px}.ce-call-workspace .ce-chat-toast span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:pre-line;overflow-wrap:anywhere}@media(max-width:650px){.ce-call-workspace .ce-chat-compose{flex-direction:column;align-items:stretch}.ce-call-workspace .ce-chat-compose textarea{width:100%}.ce-call-workspace .ce-chat-compose button{align-self:flex-end;min-width:100px}.ce-call-workspace .ce-chat-toast{bottom:76px}}

.ce-call-workspace .ce-clinician-ended h1{font-size:clamp(1.8rem,4vw,3.1rem);line-height:1.16;overflow-wrap:anywhere}

/* Full-frame session layout, with the local preview over the remote picture. */
.ce-call-workspace.is-live .ce-meeting-layout{max-width:none;margin:0 auto}
.ce-call-workspace.is-live .ce-meeting-stage{max-width:none}
.ce-call-workspace.is-live .ce-video-shell,.ce-call-workspace.is-live .ce-video-grid{height:min(78dvh,900px);min-height:420px;border-radius:12px}
.ce-call-workspace.is-live .ce-video-grid>.ce-video-tile,.ce-call-workspace.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){height:100%;min-height:0;max-height:none;aspect-ratio:auto}
.ce-call-workspace.is-live .ce-video-grid>.ce-video-tile video{width:100%;height:100%;object-fit:cover}
.ce-call-workspace.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{bottom:16px;inset-inline-end:16px;width:clamp(180px,22%,360px);height:auto;min-height:0;max-height:none;aspect-ratio:16/10;border:2px solid #fff8;z-index:7}
.ce-call-workspace.is-live .ce-control-dock{max-width:none;margin:4px auto}
.ce-call-workspace.is-live .ce-meeting-controls{display:flex;justify-content:center;align-items:center;gap:10px;max-width:none}
.ce-call-workspace.is-live .ce-meeting-controls>.ce-tool,.ce-call-workspace.is-live .ce-meeting-controls>.ce-mic-control{flex:0 0 auto;width:clamp(58px,6vw,82px)}
.ce-call-workspace.is-live .ce-meeting-controls .ce-tool{width:100%;min-height:58px}
.ce-call-workspace.is-live .ce-call-top>div{display:none}
.ce-call-workspace.is-live .ce-call-top time{margin-inline-end:auto}
.ce-call-workspace.is-live .ce-caption-box{z-index:8;bottom:80px;max-width:min(70%,720px)}
.ce-call-workspace.is-live .ce-video-shell>.ce-room-alert{z-index:30}
.ce-call-workspace.is-live.is-client .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){height:100%;min-height:0;max-height:none;aspect-ratio:auto}
.ce-call-workspace.is-live.is-client.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{position:relative;inset:auto;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;border:0;border-radius:0}
.ce-call-workspace.is-live.is-client.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){position:absolute;bottom:16px;inset-inline-end:16px;width:clamp(180px,22%,360px);height:auto;min-height:0;max-height:none;aspect-ratio:16/10;border:2px solid #fff8;border-radius:12px;z-index:7;box-shadow:0 8px 30px #0008}
@media(max-width:700px){
 .ce-call-workspace.is-live{padding:4px 6px;min-height:100dvh}
 .ce-call-workspace.is-live>header{padding:0;border:0}
 .ce-call-workspace.is-live>header>.wordmark,.ce-call-workspace.is-live>header>.badge,.ce-call-workspace.is-live>header>.ce-language-control,.ce-call-workspace.is-live>header>label{display:none!important}
 .ce-call-workspace.is-live .ce-call-top{width:100%;margin:0;padding:4px 2px;flex-wrap:nowrap;gap:6px}
 .ce-call-workspace.is-live .ce-call-top time{padding:8px 10px}
 .ce-call-workspace.is-live .ce-call-top>button{width:40px;height:40px}
 .ce-call-workspace.is-live .ce-meeting-layout{margin:0;max-width:none}
 .ce-call-workspace.is-live .ce-video-shell,.ce-call-workspace.is-live .ce-video-grid{height:calc(100dvh - 132px - env(safe-area-inset-bottom));min-height:300px;border-radius:0}
 .ce-call-workspace.is-live .ce-video-grid>.ce-video-tile,.ce-call-workspace.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){height:100%;min-height:0;max-height:none;aspect-ratio:auto}
 .ce-call-workspace.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{bottom:10px;inset-inline-end:10px;width:26%;height:auto;max-height:none;aspect-ratio:3/4}
 .ce-call-workspace.is-live.is-client.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:first-child{width:100%;height:100%;aspect-ratio:auto}
 .ce-call-workspace.is-live.is-client.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){bottom:10px;inset-inline-end:10px;width:26%;height:auto;max-height:none;aspect-ratio:3/4}
 .ce-call-workspace.is-live .ce-control-dock{margin:0;padding:5px 0 max(6px,env(safe-area-inset-bottom))}
 .ce-call-workspace.is-live .ce-meeting-controls{display:flex;justify-content:center;gap:4px;overflow-x:auto;padding:0 2px}
 .ce-call-workspace.is-live .ce-meeting-controls>.ce-tool,.ce-call-workspace.is-live .ce-meeting-controls>.ce-mic-control{width:clamp(47px,15vw,62px);min-width:47px}
 .ce-call-workspace.is-live .ce-meeting-controls .ce-tool{min-height:49px;padding:5px 2px;font-size:.67rem}
 .ce-call-workspace.is-live .ce-meeting-controls .ce-tool svg{width:22px;height:22px}
 .ce-call-workspace.is-live .ce-caption-box{bottom:68px;max-width:calc(100% - 20px)}
 .ce-call-workspace.is-live .ce-call-quality{margin-top:6px}
}
@media(max-width:900px) and (orientation:landscape){
 .ce-call-workspace.is-live .ce-video-shell,.ce-call-workspace.is-live .ce-video-grid{height:calc(100dvh - 115px - env(safe-area-inset-bottom));min-height:0}
 .ce-call-workspace.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:first-child,.ce-call-workspace.is-live.is-client.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){width:23%;aspect-ratio:16/10;height:auto;max-height:none}
 .ce-call-workspace.is-live .ce-meeting-controls .ce-tool{min-height:43px}
}
/* On touch screens the six permitted client actions remain reachable without hover. */
@media(hover:none) and (max-width:900px){
 .ce-call-workspace.is-live .ce-video-shell>.ce-meeting-controls{inset:auto auto 8px 50%;transform:translateX(-50%);display:flex;justify-content:center;width:max-content;max-width:calc(100% - 12px);padding:5px;gap:4px;opacity:1;pointer-events:auto;overflow-x:auto}
 .ce-call-workspace.is-live .ce-video-shell>.ce-meeting-controls .ce-tool{flex:0 0 clamp(42px,13vw,55px);width:clamp(42px,13vw,55px);height:48px;min-height:48px}
 .ce-call-workspace.is-live .ce-video-shell>.ce-meeting-controls .ce-mic-control{flex:0 0 clamp(42px,13vw,55px);width:clamp(42px,13vw,55px)}
 .ce-call-workspace.is-live .ce-video-shell>.ce-meeting-controls .ce-mic-control>.ce-tool{width:100%;height:48px;min-height:48px}
 .ce-call-workspace.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:first-child,.ce-call-workspace.is-live.is-client.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){bottom:68px}
 .ce-call-workspace.is-live .ce-caption-box{bottom:125px}
}
@media(hover:none) and (max-width:900px) and (orientation:landscape){
 .ce-call-workspace.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:first-child,.ce-call-workspace.is-live.is-client.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2))>.ce-video-tile:not(:first-child){bottom:58px}
}
/* Screen sharing keeps the presentation as the primary tile. */
.ce-call-workspace.is-live .ce-video-grid:has(.ce-shared-screen)>.ce-shared-screen{grid-column:1;grid-row:1/span 4;position:relative;inset:auto;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none}
.ce-call-workspace.is-live .ce-video-grid:has(.ce-shared-screen)>.ce-video-tile:not(.ce-shared-screen){grid-column:2;position:relative;inset:auto;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:16/9;box-shadow:none}
.ce-call-workspace.is-live .ce-video-grid:has(.ce-video-tile:nth-child(3)):not(:has(.ce-shared-screen))>.ce-video-tile:first-child{position:relative;inset:auto;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;box-shadow:none}
/* Keep the call toolbar on one bottom row, including the clinician waiting state. */
.ce-call-workspace .ce-video-shell>.ce-meeting-controls{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;grid-template-columns:none!important;width:max-content!important;max-width:calc(100% - 16px)!important;left:50%!important;right:auto!important;top:auto!important;bottom:12px!important;transform:translateX(-50%)!important}
.ce-call-workspace .ce-video-shell>.ce-meeting-controls>.ce-tool{flex:0 0 48px!important;width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;padding:7px!important}
.ce-call-workspace .ce-video-shell>.ce-meeting-controls>.ce-mic-control{flex:0 0 48px!important;width:48px!important;min-width:48px!important;height:48px!important}
.ce-call-workspace .ce-video-shell>.ce-meeting-controls>.ce-mic-control>.ce-tool{width:48px!important;height:48px!important;min-height:48px!important}
.ce-call-workspace .ce-video-shell>.ce-meeting-controls .ce-mic-options{position:absolute!important;top:1px!important;right:1px!important;left:auto!important;bottom:auto!important;display:grid!important;place-items:center!important;width:19px!important;min-width:19px!important;height:19px!important;min-height:19px!important;padding:0!important;border-radius:0 8px 0 6px!important;background:#294247!important;color:#fff!important;font-size:13px!important;font-weight:700!important;line-height:18px!important;opacity:1!important;z-index:4!important}
.ce-call-workspace .ce-video-shell>.ce-meeting-controls .ce-mic-options:focus-visible{outline:2px solid #fff;outline-offset:1px}
@media(max-width:650px){.ce-call-workspace .ce-video-shell>.ce-meeting-controls{gap:3px!important;padding:5px!important}.ce-call-workspace .ce-video-shell>.ce-meeting-controls>.ce-tool,.ce-call-workspace .ce-video-shell>.ce-meeting-controls>.ce-mic-control,.ce-call-workspace .ce-video-shell>.ce-meeting-controls>.ce-mic-control>.ce-tool{flex-basis:clamp(40px,13vw,48px)!important;width:clamp(40px,13vw,48px)!important;min-width:40px!important;height:46px!important;min-height:46px!important}}
/* A two-person client call has one full-stage feed and one independent preview. */
.ce-call-workspace.is-client.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2)):not(:has(.ce-shared-screen)){
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-auto-columns:auto;grid-auto-flow:row;gap:0;overflow:hidden;
}
.ce-call-workspace.is-client.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2)):not(:has(.ce-shared-screen))>.ce-video-tile:not(:first-child){
  position:relative;grid-column:1/-1;grid-row:1;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;z-index:1;
}
.ce-call-workspace.is-client.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2)):not(:has(.ce-shared-screen))>.ce-video-tile:first-child{
  position:absolute;grid-column:auto;grid-row:auto;left:auto;right:10px;top:auto;bottom:70px;width:clamp(86px,26%,180px);height:auto;min-height:0;max-height:none;aspect-ratio:3/4;border:2px solid #fff9;border-radius:12px;box-shadow:0 8px 30px #0008;z-index:7;
}
.ce-call-workspace.is-client.is-live.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2)):not(:has(.ce-shared-screen))>.ce-video-tile:first-child{
  position:relative;grid-column:1/-1;grid-row:1;left:auto;right:auto;top:auto;bottom:auto;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;z-index:1;
}
.ce-call-workspace.is-client.is-live.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2)):not(:has(.ce-shared-screen))>.ce-video-tile:not(:first-child){
  position:absolute;grid-column:auto;grid-row:auto;left:auto;right:10px;top:auto;bottom:70px;width:clamp(86px,26%,180px);height:auto;min-height:0;max-height:none;aspect-ratio:3/4;border:2px solid #fff9;border-radius:12px;box-shadow:0 8px 30px #0008;z-index:7;
}
.ce-call-workspace.is-client.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2)):not(:has(.ce-shared-screen))>.ce-video-tile video{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:900px) and (orientation:landscape){
  .ce-call-workspace.is-client.is-live .ce-video-grid:has(>.ce-video-tile:nth-child(2)):not(:has(.ce-shared-screen))>.ce-video-tile:first-child,
  .ce-call-workspace.is-client.is-live.is-self-main .ce-video-grid:has(>.ce-video-tile:nth-child(2)):not(:has(.ce-shared-screen))>.ce-video-tile:not(:first-child){bottom:58px;width:clamp(100px,23%,220px);aspect-ratio:16/10}
}
/* A clear, persistent notice in the call and a compact clinician setup. */
.ce-video-shell>.ce-transcription-notice{position:absolute;z-index:31;top:10px;left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);padding:8px 12px;border-radius:9px;background:#fff;color:#143645;font-size:.8rem;font-weight:700;text-align:center;box-shadow:0 5px 20px #0005}
.ce-video-shell>.ce-transcription-notice[hidden]{display:none}
.ce-transcribe-settings{max-width:420px;margin:8px auto;padding:10px;border:1px solid #42646c;border-radius:10px;background:#fff;color:#173745}
.ce-transcribe-settings label{display:block;font-weight:700}
.ce-transcribe-settings p{font-size:.8rem;line-height:1.4;margin:8px 0 0}
