
/* --- R40: развилка «Гость / Владелец» на форме регистрации --- */
.is-hidden{display:none!important}

.auth-role-field .role-cards{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;
}
.role-card{
  position:relative;display:flex;cursor:pointer;
  border:1.5px solid var(--line,#e8e6de);border-radius:14px;
  background:#fff;padding:13px 14px;gap:10px;align-items:flex-start;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.role-card input[type=radio]{
  position:absolute;opacity:0;pointer-events:none;
}
.role-card-body{display:flex;flex-direction:column;gap:3px}
.role-card-title{font-weight:700;font-size:14.5px;color:var(--text,#1d2722)}
.role-card-sub{font-size:12.5px;color:var(--muted,#66756b);line-height:1.35}
.role-card:hover{border-color:var(--brand,#17513a)}
.role-card.is-active{
  border-color:var(--brand,#17513a);
  background:rgba(23,81,58,.045);
  box-shadow:0 0 0 3px rgba(23,81,58,.10);
}
.role-card.is-active .role-card-title{color:var(--brand,#17513a)}
.role-card.is-active::after{
  content:"";position:absolute;top:11px;right:11px;width:9px;height:9px;
  border-radius:50%;background:var(--brand,#17513a);
  box-shadow:0 0 0 3px rgba(23,81,58,.15);
}
@media (max-width:560px){
  .auth-role-field .role-cards{grid-template-columns:1fr}
}

/* поле инвайта — моно-акцент */
.auth-field-invite.is-hidden{display:none}

/* --- R41: auth-страницы без шапки/футера — чистый фокус --- */
body.auth-body{display:flex;flex-direction:column;min-height:100vh}
body.auth-body .auth-split{min-height:100vh}
body.auth-body .auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:44px 20px}

/* флеш-сообщения поверх auth-экрана */
.auth-flash{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:1000;width:min(560px,calc(100% - 32px))}
.auth-flash .flash{margin:0}
