/* ============================================================
   SJCS ADMIN — LEADERSHIP & MANAGEMENT
   ============================================================ */
.sjcs-leadership{max-width:1400px;margin:0 auto;padding:6px 0 30px}
.sjcs-leadership-hero{background:linear-gradient(135deg,#0f5132,#176b43);border-radius:18px;padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#fff;box-shadow:0 12px 30px rgba(15,81,50,.14)}
.sjcs-eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:800;opacity:.78;margin-bottom:7px}
.sjcs-leadership-hero h1{margin:0;font-size:27px;letter-spacing:-.4px}
.sjcs-leadership-hero p{margin:7px 0 0;opacity:.86;font-size:14px}
.sjcs-primary-btn,.sjcs-secondary-btn{border:0;border-radius:10px;padding:11px 16px;font-weight:700;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:.18s ease}
.sjcs-primary-btn{background:#c9a227;color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.12)}
.sjcs-primary-btn:hover{transform:translateY(-1px);filter:brightness(1.04)}
.sjcs-secondary-btn{background:#fff;color:#294235;border:1px solid #dce6df}
.sjcs-secondary-btn:hover{background:#f4f8f5}
.sjcs-primary-btn:disabled{opacity:.65;cursor:not-allowed}
.sjcs-leadership-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}
.sjcs-stat{background:#fff;border:1px solid #e4ebe6;border-radius:15px;padding:17px 19px;display:flex;align-items:center;gap:13px;box-shadow:0 4px 15px rgba(20,50,35,.04)}
.sjcs-stat-icon{width:40px;height:40px;border-radius:11px;background:#edf7f0;color:#176b43;display:grid;place-items:center;font-size:17px}
.sjcs-stat strong{display:block;font-size:21px;color:#173b29}
.sjcs-stat small{display:block;color:#7a8981;margin-top:2px;font-size:12px}
.sjcs-leadership-card{background:#fff;border:1px solid #e4ebe6;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px rgba(20,50,35,.045)}
.sjcs-card-head{padding:20px 22px;border-bottom:1px solid #edf1ee;display:flex;justify-content:space-between;align-items:center;gap:18px}
.sjcs-card-head h2{margin:0;color:#173b29;font-size:18px}
.sjcs-card-head p{margin:5px 0 0;color:#7b8982;font-size:12px}
.sjcs-card-actions{display:flex;gap:9px;align-items:center}
#sjcs-member-search{width:210px;border:1px solid #dce5df;border-radius:9px;padding:10px 12px;outline:0;font-size:13px}
#sjcs-member-search:focus{border-color:#176b43;box-shadow:0 0 0 3px rgba(23,107,67,.08)}
.sjcs-table-wrap{overflow:auto}
.sjcs-leadership-table{width:100%;border-collapse:collapse;min-width:760px}
.sjcs-leadership-table th{text-align:left;background:#f7faf8;color:#68776f;font-size:11px;text-transform:uppercase;letter-spacing:.65px;padding:12px 18px;border-bottom:1px solid #e9efeb}
.sjcs-leadership-table td{padding:13px 18px;border-bottom:1px solid #eef2ef;color:#263d31;font-size:13px}
.sjcs-leadership-table tbody tr:hover{background:#fbfdfc}
.order-col{width:60px;text-align:center!important}
.action-col{width:115px;text-align:right!important}
.sjcs-order{font-weight:800;color:#9aa69f}
.sjcs-person{display:flex;align-items:center;gap:11px}
.sjcs-avatar{width:38px;height:38px;border-radius:11px;background:#eaf5ee;color:#176b43;display:grid;place-items:center;font-weight:800;font-size:11px;flex:0 0 auto}
.sjcs-person strong{display:block;color:#1d3529;font-size:13px}
.sjcs-person small{display:block;color:#9aa59f;margin-top:2px;font-size:10px}
.sjcs-role{display:inline-flex;padding:6px 10px;border-radius:8px;background:#f4f7f5;color:#3d5648;font-weight:700;font-size:11px}
.sjcs-status{border:0;border-radius:20px;padding:6px 11px;font-size:11px;font-weight:800;cursor:pointer}
.sjcs-status.active{background:#e8f7ed;color:#187143}
.sjcs-status.inactive{background:#f1f2f2;color:#7a8580}
.sjcs-row-btn{width:31px;height:31px;border-radius:8px;border:1px solid #e0e7e2;background:#fff;cursor:pointer;margin-left:5px}
.sjcs-row-btn.edit{color:#176b43}.sjcs-row-btn.delete{color:#b04a4a}
.sjcs-row-btn:hover{background:#f5f8f6}
.sjcs-loading,.sjcs-empty{text-align:center!important;padding:35px!important;color:#8b9791!important}
.sjcs-empty.error{color:#b04a4a!important}
.sjcs-leadership-note{margin-top:14px;padding:13px 16px;border-radius:12px;background:#f4faf6;border:1px solid #dcece1;color:#5d7165;display:flex;gap:10px;font-size:12px}
.sjcs-leadership-note i{color:#176b43;margin-top:2px}.sjcs-leadership-note strong{display:block;color:#31513f;margin-bottom:2px}.sjcs-leadership-note span{display:block}
.sjcs-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:20px}
.sjcs-modal.open{display:flex}
.sjcs-modal-backdrop{position:absolute;inset:0;background:rgba(11,28,20,.48);backdrop-filter:blur(3px)}
.sjcs-modal-box{position:relative;width:min(560px,100%);background:#fff;border-radius:17px;box-shadow:0 25px 70px rgba(0,0,0,.22);overflow:hidden}
.sjcs-modal-head{padding:20px 22px;border-bottom:1px solid #edf1ee;display:flex;justify-content:space-between;align-items:flex-start}
.sjcs-modal-kicker{font-size:10px;letter-spacing:1.3px;color:#176b43;font-weight:800}.sjcs-modal-head h3{margin:4px 0 0;color:#19382a;font-size:19px}
.sjcs-icon-btn{border:0;background:#f2f5f3;color:#617168;width:33px;height:33px;border-radius:9px;cursor:pointer}
#sjcs-member-form{padding:20px 22px}
.sjcs-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.sjcs-form-grid label{display:flex;flex-direction:column;gap:6px}.sjcs-form-grid label.full{grid-column:1/-1}
.sjcs-form-grid label>span{font-size:11px;font-weight:800;color:#52645a}
.sjcs-form-grid input{border:1px solid #dbe4de;border-radius:9px;padding:11px 12px;font-size:13px;outline:0}
.sjcs-form-grid input:focus{border-color:#176b43;box-shadow:0 0 0 3px rgba(23,107,67,.08)}
.toggle-field{align-self:end}.sjcs-toggle{width:max-content;border:1px solid #dce5df;border-radius:20px;background:#f2f4f3;color:#6e7b74;padding:7px 12px;display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:11px;cursor:pointer}
.sjcs-toggle span{width:8px;height:8px;border-radius:50%;background:#9ba59f}.sjcs-toggle.on{background:#e8f7ed;color:#187143;border-color:#cce8d5}.sjcs-toggle.on span{background:#1f9a55}
.sjcs-modal-foot{margin-top:22px;padding-top:16px;border-top:1px solid #edf1ee;display:flex;justify-content:flex-end;gap:9px}
.sjcs-leadership-toast{position:fixed;right:24px;bottom:24px;z-index:10000;background:#173b29;color:#fff;border-radius:10px;padding:12px 16px;font-size:13px;box-shadow:0 12px 30px rgba(0,0,0,.16)}
.sjcs-leadership-toast.error{background:#a63d3d}
@media(max-width:760px){
  .sjcs-leadership-hero{padding:22px;align-items:flex-start;flex-direction:column}
  .sjcs-leadership-summary{grid-template-columns:1fr}
  .sjcs-card-head{align-items:stretch;flex-direction:column}
  .sjcs-card-actions{flex-direction:column;align-items:stretch}
  #sjcs-member-search{width:auto}
  .sjcs-form-grid{grid-template-columns:1fr}
  .sjcs-form-grid label.full{grid-column:auto}
}


/* SJCS UNIFIED ADMIN HERO THEME — Leadership & Management reference */
.sjcs-leadership-hero, .sjad-hero, .sjac-hero, .sjfs-hero, .sjcb-hero, .ca-hero, .sj-ach-hero, .sjce-hero, .sj-gallery-hero, .sj-video-hero, .sjnb-hero, .sa-hero, .sjdb-hero, .sj-event-hero {
  min-height:140px !important;
  height:140px !important;
  box-sizing:border-box !important;
  padding:28px 30px !important;
  margin:0 0 18px !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,#0f5132,#176b43) !important;
  color:#fff !important;
  box-shadow:0 12px 30px rgba(15,81,50,.14) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  overflow:hidden !important;
}
.sjcs-leadership-hero h1, .sjad-hero h1, .sjac-hero h1, .sjfs-hero h1, .sjcb-hero h1, .ca-hero h1, .sj-ach-hero h1, .sjce-hero h1, .sj-gallery-hero h1, .sj-video-hero h1, .sjnb-hero h1, .sa-hero h1, .sjdb-hero h1, .sj-event-hero h1 {
  margin:0 0 6px !important;
  color:#fff !important;
  font-family:inherit !important;
  font-size:27px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  letter-spacing:-.4px !important;
  max-width:calc(100vw - 260px) !important;
}
.sjcs-eyebrow, .sjad-eyebrow, .sjac-kicker, .sjcb-eyebrow, .sjcb-kicker, .ca-eyebrow, .sj-ach-kicker, .sjce-eyebrow, .sj-gallery-eyebrow, .sjg-kicker, .sj-video-eyebrow, .sjnb-eyebrow, .sa-eyebrow, .sjdb-eyebrow {
  color:rgba(255,255,255,.78) !important;
  font-size:11px !important;
  line-height:1.4 !important;
  font-weight:800 !important;
  letter-spacing:1.5px !important;
  margin:0 0 7px !important;
}
.sjcs-leadership-hero p, .sjad-hero p, .sjac-hero p, .sjfs-hero p, .sjcb-hero p, .ca-hero p, .sj-ach-hero p, .sjce-hero p, .sj-gallery-hero p, .sj-video-hero p, .sjnb-hero p, .sa-hero p, .sjdb-hero p, .sj-event-hero p {
  margin:0 !important;
  color:rgba(255,255,255,.86) !important;
  font-family:inherit !important;
  font-size:14px !important;
  line-height:1.35 !important;
  max-width:900px !important;
}
.sjcs-leadership-hero > div:first-child, .sjad-hero > div:first-child, .sjac-hero > div:first-child, .sjfs-hero > div:first-child, .sjcb-hero-copy, .ca-hero > div:first-child, .sj-ach-hero > div:first-child, .sjce-hero-copy, .sj-gallery-hero > div:first-child, .sj-video-hero > div:first-child, .sjnb-hero-content, .sa-hero-content, .sjdb-hero-content, .sj-event-hero > div:first-child {
  min-width:0 !important;
  max-width:calc(100% - 100px) !important;
}
.sjcs-leadership-hero .sjcs-primary-btn, .sjad-hero button, .sjac-hero button, .sjfs-hero button, .sjcb-hero button, .ca-hero button, .sj-ach-hero .sj-ach-btn, .sjce-hero button, .sj-gallery-hero .sjg-btn-primary, .sj-video-hero .svg-btn-gold, .sjnb-hero button, .sa-hero button, .sjdb-hero .sjdb-hero-btn.primary, .sj-event-hero button {
  flex:0 0 auto !important;
}
@media(max-width:760px){
  .sjcs-leadership-hero, .sjad-hero, .sjac-hero, .sjfs-hero, .sjcb-hero, .ca-hero, .sj-ach-hero, .sjce-hero, .sj-gallery-hero, .sj-video-hero, .sjnb-hero, .sa-hero, .sjdb-hero, .sj-event-hero {height:140px !important;min-height:140px !important;padding:22px !important;}
  .sjcs-leadership-hero h1, .sjad-hero h1, .sjac-hero h1, .sjfs-hero h1, .sjcb-hero h1, .ca-hero h1, .sj-ach-hero h1, .sjce-hero h1, .sj-gallery-hero h1, .sj-video-hero h1, .sjnb-hero h1, .sa-hero h1, .sjdb-hero h1, .sj-event-hero h1 {font-size:23px !important;max-width:calc(100% - 20px) !important;}
}
