/* Sign-in refinement: scoped to authentication, using the shared keepsake palette. */
.keepsake-auth header{max-width:1160px;padding:26px 32px}
.keepsake-auth header .keepsake-mark{width:78px;height:52px}
.keepsake-auth header>a:last-child{font-size:14px;color:var(--muted)}
.keepsake-auth main.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center;max-width:1080px;margin:52px auto 44px;padding:0 32px;border:0;border-radius:0;background:transparent}
.auth-panel{grid-column:2;grid-row:1;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:36px}
.keepsake-auth .auth-panel h1{font-size:36px;line-height:1.15;margin-bottom:12px}
.auth-panel #intro{font-size:15px;color:var(--muted);margin:0 0 28px;max-width:32ch}
.auth-panel label{font-size:14px;margin:18px 0 8px}
.auth-panel input,.auth-panel button{min-height:50px;border-radius:8px}
.auth-panel input{padding:12px 14px}
.auth-panel #google{background:white;color:var(--ink);border-color:#a5aca0;font-size:15px}
.auth-panel #google:hover:not(:disabled){background:var(--pale);border-color:var(--accent)}
.auth-panel #submit{margin-top:22px}
.auth-panel .divider{font-size:12px;margin:24px 0}
.auth-panel #switch-mode{margin:24px 0 10px;font-size:14px}
.auth-panel #switch-mode+p{margin:0;font-size:14px}
.auth-panel details{margin-top:26px;padding-top:18px;font-size:12px}
.auth-panel #message:empty{display:none}
.auth-panel #message:not(:empty){padding:12px 14px;border-radius:8px;font-size:14px;line-height:1.5;background:var(--pale);color:#354d3c;overflow-wrap:anywhere}
.auth-panel #message.error{background:#f6e6df;color:#843c2f}
.auth-panel button:disabled{opacity:1;background:#eef1e8;color:#60675b;border-color:#ded9cb;cursor:default}
.auth-story{grid-column:1;grid-row:1;min-width:0;padding:12px 0}
.auth-story .story-mark{display:block;width:164px;height:auto;margin-bottom:24px}
.auth-story h2{font-size:40px;line-height:1.18;margin:0 0 30px;text-wrap:balance}
.auth-story figure{margin:0}
.auth-story figure>img{display:block;width:100%;height:auto;background:white;border:1px solid var(--line)}
.auth-story figcaption{font-family:KeepsakeHand,cursive;font-size:25px;color:var(--muted);margin-top:16px;line-height:1.25}
.auth-footer{max-width:1096px;margin:0 auto;padding:0 32px 28px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}
.auth-footer a{color:var(--muted)}
@media(max-width:900px){.keepsake-auth main.auth-layout{gap:32px}.auth-panel{padding:28px}.auth-story h2{font-size:34px}}
@media(max-width:700px){
 .keepsake-auth header{padding:20px 22px;gap:14px;align-items:flex-start}
 .keepsake-auth header .brand-title{font-size:27px}
 .keepsake-auth header .keepsake-mark{width:60px;height:40px}
 .keepsake-auth main.auth-layout{display:block;padding:0 18px;margin:28px auto;max-width:500px}
 .auth-panel{padding:28px 24px}.keepsake-auth .auth-panel h1{font-size:33px}
 .auth-story{display:none}.auth-footer{max-width:500px;padding:0 22px 24px}
}
