:root{color-scheme:dark;--ink:#eef5f3;--muted:#8ba09b;--line:#223b36;--green:#34d399;--deep:#071411;--chat-background-color:#091814;--chat-background-image:radial-gradient(#1b3730 1px,transparent 1px);--chat-background-size:24px 24px}*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;height:100%;background:var(--deep);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}body{max-width:1080px;margin:auto;display:flex;flex-direction:column;border-inline:1px solid #19342d;box-shadow:0 0 100px #0008}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;padding:9px 13px;border:1px solid #29483f;border-radius:12px;background:#132c25;color:#b7e8d7;font-size:13px}button:hover{background:#1b4436}button:disabled{opacity:.4;cursor:default}a{color:#6ee7b7}input,textarea,select{color:var(--ink);background:#102720;border:1px solid #29483f;border-radius:12px;padding:10px;font-size:16px;min-width:0;max-width:100%}label{display:grid;gap:6px;margin:10px 0;font-size:13px}form{margin:0}textarea{resize:vertical}h1{font-size:20px;margin:0 0 8px}h2{font-size:16px;margin:0 0 8px}h3{font-size:15px;margin:0 0 6px}p{line-height:1.45;overflow-wrap:anywhere}small,.muted{color:var(--muted);font-size:12px}header{height:74px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:0 25px;background:#0d211cf2;border-bottom:1px solid var(--line)}header>div{display:grid;gap:3px}header strong{font-size:15px}header span{font-size:12px;color:var(--muted)}header nav{display:flex;gap:10px;align-items:center}#notice{flex-shrink:0;margin:0;padding:0 18px;color:#fed7aa;font-size:13px;background:#0d211c}#notice:not(:empty){padding-block:8px}.panel{padding:20px}.auth{width:min(480px,100%);margin:30px auto;overflow:auto;max-height:calc(100dvh - 120px)}#auth{overflow:auto}#workspace{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;background-color:var(--chat-background-color);background-image:var(--chat-background-image);background-size:var(--chat-background-size)}#scoNavigation{display:flex;gap:8px;align-items:center;padding:9px 20px;flex-shrink:0;border-bottom:1px solid var(--line);background:#0d211c}#scoNavigation button[aria-pressed=true]{border-color:#34d399;color:#6ee7b7}#lobby{flex:1;min-height:0;overflow-y:auto;padding:26px clamp(16px,5vw,72px)}.sectionHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.sectionHead p{font-size:12px;color:var(--muted);margin:3px 0 12px}.offer{border:1px solid #29483f;border-radius:6px 17px 17px 17px;background:#132c25;padding:16px;margin:12px 0}.offer p{font-size:14px;white-space:pre-wrap}.offerActions{display:flex;flex-wrap:wrap;gap:7px}.badge{display:inline-block;border:1px solid #277d65;border-radius:99px;padding:3px 8px;font-size:11px;color:#72d9b3}.secondary{padding:4px 8px;font-size:11px}#customersPanel{position:absolute;top:54px;left:12px;width:min(360px,calc(100% - 24px));max-height:calc(100% - 66px);overflow:auto;z-index:20;background:#0d211c;border:1px solid #29483f;border-radius:16px;box-shadow:0 16px 50px #0008}.customer{display:grid;text-align:left;gap:4px;width:100%;margin:8px 0}.customer.selected{border-color:#34d399}#inviteResult{border-block:1px solid var(--line);margin:12px 0;padding:12px 0}#inviteResult img{display:block;margin:12px auto;background:white}#chat{flex:1;min-height:0;display:flex;flex-direction:column;padding:0}#chat>.sectionHead{padding:12px 20px 0;background:#0d211c}#chat .tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 20px;border-bottom:1px solid var(--line);background:#0d211c}#chat .tools label{display:flex;align-items:center;gap:6px;margin:0 0 0 auto;font-size:12px}#chat .tools select{padding:5px;font-size:12px}#messages{flex:1;min-height:100px;overflow:auto;padding:20px clamp(16px,5vw,72px);display:flex;flex-direction:column;align-items:flex-start}.message{max-width:min(82%,560px);padding:10px 13px 7px;margin:5px 0;border:1px solid #29483f;border-radius:6px 17px 17px 17px;background:#132c25;overflow-wrap:anywhere}.message.mine{align-self:flex-end;border-color:#277d65;background:#17634f;border-radius:17px 6px 17px 17px}.message p{white-space:pre-wrap;margin:5px 0;font-size:14px}.message small{display:block;font-size:10px;color:#a6bbb5}.message audio{max-width:100%;width:260px;display:block;margin:8px 0}#messageForm{flex-shrink:0;display:grid;grid-template-columns:1fr auto;gap:8px;padding:15px clamp(16px,4vw,44px);border-top:1px solid var(--line);background:#0d211c}#messageForm textarea{grid-column:1;min-height:45px;max-height:120px;height:45px;border-radius:18px}#messageForm>button{grid-column:2;grid-row:2;background:var(--green);color:#062019;border:0;border-radius:16px}#messageForm label{grid-column:1/-1;display:flex;align-items:center;gap:8px;margin:0;font-size:11px}#attachment{padding:0;border:0;font-size:11px}#offerContext{grid-column:1/-1;margin:0;font-size:12px;color:#72d9b3}#offerContext:empty{display:none}#customerActions{display:flex;gap:6px;align-items:center}#customerActions select{font-size:12px;padding:5px}#dealControls,#deals{padding:0 20px;background:#0d211c;font-size:12px}#deals p{margin:6px 0}details summary{padding:10px 0;cursor:pointer}#offerForm{padding:15px;background:#0d211c;border:1px solid var(--line);border-radius:14px;margin-bottom:16px}.call{position:fixed;inset:85px 16px auto;z-index:50;max-width:800px;margin:auto;background:#0d211c;border:1px solid #277d65;border-radius:16px;box-shadow:0 20px 80px #000b}.call video{width:70%;max-height:55vh;background:#071411}.call #localVideo{width:25%;vertical-align:top}.call button{margin:4px}body.embedded{max-width:none;border:0;box-shadow:none}body.embedded>header{display:none}@media(max-width:600px){body{border:0}header{height:64px;padding:0 16px}header nav{font-size:11px}.panel{padding:16px}#chat>.sectionHead{padding-inline:12px}#chat .tools{padding-inline:12px}#customerActions{flex-direction:column}#scoNavigation{padding-inline:12px}.message{max-width:92%}#messageForm{padding:10px 12px}.sectionHead{gap:8px}#chat .tools label{margin-left:0}.call video{width:100%}.call #localVideo{width:30%}}
#messageForm{grid-template-areas:'context context' 'text send' 'file file'}#offerContext{grid-area:context}#messageForm textarea{grid-area:text}#messageForm>button{grid-area:send}#messageForm label{grid-area:file}

#privateEncryptionNotice{padding:0 20px}#unlockPrivate{padding:12px 20px;display:grid;gap:8px}#unlockPrivate[hidden]{display:none}

/* The owner sees customers on the left and one private conversation on the right. */
#workspace.admin{display:grid;grid-template-columns:var(--sco-sidebar-width,280px) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
#workspace.admin>#scoNavigation{grid-column:2;grid-row:1}
#workspace.admin>#customersPanel{position:static;grid-column:1;grid-row:1 / 3;display:flex;flex-direction:column;min-height:0;width:auto;max-height:none;overflow:hidden;padding:9px 14px 14px;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;background:#0d211c;z-index:2}
#workspace.admin>#lobby,#workspace.admin>#chat{grid-column:2;grid-row:2;min-width:0}
#workspace.admin #showCustomers{display:none}
.customersHeading{display:flex;align-items:center;justify-content:space-between;gap:8px}.customersHeading h2{margin:0}.customerSearch{margin:12px 0}.customerSearch>span{font-size:12px}
#workspace.admin #customers{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}
#workspace.admin .customer{border-radius:10px;margin:3px 0;padding:12px 10px;border-color:transparent;background:transparent}
#workspace.admin .customer:hover{background:#132c25}#workspace.admin .customer.selected{background:#1b4436;border-color:#277d65}
#workspace.admin .customer strong,#workspace.admin .customer small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#workspace.admin #inviteResult{max-height:45%;overflow:auto;flex-shrink:0}#workspace.admin #customersPanel>details{max-height:25%;overflow:auto;flex-shrink:0}
@media(max-width:600px){
 #workspace.admin{grid-template-columns:minmax(0,1fr)}
 #workspace.admin>#scoNavigation,#workspace.admin>#chat,#workspace.admin>#lobby{grid-column:1}
 #workspace.admin #showCustomers{display:inline-block}
 #workspace.admin>#customersPanel{display:none;grid-column:1;grid-row:2;border-right:0}
 #workspace.admin[data-mobile-customers=true]>#customersPanel{display:flex}
 #workspace.admin[data-mobile-customers=true]>#chat,#workspace.admin[data-mobile-customers=true]>#lobby{display:none!important}
}

/* Same compact account card and page geometry as the existing PRO sign-in. */
body.auth-page{min-height:100dvh;height:auto;max-width:none;margin:0;padding:16px;display:grid;place-items:center;border:0;box-shadow:none;background-color:#091814;background-image:radial-gradient(#1b3730 1px,transparent 1px);background-size:24px 24px;font-family:Arial,sans-serif;color:#e9f8f3}
body.auth-page>header{display:none}
body.auth-page #auth{width:100%;max-width:480px;margin:0;padding:0;overflow:visible}
body.auth-page #auth>.auth{width:100%;max-width:none;max-height:none;overflow:visible;margin:0;padding:24px;border:1px solid #2a493e;border-radius:18px;background:#10271f}
.auth-brand{font-size:24px;font-weight:750;letter-spacing:-1px;margin-bottom:24px}
body.auth-page h1{font-size:34px;letter-spacing:-1px;line-height:1.15;margin:0 0 12px}
body.auth-page #authIntro{font-size:16px;line-height:1.55;color:#a9c5ba;margin:0 0 24px}
body.auth-page #identityStep{display:grid;gap:18px}
body.auth-page button{width:100%;min-height:40px;border-radius:9px;border:1px solid #497864;background:#1f4938;color:#e9fff4;padding:10px 14px;font:14px Arial,sans-serif}
body.auth-page .auth-primary,body.auth-page form>button[type=submit],body.auth-page #emailStep>button{background:#70ddaa;color:#082116;font-weight:700}
body.auth-page form{display:grid;gap:14px}body.auth-page label{margin:0;gap:8px;color:#c5ded3;font-size:14px}
body.auth-page input,body.auth-page select{width:100%;background:#091d15;border:1px solid #436657;border-radius:10px;color:#fff;padding:12px;font:16px Arial,sans-serif}
body.auth-page input:focus{outline:none;border-color:#70ddaa}
.auth-divider{display:flex;align-items:center;gap:14px;font-size:13px;color:#9bbcaf}.auth-divider:before,.auth-divider:after{content:'';height:1px;flex:1;background:#2a493e}
#googleSignIn{width:100%;min-height:40px;display:flex;justify-content:center;overflow:hidden}#googleSignIn>div{max-width:100%}#googleSignIn svg{width:18px;max-width:18px;height:18px;flex-shrink:0}#googleSignIn iframe{max-width:100%}
#googleStatus:empty{display:none}#googleStatus{margin:0}
body.auth-page #notice:empty{display:none}body.auth-page #notice{margin:14px 0 0;padding:0;background:transparent;line-height:1.5}
body.auth-page #changeIdentity{margin-bottom:18px}body.auth-page #recovery{margin-top:18px;font-size:12px}body.auth-page #recovery summary{padding:0}
.auth-legal{display:flex;justify-content:space-between;gap:8px;margin-top:16px;font-size:9px;line-height:1.5}.auth-legal a{color:inherit;text-decoration:underline}
@media(max-width:600px){body.auth-page h1{font-size:29px}body.auth-page #auth>.auth{padding:24px}}

body.auth-page #auth:has(#identityStep:not([hidden])) #recovery{display:none}

.auth-brand{display:flex;align-items:center;gap:9px}.auth-brand>svg{width:36px;height:24px;flex:none}#googleSignIn{background:#fff;border-radius:9px}
body.auth-page #register{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
body.auth-page #register>h2,body.auth-page #register>p,body.auth-page #register>button,body.auth-page #register>.auth-wide{grid-column:1/-1}
body.auth-page #register>h2{font-size:13px;font-weight:400;color:#a9c5ba;margin:0}
body.auth-page #register>p{font-size:11px;margin:0;line-height:1.5}
body.auth-page #auth:has(#register:not([hidden])) #changeIdentity{width:auto;min-height:0;margin:0 0 12px;padding:0;background:transparent;border:0;text-decoration:underline;font-size:12px}
body.auth-page #auth:has(#register:not([hidden])) #recovery{display:none}
@media(max-width:420px){body.auth-page #register{grid-template-columns:minmax(0,1fr)}body.auth-page h1{font-size:27px}}

body.auth-page #register>button{background:#70ddaa;color:#082116;font-weight:700}body.auth-page #auth:has(#register:not([hidden])) #authIntro{margin-bottom:12px}body.auth-page #auth:has(#register:not([hidden])) .auth-brand{margin-bottom:18px}

.auth-brand .scv-wordmark::before{display:none}

body.auth-page #googleSignIn>button{width:100%;background:#fff;color:#26372f;border-color:#fff;border-radius:9px;min-height:40px}body.auth-page #googleSignIn>button:hover{background:#f3f7f5}

/* Keep native select controls aligned with text fields, including Safari. */
body.auth-page #auth input:not([type=hidden]),body.auth-page #auth select{box-sizing:border-box;height:44px;min-height:44px;line-height:20px;padding:10px 12px;align-self:start}
body.auth-page #auth select{-webkit-appearance:none;appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23e9f8f3' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px}
body.auth-page #auth label{align-content:start}

/* Match text-input focus without the browser's blue select outline. */
body.auth-page #auth input:focus,body.auth-page #auth input:focus-visible,body.auth-page #auth select:focus,body.auth-page #auth select:focus-visible{outline:none;box-shadow:none;border-color:#70ddaa}

/* Compact, centered invitation code at the end of customer details. */
body.auth-page #register>#invitationCodeField{width:160px;max-width:100%;justify-self:center;text-align:center}
body.auth-page #auth #invitationCodeField input{text-align:left;font-family:monospace;letter-spacing:2px;font-variant-numeric:tabular-nums;padding-left:calc((160px - 9ch - 18px)/2);padding-right:12px}

/* Admin invitation code remains clickable without a surrounding frame. */
#inviteCode{border:0;border-radius:0;background:transparent;padding:0;color:inherit;font:inherit;font-weight:700;cursor:pointer}

/* Customer workspace follows the PRO shell, composer and call-control geometry. */
body.guest-room{height:100dvh;overflow:hidden}
body.guest-room>header{height:74px}
body.guest-room>header strong{font-size:20px;letter-spacing:-.5px}
body.guest-room #workspace{min-width:0}
body.guest-room #scoNavigation{justify-content:center;background:#0d211cf2;padding:8px 20px}
body.guest-room #scoNavigation button{min-height:36px;border-radius:999px;padding:7px 20px;font-weight:600}
body.guest-room #scoNavigation button[aria-pressed=true]{background:#17634f;border-color:#277d65;color:#e4fff3}
body.guest-room #chat>.sectionHead{background:transparent;padding:16px 24px 0}
body.guest-room #chatSubtitle{margin-bottom:6px}
body.guest-room #privateEncryptionNotice{align-self:center;max-width:calc(100% - 32px);margin:8px 16px;padding:7px 12px;border:1px solid #27443c;border-radius:16px;background:#102720;color:#9db3ad;font-size:11px;text-align:center}
body.guest-room #messages{padding:18px clamp(16px,5vw,72px);min-height:0}
body.guest-room .message{max-width:min(72%,560px)}
body.guest-room #chat>.tools{order:10;justify-content:center;gap:10px;padding:8px 12px 12px;background:transparent;border:0}
body.guest-room #chat>.tools>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:76px;min-height:66px;padding:0;border:0;background:transparent;color:#e4fff3;font-size:10px;font-weight:600}
body.guest-room .guest-tool-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #548c7566;border-radius:50%;background:#23483de8;box-shadow:0 4px 14px #0004}
body.guest-room #chat>.tools>button:hover .guest-tool-icon{background:#2a8568}
body.guest-room #chat>.tools label{margin:0;font-size:11px;display:grid;gap:5px}
body.guest-room #chat>.tools select{max-width:110px}
body.guest-room #messageForm{order:11;grid-template-columns:36px minmax(0,1fr) 48px;grid-template-areas:'context context context' 'file text send';align-items:center;gap:11px;min-height:80px;padding:15px clamp(16px,4vw,44px)}
body.guest-room #messageForm textarea{height:48px;min-height:48px;border-radius:18px;padding:12px 14px}
body.guest-room #messageForm>button{display:grid;place-items:center;width:48px;height:48px;padding:0;border-radius:16px;background:#34d399;color:#062019}
body.guest-room #messageForm .guest-attachment{position:relative;display:grid;place-items:center;width:36px;height:48px;cursor:pointer;color:#b7e8d7}
body.guest-room .guest-attachment input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
body.guest-room .guest-attachment:focus-within{outline:2px solid #70ddaa;border-radius:8px}
body.guest-room .guest-file-name:not(:empty){position:absolute;bottom:54px;left:0;max-width:min(260px,65vw);padding:6px 10px;background:#102720;border:1px solid #29483f;border-radius:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
body.guest-room #deals{order:12}
@media(min-width:601px){body.guest-room{position:fixed;inset:0;width:min(1180px,calc(100vw - 36px));height:min(720px,calc(100dvh - 36px));max-width:none;margin:auto}}
@media(max-width:600px){body.guest-room{width:100%;max-width:none;border:0}body.guest-room>header{height:64px;padding-inline:16px}body.guest-room #chat>.sectionHead{padding:12px 16px 0}body.guest-room #messageForm{padding:12px;gap:8px;grid-template-columns:30px minmax(0,1fr) 46px}body.guest-room #messageForm>button{width:46px}body.guest-room .message{max-width:90%}body.guest-room #chat>.tools{gap:5px;padding-block:6px}body.guest-room #privateEncryptionNotice{font-size:10px}}

































































































/* Shared PRO call controls */
/* PRO's component relies on its preflight reset. Scope the same defaults to
   this dialog so SCO's page-level heading/form rules cannot leak into it. */
.call-device-settings{font-size:14px;line-height:1.4285714286;font-weight:400}
.call-device-settings :where(*){margin:0;padding:0;border:0 solid;box-sizing:border-box}
.call-device-settings :where(h1,h2,h3,p){font-size:inherit;font-weight:inherit;line-height:inherit}
.call-device-settings :where(button,input,select,textarea){font:inherit;color:inherit;letter-spacing:inherit;border-radius:0;background:transparent}
.call-device-settings :where(label){display:inline;gap:normal}
.call-device-settings :where(header){height:auto;min-height:0;border:0;background:transparent}
.call-device-settings-heading>div{display:block;gap:normal}
.call-device-settings-heading [data-slot='dialog-title']{font-weight:500;line-height:1}
.call-device-settings :where(svg){display:block;vertical-align:middle}

.guest-prejoin-shell{min-height:100dvh;overflow:auto;display:grid;place-items:center;padding:18px;background-color:#06110f;background-image:radial-gradient(circle at 50% 15%,#163b32 0,transparent 35%),radial-gradient(#1b3730 1px,transparent 1px);background-size:auto,24px 24px;color:#eef5f3}.guest-prejoin-card{width:min(440px,100%);height:min(700px,calc(100dvh - 36px));min-height:0;margin:0 auto;display:flex;flex-direction:column;overflow:hidden;border:1px solid #31594d;border-radius:24px;background:#071a16f2;box-shadow:0 30px 100px #000a}.guest-prejoin-header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 20px;border-bottom:1px solid #25443b;background:#0a211b}.guest-prejoin-header>div:first-child{min-width:0}.guest-prejoin-eyebrow{margin:0 0 4px;color:#6ee7b7;font-size:11px;font-weight:850;letter-spacing:.15em}.guest-prejoin-header h1{margin:0;font-size:clamp(21px,2vw,22px);line-height:1.12;letter-spacing:-.035em}.guest-prejoin-intro{margin:4px 0 0;color:#94aaa4;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.guest-prejoin-intro strong{color:#d8e7e2}.guest-prejoin-secure{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;border:0;color:#9ff2cf;font-size:13px;font-weight:750}.guest-prejoin-layout{flex:1;display:grid;grid-template-rows:minmax(110px,1fr) auto;min-height:0;overflow-y:auto}.guest-prejoin-card .guest-prejoin-preview{aspect-ratio:auto}.guest-prejoin-card .guest-prejoin-header h1{font-size:19px}.guest-prejoin-card .guest-prejoin-intro{font-size:12px}.guest-prejoin-card .guest-prejoin-settings{padding:10px 18px 0}.guest-prejoin-card .guest-prejoin-select-wrap select{height:40px;font-size:12px}.guest-prejoin-card .guest-prejoin-preview-empty{font-size:12px;padding-bottom:50px}.guest-prejoin-card .guest-prejoin-preview-controls{bottom:12px}.guest-prejoin-card .guest-prejoin-status{font-size:11px}.guest-prejoin-footer{flex:none;padding:12px 18px 18px;background:#0a211b}.guest-prejoin-footer>.guest-prejoin-join{width:100%;min-height:44px;margin:0}.guest-prejoin-preview{position:relative;flex:none;aspect-ratio:16 / 9;min-height:0;overflow:hidden;background:radial-gradient(circle at 50% 50%,#1a4639 0,#081b17 58%,#06130f)}.guest-prejoin-preview video{position:absolute;inset:0;width:100%;height:100%;min-height:0;display:block;object-fit:contain;background-color:#061711;opacity:1;transition:opacity .18s ease}.guest-prejoin-preview video.is-camera-off{opacity:0}.guest-prejoin-preview-empty{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:13px;color:#9bb2ab;font-size:15px;font-weight:650;text-align:center}.guest-prejoin-preview-empty.is-hidden{display:none}.guest-prejoin-preview-empty svg{color:#70dcb6}.guest-prejoin-mic-meter{position:absolute;z-index:2;bottom:20px;right:14px;width:44px;height:min(180px,calc(100% - 40px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;justify-items:center;gap:8px;padding:10px 8px;border:1px solid #47796a;border-radius:13px;background:#071a16e8;color:#e8f7f1;box-shadow:0 8px 24px #0007;pointer-events:none}.guest-prejoin-mic-meter>svg{color:#6ee7b7}.guest-prejoin-mic-meter-label{font-size:10px;font-weight:800;line-height:1;letter-spacing:.04em;white-space:nowrap}.guest-prejoin-mic-meter-track{position:relative;width:12px;min-height:0;height:100%;overflow:hidden;border-radius:3px;background:#28473e}.guest-prejoin-mic-meter-fill{position:absolute;inset:0;background:linear-gradient(to top,#34d399 0% 65%,#f2c66d 85%,#ef7770)}.guest-prejoin-mic-meter-track:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(to top,transparent 0 4px,#071a16 4px 6px)}.guest-prejoin-mic-meter-value{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.guest-prejoin-mic-meter.is-inactive{color:#9db0aa}.guest-prejoin-mic-meter.is-inactive>svg{color:#9db0aa}.guest-prejoin-preview-controls{position:absolute;left:50%;bottom:20px;display:flex;gap:14px;transform:translate(-50%)}.guest-prejoin-preview-controls button{width:62px;height:54px;display:grid;place-items:center;border:1px solid #5c897b;border-radius:19px;background:#102d25e8;color:#e6f6f0;box-shadow:0 12px 30px #0007;cursor:pointer}.guest-prejoin-preview-controls button.is-off{border-color:#d5605c;background:#c94743;color:#fff}.guest-prejoin-preview-controls button:not(:disabled):hover{filter:brightness(1.12)}.guest-prejoin-preview-controls button:disabled{opacity:.58;cursor:wait}.guest-prejoin-settings{flex:1;display:flex;flex-direction:column;min-width:0;padding:8px 22px 18px;background:#0a211b}.guest-prejoin-device-row{display:grid;grid-template-columns:26px minmax(0,1fr);gap:2px 11px;margin-top:4px}.guest-prejoin-device-row:first-child{margin-top:0}.guest-prejoin-device-row>svg{grid-row:1;align-self:center;color:#6ee7b7}.guest-prejoin-device-row>label{align-self:center;color:#d8e7e2;font-size:13px;font-weight:750}.guest-prejoin-select-wrap{position:relative;grid-column:1 / -1;min-width:0}.guest-prejoin-select-wrap select{width:100%;height:42px;appearance:none;overflow:hidden;padding:0 43px 0 15px;border:1px solid #31594d;border-radius:14px;background:#071a16;color:#eef5f3;font-size:14px;font-weight:600;outline:none;text-overflow:ellipsis;white-space:nowrap}.guest-prejoin-select-wrap select:focus-visible{border-color:#6ee7b7;box-shadow:0 0 0 3px #34d39925}.guest-prejoin-select-wrap select:disabled{opacity:.62;cursor:wait}.guest-prejoin-select-wrap>svg{position:absolute;top:50%;right:14px;color:#9ac2b3;transform:translateY(-50%);pointer-events:none}.guest-prejoin-speaker-controls{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.guest-prejoin-speaker-controls .guest-prejoin-select-wrap{grid-column:auto}.guest-prejoin-test-button{min-width:88px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #407666;border-radius:14px;background:#153d32;color:#bdf7dd;font-size:13px;font-weight:800;cursor:pointer}.guest-prejoin-test-button:disabled{opacity:.64;cursor:wait}.guest-prejoin-device-error,.guest-prejoin-speaker-message,.guest-prejoin-join-error{display:block;margin:8px 0 0;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.guest-prejoin-device-error,.guest-prejoin-join-error{color:#f6b2ad}.guest-prejoin-speaker-message{color:#a7c4ba}.guest-prejoin-status{display:flex;gap:10px;margin-top:auto;padding-top:6px;color:#93aaa2;font-size:12px;line-height:1.5}.guest-prejoin-status svg{flex:none;color:#6ee7b7}.guest-prejoin-change-name{width:100%;min-height:40px;margin-bottom:8px;border:1px solid #32675a;border-radius:12px;background:transparent;color:#d9f8ec;cursor:pointer}.guest-prejoin-change-name:disabled{opacity:.5;cursor:default}.guest-prejoin-change-name:focus-visible{outline:2px solid #9aebc8;outline-offset:3px}.guest-prejoin-join{min-height:52px;margin-top:8px;border:0;border-radius:16px;background:#34d399;color:#052018;font-size:16px;font-weight:850;box-shadow:0 13px 30px #0abf7930;cursor:pointer}.guest-prejoin-join:not(:disabled):hover{background:#55dfaa;transform:translateY(-1px)}.guest-prejoin-join:disabled{opacity:.65;cursor:wait}.guest-prejoin-preview-controls button:focus-visible,.guest-prejoin-test-button:focus-visible,.guest-prejoin-join:focus-visible{outline:3px solid #b7f7dc;outline-offset:3px}@media(max-width:860px),(max-height:720px){.guest-prejoin-card{min-height:0}.guest-prejoin-header{padding:8px 18px}.guest-prejoin-layout{min-height:0}.guest-prejoin-settings{padding:8px 18px 18px}.guest-prejoin-device-row{margin-top:4px}.guest-prejoin-select-wrap select{height:42px}.guest-prejoin-status{margin-top:auto;padding-top:6px}}@media(max-width:690px){.guest-prejoin-shell{padding:12px}.guest-prejoin-header{align-items:flex-start;padding-right:14px}.guest-prejoin-secure{width:44px;justify-content:center;gap:0;padding-inline:0;font-size:0}}@media(prefers-reduced-motion:reduce){.guest-prejoin-preview video,.guest-prejoin-join{transition:none}}.call-device-settings-backdrop[data-slot=dialog-overlay]{z-index:210;background:#020807b8}.call-device-settings[data-slot=dialog-content]{z-index:211;display:flex;flex-direction:column;width:min(440px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 48px);gap:0;padding:0;overflow:hidden;border:1px solid #31594d;border-radius:22px;background:#0a211b;color:#eef5f3;box-shadow:0 25px 100px #000b}.call-device-settings-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}.call-device-settings-heading [data-slot=dialog-title]{font-size:19px}.call-device-settings-heading [data-slot=dialog-description]{margin-top:5px;color:#9fb8b0;font-size:12px}.call-device-settings-heading>button{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid #407666;border-radius:12px;background:#153d32;color:#bdf7dd;cursor:pointer}.call-device-settings-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}.call-device-settings .guest-prejoin-preview-empty{font-size:12px}.call-device-settings .guest-prejoin-settings{gap:5px;padding:12px 18px 0}.call-device-settings .guest-prejoin-select-wrap select{height:40px;font-size:12px}.call-device-settings-note{margin:12px 0 0;color:#9fb8b0;font-size:11px;line-height:1.5}.call-device-settings>.guest-prejoin-join{flex:none;min-height:44px;margin:14px 18px 18px}.call-dialog.has-admin-topbar{width:min(1180px,100%);grid-template-rows:auto minmax(0,1fr) 76px}.call-dialog.has-admin-topbar:fullscreen{width:100%;height:100%}.call-dialog>.call-admin-topbar.chat-shell{grid-row:1;position:relative;z-index:20;display:block;width:100%;height:auto;aspect-ratio:auto;min-height:0;max-width:none;max-height:none;margin:0;padding:0;overflow:visible;border:0;border-radius:0;box-shadow:none}.call-admin-topbar>.topbar{min-height:74px}@media(max-width:600px){.call-admin-topbar>.topbar{min-height:100px}.call-device-settings[data-slot=dialog-content]{width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}.call-controls{flex-wrap:wrap}.call-dialog:not(.phone-landscape){grid-template-rows:auto minmax(0,1fr) auto}.call-dialog:not(.has-admin-topbar)>header{min-height:84px}.call-dialog>.call-controls{min-height:76px}}@media(orientation:landscape)and (max-height:600px)and (hover:none){.call-dialog.has-admin-topbar.phone-landscape{grid-template-rows:0 minmax(0,1fr) 0}.call-dialog.phone-landscape>.call-admin-topbar{visibility:hidden;opacity:0;pointer-events:none}.call-dialog.has-admin-topbar.phone-landscape.show-cinema-controls{grid-template-rows:auto minmax(0,1fr) auto}.call-dialog.phone-landscape.show-cinema-controls>.call-admin-topbar{visibility:visible;opacity:1;pointer-events:auto}}.in-chat-settings .call-device-settings-heading>button{border:0;border-radius:0;background:transparent;width:28px;height:28px}.in-chat-settings[data-slot=dialog-content]{border-radius:14px}video.own-camera-preview{transform:none}video.own-camera-preview[data-mirrored=true]{transform:scaleX(-1)}.camera-mirror-setting{display:flex;align-items:center;gap:10px;min-height:52px;padding:5px 0;color:#bdf7dd}.camera-mirror-setting>svg{flex:none}.camera-mirror-setting>div{flex:1;min-width:0}.camera-mirror-setting label{font-size:13px;font-weight:500;cursor:pointer}.camera-mirror-setting p{margin:3px 0 0;color:#9fb8b0;font-size:11px;line-height:1.4}.camera-mirror-setting [data-slot=switch]{width:40px;height:24px;border:1px solid #407666;background:#153d32;cursor:pointer}.camera-mirror-setting [data-slot=switch][data-checked]{background:#28c99a}.camera-mirror-setting [data-slot=switch-thumb]{width:18px;height:18px;margin-left:2px;background:#eef5f3;translate:0}.camera-mirror-setting [data-slot=switch-thumb][data-checked]{translate:16px 0}.camera-mirror-setting [data-slot=switch]:focus-visible{outline:2px solid #6ee7b7;outline-offset:3px}.desktop-call-bar{display:none}@media(min-width:901px)and (hover:hover){main.chat-shell:has(>.desktop-call-bar)>.messages{grid-row:2;grid-column:1;padding-bottom:92px}main.chat-shell>.desktop-call-bar{grid-row:2;grid-column:1;align-self:end;justify-self:center;z-index:4;display:flex;align-items:center;justify-content:center;gap:10px;margin:0 12px 12px;padding:0;background:transparent;border:0;pointer-events:none;min-width:0}.desktop-call-bar>button{pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:66px;min-height:66px;padding:0;border:0;background:transparent;color:#e4fff3;cursor:pointer;font:inherit;font-size:10px;font-weight:600;text-shadow:0 1px 3px #000}.desktop-call-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #548c7566;border-radius:50%;background:#23483de8;box-shadow:0 4px 14px #0004;backdrop-filter:blur(8px)}.desktop-call-icon.is-on{background:#237c60e8}.desktop-call-icon.is-off{background:#673536e8;color:#ffc5c1}.desktop-call-bar>button:hover:not(:disabled) .desktop-call-icon{background:#2a8568}.desktop-call-bar>button:focus-visible{outline:2px solid #73e2b8;outline-offset:3px;border-radius:8px}.desktop-call-bar>button:disabled{opacity:.45;cursor:not-allowed}}main.chat-shell.has-document-view>.composer{display:none}main.chat-shell.has-document-view .call-composer-shell{display:none}@media(min-width:901px)and (hover:hover){main.chat-shell.has-document-view>.desktop-call-bar{grid-row:3;align-self:center;margin:4px 12px 8px}main.chat-shell.has-document-view>.messages{padding-bottom:16px}}main.chat-shell.has-document-view>.desktop-call-bar{grid-row:3;grid-column:1;display:flex;align-items:center;justify-content:center;justify-self:center;align-self:center;gap:10px;margin:4px 12px 8px;padding:0;z-index:4;background:transparent;border:0}main.chat-shell.has-document-view>.messages{grid-row:2;grid-column:1}.has-document-view>.desktop-call-bar>button{display:grid;place-items:center;width:56px;height:56px;padding:0;border:0;background:transparent;color:#e4fff3;cursor:pointer}.has-document-view>.desktop-call-bar .desktop-call-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #548c7566;border-radius:50%;background:#23483de8;box-shadow:0 4px 14px #0004}.has-document-view>.desktop-call-bar .desktop-call-icon.is-on{background:#237c60e8}.has-document-view>.desktop-call-bar .desktop-call-icon.is-off{background:#673536e8;color:#ffc5c1}.has-document-view>.desktop-call-bar>button:disabled{opacity:.45;cursor:not-allowed}.has-document-view>.desktop-call-bar>button:focus-visible{outline:2px solid #73e2b8;outline-offset:2px;border-radius:8px}.call-backdrop.is-document-call-media{position:fixed!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;min-height:0!important;overflow:hidden!important;opacity:0;pointer-events:none;z-index:-1!important}.has-document-view>.desktop-call-bar .desktop-call-icon.is-hangup{background:#d94c5b;border-color:#ec7782;color:#fff}.document-call-party-group{display:flex;align-items:center;justify-content:center;gap:10px;pointer-events:auto}.document-call-party{display:flex;align-items:center;gap:9px;width:150px;min-width:0;padding:8px 10px;box-sizing:border-box;border:1px solid #3d6753;border-radius:11px;background:#12362a;color:#e7f5ed;box-shadow:0 3px 12px #0002}.document-call-avatar{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#2a5a44;color:#b6edcb;font-size:13px;font-weight:650}.document-call-party>span:last-child{min-width:0;display:grid;gap:2px}.document-call-party strong{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-call-party small{font-size:10px;color:#a9c7b4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-call-party-group>button{display:grid;place-items:center;flex:none;width:56px;height:56px;padding:0;border:0;background:transparent;cursor:pointer;color:#fff}.document-call-party-group>button:focus-visible{outline:2px solid #73e2b8;outline-offset:2px;border-radius:8px}@media(max-width:900px){main.chat-shell.has-document-view>.desktop-call-bar.has-document-parties{flex-wrap:wrap;gap:4px;max-width:calc(100% - 24px)}.document-call-party{width:125px}.document-call-party-group{gap:6px}}@media(max-width:650px){.document-call-party-group{flex-basis:100%}.document-call-party{width:calc((100vw - 136px)/2);max-width:150px;min-width:0}.document-call-avatar{display:none}}.document-call-remote-parties{display:flex;gap:6px;max-width:320px;overflow-x:auto;overscroll-behavior:contain}.document-call-remote-parties>.document-call-party{flex:none}.document-call-party .participant-device-controls{display:flex;align-items:center;gap:5px;min-height:24px}.document-call-party .participant-device-controls button{pointer-events:auto}@media(max-width:650px){.document-call-remote-parties{max-width:calc((100vw - 136px)/2)}}@media(min-width:601px){html body main.chat-shell.has-document-view{position:fixed;inset:18px;width:calc(100vw - 36px);height:calc(100dvh - 36px);max-width:none;max-height:none;margin:0;aspect-ratio:auto;box-sizing:border-box;grid-template-rows:74px minmax(0,1fr) 80px}}.desktop-call-bar>.document-call-remote-parties{pointer-events:auto;flex:none}

.guest-prejoin-shell{min-height:100dvh;overflow:auto;display:grid;place-items:center;padding:18px;background-color:#06110f;background-image:radial-gradient(circle at 50% 15%,#163b32 0,transparent 35%),radial-gradient(#1b3730 1px,transparent 1px);background-size:auto,24px 24px;color:#eef5f3}.guest-prejoin-card{width:min(440px,100%);height:min(700px,calc(100dvh - 36px));min-height:0;margin:0 auto;display:flex;flex-direction:column;overflow:hidden;border:1px solid #31594d;border-radius:24px;background:#071a16f2;box-shadow:0 30px 100px #000a}.guest-prejoin-header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 20px;border-bottom:1px solid #25443b;background:#0a211b}.guest-prejoin-header>div:first-child{min-width:0}.guest-prejoin-eyebrow{margin:0 0 4px;color:#6ee7b7;font-size:11px;font-weight:850;letter-spacing:.15em}.guest-prejoin-header h1{margin:0;font-size:clamp(21px,2vw,22px);line-height:1.12;letter-spacing:-.035em}.guest-prejoin-intro{margin:4px 0 0;color:#94aaa4;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.guest-prejoin-intro strong{color:#d8e7e2}.guest-prejoin-secure{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;border:0;color:#9ff2cf;font-size:13px;font-weight:750}.guest-prejoin-layout{flex:1;display:grid;grid-template-rows:minmax(110px,1fr) auto;min-height:0;overflow-y:auto}.guest-prejoin-card .guest-prejoin-preview{aspect-ratio:auto}.guest-prejoin-card .guest-prejoin-header h1{font-size:19px}.guest-prejoin-card .guest-prejoin-intro{font-size:12px}.guest-prejoin-card .guest-prejoin-settings{padding:10px 18px 0}.guest-prejoin-card .guest-prejoin-select-wrap select{height:40px;font-size:12px}.guest-prejoin-card .guest-prejoin-preview-empty{font-size:12px;padding-bottom:50px}.guest-prejoin-card .guest-prejoin-preview-controls{bottom:12px}.guest-prejoin-card .guest-prejoin-status{font-size:11px}.guest-prejoin-footer{flex:none;padding:12px 18px 18px;background:#0a211b}.guest-prejoin-footer>.guest-prejoin-join{width:100%;min-height:44px;margin:0}.guest-prejoin-preview{position:relative;flex:none;aspect-ratio:16 / 9;min-height:0;overflow:hidden;background:radial-gradient(circle at 50% 50%,#1a4639 0,#081b17 58%,#06130f)}.guest-prejoin-preview video{position:absolute;inset:0;width:100%;height:100%;min-height:0;display:block;object-fit:contain;background-color:#061711;opacity:1;transition:opacity .18s ease}.guest-prejoin-preview video.is-camera-off{opacity:0}.guest-prejoin-preview-empty{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:13px;color:#9bb2ab;font-size:15px;font-weight:650;text-align:center}.guest-prejoin-preview-empty.is-hidden{display:none}.guest-prejoin-preview-empty svg{color:#70dcb6}.guest-prejoin-mic-meter{position:absolute;z-index:2;bottom:20px;right:14px;width:44px;height:min(180px,calc(100% - 40px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;justify-items:center;gap:8px;padding:10px 8px;border:1px solid #47796a;border-radius:13px;background:#071a16e8;color:#e8f7f1;box-shadow:0 8px 24px #0007;pointer-events:none}.guest-prejoin-mic-meter>svg{color:#6ee7b7}.guest-prejoin-mic-meter-label{font-size:10px;font-weight:800;line-height:1;letter-spacing:.04em;white-space:nowrap}.guest-prejoin-mic-meter-track{position:relative;width:12px;min-height:0;height:100%;overflow:hidden;border-radius:3px;background:#28473e}.guest-prejoin-mic-meter-fill{position:absolute;inset:0;background:linear-gradient(to top,#34d399 0% 65%,#f2c66d 85%,#ef7770)}.guest-prejoin-mic-meter-track:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(to top,transparent 0 4px,#071a16 4px 6px)}.guest-prejoin-mic-meter-value{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.guest-prejoin-mic-meter.is-inactive{color:#9db0aa}.guest-prejoin-mic-meter.is-inactive>svg{color:#9db0aa}.guest-prejoin-preview-controls{position:absolute;left:50%;bottom:20px;display:flex;gap:14px;transform:translate(-50%)}.guest-prejoin-preview-controls button{width:62px;height:54px;display:grid;place-items:center;border:1px solid #5c897b;border-radius:19px;background:#102d25e8;color:#e6f6f0;box-shadow:0 12px 30px #0007;cursor:pointer}.guest-prejoin-preview-controls button.is-off{border-color:#d5605c;background:#c94743;color:#fff}.guest-prejoin-preview-controls button:not(:disabled):hover{filter:brightness(1.12)}.guest-prejoin-preview-controls button:disabled{opacity:.58;cursor:wait}.guest-prejoin-settings{flex:1;display:flex;flex-direction:column;min-width:0;padding:8px 22px 18px;background:#0a211b}.guest-prejoin-device-row{display:grid;grid-template-columns:26px minmax(0,1fr);gap:2px 11px;margin-top:4px}.guest-prejoin-device-row:first-child{margin-top:0}.guest-prejoin-device-row>svg{grid-row:1;align-self:center;color:#6ee7b7}.guest-prejoin-device-row>label{align-self:center;color:#d8e7e2;font-size:13px;font-weight:750}.guest-prejoin-select-wrap{position:relative;grid-column:1 / -1;min-width:0}.guest-prejoin-select-wrap select{width:100%;height:42px;appearance:none;overflow:hidden;padding:0 43px 0 15px;border:1px solid #31594d;border-radius:14px;background:#071a16;color:#eef5f3;font-size:14px;font-weight:600;outline:none;text-overflow:ellipsis;white-space:nowrap}.guest-prejoin-select-wrap select:focus-visible{border-color:#6ee7b7;box-shadow:0 0 0 3px #34d39925}.guest-prejoin-select-wrap select:disabled{opacity:.62;cursor:wait}.guest-prejoin-select-wrap>svg{position:absolute;top:50%;right:14px;color:#9ac2b3;transform:translateY(-50%);pointer-events:none}.guest-prejoin-speaker-controls{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.guest-prejoin-speaker-controls .guest-prejoin-select-wrap{grid-column:auto}.guest-prejoin-test-button{min-width:88px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #407666;border-radius:14px;background:#153d32;color:#bdf7dd;font-size:13px;font-weight:800;cursor:pointer}.guest-prejoin-test-button:disabled{opacity:.64;cursor:wait}.guest-prejoin-device-error,.guest-prejoin-speaker-message,.guest-prejoin-join-error{display:block;margin:8px 0 0;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.guest-prejoin-device-error,.guest-prejoin-join-error{color:#f6b2ad}.guest-prejoin-speaker-message{color:#a7c4ba}.guest-prejoin-status{display:flex;gap:10px;margin-top:auto;padding-top:6px;color:#93aaa2;font-size:12px;line-height:1.5}.guest-prejoin-status svg{flex:none;color:#6ee7b7}.guest-prejoin-change-name{width:100%;min-height:40px;margin-bottom:8px;border:1px solid #32675a;border-radius:12px;background:transparent;color:#d9f8ec;cursor:pointer}.guest-prejoin-change-name:disabled{opacity:.5;cursor:default}.guest-prejoin-change-name:focus-visible{outline:2px solid #9aebc8;outline-offset:3px}.guest-prejoin-join{min-height:52px;margin-top:8px;border:0;border-radius:16px;background:#34d399;color:#052018;font-size:16px;font-weight:850;box-shadow:0 13px 30px #0abf7930;cursor:pointer}.guest-prejoin-join:not(:disabled):hover{background:#55dfaa;transform:translateY(-1px)}.guest-prejoin-join:disabled{opacity:.65;cursor:wait}.guest-prejoin-preview-controls button:focus-visible,.guest-prejoin-test-button:focus-visible,.guest-prejoin-join:focus-visible{outline:3px solid #b7f7dc;outline-offset:3px}@media(max-width:860px),(max-height:720px){.guest-prejoin-card{min-height:0}.guest-prejoin-header{padding:8px 18px}.guest-prejoin-layout{min-height:0}.guest-prejoin-settings{padding:8px 18px 18px}.guest-prejoin-device-row{margin-top:4px}.guest-prejoin-select-wrap select{height:42px}.guest-prejoin-status{margin-top:auto;padding-top:6px}}@media(max-width:690px){.guest-prejoin-shell{padding:12px}.guest-prejoin-header{align-items:flex-start;padding-right:14px}.guest-prejoin-secure{width:44px;justify-content:center;gap:0;padding-inline:0;font-size:0}}@media(prefers-reduced-motion:reduce){.guest-prejoin-preview video,.guest-prejoin-join{transition:none}}.call-device-settings-backdrop[data-slot=dialog-overlay]{z-index:210;background:#020807b8}.call-device-settings[data-slot=dialog-content]{z-index:211;display:flex;flex-direction:column;width:min(440px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 48px);gap:0;padding:0;overflow:hidden;border:1px solid #31594d;border-radius:22px;background:#0a211b;color:#eef5f3;box-shadow:0 25px 100px #000b}.call-device-settings-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}.call-device-settings-heading [data-slot=dialog-title]{font-size:19px}.call-device-settings-heading [data-slot=dialog-description]{margin-top:5px;color:#9fb8b0;font-size:12px}.call-device-settings-heading>button{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid #407666;border-radius:12px;background:#153d32;color:#bdf7dd;cursor:pointer}.call-device-settings-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}.call-device-settings .guest-prejoin-preview-empty{font-size:12px}.call-device-settings .guest-prejoin-settings{gap:5px;padding:12px 18px 0}.call-device-settings .guest-prejoin-select-wrap select{height:40px;font-size:12px}.call-device-settings-note{margin:12px 0 0;color:#9fb8b0;font-size:11px;line-height:1.5}.call-device-settings>.guest-prejoin-join{flex:none;min-height:44px;margin:14px 18px 18px}.call-dialog.has-admin-topbar{width:min(1180px,100%);grid-template-rows:auto minmax(0,1fr) 76px}.call-dialog.has-admin-topbar:fullscreen{width:100%;height:100%}.call-dialog>.call-admin-topbar.chat-shell{grid-row:1;position:relative;z-index:20;display:block;width:100%;height:auto;aspect-ratio:auto;min-height:0;max-width:none;max-height:none;margin:0;padding:0;overflow:visible;border:0;border-radius:0;box-shadow:none}.call-admin-topbar>.topbar{min-height:74px}@media(max-width:600px){.call-admin-topbar>.topbar{min-height:100px}.call-device-settings[data-slot=dialog-content]{width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}.call-controls{flex-wrap:wrap}.call-dialog:not(.phone-landscape){grid-template-rows:auto minmax(0,1fr) auto}.call-dialog:not(.has-admin-topbar)>header{min-height:84px}.call-dialog>.call-controls{min-height:76px}}@media(orientation:landscape)and (max-height:600px)and (hover:none){.call-dialog.has-admin-topbar.phone-landscape{grid-template-rows:0 minmax(0,1fr) 0}.call-dialog.phone-landscape>.call-admin-topbar{visibility:hidden;opacity:0;pointer-events:none}.call-dialog.has-admin-topbar.phone-landscape.show-cinema-controls{grid-template-rows:auto minmax(0,1fr) auto}.call-dialog.phone-landscape.show-cinema-controls>.call-admin-topbar{visibility:visible;opacity:1;pointer-events:auto}}.in-chat-settings .call-device-settings-heading>button{border:0;border-radius:0;background:transparent;width:28px;height:28px}.in-chat-settings[data-slot=dialog-content]{border-radius:14px}video.own-camera-preview{transform:none}video.own-camera-preview[data-mirrored=true]{transform:scaleX(-1)}.camera-mirror-setting{display:flex;align-items:center;gap:10px;min-height:52px;padding:5px 0;color:#bdf7dd}.camera-mirror-setting>svg{flex:none}.camera-mirror-setting>div{flex:1;min-width:0}.camera-mirror-setting label{font-size:13px;font-weight:500;cursor:pointer}.camera-mirror-setting p{margin:3px 0 0;color:#9fb8b0;font-size:11px;line-height:1.4}.camera-mirror-setting [data-slot=switch]{width:40px;height:24px;border:1px solid #407666;background:#153d32;cursor:pointer}.camera-mirror-setting [data-slot=switch][data-checked]{background:#28c99a}.camera-mirror-setting [data-slot=switch-thumb]{width:18px;height:18px;margin-left:2px;background:#eef5f3;translate:0}.camera-mirror-setting [data-slot=switch-thumb][data-checked]{translate:16px 0}.camera-mirror-setting [data-slot=switch]:focus-visible{outline:2px solid #6ee7b7;outline-offset:3px}.image-card:not(:disabled){cursor:zoom-in}.image-card,.video-card,.image-viewer{-webkit-touch-callout:none}.image-card:focus-visible{outline:2px solid #57deb4;outline-offset:4px}.video-card .attachment-download{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:8px;padding:0 12px;border:1px solid #3b6b5b;border-radius:10px;background:#163c30;color:#c8f6e5}.image-viewer-backdrop[data-slot=dialog-overlay]{z-index:200;background:#020b09d9;backdrop-filter:blur(6px)}.image-viewer[data-slot=dialog-content]{z-index:201;display:flex;flex-direction:column;width:calc(100vw - 32px);max-width:1600px;height:calc(100vh - 32px);height:calc(100dvh - 32px);max-height:1100px;gap:0;padding:0;overflow:hidden;border:1px solid #315d50;border-radius:20px;background:#071a14;color:#d9f5eb;box-shadow:0 24px 100px #0009}.image-viewer-toolbar{display:flex;flex:none;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #284f43;background:#0d2820}.image-viewer-title{flex:1;min-width:0;margin:0;overflow:hidden;font-size:15px;font-weight:600;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.image-viewer-action{min-width:44px;height:44px;gap:8px;padding:0 13px;border:1px solid #3b6b5b;border-radius:12px;background:#163c30;color:#c8f6e5}.image-viewer-action:hover{background:#225643;color:#e7fff6}.image-viewer-action:focus-visible{outline:2px solid #57deb4;outline-offset:2px}.image-viewer-close{width:44px;padding:0}.image-viewer-stage{display:flex;flex:1;min-width:0;min-height:0;align-items:center;justify-content:center;margin:0;padding:12px}.image-viewer-stage img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.image-viewer.is-room-content-locked{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}@media print{.image-viewer[data-slot=dialog-content]{display:none!important}}@media(max-width:600px){.image-viewer[data-slot=dialog-content]{width:calc(100vw - 16px);height:calc(100vh - 16px);height:calc(100dvh - 16px);border-radius:14px}.image-viewer-toolbar{gap:8px;padding:10px}.image-viewer-action span{display:none}.image-viewer-stage{padding:6px}}.image-viewer.image-viewer-compact[data-slot=dialog-content]{width:calc(100vw - 84px);max-width:1000px;height:calc(100vh - 108px);height:calc(100dvh - 108px);max-height:600px}@media(max-width:600px){.image-viewer.image-viewer-compact[data-slot=dialog-content]{width:calc(100vw - 32px);height:calc(100vh - 96px);height:calc(100dvh - 96px)}}.pdf-controls{display:flex;flex:none;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 16px;border-bottom:1px solid #284f43;background:#0d2820}.pdf-controls>div{display:flex;align-items:center;gap:6px}.pdf-controls button{min-width:40px;height:40px;padding:0 9px;border-color:#3b6b5b;background:#163c30;color:#c8f6e5}.pdf-controls output{min-width:96px;text-align:center;font-size:13px}.pdf-controls .pdf-fit{min-width:62px}.pdf-scroll{flex:1;min-width:0;min-height:0;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;padding:16px;background:#04100c}.pdf-page{width:max-content;min-width:100%}.pdf-page canvas{display:block;margin-inline:auto;background:#fff;box-shadow:0 2px 16px #0007}.pdf-page .pdf-canvas-loading{visibility:hidden}.pdf-status{display:block;padding:24px;text-align:center;color:#b6d9cb}.pdf-status button{margin-top:12px}.pdf-card:focus-visible{outline:2px solid #57deb4;outline-offset:3px}.call-chat-messages article:has(.pdf-card){flex:none;width:min(340px,88%);min-width:0;grid-template-columns:minmax(0,1fr)}.call-chat-messages .file-card.pdf-card{width:100%;max-width:100%;min-width:0;grid-template-columns:auto minmax(0,1fr) auto}@media(max-width:600px){.pdf-controls{justify-content:center;padding:8px}.pdf-scroll{padding:16px}}@media print{.pdf-viewer[data-slot=dialog-content]{display:none!important}}.pdf-view-only-label{flex:none;padding:5px 9px;border:1px solid #3b6b5b;border-radius:8px;color:#b6d9cb;font-size:12px;white-space:nowrap}.pdf-viewer{-webkit-touch-callout:none}.pdf-guest-visibility{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;font-size:12px;color:#c1dcd2}.pdf-guest-visibility>button{height:30px;padding:3px 7px;font-size:12px;color:#bce9d9}.pdf-guest-visibility>button svg{width:15px;height:15px}.pdf-guest-visibility>[role=status]{color:#efcf97}.pdf-guest-visibility>[role=alert]{flex-basis:100%;color:#ffb6ae}.pdf-page-list{display:flex;flex-direction:column;gap:16px}.pdf-scroll-page{position:relative;flex:none;overflow-anchor:none}.pdf-scroll-page .pdf-page>.pdf-status{position:absolute;inset:0 0 auto;z-index:1}.pdf-review-footer{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;flex-shrink:0;padding:12px 16px;border-top:1px solid #ffffff14;background:#0b241e}.pdf-review-summary{display:flex;flex-direction:column;gap:7px;min-width:140px;flex:1;max-width:260px}.pdf-review-count{font-size:12px;line-height:18px;color:#a9c8bf}.pdf-review-count strong{font-weight:600;color:#e3f2ec;font-variant-numeric:tabular-nums}.pdf-review-saving{font-size:11px}.pdf-review-progress{display:block;width:100%;height:3px;border:0;border-radius:9px;overflow:hidden;appearance:none;background:#ffffff12;accent-color:#62c7a4}.pdf-review-progress::-webkit-progress-bar{background:#ffffff12;border-radius:9px}.pdf-review-progress::-webkit-progress-value{background:#62c7a4;border-radius:9px}.pdf-review-progress::-moz-progress-bar{background:#62c7a4;border-radius:9px}.pdf-review-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.pdf-review-approve{height:36px!important;padding:0 16px!important;border-radius:9px!important;font-size:12px!important;font-weight:600!important;white-space:nowrap}.pdf-review-approve:disabled{opacity:.45}.pdf-review-info summary{list-style:none;display:grid;place-items:center;width:24px;height:24px;border:1px solid #a9c8bf55;border-radius:50%;font:italic 14px Georgia,serif;color:#a9c8bf;cursor:pointer}.pdf-review-info summary::-webkit-details-marker{display:none}.pdf-review-info summary:focus-visible{outline:2px solid #62c7a4;outline-offset:3px}.pdf-review-info>div{position:absolute;bottom:calc(100% + 8px);right:12px;width:300px;max-width:calc(100% - 24px);padding:16px;border:1px solid #ffffff26;border-radius:12px;background:#102e26;box-shadow:0 8px 28px #0006;z-index:5;color:#cee1da;font-size:12px;line-height:1.5}.pdf-review-info p{margin:8px 0 0}.pdf-review-error{flex-basis:100%;margin:0;font-size:12px;color:#f6b1a6}@media(max-width:480px){.pdf-review-footer{padding:10px;gap:10px}.pdf-review-summary{min-width:110px}.pdf-review-actions{gap:8px}.pdf-review-approve{padding:0 10px!important}}dialog.attachment-contained-viewer{position:fixed;inset:auto;margin:0;max-width:none;max-height:none;box-sizing:border-box;padding:14px;border:1px solid #477264;border-radius:14px;background:#0d2820;color:#e3f4ed;overflow:auto;box-shadow:0 8px 30px #0006}dialog.attachment-contained-viewer[open]{display:flex;flex-direction:column;gap:10px}dialog.attachment-contained-viewer::backdrop{background:transparent}.attachment-contained-viewer>header{flex:none}.attachment-contained-viewer>header strong{min-width:0;overflow-wrap:anywhere;flex:1}.attachment-contained-viewer button{border:1px solid #568e7b;border-radius:8px;background:#205e4d;color:inherit;min-height:36px;padding:6px 12px}.attachment-contained-viewer button:disabled{opacity:.45}.attachment-file-options{flex:none;font-size:14px}.attachment-file-options>summary{cursor:pointer}.attachment-file-options p{margin:8px 0}.attachment-file-options input{max-width:100%;font-size:16px}.attachment-preview-content{flex:1;min-height:160px;overflow:auto}.attachment-inline-pdf{display:flex;flex-direction:column;height:100%;min-height:160px;min-width:0}.attachment-contained-viewer>small{flex:none;font-size:11px;opacity:.7}.attachment-contained-viewer pre{padding:12px}.attachment-contained-viewer>.attachment-document-toolbar{flex-wrap:nowrap;gap:8px!important;overflow-x:auto;min-height:42px;align-items:center}.attachment-contained-viewer>.attachment-document-toolbar>strong{flex:1 1 180px;min-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}.attachment-document-toolbar>button,.attachment-document-toolbar>span{flex-shrink:0;white-space:nowrap}.attachment-document-toolbar>button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.attachment-document-toolbar .pdf-controls{flex-wrap:nowrap;gap:12px;padding:0;border:0;background:transparent}.attachment-document-toolbar .pdf-controls button{height:36px;min-height:36px;min-width:36px}.attachment-document-toolbar .pdf-controls output{min-width:76px}.attachment-document-toolbar .pdf-controls .pdf-fit{min-width:52px}.attachment-pdf-toolbar-slot:empty{display:none}.attachment-document-toolbar>a{flex:none;white-space:nowrap;border:1px solid #568e7b;border-radius:8px;background:#205e4d;color:inherit;padding:6px 12px;min-height:36px;display:inline-flex;align-items:center;text-decoration:none}.approval-document-details{flex:none;font-size:12px}.approval-document-details p{margin:4px 0}.approval-document-details small{opacity:.8}.attachment-loading-progress{flex:1;min-height:160px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px;gap:12px}.attachment-loading-progress>p{width:min(100%,360px);display:flex;justify-content:space-between;gap:16px;margin:0}.attachment-loading-progress progress{width:min(100%,360px);height:12px;accent-color:#78dbb2}.attachment-loading-progress>p>span{font-variant-numeric:tabular-nums;white-space:nowrap}dialog.attachment-contained-viewer{overflow:hidden}.attachment-preview-content{min-height:0;min-width:0}.attachment-preview-content:has(.attachment-inline-pdf){overflow:hidden;display:flex;flex-direction:column}.attachment-inline-pdf{flex:1;min-height:0;height:auto}main.has-document-view dialog.attachment-contained-viewer{z-index:10}.verification-start-actions{flex:none;border-top:1px solid #477264;padding:10px 12px;display:flex;gap:8px;flex-wrap:wrap}.verification-start-actions>p{flex-basis:100%;margin:0;white-space:normal}.verification-start-actions>button:last-child{margin-left:auto}dialog.attachment-contained-viewer.chat-document-view{z-index:100}main.chat-shell.has-document-view>.messages{overflow:hidden!important;visibility:hidden}dialog.attachment-contained-viewer.chat-document-view{visibility:visible;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.message-meta:has(.document-sharing-footer-status){display:flex;width:100%;align-items:baseline;gap:8px}.document-sharing-footer-status{order:-1;flex:1;min-width:0;margin-right:auto;text-align:left;font-size:11px;line-height:1.4;overflow-wrap:anywhere;color:inherit;opacity:.8}.document-sharing-compact:empty{display:none}

body.guest-room #guestProControls{order:10;position:relative;flex-shrink:0}body.guest-room #guestProControls .desktop-call-bar{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 12px 12px;padding:0;background:transparent;border:0}body.guest-room #guestProControls .desktop-call-bar>button{display:grid;place-items:center;width:66px;min-height:66px;padding:0;border:0;background:transparent;color:#e4fff3}body.guest-room #guestProControls .desktop-call-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #548c7566;border-radius:50%;background:#23483de8;box-shadow:0 4px 14px #0004}body.guest-room #guestProControls .desktop-call-icon.is-on{background:#237c60e8}body.guest-room #guestProControls .desktop-call-icon.is-off{background:#673536e8;color:#ffc5c1}body.guest-room #guestProControls .desktop-call-icon.is-hangup{background:#d94c5b}body.guest-room #chat>.tools{order:9;padding:4px 16px;justify-content:flex-end}body.guest-room #chat>.tools>#recordVoice{width:auto;min-height:32px;font-size:11px;flex-direction:row}body.guest-room #recordVoice .guest-tool-icon{width:30px;height:30px}body.guest-room #chat>.tools label{display:flex}body.guest-room .guest-call-settings{position:absolute;bottom:78px;left:50%;transform:translateX(-50%);width:min(360px,calc(100vw - 32px));padding:18px;border:1px solid #29483f;border-radius:14px;background:#0d211c;box-shadow:0 12px 40px #0008;z-index:15}body.guest-room .guest-call-settings p{font-size:12px}body.guest-room .guest-call-settings button{margin:4px}body.guest-room #callPanel{inset:90px 16px auto;max-height:calc(100dvh - 110px);overflow:auto}body.guest-room #acceptCall{background:#237c60;color:#fff}body.guest-room #endCall{background:#d94c5b;color:#fff}

.message-meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 5px;
}
.message-meta.has-original-language {
  margin-top: 10px;
}
.message-meta > .message-original-language,
.message-meta > time {
  font-size: 10px;
}
.message-original-language {
  flex: 0 1 auto;
  min-width: 0;
  margin-right: auto;
  overflow: hidden;
  color: #94afa7;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.message-meta > time,
.message-meta > .receipt-details {
  flex: 0 0 auto;
}
.message-translation-status {
  display: block;
  margin: 0;
  color: #a9c0b9;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.message-translation-status.is-pending {
  animation: translation-status-pulse 900ms ease-in-out infinite alternate;
}
@keyframes translation-status-pulse {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}
.bubble .message-meta > time {
  display: inline;
  margin: 0;
}
.receipt-summary {
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 4px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
}
.receipt-summary.sent {
  border-color: transparent;
  color: #a5b2ae;
}
.receipt-summary.delivered {
  color: #75e09d;
  background: #1a623744;
}
.receipt-summary.seen {
  color: #64b5ff;
  background: #15568b44;
}
.receipt-summary.listened {
  color: #d094ff;
  background: #7739a644;
}
.receipt-details {
  position: relative;
}
.receipt-details > summary {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  cursor: pointer;
}
.receipt-details > summary::-webkit-details-marker {
  display: none;
}
.receipt-details > summary:focus-visible {
  outline: 2px solid #7ee5be;
  outline-offset: 2px;
  border-radius: 99px;
}

.incoming-call-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #010504e6;
  backdrop-filter: blur(14px);
}
.incoming-call-dialog {
  width: min(390px, 100%);
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 28px 28px;
  border: 1px solid #397463;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 20%, #174638, #0a211a 62%);
  color: #eafff7;
  text-align: center;
  box-shadow:
    0 30px 110px #000d,
    0 0 70px #24c58a22;
}
.incoming-call-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid #62d7ae;
  border-radius: 50%;
  background: #1f765d;
  color: #d5fff0;
  box-shadow: 0 0 0 12px #32d39912;
  animation: incoming-call-pulse 1.35s ease-in-out infinite alternate;
}
.incoming-call-dialog.audio-call {
  border-color: #b99055;
  background: radial-gradient(circle at 50% 20%, #594527, #21170d 62%);
  box-shadow:
    0 30px 110px #000d,
    0 0 70px #e9b95b20;
}
.incoming-call-dialog.audio-call .incoming-call-icon {
  border-color: #f0c97c;
  background: #9b6d2e;
  color: #fff2d3;
  box-shadow: 0 0 0 12px #f0bd5c18;
}
.incoming-call-dialog.audio-call > span {
  color: #f2c875;
}
.incoming-call-dialog.audio-call .answer-call {
  background: #b98335;
  color: #fff8e9;
}
.topbar-actions .audio-call-button.is-incoming-call {
  border-color: #e7b75e;
  background: linear-gradient(180deg, #a9742c, #71501f);
  color: #fff4d7;
  box-shadow:
    0 0 0 4px #e7b75e20,
    0 0 28px #e7b75e3d;
  animation: incoming-audio-button 750ms ease-in-out infinite alternate;
}
.topbar-actions .live-button.is-incoming-call {
  border-color: #55d9aa;
  box-shadow:
    0 0 0 4px #55d9aa18,
    0 0 28px #55d9aa35;
}
@keyframes incoming-audio-button {
  to {
    filter: brightness(1.22);
    transform: translateY(-1px);
  }
}
@keyframes incoming-call-pulse {
  to {
    transform: scale(1.06);
    box-shadow: 0 0 0 18px #32d39908;
  }
}
.incoming-call-dialog > span {
  color: #78d9b6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.incoming-call-dialog h2 {
  margin: 2px 0 0;
  font-size: 28px;
}
.incoming-call-dialog p {
  margin: 0 0 18px;
  color: #9bbab0;
  font-size: 13px;
}
.incoming-call-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.incoming-call-actions button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 16px;
  color: white;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.incoming-call-actions .decline-call {
  background: #d9484f;
}
.incoming-call-actions .answer-call {
  background: #23a878;
}

.composer .translation-language,
.call-chat-composer .translation-language {
  -webkit-appearance: none;
  appearance: none;
  height: 48px;
  min-height: 48px;
  padding: 0 18px;
  min-width: 0;
  border: 1px solid #31594e;
  border-radius: 13px;
  outline: 0;
  background-color: #102b24;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23bff6e1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5-5 5 5'/%3E%3Cpath d='m7 14 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  background-size: 11px 11px;
  color: #bff6e1;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
  box-shadow:
    inset 0 1px #ffffff0d,
    0 4px 12px #0002;
}
.language-picker {
  position: relative;
  min-width: 0;
  height: 48px;
}
.language-picker-caption {
  position: absolute;
  z-index: 1;
  right: 2px;
  bottom: calc(100% + 1px);
  left: 2px;
  overflow: hidden;
  color: #72978a;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.055em;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
/* Align guest language and voice controls with the reading-language label. */
.chat-shell > .composer.guest-mode:not(.is-recording) > .guest-language,
.chat-shell > .composer.guest-mode:not(.is-recording) > .guest-translation-status,
.chat-shell > .composer.guest-mode:not(.is-recording) > button:last-child {
  align-self: center;
}
.guest-reading-label {
  align-self: center;
  color: #72978a;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.055em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}
.language-picker-mobile {
  display: block;
}
.language-picker-native {
  display: none !important;
}
.outgoing-language-mobile-native {
  display: none;
}
.outgoing-language-mobile-wrap {
  display: none;
}
.outgoing-language-desktop {
  display: block;
  min-width: 0;
}
.outgoing-language-desktop .language-picker-button {
  padding: 0 20px 0 6px;
  white-space: nowrap;
}
.language-picker-mobile .language-picker-button {
  padding: 0 20px 0 6px;
  white-space: nowrap;
}
.composer .language-picker-button,
.call-chat-composer .language-picker-button {
  width: 100%;
  height: 48px;
  min-height: 48px;
}
.language-picker-menu {
  position: absolute;
  z-index: 180;
  right: 0;
  bottom: calc(100% + 8px);
  width: 138px;
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 1px solid #3a695d;
  border-radius: 14px;
  background: #0a211bed;
  box-shadow:
    0 18px 48px #000b,
    inset 0 1px #ffffff10;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.language-picker-menu .language-picker-option {
  width: 100% !important;
  height: 35px !important;
  min-height: 35px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 4px;
  padding: 0 7px 0 25px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #d9eee7 !important;
  box-shadow: none !important;
}
.language-picker-option span {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}
.language-picker-option svg {
  justify-self: end;
  color: #6ee7b7;
}
.language-picker-menu .language-picker-option:hover,
.language-picker-menu .language-picker-option.is-selected {
  background: #17483b !important;
}
.language-picker-menu .language-picker-option.no-selection-mark {
  grid-template-columns: minmax(0, 1fr);
  padding: 0 10px !important;
}
@media (min-width: 601px) {
  .language-picker-mobile .language-picker-option {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 10px !important;
  }
  .language-picker-mobile .language-picker-option svg {
    display: none;
  }
}
.composer .translation-toggle,
.call-chat-composer .translation-toggle {
  border: 1px solid #6e5439;
  background: #493927;
  color: #f1d4aa;
}
.composer .translation-toggle.is-active,
.call-chat-composer .translation-toggle.is-active {
  border-color: #3f927a;
  background: #1b654f;
  color: #caffeb;
}
.translation-toggle.is-translating svg {
  animation: translation-pulse 700ms ease-in-out infinite alternate;
}
@keyframes translation-pulse {
  to {
    opacity: 0.35;
    transform: scale(0.88);
  }
}
@media (max-width: 600px) {
  .outgoing-language-mobile-wrap {
    display: block;
  }
  .outgoing-language-mobile-native {
    display: block;
    width: 100%;
  }
  .outgoing-language-desktop {
    display: none;
  }
  .language-picker-native {
    display: none !important;
  }
  .language-picker-mobile {
    display: block;
  }
  .language-picker-menu {
    right: 0;
    width: 126px;
    padding: 5px;
  }
  .language-picker-menu .language-picker-option {
    height: 34px !important;
    min-height: 34px !important;
  }
}


.translated-message > p {
  margin: 0;
}
.original-message {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid #ffffff24;
  color: #c3d6d0;
}
.original-message > p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

body.guest-room:has(#guestProControls) #callPanel[data-ringing=true]{display:none}

/* Size own text bubbles for both the first text line and its action buttons.
   The existing bubble max-width still limits long messages on small screens. */
:is(.bubble-row.mine > .participant-message, .participant-message.mine).has-inline-forward:has(> p, > .translated-message:not(.translation-status-message) > p) {
  display: grid;
  width: max-content;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  align-items: start;
}
:is(.bubble-row.mine > .participant-message, .participant-message.mine).has-inline-forward:has(> p, > .translated-message:not(.translation-status-message) > p) > .message-forward-tools {
  grid-column: 2;
  grid-row: 1;
  float: none;
  margin: -4px 0 0;
}
:is(.bubble-row.mine > .participant-message, .participant-message.mine).has-inline-forward > .translated-message:not(.translation-status-message):has(> p) {
  display: contents;
}
:is(.bubble-row.mine > .participant-message, .participant-message.mine).has-inline-forward > p,
:is(.bubble-row.mine > .participant-message, .participant-message.mine).has-inline-forward > .translated-message:not(.translation-status-message) > p {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
}
:is(.bubble-row.mine > .participant-message, .participant-message.mine).has-inline-forward:has(> p, > .translated-message:not(.translation-status-message) > p) > :is(.message-meta, .chat-link-preview),
:is(.bubble-row.mine > .participant-message, .participant-message.mine).has-inline-forward > .translated-message:not(.translation-status-message):has(> p) > .original-message {
  grid-column: 1 / -1;
}

/* Fixed toolbar height; pasted paragraphs scroll inside the multiline editor. */
.composer .message-input-with-lock > textarea.message-composer-textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 55px;
  min-height: 0;
  max-height: 55px;
  resize: none;
  overflow-y: auto;
  font: inherit;
  line-height: 24px;
  padding: 14.5px 18px 14.5px 48px;
  border: 1px solid #29463e;
  border-radius: 18px;
  background: #081a16;
  color: white;
  outline: none;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.composer .message-input-with-lock > textarea.message-composer-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #34d39920;
}

/* Match the original input geometry in mobile and call layouts. */
@media (max-width: 600px) {
  .composer .message-input-with-lock > textarea.message-composer-textarea {
    height: 48px;
    max-height: 48px;
    padding: 11px 14px 11px 48px;
    border-radius: 15px;
  }
}
.call-dialog .composer .message-input-with-lock > textarea.message-composer-textarea {
  height: 48px;
  max-height: 48px;
  padding-block: 11px;
}
.composer textarea.message-composer-textarea::placeholder { white-space: nowrap; }

/* Anchor delete to the same corner inset for text, audio and file bubbles.
   Keep its former flow space so content and the forwarding action do not overlap. */
.participant-message { position: relative; }
.participant-message > .message-forward-tools > .message-delete-action {
  position: absolute;
  top: 5px;
  right: 5px;
  margin: 0;
}
.participant-message > .message-forward-tools:has(> .message-delete-action)::after {
  content: "";
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

/* Keep forwarding beside delete with a consistent 4px button gap. */
.participant-message > .message-forward-tools:has(> .message-delete-action) > .message-forward-action {
  position: absolute;
  top: 5px;
  right: 37px;
  margin: 0;
}
.participant-message > .message-forward-tools:has(> .message-delete-action):has(> .message-forward-action)::after {
  flex-basis: 60px;
  width: 60px;
}

.message-content-tools{display:flex;gap:10px;align-items:center;grid-column:1/-1;font-size:12px;flex-wrap:wrap}
.message-content-tools>button{border:0;background:transparent;padding:2px 0;color:inherit;text-decoration:underline;cursor:pointer}
.content-dialog-backdrop{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:#00110ce6;padding:20px;color:#e6fff5;text-align:left}
.content-dialog{width:min(780px,100%);max-height:90dvh;overflow:auto;background:#102d25;border:1px solid #427567;border-radius:18px;padding:22px;box-shadow:0 20px 80px #0008}
.content-dialog header,.content-dialog footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.content-dialog button{background:#1f5445;color:#e6fff5;border:1px solid #579481;border-radius:8px;padding:8px 12px;cursor:pointer}.content-dialog button:disabled{opacity:.5;cursor:default}
.content-dialog textarea{display:block;width:100%;box-sizing:border-box;padding:12px;margin:8px 0 16px;background:#071e17;color:#e6fff5;border:1px solid #579481;border-radius:8px;white-space:pre-wrap;resize:vertical;font:inherit}
.content-preview{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #427567;border-radius:8px;padding:14px;margin:10px 0 16px;font-size:15px;line-height:1.5}
.original-message-disclosure{grid-column:1/-1!important}.original-message-disclosure>summary{display:list-item;cursor:pointer;width:fit-content;padding:4px 0;border-radius:0;border:0;background:transparent;box-shadow:none;outline:none;font-size:12px;user-select:none}.original-message-disclosure>summary:focus-visible{text-decoration:underline;text-underline-offset:3px}.original-message-disclosure>p{white-space:pre-wrap}

.prepared-point-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0;padding:10px;border:1px solid #427567;border-radius:8px}.prepared-point-row strong{flex:1 1 200px}.prepared-point-actions{display:flex;gap:12px}

/* Message actions share the timestamp row in normal chat and call chat. */
.message-meta > .message-content-tools {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 8px;
  font-size: 11px;
  white-space: nowrap;
}
.message-meta > .message-content-tools > button { padding-block: 0; }
.message-meta:has(> .message-content-tools) { flex-wrap: nowrap; }

/* A native modal is above all message and toolbar stacking contexts. */
dialog.content-modal-layer {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  box-sizing: border-box;
  border: 0;
  font: 12px/1.5 Inter, ui-sans-serif, system-ui, sans-serif;
  white-space: normal;
}
dialog.content-modal-layer::backdrop { background: transparent; }

:is(#messages,#offers) .bubble-row  {
  display: flex;
  margin: 9px 0;
}
:is(#messages,#offers) .bubble-row.mine  {
  justify-content: flex-end;
}
:is(#messages,#offers) .bubble  {
  max-width: min(72%, 560px);
  padding: 10px 13px 7px;
  border: 1px solid #29483f;
  border-radius: 6px 17px 17px 17px;
  background: #132c25;
}
:is(#messages,#offers) .mine .bubble  {
  border-color: #277d65;
  background: #17634f;
  border-radius: 17px 6px 17px 17px;
}
:is(#messages,#offers) .bubble b  {
  display: block;
  margin-bottom: 4px;
  color: #6ee7b7;
  font-size: 12px;
}
:is(#messages,#offers) .bubble p  {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.45;
}
:is(#messages,#offers) .bubble time  {
  display: block;
  margin-top: 4px;
  text-align: right;
  color: #a6bbb5;
  font-size: 10px;
}

.message-meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 5px;
}
.message-meta.has-original-language {
  margin-top: 10px;
}
.message-meta > .message-original-language,
.message-meta > time {
  font-size: 10px;
}
.message-original-language {
  flex: 0 1 auto;
  min-width: 0;
  margin-right: auto;
  overflow: hidden;
  color: #94afa7;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.message-meta > time,
.message-meta > .receipt-details {
  flex: 0 0 auto;
}
.message-translation-status {
  display: block;
  margin: 0;
  color: #a9c0b9;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.message-translation-status.is-pending {
  animation: translation-status-pulse 900ms ease-in-out infinite alternate;
}
@keyframes translation-status-pulse {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}
.bubble .message-meta > time {
  display: inline;
  margin: 0;
}
.receipt-summary {
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 4px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
}
.receipt-summary.sent {
  border-color: transparent;
  color: #a5b2ae;
}
.receipt-summary.delivered {
  color: #75e09d;
  background: #1a623744;
}
.receipt-summary.seen {
  color: #64b5ff;
  background: #15568b44;
}
.receipt-summary.listened {
  color: #d094ff;
  background: #7739a644;
}
.receipt-details {
  position: relative;
}
.receipt-details > summary {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  cursor: pointer;
}
.receipt-details > summary::-webkit-details-marker {
  display: none;
}
.receipt-details > summary:focus-visible {
  outline: 2px solid #7ee5be;
  outline-offset: 2px;
  border-radius: 99px;
}
.receipt-popover {
  position: absolute;
  z-index: 80;
  right: 0;
  bottom: calc(100% + 8px);
  width: min(260px, calc(100dvw - 48px));
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #426e62;
  border-radius: 14px;
  background: #0a211bef;
  color: #e9f8f3;
  box-shadow: 0 16px 50px #000a;
  backdrop-filter: blur(12px);
}
.message-meta > .receipt-details {
  position: static;
}
.bubble-row:not(.mine) .message-meta > .receipt-details > .receipt-popover,
.call-chat-messages
  article:not(.mine)
  .message-meta
  > .receipt-details
  > .receipt-popover {
  right: auto;
  left: 0;
}
.bubble-row.mine .message-meta > .receipt-details > .receipt-popover,
.call-chat-messages
  article.mine
  .message-meta
  > .receipt-details
  > .receipt-popover {
  right: 0;
  left: auto;
}
.receipt-popover > strong {
  margin: 0 2px 3px;
  color: #cce9df;
  font-size: 11px;
}
.receipt-person {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 6px 7px;
  border-radius: 10px;
  background: #ffffff08;
}
.receipt-person > svg {
  width: 25px;
  height: 25px;
  padding: 5px;
  border-radius: 50%;
  background: #18342d;
}
.receipt-person span,
.receipt-person b,
.receipt-person small {
  display: block;
  min-width: 0;
}
.receipt-person b {
  overflow: hidden;
  color: #edf9f5;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.receipt-person small {
  margin-top: 2px;
  color: #9eb4ad;
  font-size: 9px;
}
.receipt-person.delivered > svg {
  color: #75e09d;
}
.receipt-person.seen > svg {
  color: #64b5ff;
}
.receipt-person.listened > svg {
  color: #d094ff;
}
.login-form .remember-login {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  margin-top: -4px;
  cursor: pointer;
}
.login-form .remember-login input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid #3c675b;
  border-radius: 5px;
  accent-color: #34d399;
}
.login-form .remember-login span {
  color: #b8cbc5;
  font-size: 13px;
  font-weight: 650;
}
.composer .attach-button {
  background: #17352d;
  color: #8de8c5;
}
.composer .camera-button {
  background: #1c4137;
  color: #b7f7df;
}
.file-input {
  display: none;
}
.file-card {
  width: min(340px, 62vw);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 9px;
  border: 0;
  border-radius: 11px;
  background: #09271f;
  color: #eef5f3;
  text-align: left;
  cursor: pointer;
}
.file-card span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.file-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-card small {
  color: #a6bbb5;
}
.image-card {
  width: min(420px, 62vw);
  display: grid;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d6e6e1;
  text-align: left;
  cursor: pointer;
}
.image-card img {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: 11px;
  object-fit: contain;
  background: #071713;
}
.image-card > span {
  min-height: 150px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #09271f;
  color: #a6bbb5;
}

.audio-card {
  --audio-main-row: 48px;
  --audio-meta-row: 14px;
  width: 430px;
  max-width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 100px;
  align-items: start;
  gap: 9px;
  padding: 0;
}
.audio-card span {
  font-size: 12px;
}
.audio-card > span {
  grid-column: 1 / -1;
  min-height: calc(var(--audio-main-row) + var(--audio-meta-row) + 2px);
  display: flex;
  align-items: center;
}
.audio-card audio {
  display: none;
}
.audio-play-button {
  width: 42px;
  height: 42px;
  margin-top: calc((var(--audio-main-row) - 42px) / 2);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #d5e6e0;
  cursor: pointer;
}
.audio-play-button:hover {
  color: #ffffff;
  background: #ffffff0c;
}
.audio-play-button svg {
  margin-left: 2px;
}
.audio-play-button svg[data-lucide='pause'] {
  margin-left: 0;
}
.audio-track {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: grid;
  grid-template-rows: var(--audio-main-row) var(--audio-meta-row);
  row-gap: 2px;
  align-content: start;
  align-items: center;
}
.audio-waveform {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
}
.audio-waveform i {
  width: 3px;
  min-width: 3px;
  border-radius: 99px;
  background: #8ca29b;
  opacity: 0.72;
  transition:
    background 100ms ease,
    opacity 100ms ease;
}
.audio-waveform i.is-played {
  background: #55a9ff;
  opacity: 1;
}
.audio-track > input[type='range'] {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: var(--audio-main-row);
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.audio-time-row {
  display: flex;
  justify-content: space-between;
  color: #b5c4bf;
  font-variant-numeric: tabular-nums;
  line-height: var(--audio-meta-row);
}
.audio-time-row span {
  font-size: 10px;
}
.audio-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff1f;
  border-radius: 50%;
  background: linear-gradient(145deg, #73d9b8, #1c7560);
  color: #062019;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 4px 14px #0004;
}
.audio-avatar > svg {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 19px;
  height: 19px;
  padding: 2px;
  border-radius: 50%;
  background: #17634f;
  color: #66b4ff;
  filter: drop-shadow(0 1px 2px #0008);
}
.audio-side-column {
  min-width: 100px;
  align-self: stretch;
  display: grid;
  grid-template-columns: 52px 40px;
  /* The metadata row can grow when all four delivery badges are present. */
  grid-template-rows: var(--audio-main-row) minmax(var(--audio-meta-row), auto);
  justify-items: center;
  align-items: center;
  column-gap: 8px;
  row-gap: 2px;
}
.audio-side-column .audio-avatar {
  grid-column: 1;
  grid-row: 1;
}
.audio-card .audio-side-column > time {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin: 0;
  color: #b5c4bf;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: var(--audio-meta-row);
}
.audio-receipts {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 20px;
  display: grid;
  place-items: center;
}
.audio-receipts .receipt-details > summary {
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.audio-receipts .receipt-summary {
  min-width: 38px;
  justify-content: center;
}
.audio-receipts .receipt-popover {
  right: 0;
  bottom: calc(100% + 7px);
}
@media (max-width: 600px) {
  .recording-live {
    grid-template-columns: 8px 36px minmax(60px, 1fr);
    gap: 7px;
    padding: 0 10px;
  }
  .recording-status {
    display: none;
  }
  .recording-waveform {
    gap: 1px;
  }
  .recording-waveform i {
    width: 2px;
    min-width: 2px;
  }
  .audio-card {
    --audio-main-row: 43px;
    width: min(340px, 100%);
    grid-template-columns: 38px minmax(0, 1fr) 92px;
    gap: 6px;
  }
  .audio-play-button {
    width: 38px;
    height: 38px;
    margin-top: calc((var(--audio-main-row) - 38px) / 2);
  }
  .audio-avatar {
    width: 43px;
    height: 43px;
  }
  .audio-side-column {
    min-width: 92px;
    grid-template-columns: 47px 37px;
  }
  .audio-waveform {
    gap: 1.5px;
  }
  .audio-waveform i {
    width: 2px;
    min-width: 2px;
  }
}

:is(#messages,#offers)>.bubble-row{width:100%;flex-shrink:0}:is(#messages,#offers) .bubble{max-width:min(88%,760px);font-size:13px}:is(#messages,#offers) .bubble.sco-audio-message{width:fit-content;max-width:min(88%,560px);padding-block:6px;padding-right:8px}:is(#messages,#offers) .sco-pro-meta{display:contents}:is(#messages,#offers) .sco-pro-audio{max-width:100%}:is(#messages,#offers) .sco-offer-reference{display:block;color:#94afa7;font-size:10px;margin-bottom:4px}:is(#messages,#offers) .bubble .message-meta>time{display:inline;margin:0}:is(#messages,#offers) .audio-card button{margin:0}:is(#messages,#offers) .audio-track input{margin:0}:is(#messages,#offers) .audio-card .audio-side-column>time{margin:0}:is(#messages,#offers) .bubble .receipt-popover b{color:inherit}
/* The SCO auth form has padded summaries; PRO chat disclosures do not. */
:is(#messages,#offers) .original-message>summary,:is(#messages,#offers) .receipt-details>summary{padding:0}

:is(#messages,#offers) .bubble{position:relative}
:is(#messages,#offers) .bubble:has(.sco-message-delete){padding-right:38px}
:is(#messages,#offers) .sco-message-delete{position:absolute;right:5px;top:5px;display:grid;place-items:center;width:28px;height:28px;min-height:0;padding:0;border:0;border-radius:5px;background:transparent;color:inherit;opacity:.85}
:is(#messages,#offers) .sco-message-delete:hover{background:#ffffff18;opacity:1}
:is(#messages,#offers) .sco-call-entry{position:relative;align-self:center;width:fit-content;max-width:100%;margin-inline:auto}

/* PRO delete confirmation, centred in the active SCO chat. */
.sco-delete-dialog{position:fixed;inset:auto;margin:0;transform:translate(-50%,-50%);height:auto;max-height:none;z-index:180;border:1px solid #36564b;border-radius:18px;box-shadow:0 18px 56px #0007;background:#10271f;color:#eef5f3;padding:0;box-sizing:border-box;overflow:hidden}
.sco-delete-dialog::backdrop{background:#03100b38}
.sco-delete-dialog>header{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:14px 18px 0;gap:12px;border:0;box-sizing:border-box;background:transparent}
.sco-delete-dialog>header strong{font-size:16px;font-weight:600;line-height:1.3}
.sco-delete-dialog>header button{display:grid;place-items:center;margin:0 0 0 auto;width:30px;height:30px;min-height:30px;background:transparent;border:0;border-radius:8px;box-shadow:none;padding:0;font-size:24px;font-weight:400;line-height:1;color:#a8c5b9}
.sco-delete-dialog>header button:hover{background:#ffffff0b;color:#fff}
.sco-delete-content{display:flex;flex-direction:column;gap:22px;padding:12px 20px 20px;text-align:left}
.sco-delete-content>p{margin:0;color:#b7cec3;font-size:14px;font-weight:400;line-height:1.5}
.sco-delete-actions{display:flex;justify-content:flex-end;gap:10px;width:100%}
.sco-delete-actions button{width:auto;min-width:88px;min-height:38px;height:38px;margin:0;padding:0 16px;border:1px solid #456a5b;border-radius:10px;color:#e8f5ee;font-size:13px;font-weight:600;line-height:1;background:#18382c;box-shadow:none}
.sco-delete-actions [data-confirm]{background:#984348;border-color:#ad575b;color:#fff}
.sco-delete-actions [data-confirm]:hover{background:#ac4b50}
.sco-delete-actions [data-cancel]:hover{background:#224838}
.sco-delete-dialog button:focus-visible{outline:2px solid #70d6ad;outline-offset:2px}
.sco-delete-dialog [data-sco-i18n]{font:inherit;color:inherit;letter-spacing:inherit}

.receipt-summary.opened{color:#e5bc76;background:#80602044}

.receipt-summary.downloaded{color:#d094ff;background:#7739a644}



/* Keep document receipts on one shared centre line, including native PRO details. */
:is(#messages,#offers) .bubble:has(.file-card) .message-meta{align-items:center;flex-wrap:nowrap;gap:3px}
:is(#messages,#offers) .bubble:has(.file-card) .message-meta>.receipt-details{display:flex;align-items:center;line-height:1;margin:0;padding:0}
:is(#messages,#offers) .bubble:has(.file-card) .receipt-details>summary{display:flex;align-items:center;line-height:1;margin:0;padding:0}
:is(#messages,#offers) .bubble:has(.file-card) .message-meta .receipt-summary{box-sizing:border-box;height:20px;min-height:20px;flex-shrink:0;vertical-align:middle;margin:0;line-height:1}
:is(#messages,#offers) .bubble:has(.file-card) .message-meta .receipt-summary svg{display:block;flex-shrink:0}

.receipt-summary.invitation-clicked{color:#d094ff;background:#7739a644}
.sco-deal-message-title{font-size:13px;margin:0 0 8px!important}
.sco-deal-message-button{margin-top:8px;width:100%;white-space:normal}
.sco-deal-error:empty{display:none}
.bubble:has(.sco-deal-message-button) .message-meta{display:flex;align-items:center;flex-wrap:nowrap;gap:3px}
.bubble:has(.sco-deal-message-button) .receipt-details,.bubble:has(.sco-deal-message-button) .receipt-details>summary{display:flex;align-items:center;line-height:1;margin:0;padding:0}
.bubble:has(.sco-deal-message-button) .receipt-summary{box-sizing:border-box;height:20px;min-height:20px;flex-shrink:0;margin:0}

.call-history-row {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}
.call-join-error {
  display: block;
  max-width: 360px;
  margin: 8px auto;
  font-size: 12px;
  color: #efb5a1;
}
.call-history-card {
  min-width: 240px;
  max-width: min(92%, 360px);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid #315b50;
  border-radius: 14px;
  background: #102922e8;
  color: #83e5c1;
  box-shadow: 0 5px 20px #0003;
}
.call-history-card.is-rejoinable {
  width: auto;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}
.call-history-card.is-rejoinable:hover {
  border-color: #53cda5;
  background: #174238;
  transform: translateY(-1px);
}
.call-history-card.is-rejoinable:focus-visible {
  outline: 2px solid #6ee7b7;
  outline-offset: 2px;
}
.call-history-card.is-rejoinable:disabled {
  cursor: default;
  opacity: 0.7;
  transform: none;
}
.call-history-row.ongoing .call-history-card {
  background: #14533f;
  border-color: #42ca9c;
  color: #c8ffed;
}
.call-history-row.ongoing .call-history-card span {
  color: #c8eddf;
}
.call-history-row.ongoing .call-history-card .call-join-hint {
  margin-top: 2px;
  color: #8ff3c7;
  font-weight: 700;
}
.call-history-row.completed .call-history-card {
  background: #10241f;
  border-color: #3b554b;
  color: #91b4a6;
}
.call-history-card > svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: #1a483b;
}
.call-history-card strong,
.call-history-card span {
  display: block;
}
.call-history-card strong {
  color: #e7faf3;
  font-size: 12px;
}
.call-history-card span,
.call-history-card time {
  color: #92aba3;
  font-size: 10px;
}
.call-history-row.missed .call-history-card,
.call-history-row.declined .call-history-card {
  border-color: #76504c;
  color: #ef9b91;
}
.call-history-row.missed .call-history-card > svg,
.call-history-row.declined .call-history-card > svg {
  background: #4a2826;
}

.call-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #010504ed;
  backdrop-filter: blur(12px);
}
.incoming-call-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #010504e6;
  backdrop-filter: blur(14px);
}
.incoming-call-dialog {
  width: min(390px, 100%);
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 28px 28px;
  border: 1px solid #397463;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 20%, #174638, #0a211a 62%);
  color: #eafff7;
  text-align: center;
  box-shadow:
    0 30px 110px #000d,
    0 0 70px #24c58a22;
}
.incoming-call-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid #62d7ae;
  border-radius: 50%;
  background: #1f765d;
  color: #d5fff0;
  box-shadow: 0 0 0 12px #32d39912;
  animation: incoming-call-pulse 1.35s ease-in-out infinite alternate;
}
.incoming-call-dialog.audio-call {
  border-color: #b99055;
  background: radial-gradient(circle at 50% 20%, #594527, #21170d 62%);
  box-shadow:
    0 30px 110px #000d,
    0 0 70px #e9b95b20;
}
.incoming-call-dialog.audio-call .incoming-call-icon {
  border-color: #f0c97c;
  background: #9b6d2e;
  color: #fff2d3;
  box-shadow: 0 0 0 12px #f0bd5c18;
}
.incoming-call-dialog.audio-call > span {
  color: #f2c875;
}
.incoming-call-dialog.audio-call .answer-call {
  background: #b98335;
  color: #fff8e9;
}
.topbar-actions .audio-call-button.is-incoming-call {
  border-color: #e7b75e;
  background: linear-gradient(180deg, #a9742c, #71501f);
  color: #fff4d7;
  box-shadow:
    0 0 0 4px #e7b75e20,
    0 0 28px #e7b75e3d;
  animation: incoming-audio-button 750ms ease-in-out infinite alternate;
}
.topbar-actions .live-button.is-incoming-call {
  border-color: #55d9aa;
  box-shadow:
    0 0 0 4px #55d9aa18,
    0 0 28px #55d9aa35;
}
@keyframes incoming-audio-button {
  to {
    filter: brightness(1.22);
    transform: translateY(-1px);
  }
}
@keyframes incoming-call-pulse {
  to {
    transform: scale(1.06);
    box-shadow: 0 0 0 18px #32d39908;
  }
}
.incoming-call-dialog > span {
  color: #78d9b6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.incoming-call-dialog h2 {
  margin: 2px 0 0;
  font-size: 28px;
}
.incoming-call-dialog p {
  margin: 0 0 18px;
  color: #9bbab0;
  font-size: 13px;
}
.incoming-call-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.incoming-call-actions button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 16px;
  color: white;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.incoming-call-actions .decline-call {
  background: #d9484f;
}
.incoming-call-actions .answer-call {
  background: #23a878;
}
.call-dialog {
  --call-controls-min-width: 516px;
  width: min(880px, 100%);
  height: min(720px, calc(100dvh - 36px));
  display: grid;
  grid-template-rows: 64px 1fr 76px;
  overflow: hidden;
  border: 1px solid #2a5147;
  border-radius: 24px;
  background: #081713;
  box-shadow: 0 30px 120px #000;
}
.call-dialog.has-chat {
  width: min(1180px, 100%);
}
.call-dialog:fullscreen {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
}
.call-dialog > header {
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  border-bottom: 1px solid #23443b;
  color: #aef2d7;
}
.call-header-tools {
  display: flex !important;
  grid-auto-flow: initial !important;
  align-items: center;
  gap: 8px !important;
}
.call-mobile-title,
.call-mobile-participants,
.call-mobile-connection,
.call-mobile-room-lock {
  display: none !important;
}
.call-stage-camera-picker {
  display: none !important;
}
.call-invite-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #326154;
  border-radius: 12px;
  background: linear-gradient(180deg, #1b4137, #123129);
  color: #baf8df;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 7px 18px #0003;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}
.call-invite-button:hover {
  border-color: #60c49f;
  background: linear-gradient(180deg, #245648, #174034);
  transform: translateY(-1px);
}
.call-invite-button:active {
  transform: scale(0.97);
}
.call-header-lock {
  flex: none;
  margin-left: 2px;
}
.call-dialog > .call-content {
  grid-row: 2;
}
.call-dialog > .call-controls {
  grid-row: 3;
}
.call-dialog > header div {
  display: grid;
  gap: 3px;
}
.call-dialog > header span {
  color: #91aaa3;
  font-size: 12px;
}
.call-dialog > header .call-self-name {
  min-width: 0;
  max-width: 176px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  overflow: hidden;
  border: 1px solid #326154;
  border-radius: 999px;
  background: #123129;
  line-height: 1;
  white-space: nowrap;
}
.call-dialog > header .call-self-name-label {
  flex: none;
  color: #71c7a7;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.call-dialog > header .call-self-name-value {
  min-width: 0;
  overflow: hidden;
  color: #d4fff0;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.call-dialog > header .call-participant-count {
  min-width: 0;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid #326154;
  border-radius: 999px;
  background: #123129;
  color: #aef2d7;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.call-participant-count svg {
  flex: none;
  color: #6ee7b7;
}
.call-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #020706;
}
.call-content {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.call-content.has-chat {
  grid-template-columns: minmax(0, 1fr) minmax(251.328px, 25.1328%);
}
.call-side-chat {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr) 62px;
  border-left: 1px solid #23443b;
  background: #0a1b17;
}
.call-side-chat > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px 0 16px;
  border-bottom: 1px solid #23443b;
  color: #c9f9e7;
}
.call-side-chat > header strong {
  display: flex;
  align-items: center;
  gap: 7px;
}
.call-side-chat > header button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #17372f;
  color: #c9f9e7;
  cursor: pointer;
}
.call-chat-messages {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  overflow-anchor: none;
  scroll-behavior: auto;
  padding: 13px;
}
.call-chat-messages article {
  max-width: 88%;
  display: grid;
  gap: 3px;
  align-self: flex-start;
  padding: 9px 11px;
  border-radius: 13px 13px 13px 4px;
  background: #163a31;
  color: #e7fff6;
  overflow-wrap: anywhere;
}
.call-chat-messages article.mine {
  align-self: flex-end;
  border-radius: 13px 13px 4px 13px;
  background: #24664f;
}
.call-chat-messages article > strong,
.call-chat-messages article > time {
  color: #a5c8bc;
  font-size: 10px;
}
.call-chat-messages article > span {
  font-size: 13px;
  line-height: 1.35;
}
.call-chat-messages article > time {
  justify-self: end;
}
.call-chat-messages article:has(.audio-card) {
  width: 100%;
  max-width: 100%;
  padding-block: 6px;
  padding-right: 9px;
}
.call-chat-messages article .audio-card {
  width: min(430px, 100%);
}
.call-chat-messages article:has(.image-card) {
  flex: none;
  width: min(312px, 88%);
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}
.call-chat-messages .image-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.call-chat-messages .image-card img {
  max-height: 240px;
  object-fit: contain;
}
.call-chat-messages .typing-indicator {
  flex: none;
  align-self: flex-start;
  margin: 0;
  padding: 7px 10px;
  border-radius: 5px 13px 13px 13px;
  font-size: 11px;
}
.call-chat-empty {
  margin: auto;
  color: #819b93;
  font-size: 13px;
}
.call-chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px 58px 40px 40px;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #23443b;
}
.call-chat-composer.guest-mode {
  grid-template-areas:
    'call-message call-message call-message call-message'
    'call-read-label call-language call-translate call-action';
  grid-template-columns: minmax(0, 1fr) 58px 40px 40px;
  grid-template-rows: 40px 40px;
  row-gap: 12px;
}
.call-side-chat:has(> .call-chat-composer.guest-mode) {
  grid-template-rows: 52px minmax(0, 1fr) 103px;
}
.call-chat-composer.guest-mode > :is(input, .message-input-with-lock) {
  grid-area: call-message;
}
.call-chat-composer.guest-mode > .guest-reading-label {
  grid-area: call-read-label;
  min-width: 0;
  white-space: normal;
}
.call-chat-composer.guest-mode > .guest-language.language-picker {
  grid-area: call-language;
}
.call-chat-composer.guest-mode > .translation-toggle {
  grid-area: call-translate;
}
.call-chat-composer.guest-mode > button:last-child {
  grid-area: call-action;
}
.call-chat-composer .language-picker,
.call-chat-composer .language-picker-button {
  height: 40px;
  min-height: 40px;
}
.call-chat-composer input {
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #31594e;
  border-radius: 12px;
  outline: 0;
  background: #102b24;
  color: #edfff8;
}
.call-chat-composer select {
  width: 58px;
  height: 40px;
}
.call-chat-composer button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #34d399;
  color: #052018;
  cursor: pointer;
}
.call-chat-composer button:disabled {
  opacity: 0.35;
}
.camera-picker {
  min-width: 0;
  max-width: 330px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #3b7565;
  border-radius: 13px;
  background: #0a211bd9;
  color: #c9f9e7;
  box-shadow: 0 5px 18px #0006;
}
.camera-picker span {
  flex: none;
  color: inherit !important;
  font-size: 12px;
  font-weight: 800;
}
.camera-picker select {
  min-width: 0;
  max-width: 190px;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.call-stage > video:first-child {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.relay-call-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020706;
}
.group-relay-grid {
  --group-columns: 1;
  position: absolute;
  inset: 0;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(var(--group-columns), minmax(0, 1fr));
  grid-auto-rows: minmax(120px, 1fr);
  gap: 4px;
  padding: 4px;
  overflow: auto;
  background: #020706;
}
.group-relay-grid.density-one {
  --group-columns: 1;
}
.group-relay-grid.density-small {
  --group-columns: 2;
}
.group-relay-grid.density-medium {
  --group-columns: 3;
}
.group-relay-grid.density-large {
  --group-columns: 4;
  gap: 3px;
  padding: 3px;
}
.group-participant-tile {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #1d4439;
  border-radius: 0;
  background: #07110e;
}
.group-participant-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  object-fit: contain;
  border-radius: inherit;
  background: #07110e;
  transition:
    opacity 180ms ease,
    filter 180ms ease;
}
.hd-camera-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.camera-quality-status {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  background: #001b;
  color: #d7f8eb;
  font-size: 11px;
}
.group-participant-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  color: #8da29d;
  text-align: center;
  background: radial-gradient(circle at center, #153f34, #07110e 68%);
}
.group-participant-placeholder svg {
  color: #65caa6;
}
.group-participant-placeholder b,
.group-participant-placeholder strong,
.group-participant-placeholder span {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.group-participant-tile figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  min-width: 0;
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 8px 8px;
  color: #e6f5ef;
  text-align: left;
  background: transparent;
}
.group-participant-tile figcaption b,
.group-participant-tile figcaption strong,
.group-participant-tile
  figcaption
  > span:not(.participant-room-badge):not(.participant-microphone-control) {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 3px #000;
}
.participant-room-badge {
  min-width: 0;
  flex: none;
  padding: 3px 5px;
  overflow: hidden;
  border: 1px solid #3b6a5d;
  border-radius: 999px;
  background: #123129e8;
  color: #9de5ca;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.participant-microphone-control {
  width: 27px;
  height: 27px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 0;
  touch-action: manipulation;
  border: 1px solid #386b5d;
  border-radius: 8px;
  background: #0b211ce8;
  color: #8de6c5;
  cursor: pointer;
}
.participant-device-controls {
  display: flex;
  flex: none;
  align-items: center;
  gap: 5px;
}
.group-participant-tile figcaption .participant-device-controls .participant-microphone-control {
  left: auto;
  transform: none;
  margin-left: 0;
}
.audio-group-participant .participant-device-controls {
  margin-left: auto;
}
.participant-microphone-control:hover {
  border-color: #65d9b0;
  background: #173d33;
}
.participant-microphone-control.is-muted {
  border-color: #bb655c;
  background: #4a2424e8;
  color: #ffd1cb;
}
.participant-microphone-control:disabled {
  cursor: wait;
  opacity: 0.48;
}
/* Administrator mute remains legible even though guests cannot undo it. */
.participant-microphone-control.is-admin-muted {
  border: 2px solid #ff8f86;
  background: #752c32;
  color: #fff1ed;
  opacity: 1;
}
.participant-microphone-control.is-admin-muted:disabled {
  cursor: not-allowed;
}
.participant-microphone-locked-icon {
  position: relative;
  display: block;
  width: 23px;
  height: 22px;
}
.participant-microphone-locked-icon > svg:first-child {
  position: absolute;
  left: 0;
  top: 1px;
}
.participant-microphone-lock-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #752c32;
  border-radius: 2px;
}
.participant-microphone-control:focus-visible {
  outline: 2px solid #75e7bf;
  outline-offset: 2px;
}
.participant-microphone-control.is-status {
  cursor: default;
}
.participant-microphone-control.is-unknown {
  opacity: 0.5;
}
.group-participant-tile figcaption > .participant-microphone-control,
.audio-group-participant > .participant-microphone-control {
  flex: none;
}
.group-participant-tile figcaption .participant-microphone-control {
  position: relative;
  left: -50%;
  transform: translateX(50%);
  margin-left: 2px;
}
.group-participant-tile.is-reconnecting img,
.group-participant-tile.is-reconnecting .group-participant-placeholder {
  opacity: 0.38;
  filter: saturate(0.55);
}
.group-participant-tile.is-reconnecting::after {
  content: 'Reconnecting\2026';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  border: 1px solid #8e7653;
  border-radius: 999px;
  background: #2b241ee8;
  color: #ffe3bf;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.call-waiting {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  color: #8da29d;
  text-align: center;
}
.call-waiting svg {
  color: #3b6a5d;
}
.call-waiting strong {
  color: #c7d9d4;
}
.call-waiting span {
  font-size: 12px;
}
.call-admin-muted-banner {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 8;
  max-width: calc(100% - 28px);
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  transform: translateX(-50%);
  border: 1px solid #c06960;
  border-radius: 999px;
  background: #4a2424ed;
  color: #ffe0dc;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 9px 26px #0007;
}
.call-admin-muted-banner svg {
  flex: none;
}
.call-audio-unlock {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 8;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 15px;
  background: #34d399;
  color: #052018;
  font-weight: 850;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  user-select: none;
  box-shadow: 0 12px 35px #0009;
}
.local-call-video {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 16px;
  width: min(28%, 220px);
  height: auto;
  max-height: 45%;
  border: 1px solid #1d4439;
  border-radius: 0;
  background: #0c1d19;
  object-fit: contain;
  box-shadow: 0 12px 35px #000a;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}
.local-call-video:active {
  cursor: grabbing;
}
.local-call-video.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.call-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid #23443b;
  background: #0c211b;
}
.call-dialog.audio-only {
  --call-controls-min-width: 454px;
}
/* Center the row under the call stage, not the stage plus the side chat.
   Keep the footer full width and preserve button sizes on narrow desktops. */
.call-dialog.has-chat > .call-controls {
  padding-right: min(
    max(280px, 32%),
    max(0px, calc(100% - var(--call-controls-min-width)))
  );
}
.call-controls .call-microphone-picker {
  width: min(280px, 27vw);
  min-height: 42px;
  box-shadow: none;
}
.call-controls .call-microphone-picker select {
  width: 100%;
  max-width: 180px;
}
.call-controls .call-microphone-picker select:disabled {
  cursor: wait;
  opacity: 0.6;
}
.call-controls button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #23483d;
  color: #d9f8ec;
  cursor: pointer;
  box-shadow:
    inset 0 1px #ffffff12,
    0 7px 20px #0004;
  transition:
    transform 150ms ease,
    filter 150ms ease,
    box-shadow 150ms ease;
}
.call-controls button:not(:disabled):hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow:
    inset 0 1px #ffffff18,
    0 10px 24px #0005;
}
.call-controls button:not(:disabled):active {
  transform: scale(0.95);
}
.call-controls button.is-off {
  background: #6a5540;
  color: #ffe3bf;
}
.call-controls button.speaker-on {
  background: #23765e;
  color: #d6fff0;
}
.call-controls button:disabled {
  opacity: 0.35;
}
.call-controls button.hangup {
  width: 58px;
  border-radius: 19px;
  background: #e64f55;
  color: white;
}

.audio-call-button {
  border-color: #386f62;
  background: linear-gradient(180deg, #24594c, #173c33);
  color: #d5fff0;
}
.call-dialog.audio-only .call-stage > video,
.call-dialog.audio-only .relay-call-image {
  display: none;
}
.audio-call-display {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  background: radial-gradient(
    circle at center,
    #17483b 0,
    #071713 48%,
    #030a08 100%
  );
  color: #d9f8ed;
}
.audio-call-icon {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border: 1px solid #3c8e76;
  border-radius: 50%;
  background: #153f34;
  color: #75e7bf;
  box-shadow:
    0 0 0 12px #34d3990c,
    0 18px 50px #0008;
}
.audio-call-display strong {
  margin-top: 8px;
  font-size: clamp(20px, 3vw, 30px);
}
.audio-call-display span {
  color: #91aaa2;
  font-size: 13px;
}
.audio-call-display:has(.audio-group-roster) {
  grid-template-columns: minmax(0, min(760px, 100%));
  align-content: center;
  place-content: center;
  overflow: hidden;
}
.audio-group-roster {
  width: min(760px, 100%);
  height: auto;
  max-width: 100%;
  min-height: 62px;
  max-height: clamp(62px, 32dvh, 320px);
  min-width: 0;
  align-self: center;
  align-content: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 50px;
  gap: 7px;
  padding: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.audio-group-roster > .audio-group-participant:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 7px) / 2);
}
.audio-group-participant {
  position: relative;
  min-width: 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  overflow: hidden;
  border: 1px solid #295347;
  border-radius: 12px;
  background: #102a24dc;
  color: #d9f8ed;
  text-align: left;
}
.audio-group-participant::before {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px #34d39916;
  content: '';
}
.audio-group-participant > b,
.audio-group-participant > strong,
.audio-group-participant
  > span:not(.participant-room-badge):not(.participant-microphone-control) {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #d9f8ed;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.audio-group-participant .scoverify-wordmark {
  font-weight: 400;
}
.audio-group-participant .participant-room-badge {
  max-width: 72px;
}
.audio-group-participant .participant-microphone-control {
  width: 32px;
  height: 32px;
  margin-left: auto;
}
.audio-group-participant.is-reconnecting {
  border-color: #725f47;
  background: #2b241eb8;
  color: #d2bfa8;
}
.audio-group-participant.is-reconnecting::before {
  background: #d9ad72;
  box-shadow: 0 0 0 3px #d9ad7214;
}

@media (max-width: 600px) {
  .call-header-tools:has(.call-self-name) .call-participant-count {
    display: none;
  }
  .call-dialog > header .call-self-name {
    max-width: 132px;
    min-height: 28px;
    gap: 4px;
    padding: 0 7px;
  }
  .call-dialog > header .call-self-name-label {
    font-size: 7px;
  }
  .call-dialog > header .call-self-name-value {
    font-size: 10px;
  }
  .call-dialog > header .call-participant-count {
    max-width: 92px;
    min-height: 28px;
    gap: 4px;
    padding: 0 7px;
    font-size: 10px;
  }
  .group-relay-grid.density-one {
    --group-columns: 1;
  }
  .group-relay-grid.density-small,
  .group-relay-grid.density-medium,
  .group-relay-grid.density-large {
    --group-columns: 2;
  }
  .group-relay-grid {
    gap: 3px;
    padding: 3px;
  }
  .group-participant-tile figcaption {
    min-height: 26px;
    gap: 4px;
    padding: 7px 5px 5px;
  }
  .group-participant-tile figcaption .participant-microphone-control {
    width: 25px;
    height: 25px;
  }
  .call-admin-muted-banner {
    top: 8px;
    min-height: 30px;
    padding: 5px 9px;
    font-size: 10px;
  }
  .group-participant-tile figcaption b,
  .group-participant-tile figcaption strong,
  .group-participant-tile
    figcaption
    > span:not(.participant-room-badge):not(.participant-microphone-control) {
    font-size: 10px;
  }
  .participant-room-badge {
    max-width: 34px;
    padding: 2px 4px;
    font-size: 8px;
  }
  .group-participant-tile.is-reconnecting::after {
    max-width: calc(100% - 10px);
    padding: 4px 6px;
    font-size: 9px;
  }
  .audio-call-display:has(.audio-group-roster) {
    gap: 8px;
    padding: 14px 12px;
  }
  .audio-call-display:has(.audio-group-roster) .audio-call-icon {
    width: 68px;
    height: 68px;
  }
  .audio-call-display:has(.audio-group-roster) > strong {
    margin-top: 0;
    font-size: 18px;
  }
  .audio-call-display:has(.audio-group-roster) > span {
    font-size: 11px;
  }
  .audio-group-roster {
    width: 100%;
    min-height: 54px;
    max-height: clamp(54px, 30dvh, 220px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 44px;
    gap: 5px;
    padding: 4px;
  }
  .audio-group-roster > .audio-group-participant:last-child:nth-child(odd) {
    width: calc((100% - 5px) / 2);
  }
  .audio-group-participant {
    min-height: 44px;
    gap: 6px;
    padding: 6px;
    border-radius: 10px;
  }
  .audio-group-participant > b,
  .audio-group-participant > strong,
  .audio-group-participant
    > span:not(.participant-room-badge):not(.participant-microphone-control) {
    font-size: 10px;
  }
}


/* Inter used by the SCOVerify wordmark at https://scoverify.com/. */
@font-face {
  font-family:'SCOVerify Inter';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('/fonts/scoverify-inter-latin.woff2') format('woff2');
}
.call-device-settings .scoverify-wordmark {
  font-family:'SCOVerify Inter', Inter, ui-sans-serif, system-ui, sans-serif;
  font-size:inherit;
  font-weight:650;
  font-style:normal;
  line-height:inherit;
  letter-spacing:-.0375em;
  text-transform:none;
}

/* Guest layout alignment with the existing PRO header and composer. */
body.guest-room .guest-pro-topbar{gap:16px}
body.guest-room .guest-pro-topbar>div{display:grid;grid-template-columns:36px auto;column-gap:10px;align-items:center;flex-shrink:0}
body.guest-room .guest-pro-logo{width:36px;height:28px;grid-row:1/3}
body.guest-room .guest-pro-topbar strong{font-size:18px}
body.guest-room .guest-pro-topbar #scoNavigation{padding:0;border:0;background:transparent;gap:8px}
body.guest-room .guest-pro-topbar #scoNavigation button{font-size:12px;min-height:36px;padding:7px 15px}
body.guest-room #chat>.sectionHead{display:none}
body.guest-room #privateEncryptionNotice{margin:20px auto 0;border-radius:99px;font-size:11px;padding:7px 12px}
body.guest-room #messages{padding-top:18px;padding-bottom:92px}
body.guest-room #chat{position:relative}
body.guest-room #chat>.tools{display:none}
body.guest-room #guestProControls{position:absolute;bottom:92px;left:0;right:0;pointer-events:none}
body.guest-room #guestProControls button,body.guest-room .guest-call-settings{pointer-events:auto}
body.guest-room #messageForm{grid-template-columns:36px minmax(0,1fr) 140px 36px 48px;grid-template-areas:'context context context context context' 'file text language voice send';min-height:80px;gap:11px;padding:15px clamp(16px,4vw,44px)}
body.guest-room #messageForm>.message-input-with-lock{grid-area:text;position:relative;min-width:0}
body.guest-room #messageForm .composer-room-lock{position:absolute;left:14px;top:50%;transform:translateY(-50%);display:flex;color:white;pointer-events:none}
body.guest-room #messageForm textarea{width:100%;height:48px;min-height:48px;padding-left:46px;resize:none}
body.guest-room #messageForm>.guest-composer-language{grid-area:language;display:grid;gap:3px;font-size:10px;margin:0;min-width:0;color:#9db3ad}
body.guest-room #messageForm>.guest-composer-language select{height:32px;padding:4px 8px;font-size:12px;width:100%;border-radius:8px}
body.guest-room #messageForm>.guest-composer-voice{grid-area:voice;background:transparent;border:0;color:#b7e8d7;width:36px;height:48px;padding:0;font-size:9px;overflow:hidden}
body.guest-room #messageForm>.guest-composer-voice>span:last-child{display:none}
body.guest-room #messageForm>.guest-composer-voice .guest-tool-icon{display:grid;place-items:center;width:36px;height:40px;background:transparent;border:0;box-shadow:none}
@media(max-width:600px){body.guest-room .guest-pro-topbar{height:112px;display:grid;grid-template-columns:1fr auto;grid-template-rows:60px 44px;gap:0;padding:0 16px}body.guest-room .guest-pro-topbar>nav:last-child{grid-column:2;grid-row:1}body.guest-room .guest-pro-topbar #scoNavigation{grid-column:1/3;grid-row:2;justify-content:center}body.guest-room #messageForm{grid-template-columns:30px minmax(0,1fr) 36px 46px;grid-template-areas:'context context context context' 'file text voice send' '. language language .';padding:10px 12px;gap:7px;min-height:106px}body.guest-room #messageForm>.guest-composer-language{display:flex;align-items:center;justify-content:center;gap:8px}body.guest-room #messageForm>.guest-composer-language select{width:110px;height:28px}body.guest-room #guestProControls{bottom:116px}body.guest-room #privateEncryptionNotice{margin-top:16px}}

body.guest-room #messageForm:not(:has(#offerContext:not(:empty))){grid-template-areas:'file text language voice send'}
@media(max-width:600px){body.guest-room #messageForm:not(:has(#offerContext:not(:empty))){grid-template-areas:'file text voice send' '. language language .'}}

/* Match the supplied PRO reference: full viewport frame, rounded corners, chat first. */
@media(min-width:601px){body.guest-room{inset:18px;width:calc(100vw - 36px);height:calc(100dvh - 36px);max-width:none;max-height:none;margin:0;border:1px solid #29483f;border-radius:24px}}
body.guest-room #guestDate{align-self:center;flex-shrink:0;margin:14px auto 0;padding:7px 12px;border:1px solid #27443c;border-radius:99px;background:#102720;color:#9db3ad;font-size:11px;text-transform:capitalize}
body.guest-room #privateEncryptionNotice{margin:16px auto 0;display:flex;align-items:center;gap:7px;color:#72d9b3}
body.guest-room #privateEncryptionNotice::before,.embedded #workspace.admin #chat #privateEncryptionNotice::before{content:'';width:14px;height:14px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4m-5 4v3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
body.guest-room #guestEmpty{display:none;position:absolute;inset:110px 20px 180px;pointer-events:none;place-content:center;justify-items:center;text-align:center;color:#8ba09b}
body.guest-room #guestEmpty svg{color:#355f54}body.guest-room #guestEmpty h2{margin:14px 0 4px;font-size:20px;font-weight:400;color:#c7d9d2}body.guest-room #guestEmpty p{font-size:13px;margin:0}
body.guest-room #chat:has(#messages:empty):has(#unlockPrivate[hidden]) #guestEmpty{display:grid}
body.guest-room #notice:not(:empty){position:absolute;top:78px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);z-index:25;padding:8px 14px;border:1px solid #29483f;border-radius:10px;background:#102720;box-shadow:0 6px 24px #0005;font-size:12px}
body.guest-room #unlockPrivate:not([hidden]){position:absolute;top:46%;left:50%;transform:translate(-50%,-50%);width:min(420px,calc(100% - 32px));padding:22px;border:1px solid #29483f;border-radius:18px;background:#102720;z-index:5}
body.guest-room #workspace[data-view=offers]>#lobby{position:absolute;inset:0 0 180px;z-index:2;background-color:var(--chat-background-color);background-image:var(--chat-background-image);background-size:var(--chat-background-size)}
body.guest-room #workspace[data-view=offers] #guestDate,body.guest-room #workspace[data-view=offers] #privateEncryptionNotice,body.guest-room #workspace[data-view=offers] #messages,body.guest-room #workspace[data-view=offers] #guestEmpty{visibility:hidden}
body.guest-room #guestProControls,body.guest-room #messageForm{z-index:3}
body.guest-room #messageForm .guest-attachment{height:48px;width:36px;border:1px solid #38685b;border-radius:14px;background:#173a31}
@media(max-width:600px){body.guest-room{inset:0;width:100%;height:100dvh;margin:0;border:0;border-radius:0}body.guest-room #notice:not(:empty){top:116px}body.guest-room #workspace[data-view=offers]>#lobby{bottom:194px}}

@media(min-width:601px){body.guest-room>header{border-radius:23px 23px 0 0}body.guest-room #messageForm{border-radius:0 0 23px 23px}}

/* Use the deployed PRO language picker and compact header/composer proportions. */
body.guest-room .guest-pro-topbar{gap:13px;padding-inline:25px}
body.guest-room #guestHeaderSettings{display:flex;grid-template-columns:none;flex-shrink:0;width:28px}
body.guest-room .guest-top-settings{display:grid;place-items:center;width:28px;height:40px;padding:0;background:transparent;border:0;color:#c7f0e2}
body.guest-room .guest-pro-topbar>div:not(#guestHeaderSettings){grid-template-columns:24px auto;column-gap:7px}
body.guest-room .guest-pro-logo{width:24px;height:20px}
body.guest-room .guest-pro-topbar strong{font-size:15px;letter-spacing:-.2px}
body.guest-room .guest-pro-topbar #scoNavigation{margin-left:auto}
body.guest-room .guest-pro-topbar #scoNavigation button{border-radius:12px;height:40px;font-weight:500;padding:0 12px;font-size:11px}
body.guest-room #messageForm{grid-template-columns:48px minmax(0,1fr) 76px 48px;grid-template-areas:'context context context context' 'file text language send';padding:13px 14px;gap:10px;min-height:80px}
body.guest-room #messageForm:not(:has(#offerContext:not(:empty))){grid-template-areas:'file text language send'}
body.guest-room #messageForm .guest-attachment{width:48px;height:48px;border-radius:15px}
body.guest-room #messageForm textarea{height:54px;min-height:54px;background:#091d18;border:1px solid #29483f;border-radius:18px;padding-top:15px;font-size:16px}
body.guest-room #guestLanguagePicker{grid-area:language;min-width:0;align-self:center}
body.guest-room #guestLanguagePicker .language-picker-caption{font-size:8px}
body.guest-room #messageForm>.guest-send-control{border-radius:15px;height:48px;width:48px;background:#34d399}
body.guest-room #messageForm>.guest-send-control.is-recording{background:#d9484f;color:white}
body.guest-room #messageForm>.guest-composer-voice{display:none}
@media(max-width:600px){body.guest-room .guest-pro-topbar{grid-template-columns:28px 1fr auto;grid-template-rows:60px 44px;padding:0 12px;column-gap:8px}body.guest-room #guestHeaderSettings{grid-row:1;grid-column:1}body.guest-room .guest-pro-topbar>div:not(#guestHeaderSettings){grid-row:1;grid-column:2}body.guest-room .guest-pro-topbar>nav:last-child{grid-column:3}body.guest-room .guest-pro-topbar #scoNavigation{grid-column:1/4;margin-left:0}body.guest-room #messageForm{grid-template-columns:36px minmax(0,1fr) 60px 44px;grid-template-areas:'context context context context' 'file text language send';padding:14px 10px;gap:6px;min-height:84px}body.guest-room #messageForm:not(:has(#offerContext:not(:empty))){grid-template-areas:'file text language send'}body.guest-room #messageForm .guest-attachment{width:36px}body.guest-room #messageForm>.guest-send-control{width:44px}body.guest-room #guestProControls{bottom:96px}body.guest-room #workspace[data-view=offers]>#lobby{bottom:174px}}
@media(max-width:600px){body.guest-room .guest-pro-topbar{row-gap:0}}

body.guest-room #guestPdfPreview{position:absolute;inset:0 0 170px;display:flex;flex-direction:column;min-height:0;z-index:8;background:#102720;border-bottom:1px solid #29483f}
.guest-pdf-toolbar{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#0d211c;border-bottom:1px solid #29483f;flex-shrink:0}.guest-pdf-toolbar strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.guest-pdf-toolbar button{font-size:12px}.guest-pdf-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.guest-pdf-pages{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px;flex-shrink:0;font-size:12px}.guest-pdf-pages button{font-size:11px}.guest-pdf-canvas{flex:1;min-height:0;overflow:auto;padding:12px 16px;text-align:center;overscroll-behavior:contain}.guest-pdf-canvas canvas{display:block;margin:auto;max-width:100%;background:white;box-shadow:0 3px 14px #0005}
@media(max-width:600px){body.guest-room #guestPdfPreview{bottom:174px}.guest-pdf-toolbar{flex-wrap:wrap;padding:8px}.guest-pdf-toolbar strong{flex-basis:100%}.guest-pdf-toolbar button{flex:1;padding:8px 6px}.guest-pdf-pages{gap:8px}.guest-pdf-canvas{padding:8px}}

/* Public SCO cards and private messages share one conversation scroll area. */
body.guest-room #scoNavigation{display:none!important}
body.guest-room #guestChatFeed{flex:1;min-height:0;overflow:auto;padding:18px clamp(16px,5vw,72px) 92px;overscroll-behavior:contain}
body.guest-room #guestChatFeed #messages{overflow:visible;min-height:0;padding:0;flex:none}
body.guest-room #guestChatFeed #offers{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:18px}
body.guest-room #guestChatFeed .offer{max-width:min(82%,560px);width:100%;padding:12px 16px;background:#123329;border:1px solid #29483f;border-radius:14px;overflow-wrap:anywhere}
body.guest-room #guestChatFeed .offer>p:nth-of-type(2){white-space:pre-line;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
body.guest-room #chat:has(#offers:not(:empty)) #guestEmpty{display:none}
body.guest-room .guest-pro-topbar>nav:last-child{margin-left:auto}
@media(max-width:600px){body.guest-room .guest-pro-topbar{height:64px;grid-template-rows:64px}body.guest-room #guestChatFeed .offer{max-width:95%}}

body.guest-room #guestLanguagePicker{display:flex;align-items:center;gap:8px;grid-area:language;width:auto}
body.guest-room #guestLanguagePicker .language-picker{width:72px;flex-shrink:0}
body.guest-room #guestLanguagePicker .translation-toggle{display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:0;border-radius:15px}
body.guest-room #messageForm{grid-template-columns:48px minmax(0,1fr) auto 48px}
@media(max-width:600px){body.guest-room #messageForm{grid-template-columns:36px minmax(0,1fr) auto 44px}body.guest-room #guestLanguagePicker{gap:5px}body.guest-room #guestLanguagePicker .language-picker{width:52px}body.guest-room #guestLanguagePicker .guest-reading-label{display:none}body.guest-room #guestLanguagePicker .translation-toggle{width:40px}}
/* Structural utilities used by the shared PRO dialog in this standalone entry. */
body.guest-room .call-device-settings-backdrop[data-slot=dialog-overlay]{position:fixed;inset:0;isolation:isolate}
body.guest-room .call-device-settings[data-slot=dialog-content]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);outline:none;font-size:14px}
body.guest-room .call-device-settings-heading{height:auto;min-height:0;margin:0;border:0;border-radius:0;background:transparent}
body.guest-room .camera-mirror-setting [data-slot=switch]{position:relative;display:inline-flex;align-items:center;flex-shrink:0;border-radius:999px;padding:0;min-height:24px}
body.guest-room .camera-mirror-setting [data-slot=switch-thumb]{display:block;flex-shrink:0;border-radius:999px;pointer-events:none;transition:translate .15s}

/* Match the deployed PRO .chat-shell > .messages inset, not the old SCO panel. */
body.guest-room #guestChatFeed{padding:13px 13px 92px}
#messages{display:block;align-items:normal}
body.guest-room #guestChatFeed #messages{display:block;padding:0}
.sco-body #workspace.admin #chat #messages{padding:13px}
:is(#messages,#offers)>.bubble-row{margin:9px 0}
:is(#messages,#offers) .sco-pro-audio .audio-card{width:min(430px,100%)}
:is(#messages,#offers) .bubble.participant-message{background:var(--participant-background);border-color:var(--participant-border);color:var(--participant-text)}
:is(#messages,#offers) .participant-message>b{color:var(--participant-accent)}
:is(#messages,#offers) .participant-message .audio-avatar{background:var(--participant-accent);color:#062019;border-color:var(--participant-border)}
:is(#messages,#offers) .participant-message .audio-avatar>svg{background:var(--participant-background);color:var(--participant-accent)}
:is(#messages,#offers) .participant-message .audio-waveform i:not(.is-played){background:var(--participant-accent);opacity:.55}
:is(#messages,#offers) .participant-message .audio-time-row,:is(#messages,#offers) .participant-message .audio-side-column>time,:is(#messages,#offers) .participant-message .message-meta>time{color:var(--participant-muted)}
@media(max-width:600px){:is(#messages,#offers) .bubble.sco-audio-message{max-width:94%;padding-right:7px}:is(#messages,#offers) .sco-pro-audio .audio-card{width:min(340px,100%)}}

:is(#messages,#offers)>.bubble-row{margin:0 0 9px}
:is(#messages,#offers) .bubble:has(.file-card){width:min(312px,88%);max-width:88%;padding:5px 5px 7px}
:is(#messages,#offers) .bubble .file-card{width:100%;max-width:100%;text-align:left}
:is(#messages,#offers) .bubble:has(.file-card)>b{margin:2px 2px 5px}
:is(#messages,#offers) .original-message-disclosure>summary{font-size:12px}

@media(max-width:600px){body.guest-room .guest-pro-topbar{grid-template-columns:1fr auto}body.guest-room .guest-pro-topbar>div:not(#guestHeaderSettings){grid-column:1}body.guest-room .guest-pro-topbar>nav:last-child{grid-column:2}}

body.guest-room #guestChatFeed #guestDate,body.guest-room #guestChatFeed #privateEncryptionNotice{width:fit-content;max-width:100%;margin:0 auto 16px}

.sco-document-receipt{margin:0;padding:8px 16px;color:#9edcc6;background:#102c24;font-size:12px;flex-shrink:0}

/* Keep the standalone guest composer aligned with the PRO control row. */
body.guest-room #messageForm{align-items:center}
body.guest-room #messageForm>.message-input-with-lock{display:flex;align-items:center}
body.guest-room #messageForm textarea{height:48px;min-height:48px;line-height:22px;padding-top:12px;padding-bottom:12px;margin:0;box-sizing:border-box}
body.guest-room #messageForm .guest-attachment{display:grid;place-items:center;padding:0;margin:0;align-self:center;box-sizing:border-box}
body.guest-room #messageForm .guest-attachment svg{display:block;margin:0}
body.guest-room #guestLanguagePicker{align-items:center}
body.guest-room #guestLanguagePicker .language-picker-button{height:48px;min-height:48px;width:100%;box-sizing:border-box}
body.guest-room #guestLanguagePicker .language-picker-caption{line-height:1;font-size:8px}
body.guest-room #messageForm>.guest-send-control{display:grid;place-items:center;padding:0;margin:0;align-self:center}
body.guest-room #messageForm .guest-attachment{gap:0}
body.guest-room #messageForm .guest-attachment .guest-file-name{position:absolute;bottom:calc(100% + 6px);left:0;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#102c24;border-radius:6px;padding:4px 8px;font-size:11px;pointer-events:none}
body.guest-room #messageForm .guest-attachment .guest-file-name:empty{display:none}
/* One outer curve owns the guest room's lower corners. Root-body overflow
   applies to the viewport, so clip the workspace itself rather than stacking
   a rounded composer over its square chat background. */
body.guest-room #workspace{border-radius:0 0 23px 23px;overflow:hidden}
body.guest-room #messageForm{border-radius:0}
@media(max-width:600px){body.guest-room #workspace{border-radius:0}}
/* Embedded admin styles are appended by PRO: keep chat insets specific enough
   to override the old 5vw panel padding in that host. */
.embedded #workspace.admin #chat #messages{padding:13px}
:is(#messages,#offers) .bubble.sco-audio-message{width:min(430px,88%);min-width:0}
:is(#messages,#offers) .bubble.sco-audio-message .sco-pro-audio .audio-card{width:100%;min-width:0}
:is(#messages,#offers) .audio-time-row{gap:12px;white-space:nowrap}
@media(max-width:600px){:is(#messages,#offers) .bubble.sco-audio-message{width:min(340px,94%);max-width:94%}}

@media(min-width:901px) and (hover:hover){.embedded.deal-picker-in-toolbar #dealControls{display:none}}

:is(#messages,#offers) .call-history-card{box-sizing:border-box}
:is(#messages,#offers) .call-history-card strong{margin:0;line-height:1.4}
.embedded #workspace.admin #chat>#privateEncryptionNotice,body.guest-room #guestChatFeed #privateEncryptionNotice{position:sticky;top:8px;z-index:2;flex-shrink:0;align-self:center;display:flex;align-items:center;gap:7px;width:fit-content;max-width:calc(100% - 26px);margin:10px auto;padding:7px 12px;border:1px solid #27443c;border-radius:99px;background:#102720;color:#72d9b3;font-size:11px;line-height:1.4}

/* Selecting a customer opens their private conversation directly. */
.embedded #workspace.admin #scoNavigation #showChat{display:none}

/* The marker and messages share a scroller, as in PRO; the call toolbar
   overlays the feed instead of reserving a separate strip of chat space. */
#scoRoomBody.embedded #workspace.admin #chat{padding-bottom:var(--sco-composer-height,80px)}
.embedded #workspace.admin #chat #adminChatFeed{flex:1;min-height:0;overflow:auto;isolation:isolate;padding:13px;overscroll-behavior:contain}
.embedded #workspace.admin #chat #adminChatFeed #messages{flex:none;overflow:visible;min-height:0;padding:0;position:relative;z-index:1}
.embedded #workspace.admin #chat #adminChatFeed #privateEncryptionNotice{position:sticky;top:8px;z-index:0;pointer-events:none;display:flex;align-items:center;gap:7px;width:fit-content;max-width:calc(100% - 26px);margin:0 auto 12px;padding:7px 12px;border:1px solid #27443c;border-radius:99px;background:#102720;color:#72d9b3;font-size:11px;line-height:1.4}
@media(min-width:901px) and (hover:hover){.embedded #workspace.admin #chat #adminChatFeed{padding-bottom:92px}}

/* PDF accessibility text must not expand the max-content page and push its canvas offscreen. */
.attachment-contained-viewer .pdf-scroll .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Same file-drop affordance as PRO; stays inside this SCO workspace. */
#workspace{position:relative}
#workspace>.sco-drop-overlay,#chat>.sco-drop-overlay,#lobby>.sco-drop-overlay{position:absolute;inset:12px;z-index:40;display:none;place-items:center;grid-auto-flow:column;justify-content:center;gap:9px;border:2px dashed #6ee7b7;border-radius:22px;background-color:var(--chat-background-color,#061713);background-image:var(--chat-background-image,radial-gradient(#1b3730 1px,transparent 1px));background-size:var(--chat-background-size,24px 24px);color:#b7f7df;font-size:18px;font-weight:850;pointer-events:none}
#workspace.sco-file-dragging>.sco-drop-overlay,#chat.sco-file-dragging>.sco-drop-overlay,#lobby.sco-file-dragging>.sco-drop-overlay{display:grid}

#lobby{position:relative}.sco-public-image{display:block;max-width:100%;max-height:60vh;object-fit:contain;margin-bottom:12px;border-radius:10px}

/* Public offers remain in the feed without separate framed cards. */
#workspace #offers>.offer{border:0;border-radius:0;background:transparent;box-shadow:none}

/* Public chat uses the same message rows and PRO attachment/audio widgets. */
#lobby>#sectionHead{flex:none}
#lobby>#offers{display:flex;flex-direction:column;gap:8px;min-height:0;padding:13px 0 96px}
#lobby #offers>.bubble-row{width:100%}
.sco-public-label{display:block;color:#86bba9;font-size:10px;line-height:1.5;margin-bottom:4px}
#lobby .sectionHead{padding:0 0 10px}

/* Both admin conversations use the same feed structure and spacing. */
#scoRoomBody.embedded #workspace.admin #lobby{display:flex;flex-direction:column;padding:0 0 var(--sco-composer-height,80px);overflow:hidden}
#scoRoomBody.embedded #workspace.admin #lobby>.sectionHead{flex:none;padding:12px 20px 0;background:#0d211c}
#lobby>#newOffer,#lobby .sectionHead>#newOffer{display:none}
.embedded #workspace.admin #lobby #publicChatFeed{flex:1;min-height:0;overflow:auto;isolation:isolate;padding:13px;overscroll-behavior:contain}
.embedded #workspace.admin #lobby #publicChatFeed #offers{display:block;flex:none;overflow:visible;min-height:0;padding:0;position:relative;z-index:1}
.embedded #workspace.admin #lobby #publicChatFeed #publicAudienceNotice{position:sticky;top:8px;z-index:0;pointer-events:none;display:flex;align-items:center;gap:7px;width:fit-content;max-width:calc(100% - 26px);margin:0 auto 12px;padding:7px 12px;border:1px solid #27443c;border-radius:99px;background:#102720;color:#72d9b3;font-size:11px;line-height:1.4}
#lobby #offers .sco-public-label{display:none}
:is(#messages,#offers) .bubble:has(.sco-message-delete){padding-right:38px}
@media(min-width:901px) and (hover:hover){.embedded #workspace.admin #lobby #publicChatFeed{padding-bottom:92px}}

/* Control Center perimeter-frame motion, activated by unread customer messages. */
#workspace.admin .customer.has-unread{position:relative;--room-frame-color:#55baff}
#workspace.admin .customer .perimeter-frame{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2;color:var(--room-frame-color,#55baff);filter:none;visibility:visible}
.customer-unread-count{display:inline-block;color:#55baff;font-weight:700}

/* File-drop overlay is positioned within the message feed, not the room shell. */
#workspace,#chat,#lobby{position:relative}

/* Customer cards remain distinct even when their conversation is not selected. */
#workspace.admin .customer{background:#142f2b;border:1px solid #386057;margin:7px 0}
#workspace.admin .customer:hover{background:#1a3b34;border-color:#568777}
#workspace.admin .customer.selected{background:#245343;border-color:#6bd6ad}

/* Own text messages follow PRO's green surface and full-width metadata row. */
:is(#messages,#offers) .bubble-row.mine>.bubble.participant-message{--participant-background:#16493c!important;--participant-border:#368a73!important;--participant-accent:#83e2c0!important;--participant-muted:#c4d0cc!important;--participant-text:#eef5f3!important}
:is(#messages,#offers) .bubble-row.mine>.bubble:not(.sco-audio-message):not(:has(.file-card)){padding:10px 13px 7px;min-width:min(260px,100%)}
:is(#messages,#offers) .bubble-row.mine>.bubble:not(.sco-audio-message):not(:has(.file-card)):has(.sco-message-delete)>[data-message-text]>p,
:is(#messages,#offers) .bubble-row.mine>.bubble:not(.sco-audio-message):not(:has(.file-card)):has(.sco-message-delete)>[data-message-text]>.translated-message>p{padding-right:28px}
:is(#messages,#offers) .bubble-row.mine>.bubble:not(.sco-audio-message):not(:has(.file-card)) .message-meta{display:flex;width:100%;justify-content:flex-end;align-items:center;gap:5px;flex-wrap:wrap;margin-top:8px}
:is(#messages,#offers) .bubble-row.mine>.bubble:not(.sco-audio-message):not(:has(.file-card)) .original-message{width:100%;margin-top:10px;padding-top:10px}

/* Incoming admin text shares PRO metadata alignment. */
#workspace.admin :is(#messages,#offers) .bubble-row:not(.mine)>.bubble:not(.sco-audio-message):not(:has(.file-card)){padding:10px 13px 7px;min-width:min(260px,100%)}
#workspace.admin :is(#messages,#offers) .bubble-row:not(.mine)>.bubble:not(.sco-audio-message):not(:has(.file-card)):has(.sco-message-delete)>[data-message-text]>p,
#workspace.admin :is(#messages,#offers) .bubble-row:not(.mine)>.bubble:not(.sco-audio-message):not(:has(.file-card)):has(.sco-message-delete)>[data-message-text]>.translated-message>p{padding-right:28px}
#workspace.admin :is(#messages,#offers) .bubble-row:not(.mine)>.bubble:not(.sco-audio-message):not(:has(.file-card)) .message-meta{display:flex;width:100%;justify-content:flex-end;align-items:center;gap:5px;flex-wrap:wrap;margin-top:8px}
#workspace.admin :is(#messages,#offers) .bubble-row:not(.mine)>.bubble:not(.sco-audio-message):not(:has(.file-card)) .original-message{width:100%;margin-top:10px;padding-top:10px}

/* PRO media actions occupy a row above the attachment/player. */
:is(#messages,#offers) .bubble:has(.file-card):has(.sco-message-delete){padding:35px 5px 7px}
:is(#messages,#offers) .bubble.sco-audio-message:has(.sco-message-delete){padding:35px 8px 7px}
:is(#messages,#offers) .bubble:has(.file-card):has(.sco-message-delete)>b,
:is(#messages,#offers) .bubble.sco-audio-message:has(.sco-message-delete)>b{position:absolute;top:10px;left:13px;right:40px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.customer-typing{color:#83e2c0;font-weight:600}

/* Centre the guest caption in the gap between the upper frame and language button. */
body.guest-room #guestLanguagePicker .language-picker-caption{bottom:calc(100% + var(--guest-caption-gap,16px)/2);transform:translateY(50%)}

/* Localized day marker, shared by public and private admin conversations. */
.sco-chat-date{width:fit-content;max-width:100%;margin:0 auto 16px;padding:7px 12px;border:1px solid #27443c;border-radius:99px;background:#102720;color:#9db3ad;font-size:11px;line-height:1.4;text-transform:capitalize}

/* Keep the search label accessible without a separate visible heading. */
.customerSearch>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}


#archiveCustomers{display:flex;align-items:center;gap:16px;width:100%;border:0;background:transparent;border-radius:0;padding:12px 10px;margin:0 0 6px;text-align:left;flex-shrink:0;color:var(--muted)}
#archiveCustomers:hover{background:#132c25}.archive-total{margin-inline-start:auto;font-size:12px}
.customer-row{position:relative}.customer-row .customer strong{padding-inline-end:92px}.customer-activity{position:absolute;inset-inline-end:30px;top:14px;font-size:10px;color:var(--muted);pointer-events:none}
.customer-menu-toggle{position:absolute;inset-inline-end:3px;top:7px;padding:3px 5px;border:0;background:transparent;font-size:18px;line-height:24px}
.customer-menu{position:absolute;inset-inline-end:4px;top:36px;z-index:30;width:210px;max-width:calc(100% - 8px);padding:6px;border:1px solid #29483f;border-radius:12px;background:#102720;box-shadow:0 8px 24px #0008}
.customer-menu button{display:flex;align-items:center;gap:10px;width:100%;border:0;text-align:start;background:transparent}.customer-menu button:hover{background:#1b4436}.customer-menu small{display:block;padding:8px;font-size:11px;white-space:normal}

.customer-email-link{font:inherit;color:#85dbc0;border:0;background:transparent;padding:0;border-radius:0;text-decoration:underline;text-underline-offset:3px}.customer-email-link:hover{background:transparent;color:#baf6e3}
.sco-email-dialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #33594c;border-radius:18px;background:#10271f;color:#e9f8f3;box-shadow:0 20px 70px #0009;overflow:auto}
.sco-email-dialog::backdrop{background:#0008}.sco-email-dialog header{height:auto;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.sco-email-dialog header strong{font-size:17px}.sco-email-dialog header button{border:0;background:transparent;font-size:24px;padding:0 4px}.sco-email-dialog form{padding:8px 22px 22px}.sco-email-dialog label{margin:12px 0;display:grid;gap:6px}.sco-email-dialog input,.sco-email-dialog textarea{width:100%;background:#091d15;border:1px solid #436657;border-radius:10px;padding:10px 12px;outline:none;color:#eef5f3;font-size:14px}.sco-email-dialog input:focus,.sco-email-dialog textarea:focus{border-color:#70ddaa}.sco-email-dialog input[readonly]{color:#a9c5ba}.sco-email-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.sco-email-actions button[type=submit]{background:#70ddaa;color:#082116;font-weight:600}.sco-email-dialog [data-sco-i18n]{font:inherit;color:inherit}
/* Align customer actions with the activity time without a button frame. */
.customer-row .customer-activity{top:14px;height:16px;line-height:16px;display:flex;align-items:center}
.customer-row .customer-menu-toggle{top:14px;height:16px;min-height:0;min-width:0;width:20px;line-height:16px;padding:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;font-size:16px}
.customer-row .customer-menu-toggle:hover,.customer-row .customer-menu-toggle:active,.customer-row .customer-menu-toggle:focus{border:0;background:transparent;box-shadow:none;outline:none}
.customer-row .customer-menu-toggle:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:4px}

.customer-email-link,.customer-email-link:hover,.customer-email-link:focus{text-decoration:none}
.sco-email-drop{border:1px dashed #436657;border-radius:12px;padding:12px;display:grid;gap:8px;margin-top:14px}.sco-email-drop.dragging{border-color:#70ddaa;background:#173c2e}.sco-email-drop>button{background:transparent;border:0;text-align:center}.sco-email-drop>small{color:#a9c5ba;text-align:center;font-size:11px}.sco-email-files{list-style:none;padding:0;margin:0;display:grid;gap:6px}.sco-email-files li{display:flex;align-items:center;gap:8px;font-size:12px}.sco-email-files li span{flex:1;min-width:0;overflow-wrap:anywhere}.sco-email-files li button{border:0;background:transparent;padding:2px 8px;font-size:20px}

.customer-row .customer-menu-toggle svg{display:block;flex:none;width:12px;height:12px}
#archiveCustomers:focus{outline:none;box-shadow:none}#archiveCustomers:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:4px}

.participant-manage-popover {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  left: 72px;
  width: 286px;
  display: grid;
  gap: 10px;
  padding: 11px;
  border: 1px solid #35695b;
  border-radius: 15px;
  background: #0b241eee;
  color: #e5f7f1;
  box-shadow:
    0 18px 48px #0009,
    inset 0 1px #ffffff0d;
  backdrop-filter: blur(14px);
}
.sco-customer-info .participant-manage-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}
.sco-customer-info .participant-manage-heading span {
  display: block;
  min-width: 0;
}
.sco-customer-info .participant-manage-heading
  .participant-manage-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #65c9aa;
  border-radius: 50%;
  background: linear-gradient(145deg, #67d5b1, #267a64);
  color: #062019;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}
.participant-manage-heading b,
.participant-manage-heading small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.participant-trace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 9px;
  border: 1px solid #294f45;
  border-radius: 11px;
  background: #071b16a8;
}
.sco-customer-info .participant-trace span {
  display: block;
  min-width: 0;
}
.sco-customer-info .participant-trace span:nth-child(3),
.sco-customer-info .participant-trace span:nth-child(4) {
  grid-column: 1 / -1;
}
.participant-trace small,
.participant-trace b {
  display: block;
}
.participant-trace small {
  margin-bottom: 3px;
  color: #71948a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.participant-trace b {
  overflow-wrap: anywhere;
  color: #dff8ef;
  font-size: 10px;
  line-height: 1.35;
}
.participant-manage-heading b {
  color: #effaf6;
  font-size: 12px;
}
.participant-manage-heading small {
  margin-top: 3px;
  color: #90aaa2;
  font-size: 9px;
}

.sco-customer-info{position:fixed;margin:0;max-width:calc(100vw - 16px);z-index:180;box-sizing:border-box}
.sco-customer-info:not([open]){display:none}
.sco-customer-info .participant-manage-heading{grid-template-columns:38px minmax(0,1fr)}
.sco-customer-info .participant-manage-heading button{padding:0;min-height:22px;border:0;background:transparent;color:inherit;font-size:20px}
.customer-row>.customer>strong{visibility:hidden}
.customer-name-info{position:absolute;top:14px;left:12px;max-width:calc(100% - 88px);height:16px;min-height:0;line-height:16px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:12px;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}
.customer-title-info{padding:0;min-height:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.customer-name-info:hover,.customer-title-info:hover{text-decoration:none;background:transparent}

#workspace.admin #scoNavigation{justify-content:flex-end}
#workspace.admin #scoNavigation #showOffers{margin-left:auto}

/* Shared PRO call presentation, scoped away from the host room. */
#scoCallUI .call-dialog{box-sizing:border-box;padding:0;max-width:100%;color:#d9f8ec;font:14px system-ui,sans-serif}
#scoCallUI .call-dialog>header{position:static;height:64px;margin:0;padding:0 22px;border:0;border-bottom:1px solid #23443b;background:#0c211b}
#scoCallUI .call-dialog>header>div{display:flex;flex-direction:column;gap:3px}
#scoCallUI .call-dialog>header span{font-size:12px;color:#9bb8ad}
#scoCallUI .call-controls button{padding:0;flex-shrink:0}
#scoCallUI .call-stage video{width:100%;height:100%;object-fit:cover}
#scoCallUI .local-call-video{position:absolute;right:18px;bottom:18px;width:180px;height:120px;z-index:2;overflow:hidden;border-radius:14px}
#scoCallUI .sco-return-call{position:fixed;right:28px;bottom:170px;z-index:115;display:flex;align-items:center;gap:10px;border-radius:24px;background:#23765e;color:white;padding:12px 20px}
#scoCallUI .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#callPanel{display:none!important}
@media(max-width:600px){#scoCallUI .call-backdrop{padding:8px}#scoCallUI .call-dialog{height:calc(100dvh - 16px);grid-template-rows:64px minmax(0,1fr) 68px;border-radius:18px}#scoCallUI .call-controls{gap:5px;padding:6px}#scoCallUI .call-controls button{width:36px;height:40px;min-height:0}#scoCallUI .call-controls button.hangup{width:44px}#scoCallUI .local-call-video{width:120px;height:90px}}

.chat-shell > .composer.admin-mode {
  grid-template-columns: 48px minmax(0, 1fr) 72px 72px 48px 48px !important;
}
.chat-shell > .composer.guest-mode {
  grid-template-columns: 48px minmax(0, 1fr) max-content 72px 48px 48px !important;
}
.chat-shell > .composer.is-recording {
  align-content: center;
  grid-template-columns: 48px minmax(0, 1fr) 48px !important;
}
.recording-live {
  min-width: 0;
  height: 48px;
  display: grid;
  grid-template-columns: 9px 40px minmax(80px, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid #49625b;
  border-radius: 18px;
  background: #17231f;
  color: #d9e5e1;
  box-shadow: inset 0 1px #ffffff0b;
}
.recording-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff174d;
  box-shadow: 0 0 0 4px #ff174d18;
  animation: recording-dot-pulse 900ms ease-in-out infinite alternate;
}
.recording-live time {
  color: #c8d4d0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.recording-waveform {
  min-width: 0;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
}
.recording-waveform i {
  width: 3px;
  min-width: 3px;
  max-height: 31px;
  border-radius: 99px;
  background: #b8c3bf;
  opacity: 0.92;
  transition:
    height 65ms linear,
    background 120ms ease;
}
.recording-waveform i:nth-last-child(-n + 5) {
  background: #4bd49f;
}
.recording-status {
  color: #7fa398;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@keyframes recording-dot-pulse {
  to {
    opacity: 0.45;
    transform: scale(0.82);
  }
}
/* Voice-message-only controls. Normal composer/language layouts are unchanged. */
.chat-shell > .composer .voice-recording-controls {
  grid-template-columns: 9px 40px minmax(0, 1fr) auto 36px;
  padding-right: 6px;
}
.chat-shell > .composer .voice-pause-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #e5617080;
  border-radius: 50%;
  background: #51272d;
  color: #ffc2cb;
}
.chat-shell > .composer .voice-discard-button {
  background: #17362e;
  color: #f4c3c7;
  border: 1px solid #426354;
}
.chat-shell > .composer .voice-send-button {
  background: #34d399;
  color: #05231a;
}
.chat-shell > .composer .voice-recording-controls.is-paused .recording-dot {
  animation: none;
  background: #8eaaa1;
  box-shadow: none;
}
.chat-shell > .composer .voice-pause-button:disabled {
  opacity: 0.4;
}
.chat-shell > .composer .voice-pause-button:focus-visible,
.chat-shell > .composer .voice-discard-button:focus-visible,
.chat-shell > .composer .voice-send-button:focus-visible {
  outline: 2px solid #bcffe1;
  outline-offset: 3px;
}
.chat-shell > .composer:has(> .voice-recording-error) {
  position: relative;
}
.voice-recording-error {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 14px;
  right: 14px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #805458;
  border-radius: 12px;
  background: #302125;
  color: #ffd7da;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  z-index: 3;
}
@media (max-width: 600px) {
  .chat-shell > .composer.admin-mode.is-recording {
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
  }
  .chat-shell > .composer .voice-recording-controls {
    grid-template-columns: 8px 36px minmax(0, 1fr) 36px;
    gap: 5px;
    padding-inline: 7px 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .voice-recording-controls .recording-dot {
    animation: none;
  }
}

#scoVoiceHost{display:none}#scoVoiceHost.active{display:block;position:absolute;inset:0;z-index:4;background:#0c211b;padding:8px 14px}#messageForm:has(#scoVoiceHost.active){position:relative}#messageForm:has(#scoVoiceHost.active)>:not(#scoVoiceHost){visibility:hidden}#scoVoiceHost .chat-shell{border:0;box-shadow:none;background:transparent;padding:0;height:100%}#scoVoiceHost .composer{display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px;gap:10px;margin:0;border:0;padding:0;height:100%}#scoVoiceHost .composer>button{border-radius:16px;min-height:48px;display:grid;place-items:center;padding:0}#scoVoiceHost .recording-live{min-height:48px}#scoVoiceHost .voice-recording-controls .recording-status{font-size:12px}@media(max-width:600px){#scoVoiceHost .composer{gap:6px}#scoVoiceHost .recording-status{display:none}}

/* Email a text message from the selected customer conversation. */
#messages .sco-message-email{position:absolute;right:35px;top:5px;display:grid;place-items:center;width:28px;height:28px;min-height:0;padding:0;border:0;border-radius:5px;background:transparent;color:inherit}
#messages .sco-message-email:hover{background:#ffffff18}
#messages .sco-message-email:disabled{color:#8de1bb;opacity:1;cursor:default}
#messages .sco-message-email-status{display:block;color:#b3d9c9;font-size:10px;margin:4px 0}

#messages .sco-message-email.email-unconfirmed:disabled{color:#e7c57e}

/* Reserve both action buttons in the text row without narrowing the metadata. */
:is(#messages,#offers) .bubble-row.mine>.bubble:not(.sco-audio-message):not(:has(.file-card)):has(.sco-message-email)>[data-message-text]>p,
:is(#messages,#offers) .bubble-row.mine>.bubble:not(.sco-audio-message):not(:has(.file-card)):has(.sco-message-email)>[data-message-text]>.translated-message>p{padding-right:58px;overflow-wrap:anywhere}

#messages .sco-message-email{z-index:2;pointer-events:auto}
#messages .sco-message-email[data-email-recorded]{color:#8de1bb;cursor:pointer}
#messages .sco-message-email.email-unconfirmed[data-email-recorded]{color:#e7c57e}

/* Accessible labels remain available while placeholders occupy the original input size. */
#register>label:has(>.sco-field-caption){position:relative;gap:0}
#register>label>.sco-field-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

#authIntro:empty{display:none}



.typing-indicator {
  width: max-content;
  max-width: min(88%, 430px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0;
  padding: 8px 12px;
  border: 1px solid #29483f;
  border-radius: 6px 15px 15px 15px;
  background: #122b24;
  color: #a5c8bc;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.typing-indicator-dots {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 3px;
}
.typing-indicator-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6ee7b7;
  animation: typing-indicator-pulse 1.1s ease-in-out infinite;
}
.typing-indicator-dots i:nth-child(2) {
  animation-delay: 140ms;
}
.typing-indicator-dots i:nth-child(3) {
  animation-delay: 280ms;
}
@keyframes typing-indicator-pulse {
  0%,
  65%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  32% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .typing-indicator-dots i {
    animation: none;
    opacity: 0.72;
  }
}

#scoTypingIndicator[hidden]{display:none!important}

:is(#messages,#offers) .bubble.sco-welcome-message{--participant-background:#16493c!important;--participant-border:#368a73!important;--participant-accent:#83e2c0!important;--participant-muted:#c4d0cc!important;--participant-text:#eef5f3!important}
.sco-welcome-message [data-message-text]>p{white-space:pre-wrap}
.sco-welcome-message .message-content-tools{display:none}

:is(#messages,#offers) .sco-welcome-message .message-meta{display:flex;align-items:center;flex-wrap:nowrap!important;gap:6px;margin-top:8px}
.sco-welcome-label{font-size:11px;line-height:1.3;color:var(--participant-muted);margin-inline-end:auto;min-width:0}

.verification-status{padding:18px;border:1px solid #368a73;border-radius:14px;background:#102720;margin:18px 0;overflow-wrap:anywhere}.verification-status button{margin:8px 10px 0 0}.verification-status h2{font-size:20px}.verification-status strong{display:block;color:#83e2c0}

.registration-email-notice{grid-column:1/-1;margin:4px 0 12px;font-size:14px;line-height:1.55;color:#e3f4ed;overflow-wrap:anywhere;text-align:left}

/* Email verification uses the same single account card as the preceding steps. */
body.auth-page .verification-status{display:grid;gap:14px;padding:0;border:0;border-radius:0;background:transparent;margin:0;overflow-wrap:anywhere}
body.auth-page .verification-status h2{font-size:14px;font-weight:400;color:#a9c5ba;margin:0 0 4px;line-height:1.5}
body.auth-page .verification-status p{margin:0;font-size:14px;line-height:1.55;color:#a9c5ba}
body.auth-page .verification-status strong{font-size:16px;color:#e9f8f3}
body.auth-page .verification-status button{margin:0}
body.auth-page #authIntro:empty{display:none}

#login>label:has(>.sco-field-caption){position:relative;gap:0}
#login>label>.sco-field-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Password recovery from a prefilled sign-in form is a single action. */
body.auth-page #auth:has(#login:not([hidden])) #forgotPassword{display:block!important;width:auto;min-height:0;margin:16px 0 0;padding:0;border:0;border-radius:0;background:transparent;color:#a9c5ba;font-size:12px;text-align:left}
body.auth-page #auth:has(#login:not([hidden])) #recovery{display:none}

#forgotPassword{display:none}

#passwordHelpRow{display:none}body.auth-page #auth:has(#login:not([hidden])) #passwordHelpRow{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;margin-top:16px}body.auth-page #auth:has(#login:not([hidden])) #passwordHelpRow #forgotPassword{margin:0;flex:none}#passwordRecoveryStatus{flex:1 1 220px;font-size:12px;line-height:1.5;color:#a9c5ba;overflow-wrap:anywhere}

.sco-drive-dialog{max-width:min(520px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:1px solid #436657;border-radius:18px;background:#10271f;color:#e9f8f3;padding:24px}.sco-drive-dialog::backdrop{background:#0008}.sco-drive-dialog button{margin:6px}.sco-drive-dialog input{width:100%}.sco-drive-dialog p{overflow-wrap:anywhere}

.sco-drive-button{flex-shrink:0;white-space:nowrap}body.guest-room #chat>.tools .sco-drive-button{width:auto;min-width:110px;border-radius:14px;padding:9px 13px;font-size:13px}

.sco-drive-files{margin:16px 0;border:1px solid #436657;border-radius:12px;padding:12px}.sco-drive-files>summary{cursor:pointer;font-weight:600}.sco-drive-files>p{font-size:13px;color:#b3c9bf}.sco-drive-files .sco-drive-file{display:block;width:100%;margin:4px 0;text-align:start;overflow-wrap:anywhere;white-space:normal}.sco-drive-files>div{max-height:260px;overflow-y:auto}

.sco-drive-panel{z-index:150;box-sizing:border-box;border:1px solid #ffffff24;border-radius:16px;background:#0c241e;box-shadow:0 18px 60px #0007;padding:20px 22px;color:#e3f4ed;overflow:auto}.sco-drive-panel>h2{font-size:18px;margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid #ffffff10}.sco-drive-panel button{min-height:34px;padding:6px 10px;font-size:12px;border-radius:8px}.sco-drive-panel>p{font-size:13px;line-height:1.5}.sco-drive-panel:focus{outline:none}@media(max-width:600px){.sco-drive-panel{padding:14px}}

/* Drive uses the file-library layout directly inside the conversation frame. */
.sco-drive-library{position:absolute;inset:0;z-index:150;display:flex;flex-direction:column;min-height:0;background:#0c241e;color:#e3f4ed;overflow:hidden;box-sizing:border-box;text-align:start}
.sco-drive-library[hidden]{display:none}.sco-drive-library>header{height:auto;display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid #ffffff10;flex-shrink:0}.sco-drive-library header strong{font-size:18px;display:block}.sco-drive-library small{display:block;font-size:12px;color:#94b3a8;line-height:1.5}.sco-drive-library header button{border:0;background:transparent;font-size:24px}
.sco-drive-library button,.sco-drive-library a{font-size:12px;border-radius:8px;min-height:34px;padding:6px 10px}.sco-drive-library-tools{display:flex;gap:10px;padding:16px 22px 12px}.sco-drive-library-tools input{flex:1;min-width:0;font-size:13px}.sco-drive-library>nav{display:flex;gap:6px;padding:0 22px 12px;border-bottom:1px solid #ffffff10}.sco-drive-library nav button[aria-pressed=true]{background:#214b3d;color:#d9f6e9}.sco-drive-library-auth{padding:16px 22px}.sco-drive-library-auth input{width:100%;margin-bottom:12px}
.sco-drive-library-status,.sco-drive-library-selection{margin:0;padding:0 22px;font-size:12px}.sco-drive-library-status:empty,.sco-drive-library-selection:empty{display:none}.sco-drive-library-selection{padding-block:10px;display:flex;gap:12px;align-items:center;overflow-wrap:anywhere}.sco-drive-library-list{flex:1;min-height:0;overflow:auto;padding:0 22px}.sco-drive-library-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #ffffff0c}.sco-drive-library-name{flex:1;min-width:0}.sco-drive-library-name b{display:block;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sco-drive-library-actions{display:flex;gap:6px;flex-shrink:0}.sco-drive-library-empty{padding:32px 0;color:#94b3a8;font-size:13px}.sco-drive-library>footer{display:flex;gap:10px;align-items:center;padding:13px 22px;border-top:1px solid #ffffff14;flex-shrink:0}.sco-drive-library footer small{flex:1}.sco-drive-library[aria-busy=true] button{opacity:.5}@media(max-width:600px){.sco-drive-library>header,.sco-drive-library>footer,.sco-drive-library-tools{padding:12px 14px}.sco-drive-library-list{padding:0 14px}.sco-drive-library-actions{flex-wrap:wrap;max-width:120px}.sco-drive-library footer{flex-wrap:wrap}}

/* Shared Cloud Files library appearance for the Drive panel. */

.cloud-test-overlay{position:fixed;z-index:150;pointer-events:none;overflow:hidden;padding:12px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}
.cloud-library{pointer-events:auto;display:flex;flex-direction:column;width:min(820px,100%);height:100%;max-height:800px;min-height:0;background:#0c241e;color:#e3f4ed;border:1px solid #ffffff24;border-radius:16px;box-shadow:0 18px 60px #0007;overflow:hidden;box-sizing:border-box}
.cloud-library header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #ffffff10;flex-shrink:0}
.cloud-library-title{display:flex;align-items:center;gap:12px;color:#91d8bf}.cloud-library-title strong{display:block;font-size:18px;color:#edf8f3}.cloud-library small{display:block;font-size:12px;color:#94b3a8;line-height:1.5}.cloud-library-title small{margin-top:2px}
.cloud-library button{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#d6ebe2;border:1px solid #ffffff1c;background:#ffffff05;border-radius:8px;min-height:34px;padding:6px 10px;font-size:12px;cursor:pointer;flex-shrink:0}.cloud-library button:hover{background:#ffffff12}.cloud-library button:disabled{opacity:.4;cursor:default}.cloud-library button:focus-visible,.cloud-library input:focus-visible{outline:2px solid #79d8b5;outline-offset:2px}.cloud-library .cloud-icon-button{border:0;background:transparent;width:34px;padding:0}
.cloud-library-tools{display:flex;gap:10px;padding:16px 22px 12px}.cloud-search{display:flex;align-items:center;gap:9px;flex:1;min-width:0;background:#061b16;border:1px solid #ffffff19;border-radius:9px;padding:0 11px;color:#8daea1}.cloud-search input{width:100%;min-width:0;background:transparent!important;border:0!important;color:#e3f4ed;padding:9px 0!important;font-size:13px;outline:none}
.cloud-library-tabs{display:flex;gap:4px;padding:0 22px 12px;border-bottom:1px solid #ffffff10}.cloud-library-tabs button{border:0;background:transparent;color:#93afa3;padding:7px 12px}.cloud-library-tabs button[aria-pressed=true]{background:#214b3d;color:#d9f6e9}.cloud-library-tabs span{font-size:10px;opacity:.7;margin-left:3px}
.cloud-library-notices{padding:0 22px}.cloud-library-notices p{margin:10px 0;font-size:12px;color:#9edbc3}.cloud-library-notices [role=alert]{color:#ffb5a8}
.cloud-library-list{flex:1;min-height:0;overflow:auto;padding:0 22px;scrollbar-width:thin;scrollbar-color:#3b6455 transparent}.cloud-library ul{padding:0;margin:0;list-style:none}.cloud-library li{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #ffffff0c}.cloud-file-icon{display:grid;place-items:center;width:38px;height:44px;border-radius:9px;background:#193b30;color:#8ccab1;flex-shrink:0}.cloud-file-content{flex:1;min-width:0}.cloud-file-content b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:20px}.cloud-file-content small{margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cloud-file-actions{display:flex;gap:6px;flex-shrink:0}.cloud-file-actions button[title="Move to trash"]{color:#bca6a0;border:0}.cloud-library-hint{font-size:12px;color:#94b3a8;line-height:1.5;margin:15px 0}.cloud-library-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:48px 16px;color:#799f8f;font-size:13px}
.cloud-library footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 22px;border-top:1px solid #ffffff14;flex-shrink:0}.cloud-library .cloud-upload{background:#265c48}.cloud-library a{color:#9ce8c8;text-decoration:underline}
@media(max-width:600px){.cloud-test-overlay{padding:6px}.cloud-library header{padding:14px}.cloud-library-tools{padding:12px 14px}.cloud-library-tabs{padding:0 14px 10px}.cloud-library-list{padding:0 14px}.cloud-library footer{padding:12px 14px}.cloud-file-icon{display:none}.cloud-library li{gap:8px}.cloud-file-actions{gap:2px}.cloud-file-actions button{padding:6px}.cloud-search input{font-size:16px}}

.sco-drive-library.cloud-library{position:relative;inset:auto;z-index:auto;padding:0}.sco-drive-library.cloud-library>header{height:auto}.sco-drive-library.cloud-library .cloud-search{margin:0}.sco-drive-library.cloud-library .cloud-search input{padding:9px 0!important}.sco-drive-library.cloud-library .cloud-library-tabs{gap:4px}.sco-drive-library.cloud-library .sco-drive-library-list{scrollbar-width:thin;scrollbar-color:#3b6455 transparent}.sco-drive-library.cloud-library .sco-drive-library-row{padding:15px 0}.sco-drive-library.cloud-library .sco-drive-library-name b{line-height:20px}.sco-drive-library.cloud-library .sco-drive-library-name small{margin-top:3px}.sco-drive-library.cloud-library .cloud-icon-button{font-size:12px}.sco-drive-library.cloud-library>footer{gap:12px;justify-content:space-between}@media(max-width:600px){.sco-drive-library.cloud-library{padding:0}}

/* Keep public chat in the customer header instead of a separate navigation row. */
#workspace.admin.navigation-in-header{grid-template-rows:minmax(0,1fr)}
#workspace.admin.navigation-in-header>#chat,#workspace.admin.navigation-in-header>#lobby,#workspace.admin.navigation-in-header>#customersPanel{grid-row:1}
#workspace.admin.navigation-in-header .sectionHead>#scoNavigation{display:flex;flex:none;align-items:center;justify-content:flex-end;margin:0 0 0 auto;padding:0;border:0;background:transparent;gap:8px}
#workspace.admin.navigation-in-header .sectionHead{align-items:center;gap:12px;flex-wrap:wrap}
#workspace.admin.navigation-in-header .sectionHead>div:first-child{flex:1;min-width:0}
#workspace.admin.navigation-in-header #customerActions{margin-left:auto}
@media(max-width:600px){#workspace.admin.navigation-in-header .sectionHead>#scoNavigation{gap:4px}#workspace.admin.navigation-in-header .sectionHead{gap:8px}}

/* Separate the customer/public-chat header from the conversation. */
#workspace.admin.navigation-in-header>#chat>.sectionHead,#workspace.admin.navigation-in-header>#lobby>.sectionHead{border-bottom:1px solid var(--line,#29483f);padding-bottom:12px}

/* Compact customer header, retaining the separator and existing text sizes. */
#workspace.admin.navigation-in-header>#chat>.sectionHead,#workspace.admin.navigation-in-header>#lobby>.sectionHead{padding-block:6px}
#workspace.admin.navigation-in-header>.panel>.sectionHead h2{margin-block:0}
#workspace.admin.navigation-in-header>.panel>.sectionHead p{margin-block:2px 0}

.sco-history-search{width:min(720px,calc(100vw - 32px));max-height:80dvh;box-sizing:border-box;padding:20px;background:#0c241e;color:#e3f4ed;border:1px solid #436657;border-radius:16px}.sco-history-search::backdrop{background:#0008}.sco-history-search header{display:flex;align-items:center;justify-content:space-between;height:auto;padding:0 0 16px;gap:12px}.sco-history-search header button{border:0;background:transparent;font-size:24px;padding:0 8px}.sco-history-search input{width:100%}.sco-history-search>p{font-size:12px;color:#94b3a8}.sco-history-results{max-height:52dvh;overflow:auto}.sco-history-results details{border-bottom:1px solid #29483f;padding:8px 0}.sco-history-results summary{cursor:pointer;overflow-wrap:anywhere}.sco-history-results time{display:block;font-size:11px;color:#94b3a8;margin-bottom:5px}.sco-history-results p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.sco-history-results small{display:block;overflow-wrap:anywhere;color:#91d8bf}

/* Customer history stays within the customer arrow menu. */
.customer-menu .sco-history-inline{width:100%;max-height:none;min-width:0;margin:6px 0 0;padding:10px 0 0;border:0;border-top:1px solid var(--line,#29483f);border-radius:0;background:transparent;box-sizing:border-box}
.customer-menu .sco-history-inline header{padding:0 0 8px;gap:6px;align-items:flex-start}
.customer-menu .sco-history-inline header strong{font-size:12px;white-space:normal;overflow-wrap:anywhere}
.customer-menu .sco-history-inline header button{width:auto;margin:0;flex:none;font-size:18px;min-height:24px;padding:0 4px}
.customer-menu .sco-history-inline input{font-size:12px;padding:8px;min-width:0;width:100%;box-sizing:border-box}
.customer-menu .sco-history-inline .sco-history-results{max-height:280px;overflow:auto}
.customer-menu .sco-history-inline summary,.customer-menu .sco-history-inline p{font-size:12px;white-space:normal}
.customer-menu .sco-history-inline details>p{white-space:pre-wrap}

.customer-menu [data-history]>.sco-history-inline{margin:0 0 6px;padding:0 0 6px;border-top:0;border-bottom:1px solid var(--line,#29483f)}
.customer-menu .sco-history-inline>p:empty{display:none}

.sco-history-search-row{display:flex;align-items:center;gap:5px;width:100%;min-width:0}
.customer-menu .sco-history-inline .sco-history-search-row input{flex:1;min-width:0;width:0}
.sco-history-count{flex:none;color:#91d8bf;font-size:12px;font-variant-numeric:tabular-nums}
.customer-menu .sco-history-inline .sco-history-next{flex:none;width:26px;min-height:30px;margin:0;padding:0;border:0;background:transparent;text-align:center;font-size:20px}
:is(#messages,#offers) [data-message-id].sco-history-current{outline:2px solid #e8c870;outline-offset:3px;box-shadow:0 0 0 5px #e8c87018}

/* Keep the history search field border consistent while focused. */
.customer-menu .sco-history-inline .sco-history-search-row input:focus,.customer-menu .sco-history-inline .sco-history-search-row input:focus-visible{outline:none!important;box-shadow:none!important;border-color:var(--line,#29483f)!important}

/* The same travelling edge light used for active rooms in Control Center. */
@property --sco-message-frame-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
#messages [data-message-id]:has(>.sco-new-message-frame){position:relative}
.sco-new-message-frame{position:absolute;inset:-2px;border-radius:inherit;padding:2px;pointer-events:none;z-index:3;background:conic-gradient(from var(--sco-message-frame-angle),transparent 0deg 235deg,#55baff 285deg 325deg,transparent 360deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;animation:sco-message-frame-orbit 3s linear infinite}
@keyframes sco-message-frame-orbit{to{--sco-message-frame-angle:360deg}}
@media(prefers-reduced-motion:reduce){.sco-new-message-frame{animation:none;background:#55baff}}

/* Keep the same header geometry when switching between private and public chat. */
#workspace.admin.navigation-in-header>:is(#chat,#lobby)>.sectionHead,
#scoRoomBody.embedded #workspace.admin.navigation-in-header>:is(#chat,#lobby)>.sectionHead{box-sizing:border-box;flex:none;flex-wrap:nowrap;min-height:55px;padding:6px 20px;border-bottom:1px solid var(--line,#29483f)}
#workspace.admin.navigation-in-header>:is(#chat,#lobby)>.sectionHead h2{margin:0;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#workspace.admin.navigation-in-header>:is(#chat,#lobby)>.sectionHead p{margin:2px 0 0;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#workspace.admin.navigation-in-header .sectionHead>#scoNavigation button{white-space:nowrap}
@media(max-width:600px){#workspace.admin.navigation-in-header>:is(#chat,#lobby)>.sectionHead,#scoRoomBody.embedded #workspace.admin.navigation-in-header>:is(#chat,#lobby)>.sectionHead{padding-inline:12px}}
.sco-booking-dialog{width:min(520px,calc(100vw - 32px));max-height:90dvh;padding:0;border:1px solid #456756;border-radius:20px;background:#0d251e;color:#e6f4ee;box-shadow:0 24px 80px #0006}.sco-booking-dialog::backdrop{background:#0007}.sco-booking-dialog form{margin:0}.sco-booking-dialog header{height:auto;display:flex;justify-content:space-between;gap:12px;padding:22px 26px;border-bottom:1px solid #29483d}.sco-booking-dialog h2{font-size:21px;margin:0}.sco-booking-dialog header p{font-size:12px;color:#93ada3;margin:5px 0 0}.sco-booking-dialog header button{height:32px;min-width:32px;padding:0;background:transparent;border:0;font-size:24px}.sco-booking-fields{padding:20px 26px}.sco-booking-fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#c2d7cd;margin-bottom:16px}.sco-booking-fields input,.sco-booking-fields select,.sco-booking-fields textarea{box-sizing:border-box;width:100%;min-width:0;padding:11px 13px;border:1px solid #345448;border-radius:10px;background:#091e17;color:#e6f4ee;font-size:14px;font-family:inherit}.sco-booking-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sco-booking-dialog .muted{font-size:11px;color:#93ada3}.sco-booking-dialog footer{display:flex;justify-content:flex-end;gap:12px;padding:18px 26px;border-top:1px solid #29483d}.sco-booking-dialog [type=submit]{background:#79dfb3;color:#082219;border-color:#79dfb3}.sco-meeting-card{padding:20px!important;border:1px solid #3d7260!important;background:#1b4536!important}.sco-meeting-card h3{font-size:17px;margin:8px 0}.sco-meeting-card p{margin:7px 0;font-size:12px}.sco-meeting-card small{color:#a5c6b7;font-size:10px}.sco-meeting-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.sco-meeting-actions button{font-size:11px}.sco-meeting-note{white-space:pre-wrap;overflow-wrap:anywhere}
/* Consistent compact booking controls, including native Safari selects. */
.sco-booking-dialog{box-sizing:border-box;overflow:auto}
.sco-booking-dialog header{padding:16px 20px}
.sco-booking-dialog .sco-booking-fields{padding:16px 20px 10px}
.sco-booking-dialog .sco-booking-fields label{gap:6px;margin-bottom:12px}
.sco-booking-dialog .sco-booking-fields input,
.sco-booking-dialog .sco-booking-fields select{height:42px;min-height:42px;line-height:20px;margin:0;padding:10px 12px;appearance:none;-webkit-appearance:none;border-radius:10px}
.sco-booking-dialog .sco-booking-fields select{padding-inline-end:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c2d7cd' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px}
.sco-booking-dialog[dir=rtl] .sco-booking-fields select{background-position:left 12px center}
.sco-booking-dialog input[type=date]::-webkit-date-and-time-value{text-align:start;min-height:20px}
.sco-booking-dialog .sco-booking-fields textarea{height:64px;min-height:64px;max-height:120px;padding:10px 12px;resize:vertical}
.sco-booking-dialog .sco-booking-fields .muted{margin:6px 0 12px;line-height:1.45}
.sco-booking-dialog [data-status]:empty{display:none}
.sco-booking-dialog footer{padding:12px 20px}
.sco-booking-dialog footer button{min-height:40px;padding:8px 16px}
.sco-booking-dialog .sco-booking-choices{min-width:0;border:0;padding:0;margin:0 0 12px}
.sco-booking-dialog .sco-booking-choices legend{padding:0;margin-bottom:6px;font-size:12px;color:#c2d7cd}
.sco-booking-dialog .sco-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sco-booking-dialog .sco-time-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sco-booking-dialog [data-booking-choice]{min-width:0;min-height:42px;margin:0;padding:8px;border:1px solid #456b56;border-radius:10px;background:#122e21;color:#c9e8d7;font:inherit;font-size:13px;cursor:pointer;white-space:normal}
.sco-booking-dialog [data-booking-choice][aria-pressed=true]{background:#79dfb3;border-color:#79dfb3;color:#092318;font-weight:600}
.sco-booking-dialog [data-booking-choice]:focus-visible{outline:2px solid #b6f5d8;outline-offset:2px}
@media(max-width:420px){.sco-booking-dialog .sco-time-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

.sco-booking-dialog .sco-time-grid button.is-booked{opacity:1;background:#263b36;color:#aabbb5;border-color:#53645e;cursor:not-allowed;font-size:12px}

/* Use SCO focus colours instead of browser-default blue rings. */
:focus{outline:none!important}
:focus-visible{outline:2px solid #8dcbb5!important;outline-offset:2px}
:is(input,textarea,select,[contenteditable="true"]):focus{outline:none!important;box-shadow:none!important;border-color:#75ad98}
:is(dialog,[role="dialog"]):focus{outline:none!important}

#scoCallUI .call-controls [data-sco-booking]{flex-shrink:0}.sco-booking-dialog{z-index:2147483647}

@media(max-width:600px){#scoCallUI .call-controls{gap:3px}#scoCallUI .call-controls button{width:32px;min-width:32px}#scoCallUI .call-controls button.hangup{width:36px}#scoCallUI .call-controls [data-sco-booking],#scoCallUI .call-controls [data-sco-booking] .desktop-call-icon{width:32px!important;min-width:32px!important;height:40px!important}}

/* Admin-only per-message actions */
.sco-admin-menu-bubble{position:relative}
.sco-admin-menu-trigger{position:absolute;right:5px;top:5px;width:28px;height:28px;padding:4px!important;border:0!important;border-radius:50%;background:rgba(0,0,0,.12);color:inherit;display:grid;place-items:center}
.sco-admin-menu-trigger svg,.sco-admin-message-menu svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.sco-admin-message-menu{position:fixed;inset:auto;margin:0;padding:7px;width:230px;max-width:calc(100vw - 16px);border:1px solid #46675b;border-radius:16px;background:#102a23;color:#e4f2ec;box-shadow:0 12px 36px #0008;z-index:2147483647}
.sco-admin-message-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}
.sco-admin-message-menu button:hover,.sco-admin-message-menu button:focus-visible{background:#245044;outline:0}
.sco-admin-message-menu button:disabled{opacity:.35;cursor:default}
.sco-admin-menu-bubble [hidden]{display:none!important}
.sco-email-dialog blockquote{margin:14px 0;padding:12px;border-left:3px solid #70dcb0;white-space:pre-wrap;max-height:180px;overflow:auto}

:is(#messages,#offers) .sco-admin-menu-trigger,:is(#messages,#offers) .sco-admin-menu-trigger:hover,:is(#messages,#offers) .sco-admin-menu-trigger:focus{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important}
:is(#messages,#offers) .sco-admin-menu-trigger:focus-visible{color:#91f5c8}

@keyframes sco-arrow-gentle-ring{0%,80%,100%{transform:rotate(0)}84%{transform:rotate(-9deg)}88%{transform:rotate(9deg)}92%{transform:rotate(-5deg)}96%{transform:rotate(5deg)}}
:is(#messages,#offers) .sco-admin-menu-trigger svg{transform-origin:50% 35%;animation:sco-arrow-gentle-ring 6s ease-in-out infinite}
:is(#messages,#offers) .sco-admin-menu-trigger[aria-expanded="true"] svg{animation:none}
@media(prefers-reduced-motion:reduce){:is(#messages,#offers) .sco-admin-menu-trigger svg{animation:none}}

/* Reserve arrow space in content only; preserve original receipt/footer position. */
:is(#messages,#offers) .sco-admin-menu-bubble:not(:has(.sco-message-delete)) > [data-message-text] > p{padding-right:28px}

/* Actions stay at the top right; time and receipts retain their footer row. */
:is(#messages,#offers) .sco-admin-menu-trigger{position:absolute!important;top:5px!important;right:5px!important;bottom:auto!important;left:auto!important;display:inline-grid;width:24px;height:24px;min-height:0;margin:0;padding:2px!important;z-index:2}
.sco-admin-message-footer{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-top:8px}
:is(#messages,#offers) .sco-admin-menu-bubble > [data-message-text] > p,:is(#messages,#offers) .sco-admin-menu-bubble > [data-message-text] > .translated-message > p{padding-right:28px!important}

/* AI status sits between the activity time and customer options. */
.customer-row.ai-enabled .customer-activity{inset-inline-end:54px}
.customer-row.ai-enabled .customer-name-info{max-width:calc(100% - 112px)}
.customer-row.ai-enabled .customer strong{padding-inline-end:116px}
.customer-ai-indicator{position:absolute;inset-inline-end:29px;top:14px;width:16px;height:16px;display:flex;align-items:center;color:#70ddaa;pointer-events:auto}
.customer-menu .customer-ai-setting{border-top:1px solid #33594c;border-bottom:1px solid #33594c;margin:6px 0;padding:10px 8px;gap:8px}
.customer-ai-setting>svg{flex:none;color:#70ddaa}
.customer-ai-setting>span:first-of-type{flex:1;min-width:0}
.customer-menu .customer-ai-setting strong{font-size:12px;display:block}
.customer-menu .customer-ai-setting small{padding:3px 0 0;font-size:11px;color:#a9c5ba}
.customer-ai-switch{flex:none;width:28px;height:16px;border-radius:12px;background:#42564f;position:relative}
.customer-ai-switch:after{content:'';position:absolute;top:3px;left:3px;width:10px;height:10px;border-radius:50%;background:#e9f8f3}
.customer-ai-switch.is-on{background:#278b66}
.customer-ai-switch.is-on:after{left:15px;background:#b7f7d9}

.sco-private-presence{display:flex;gap:14px;font-size:12px;margin-top:6px}.sco-private-presence span{display:inline-flex;align-items:center;gap:6px}.sco-private-presence i{width:7px;height:7px;border-radius:50%;background:#78838a}.sco-private-presence i[data-online="true"]{background:#39cf84;box-shadow:0 0 5px #39cf8460}

/* Private SCO company panel stays at the foot of the existing customer column. */
#workspace.admin #customers{flex:1 1 auto;min-height:0;overflow-y:auto}
.sco-company-card{box-sizing:border-box;display:flex;flex-direction:column;flex:0 0 auto;height:250px;min-height:0;margin-top:12px;padding:12px;border:1px solid var(--line,#29483f);border-radius:12px;background:#102a24;color:inherit;font:inherit;max-height:46%;overflow:hidden;overflow-wrap:anywhere}
.sco-company-card[hidden]{display:none!important}
.sco-company-card h3{margin:0 0 9px;font:inherit;font-size:13px;font-weight:600;line-height:1.4}
.sco-company-card ol{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.sco-company-card li{display:grid;grid-template-columns:minmax(0,1fr) 16px;gap:2px 5px;font-size:12px;line-height:1.45}
.sco-company-card li small{grid-column:1/-1;color:#9fbdb1;font-size:10px}
.sco-company-card li span{min-width:0}
.sco-company-card a{color:#8edabd;text-decoration:none;align-self:start}
.sco-company-card a:focus-visible,.sco-company-card button:focus-visible{outline:2px solid #8edabd;outline-offset:3px}
.sco-company-card p{margin:0;color:#aac4b8;font-size:12px;line-height:1.5}
.sco-company-card .sco-company-note{font-size:10px;margin-top:10px;line-height:1.4}
.sco-company-test{display:block;color:#e8c77a;font-size:10px;margin:-2px 0 9px}
.sco-company-card button{background:transparent;border:0;color:#8edabd;font:inherit;font-size:12px;padding:8px 0 0;cursor:pointer}
@media(max-height:600px){.sco-company-card{padding:9px;max-height:45%}.sco-company-card ol{gap:5px}}

/* Scroll only the details inside the existing frame; keep its heading visible. */
.sco-company-card>h3,.sco-company-card>.sco-company-test,.sco-company-card>.sco-company-note{flex-shrink:0}
.sco-company-scroll{min-height:0;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#426c5d transparent;scrollbar-gutter:stable;padding-right:8px}
.sco-company-scroll:focus-visible{outline:1px solid #8edabd;outline-offset:-1px;border-radius:4px}
.sco-company-card .sco-company-description{grid-column:1/-1;margin:5px 0 0;font-size:12px;line-height:1.55;color:#bed0c8}
.sco-company-scroll li+li{padding-top:10px;border-top:1px solid var(--line,#29483f)}
.sco-company-scroll li>span{font-weight:600}

/* Invitation actions share one row; attachment frame appears only with files. */
.sco-invite-tools{display:flex;align-items:stretch;gap:10px;margin:12px 0}
.sco-invite-tools>button{flex:1;min-width:0;white-space:normal}
.sco-email-drop[hidden]{display:none}

/* Invitation is opened from the phone toolbar QR action. */
#createInvite[hidden]{display:none!important}

.customersHeading[hidden]{display:none}

.sco-inline-image{display:block;padding:0;margin:4px 0;border:0;background:transparent;max-width:100%;cursor:pointer;border-radius:10px;overflow:hidden}.sco-inline-image img{display:block;width:auto;height:auto;max-width:min(260px,100%);max-height:360px;object-fit:contain}

/* Image frames follow image dimensions rather than the document-card width. */
:is(#messages,#offers) .bubble:has(.sco-inline-image){width:var(--sco-image-width,272px);min-width:0;max-width:88%;padding:5px 5px 7px}
:is(#messages,#offers) .bubble:has(.sco-inline-image) .message-meta{max-width:100%;flex-wrap:wrap;justify-content:flex-end;gap:3px}
:is(#messages,#offers) .bubble:has(.sco-inline-image) .sco-inline-image{max-width:100%;margin:4px 0}
:is(#messages,#offers) .bubble:has(.sco-inline-image) .sco-inline-image img{max-width:100%}

/* Private call view occupies the same panel as the private conversation. */
#chat{position:relative}
#chat>#scoCallUI .call-backdrop{position:absolute!important;inset:0!important;padding:0!important;display:grid;place-items:stretch;z-index:110;border-radius:inherit;background:var(--deep,#071411)}
#chat>#scoCallUI .call-dialog{width:100%!important;height:100%!important;min-width:0;min-height:0;max-width:100%!important;max-height:100%!important;margin:0!important;border:0;border-radius:inherit;box-shadow:none;box-sizing:border-box}
#chat>#scoCallUI .sco-return-call{position:absolute;right:18px;bottom:90px}

/* Ringing uses its own overlay, constrained to the private chat as well. */
#chat>#scoCallUI .incoming-call-backdrop{position:absolute!important;inset:0!important;width:100%;height:100%;padding:16px!important;box-sizing:border-box;display:grid;place-items:center;z-index:111;border-radius:inherit}
#chat>#scoCallUI .incoming-call-dialog{position:relative;inset:auto;margin:0;max-width:100%;max-height:100%;overflow:auto;box-sizing:border-box}


/* SCO participant controls and live audio levels. */
.sco-native-call .sco-participant-row{display:flex;align-items:center;gap:8px;min-width:0}
.sco-native-call .sco-participant-row b{display:flex;align-items:center;gap:8px;flex:1;min-width:0;text-align:left}
.sco-native-call .sco-online-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#39d9a3;box-shadow:0 0 7px #39d9a355}
.sco-native-call .sco-participant-button{display:grid;place-items:center;width:32px;height:32px;flex:none;padding:0;border:1px solid #41665b;border-radius:8px;background:#102f27;color:#a7e8d2;cursor:pointer}
.sco-native-call .sco-participant-button.is-off{background:#563233;border-color:#855256;color:#ffd0cf}
.sco-native-call .sco-participant-button:disabled{opacity:.45;cursor:default}
.sco-native-call .sco-participant-meter{display:flex;align-items:center;gap:3px;height:26px;flex:none;padding:0 3px}
.sco-native-call .sco-participant-meter i{display:block;width:3px;border-radius:2px;background:#49645c;height:6px}
.sco-native-call .sco-participant-meter i:nth-child(2){height:10px}
.sco-native-call .sco-participant-meter i:nth-child(3){height:14px}
.sco-native-call .sco-participant-meter i:nth-child(4){height:19px}
.sco-native-call .sco-participant-meter i:nth-child(5){height:24px}
.sco-native-call .sco-participant-meter i.is-active{background:#39d9a3}


/* Match the room call surface without changing the underlying chat geometry. */
#chat>#scoCallUI{position:absolute;inset:0;z-index:110;pointer-events:none}
#chat>#scoCallUI>*{pointer-events:auto}
#chat>#scoCallUI .call-dialog{grid-template-rows:0 minmax(0,1fr) 76px}
#chat>#scoCallUI .call-dialog>header{display:none}
#scoCallUI .call-stage,#scoCallUI .audio-call-display{background-color:var(--chat-background-color,#091814);background-image:var(--chat-background-image,radial-gradient(#1b3730 1px,transparent 1px));background-size:var(--chat-background-size,24px 24px);background-position:0 0;background-repeat:repeat}
#scoCallUI .audio-call-display:has(.audio-group-roster)>:is(.audio-call-icon,strong,span){transform:translateY(var(--audio-intro-shift,0px))}
#scoCallUI .sco-participant-row>.sco-participant-meter{flex:none;width:23px;height:22px;gap:2px;padding:0;margin-right:3px;overflow:visible}
#scoCallUI .sco-participant-meter i:nth-child(4){height:18px}
#scoCallUI .sco-participant-meter i:nth-child(5){height:22px}
#scoCallUI .sco-participant-row b{font-weight:400}
