body {
    line-height: 1.45;
}

.card {
    margin-bottom: 1rem;
}

.required-note {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: normal;
}

.readonly-row {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.readonly-row:last-child {
    border-bottom: 0;
}

.readonly-label {
    font-weight: 600;
    color: #495057;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.mfi-table th,
.mfi-table td {
    min-width: 165px;
    vertical-align: middle;
}

.mfi-table th:first-child,
.mfi-table td:first-child {
    min-width: 120px;
}

.result-status-step {
    border-left: 4px solid #dee2e6;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.result-status-step.active {
    border-left-color: #0d6efd;
}

.result-status-step.complete {
    border-left-color: #198754;
}

@media (max-width: 760px) {
    .readonly-row {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }
}

@media print {
    .navbar,
    footer,
    .no-print,
    .btn,
    .alert {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    main.container {
        max-width: none;
        padding: 0 !important;
    }

    .card {
        border: 1px solid #999 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
}

.user-session-summary {
    line-height: 1.15;
}

@media (max-width: 991.98px) {
    .user-session-summary {
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        margin: 0.75rem 0;
        padding: 0.75rem 0;
    }
}

.lab-section-card {
    scroll-margin-top: 1rem;
}
