/* Login / register pages: consolidated sizing and inline feedback. Loaded only on /login and /register. */
body.market-page .auth-shell{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:calc(100svh - 82px)}
body.market-page .auth-visual{display:flex;align-items:center;padding:72px clamp(40px,5vw,96px)}
body.market-page .auth-visual-copy{margin-top:0;max-width:560px}
body.market-page .auth-visual-copy>span{font-size:14px;letter-spacing:.5px;color:#bad3f7}
body.market-page .auth-visual-copy h1{font-size:clamp(36px,3.2vw,56px);line-height:1.3;letter-spacing:-.5px;margin:20px 0 18px}
body.market-page .auth-visual-copy p{font-size:16px;line-height:1.9;color:#d0dced}
body.market-page .auth-points{list-style:none;margin:34px 0 0;padding:0;display:grid;gap:14px;color:#e3ebf7;font-size:14px}
body.market-page .auth-points li{display:flex;align-items:center;gap:12px}
body.market-page .auth-points li:before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#7fb2ff;box-shadow:0 0 12px #7fb2ff}
body.market-page .auth-orbit{opacity:.5}

body.market-page .auth-form-area{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:56px clamp(28px,5vw,96px) 64px;background:#fff}
body.market-page .auth-form-wrap{width:min(440px,100%)}

body.market-page .auth-mode{display:grid;grid-template-columns:1fr 1fr;margin-bottom:28px;border-bottom:1px solid #e3e9f1}
body.market-page .auth-mode a{position:relative;padding:12px 6px;text-align:center;color:#7b8798;font-size:16px;font-weight:600;transition:color .15s}
body.market-page .auth-mode a:hover{color:#2a4a76}
body.market-page .auth-mode a[aria-current=page]{color:#15325a}
body.market-page .auth-mode a[aria-current=page]:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#155eef}

body.market-page .auth-form-heading{text-align:left}
body.market-page .auth-form-heading h2{font-size:28px;font-weight:750;line-height:1.35;letter-spacing:-.4px;margin:0;color:#0f2448}
body.market-page .auth-form-heading p{font-size:14px;line-height:1.8;margin:8px 0 0;color:#6c7d93}

body.market-page .auth-alert{margin:22px 0 0;padding:12px 14px;border:1px solid #f1c3bd;border-radius:6px;background:#fff5f3;color:#9a3b30;font-size:13px;line-height:1.7}
body.market-page .auth-alert ul{margin:0;padding-left:18px}
body.market-page .auth-alert li+li{margin-top:2px}

body.market-page .auth-form{padding-top:6px}
body.market-page .auth-form>label{display:grid;gap:8px;margin-top:20px;color:#334b68;font-size:14px;font-weight:500}
body.market-page .auth-form>label>input,body.market-page .auth-form .password-field{display:flex;align-items:center;width:100%;height:50px;margin:0;border:1px solid #cfd9e6;border-radius:6px;background:#fbfcfe;overflow:hidden;transition:border-color .15s,box-shadow .15s}
body.market-page .auth-form>label>input{padding:0 16px;font-size:15px;font-weight:400;color:#14233d;outline:0}
body.market-page .auth-form .password-field input{min-width:0;flex:1;height:100%;border:0;outline:0;padding:0 16px;background:transparent;font-size:15px;font-weight:400;color:#14233d}
body.market-page .auth-form .password-field input{padding-right:16px!important}
body.market-page .auth-form>label>input::placeholder,body.market-page .auth-form .password-field input::placeholder{color:#9aa7b8}
body.market-page .auth-form>label>input:focus,body.market-page .auth-form .password-field:focus-within{border-color:#155eef;box-shadow:0 0 0 3px rgba(21,94,239,.12);background:#fff}
body.market-page .auth-form>label>input[aria-invalid=true],body.market-page .auth-form .password-field:has(input[aria-invalid=true]){border-color:#e0665a;background:#fffafa}
body.market-page .auth-form .password-field button{position:static;flex:none;height:100%;padding:0 16px;border:0;border-left:1px solid #e4e9f0;background:#f7f9fc;color:#54719b;font-size:13px;cursor:pointer}
body.market-page .auth-form .password-field button:hover{color:#155eef}
body.market-page .auth-form .auth-hint{margin:0;color:#8794a6;font-size:12px;font-weight:400}

body.market-page .auth-options{display:flex;justify-content:space-between;align-items:center;margin:18px 0 0;font-size:14px;color:#5f6f85}
body.market-page .auth-options>label{display:flex;align-items:center;gap:8px;cursor:pointer}
body.market-page .auth-options input{width:16px;height:16px;margin:0;accent-color:#155eef}
body.market-page .auth-options>a{color:#1f5fc4}
body.market-page .auth-options>a:hover{text-decoration:underline}

body.market-page .auth-submit{width:100%;height:50px;margin-top:24px;border:0;border-radius:6px;background:#155eef;color:#fff;font-size:16px;font-weight:700;letter-spacing:.5px;cursor:pointer;transition:background .15s}
body.market-page .auth-options:not([hidden]) + .auth-submit{margin-top:28px}
body.market-page .auth-submit:hover{background:#104ed4}
body.market-page .auth-agreement{margin:14px 0 0;color:#8794a6;font-size:12px;line-height:1.8;text-align:center}

body.market-page .auth-register{margin:0;padding:24px 0 0;text-align:center;color:#6f7d8f;font-size:14px}
body.market-page .auth-register a{margin-left:6px;color:#155eef;font-weight:700}
body.market-page .auth-register a:hover{text-decoration:underline}
body.market-page .auth-shell + .site-shell-footer{margin-top:0}

@media(max-width:1100px){
 body.market-page .auth-visual{padding-inline:40px}
 body.market-page .auth-visual-copy h1{font-size:40px}
 body.market-page .auth-form-area{padding-inline:40px}
}
@media(max-width:900px){
 body.market-page .auth-shell{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
 body.market-page .auth-visual{padding-inline:32px}
 body.market-page .auth-visual-copy h1{font-size:34px}
 body.market-page .auth-form-area{padding-inline:28px}
}
@media(max-width:760px){
 body.market-page .auth-shell{grid-template-columns:1fr;min-height:calc(100svh - 64px)}
 body.market-page .auth-visual{display:none}
 body.market-page .auth-form-area{justify-content:flex-start;min-height:0;padding:28px 22px 56px}
 body.market-page .auth-form-wrap{width:100%}
  body.market-page .auth-mode{margin-bottom:22px}
 body.market-page .auth-mode a{font-size:15px;padding:10px 4px}
 body.market-page .auth-form-heading h2{font-size:24px}
 body.market-page .auth-form-heading p{font-size:13px}
 body.market-page .auth-form>label{margin-top:16px;font-size:13px}
 body.market-page .auth-form>label>input,body.market-page .auth-form .password-field,body.market-page .auth-submit{height:48px}
 body.market-page .auth-options{font-size:13px}
}
