.account-page{min-height:100dvh;background:var(--paper);color:var(--ink)}
.account-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 4vw;border-bottom:1px solid var(--line)}
.account-header>a:last-child{font-size:12px}
.account-card{width:min(520px,calc(100% - 32px));margin:48px auto;padding:36px;background:#fff;border:1px solid var(--line);border-radius:24px}
.account-kicker{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-ink);font-weight:600;margin-bottom:20px}
.account-card h1{font-family:var(--display);font-size:42px;letter-spacing:-.055em;line-height:1.05;margin:0 0 20px}
.account-card p{font-size:14px;line-height:1.65;color:var(--muted);margin:0 0 22px}
.account-card p.error{color:var(--accent-ink)}
.account-card form{display:flex;flex-direction:column}
.account-card label{font-size:12px;font-weight:600;margin-bottom:8px}
.account-card input{font:inherit;width:100%;min-width:0;padding:13px 14px;border:1px solid #d8dcd2;border-radius:10px;margin-bottom:22px;background:white}
.account-card small{font-size:11px;color:var(--muted);margin:-12px 0 22px;line-height:1.6}
.account-card .btn{font-size:13px;white-space:normal;text-align:center;justify-content:center;min-height:48px}
.account-back{display:block;font-size:12px;color:var(--muted);margin-top:24px}
.local-mail{width:min(800px,calc(100% - 40px));margin:36px auto}.local-mail>p{margin-block:20px;line-height:1.6}.local-mail article{padding:24px;background:white;border:1px solid var(--line);border-radius:16px;margin-bottom:20px}.local-mail h2{font-size:20px;margin-bottom:10px}.local-mail pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6;margin:20px 0}
.auth-help a,.auth-form>p a{text-decoration:underline;text-underline-offset:3px}
.collection-notice{display:flex;gap:22px;align-items:center;justify-content:space-between;padding:20px 24px;margin:0 0 24px;border:1px solid var(--line);border-radius:16px;background:#fff}
.collection-notice h2{font-size:17px;letter-spacing:-.025em;margin:0 0 6px}
.collection-notice p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.collection-notice .btn{flex-shrink:0;font-size:12px}
.collection-notice[data-state="running"],.collection-notice[data-state="queued"]{border-color:#dca69a;background:var(--tint)}
.collection-notice[data-state="failed"]{border-left:4px solid var(--accent-ink)}
@media(max-width:600px){.account-header{padding:20px;gap:14px}.account-header>a:last-child{max-width:150px;text-align:right;line-height:1.5}.account-card{margin:28px auto;padding:28px 22px}.account-card h1{font-size:34px}.account-card input{font-size:16px}.collection-notice{padding:18px;align-items:flex-start;flex-direction:column;gap:12px}}

.collection-content{flex:1;min-width:0}.collection-progress{margin-top:18px;max-width:660px}.collection-progress-label{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:9px}.collection-progress-label strong{font-variant-numeric:tabular-nums}.collection-progress progress{display:block;width:100%;height:8px;border:0;border-radius:99px;overflow:hidden;appearance:none;background:#e5d6d0;accent-color:var(--accent-ink)}.collection-progress progress::-webkit-progress-bar{background:#e5d6d0;border-radius:99px}.collection-progress progress::-webkit-progress-value{background:var(--accent-ink);border-radius:99px;transition:width .4s ease}.collection-progress progress::-moz-progress-bar{background:var(--accent-ink);border-radius:99px}.collection-progress progress:not([value]){background:linear-gradient(90deg,#e5d6d0 30%,var(--accent-ink) 50%,#e5d6d0 70%);background-size:200% 100%;animation:radar-loading 2s linear infinite}.collection-progress .collection-current{margin-top:9px;overflow-wrap:anywhere}.collection-notice>.text-button{flex-shrink:0}.settings-form select{font:inherit;max-width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:white}.settings-form select+small{display:block;margin-top:8px;line-height:1.6}@keyframes radar-loading{to{background-position:-200% 0}}@media(max-width:600px){.collection-content{width:100%}}@media(prefers-reduced-motion:reduce){.collection-progress progress:not([value]){animation:none}.collection-progress progress::-webkit-progress-value{transition:none}}

#site-suggestions>.btn{white-space:normal;max-width:100%;text-align:center}

/* Keep the login illustration independent of the form's height. */
.auth-page .auth-layout{min-height:100dvh;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.auth-page .auth-visual{min-width:0;min-height:100dvh;padding:40px clamp(32px,4vw,65px)}
.auth-page .auth-visual h1{font-size:clamp(38px,4vw,58px);margin-top:clamp(40px,9vh,80px)}
.auth-page .auth-visual>img{position:absolute;bottom:-65px;left:50%;width:min(75%,410px);height:auto;margin:0;transform:translateX(-50%) rotate(15deg)}
.auth-page .auth-form{padding:32px clamp(32px,4vw,65px)}
.auth-page .back-link{margin-bottom:30px}
.auth-page .auth-form input{min-height:46px}
.auth-page .auth-form>p.error{color:var(--accent-ink)}
@media(max-width:767px){
 .auth-page .auth-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}
 .auth-page .auth-visual{min-height:0;padding:24px}
 .auth-page .auth-visual h1,.auth-page .auth-visual>img{display:none}
 .auth-page .auth-form{justify-content:flex-start;padding:24px 24px 32px}
 .auth-page .back-link{margin-bottom:24px}
 .auth-page .auth-form h2{font-size:36px}
 .auth-page .auth-form input{font-size:16px}
 .auth-page .auth-form .btn{white-space:normal;gap:12px}
}
