/* Method Mechanic DVI v1.4.2: reliable, exactly two visual states per choice.
   Scoped to the technician editor; shared customer reports are unaffected. */
#app-container .dvi-status-group .status-btn {
    background: transparent !important;
    background-color: transparent !important;
    color: #cbd5e1 !important;
    border-color: #475569 !important;
    box-shadow: none !important;
}
#app-container .dvi-status-group .status-btn[data-dvi-status="pass"][aria-pressed="true"] {
    background: #15803d !important;
    background-color: #15803d !important;
    border-color: #22c55e !important;
    color: #fff !important;
}
#app-container .dvi-status-group .status-btn[data-dvi-status="warn"][aria-pressed="true"] {
    background: #ca8a04 !important;
    background-color: #ca8a04 !important;
    border-color: #eab308 !important;
    color: #fff !important;
}
#app-container .dvi-status-group .status-btn[data-dvi-status="fail"][aria-pressed="true"] {
    background: #b91c1c !important;
    background-color: #b91c1c !important;
    border-color: #ef4444 !important;
    color: #fff !important;
}
#app-container .dvi-status-group .status-btn[data-dvi-status="na"][aria-pressed="true"] {
    background: #475569 !important;
    background-color: #475569 !important;
    border-color: #94a3b8 !important;
    color: #fff !important;
}
#app-container textarea.dvi-note-input {
    display: block;
    width: 100%;
    background-color: #0f172a;
    color: #f1f5f9;
    border: 1px solid #475569;
    font-family: inherit;
    min-height: 44px;
    max-height: none !important;
    overflow: hidden !important;
    resize: none !important;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

/* v1.4.3 — Notes grow; Speak/Stop stays a single, touch-friendly row high. */
#app-container .dvi-note-row { align-items: flex-start !important; }
#app-container .dvi-note-row .dvi-dictate-btn {
    align-self: flex-start !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    flex: 0 0 auto;
}

/* v1.4.4 — hard stop on stretching dictated-note controls */
#app-container .dvi-note-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 78px !important;
  align-items: start !important;
}
#app-container .dvi-note-row .dvi-dictate-wrap {
  align-self: start !important;
  width: 78px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
}
#app-container .dvi-note-row .dvi-dictate-btn {
  display: block !important;
  width: 78px !important;
  max-width: 78px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  align-self: start !important;
}
