/* Auth: 左侧 SIXCH 绿品牌块 + 右侧白色表单，贴合站点浅色/绿色风格 */
html.page-auth { background: #fff; }
body.page-auth {
  padding-bottom: 0 !important;
  background: #fff !important;
  min-height: 100dvh;
  color: var(--carbon);
  position: relative;
}
body.page-auth .toast { bottom: 28px; }

/* 旧的深色全屏照片不再使用 */
.auth-scene { display: none !important; }

.skip {
  position: absolute;
  left: 8px;
  top: -40px;
  z-index: 80;
  background: var(--carbon);
  color: #fff;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}
.skip:focus { top: 8px; }

.authbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid var(--hair);
}
.authbar-inner {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
body.page-auth .wordmark,
body.page-auth .wordmark:hover { color: var(--green); }
.authbar-links { display: flex; align-items: center; gap: 20px; }
.authbar-links a { font-size: 14px; font-weight: 600; color: var(--slate); }
.authbar-links a:hover { color: var(--green); }

.auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - 64px);
  padding: 24px 16px;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgb(16 24 40 / 0.12);
}

/* 品牌绿块（复用 stage-copy 内容） */
.stage-copy {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  order: -1;
  background: linear-gradient(160deg, var(--green) 0%, var(--forest) 100%);
  color: #fff;
  padding: 32px 28px;
}
.stage-copy h2 {
  margin: 0;
  max-width: 9em;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  text-shadow: none;
}
.stage-copy h2 .lat { font-family: "DM Sans", sans-serif; }
.stage-lead {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.9);
  text-shadow: none;
}
.quote {
  margin: 24px 0 0;
  max-width: 24em;
  font-size: 16px;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.95);
}
.quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.72);
}
.assures {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.24);
  max-width: 24em;
}
.assures > div { padding-left: 0; border-left: 0; }
.assures strong { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.assures p { margin: 4px 0 0; font-size: 12px; line-height: 1.4; color: rgb(255 255 255 / 0.75); }

/* 白色表单卡 */
.desk {
  background: #fff;
  padding: 32px 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.desk-inner { width: 100%; }
.desk h1 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--carbon);
}
.desk-lead { margin: 0 0 16px; font-size: 13px; line-height: 1.45; color: var(--graphite); }

.desk .form-group { margin-bottom: 16px; }
.desk .form-group label { font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 8px; }
.desk .form-input {
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid #d4d5d8;
  font-size: 16px;
  padding: 0 14px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.desk .form-input:hover { border-color: #b8b9be; }
.desk .form-input:focus,
.desk .form-input:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(10 95 63 / 0.14);
}
.desk .form-input::placeholder { color: #8a8c94; }

.btn-go {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.btn-go:hover { background: var(--green-600); color: #fff; }
.btn-go:active { transform: translateY(1px); }

@media (min-width: 768px) {
  .authbar-inner { padding: 0 32px; }
}

@media (min-width: 960px) {
  .auth { padding: 40px; }
  .auth-card { max-width: 960px; grid-template-columns: 1fr 1fr; min-height: 680px; }
  .stage-copy { padding: 52px 48px; }
  .stage-copy h2 { font-size: 42px; }
  .desk { padding: 52px 48px; }
}

@media (min-width: 1280px) {
  .auth-card { max-width: 1040px; }
  .stage-copy { padding: 60px 56px; }
  .stage-copy h2 { font-size: 48px; }
  .desk { padding: 60px 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-go:active { transform: none; }
  .desk .form-input { transition: none; }
}

@media (max-width: 767px) {
  .authbar-links { display: none; }
  .auth { padding: 14px; }
  .stage-copy { padding: 26px 22px; }
  .stage-copy h2 { font-size: 26px; }
  .quote, .assures { display: none; }
}
