/* Login/register form panel only. The surrounding brand illustration is independent. */
.auth-side{--auth-ink:#253247;--auth-muted:#687386;--auth-border:#e3e7ed;--auth-accent:#a94e08;--auth-focus:rgba(245,158,11,.18);color:var(--auth-ink)}
.auth-side [hidden]{display:none!important}
.auth-side .login-panel,.auth-side .auth-panel{width:min(400px,100%);min-width:0}
.auth-side .auth-head{margin-bottom:26px}
.auth-side .auth-head h1{font-size:26px;line-height:1.4;font-weight:700;color:var(--auth-ink);letter-spacing:.2px}
.auth-side .auth-tabs{display:flex;align-items:center;justify-content:center;gap:0;margin:0 0 26px;padding:0;background:transparent;border-radius:0}
.auth-side .auth-tab{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:132px;min-height:48px;padding:10px 20px;border:0;border-radius:0;background:transparent;color:var(--auth-muted);font-size:17px;font-weight:600;box-shadow:none;text-decoration:none;cursor:pointer;transition:color .18s ease}
.auth-side .auth-tab+.auth-tab:before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:1px;background:var(--auth-border)}
.auth-side .auth-tab.current{color:var(--auth-accent);background:transparent;box-shadow:none}
.auth-side .auth-tab.current:after{content:"";position:absolute;bottom:0;left:calc(50% - 15px);width:30px;height:3px;border-radius:2px;background:#f59e0b}
.auth-side .form-stack{gap:18px}
.auth-side .auth-fields{overflow:hidden;border:1px solid var(--auth-border);border-radius:10px;background:#fff}
.auth-side .auth-row{display:flex;align-items:center;min-height:56px;padding:0 12px 0 18px;background:#fff;transition:box-shadow .18s ease}
.auth-side .auth-row+.auth-row{border-top:1px solid var(--auth-border)}
.auth-side .auth-row:focus-within{box-shadow:inset 3px 0 #f59e0b}
.auth-side .auth-row>label{flex:0 0 52px;margin:0;font-size:14px;font-weight:400;line-height:1.5;color:#495368}
.auth-side .auth-row>.form-control,.auth-side .auth-row>.form-control.h60{flex:1;width:0;min-width:0;height:55px;padding:0 8px;border:0;border-radius:0;line-height:normal;background:transparent;font-size:14px;color:var(--auth-ink);box-shadow:none;outline:none}
.auth-side input::placeholder{color:#737f91;opacity:1}
.auth-side .auth-password-toggle{display:inline-flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:0;background:transparent;border-radius:6px;color:#687386;cursor:pointer}
.auth-side .auth-password-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.auth-side .auth-password-toggle[aria-pressed=true]{color:var(--auth-accent)}
.auth-side .auth-forgot{display:inline-flex;align-items:center;min-height:44px;flex-shrink:0;padding:0 3px;font-size:13px;color:var(--auth-accent);text-decoration:none;white-space:nowrap}
.auth-side .auth-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auth-side .auth-actions>.primary-btn,.auth-side .auth-actions>.secondary-btn{min-height:46px;border-radius:8px;font-size:15px;line-height:1.5;text-decoration:none;box-shadow:none}
.auth-side .primary-btn{background:#ff9b21;color:#482b0c;box-shadow:none}
.auth-side .secondary-btn{border-color:var(--auth-border);color:var(--auth-ink);background:#fff}
.auth-side .primary-btn:hover{background:#f78e11}
.auth-side .secondary-btn:hover{border-color:#d8b78a;background:#fffaf2}
.auth-side button:disabled{opacity:.6;cursor:wait}
.auth-side :is(button,a,input):focus-visible{outline:3px solid #bd6c13;outline-offset:3px}
.auth-side .auth-note{margin:0 0 16px;font-size:13px;line-height:1.7;color:var(--auth-muted)}
.auth-side .auth-code-button{min-height:44px;flex:0 0 auto;padding:0 8px;border:0;border-left:1px solid var(--auth-border);background:transparent;color:var(--auth-accent);font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.auth-side .auth-captcha-row{display:flex;align-items:center;gap:12px}
.auth-side .auth-captcha-row .auth-fields{flex:1;min-width:0}
.auth-side .auth-captcha-row .captcha-box{width:112px;height:56px;min-height:56px;flex-shrink:0;border:1px solid var(--auth-border);border-radius:8px;padding:0;cursor:pointer}
.auth-side .auth-captcha-row .captcha-box img{width:100%;height:100%;object-fit:contain}
.auth-side .auth-feedback{margin:0;font-size:13px;line-height:1.7;color:#a52e24;overflow-wrap:anywhere}
.auth-side .auth-feedback:empty{display:none}
.auth-side .auth-feedback.is-success{color:#26703c}
.auth-side .auth-other{margin-top:28px;text-align:center}
.auth-side .auth-other-title{display:flex;align-items:center;gap:14px;margin:0 0 14px;color:var(--auth-muted);font-size:13px;line-height:1.6;font-weight:400}
.auth-side .auth-other-title:before,.auth-side .auth-other-title:after{content:"";height:1px;flex:1;background:#edf0f4}
.auth-side .auth-other-list{display:flex;justify-content:center;gap:24px}
.auth-side .auth-provider{display:inline-flex;flex-direction:column;align-items:center;gap:8px;min-width:64px;padding:4px;border:0;border-radius:8px;background:transparent;color:var(--auth-muted);font-size:12px;line-height:1.5;text-decoration:none;cursor:pointer}
.auth-side .auth-provider img{display:block;width:36px;height:36px;object-fit:contain;transition:transform .18s ease}
.auth-side .auth-provider:hover{color:var(--auth-accent)}
.auth-side .auth-provider:hover img{transform:translateY(-2px)}
.auth-side .auth-back{display:inline-flex;align-items:center;gap:5px;min-height:44px;margin:-8px 0 8px;padding:0 4px;border:0;background:transparent;color:var(--auth-accent);font-size:14px;cursor:pointer}
.auth-side .scan-wrap{padding:18px;border-color:var(--auth-border);border-radius:10px;background:#fafbfc}
.auth-side .scan-qr{border-color:var(--auth-border);border-radius:10px}
.auth-side .scan-hint,.auth-side .scan-status{line-height:1.7}
.auth-side .scan-hint{color:var(--auth-muted)}
.auth-side .scan-status{color:var(--auth-accent)}
.auth-side .agreement{min-height:44px;align-items:center;gap:8px;margin:0;font-size:12px;color:var(--auth-muted)}
.auth-side .agreement input{width:16px;height:16px;flex-shrink:0;accent-color:#bd650a}
.auth-side .auth-extra-fields{display:grid;gap:12px}
.auth-side .auth-extra-fields:empty{display:none}
.auth-side .auth-extra-fields .form-control{border-color:var(--auth-border);border-radius:8px;background:#fff;font-size:14px}
.auth-side .auth-extra-fields .input-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.auth-side .auth-extra-fields .input-group>.form-control{flex:1;min-width:120px;border-radius:8px!important}
.auth-side .auth-extra-fields .input-group>.tis{flex-basis:100%;font-size:12px}
.auth-side .auth-extra-fields .sento{width:auto;min-width:104px;font-size:13px;padding:0 12px}
@media(max-width:560px){.auth-side .auth-row{padding-left:12px;padding-right:6px}.auth-side .auth-row>label{flex-basis:48px}.auth-side .auth-tab{min-width:116px;padding-left:16px;padding-right:16px}.auth-side .auth-forgot{font-size:12px}.auth-side .auth-password-toggle{flex-basis:36px;width:36px;padding:8px}.auth-side .auth-head h1{font-size:24px}.auth-side .auth-captcha-row{gap:8px}.auth-side .auth-captcha-row .captcha-box{width:98px}.auth-side .auth-other-list{gap:18px}}
/* Reference login composition; all overrides stay inside the login panel. */
.auth-side .login-panel{--auth-input-font-family:"Microsoft YaHei","PingFang SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--auth-input-font-size:15px;--auth-input-line-height:22px;width:min(410px,100%);font-family:var(--auth-input-font-family);font-size:14px;font-weight:400;line-height:1.5;text-size-adjust:100%;-webkit-text-size-adjust:100%}
.auth-side .login-panel button,.auth-side .login-panel input{font-family:inherit}
.auth-side .login-panel .auth-head{text-align:center;margin-bottom:24px}
.auth-side .login-panel .auth-brand{display:flex;align-items:center;justify-content:center;gap:12px}
.auth-side .login-panel .auth-brand-mark{display:block;flex:0 0 56px;width:56px;height:56px;overflow:hidden}
.auth-side .login-panel .auth-brand-mark img{display:block;height:56px;width:auto;max-width:none;max-height:none}
.auth-side .login-panel .auth-head h1{margin:0;font-size:30px;line-height:1.4;letter-spacing:0;color:#171b22;font-weight:700;white-space:nowrap}
.auth-side .login-panel .auth-tabs{gap:0;margin:0 0 28px;border:0;justify-content:center}
.auth-side .login-panel .auth-tab{flex:0 1 152px;min-width:0;min-height:48px;padding:10px 12px 14px;color:#687386;font-size:17px;font-weight:500}
.auth-side .login-panel .auth-tab:focus{outline:none;box-shadow:none}
.auth-side .login-panel .auth-tab:focus-visible{outline:2px solid #bd6c13;outline-offset:3px;border-radius:5px}
.auth-side .login-panel .auth-tab+.auth-tab:before{display:block;top:14px;bottom:18px;background:#dce1e8}
.auth-side .login-panel .auth-tab.current{color:#b85105;font-weight:600}
.auth-side .login-panel .auth-tab.current:after{left:calc(50% - 20px);right:auto;bottom:0;width:40px;height:3px;background:#ff980c;border-radius:2px}
.auth-side .login-panel .form-stack{gap:12px}
.auth-side .login-panel .auth-fields{display:grid;gap:10px;overflow:visible;border:0;border-radius:0;background:transparent}
.auth-side .login-panel .auth-row{position:relative;min-height:50px;gap:12px;padding:0 12px 0 16px;border:1px solid #e0e5ed;border-radius:10px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.auth-side .login-panel .auth-row:focus-within{border-color:#e9a758;background:#fff;box-shadow:0 0 0 3px rgba(245,158,11,.1)}
.auth-side .login-panel .auth-row>label{flex-basis:48px;color:#435069;font-size:14px}
.auth-side .login-panel .auth-row>label.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-side .login-panel .auth-row>.form-control,.auth-side .login-panel .auth-row>.form-control.h60{height:48px!important;padding:0;font:400 var(--auth-input-font-size)/var(--auth-input-line-height) var(--auth-input-font-family);letter-spacing:normal;color:#253247;background:#fff;box-shadow:none}
.auth-side .login-panel .auth-row>.form-control:is(:focus,:active,:autofill){font:400 var(--auth-input-font-size)/var(--auth-input-line-height) var(--auth-input-font-family);letter-spacing:normal}
/* Cover the browser's autofill background while keeping saved-account autofill available. */
.auth-side .login-panel .auth-row>.form-control:is(:autofill,:-webkit-autofill){-webkit-box-shadow:0 0 0 1000px #fff inset;box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:#253247;caret-color:#253247;transition:none}
.auth-side .login-panel .auth-row>.form-control::placeholder,.auth-side .login-panel .auth-row>.form-control::first-line{font:400 var(--auth-input-font-size)/var(--auth-input-line-height) var(--auth-input-font-family);letter-spacing:normal}
.auth-side .login-panel .auth-row>.form-control::placeholder{color:#687386}
.auth-side .login-panel .auth-field-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;color:#758092}
.auth-side .login-panel .auth-field-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.auth-side .login-panel .auth-password-toggle{flex-basis:38px;width:38px;color:#758092}
.auth-side .login-panel .auth-password-toggle[aria-pressed=true] .auth-eye-slash{display:none}
.auth-side .login-panel .auth-form-tools{display:flex;align-items:center;justify-content:space-between;margin:-6px 0}
.auth-side .login-panel .auth-remember{display:inline-flex;align-items:center;gap:9px;min-height:44px;margin:0;font-size:14px;font-weight:400;color:#283243;cursor:pointer}
.auth-side .login-panel .auth-remember input{width:16px;height:16px;margin:0;accent-color:#df6705;cursor:pointer}
.auth-side .login-panel .auth-forgot{padding:0;color:#b45309;font-size:14px}
.auth-side .login-panel .auth-forgot:hover{color:#b84c08}
.auth-side .login-panel .auth-actions{grid-template-columns:1fr 1fr;gap:12px}
.auth-side .login-panel .auth-actions--single{grid-template-columns:1fr}
.auth-side .login-panel .auth-actions>.primary-btn,.auth-side .login-panel .auth-actions>.secondary-btn{min-height:50px;border-radius:10px;font-size:17px;font-weight:500}
.auth-side .login-panel .primary-btn{background:#bf4e05;color:#fff;font-size:16px;box-shadow:0 6px 16px rgba(191,78,5,.13)}
.auth-side .login-panel .primary-btn:hover{background:#ad4404;box-shadow:0 7px 18px rgba(191,78,5,.19)}
.auth-side .login-panel .auth-actions>.primary-btn{background:linear-gradient(120deg,#ff9f1b,#ff9510);color:#302006;font-size:18px;font-weight:600;letter-spacing:2px;box-shadow:none}
.auth-side .login-panel .auth-actions>.primary-btn:hover{background:linear-gradient(120deg,#f89512,#f28b0b);box-shadow:0 4px 12px rgba(245,158,11,.13)}
.auth-side .login-panel .secondary-btn{background:#fff;border-color:#dce2ea;color:#202a38;font-size:17px}
.auth-side .login-panel .secondary-btn:hover{background:#fff9f2;border-color:#edcba5;color:#ab4c12}
.auth-side .login-panel .auth-other{margin-top:32px}
.auth-side .login-panel .auth-other-title{gap:16px;margin-bottom:20px;color:#687386;font-size:14px;font-weight:400}
.auth-side .login-panel .auth-other-title:before,.auth-side .login-panel .auth-other-title:after{background:#edf0f4}
.auth-side .login-panel .auth-other-list{display:flex;justify-content:center;gap:24px}
.auth-side .login-panel .auth-provider{width:auto;min-width:64px;min-height:72px;flex-direction:column;justify-content:center;gap:8px;padding:4px 6px;border:0;border-radius:10px;background:transparent;font-size:13px;font-weight:500;color:#212a36;transition:background-color .18s ease,color .18s ease}
.auth-side .login-panel .auth-provider img{width:36px;height:36px}
.auth-side .login-panel .auth-provider:hover{background:#f7fbf8;color:#26703f}
.auth-side .login-panel .auth-provider:hover img{transform:none}
.auth-side .login-panel .auth-note{margin-bottom:18px;color:#6b778a}
.auth-side .login-panel .auth-captcha-row .auth-fields{display:block}
.auth-side .login-panel .auth-footnote{width:100%;margin-top:28px;text-align:center;font-size:12px;line-height:1.8;color:#6b7280}
.auth-side .login-panel .auth-footnote p{margin:0}
.auth-side .login-panel .auth-footnote p+p{margin-top:2px}
.auth-side .login-panel .auth-footnote .auth-policy-text,.auth-side .login-panel .auth-footnote a{margin:0 2px;color:#087eae;white-space:nowrap;text-decoration:none}
@media(max-width:560px){.auth-side .login-panel .auth-brand{gap:8px}.auth-side .login-panel .auth-brand-mark,.auth-side .login-panel .auth-brand-mark img{height:46px}.auth-side .login-panel .auth-brand-mark{flex-basis:46px;width:46px}.auth-side .login-panel .auth-head h1{font-size:25px}.auth-side .login-panel .auth-row{gap:10px;padding-left:12px}}
.auth-side .auth-pending{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:24px;background:rgba(255,255,255,.8);}
.auth-side .auth-pending[hidden]{display:none;}
.auth-side .auth-pending-card{box-sizing:border-box;width:min(320px,100%);padding:28px 24px;border:1px solid #f0e3d0;border-radius:16px;background:#fff;box-shadow:0 16px 50px rgba(37,50,71,.13);text-align:center;color:#253247;}
.auth-side .auth-pending-spinner{display:block;width:32px;height:32px;margin:0 auto 18px;border:3px solid #ffedd5;border-top-color:#cf6509;border-radius:50%;animation:mz-auth-pending .8s linear infinite;}
.auth-side .auth-pending-title{margin:0;font-size:17px;font-weight:600;line-height:1.5;}
.auth-side .auth-pending-detail{margin:8px 0 0;font-size:14px;line-height:1.7;color:#687386;}
@keyframes mz-auth-pending{to{transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){.auth-side *{transition:none!important;animation:none!important}}
