/* Scoped pre-call and live-call dialog. */
html body #home-agent-dialog{--call-bg:#fff;--call-soft:#f6f6f3;--call-text:#252525;--call-muted:#737373;--call-line:#e8e8e4;--call-btn:#242424;--call-btn-text:#fff;width:min(960px,calc(100% - 48px));max-width:960px;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid var(--call-line);border-radius:22px;background:var(--call-bg)!important;color:var(--call-text)!important;box-shadow:0 32px 120px #0005;text-align:left;overflow:auto;scrollbar-width:thin;font-family:"Adgebs Poppins",Arial,sans-serif!important}
html[data-theme="dark"] body #home-agent-dialog{--call-bg:#191919;--call-soft:#202020;--call-text:#eee;--call-muted:#aaa;--call-line:#343434;--call-btn:#eee;--call-btn-text:#1a1a1a}
#home-agent-dialog::backdrop{background:#0009;backdrop-filter:blur(12px)}html body #home-agent-dialog .agent-dialog-content{background:var(--call-bg)!important;color:var(--call-text)!important}html body #home-agent-dialog :is(h2,h3,p,label,span,a,button){font-family:"Adgebs Poppins",Arial,sans-serif!important}
html body #home-agent-dialog .agent-dialog-heading{padding:23px 28px;gap:20px;border-bottom:1px solid var(--call-line);background:var(--call-bg)!important}html body #home-agent-dialog .agent-dialog-heading>div>span{display:block;font-size:10px;letter-spacing:.02em;color:var(--call-muted)!important;margin-bottom:6px}html body #home-agent-dialog .agent-dialog-heading h2{font-size:20px;line-height:1.5;letter-spacing:-.035em;margin:0;font-weight:500;color:var(--call-text)!important}
html body #home-agent-dialog #home-agent-close{width:34px;height:34px;flex:0 0 34px;border:1px solid var(--call-line);border-radius:50%;background:transparent!important;color:var(--call-muted)!important;display:grid;place-items:center;padding:8px;cursor:pointer;box-shadow:none;transition:background .18s}#home-agent-dialog #home-agent-close:hover{background:var(--call-soft)!important}#home-agent-dialog #home-agent-close .ui-icon{width:14px;height:14px;opacity:.7}html[data-theme="dark"] #home-agent-dialog #home-agent-close .ui-icon{filter:brightness(0) invert(1)}#home-agent-dialog #home-agent-close:focus-visible{outline:2px solid var(--call-muted);outline-offset:4px}
html body #home-agent-dialog #avatar-placeholder{display:grid;grid-template-columns:46% 54%;align-items:stretch;background:var(--call-bg)!important;padding:0;border:0}html body #home-agent-dialog #avatar-placeholder[hidden]{display:none!important}html body #home-agent-dialog .agent-dialog-placeholder>img{width:100%;height:100%;min-height:330px;object-fit:cover;object-position:50% 40%;display:block}html body #home-agent-dialog .agent-prejoin{padding:34px 36px;background:var(--call-bg)!important;text-align:left;display:flex;flex-direction:column;justify-content:center}html body #home-agent-dialog .agent-prejoin-eyebrow{display:block;font-size:9px;letter-spacing:.08em;color:var(--call-muted)!important;margin-bottom:15px}html body #home-agent-dialog .agent-prejoin h3{font-size:25px;line-height:1.45;letter-spacing:-.045em;font-weight:500;color:var(--call-text)!important;margin:0 0 16px}html body #home-agent-dialog .agent-prejoin p{font-size:12px;line-height:1.95;color:var(--call-muted)!important;margin:0}html body #home-agent-dialog .agent-prejoin-hint{margin-top:22px;padding-top:16px;border-top:1px solid var(--call-line);font-size:10px;line-height:1.8;color:var(--call-muted)!important}html body #home-agent-dialog .agent-prejoin .btn{margin-top:18px;align-self:flex-start}
html body #home-agent-dialog .agent-dialog-actions{padding:24px 28px 22px;border-top:1px solid var(--call-line);background:var(--call-bg)!important}html body #home-agent-dialog .consent-check{display:flex;align-items:flex-start;gap:12px;width:100%;max-width:none;padding:15px 17px;margin:0 0 20px;border:1px solid var(--call-line);border-radius:11px;background:var(--call-soft)!important;font-size:11px;line-height:1.85;color:var(--call-text)!important;font-weight:400;cursor:pointer}html body #home-agent-dialog .consent-check input{appearance:none;flex:0 0 18px!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:1px 0 0!important;border:1px solid #888!important;border-radius:5px!important;background:transparent;display:grid;place-content:center;cursor:pointer}html body #home-agent-dialog .consent-check input:checked{background:var(--call-btn)!important;border-color:var(--call-btn)!important}html body #home-agent-dialog .consent-check input:checked:after{content:'';display:block;width:5px;height:9px;border:solid var(--call-btn-text)!important;border-width:0 1.5px 1.5px 0!important;transform:translateY(-1px) rotate(45deg)}html body #home-agent-dialog .consent-check input:focus-visible{outline:2px solid var(--call-muted);outline-offset:3px}
html body #home-agent-dialog .agent-dialog-buttons{display:flex;align-items:center;gap:14px;flex-wrap:wrap}html body #home-agent-dialog .agent-dialog-buttons .btn,html body #home-agent-dialog .agent-prejoin .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:45px;font-size:12px;font-weight:500;padding:12px 21px;border-radius:10px;box-shadow:none}html body #home-agent-dialog .btn-primary{background:var(--call-btn)!important;color:var(--call-btn-text)!important;border:1px solid var(--call-btn)!important}html body #home-agent-dialog .btn-outline-primary{background:transparent!important;color:var(--call-text)!important;border:1px solid var(--call-line)!important}#home-agent-dialog .btn-primary .ui-icon{width:16px;height:16px}html[data-theme="light"] #home-agent-dialog .btn-primary .ui-icon{filter:brightness(0) invert(1)}html body #home-agent-dialog .agent-dialog-buttons .arrow-link{font-size:10px;color:var(--call-muted)!important;margin-left:auto;text-decoration:none;line-height:1.8}#home-agent-dialog .arrow-link:hover{text-decoration:underline!important}html body #home-agent-dialog #avatar-status{font-size:10px;color:var(--call-muted)!important;margin:15px 0 0;line-height:1.8}html body #home-agent-dialog #avatar-frame-container{min-height:420px;background:#101010}html body #home-agent-dialog #avatar-frame-container[hidden]{display:none!important}html body #home-agent-dialog #avatar-frame-container iframe{width:100%;height:min(60dvh,620px);min-height:360px;display:block;border:0}#home-agent-dialog button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:767px){html body #home-agent-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:17px}html body #home-agent-dialog .agent-dialog-heading{padding:18px 20px}html body #home-agent-dialog .agent-dialog-heading h2{font-size:16px;max-width:240px}html body #home-agent-dialog #avatar-placeholder{grid-template-columns:1fr}html body #home-agent-dialog .agent-dialog-placeholder>img{height:210px;min-height:210px;max-height:210px;object-position:center 35%}html body #home-agent-dialog .agent-prejoin{padding:23px 22px}html body #home-agent-dialog .agent-prejoin h3{font-size:22px;margin-bottom:13px}html body #home-agent-dialog .agent-prejoin-eyebrow{font-size:8px;margin-bottom:11px}html body #home-agent-dialog .agent-prejoin p{font-size:11px}html body #home-agent-dialog .agent-prejoin-hint{margin-top:16px;padding-top:12px;font-size:9px}html body #home-agent-dialog .agent-dialog-actions{padding:20px}html body #home-agent-dialog .consent-check{font-size:10px;padding:13px;gap:10px}html body #home-agent-dialog .agent-dialog-buttons{flex-direction:column;align-items:stretch;gap:15px}html body #home-agent-dialog .agent-dialog-buttons .btn{width:100%;min-height:46px}html body #home-agent-dialog .agent-dialog-buttons .arrow-link{margin:0;text-align:center;font-size:10px}html body #home-agent-dialog #avatar-status{text-align:center;font-size:9px}html body #home-agent-dialog #avatar-frame-container{min-height:330px}html body #home-agent-dialog #avatar-frame-container iframe{min-height:330px}}
@media(prefers-reduced-motion:no-preference){#home-agent-dialog[open]{animation:call-dialog-in .2s ease-out}@keyframes call-dialog-in{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}}/* Full-bleed avatar card with a single pre-call action. */
html body #home-agent-dialog{width:min(1060px,calc(100% - 40px));max-width:1060px;height:min(700px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);overflow:hidden;background:#111!important;border-color:#ffffff20;border-radius:22px}
html body #home-agent-dialog .agent-dialog-content{position:relative;height:100%;background:#111!important;isolation:isolate}
html body #home-agent-dialog .agent-dialog-heading{position:absolute;inset:0 0 auto;z-index:5;display:block;height:65px;padding:0!important;border:0;background:transparent!important;pointer-events:none}
html body #home-agent-dialog .agent-dialog-heading>div{display:none!important}html body #home-agent-dialog #home-agent-close{position:absolute;right:18px;top:18px;pointer-events:auto;background:#14141470!important;border:1px solid #ffffff35!important;color:#fff!important;backdrop-filter:blur(12px)}html body #home-agent-dialog #home-agent-close .ui-icon{filter:brightness(0) invert(1)!important}
html body #home-agent-dialog #avatar-placeholder{position:absolute;inset:0;display:block!important;background:#111!important;height:100%;width:100%}html body #home-agent-dialog #avatar-placeholder[hidden]{display:none!important}html body #home-agent-dialog .agent-dialog-placeholder>img{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover;object-position:50% 38%;display:block}html body #home-agent-dialog .agent-prejoin{display:none!important}
html body #home-agent-dialog .agent-dialog-actions{position:absolute;z-index:4;inset:auto 0 0;padding:95px 32px 30px!important;border:0;background:linear-gradient(transparent,rgba(0,0,0,.65) 40%,rgba(0,0,0,.83))!important;display:flex;flex-direction:column;align-items:center;gap:17px}
html body #home-agent-dialog .consent-check{width:auto;max-width:690px;padding:0!important;margin:0!important;background:transparent!important;border:0;border-radius:0;color:#f3f3f3!important;font-size:11px;line-height:1.9;gap:11px;align-items:flex-start;text-shadow:0 1px 4px #0008}
html body #home-agent-dialog .consent-check input[type="checkbox"]{background:#ffffff12!important;border:1px solid #ffffffa0!important;flex-shrink:0!important;margin-top:2px!important}html body #home-agent-dialog .consent-check input[type="checkbox"]:checked{background:#f5f5f5!important;border-color:#f5f5f5!important}html body #home-agent-dialog .consent-check input[type="checkbox"]:checked:after{border-color:#171717!important}
html body #home-agent-dialog .agent-dialog-buttons{justify-content:center;width:100%;gap:12px}html body #home-agent-dialog .agent-dialog-buttons .arrow-link{display:none!important}html body #home-agent-dialog .agent-dialog-buttons .btn{padding:13px 28px!important;min-height:48px;min-width:210px;font-size:12px;border-radius:12px;background:#f5f5f5!important;color:#171717!important;border:1px solid #ffffffb0!important;box-shadow:0 5px 25px #0002!important}html body #home-agent-dialog .btn-primary .ui-icon{filter:none!important}html body #home-agent-dialog #avatar-status{display:none;margin:0!important;font-size:11px;color:#fff!important;text-align:center;text-shadow:0 1px 4px #0009}
html body #home-agent-dialog #avatar-frame-container{position:absolute;inset:0;min-height:0!important;background:#111;height:100%}html body #home-agent-dialog #avatar-frame-container iframe{height:100%!important;min-height:0!important;width:100%;border:0}
html body #home-agent-dialog:has(#avatar-frame-container:not([hidden])) .agent-dialog-actions{padding:45px 20px 18px!important}html body #home-agent-dialog:has(#avatar-frame-container:not([hidden])) .consent-check{display:none!important}html body #home-agent-dialog:has(#avatar-frame-container:not([hidden])) .agent-dialog-buttons .btn{min-height:39px;min-width:140px;font-size:11px;padding:9px 18px!important}
@media(max-width:767px){html body #home-agent-dialog{width:calc(100% - 24px);height:min(680px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);border-radius:18px}html body #home-agent-dialog .agent-dialog-placeholder>img{object-position:50% 36%!important}html body #home-agent-dialog .agent-dialog-actions{padding:100px 22px 26px!important;gap:18px}html body #home-agent-dialog .consent-check{font-size:10px;line-height:1.9;max-width:340px}html body #home-agent-dialog .agent-dialog-buttons .btn{width:100%;max-width:340px;min-height:48px}html body #home-agent-dialog .agent-dialog-buttons{align-items:center}html body #home-agent-dialog #home-agent-close{right:13px;top:13px}}/* Live controls occupy a dedicated strip; overlays never intercept iframe input. */
html body #home-agent-dialog:has(#avatar-frame-container:not([hidden])) #avatar-frame-container{bottom:72px!important;height:auto!important}
html body #home-agent-dialog:has(#avatar-frame-container:not([hidden])) .agent-dialog-actions{height:72px!important;padding:13px 20px!important;background:#151515!important;gap:0;justify-content:center;pointer-events:none}
html body #home-agent-dialog:has(#avatar-frame-container:not([hidden])) .agent-dialog-actions .agent-dialog-buttons{pointer-events:none}html body #home-agent-dialog:has(#avatar-frame-container:not([hidden])) .agent-dialog-actions button{pointer-events:auto}
html body #home-agent-dialog #avatar-status{pointer-events:none}html body #home-agent-dialog:has(#avatar-frame-container:not([hidden])) #avatar-status{position:absolute;bottom:76px;left:15px;right:15px;background:#151515dd;border-radius:8px;padding:8px!important;font-size:10px;color:#fff!important;z-index:6}
.call-device-notice{position:absolute;z-index:30;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(440px,calc(100% - 32px));padding:26px;background:#202020;color:#eee;border:1px solid #555;border-radius:16px;box-shadow:0 15px 90px #0009;font-family:"Adgebs Poppins",Arial,sans-serif}.call-device-notice h3{font-size:17px!important;color:#eee!important;font-family:inherit!important}.call-device-notice p{font-size:12px;color:#ccc!important;line-height:1.9}.call-device-notice>div{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.call-device-notice button{font:500 11px "Adgebs Poppins",Arial,sans-serif;color:#eee;background:#303030;border:1px solid #555;border-radius:8px;padding:10px 13px;cursor:pointer}.call-device-notice button:nth-child(2){background:#eee;color:#202020;border-color:#eee}.call-device-notice button:focus-visible{outline:2px solid #eee;outline-offset:3px}/* First-party call interface; no provider lobby or nested prejoin UI. */
.native-call-stage{position:absolute;inset:0;background:#121212;overflow:hidden;font-family:"Adgebs Poppins",Arial,sans-serif;color:#eee;isolation:isolate}.native-call-avatar{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}.native-call-waiting{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;background:radial-gradient(ellipse at 50% 42%,#252525,#111 70%);z-index:2;text-align:center;padding:30px}.native-call-waiting[hidden]{display:none!important}.native-call-waiting strong{font-size:18px;font-weight:500;letter-spacing:-.03em}.native-call-waiting>span{font-size:11px;color:#a5a5a5;line-height:1.8}.native-call-pixels{display:grid;grid-template-columns:repeat(3,6px);gap:4px;margin-bottom:12px;transform:rotate(-8deg)}.native-call-pixels i{width:6px;height:6px;background:#e6e6e6;animation:native-pixels 1.6s ease-in-out infinite;animation-delay:calc(var(--i)*90ms)}@keyframes native-pixels{0%,100%{opacity:.2;transform:scale(.7)}45%{opacity:1;transform:scale(1)}}.native-call-badge{position:absolute;top:20px;left:20px;z-index:3;font-size:10px;font-weight:500;letter-spacing:.01em;color:#eee;background:#1515158c;border:1px solid #ffffff18;border-radius:20px;padding:8px 13px;pointer-events:none}.native-call-tools{position:absolute;z-index:4;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:10px;padding:8px;border:1px solid #ffffff15;background:#151515c9;backdrop-filter:blur(8px);border-radius:30px}.native-call-control{display:grid;place-items:center;width:40px;height:40px;padding:11px;border:1px solid #ffffff15;border-radius:50%;background:#2a2a2a;color:#eee;cursor:pointer;transition:background .18s}.native-call-control:hover{background:#444}.native-call-control svg{width:19px;height:19px}.native-call-control.is-off{background:#eee;color:#222}.native-call-control:focus-visible{outline:2px solid #ddd;outline-offset:3px}.native-call-control:disabled{opacity:.5}.native-call-self{position:absolute;bottom:95px;right:20px;width:160px;height:106px;object-fit:cover;border:1px solid #ffffff30;border-radius:12px;background:#202020;z-index:3;transform:scaleX(-1)}.native-call-self[hidden]{display:none!important}.native-call-stage:fullscreen .native-call-avatar{object-fit:contain}.native-call-stage:fullscreen .native-call-tools{bottom:25px}
html body #home-agent-dialog:has(.native-call-stage) #avatar-status{bottom:76px;max-width:500px;margin:auto!important;left:20px;right:20px}html body #home-agent-dialog:has(.native-call-stage) #home-agent-close{z-index:10}
@media(max-width:767px){.native-call-waiting strong{font-size:15px}.native-call-waiting>span{font-size:10px}.native-call-badge{top:17px;left:14px;font-size:8px;padding:7px 10px;max-width:245px}.native-call-self{right:14px;bottom:91px;width:110px;height:82px}.native-call-tools{bottom:17px;gap:9px}.native-call-control{width:39px;height:39px}.native-call-waiting{padding:24px}}
@media(prefers-reduced-motion:reduce){.native-call-pixels i{animation:none;opacity:.8}.native-call-control{transition:none}}.workspace-video #avatar-frame-container{position:relative;min-height:440px}.workspace-video #avatar-frame-container .native-call-stage{position:absolute;inset:0}.native-call-stage audio{display:none}