/* Registration header/footer CSS is scoped under .registration.
   On home and login the same markup sits in its own .registration
   strip so those rules apply, without the full-page absolute canvas. */
.site-chrome.registration {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: auto;
  overflow: visible;
  background: transparent;
}

@media (min-width: 1025px) {
  body.lm-home {
    overflow-x: clip;
  }

  .page-sheet {
    width: 1440px;
    margin: 0;
    overflow: hidden;
  }

  .page-sheet .site-chrome.registration {
    width: 1440px;
    min-width: 1440px;
  }

  .site-chrome.registration .header,
  .site-chrome.registration .footer {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin: 0;
  }

  .page-sheet .registration .ladshakhiya-wani-2 {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
  }

  .page-sheet .registration .home-about-US {
    font-size: 14px;
  }

  .page-sheet .registration .text-wrapper-3 {
    width: auto;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
  }

  .site-chrome.registration .footer {
    width: 1440px;
    height: 692px;
    overflow: visible;
  }

  .site-chrome.registration .contact-info {
    margin-top: 0;
    width: 1440px;
    height: 692px;
    position: relative;
  }

  .page-sheet .login-stage h1 {
    font-size: 32px;
  }

  .page-sheet .login-stage .login-side h2 {
    font-size: 24px;
  }

  .page-sheet .login-stage .login-lead,
  .page-sheet .login-stage .login-side li {
    font-size: 16px;
  }

  .page-sheet .site-chrome .header {
    width: 1440px;
    height: 180px;
    background: #FBFAFC;
    box-shadow: 0px 4px 14px rgba(126, 24, 121, 0.21);
  }

  .page-sheet .site-chrome.registration .rectangle-13 {
    width: 1440px;
    height: 180px;
    background: #FBFAFC;
    box-shadow: none;
  }

  .page-sheet .site-chrome.registration .home-about-US {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 761px;
    height: 20px;
    left: 629px;
    right: auto;
    top: 115px;
    margin: 0;
    gap: 0;
    font-family: "Roboto", Helvetica, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
    color: #2F3745;
  }

  .page-sheet .site-chrome.registration .home-about-US a {
    margin: 0;
    color: #2F3745;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
  }

  .page-sheet .site-chrome.registration .home-about-US a.is-active {
    color: #7E1879;
  }

  .page-sheet .site-chrome.registration .top-header,
  .page-sheet .site-chrome.registration .rectangle-24 {
    width: 1440px;
    height: 70px;
    background: #F9F0F5;
  }

  .page-sheet .site-chrome.registration .text-wrapper-35 {
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
    color: #262A30;
  }

  .page-sheet .site-chrome.registration .text-wrapper-36,
  .page-sheet .site-chrome.registration .text-wrapper-37 {
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
  }

  .page-sheet .site-chrome.registration .login-button {
    width: 112px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-sheet .site-chrome.registration .register-button,
  .page-sheet .site-chrome.registration .rectangle-14 {
    width: 119px;
    height: 40px;
  }

  .page-sheet .site-chrome.registration .register-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-sheet .site-chrome.registration .text-wrapper-37 {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-sheet .site-chrome.registration .group-20 {
    margin: 0;
    width: auto;
    align-items: center;
    justify-content: center;
  }

  .page-sheet .site-chrome.registration .ladshakhiya-wani-2 {
    width: 298px;
    margin-top: 43px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    color: #7E1879;
  }

  .page-sheet .site-chrome.registration .brand-logo-2 {
    width: 470px;
    height: 155px;
    left: 28px;
    top: 14px;
  }

  .page-sheet .site-chrome.registration .mask-group-2 {
    width: 155px;
    height: 155px;
  }

}

@media (max-width: 1024px) {
  .page-sheet {
    width: 100%;
    overflow: visible;
  }

  .page-sheet .site-chrome.registration {
    min-width: 0;
    width: 100%;
  }

  .page-sheet .registration .header,
  .page-sheet .registration .footer {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
  }

  .page-sheet .registration .header {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 16px 8px;
  }

  .page-sheet .registration .rectangle-13,
  .page-sheet .registration .rectangle-15,
  .page-sheet .registration .rectangle-16 {
    display: none;
  }

  .page-sheet .registration .top-header {
    position: relative;
    order: 1;
    width: 100%;
    height: auto;
    justify-content: flex-end;
    gap: 8px;
    padding: 8px 0;
    background: transparent;
  }

  .page-sheet .registration .brand-logo-2 {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    order: 0;
  }

  .page-sheet .registration .mask-group-2 {
    width: 64px;
    height: 64px;
  }

  .page-sheet .registration .ladshakhiya-wani-2 {
    margin-top: 8px;
    font-size: 18px;
    width: auto;
    height: auto;
  }

  .page-sheet .registration .home-about-US {
    position: relative;
    top: auto;
    left: auto;
    order: 2;
    width: 100%;
    text-align: left;
    white-space: normal;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 8px 0 4px;
    font-size: 13px;
  }

  .page-sheet .registration .contact-info,
  .page-sheet .registration .top,
  .page-sheet .registration .middle,
  .page-sheet .registration .bottom,
  .page-sheet .registration .brand-logo,
  .page-sheet .registration .left-nav,
  .page-sheet .registration .left-nav-2,
  .page-sheet .registration .left-nav-3 {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
  }

  .page-sheet .registration .top {
    padding: 24px 16px;
    align-items: center;
  }

  .page-sheet .registration .text-wrapper-3 {
    font-size: 24px;
    width: auto;
    height: auto;
    white-space: normal;
  }

  .page-sheet .registration .middle {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px 16px 28px;
  }

  .page-sheet .registration .title {
    margin: 0 auto;
    width: auto;
    height: auto;
    align-items: center;
  }

  .page-sheet .registration .div {
    margin-left: 0;
    width: auto;
  }

  .page-sheet .registration .group,
  .page-sheet .registration .row,
  .page-sheet .registration .row-2,
  .page-sheet .registration .row-3 {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-sheet .site-chrome.registration .footer,
  .page-sheet .site-chrome.registration .contact-info {
    width: 100%;
    height: auto;
  }

  .page-sheet .registration .bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    text-align: center;
    background: #f9f0f5;
  }

  .page-sheet .registration .rectangle {
    display: none;
  }

  .page-sheet .registration .bottom-inner,
  .page-sheet .registration .text-wrapper,
  .page-sheet .registration .copy,
  .page-sheet .registration .privacy-policy-terms,
  .page-sheet .registration .design-developed-by {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    white-space: normal;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    grid-template-columns: none;
  }

  .page-sheet .registration .copy {
    flex-direction: column;
    gap: 8px;
  }

  .page-sheet .registration .design-developed-by {
    justify-self: center;
    text-align: center;
  }

  .page-sheet .registration .group {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0;
    width: 100%;
  }

  .page-sheet .registration .home-history a,
  .page-sheet .registration .register-login a {
    display: block;
  }

  .page-sheet .login-stage h1 {
    font-size: 24px;
  }

  .page-sheet .login-stage .login-side h2 {
    font-size: 22px;
  }

  .page-sheet .login-stage .login-banner {
    padding: 28px 16px 8px;
  }

  .page-sheet .login-stage .login-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
}

/* Keep the shared header and footer in normal flow.
   The registration artwork stays on its 1440px sheet underneath. */
.page-sheet .site-chrome .home-about-US a + a { margin-left: 0; }
.registration .home-about-US a { color: #2F3745; }
.registration .home-about-US a.is-active { color: #7E1879; }

body.lm-home .page-login.registration {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: auto;
}

body.lm-home .login-stage {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  max-width: 1440px;
  height: auto;
}

@media (max-width: 980px) {
  body.lm-home .login-stage .login-banner {
    height: auto;
    padding: 32px 20px 8px;
  }

  body.lm-home .login-stage .login-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

@media (min-width: 801px) {
  body.lm-home .reg-sheet.registration {
    width: 1440px;
    min-width: 1440px;
    min-height: 2140px;
  }

  body.lm-home .reg-sheet .top-ban {
    top: 0;
  }

  body.lm-home .reg-sheet .left {
    top: 591px;
  }

  body.lm-home .reg-sheet .right {
    top: 615px;
  }
}

.login-design {
  position: relative;
  display: grid;
  grid-template-columns: 380px 460px;
  justify-content: center;
  gap: 72px;
  align-items: center;
  width: min(980px, calc(100% - 64px));
  margin: 36px auto 56px;
  padding: 12px 0 28px;
  overflow: visible;
}

.login-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.login-leaf-a {
  width: 160px;
  right: 40px;
  top: -10px;
}

.login-leaf-b {
  width: 140px;
  left: 40px;
  bottom: 10px;
}

.login-leaf-c {
  width: 110px;
  right: 0;
  bottom: 30px;
}

.login-copy,
.login-panel {
  position: relative;
  z-index: 1;
}

.login-welcome {
  margin: 0 0 6px;
  color: #7e1879;
  font-size: 22px;
  font-weight: 500;
}

.login-design h1 {
  margin: 0 0 12px;
  color: #7e1879;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
}

.login-intro {
  margin: 0 0 28px;
  max-width: 420px;
  color: #5c4a62;
  font-size: 16px;
  line-height: 1.45;
}

.login-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.login-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: #8d8796;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.login-points img {
  width: 64px;
  height: 64px;
}

.login-script {
  display: inline-block;
  margin: 28px 0 0 8px;
  color: #7e1879;
  font-family: "Beau Rivage", "Segoe Script", cursive;
  font-size: 40px;
  line-height: 1.05;
  transform: rotate(-12deg);
  transform-origin: left center;
}

.login-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 36px rgba(126, 24, 121, 0.12);
  padding: 28px 28px 26px;
}

.login-error {
  margin: 0 0 12px;
  color: #9d3044;
  font-size: 14px;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  margin: 0 0 22px;
}

.login-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 14px;
  border: 1.5px solid #e3d7e6;
  background: #fff;
  color: #4a4a4a;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.login-tab img {
  width: 18px;
  height: 18px;
  filter: brightness(0);
  opacity: 0.55;
}

.login-tab.is-on {
  background: #7e1879;
  color: #fff;
  border-color: #7e1879;
}

.login-tab.is-on img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.login-panel label {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  color: #3a3a3a;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.login-panel label span {
  color: #5c4a62;
}

.login-panel input[type="text"],
.login-panel input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  height: 52px;
  border: 1.5px solid #e4dce8;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  color: #333;
}

.login-panel input::placeholder {
  color: #b0a8b4;
}

.login-otp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  margin: 12px 0 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #7e1879;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.login-otp img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.page-login .login-or {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 0;
  color: #b5b5b5;
  font-size: 12px;
  letter-spacing: 0.6px;
}

.page-login .login-or::before,
.page-login .login-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ece4ee;
}

.login-pass-label {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  margin: 12px 0 12px;
  box-sizing: border-box;
  border: 1px solid #ddd4e2;
  border-radius: 10px;
  color: #6a4a72 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-align: center;
}

.login-pass-label img {
  width: 16px;
  height: 16px;
}

.login-panel input[readonly] {
  background: #f6f3f7;
  color: #6b6570;
  cursor: default;
}

.login-panel.is-mobile #password {
  display: none;
}

.login-field-error {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff1f2;
  color: #b42318;
  font-size: 13px;
  line-height: 1.4;
}

.login-otp-box {
  margin-top: 16px;
}

.login-otp-note {
  margin: 0 0 10px;
  color: #5c4a62;
  font-size: 14px;
}

.login-otp-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -12px 0 16px;
  padding: 14px 16px;
  border: 1px solid #ead7e8;
  border-radius: 12px;
  background: #f9f0f5;
}

.login-otp-demo[hidden] {
  display: none !important;
}

.login-otp-demo-label {
  color: #7e1879;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.login-otp-demo-code {
  font-family: "Courier New", Courier, monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #5d1a62;
  line-height: 1;
}

.login-otp-digits {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.login-otp-digits input {
  width: 100%;
  height: 48px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  border: 1.5px solid #e4dce8;
  border-radius: 10px;
}

.login-otp-box .login-field-error { margin-top: 16px; }
.login-resend,
.login-resend-wait {
  display: block;
  width: 100%;
  margin: 16px 0 0;
  border: 0;
  background: transparent;
  color: #7e1879;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}
.login-resend { cursor: pointer; }
.login-resend-wait { color: #8a8494; font-weight: 500; cursor: default; }
.login-resend[hidden],
.login-resend-wait[hidden] { display: none !important; }
.login-pass-wrap { position: relative; }
.login-pass-wrap input { width: 100%; padding-right: 44px; }
.login-eye {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; padding: 6px;
}
.login-eye svg { width: 20px; height: 20px; fill: none; stroke: #7e1879; stroke-width: 1.8; }
.login-eye.is-off svg { opacity: 0.45; }

.login-otp[hidden],
.login-otp-box[hidden],
.login-password-box[hidden],
#login-or[hidden],
#use-password[hidden] {
  display: none !important;
}

.login-otp.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.login-otp.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  animation: login-spin .7s linear infinite;
}

@keyframes login-spin {
  to {
    transform: rotate(360deg);
  }
}

.login-pass-label {
  cursor: pointer;
  background: #fff;
}

.login-forgot {
  display: block;
  width: 100%;
  margin: 12px 0 14px;
  text-align: center;
  color: #7e1879;
  font-size: 13px;
  font-weight: 600;
}

.login-join {
  display: grid;
  grid-template-columns: 40px 1fr 14px;
  gap: 12px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 16px;
  border-radius: 8px;
  background: #e7f6ea;
  text-decoration: none;
}

.login-join img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.login-join-arrow {
  width: 8px;
  height: 8px;
  justify-self: center;
  border-right: 2px solid #2f8f4c;
  border-top: 2px solid #2f8f4c;
  transform: rotate(45deg);
}

.login-join strong {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #1a7a36;
}

.login-join span {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #3c9a56;
}

.login-secure {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 0;
  color: #6b6b6b;
  font-size: 13px;
}

.login-secure img {
  width: 18px;
  height: 18px;
}

@media (min-width: 1025px) {
  .page-login .login-design {
    display: grid;
    grid-template-columns: 420px 520px;
    justify-content: center;
    align-items: start;
    gap: 12px 56px;
    width: min(1040px, calc(100% - 80px));
    min-height: 0;
    margin-top: 72px;
    margin-bottom: 100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  .page-login .login-copy {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .page-login .login-panel {
    grid-column: 2;
    grid-row: 1;
  }

  .page-login .login-secure {
    grid-column: 2;
    grid-row: 2;
    margin: 4px 0 0;
    justify-self: center;
  }

  .page-login .login-copy,
  .page-login .login-welcome,
  .page-login .login-design h1,
  .page-login .login-intro,
  .page-login .login-points,
  .page-login .login-points li,
  .page-login .login-script,
  .page-login .login-panel,
  .page-login .login-secure {
    position: relative;
    left: auto;
    top: auto;
    height: auto;
    transform: none;
  }

  .page-login .login-welcome {
    width: auto;
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.3;
  }

  .page-login .login-design h1 {
    width: auto;
    margin: 0 0 10px;
    font-size: 40px;
    line-height: 1.15;
  }

  .page-login .login-intro {
    width: auto;
    max-width: 380px;
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.45;
  }

  .page-login .login-points li {
    width: auto;
    margin: 0 0 16px;
    gap: 14px;
    font-size: 16px;
    line-height: 1.3;
    color: #8d8796;
  }

  .page-login .login-points img {
    width: 64px;
    height: 64px;
  }

  .page-login .login-script {
    width: auto;
    margin: 36px 0 8px 16px;
    font-size: 42px;
    line-height: 1.05;
    text-align: left;
    transform: rotate(-14deg);
  }

  .page-login .login-panel {
    width: 100%;
    height: auto;
    padding: 28px 28px 26px;
    background: #FFFFFF;
    box-shadow: 0 8px 36px rgba(126, 24, 121, 0.12);
    border-radius: 28px;
  }

  .page-login .login-secure {
    grid-column: 2;
    width: auto;
    margin: 4px 0 0;
  }
}

/* Member dashboard body (shared chrome header/footer) */
.dash-stage {
  width: min(1200px, calc(100% - 48px));
  margin: 36px auto 64px;
  padding: 0 0 24px;
  font-family: "Roboto", "Noto Sans Devanagari", Helvetica, sans-serif;
  color: #2f3745;
}

.dash-hero {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.55), transparent 42%),
    linear-gradient(135deg, #f9f0f5 0%, #efe4ec 48%, #f7f1f5 100%);
  border: 1px solid #eadfe6;
}

.dash-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7e1879;
}

.dash-hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  color: #3a1840;
}

.dash-lead {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 500;
  color: #2f3745;
  line-height: 1.5;
}

.dash-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dash-chip,
.dash-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.dash-chip {
  background: #fff;
  border: 1px solid #dcc9d8;
  color: #5a2a5e;
}

.dash-status {
  background: #fff7e8;
  color: #9a6700;
  border: 1px solid #f0d7a0;
}

.dash-status.is-approved {
  background: #eef8f0;
  color: #1f7a3a;
  border-color: #b7dfc2;
}

.dash-status.is-rejected {
  background: #fdeeee;
  color: #b42318;
  border-color: #f3c1bc;
}

.dash-hero-photo {
  width: 160px;
  height: 160px;
  justify-self: end;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 10px 28px rgba(126, 24, 121, 0.18);
  background: #fff;
}

.dash-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #f3e8f2;
  display: block;
}

.dash-alert {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f5eef5;
  border: 1px solid #e2d0e0;
}

.dash-alert.is-warn {
  background: #fdeeee;
  border-color: #f3c1bc;
}

.dash-alert.is-ok {
  background: #eef8f1;
  border-color: #b7dfc4;
}

.dash-alert strong {
  display: block;
  margin-bottom: 4px;
  color: #7e1879;
}

.dash-alert.is-warn strong {
  color: #b42318;
}

.dash-alert p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.dash-hero-actions {
  margin-top: 18px;
}

.dash-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.dash-steps a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eadfe6;
  text-decoration: none;
  color: #3a1840;
}

.dash-steps a span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7e1879;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.dash-steps a em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.dash-card {
  padding: 22px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #eadfe6;
  box-shadow: 0 8px 24px rgba(58, 24, 64, 0.04);
}

.dash-step {
  margin-top: 18px;
  scroll-margin-top: 24px;
}

.dash-step-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0e4ed;
}

.dash-step-no {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7e1879;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.dash-step-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #3a1840;
}

.dash-step-head p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #7a6a78;
}

.dash-card h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #3a1840;
}

.dash-card h3 {
  margin: 22px 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #7e1879;
}

.dash-card h3:first-of-type {
  margin-top: 0;
}

.dash-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.dash-list-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
}

.dash-list > div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fcf8fb;
  border: 1px solid #f3e8f0;
  min-width: 0;
}

.dash-list > div.is-wide {
  grid-column: 1 / -1;
}

.dash-list dt {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #7a6a78;
}

.dash-list dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #2f3745;
  word-break: break-word;
}

.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.dash-photo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-photo-row img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
  border: 1px solid #eadfe6;
  background: #f3e8f2;
  padding: 0;
  box-sizing: border-box;
}

.dash-photo-na,
.dash-hero-photo .dash-photo-na {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 80px;
  color: #7a6a78;
  font-weight: 700;
  background: #f5eef5;
}

.dash-photo-row .dash-photo-na {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  border: 1px dashed #dcc9d8;
}

.dash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: #7e1879;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #7e1879;
}

.dash-btn.is-ghost {
  background: #fff;
  color: #7e1879;
}

.dash-members {
  margin-top: 22px;
}

.dash-members-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.dash-members-head h2 {
  margin: 0;
}

.dash-members-head span {
  font-size: 14px;
  font-weight: 600;
  color: #7a6a78;
}

.dash-table-wrap {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.dash-table th,
.dash-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #f0e4ed;
  font-size: 14px;
  vertical-align: middle;
}

.dash-table th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a6a78;
}

.dash-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-person img,
.dash-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 36px;
}

.dash-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5eef5;
  color: #7e1879;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .dash-stage {
    width: calc(100% - 32px);
    margin: 20px auto 40px;
  }

  .dash-hero {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .dash-hero-photo {
    width: 120px;
    height: 120px;
    justify-self: start;
  }

  .dash-hero h1 {
    font-size: 28px;
  }

  .dash-steps {
    grid-template-columns: 1fr;
  }

  .dash-list-3 {
    grid-template-columns: 1fr;
  }

  .page-login .login-design {
    display: grid;
    grid-template-columns: 1fr;
    width: min(560px, calc(100% - 32px));
    min-height: 0;
    margin: 24px auto 40px;
    padding: 8px 0 24px;
  }

  .page-login .login-welcome,
  .page-login .login-design h1,
  .page-login .login-intro,
  .page-login .login-points li,
  .page-login .login-script,
  .page-login .login-panel,
  .page-login .login-secure {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    transform: none;
  }

  .page-login .login-design h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .page-login .login-welcome {
    font-size: 18px;
  }

  .page-login .login-intro,
  .page-login .login-points li {
    font-size: 15px;
    line-height: 1.4;
  }

  .page-login .login-points li {
    margin: 0 0 14px;
  }

  .page-login .login-script {
    margin: 12px 0 20px;
    font-size: 32px;
  }

  .page-login .login-panel {
    padding: 24px;
  }

  .login-secure {
    grid-column: 1;
  }
}

/* —— Legal pages (Privacy / Terms) —— */
.legal-stage {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 48px;
  color: #2f3745;
  scroll-behavior: smooth;
}

.legal-card[id] {
  scroll-margin-top: 24px;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 36px 32px 32px;
  background:
    radial-gradient(1200px 420px at 8% -20%, rgba(126, 24, 121, 0.16), transparent 55%),
    linear-gradient(145deg, #fffdfc 0%, #f7f0f5 48%, #efe4ef 100%);
  border: 1px solid #e7d7e4;
  box-shadow: 0 16px 40px rgba(58, 24, 64, 0.06);
}

.legal-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%);
  background-size: 220% 100%;
  animation: legal-shimmer 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes legal-shimmer {
  0%, 100% { background-position: 120% 0; opacity: 0.35; }
  50% { background-position: -20% 0; opacity: 0.7; }
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.legal-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7e1879;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  color: #3a1840;
}

.legal-lead {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5c4a62;
  max-width: 58ch;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #dcc9d8;
  color: #5a2a5e;
  font-size: 13px;
  font-weight: 600;
}

.legal-chip svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.legal-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #e2d0e0;
}

.legal-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #5a2a5e;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.legal-switch a:hover {
  background: #f3e8f1;
  transform: translateY(-1px);
}

.legal-switch a.is-on {
  background: #7e1879;
  color: #fff;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 18px;
  padding: 18px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eadfe6;
  box-shadow: 0 8px 24px rgba(58, 24, 64, 0.04);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.legal-toc.is-in {
  opacity: 1;
  transform: none;
}

.legal-toc-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7e1879;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.legal-toc a {
  position: relative;
  display: block;
  padding: 8px 10px 8px 22px;
  border-radius: 10px;
  color: #4a3b50;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-toc a::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7e1879;
  box-shadow: 0 0 0 3px rgba(126, 24, 121, 0.12);
}

.legal-toc a:hover {
  background: #f7eef6;
  color: #7e1879;
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #eadfe6;
  box-shadow: 0 10px 28px rgba(58, 24, 64, 0.04);
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.5s ease var(--legal-delay, 0ms),
    transform 0.5s ease var(--legal-delay, 0ms),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.legal-card.is-in {
  opacity: 1;
  transform: none;
}

.legal-card:hover {
  border-color: #d6b8d2;
  box-shadow: 0 14px 34px rgba(126, 24, 121, 0.1);
}

.legal-card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(160deg, #f8eef6, #efe0ec);
  color: #7e1879;
  border: 1px solid #e5cfe2;
}

.legal-card-icon svg {
  width: 26px;
  height: 26px;
}

.legal-card-body h2 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 20px;
  line-height: 1.3;
  color: #3a1840;
}

.legal-card-body h2 span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7e1879;
}

.legal-intro {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: #5c4a62;
}

.legal-points {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.legal-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: #3f3545;
}

.legal-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7e1879;
  box-shadow: 0 0 0 3px rgba(126, 24, 121, 0.12);
}

.legal-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7e1879 0%, #5d1a62 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease 120ms, transform 0.5s ease 120ms;
}

.legal-cta.is-in {
  opacity: 1;
  transform: none;
}

.legal-cta h3 {
  margin: 0;
  font-size: 20px;
}

.legal-cta p {
  margin: 8px 0 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.legal-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  color: #7e1879;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.legal-btn:hover {
  transform: translateY(-1px);
  background: #f8eef6;
}

.legal-btn.is-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.legal-btn.is-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: relative;
    top: auto;
  }

  .legal-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .legal-toc a {
    background: #f7eef6;
    padding: 8px 12px 8px 22px;
  }
}

/* Footer socials: keep alignment stable on public pages */
.site-chrome.registration .footer .footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-chrome.registration .footer .footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

@media (max-width: 900px) {
  .site-chrome.registration .footer .footer-socials {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .legal-stage {
    width: calc(100% - 20px);
    margin: 16px auto 32px;
  }

  .legal-hero {
    padding: 24px 18px 22px;
    border-radius: 18px;
  }

  .legal-card {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 12px;
  }

  .legal-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .legal-cta {
    padding: 20px 18px;
  }

  .legal-cta-actions {
    width: 100%;
  }

  .legal-btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-hero-bg,
  .legal-card,
  .legal-cta,
  .legal-toc,
  .legal-switch a,
  .legal-btn {
    animation: none !important;
    transition: none !important;
  }

  .legal-card,
  .legal-cta,
  .legal-toc {
    opacity: 1;
    transform: none;
  }
}

.profile-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
}

.pf-grid > label,
.pf-child > label,
.pf-photo > label,
.pf-repeat {
  min-width: 0;
}

.pf-grid > label,
.pf-child > label,
.pf-photo > label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  color: #4d3d4b;
  font-size: 13px;
  font-weight: 600;
}

.profile-edit label[hidden] {
  display: none !important;
}

.pf-cap {
  display: flex;
  align-items: center;
  min-height: 18px;
  line-height: 1.35;
  white-space: normal;
}

.pf-cap i {
  display: inline;
  margin-left: 3px;
  color: #c0392b;
  font-style: normal;
  font-weight: 700;
}

.profile-edit h3 {
  color: #7e1879;
}

.pf-age {
  display: block;
  min-height: 16px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #7e1879;
  line-height: 16px;
}

.profile-edit input[type="date"].date-field {
  cursor: pointer;
  position: relative;
}

.profile-edit input[type="date"].date-field::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
}

.pf-grid input,
.pf-grid select,
.pf-grid textarea,
.pf-repeat input,
.pf-child input,
.pf-child select,
.pf-photo input[type="file"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #e3d3e1;
  border-radius: 10px;
  background: #fff;
  color: #2b2030;
  font: inherit;
  font-weight: 500;
}

.pf-grid textarea {
  min-height: 88px;
  resize: vertical;
}

.pf-grid .is-wide {
  grid-column: 1 / -1;
}

.pf-grid .is-locked input {
  background: #f6f1f6;
  color: #6d5d6b;
  cursor: not-allowed;
}

.pf-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}

.pf-repeat,
.pf-child {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 8px;
}

.pf-child {
  grid-template-columns: 1.4fr 1fr 0.9fr 1.2fr auto;
  align-items: start;
  gap: 14px 16px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #efe4ee;
  border-radius: 14px;
  background: #fcfafc;
}

.pf-child > button {
  margin-top: 26px;
}

.pf-repeat button,
.pf-child button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #e3d3e1;
  border-radius: 10px;
  background: #fff;
  color: #7e1879;
  font-weight: 600;
  cursor: pointer;
}

.pf-photo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pf-photo img,
.pf-photo .dash-photo-na {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #eadfec;
  background: #f3e8f2;
}

.profile-edit .dash-hero-photo {
  background: #f3e8f2;
}

.profile-edit .dash-hero-photo img,
.profile-edit .dash-hero-photo img.is-missing {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #f3e8f2;
}

.profile-edit .pf-photo img.is-missing {
  object-fit: cover;
  padding: 0;
  background: #f3e8f2;
}

.pf-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.pf-actions .dash-btn {
  cursor: pointer;
  gap: 8px;
}

.pf-actions .dash-btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.pf-spin {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pf-spin 0.7s linear infinite;
}

@keyframes pf-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .pf-grid,
  .pf-lists,
  .pf-child {
    grid-template-columns: 1fr;
  }
}