/* define InsightDetailPane */

.InsightDetailPane-container {
    flex: 0.52;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.InsightDetailPane-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.InsightDetailPane-outputContainer {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: var(--padding-lg);
    background: var(--surface-subtle-light);
    height: 100%;
}

.InsightDetailPane-markdown {
    background: var(--surface-default);
    border-radius: var(--border-radius-lg);
    padding: var(--padding-md);
    color: var(--text-emphasis);
    box-shadow: 0 2px 8px 0 #0000000d;
}

.InsightDetailPane-markdown table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--padding-sm) 0;
    font-size: var(--font-size-sm);
}

.InsightDetailPane-markdown th,
.InsightDetailPane-markdown td {
    padding: var(--padding-xxs) var(--padding-xs);
    border: 1px solid var(--border-subtle);
    text-align: left;
    vertical-align: top;
}

.InsightDetailPane-markdown th {
    background: var(--surface-subtle);
    font-weight: var(--font-weight-semibold);
}

.InsightDetailPane-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;
}

.InsightDetailPane-markdown code {
    font-family: var(--font-family-monospace);
    font-size: var(--font-size-sm);
}

.InsightDetailPane-disclaimer {
    background: var(--surface-subtle-light);
    align-self: flex-end;
    padding-top: var(--padding-md);
    padding-bottom: var(--padding-md);
    font-family: var(--font-family-body);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-small);
    color: var(--text-emphasis);
}
