/* SQLite 执行计划结果表样式 */
.sqlplan-result {
    border: 1px solid #e3e7eb;
    border-radius: 8px;
    margin-top: 14px;
    overflow: hidden;
    background: #fff;
}

.sqlplan-result-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px;
    background: #f6f8fa;
    border-bottom: 1px solid #edf0f3;
    color: #475467;
    font-size: 12px;
}

.sqlplan-table-wrap {
    max-height: 420px;
    overflow: auto;
}

.sqlplan-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.sqlplan-table th,
.sqlplan-table td {
    border-bottom: 1px solid #edf0f3;
    padding: 7px 12px;
    text-align: left;
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sqlplan-table th {
    position: sticky;
    top: 0;
    background: #fbfcfd;
    color: #1f2a37;
    font-weight: 600;
    z-index: 1;
}

.sqlplan-message {
    padding: 10px 14px;
    font-size: 13px;
    color: #475467;
    line-height: 1.7;
}

.sqlplan-message.ok {
    color: #00875a;
}

.sqlplan-message.err {
    color: #c0392b;
}
