/* Visits-grid symptom view switch (↑↓ Error / Scores).

   One <button> styled as a segmented control: both modes stay visible so the
   choice is legible, but the whole control is a single click target — clicking
   either label, or the padding between them, flips to the other mode. */

.mira-symptom-view {
  display: inline-flex;
  align-items: center;
  background: #f6f8fb;
  border: 1px solid #dce1ea;
  border-radius: 9px;
  padding: 3px;
  gap: 2px;
  margin: 0;
  cursor: pointer;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.mira-symptom-view:hover { border-color: #c6cfdd; }

.mira-seg-btn {
  color: #5c6675;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  user-select: none;
  transition: background .15s, color .15s;
}

/* Hovering anywhere previews where the click lands: the mode you'd switch TO. */
.mira-symptom-view:hover .mira-seg-btn:not(.active) { color: #141a24; }

.mira-seg-btn.active {
  background: #1e40af;
  color: #fff;
  box-shadow: 0 1px 2px rgba(20, 26, 36, .18);
}

.mira-symptom-view:focus-visible {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}
