.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:3rem;color:var(--gray-500)}.empty-card{padding:3rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.75rem}.empty-card h3{font-size:1.125rem;color:var(--gray-800)}.empty-card p{color:var(--gray-500)}.spinner{width:32px;height:32px;border:3px solid var(--gray-200);border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.search-wrap{margin-bottom:.875rem}.search-box{display:flex;align-items:center;gap:.625rem;background:var(--surface);border:1.5px solid var(--gray-200);border-radius:var(--radius-full);padding:.5rem 1rem;transition:border-color var(--transition)}.search-box:focus-within{border-color:var(--primary)}.search-input{border:none;background:none;outline:none;flex:1;font-size:.9rem;color:var(--gray-800)}.search-input::placeholder{color:var(--gray-400)}.patient-list{display:flex;flex-direction:column;gap:.5rem}.patient-row{background:var(--surface);border-radius:var(--radius-xl);box-shadow:var(--shadow-sm);padding:1rem 1.125rem;display:flex;align-items:center;gap:.875rem;cursor:pointer;transition:var(--transition);text-decoration:none}.patient-row:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.patient-avatar{width:40px;height:40px;border-radius:var(--radius-full);flex-shrink:0;background:linear-gradient(135deg,var(--primary) 0%,#8b5cf6 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9375rem}.patient-info{flex:1;min-width:0}.patient-name{font-weight:700;color:var(--gray-900);font-size:.9375rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.patient-email{font-size:.8rem;color:var(--gray-400);margin-top:.125rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.patient-tags{display:flex;align-items:center;gap:.375rem;flex-wrap:wrap;margin-top:.375rem}.patient-meta{display:flex;flex-direction:column;align-items:flex-end;gap:.375rem;flex-shrink:0}.patient-chevron{color:var(--gray-300);font-size:1.25rem;line-height:1}.adh-dot{display:inline-flex;align-items:center;gap:.35rem;font-size:.75rem;font-weight:600}.adh-dot:before{content:"";width:8px;height:8px;border-radius:50%;flex-shrink:0}.adh-green:before{background:var(--success)}.adh-yellow:before{background:var(--warning)}.adh-red:before{background:var(--danger)}.adh-gray:before{background:var(--gray-300)}.no-results{text-align:center;padding:2rem;color:var(--gray-500);font-size:.9rem}.today-brief{background:var(--surface);border:1.5px solid var(--gray-200);border-radius:var(--radius-xl);padding:1rem 1.25rem;margin-bottom:1rem}.today-brief-title{font-weight:700;font-size:.875rem;color:var(--gray-700);margin-bottom:.625rem}.today-items{display:flex;flex-direction:column;gap:.375rem}.today-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem .75rem;border-radius:var(--radius-lg);font-size:.875rem}.today-item-left{display:flex;align-items:center;gap:.625rem}.today-item a{font-weight:600;color:var(--gray-800)}.today-item a:hover{color:var(--primary-dark)}.today-item-reason{font-size:.8125rem;color:var(--gray-500)}.priority-urgent{background:var(--danger-light)}.priority-warn{background:var(--warning-light)}.priority-info{background:var(--gray-50)}.alerts-banner{background:var(--warning-light);border:1px solid #fde68a;border-radius:var(--radius-xl);padding:1rem 1.25rem;margin-bottom:1rem}.alerts-banner-title{font-weight:700;font-size:.9rem;color:#92400e;margin-bottom:.625rem}.alerts-list{display:flex;flex-direction:column;gap:.375rem}.alert-item{font-size:.875rem;color:#78350f;display:flex;align-items:center;gap:.5rem}.alert-item a{text-decoration:underline;font-weight:600;color:#92400e}.modal-backdrop{position:fixed;inset:0;background:#00000073;display:flex;align-items:flex-end;justify-content:center;z-index:500;padding:0}.modal-card{max-width:480px;width:100%;border-radius:var(--radius-2xl) var(--radius-2xl) 0 0;max-height:90vh;overflow-y:auto;padding:1.5rem}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}.modal-header h2{font-size:1.125rem;font-weight:700}.modal-close{width:32px;height:32px;border-radius:var(--radius-full);font-size:1.25rem;color:var(--gray-500);display:flex;align-items:center;justify-content:center;transition:var(--transition)}.modal-close:hover{background:var(--gray-100)}.form-group{margin-bottom:1rem}.invite-result{border-radius:var(--radius-lg);padding:.875rem;font-size:.875rem;line-height:1.5;overflow:hidden}.invite-result.success{background:var(--success-light);color:var(--success-dark)}.invite-result.error{background:var(--danger-light);color:#991b1b}.invite-url-box{display:flex;align-items:flex-start;gap:.5rem;background:#00000012;border-radius:var(--radius-md);padding:.5rem .625rem;margin-top:.5rem}.invite-url-text{font-family:monospace;font-size:.7rem;word-break:break-all;flex:1;line-height:1.5;color:var(--success-dark)}.invite-copy-btn{flex-shrink:0;padding:.3rem .625rem;background:var(--success-dark);color:#fff;border-radius:var(--radius-sm);font-size:.75rem;font-weight:600;cursor:pointer;border:none;white-space:nowrap;transition:var(--transition)}.invite-copy-btn:hover{opacity:.85}@media(min-width:640px){.modal-backdrop{align-items:center;padding:1rem}.modal-card{border-radius:var(--radius-2xl)}}
