:root {
  --auth-paper: #f7efe7;
  --auth-paper-strong: #f1e4d7;
  --auth-paper-deep: #ead9c9;
  --auth-ink: #241d1a;
  --auth-muted: #6b5e55;
  --auth-line: rgba(146, 100, 73, 0.18);
  --auth-line-strong: rgba(146, 100, 73, 0.28);
  --auth-accent: #9d1c1f;
  --auth-accent-deep: #7f1216;
  --auth-accent-soft: rgba(157, 28, 31, 0.08);
  --auth-green: #5f7a68;
  --auth-white: #fffaf5;
  --auth-shadow: 0 30px 70px rgba(125, 71, 48, 0.12);
  --auth-shadow-soft: 0 16px 34px rgba(125, 71, 48, 0.08);
}

body.auth-v2-page {
  min-height: 100vh;
  color: var(--auth-ink);
}

body.register-v2-journey-page {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.76), transparent 22%),
    linear-gradient(180deg, #f8f0e7 0%, #f7efe7 100%);
}

body.login-v2-single-page {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.78), transparent 24%),
    linear-gradient(180deg, #f8f0e7 0%, #f7efe7 100%);
}

.auth-v2-page .page-shell {
  min-height: 100vh;
}

.auth-v2-main {
  width: min(1180px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 56px 0 96px;
}

.register-v2-main {
  width: min(1460px, calc(100vw - 26px));
  padding-top: 40px;
  padding-bottom: 42px;
}

.register-v2-layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(640px, 680px);
  gap: 42px;
  align-items: start;
}

.register-v2-aside {
  position: relative;
  min-height: 980px;
  overflow: hidden;
  padding: 66px 24px 48px 34px;
}

.register-v2-bamboo,
.register-v2-ink-mountains,
.register-v2-orbit-large {
  position: absolute;
  pointer-events: none;
}

.register-v2-bamboo {
  left: -12px;
  top: 40px;
  width: 180px;
  height: 420px;
  opacity: 0.72;
  background:
    radial-gradient(circle at 42px 30px, #6e8b68 0 2px, transparent 3px),
    linear-gradient(160deg, transparent 0 45%, rgba(98, 125, 91, 0.82) 45% 47%, transparent 47% 100%),
    linear-gradient(20deg, transparent 0 42%, rgba(98, 125, 91, 0.72) 42% 44%, transparent 44% 100%),
    linear-gradient(200deg, transparent 0 52%, rgba(98, 125, 91, 0.76) 52% 54%, transparent 54% 100%);
}

.register-v2-ink-mountains {
  left: 0;
  bottom: 110px;
  width: 290px;
  height: 240px;
  opacity: 0.18;
  background:
    radial-gradient(circle at 20% 80%, rgba(40, 34, 31, 0.9), transparent 28%),
    radial-gradient(circle at 48% 72%, rgba(40, 34, 31, 0.72), transparent 24%),
    radial-gradient(circle at 74% 78%, rgba(40, 34, 31, 0.6), transparent 20%);
  filter: blur(3px);
}

.register-v2-orbit-large {
  left: 98px;
  top: 62px;
  width: 620px;
  height: 840px;
}

.register-v2-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(193, 154, 109, 0.44);
}

.register-v2-orbit-ring-a {
  transform: rotate(-9deg);
}

.register-v2-orbit-ring-b {
  inset: 78px 24px 74px 30px;
  opacity: 0.7;
}

.register-v2-orbit-node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 248, 240, 0.95);
  border: 1px solid rgba(193, 154, 109, 0.78);
  box-shadow: 0 0 0 4px rgba(255, 248, 240, 0.82);
}

.register-v2-orbit-node::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #a12a22;
}

.register-v2-orbit-node-a {
  left: 328px;
  top: 18px;
}

.register-v2-orbit-node-b {
  right: 56px;
  top: 142px;
}

.register-v2-orbit-node-c {
  left: 470px;
  bottom: 42px;
}

.register-v2-aside-copy,
.register-v2-wheel-wrap {
  position: relative;
  z-index: 2;
}

.register-v2-aside-copy {
  margin-left: 168px;
  margin-top: 104px;
  max-width: 420px;
}

.register-v2-seal-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #9d1c1f 0%, #7f1216 100%);
  color: #fff9f3;
  font-family: var(--font-display);
  font-size: 1.35rem;
  box-shadow: 0 14px 24px rgba(157, 28, 31, 0.16);
}

.register-v2-hero-title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 6vw, 6.2rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.register-v2-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 22px;
  color: #a52a22;
}

.register-v2-divider span {
  width: 74px;
  height: 1px;
  background: rgba(193, 154, 109, 0.8);
}

.register-v2-divider i {
  font-size: 0.7rem;
}

.register-v2-hero-copy {
  max-width: 420px;
  margin: 0;
  color: #5f534a;
  font-size: 1.08rem;
  line-height: 1.8;
  text-align: center;
}

.register-v2-wheel-wrap {
  margin-top: 72px;
  margin-left: 208px;
  display: flex;
  align-items: center;
  gap: 54px;
}

.register-v2-wheel {
  width: 324px;
  height: 324px;
  border-radius: 50%;
  border: 1px solid rgba(193, 154, 109, 0.55);
  background:
    repeating-conic-gradient(from 0deg, rgba(193, 154, 109, 0.3) 0deg 1deg, transparent 1deg 30deg),
    repeating-radial-gradient(circle at center, rgba(193, 154, 109, 0.32) 0 1px, transparent 1px 48px),
    radial-gradient(circle at center, rgba(158, 47, 47, 0.16) 0 48px, transparent 49px),
    rgba(255, 252, 246, 0.52);
  box-shadow: inset 0 0 0 10px rgba(255, 251, 244, 0.65);
}

.register-v2-wheel-inner {
  position: relative;
  inset: 50%;
  width: 108px;
  height: 108px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(157, 28, 31, 0.9) 0 40%, transparent 41%),
    radial-gradient(circle at center, rgba(157, 28, 31, 0.2), transparent 68%);
}

.register-v2-calligraphy {
  color: #38533d;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.12;
  letter-spacing: 0.08em;
}

.register-v2-card {
  border-radius: 28px;
  border: 1px solid rgba(183, 148, 109, 0.48);
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.95), rgba(254, 249, 242, 0.98));
  box-shadow: 0 24px 58px rgba(140, 98, 72, 0.1);
}

.register-v2-card .auth-v2-card-inner {
  padding: 30px 44px 32px;
}

.register-v2-card-top {
  text-align: center;
  margin-bottom: 22px;
}

.register-v2-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 3.4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.register-v2-step {
  margin: 10px 0 0;
  color: #a12a22;
  font-size: 0.96rem;
}

.register-v2-step-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  color: #a52a22;
}

.register-v2-step-divider span {
  width: 78px;
  height: 1px;
  background: rgba(193, 154, 109, 0.8);
}

.register-v2-step-divider i {
  font-size: 0.68rem;
}

.register-v2-form {
  gap: 14px;
}

.register-v2-form .auth-v2-field {
  gap: 8px;
}

.register-v2-form .auth-v2-field label {
  color: #2f2722;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.register-v2-input-shell input,
.register-v2-time-row .auth-v2-input-shell input,
.register-v2-ampm-shell select {
  min-height: 54px;
  border-radius: 8px;
  border: 1px solid rgba(183, 148, 109, 0.34);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: none;
}

.register-v2-input-shell input {
  padding: 0 46px 0 38px;
}

.register-v2-input-shell .fa-location-dot,
.register-v2-input-shell .fa-envelope,
.register-v2-input-shell .fa-user,
.register-v2-input-shell .fa-lock,
.register-v2-input-shell .fa-shield-halved,
.register-v2-input-shell .fa-calendar,
.register-v2-input-shell .fa-clock {
  left: 14px;
  color: #816f62;
  font-size: 0.95rem;
}

.register-v2-inline-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: -2px 0 4px;
  color: #4f6b3d;
  font-size: 0.84rem;
  line-height: 1.55;
}

.register-v2-inline-note i {
  margin-top: 2px;
}

.register-v2-optional-section {
  margin: 6px 0 4px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(183, 148, 109, 0.28);
  background: rgba(243, 239, 228, 0.7);
}

.register-v2-optional-toggle {
  padding: 14px 16px;
  color: #35563d;
}

.register-v2-optional-toggle .optional-toggle-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.register-v2-optional-toggle .optional-toggle-title em {
  color: #6b5e55;
  font-style: normal;
  font-weight: 400;
}

.register-v2-optional-content {
  display: grid;
  gap: 14px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(183, 148, 109, 0.22);
}

.register-v2-optional-content[hidden] {
  display: none;
}

.register-v2-optional-content .auth-v2-field {
  gap: 8px;
}

.register-v2-optional-content .auth-v2-field label {
  font-size: 0.83rem;
  font-weight: 700;
  color: #2f2722;
}

.register-v2-optional-toggle[aria-expanded="true"] i:last-child {
  transform: rotate(180deg);
}

.register-v2-time-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 10px;
  align-items: center;
}

.register-v2-ampm-shell select {
  width: 100%;
  padding: 0 14px;
  color: #5f534a;
  font: inherit;
}

.register-v2-location-mark {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #816f62;
}

.register-v2-checkbox {
  margin-top: 2px;
  gap: 10px;
}

.register-v2-checkbox .auth-v2-checkbox-text {
  font-size: 0.88rem;
}

.register-v2-action-stack {
  gap: 14px;
  margin-top: 8px;
}

.register-v2-submit,
.register-v2-google {
  min-height: 58px;
  border-radius: 8px;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
}

.register-v2-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: none;
}

.register-v2-or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b5e55;
  font-size: 0.92rem;
}

.register-v2-or-divider span {
  flex: 1;
  height: 1px;
  background: rgba(193, 154, 109, 0.48);
}

.register-v2-or-divider em {
  font-style: normal;
}

.register-v2-google {
  border: 1px solid rgba(157, 28, 31, 0.52);
  background: rgba(255, 255, 255, 0.82);
}

.register-v2-bottom-copy {
  margin-top: 6px;
  text-align: center;
}

.register-v2-bottom-copy p {
  margin: 10px 0 0;
  color: #5f534a;
  font-size: 0.92rem;
  line-height: 1.65;
}

.register-v2-bottom-copy a {
  color: var(--auth-accent);
  text-decoration: none;
}

.register-v2-bottom-copy a:hover {
  text-decoration: underline;
}

.login-v2-main {
  width: min(1420px, calc(100vw - 32px));
  padding-top: 36px;
  padding-bottom: 48px;
}

.login-v2-stage {
  position: relative;
  min-height: 700px;
  overflow: hidden;
}

.login-v2-mountains,
.login-v2-compass {
  position: absolute;
  pointer-events: none;
}

.login-v2-mountains {
  display: none;
}

.login-v2-compass {
  top: 70px;
  right: -60px;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.22;
  background:
    radial-gradient(circle at center, rgba(157, 28, 31, 0.05), transparent 32%),
    repeating-radial-gradient(circle at center, rgba(146, 100, 73, 0.22) 0 1px, transparent 1px 58px),
    repeating-conic-gradient(from 0deg, rgba(146, 100, 73, 0.14) 0deg 1deg, transparent 1deg 30deg);
  border: 1px solid rgba(146, 100, 73, 0.12);
}

.login-v2-card-shell {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-top: 72px;
}

.login-v2-card {
  width: min(730px, calc(100vw - 48px));
  min-height: 510px;
  padding: 36px 36px 34px;
  border-radius: 18px;
  border: 1px solid rgba(183, 148, 109, 0.52);
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.94), rgba(254, 249, 242, 0.97));
  box-shadow:
    0 24px 60px rgba(140, 98, 72, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.login-v2-card-top {
  text-align: center;
  margin-bottom: 34px;
}

.login-v2-seal-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}

.login-v2-line {
  width: 126px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 148, 109, 0.7), transparent);
}

.login-v2-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9d1c1f 0%, #7f1216 100%);
  color: #fff8f0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(157, 28, 31, 0.24);
}

.login-v2-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 4.8vw, 4.9rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.login-v2-subtitle {
  margin: 14px auto 0;
  max-width: 520px;
  color: #635950;
  font-size: 1rem;
  line-height: 1.75;
}

.login-v2-form {
  gap: 20px;
}

.login-v2-row {
  gap: 14px;
}

.login-v2-input-shell input {
  min-height: 72px;
  padding: 0 52px 0 18px;
  border-radius: 10px;
  border-color: rgba(183, 148, 109, 0.4);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  box-shadow: none;
}

.login-v2-input-shell input::placeholder {
  color: #8b837d;
}

.login-v2-input-shell > i {
  right: 18px;
  left: auto !important;
  color: rgba(77, 72, 67, 0.68);
  font-size: 1.15rem;
}

.login-v2-form .auth-v2-field {
  position: relative;
  gap: 0;
}

.login-v2-actions {
  gap: 18px;
}

.login-v2-submit,
.login-v2-google {
  min-height: 62px;
  border-radius: 8px;
  font-size: 0.96rem;
  letter-spacing: 0.16em;
}

.login-v2-submit {
  box-shadow: none;
}

.login-v2-google {
  border: 1px solid rgba(157, 28, 31, 0.52);
  background: rgba(255, 255, 255, 0.84);
}

.login-v2-google i {
  font-size: 1.6rem;
}

.login-v2-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.login-v2-links .auth-v2-mini-link,
.login-v2-register-copy {
  color: var(--auth-accent);
  font-size: 0.92rem;
  line-height: 1.6;
}

.login-v2-register-copy {
  color: #635950;
}

.login-v2-register-copy .auth-v2-mini-link {
  color: var(--auth-accent);
}

.auth-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 520px);
  gap: 28px;
  align-items: stretch;
}

.auth-v2-aside,
.auth-v2-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--auth-line);
  background: rgba(255, 250, 245, 0.78);
  box-shadow: var(--auth-shadow);
}

.auth-v2-aside {
  min-height: 760px;
  border-radius: 36px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    radial-gradient(circle at top right, rgba(157, 28, 31, 0.09), transparent 20%),
    radial-gradient(circle at 18% 22%, rgba(95, 122, 104, 0.08), transparent 18%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(247, 239, 231, 0.92));
}

.auth-v2-aside::before,
.auth-v2-card::before,
.auth-v2-floating-panel::before,
.auth-v2-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(157, 28, 31, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 28, 31, 0.025) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(circle at center, black 12%, transparent 82%);
  opacity: 0.35;
}

.auth-v2-aside-top,
.auth-v2-card-inner {
  position: relative;
  z-index: 1;
}

.auth-v2-overline {
  margin: 0 0 18px;
  color: var(--auth-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-v2-display {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.auth-v2-lede {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--auth-muted);
  font-size: 1.06rem;
  line-height: 1.9;
}

.auth-v2-simple-copy {
  max-width: 520px;
}

.auth-v2-visual {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(146, 100, 73, 0.12);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--auth-shadow-soft);
}

.auth-v2-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.auth-v2-visual-caption {
  padding: 18px 20px;
  color: var(--auth-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.auth-v2-orbit {
  width: 156px;
  height: 156px;
  margin-top: 34px;
  border: 1px solid rgba(157, 28, 31, 0.16);
  border-radius: 50%;
  position: relative;
}

.auth-v2-orbit::before,
.auth-v2-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.auth-v2-orbit::before {
  inset: 14px;
  border: 1px dashed rgba(95, 122, 104, 0.34);
}

.auth-v2-orbit::after {
  inset: 40px;
  background: radial-gradient(circle, rgba(157, 28, 31, 0.15), rgba(157, 28, 31, 0.03));
}

.auth-v2-orbit-mark {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.94rem;
  color: var(--auth-accent);
  background: rgba(255, 250, 245, 0.92);
  border: 1px solid rgba(157, 28, 31, 0.16);
}

.auth-v2-orbit-mark:nth-child(1) {
  top: 22px;
  right: 18px;
}

.auth-v2-orbit-mark:nth-child(2) {
  left: -6px;
  bottom: 40px;
}

.auth-v2-orbit-mark:nth-child(3) {
  right: 42px;
  bottom: -4px;
}

.auth-v2-signals {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.auth-v2-signal {
  min-height: 150px;
  padding: 22px 20px;
  border-radius: 24px;
  border: 1px solid rgba(146, 100, 73, 0.12);
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(18px);
}

.auth-v2-signal strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--auth-accent);
}

.auth-v2-signal p {
  margin: 0;
  color: var(--auth-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.auth-v2-card {
  border-radius: 32px;
}

.auth-v2-card-narrow {
  max-width: 680px;
  margin: 0 auto;
}

.auth-v2-card-inner {
  padding: 44px 40px 38px;
}

.auth-v2-card-top {
  margin-bottom: 28px;
}

.auth-v2-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 3vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.auth-v2-card-copy {
  margin: 16px 0 0;
  color: var(--auth-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.auth-v2-section-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--auth-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-v2-form {
  display: grid;
  gap: 16px;
}

.auth-v2-row,
.auth-v2-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-v2-field {
  display: grid;
  gap: 8px;
}

.auth-v2-field label,
.auth-v2-toggle-label {
  color: var(--auth-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-v2-input-shell {
  position: relative;
}

.auth-v2-input-shell input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px 0 46px;
  border: 1px solid var(--auth-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--auth-ink);
  font: inherit;
  font-size: 0.98rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.auth-v2-input-shell input:focus {
  outline: none;
  border-color: rgba(157, 28, 31, 0.38);
  box-shadow: 0 0 0 4px rgba(157, 28, 31, 0.08);
}

.auth-v2-input-shell i {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: rgba(157, 28, 31, 0.66);
}

.password-toggle.auth-v2-password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(107, 94, 85, 0.74);
  cursor: pointer;
}

.password-toggle.auth-v2-password-toggle:hover {
  background: rgba(157, 28, 31, 0.08);
  color: var(--auth-accent);
}

.auth-v2-inline-note,
.auth-v2-form-hint,
.auth-v2-meta-copy,
.auth-v2-links a,
.auth-v2-mini-link {
  color: var(--auth-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.auth-v2-inline-note {
  margin: -2px 0 0;
}

.auth-v2-inline-note strong {
  color: var(--auth-green);
  font-weight: 700;
}

.auth-v2-support-note {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(95, 122, 104, 0.18);
  background: rgba(95, 122, 104, 0.06);
}

.auth-v2-support-note a,
.auth-v2-links a,
.auth-v2-mini-link,
.auth-v2-checkbox-text a {
  color: var(--auth-accent);
  text-decoration: none;
}

.auth-v2-support-note a:hover,
.auth-v2-links a:hover,
.auth-v2-mini-link:hover,
.auth-v2-checkbox-text a:hover {
  text-decoration: underline;
}

.auth-v2-form-stack {
  display: grid;
  gap: 12px;
}

.auth-v2-btn,
.auth-v2-google-btn,
.btn-submit,
.btn-secondary-action {
  min-height: 58px;
  border-radius: 18px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.auth-v2-btn,
.btn-submit {
  border: 0;
  color: var(--auth-white);
  background: linear-gradient(135deg, var(--auth-accent) 0%, var(--auth-accent-deep) 100%);
  box-shadow: 0 20px 34px rgba(157, 28, 31, 0.2);
}

.auth-v2-google-btn {
  border: 1px solid var(--auth-line-strong);
  color: var(--auth-ink);
  background: rgba(255, 255, 255, 0.72);
}

.auth-v2-btn:hover,
.auth-v2-google-btn:hover,
.btn-submit:hover:not(:disabled),
.btn-secondary-action:hover {
  transform: translateY(-1px);
}

.auth-v2-checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}

.auth-v2-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--auth-accent);
}

.auth-v2-checkbox-text {
  color: var(--auth-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.auth-v2-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  color: rgba(107, 94, 85, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-v2-divider::before,
.auth-v2-divider::after {
  content: "";
  height: 1px;
  background: var(--auth-line);
}

.auth-v2-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.error-message,
.success-message,
.auth-action-panel {
  border-radius: 18px;
  padding: 14px 16px;
}

.error-message {
  color: #922b21;
  background: rgba(157, 28, 31, 0.09);
  border: 1px solid rgba(157, 28, 31, 0.16);
}

.success-message {
  color: #28553b;
  background: rgba(95, 122, 104, 0.1);
  border: 1px solid rgba(95, 122, 104, 0.16);
}

.auth-action-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--auth-line);
}

.auth-action-panel p {
  margin: 0 0 10px;
  color: var(--auth-muted);
  line-height: 1.7;
}

.btn-secondary-action {
  width: 100%;
  border: 1px solid var(--auth-line-strong);
  color: var(--auth-accent);
  background: transparent;
}

.auth-v2-floating-main {
  width: min(1180px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 34px 0 96px;
}

.auth-v2-demo-hero {
  position: relative;
  min-height: 720px;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--auth-line);
  background:
    radial-gradient(circle at 16% 16%, rgba(95, 122, 104, 0.12), transparent 18%),
    radial-gradient(circle at 84% 10%, rgba(157, 28, 31, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(241, 228, 215, 0.92));
  box-shadow: var(--auth-shadow);
}

.auth-v2-demo-header {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 30px 0;
}

.auth-v2-demo-auth {
  position: relative;
}

.auth-v2-demo-trigger {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(157, 28, 31, 0.18);
  background: rgba(255, 250, 245, 0.84);
  color: var(--auth-accent);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--auth-shadow-soft);
}

.auth-v2-floating-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(332px, calc(100vw - 28px));
  padding: 15px;
  border-radius: 24px;
  border: 1px solid rgba(146, 100, 73, 0.16);
  background: rgba(255, 251, 247, 0.94);
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 56px rgba(125, 71, 48, 0.16);
  z-index: 8;
}

.auth-v2-floating-panel[hidden] {
  display: none;
}

.auth-v2-floating-panel-inner {
  position: relative;
  z-index: 1;
}

.auth-v2-floating-head {
  margin-bottom: 11px;
}

.auth-v2-floating-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.76rem;
  line-height: 1;
}

.auth-v2-floating-head p {
  margin: 8px 0 0;
  color: var(--auth-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.auth-v2-compact-form {
  display: grid;
  gap: 8px;
}

.auth-v2-compact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.auth-v2-compact-field {
  position: relative;
}

.auth-v2-compact-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 13px 0 36px;
  border-radius: 13px;
  border: 1px solid var(--auth-line);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.9rem;
}

.auth-v2-compact-field input:focus {
  outline: none;
  border-color: rgba(157, 28, 31, 0.38);
  box-shadow: 0 0 0 4px rgba(157, 28, 31, 0.08);
}

.auth-v2-compact-field i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: rgba(157, 28, 31, 0.62);
  font-size: 0.88rem;
}

.auth-v2-compact-button,
.auth-v2-compact-google {
  min-height: 44px;
  border-radius: 13px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.auth-v2-compact-button {
  border: 0;
  background: linear-gradient(135deg, var(--auth-accent) 0%, var(--auth-accent-deep) 100%);
  color: var(--auth-white);
}

.auth-v2-compact-google {
  border: 1px solid var(--auth-line-strong);
  background: rgba(255, 255, 255, 0.8);
  color: var(--auth-ink);
}

.auth-v2-compact-links {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-v2-compact-links a,
.auth-v2-compact-copy {
  color: var(--auth-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.auth-v2-compact-links a {
  text-decoration: none;
}

.auth-v2-compact-links a:hover {
  color: var(--auth-accent);
}

.auth-v2-compact-message {
  display: none;
  border-radius: 13px;
  padding: 10px 11px;
  font-size: 0.76rem;
  line-height: 1.5;
}

.auth-v2-compact-message.is-visible {
  display: block;
}

.auth-v2-compact-message.is-error {
  color: #922b21;
  background: rgba(157, 28, 31, 0.08);
  border: 1px solid rgba(157, 28, 31, 0.14);
}

.auth-v2-compact-message.is-success {
  color: #28553b;
  background: rgba(95, 122, 104, 0.1);
  border: 1px solid rgba(95, 122, 104, 0.16);
}

.auth-v2-hero-card {
  position: absolute;
  left: 38px;
  bottom: 40px;
  width: min(520px, calc(100% - 76px));
  padding: 28px 30px;
  border-radius: 28px;
  border: 1px solid var(--auth-line);
  background: rgba(255, 251, 247, 0.76);
  backdrop-filter: blur(16px);
}

.auth-v2-hero-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 4vw, 4.4rem);
  line-height: 0.94;
}

.auth-v2-hero-card p {
  margin: 16px 0 0;
  color: var(--auth-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.auth-v2-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.auth-v2-preview-grid article {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(146, 100, 73, 0.12);
  background: rgba(255, 255, 255, 0.56);
}

.auth-v2-preview-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--auth-accent);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-v2-preview-grid span {
  color: var(--auth-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.auth-v2-footer-copy {
  margin-top: 22px;
}

.auth-v2-footer-copy p {
  margin: 0;
  color: var(--auth-muted);
  line-height: 1.8;
}

.auth-v2-layout-single {
  display: block;
}

.auth-v2-main-centered {
  width: min(780px, calc(100vw - 56px));
}

@media (max-width: 1120px) {
  .auth-v2-layout {
    grid-template-columns: 1fr;
  }

  .auth-v2-aside {
    min-height: 640px;
  }

  .register-v2-layout {
    grid-template-columns: 1fr;
  }

  .register-v2-aside {
    min-height: 760px;
    padding: 32px 18px 28px;
  }

  .register-v2-orbit-large {
    left: 30px;
    top: 50px;
    width: 84%;
    height: 620px;
  }

  .register-v2-aside-copy {
    margin-left: 96px;
    margin-top: 64px;
  }

  .register-v2-wheel-wrap {
    margin-left: 96px;
    margin-top: 44px;
  }
}

@media (max-width: 860px) {
  .auth-v2-main,
  .auth-v2-floating-main {
    width: min(100vw - 28px, 1180px);
    padding-bottom: 72px;
  }

  .auth-v2-aside,
  .auth-v2-card {
    border-radius: 28px;
  }

  .auth-v2-aside {
    padding: 34px 26px;
    min-height: auto;
    gap: 26px;
  }

  .auth-v2-signals,
  .auth-v2-preview-grid,
  .auth-v2-row,
  .auth-v2-grid-2 {
    grid-template-columns: 1fr;
  }

  .auth-v2-card-inner {
    padding: 34px 24px 28px;
  }

  .auth-v2-compact-row {
    grid-template-columns: 1fr;
  }

  .auth-v2-hero-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 250px 18px 18px;
  }

  .login-v2-main {
    width: calc(100vw - 18px);
    padding-top: 26px;
    padding-bottom: 28px;
  }

  .login-v2-stage {
    min-height: auto;
    padding-bottom: 8px;
  }

  .login-v2-compass {
    width: 78%;
    top: 120px;
    right: -26%;
  }

  .login-v2-card-shell {
    padding-top: 24px;
  }

  .login-v2-card {
    width: calc(100vw - 28px);
    min-height: auto;
    padding: 28px 18px 26px;
  }

  .login-v2-line {
    width: 72px;
  }

  .login-v2-seal {
    width: 58px;
    height: 58px;
    font-size: 1.2rem;
  }

  .login-v2-title {
    font-size: 3.2rem;
  }

  .login-v2-row {
    grid-template-columns: 1fr;
  }

  .login-v2-input-shell input {
    min-height: 76px;
  }

  .login-v2-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .register-v2-main {
    width: calc(100vw - 16px);
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .register-v2-aside {
    min-height: auto;
    padding: 18px 6px 8px;
  }

  .register-v2-bamboo,
  .register-v2-ink-mountains,
  .register-v2-orbit-large,
  .register-v2-wheel-wrap {
    display: none;
  }

  .register-v2-aside-copy {
    margin: 0;
    max-width: none;
    text-align: center;
  }

  .register-v2-seal-tag {
    margin: 0 auto;
  }

  .register-v2-hero-title {
    font-size: 3.6rem;
  }

  .register-v2-divider {
    justify-content: center;
  }

  .register-v2-hero-copy {
    margin: 0 auto;
  }

  .register-v2-card .auth-v2-card-inner {
    padding: 24px 18px 24px;
  }

  .register-v2-time-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .auth-v2-main {
    width: calc(100vw - 18px);
    padding-top: 28px;
  }

  .auth-v2-display {
    font-size: 2.7rem;
  }

  .auth-v2-card-title {
    font-size: 2.3rem;
  }

  .auth-v2-demo-header {
    padding: 18px 18px 0;
  }

  .auth-v2-demo-trigger {
    min-height: 46px;
    padding: 0 15px;
    font-size: 0.78rem;
  }

  .auth-v2-floating-panel {
    right: -4px;
    width: min(340px, calc(100vw - 24px));
  }
}
