@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;500;600&family=Inter:wght@400;500;600&display=swap");:root{--bg:#fafafa;--bg-card:#fff;--text:#1a1a1a;--text-secondary:#666;--text-muted:#999;--border:#e5e5e5;--pastor:#2563eb;--elder:#db2777;--ordained-deacon:#16a34a;--deacon:#4ade80;--member:#64748b;--sunday-ops:#c2410c;--education:#0e7490;--spiritual-growth:#6d28d9;--lifestage:#be185d;--fellowship:#15803d;--missions:#b91c1c;--special:#a16207;--general:#475569}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}.app{display:flex;min-height:100vh}.sidebar{width:220px;background:var(--bg-card);border-right:1px solid var(--border);padding:24px 0;position:fixed;height:100vh;overflow-y:auto}.logo{padding:0 20px 24px;border-bottom:1px solid var(--border);margin-bottom:16px}.logo h1{font-family:"Source Serif 4",serif;font-size:1.1rem;font-weight:600}.logo span{font-size:.75rem;color:var(--text-muted)}.nav-item{display:flex;align-items:center;gap:10px;padding:10px 20px;font-size:.875rem;color:var(--text-secondary);cursor:pointer;transition:all .15s}.nav-item:hover{background:#f5f5f5}.nav-item.active{background:#f0f0f0;color:var(--text);font-weight:500}.nav-section{font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);padding:16px 20px 8px}.main{flex:1 1;margin-left:220px;padding:32px 40px;max-width:none}.page-title{font-family:"Source Serif 4",serif;font-size:1.75rem;font-weight:600;margin-bottom:8px}.page-subtitle{color:var(--text-secondary);font-size:.9rem;margin-bottom:32px}.breadcrumb{font-size:.8rem;color:var(--text-muted);margin-bottom:8px}.breadcrumb a{color:var(--text-secondary);text-decoration:none;cursor:pointer}.breadcrumb a:hover{color:var(--text)}.leaders-container{display:flex;flex-direction:column;gap:16px}.leaders-row{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;padding:16px 20px}.leaders-row-header{display:flex;align-items:center;gap:16px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--border)}.leaders-row-label{display:flex;align-items:center;gap:8px;font-size:.8rem;font-weight:600;color:var(--text-secondary)}.leaders-row-dot{width:10px;height:10px;border-radius:50%}.leaders-row-divider{color:var(--border)}.leaders-list{display:flex;flex-wrap:wrap;gap:12px}.leader-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 12px;background:#f8f8f8;border-radius:8px;cursor:pointer;transition:all .15s;width:100px}.leader-card:hover{background:#f0f0f0;transform:translateY(-1px)}.leader-card .avatar{width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1rem;font-weight:600;flex-shrink:0}.leader-card .avatar.rounded-square{border-radius:10px}.leader-card .avatar.square{border-radius:4px}.leader-card .avatar.circle{border-radius:50%}.leader-card .name{font-size:.9rem;font-weight:500;text-align:center}.leader-card .badge{font-size:.7rem;padding:2px 8px;border-radius:4px;background:#e0e0e0;color:var(--text-secondary)}.leader-card .uncertain{color:var(--text-muted)}.dept-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));grid-gap:16px;gap:16px}.dept-card{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;padding:20px;cursor:pointer;transition:all .2s}.dept-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-2px)}.dept-card-header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.dept-card-icon{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.9rem}.dept-card-title{font-weight:600;font-size:.95rem}.dept-card-meta{font-size:.8rem;color:var(--text-muted)}.dept-card-overseer{display:flex;align-items:center;gap:8px;font-size:.85rem;color:var(--text-secondary);padding-top:12px;border-top:1px solid var(--border);margin-top:12px}.dept-card-overseer .avatar{width:24px;height:24px;border-radius:50%;background:var(--elder);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:500}.dept-card-overseer .needs{color:#b91c1c;font-style:italic}.ops-container{gap:24px}.ops-group{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;overflow:hidden}.ops-group-header{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border);background:#fafafa}.ops-group-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1rem}.ops-group-title{font-size:1rem;font-weight:600;color:var(--text)}.ops-group-count{margin-left:auto;font-size:.75rem;color:var(--text-muted);background:#e5e5e5;padding:2px 10px;border-radius:10px}.ops-group-content{padding:20px;gap:20px}.ops-category,.ops-group-content{display:flex;flex-direction:column}.ops-category{gap:10px}.ops-category-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.ops-dept-list{display:flex;flex-wrap:wrap;gap:10px}.ops-dept-card{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#f8f8f8;border-radius:6px;cursor:pointer;transition:all .15s;border-left:3px solid transparent}.ops-dept-card:hover{background:#f0f0f0}.ops-dept-icon{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.9rem}.ops-dept-info{flex:1 1}.ops-dept-name-row{display:flex;align-items:center;gap:8px;margin-bottom:4px}.ops-dept-name{font-weight:500;font-size:.85rem;color:var(--text)}.ops-dept-count{background:#e0e7ff;color:#4338ca;font-size:.6rem;font-weight:600;padding:2px 5px;border-radius:8px}.ops-dept-leader-row{display:flex;align-items:center;gap:6px;font-size:.75rem;color:var(--text-muted)}.ops-leader-avatar{width:20px;height:20px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.65rem;font-weight:600}.ops-leader-avatar.rounded-square{border-radius:5px}.ops-leader-avatar.square{border-radius:2px}.ops-leader-avatar.circle{border-radius:50%}.ops-leader-name{color:var(--text-secondary)}.ops-leader-plus{color:var(--text-muted)}.ops-dept-leader-row .needs-leader{color:#b91c1c;font-style:italic}.category-grid{display:flex;flex-direction:column;gap:10px}.category-dept-card{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--bg-card);border:1px solid var(--border);border-radius:8px;cursor:pointer;transition:all .15s;width:100%}.category-dept-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-2px)}.category-dept-card.selected{background:#e0f2fe;border-color:#0ea5e9;transform:translateY(0);box-shadow:none}.category-dept-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.1rem}.category-dept-info{flex:1 1}.category-dept-name-row{display:flex;align-items:center;gap:8px;margin-bottom:4px}.category-dept-name{font-weight:600;font-size:.95rem;color:var(--text)}.category-dept-count{background:#e0e7ff;color:#4338ca;font-size:.65rem;font-weight:600;padding:2px 6px;border-radius:10px}.category-dept-leader{font-size:.8rem;color:var(--text-muted)}.category-dept-leader-row{display:flex;align-items:center;gap:6px;font-size:.8rem}.category-dept-leader .needs-leader,.category-dept-leader-row .needs-leader{color:#b91c1c;font-style:italic}.ops-layout{display:flex;gap:32px;align-items:flex-start}.ops-container{flex:1 1;display:flex;flex-direction:column;gap:20px;min-width:0;max-width:500px}.ops-dept-card.selected{background:#e0f2fe;border-color:#0ea5e9}.dept-detail{flex:1 1;min-width:450px;max-width:700px;background:var(--bg-card);border:1px solid var(--border);border-radius:8px;height:-moz-fit-content;height:fit-content;position:-webkit-sticky;position:sticky;top:20px}.dept-detail.wide{max-width:800px}.dept-detail.wide .dept-detail-content{grid-template-columns:1fr}.dept-detail.wide .dept-detail-left{order:2}.dept-detail.wide .dept-detail-right{order:1}.dept-detail.wide .dept-org-team{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));grid-gap:10px;gap:10px;justify-content:start;max-height:400px;overflow-y:auto;padding:12px;background:#fafafa;border-radius:8px;border-top:none}.dept-detail.wide .dept-org-member{padding:10px 8px;min-width:unset;cursor:pointer;transition:background .15s}.dept-detail.wide .dept-org-member:hover{background:#e8e8e8}.dept-detail-header{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border);background:#fafafa}.dept-detail-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.2rem}.dept-detail-title{font-family:"Source Serif 4",serif;font-size:1.1rem;font-weight:600;margin:0}.dept-detail-subtitle{font-size:.75rem;color:var(--text-muted);margin:0}.dept-detail-close{margin-left:auto;width:28px;height:28px;border:none;background:#e5e5e5;border-radius:50%;cursor:pointer;font-size:1rem;color:var(--text-secondary);display:flex;align-items:center;justify-content:center}.dept-detail-close:hover{background:#d5d5d5}.dept-detail-content{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px;padding:20px}.dept-detail-left,.dept-detail-right{display:flex;flex-direction:column;gap:20px}.dept-detail-section{display:flex;flex-direction:column;gap:10px}.dept-detail-section-title{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.dept-detail-overseer{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f8f8f8;border-radius:6px;cursor:pointer}.dept-detail-overseer:hover{background:#f0f0f0}.dept-detail-avatar{width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.8rem;font-weight:600}.dept-detail-avatar.rounded-square{border-radius:8px}.dept-detail-avatar.square{border-radius:3px}.dept-detail-avatar.circle{border-radius:50%}.dept-detail-overseer-name{font-weight:500;font-size:.9rem}.dept-detail-overseer-role{font-size:.75rem;color:var(--text-muted)}.dept-detail-missing{padding:10px 12px;background:#fef2f2;border-radius:6px;color:#b91c1c;font-size:.85rem}.dept-detail-org{gap:0}.dept-detail-org,.dept-org-leader{display:flex;flex-direction:column;align-items:center}.dept-org-leader{gap:4px;padding:12px 16px;background:#f8f8f8;border-radius:8px;cursor:pointer}.dept-org-leader:hover{background:#f0f0f0}.dept-org-leaders-row{display:flex;gap:12px;justify-content:center}.dept-org-avatar{width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.85rem;font-weight:600}.dept-org-avatar.rounded-square{border-radius:8px}.dept-org-avatar.square{border-radius:3px}.dept-org-avatar.circle{border-radius:50%}.dept-org-name{font-weight:500;font-size:.85rem}.dept-org-role{font-size:.7rem;color:var(--text-muted)}.dept-org-connector{width:2px;height:20px;background:var(--border)}.dept-org-team{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding-top:8px;border-top:2px solid var(--border);margin-top:0;width:100%}.dept-org-member{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 10px;background:#f8f8f8;border-radius:6px;min-width:60px}.dept-org-member .dept-org-avatar{width:28px;height:28px;font-size:.75rem}.dept-org-member .dept-org-name{font-size:.75rem}.dept-org-member .dept-org-role{font-size:.65rem}.dept-org-member.cg-card{padding:12px;min-width:140px;flex-direction:column;align-items:stretch;gap:8px}.cg-card-header{display:flex;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--border)}.cg-card-header .dept-org-avatar{width:24px;height:24px;font-size:.65rem}.cg-card-header .dept-org-name{font-size:.8rem;font-weight:600}.cg-leaders{display:flex;flex-direction:column;gap:4px}.cg-leader-item{display:flex;align-items:center;gap:6px;padding:4px 6px;border-radius:4px;cursor:pointer}.cg-leader-item:hover{background:#e5e5e5}.cg-leader-avatar{width:20px;height:20px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.6rem;font-weight:600}.cg-leader-avatar.rounded-square{border-radius:5px}.cg-leader-avatar.square{border-radius:2px}.cg-leader-avatar.circle{border-radius:50%}.cg-leader-name{font-size:.75rem;color:var(--text-secondary)}.cg-detail-leaders{display:flex;flex-direction:column;gap:8px}.cg-members-list{display:flex;flex-direction:column;gap:6px;max-height:200px;overflow-y:auto}.cg-member-item{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#f8f8f8;border-radius:6px}.cg-member-avatar{width:28px;height:28px;border-radius:50%;background:#9ca3af;color:#fff;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600}.cg-member-name{font-weight:500;font-size:.85rem}.cg-member-location{font-size:.7rem;color:var(--text-muted)}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));grid-gap:20px;gap:20px;margin-top:20px}.dashboard-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:20px}.dashboard-card.warning{border-color:#f59e0b;background:#fffbeb}.dashboard-card.full-width{grid-column:1/-1}.dashboard-card-title{font-weight:600;font-size:.9rem;margin-bottom:16px;color:var(--text)}.dashboard-stat-large{font-size:3rem;font-weight:700;color:var(--text);line-height:1}.dashboard-stat-label{font-size:.8rem;color:var(--text-muted);margin-bottom:16px}.dashboard-role-breakdown{display:flex;flex-direction:column;gap:6px;padding-top:12px;border-top:1px solid var(--border)}.dashboard-role-item{display:flex;justify-content:space-between;font-size:.8rem}.dashboard-role-name{color:var(--text-secondary)}.dashboard-role-count{font-weight:600}.dashboard-help-list{display:flex;flex-direction:column;gap:12px}.dashboard-help-item{display:flex;gap:12px;align-items:flex-start}.dashboard-help-icon{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.9rem;flex-shrink:0}.dashboard-help-info{flex:1 1}.dashboard-help-name{font-weight:500;font-size:.85rem;margin-bottom:6px}.dashboard-help-bar{height:6px;background:#e5e5e5;border-radius:3px;overflow:hidden;margin-bottom:4px}.dashboard-help-fill{height:100%;border-radius:3px;transition:width .3s}.dashboard-help-count{font-size:.7rem;color:var(--text-muted)}.dashboard-cg-list{display:flex;flex-direction:column;gap:8px}.dashboard-cg-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--border)}.dashboard-cg-item:last-child{border-bottom:none}.dashboard-cg-name{font-size:.85rem;font-weight:500}.dashboard-cg-counts{display:flex;gap:12px;font-size:.75rem}.dashboard-cg-members{color:#6d28d9;font-weight:500}.dashboard-cg-leaders{color:var(--text-muted)}.dashboard-lifestage-list{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.dashboard-lifestage-item{display:flex;justify-content:space-between;font-size:.8rem}.dashboard-lifestage-name{color:var(--text-secondary)}.dashboard-lifestage-count{font-weight:600}.dashboard-insight{padding:12px;background:#f0f9ff;border-radius:6px;font-size:.8rem;color:#0369a1}.dashboard-gaps{display:flex;gap:40px}.dashboard-gap-item{text-align:center}.dashboard-gap-stat{font-size:2rem;font-weight:700;color:#ef4444}.dashboard-gap-label{font-size:.8rem;color:var(--text-muted)}.dashboard-empty{color:var(--text-muted);font-size:.9rem}.dashboard-health-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:10px;gap:10px}.health-card{background:#f8f8f8;border-radius:8px;padding:12px;border-left:4px solid #ccc;cursor:pointer;transition:all .15s}.health-card:hover{background:#f0f0f0}.health-card.status-green{border-left-color:#22c55e}.health-card.status-yellow{border-left-color:#f59e0b}.health-card.status-red{border-left-color:#ef4444}.health-card-icon{font-size:1.2rem;margin-bottom:6px}.health-card-name{font-size:.8rem;font-weight:600;margin-bottom:4px}.health-card-leader{font-size:.7rem;color:var(--text-muted);display:flex;align-items:center;gap:4px}.health-card-leader .mini-avatar{width:16px;height:16px;border-radius:50%;background:#9ca3af;color:#fff;font-size:.5rem;display:flex;align-items:center;justify-content:center}.health-card-stats{display:flex;gap:8px;margin-top:6px;font-size:.65rem}.health-stat{display:flex;align-items:center;gap:2px}.health-stat.filled{color:#22c55e}.health-stat.needed{color:#ef4444}.funnel-container{display:flex;flex-direction:column;gap:8px}.funnel-row{display:flex;align-items:center;gap:12px}.funnel-bar-container{flex:1 1;height:32px;background:#f0f0f0;border-radius:6px;overflow:hidden;position:relative}.funnel-bar{height:100%;border-radius:6px;display:flex;align-items:center;padding-left:12px;color:#fff;font-size:.75rem;font-weight:600;transition:width .5s ease}.funnel-label{width:100px;font-size:.8rem;font-weight:500}.funnel-count{width:50px;text-align:right;font-size:.85rem;font-weight:600}.funnel-percent{width:45px;text-align:right;font-size:.7rem;color:var(--text-muted)}.gap-matrix{display:flex;flex-direction:column;gap:6px}.gap-row{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#f8f8f8;border-radius:6px;font-size:.8rem}.gap-row.critical{background:#fef2f2}.gap-row.warning{background:#fffbeb}.gap-row.good{background:#f0fdf4}.gap-icon{width:24px;height:24px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:.75rem}.gap-name{flex:1 1;font-weight:500}.gap-issue{font-size:.7rem;padding:2px 8px;border-radius:4px;font-weight:500}.gap-issue.no-leader{background:#fee2e2;color:#b91c1c}.gap-issue.understaffed{background:#fef3c7;color:#b45309}.gap-issue.quick-win{background:#dbeafe;color:#1d4ed8}.timeline-view{padding:0}.timeline-header,.timeline-phases{margin-bottom:32px}.timeline-phases{display:flex;flex-direction:column;gap:0}.timeline-gantt{display:grid;grid-template-columns:180px repeat(7,1fr);grid-gap:0;gap:0;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#fff}.timeline-gantt-header{display:contents}.timeline-gantt-header>div{background:#f8f9fa;padding:12px 8px;font-size:.75rem;font-weight:600;text-align:center;border-bottom:2px solid var(--border);color:var(--text-secondary)}.timeline-gantt-header>div:first-child{text-align:left;padding-left:16px}.timeline-gantt-row{display:contents}.timeline-gantt-row>div{padding:0;min-height:44px;border-bottom:1px solid var(--border);display:flex;align-items:center}.timeline-gantt-row:last-child>div{border-bottom:none}.timeline-gantt-row>div:first-child{padding:8px 16px;font-size:.85rem;font-weight:500;background:#fafafa}.timeline-bar{height:28px;border-radius:4px;width:100%}.timeline-bar.blue{background:#3b82f6}.timeline-bar.green{background:#22c55e}.timeline-bar.orange{background:#f59e0b}.timeline-bar.purple{background:#8b5cf6}.timeline-bar.cyan{background:#06b6d4}.timeline-bar.pink{background:#ec4899}.timeline-details{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden}.timeline-detail-row{display:grid;grid-template-columns:160px 1fr;border-bottom:1px solid var(--border)}.timeline-detail-row:last-child{border-bottom:none}.timeline-detail-phase{padding:12px 16px;background:#f8f9fa;font-weight:600;font-size:.85rem}.timeline-detail-desc{padding:12px 16px;font-size:.85rem;color:var(--text-secondary)}.timeline-current-marker{position:relative}.timeline-current-marker:after{content:"▼ Today";position:absolute;top:-20px;left:50%;transform:translateX(-50%);font-size:.65rem;color:#ef4444;font-weight:600}.dashboard-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.dashboard-section-title{font-size:.9rem;font-weight:600;display:flex;align-items:center;gap:8px}.dashboard-section-link{font-size:.75rem;color:#3b82f6;cursor:pointer}.dashboard-section-link:hover{text-decoration:underline}.dashboard-toggle{display:flex;gap:0;margin-bottom:12px;background:#f1f5f9;border-radius:6px;padding:3px}.dashboard-toggle-btn{flex:1 1;padding:8px 12px;border:none;background:transparent;font-size:.75rem;font-weight:500;color:#64748b;cursor:pointer;border-radius:4px;transition:all .15s}.dashboard-toggle-btn:hover{color:#334155}.dashboard-toggle-btn.active{background:#fff;color:#1e293b;box-shadow:0 1px 3px rgba(0,0,0,.1)}.dashboard-two-col{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px;gap:24px;margin-bottom:24px;max-width:1400px}.dashboard-col{display:flex;flex-direction:column;gap:16px}@media (max-width:900px){.dashboard-grid{grid-template-columns:1fr}.dashboard-gaps{flex-direction:column;gap:20px}.dashboard-two-col{grid-template-columns:1fr}}.cg-overseer-card{display:inline-flex;align-items:center;gap:12px;padding:12px 20px;background:var(--bg-card);border:1px solid var(--border);border-radius:8px;cursor:pointer;margin-top:16px;transition:all .15s}.cg-overseer-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.08)}.cg-overseer-name{font-weight:600;font-size:.95rem}.cg-overseer-role{font-size:.75rem;color:var(--text-muted)}.category-stacked{display:flex;flex-direction:column;gap:8px;min-width:280px;max-width:320px}.category-stacked .category-dept-card{min-width:unset}.timeline-container{display:flex;flex-direction:column;gap:16px}.timeline-row{display:flex;align-items:flex-start;gap:16px}.timeline-row-label{width:80px;flex-shrink:0;font-weight:600;font-size:.85rem;color:var(--text-secondary);padding-top:12px}.timeline-row-cards{display:flex;flex-wrap:wrap;gap:8px;flex:1 1}.timeline-card{background:var(--bg-card);border:1px solid var(--border);border-radius:6px;padding:10px 14px;cursor:pointer;transition:all .15s;min-width:120px}.timeline-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.08)}.timeline-card.selected{background:#e0f2fe;border-color:#0ea5e9}.timeline-card.sunday{border-left:3px solid #c2410c}.timeline-card.education{border-left:3px solid #0e7490}.timeline-card.cg{border-left:3px solid #a78bfa}.timeline-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.timeline-card-count{background:#e0e7ff;color:#4338ca;font-size:.7rem;font-weight:600;padding:2px 6px;border-radius:10px}.timeline-card-name{font-weight:600;font-size:.85rem;margin-bottom:6px}.timeline-card-leader{display:flex;align-items:center;gap:6px;font-size:.75rem;color:var(--text-muted)}.timeline-card-leader .ops-leader-avatar{width:18px;height:18px;font-size:.6rem}.timeline-detail{margin-top:16px}.timeline-detail .dept-detail{width:100%}.ops-view-container{display:flex;flex-direction:column;gap:24px}.ops-detail-below{margin-top:8px}.ops-detail-below .dept-detail{width:100%}.dept-detail-stat{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--border)}.dept-detail-stat:last-child{border-bottom:none}.dept-detail-stat-label{font-size:.8rem;color:var(--text-secondary)}.dept-detail-stat-value{font-size:.85rem;font-weight:500}.dept-detail-stat-value.needs{color:#b91c1c}.dept-detail-notes{font-size:.85rem;color:var(--text-secondary);line-height:1.5;margin:0}@media (max-width:1100px){.ops-layout{flex-direction:column}.dept-detail,.ops-container{max-width:none}.dept-detail{width:100%;position:relative;top:0}}.flowchart{display:flex;flex-direction:column;align-items:center}.flowchart-node{background:var(--bg-card);border:2px solid var(--border);border-radius:8px;padding:14px 20px;text-align:center;min-width:160px;cursor:pointer;transition:all .15s}.flowchart-node:hover{border-color:#999}.flowchart-node.overseer{border-width:2px}.flowchart-node-title{font-weight:600;font-size:.9rem}.flowchart-node-subtitle{font-size:.8rem;color:var(--text-muted)}.flowchart-node-role{font-size:.65rem;padding:2px 8px;border-radius:3px;color:#fff;display:inline-block;margin-top:6px}.flowchart-connector{width:2px;height:24px;background:var(--border)}.flowchart-branch{display:flex;gap:16px;position:relative;padding-top:24px}.flowchart-branch:before{top:0;left:50%;width:2px;height:12px;transform:translateX(-50%)}.flowchart-branch:after,.flowchart-branch:before{content:"";position:absolute;background:var(--border)}.flowchart-branch:after{top:12px;left:24px;right:24px;height:2px}.flowchart-child{position:relative;padding-top:12px}.flowchart-child:before{content:"";position:absolute;top:0;left:50%;width:2px;height:12px;background:var(--border);transform:translateX(-50%)}.flowchart-teams{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;max-width:900px}.team-node{background:var(--bg-card);border:1px solid var(--border);border-radius:6px;padding:12px 16px;min-width:140px;cursor:pointer;transition:all .15s}.team-node:hover{border-color:#999;box-shadow:0 2px 8px rgba(0,0,0,.06)}.team-node-title{font-weight:500;font-size:.85rem;margin-bottom:2px}.team-node-leader{font-size:.75rem;color:var(--text-muted)}.team-node-leader.needs{color:#b91c1c;font-style:italic}.panel-overlay{position:fixed;inset:0;background:rgba(0,0,0,.25);z-index:100;opacity:0;pointer-events:none;transition:opacity .2s}.panel-overlay.open{opacity:1;pointer-events:auto}.panel{position:fixed;top:0;right:0;width:360px;height:100vh;background:var(--bg-card);z-index:101;transform:translateX(100%);transition:transform .25s ease;display:flex;flex-direction:column}.panel.open{transform:translateX(0)}.panel-header{padding:24px;border-bottom:1px solid var(--border)}.panel-close{position:absolute;top:20px;right:20px;width:32px;height:32px;border:none;background:#f0f0f0;border-radius:50%;cursor:pointer;font-size:1.2rem;color:var(--text-secondary);display:flex;align-items:center;justify-content:center}.panel-close:hover{background:#e5e5e5}.panel-name{font-family:"Source Serif 4",serif;font-size:1.5rem;font-weight:600;margin-bottom:4px}.panel-role{font-size:.85rem;color:var(--text-secondary)}.panel-content{flex:1 1;overflow-y:auto;padding:24px}.panel-section{margin-bottom:24px}.panel-section-title{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:10px}.panel-item{gap:10px;padding:10px 12px;background:#f8f8f8;margin-bottom:6px;font-size:.875rem}.panel-item,.panel-item-icon{display:flex;align-items:center;border-radius:6px}.panel-item-icon{width:28px;height:28px;justify-content:center;color:#fff;font-size:.75rem}.panel-item-label{flex:1 1}.panel-item-meta{font-size:.75rem;color:var(--text-muted)}.panel-badge{font-size:.65rem;padding:2px 6px;border-radius:3px;color:#fff}.people-filters{display:flex;gap:16px;align-items:center;margin-bottom:24px;flex-wrap:wrap}.people-search{padding:10px 14px;border:1px solid var(--border);border-radius:6px;font-size:.9rem;width:320px}.people-search:focus{outline:none;border-color:#999}.people-toggles{display:flex;gap:16px}.people-toggle{display:flex;align-items:center;gap:6px;font-size:.8rem;color:var(--text-secondary);cursor:pointer}.people-toggle input{cursor:pointer}.people-table-wrapper{overflow-x:auto;max-height:calc(100vh - 280px);overflow-y:auto;border:1px solid var(--border);border-radius:8px}.people-table{width:100%;border-collapse:collapse;min-width:900px}.people-table thead{position:-webkit-sticky;position:sticky;top:0;z-index:10;background:#f8f9fa}.people-table th{text-align:left;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);padding:12px;border-bottom:2px solid var(--border);white-space:nowrap;background:#f8f9fa}.people-table th.sortable-header{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:background .15s}.people-table th.sortable-header:hover{background:#eef0f2;color:var(--text)}.sort-indicator{color:#4338ca;font-weight:700}.people-table td{padding:10px 12px;border-bottom:1px solid var(--border);font-size:.85rem}.people-table tr{transition:background .1s}.people-table tr.clickable{cursor:pointer}.people-table tbody tr:hover{background:#f8f8f8}.people-name{font-weight:500}.people-cell-muted{color:var(--text-muted);font-size:.8rem}.people-role-badge{font-size:.65rem;padding:2px 8px;border-radius:3px;color:#fff;white-space:nowrap}.people-tags{display:flex;gap:4px;flex-wrap:wrap}.people-tag{background:#f0f0f0;color:var(--text-secondary)}.people-tag,.people-tag-colored{font-size:.65rem;padding:2px 6px;border-radius:3px;white-space:nowrap}.people-membership-badge{font-size:.65rem;padding:2px 8px;border-radius:3px;color:#fff;white-space:nowrap}.people-tag-more{font-size:.65rem;padding:2px 6px;border-radius:3px;background:#e0e0e0;color:var(--text-muted)}.people-cell-household{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:900px){.sidebar{display:none}.main{margin-left:0;padding:24px}.leaders-grid{grid-template-columns:1fr}.panel{width:100%}}