.auth-page {
    background: #edf1ec;
    padding: clamp(16px, 4vmin, 64px);
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
}
.auth-shell {
    padding: 0;
    width: min(100%, 1020px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 20px 70px #1a332614;
}
.auth-content { min-width: 0; padding: clamp(20px, 4vw, 56px); }
.auth-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.auth-header .preferences select, .auth-header .theme-toggle { min-height: 44px; }
.auth-header .theme-toggle { min-width: 44px; }
.auth-brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--green); overflow-wrap: anywhere; }
.auth-brand img, .auth-panel .btn svg { flex: none; }
.auth-panel { margin-block: clamp(24px, 5vh, 52px) 8px; overflow-wrap: anywhere; }
.auth-panel h1 { font-size: clamp(24px, 3vw, 36px); line-height: 1.55; margin-bottom: 20px; }
.auth-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.auth-form .field input { width: 100%; min-height: 46px; font-size: max(1rem, 16px); }
.auth-panel .btn { min-height: 46px; width: 100%; justify-content: center; white-space: normal; text-align: center; }
.auth-secondary { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.auth-description { color: var(--muted); margin-bottom: 22px; line-height: 1.85; }
.auth-link { display: block; color: var(--green); text-decoration: underline; margin-top: 16px; }
.auth-photo { background: #16382c url('hero.webp') center center / cover no-repeat; }
@media (max-width: 680px) {
    .auth-page { padding: 16px; }
    .auth-shell { grid-template-columns: minmax(0, 1fr); }
    .auth-photo { grid-row: 1; height: clamp(64px, 13svh, 112px); }
    .auth-panel { margin-block: 22px 0; }
}
@media (max-height: 600px) {
    .auth-page { padding-block: 12px; }
    .auth-panel { margin-block: 16px 0; }
    .auth-panel h1 { margin-bottom: 12px; }
    .auth-secondary { margin-top: 16px; padding-top: 12px; }
}
@media (max-width: 680px) and (max-height: 600px) {
    .auth-photo { display: none; }
}
