.assistant-page{
  max-width:1100px;
  margin:0 auto;
  padding:20px 14px 40px 14px;
}

.assistant-hero{
  text-align:center;
  margin:10px auto 24px auto;
  max-width:760px;
}

.assistant-hero h1{
  margin:0 0 12px 0;
  font-size:34px;
  line-height:1.2;
  color:#111;
}

.assistant-hero p{
  margin:0;
  font-size:18px;
  line-height:1.65;
  color:#555;
}

.mla-wrap{
  max-width:820px;
  margin:0 auto;
}

.mla-top{
  margin-bottom:16px;
}

.mla-progress-label{
  font-size:14px;
  font-weight:700;
  color:#444;
  margin-bottom:8px;
}

.mla-progress{
  height:10px;
  background:#ececec;
  border-radius:999px;
  overflow:hidden;
}

.mla-progress-bar{
  height:100%;
  width:33%;
  background:linear-gradient(90deg, #111 0%, #c40000 100%);
  border-radius:999px;
  transition:width .35s ease;
}

.mla-card{
  background:#fff;
  border:1px solid #ececec;
  border-radius:20px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  padding:24px;
  overflow:hidden;
}

.mla-step-header{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:20px;
}

.mla-step-badge{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#111;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:17px;
  flex:0 0 auto;
}

#mlaQuestion{
  margin:0;
  font-size:26px;
  line-height:1.3;
  color:#111;
}

.mla-choices{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.mla-choice{
  appearance:none;
  border:1px solid #dfdfdf;
  background:#fafafa;
  border-radius:16px;
  min-height:92px;
  padding:18px 16px;
  text-align:left;
  cursor:pointer;
  font-size:17px;
  font-weight:700;
  color:#222;
  display:flex;
  align-items:center;
  gap:12px;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease;
}

.mla-choice:hover{
  transform:translateY(-2px);
  border-color:#c40000;
  background:#fffdfd;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.mla-choice:disabled{
  cursor:default;
}

.mla-choice.is-selected{
  border-color:#c40000;
  background:#fff5f5;
  box-shadow:0 8px 22px rgba(196,0,0,.10);
  transform:scale(.985);
}

.mla-choice-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  background:#fff;
  border:1px solid #ececec;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  flex:0 0 auto;
}

.mla-choice-text{
  display:block;
  line-height:1.4;
}

.mla-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:22px;
  flex-wrap:wrap;
}

.mla-btn{
  appearance:none;
  border:none;
  border-radius:12px;
  min-height:44px;
  padding:0 18px;
  cursor:pointer;
  font-size:15px;
  font-weight:700;

  display:flex;
  align-items:center;
  justify-content:center;

  line-height:1;
}

.mla-btn:hover{
  transform:translateY(-1px);
}

.mla-btn-primary{
  background:#111;
  color:#fff;
}

.mla-btn-secondary{
  background:#f3f3f3;
  color:#222;
}

.mla-btn-light{
  background:#fff;
  color:#333;
  border:1px solid #ddd;
}

.mla-loading{
  min-height:180px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:14px;
}

.mla-loading p{
  margin:0;
  font-size:17px;
  font-weight:700;
  color:#444;
}

.mla-loading-spinner{
  width:40px;
  height:40px;
  border-radius:50%;
  border:4px solid #ececec;
  border-top-color:#c40000;
  animation:mlaSpin .75s linear infinite;
}

@keyframes mlaSpin{
  to{ transform:rotate(360deg); }
}

.mla-result-intro p{
  margin:0 0 18px 0;
  font-size:17px;
  line-height:1.7;
  color:#4a4a4a;
}

.mla-result-path{
  display:inline-block;
  margin-bottom:12px;
  padding:7px 12px;
  border-radius:999px;
  background:#f6f6f6;
  border:1px solid #e7e7e7;
  font-size:13px;
  font-weight:700;
  color:#555;
}

.mla-result-links{
  display:grid;
  gap:14px;
}

.mla-result-link{
  display:block;
  text-decoration:none;
  border:1px solid #e6e6e6;
  border-radius:16px;
  padding:16px 18px;
  background:#fafafa;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mla-result-link:hover{
  transform:translateY(-2px);
  border-color:#c40000;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.mla-result-link strong{
  display:block;
  margin-bottom:6px;
  font-size:17px;
  color:#111;
}

.mla-result-link span{
  display:block;
  font-size:15px;
  line-height:1.6;
  color:#555;
}

.mla-resume-box{
  margin-top:18px;
  padding:14px 16px;
  border:1px solid #ececec;
  border-radius:16px;
  background:#fafafa;
}

.mla-resume-inner p{
  margin:0 0 12px 0;
  font-size:15px;
  color:#555;
}

.mla-resume-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.mla-error{
  margin:0;
  font-size:16px;
  color:#900;
}

.mla-animate-forward .mla-card{
  animation:mlaSlideForward .34s ease;
}

.mla-animate-backward .mla-card{
  animation:mlaSlideBackward .34s ease;
}

.mla-animate-result .mla-card{
  animation:mlaFadeUp .35s ease;
}

#mlaBackBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 14px;
  border:1px solid #dddddd;
  background:#f5f5f5;
  color:#444;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
}

#mlaBackBtn:hover{
  background:#eeeeee;
  border-color:#d2d2d2;
  color:#111;
}

#mlaBackBtn::before{
  content:"←";
  margin-right:6px;
}

@keyframes mlaSlideForward{
  from{
    opacity:0;
    transform:translateX(22px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

@keyframes mlaSlideBackward{
  from{
    opacity:0;
    transform:translateX(-22px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

@keyframes mlaFadeUp{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media (max-width: 700px){
  .assistant-hero h1{
    font-size:28px;
  }

  .assistant-hero p{
    font-size:16px;
  }

  #mlaQuestion{
    font-size:22px;
  }

  .mla-choices{
    grid-template-columns:1fr;
  }

  .mla-card{
    padding:18px;
  }

  .mla-step-header{
    align-items:flex-start;
  }

  .mla-choice{
    min-height:82px;
  }
}