/* Shared loading gate and save status; no app is shown before account hydration. */
#account-gate{position:fixed;inset:0;z-index:10000;background:#f4f7fb;display:grid;place-items:center;padding:20px;font:16px/1.6 var(--helder-font);color:#10243e}#account-gate section{background:white;padding:30px;border-radius:18px;max-width:560px;box-shadow:0 12px 40px #10243e18}#account-gate button,#account-gate a{display:block;margin-top:14px}#account-bar{background:#eaf0fc;color:#163453;padding:10px 20px;display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;font:14px/1.5 var(--helder-font);position:relative;z-index:1100}#account-bar button{font-size:14px;padding:7px 10px;min-height:36px}body.account-loading>:not(#account-gate):not(script){visibility:hidden}#account-bar [hidden],#account-gate[hidden],#account-gate [hidden]{display:none!important}

#account-gate button{padding:12px 18px;border:0;border-radius:8px;background:#285deb;color:white;cursor:pointer;font:600 16px var(--helder-font)}#account-gate a,#account-bar a{color:#2457ce}

/* A non-blocking choice; exercises remain visible and usable below. */
#legacy-progress-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1280px;margin:16px auto;padding:18px 24px;border:1px solid #cde2db;border-radius:14px;background:#edf7f2;color:#17354b;font:16px/1.5 var(--helder-font)}#legacy-progress-notice strong{display:block;font-weight:750}#legacy-progress-notice p{margin:5px 0 0;font-size:14px}#legacy-progress-notice .legacy-progress-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}#legacy-progress-notice button{font:700 14px/1.4 var(--helder-font);min-height:44px;padding:10px 14px;background:#fff;color:#175e53;border:1px solid #adcfc1;border-radius:9px;box-shadow:none;cursor:pointer}#legacy-progress-notice button:focus-visible{outline:3px solid #287568;outline-offset:3px}#legacy-progress-notice button:disabled{opacity:.6;cursor:default}@media(max-width:900px){#legacy-progress-notice{margin:12px 16px;align-items:flex-start;flex-direction:column}#legacy-progress-notice .legacy-progress-actions{flex-shrink:1}}
