/* Scoped to authentication; workspace and questionnaire styles stay independent. */
.login-page.auth-page {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background: radial-gradient(ellipse at 18% 12%, #cfe2ff 0, transparent 55%), linear-gradient(180deg, #e0ecff 0, #f6faff 64%, #fff 100%);
  color: #22334f; font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
.auth-page .auth-header { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 24px clamp(24px, 4vw, 64px); }
.auth-page .auth-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 700; text-decoration: none; letter-spacing: .5px; }
.auth-page .auth-brand img { border-radius: 9px; }
.auth-page .auth-home { color: #5a6f90; font-size: 13px; text-decoration: none; padding: 9px 0 9px 14px; }
.auth-page .auth-home:hover, .auth-page .auth-footer a:hover { color: #286bef; }
.auth-page .auth-layout { width: min(1060px, calc(100% - 96px)); margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) 424px; align-items: center; gap: clamp(48px, 7vw, 118px); padding: 12px 0 20px; }
.auth-page .auth-story { padding: 0 0 8px; }
.auth-page .auth-kicker { display: inline-flex; align-items: center; gap: 8px; color: #47678f; font-size: 13px; }
.auth-page .auth-kicker i { width: 6px; height: 6px; background: #5186e9; border-radius: 50%; box-shadow: 0 0 0 4px #e3edfe; }
.auth-page .auth-story h1 { font-size: clamp(30px, 3.3vw, 42px); line-height: 1.5; letter-spacing: 1px; font-weight: 650; margin: 19px 0 14px; }
.auth-page .auth-story > p { color: #677e9d; font-size: 15px; line-height: 1.9; margin: 0; }
.auth-page .auth-illustration { display: block; width: min(100%, 390px); height: auto; margin: 18px 0 -2px -15px; overflow: visible; }
.auth-page .auth-art-sheet { animation: auth-float 7s ease-in-out infinite; }
.auth-page .auth-art-badge { animation: auth-float 7s ease-in-out -2s infinite; }
.auth-page .auth-story-features { display: flex; align-items: center; gap: 17px; font-size: 13px; color: #7690af; padding-left: 20px; }
.auth-page .auth-story-features i { width: 3px; height: 3px; border-radius: 50%; background: #adc2de; }
.auth-page .auth-panel { width: 100%; background: #fff; border: 1px solid #eaf0f8; border-radius: 16px; box-shadow: 0 12px 48px #294e8910, 0 2px 6px #345b8905; padding: 26px 36px 20px; }
.auth-page .login-card { width: 100%; max-width: none; margin: 0; background: transparent; border: 0; box-shadow: none; padding: 0; }
.auth-page .auth-tabs { display: flex; align-items: center; gap: 30px; border: 0; border-bottom: 1px solid #edf1f7; border-radius: 0; padding: 0; margin: 0 0 23px; background: none; }
.auth-page .auth-tabs button { flex: none; position: relative; min-width: 34px; min-height: 42px; padding: 0 0 12px; border: 0; border-radius: 0; background: transparent; color: #8590a3; font-size: 15px; font-weight: 500; box-shadow: none; transition: color .18s; }
.auth-page .auth-tabs button.active { color: #2569e8; background: none; font-weight: 650; box-shadow: none; }
.auth-page .auth-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: #397bee; }
.auth-page .auth-card-heading { margin-bottom: 23px; }
.auth-page .auth-card-heading h2 { margin: 0 0 9px; font-size: 25px; line-height: 1.45; font-weight: 650; color: #23334c; letter-spacing: 0; }
.auth-page .auth-card-heading p { margin: 0; color: #6b7b92; font-size: 13px; line-height: 1.6; }
.auth-page .field { gap: 8px; margin: 0 0 19px; min-width: 0; }
.auth-page .field > span { font-size: 13px; color: #506079; font-weight: 500; }
.auth-page .field input { min-width: 0; height: 46px; padding: 11px 13px; border: 1px solid #e0e6ee; border-radius: 7px; background: #fff; color: #283c58; font-size: 14px; line-height: normal; box-shadow: none; transition: border-color .18s, box-shadow .18s; }
.auth-page .field input::placeholder { color: #7d8a9f; font-size: 13px; }
.auth-page .field input:hover { border-color: #bdcce2; }
.auth-page .field input:focus { border-color: #6b9af2; outline: none; box-shadow: 0 0 0 3px #4285f40d; }
.auth-page .auth-password-wrap { position: relative; min-width: 0; }
.auth-page .auth-password-wrap input { padding-right: 44px; }
.auth-page .auth-password-wrap button { position: absolute; right: 2px; top: 2px; width: 42px; height: 42px; border: 0; border-radius: 6px; background: none; color: #8a99ae; display: grid; place-items: center; }
.auth-page .auth-password-wrap button:hover { color: #2d73ea; background: #f5f8fe; }
.auth-page .auth-message { min-height: 0; margin: 0; font-size: 13px; line-height: 1.6; }
.auth-page .auth-message:not(:empty) { margin: -3px 0 14px; padding: 9px 11px; background: #fff4f2; color: #bd4c42; border-radius: 6px; }
.auth-page .auth-message.auth-notice { background: #f1f7ff; color: #54749b; }
.auth-page .auth-submit { height: 46px; min-height: 46px; background: #3478f0; border: 1px solid #3478f0; border-radius: 7px; font-weight: 500; font-size: 15px; margin: 4px 0 0; transition: background .18s, box-shadow .18s, transform .18s; }
.auth-page .auth-submit:hover { background: #2468df; border-color: #2468df; box-shadow: 0 4px 12px #3176e82b; }
.auth-page .auth-submit:active { transform: translateY(1px); }
.auth-page .auth-submit:disabled { opacity: .6; cursor: wait; }
.auth-page .auth-switch-hint { margin: 20px 0 0; text-align: center; font-size: 12px; color: #6e7f96; line-height: 1.6; }
.auth-page .auth-switch-hint button { border: 0; background: transparent; color: #3679e8; font-size: inherit; padding: 3px; }
.auth-page .auth-switch-hint button:hover { text-decoration: underline; }
.auth-page .survey-docs-entry--login { min-height: 30px; padding: 14px 0 0; margin-top: 20px; color: #6d829e; border-top: 1px solid #f0f3f8; font-size: 12px; background: none; }
.auth-page .survey-docs-entry--login svg { width: 14px; height: 14px; }
.auth-page .auth-footer { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; color: #9ba9bb; font-size: 12px; padding: 16px 24px 20px; line-height: 1.6; }
.auth-page .auth-footer a { text-decoration: none; }
.auth-page :is(a,button):focus-visible { outline: 3px solid #99bdfb; outline-offset: 3px; }
.auth-page .auth-field-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 13px; }
.auth-page.auth-register .auth-layout { padding-top: 12px; padding-bottom: 18px; }
.auth-page.auth-register .auth-panel { padding-top: 23px; }
.auth-page.auth-register .auth-tabs { margin-bottom: 21px; }
.auth-page.auth-register .auth-card-heading { margin-bottom: 23px; }
.auth-page.auth-register .auth-card-heading h2 { font-size: 23px; }
.auth-page.auth-register .field { margin-bottom: 15px; }
.auth-page.auth-register .auth-password-field { margin-bottom: 0; }
.auth-page .auth-password-hint { margin: 8px 0 14px; font-size: 12px; color: #6e8099; line-height: 1.6; }
@keyframes auth-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (min-width: 1500px) { .auth-page .auth-layout { width: 1120px; gap: 160px; grid-template-columns: 1fr 440px; } }
@media (max-width: 950px) {
  .auth-page .auth-layout { width: min(880px, calc(100% - 56px)); grid-template-columns: 1fr 400px; gap: 30px; }
  .auth-page .auth-story h1 { font-size: 31px; }
  .auth-page .auth-illustration { margin-left: -20px; }
  .auth-page .auth-story-features { padding-left: 0; gap: 12px; }
}
@media (max-width: 760px) {
  .auth-page .auth-header { padding: 22px 24px; }
  .auth-page .auth-brand { font-size: 20px; }
  .auth-page .auth-brand img { width: 32px; height: 32px; }
  .auth-page .auth-layout { width: min(424px, calc(100% - 40px)); display: block; padding: 24px 0 32px; }
  .auth-page .auth-story { display: none; }
  .auth-page .auth-panel { padding: 26px 28px 22px; border-radius: 14px; }
  .auth-page .auth-footer { padding-bottom: 20px; }
  .auth-page.auth-register .auth-layout { padding-top: 8px; }
}
@media (max-width: 380px) {
  .auth-page .auth-header { padding: 18px 20px; }
  .auth-page .auth-layout { width: calc(100% - 28px); }
  .auth-page .auth-panel { padding: 22px; }
  .auth-page .auth-card-heading h2, .auth-page.auth-register .auth-card-heading h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page *, .auth-page *::before, .auth-page *::after { animation: none !important; transition: none !important; }
}
