/* define InsightPreviewDetailPane */

.InsightPreviewDetailPane-container {
    flex: 0.5;
    display: flex;
    flex-direction: column;
    height: 85vh;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.InsightPreviewDetailPane-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.InsightPreviewDetailPane-markdown {
    padding: var(--padding-sm);
    color: var(--text-default);
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.InsightPreviewDetailPane-markdown table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--padding-sm) 0;
    font-size: var(--font-size-sm);
}

.InsightPreviewDetailPane-markdown th,
.InsightPreviewDetailPane-markdown td {
    padding: var(--padding-xxs) var(--padding-xs);
    border: 1px solid var(--border-subtle);
    text-align: left;
    vertical-align: top;
}

.InsightPreviewDetailPane-markdown th {
    background: var(--surface-subtle);
    font-weight: var(--font-weight-semibold);
}

.InsightPreviewDetailPane-markdown pre {
    padding: var(--padding-sm);
    overflow: auto;
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-default);
    background: var(--surface-subtle);
    white-space: pre;
}

.InsightPreviewDetailPane-markdown code {
    font-family: var(--font-family-monospace);
    font-size: var(--font-size-sm);
}
