.mx-path { max-width: 850px; margin: 24px auto; padding: 24px; border:1px solid #e5e7eb; border-radius:18px; background:#fff; }
.mx-path h2 { margin-top:0; }
.mx-question { padding:18px; margin:14px 0; border:1px solid #e5e7eb; border-radius:14px; background:#f9fafb; }
.mx-q-meta { font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:#64748b; margin-bottom:6px; }
.mx-choice { display:block; margin:8px 0; }
.mx-question input[type=range] { width:100%; margin-top:12px; }

body.mx-front-login {
  min-height: 100vh;
  margin: 0;
  background: #eef3f8;
  color: #132033;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mx-login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
}

.mx-login-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px;
  background: #101a2f;
  color: #fff;
}

.mx-login-logo {
  display: block;
  width: min(650px, 90vw);
  height: auto;
  max-height: 120px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 30px;
}

.mx-login-hero p {
  margin: 0 0 16px;
  color: #8fb6ff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
}

.mx-login-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

.mx-login-hero span {
  max-width: 560px;
  margin-top: 24px;
  color: #c7d5ea;
  font-size: 17px;
  line-height: 1.6;
}

.mx-login-card {
  align-self: center;
  width: min(430px, calc(100% - 48px));
  justify-self: center;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
  padding: 34px;
  box-sizing: border-box;
}

.mx-login-card-head {
  margin-bottom: 24px;
}

.mx-login-card-head strong {
  display: block;
  color: #132033;
  font-size: 30px;
  line-height: 1.15;
}

.mx-login-card-head span,
.mx-login-card small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-weight: 700;
  font-size: 13px;
}

.mx-login-card form {
  display: grid;
  gap: 12px;
}

.mx-login-card label {
  color: #26364d;
  font-weight: 900;
  font-size: 13px;
}

.mx-login-card input[type="text"],
.mx-login-card input[type="password"] {
  width: 100%;
  border: 1px solid #cfdbea;
  border-radius: 8px;
  background: #f8fbff;
  padding: 13px 14px;
  color: #132033;
  font-size: 15px;
  box-sizing: border-box;
}

.mx-login-card input:focus {
  border-color: #2f80ed;
  outline: 3px solid rgba(47, 128, 237, .16);
  background: #fff;
}

.mx-login-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 8px;
}

.mx-login-card button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #2f80ed;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.mx-login-card button:hover {
  background: #1f6fd0;
}

.mx-login-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  border-radius: 8px;
  padding: 12px 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .mx-login-shell {
    grid-template-columns: 1fr;
  }

  .mx-login-hero {
    min-height: 42vh;
    padding: 42px 26px;
  }

  .mx-login-logo {
    width: min(400px, 82.5vw);
    height: auto;
    max-height: 96px;
    margin-bottom: 24px;
  }

  .mx-login-hero h1 {
    font-size: 38px;
  }

  .mx-login-card {
    margin: 28px 0;
  }
}
