.auth__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas: "side main";
  gap: 18px 40px;
  align-items: start;
  margin-top: 10px;
}
.auth__main { grid-area: main; min-width: 0; }
.auth__side { grid-area: side; min-width: 0; }

.auth__card {
  background: #fff;
  border: 1px solid var(--rose-soft);
  border-radius: 12px;
  overflow: hidden;
}
.auth__head { display: grid; gap: 6px; padding: 24px 28px 18px; }
.auth__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.1vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.auth__sub { margin: 0; color: var(--ink-soft); font-size: 14px; }

.auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rose-soft);
}
.auth__tab {
  height: 52px;
  padding: 0 16px;
  margin-bottom: -1px;
  background: var(--rose-mist);
  border: 0;
  border-bottom: 2px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-soft);
  cursor: pointer;
}
.auth__tab:first-child { border-right: 1px solid var(--rose-soft); }
.auth__tab[aria-selected="true"] { background: #fff; color: var(--ink); border-bottom-color: var(--rose); }

.auth__pane { display: grid; gap: 14px; padding: 26px 28px 28px; margin: 0; }
.auth__pane[hidden] { display: none; }
.auth__card--solo .auth__title + .auth__sub { margin-top: -8px; }
.auth__pane .btn--full { height: 38px; padding: 0 14px; font-weight: 400; }
.auth__pane--ok { justify-items: center; text-align: center; padding: 36px 28px; }
.auth__pane--ok .auth__sub { max-width: 440px; }
.auth__pane--ok .btn { max-width: 320px; }
.auth__okic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rose-mist);
  color: var(--rose-deep);
}
.auth__back { margin: 0; text-align: center; font-size: 13.5px; }

.auth-f { display: grid; gap: 6px; min-width: 0; }
.auth-f label { font-size: 13px; color: var(--ink); }
.auth-f small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--ink-mute); }
.auth-f small a { color: var(--rose-deep); }

.auth-pwd { position: relative; }
.auth-pwd .field { padding-right: 48px; }
.auth-eye {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink-mute);
  cursor: pointer;
}
.auth-eye:hover,
.auth-eye.is-on { color: var(--rose-deep); }

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
}
.auth-chk { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-soft); cursor: pointer; }
.auth-chk--consent { align-items: flex-start; gap: 12px; font-size: 11.5px; line-height: 1.55; color: var(--ink-mute); }
.auth-chk--consent input { margin-top: 2px; }
.auth-chk--consent a { color: var(--rose-deep); }
.auth-lnk { color: var(--rose-deep); }
.auth-lnk:hover { color: var(--ink); }

.auth-alert { padding: 12px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.5; }
.auth-alert--err { background: var(--err-bg); border: 1px solid #EBC3C7; color: #8A2C34; }
.auth-alert--ok { background: #EEF5E4; border: 1px solid var(--green-soft); color: #3C5A1F; }
.auth-alert a { color: inherit; }
.auth-alert strong,
.auth-alert b { font-weight: 500; }

.auth-fe { font-size: 12.5px; color: #8A2C34; }
.auth-fe[hidden] { display: none; }

.auth-meter { display: grid; gap: 6px; margin-top: -4px; }
.auth-meter__bar { display: block; height: 6px; border-radius: 999px; background: #ECE6EC; overflow: hidden; }
.auth-meter__bar i { display: block; width: 0; height: 100%; border-radius: 999px; background: #D9858D; transition: width 0.2s, background 0.2s; }
.auth-meter__txt { font-size: 12.5px; color: var(--ink-mute); }

.auth__side-head { margin-bottom: var(--sp-title); }
.auth__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  color: var(--rose-deep);
}
.auth__h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(21px, 2.1vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.auth__h2 em { font-style: italic; font-weight: 400; color: var(--rose-deep); }

.auth__adv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.auth__advc {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  align-content: start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.auth__advi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-card);
  background: var(--rose-mist);
  color: var(--rose-deep);
}
.auth__advc h3 { margin: 0; font-family: var(--font-display); font-size: 16px; line-height: 1.3; font-weight: 500; }
.auth__advc p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }

.auth__lv {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--rose-mist);
  border: 1px solid var(--rose-soft);
  border-radius: var(--r-card);
}
.auth__lv-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.auth__lv-head h3 { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 500; }
.auth__lv-head span { font-size: 12.5px; color: var(--ink-mute); }
.auth__lvg { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.auth__lvc {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 12px 8px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--rose-soft);
  border-radius: var(--r-card);
}
.auth__lvn { font-size: 13.5px; font-weight: 500; }
.auth__lvp { font-family: var(--font-display); font-size: 22px; line-height: 1.2; color: var(--rose-deep); }
.auth__lvc small { font-size: 12px; color: var(--ink-mute); }

@media (max-width: 1100px) {
  .auth__adv { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .auth__pane .btn--full { height: 40px; }
  .auth__grid { grid-template-columns: 1fr; grid-template-areas: "main" "side"; }
  .auth__adv { grid-template-columns: 1fr 1fr; }
  .auth__pane { padding: 18px 18px 24px; }
  .auth__head { padding: 20px 18px 14px; }
  .auth__card .field { font-size: 16px; }
  .auth__tab { font-size: 14px; }
}
@media (max-width: 560px) {
  .auth__adv { grid-template-columns: 1fr; }
}
