/* Shared login layout and palette also cover the update overlay and /updating. */
.bms-update-screen{position:fixed;inset:0;z-index:10000;min-height:0;color:#eef7ff;font-family:Nunito,Arial,sans-serif;transition:opacity .3s ease;background:#0d2f4f}
.bms-update-screen.is-ready{opacity:0;pointer-events:none}.bms-update-card{text-align:center}.bms-update-card h2{margin:0 0 12px}.bms-update-card p{font-size:14px;color:#c4ddf4;line-height:1.6;margin:0}.bms-update-card small{display:block;color:#a9ccec;font-size:12px;line-height:1.6}.bms-update-emblem{display:grid;place-items:center;margin:30px auto;width:70px;height:70px}.bms-update-emblem img{width:52px;height:52px;animation:bms-update-rock 2.8s ease-in-out infinite;filter:brightness(0) invert(1)}.bms-update-light{height:2px;width:75%;margin:24px auto;background:linear-gradient(90deg,transparent,#83c3ff,transparent);animation:bms-update-pulse 2s ease-in-out infinite}.bms-update-card button{margin:20px auto 0;padding:10px 22px;border-radius:11px;border:1px solid #a2d2ff88;background:linear-gradient(135deg,#86c4ff30,transparent),#126cc0;color:white;cursor:pointer}.bms-update-card button[hidden]{display:none}
@keyframes bms-update-rock{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(10deg)}}@keyframes bms-update-pulse{50%{opacity:.3;transform:scaleX(.6)}}@media(prefers-reduced-motion:reduce){.bms-update-emblem img,.bms-update-light{animation:none}.bms-update-screen{transition:none}}
.bms-update-light{width:120px;max-width:45%}

.bms-update-notice{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:9999;max-width:calc(100vw - 40px);padding:12px 20px;border-radius:16px;border:1px solid #97cdff99;background:#134879f5;box-shadow:0 8px 30px #00172d80;color:#eef7ff;font:14px Nunito,Arial,sans-serif;text-align:center;backdrop-filter:blur(14px)}
/* Stable composition while the application and its fonts are loading. */
.bms-update-screen{display:grid;place-items:center;padding:24px;box-sizing:border-box;overflow:auto;background:#0d2f4f}
.bms-update-screen .bms-auth-emblem{display:none}
.bms-update-screen .bms-auth-layout{position:relative;inset:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);align-items:center;gap:64px;width:min(920px,100%);max-width:920px;margin:0;padding:0;transform:none}
.bms-update-screen .bms-auth-brand{position:static;display:flex;flex-direction:column;align-items:flex-start;gap:36px;padding:0;min-width:0;transform:none}
.bms-update-screen .bms-auth-identity{position:static;margin:0;padding:0;transform:none}
.bms-update-screen .bms-auth-identity>img{display:block;width:250px;max-width:100%;height:auto;margin:0}
.bms-update-screen .bms-auth-tagline{font-size:14px;margin:14px 0 0;color:#b4cee7;letter-spacing:.02em}
.bms-update-screen .bms-auth-message{position:static;margin:0;padding:0;transform:none;text-align:left}
.bms-update-screen .bms-auth-message h1{font-size:clamp(28px,3.5vw,42px);line-height:1.18;margin:0 0 12px;font-weight:600}
.bms-update-screen .bms-auth-promise{font-size:16px;line-height:1.5;margin:0;color:#bdd4ea}
.bms-update-screen .bms-update-card{position:static;box-sizing:border-box;width:100%;min-height:300px;margin:0;padding:32px 28px;border:1px solid #9dd0ff38;border-radius:22px;background:linear-gradient(145deg,#23527edb,#123556ed);box-shadow:inset 0 1px #ffffff16,0 20px 60px #00142733;transform:none}
.bms-update-screen .bms-update-card h2{font-size:23px;line-height:1.3;font-weight:600}
.bms-update-screen .bms-update-emblem{margin:24px auto;width:60px;height:60px}
.bms-update-screen .bms-update-emblem img{width:42px;height:42px;animation:none}
.bms-update-screen .bms-update-light{margin:20px auto;width:120px}
@media(max-width:680px){.bms-update-screen{padding:24px 18px}.bms-update-screen .bms-auth-layout{grid-template-columns:1fr;gap:28px;max-width:420px}.bms-update-screen .bms-auth-brand{align-items:center;gap:20px}.bms-update-screen .bms-auth-message{text-align:center}.bms-update-screen .bms-auth-tagline{text-align:center}.bms-update-screen .bms-auth-identity>img{width:220px}.bms-update-screen .bms-update-card{min-height:280px;padding:28px 22px}}
.bms-update-screen .bms-auth-layout{display:block;width:min(380px,100%);max-width:380px}
.bms-update-screen .bms-update-card{min-height:0;padding:34px 30px;border-radius:24px;background:linear-gradient(140deg,#2a5a87eb,#113150f2);box-shadow:inset 0 1px #ffffff25,0 20px 70px #00172c44;text-align:center}
.bms-update-brand{display:block;width:230px;max-width:100%;height:auto;margin:0 auto 30px}
.bms-update-screen .bms-update-card h2{font-size:21px;margin-bottom:10px}
.bms-update-screen .bms-update-card p{font-size:14px}
.bms-update-screen .bms-update-light{height:3px;width:100%;max-width:none;margin:24px 0;border-radius:3px;background:linear-gradient(90deg,#ffffff08,#87c5ff,#ffffff08);animation:bms-update-pulse 2s ease-in-out infinite}
.bms-update-screen .bms-update-card small{font-size:12px;opacity:.8}

.bms-update-screen .bms-auth-layout{width:min(660px,100%);max-width:660px}.bms-update-screen .bms-update-card{padding:48px;background:linear-gradient(140deg,#234f78,#133250);border-color:#b4d3f055}.bms-update-brand{width:290px;margin-bottom:34px}.bms-update-screen .bms-update-card h2{font-size:28px}.bms-update-screen .bms-update-card p{font-size:16px}.bms-update-details{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:30px 0}.bms-update-details>div{padding:20px 10px;border:1px solid #b4d3f030;border-radius:14px;background:#bddaf50d}.bms-update-details span{display:block;font-size:12px;color:#b4d3f0;margin-bottom:12px}.bms-update-details strong{display:block;font-size:14px;margin-bottom:6px}.bms-update-screen .bms-auth-glow{background:radial-gradient(ellipse,#347abc22,transparent 65%);filter:none}.bms-update-light{background:linear-gradient(90deg,#ffffff08,#b4d3f0,#ffffff08)!important}@media(max-width:560px){.bms-update-screen .bms-update-card{padding:30px 20px}.bms-update-details{grid-template-columns:1fr}.bms-update-details>div{padding:12px}.bms-update-details span{display:none}}

.bms-update-screen .bms-update-card{backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:inset 0 1px #ffffff25,0 20px 70px #061a2d55}

/* Use the same palette as Connect, independent of earlier decorative gradients. */
.bms-update-screen{background:#01070e}.bms-update-screen .bms-update-card{background:linear-gradient(145deg,#ffffff20,transparent 48%),#155693;border-color:#dbe6f366}.bms-update-screen .bms-auth-glow{background:radial-gradient(ellipse,#15569338,transparent 65%)}.bms-update-details>div{background:#ffffff08;border-color:#dbe6f330}.bms-update-details span{color:#dbe6f3}.bms-update-light{background:linear-gradient(90deg,transparent,#dbe6f3,transparent)!important}

/* One responsive public surface for sign-in, account flows and system updates. */
.bms-auth-screen,.bms-update-screen{color:var(--bms-theme-ink);padding:32px 20px 56px;overflow-x:clip;overflow-y:auto}
.bms-auth-screen .bms-auth-layout,.bms-update-screen .bms-auth-layout{display:flex;flex-direction:column;gap:24px;width:min(480px,100%);max-width:480px;min-width:0}
.bms-auth-screen .bms-auth-brand{width:100%;gap:0}.bms-auth-screen .bms-auth-emblem,.bms-auth-screen .bms-auth-message{display:none}
.bms-auth-screen .bms-auth-identity{padding:0;background:none}.bms-auth-screen .bms-auth-identity>img,.bms-update-brand{width:240px;max-width:100%;height:auto}
.bms-auth-screen .bms-auth-card,.bms-update-screen .bms-update-card{width:100%;min-width:0;min-height:0;padding:32px;border-radius:24px;border:1px solid var(--bms-panel-border);background:var(--bms-panel-glass);box-shadow:var(--bms-panel-shadow);color:var(--bms-theme-ink)}
.bms-auth-card h2,.bms-update-screen .bms-update-card h2{font-size:24px;line-height:1.3;color:inherit}
.bms-auth-screen .bms-auth-card p,.bms-auth-screen .bms-auth-card footer,.bms-auth-screen .bms-auth-tagline,.bms-update-screen .bms-update-card p,.bms-update-screen .bms-update-card small,.bms-update-details span{color:var(--bms-theme-muted);opacity:1}
.bms-auth-card input{font-size:16px!important}.bms-auth-card a{color:var(--bms-theme-ink);text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}
.bms-auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:16px}.bms-auth-links button{background:transparent;border:0;padding:8px 0;font-size:14px;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.bms-update-details{grid-template-columns:1fr;gap:8px;margin:24px 0}.bms-update-details>div{padding:12px}.bms-update-details span{display:none}.bms-update-details strong{margin-bottom:4px}
@media(max-width:767px){.bms-auth-screen,.bms-update-screen{padding:24px 16px 48px}.bms-auth-screen .bms-auth-card,.bms-update-screen .bms-update-card{padding:24px}.bms-auth-card{backdrop-filter:none;-webkit-backdrop-filter:none}.bms-auth-version{position:static;display:block;margin-top:24px;grid-column:1}.bms-update-screen{align-items:safe center}.bms-auth-screen{align-content:safe center}.bms-auth-card button{min-height:44px}}
@media(max-height:520px){.bms-auth-screen,.bms-update-screen{align-content:start;align-items:start}.bms-auth-brand .bms-auth-tagline{display:none}.bms-auth-screen .bms-auth-identity>img,.bms-update-brand{width:180px}}
html.no-glass .bms-auth-card{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--bms-theme-panel)}
@media(prefers-reduced-motion:reduce){.bms-auth-layout,.bms-update-light{animation:none!important}.bms-update-screen{transition:none}}

/* Non-interactive headings receive programmatic focus for screen readers only. */
.bms-auth-card h2[tabindex="-1"]:focus{outline:none}
.bms-auth-links{padding-top:16px;border-top:1px solid var(--bms-panel-border)}
.bms-auth-card footer{line-height:1.65}.marketplace-program+.marketplace-program{border-top:1px solid var(--bms-panel-border)}

.bms-update-screen .bms-update-brand{margin-bottom:0}
.bms-update-screen .bms-update-light{width:180px;height:2px;margin:20px auto 24px;background:linear-gradient(90deg,transparent,#a6d2f5cc,transparent)!important;animation:none;opacity:1}

/* Approved update surface: fixed BMS blue, including the black theme. */
html .bms-auth-screen.bms-update-screen{background:#123c63!important}
/* 2026-10-17, felhasználói kérés: sötét (fekete) témában a frissítőképernyő is sötét, mint a belső felület. */
html[data-theme=black] .bms-auth-screen.bms-update-screen{background:#080b10!important}
html[data-theme=black] .bms-update-screen .bms-auth-card.bms-update-card{background:#0e1927!important;border-color:#536c8580!important}
/* Világos témában a jóváhagyott kék felület marad, de a szövegek és a logó világosak (olvashatók a kéken). */
html[data-theme=light] .bms-update-screen{--bms-theme-ink:#f4f9ff;--bms-theme-muted:#cfe0f0;color:#f4f9ff}
html[data-theme=light] .bms-update-screen .bms-auth-card.bms-update-card{border-color:#b4d3f055!important;color:#f4f9ff}
html[data-theme=light] .bms-update-screen .bms-update-brand{filter:none!important}

/* Shared fixed-centre SINUM motion, also used for local build updates. */
.bms-update-motion{display:grid;place-items:center;margin:20px auto;width:52px;height:52px}.bms-update-motion img{display:block;width:52px;height:52px;transform-origin:center;animation:bms-update-turn 2.6s cubic-bezier(.2,.7,.3,1) infinite}
@keyframes bms-update-turn{0%,25%{transform:rotate(0deg)}40%{transform:rotate(200deg)}50%,75%{transform:rotate(180deg)}90%{transform:rotate(380deg)}100%{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.bms-update-motion img{animation:none}}
