:root{--primary:#2563eb;--primary-hover:#1d4ed8;--secondary:#64748b;--accent:#f59e0b;--success:#10b981;--warning:#f59e0b;--danger:#ef4444;--text-primary:#1e293b;--text-secondary:#64748b;--text-muted:#94a3b8;--text-inverse:#fff;--background:#fff;--background-secondary:#f8fafc;--background-muted:#f1f5f9;--surface:#fff;--surface-secondary:#f8fafc;--surface-hover:#f1f5f9;--border:#e2e8f0;--border-hover:#cbd5e1;--shadow-sm:0 1px 2px 0 rgba(0,0,0,.05);--shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}.dark-theme{--text-primary:#f8fafc;--text-secondary:#cbd5e1;--text-muted:#94a3b8;--text-inverse:#1e293b;--background:#0f172a;--background-secondary:#1e293b;--background-muted:#334155;--surface:#1e293b;--surface-secondary:#334155;--surface-hover:#475569;--border:#334155;--border-hover:#475569}*{margin:0;padding:0;box-sizing:border-box}html{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}body,html{background:var(--background)}body{color:var(--text-primary);min-height:100vh;line-height:1.6}.header{position:-webkit-sticky;position:sticky;top:0;background:var(--surface);border-bottom:1px solid var(--border);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;z-index:1000;box-shadow:var(--shadow-sm)}.header-brand{font-size:1.5rem;font-weight:600;color:var(--primary);text-decoration:none}.header-nav{display:flex;gap:1rem;align-items:center}.heading{font-size:2rem;font-weight:600;margin-bottom:1rem}.back-button,.heading{color:var(--text-primary)}.back-button{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:var(--surface);text-decoration:none;border:1px solid var(--border);border-radius:.5rem;font-size:.875rem;transition:all .2s}.back-button:hover{background:var(--surface-hover);border-color:var(--border-hover)}.button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;font-size:.875rem;font-weight:500;line-height:1;border-radius:.5rem;border:none;cursor:pointer;transition:all .2s;text-decoration:none}.button-primary{background:var(--primary);color:var(--text-inverse)}.button-primary:hover{background:var(--primary-hover)}.button-secondary{background:var(--surface);color:var(--text-primary);border:1px solid var(--border)}.button-secondary:hover{background:var(--surface-hover);border-color:var(--border-hover)}.button:active{transform:scale(.98)}.container{max-width:1200px;margin:0 auto;padding:0 2rem}.content{padding:2rem;max-width:800px;margin:0 auto}.page-header{text-align:center;margin-bottom:3rem}.page-header h1{font-size:2.5rem;font-weight:700;color:var(--text-primary);margin-bottom:1rem}.page-header p{font-size:1.125rem;color:var(--text-secondary);max-width:600px;margin:0 auto}.grid{display:grid;grid-gap:1.5rem;gap:1.5rem}.grid-cols-1{grid-template-columns:1fr}.grid-cols-2{grid-template-columns:repeat(2,1fr)}.grid-cols-3{grid-template-columns:repeat(3,1fr)}@media (max-width:768px){.grid-cols-2,.grid-cols-3{grid-template-columns:1fr}}.card{background:var(--surface);border:1px solid var(--border);border-radius:.75rem;padding:1.5rem;box-shadow:var(--shadow);transition:all .2s}.card:hover{border-color:var(--border-hover);box-shadow:var(--shadow-lg)}.card h2{font-size:1.25rem;font-weight:600}.card h2,.card h3{color:var(--text-primary);margin-bottom:.5rem}.card h3{font-size:1.125rem;font-weight:500}.card p{font-size:.875rem;line-height:1.5;color:var(--text-secondary)}.card-link{color:var(--primary);text-decoration:none;font-weight:500}.card-link:hover{text-decoration:underline}.calendar-event{background:var(--background-secondary);border-left:4px solid var(--primary);padding:.75rem;margin-bottom:.5rem;border-radius:.25rem}.event-time{font-size:.75rem;color:var(--text-muted);font-weight:500}.event-title{font-size:.875rem;font-weight:600;color:var(--text-primary);margin:.25rem 0}.event-family-member{font-size:.75rem;color:var(--text-secondary)}.status-active{color:var(--success)}.status-pending{color:var(--warning)}.status-inactive{color:var(--secondary)}.nav-link{color:var(--text-secondary);text-decoration:none;padding:.5rem 1rem;border-radius:.5rem;transition:all .2s}.nav-link.active,.nav-link:hover{color:var(--primary);background:var(--background-secondary)}@media (max-width:768px){.container{padding:0 1rem}.content{padding:1rem}.page-header h1{font-size:2rem}.header{padding:1rem}.header-nav{gap:.5rem}}