body.cloud-gated > .app-header, body.cloud-gated > .shell, body.cloud-gated > dialog { visibility: hidden; }
.cloud-gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: #eaf0f5; }
.cloud-gate[hidden], .cloud-top[hidden], .cloud-blocker[hidden] { display: none; }
.cloud-login-card { width: min(100%, 440px); padding: 30px; background: white; border: 1px solid #ccd8e3; border-radius: 16px; box-shadow: 0 16px 50px #1f355026; }
.cloud-login-card h2 { margin: 0 0 10px; }
.cloud-login-card p { line-height: 1.6; }
.cloud-login-card label { display: grid; gap: 6px; margin: 14px 0; font-weight: 700; }
.cloud-login-card input { width: 100%; box-sizing: border-box; padding: 11px; font: inherit; }
.cloud-login-card button { width: 100%; padding: 11px; }
.cloud-note { color: #526579; font-size: .9rem; }
.cloud-login-error { min-height: 1.5em; color: #a52728; }
.cloud-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 18px; background: #183955; color: white; font-size: .9rem; }
.cloud-top button { background: transparent; color: white; border: 1px solid #ffffff80; border-radius: 6px; padding: 5px 10px; cursor: pointer; }
.cloud-blocker { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; background: #142b40b8; }
body.cloud-blocked > .shell, body.cloud-blocked > .app-header { pointer-events: none; }
