:root{font-family:system-ui,sans-serif;color:#242226;background:#f7f5f9;color-scheme:light}*{box-sizing:border-box}body{margin:0;padding:40px 18px}main{max-width:480px;margin:4vh auto;background:white;border:1px solid #e4dfe9;border-radius:20px;padding:32px;box-shadow:0 12px 40px #2b3f9e10}h1{font-family:Georgia,serif;font-size:36px;margin:0 0 14px}h2{font-size:22px}p{line-height:1.6;color:#686372}label{display:block;margin:18px 0 8px;font-size:14px}input{display:block;width:100%;padding:13px;margin-top:6px;border:1px solid #c9c2d3;border-radius:8px;font:inherit;font-size:16px}button{border:0;border-radius:8px;background:#2b3f9e;color:white;font:inherit;font-weight:600;padding:14px 22px;margin:20px 0;cursor:pointer;width:100%}button:disabled{opacity:.5}details{border-top:1px solid #e4dfe9;padding-top:20px}summary{cursor:pointer;min-height:44px}#status{color:#963523}a{color:#2b3f9e}input:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b6b2de;outline-offset:3px}@media(max-width:500px){body{padding:16px}main{padding:24px;margin:16px auto}}
.auth-brand{display:flex;align-items:center;gap:20px;margin-bottom:20px}.auth-brand img{width:56px;height:56px;flex-shrink:0;object-fit:contain}.auth-brand h1{font-size:30px;margin:0}

button{background:linear-gradient(120deg,#c4293f,#2b3f9e)}button:hover:not(:disabled){filter:brightness(.94)}h1{font-family:system-ui,sans-serif;letter-spacing:-.7px}summary{color:#494254}
[hidden]{display:none!important}#auth-navigation{display:flex;flex-direction:column;gap:8px;border-top:1px solid #e4dfe9;padding-top:16px}#auth-navigation button{background:none;color:#2b3f9e;margin:0;padding:8px;font-size:14px;min-height:40px}#status{padding:12px;border-radius:8px;background:#eef6f0;color:#245c36;font-size:14px}#status.error{background:#fff0ec;color:#963523}form button{margin:16px 0}main>p{font-size:14px}h2{margin-bottom:8px}
.lang-switch{display:flex;gap:4px;padding:3px;border:1px solid #e4dfe9;border-radius:8px;background:#fff;width:max-content}.lang-switch button{border:0;background:transparent;border-radius:6px;padding:5px 10px;font-size:12px;color:#777180;cursor:pointer}.lang-switch button[aria-pressed="true"]{background:#f1eef8;color:#2b3f9e;font-weight:600}.floating-lang{position:fixed;top:14px;right:14px;z-index:10}
