/* SJCS Achievements Admin — standalone module */
.sj-ach{--a-ink:#10243b;--a-green:#0d6b55;--a-gold:#c69a42;--a-soft:#f5f8f7;--a-line:#e4ebe8;--a-shadow:0 18px 50px rgba(16,36,59,.10);padding:4px 0 30px}.sj-ach *{box-sizing:border-box}.sj-ach-hero{position:relative;overflow:hidden;border-radius:26px;padding:30px;background:#075846;color:#fff;box-shadow:var(--a-shadow);display:flex;justify-content:space-between;gap:24px}.sj-ach-hero:after{content:"";position:absolute;width:240px;height:240px;border:1px solid rgba(255,255,255,.2);border-radius:50%;right:-60px;top:-80px}.sj-ach-kicker{font-size:11px;letter-spacing:.18em;font-weight:800;opacity:.8}.sj-ach-hero h1{font-size:34px;margin:8px 0 8px}.sj-ach-hero h1 em{font-style:normal;color:#f7d88c}.sj-ach-hero p{max-width:700px;margin:0;color:rgba(255,255,255,.86)}.sj-ach-actions{display:flex;gap:10px;align-items:flex-start;z-index:1}.sj-ach-btn{border:0;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:8px}.sj-ach-btn.gold{background:#f0ca78;color:#10243b}.sj-ach-btn.light{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.22)}.sj-ach-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:16px 0}.sj-ach-stat{background:#fff;border:1px solid var(--a-line);border-radius:18px;padding:17px;box-shadow:0 8px 25px rgba(16,36,59,.05)}.sj-ach-stat b{font-size:25px;color:var(--a-ink);display:block}.sj-ach-stat span{font-size:12px;color:#6b7882}.sj-ach-layout{display:grid;grid-template-columns:1fr 330px;gap:16px}.sj-ach-panel{background:#fff;border:1px solid var(--a-line);border-radius:22px;box-shadow:0 10px 35px rgba(16,36,59,.05);overflow:hidden}.sj-ach-head{padding:20px;border-bottom:1px solid var(--a-line);display:flex;justify-content:space-between;align-items:center;gap:15px}.sj-ach-head h2{margin:0;color:var(--a-ink);font-size:20px}.sj-ach-head p{margin:4px 0 0;color:#7b8790;font-size:12px}.sj-ach-filters{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:9px;padding:14px;background:#fbfcfc;border-bottom:1px solid var(--a-line)}.sj-ach-input,.sj-ach-select,.sj-ach-textarea{width:100%;border:1px solid #dce5e1;border-radius:11px;padding:11px 12px;background:#fff;color:var(--a-ink);outline:none}.sj-ach-input:focus,.sj-ach-select:focus,.sj-ach-textarea:focus{border-color:#65a994;box-shadow:0 0 0 3px rgba(101,169,148,.12)}.sj-ach-list{padding:14px;display:grid;gap:10px}.sj-ach-card{display:grid;grid-template-columns:92px 1fr auto;gap:15px;align-items:center;border:1px solid var(--a-line);border-radius:16px;padding:11px;background:#fff}.sj-ach-thumb{width:92px;height:78px;border-radius:12px;object-fit:cover;background:linear-gradient(135deg,#dce9e4,#f6ead0);display:grid;place-items:center;color:#6b7d76}.sj-ach-card h3{font-size:15px;margin:0 0 5px;color:var(--a-ink)}.sj-ach-meta{display:flex;flex-wrap:wrap;gap:6px}.sj-ach-chip{font-size:10px;font-weight:800;border-radius:999px;padding:5px 8px;background:#edf5f1;color:#17634f}.sj-ach-chip.gold{background:#fbf2df;color:#86621f}.sj-ach-chip.blue{background:#edf3f8;color:#315c78}.sj-ach-card p{margin:6px 0 0;font-size:12px;color:#7b8790}.sj-ach-row-actions{display:flex;gap:6px}.sj-ach-icon{border:1px solid #dce5e1;background:#fff;width:34px;height:34px;border-radius:10px;cursor:pointer;color:#3b4c56}.sj-ach-icon.danger{color:#a33d3d}.sj-ach-side{padding:20px}.sj-ach-side h3{margin:0;color:var(--a-ink)}.sj-ach-side p{font-size:12px;color:#7b8790}.sj-ach-cat{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #edf1ef}.sj-ach-cat span{font-size:12px;color:#42535c}.sj-ach-cat b{font-size:11px;color:#0d6b55}.sj-ach-modal{position:fixed;inset:0;background:rgba(8,20,29,.62);z-index:9999;display:none;align-items:center;justify-content:center;padding:20px}.sj-ach-modal.show{display:flex}.sj-ach-dialog{width:min(760px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.25)}.sj-ach-dialog-head{padding:20px 22px;border-bottom:1px solid var(--a-line);display:flex;justify-content:space-between}.sj-ach-dialog-head h2{margin:0;color:var(--a-ink)}.sj-ach-form{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:13px}.sj-ach-field.full{grid-column:1/-1}.sj-ach-field label{font-size:11px;font-weight:800;color:#53636b;display:block;margin-bottom:6px}.sj-ach-textarea{min-height:90px;resize:vertical}.sj-ach-checks{display:flex;gap:18px;align-items:center}.sj-ach-footer{padding:15px 20px;border-top:1px solid var(--a-line);display:flex;justify-content:flex-end;gap:9px}.sj-ach-empty{text-align:center;padding:45px 15px;color:#7b8790}.sj-ach-toast{position:fixed;right:24px;bottom:24px;z-index:10000;background:#173f35;color:#fff;padding:13px 17px;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.2);font-size:13px}.sj-ach-toast.error{background:#8d3333}@media(max-width:1000px){.sj-ach-layout{grid-template-columns:1fr}.sj-ach-stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.sj-ach-hero{display:block}.sj-ach-actions{margin-top:18px}.sj-ach-stats{grid-template-columns:repeat(2,1fr)}.sj-ach-filters{grid-template-columns:1fr 1fr}.sj-ach-card{grid-template-columns:70px 1fr}.sj-ach-thumb{width:70px;height:64px}.sj-ach-row-actions{grid-column:2}.sj-ach-form{grid-template-columns:1fr}.sj-ach-field.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;}
}

/* ================================================================
   SJCS ACHIEVEMENTS — LEADERSHIP & MANAGEMENT VISUAL MATCH
   CSS ONLY. Existing functionality preserved.
   ================================================================ */

body:has(.sj-ach) .main .content{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:19px 20px 28px !important;
  box-sizing:border-box !important;
}

body:has(.sj-ach) .sj-ach{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 0 30px !important;
  box-sizing:border-box !important;
}

.sj-ach-hero{
  width:100% !important;
  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;
}

.sj-ach-hero > div:first-child{
  min-width:0 !important;
  max-width:calc(100% - 100px) !important;
}

.sj-ach-kicker{
  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;
}

.sj-ach-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:100% !important;
}

.sj-ach-hero h1 em{
  color:#fff !important;
}

.sj-ach-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;
}

.sj-ach-actions{
  flex:0 0 auto !important;
  align-items:center !important;
  position:relative !important;
  z-index:2 !important;
}

.sj-ach-btn.gold{
  background:#c9a227 !important;
  color:#fff !important;
}

.sj-ach-btn.light{
  background:rgba(255,255,255,.14) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.22) !important;
}

.sj-ach-hero:after{
  width:220px !important;
  height:220px !important;
  right:-100px !important;
  top:-110px !important;
}

@media(max-width:760px){
  .sj-ach-hero{
    height:140px !important;
    min-height:140px !important;
    padding:22px !important;
  }
  .sj-ach-hero h1{
    font-size:23px !important;
  }
}
