/* v10.41: consistent entry forms and restrained per-mode login-card outlines.
   This stylesheet is intentionally scoped to the three public entry views. */
#usergate[data-entry-mode="self"] .mdnaHomeStack > .userbox{
  --mdna-entry-accent:#4487dc;
  border:2px solid var(--mdna-entry-accent)!important;
}
#usergate[data-entry-mode="classroom"] .mdnaHomeStack > .userbox{
  --mdna-entry-accent:#d6a040;
  border:2px solid var(--mdna-entry-accent)!important;
}
#usergate[data-entry-mode="group"] .mdnaHomeStack > .userbox{
  --mdna-entry-accent:#279c8f;
  border:2px solid var(--mdna-entry-accent)!important;
}
#usergate[data-entry-mode] .mdnaHomeStack > .userbox{
  box-shadow:0 13px 34px #0c173b31,0 0 0 2px #ffffff52!important;
}
/* Same inset form panel, input width, label alignment and primary action position. */
#usergate .userbox #selfLoginArea.mdnaSelfJoin,
#usergate .userbox #sessionLoginArea .mdnaModeJoin{
  box-sizing:border-box!important;
  width:min(435px,100%)!important;
  max-width:435px!important;
  margin:12px auto 8px!important;
  padding:17px 18px 16px!important;
  background:#f3faff!important;
  border:1px solid #c9deec!important;
  border-radius:15px!important;
  text-align:center!important;
}
#usergate #selfLoginArea.mdnaSelfJoin h2,
#usergate #sessionLoginArea .mdnaModeJoin h2{
  margin:0 0 12px!important;
  color:#203955!important;
  font-size:20px!important;
  font-weight:850!important;
  line-height:1.32!important;
  text-align:center!important;
}
#usergate #selfLoginArea.mdnaSelfJoin label,
#usergate #sessionLoginArea .mdnaJoinForm label{
  display:block!important;
  margin:0 0 7px!important;
  color:#4e6578!important;
  font-size:12px!important;
  font-weight:800!important;
  text-align:center!important;
}
#usergate #selfLoginArea #codeinput,
#usergate #sessionLoginArea #playerRoomCode{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:44px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid #c2d7e6!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#19394e!important;
  font-size:16px!important;
  font-weight:800!important;
  text-align:center!important;
}
#usergate #sessionLoginArea .mdnaJoinInputRow{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
}
#usergate #selfLoginArea .mdnaSelfJoinActions{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:10px 0 0!important;
  gap:0!important;
}
#usergate #selfLoginArea .mdnaSelfJoinActions .userbtn,
#usergate #sessionLoginArea .mdnaJoinInputRow .userbtn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:154px!important;
  min-width:154px!important;
  max-width:100%!important;
  height:44px!important;
  min-height:44px!important;
  padding:9px 12px!important;
  margin:0!important;
  border-radius:11px!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
@media(max-width:700px){
  #usergate .userbox #selfLoginArea.mdnaSelfJoin,
  #usergate .userbox #sessionLoginArea .mdnaModeJoin{
    padding:15px 14px!important;
    width:100%!important;
  }
}
