/* Lantern & Spine account route: mobile usability repair only. */
body[data-society-page="account"]{
  min-height:100dvh;
  height:auto;
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
body[data-society-page="account"] main,
body[data-society-page="account"] #account-stage,
body[data-society-page="account"] .auth-panel,
body[data-society-page="account"] .society-form{
  height:auto;
  max-height:none;
  overflow:visible;
}
body[data-society-page="account"] .society-form label{
  min-width:0;
}
body[data-society-page="account"] .society-form input,
body[data-society-page="account"] .society-form select,
body[data-society-page="account"] .society-form textarea{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  position:static !important;
  width:100% !important;
  min-width:0 !important;
  min-height:54px !important;
  height:auto !important;
  margin:0 !important;
  padding:13px 14px !important;
  appearance:auto;
  -webkit-appearance:none;
}
body[data-society-page="account"] .society-form input[type="password"]{
  -webkit-text-security:disc;
}
@media (max-width:700px){
  body[data-society-page="account"] .society-hero{
    padding:34px 0 30px;
  }
  body[data-society-page="account"] .society-hero h1{
    font-size:clamp(2.35rem,11vw,3.65rem);
  }
  body[data-society-page="account"] .society-section{
    padding:34px 0 max(150px, env(safe-area-inset-bottom));
  }
  body[data-society-page="account"] #account-stage.container{
    padding-left:16px;
    padding-right:16px;
  }
  body[data-society-page="account"] .auth-panel{
    width:100%;
    max-width:none;
    margin:0;
    padding:22px 16px 30px;
    border-radius:20px;
  }
  body[data-society-page="account"] .auth-switch{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin-bottom:24px;
    align-items:stretch;
  }
  body[data-society-page="account"] .auth-switch button{
    width:100%;
    min-width:0;
    min-height:62px;
    padding:10px 7px;
    border-radius:18px;
    line-height:1.15;
    font-size:clamp(.78rem,3.5vw,.95rem);
    white-space:normal;
  }
  body[data-society-page="account"] .society-form{
    gap:18px;
    padding-bottom:32px;
  }
  body[data-society-page="account"] .society-form label{
    display:grid !important;
    gap:8px !important;
    font-size:.88rem;
  }
  body[data-society-page="account"] .society-form input{
    min-height:58px !important;
    font-size:16px !important;
    border-radius:14px !important;
    background:#fffef9 !important;
    border:1px solid #a89370 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7) !important;
  }
  body[data-society-page="account"] .society-form input:focus{
    outline:3px solid rgba(176,138,75,.26) !important;
    border-color:#17352f !important;
  }
  body[data-society-page="account"] .society-form .btn[type="submit"]{
    width:100%;
    min-height:58px;
    margin-top:2px;
  }
  body[data-society-page="account"] .site-footer{
    position:relative;
  }
}
@media (max-width:430px){
  body[data-society-page="account"] .auth-panel{padding-left:13px;padding-right:13px}
  body[data-society-page="account"] .auth-switch{gap:6px}
  body[data-society-page="account"] .auth-switch button{padding:9px 5px;font-size:.8rem}
}
