.topbar{flex-wrap:wrap}.cloud-status{display:block;font-size:12px;color:#476374;max-width:320px}.cloud-status[data-phase="conflict"],.cloud-status[data-phase="error"]{color:#9b4a16}#accountButton{white-space:nowrap}#accountDialog{width:min(480px,calc(100vw - 32px));max-height:90dvh;padding:0;border:1px solid #d7e2e6;border-radius:18px;color:#173447;box-shadow:0 24px 90px #102e4533}#accountDialog::backdrop{background:#102e4577}#accountDialog .account-heading{padding:22px 24px 15px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e0e8eb}#accountDialog h2{margin:4px 0;font-size:24px}.account-kicker{font-size:10px;letter-spacing:.12em;color:#527287;margin:0}.account-body{padding:20px 24px;line-height:1.6}.account-body p{margin:0 0 16px}.account-body label{display:block;margin-top:12px;font-weight:600}.account-body input{box-sizing:border-box;width:100%;padding:11px 12px;margin:5px 0 8px;border:1px solid #b9cbd4;border-radius:8px;font:inherit}.account-body button{font:inherit;cursor:pointer;padding:10px 13px;border:1px solid #c5d4dc;border-radius:8px;background:#f6f9fa;color:#173447}.account-body button:disabled{opacity:.55;cursor:wait}.account-body button.primary{background:#123e56;color:white;border-color:#123e56}.account-body button.quiet{background:transparent}.account-body button.danger{color:#9b362b}.account-body .account-help{font-size:12px;color:#607782;margin-top:14px}.account-tabs{display:flex;gap:8px;margin:15px 0}.account-tabs button{flex:1}#accountForm .primary{width:100%;margin:8px 0 12px}#accountMessage{color:#8a441d;white-space:pre-wrap}.account-actions{display:grid;gap:10px;margin-bottom:20px}.account-email{font-weight:700;overflow-wrap:anywhere}.sync-message{background:#eef5f4;border-radius:8px;padding:12px}.account-body hr{border:0;border-top:1px solid #dbe5e9;margin:20px 0}#exportAccount,#logoutAccount{width:100%;margin-bottom:8px}@media(max-width:600px){.top-status{order:4;flex-basis:100%}.cloud-status{max-width:none}.account-body{padding:18px}.account-heading{padding:18px!important}}
/* Authentication is locked in the initial HTML, before any application script. */
body[data-auth="locked"] .topbar,body[data-auth="locked"] .workspace,body[data-auth="locked"] #dialog,body[data-auth="locked"] #variableMenu,body[data-auth="locked"] #toast{display:none!important}
#authGate{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:linear-gradient(145deg,#eaf2f4,#f8fbfc);padding:24px;box-sizing:border-box;color:#173447}
#authGate h1{font-size:38px;margin:12px 0}#authGate p{margin:6px 0;max-width:420px}.auth-logo{display:grid;place-items:center;width:72px;height:72px;border-radius:20px;background:#123e56;color:white;font-size:32px;font-weight:700}
body[data-auth="ready"] #authGate{display:none}
body[data-auth="ready"] #accountButton{background:#e6f3ec;border:1px solid #a1c9af;color:#205638;max-width:100%;overflow-wrap:anywhere;white-space:normal;font-weight:700}
#closeAccount[hidden]{display:none!important}
