/* Layout adapters for real media nodes; existing colors, surfaces and controls are retained. */
.dialog form{gap:14px}.dialog .settings-field{margin:0}.dialog .consent{margin:4px 0}.dialog input[type=checkbox]{width:16px;height:16px;min-height:16px;padding:0;margin:2px 0 0}.dialog #dialog-error:empty{display:none}.calls-create-options{display:grid;gap:14px}.calls-create-options[open]>*+*{margin-top:14px}.calls-create-options summary{cursor:pointer;padding:8px 0}.header-right .calls-account{padding:8px 10px;min-height:36px;font-size:13px;background:transparent;box-shadow:none}.join-content .calls-entry-actions{display:grid;gap:12px}.calls-entry-actions .btn{width:100%;justify-content:center}.dialog p{margin:0}
[hidden]{display:none!important}.join-content h1{font-size:clamp(32px,3.3vw,44px);line-height:1.07;letter-spacing:-1.5px;margin:16px 0;color:var(--navy)}
.join-content>.intro{color:var(--muted);line-height:1.8;margin-bottom:25px;max-width:360px}.call-content{display:flex;gap:16px;flex:1;min-height:470px;min-width:0}
.tile>video{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.tile-open{position:absolute;inset:0;border:0;background:transparent;cursor:pointer}.tile .nameplate{position:absolute;bottom:12px;left:12px;right:12px;pointer-events:none}
.shared-content>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#152437}.shared-content .share-status{z-index:2}.share-expanded .shared-content{position:fixed;inset:12px;z-index:80}.share-expanded .shared-content .share-status{position:absolute;top:0;left:0;right:0}
.consent{display:flex;align-items:flex-start;gap:9px;margin:16px 0;font-size:13px;line-height:1.5}.consent input{margin-top:3px;flex:none;accent-color:#1458ff}.settings-field{display:flex;flex-direction:column;gap:8px;margin:16px 0}.settings-field input,.settings-field select,.dialog input,.dialog select{min-height:42px;border:1px solid #b4cce1;border-radius:12px;padding:9px 12px;background:#ffffff80;font:inherit;max-width:100%;color:var(--navy)}
.dialog form{display:flex;flex-direction:column;gap:8px}.notice{font-size:13px;line-height:1.6;color:var(--muted)}.camera-preview .mirror{width:100%;height:100%;object-fit:cover}.mirror{transform:scaleX(-1)}.mic-meter{height:4px;border-radius:4px;overflow:hidden}.mic-meter i{display:block;height:100%;background:#1458ff;width:0}
.person-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 0}.person-row>strong{flex:1}.person-row>span{font-size:12px}.person-row .btn{padding:8px}.chat-form{display:flex;gap:8px;padding-top:14px}.chat-form input{min-width:0;flex:1;padding:10px;border:1px solid #b4cce1;border-radius:12px;background:#ffffff80}.panel-body{overflow:auto;padding:16px}.panel-body textarea{resize:vertical;width:100%;min-height:240px;padding:12px;background:#ffffff80;border:1px solid #b4cce1;border-radius:12px;font:inherit}.call-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.call-meta h1{font-size:18px;margin-right:auto}.toolbar{align-self:center}.tool.off{background:#a5bcdb55}.tool[data-state=active]{color:#1458ff}
@media(max-width:720px){.call-content{min-height:390px}.toolbar{position:sticky;bottom:8px;z-index:45;max-width:100%;flex-wrap:wrap}.join-content{order:2}.prejoin .preview-card{order:1}.call-meta h1{font-size:16px}.call-meta{gap:8px}.shared-content>video{object-fit:contain}.share-expanded .shared-content{inset:6px}}
.prejoin .preview-card{padding:12px}.prejoin .preview-controls{position:static;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 0 4px}.preview-controls .btn{justify-content:center;min-width:0;padding:12px 10px;font-size:13px}.preview-controls [data-action=test-speaker]{grid-column:1/-1}.preview-controls .active{color:#1458ff}.join-content>.intro{margin:0 0 12px;max-width:none;line-height:1.55}.join-content>.entry-hint{margin:0 0 12px;line-height:1.5}.join-content>[data-action=create],#join-form>.btn{width:100%;justify-content:center;margin-top:0;min-height:48px}.join-content>.notice:empty{display:none}.calls-range{display:flex;align-items:center;gap:12px}.calls-range input{flex:1;min-width:0;padding:0;accent-color:#1458ff}.calls-range output{min-width:42px;text-align:right;font-variant-numeric:tabular-nums}.tile.speaking{outline:2px solid #1458ff;outline-offset:-2px}
@media(max-width:720px){.prejoin{padding:12px 0 18px;gap:16px}.prejoin .preview-card{padding:10px}.join-content h1{margin:10px 0 14px}.join-content .eyebrow{margin:0 0 8px}.toolbar{justify-content:center}.call-meta [data-action=center-all]{padding:8px 12px;justify-content:center}}
.stage.calls-focus-layout{grid-template-columns:minmax(0,1fr) 205px;grid-template-rows:repeat(var(--calls-side-rows),minmax(88px,1fr))}.calls-focus-layout>.calls-primary{grid-column:1;grid-row:1/span var(--calls-side-rows);min-height:340px}.calls-focus-layout>.calls-secondary{grid-column:2;grid-row:var(--calls-side-row);min-height:88px}.shared-content{position:relative}.share-expanded .calls-secondary{visibility:hidden}.calls-focus-layout>.tile>video{object-fit:contain;background:#152437}
@media(max-width:1100px) and (min-width:801px){.stage.calls-focus-layout{grid-template-columns:minmax(0,1fr) 170px}}
@media(max-width:800px){.toolbar{width:100%;justify-content:center}.toolbar .tool.end{grid-column:1/-1;justify-self:center;width:140px;margin:6px 0 0}}
@media(max-width:800px){.stage.calls-focus-layout{grid-template-columns:repeat(var(--calls-strip-cols),minmax(0,1fr));grid-template-rows:minmax(250px,1fr) repeat(var(--calls-strip-rows),90px)}.calls-focus-layout>.calls-primary{grid-column:1/-1;grid-row:1;min-height:250px}.calls-focus-layout>.calls-secondary{grid-column:var(--calls-thumb-col);grid-row:var(--calls-thumb-row);min-height:90px}.calls-secondary .nameplate{left:5px;right:5px;bottom:6px}.calls-secondary .nameplate span{font-size:10px;padding:5px}}
.dialog form{gap:14px}.calls-translation-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.calls-translation-tabs button{border:1px solid #9bbadd;border-radius:12px;padding:12px 8px;background:#ffffff80;font:inherit;color:var(--navy);cursor:pointer}.calls-translation-tabs [aria-selected=true]{background:#1458ff;color:white;border-color:#1458ff}.calls-voice-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 14px;border-radius:16px;background:#dcecff;border:1px solid #96bbed;font-size:13px}.calls-voice-status>span{flex:1;min-width:200px}.calls-voice-status .btn{min-height:36px;padding:8px 10px;font-size:12px}
.calls-join-progress{border-radius:18px;background:#e8f2ff;padding:22px;border:1px solid #adc9ed;display:grid;grid-template-columns:24px 1fr;gap:12px}.calls-join-progress p{grid-column:1/-1;line-height:1.6;margin:0}.calls-spinner{width:22px;height:22px;border:3px solid #adc9ed;border-top-color:#1458ff;border-radius:50%;animation:calls-spin 1s linear infinite}@keyframes calls-spin{to{transform:rotate(360deg)}}
.calls-schedule-card{display:grid;gap:12px;padding:22px;border-radius:20px;border:1px solid #ffffffa8;background:#e5f1ffb8;box-shadow:0 12px 35px #315c9821;color:var(--navy)}.calls-schedule-date{font-size:13px;color:var(--muted)}.calls-schedule-card strong{font-size:17px}.calls-schedule-countdown{font-variant-numeric:tabular-nums;font-size:clamp(34px,7vw,54px);font-weight:700;line-height:1;letter-spacing:1px;color:#1458ff}.calls-schedule-card p{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}@media(max-width:720px){.calls-schedule-card{padding:18px;gap:11px}.calls-schedule-countdown{font-size:clamp(32px,10vw,44px)}}
.calls-stage-wrap{position:relative;display:flex;flex:1;min-width:0;min-height:390px}.calls-stage-actions{position:absolute;right:20px;top:20px;z-index:7;display:flex;gap:8px}.calls-stage-actions>.icon-btn{width:38px;height:38px;min-width:38px;background:#dfedfff0}.calls-stage-actions [aria-pressed=true]{color:#1458ff}.calls-stage-actions #calls-reactions{position:absolute;top:46px;right:0;display:flex;gap:6px;padding:9px;border-radius:16px;background:#dfedffed}.calls-stage-actions #calls-reactions button{padding:7px;font-size:24px;line-height:1;border-radius:10px}.calls-reaction{position:absolute;top:60px;right:20px;z-index:5;font-size:40px;pointer-events:none;filter:drop-shadow(0 2px 4px #1238)}.calls-person-name{flex:1;display:grid;gap:6px;min-width:0}.calls-person-name strong{overflow-wrap:anywhere}.calls-person-name small{font-size:11px;color:var(--muted)}.calls-people-actions{display:grid;gap:12px;margin-bottom:14px}.calls-people-actions>.btn{width:100%;justify-content:center}.calls-people-list .person-row{gap:12px;padding:14px 0;border-bottom:1px solid #99b9da44}.calls-invitation-text{width:100%;min-height:120px;resize:vertical;border:1px solid #b4cce1;border-radius:14px;background:#ffffff80;padding:12px;font:inherit;line-height:1.7}.calls-chat-overlay{position:absolute;left:20px;bottom:20px;z-index:8;width:min(360px,calc(100% - 40px));border-radius:18px;padding:12px;background:#deecfff0;border:1px solid #ffffffb0;box-shadow:0 4px 20px #1c3e6522}.calls-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.calls-chat-head>.icon-btn{width:28px;height:28px;min-width:28px;flex-basis:28px}.calls-chat-head>button{font-weight:600}.calls-chat-messages{max-height:170px;overflow:auto;display:grid;gap:10px}.calls-chat-message{font-size:12px;line-height:1.5;display:grid;gap:3px;overflow-wrap:anywhere}.calls-chat-message strong{font-size:11px;color:#315685}.calls-chat-overlay .chat-form{padding-top:10px}.calls-chat-overlay .chat-form input{width:100%}.calls-chat-overlay .chat-form .icon-btn{min-width:36px;width:36px}.calls-chat-overlay .notice{margin:0}@media(max-width:800px){.calls-stage-actions{top:15px;right:15px}.calls-stage-actions #calls-reactions{flex-wrap:wrap;width:155px;justify-content:center}.calls-chat-overlay{left:15px;bottom:15px;width:calc(100% - 30px)}.calls-chat-messages{max-height:130px}}
.calls-native-select{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;pointer-events:none}.calls-select{display:flex;align-items:center;gap:10px;min-height:44px;width:100%;padding:10px 12px;border:1px solid #b4cce1;border-radius:12px;text-align:left;font:inherit;color:var(--navy);background:#ffffff60}.calls-select>span:first-of-type{flex:1}.calls-select-popup{z-index:1100;overflow:auto;padding:6px;border:1px solid #ffffffb0;border-radius:15px;background:#dceaffec;box-shadow:0 12px 32px #193d6733;backdrop-filter:blur(20px)}.calls-select-popup>button{display:flex;align-items:center;gap:10px;text-align:left;width:100%;min-height:42px;padding:9px 12px;border-radius:9px;font:inherit;color:var(--navy)}.calls-select-popup>[aria-selected=true],.calls-select-popup>.focused,.calls-select-popup>button:hover{background:#1458ff1c;color:#0844c3}.calls-language-flag{width:24px;height:16px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #2342;flex:none}.calls-select-chevron{width:8px;height:8px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-4px 4px 0 auto;flex:none}.ux-topbar .brand{align-items:center;line-height:1}.ux-topbar .brand .suite-chevron{display:grid;place-items:center;font-size:0;width:18px;height:18px;line-height:1;align-self:center;opacity:.75}.ux-topbar .brand .suite-chevron:before{content:'';width:7px;height:7px;border:solid currentColor;border-width:0 1.7px 1.7px 0;transform:translateY(-2px) rotate(45deg);border-radius:1px}.ux-topbar .brand[aria-expanded=true] .suite-chevron:before{transform:translateY(2px) rotate(225deg)}.calls-static-glass .calls-select-popup{backdrop-filter:none;background:#dceaff}

/* Compact entry: one meeting title and a single join action. */
.prejoin .join-content h1{font-size:clamp(26px,2.4vw,34px);line-height:1.2;letter-spacing:-.8px;margin:0 0 24px;overflow-wrap:anywhere}.prejoin #join-form{display:flex;flex-direction:column;gap:10px}.prejoin #join-form .consent{margin:10px 0;line-height:1.55}.prejoin #join-form>.btn{margin-top:8px}.ux-topbar .brand img{width:36px;height:36px;object-fit:contain;flex:none;border-radius:10px}.ux-topbar .brand{gap:10px;min-height:54px}.ux-topbar .brand>span{align-self:center}.calls-static-glass .prejoin .consent input{width:18px;height:18px}

/* Compact live controls, account portraits and bounded overlays. */
.calls-avatar{position:relative;display:inline-grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;overflow:hidden;background:#c6dbf5;color:#183d72;font-size:12px;font-weight:600;vertical-align:middle}.calls-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.calls-avatar-large{width:80px;height:80px;font-size:28px;background:#dceaff}.calls-account-avatar{border:0;background:none;padding:0;width:36px;height:36px;flex:none}.calls-account-avatar .calls-avatar{width:36px;height:36px}.calls-prejoin-account{display:flex;gap:10px;align-items:center;margin-bottom:8px;font-size:14px}
.calls-mini{width:32px;height:32px;min-width:32px;min-height:32px;padding:6px;border:1px solid #8aadd448;border-radius:10px;background:#e5f0ff;color:#1a385c;display:inline-flex;align-items:center;justify-content:center;flex:none;cursor:pointer;font:inherit}.calls-mini .icon{width:18px;height:18px}.calls-mini:hover{background:#cbdff9}.calls-mini:focus-visible{outline:2px solid #1458ff;outline-offset:2px}.calls-mini:disabled{opacity:.4;cursor:default}.calls-accept{color:#075b32;background:#d7eedf;border-color:#99c9ab}.calls-people-list .person-row{flex-wrap:nowrap;gap:8px}.calls-person-name{min-width:0}.calls-person-name strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}.calls-person-name small{font-size:11px;line-height:1.3}.calls-people-list .calls-person-name{gap:4px}.calls-admission-stack{position:absolute;left:50%;top:14px;transform:translateX(-50%);width:min(340px,calc(100% - 28px));z-index:25;display:grid;gap:6px}.calls-admission{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #afc8e6;border-radius:15px;background:#e3effcf5;box-shadow:0 6px 24px #112b482b;color:#122840}.calls-admission .calls-person-name strong{font-size:13px}.calls-admission .calls-person-name small{color:#426080}.calls-admission .calls-mini{width:36px;height:36px}.calls-more-requests{padding:7px 12px;border-radius:12px;background:#e3effc;color:#284d79;font:inherit;font-size:12px}.toolbar .tool{position:relative}.calls-count{position:absolute;top:2px;right:5px;min-width:16px;height:16px;border-radius:8px;background:#ec3862;color:white;display:grid;place-items:center;font-size:10px;padding:0 3px}
.stage.calls-overlay-layout{display:block;position:relative;min-height:390px;isolation:isolate}.calls-overlay-layout>.calls-primary{position:absolute;inset:10px;min-height:0;grid-column:auto;grid-row:auto;width:auto;height:auto}.calls-overlay-layout>.tile.calls-primary>video{object-fit:contain;background:#17283c}.calls-overlay-layout>.calls-secondary{position:absolute;width:196px;height:116px;min-height:0!important;grid-column:auto;grid-row:auto;z-index:9;border:1px solid #b4cde6;border-radius:13px;box-shadow:0 4px 14px #14294050;overflow:hidden;transition:box-shadow .15s}.calls-overlay-layout>.calls-secondary>video{object-fit:cover}.calls-overlay-layout>.calls-secondary .nameplate{left:6px;right:6px;bottom:5px;gap:5px}.calls-overlay-layout>.calls-secondary .nameplate span{font-size:10px;padding:4px 5px;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calls-overlay-layout>.calls-secondary .calls-avatar-large{width:40px;height:40px;font-size:17px}.calls-secondary .tile-open{touch-action:none;cursor:grab}.calls-pip-controls{position:absolute;top:5px;right:5px;z-index:6;display:flex;gap:4px}.calls-pip-controls .calls-mini{width:25px;min-width:25px;height:25px;min-height:25px;border-radius:7px;padding:4px;background:#e2edffdb}.calls-pip-controls .icon{width:15px;height:15px}.calls-pip-controls [data-dock-handle],.calls-chat-drag{touch-action:none;cursor:grab}.calls-dragging{z-index:29!important;cursor:grabbing!important}.calls-stage-actions .calls-pips-show{width:38px;height:38px}.share-expanded .calls-secondary{visibility:visible}
.calls-chat-overlay{position:absolute;z-index:20;width:min(320px,calc(100% - 24px));max-height:min(270px,70%);padding:10px;border-radius:14px;color:#122840;background:#dceafbf0;border:1px solid #a7c1df;box-shadow:0 4px 16px #152f4d30;backdrop-filter:blur(12px);display:flex;flex-direction:column;gap:8px;overflow:hidden}.calls-chat-head{margin:0;flex:none;gap:8px}.calls-chat-drag{display:inline-flex;align-items:center;gap:7px;min-width:0;padding:0;border:0;background:none;font:inherit;font-size:12px;color:#25496f}.calls-chat-drag .icon{width:15px;height:15px}.calls-chat-head .calls-mini{height:26px;width:26px;min-width:26px;min-height:26px;border-radius:8px;padding:4px;background:transparent}.calls-chat-messages{min-height:0;max-height:165px;overflow:auto;overscroll-behavior:contain;gap:8px;flex:1;scrollbar-width:thin}.calls-chat-message{padding:0;background:transparent;color:#152a43;font-size:13px;line-height:1.4;display:block}.calls-chat-message strong{color:#315985;font-size:11px;display:block;margin-bottom:2px}.calls-chat-message>span{display:block;white-space:pre-wrap;overflow-wrap:anywhere}.calls-chat-peek .calls-chat-message>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.calls-chat-form{display:flex;align-items:center;gap:6px;flex:none;min-width:0;margin:0;padding:0}.calls-chat-form input{width:0;min-width:0;flex:1;min-height:36px;padding:7px 9px;border-radius:10px;border:1px solid #a3bfdf;background:#edf5ff;font:inherit;font-size:16px;color:#152a43;box-sizing:border-box}.calls-chat-form input::placeholder{color:#5e7591}.calls-chat-form .calls-mini{width:34px;height:36px;background:#1458ff;color:white}.calls-chat-messages:empty{display:none}.calls-static-glass .calls-chat-overlay{background:#dceafb;backdrop-filter:none;-webkit-backdrop-filter:none}
.calls-translation-description{font-size:13px;line-height:1.5;color:#3d5b7b}.calls-translation-person{display:flex;align-items:center;gap:10px;font-size:14px}.calls-translation-tabs button{min-height:40px;padding:9px;font-size:13px}.calls-audio-levels{display:grid;gap:14px;margin:4px 0}.calls-volume-row{display:grid;grid-template-columns:74px minmax(0,1fr) 38px;gap:10px;align-items:center;font-size:12px}.calls-volume-row input[type=range]{min-height:24px;height:24px;padding:0;width:100%;accent-color:#1458ff;background:none;border:0}.calls-volume-row output{text-align:right;font-variant-numeric:tabular-nums}.calls-translation-info{font-size:12px;color:#506b89;line-height:1.5}.calls-translation-info summary{cursor:pointer;padding:3px 0}.calls-translation-info p{padding:8px 0 0}.calls-translation-actions{display:flex;gap:10px}.calls-translation-actions>.btn{flex:1;justify-content:center;min-height:42px;padding:10px}.calls-select-popup{box-sizing:border-box;background:#e0ecfaf5;color:#122840;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);overscroll-behavior:contain;scrollbar-width:thin;box-shadow:0 8px 24px #193d6733}.calls-select-popup>button{justify-content:flex-start!important;text-align:left!important;min-height:40px;max-width:100%;border:0;background:transparent;line-height:1.3;white-space:normal}.calls-select-popup>button>span{flex:1}.calls-select-popup>button[aria-selected=true]{background:#1458ff1c}.calls-select-popup .calls-language-flag{object-fit:cover}
@media(max-width:800px){.toolbar{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px!important;justify-content:center;padding:8px;max-width:100%}.toolbar .tool,.toolbar .tool.end{width:100%;min-width:0;height:55px;min-height:55px;margin:0;padding:6px 2px}.toolbar .tool.end{grid-column:auto;justify-self:stretch;align-self:stretch;border-radius:13px}.toolbar .tool span{font-size:9px}.calls-overlay-layout>.calls-secondary{width:112px;height:84px;border-radius:11px}.calls-overlay-layout>.calls-secondary .nameplate span{font-size:9px;padding:3px}.calls-overlay-layout>.calls-secondary .nameplate .icon{width:11px;height:11px}.calls-overlay-layout>.calls-secondary .calls-pip-controls .calls-mini{width:25px;height:25px}.calls-chat-overlay{width:min(280px,calc(100% - 24px));max-height:min(235px,58%);padding:9px}.calls-chat-messages{max-height:130px}.calls-chat-message{font-size:12px}.calls-admission-stack{top:60px}.calls-admission{padding:8px}.calls-stage-actions{top:14px;right:14px}.calls-mini{min-width:32px}.calls-static-glass .calls-select-popup{background:#e0ecfa;backdrop-filter:none;-webkit-backdrop-filter:none}}
.share-expanded .calls-stage-wrap{position:fixed;inset:8px 8px 92px;z-index:80}.share-expanded .stage{min-height:0}.share-expanded .shared-content{position:absolute;inset:10px;min-height:0;z-index:1}.share-expanded .toolbar{position:fixed;left:50%;bottom:8px;transform:translateX(-50%);z-index:90;max-width:calc(100% - 16px)}@media(max-width:800px){.share-expanded .calls-stage-wrap{bottom:144px}.share-expanded .toolbar{width:calc(100% - 16px)}}

.calls-back-to-share{position:absolute;left:18px;top:18px;z-index:10;min-height:34px;padding:8px 12px;border-radius:11px;background:#e2edfff0;color:#244d7b;font:inherit;font-size:12px}
.shared-content .share-status{min-height:52px;padding-right:var(--calls-control-space,148px);background:#dbeaffde}.shared-content .ux-share-caption{min-width:0}.shared-content .ux-share-caption span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.calls-stage-actions{align-items:center;gap:8px;top:18px;right:18px}.calls-stage-actions>button{box-sizing:border-box;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px;max-height:40px;flex:0 0 40px!important;margin:0;padding:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center}.calls-stage-actions>button>.icon{width:20px;height:20px;flex:0 0 20px;margin:0}.shared-content .ux-share-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.calls-option{margin:10px 0}.calls-option-card{display:flex;width:100%;align-items:center;gap:12px;text-align:left;border:1px solid #88abd148;border-radius:16px;padding:14px;background:#dcecff80;color:var(--ink);cursor:pointer}.calls-option-card>.icon{width:24px;height:24px;flex:none;color:#3b608f}.calls-option-card>span{display:grid;gap:4px;flex:1;min-width:0}.calls-option-card strong{font-size:14px}.calls-option-card small{font-size:12px;line-height:1.45;color:#47668b}.calls-option-card[aria-checked=true]{border-color:#2864f4;background:#c2dbffb0}.calls-option-switch{width:30px;height:18px;flex:none;border-radius:12px;background:#94afd0;position:relative}.calls-option-switch:after{content:'';position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:white;transition:transform .15s}.calls-option-card[aria-checked=true] .calls-option-switch{background:#1458ff}.calls-option-card[aria-checked=true] .calls-option-switch:after{transform:translateX(12px)}
.calls-policy-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:13px}.calls-policy-row .btn{min-height:34px;padding:6px 12px;font-size:12px}.calls-policy-row [aria-checked=true]{color:#1458ff}.calls-consent-requests{display:grid;gap:6px}.calls-consent-request{display:flex;align-items:center;gap:10px;border:1px solid #bdd2e7;background:#dfeeffe8;padding:9px 12px;border-radius:14px;color:#173557;font-size:12px;line-height:1.4}.calls-consent-request>span{flex:1}.calls-consent-request>.icon{flex:none;width:20px;height:20px}.calls-record-dialog{display:grid;gap:12px}.calls-record-dialog .notice{margin:0}.calls-record-dialog>.btn{width:100%}.calls-record-pending{display:grid;gap:9px;margin:4px 0}.calls-record-pending>span{display:flex;align-items:center;gap:8px;font-size:13px}
.tile .nameplate .calls-tile-status{display:flex;gap:7px;align-items:center;max-width:none}.tile .nameplate .calls-translation-badge{display:flex;align-items:center;gap:4px;padding:0;border-radius:0;background:none;white-space:nowrap;max-width:none}.calls-translation-badge .calls-language-flag{width:20px;height:14px}.calls-translation-badge b{font-size:10px;font-weight:500}.calls-secondary .calls-translation-badge b{display:none}.calls-option-card:focus-visible{outline:2px solid #1458ff;outline-offset:2px}@media(max-width:800px){.calls-option-card{background:#e3effb;padding:12px}.calls-option-card[aria-checked=true]{background:#d3e5ff}.calls-consent-request{gap:7px;padding:9px}.calls-translation-badge .calls-language-flag{width:17px;height:12px}}

.calls-terms-notice{font-size:12px;line-height:1.55;color:#47668b;margin:8px 0}.calls-terms-notice a{color:#0d4ed1;text-decoration:underline;text-underline-offset:2px}.calls-create-options[open]{display:block}.calls-create-options[open]>*+*{margin-top:12px}.calls-create-options .calls-option-card{padding:12px}.calls-create-options .settings-field{gap:6px}

.calls-cabinet-entry{display:inline-flex;align-items:center;padding:8px 10px;font-size:12px;color:#315f9b;border-radius:10px}.calls-cabinet-entry:hover{background:#c8e0fa88}@media(max-width:440px){.calls-cabinet-entry{padding:8px 5px;font-size:11px}}

/* Align dialog headings with fields and use one spacing rhythm for actions. */
.dialog .panel-head{padding:0 0 16px;margin-bottom:16px;gap:16px}
.dialog form{gap:16px}.dialog .settings-field{gap:8px;margin:0}
.dialog .calls-policy-row{margin-bottom:0;gap:14px}
.dialog .btn{padding:10px 16px;min-height:44px;gap:9px;line-height:1.4}
.dialog .btn>.icon{flex:none;width:20px;height:20px}
.dialog .calls-policy-row .btn{padding:8px 12px;min-height:38px;font-size:12px}
.dialog .calls-translation-actions{gap:12px}.dialog .calls-translation-actions>.btn{padding:10px 14px}
.dialog .calls-create-options summary{padding:8px 0}.dialog .calls-option-card{gap:12px;padding:14px}
@media(max-width:800px){.dialog .panel-head{padding-bottom:14px;margin-bottom:14px}.dialog form{gap:14px}.dialog .btn{padding:10px 14px}.dialog .calls-option-card{padding:12px;gap:10px}}
.calls-audio-notice{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:12px 16px}.calls-audio-notice[hidden]{display:none}.calls-audio-notice .btn{min-height:44px;padding:10px 16px;gap:8px}.calls-output-help{line-height:1.6;margin:0;padding:12px 14px}
.calls-mic-gain .calls-volume-row{grid-template-columns:minmax(0,1fr) 44px}.calls-mic-gain small{font-size:12px;line-height:1.5;margin:0}

/* Keep the meeting name and its cabinet shortcut beside the Call brand. */
.calls-header-context{display:flex;align-items:center;gap:16px;flex:1;min-width:0}
.calls-header-title{font-size:18px;line-height:1.35;font-weight:650;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.calls-header-context .calls-cabinet-entry{flex:none;white-space:nowrap;min-height:40px;padding:10px 12px}
.in-call .call-meta{justify-content:flex-end;min-height:24px;gap:12px;font-size:12px}
.calls-header-context .calls-cabinet-entry:focus-visible{outline:2px solid #1458ff;outline-offset:2px}
@media(max-width:800px){.in-call .ux-topbar{flex-wrap:wrap;gap:10px 12px}.calls-header-context{order:3;flex-basis:100%;gap:12px;padding:0 4px}.calls-header-title{font-size:16px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}.calls-header-context .calls-cabinet-entry{margin-left:auto;min-height:40px;font-size:12px;padding:10px 12px}.in-call .call-meta{padding:0 4px}}
.calls-email-card{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:22px;border:1px solid #ffffffb0;border-radius:20px;background:#e0edff80;color:var(--ink,#142b48)}
.calls-email-heading{display:flex;align-items:center;gap:12px;width:100%;min-width:0}.calls-email-heading>.icon{width:24px;height:24px;flex:none;color:#315f9b}.calls-email-heading>div{min-width:0}.calls-email-heading h2{font-size:16px;line-height:1.4;margin:0}.calls-email-address{margin:6px 0 0;font-size:14px;overflow-wrap:anywhere;line-height:1.5}
.calls-email-status{font-size:12px;line-height:1.4;padding:6px 10px;border-radius:20px;background:#fbefd5;color:#755517}.calls-email-status.is-verified{background:#d7efe5;color:#17634a}.calls-email-notice{margin:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.calls-email-notice[role=alert]{color:#943a44}.calls-email-actions{display:flex;gap:12px;flex-wrap:wrap;width:100%}.calls-email-card .calls-email-actions .btn{min-height:44px;padding:10px 16px;gap:9px;justify-content:center}.calls-email-card .calls-email-actions .btn .icon{width:18px;height:18px;flex:none}.calls-email-card .calls-email-actions .btn:disabled{opacity:.55;cursor:default}.calls-static-glass .calls-email-card{background:#e3effb}
@media(max-width:600px){.calls-email-card{padding:18px;gap:14px}.calls-email-actions{flex-direction:column;gap:10px}.calls-email-actions>.btn{width:100%}}
/* Company tools share the meeting controls and spacing. */
.calls-task-form,.cab-key-form{display:grid;gap:16px}.calls-field{display:grid;gap:8px;margin:0;min-width:0}.calls-task-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.calls-task-form input,.calls-task-form textarea,.cab-key-form input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #adc6e2;border-radius:12px;padding:11px 13px;background:#ffffff66;color:#112a49;font:inherit}.calls-task-form textarea{resize:vertical}.calls-task-form .notice{margin:0;font-size:12px;line-height:1.5}.calls-note-task{width:100%;margin-top:14px;justify-content:center}.calls-select-search{position:sticky;top:0;z-index:1;display:block;box-sizing:border-box;width:100%;min-height:40px;margin:0 0 6px;padding:9px 12px;border:1px solid #abc3df;border-radius:9px;background:#e3eefb;color:#122840;font:inherit}.calls-select-popup>[hidden]{display:none!important}.calls-select-popup>button:focus{outline:2px solid #1458ff;outline-offset:-2px}
@media(max-width:520px){.calls-task-columns{grid-template-columns:1fr;gap:14px}}

.calls-voice-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:278px;overflow-y:auto;overscroll-behavior:contain;padding:4px;border:1px solid #b7cee9;border-radius:16px;background:#e3effba8;scrollbar-width:thin}
.calls-voice-card{position:relative;display:flex;align-items:center;gap:9px;min-width:0;min-height:62px;padding:7px 9px;border:1px solid #abc7e4;border-radius:13px;background:#f4f9ff9c;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.calls-voice-card:hover{background:#fff9}.calls-voice-card:has(input:checked){border-color:#2372ff;background:#d7e8ff;box-shadow:inset 0 0 0 1px #2372ff55}.calls-voice-card:focus-within{outline:2px solid #1458ff;outline-offset:1px}
.calls-voice-card input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.calls-voice-face,.calls-voice-portrait,.calls-voice-placeholder{display:block;flex:none;width:42px;height:42px;border-radius:50%}.calls-voice-face{overflow:hidden;background:#cedff7}.calls-voice-portrait{background-size:500% 500%;background-repeat:no-repeat}.calls-voice-placeholder{display:grid;place-items:center;color:#2456a6;font-weight:700;background:#c8ddfa}
.calls-voice-details{display:flex;flex-direction:column;min-width:0;gap:2px}.calls-voice-details strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.25}.calls-voice-details small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#557397;font-size:11px;line-height:1.2}.calls-voice-caption{margin:2px 0 0;color:#617c9c;font-size:11px;line-height:1.3}
@media(max-width:440px){.calls-voice-gallery{gap:6px;max-height:260px}.calls-voice-card{gap:7px;padding:6px;min-height:54px}.calls-voice-face,.calls-voice-portrait,.calls-voice-placeholder{width:36px;height:36px}.calls-voice-details strong{font-size:12px}}
/* One invitation and one header row for meeting status. */
.calls-invitation-actions{display:flex;gap:12px;flex-wrap:wrap}.calls-invitation-actions>.btn{flex:1;justify-content:center;min-width:0}.calls-invitation-text{box-sizing:border-box;width:100%;min-height:126px;padding:14px 16px;line-height:1.7;resize:vertical;overflow-wrap:anywhere;font:inherit;font-size:14px;border:1px solid #adc6e2;border-radius:14px;background:#eef6ff80;color:#142b48}
.in-call .ux-topbar>.call-meta{display:flex;align-items:center;flex-wrap:nowrap;flex:none;gap:10px;min-height:0;margin:0;padding:0;font-size:12px;white-space:nowrap}.call-meta #duration{font-variant-numeric:tabular-nums}.call-meta #recording-state:empty{display:none}.in-call .ux-topbar{gap:16px}.in-call .call-area{padding-top:0}
@media(max-width:800px){.in-call .ux-topbar{gap:10px}.in-call .ux-topbar>.call-meta{margin-left:auto;gap:6px;font-size:11px}.in-call .ux-topbar>.header-right{gap:4px}.in-call .ux-topbar .calls-account-avatar{display:none}.in-call .ux-topbar .brand{padding:8px 10px;gap:6px}.in-call .ux-topbar .brand img{width:30px;height:30px}.in-call .ux-topbar .brand span{font-size:16px}.in-call .ux-topbar .header-right .icon-btn{width:34px;height:36px;min-width:34px;min-height:36px}.in-call .ux-topbar #connection-state{max-width:80px;overflow:hidden;text-overflow:ellipsis}.calls-invitation-actions{gap:10px}.calls-invitation-text{font-size:16px}}
@media(max-width:380px){.in-call .ux-topbar{gap:6px}.in-call .ux-topbar>.call-meta{gap:4px;font-size:10px}.in-call .ux-topbar #connection-state{max-width:68px}.in-call .ux-topbar .header-right .calls-account{font-size:11px;padding:8px}.calls-invitation-actions>.btn{flex-basis:100%}}
@media(max-width:440px){.in-call .ux-topbar>.header-right{padding:6px;gap:2px}.in-call .ux-topbar>.brand{max-width:calc(100vw - 214px);min-width:0;flex-shrink:1;box-sizing:border-box}.in-call .ux-topbar>.brand>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.in-call .ux-topbar #connection-state{display:inline-flex;align-items:center;font-size:0;width:7px;min-width:7px;height:20px;overflow:visible}.in-call .ux-topbar #connection-state:before{content:'';display:block;width:7px;height:7px;border-radius:50%;background:#8498b4}.in-call .ux-topbar #connection-state[data-state=connected]:before{background:#239569}.in-call .ux-topbar #connection-state[data-state=connecting]:before,.in-call .ux-topbar #connection-state[data-state=reconnecting]:before{background:#be8530}.in-call .ux-topbar>.call-meta{gap:5px}}
@media(max-width:440px){.in-call .ux-topbar #recording-state{font-size:0;width:8px;height:8px;min-height:8px;min-width:8px;padding:0;overflow:hidden;border-radius:50%;background:#ec3b61}.in-call .ux-topbar #recording-state[hidden]{display:none}}
@media(max-width:440px){.in-call .ux-topbar #recording-state[data-state=ready]{background:#239569}.in-call .ux-topbar #recording-state[data-state=failed]{background:#be8530}}

/* The entry shell is available before authentication and meeting bundles. */
.calls-startup{width:min(480px,calc(100% - 32px));margin:12vh auto;padding:28px;border-radius:24px}.calls-startup h1{margin:0 0 12px}.calls-startup p{margin:0;color:var(--muted,#547299)}

.prejoin{grid-template-areas:"preview details"}
.prejoin .preview-card{grid-area:preview;min-width:0}
.prejoin .join-content{grid-area:details;min-width:0}
@media(max-width:720px){
  .prejoin{grid-template-areas:"details" "preview";align-items:start;padding-bottom:max(18px,env(safe-area-inset-bottom))}
  .prejoin .join-content h1{margin:0 0 14px}
  #join-form input{font-size:16px}
}
.calls-phone-invite-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.calls-phone-invite-list[hidden]{display:none}
.calls-phone-invite-list>li{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;padding:9px 12px;border-radius:12px;background:#e9f3ff;color:#25466e;font-size:13px}
.calls-phone-retry{display:flex;align-items:center;gap:10px;line-height:1.45;font-size:13px}
.calls-phone-retry input{flex:none;width:18px;height:18px;accent-color:#1458ff}
.calls-whisper-notice:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 10px;padding:8px 12px;border-radius:14px;background:#e9f0ff;color:#183d7f}
.calls-whisper-notice>span{flex:1 1 160px;overflow-wrap:anywhere}
.calls-whisper-notice>.btn{min-height:36px;padding:6px 10px}

/* Sabian is exposed only when the Calls API advertises the room feature. */
.in-call .room-dock > [data-action=sabian]{order:65}
.tool[data-action=sabian] .calls-sabian-portrait{display:block;width:27px;height:27px;flex:none;border-radius:50%;background:#080c12 url("./sabian-portrait.webp") center 37%/114% auto no-repeat}
@media(max-width:800px){html.calls-matte .in-call .toolbar.room-dock:has(>[data-action=sabian]){grid-template-columns:repeat(5,minmax(0,1fr))}}

/* The three entry surfaces share one quiet perimeter over the camera preview. */
html.calls-matte #app :is(.studio-lobby-shell .header-right,.studio-lobby .join-content,.studio-lobby .preview-controls){
  border:1px solid rgba(225,237,250,.29) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 6px 20px rgba(0,0,0,.20) !important;
}
html.calls-matte #app :is(.studio-lobby-shell .header-right,.studio-lobby .join-content,.studio-lobby .preview-controls)::after{
  content:none !important;
  animation:none !important;
}
