.lab-report { min-width: 0; }
.lab-report h2 { overflow-wrap: anywhere; }
.lab-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-actions button { flex: 1 1 155px; width: auto; }
.lab-values { margin: 16px 0 20px; }
.lab-section { margin-top: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--line); font-weight: 700; }
.lab-value { padding: 14px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.lab-value dt { font-weight: 600; line-height: 1.4; }
.lab-value dd { margin: 6px 0 0; }
.lab-measure { font-size: 18px; font-weight: 700; white-space: pre-wrap; }
.lab-unit { margin-left: 8px; font-size: 14px; font-weight: 400; color: var(--muted); }
.lab-reference { color: var(--muted); font-size: 14px; line-height: 1.4; white-space: pre-wrap; }
.lab-comment { line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.lab-pdf-viewer { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: #e9eeed; color: var(--ink); }
.lab-pdf-toolbar { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 6px; padding: 8px; padding-top: max(8px, env(safe-area-inset-top)); background: white; border-bottom: 1px solid var(--line); }
.lab-pdf-toolbar button { width: 40px; min-width: 40px; height: 44px; min-height: 44px; padding: 0; border-radius: 6px; font-size: 24px; }
.lab-pdf-page { min-width: 54px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.lab-pdf-status { flex: 0 0 auto; margin: 0; padding: 12px 16px; background: white; }
.lab-pdf-scroll { flex: 1; min-height: 0; overflow: auto; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.lab-pdf-canvas { display: block; margin: 0 auto; background: white; }
