.diagnostic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.diagnostic-grid > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    overflow-wrap: anywhere;
}

.diagnostic-grid span,
.diagnostic-grid small {
    color: var(--muted);
    font-size: .82rem;
}

.diagnostic-status.passed { color: var(--success); }
.diagnostic-status.failed { color: var(--danger); }
.drive-test-action { margin-top: 20px; }
.drive-test-action .button { justify-self: start; }

.drive-result {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.drive-result h2 { margin-top: 0; }
.passed-result { border-color: rgba(47, 125, 91, .45); }
.failed-result { border-color: rgba(166, 64, 69, .45); background: #fff7f7; }
.warning-result { border-color: rgba(201, 137, 53, .5); background: #fffaf1; }

@media (max-width: 720px) {
    .diagnostic-grid { grid-template-columns: 1fr; }
}
