.auth-main{--auth-page-gutter:20px;position:relative;isolation:isolate;flex:1;display:flex;justify-content:center;align-items:flex-start;padding:64px var(--auth-page-gutter) 76px;min-width:0}
.auth-decoration{position:absolute;inset:0;overflow:clip;z-index:-1;pointer-events:none}
.auth-decoration::before,.auth-decoration::after{content:"";position:absolute;width:min(55vw,640px);aspect-ratio:1;border-radius:35%;background:#f7e9db;opacity:.65;transform:rotate(28deg)}
.auth-decoration::before{left:-15%;top:2%}.auth-decoration::after{right:-15%;bottom:-25%;background:#f3e0cd}
.auth-card{--error-ink:#991b1b;--error-border:#c62828;--error-bg:#fff1f2;width:100%;max-width:550px;min-width:0;background:#fffdfb;border:1px solid #bf9577;border-radius:17px;padding:35px 38px 30px;box-shadow:0 7px 0 #80583d}
.eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:var(--accent);margin:0 0 9px}
h1{font-size:32px;line-height:1.2;letter-spacing:-.035em;margin:0 0 12px;font-weight:800;overflow-wrap:anywhere}
.auth-intro{margin:0 0 25px;color:var(--muted);font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.auth-form{display:grid;gap:18px;min-width:0}
.form-field,.terms-field,.input-wrap,.security-block{min-width:0}
.form-field>label,.account-types legend{display:block;font-size:12px;font-weight:700;margin-bottom:8px}
.input-wrap{position:relative;display:flex;align-items:center}
.input-wrap input{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff;padding:13px 45px 13px 40px;min-height:48px;line-height:1.4;font-size:16px;color:var(--ink)}
.input-wrap input:focus{outline:2px solid #c0835a;outline-offset:1px;border-color:var(--accent)}
.input-wrap input[aria-invalid=true]{border-color:var(--error-border);background:var(--error-bg);box-shadow:inset 0 0 0 1px var(--error-border)}
.input-wrap input[aria-invalid=true]:focus{outline-color:var(--error-border)}
.form-field:has(.field-error:not(:empty))>label,.account-types:has(.field-error:not(:empty)) legend{color:var(--error-ink)}
.input-icon{position:absolute;left:14px;width:16px;height:20px;color:#99775e;pointer-events:none;line-height:20px;text-align:center}
.input-icon svg{width:16px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.password-toggle{position:absolute;right:5px;top:4px;bottom:4px;width:38px;border:0;border-radius:6px;background:transparent;color:#8f705b;padding:9px;display:flex;align-items:center;justify-content:center}
.password-toggle:hover{background:#f8eee5}
.password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.field-help{font-size:11px;color:var(--muted);line-height:1.6;margin:8px 0 0;overflow-wrap:anywhere}
.field-error{position:relative;color:var(--error-ink);background:var(--error-bg);border-left:3px solid var(--error-border);border-radius:6px;font-size:12px;font-weight:700;line-height:1.6;margin:8px 0 0;padding:9px 11px 9px 33px;overflow-wrap:anywhere}
.field-error:not(:empty)::before{content:"!";position:absolute;left:10px;top:11px;width:15px;height:15px;border-radius:50%;background:var(--error-border);color:#fff;font-size:11px;font-weight:800;line-height:15px;text-align:center}
.field-error:empty{display:none}
.form-alert{padding:14px 16px;background:var(--error-bg);border:1px solid var(--error-border);border-left-width:4px;border-radius:8px;color:var(--error-ink);margin:0 0 20px;font-size:14px;font-weight:700;line-height:1.6;overflow-wrap:anywhere}
.notice{padding:12px 14px;background:#ecf4e9;border:1px solid #b5caae;border-radius:8px;margin:0 0 20px;color:#35542b;overflow-wrap:anywhere}
.account-types{border:0;padding:0;margin:0;min-width:0}
.account-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.account-option{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-height:57px;padding:12px 8px;border:1px solid var(--line);border-radius:9px;font-size:12px;font-weight:600;min-width:0;overflow-wrap:anywhere;cursor:pointer}
.account-option input{position:absolute;width:1px;height:1px;clip-path:inset(50%)}
.account-option:has(input:checked){border-color:var(--accent);background:#fbefe5;box-shadow:inset 0 0 0 1px var(--accent)}
.account-option:has(input:focus-visible){outline:3px solid #bd683c;outline-offset:3px}
.account-option>span:first-of-type{font-size:20px;font-weight:400}
.checkbox-label{display:flex;align-items:flex-start;gap:10px;min-width:0;font-size:11px;line-height:1.8;color:var(--muted)}
.checkbox-label input{flex:0 0 16px;width:16px;height:16px;margin:2px 0 0;accent-color:var(--accent)}
.checkbox-label span{min-width:0;overflow-wrap:anywhere}
.password-strength{display:flex;gap:5px;margin-top:9px}
.password-strength span{height:3px;flex:1;border-radius:2px;background:#eadccf}
.password-strength span.is-active{background:#a97549}
/* Keep the label centered on the whole button, independently of its trailing icon. */
.submit-button{position:relative;width:100%;min-height:49px;justify-content:center;padding-inline:44px;margin-top:2px}
.submit-button>span:not([aria-hidden="true"]){min-width:0;max-width:100%}
.submit-button>[aria-hidden="true"]{position:absolute;inset-inline-end:18px;top:50%;transform:translateY(-50%);width:16px;line-height:1;text-align:center;pointer-events:none}
.auth-alternative{text-align:center;font-size:12px;margin:23px 0 0;color:var(--muted);overflow-wrap:anywhere}
.auth-alternative a{font-weight:700}
.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.security-block{display:flex;flex-direction:column;align-items:center}
/* Use the card's inner padding for Turnstile's 300px minimum, without crossing its border. */
.turnstile-container{width:100%;max-width:none;min-width:min(300px,calc(100vw - var(--auth-page-gutter) - var(--auth-page-gutter) - 2px));display:flex;justify-content:center}
.security-status{font-size:11px;text-align:center;color:var(--muted);margin:7px 0 0;overflow-wrap:anywhere}
.verification-panel{text-align:center;min-width:0}
.mail-symbol{margin:0 auto 14px;width:60px;height:60px;display:grid;place-items:center;border-radius:50%;background:#f8e6d5;color:var(--accent);font-size:32px}
.verification-address{font-weight:700;overflow-wrap:anywhere}
#delivery-message{font-size:13px;overflow-wrap:anywhere}
.verification-panel form{margin-top:24px}
.resend-count{font-size:12px;color:var(--muted);margin:12px 0}
.support-notice{background:#fbefe4;border:1px solid var(--line);border-radius:9px;padding:15px;font-size:12px;line-height:1.8;text-align:center;overflow-wrap:anywhere}
@media(max-width:600px){
 .auth-main{--auth-page-gutter:16px;padding:32px var(--auth-page-gutter) 46px}.auth-card{padding:27px 23px 25px;border-radius:14px}
 h1{font-size:28px}.auth-intro{font-size:12px}.auth-form{gap:17px}
 .account-options{gap:10px}.account-option{gap:7px;padding-inline:6px}
}
@media(max-width:350px){.auth-main{--auth-page-gutter:8px}.auth-card{padding-inline:18px}.header-inner{padding-inline:16px}.account-option{gap:5px;font-size:11px}h1{font-size:26px}}
