* { box-sizing:border-box; }
.auth-page { margin:0; min-height:100svh; display:flex; flex-direction:column; background:var(--paper); color:var(--ink); font:15px/1.5 var(--sans); }
.auth-shell { width:min(1120px, calc(100% - 48px)); margin-inline:auto; }
.auth-header { border-bottom:1px solid var(--line); }
.auth-header-inner { min-height:83px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.auth-back { display:inline-flex; gap:9px; align-items:center; font-size:13px; color:var(--muted); text-decoration:none; }
.auth-main { margin-block:clamp(28px,6vw,80px) 30px; display:grid; grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr); }
.auth-story { background:var(--grove); color:#f3f3eb; padding:clamp(24px,4vw,48px); display:flex; flex-direction:column; justify-content:space-between; gap:56px; }
.auth-story-top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:19px; border-bottom:1px solid #4b5246; color:#c6cdb9; }
.auth-kicker { font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; margin:0; }
.auth-story h2 { font:500 clamp(42px,5.8vw,80px)/.93 var(--serif); letter-spacing:-.055em; margin:0 0 18px; }
.auth-story h2 em { color:#c2ccb2; font-weight:400; }
.auth-story p { color:#c6cdbf; max-width:32ch; margin:0; }
.auth-workflow { list-style:none; padding:17px 0 0; margin:0; border-top:1px solid #4b5246; display:flex; flex-wrap:wrap; gap:12px 18px; font-size:12px; color:#d6dbce; }
.auth-workflow i { margin-right:4px; }
.auth-panel { background:#fff; border:1px solid var(--line); padding:clamp(25px,5vw,58px); min-width:0; }
.auth-panel-head { margin-bottom:25px; }
.auth-panel .auth-kicker { color:var(--olive-dark); }
.auth-panel h1 { margin:10px 0 8px; font:500 clamp(36px,4.4vw,56px)/.99 var(--serif); letter-spacing:-.045em; }
.auth-intro,.auth-hint,.auth-panel-foot { color:var(--muted); }
.auth-intro { margin:0; }
.auth-form { display:grid; gap:16px; }
.auth-fields-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.auth-field label { display:block; margin-bottom:6px; font-size:13px; font-weight:700; }
.auth-optional { color:var(--muted); font-size:11px; font-weight:400; margin-left:5px; }
.auth-input-wrap { position:relative; }
.auth-input { display:block; width:100%; min-height:46px; border:1px solid #c8cbbf; border-radius:4px; background:#fbfbf8; color:var(--ink); padding:10px 12px; font:inherit; }
.auth-input::placeholder { color:#717569; }
.auth-input-icon { padding-left:39px; }
.auth-input-password { padding-right:50px; }
.auth-input[aria-invalid=true] { border-color:#a35749; }
.auth-field-icon { position:absolute; left:13px; top:50%; transform:translateY(-50%); color:var(--olive); font-size:13px; pointer-events:none; }
.auth-reveal { position:absolute; right:2px; top:1px; bottom:1px; width:44px; border:0; background:transparent; color:var(--olive-dark); cursor:pointer; }
.auth-hint { font-size:12px; margin:5px 0 0; }
.auth-link,.auth-footer a { color:var(--olive-dark); font-weight:700; text-underline-offset:3px; }
.auth-inline-link { justify-self:end; font-size:13px; }
.auth-submit { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 15px; min-height:48px; border:1px solid var(--olive); border-radius:4px; background:var(--olive); color:#fff; font:700 14px var(--sans); cursor:pointer; }
.auth-submit:hover { background:var(--olive-dark); }
.auth-page :focus-visible { outline:2px solid var(--olive-dark); outline-offset:3px; }
.auth-alert { margin-bottom:16px; padding:11px 14px; background:#eef1e9; color:#36412e; border:1px solid #b7c1ab; font-size:13px; }
.auth-alert-error { background:#f9eeea; color:#743f33; border-color:#dbb7ad; }
.auth-alert ul { margin:0; padding-left:17px; }
.auth-panel-foot { border-top:1px solid var(--line); margin-top:25px; padding-top:16px; font-size:13px; }
.auth-footer { display:flex; justify-content:space-between; gap:12px; margin-top:auto; padding-block:14px 24px; color:var(--muted); font-size:12px; }
@media(max-width:780px) { .auth-main { grid-template-columns:minmax(0,1fr); max-width:560px; } .auth-story { display:none; } }
@media(max-width:480px) { .auth-shell { width:calc(100% - 32px); } .auth-header-inner { min-height:69px; } .auth-fields-pair { grid-template-columns:1fr; } .auth-back { font-size:11px; } .auth-panel { padding:23px 19px; } }
