/* Alpha/test Church public presentation cleanup. */
body.tp-church-active .tp-church-sidebar-empty{
  display:none!important;
}
body.tp-church-active .app-shell.tp-church-no-sidebar{
  grid-template-columns:minmax(0,1fr)!important;
}
body.tp-church-active .tp-church-room{
  min-width:0;
}
body.tp-church-active .tp-church-profile-card,
body.tp-church-active .tp-church-updates,
body.tp-church-active .tp-church-digest{
  min-width:0;
}
body.tp-church-active .tp-church-identity{
  display:grid;
  grid-template-columns:minmax(120px,260px) minmax(0,1fr);
  gap:18px;
  align-items:start;
}
body.tp-church-active .tp-org-logo{
  min-height:120px;
  display:grid;
  place-items:center;
  overflow:hidden;
}
body.tp-church-active .tp-org-logo img{
  display:block;
  width:100%;
  max-width:240px;
  max-height:150px;
  object-fit:contain;
}
body.tp-church-active .tp-org-logo-image-failed img{
  display:none!important;
}
body.tp-church-active .tp-org-logo-image-failed::after{
  content:'Church';
  display:grid;
  place-items:center;
  width:100%;
  min-height:120px;
  color:#315342;
  font-weight:900;
  letter-spacing:.04em;
  background:linear-gradient(135deg,#e6eedc,#fffdf6);
}
body.tp-church-active .tp-church-fact span,
body.tp-church-active .tp-church-digest li,
body.tp-church-active .tp-church-lane-empty,
body.tp-church-active .tp-church-source-event{
  overflow-wrap:anywhere;
  word-break:normal;
}
body.tp-church-active .tp-church-updates-head small{
  white-space:normal;
  text-align:right;
}
body.tp-church-active .tp-church-actions a,
body.tp-church-active .tp-church-actions button{
  min-height:44px;
}
body.tp-church-active .tp-source-candidate-found,
body.tp-church-active .tp-selected-source-scan-card{
  display:none!important;
}
body.tp-church-active .tp-church-digest-control{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:14px;
  padding:12px;
  border:1px dashed rgba(49,92,47,.45);
  border-radius:14px;
  background:rgba(238,246,232,.72);
}
body.tp-church-active .tp-church-digest-control small{
  flex:1 1 100%;
  color:#52645b;
  line-height:1.4;
}
body.tp-church-active .tp-church-digest-control button,
body.tp-church-active .tp-church-digest-control a{
  min-height:44px;
}
body.tp-church-active .tp-church-digest-control button[disabled]{
  opacity:.62;
  cursor:wait;
}
body.tp-church-active .tp-church-digest-status{
  flex:1 1 100%;
  margin:0;
  padding:10px 12px;
  border-radius:10px;
  font-weight:800;
  line-height:1.4;
  background:#edf1ed;
  color:#31483b;
}
body.tp-church-active .tp-church-digest-status.success{
  background:#dceedd;
  color:#1f5934;
}
body.tp-church-active .tp-church-digest-status.warning{
  background:#fff3cd;
  color:#735500;
}
body.tp-church-active .tp-church-digest-status.error{
  background:#f8d7da;
  color:#842029;
}
body.tp-church-active .tp-church-digest-status.working{
  background:#e7eef6;
  color:#294f73;
}
@media(max-width:760px){
  body.tp-church-active .tp-church-identity{
    grid-template-columns:1fr;
  }
  body.tp-church-active .tp-org-logo{
    min-height:96px;
  }
  body.tp-church-active .tp-church-updates-head small{
    text-align:left;
  }
  body.tp-church-active .tp-church-digest-control>*{
    width:100%;
  }
}
