/* Proyecto Isaías v6.13.40 — Directorios de Comunidad */
.fj-community-directory{width:100%;max-width:none;display:grid;gap:18px;box-sizing:border-box}
.fj-community-directory *{box-sizing:border-box}
.fj-community-hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:22px;align-items:center;padding:26px;border:1px solid rgba(15,23,42,.08);border-radius:24px;background:radial-gradient(circle at 85% 20%,rgba(15,110,86,.13),transparent 28%),linear-gradient(180deg,#fff,#f7fbfa);box-shadow:0 14px 36px rgba(15,23,42,.06)}
.fj-community-hero.is-teams{background:radial-gradient(circle at 85% 20%,rgba(55,90,180,.13),transparent 28%),linear-gradient(180deg,#fff,#f7f9fd)}
.fj-community-eyebrow{display:inline-flex;align-items:center;gap:6px;color:#0f6e56;font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.fj-community-hero h2{margin:7px 0 8px;color:#0f172a;font-size:clamp(1.65rem,2.8vw,2.35rem);line-height:1.08}
.fj-community-hero p{margin:0;max-width:72ch;color:#475569;line-height:1.55}
.fj-community-hero-mark{display:grid;justify-items:center;gap:9px;padding:20px;border:1px solid rgba(15,23,42,.08);border-radius:20px;background:rgba(255,255,255,.78);text-align:center}
.fj-community-hero-mark>span{display:grid;place-items:center;width:76px;height:76px;border-radius:22px;background:#0f6e56;color:#fff;font-size:34px;font-weight:800;box-shadow:0 12px 25px rgba(15,110,86,.18)}
.fj-community-equipos .fj-community-hero-mark>span{background:#365aa5;box-shadow:0 12px 25px rgba(54,90,165,.18)}
.fj-community-hero-mark small{color:#475569;font-weight:700}
.fj-community-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:8px;border:1px solid rgba(15,23,42,.08);border-radius:20px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.fj-community-switch a{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:13px 15px;border-radius:15px;text-decoration:none;color:#475569;transition:.18s ease}
.fj-community-switch a .dashicons{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f1f5f9;color:#475569}
.fj-community-switch a b{color:#0f172a;line-height:1.2}
.fj-community-switch a small{color:#64748b}
.fj-community-switch a.is-active{background:#0f172a;color:#fff}
.fj-community-switch a.is-active b,.fj-community-switch a.is-active small{color:#fff}
.fj-community-switch a.is-active .dashicons{background:rgba(255,255,255,.14);color:#fff}
.fj-community-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.fj-community-overview article{display:grid;gap:5px;padding:15px 16px;border:1px solid rgba(15,23,42,.08);border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.fj-community-overview span{color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.fj-community-overview strong{color:#0f172a;font-size:1.55rem;line-height:1.1}
.fj-community-tools{display:grid;grid-template-columns:minmax(240px,1.7fr) minmax(170px,.7fr) minmax(180px,.8fr) auto auto;gap:10px;align-items:end;padding:13px;border:1px solid rgba(15,23,42,.08);border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.fj-community-equipos .fj-community-tools{grid-template-columns:minmax(260px,1.7fr) minmax(190px,.8fr) auto auto}
.fj-community-tools label{display:grid;gap:6px;margin:0;color:#475569;font-size:12px;font-weight:700}
.fj-community-tools select,.fj-community-tools input{width:100%;min-height:44px;margin:0!important;border:1px solid #dbe2ea!important;border-radius:12px!important;background:#fff!important;color:#0f172a!important;padding:9px 11px!important;box-shadow:none!important;font:inherit!important}
.fj-community-search{position:relative}
.fj-community-search>span{position:absolute;left:12px;bottom:12px;color:#64748b;z-index:2}
.fj-community-search input{padding-left:38px!important}
.fj-community-chip{min-height:44px;padding:9px 13px;border:1px solid #dbe2ea;border-radius:12px;background:#f8fafc;color:#334155;font-weight:800;cursor:pointer;white-space:nowrap}
.fj-community-chip.is-active{background:#0f6e56;color:#fff;border-color:#0f6e56}
.fj-community-results-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.fj-community-results-head strong{color:#0f172a;font-size:1.1rem}
.fj-community-results-head span,.fj-community-results-head small{color:#64748b}
.fj-community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.fj-community-grid.is-teams{grid-template-columns:repeat(2,minmax(0,1fr))}
.fj-community-person-card,.fj-community-team-card{display:grid;gap:13px;min-width:0;padding:16px;border:1px solid rgba(15,23,42,.09);border-radius:20px;background:#fff;box-shadow:0 9px 26px rgba(15,23,42,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.fj-community-person-card:hover,.fj-community-team-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(15,23,42,.09);border-color:rgba(15,110,86,.22)}
.fj-community-person-card.is-me,.fj-community-team-card.is-mine{border-color:rgba(15,110,86,.35);box-shadow:0 10px 28px rgba(15,110,86,.08)}
.fj-community-person-head,.fj-community-team-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;min-width:0}
.fj-community-team-head{padding-top:6px;border-top:4px solid var(--fj-team-accent,#0f6e56)}
.fj-community-avatar-wrap,.fj-community-team-icon{position:relative;min-width:0}
.fj-community-avatar-wrap .fj-avatar,.fj-community-team-icon .fj-team-icon{width:64px!important;height:64px!important}
.fj-community-person-id,.fj-community-team-head>div:nth-child(2){min-width:0}
.fj-community-person-id h3,.fj-community-team-head h3{margin:2px 0 3px;color:#0f172a;font-size:1.05rem;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
.fj-community-person-id p,.fj-community-team-head p{margin:0;color:#64748b;font-size:13px;white-space:normal}
.fj-community-kickers{display:flex;flex-wrap:wrap;gap:5px;min-height:0}
.fj-community-kickers span{display:inline-flex;padding:4px 7px;border-radius:999px;background:#eef2f7;color:#475569;font-size:10px;font-weight:900;letter-spacing:.04em}
.fj-community-kickers .is-you{background:#dcfce7;color:#166534}
.fj-community-kickers .is-free{background:#fff7ed;color:#9a3412}
.fj-community-level{display:grid;justify-items:center;min-width:54px;padding:8px 9px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0}
.fj-community-level span{color:#64748b;font-size:10px;text-transform:uppercase}
.fj-community-level strong{color:#0f172a;font-size:1.2rem}
.fj-community-person-metrics,.fj-community-team-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.fj-community-person-metrics>div,.fj-community-team-metrics>div,.fj-community-team-focus>div{display:grid;gap:3px;padding:10px;border-radius:14px;background:#f8fafc;border:1px solid rgba(15,23,42,.06);min-width:0}
.fj-community-person-metrics span,.fj-community-team-metrics span,.fj-community-team-focus span{color:#64748b;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.fj-community-person-metrics strong,.fj-community-team-metrics strong,.fj-community-team-focus strong{color:#0f172a;font-size:13px;line-height:1.25;overflow-wrap:anywhere}
.fj-community-person-metrics small,.fj-community-team-focus small{color:#64748b;font-size:11px}
.fj-community-badge-line{min-height:28px;display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.fj-community-open{width:100%;justify-content:center!important;text-align:center}
.fj-community-team-focus{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fj-community-empty{padding:24px;border:1px dashed #cbd5e1;border-radius:18px;background:#f8fafc;text-align:center}
.fj-community-empty strong{display:block;color:#0f172a}.fj-community-empty span{color:#64748b}
.fj-community-directory [hidden]{display:none!important}
@media(max-width:1180px){.fj-community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fj-community-tools{grid-template-columns:minmax(220px,1.4fr) repeat(2,minmax(160px,.7fr));}.fj-community-tools .fj-community-chip{width:100%}.fj-community-equipos .fj-community-tools{grid-template-columns:minmax(230px,1.4fr) minmax(180px,.7fr) auto auto}}
@media(max-width:900px){.fj-community-hero{grid-template-columns:1fr}.fj-community-hero-mark{grid-template-columns:auto 1fr;justify-items:start;text-align:left;min-height:0}.fj-community-hero-mark>span{width:56px;height:56px;border-radius:16px;font-size:26px}.fj-community-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.fj-community-tools,.fj-community-equipos .fj-community-tools{grid-template-columns:1fr 1fr}.fj-community-grid,.fj-community-grid.is-teams{grid-template-columns:1fr}}
@media(max-width:640px){.fj-community-hero{padding:18px;border-radius:19px}.fj-community-switch{grid-template-columns:1fr}.fj-community-overview{grid-template-columns:1fr 1fr}.fj-community-tools,.fj-community-equipos .fj-community-tools{grid-template-columns:1fr}.fj-community-person-head,.fj-community-team-head{grid-template-columns:auto minmax(0,1fr)}.fj-community-level{grid-column:1/-1;grid-template-columns:auto auto;justify-content:space-between;width:100%}.fj-community-person-metrics,.fj-community-team-metrics{grid-template-columns:1fr 1fr}.fj-community-person-metrics>div:last-child,.fj-community-team-metrics>div:last-child{grid-column:1/-1}.fj-community-results-head{align-items:flex-start}.fj-community-results-head small{width:100%}}
@media(max-width:420px){.fj-community-overview{grid-template-columns:1fr}.fj-community-person-metrics,.fj-community-team-metrics,.fj-community-team-focus{grid-template-columns:1fr}.fj-community-person-metrics>div:last-child,.fj-community-team-metrics>div:last-child{grid-column:auto}.fj-community-switch a{grid-template-columns:auto 1fr;padding:11px}.fj-community-person-card,.fj-community-team-card{padding:13px}}
