@font-face { font-family: "Alibaba PuHuiTi"; src: url("/fonts/AlibabaPuHuiTi-3-55-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alibaba PuHuiTi"; src: url("/fonts/AlibabaPuHuiTi-3-65-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alibaba PuHuiTi"; src: url("/fonts/AlibabaPuHuiTi-3-85-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { --text:#262626; --muted:#595959; --soft:#8c8c8c; --line:#f0f0f0; --orange:#d97339; --orange-soft:#fff1e8; --dark:#262626; }
* { box-sizing:border-box; }
body { margin:0; color:var(--text); font-family:"Alibaba PuHuiTi"; }
a, button, input { font-family:inherit; }
a { color:inherit; text-decoration:none; }
button { border:0; cursor:pointer; }
.auth-section { min-height:680px; padding:46px 0 64px; background:linear-gradient(90deg,rgba(217,115,57,.055) 1px,transparent 1px),linear-gradient(180deg,rgba(217,115,57,.055) 1px,transparent 1px),linear-gradient(180deg,#fff7f0 0%,#fffaf7 44%,#fff 100%); background-size:72px 72px,72px 72px,auto; }
.auth-section::before { background:linear-gradient(90deg,rgba(217,115,57,.055) 1px,transparent 1px),linear-gradient(180deg,rgba(217,115,57,.055) 1px,transparent 1px),linear-gradient(180deg,#fff7f0 0%,#fffaf7 44%,#fff 100%); background-size:72px 72px,72px 72px,auto; }
.auth-card { width:min(720px,calc(100% - 48px)); margin:0 auto; padding:34px; border:1px solid rgba(217,115,57,.16); border-radius:8px; background:rgba(255,255,255,.96); box-shadow:0 22px 50px rgba(60,34,20,.09); }
.auth-card.compact { width:min(500px,calc(100% - 48px)); }
.auth-card.compact h1 { margin-top:0; }
.auth-eyebrow { display:inline-flex; padding:5px 10px; border:1px solid #f5a623; border-radius:4px; color:#f59a23; font-size:11px; font-weight:500; }
.auth-card h1 { margin:16px 0 0; font-size:30px; line-height:40px; }
.auth-lead { margin:6px 0 0; color:var(--muted); font-size:14px; line-height:22px; }
.auth-form { display:grid; gap:22px; margin-top:28px; }
.auth-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.auth-grid.single { grid-template-columns:1fr; }
.auth-field { display:grid; gap:7px; }
.auth-field label,.auth-label { color:var(--muted); font-size:12px; font-weight:500; }
.auth-field input { width:100%; height:40px; padding:9px 11px; border:1px solid #d9d9d9; border-radius:6px; outline:none; background:#fff; color:var(--text); font-size:14px; }
.auth-field-number { width:fit-content; max-width:100%; }
.auth-field-number input[type="number"] { width:calc(8ch + 44px); min-width:0; max-width:100%; padding-left:10px; padding-right:6px; text-align:center; }
.auth-field input:focus { border-color:var(--orange); box-shadow:0 0 0 3px rgba(217,115,57,.1); }
.auth-password { position:relative; }
.auth-password input { padding-right:44px; }
.password-toggle { position:absolute; right:8px; bottom:7px; width:28px; height:28px; padding:5px; background:transparent; color:var(--soft); }
.password-toggle svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; }
.auth-switch { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:8px; padding:4px; border-radius:8px; background:#fafafa; }
.auth-switch button { min-height:50px; padding:9px 12px; border:1px solid transparent; border-radius:6px; background:transparent; color:var(--muted); font-size:13px; font-weight:500; }
.auth-switch button.active { border-color:rgba(217,115,57,.5); background:#fff7f0; color:var(--text); }
.auth-actions { display:flex; justify-content:center; gap:10px; }
.auth-submit { min-width:180px; min-height:40px; padding:9px 18px; border-radius:6px; background:linear-gradient(180deg,#df7e42,var(--orange)); color:#fff; font-size:14px; font-weight:700; box-shadow:0 9px 20px rgba(217,115,57,.26); }
.auth-secondary { min-height:40px; padding:9px 16px; border:1px solid #d9d9d9; border-radius:6px; background:#fff; font-size:14px; font-weight:500; }
.auth-submit:disabled { opacity:.6; cursor:wait; }
.auth-message { padding:10px 12px; border-radius:6px; background:#f6ffed; color:#389e0d; font-size:13px; text-align:center; }
.auth-message.error { background:#fff1f0; color:#cf1322; }
.auth-message[hidden],[data-company-fields][hidden],[data-role-fields][hidden] { display:none; }
.auth-footer-link { color:var(--muted); font-size:13px; text-align:center; }
.auth-footer-link a { color:var(--orange); font-weight:500; }
@media (max-width:700px) { .auth-card,.auth-card.compact { width:calc(100% - 32px); padding:24px; } .auth-grid,.auth-switch { grid-template-columns:1fr; } .auth-actions { flex-direction:column; } .auth-actions>* { width:100%; } }
.register-section { min-height:calc(100vh - 69px); padding:18px 0 24px; }
.register-card { width:min(920px,calc(100% - 48px)); padding:22px 24px; }
.register-card h1 { margin-top:0; font-size:26px; line-height:32px; }
.register-card .auth-lead { font-size:13px; line-height:19px; }
.register-form { gap:12px; margin-top:16px; }
.register-form .auth-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 12px; }
.register-form .auth-grid.single { grid-template-columns:minmax(0,1fr); }
.register-form .auth-field { gap:4px; }
.register-form .auth-field label,
.register-form .auth-label { font-size:11px; line-height:15px; }
.register-form .auth-field input { height:34px; padding:7px 10px; font-size:13px; }
.register-form .auth-password input { padding-right:38px; }
.register-form .password-toggle { right:6px; bottom:4px; width:26px; height:26px; }
.register-form .auth-switch { gap:6px; margin-top:6px; padding:3px; border-radius:7px; }
.register-form .auth-switch button { min-height:34px; padding:6px 10px; font-size:12px; line-height:16px; }
.register-form .auth-actions { justify-content:flex-end; gap:8px; }
.register-form .auth-submit,
.register-form .auth-secondary { min-height:36px; padding:8px 14px; font-size:13px; }
.register-form .auth-submit { min-width:160px; }
.register-form .auth-message { padding:8px 10px; font-size:12px; line-height:17px; }
.register-form .auth-footer-link { margin-top:-4px; font-size:12px; line-height:17px; }

@media (max-width:900px) {
  .register-section { padding:18px 0 28px; }
  .register-card { width:calc(100% - 32px); }
  .register-form .auth-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:700px) {
  .register-card { padding:20px; }
  .register-form .auth-grid { grid-template-columns:1fr; }
  .register-form .auth-switch { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .register-form .auth-actions { flex-direction:column; }
}

.legal-consent { display:flex; align-items:flex-start; gap:9px; margin:2px 0; color:var(--muted); font-size:12px; line-height:18px; cursor:pointer; }
.legal-consent input { flex:0 0 auto; width:16px; height:16px; margin:1px 0 0; accent-color:var(--orange); }
.legal-consent a { color:var(--orange); font-weight:700; text-decoration:underline; text-underline-offset:2px; }
.auth-recovery-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.auth-recovery-actions[hidden] { display: none; }
