/* Campo — light surfaces, shared typography, no directory filters. */
#tabMissionarios,.org-page {
  background:#f4f6f8;
  color:#192e3e
}
#tabMissionarios {
  min-height:100%
}
#tabMissionarios .section-subtitle {
  color:#506372
}
#tabMissionarios .field-search-box {
  background:#fff;
  color:#192e3e;
  border:1px solid #bacbd6;
  border-radius:24px
}
#tabMissionarios .field-search-box::placeholder {
  color:#506372
}
#tabMissionarios .cat-tab {
  color:#506372;
  border:1px solid #d9e2e8;
  background:#fff
}
#tabMissionarios .cat-tab.active {
  background:#e7f0f5;
  color:#174b69;
  border-color:#a5c5d7
}

.org-directory {
  padding:0 20px 48px;
  max-width:1160px;
  margin:auto
}
.org-rail {
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:6px 0 14px;
  scrollbar-width:thin
}
.org-button {
  display:inline-flex;
  flex-shrink:0;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  border-radius:24px;
  border:1px solid #b4c8d4;
  background:#fff;
  color:#29475a;
  font:inherit;
  font-size:14px;
  text-decoration:none;
  cursor:pointer;
  line-height:1.4
}
.org-button.is-selected,.org-button[aria-pressed="true"] {
  background:#e7f0f5;
  color:#174b69;
  border-color:#83adc5
}
.org-button:disabled {
  opacity:.7;
  cursor:default
}
.org-button:focus-visible,.org-card:focus-visible,.org-gallery button:focus-visible,.org-empty summary:focus-visible {
  outline:3px solid #2678a5;
  outline-offset:3px
}

.org-toolbar {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  margin:8px 0 18px
}
.org-toolbar>span {
  color:#506372;
  font-size:13px
}
.org-grid {
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr))
}
.org-card {
  display:flex;
  align-items:center;
  gap:14px;
  min-height:140px;
  padding:18px;
  border-radius:22px;
  border:1px solid #d9e2e8;
  box-shadow:0 8px 24px #17364a08;
  background:#fff;
  color:#192e3e;
  text-decoration:none;
  overflow:hidden
}
.org-card:hover {
  border-color:#9abacb
}
.org-avatar {
  display:flex;
  flex:0 0 68px;
  align-items:center;
  justify-content:center;
  width:68px;
  height:68px;
  border-radius:50%;
  overflow:hidden;
  background:#e7f0f5;
  color:#174b69;
  font-size:30px;
  font-weight:700
}
.org-avatar img {
  width:100%;
  height:100%;
  object-fit:contain
}
.org-card-copy {
  display:grid;
  gap:8px;
  flex:1;
  min-width:0
}
.org-card-copy strong {
  font-size:20px
}
.org-card-copy span {
  color:#506372;
  font-size:14px
}
.org-card-copy small {
  color:#5c6f7d;
  line-height:1.5
}
.org-card-cover {
  width:90px;
  height:112px;
  object-fit:cover;
  border-radius:14px
}

.org-empty {
  padding:24px;
  margin:16px 0;
  background:#fff;
  border:1px solid #d9e2e8;
  border-radius:22px
}
.org-empty h3 {
  margin:0 0 8px;
  font-size:20px
}
.org-empty p,.org-page p {
  color:#506372;
  line-height:1.7
}
.org-page {
  min-height:100%;
  padding:max(20px,env(safe-area-inset-top)) 24px 100px;
  overflow-wrap:anywhere
}
.org-page>* {
  max-width:1000px;
  margin-left:auto;
  margin-right:auto
}
.org-page h1 {
  font-size:clamp(28px,5vw,40px);
  margin:16px 0 8px
}
.org-page h2 {
  font-size:23px;
  margin:24px 0 14px
}
.org-page small {
  color:#5c6f7d
}
.org-hero {
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  border:1px solid #d9e2e8;
  margin-bottom:20px
}
.org-hero-cover {
  display:block;
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius:22px
}
.org-hero>.org-hero-cover {
  border-radius:0
}
.org-identity {
  padding:24px
}
.org-hero-cover+.org-identity {
  margin-top:-62px;
  position:relative
}
.org-identity .org-avatar {
  border:5px solid #fff;
  width:90px;
  height:90px;
  background:#e7f0f5
}
.org-tags {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:20px 0
}
.org-tags span {
  padding:12px 16px;
  border:1px solid #d9e2e8;
  border-radius:14px;
  background:#fff
}

.org-project {
  display:flex;
  gap:8px;
  border:1px solid #d9e2e8;
  border-radius:22px;
  background:#fff;
  overflow:hidden;
  margin:16px 0
}
.org-project>div {
  padding:20px;
  flex:1
}
.org-project-image {
  width:32%;
  object-fit:cover
}
.org-project h3 {
  font-size:20px;
  margin:0 0 10px
}
.org-project .org-location {
  font-size:13px
}
.org-project .org-button {
  margin-top:16px
}
.org-project progress {
  display:block;
  width:100%;
  height:9px;
  accent-color:#287799
}
.org-support {
  border-top:1px solid #d9e2e8;
  margin-top:32px
}
.org-feedback {
  min-height:24px
}
.org-demo {
  background:#fff4d7;
  color:#775512!important;
  border-radius:12px;
  padding:10px 14px;
  font-size:13px;
  line-height:1.5
}

.org-history {
  display:grid;
  gap:12px;
  margin:24px 0;
  padding:20px;
  border:1px solid #d9e2e8;
  border-radius:20px;
  text-align:left
}
.org-history a {
  color:inherit;
  min-height:44px;
  display:flex;
  align-items:center
}
.org-gallery {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px
}
.org-gallery button {
  border:1px solid #d9e2e8;
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  text-align:left;
  cursor:pointer;
  color:#29475a;
  font:inherit
}
.org-gallery img {
  width:100%;
  height:190px;
  object-fit:cover
}
.org-gallery span {
  display:block;
  padding:12px;
  font-size:13px
}
.org-film {
  padding:24px;
  border-radius:22px;
  background:#e7f0f5;
  margin:24px 0
}
.org-film h2 {
  margin-top:0
}
.org-metrics {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px
}
.org-metrics strong {
  font-size:40px;
  color:#174b69
}
.org-empty summary {
  cursor:pointer;
  font-size:18px;
  font-weight:600;
  min-height:44px
}

.org-dialog {
  background:#f4f6f8;
  color:#192e3e;
  width:min(720px,calc(100% - 32px));
  max-height:88dvh;
  border:1px solid #d9e2e8;
  border-radius:24px;
  padding:24px;
  overflow:auto
}
.org-dialog::backdrop {
  background:#152c4270
}
.org-dialog video {
  display:block;
  width:100%;
  border-radius:18px;
  margin-top:20px
}
.org-dialog p {
  line-height:1.7;
  color:#506372
}
.org-dialog .org-hero-cover {
  margin-top:18px
}
.org-amount {
  display:block;
  width:min(100%,340px);
  min-height:48px;
  padding:12px;
  border:1px solid #879fac;
  border-radius:14px;
  margin:10px 0;
  background:#fff;
  color:#192e3e;
  font:inherit
}

body:has(#tabMissionarios.active) .app-header,body:has(#tabMissionarios.active) .bottom-nav {
  background:#fffffff0;
  color:#192e3e;
  border-color:#d9e2e8
}
body:has(#tabMissionarios.active) .app-title,body:has(#tabMissionarios.active) .nav-item {
  color:#506372
}
body:has(#tabMissionarios.active) .nav-item.active {
  color:#174b69
}

@media(max-width:600px) {
  .org-page {
  padding-left:16px;
  padding-right:16px
}
.org-project {
  flex-direction:column;
  gap:0
}
.org-project-image {
  width:100%;
  height:160px
}
.org-gallery {
  display:flex;
  overflow-x:auto
}
.org-gallery button {
  flex:0 0 210px
}
.org-metrics {
  grid-template-columns:1fr;
  gap:0
}
.org-card {
  gap:10px;
  padding:14px
}
.org-card-cover {
  width:56px
}
.org-avatar {
  flex-basis:56px;
  width:56px;
  height:56px
}

}
