* { box-sizing: border-box; }
body { min-height: 100dvh; display: grid; place-items: center; margin: 0; padding: 20px; background: #f3f3f0; color: #222; font: 15px/1.45 system-ui, sans-serif; }
.auth-panel { width: min(100%, 410px); padding: clamp(22px, 6vw, 36px); border: 1px solid #d9d9d3; border-radius: 7px; background: #fff; }
.auth-panel img { display: block; }
.auth-name { margin: 20px 0 4px; color: #5c5c53; font-weight: 550; }
.auth-panel h1 { margin: 0 0 18px; font-size: 27px; line-height: 1.15; }
.auth-fields { display: grid; gap: 12px; }
.auth-fields label { display: grid; gap: 5px; font-weight: 600; }
.auth-fields input { width: 100%; min-height: 40px; padding: 7px 9px; border: 1px solid #99998c; border-radius: 4px; font: inherit; font-weight: 400; }
.auth-fields input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid #7a5910; outline-offset: 3px; }
.auth-primary { min-height: 41px; margin-top: 4px; padding: 7px 12px; border: 1px solid #222; border-radius: 4px; background: #ffc915; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.auth-primary:hover { background: #f3bc00; }
.auth-error { padding: 8px 10px; border-inline-start: 3px solid #9b2e23; background: #fff2ef; color: #88251b; }
.auth-detail { margin: 0 0 10px; color: #55554e; }
.auth-navigation { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 16px; }
.auth-navigation:empty { display: none; }
.auth-navigation a, .auth-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
