/* AfriPass Phase 6A–6C. Scoped, mobile-first overrides; no global header/body changes. */
.ap6-reset-filter {display:inline-flex;align-items:center;justify-content:center;color:#0f6d51;font-weight:750;min-height:44px;text-decoration:none;padding:.4rem .8rem}
.explore-page .directory-card {overflow:hidden;overflow-wrap:anywhere}
.explore-page .directory-card h3 {line-height:1.25}
.explore-page .directory-card span {max-width:100%;overflow-wrap:anywhere}
.explore-page .directory-card a {text-align:center}
.ap-phase6-profile, .ap-phase6-card {overflow-x:clip}
.ap-phase6-profile .pe-requirement {scroll-margin-top:90px}
.ap-phase6-profile .pe-requirement:focus-visible,.ap-phase6-profile a:focus-visible,.ap-phase6-card a:focus-visible,.ap-phase6-card button:focus-visible {outline:3px solid #1e88e5;outline-offset:3px}
.ap-phase6-profile input,.ap-phase6-profile select,.ap-phase6-profile textarea {max-width:100%;min-width:0}
.ap-phase6-profile .pe-copy-input {width:100%;min-width:0}
.ap-phase6-card .ap6-qr-link {display:block;text-align:center;max-width:100%;padding:4px;border-radius:18px}
.ap-phase6-card .ap6-qr {display:block;width:min(100%,270px);height:auto;aspect-ratio:1;object-fit:contain;margin:auto;background:white;border-radius:16px}
.ap-phase6-card .ap6-actions button,.ap-phase6-card .ap6-action-card-links button {cursor:pointer}
@media(max-width:780px){
 .explore-page .explore-search {display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .explore-page .explore-search > * {width:100%;max-width:100%}
 .ap-phase6-profile .pe-hero,.ap-phase6-profile .pe-layout,.ap-phase6-profile .pe-score-guide {min-width:0;max-width:100%}
 .ap-phase6-profile .pe-hero,.ap-phase6-profile .pe-panel {padding:clamp(18px,5vw,26px)}
 .ap-phase6-profile .pe-hero h1 {font-size:clamp(30px,8vw,48px);line-height:1.08;overflow-wrap:anywhere}
 .ap-phase6-profile .pe-actions {display:flex;gap:10px;flex-wrap:wrap}
 .ap-phase6-profile .pe-actions > * {flex:1 1 155px;text-align:center;min-width:0}
 .ap-phase6-profile .pe-two {display:grid;grid-template-columns:minmax(0,1fr)}
 .ap-phase6-profile .pe-score-guide {padding:20px}
 .ap-phase6-profile .pe-requirements {display:grid;grid-template-columns:minmax(0,1fr)}
 .ap-phase6-card .ap6-wrap {width:min(100% - 24px,1100px);max-width:100%;margin-inline:auto}
 .ap-phase6-card .ap6-hero {display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
 .ap-phase6-card .ap6-name {font-size:clamp(32px,8vw,54px);overflow-wrap:anywhere}
 .ap-phase6-card .ap6-profile-card {min-width:0;max-width:100%}
 .ap-phase6-card .ap6-actions {display:flex;flex-wrap:wrap;gap:10px}
 .ap-phase6-card .ap6-actions > * {flex:1 1 135px;min-width:0;text-align:center}
 .ap-phase6-card .ap6-topbar {max-width:100%;min-width:0;flex-wrap:wrap}
 .ap-phase6-card .ap6-top-actions {flex-wrap:wrap;max-width:100%}
 .ap-phase6-card .ap7-two {display:grid;grid-template-columns:minmax(0,1fr)}
 .ap-phase6-card .ap7-form input,.ap-phase6-card .ap7-form textarea,.ap-phase6-card .ap7-form select {max-width:100%;width:100%;min-width:0}
 .ap-phase6-card .ap6-mobile-bar {max-width:100%;overflow-x:auto}
}
@media(max-width:420px){
 .ap-phase6-card .ap6-top-actions {gap:7px}
 .ap-phase6-card .ap6-toplink {font-size:12px}
 .ap-phase6-profile .pe-wrap {width:calc(100% - 18px)}
 .ap-phase6-card .ap6-mobile-bar {gap:4px}
}
@media(prefers-reduced-motion:reduce){.ap-phase6-profile *, .ap-phase6-card *, .explore-page *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
