/* Isolated auth system: shared by React registration and the progressively enhanced Worker login. */
.auth-page{box-sizing:border-box;min-height:100dvh;padding:32px;display:grid;place-items:center;background:#f3f1e9;color:#15241d;font-family:'Source Sans 3',Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.auth-page *, .auth-page *::before,.auth-page *::after{box-sizing:border-box}body.auth-page{margin:0}
.auth-card{width:min(1200px,100%);min-height:790px;position:relative;isolation:isolate;background:#fffefb;border:1px solid #dedfd4;border-radius:24px;overflow:hidden;box-shadow:0 24px 80px #16362a0c;animation:auth-enter .6s ease both}
.auth-brand{position:absolute;left:56px;top:36px;z-index:3;color:#0d3326;text-decoration:none;transition:opacity .2s}.auth-brand:hover{opacity:.7}
.auth-brand .brand{display:inline-flex;align-items:center;gap:10px;font-size:1.5625rem;font-weight:700;letter-spacing:-0.0625rem;color:#0d3326}.auth-brand .brand-mark{display:grid;grid-template-columns:repeat(2,11px);gap:3px}.auth-brand .brand-mark i{width:11px;height:11px;border-radius:3px;background:#c29a4e}.auth-brand .brand-mark i:nth-child(2),.auth-brand .brand-mark i:nth-child(3){background:#dcb76d}
.auth-content{position:relative;z-index:2;width:56%;padding:137px 56px 46px}.auth-content h1{margin:0;color:#0d3326;font-family:Fraunces,Georgia,serif;font-size:clamp(1.75rem,1rem+1.8vw,2.25rem);font-weight:500;line-height:1.15;letter-spacing:-0.0875rem}.auth-description{margin:14px 0 30px;color:#536159;font-size:1rem;line-height:1.65}
.auth-art{position:absolute;z-index:0;inset:0 0 0 56%;overflow:hidden;background:#0d3326;color:#fffaf0}.auth-art>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:65% center;opacity:.34;filter:saturate(.6)}.auth-art::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0d332622,#0d3326d9 60%,#0d3326);pointer-events:none}.auth-art-copy{position:relative;z-index:1;padding:210px 44px 100px}.auth-eyebrow{display:block;color:#edd29a;font-size:.6875rem;line-height:1.6;letter-spacing:.18em;text-transform:uppercase;font-weight:600}.auth-art h2{font-family:Fraunces,Georgia,serif;font-size:clamp(1.75rem,1rem+1.8vw,2.25rem);font-weight:400;line-height:1.16;letter-spacing:-0.0625rem;margin:24px 0}.auth-art p{max-width:315px;font-size:1.0625rem;line-height:1.75;color:#e0e7dd;margin:0}.auth-art-note{border-top:1px solid #ffffff30;margin-top:40px;padding-top:24px;font-size:.8125rem;color:#e3e9de;display:flex;align-items:center;gap:12px}.auth-art-note>span{display:grid;place-items:center;border:1px solid #dabb74;border-radius:50%;width:32px;height:32px;color:#e7c780;font-size:1.25rem}.auth-art-signature{position:absolute;z-index:1;left:44px;bottom:36px;font-size:.6875rem;color:#d5dfd0;letter-spacing:.05em}
.auth-fields{display:grid;gap:17px}.auth-name-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-field-group{min-width:0}.auth-label{display:block;margin:0 0 8px;font-size:.8125rem;font-weight:600;line-height:1.4;color:#304b3e}.auth-field{position:relative;min-width:0;display:flex;align-items:center}.auth-field>svg,.auth-field>img{position:absolute;z-index:1;left:15px;width:20px;height:20px;color:#5c6d61;pointer-events:none}.auth-field input{width:100%;min-width:0;height:52px;background:#fffefb;border:1px solid #d3dbd2;border-radius:9px;padding:0 46px;font:inherit;font-size:1rem;color:#15241d;transition:border-color .2s,box-shadow .2s,background .2s;outline-offset:2px}.auth-field input::placeholder{color:#788278;opacity:1;font-size:.875rem}.auth-field input:hover{border-color:#96aa97}.auth-field input:focus{outline:2px solid #c29a4e;border-color:#0d3326;background:#fff;box-shadow:0 0 0 4px #c29a4e16}.auth-field input[aria-invalid=true]{border-color:#a32a1c;background:#fffaf8}.auth-password-toggle{position:absolute;right:5px;top:4px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:#536859;cursor:pointer;transition:background .2s,color .2s}.auth-password-toggle img{width:20px;height:20px}.auth-password-toggle:hover{background:#edf2e9;color:#0d3326}.auth-field-hint{margin:8px 0 0;font-size:.75rem;color:#536159;line-height:1.6}.auth-field-error{margin:7px 0 0;color:#a32a1c;font-size:.8125rem;line-height:1.5}
.auth-options{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:22px;font-size:.75rem;line-height:1.6;color:#536159}.auth-options a,.auth-footer a{color:#0d5037;text-decoration:underline;text-decoration-color:#aebdab;text-underline-offset:4px;font-weight:600;transition:color .2s,text-decoration-color .2s}.auth-options a:hover,.auth-footer a:hover{color:#7e5a1c;text-decoration-color:currentColor}.auth-primary{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;margin-top:25px;padding:12px 20px;border:1px solid #0d3326;border-radius:9px;background:#0d3326;color:#fffef5;font:inherit;font-size:.9375rem;font-weight:600;cursor:pointer;box-shadow:0 4px 10px #0d33260c;transition:background .2s,transform .2s,box-shadow .2s}.auth-primary img{width:20px;height:20px}.auth-primary>svg,.auth-primary>img{transition:transform .2s}.auth-primary:hover:not(:disabled){background:#164a37;transform:translateY(-2px);box-shadow:0 7px 16px #0d33261c}.auth-primary:hover>svg,.auth-primary:hover>img{transform:translateX(3px)}.auth-primary:active:not(:disabled){transform:translateY(0)}.auth-primary:disabled{cursor:wait;opacity:.72}.auth-primary[aria-busy=true]::before,.join-actions [aria-busy=true]::before{content:'';display:inline-block;width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:auth-spin .8s linear infinite;flex-shrink:0}
.auth-footer{margin:27px 0 0;color:#536159;font-size:.875rem;line-height:1.8}.auth-footer a{margin-left:5px}.auth-progress{margin:0 0 19px;font-size:.6875rem;font-weight:600;color:#7e5a1c;letter-spacing:.12em;text-transform:uppercase;display:flex;align-items:center;gap:10px}.auth-progress::before{content:'';width:22px;height:2px;background:#c29a4e}.auth-error{margin:18px 0 0;border:1px solid #e6bdb4;background:#fff5f1;border-radius:9px;padding:12px 14px;color:#a32a1c;font-size:.875rem;line-height:1.6}.auth-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-content a:focus-visible,.auth-content button:focus-visible,.auth-brand:focus-visible{outline:2px solid #a77828;outline-offset:4px}.auth-content .join-content{padding:0;margin:0;max-width:none}.auth-content .join-actions{margin-top:25px}.auth-content .join-actions>button{width:100%;min-height:50px;border-radius:9px}.join-actions .auth-primary{margin-top:0}.join-content section{animation:auth-enter .3s ease both}.auth-security{display:flex;align-items:center;gap:7px;margin:22px 0 0;font-size:.75rem;color:#536159}.auth-security img{width:14px;height:14px}.auth-back{display:inline-flex;margin-bottom:25px;color:#536159;font-size:.8125rem;text-decoration:none}.auth-back:hover{color:#7e5a1c}
.auth-page [hidden]{display:none!important}.join-actions button{transition:background .2s,box-shadow .2s,transform .2s}.join-actions button:hover:not(:disabled){box-shadow:0 5px 16px #0d332615}.join-actions button:disabled{cursor:wait}.auth-content h1:focus{outline:none}.join-content form:focus-within .auth-label{transition:color .2s}
@keyframes auth-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes auth-spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.auth-page{padding:56px}}
@media(max-width:1000px){.auth-page{padding:22px}.auth-brand{left:32px}.auth-content{padding:130px 32px 40px;width:58%}.auth-art{left:58%}.auth-art-copy{padding:210px 28px 100px}.auth-art-signature{left:28px}.auth-art h2{font-size:2.25rem}.auth-art p{font-size:1rem}}
@media(max-width:760px){.auth-page{padding:16px}.auth-card{max-width:570px;min-height:calc(100dvh - 32px);border-radius:18px}.auth-content{width:100%;padding:115px 32px 38px}.auth-brand{top:30px}.auth-art{display:none}.auth-content h1{font-size:2.25rem}.auth-description{font-size:1rem}.auth-name-row{gap:12px}}
@media(max-width:400px){.auth-page{padding:8px}.auth-card{min-height:calc(100dvh - 16px);border-radius:14px}.auth-content{padding:108px 22px 30px}.auth-brand{left:22px}.auth-content h1{font-size:2rem}.auth-name-row{grid-template-columns:1fr}.auth-options{flex-wrap:wrap;gap:8px}}
@media(prefers-reduced-motion:reduce){.auth-page *,.auth-page *::before,.auth-page *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.auth-primary:hover:not(:disabled){transform:none}}
