/* RC26R228 — Login Action Integrity — Habitat 3.44.76
 * Scope: anonymous login only. Fixes checkbox sizing and guarantees a visible primary submit.
 */
body.ottoni-account-entry-surface .ot199-auth-shell.is-login .ot227-login-form{
  gap:12px!important;
}

/* The remember control must never inherit full-size input geometry. */
body.ottoni-account-entry-surface .ot199-auth-shell.is-login .ot227-login-meta input[type="checkbox"],
body.ottoni-account-entry-surface .ot199-auth-shell.is-login .ot228-remember-checkbox{
  appearance:none!important;
  -webkit-appearance:none!important;
  box-sizing:border-box!important;
  inline-size:16px!important;
  block-size:16px!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  flex:0 0 16px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(38,55,48,.28)!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:inset 0 1px 2px rgba(25,35,31,.04)!important;
  vertical-align:middle!important;
  cursor:pointer!important;
}
body.ottoni-account-entry-surface .ot199-auth-shell.is-login .ot227-login-meta input[type="checkbox"]:checked,
body.ottoni-account-entry-surface .ot199-auth-shell.is-login .ot228-remember-checkbox:checked{
  border-color:#315f50!important;
  background:linear-gradient(145deg,#4d7a6a,#315f50)!important;
  box-shadow:inset 0 0 0 4px #fff!important;
}
body.ottoni-account-entry-surface .ot199-auth-shell.is-login .ot227-login-meta label,
body.ottoni-account-entry-surface .ot199-auth-shell.is-login .ot227-login-meta .login-remember{
  min-height:20px!important;
  gap:8px!important;
}

/* Hide legacy/owner submit controls only after R228 creates the visible action. */
body.ottoni-account-entry-surface .ot199-auth-shell.is-login .ot228-original-submit{
  display:none!important;
}
body.ottoni-account-entry-surface .ot199-auth-shell.is-login .ot228-login-actions{
  display:block!important;
  width:100%!important;
  margin:2px 0 0!important;
  padding:0!important;
}
body.ottoni-account-entry-surface .ot199-auth-shell.is-login button.ot228-login-submit{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  min-height:44px!important;
  height:44px!important;
  margin:0!important;
  padding:0 18px!important;
  border:1px solid #1f4136!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,#436f60,#2d5548)!important;
  box-shadow:0 10px 20px rgba(33,65,54,.16),inset 0 1px 0 rgba(255,255,255,.14)!important;
  color:#fff!important;
  font:800 11px/1 var(--ot199-ui)!important;
  letter-spacing:.01em!important;
  text-align:center!important;
  text-indent:0!important;
  cursor:pointer!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  z-index:3!important;
}
body.ottoni-account-entry-surface .ot199-auth-shell.is-login button.ot228-login-submit:hover{
  background:linear-gradient(145deg,#4d796a,#315e50)!important;
  box-shadow:0 13px 24px rgba(33,65,54,.20),inset 0 1px 0 rgba(255,255,255,.16)!important;
  transform:translateY(-1px)!important;
}
body.ottoni-account-entry-surface .ot199-auth-shell.is-login button.ot228-login-submit:focus-visible{
  outline:2px solid rgba(62,111,93,.55)!important;
  outline-offset:3px!important;
}

/* Action first, session metadata second: unmistakable hierarchy. */
body.ottoni-account-entry-surface .ot199-auth-shell.is-login .ot228-login-actions + .ot227-login-meta{
  margin-top:0!important;
}

@media (max-width:640px){
  body.ottoni-account-entry-surface .ot199-auth-shell.is-login button.ot228-login-submit{
    min-height:46px!important;
    height:46px!important;
  }
}
