/* Setup & Training Partners: shared look for the directory, join, profile, verify and workspace pages */
.sp{--ink:#10261b;--olive:#587010;--gold:#d8a010;--paper:#f5f7f0;--stone:#dfe5d3;--mut:#566257;--bad:#b91c1c;--ok:#047857}
.sp-wrap{width:min(1100px,100% - 2rem);margin-inline:auto}
.sp-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.6rem;align-items:end;background:#fff;border:1px solid var(--stone,#dfe5d3);border-radius:18px;padding:1rem}
.sp-bar label{display:grid;gap:.25rem;font-size:.9rem;color:#566257}
.sp-list{display:grid;gap:1rem;margin-top:1.2rem}
.sp-card{display:grid;grid-template-columns:64px 1fr;gap:1rem;background:#fff;border:1px solid #dfe5d3;border-radius:20px;padding:1.1rem 1.2rem}
.sp-av img{width:100%;height:100%;object-fit:cover;border-radius:50%}.sp-av{overflow:hidden;width:64px;height:64px;border-radius:50%;background:#10261b;color:#efbf3f;display:grid;place-items:center;font:700 1.4rem system-ui,sans-serif}
.sp-card h3{margin:0;font-size:1.2rem;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.sp-ok{font-size:.78rem;font-weight:700;background:#dcfce7;color:#065f46;border-radius:999px;padding:.15rem .6rem}
.sp-warn{font-size:.78rem;font-weight:700;background:#fef3c7;color:#92400e;border-radius:999px;padding:.15rem .6rem}
.sp-meta{margin:.25rem 0;color:#566257;font-size:.95rem}
.sp-chips{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:.5rem 0;padding:0}
.sp-chips li{background:#eef2e4;border-radius:999px;padding:.2rem .7rem;font-size:.85rem}
.sp-bio{margin:.4rem 0;line-height:1.5}
.sp-act{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}
.sp-act a,.sp-act button{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:.4rem 1rem;border-radius:999px;border:1.5px solid #587010;background:#fff;color:#44580c;font:600 .95rem system-ui,sans-serif;text-decoration:none;cursor:pointer}
.sp-act .go{background:#587010;color:#fff}
.sp-act a:focus-visible,.sp-act button:focus-visible{outline:3px solid #d8a010;outline-offset:2px}
.sp-note{background:#fffbeb;border:1px solid #fde68a;border-radius:14px;padding:.8rem 1rem;font-size:.95rem;line-height:1.5}
.sp-box{background:#fff;border:1px solid #dfe5d3;border-radius:18px;padding:1.1rem 1.2rem;margin:1rem 0}
.sp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.sp-form{display:grid;gap:.8rem}.sp-form label{display:grid;gap:.25rem;font-weight:600;font-size:.95rem}.sp-form small{font-weight:400;color:#566257}
.sp-form input,.sp-form select,.sp-form textarea{min-height:46px}
.sp-checks{display:flex;flex-wrap:wrap;gap:.4rem .9rem}.sp-checks label{display:flex;gap:.4rem;align-items:center;font-weight:400}
.sp-agr{max-height:220px;overflow:auto;white-space:pre-wrap;background:#f8faf3;border:1px solid #dfe5d3;border-radius:12px;padding:.8rem;font-size:.9rem;line-height:1.5}
.sp-msg{min-height:1.3em;margin:.2rem 0}.sp-msg.bad{color:#b91c1c}.sp-msg.ok{color:#047857}
.sp-tags{display:flex;flex-wrap:wrap;gap:.4rem}.sp-tags span{background:#eef2e4;border-radius:999px;padding:.2rem .4rem .2rem .8rem;display:inline-flex;gap:.3rem;align-items:center}.sp-tags button{border:0;background:transparent;font-size:1.1rem;line-height:1;cursor:pointer;min-width:28px;min-height:28px}
dialog.sp-dlg{border:0;border-radius:20px;padding:1.2rem;width:min(560px,100% - 1.5rem);max-height:92vh;overflow:auto;box-shadow:0 30px 80px -20px #000a}dialog.sp-dlg::backdrop{background:#0008}
.sp-hero{background:linear-gradient(135deg,#10261b,#17382a);color:#fff;border-radius:24px;padding:clamp(1.4rem,4vw,2.6rem);margin:1.2rem 0}
.sp-hero h2{color:#fff!important;margin:0 0 .6rem;font-size:clamp(1.5rem,3.4vw,2.3rem);line-height:1.2}.sp-hero p{margin:.4rem 0;color:#e7efe0;font-size:1.05rem;line-height:1.55;max-width:60ch}
.sp-st{display:inline-block;border-radius:999px;padding:.15rem .8rem;font-weight:700;font-size:.85rem}
.sp-st.active{background:#dcfce7;color:#065f46}.sp-st.grace,.sp-st.awaiting_payment,.sp-st.pending,.sp-st.unverified{background:#fef3c7;color:#92400e}.sp-st.rejected,.sp-st.blocked,.sp-st.expired,.sp-st.suspended{background:#fee2e2;color:#991b1b}
@media(max-width:560px){.sp-card{grid-template-columns:1fr}.sp-av{width:52px;height:52px;font-size:1.1rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
