/* Full-scene preparation, with a floating join card and a device dock. */
#app>.shell.studio-lobby-shell {
  display: block;
  position: relative;
  width: calc(100% - 28px);
  max-width: none;
  height: calc(100dvh - 28px);
  min-height: 660px;
  padding: 0;
  margin: 14px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid #ecf6ff2e;
  box-shadow: inset 0 0 90px #040a1452;
}
.studio-lobby-shell .ux-topbar {
  position: absolute;
  inset: 26px 28px auto;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 30;
  pointer-events: none;
}
.studio-lobby-shell .ux-topbar>* { pointer-events: auto; }
#app .studio-lobby-shell .ux-topbar>.brand {
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  padding: 5px 66px 5px 0;
  min-height: 52px;
  font-size: 25px;
  letter-spacing: .2px;
}
.studio-lobby-shell .brand>.sg-pane { display: none !important; }
.studio-lobby-shell .brand .suite-brand-mark,
.studio-lobby-shell .brand>img { width: 39px; height: 39px; }
.studio-lobby-shell .brand .suite-current-label { font-size: 20px; font-weight: 500; }
#app .studio-lobby-shell .ux-topbar>.header-right {
  margin: 0;
  padding: 7px;
  border-radius: 999px;
  gap: 7px;
  background: #0c213854;
  border-color: #e1f1ff45;
}
.studio-lobby-shell .header-right .calls-cabinet-entry {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #c2e4ff13;
}
.studio-lobby-shell .header-right [data-action=account] {
  width: auto;
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  padding: 0 12px 0 2px;
  background: transparent;
}
.studio-account-label { font-size: 12px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-lobby-shell .header-right .calls-language { border-radius: 50%; }
.studio-lobby-shell .prejoin.studio-lobby {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}
.studio-lobby .preview-card.glass,
html[data-sabsus-theme] .studio-lobby .preview-card.glass {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 32px;
  box-shadow: none;
  background: transparent !important;
  isolation: auto;
  z-index: auto;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}
.studio-lobby .camera-preview {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 32px;
  background: transparent;
  overflow: hidden;
}
.studio-lobby #preview-video { width: 100%; height: 100%; object-fit: cover; }
.studio-lobby .camera-preview::after {
  background:
    radial-gradient(ellipse 78% 90% at 53% 42%,transparent 23%,#040a1424 55%,#040a14b3 100%),
    linear-gradient(to bottom,#040a142e,transparent 23%,transparent 58%,#040a148f);
  box-shadow: inset 0 0 100px #06101a45;
}
.studio-lobby .camera-off {
  position: absolute;
  inset: 115px 7% 180px 43%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  isolation: isolate;
  background: transparent;
  overflow: visible;
  transition: left .4s,right .4s;
}
.studio-lobby .camera-off::before,
.studio-lobby .camera-off::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(220px,25vw,370px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%,-50%);
}
.studio-lobby .camera-off::before {
  background: radial-gradient(circle at 30% 25%,#e1f4ff33,#a6d8ff0b 48%,#06142524 80%);
  border: 1px solid #d7eeff42;
  box-shadow: inset 0 1px 4px #ffffff44,inset -16px -24px 40px #06182a1c,0 30px 70px #04122230;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.studio-lobby .camera-off::after {
  width: clamp(285px,32vw,475px);
  border: 1px solid #d9eeff24;
  box-shadow: 0 0 70px #90ceff0c;
}
.studio-lobby .camera-off>.icon { width: 44px; height: 44px; color: #d5ecff; opacity: .8; }
.studio-lobby .camera-off small { font-size: 13px; color: #d5e4f1; }
.studio-lobby .join-content {
  position: absolute;
  bottom: 154px;
  left: 38px;
  width: min(440px,40vw);
  max-height: calc(100% - 280px);
  overflow: auto;
  z-index: 15;
  padding: 30px;
  border: 1px solid #e8f5ff38;
  border-radius: 28px;
  background: linear-gradient(130deg,#ffffff12,#ffffff03),#0d203344;
  box-shadow: 0 18px 65px #020b1829,inset 0 1px 0 #ffffff1f;
  backdrop-filter: blur(20px) saturate(1.12);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
  scrollbar-width: thin;
  scrollbar-color: #badcff66 transparent;
}
.studio-lobby .studio-eyebrow { margin: 0 0 21px; color: #cce4f7; font-size: 9px; line-height: 1.5; letter-spacing: .15em; }
.studio-lobby .join-content h1 { font-size: clamp(32px,3.65vw,53px); line-height: 1.08; font-weight: 400; letter-spacing: -1.8px; margin: 0 0 22px; text-wrap: balance; }
.studio-lobby .entry-hint { font-size: 14px; line-height: 1.7; color: #c6d7e7; margin: 0 0 28px; max-width: 290px; }
.studio-lobby .calls-entry-actions { display: grid; gap: 10px; }
.studio-lobby .calls-entry-actions .btn { min-height: 52px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.studio-lobby #service-state:empty { display: none; }
.studio-lobby #service-state:not(:empty) { margin: 18px 0 0; }
.studio-lobby .join-content:has(#join-form) { width: min(460px,42vw); bottom: 144px; max-height: calc(100% - 260px); }
.studio-lobby .join-content:has(#join-form) h1 { font-size: 32px; }
.studio-lobby:has(#preview-video:not([hidden])) .join-content { background: linear-gradient(130deg,#ffffff12,#ffffff02),#08142166; }
.studio-lobby .preview-controls {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: 35px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 240px);
  gap: 8px;
  padding: 9px;
  margin: 0;
  border: 1px solid #e8f5ff4d;
  border-radius: 999px;
  background: linear-gradient(135deg,#ffffff1c,#ffffff04),#10203473;
  box-shadow: 0 14px 42px #0003,inset 0 1px 0 #ffffff42;
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
}
.studio-lobby .preview-controls .btn {
  flex: none;
  width: auto;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #edf6ff;
  border: 1px solid #d6edff27;
  background: #c5e3ff0e !important;
  box-shadow: inset 0 1px 0 #ffffff21;
}
.studio-lobby .preview-controls .btn[aria-pressed=true] { background: #add7ff24 !important; border-color: #c6e5ff55; }
.studio-lobby .preview-controls [data-action=test-speaker],
.studio-panel-toggle { display: inline-grid; place-items: center; grid-column: auto; width: 44px; height: 44px; padding: 0; min-height: 44px; border: 1px solid #d6edff27; border-radius: 50%; color: #e3f1fe; background: #c5e3ff0b; cursor: pointer; flex: none; }
.studio-lobby .preview-controls [data-action=test-speaker] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.studio-panel-toggle[aria-expanded=false] { color: #153653; background: #c4e5ff; }
.studio-panel-toggle:hover { border-color: #c6e5ff8c; }
.studio-lobby .preview-controls .mic-meter { position: absolute; left: 26px; right: 26px; bottom: -1px; width: auto; margin: 0; height: 2px; }
.studio-lobby.studio-preview-focus .camera-off { left: 10%; right: 10%; }
.studio-utilities { position: absolute; right: 30px; bottom: 93px; z-index: 25; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.studio-utilities .icon-btn { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; }
.studio-utilities .studio-account-entry[hidden] { display: none !important; }
body:has(.studio-lobby) .cg-launch { right: 44px; bottom: 47px; padding: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 0; }
body:has(.studio-lobby) .cg-launch:not(.room-help) .cg-launch-label { display: none; }
body:has(.studio-lobby) .sp-fallback { top: 46px; right: 43px; }
body:has(.studio-lobby) #toast {
  top: 124px;
  bottom: auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 64px);
  pointer-events: none;
}

@media(max-width:1150px) and (min-width:801px) {
  .studio-lobby .join-content { width: 380px; left: 27px; padding: 26px; }
  .studio-lobby .join-content h1 { font-size: 41px; }
  .studio-lobby .preview-controls { left: auto; right: 90px; transform: none; max-width: calc(100% - 270px); }
  .studio-lobby .preview-controls .btn { padding: 10px 12px; }
  .studio-lobby .preview-controls .btn span { font-size: 11px; }
}
@media(max-height:760px) and (min-width:801px) {
  #app>.shell.studio-lobby-shell { min-height: 610px; }
  .studio-lobby .join-content { bottom: 133px; padding: 24px; max-height: calc(100% - 244px); }
  .studio-lobby .join-content h1 { font-size: 36px; margin-bottom: 16px; }
  .studio-lobby .entry-hint { margin-bottom: 18px; }
  .studio-lobby .studio-eyebrow { margin-bottom: 14px; }
  .studio-lobby .preview-controls { bottom: 29px; }
}
@media(max-width:800px) {
  #app>.shell.studio-lobby-shell { width: 100%; height: auto; min-height: 100dvh; margin: 0; border: 0; border-radius: 0; overflow: visible; }
  .studio-lobby-shell .ux-topbar { inset: max(18px,env(safe-area-inset-top)) 16px auto; gap: 12px; }
  #app .studio-lobby-shell .ux-topbar>.brand { padding: 4px 0; min-height: 44px; gap: 8px; }
  .studio-lobby-shell .brand .suite-current-label { font-size: 16px; }
  .studio-lobby-shell .brand .suite-brand-mark,.studio-lobby-shell .brand>img { width: 30px; height: 30px; }
  #app .studio-lobby-shell .ux-topbar>.header-right { padding: 4px; gap: 4px; }
  .studio-lobby-shell .header-right .calls-cabinet-entry { min-height: 36px; padding: 8px 10px; font-size: 11px; }
  .studio-lobby-shell .header-right [data-action=account] { width: 36px; height: 36px; padding: 0; }
  .studio-account-label { display: none; }
  .studio-lobby-shell .prejoin.studio-lobby { position: relative; min-height: 100dvh; height: auto; padding: 0 16px 170px; display: flex; flex-direction: column; }
  .studio-lobby .preview-card.glass { min-height: 100%; border-radius: 0; }
  .studio-lobby .camera-preview { border-radius: 0; }
  .studio-lobby .camera-off { inset: 110px 0 auto; height: 240px; }
  .studio-lobby .camera-off::before { width: 174px; }
  .studio-lobby .camera-off::after { width: 226px; }
  .studio-lobby .camera-off>.icon { width: 30px; height: 30px; }
  .studio-lobby .camera-off small { font-size: 11px; }
  .studio-lobby .join-content,.studio-lobby .join-content:has(#join-form) {
    position: relative;
    left: auto; bottom: auto;
    width: 100%;
    max-height: none;
    margin-top: 350px;
    padding: 25px;
    border-radius: 26px;
    background: linear-gradient(135deg,#ffffff0f,#ffffff03),#152a40e8;
  }
  .studio-lobby .join-content h1 { font-size: 38px; margin-bottom: 15px; }
  .studio-lobby .studio-eyebrow { font-size: 8px; margin-bottom: 16px; }
  .studio-lobby .entry-hint { font-size: 13px; margin-bottom: 22px; }
  .studio-lobby .preview-controls {
    position: fixed;
    left: 14px; right: 14px;
    bottom: max(16px,env(safe-area-inset-bottom));
    transform: none;
    width: auto;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 44px 44px;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 8px;
    background: #182c42f5;
    box-shadow: 0 12px 40px #0005;
    z-index: 40;
  }
  .studio-lobby .preview-controls .btn { width: 100%; min-height: 50px; padding: 6px 5px; display: flex; flex-direction: column; gap: 4px; border-radius: 999px; }
  .studio-lobby .preview-controls .btn span { font-size: 8px; line-height: 1.15; white-space: nowrap; }
  .studio-lobby .preview-controls .btn>.icon { width: 19px; height: 19px; }
  .studio-lobby .preview-controls [data-action=test-speaker],.studio-panel-toggle { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
  .studio-utilities { position: fixed; right: 16px; bottom: 118px; z-index: 45; }
  .studio-utilities .icon-btn { width: 40px; height: 40px; min-width: 40px; }
  body:has(.studio-lobby) .cg-launch { right: 16px; bottom: 168px; width: 40px; height: 40px; }
  .studio-lobby.studio-preview-focus { min-height: 100dvh; }
  .studio-lobby.studio-preview-focus .camera-off { left: 0; right: 0; top: 25vh; }
}
@media(prefers-reduced-motion:reduce) { .studio-lobby .camera-off { transition: none; } }
@media(max-height:520px) and (min-width:600px) {
  #app>.shell.studio-lobby-shell { min-height: 380px; }
  .studio-lobby-shell .prejoin.studio-lobby { min-height: 380px; padding: 90px 20px 120px; display: block; }
  .studio-lobby .join-content,.studio-lobby .join-content:has(#join-form) { position: relative; left: auto; bottom: auto; width: min(420px,55%); margin: 0; padding: 20px; max-height: 210px; overflow: auto; }
  .studio-lobby .join-content h1 { font-size: 28px; margin-bottom: 12px; }
  .studio-lobby .studio-eyebrow { margin-bottom: 10px; }
  .studio-lobby .entry-hint { margin-bottom: 14px; }
  .studio-lobby .camera-off { inset: 85px 7% 110px 57%; height: auto; }
  .studio-lobby .camera-off::before { width: 150px; }
  .studio-lobby .camera-off::after { width: 195px; }
  .studio-lobby .preview-controls { bottom: 16px; }
}
@media(prefers-reduced-transparency:reduce) {
  .studio-lobby .join-content,.studio-lobby .preview-controls { background: #192c41; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Welcoming photograph, replaced by the actual camera preview when enabled. */
.studio-lobby .studio-backdrop {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.studio-lobby .camera-preview[data-live-camera=true] .studio-backdrop { visibility: hidden; }
.studio-lobby #preview-video { position: relative; z-index: 1; }
.studio-lobby:has(.studio-backdrop) .camera-off,
.studio-lobby.studio-preview-focus:has(.studio-backdrop) .camera-off {
  inset: 148px 34px auto auto;
  width: max-content;
  height: auto;
  padding: 9px 12px;
  flex-direction: row;
  gap: 8px;
  border-radius: 999px;
  background: rgba(18,22,28,.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
}
.studio-lobby:has(.studio-backdrop) .camera-off>.icon { width: 15px; height: 15px; }
.studio-lobby:has(.studio-backdrop) .camera-off small { font-size: 11px; }
@media(max-width:800px) {
  .studio-lobby .studio-backdrop {
    height: 490px;
    object-position: 81% top;
    mask-image: linear-gradient(#000 72%,transparent);
    -webkit-mask-image: linear-gradient(#000 72%,transparent);
  }
  .studio-lobby:has(.studio-backdrop) .camera-off,
  .studio-lobby.studio-preview-focus:has(.studio-backdrop) .camera-off {
    inset: 296px auto auto 22px;
    height: auto;
  }
  .studio-lobby:has(.studio-backdrop) .camera-off small { font-size: 10px; }
}
@media(max-height:520px) and (min-width:600px) {
  .studio-lobby .studio-backdrop { height: 100%; object-position: right top; }
  .studio-lobby:has(.studio-backdrop) .camera-off,
  .studio-lobby.studio-preview-focus:has(.studio-backdrop) .camera-off { inset: 117px 22px auto auto; }
}

/* Keep the ambient scene within the viewport and separate service utilities. */
#app:has(>.shell.studio-lobby-shell) { display: flow-root; }
body:has(.studio-lobby) .studio-utilities { position: fixed; right: 44px; bottom: 156px; }
body:has(.studio-lobby) .cg-launch { right: 44px; bottom: 102px; }
body:has(.studio-lobby) .sb-chat { right: 44px !important; bottom: 48px !important; }
body:has(.studio-lobby) .sb-chat .sb-launch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(23,29,37,.64);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #bfdfff;
}
@media(max-width:800px) {
  body:has(.studio-lobby) .studio-utilities { position: absolute; top: 92px; right: 16px; bottom: auto; flex-direction: row; }
  body:has(.studio-lobby) .cg-launch { position: absolute; top: 92px; right: 70px; bottom: auto; }
  body:has(.studio-lobby):has(.studio-account-entry:not([hidden])) .cg-launch { right: 124px; }
  body:has(.studio-lobby) .sb-chat { position: absolute !important; top: 92px !important; right: 124px !important; bottom: auto !important; }
  body:has(.studio-lobby):has(.studio-account-entry:not([hidden])) .sb-chat { right: 178px !important; }
  body:has(.studio-lobby) .sb-chat .sb-launch { width: 40px; height: 40px; }
  body:has(.studio-lobby) .sb-chat:has(.sb-panel:not([hidden])) {
    position: fixed !important;
    top: auto !important;
    bottom: 100px !important;
    right: 12px !important;
    left: 12px !important;
    max-height: calc(100dvh - 180px);
  }
}

/* A pane extends into the one-pixel border, as in AI. Keep that extension
   from allocating scrollbars that shrink the sampled canvas by 10px. */
.studio-lobby .join-content { overflow-x: hidden; scrollbar-width: none; }
.studio-lobby .join-content::-webkit-scrollbar { display: none; }

/* Invitation forms must fit above the device dock on mobile Safari.
   Keep one document scroll area, reserve the entire dock/safe area, and move
   the form up instead of leaving the 350px decorative space used on home. */
@media(max-width:800px) {
  html:has(.studio-lobby) {
    scroll-padding-bottom: calc(128px + env(safe-area-inset-bottom,0px));
  }
  #app>.shell.studio-lobby-shell,
  .studio-lobby-shell .prejoin.studio-lobby {
    min-height: 100svh;
    height: auto;
  }
  .studio-lobby-shell .prejoin.studio-lobby {
    padding-bottom: calc(128px + env(safe-area-inset-bottom,0px));
  }
  .studio-lobby .join-content,
  .studio-lobby .join-content:has(#join-form) {
    max-height: none;
    overflow: visible;
    flex: none;
  }
  .studio-lobby .join-content:has(#join-form) {
    margin-top: max(156px,calc(env(safe-area-inset-top,0px) + 136px));
    padding: 20px;
    scroll-margin-top: 16px;
    scroll-margin-bottom: calc(128px + env(safe-area-inset-bottom,0px));
  }
  .studio-lobby .join-content:has(#join-form) h1 {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -.7px;
    margin: 0 0 14px;
  }
  .studio-lobby #join-form {
    gap: 8px;
    min-width: 0;
  }
  .studio-lobby #join-form .entry-hint {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
  }
  .studio-lobby #join-form>label {
    font-size: 12px;
    line-height: 1.4;
  }
  .studio-lobby #join-form .field-shell {
    border-radius: 24px;
    flex: none;
  }
  .studio-lobby #join-form input {
    min-height: 48px;
    font-size: 16px;
    scroll-margin-top: 24px;
    scroll-margin-bottom: 96px;
  }
  .studio-lobby #join-form .calls-terms-notice {
    margin: 4px 0;
    font-size: 12px;
    line-height: 1.5;
  }
  .studio-lobby #join-form>.btn {
    min-height: 52px;
    flex: none;
    margin: 4px 0 0;
    scroll-margin-bottom: calc(128px + env(safe-area-inset-bottom,0px));
  }
  .studio-lobby:has(#join-form) .camera-off {
    display: none;
  }
  /* Safari already keeps the active field above its keyboard. Removing the
     fixed device dock while typing avoids a second layer covering the form. */
  .studio-lobby:has(#join-form input:not([readonly]):focus) .preview-controls {
    display: none !important;
  }
}

/* Keep portrait invitation forms close to the device dock. The upper
   clearance belongs to the container so auto margin can use spare height;
   when the form is taller, normal document scrolling stays available. */
@media(max-width:800px) and (orientation:portrait) {
  .studio-lobby-shell .prejoin.studio-lobby:has(#join-form) {
    min-height: 100svh;
    min-height: 100dvh;
    row-gap: 0;
    padding-top: max(156px,calc(env(safe-area-inset-top,0px) + 136px));
    padding-bottom: calc(96px + max(16px,env(safe-area-inset-bottom,0px)));
  }
  .studio-lobby .join-content:has(#join-form) {
    margin-top: auto;
    margin-bottom: 0;
  }
}

/* Home follows the AI scene composition: compact actions beneath the profile,
   with the editorial heading floating independently at the lower left. */
.studio-lobby.studio-home .join-content.studio-home-panel {
  top: 116px;
  bottom: auto;
  left: 28px;
  width: 238px;
  max-height: calc(100% - 244px);
  margin: 0;
  padding: 17px 13px 13px;
  border-radius: 26px;
}
.studio-home-panel .studio-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 10px 15px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
}
.studio-home-panel .studio-eyebrow::after {
  content: "";
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .45;
}
.studio-lobby .studio-home-panel .calls-entry-actions { gap: 7px; }
.studio-lobby .studio-home-panel .calls-entry-actions .btn {
  min-height: 48px;
  padding: 11px 14px;
  gap: 10px;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}
.studio-lobby .studio-home-panel .calls-entry-actions .btn>.icon {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
}
.studio-lobby .studio-home-panel #service-state:not(:empty) {
  margin: 12px 8px 3px;
  font-size: 12px;
  line-height: 1.5;
}
.studio-lobby .studio-editorial {
  position: absolute;
  z-index: 10;
  left: 38px;
  bottom: 104px;
  width: 280px;
  max-width: calc(100% - 76px);
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.14);
  transition: opacity .25s ease,visibility .25s ease;
}
.studio-editorial-label {
  margin: 0 0 21px;
  color: rgba(222,234,246,.75);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .16em;
}
.studio-lobby .studio-editorial h1 {
  color: #fff;
  margin: 0 0 17px;
  font-size: clamp(32px,2.65vw,39px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -1.3px;
  text-wrap: balance;
}
.studio-lobby .studio-editorial .entry-hint {
  margin: 0;
  max-width: 250px;
  color: rgba(222,234,246,.75);
  font-size: 12px;
  line-height: 1.8;
}
.studio-lobby.studio-preview-focus .studio-editorial,
.studio-lobby:has(.camera-preview[data-live-camera=true]) .studio-editorial {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media(max-width:1150px) and (min-width:801px) {
  .studio-lobby.studio-home .join-content.studio-home-panel { left: 27px; width: 230px; }
  .studio-lobby .studio-editorial { left: 33px; width: 250px; bottom: 112px; }
  .studio-lobby .studio-editorial h1 { font-size: 34px; }
}
@media(max-height:760px) and (min-width:801px) {
  .studio-lobby.studio-home .join-content.studio-home-panel { top: 112px; padding-top: 15px; }
  .studio-home-panel .studio-eyebrow { margin-bottom: 12px; }
  .studio-lobby .studio-editorial { bottom: 99px; }
  .studio-editorial-label { margin-bottom: 13px; font-size: 9px; }
  .studio-lobby .studio-editorial h1 { font-size: 32px; margin-bottom: 13px; }
}
@media(max-width:800px) {
  /* Keep the face clear and stack the copy/actions above the device dock.
     Auto space gives short screens a natural document scroll fallback. */
  .studio-lobby-shell .prejoin.studio-lobby.studio-home {
    padding-top: max(156px,calc(env(safe-area-inset-top,0px) + 136px));
    row-gap: 0;
  }
  .studio-lobby.studio-home .join-content.studio-home-panel {
    position: relative;
    order: 2;
    top: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-height: none;
    margin: 20px 0 0;
    padding: 16px 12px 12px;
  }
  .studio-lobby.studio-home .studio-editorial {
    position: relative;
    order: 1;
    flex: none;
    left: auto;
    bottom: auto;
    width: 270px;
    max-width: calc(100% - 12px);
    margin: auto 6px 0;
  }
  .studio-lobby.studio-home .studio-editorial h1 { font-size: 33px; margin-bottom: 14px; }
  .studio-home .studio-editorial-label { font-size: 9px; margin-bottom: 15px; }
  .studio-lobby.studio-home .studio-editorial .entry-hint { font-size: 12px; }
  .studio-lobby.studio-home .studio-backdrop {
    height: min(100svh,900px);
    object-position: 58% top;
    mask-image: linear-gradient(#000 78%,transparent);
    -webkit-mask-image: linear-gradient(#000 78%,transparent);
  }
  .studio-lobby.studio-home .camera-off { display: none; }
}
@media(max-height:520px) and (min-width:600px) {
  .studio-lobby-shell .prejoin.studio-lobby.studio-home { padding-top: 90px; }
  .studio-lobby.studio-home .join-content.studio-home-panel {
    top: auto;
    left: auto;
    width: 230px;
    margin: 0;
    max-height: 190px;
  }
  .studio-lobby.studio-home .studio-editorial { display: none; }
}
@media(prefers-reduced-motion:reduce) {
  .studio-lobby .studio-editorial { transition: none; }
}

/* The compact meeting pane scrolls when space is tight. Its optical canvas
   must stay inside that scroll clip; the shared -1px inset clipped the rim
   and left only the flat CSS border visible. Keep geometry and scrolling. */
html.calls-matte body .studio-lobby #studio-entry-panel.studio-home-panel>.sg-pane {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
html.calls-matte:not(.glass-off):not(.calls-static-glass) body .studio-lobby #studio-entry-panel.studio-home-panel.glass-painted {
  border-color: transparent !important;
}
@media(prefers-reduced-transparency:reduce) {
  html.calls-matte:not(.glass-off):not(.calls-static-glass) body .studio-lobby #studio-entry-panel.studio-home-panel.glass-painted {
    border-color: var(--matte-line) !important;
  }
}
