.scg-wrap{margin:.25rem 0}.scg-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:1rem;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.scg-cta{display:flex;gap:.75rem;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#f9f7ff;border:1px solid #eadcff;padding:.85rem 1rem;border-radius:14px;margin:0 0 1rem}
.scg-btn{display:inline-block;text-decoration:none;color:#fff;background:#7413dc;padding:.7rem 1rem;border-radius:999px;font-weight:700;letter-spacing:.2px;box-shadow:0 2px 0 rgba(0,0,0,.08)}
.scg-btn.secondary{background:#23a950}.scg-btn:focus{outline:3px solid #cdb4ff;outline-offset:2px}
.scg-tag{display:inline-block;font:700 .75rem/1 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial;color:#fff;background:#7413dc;border-radius:8px;padding:.35rem .5rem;margin-left:.35rem}
.scg-note{background:#f8fafc;border:1px dashed #e5e7eb;border-radius:12px;padding:.75rem .85rem}
.scg-grid{display:grid;gap:.85rem}@media(min-width:760px){.scg-grid.two{grid-template-columns:1fr 1fr}}
.scg h2{margin:0 0 .75rem;font:700 1.15rem/1.2 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial;color:#0f172a}
.scg h3{margin:1.25rem 0 .5rem;font:700 1.02rem/1.2 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial;color:#0f172a}
.scg p,.scg li{color:#475569;font:400 .98rem/1.55 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial}
.scg ul,.scg ol{margin:.25rem 0 .75rem 1.1rem}
.scg .list-tight li{margin:.25rem 0}

/* Modal */
.scg-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.6);display:none;align-items:center;justify-content:center;padding:16px;z-index:9999}
.scg-modal-backdrop[aria-hidden=false]{display:flex}
.scg-modal{width:min(100%,1100px);max-height:90vh;overflow:hidden;background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.35);border:1px solid #e5e7eb;display:flex;flex-direction:column}
.scg-modal-header{padding:.9rem 1rem;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;gap:.75rem;background:#f8f9ff}
.scg-modal-title{margin:0;font:700 1rem/1.2 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial;color:#0f172a}
.scg-modal-body{padding:0;overflow:auto}
.scg-icon-btn{background:transparent;border:0;cursor:pointer;border-radius:8px;padding:.4rem .55rem}
.scg-icon-btn:hover{background:#eef2ff}.scg-icon-btn:focus{outline:3px solid #cdb4ff;outline-offset:2px}

/* Table */
.scg-table-card{background:#fff;border-top:1px solid #e5e7eb;overflow:auto}
.scg table{width:100%;border-collapse:collapse;font-size:.95rem}
.scg caption{padding:1rem 1.25rem;text-align:left;font-weight:600;color:#7413dc;background:#f8fafc;border-bottom:1px solid #e5e7eb}
.scg thead th{text-align:left;font-weight:600;padding:.75rem 1rem;color:#0f172a;background:#f9fafb;border-bottom:1px solid #e5e7eb}
.scg tbody td{padding:.75rem 1rem;vertical-align:top;border-bottom:1px solid #e5e7eb}
.scg input[type=checkbox][disabled]{cursor:not-allowed;accent-color:#7413dc}
.scg-controls{display:none;gap:.5rem;align-items:center;margin:.75rem 1rem}
.scg-controls label{font-weight:600;color:#0f172a}
.scg-controls select{padding:.55rem .65rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.scg-vis-note{color:#475569;font-size:.92rem;margin-left:.25rem}
@media(max-width:720px){.scg-controls{display:flex;flex-wrap:wrap}.scg .role-col,.scg .role-cell{display:none}.scg-table-card[data-show-role=lead-volunteer] .role-col[data-role=lead-volunteer],.scg-table-card[data-show-role=lead-volunteer] .role-cell[data-role=lead-volunteer],.scg-table-card[data-show-role=section-team-leader] .role-col[data-role=section-team-leader],.scg-table-card[data-show-role=section-team-leader] .role-cell[data-role=section-team-leader],.scg-table-card[data-show-role=section-team-member] .role-col[data-role=section-team-member],.scg-table-card[data-show-role=section-team-member] .role-cell[data-role=section-team-member],.scg-table-card[data-show-role=trustee] .role-col[data-role=trustee],.scg-table-card[data-show-role=trustee] .role-cell[data-role=trustee],.scg-table-card[data-show-role=group-leadership-team] .role-col[data-role=group-leadership-team],.scg-table-card[data-show-role=group-leadership-team] .role-cell[data-role=group-leadership-team]{display:table-cell}.scg .module-col,.scg .module-cell{display:table-cell}.scg thead th{position:sticky;top:0;z-index:1}}