:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{width:100%;min-height:100vh}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh;width:100%;overflow-x:hidden}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}#root{max-width:none;margin:0;padding:0;text-align:left}body{margin:0;padding:0;min-height:100vh;overflow-x:hidden;touch-action:manipulation;-webkit-touch-callout:none}html{margin:0;padding:0;height:100%;touch-action:manipulation}button,.MuiButton-root,.MuiIconButton-root,.MuiBottomNavigationAction-root,.MuiCard-root,.MuiPaper-root,.MuiAppBar-root,.MuiToolbar-root{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input,textarea,p,span,div[contenteditable],.MuiInputBase-input,.MuiTypography-root{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;touch-action:manipulation}@media (max-width: 600px){.container{padding:.5rem}}.container{max-width:none;width:100%;margin:0;padding:1rem}.navbar{padding:1rem;display:flex;justify-content:space-between;align-items:center}.nav-brand h2{margin:0}.nav-links{display:flex;gap:1rem}.nav-link{text-decoration:none;padding:.5rem 1rem;border-radius:.25rem;transition:background-color .2s}.nav-link:hover{background-color:#0000000a}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center}.login-card{padding:2rem;border-radius:.5rem;min-width:300px}.login-card h1{text-align:center;margin-bottom:2rem;color:#2563eb}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.25rem;font-weight:500}.form-group input,.form-group textarea,.form-group select{width:100%;padding:.5rem;border:1px solid #d1d5db;border-radius:.25rem;font-size:1rem}.btn{padding:.5rem 1rem;border:none;border-radius:.25rem;cursor:pointer;font-size:1rem;transition:background-color .2s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background-color:#2563eb;color:#fff}.btn-primary:hover:not(:disabled){background-color:#1d4ed8}.btn-success{background-color:#10b981;color:#fff}.btn-success:hover:not(:disabled){background-color:#059669}.btn-danger{background-color:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background-color:#dc2626}.btn-secondary{background-color:#6b7280;color:#fff}.btn-secondary:hover:not(:disabled){background-color:#4b5563}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:1rem}.page-header h1{margin:0}.month-selector{display:flex;gap:.5rem}.month-selector select{padding:.5rem;border-radius:.25rem}.visits-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.visit-card{padding:1rem;border-radius:.5rem}.visit-card.status-planned{border-left-color:#6b7280}.visit-card.status-assigned{border-left-color:#f59e0b}.visit-card.status-completed{border-left-color:#10b981}.visit-date{font-size:.875rem;color:#6b7280;margin-bottom:.5rem}.visit-family{margin-bottom:.25rem}.visit-address{color:#6b7280;margin-bottom:.5rem}.visit-notes{margin-bottom:.5rem;font-style:italic}.status-badge{display:inline-block;padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:500;margin-bottom:1rem}.status-badge.planned{background-color:#f3f4f6;color:#374151}.status-badge.assigned{background-color:#fef3c7;color:#92400e}.status-badge.completed{background-color:#d1fae5;color:#065f46}.completion-section textarea{margin-bottom:.5rem}.progress-grid{display:grid;gap:1.5rem;margin-bottom:2rem}.progress-item{background:#fff;padding:1rem;border-radius:.5rem;box-shadow:0 2px 4px #0000001a}.progress-header{display:flex;justify-content:space-between;margin-bottom:.5rem}.progress-bar{height:1rem;background-color:#e5e7eb;border-radius:.5rem;overflow:hidden;margin-bottom:.25rem}.progress-fill{height:100%;transition:width .3s ease}.progress-percentage{text-align:right;font-size:.875rem;font-weight:500}.stats-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{padding:1.5rem;border-radius:.5rem;text-align:center}.stat-card h3{margin:0 0 .5rem}.stat-value{font-size:2rem;font-weight:700;color:#2563eb}.stat-description{color:#6b7280;font-size:.875rem}.user-stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.user-stat-card{padding:1rem;border-radius:.5rem}.user-numbers{margin-top:.5rem}.user-stat{display:flex;justify-content:space-between;margin-bottom:.25rem}.user-card{background:#fff;padding:2rem;border-radius:.5rem;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem}.user-info{display:flex;align-items:center;gap:1rem;margin-bottom:2rem}.user-avatar{width:4rem;height:4rem;border-radius:50%;background-color:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700}.user-details h2{margin:0 0 .25rem}.user-email{color:#6b7280;margin:0 0 .5rem}.role-badge{padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:500}.role-badge.admin{background-color:#ddd6fe;color:#5b21b6}.info-grid{display:grid;gap:1rem}.info-item{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #f3f4f6}.status-active{color:#10b981;font-weight:500}.admin-privileges{margin:2rem 0}.admin-privileges ul{list-style:none;padding:0}.admin-privileges li{padding:.25rem 0;color:#10b981}.logout-btn{margin-top:2rem}.help-section{background:#fff;padding:1.5rem;border-radius:.5rem;box-shadow:0 2px 4px #0000001a}.loading{text-align:center;padding:2rem;color:#6b7280}.error{color:#ef4444;background-color:#fef2f2;padding:1rem;border-radius:.25rem;margin-bottom:1rem}.success{color:#10b981;background-color:#f0fdf4;padding:1rem;border-radius:.25rem;margin-bottom:1rem}.no-goal-warning{background:#fef3c7;border:1px solid #f59e0b;border-radius:.5rem;padding:2rem;text-align:center;color:#92400e}
