/* tools screen styles (team round, 23.11.2026). Loaded after screens.css; prefix screen-only classes. */
/* File Replay: sample names wrap at separators instead of being cut; a description label is sans. */
.to-sample { align-items: flex-start; }
.to-sample .nm { white-space: normal; overflow: visible; text-overflow: clip; }
.to-sample .nm.to-label { font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; }
.to-sample .meta { flex-wrap: wrap; margin-top: 8px; }
.to-replay { align-items: start; }
.to-sample .meta.to-drop { display: grid; grid-template-columns: 200px 64px auto; justify-content: start; align-items: center; gap: 8px; }
.to-drop .to-tgt { width: 200px; height: 26px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.to-drop > .pill { justify-self: start; }
.to-drop span.to-tgt { display: inline-flex; align-items: center; }
.to-empty { font-family: var(--font-ui); padding: 8px 10px; }

/* Message boxes keep one segment per line and scroll inside the box. */
.to-pre { white-space: pre; overflow-x: auto; overflow-wrap: normal; }

/* Inspector: segment titles wrap; the patient hint sits next to the title. */
.to-insp .insp-h > span:first-of-type { white-space: normal; overflow: visible; text-overflow: clip; }
.to-insp #insp { white-space: pre-wrap; overflow-x: hidden; overflow-wrap: anywhere; }
.to-insp .insp-r { grid-template-columns: 72px minmax(0, 1.3fr) minmax(0, 1fr); }
.to-insp .insp-r.sub { grid-template-columns: 56px minmax(0, 1.3fr) minmax(0, 1fr); }
.to-insp .insp-r > span:nth-child(2) { white-space: nowrap; }
.to-tip { display: inline-flex; vertical-align: middle; margin-left: 6px; color: var(--text-muted); }
.to-tip svg { width: 14px; height: 14px; }

/* Diagnostics: service states in the same sans style as the System values. */
.to-diag .health-item .v { font-family: var(--font-ui); font-size: 12px; }

/* Send Test Order: Device and Biomarker selects use the page control size, not the dialog's 16 px. */
.to-sel { font-size: var(--fs-md); }
