.login-main { min-height: 100svh; padding: 112px 20px 44px; overflow-x: hidden; background: var(--color-paper); }
.login-card.business-hero { display: grid; width: min(100%,1040px); margin: 0 auto; overflow: hidden; grid-template-columns: minmax(340px,.9fr) minmax(0,1.1fr); background: #fff; box-shadow: 0 22px 70px rgba(4,15,28,.16); }
.login-brand-panel { display: flex; min-height: 560px; padding: 48px; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(rgba(13,23,41,.2),rgba(13,23,41,.84)),url("../images/community-lounge.jpg") center/cover; }
.login-brand-panel h1 { margin: 12px 0 18px; font-size: clamp(2.5rem,4vw,3rem); }
.login-form-panel { display: flex; padding: 50px 52px; justify-content: center; flex-direction: column; }
.login-form-panel h2 { margin-bottom: 10px; font-size: 34px; }
.login-form-panel > p { color: var(--color-ink-soft); }
.login-form { display: grid; gap: 20px; margin-top: 34px; }
.login-field { display: grid; gap: 8px; }
.login-field input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--color-line); border-radius: 8px; }
.login-field select { width: 100%; height: 50px; padding: 0 42px 0 14px; color: var(--color-ink); background: #fff; border: 1px solid var(--color-line); border-radius: 8px; font: inherit; }
.login-field[hidden] { display: none; }
.login-field small,.login-privacy-error { min-height: 18px; color: #a43d31; }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.code-row button { padding: 0 15px; color: var(--color-ink); background: var(--color-paper); border: 1px solid var(--color-line); border-radius: 8px; }
.login-privacy { display: flex; align-items: flex-start; gap: 8px; color: var(--color-ink-soft); font-size: 13px; }
.login-submit { width: 100%; }
.login-security { margin-top: 26px; color: var(--color-ink-soft); font-size: 12px; text-align: center; }
.captcha-overlay { position: fixed; z-index: 1200; inset: 0; display: grid; padding: 20px; place-items: center; background: rgba(4,15,28,.58); }
.captcha-overlay[hidden] { display: none; }
.captcha-dialog { width: min(100%,360px); padding: 22px; background: #fff; border-radius: 12px; box-shadow: 0 24px 80px rgba(4,15,28,.28); }
.captcha-dialog__header { display: flex; align-items: center; justify-content: space-between; }
.captcha-dialog__header h2 { margin: 0; font-size: 20px; }
.captcha-close,.captcha-refresh { color: var(--color-ink); background: transparent; border: 0; cursor: pointer; }
.captcha-close { width: 36px; height: 36px; font-size: 25px; }
.captcha-stage { position: relative; width: 100%; margin-top: 16px; aspect-ratio: 5/3; overflow: hidden; background: var(--color-paper); }
.captcha-stage img { display: block; width: 100%; height: 100%; object-fit: fill; user-select: none; pointer-events: none; }
.captcha-stage [data-captcha-piece] { position: absolute; inset: 0 auto 0 0; width: 18.333%; height: 100%; }
.captcha-track { position: relative; height: 48px; margin-top: 14px; overflow: hidden; background: #eef1f5; border: 1px solid var(--color-line); border-radius: 6px; touch-action: none; }
.captcha-mask { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(184,113,62,.2); }
.captcha-handle { position: absolute; z-index: 1; inset: -1px auto -1px -1px; width: 55px; color: #fff; background: var(--color-ink); border: 0; border-radius: 6px; cursor: grab; touch-action: none; }
.captcha-handle:active { cursor: grabbing; }
.captcha-dialog__footer { display: flex; min-height: 34px; margin-top: 8px; align-items: center; justify-content: space-between; gap: 12px; }
.captcha-message { margin: 0; color: var(--color-ink-soft); font-size: 13px; }
.captcha-refresh { padding: 6px; white-space: nowrap; }

@media (max-width: 900px) {
  .login-main { padding: 88px 0 0; }
  .login-card.business-hero { grid-template-columns: 1fr; }
  .business-hero__visual { min-height: 200px; }
  .login-brand-panel.business-hero__visual { min-height: 200px; padding: 28px 24px; justify-content: flex-end; }
  .login-brand-panel h1 { margin: 6px 0 8px; font-size: 2.2rem; }
  .login-brand-panel > p:last-child { margin: 0; }
  .login-form-panel { padding: 32px 24px 40px; }
  .business-hero__panel .button { width: 100%; }
}
