.auth-page{min-height:100svh;display:grid;place-items:center;padding:clamp(1rem,4vw,3rem);background:#f4f1ea}
.auth-shell{width:min(100%,1080px);display:grid;grid-template-columns:1fr 1fr;border:1px solid #e3ded3;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 20px 65px #3c2e1310}
.auth-visual{position:relative;min-height:650px;background:#ddd7ca;overflow:hidden}.auth-visual .portfolio-image{position:absolute;inset:0;height:100%;object-fit:cover;object-position:center 35%}.auth-visual::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#201a0bc2);pointer-events:none}
.auth-brand{position:absolute;z-index:1;left:1.6rem;top:1.6rem;background:#fffaf1ed;padding:.8rem 1rem;border-radius:10px}.auth-brand img{display:block;width:170px;height:auto}
.auth-photo-copy{position:absolute;left:2.5rem;right:2.5rem;bottom:2.5rem;z-index:1;color:#fff}.auth-photo-copy p{font-size:clamp(1.6rem,2.8vw,2.25rem);font-weight:600;letter-spacing:-.04em;line-height:1.2;max-width:330px}.auth-photo-copy span{display:block;font-size:.82rem;margin-top:1rem;color:#fffdf1cf}
.auth-panel{padding:clamp(2rem,4vw,3.5rem);align-self:center}.auth-back{font-size:.75rem;color:#7b796f;text-decoration:none;display:inline-block;margin-bottom:2rem}.auth-back:hover{text-decoration:underline}
.auth-lock{display:grid;place-items:center;width:44px;height:44px;background:#f3e9d9;color:#8a5d28;border-radius:12px;margin-bottom:1.2rem}.auth-intro>p{font-size:.7rem;color:#8a5d28;text-transform:uppercase;letter-spacing:.14em;font-weight:700}.auth-intro h1{font-size:clamp(2rem,3.5vw,2.7rem);line-height:1.15;margin-top:.5rem}.auth-intro>div{font-size:.87rem;color:#77776d;line-height:1.7;margin-top:.8rem;max-width:350px}
.auth-form{display:grid;gap:1.3rem;margin-top:1.8rem}.auth-field>label{display:block;font-size:.8rem;font-weight:650;margin-bottom:.55rem}.auth-field input{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:52px;padding:.85rem 1rem;background:#f8f6f1;border:1px solid #ded9ce;border-radius:10px;color:#292a24;font:inherit;font-size:.9rem}.auth-field input:focus{outline:2px solid #a47d50;outline-offset:2px}.auth-field input[aria-invalid=true]{border-color:#ad4234}.auth-password{position:relative}.auth-password input{padding-right:6rem}.auth-password button{position:absolute;right:1rem;top:50%;transform:translateY(-50%);font-size:.7rem;font-weight:600;color:#81531f;cursor:pointer;padding:.4rem 0}.auth-password button:focus-visible{outline:2px solid #a47d50;outline-offset:4px;border-radius:2px}
.auth-submit{display:flex;justify-content:space-between;align-items:center;border:0;border-radius:10px;padding:1rem 1.1rem;background:#81531f;color:#fff;font-size:.9rem;font-weight:650;cursor:pointer;margin-top:.25rem}.auth-submit:hover{background:#643c15}.auth-submit:focus-visible{outline:3px solid #b5946e;outline-offset:3px}.auth-alert{margin-top:1.4rem;border:1px solid #ecc9bd;background:#fff7f3;border-radius:12px;padding:1rem;color:#864333;font-size:.8rem;line-height:1.6}.auth-alert p{margin-top:.2rem}.auth-field-error{color:#a4382e;font-size:.75rem;margin-top:.5rem}
.auth-help{margin-top:1.25rem;font-size:.78rem}.auth-help summary{cursor:pointer;color:#69695e}.auth-help>p{margin-top:.7rem;line-height:1.75;color:#77776d}.auth-help a{color:#81531f;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.auth-contact{border-top:1px solid #ebe6dc;margin-top:1.5rem;padding-top:1.25rem;font-size:.78rem;color:#77776d;line-height:1.7}.auth-contact>a{display:inline-block;margin-top:.25rem;color:#81531f;font-weight:600}.auth-contact>a:hover{text-decoration:underline}
@media(max-width:799px){.auth-page{padding:1rem}.auth-shell{max-width:480px;grid-template-columns:1fr;border-radius:20px}.auth-visual{min-height:190px;max-height:190px}.auth-visual .portfolio-image{object-position:center 36%}.auth-visual::after{display:none}.auth-photo-copy{display:none}.auth-brand{top:1rem;left:1rem;padding:.6rem .8rem}.auth-brand img{width:140px}.auth-panel{padding:1.65rem}.auth-back{margin-bottom:1.25rem}.auth-lock{display:none}.auth-intro h1{font-size:2rem}.auth-form{margin-top:1.5rem}}
@media(prefers-reduced-motion:reduce){.auth-page *{scroll-behavior:auto}}

@media(max-width:799px){
 .auth-page{padding:0;background:#fff;display:block}
 .auth-shell{width:100%;max-width:none;min-height:100svh;border:0;border-radius:0;box-shadow:none}
 .auth-visual{display:flex;flex-direction:column;min-height:0;max-height:none;background:#fff}
 .auth-visual .portfolio-picture{display:block;order:2}
 .auth-visual .portfolio-image{position:static;inset:auto;width:100%;height:auto;object-fit:contain;aspect-ratio:3/2}
 .auth-brand{position:static;order:1;align-self:flex-start;margin:1rem 1.25rem;padding:0;background:none;border-radius:0}
 .auth-panel{width:100%;min-width:0;padding:1.75rem 1.25rem max(2rem,env(safe-area-inset-bottom));align-self:start}
 .auth-field input{font-size:16px}
 .auth-password button{min-height:44px;min-width:60px;right:.75rem;font-size:.8rem}
 .auth-back{min-height:36px;display:inline-flex;align-items:center;margin-bottom:1rem}
 .auth-help summary{padding:.5rem 0;min-height:44px}
 .auth-contact>a{padding:.5rem 0}
}
