.patient-chat-panel {
  position: absolute;
  left: 35.65%;
  right: 33.4%;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #edf6ff;
  color: #344652;
  border-left: 1px solid #e4edf5;
  border-right: 1px solid #e4edf5;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 1.025cqw;
  line-height: 1.5;
  text-align: left;
}
.patient-chat-panel * { box-sizing: border-box; }
.patient-chat-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .85cqw;
  min-height: 6.75cqw;
  padding: 1.05cqw 1.2cqw;
  border-bottom: 1px solid #dce8f3;
  background: #fff;
}
.patient-chat-avatar {
  display: block;
  flex: 0 0 auto;
  width: 3.65cqw;
  height: 3.65cqw;
  overflow: hidden;
  border-radius: 50%;
  background: #d8f0e9;
}
.patient-chat-avatar svg { display: block; width: 100%; height: 100%; }
.patient-chat-person { display: flex; flex-direction: column; line-height: 1.45; }
.patient-chat-person strong { font-size: 1.1cqw; font-weight: 650; color: #2b3d49; }
.patient-chat-person small { display: flex; align-items: center; gap: .35cqw; color: #7d939f; font-size: .78cqw; }
.patient-chat-person small i { display: block; width: .39cqw; height: .39cqw; border-radius: 50%; background: #35baa9; }
.patient-chat-menu { margin-left: auto; padding: .5cqw; color: #6d8595; font-size: 1.65cqw; line-height: 1; }
.patient-chat-thread {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15cqw;
  padding: 1.1cqw 1.1cqw .9cqw;
  min-height: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, #ffffff4a, transparent 80%), #edf6ff;
}
.patient-chat-date {
  align-self: center;
  color: #8298a6;
  font-size: .73cqw;
  padding: .24cqw .7cqw;
  border: 1px solid #e0ebf4;
  border-radius: .5cqw;
  background: #ffffff90;
}
.patient-chat-bubble {
  max-width: 92%;
  margin: 0;
  padding: .85cqw .95cqw .55cqw;
  border-radius: 0 .95cqw .95cqw .95cqw;
  background: #fff;
  box-shadow: 0 .12cqw .28cqw #4867840b;
}
.patient-chat-bubble p { margin: 0; font-size: 1.01cqw; line-height: 1.55; color: #344652; }
.patient-chat-bubble p + p { margin-top: .48cqw; }
.patient-chat-bubble.is-nutritionist {
  align-self: flex-end;
  background: #bcf7ed;
  border-radius: .95cqw 0 .95cqw .95cqw;
}
.patient-chat-author { display: block; color: #378e81; font-size: .7cqw; font-weight: 650; margin-bottom: .25cqw; }
.patient-chat-time { display: flex; justify-content: flex-end; align-items: center; gap: .33cqw; margin-top: .38cqw; font-size: .65cqw; color: #93a5af; white-space: nowrap; }
.patient-chat-bubble.is-nutritionist .patient-chat-time { color: #629b93; }
.patient-chat-checks { letter-spacing: -.34cqw; padding-right: .32cqw; color: #229e92; font-size: .81cqw; }
.patient-chat-context {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .65cqw;
  padding: .68cqw 1.18cqw;
  background: #f7fbff;
  border-top: 1px solid #dfeaf3;
  color: #6e8494;
  font-size: .74cqw;
}
.patient-chat-context svg { width: 1.12cqw; height: 1.12cqw; color: #42aaa2; }
.patient-chat-context strong { font-weight: 550; color: #4c6878; }
.patient-chat-composer { display: flex; flex: 0 0 auto; align-items: center; gap: .7cqw; padding: 1.02cqw 1.1cqw; min-height: 5.7cqw; border-top: 1px solid #e4edf4; background: #fff; }
.patient-chat-attach { display: flex; align-items: center; color: #859dab; }
.patient-chat-attach svg { width: 1.45cqw; height: 1.45cqw; }
.patient-chat-input { flex: 1; padding: .76cqw .7cqw; border-radius: .5cqw; color: #99aab6; background: #f5f9fc; font-size: .79cqw; white-space: nowrap; }
.patient-chat-send { display: grid; place-items: center; width: 2.75cqw; height: 2.75cqw; flex: 0 0 auto; border-radius: 50%; background: #6df6ed; color: #275c5d; }
.patient-chat-send svg { width: 1.25cqw; height: 1.25cqw; }
