#image-cloud {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  z-index: 0; contain: layout paint style;
  -webkit-mask: radial-gradient(ellipse 45% 45% at 50% 50%, transparent 50.5%, #000000 90%);
  mask: radial-gradient(ellipse 45% 45% at 50% 50%, transparent 50.5%, #000000 90%);
}
#authGate .cloud-photo{
  position: absolute; overflow: hidden; will-change: transform; transform-origin: center;
  border-radius: 9px; background: transparent; box-shadow: none; filter: none;
}
#authGate .cloud-photo svg, #authGate .cloud-photo img{ width: 100%; height: 100%; display: block; }
#authGate .cloud-photo img{ object-fit: cover; }
#authGate .cloud-focus{
  position: absolute; inset: 0; pointer-events: none; z-index: -2; background: none;
}
#authGate .cloud-signin{
  width: min(560px, calc(100% - 48px)); margin: 8px auto 0; position: relative;
  text-align: center; z-index: 2; transform: translateY(-6px);
}
#authGate .cloud-kicker{
  font-size: 9px; font-weight: 500; letter-spacing: 2.5px; color: var(--muted);
  display: flex; justify-content: center; gap: 8px; align-items: center; margin-bottom: 24px;
}
#authGate .cloud-kicker span{
  display: inline-block; height: 5px; width: 5px; border-radius: 50%;
  background: var(--ice); box-shadow: 0 0 12px var(--glow);
}
#authGate .cloud-signin h1{
  font-size: clamp(30px, 3.3vw, 47px); font-weight: 650; letter-spacing: -1.7px;
  line-height: 1.28; margin: 0 auto; white-space: nowrap; color: var(--ink);
}
#authGate .changing-word{ position: relative; }
#authGate .cloud-subtitle{ font-size: 12px; color: var(--muted); margin: 17px 0 28px; letter-spacing: 1px; }
#authGate .cloud-form{ width: 350px; max-width: 100%; margin: auto; display: flex; flex-direction: column; gap: 10px; }
#authGate .cloud-input{
  height: 50px; border: 1px solid var(--line); border-radius: 99px;
  display: flex; align-items: center; gap: 10px; padding: 0 17px;
  background: var(--surface); box-shadow: inset 0 1px 0 var(--workspace-highlight);
  transition: box-shadow .2s, border-color .2s;
}
#authGate .cloud-input svg{ width: 17px; height: 17px; flex-shrink: 0; color: var(--muted); }
#authGate .cloud-input input{
  height: 100%; width: 100%; min-width: 0; border: 0; outline: none;
  background: transparent; color: var(--ink); font-size: 12px;
}
#authGate .cloud-input input::placeholder{ color: var(--muted); }
#authGate .cloud-input:hover{ border-color: color-mix(in srgb, var(--line) 65%, var(--muted)); }
#authGate .cloud-input:focus-within{ border-color: var(--ring); box-shadow: 0 0 0 4px var(--glow); }
#authGate .tiny-dots{ color: var(--muted); font-size: 12px; letter-spacing: 2px; }
#authGate .cloud-enter{
  align-self: center; color: var(--on-silver);
  background: linear-gradient(180deg, var(--silver), color-mix(in srgb, var(--silver) 94%, #939393));
  border: 1px solid color-mix(in srgb, var(--silver) 90%, transparent); border-radius: 99px;
  padding: 0 25px; min-width: 180px; height: 47px; font-size: 12px; margin-top: 10px;
  display: flex; align-items: center; justify-content: center; gap: 23px;
  box-shadow: inset 0 1px 0 #ffffff30, 0 2px 5px #00000016;
  transition: color 160ms, background 160ms, box-shadow 160ms, transform 160ms;
}
#authGate .cloud-enter span{ font-size: 16px; transition: transform .2s; }
#authGate .cloud-enter:hover{
  background: var(--silver); color: var(--on-silver); border-color: var(--silver);
  box-shadow: inset 0 1px 0 #ffffff80, 0 4px 18px #00000020; transform: translateY(-1px);
}
#authGate .cloud-enter:hover span{ transform: translate(2px, -2px); }
#authGate .cloud-enter:active{ transform: scale(.985); }
#authGate .cloud-enter:focus-visible{ outline: 2px solid var(--ice); outline-offset: 4px; }
#authGate .cloud-under{
  margin-top: 20px; display: flex; align-items: center; justify-content: center;
  gap: 17px; color: var(--muted); font-size: 9px;
}
#authGate .cloud-under button{ border: 0; background: transparent; color: var(--muted); font-size: 10px; padding: 2px; box-shadow: none; }
#authGate .cloud-under button:hover{ color: var(--ink); text-decoration: underline; }
#authGate .cloud-under > span{ border-left: 1px solid var(--line); padding-left: 17px; opacity: .8; }
#authGate .cloud-bottom{
  position: absolute; bottom: 22px; left: 32px; right: 32px; display: flex;
  align-items: center; justify-content: space-between; font-size: 8px;
  color: var(--muted); letter-spacing: .8px; z-index: 3;
}
#authGate .cloud-bottom-middle{ font-size: 10px; letter-spacing: 1.5px; }
#authGate .cloud-bottom span{
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  padding: 4px 6px; border-radius: 4px;
}

/* Final v6 matte cascade and original application text scaling. */
html body.auth-required {overflow:auto}
html body #authGate {position:relative;inset:auto;display:flex;align-items:center;justify-content:center;min-height:780px;height:100svh;padding:90px 0 70px;background:var(--ui-canvas);color:var(--ui-ink);isolation:isolate;overflow:hidden}
html body #authGate[hidden] {display:none}
html body.auth-required :is(.app-shell,#sidebar,#sidebarShade) {display:none}
#authGate .v6-login-header {position:absolute;top:0;left:0;right:0;height:78px;padding:0 34px;display:flex;align-items:center;justify-content:flex-end;z-index:4}
#authGate .v6-brand {position:absolute;left:34px;display:flex;align-items:center;gap:9px;text-align:left;isolation:isolate}
/* Keep passing products from obscuring the corner wordmark. */
#authGate .v6-brand::before {content:"";position:absolute;inset:-7px -10px;background:var(--ui-canvas);border-radius:8px;z-index:-1}
#authGate .v6-brand svg {width:32px;height:38px;fill:currentColor;stroke:none}
#authGate .v6-brand b {display:block;font-size:24px;line-height:1.1;letter-spacing:-1px}
#authGate .v6-brand small {display:block;font-size:6px;letter-spacing:.12em;color:var(--ui-muted)}
html body #authGate .cloud-signin {max-width:none;padding:0;background:none;border:0;box-shadow:none}
html body #authGate .cloud-signin h1 {font-size:calc(clamp(33px,3.15vw,48px) * var(--ui-text-scale,1));line-height:1.27;letter-spacing:-.025em;margin:0;white-space:normal}
#authGate .headline-first {font-size:.87em;font-weight:500;color:var(--title-soft)}
#authGate .headline-second {font-weight:650}
html body #authGate .cloud-subtitle {font-size:calc(12px * var(--ui-text-scale,1));letter-spacing:.02em;line-height:1.65;margin:17px 0 28px}
html body #authGate .cloud-input {box-sizing:border-box;height:50px;border-radius:99px;background:var(--ui-surface);border:1px solid var(--ui-line);box-shadow:0 1px 2px var(--glass-shade);transition:border-color 180ms ease,box-shadow 180ms ease}
html body #authGate .cloud-input:hover {border-color:var(--ui-control-line);box-shadow:0 1px 3px var(--glass-shade)}
html body #authGate .cloud-input:focus-within {border-color:var(--ui-focus);box-shadow:0 0 0 3px var(--glow)}
html body #authGate .cloud-input input {min-height:0;height:100%;border:0;outline:0;border-radius:0;box-shadow:none;background:transparent;font-size:calc(12px * var(--ui-text-scale,1));padding:0}
html body #authGate .cloud-enter {background:var(--silver);color:var(--on-silver);border-color:var(--silver);box-shadow:0 2px 5px var(--glass-shade);font-size:calc(12px * var(--ui-text-scale,1))}
html body #authGate .cloud-enter:hover:not(:disabled) {background:color-mix(in srgb,var(--silver) 88%,var(--ui-surface));box-shadow:0 4px 10px var(--glass-shade)}
html body #authGate .cloud-enter:disabled {background:var(--ui-soft);color:var(--ui-muted);border-color:var(--ui-line);transform:none}
#authGate #studioLoginError:empty {display:none}
html body #authGate #studioLoginError {color:var(--ui-danger);font-size:calc(12px * var(--ui-text-scale,1));margin:0;line-height:1.5}
#authGate .cloud-under {font-size:calc(10px * var(--ui-text-scale,1));line-height:1.7}
#authGate .cloud-kicker span {background:var(--ui-ink);box-shadow:none}
@media(max-width:720px){
 html body #authGate {min-height:720px;height:100svh}
 #image-cloud {mask:radial-gradient(ellipse 90% 42% at 50% 50%,transparent 50.5%,#000 90%)}
 #authGate .cloud-signin {width:calc(100% - 44px);transform:translateY(5px);margin-top:0}
 html body #authGate .cloud-signin h1 {font-size:calc(clamp(31px,8.4vw,39px) * var(--ui-text-scale,1));line-height:1.3}
 html body #authGate .cloud-subtitle {font-size:calc(11px * var(--ui-text-scale,1));margin-top:15px}
 #authGate .cloud-kicker {font-size:7px;letter-spacing:1.4px;margin-bottom:20px}
 #authGate .cloud-form {max-width:290px}
 #authGate .v6-login-header {height:66px;padding:0 17px}
 #authGate .v6-brand {left:17px;gap:7px}
 #authGate .v6-brand svg {width:25px;height:31px}
 #authGate .v6-brand b {font-size:19px}
 #authGate .v6-brand small {font-size:5px}
 #authGate .cloud-bottom {left:12px;right:12px;bottom:14px;font-size:7px}
 #authGate .cloud-bottom-middle {display:none}
 html body #authGate .cloud-input {height:47px}
 #authGate .cloud-enter {height:44px}
}
@media(max-width:360px){html body #authGate .cloud-signin h1 {font-size:calc(30px * var(--ui-text-scale,1))}}
html[data-motion="off"] #authGate *,html[data-motion="off"] #authGate *::after {transition:none!important;animation:none!important}
html[data-motion="off"] #authGate .cloud-enter:hover {transform:none}
@media(prefers-reduced-motion:reduce){#authGate *,#authGate *::after {transition:none!important;animation:none!important}#authGate .cloud-enter:hover {transform:none}}
